|
|
(self.webpackChunk=self.webpackChunk||[]).push([[7007],{38470:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(33885),i=n(54476),o=n(76190),s=n(42978),a=n(75931),c=n(59301),l=n(43403),u=n(65030),d=n(92310),f=n.n(d),p=n(34280),h=n(18929);function m(e){return null!==e&&"object"===(0,o.Z)(e)}function g(e,t,n){if(!1===e||!1===t&&(!m(e)||!e.closeIcon))return null;var i,o="boolean"!=typeof t?t:void 0;return m(e)?(0,r.Z)((0,r.Z)({},e),{},{closeIcon:null!==(i=e.closeIcon)&&void 0!==i?i:o}):n||e||t?{closeIcon:o}:"empty"}var v=n(6089);function y(e,t,n,r){var i=(0,c.useState)(void 0),o=(0,s.Z)(i,2),a=o[0],l=o[1];(0,p.Z)((function(){var t="function"==typeof e?e():e;l(t||null)}));var u=(0,c.useState)(null),d=(0,s.Z)(u,2),f=d[0],h=d[1],m=(0,v.Z)((function(){if(a){!function(e){var t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,r=e.getBoundingClientRect(),i=r.top,o=r.right,s=r.bottom,a=r.left;return i>=0&&a>=0&&o<=t&&s<=n}(a)&&t&&a.scrollIntoView(r);var e=a.getBoundingClientRect(),n={left:e.left,top:e.top,width:e.width,height:e.height,radius:0};h((function(e){return JSON.stringify(e)!==JSON.stringify(n)?n:e}))}else h(null)})),g=function(e){var t;return null!==(t=Array.isArray(null==n?void 0:n.offset)?null==n?void 0:n.offset[e]:null==n?void 0:n.offset)&&void 0!==t?t:6};return(0,p.Z)((function(){return m(),window.addEventListener("resize",m),function(){window.removeEventListener("resize",m)}}),[a,t,m]),[(0,c.useMemo)((function(){if(!f)return f;var e,t=g(0),r=g(1),i="number"!=typeof(e=null==n?void 0:n.radius)||Number.isNaN(e)?2:null==n?void 0:n.radius;return{left:f.left-t,top:f.top-r,width:f.width+2*t,height:f.height+2*r,radius:i}}),[f,n]),a]}var b=n(80402),x={fill:"transparent",pointerEvents:"auto"},w=function(e){var t=e.prefixCls,n=e.rootClassName,s=e.pos,a=e.showMask,u=e.style,d=void 0===u?{}:u,p=e.fill,h=void 0===p?"rgba(0,0,0,0.5)":p,m=e.open,g=e.animated,v=e.zIndex,y=e.disabledInteraction,w=(0,b.Z)(),_="".concat(t,"-mask-").concat(w),j="object"===(0,o.Z)(g)?null==g?void 0:g.placeholder:g,S="undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?{width:"100%",height:"100%"}:{width:"100vw",height:"100vh"};return c.createElement(l.Z,{open:m,autoLock:!0},c.createElement("div",{className:f()("".concat(t,"-mask"),n),style:(0,r.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:v,pointerEvents:s&&!y?"none":"auto"},d)},a?c.createElement("svg",{style:{width:"100%",height:"100%"}},c.createElement("defs",null,c.createElement("mask",{id:_},c.createElement("rect",(0,i.Z)({x:"0",y:"0"},S,{fill:"white"})),s&&c.createElement("rect",{x:s.left,y:s.top,rx:s.radius,width:s.width,height:s.height,fill:"black",className:j?"".concat(t,"-placeholder-animated"):""}))),c.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:h,mask:"url(#".concat(_,")")}),s&&c.createElement(c.Fragment,null,c.createElement("rect",(0,i.Z)({},x,{x:"0",y:"0",width:"100%",height:s.top})),c.createElement("rect",(0,i.Z)({},x,{x:"0",y:"0",width:s.left,height:"100%"})),c.createElement("rect",(0,i.Z)({},x,{x:"0",y:s.top+s.height,width:"100%",height:"calc(100vh - ".concat(s.top+s.height,"px)")})),c.createElement("rect",(0,i.Z)({},x,{x:s.left+s.width,y:"0",width:"calc(100vw - ".concat(s.left+s.width,"px)"),height:"100%"})))):null))},_=[0,0],j={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function S(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t={};return Object.keys(j).forEach((function(n){t[n]=(0,r.Z)((0,r.Z)({},j[n]),{},{autoArrow:e,targetOffset:_})})),t}S();var C=n(94480),A=n(26112);function k(e){var t,n=e.prefixCls,r=e.current,o=e.total,s=e.title,a=e.description,l=e.onClose,u=e.onPrev,d=e.onNext,p=e.onFinish,h=e.className,m=e.closable,g=(0,A.Z)(m||{},!0),v=null!==(t=null==m?void 0:m.closeIcon)&&void 0!==t?t:c.createElement("span",{className:"".concat(n,"-close-x")},"×"),y=!!m;return c.createElement("div",{className:f()("".concat(n,"-content"),h)},c.createElement("div",{className:"".concat(n,"-inner")},y&&c.createElement("button",(0,i.Z)({type:"button",onClick:l,"aria-label":"Close"},g,{className:"".concat(n,"-close")}),v),c.createElement("div",{className:"".concat(n,"-header")},c.createElement("div",{className:"".concat(n,"-title")},s)),c.createElement("div",{className:"".concat(n,"-description")},a),c.createElement("div",{className:"".concat(n,"-footer")},c.createElement("div",{className:"".concat(n,"-sliders")},o>1?(0,C.Z)(Array.from({length:o}).keys()).map((function(e,t){return c.createElement("span",{key:e,className:t===r?"active":""})})):null),c.createElement("div",{className:"".concat(n,"-buttons")},0!==r?c.createElement("button",{className:"".concat(n,"-prev-btn"),onClick:u},"Prev"):null,r===o-1?c.createElement("button",{className:"".concat(n,"-finish-btn"),onClick:p},"Finish"):c.createElement("button",{className:"".concat(n,"-next-btn"),onClick:d},"Next")))))}var E=function(e){var t=e.current,n=e.renderPanel;return c.createElement(c.Fragment,null,"function"==typeof n?n(e,t):c.createElement(k,e))},T=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon","closable","builtinPlacements","disabledInteraction"],M={left:"50%",top:"50%",width:1,height:1},D={block:"center",inline:"center"},O=function(e){var t=e.prefixCls,n=void 0===t?"rc-tour":t,d=e.steps,m=void 0===d?[]:d,v=e.defaultCurrent,b=e.current,x=e.onChange,_=e.onClose,j=e.onFinish,C=e.open,A=e.mask,k=void 0===A||A,O=e.arrow,N=void 0===O||O,L=e.rootClassName,I=e.placement,R=e.renderPanel,P=e.gap,B=e.animated,F=e.scrollIntoViewOptions,z=void 0===F?D:F,U=e.zIndex,H=void 0===U?1001:U,q=e.closeIcon,W=e.closable,Z=e.builtinPlacements,G=e.disabledInteraction,V=(0,a.Z)(e,T),Y=c.useRef(),K=(0,h.Z)(0,{value:b,defaultValue:v}),X=(0,s.Z)(K,2),Q=X[0],J=X[1],$=(0,h.Z)(void 0,{value:C,postState:function(e){return!(Q<0||Q>=m.length)&&(null==e||e)}}),ee=(0,s.Z)($,2),te=ee[0],ne=ee[1],re=c.useState(te),ie=(0,s.Z)(re,2),oe=ie[0],se=ie[1],ae=c.useRef(te);(0,p.Z)((function(){te&&(ae.current||J(0),se(!0)),ae.current=te}),[te]);var ce=m[Q]||{},le=ce.target,ue=ce.placement,de=ce.style,fe=ce.arrow,pe=ce.className,he=ce.mask,me=ce.scrollIntoViewOptions,ge=void 0===me?D:me,ve=ce.closeIcon,ye=function(e,t,n,r){return c.useMemo((function(){var i=g(e,t,!1),o=g(n,r,!0);return"empty"!==i?i:o}),[n,r,e,t])}(ce.closable,ve,W,q),be=te&&(null!=he?he:k),xe=y(le,C,P,null!=ge?ge:z),we=(0,s.Z)(xe,2),_e=we[0],je=we[1],Se=function(e,t,n){var r;return null!==(r=null!=n?n:t)&&void 0!==r?r:null===e?"center":"bottom"}(je,I,ue),Ce=!!je&&(void 0===fe?N:fe),Ae="object"===(0,o.Z)(Ce)&&Ce.pointAtCenter;(0,p.Z)((function(){var e;null===(e=Y.current)||void 0===e||e.forceAlign()}),[Ae,Q]);var ke=function(e){J(e),null==x||x(e)},Ee=(0,c.useMemo)((function(){return Z?"function"==typeof Z?Z({arrowPointAtCenter:Ae}):Z:S(Ae)}),[Z,Ae]);if(void 0===je||!oe)return null;var Te=function(){ne(!1),null==_||_(Q)},Me="boolean"==typeof be?be:!!be,De="boolean"==typeof be?void 0:be;return c.createElement(c.Fragment,null,c.createElement(w,{zIndex:H,prefixCls:n,pos:_e,showMask:Me,style:null==De?void 0:De.style,fill:null==De?void 0:De.color,open:te,animated:B,rootClassName:L,disabledInteraction:G}),c.createElement(u.Z,(0,i.Z)({},V,{builtinPlacements:Ee,ref:Y,popupStyle:de,popupPlacement:Se,popupVisible:te,popupClassName:f()(L,pe),prefixCls:n,popup:function(){return c.createElement(E,(0,i.Z)({arrow:Ce,key:"content",prefixCls:n,total:m.length,renderPanel:R,onPrev:function(){ke(Q-1)},onNext:function(){ke(Q+1)},onClose:Te,current:Q,onFinish:function(){Te(),null==j||j()}},m[Q],{closable:ye}))},forceRender:!1,destroyPopupOnHide:!0,zIndex:H,getTriggerDOMNode:function(e){return e||je||document.body},arrow:!!Ce}),c.createElement(l.Z,{open:te,autoLock:!0},c.createElement("div",{className:f()(L,"".concat(n,"-target-placeholder")),style:(0,r.Z)((0,r.Z)({},_e||M),{},{position:"fixed",pointerEvents:"none"})}))))}},32464:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,_typeof=__webpack_require__(31468).default;(function(){if("function"!=typeof window.GGBApplet){var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var e={},t="5.0",n={},r=null,i=!1,o=!1,s=null,a=!1,c=null,l=null,u=0;u<arguments.length;u++){var d=arguments[u];if(null!==d)switch(_typeof(d)){case"number":t=d.toFixed(1);break;case"string":d.match(new RegExp("^[0-9]\\.[0-9]+$"))?t=d:s=d;break;case"object":void 0!==d.is3D?r=d:n=d;break;case"boolean":i=d,o=!0}}null===r&&(r={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},void 0===n.material_id||o||(i=!0)),null!==s&&void 0===n.id&&(n.id=s);var f="",p=!1,h=null,m=null,g=null,v=!1,y=null,b=null,x=null;void 0!==n.height&&(n.height=Math.round(n.height)),void 0!==n.width&&(n.width=Math.round(n.width));var w=function(e){return parseFloat(e)>4?parseFloat(e):5};function _(){try{return window.self!==window.top}catch(e){return!0}}function j(){return(!n.hasOwnProperty("screenshotGenerator")||!n.screenshotGenerator)&&Math.max(screen.width,screen.height)<800}e.setHTML5Codebase=function(e,t){l=e,P(e,t)},e.setJavaCodebase=e.setJavaCodebaseVersion=e.isCompiledInstalled=e.setPreCompiledScriptPath=e.setPreCompiledResourcePath=function(){},e.setHTML5CodebaseVersion=function(e,t){var n=parseFloat(e);NaN!==n&&n<5?console.log("The GeoGebra HTML5 codebase version "+n+" is deprecated. Using version latest instead."):(c=e,R(e,t))},e.getHTML5CodebaseVersion=function(){return m},e.getParameters=function(){return n},e.setFontsCSSURL=function(e){x=e},e.setGiacJSURL=function(e){},e.setJNLPFile=function(e){e},e.setJNLPBaseDir=function(e){},e.inject=function(){function t(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var r,i="auto",o=n.id,s=!1,c=0;c<arguments.length;c++){var l=arguments[c];"string"==typeof l?(l=l.toLowerCase()).match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?i=l:o=arguments[c]:"boolean"==typeof l?s=l:l instanceof HTMLElement&&(r=l)}function u(){if(a){i=L(i);var c=r||document.getElementById(o);if(c)if(e.removeExistingApplet(c,!1),void 0===n.width&&c.clientWidth&&(n.width=c.clientWidth),void 0===n.height&&c.clientHeight&&(n.height=c.clientHeight),n.width&&n.height||"html5"!==i||(delete n.width,delete n.height),h=i,"screenshot"===i)T(c,n);else{var l=!1;n.hasOwnProperty("playButton")&&n.playButton||n.hasOwnProperty("clickToLoad")&&n.clickToLoad?l=!0:n.hasOwnProperty("playButtonAutoDecide")&&n.playButtonAutoDecide&&(l=(!_()||t())&&j()),l?(h="screenshot",D(c,n,s,i)):E(c,n,s)}else console.log("possibly bug on ajax loading? ")}else setTimeout(u,200)}u()},e.getViews=function(){return r},e.isJavaInstalled=function(){return!1};var S=function(t){var i=function(){n.onError&&n.onError(),B("Error: Fetching material (id "+n.material_id+") failed.",n)},o=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",s="/materials/"+n.material_id+"?scope=basic";A("https://"+o+"/api/proxy.php?path="+encodeURIComponent(s),(function(o){var s=JSON.parse(o),a=s.elements?s.elements.filter((function(e){return"G"==e.type||"E"==e.type}))[0]:s;if(a&&a.url){n.fileName=a.url,C(a.settings||{}),r.is3D=!0;var c="https://www.geogebra.org/images/";e.setPreviewImage(y||a.previewUrl,c+"GeoGebra_loading.png",c+"applet_play.png"),t()}else i()}),i)};function C(e){["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach((function(t){e[t]=!!e[t]})),["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"].forEach((function(t){void 0===n[t]&&void 0!==e[t]&&(n[t]=e[t])})),void 0===n.showToolBarHelp&&(n.showToolBarHelp=n.showToolBar)}function A(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.onload=function(){t(r.responseText)},r.onerror=n,r.send()}e.isHTML5Installed=function(){return!0},e.getLoadedAppletType=function(){return h},e.setPreviewImage=function(e,t,n){y=e,b=t,n},e.removeExistingApplet=function(e,t){var r;"string"==typeof e&&(e=document.getElementById(e)),h=null;var i=null;for(r=0;r<e.childNodes.length;r++){var o=e.childNodes[r],s=o.className;"applet_screenshot"===s?t?(o.style.display="block",h="screenshot"):o.style.display="none":"applet_scaler prerender"!==s&&(e.removeChild(o),i=s&&-1!=s.indexOf("appletParameters")?o.id:null,r--)}var a=void 0!==n.id?n.id:i,c=window[a];c&&"function"==typeof c.getBase64&&(c.remove(),window[a]=null)},e.refreshHitPoints=function(){if(w(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var t=e.getAppletObject();return!(!t||"function"!=typeof t.recalculateEnvironments)&&(t.recalculateEnvironments(),!0)},e.startAnimation=function(){var t=e.getAppletObject();return!(!t||"function"!=typeof t.startAnimation)&&(t.startAnimation(),!0)},e.stopAnimation=function(){var t=e.getAppletObject();return!(!t||"function"!=typeof t.stopAnimation)&&(t.stopAnimation(),!0)},e.getAppletObject=function(){var e=void 0!==n.id?n.id:"ggbApplet";return window[e]},e.resize=function(){};var k=function(e){return e&&"false"!==e},E=function(t,n,r){w(m)<=4.2&&(r=!0);var i=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==m||ggbHTML5LoadedCodebaseIsWebSimple&&!v)&&(i=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var o=document.createElement("div");o.classList.add("appletParameters","notranslate");var s=n.width,a=n.height;if(n.disableAutoScale=void 0===n.disableAutoScale?GGBAppletUtils.isFlexibleWorksheetEditor():n.disableAutoScale,void 0!==n.width)if(w(m)<=4.4)k(n.showToolBar)&&(n.height-=7),k(n.showAlgebraInput)&&(n.height-=37),n.width<605&&k(n.showToolBar)&&(n.width=605,s=605);else{var u=100;(k(n.showToolBar)||k(n.showMenuBar))&&(n.hasOwnProperty("customToolBar")&&(n.customToolbar=n.customToolBar),u=k(n.showMenuBar)?245:155),s<u&&(n.width=u,s=u)}for(var d in o.style.border="none",o.style.display="inline-block",n)n.hasOwnProperty(d)&&"appletOnLoad"!==d&&o.setAttribute("data-param-"+d,n[d]);x&&o.setAttribute("data-param-fontscssurl",x),e.resize=function(){GGBAppletUtils.responsiveResize(t,n)},window.addEventListener("resize",(function(t){e.resize()}));var p="function"==typeof n.appletOnLoad?n.appletOnLoad:function(){};if(r||void 0===n.width){var h=document.createElement("div");h.className="applet_scaler",h.style.position="relative",h.style.display="block",h.appendChild(o),t.appendChild(h),n.appletOnLoad=function(t){e.resize(),p(t)}}else{n.hasOwnProperty("showSplash")||o.setAttribute("data-param-showSplash","false");var y=t.querySelector(".applet_scaler.prerender"),b=null!==y;if(b)_=y.querySelector(".ggb_preview");else{var _=N(s,a,n.borderColor,!1);(y=document.createElement("div")).className="applet_scaler",y.style.position="relative",y.style.display="block",y.style.width=s+"px",y.style.height=a+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(y,"66%"),w(m)>=5?(n.appletOnLoad=function(e){var n=t.querySelector(".ggb_preview");n&&n.parentNode.removeChild(n),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(y),window.GGBT_wsf_view&&$(window).trigger("resize"),p(e)},b||y.appendChild(_)):o.appendChild(_),y.appendChild(o),b||t.appendChild(y),setTimeout((function(){e.resize()}),1)}function j(e,t){t&&"function"==typeof t.appletOnLoad&&"function"==typeof renderGGBElement?renderGGBElement(e,t.appletOnLoad):renderGGBElement(e),B("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",t)}function S(e,t){"undefined"==typeof renderGGBElement?(null===html5AppletsToProcess&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:e,params:t}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,null!==html5AppletsToProcess&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach((function(e){j(e.article,e.params)})),html5AppletsToProcess=null)},w(m)<5&&(e.className+=" geogebraweb")):j(e,t)}if(i){scriptLoadStarted=!0;for(var C=0;C<o.childNodes.length;C++){"TABLE"===o.childNodes[C].tagName&&(o.removeChild(o.childNodes[C]),C--)}if(null!==ggbHTML5LoadedScript){var A=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');null!=A&&A.parentNode.removeChild(A)}var E=document.createElement("script"),T=function(){S(o,n)};E.src=f+g,ggbHTML5LoadedCodebaseIsWebSimple=v,ggbHTML5LoadedCodebaseVersion=m,ggbHTML5LoadedScript=E.src,B("GeoGebra HTML5 codebase loaded: '"+f+"'.",n),l||c&&"5.0"!=c?f.requirejs?__webpack_require__.e(5803).then(function(){var e=[__webpack_require__(55803)];T.apply(null,e)}.bind(this)).catch(__webpack_require__.oe):(E.onload=T,t.appendChild(E)):(v?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),T())}else S(o,n);n.height=a,n.width=s},T=function(t,n,r){var i=N(n.width,n.height,n.borderColor,r),o=document.createElement("div");o.style.position="relative",o.style.display="block",o.style.width=n.width+"px",o.style.height=n.height+"px",o.className="applet_screenshot applet_scaler"+(r?" applet_screenshot_play":""),o.appendChild(i);var s=GGBAppletUtils.getScale(n,t,r);r?(t.appendChild(O()),window.GGBT_wsf_view||(t.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(o,"66%"),t.appendChild(o),1===s||isNaN(s)||(GGBAppletUtils.scaleElement(o,s),o.style.width=n.width+"px",o.style.height=n.height+"px",o.parentNode.style.width=n.width*s+"px",o.parentNode.style.height=n.height*s+"px"),e.resize=function(){M(t,i,o,r)},window.addEventListener("resize",(function(t){e.resize()})),e.resize()};function M(e,t,r,i){if(e.contains(t)){if("object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()){if("fullscreencontent"!==e.id)return;window.GGBT_wsf_view.setCloseBtnPosition(e)}var o=GGBAppletUtils.getScale(n,e,i);null!==r.parentNode&&(isNaN(o)||1===o?(GGBAppletUtils.scaleElement(r,1),r.parentNode.style.width=n.width+"px",r.parentNode.style.height=n.height+"px"):(GGBAppletUtils.scaleElement(r,o),r.parentNode.style.width=n.width*o+"px",r.parentNode.style.height=n.height*o+"px")),"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(e),"object"===_typeof(window.GGBT_ws_header_footer)&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}e.onExitFullscreen=function(e,t){t.appendChild(e)};var D=function(e,t,n,r){T(e,t,!0);for(var i=function(){var n=[];for(s=0;s<e.childNodes.length;s++)n.push(e.childNodes[s]);if(window.GGBT_wsf_view){var i=window.GGBT_wsf_view.renderFullScreen(e,t.id),o=document.getElementById("fullscreencontainer"),a=jQuery(e).find(".fullscreencontent");a.length>0?(i.remove(),a.attr("id","fullscreencontent").show(),jQuery(o).append(a),window.dispatchEvent(new Event("resize"))):E(i,t,!1),window.GGBT_wsf_view.launchFullScreen(o)}else h=r,E(e,t,!1);if(!window.GGBT_wsf_view)for(s=0;s<n.length;s++)e.removeChild(n[s])},o=e.getElementsByClassName("ggb_preview_play"),s=0;s<o.length;s++)o[s].addEventListener("click",i,!1),o[s].addEventListener("ontouchstart",i,!1);"function"==typeof window.ggbAppletPlayerOnload&&window.ggbAppletPlayerOnload(e),j()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},O=function(){var e=document.createElement("div");if(e.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var t='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',n=document.createElement("style");n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),document.getElementsByTagName("head")[0].appendChild(n)}return e},N=function(e,t,n,r){var i=document.createElement("div");i.className="ggb_preview",i.style.position="absolute",i.style.zIndex="90",i.style.width=e-2+"px",i.style.height=t-2+"px",i.style.top="0px",i.style.left="0px",i.style.overflow="hidden",i.style.backgroundColor="white";var o="lightgrey";void 0!==n&&(o="none"===n?"transparent":n),i.style.border="1px solid "+o;var s,a,c,l=document.createElement("img");if((l.style.position="relative",l.style.zIndex="1000",l.style.top="-1px",l.style.left="-1px",null!==y&&l.setAttribute("src",y),l.style.opacity=.7,null!==b)&&!r){(s=document.createElement("img")).style.position="absolute",s.style.zIndex="1001",s.style.opacity=1,l.style.opacity=.3,(a=360)>e/4*3&&(a=e/4*3),c=a/5.8,s.setAttribute("src",b),s.setAttribute("width",a),s.setAttribute("height",c);var u=(e-a)/2,d=(t-c)/2;s.style.left=u+"px",s.style.top=d+"px",i.appendChild(s)}return i.appendChild(l),i},L=function(e){return"html5"===(e=e.toLowerCase())||"screenshot"===e?e:"html5"},I=["web","webSimple","web3d","tablet","tablet3d","phone"],R=function(e,t){if(m=e,t)P(m,!0);else{var o,s,a=!i;if(a){var c=w(m);!isNaN(c)&&c<4.4&&(a=!1)}o="http"===window.location.protocol.substr(0,4)?window.location.protocol:"http:";var l=m.indexOf("//");for(var u in s=l>0?m:0===l?o+m:"https://www.geogebra.org/apps/5.2.814.0/",I)if(m.slice(-1*I[u].length)===I[u]||m.slice(-1*(I[u].length+1))===I[u]+"/")return void P(s,!1);GGBAppletUtils.isFlexibleWorksheetEditor()||!a||r.is3D||r.AV||r.SV||r.CV||r.EV2||r.CP||r.PC||r.DA||r.FI||r.PV||k(n.showToolBar)||k(n.showMenuBar)||k(n.showAlgebraInput)||k(n.enableRightClick)||n.appName&&"classic"!=n.appName?s+="web3d/":s+="webSimple/",P(s,!1)}},P=function(e,t){if(e.requirejs)f=e;else{"/"!==e.slice(-1)&&(e+="/"),f=e,null===t&&(t=-1===e.indexOf("http")),p=t,g="web.nocache.js",v=!1;var n=f.split("/");n.length>1&&(t||"webSimple"!==n[n.length-2]?I.indexOf(n[n.length-2])>=0&&(g=n[n.length-2]+".nocache.js"):(g="webSimple.nocache.js",v=!0)),n=e.split("/"),"test"===(m=n[n.length-3]).substr(0,4)?m=m.substr(4,1)+"."+m.substr(5,1):"war"!==m.substr(0,3)&&"beta"!==m.substr(0,4)||(m="5.0");var r=parseFloat(m);NaN!==r&&r<5&&e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+r+" is deprecated. Using version latest instead."),R("5.0",t))}},B=function(e,t){window.console&&window.console.log&&(!t||void 0===t.showLogging||t.showLogging&&"false"!==t.showLogging)&&console.log(e)};function F(){var e=t;null!==c?e=c:parseFloat(e)<5&&(e="5.0"),R(e,!1),null!==l&&P(l,p),a=!0}return void 0!==n.material_id?S(F):F(),e},GGBAppletUtils=function(){"use strict";function e(){return void 0!==window.GGBT_wsf_edit}function t(e,t){1!=t?(e.style.transformOrigin="0% 0% 0px",e.style.webkitTransformOrigin="0% 0% 0px",e.style.transform="scale("+t+","+t+")",e.style.webkitTransform="scale("+t+","+t+")",e.style.maxWidth="initial",null!==e.querySelector(".ggb_preview")&&(e.querySelector(".ggb_preview").style.maxWidth="initial"),void 0!==e.querySelectorAll(".ggb_preview img")[0]&&(e.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),void 0!==e.querySelectorAll(".ggb_preview img")[1]&&(e.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(e.style.transform="none",e.style.webkitTransform="none")}function n(e,t,n,r,i){if(e.isScreenshoGenerator)return 1;var o,s=void 0!==r&&r,a=null!=e.noScaleMargin&&e.noScaleMargin,c=(o=e.autoHeight)&&"false"!==o,l=function(e,t,n,r,i,o){var s=null;if(null!=o&&""!=o)for(var a=e.parentNode;null!=a;){if((" "+a.className+" ").indexOf(" "+o+" ")>-1){s=a;break}a=a.parentNode}var c=0,l=0,u=0,d=0,f=0,p=0,h=0;if(s)c=s.offsetWidth,l=Math.max(r?s.offsetWidth:0,s.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(c=Math.min(window.innerWidth,document.documentElement.clientWidth),l=Math.min(window.innerHeight,document.documentElement.clientHeight),u=c):(c=window.innerWidth,l=window.innerHeight,u=window.innerWidth),e){var m=e.getBoundingClientRect();m.left>0&&m.left<=c&&(void 0===i||!i)&&("rtl"===document.dir?(f=c-m.width-m.left,p=u<=480?10:30):(p=m.left,f=u<=480?10:30),d=p+f)}e&&"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&(e.getBoundingClientRect(),"closePositionRight"===window.GGBT_wsf_view.getCloseBtnPosition()?(d=40,h=0):"closePositionTop"===window.GGBT_wsf_view.getCloseBtnPosition()&&(d=0,h=40))}return e&&((void 0===n||!n)&&t>0&&t+d<c?c=t:c-=d,"object"!==_typeof(window.GGBT_wsf_view)||!window.GGBT_wsf_view.isFullscreen()||void 0!==n&&n||(l-=h)),{width:c,height:l}}(t,e.width,n,c,s&&window.GGBT_wsf_view||a,i),u=parseInt(l.width),d=e.width,f=e.height;if(void 0===d){var p=t.querySelector(".appletParameters");p&&(d=p.offsetWidth,f=p.offsetHeight)}var h=u/d,m=s?1:l.height/f;return void 0===n||n||(h=Math.min(1,h),m=Math.min(1,m)),Math.min(h,m)}function r(e,t,r){var i,o=1,s=!1;return e.hasOwnProperty("allowUpscale")&&(s=e.allowUpscale),e.hasOwnProperty("scale")&&(o=parseFloat(e.scale),(isNaN(o)||null===o||0===o)&&(o=1),o>1&&(s=!0)),t&&"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&(s=!0),e.hasOwnProperty("disableAutoScale")&&e.disableAutoScale?o:(i=n(e,t,s,r,e.scaleContainerClass),!s||e.hasOwnProperty("scale")&&1!==o?Math.min(o,i):i)}function i(e){var t=Math.min(window.innerWidth,document.documentElement.clientWidth),n=Math.min(window.innerHeight,document.documentElement.clientHeight),r=e.getBoundingClientRect(),i=(t-r.width)/2,o=(n-r.height)/2;o<0&&(o=0),e.style.position="relative","closePositionRight"===window.GGBT_wsf_view.getCloseBtnPosition()?(e.style.left=i<40?"40px":i+"px",e.style.top=o+"px"):"closePositionTop"===window.GGBT_wsf_view.getCloseBtnPosition()&&(e.style.top=o<40?"40px":o+"px",e.style.left=i+"px")}return{responsiveResize:function(n,o){var s=n.querySelector(".appletParameters");if(s){if("object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()){if(o.id!==s.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(n)}if(s.parentElement&&/fullscreen/.test(s.parentElement.className))return;var a=r(o,n);e()&&s.setAttribute("data-param-scale",a);for(var c=null,l=0;l<n.childNodes.length;l++)if(void 0!==n.childNodes[l].className&&n.childNodes[l].className.match(/^applet_scaler/)){c=n.childNodes[l];break}if(null!==c&&null!==c.querySelector(".noscale"))return;var u=void 0!==o.id?o.id:"ggbApplet",d=window[u];null!=d&&d.recalculateEnvironments||null===c||c.className.match(/fullscreen/)||(c.parentNode.style.transform="",isNaN(a)||1===a?(t(c,1),c.parentNode.style.width=o.width+"px",c.parentNode.style.height=o.height+"px"):(c.parentNode.style.width=o.width*a+"px",c.parentNode.style.height=o.height*a+"px",t(c,a))),"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&i(n),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(s).parents(".content-added-content"))}},isFlexibleWorksheetEditor:e,positionCenter:i,getScale:r,scaleElement:t}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var e=n.location.search;return-1!=e.indexOf(J)||-1!=e.indexOf(K)}function q(e,t){}q(H,I),webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{},t;function u(){return v(),t}function v(){if(!t){var e=o.createElement(Q);if(e.id=L,e.style.cssText=R+S,e.tabIndex=-1,o.body.appendChild(e),t=e.contentWindow.document,-1==navigator.userAgent.indexOf(T)){t.open();var n=document.compatMode==U?V:W;t.write(n+X),t.close()}}}function w(e){q(cb,eb),function(e){function t(){return _typeof(o.readyState)==Y?_typeof(o.body)!=Y&&null!=o.body:/loaded|complete/.test(o.readyState)}var n=t();if(n)e();else{o.addEventListener&&o.addEventListener(Z,i,!1);var r=setInterval((function(){i()}),$)}function i(){if(!n){if(!t())return;n=!0,e(),o.removeEventListener&&o.removeEventListener(Z,i,!1),r&&clearInterval(r)}}}((function(){var t,n,r,i;t=e,n=u(),r=n.body,(i=n.createElement(_)).language=ab,i.crossOrigin=W,i.src=t,webModule.__errFn&&(i.onerror=function(){webModule.__errFn(L,new Error(bb+t))}),r.appendChild(i),q(cb,db)}))}function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(e){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(e){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(e){var t=c[e];return null==t?null:t},r=d,webModule.__errFn=e}function B(){function e(e){var t=e.lastIndexOf(rb);-1==t&&(t=e.length);var n=e.indexOf(sb);-1==n&&(n=e.length);var r=e.lastIndexOf(tb,Math.min(n,t));return r>=O?e.substring(O,r+P):W}var t,n=null!=(t=__gwt_getMetaProperty(wb))?t:W;return n==W&&(n=function(){for(var t=o.getElementsByTagName(_),n=O;n<t.length;++n)if(-1!=t[n].src.indexOf(xb))return e(t[n].src);return W}()),n==W&&(n=function(){var e=o.getElementsByTagName(yb);return e.length>O?e[e.length-P].href:W}()),n==W&&function(){var e=o.location;return e.href==e.protocol+zb+e.host+e.pathname+e.search+e.hash}()&&(n=e(o.location.href)),n=function(t){if(t.match(/^\w+:\/\//));else{var n=o.createElement(ub);n.src=t+vb,t=e(n.src)}return t}(n),n}function C(e){return e.match(/^\//)||e.match(/^[a-zA-Z]+:\/\//)?e:webModule.__moduleBase+e}function D(){var e,t=O,i=[],o=[];function s(e){var t=o[e](),n=i[e];if(t in n)return t;var s=[];for(var a in n)s[n[a]]=a;throw r&&r(e,s,t),null}if(__gwt_isKnownPropertyValue=function(e,t){return t in i[e]},webModule.__getPropMap=function(){var e={};for(var t in i)i.hasOwnProperty(t)&&(e[t]=s(t));return e},webModule.__computePropValue=s,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);try{var a=(e=Cb).indexOf(Db);-1!=a&&(t=parseInt(e.substring(a+P),$),e=e.substring(O,a))}catch(e){}return webModule.__softPermutationId=t,C(e+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}s[L]={moduleName:L},webModule.__moduleStartupDone=function(e){var t=s[L].bindings;s[L].bindings=function(){for(var n=t?t():{},r=e[webModule.__softPermutationId],i=O;i<r.length;i++){var o=r[i];n[o[O]]=o[P]}return n}},webModule.__startLoadingFragment=function(e){return C(e)},webModule.__installRunAsyncCode=function(e){var t=u(),n=t.body,r=t.createElement(_);r.language=ab,r.text=e,n.appendChild(r),n.removeChild(r)},A(),webModule.__moduleBase="/react/build/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},"function"!=typeof window.web3d&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),"function"!=typeof window.webSimple&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet}else console.warn("deployggb.js was loaded twice")})()},78988:function(e,t,n){"use strict";function r(e){var t=!0;if(e.length>0){for(var n=0;n<e.length;n++)if(0==e[n].compile_success||!e[n].compile_success){t=!1;break}}else t=!1;return t}function i(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[],r=0;r<e.length;r++){var i=e[r],o=t?"".concat(t,"/").concat(i.name):"".concat(i.name);n.push({title:i.name,type:i.type,isLeaf:"tree"!==i.type,key:o})}return n}function o(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];if(i.key===t){i.children=n;break}i.children&&o(i.children,t,n)}return e}function s(e,t,n){var r;return function(){var i=this,o=arguments,s=function(){r=null,n||e.apply(i,o)},a=n&&!r;clearTimeout(r),r=setTimeout(s,t),a&&e.apply(i,o)}}n.d(t,{Ax:function(){return o},Ds:function(){return s},KI:function(){return a},SI:function(){return i},f1:function(){return r}});var a=n(91689).Z.API_SERVER},82742:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(82242),i=n.n(r),o=n(7557),s=n.n(o),a=n(41498),c=n.n(a),l=n(79800),u=n.n(l),d=n(39647),f=n.n(d),p=n(99571),h=n(59301),m=n(37712),g=["children"],v=function(e){var t=e.children,n=f()(e,g),r=(0,h.useState)(!1),o=u()(r,2),a=o[0],l=o[1];return(0,m.jsx)(p.ZP,i()(i()({},n),{},{loading:a,onClick:function(){var e=c()(s()().mark((function e(t){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,l(!0),e.next=4,n.onClick(t);case 4:l(!1),e.next=11;break;case 7:e.prev=7,e.t0=e.catch(0),console.error(e.t0),l(!1);case 11:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}(),children:t}))}},69368:function(e,t,n){"use strict";var r=n(7557),i=n.n(r),o=n(91232),s=n.n(o),a=n(41498),c=n.n(a),l=n(82100),u=n.n(l),d=n(29186),f=n.n(d),p=n(13720),h=n.n(p),m=n(80619),g=n.n(m),v=n(47074),y=n.n(v),b=n(85573),x=n.n(b),w=n(86204),_=function(e){g()(r,e);var t,n=y()(r);function r(e,t){var i;return u()(this,r),i=n.call(this),x()(h()(i),"url",void 0),x()(h()(i),"body",void 0),x()(h()(i),"fullContent",""),x()(h()(i),"controller",null),x()(h()(i),"buffer",""),i.url=e,i.body=t,i}return f()(r,[{key:"startStream",value:(t=c()(i()().mark((function e(){var t,n,r,o,a,c,l,u,d,f,p,h,m,g,v,y;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.controller=new AbortController,t=this.controller.signal,e.prev=2,e.next=5,fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:t});case 5:if((n=e.sent).ok){e.next=8;break}throw new Error("请求失败: ".concat(n.status));case 8:if(r=n.headers.get("content-type")){e.next=11;break}throw new Error("响应头缺少 content-type");case 11:if(!r.includes("application/json")){e.next=17;break}return e.next=14,n.json();case 14:return o=e.sent,this.emit("error",o),e.abrupt("return");case 17:if(r.includes("text/event-stream")){e.next=19;break}throw new Error("响应数据格式错误");case 19:a=n.body.getReader(),c=new TextDecoder("utf-8");case 21:return e.next=24,a.read();case 24:if(l=e.sent,u=l.done,d=l.value,!u){e.next=29;break}return e.abrupt("break",55);case 29:f=c.decode(d,{stream:!0}),this.buffer+=f,p=this.buffer.split("\n"),this.buffer=p.pop()||"",h=s()(p),e.prev=34,h.s();case 36:if((m=h.n()).done){e.next=45;break}if(!(g=m.value).startsWith("data:")){e.next=43;break}if("[DONE]"!==(v=g.slice(5).trim())){e.next=42;break}return e.abrupt("break",45);case 42:try{(y=JSON.parse(v)).data&&this.handleData(y.data)}catch(e){this.buffer=g+"\n"+this.buffer,console.error("解析 JSON 失败:",e)}case 43:e.next=36;break;case 45:e.next=50;break;case 47:e.prev=47,e.t0=e.catch(34),h.e(e.t0);case 50:return e.prev=50,h.f(),e.finish(50);case 53:e.next=21;break;case 55:this.emit("done",this.fullContent),e.next=61;break;case 58:e.prev=58,e.t1=e.catch(2),"AbortError"===e.t1.name?this.emit("cancelled",this.fullContent):this.emit("error",e.t1.message);case 61:case"end":return e.stop()}}),e,this,[[2,58],[34,47,50,53]])}))),function(){return t.apply(this,arguments)})},{key:"handleData",value:function(e){e.content&&(this.fullContent+=e.content,this.emit("data",{chunk:e,full:this.fullContent}))}},{key:"cancelRequest",value:function(){var e;null===(e=this.controller)||void 0===e||e.abort()}}]),r}(w.EventEmitter);t.Z=_},78250:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var r=n(82242),i=n.n(r),o=n(7557),s=n.n(o),a=n(41498),c=n.n(a),l=n(79800),u=n.n(l),d=n(59301),f=n(92310),p=n.n(f),h={agent:"agent___exMfN",add:"add___cWyoE",imgUpLoad:"imgUpLoad___Wg61u",tip:"tip___WGAb5"},m=n(28284),g=n(6767),v=n(14566),y=n(25399),b=n(75727),x=n(62957),w=n(77019),_=n(99571),j=n(54172),S=n(82326),C=n(37568),A=n(5269),k=n(62673),E=n(47889),T=n(13767),M=n(94171),D=n(21411),O=n(19248),N=n(91689),L=n(53260),I=n(39647),R=n.n(I),P=n(13747),B=n(89392),F=n(37712),z=["user","pathsDetail","onOk","dispatch"],U=(0,L.connect)((function(e){return{user:e.user,pathsDetail:e.pathsDetail}}))((function(e){e.user;var t,n=e.pathsDetail,r=e.onOk,o=e.dispatch,a=(R()(e,z),(0,d.useState)({})),l=u()(a,2),f=(l[0],l[1],(0,L.useSearchParams)()),p=u()(f,1)[0],h=m.Z.useForm(),v=u()(h,1)[0],y=(0,d.useState)([]),b=u()(y,2),w=b[0],_=b[1],S=(0,d.useState)({page:1,per_page:15,agent_type:"",status:"enabled",deployable_id:(null==n||null===(t=n.detail)||void 0===t?void 0:t.id)||p.get("subject_id"),deployable_type:"Subject",keyword:""}),C=u()(S,2),A=C[0],k=C[1],E=(0,d.useState)([]),T=u()(E,2),D=T[0],O=T[1];function N(){return(N=c()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,M.ZP)("/api/ai/agents.json",{method:"get",params:A});case 2:0===(null==(t=e.sent)?void 0:t.status)&&_(null==t?void 0:t.data);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,d.useEffect)((function(){"智能助教选用"===n.actionTabs.key&&function(){N.apply(this,arguments)}()}),[n.actionTabs.key,A]),(0,F.jsxs)(x.Z,{centered:!0,title:"选用智能体",open:"智能助教选用"===n.actionTabs.key,width:500,onCancel:function(){o({type:"pathsDetail/setActionTabs",payload:{}})},onOk:c()(s()().mark((function e(){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==(null==D?void 0:D.length)){e.next=3;break}return g.ZP.info("请至少选择一个智能体"),e.abrupt("return");case 3:return e.next=5,r({agent_ids:D});case 5:0===e.sent.status&&O([]);case 7:case"end":return e.stop()}}),e)}))),children:[(0,F.jsx)(m.Z,{layout:"inline",size:"large",style:{justifyContent:"end"},form:v,initialValues:{deployable_type:""},onValuesChange:(0,B.debounce)((function(e,t){A.page=1,A.per_page=20,k(i()(i()({},A),t))}),300),children:(0,F.jsx)("div",{style:{textAlign:"end"}})}),(0,F.jsx)(j.Z,{style:{marginTop:20},rowSelection:{type:"checkbox",onChange:function(e,t,n){O(e)},getCheckboxProps:function(e){var t;return{disabled:null==e||null===(t=e.agent_application_info)||void 0===t?void 0:t.subject_assistant}},selectedRowKeys:D},rowKey:function(e){return null==e?void 0:e.id},pagination:!1,columns:[{title:"序号",dataIndex:"deployable_name",render:function(e,t,n){return"".concat((A.page-1)*A.per_page+n+1)},width:50},{title:"智能体名称",dataIndex:"name"}],dataSource:null==w?void 0:w.agents}),(0,F.jsx)(P.Z,{style:{marginTop:20},pageSize:A.per_page,current:A.page,onChange:function(e,t){A.page=e,A.per_page=t,k(i()({},A))},hideOnSinglePage:!0,total:null==w?void 0:w.total_count})]})})),H=function(e){var t,n=e.className,r=e.style,o=void 0===r?{}:r,a=e.addStyle,l=void 0===a?{}:a,f=(e.buttonMaxWidth,e.buttonMaxCount),I=void 0===f?3:f,R=(e.buttonAutoWidth,e.value,e.data),P=(e.url,e.onChange,e.getIAData),B=e.queryInfo,z=e.showParams,H=void 0!==z&&z,q=(0,L.useDispatch)(),W=(0,L.useSelector)((function(e){return null==e?void 0:e.shixunsDetail})),Z=(0,L.useSelector)((function(e){return null==e?void 0:e.pathsDetail})),G=m.Z.useForm(),V=u()(G,1)[0],Y=(0,d.useState)(),K=u()(Y,2),X=K[0],Q=K[1],J=(0,d.useState)(!1),$=u()(J,2),ee=$[0],te=$[1],ne=(0,d.useState)(!1),re=u()(ne,2),ie=re[0],oe=re[1],se=(0,d.useState)(!1),ae=u()(se,2),ce=ae[0],le=ae[1],ue=(0,d.useState)(null),de=u()(ue,2),fe=de[0],pe=de[1],he=(0,d.useState)([]),me=u()(he,2),ge=me[0],ve=me[1],ye=(0,d.useState)([]),be=u()(ye,2),xe=be[0],we=be[1];(0,d.useEffect)((function(){"编辑智能应用"==W.actionTabs.key?Te(W.actionTabs.params):"添加智能应用"==W.actionTabs.key&&(V.setFieldsValue({open_range:0}),Q({open_range:0}))}),[W.actionTabs.key]);var _e,je={fileList:xe,maxCount:1,accept:".jpg,.png",withCredentials:!0,showUploadList:!1,beforeUpload:function(e){var t=e.size/1024/1024/100;return!(t>2||0==t)||(g.ZP.error("".concat(e.name," 图片无法上传。").concat(0==t?"文件内容不能为空":"超过图片大小限制(200MB)")),v.Z.LIST_IGNORE)},onRemove:function(e){we([])},onChange:function(e){V.setFieldsValue({attachment_id:""});var t;["uploading","done","removed"].includes(e.file.status)&&(we(e.fileList),V.setFieldsValue({attachment_id:null===(t=e.fileList)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.response)||void 0===t?void 0:t.id}))},action:"".concat(N.Z.API_SERVER,"/api/attachments.json")},Se=[{title:"应用名称",dataIndex:"name",width:280,ellipsis:{showTitle:!1},render:function(e,t){return(0,F.jsx)(y.Z,{title:e,children:e})}},{title:"应用类型",dataIndex:"application_type",render:function(e,t){return"chat_assistant"===(null==t?void 0:t.application_type)?"聊天助手":"text_generation"===(null==t?void 0:t.application_type)?"文本生成":"工作流"}},{title:"API秘钥",dataIndex:"api_key",width:280,ellipsis:{showTitle:!1},render:function(e,t){return(0,F.jsx)(y.Z,{title:e,placement:"topLeft",children:e})}},{title:"智能体平台",dataIndex:"platform",render:function(e,t){return"dify"===(null==t?void 0:t.platform)?"Dify":"智能工厂"}},{title:"操作",width:100,align:"right",render:function(e,t){return(0,F.jsxs)(F.Fragment,{children:[!(null!=t&&t.agent_type)&&(0,F.jsx)("span",{onClick:function(){q({type:"shixunsDetail/setActionTabs",payload:{key:"编辑智能应用",params:t}})},className:"current c-light-primary mr15",children:"编辑"}),(0,F.jsx)("span",{onClick:function(){null!=t&&t.agent_type?Ee(t):ke(t)},className:"current c-red",children:"移出"})]})}}],Ce=function(){var e=c()(s()().mark((function e(){var t,n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,M.ZP)("/api/ai/intelligent_applications/get_platform.json",{method:"get"});case 2:0===(null==(t=e.sent)?void 0:t.code)&&ve(null==t||null===(n=t.data)||void 0===n?void 0:n.platforms);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Ae=function(){var e=c()(s()().mark((function e(t){var n,r;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return le(!0),n=i()(i()({},t),B),e.next=4,(0,M.ZP)("/api/ai/intelligent_applications".concat(fe?"/"+fe.id:"",".json"),{method:fe?"put":"post",body:n});case 4:0===(null==(r=e.sent)?void 0:r.status)&&(g.ZP.success(fe?"编辑成功":"添加成功"),q({type:"shixunsDetail/setActionTabs",payload:{}}),P()),le(!1);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ke=function(){var e=c()(s()().mark((function e(t){var n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return oe(!0),e.next=3,(0,M.ZP)("/api/ai/intelligent_applications/".concat(null==t?void 0:t.id,".json"),{method:"delete"});case 3:0===(null==(n=e.sent)?void 0:n.status)&&(g.ZP.success("移除成功"),P()),oe(!1);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ee=function(){var e=c()(s()().mark((function e(t){var n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return oe(!0),e.next=3,(0,M.ZP)("/api/ai/agents/set_agent_applications.json",{method:"post",body:{subject_assistant:!1,agent_ids:[null==t?void 0:t.id]}});case 3:0===(null==(n=e.sent)?void 0:n.status)&&(g.ZP.success("移除成功"),P()),oe(!1);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Te=function(){var e=c()(s()().mark((function e(t){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:pe(t),V.setFieldsValue(i()({},t)),Q(i()({},t)),null!=t&&t.attachment&&we([{response:null==t?void 0:t.attachment}]);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,F.jsxs)(d.Fragment,{children:[(0,F.jsx)(b.Z,{disabled:"Course"===B.item_type,menu:{items:[{key:"2",label:(0,F.jsx)("a",{onClick:function(e){var t;e.stopPropagation(),q({type:"pathsDetail/setActionTabs",payload:{key:"智能助教选用",deployable_type:"Subject",deployable_id:null==Z||null===(t=Z.detail)||void 0===t?void 0:t.id}})},children:"选用智能体"})},{key:"3",label:(0,F.jsx)("a",{onClick:function(e){e.stopPropagation(),Ce(),te(!0)},children:"管理自定义智能应用"})}]},children:(0,F.jsx)("div",{className:p()(h.agent,n),style:o,children:(0,F.jsx)(y.Z,{title:"Course"===B.item_type&&"管理自定义智能应用",children:(0,F.jsx)("div",{className:h.add,style:l,onClick:function(){"Course"===B.item_type&&(Ce(),te(!0))},children:(0,F.jsx)("i",{className:"iconfont icon-tianjiadaohang"})})})})}),"智能助教选用"===Z.actionTabs.key&&(0,F.jsx)(U,{onOk:function(){var e=c()(s()().mark((function e(t){var n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,M.ZP)("/api/ai/agents/set_agent_applications.json",{method:"post",body:i()({subject_assistant:!0},t)});case 2:return 0===(null==(n=e.sent)?void 0:n.status)&&(g.ZP.info("选用成功"),q({type:"pathsDetail/setActionTabs",payload:{}}),P()),e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}),(0,F.jsxs)(x.Z,{zIndex:1e3,width:900,centered:!0,title:"管理自定义智能应用",open:ee,footer:null,onCancel:function(){return te(!1)},children:[(0,F.jsxs)(w.Z,{align:"middle",children:[(0,F.jsx)(_.ZP,{onClick:function(){(null==R?void 0:R.length)>=I?g.ZP.warning("最多同时支持添加3个应用"):q({type:"shixunsDetail/setActionTabs",payload:{key:"添加智能应用"}})},type:"primary",children:"立即添加"}),(0,F.jsx)("div",{className:"ml10 c-grey-666 font14",children:"您可以添加已在智能体平台创建完成的智能应用"})]}),(null==R?void 0:R.length)>0?(0,F.jsx)(j.Z,{className:"mt20",style:{marginBottom:15},pagination:!1,dataSource:R,loading:ie,columns:Se}):(0,F.jsx)(T.Z,{customText:"暂未添加自定义的智能应用~",styles:{margin:"50px auto"}})]}),(0,F.jsx)(x.Z,{zIndex:1001,width:530,centered:!0,title:(0,F.jsx)(w.Z,{align:"middle",children:(0,F.jsx)("b",{className:"font16 c-black",children:W.actionTabs.key})}),open:["编辑智能应用","添加智能应用"].includes(W.actionTabs.key),confirmLoading:ce,onCancel:function(){q({type:"shixunsDetail/setActionTabs",payload:{}})},onOk:function(){return V.submit()},afterClose:function(){V.resetFields(),pe(null),we([])},children:(0,F.jsxs)(m.Z,{form:V,className:"mt10",labelCol:{span:5},wrapperCol:{span:20},onFinish:Ae,colon:!1,size:"large",labelAlign:"right",onValuesChange:function(){return Q(i()({},V.getFieldsValue()))},children:[(0,F.jsx)(m.Z.Item,{label:"智能体平台",name:"platform",rules:[{required:!0,message:"请选择智能体平台"}],children:(0,F.jsx)(S.default,{placeholder:"请选择应用类型",children:null==ge?void 0:ge.map((function(e){return(0,F.jsx)(S.default.Option,{value:null==e?void 0:e.value,children:null==e?void 0:e.name},null==e?void 0:e.value)}))})}),(0,F.jsx)(m.Z.Item,{label:"应用名称",name:"name",rules:[{required:!0,message:"请输入应用名称"}],children:(0,F.jsx)(C.Z,{placeholder:"请输入应用名称,最大支持20个字符",maxLength:20})}),(0,F.jsx)(m.Z.Item,{name:"attachment_id",label:"应用图标",rules:[{required:!1,message:"请上传应用图标"}],children:(0,F.jsxs)("div",{className:h.upload,children:[(0,F.jsx)(v.Z,i()(i()({},je),{},{children:(0,F.jsxs)(w.Z,{wrap:!1,align:"middle",children:[(0,F.jsx)(D.op,{style:{borderRadius:"2px"},icon:(0,F.jsx)("i",{className:"iconfont icon-shangchuan3"}),children:"点击上传"}),(0,F.jsx)(A.Z,{style:{marginLeft:"14px",color:"#999999"},onClick:function(e){e.preventDefault(),e.stopPropagation()},children:"支持jpg/png,不上传则使用默认图标"})]})})),(null==xe||null===(t=xe[0])||void 0===t||null===(t=t.response)||void 0===t?void 0:t.id)&&(0,F.jsxs)("div",{className:h.imgUpLoad,children:[(0,F.jsx)("img",{src:N.Z.API_SERVER+"/api/attachments/"+(null==xe||null===(_e=xe[0])||void 0===_e||null===(_e=_e.response)||void 0===_e?void 0:_e.id),alt:"avatar",style:{width:"100%"}}),(0,F.jsx)("div",{children:(0,F.jsx)(O.Z,{onClick:function(){we([]),V.setFieldsValue({attachment_id:""})},style:{fontSize:"16px",color:"red"}})})]})]})}),(0,F.jsx)(m.Z.Item,{label:"应用类型",name:"application_type",rules:[{required:!0,message:"请选择应用类型"}],children:(0,F.jsxs)(S.default,{placeholder:"请选择应用类型",children:[(0,F.jsx)(S.default.Option,{value:"chat_assistant",children:"聊天助手"}),"dify"==(null==X?void 0:X.platform)&&(0,F.jsx)(S.default.Option,{value:"text_generation",children:"文本生成"}),(0,F.jsx)(S.default.Option,{value:"workflow",children:"工作流"})]})}),H&&(0,F.jsx)(m.Z.Item,{name:"built_variable",label:(0,F.jsxs)("div",{children:[(0,F.jsx)("span",{children:"参数"}),(0,F.jsx)(y.Z,{title:"操作说明: 勾选后,调用智能体时将默认携带对应的实验信息,可在智能体中通过自定义参数进行引入",children:(0,F.jsx)("i",{className:"iconfont icon-tishixiaowenhao ml5"})})]}),children:(0,F.jsx)(k.Z.Group,{options:[{label:"题目描述(question_description)",value:"question_description"},{label:"测试集(test_sets)",value:"test_sets"},{label:"代码文件(code_files)",value:"code_files"}]})}),(0,F.jsx)(m.Z.Item,{label:"公开范围",name:"open_range",children:(0,F.jsx)(E.ZP.Group,{options:[{value:0,label:{Course:"仅课堂教师可见",Subject:"仅教学团队可见",Shixun:"仅协作者可见"}[null==B?void 0:B.item_type]},{value:1,label:"所有人可见"}]})}),(0,F.jsx)(m.Z.Item,{className:"mb0",label:"API秘钥",name:"api_key",rules:[{required:!0,message:"请输入API秘钥"}],children:(0,F.jsx)(C.Z,{placeholder:"请输入API秘钥"})}),(0,F.jsxs)("div",{className:h.tip,children:[(0,F.jsx)("i",{className:"iconfont icon-tishi9"}),(0,F.jsx)("span",{children:"请务必保证秘钥正确,否则可能无法正常使用智能应用"})]})]})})]})}},35476:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(7557),i=n.n(r),o=n(41498),s=n.n(o),a=n(79800),c=n.n(a),l=n(59301),u=n(30641),d=n(77019),f=n(5269),p="smartWrp___NjRcB",h=n(92068),m=n(21411),g=n(82742),v=n(37712);var y=function(e){var t=e.open,n=void 0===t||t,r=e.onChange,o=e.defaultValue,a=(e.placement,e.width,e.height),y=(e.extra,e.onDynamic),b=e.onOpenChange,x=e.showExtra,w=void 0===x||x,_=(0,l.useRef)(null),j=(0,l.useRef)(null),S=(0,l.useState)(o||""),C=c()(S,2),A=C[0],k=C[1],E=(0,l.useState)(o||""),T=c()(E,2),M=T[0],D=T[1],O=(0,l.useState)(!!n),N=c()(O,2),L=N[0],I=N[1],R=(0,l.useState)(1),P=c()(R,2),B=P[0],F=P[1];return(0,l.useEffect)((function(){n&&(k(o),D(o),I(!0))}),[n,o]),(0,l.useEffect)((function(){""!==A&&(clearTimeout(j.current),j.current=setTimeout((function(){var e=document.createElement("iframe");if(e.style.width="100%",e.style.height="100%",e.style.border="0",_.current){_.current.innerHTML="",_.current.appendChild(e);var t=e.contentDocument||e.contentWindow.document;t.open(),t.write(A),t.close()}}),1e3))}),[n,A]),(0,v.jsx)(u.Z,{title:"智能动效",placement:"right",open:L,width:"100%",height:a||"100vh",rootClassName:p,destroyOnClose:!0,onClose:function(){I(!1),null==b||b(A)},extra:w&&(0,v.jsxs)("div",{children:[(0,v.jsx)(m.tp,{dataSource:[{name:"预览",id:1},{name:"代码",id:2}],value:B,onChange:function(e){return F(e)}}),(0,v.jsx)(g.Z,{type:"primary",className:"ml20",onClick:s()(i()().mark((function e(){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y(A,(function(){I(!1)}));case 2:case"end":return e.stop()}}),e)}))),children:"保存至课件"})]}),children:(0,v.jsxs)(d.Z,{className:"h100",children:[(0,v.jsx)(f.Z,{flex:"1",style:{background:"#f6f7fb",borderRight:"#e8eaf1 1px solid",display:1===B?"block":"none"},children:(0,v.jsx)("div",{className:"h100",ref:_})}),(0,v.jsx)(f.Z,{flex:"1",style:{display:2===B?"block":"none"},children:(0,v.jsx)(h.ZP,{height:"90vh",value:o,language:"html",theme:"vs",showMiniMap:!1,options:{selectOnLineNumbers:!0},onChange:function(e){k(e),null==r||r(e,M)}})})]})})}},10914:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(82242),i=n.n(r),o=n(39647),s=n.n(o),a=n(79800),c=n.n(a),l=n(59301),u=n(97831),d=n(66328),f=n(3977),p=n(18369),h=n(56102),m="answer___UngkO",g="codeCopy___re8vm",v="runCode___MYs9m",y=n(6767),b=n(90083),x=n(95827),w=n(30084),_=n(10787),j=(n(88831),n(35476)),S=n(37712),C=["node","inline","className","children"],A=["node"],k=function(e){var t=e.onFinish,n=e.value,r=e.streamingStatus,o=e.cancelIndex,a=e.loadImage,k=e.onDynamic,E=e.isHiddenHtml,T=(0,l.useState)(""),M=c()(T,2),D=M[0],O=M[1],N=(0,l.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),L=c()(N,2),I=L[0],R=L[1],P=(0,l.useState)(0),B=c()(P,2),F=B[0],z=B[1],U=(0,l.useState)(!1),H=c()(U,2),q=H[0],W=H[1],Z=function(){W(!0),null==t||t()};(0,l.useEffect)((function(){var e=a?"这是根据您的描述生成的图片:\n\n".concat(n):n,t=e.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(function(e,t){return'<mathx data-text="'.concat(t.trim(),'">$$').concat(t.trim(),"$$</mathx>")})).replace(/\\\(([\s\S]*?)\\\)/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/\\\[([\s\S]*?)\\\]/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/_{2,}/g,"`$&`");if(!q){if(a||!r||o>0)return O(t),z(t.length),void(r&&!(o>0)||a||Z());if((null==t?void 0:t.length)<4)O(t),z(t.length);else{if(F<t.length){var i=t.length-F,s=setInterval((function(){O(t.slice(0,F+2)),z((function(e){return e+2}))}),i>10?Math.max(500/(i/2),20):50);return function(){return clearInterval(s)}}r||Z()}}}),[n,r,o,a,F]);var G=(0,l.useMemo)((function(){return(0,S.jsx)("section",{className:"".concat(m," fadeIn animated edu_md"),children:(0,S.jsx)(u.UG,{remarkPlugins:[w.Z,_.Z],rehypePlugins:[x.Z,f.Z],components:{code:function(e){e.node;var t=e.inline,n=e.className,r=e.children,o=s()(e,C),a=/language-(\w+)/.exec(n||""),c=String(r).trim();return t||!a?(0,S.jsx)("code",i()(i()({className:n},o),{},{children:r})):(0,S.jsxs)("code",{className:g,"data-text":"```".concat(a?a[1]:"","\n").concat(r," \n```"),children:[!E&&(0,S.jsx)(h.CopyToClipboard,{text:c,onCopy:function(){return y.ZP.success({content:"复制成功",key:"copy"})},children:(0,S.jsx)("button",{children:"复制"})}),!E&&"html"===a[1]&&q&&(0,S.jsx)("button",{className:v,onClick:function(){R(i()({},i()(i()({},I),{},{open:++I.open,defaultValue:c,language:a[1]})))},children:"运行HTML"}),(0,S.jsx)(d.Z,i()(i()({wrapLongLines:!0,style:p.Z,language:a[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},o),{},{children:c}))]})},img:function(e){var t,n=null===(t=e.node.properties)||void 0===t?void 0:t.src;return(0,S.jsx)(b.Z,{src:n,width:320,"data-text":n,onLoad:function(){return a&&setTimeout((function(){return Z()}),500)}})},a:function(e){e.node;var t=s()(e,A);return(0,S.jsx)("a",i()(i()({},t),{},{target:"_blank",rel:"noopener noreferrer"}))}},children:q?D:"".concat(D,"__")})})}),[D,q]);return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(j.Z,{defaultValue:I.defaultValue,open:I.open,language:I.language,height:I.height,onChange:function(e,t){O(D.replaceAll(t,e))},onDynamic:k}),G]})}},34314:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(79800),i=n.n(r),o=n(59301),s=n(83287),a="draggableImage___vcTso",c="img___xAyno",l="close___WUtfj",u="extraNode___tnBrt",d="specialImg___yAPav",f="bubble___qNdfF",p="upImg___Mx6QM",h=n(91689),m=n(37166),g=n(37712),v=function(e){var t=e.src,n=e.onClick,r=e.topPercentage,v=void 0===r?.62:r,y=e.draggableExtraNode,b=e.showAvatarEditData,x=(0,o.useRef)(null),w=(0,o.useRef)(!1),_=(0,o.useRef)(!1),j=(0,o.useState)(window.innerHeight*v),S=i()(j,2),C=S[0],A=S[1],k=(0,o.useState)(!1),E=i()(k,2),T=E[0],M=E[1];return(0,o.useEffect)((function(){if(x.current){var e=function(e){var t;w.current=!0,o=e.pageY,i=e.pageY-((null===(t=x.current)||void 0===t?void 0:t.getBoundingClientRect().top)||0),(0,s.kk)("none"),document.onselectstart=function(){return!1}},t=function(){w.current&&!_.current&&n&&n(),w.current=!1,_.current=!1,(0,s.kk)("auto"),document.onselectstart=null},r=function(e){if(w.current){var t,n=e.pageY-i,r=window.innerHeight-((null===(t=x.current)||void 0===t?void 0:t.offsetHeight)||0)-50;if(!_.current&&Math.abs(o-e.pageY)>10&&(_.current=!0),_.current){var s=Math.max(50,Math.min(n,r));A(s)}}},i=0,o=0;return x.current.addEventListener("mousedown",e),document.addEventListener("mousemove",r),document.addEventListener("mouseup",t),function(){var n,i;null==x||null===(n=x.current)||void 0===n||null===(i=n.removeEventListener)||void 0===i||i.call(n,"mousedown",e),document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",t)}}}),[n]),(0,o.useEffect)((function(){var e=function(){A(window.innerHeight*v)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[v]),(0,g.jsxs)("div",{className:a,style:{top:"".concat(C,"px"),display:T?"none":"block",cursor:w.current?"grabbing":"grab"},ref:x,children:[y&&(0,g.jsx)("div",{className:u,onMouseUp:function(e){return e.stopPropagation()},onMouseDownCapture:function(e){return e.stopPropagation()},children:y}),null!=b&&b.nickname?(0,g.jsxs)("div",{className:d,children:[(0,g.jsx)("div",{className:f,children:null==b?void 0:b.nickname}),(0,g.jsx)("img",{className:p,src:null!=b&&b.headImgId?(null===h.Z||void 0===h.Z?void 0:h.Z.API_SERVER)+"/api/attachments/"+(null==b?void 0:b.headImgId):m,width:60,draggable:"false"})]}):(0,g.jsx)("img",{className:c,src:t,width:60,draggable:"false"}),(0,g.jsx)("i",{className:"iconfont icon-tupianguanbi ".concat(l),onMouseUp:function(e){e.stopPropagation(),M(!0)}})]})}},24666:function(e,t,n){"use strict";var r=n(82242),i=n.n(r),o=n(39647),s=n.n(o),a=(n(59301),n(37712)),c=["filename"],l=n(20441),u={};l.keys().forEach((function(e){var t=e.replace("./","").replace(".svg","");u[t]=l(e)}));t.Z=function(e){var t,n=e.filename,r=s()(e,c),o=(null==n||null===(t=n.split(".").pop())||void 0===t?void 0:t.toLowerCase())||"unknown",l=u[o]||u.default;return(0,a.jsx)("img",i()({src:l,alt:o},r))}},93073:function(e,t,n){"use strict";n.d(t,{Z:function(){return dt}});var r=n(82242),i=n.n(r),o=n(7557),s=n.n(o),a=n(37205),c=n.n(a),l=n(41498),u=n.n(l),d=n(79800),f=n.n(d),p=n(59301),h=n(85573),m=n.n(h),g=n(30641),v=n(6767),y=n(14566),b=n(62957),x=n(25399),w=n(37568),_=n(99571),j=n(29787),S=n(584),C=n(93725),A=n(75727),k=n(37639),E=n(92310),T=n.n(E),M=n(10914),D=n(71321),O=n(26144),N="loadingPic___sQWGQ",L="loading___ss_U1",I="dot___eTny8",R="wrap___SoLR4",P="chatContainer___bSpXP",B="btn___VK3Di",F="btnActive___en_8L",z="uploadBtn___fY3BV",U="sendBtn____aYXt",H="sendBtnDisabled____WhtC",q="cancelBtn___I91qC",W="li___DXR9A",Z="avatarIcon___EYoqp",G="img___wrenL",V="content___NK_Ew",Y="borderBox___UVtN4",K="text___d_gYw",X="fileWrap___kbAp0",Q="file___R5FNg",J="fileName___oTYTw",$="source___JD93j",ee="action___CTh1w",te="backBottom___VIz5U",ne="head___vWC9s",re="title___l1GaK",ie="headBtn___fGGSq",oe="menuWarp___Py4k9",se="menu___Rpj4l",ae="menuText___zGoGw",ce="menuDel___qa0au",le="active___n_Cfs",ue="draggableWrap___u95gi",de="modal___Q60Fu",fe="footer___lxKwN",pe="main____xLI7",he="files___U6HeB",me="fileDel___HitRv",ge="inputWrap___ydzLc",ve="btnWrap___ENcDO",ye="uploadDisabledBtn___LslUe",be=n(94171),xe=n(83287),we=n(34314),_e=n(37166),je=n(28984),Se=n(71986),Ce=n(91689),Ae=n(56102),ke=n(69368),Ee=n(24666),Te=n(12911),Me=n.n(Te),De=n(37712),Oe=n(4676),Ne=function(){return Ne=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ne.apply(this,arguments)},Le={width:"100%",height:"10px",top:"0px",left:"0px",cursor:"row-resize"},Ie={width:"10px",height:"100%",top:"0px",left:"0px",cursor:"col-resize"},Re={width:"20px",height:"20px",position:"absolute",zIndex:1},Pe={top:Ne(Ne({},Le),{top:"-5px"}),right:Ne(Ne({},Ie),{left:void 0,right:"-5px"}),bottom:Ne(Ne({},Le),{top:void 0,bottom:"-5px"}),left:Ne(Ne({},Ie),{left:"-5px"}),topRight:Ne(Ne({},Re),{right:"-10px",top:"-10px",cursor:"ne-resize"}),bottomRight:Ne(Ne({},Re),{right:"-10px",bottom:"-10px",cursor:"se-resize"}),bottomLeft:Ne(Ne({},Re),{left:"-10px",bottom:"-10px",cursor:"sw-resize"}),topLeft:Ne(Ne({},Re),{left:"-10px",top:"-10px",cursor:"nw-resize"})},Be=(0,p.memo)((function(e){var t=e.onResizeStart,n=e.direction,r=e.children,i=e.replaceStyles,o=e.className,s=(0,p.useCallback)((function(e){t(e,n)}),[t,n]),a=(0,p.useCallback)((function(e){t(e,n)}),[t,n]),c=(0,p.useMemo)((function(){return Ne(Ne({position:"absolute",userSelect:"none"},Pe[n]),null!=i?i:{})}),[i,n]);return(0,De.jsx)("div",{className:o||void 0,style:c,onMouseDown:s,onTouchStart:a,children:r})})),Fe=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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(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)}}(),ze=function(){return ze=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ze.apply(this,arguments)},Ue={width:"auto",height:"auto"},He=function(e,t,n){return Math.max(Math.min(e,n),t)},qe=function(e,t,n){var r=Math.round(e/t);return r*t+n*(r-1)},We=function(e,t){return new RegExp(e,"i").test(t)},Ze=function(e){return Boolean(e.touches&&e.touches.length)},Ge=function(e,t,n){void 0===n&&(n=0);var r=t.reduce((function(n,r,i){return Math.abs(r-e)<Math.abs(t[n]-e)?i:n}),0),i=Math.abs(t[r]-e);return 0===n||i<n?t[r]:e},Ve=function(e){return"auto"===(e=e.toString())||e.endsWith("px")||e.endsWith("%")||e.endsWith("vh")||e.endsWith("vw")||e.endsWith("vmax")||e.endsWith("vmin")?e:"".concat(e,"px")},Ye=function(e,t,n,r){if(e&&"string"==typeof e){if(e.endsWith("px"))return Number(e.replace("px",""));if(e.endsWith("%"))return t*(Number(e.replace("%",""))/100);if(e.endsWith("vw"))return n*(Number(e.replace("vw",""))/100);if(e.endsWith("vh"))return r*(Number(e.replace("vh",""))/100)}return e},Ke=["as","ref","style","className","grid","gridGap","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],Xe="__resizable_base__",Qe=function(e){function t(t){var n,r,i,o,s=e.call(this,t)||this;return s.ratio=1,s.resizable=null,s.parentLeft=0,s.parentTop=0,s.resizableLeft=0,s.resizableRight=0,s.resizableTop=0,s.resizableBottom=0,s.targetLeft=0,s.targetTop=0,s.delta={width:0,height:0},s.appendBase=function(){if(!s.resizable||!s.window)return null;var e=s.parentNode;if(!e)return null;var t=s.window.document.createElement("div");return t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.transform="scale(0, 0)",t.style.left="0",t.style.flex="0 0 100%",t.classList?t.classList.add(Xe):t.className+=Xe,e.appendChild(t),t},s.removeBase=function(e){var t=s.parentNode;t&&t.removeChild(e)},s.state={isResizing:!1,width:null!==(r=null===(n=s.propsSize)||void 0===n?void 0:n.width)&&void 0!==r?r:"auto",height:null!==(o=null===(i=s.propsSize)||void 0===i?void 0:i.height)&&void 0!==o?o:"auto",direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},s.onResizeStart=s.onResizeStart.bind(s),s.onMouseMove=s.onMouseMove.bind(s),s.onMouseUp=s.onMouseUp.bind(s),s}return Fe(t,e),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||Ue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var e=0,t=0;if(this.resizable&&this.window){var n=this.resizable.offsetWidth,r=this.resizable.offsetHeight,i=this.resizable.style.position;"relative"!==i&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:n,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:r,this.resizable.style.position=i}return{width:e,height:t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var e=this,t=this.props.size,n=function(t){var n;if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&(null===(n=e.propsSize[t])||void 0===n?void 0:n.toString().endsWith("%"))){if(e.state[t].toString().endsWith("%"))return e.state[t].toString();var r=e.getParentSize(),i=Number(e.state[t].toString().replace("px",""))/r[t]*100;return"".concat(i,"%")}return Ve(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?Ve(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?Ve(t.height):n("height")}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var e=this.appendBase();if(!e)return{width:0,height:0};var t=!1,n=this.parentNode.style.flexWrap;"wrap"!==n&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%",e.style.minHeight="100%";var r={width:e.offsetWidth,height:e.offsetHeight};return t&&(this.parentNode.style.flexWrap=n),this.removeBase(e),r},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(this.resizable&&this.window){var e=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==e.flexBasis?e.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(e,t){var n=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==n&&"auto"!==n?e:"auto"},t.prototype.calculateNewMaxFromBoundary=function(e,t){var n,r,i=this.props.boundsByDirection,o=this.state.direction,s=i&&We("left",o),a=i&&We("top",o);if("parent"===this.props.bounds){var c=this.parentNode;c&&(n=s?this.resizableRight-this.parentLeft:c.offsetWidth+(this.parentLeft-this.resizableLeft),r=a?this.resizableBottom-this.parentTop:c.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(n=s?this.resizableRight:this.window.innerWidth-this.resizableLeft,r=a?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(n=s?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),r=a?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return n&&Number.isFinite(n)&&(e=e&&e<n?e:n),r&&Number.isFinite(r)&&(t=t&&t<r?t:r),{maxWidth:e,maxHeight:t}},t.prototype.calculateNewSizeFromDirection=function(e,t){var n,r=this.props.scale||1,i=(n=this.props.resizeRatio||1,Array.isArray(n)?n:[n,n]),o=i[0],s=i[1],a=this.state,c=a.direction,l=a.original,u=this.props,d=u.lockAspectRatio,f=u.lockAspectRatioExtraHeight,p=u.lockAspectRatioExtraWidth,h=l.width,m=l.height,g=f||0,v=p||0;return We("right",c)&&(h=l.width+(e-l.x)*o/r,d&&(m=(h-v)/this.ratio+g)),We("left",c)&&(h=l.width-(e-l.x)*o/r,d&&(m=(h-v)/this.ratio+g)),We("bottom",c)&&(m=l.height+(t-l.y)*s/r,d&&(h=(m-g)*this.ratio+v)),We("top",c)&&(m=l.height-(t-l.y)*s/r,d&&(h=(m-g)*this.ratio+v)),{newWidth:h,newHeight:m}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,n,r){var i=this.props,o=i.lockAspectRatio,s=i.lockAspectRatioExtraHeight,a=i.lockAspectRatioExtraWidth,c=void 0===r.width?10:r.width,l=void 0===n.width||n.width<0?e:n.width,u=void 0===r.height?10:r.height,d=void 0===n.height||n.height<0?t:n.height,f=s||0,p=a||0;if(o){var h=(u-f)*this.ratio+p,m=(d-f)*this.ratio+p,g=(c-p)/this.ratio+f,v=(l-p)/this.ratio+f,y=Math.max(c,h),b=Math.min(l,m),x=Math.max(u,g),w=Math.min(d,v);e=He(e,y,b),t=He(t,x,w)}else e=He(e,c,l),t=He(t,u,d);return{newWidth:e,newHeight:t}},t.prototype.setBoundingClientRect=function(){var e=1/(this.props.scale||1);if("parent"===this.props.bounds){var t=this.parentNode;if(t){var n=t.getBoundingClientRect();this.parentLeft=n.left*e,this.parentTop=n.top*e}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var r=this.props.bounds.getBoundingClientRect();this.targetLeft=r.left*e,this.targetTop=r.top*e}if(this.resizable){var i=this.resizable.getBoundingClientRect(),o=i.left,s=i.top,a=i.right,c=i.bottom;this.resizableLeft=o*e,this.resizableRight=a*e,this.resizableTop=s*e,this.resizableBottom=c*e}},t.prototype.onResizeStart=function(e,t){if(this.resizable&&this.window){var n,r=0,i=0;if(e.nativeEvent&&function(e){return Boolean((e.clientX||0===e.clientX)&&(e.clientY||0===e.clientY))}(e.nativeEvent)?(r=e.nativeEvent.clientX,i=e.nativeEvent.clientY):e.nativeEvent&&Ze(e.nativeEvent)&&(r=e.nativeEvent.touches[0].clientX,i=e.nativeEvent.touches[0].clientY),this.props.onResizeStart)if(this.resizable)if(!1===this.props.onResizeStart(e,t,this.resizable))return;this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var o=this.window.getComputedStyle(this.resizable);if("auto"!==o.flexBasis){var s=this.parentNode;if(s){var a=this.window.getComputedStyle(s).flexDirection;this.flexDir=a.startsWith("row")?"row":"column",n=o.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var c={original:{x:r,y:i,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:ze(ze({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:n};this.setState(c)}},t.prototype.onMouseMove=function(e){var t=this;if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&Ze(e))try{e.preventDefault(),e.stopPropagation()}catch(e){}var n=this.props,r=n.maxWidth,i=n.maxHeight,o=n.minWidth,s=n.minHeight,a=Ze(e)?e.touches[0].clientX:e.clientX,c=Ze(e)?e.touches[0].clientY:e.clientY,l=this.state,u=l.direction,d=l.original,f=l.width,p=l.height,h=this.getParentSize(),m=function(e,t,n,r,i,o,s){return r=Ye(r,e.width,t,n),i=Ye(i,e.height,t,n),o=Ye(o,e.width,t,n),s=Ye(s,e.height,t,n),{maxWidth:void 0===r?void 0:Number(r),maxHeight:void 0===i?void 0:Number(i),minWidth:void 0===o?void 0:Number(o),minHeight:void 0===s?void 0:Number(s)}}(h,this.window.innerWidth,this.window.innerHeight,r,i,o,s);r=m.maxWidth,i=m.maxHeight,o=m.minWidth,s=m.minHeight;var g=this.calculateNewSizeFromDirection(a,c),v=g.newHeight,y=g.newWidth,b=this.calculateNewMaxFromBoundary(r,i);this.props.snap&&this.props.snap.x&&(y=Ge(y,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(v=Ge(v,this.props.snap.y,this.props.snapGap));var x=this.calculateNewSizeFromAspectRatio(y,v,{width:b.maxWidth,height:b.maxHeight},{width:o,height:s});if(y=x.newWidth,v=x.newHeight,this.props.grid){var w=qe(y,this.props.grid[0],this.props.gridGap?this.props.gridGap[0]:0),_=qe(v,this.props.grid[1],this.props.gridGap?this.props.gridGap[1]:0),j=this.props.snapGap||0;y=0===j||Math.abs(w-y)<=j?w:y,v=0===j||Math.abs(_-v)<=j?_:v}var S={width:y-d.width,height:v-d.height};if(this.delta=S,f&&"string"==typeof f)if(f.endsWith("%")){var C=y/h.width*100;y="".concat(C,"%")}else if(f.endsWith("vw")){var A=y/this.window.innerWidth*100;y="".concat(A,"vw")}else if(f.endsWith("vh")){var k=y/this.window.innerHeight*100;y="".concat(k,"vh")}if(p&&"string"==typeof p)if(p.endsWith("%")){C=v/h.height*100;v="".concat(C,"%")}else if(p.endsWith("vw")){A=v/this.window.innerWidth*100;v="".concat(A,"vw")}else if(p.endsWith("vh")){k=v/this.window.innerHeight*100;v="".concat(k,"vh")}var E={width:this.createSizeForCssProperty(y,"width"),height:this.createSizeForCssProperty(v,"height")};"row"===this.flexDir?E.flexBasis=E.width:"column"===this.flexDir&&(E.flexBasis=E.height);var T=this.state.width!==E.width,M=this.state.height!==E.height,D=this.state.flexBasis!==E.flexBasis,O=T||M||D;O&&(0,Oe.flushSync)((function(){t.setState(E)})),this.props.onResize&&O&&this.props.onResize(e,u,this.resizable,S)}},t.prototype.onMouseUp=function(e){var t,n,r=this.state,i=r.isResizing,o=r.direction;r.original;i&&this.resizable&&(this.props.onResizeStop&&this.props.onResizeStop(e,o,this.resizable,this.delta),this.props.size&&this.setState({width:null!==(t=this.props.size.width)&&void 0!==t?t:"auto",height:null!==(n=this.props.size.height)&&void 0!==n?n:"auto"}),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:ze(ze({},this.state.backgroundStyle),{cursor:"auto"})}))},t.prototype.updateSize=function(e){var t,n;this.setState({width:null!==(t=e.width)&&void 0!==t?t:"auto",height:null!==(n=e.height)&&void 0!==n?n:"auto"})},t.prototype.renderResizer=function(){var e=this,t=this.props,n=t.enable,r=t.handleStyles,i=t.handleClasses,o=t.handleWrapperStyle,s=t.handleWrapperClass,a=t.handleComponent;if(!n)return null;var c=Object.keys(n).map((function(t){return!1!==n[t]?(0,De.jsx)(Be,{direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:i&&i[t],children:a&&a[t]?a[t]:null},t):null}));return(0,De.jsx)("div",{className:s,style:o,children:c})},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,n){return-1!==Ke.indexOf(n)||(t[n]=e.props[n]),t}),{}),n=ze(ze(ze({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(n.flexBasis=this.state.flexBasis);var r=this.props.as||"div";return(0,De.jsxs)(r,ze({style:n,className:this.props.className},t,{ref:function(t){t&&(e.resizable=t)},children:[this.state.isResizing&&(0,De.jsx)("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer()]}))},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],gridGap:[0,0],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(p.PureComponent),Je=function(e,t){return Je=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])},Je(e,t)};var $e=function(){return $e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},$e.apply(this,arguments)};var et={width:"auto",height:"auto",display:"inline-block",position:"absolute",top:0,left:0},tt=function(e){function t(t){var n=e.call(this,t)||this;return n.resizingPosition={x:0,y:0},n.offsetFromParent={left:0,top:0},n.resizableElement={current:null},n.originalPosition={x:0,y:0},n.state={resizing:!1,bounds:{top:0,right:0,bottom:0,left:0},maxWidth:t.maxWidth,maxHeight:t.maxHeight},n.onResizeStart=n.onResizeStart.bind(n),n.onResize=n.onResize.bind(n),n.onResizeStop=n.onResizeStop.bind(n),n.onDragStart=n.onDragStart.bind(n),n.onDrag=n.onDrag.bind(n),n.onDragStop=n.onDragStop.bind(n),n.getMaxSizesFromProps=n.getMaxSizesFromProps.bind(n),n}return function(e,t){function n(){this.constructor=e}Je(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.componentDidMount=function(){this.updateOffsetFromParent();var e=this.offsetFromParent,t=e.left,n=e.top,r=this.getDraggablePosition(),i=r.x,o=r.y;this.draggable.setState({x:i-t,y:o-n}),this.forceUpdate()},t.prototype.getDraggablePosition=function(){var e=this.draggable.state;return{x:e.x,y:e.y}},t.prototype.getParent=function(){return this.resizable&&this.resizable.parentNode},t.prototype.getParentSize=function(){return this.resizable.getParentSize()},t.prototype.getMaxSizesFromProps=function(){return{maxWidth:void 0===this.props.maxWidth?Number.MAX_SAFE_INTEGER:this.props.maxWidth,maxHeight:void 0===this.props.maxHeight?Number.MAX_SAFE_INTEGER:this.props.maxHeight}},t.prototype.getSelfElement=function(){return this.resizable&&this.resizable.resizable},t.prototype.getOffsetHeight=function(e){var t=this.props.scale;switch(this.props.bounds){case"window":return window.innerHeight/t;case"body":return document.body.offsetHeight/t;default:return e.offsetHeight}},t.prototype.getOffsetWidth=function(e){var t=this.props.scale;switch(this.props.bounds){case"window":return window.innerWidth/t;case"body":return document.body.offsetWidth/t;default:return e.offsetWidth}},t.prototype.onDragStart=function(e,t){this.props.onDragStart&&this.props.onDragStart(e,t);var n=this.getDraggablePosition();if(this.originalPosition=n,this.props.bounds){var r,i=this.getParent(),o=this.props.scale;if("parent"===this.props.bounds)r=i;else{if("body"===this.props.bounds){var s=i.getBoundingClientRect(),a=s.left,c=s.top,l=document.body.getBoundingClientRect(),u=-(a-i.offsetLeft*o-l.left)/o,d=-(c-i.offsetTop*o-l.top)/o,f=(document.body.offsetWidth-this.resizable.size.width*o)/o+u,p=(document.body.offsetHeight-this.resizable.size.height*o)/o+d;return this.setState({bounds:{top:d,right:f,bottom:p,left:u}})}if("window"===this.props.bounds){if(!this.resizable)return;var h=i.getBoundingClientRect(),m=h.left,g=h.top,v=-(m-i.offsetLeft*o)/o,y=-(g-i.offsetTop*o)/o;f=(window.innerWidth-this.resizable.size.width*o)/o+v,p=(window.innerHeight-this.resizable.size.height*o)/o+y;return this.setState({bounds:{top:y,right:f,bottom:p,left:v}})}"string"==typeof this.props.bounds?r=document.querySelector(this.props.bounds):this.props.bounds instanceof HTMLElement&&(r=this.props.bounds)}if(r instanceof HTMLElement&&i instanceof HTMLElement){var b=r.getBoundingClientRect(),x=b.left,w=b.top,_=i.getBoundingClientRect(),j=(x-_.left)/o,S=w-_.top;if(this.resizable){this.updateOffsetFromParent();var C=this.offsetFromParent;this.setState({bounds:{top:S-C.top,right:j+(r.offsetWidth-this.resizable.size.width)-C.left/o,bottom:S+(r.offsetHeight-this.resizable.size.height)-C.top,left:j-C.left/o}})}}}},t.prototype.onDrag=function(e,t){if(this.props.onDrag){var n=this.offsetFromParent,r=n.left,i=n.top;return this.props.dragAxis&&"both"!==this.props.dragAxis?"x"===this.props.dragAxis?this.props.onDrag(e,$e($e({},t),{x:t.x+r,y:this.originalPosition.y+i,deltaY:0})):"y"===this.props.dragAxis?this.props.onDrag(e,$e($e({},t),{x:this.originalPosition.x+r,y:t.y+i,deltaX:0})):void 0:this.props.onDrag(e,$e($e({},t),{x:t.x+r,y:t.y+i}))}},t.prototype.onDragStop=function(e,t){if(this.props.onDragStop){var n=this.offsetFromParent,r=n.left,i=n.top;return this.props.dragAxis&&"both"!==this.props.dragAxis?"x"===this.props.dragAxis?this.props.onDragStop(e,$e($e({},t),{x:t.x+r,y:this.originalPosition.y+i,deltaY:0})):"y"===this.props.dragAxis?this.props.onDragStop(e,$e($e({},t),{x:this.originalPosition.x+r,y:t.y+i,deltaX:0})):void 0:this.props.onDragStop(e,$e($e({},t),{x:t.x+r,y:t.y+i}))}},t.prototype.onResizeStart=function(e,t,n){e.stopPropagation(),this.setState({resizing:!0});var r=this.props.scale,i=this.offsetFromParent,o=this.getDraggablePosition();if(this.resizingPosition={x:o.x+i.left,y:o.y+i.top},this.originalPosition=o,this.props.bounds){var s=this.getParent(),a=void 0;"parent"===this.props.bounds?a=s:"body"===this.props.bounds?a=document.body:"window"===this.props.bounds?a=window:"string"==typeof this.props.bounds?a=document.querySelector(this.props.bounds):this.props.bounds instanceof HTMLElement&&(a=this.props.bounds);var c=this.getSelfElement();if(c instanceof Element&&(a instanceof HTMLElement||a===window)&&s instanceof HTMLElement){var l=this.getMaxSizesFromProps(),u=l.maxWidth,d=l.maxHeight,f=this.getParentSize();if(u&&"string"==typeof u)if(u.endsWith("%")){var p=Number(u.replace("%",""))/100;u=f.width*p}else u.endsWith("px")&&(u=Number(u.replace("px","")));if(d&&"string"==typeof d)if(d.endsWith("%")){p=Number(d.replace("%",""))/100;d=f.height*p}else d.endsWith("px")&&(d=Number(d.replace("px","")));var h=c.getBoundingClientRect(),m=h.left,g=h.top,v="window"===this.props.bounds?{left:0,top:0}:a.getBoundingClientRect(),y=v.left,b=v.top,x=this.getOffsetWidth(a),w=this.getOffsetHeight(a),_=t.toLowerCase().endsWith("left"),j=t.toLowerCase().endsWith("right"),S=t.startsWith("top"),C=t.startsWith("bottom");if((_||S)&&this.resizable){var A=(m-y)/r+this.resizable.size.width;this.setState({maxWidth:A>Number(u)?u:A})}if(j||this.props.lockAspectRatio&&!_&&!S){A=x+(y-m)/r;this.setState({maxWidth:A>Number(u)?u:A})}if((S||_)&&this.resizable){A=(g-b)/r+this.resizable.size.height;this.setState({maxHeight:A>Number(d)?d:A})}if(C||this.props.lockAspectRatio&&!S&&!_){A=w+(b-g)/r;this.setState({maxHeight:A>Number(d)?d:A})}}}else this.setState({maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight});this.props.onResizeStart&&this.props.onResizeStart(e,t,n)},t.prototype.onResize=function(e,t,n,r){var i=this,o={x:this.originalPosition.x,y:this.originalPosition.y},s=-r.width,a=-r.height;["top","left","topLeft","bottomLeft","topRight"].includes(t)&&("bottomLeft"===t?o.x+=s:("topRight"===t||(o.x+=s),o.y+=a));var c=this.draggable.state;o.x===c.x&&o.y===c.y||(0,Oe.flushSync)((function(){i.draggable.setState(o)})),this.updateOffsetFromParent();var l=this.offsetFromParent,u=this.getDraggablePosition().x+l.left,d=this.getDraggablePosition().y+l.top;this.resizingPosition={x:u,y:d},this.props.onResize&&this.props.onResize(e,t,n,r,{x:u,y:d})},t.prototype.onResizeStop=function(e,t,n,r){this.setState({resizing:!1});var i=this.getMaxSizesFromProps(),o=i.maxWidth,s=i.maxHeight;this.setState({maxWidth:o,maxHeight:s}),this.props.onResizeStop&&this.props.onResizeStop(e,t,n,r,this.resizingPosition)},t.prototype.updateSize=function(e){this.resizable&&this.resizable.updateSize({width:e.width,height:e.height})},t.prototype.updatePosition=function(e){this.draggable.setState(e)},t.prototype.updateOffsetFromParent=function(){var e=this.props.scale,t=this.getParent(),n=this.getSelfElement();if(!t||null===n)return{top:0,left:0};var r=t.getBoundingClientRect(),i=r.left,o=r.top,s=n.getBoundingClientRect(),a=this.getDraggablePosition(),c=t.scrollLeft,l=t.scrollTop;this.offsetFromParent={left:s.left-i+c-a.x*e,top:s.top-o+l-a.y*e}},t.prototype.render=function(){var e=this,t=this.props,n=t.disableDragging,r=t.style,i=t.dragHandleClassName,o=t.position,s=t.onMouseDown,a=t.onMouseUp,c=t.dragAxis,l=t.dragGrid,u=t.bounds,d=t.enableUserSelectHack,f=t.cancel,h=t.children,m=(t.onResizeStart,t.onResize,t.onResizeStop,t.onDragStart,t.onDrag,t.onDragStop,t.resizeHandleStyles),g=t.resizeHandleClasses,v=t.resizeHandleComponent,y=t.enableResizing,b=t.resizeGrid,x=t.resizeHandleWrapperClass,w=t.resizeHandleWrapperStyle,_=t.scale,j=t.allowAnyClick,S=t.dragPositionOffset,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}(t,["disableDragging","style","dragHandleClassName","position","onMouseDown","onMouseUp","dragAxis","dragGrid","bounds","enableUserSelectHack","cancel","children","onResizeStart","onResize","onResizeStop","onDragStart","onDrag","onDragStop","resizeHandleStyles","resizeHandleClasses","resizeHandleComponent","enableResizing","resizeGrid","resizeHandleWrapperClass","resizeHandleWrapperStyle","scale","allowAnyClick","dragPositionOffset"]),A=this.props.default?$e({},this.props.default):void 0;delete C.default;var k,E=n||i?{cursor:"auto"}:{cursor:"move"},T=$e($e($e({},et),E),r),M=this.offsetFromParent,D=M.left,O=M.top;o&&(k={x:o.x-D,y:o.y-O});var N,L=this.state.resizing?void 0:k,I=this.state.resizing?"both":c;return(0,p.createElement)(Me(),{ref:function(t){t&&(e.draggable=t)},handle:i?".".concat(i):void 0,defaultPosition:A,onMouseDown:s,onMouseUp:a,onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop,axis:I,disabled:n,grid:l,bounds:u?this.state.bounds:void 0,position:L,enableUserSelectHack:d,cancel:f,scale:_,allowAnyClick:j,nodeRef:this.resizableElement,positionOffset:S},(0,p.createElement)(Qe,$e({},C,{ref:function(t){t&&(e.resizable=t,e.resizableElement.current=t.resizable)},defaultSize:A,size:this.props.size,enable:"boolean"==typeof y?(N=y,{bottom:N,bottomLeft:N,bottomRight:N,left:N,right:N,top:N,topLeft:N,topRight:N}):y,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,style:T,minWidth:this.props.minWidth,minHeight:this.props.minHeight,maxWidth:this.state.resizing?this.state.maxWidth:this.props.maxWidth,maxHeight:this.state.resizing?this.state.maxHeight:this.props.maxHeight,grid:b,handleWrapperClass:x,handleWrapperStyle:w,lockAspectRatio:this.props.lockAspectRatio,lockAspectRatioExtraWidth:this.props.lockAspectRatioExtraWidth,lockAspectRatioExtraHeight:this.props.lockAspectRatioExtraHeight,handleStyles:m,handleClasses:g,handleComponent:v,scale:this.props.scale}),h))},t.defaultProps={maxWidth:Number.MAX_SAFE_INTEGER,maxHeight:Number.MAX_SAFE_INTEGER,scale:1,onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},onDragStart:function(){},onDrag:function(){},onDragStop:function(){}},t}(p.PureComponent),nt=function(e){e.title;var t,n=e.placeholder,r=e.hideUpload,o=e.hideInputBox,a=e.aiIcon,l=void 0===a?_e:a,d=e.userIcon,h=void 0===d?je:d,E=e.dragIcon,Te=void 0===E?Se:E,Me=e.children,Oe=e.fetchUrl,Ne=e.fetchData,Le=void 0===Ne?{}:Ne,Ie=e.extraAnswerAction,Re=e.showDefaultTips,Pe=void 0===Re||Re,Be=e.onOpen,Fe=e.onClose,ze=e.loadingOption,Ue=e.showPreference,He=void 0!==Ue&&Ue,qe=e.initMessage,We=e.customRequest,Ze=e.visible,Ge=e.width,Ve=void 0===Ge?1200:Ge,Ye=e.isCheckRestrictNumber,Ke=void 0!==Ye&&Ye,Xe=e.headNode,Qe=e.headFunctionNode,Je=e.showRedraw,$e=e.showEdit,et=e.promptPropName,nt=void 0===et?"prompt":et,rt=e.topPercentage,it=e.showSwitchingModel,ot=void 0!==it&&it,st=e.showImageGenerator,at=void 0!==st&&st,ct=e.showLookHistory,lt=void 0!==ct&&ct,ut=e.fetchListObject,dt=e.customPreference,ft=e.customDataNode,pt=e.showAddSession,ht=e.historyId,mt=e.draggableExtraNode,gt=e.drawerExtraNode,vt=e.menuExtraFunctionNode,yt=e.showSceneAwareness,bt=void 0!==yt&&yt,xt=e.showThiking,wt=void 0!==xt&&xt,_t=e.ReactComponent,jt=(void 0===_t&&g.Z,e.topFunctionNode),St=(e.footerContainerStyle,e.chatContainerStyle),Ct=void 0===St?{}:St,At=(e.showCodePreview,e.showSource),kt=void 0===At||At,Et=(e.onSendMessage,e.onDynamic),Tt=void 0===Et?function(){}:Et,Mt=e.setSelectItem,Dt=e.isPath,Ot=void 0!==Dt&&Dt,Nt=e.BottomNode,Lt=e.BOttomNodeName,It=(0,p.useState)(!1),Rt=f()(It,2),Pt=Rt[0],Bt=Rt[1],Ft=(0,p.useState)("qwen-max"),zt=f()(Ft,2),Ut=zt[0],Ht=zt[1],qt=(0,p.useState)([]),Wt=f()(qt,2),Zt=Wt[0],Gt=Wt[1],Vt=(0,p.useState)([]),Yt=f()(Vt,2),Kt=Yt[0],Xt=Yt[1],Qt=(0,p.useState)(!1),Jt=f()(Qt,2),$t=Jt[0],en=Jt[1],tn=(0,p.useState)(!1),nn=f()(tn,2),rn=nn[0],on=nn[1],sn=(0,p.useState)(!1),an=f()(sn,2),cn=an[0],ln=an[1],un=(0,p.useState)([]),dn=f()(un,2),fn=dn[0],pn=dn[1],hn=(0,p.useState)(""),mn=f()(hn,2),gn=mn[0],vn=mn[1],yn=(0,p.useState)(0),bn=f()(yn,2),xn=bn[0],wn=bn[1],_n=(0,p.useState)(void 0),jn=f()(_n,2),Sn=jn[0],Cn=jn[1],An=(0,p.useState)(!1),kn=f()(An,2),En=(kn[0],kn[1]),Tn=(0,p.useState)(null),Mn=f()(Tn,2),Dn=Mn[0],On=Mn[1],Nn=(0,p.useState)(""),Ln=f()(Nn,2),In=Ln[0],Rn=Ln[1],Pn=(0,p.useRef)(),Bn=(0,p.useRef)(null),Fn=(0,p.useRef)(null),zn=(0,p.useState)(!1),Un=f()(zn,2),Hn=Un[0],qn=Un[1],Wn=(0,p.useState)(!1),Zn=f()(Wn,2),Gn=Zn[0],Vn=Zn[1],Yn=(0,p.useState)(!1),Kn=f()(Yn,2),Xn=Kn[0],Qn=Kn[1],Jn=(0,p.useState)(!1),$n=f()(Jn,2),er=$n[0],tr=$n[1],nr=(0,p.useState)(!1),rr=f()(nr,2),ir=rr[0],or=rr[1],sr=(0,p.useState)(0),ar=f()(sr,2),cr=ar[0],lr=ar[1],ur=(0,p.useRef)(null),dr=(0,p.useRef)(!1),fr=(0,p.useRef)(null),pr=(0,p.useState)(void 0),hr=f()(pr,2),mr=hr[0],gr=hr[1],vr=(0,p.useState)(!0),yr=f()(vr,2),br=yr[0],xr=yr[1],wr=(0,p.useState)(Ve-28),_r=f()(wr,2),jr=_r[0],Sr=_r[1],Cr=(0,p.useState)(!1),Ar=f()(Cr,2),kr=(Ar[0],Ar[1],(0,p.useState)(!0)),Er=f()(kr,2),Tr=(Er[0],Er[1]),Mr=(0,p.useState)([]),Dr=f()(Mr,2),Or=Dr[0],Nr=Dr[1],Lr=(0,p.useRef)([]),Ir=(0,p.useRef)(null),Rr=(0,p.useRef)(null),Pr=(0,p.useRef)(!1),Br=jr-22,Fr=null==gn?void 0:gn.split("\n").length,zr=ut||{},Ur=zr.onAdd,Hr=zr.onGetList,qr=zr.onListClick,Wr=zr.onListDelete,Zr=zr.onListDealData,Gr={maxCount:50,showUploadList:!1,withCredentials:!0,openFileDialogOnClick:!1,fileList:Zt,multiple:!0,accept:".doc,.docx,.md,.txt,.pdf,.xlsx,.xls",beforeUpload:(t=u()(s()().mark((function e(t){var n,r,i;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=null==t||null===(n=t.name)||void 0===n||null===(n=n.split("."))||void 0===n||null===(n=n.slice(-1))||void 0===n||null===(n=n[0])||void 0===n?void 0:n.toLowerCase(),i=["doc","docx","md","pdf","txt","xlsx","xls"].includes(r),0!=t.size){e.next=6;break}return v.ZP.warning("文件内容不能为空"),e.abrupt("return",y.Z.LIST_IGNORE);case 6:if(i){e.next=9;break}return v.ZP.warning("目前支持txt、md、doc、docx、pdf、xlsx、xls文件"),e.abrupt("return",y.Z.LIST_IGNORE);case 9:if(!(t.size/1024/1024>100)){e.next=13;break}return v.ZP.warning("上传的文件大小限制100MB,请检查后重新上传"),e.abrupt("return",y.Z.LIST_IGNORE);case 13:return e.abrupt("return",!0);case 14:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)}),onChange:function(e){var t=e.fileList;Gt(t)},action:"".concat(null===Ce.Z||void 0===Ce.Z?void 0:Ce.Z.API_SERVER,"/api/intelligent_imports/upload_file.json")},Vr={maxCount:10,showUploadList:!1,withCredentials:!0,openFileDialogOnClick:!1,fileList:Kt,multiple:!0,accept:".jpg,.png,",beforeUpload:function(e){var t,n=null==e||null===(t=e.name)||void 0===t||null===(t=t.split("."))||void 0===t||null===(t=t.slice(-1))||void 0===t||null===(t=t[0])||void 0===t?void 0:t.toLowerCase(),r=["jpg","png"].includes(n);return 0==e.size?(v.ZP.warning("文件内容不能为空"),y.Z.LIST_IGNORE):r?!(e.size/1024/1024>10)||(v.ZP.warning("上传的图片大小限制10MB,请检查后重新上传"),y.Z.LIST_IGNORE):(v.ZP.warning("目前支持jpg、png"),y.Z.LIST_IGNORE)},onChange:function(e){var t=e.fileList;Xt(t)},action:"".concat(null===Ce.Z||void 0===Ce.Z?void 0:Ce.Z.API_SERVER,"/api/ai/generals/update_file.json")};(0,p.useEffect)((function(){if(fn.length&&Pn.current){var e=fn[fn.length-1];null!=e&&e.loading&&(Pn.current.scrollTop=Pn.current.scrollHeight)}}),[fn.length]),(0,p.useEffect)((function(){if(Pn.current&&ur.current){var e=new IntersectionObserver((function(e){var t,n,r,i,o=f()(e,1)[0];document.contains(o.target)?0!==(null===(t=o.rootBounds)||void 0===t?void 0:t.width)||0!==(null===(n=o.rootBounds)||void 0===n?void 0:n.height)?0!==(null===(r=o.boundingClientRect)||void 0===r?void 0:r.width)||0!==(null===(i=o.boundingClientRect)||void 0===i?void 0:i.height)?xr(o.isIntersecting):console.log("目标元素宽高为 0,可能已被移除或 display: none"):console.log("root(滚动容器)无效,可能已被移除"):console.log("目标元素已从 DOM 移除")}),{root:Pn.current,rootMargin:"70px",threshold:0});return e.observe(ur.current),function(){ur.current&&e.unobserve(ur.current)}}}),[Pn.current,ur.current]),(0,p.useEffect)((function(){if(Hn){var e=Pn.current,t=fr.current;dr.current=!1;var n=e.scrollTop,r=function(){var t=e.scrollTop,r=e.scrollHeight,i=e.clientHeight;t>n?t+i>=r-50&&(e.scrollTop=e.scrollHeight,dr.current=!1):t<n&&(dr.current=!0);n=t};e.addEventListener("scroll",r);var i=new ResizeObserver((function(){dr.current||(e.scrollTop=e.scrollHeight)}));return i.observe(t),function(){var n;i.unobserve(t),null==e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"scroll",r)}}}),[Hn]),(0,p.useEffect)((function(){!Hn&&Lr.current.length&&(pn([].concat(c()(fn),c()(Lr.current))),Lr.current=[])}),[Hn]),(0,p.useEffect)((function(){if(Pn.current){var e=new ResizeObserver((function(){var e;Pn.current&&Sr(null===(e=Pn.current)||void 0===e?void 0:e.offsetWidth)}));return e.observe(Pn.current),function(){Pn.current&&e.unobserve(Pn.current)}}}),[Pn.current]),(0,p.useEffect)((function(){"boolean"==typeof Ze&&Bt(Ze)}),[Ze]),(0,p.useEffect)((function(){if(Bn.current&&null!==Dn){var e;Bn.current.focus();var t=null===(e=Bn.current.resizableTextArea)||void 0===e?void 0:e.textArea;t&&(t.selectionStart=t.selectionEnd=t.value.length)}}),[Dn]),(0,p.useEffect)((function(){Fr<5&&En(!1)}),[Fr]),(0,p.useEffect)((function(){Pt&&qe&&(pn(Yr(qe)),en(!0),ei(qe,{history:[]})),Pt&&(Jr(),ht?ci(ht):pt&&!mr&&si()),Pt||Kr()}),[Pt]);var Yr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Date.now(),i=[{text:e,key:r,sender:"user",fileList:t,imageList:n,show:!0},{loading:!0,key:r,sender:"AI",show:!0,model:null!=Le&&Le.application_id?"other":Ut,imageGenerator:er,thinkingEnabled:Gn,codePreview:Xn}];return i},Kr=function(){Rn(""),On(null),Gt([]),Xt([]),vn("")},Xr=function(){Be?Be({chatData:fn,setChatData:pn,setLoading:en,getData:ei,renderChatItems:Yr,handleAdd:si,identifier:mr}):Bt(!0)},Qr=function(){Tr(!0),Fe?Fe():Bt(!1)},Jr=function(){var e=u()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Ke){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,(0,be.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});case 4:0===(null==(t=e.sent)?void 0:t.status)&&-1!==(null==t?void 0:t.total_number)&&(wn((null==t?void 0:t.total_number)-(null==t?void 0:t.remaining_number)),Cn(null==t?void 0:t.total_number));case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),$r=function(e){return e.reduce((function(t,n){if("user"===n.sender){var r=e.find((function(e){return e.key===n.key&&"AI"===e.sender}));!r||null==r||!r.text||null!=r&&r.error||t.push({question:n.text,answer:r.text})}return t}),[])},ei=function(){var e=u()(s()().mark((function e(){var t,n,r,o,a,l,u,d,p=arguments;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=p.length>0&&void 0!==p[0]?p[0]:"",n=p.length>1&&void 0!==p[1]?p[1]:{},r=p.length>2&&void 0!==p[2]?p[2]:fn,!We){e.next=6;break}return e.next=6,We({mes:t,setChatData:pn,fileList:Zt,body:n,checkNum:Jr,setLoading:en,bodyChatData:r,setTyping:qn,setImageGenerator:tr,renderChatItems:Yr});case 6:if(We){e.next=15;break}return o=null==Zt?void 0:Zt.map((function(e){var t;return null==e||null===(t=e.response)||void 0===t?void 0:t.file_id})),a=null==Kt?void 0:Kt.map((function(e){var t;return null==e||null===(t=e.response)||void 0===t?void 0:t.data})),l=n.history||$r(r),u=i()(i()(m()({identifier:mr,response_mode:"streaming",model:Ut,scene_awareness:ir,thinking_enabled:Gn,image_generator:er,code_preview:Xn,file_ids:o,image_list:a,history:l},nt,t),Le),n),d=Object.fromEntries(Object.entries(u).filter((function(e){var t=f()(e,2);t[0];return void 0!==t[1]}))),Fn.current=new ke.Z(Ce.Z.API_SERVER+Oe,d),e.next=15,new Promise((function(e,t){var n=null,r=null;Fn.current.on("data",(function(e){qn(!0);var t=e.chunk,o=t.content,s=t.type,a=t.created,l="error"===t.msg;"thinking"===s&&(n=n||a,pn((function(e){return c()(e).map((function(t,n){return n===e.length-1?i()(i()({},t),{},{reasoning:(t.reasoning||"")+o,loading:!1,hideAnswer:!0,error:l}):t}))}))),"text"===s&&(r=r||a,pn((function(e){return c()(e).map((function(t,s){return s===e.length-1?i()(i()({},t),{},{text:(t.text||"")+o,loading:!1,startTime:n,endTime:r,error:l}):t}))})))})),Fn.current.on("done",(function(){e()})),Fn.current.on("error",(function(t){var n="抱歉,我刚刚遇到了一点问题,没能完成您的请求。请您稍后再试一次,或者联系技术支持帮忙解决!";"[object Object]"===Object.prototype.toString.call(t)&&-9===t.status&&(n=null==t?void 0:t.message),pn((function(e){return c()(e).map((function(t,r){return r===e.length-1?i()(i()({},t),{},{text:n,loading:!1,error:!0}):t}))})),e()})),Fn.current.on("cancelled",(function(){e()})),Fn.current.startStream()}));case 15:Jr(),en(!1);case 17:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ti=function(e,t){if(Kr(),en(!0),"edit"===e){Lr.current=fn.slice(t+2);var n=fn.splice(t),r=(null==n?void 0:n[0])||{},i=r.fileList,o=void 0===i?[]:i,s=r.imageList,a=void 0===s?[]:s,l=o.map((function(e){var t;return null===(t=e.response)||void 0===t?void 0:t.file_id})),u=a.map((function(e){var t;return null===(t=e.response)||void 0===t?void 0:t.data})),d={history:$r(fn),file_ids:l,image_list:u,edit:!0};pn([].concat(c()(fn),c()(Yr(In,o,a)))),ei(In,d,fn)}if("redraw"===e){Lr.current=fn.slice(t+1);var f=fn.splice(t-1),p=(null==f?void 0:f[0])||{},h=p.text,m=p.fileList,g=void 0===m?[]:m,v=p.imageList,y=void 0===v?[]:v,b=g.map((function(e){var t;return null===(t=e.response)||void 0===t?void 0:t.file_id})),x=y.map((function(e){var t;return null===(t=e.response)||void 0===t?void 0:t.data})),w={history:$r(fn),file_ids:b,image_list:x,edit:!0};pn([].concat(c()(fn),c()(Yr(h,g,y)))),ei(h,w,fn)}},ni=function(){if(""!==gn.trim()){Kr(),en(!0);var e=Zt.filter((function(e){return"done"===e.status})),t=Kt.filter((function(e){return"done"===e.status}));pn([].concat(c()(fn),c()(Yr(gn,e,t)))),ei(gn)}},ri=function(e,t){var n=!1;if(!0===$e)n=!0;else if("last"===$e){var r=fn.reduce((function(e,t,n){return"user"===t.sender?n:e}),-1);n=r===t}var o=t===Dn,s=[].concat(c()((null==e?void 0:e.fileList)||[]),c()((null==e?void 0:e.imageList)||[]));return(0,De.jsxs)("div",{className:W,style:i()({width:Br},Ct),children:[(0,De.jsx)("div",{className:Z,children:(0,De.jsx)("img",{className:G,src:h})}),(0,De.jsxs)("div",{className:V,children:[!(null==s||!s.length)&&(0,De.jsx)("div",{className:X,children:null==s?void 0:s.map((function(e,t){return(0,De.jsxs)("div",{className:Q,children:[(0,De.jsx)(Ee.Z,{filename:null==e?void 0:e.name,className:"mr10",width:24}),(0,De.jsxs)("aside",{children:[(0,De.jsx)(x.Z,{title:null==e?void 0:e.name,children:(0,De.jsx)("div",{className:J,children:null==e?void 0:e.name})}),(0,De.jsx)("div",{className:"c-grey-999 font12",children:(0,xe.RD)(null==e?void 0:e.size)})]})]},t)}))}),(0,De.jsx)("div",{className:Y,children:o?(0,De.jsx)(w.Z.TextArea,{value:In,ref:Bn,autoSize:!0,placeholder:"请输入",bordered:!1,onChange:function(e){return Rn(e.target.value)}}):(0,De.jsx)("div",{className:K,children:null==e?void 0:e.text})}),o?(0,De.jsxs)("div",{className:ee,children:[(0,De.jsx)(_.ZP,{onClick:function(){Rn(""),On(null)},size:"small",children:"取消"}),(0,De.jsx)(_.ZP,{disabled:!In.trim(),onClick:function(){return ti("edit",t)},type:"primary",size:"small",children:"确认"})]}):(0,De.jsxs)("div",{className:ee,children:[(0,De.jsx)(Ae.CopyToClipboard,{text:(null==e?void 0:e.text)||"",onCopy:function(){return v.ZP.success("复制成功")},children:(0,De.jsx)(x.Z,{title:"复制",children:(0,De.jsx)("i",{className:"iconfont icon-fuzhi8 font13"})})}),n&&!$t&&(0,De.jsx)(x.Z,{title:"编辑",children:(0,De.jsx)("i",{onClick:function(){On(t),Rn((null==e?void 0:e.text)||"")},className:"iconfont icon-bianji10 font14"})})]})]})]})},ii=function(e,t){console.log(e);var n=!1;if(!0===Je)n=!0;else if("last"===Je){var r=fn.reduce((function(e,t,n){return"AI"===t.sender?n:e}),-1);n=r===t}var o="";return null!=e&&e.source?o=null==e?void 0:e.source:"deepseek-r1"===(null==e?void 0:e.model)?o="由deepseek生成":"qwen-max"===(null==e?void 0:e.model)&&(o="由通义千问生成"),(0,De.jsxs)("div",{className:W,style:i()({width:Br},Ct),children:[(0,De.jsx)("div",{className:Z,children:(0,De.jsx)("img",{className:G,src:l})}),(0,De.jsxs)("div",{className:V,children:[(0,De.jsxs)("div",{className:Y,children:[e.loading&&(0,De.jsx)(De.Fragment,{children:null!=e&&e.imageGenerator?(0,De.jsxs)("div",{className:N,children:["正在生成中",(0,De.jsx)("div",{className:"ai-loading"})]}):!(null!=e&&e.thinkingEnabled)&&(0,De.jsxs)("div",{children:[(0,De.jsxs)("div",{className:L,children:[(0,De.jsx)("div",{className:I}),(0,De.jsx)("div",{className:I}),(0,De.jsx)("div",{className:I})]}),(0,De.jsx)("div",{style:{marginTop:10,color:"#9096A3"},children:(null==ze?void 0:ze.text)||"请耐心等待,目前高峰期体验人数过多,我们已记录下您的需求,稍后将自动为您生成答案。"})]})}),(null==e?void 0:e.thinkingEnabled)&&(0,De.jsx)(D.Z,{time:null==e?void 0:e.time,cancelIndex:cr,loading:e.loading,streamingStatus:null==e||!e.text,onFinish:function(){lr(0),pn((function(e){return c()(e).map((function(t,n){return n===e.length-1?i()(i()({},t),{},{hideAnswer:!1,time:t.startTime?t.endTime-t.startTime:null}):t}))}))},value:null==e?void 0:e.reasoning}),!(null==e||!e.text)&&!e.hideAnswer&&(0,De.jsx)(M.Z,{onDynamic:Tt,cancelIndex:cr,streamingStatus:$t,loadImage:!(null==e||!e.imageGenerator),onFinish:u()(s()().mark((function e(){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:lr(0),setTimeout((function(){return qn(!1)}),0);case 2:case"end":return e.stop()}}),e)}))),value:null==e?void 0:e.text})]}),kt&&!(null!=e&&e.application_id)&&"other"!=(null==e?void 0:e.model)&&!(null==e||!e.text)&&o&&(0,De.jsx)("div",{className:$,children:o}),(0,De.jsxs)("div",{className:ee,children:[null==Ie?void 0:Ie(e,t,pi),!(null!=e&&e.imageGenerator)&&(0,De.jsx)(Ae.CopyToClipboard,{text:String((null==e?void 0:e.text)||""),onCopy:function(){return v.ZP.success({content:"复制成功",key:"copy"})},children:(0,De.jsx)(x.Z,{title:"复制",children:(0,De.jsx)("i",{className:"iconfot icon-fuzhi8 font13"})})}),He&&!$t&&(0,De.jsxs)(De.Fragment,{children:[(0,De.jsx)(x.Z,{title:"喜欢",children:(0,De.jsx)("i",{style:null!=e&&e.like?{color:"#FA8D30"}:{},onClick:function(){return oi("like",!(null!=e&&e.like),t)},className:"iconfot icon-yijiejue font15"})}),(0,De.jsx)(x.Z,{title:"不喜欢",children:(0,De.jsx)("i",{style:null!=e&&e.dislike?{color:"#e86d7c"}:{},onClick:function(){return oi("dislike",!(null!=e&&e.dislike),t)},className:"iconfot icon-weijiejuezhengchang font15"})})]}),n&&!$t&&(0,De.jsx)(x.Z,{title:"重新生成",children:(0,De.jsx)("i",{onClick:function(){return ti("redraw",t)},className:"iconfot icon-gengxin-genghuan-tihuan"})})]})]})]})},oi=function(){var e=u()(s()().mark((function e(t,n,r){var i,o,a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!dt){e.next=6;break}return i=fn.slice(0,r+1),o=$r(i),a=o.length,e.next=6,dt({type:t,value:n,index:r,identifier:mr,objectIndex:a});case 6:pn((function(e){return e[r][t]=n,n&&(e[r]["like"===t?"dislike":"like"]=!1),c()(e)}));case 7:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),si=function(){var e=u()(s()().mark((function e(){var t,n,r,i;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Mt({}),null===(t=Fn.current)||void 0===t||null===(n=t.cancelRequest)||void 0===n||n.call(t),Kr(),pn([]),en(!0),e.next=7,Ur();case 7:0===(null==(r=e.sent)?void 0:r.status)&&gr(null==r||null===(i=r.data)||void 0===i?void 0:i.identifier),en(!1),qn(!1);case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ai=function(){var e=u()(s()().mark((function e(){var t,n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ln(!0),e.next=3,Hr();case 3:0===(null==(t=e.sent)?void 0:t.status)&&Nr((null==t||null===(n=t.data)||void 0===n?void 0:n.list)||[]),ln(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ci=function(){var e=u()(s()().mark((function e(){var t,n,r,i,o,a,c,l=arguments;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=l.length>0&&void 0!==l[0]?l[0]:mr,Mt({}),null===(t=Fn.current)||void 0===t||null===(n=t.cancelRequest)||void 0===n||n.call(t),Kr(),on(!0),e.next=7,qr(r);case 7:if(0!==(i=e.sent).status){e.next=14;break}return c=Zr((null==i||null===(o=i.data)||void 0===o?void 0:o.messages)||[]),pn(c),on(!1),gr(null==i||null===(a=i.data)||void 0===a?void 0:a.identifier),e.abrupt("return");case 14:pn([]),on(!1);case 16:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),li=function(){var e=u()(s()().mark((function e(t,n){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Wr(t);case 2:0===e.sent.status&&(v.ZP.success("删除成功"),n===mr&&si(),ai());case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),ui=function(e){if("file"===e){if(Kt.length)return void b.Z.confirm({centered:!0,icon:null,okText:"确认覆盖",cancelText:"取消",title:"提示",content:"已存在图片,上传文件后图片将会被覆盖?",onOk:function(){Xt([]),Ir.current.upload.uploader.fileInput.click()}});Ir.current.upload.uploader.fileInput.click()}if("image"===e){if(Zt.length)return void b.Z.confirm({centered:!0,icon:null,okText:"确认覆盖",cancelText:"取消",title:"提示",content:"已存在文件,上传图片后文件将会被覆盖?",onOk:function(){Gt([]),Rr.current.upload.uploader.fileInput.click()}});Rr.current.upload.uploader.fileInput.click()}},di=[].concat(c()(Zt),c()(Kt)),fi=di.some((function(e){return"uploading"===e.status}))||$t||Hn,pi={chatData:fn,stream:Fn,isDisabledNum:xn>=Sn,isDisAbledUpload:fi,checkNumModal:function(){b.Z.info({title:"提示",icon:null,okText:"我知道了",width:510,centered:!0,content:(0,De.jsxs)("div",{children:[(0,De.jsx)("div",{style:{color:"#FA6400"},children:"您已达到智能助教的使用次数"}),(0,De.jsxs)("div",{className:"c-grey-333 mt5",children:["智能助教每天限制使用",Sn,"次,请明天再试。"]})]})})},checkNum:Jr,onClose:Qr,setChatData:pn,setLoading:en,getData:ei,clearStatus:Kr,typing:Hn,setImageGenerator:tr,renderChatItems:Yr,setSceneAwareness:or,setIdentifier:gr,setCodePreview:Qn,setTyping:qn,onMenuClick:ci};return(0,De.jsxs)(De.Fragment,{children:[Me?(0,De.jsx)("div",{onClick:Xr,children:Me}):null!==Me&&!Pt&&(0,De.jsx)(we.Z,{draggableExtraNode:mt,showAvatarEditData:{nickname:"实验助教",headImgId:null},src:Te,onClick:Xr,topPercentage:rt}),Pt&&(0,De.jsx)("div",{className:ue,children:(0,De.jsx)(tt,{dragHandleClassName:re,bounds:"parent",minHeight:400,maxHeight:window.innerHeight-40,minWidth:736,maxWidth:window.innerWidth-40,default:{x:window.innerWidth-756,y:20,width:736,height:window.innerHeight-40},children:(0,De.jsxs)("div",{className:de,children:[(0,De.jsxs)("div",{className:ne,children:[(0,De.jsxs)("div",{className:re,children:[(0,De.jsx)("b",{className:"c-grey-333 font16",children:"实验助教"}),(0,De.jsx)("span",{className:"c-grey-333 font14",children:"(点击可拖动窗口)"})]}),gt,ot&&(0,De.jsx)(O.Z,{value:Ut,onChange:function(e){Vn(!1),tr(!1),Ht(e),Xt([]),Gt([])}}),lt&&(0,De.jsx)(De.Fragment,{children:(0,De.jsx)(A.Z,{className:"ml10",dropdownRender:function(){return(0,De.jsxs)("div",{className:oe,children:[(0,De.jsx)("h4",{children:"历史对话"}),(0,De.jsxs)(j.Z,{spinning:cn,children:[!Or.length&&(0,De.jsx)(S.Z,{style:{width:250,paddingBottom:30},image:S.Z.PRESENTED_IMAGE_SIMPLE}),!!Or.length&&(0,De.jsx)("div",{className:se,children:Or.map((function(e,t){return(0,De.jsxs)("aside",{className:T()(mr===e.identifier&&le),onClick:function(){return ci(e.id)},children:[(0,De.jsxs)("div",{className:ae,children:[(0,De.jsx)(x.Z,{title:null==e?void 0:e.question,children:(0,De.jsx)("span",{children:null==e?void 0:e.question})}),vt&&vt(e)]}),(0,De.jsx)("div",{className:ce,onClick:function(e){return e.stopPropagation()},children:(0,De.jsx)(C.Z,{title:"提示",description:"你确定要删除本条对话吗?",onConfirm:function(){return li(e.id,e.identifier)},okText:"确认",zIndex:1100,cancelText:"取消",children:(0,De.jsx)("i",{className:"iconfont icon-shanchu14 delete-hover font14"})})})]},e.id)}))})]})]})},onOpenChange:function(e){e&&ai()},placement:"bottomRight",arrow:{pointAtCenter:!0},children:(0,De.jsx)("div",{className:ie,children:(0,De.jsx)("i",{className:"icon-lishiduihua1 font14"})})})}),pt&&(0,De.jsxs)(De.Fragment,{children:[(0,De.jsx)(x.Z,{title:"新建对话",children:(0,De.jsx)("div",{className:ie,onClick:si,children:(0,De.jsx)("i",{className:"icon-xinjianduihua font14"})})}),(0,De.jsx)("div",{style:{height:10,width:1,background:"#D8D8D8"}})]}),(0,De.jsx)(x.Z,{title:"收起窗口",children:(0,De.jsx)("div",{className:ie,onClick:Qr,children:(0,De.jsx)("i",{className:"icon-suoxiaochuangkou font14"})})})]}),(0,De.jsxs)("div",{className:T()(R,Pt&&"body-overflow-hidden"),children:[(0,De.jsxs)("div",{ref:Pn,className:P,children:[!Ot&&(null==jt?void 0:jt(pi)),Pe&&(0,De.jsxs)("div",{className:"".concat(W," mb20"),style:i()({width:Br},Ct),children:[(0,De.jsx)("div",{className:Z,children:(0,De.jsx)("img",{className:G,src:l})}),(0,De.jsx)("div",{className:V,children:(0,De.jsxs)("div",{className:Y,children:[Xe,null==Qe?void 0:Qe(pi)]})})]}),Ot&&(null==fn?void 0:fn.length)<=0&&(0,De.jsxs)("div",{style:{textAlign:"center"},children:[Xe,(0,De.jsx)("div",{style:{height:20,width:1}}),Ot&&(null==jt?void 0:jt(pi))]}),(0,De.jsx)("div",{ref:fr,children:(0,De.jsx)(j.Z,{spinning:rn,className:"mt20",children:null==fn?void 0:fn.map((function(e,t){return(0,De.jsx)(p.Fragment,{children:e.show&&(0,De.jsxs)(De.Fragment,{children:["user"===e.sender&&ri(e,t),"AI"===e.sender&&ii(e,t),ft&&!["AI","user"].includes(e.sender)&&ft(e,t,{width:Br})]})},e.key+t)}))})}),!br&&(0,De.jsx)("div",{className:te,onClick:function(){Pn.current.scrollTop=Pn.current.scrollHeight},children:(0,De.jsx)("i",{className:"iconfont icon-huidaodibu"})}),(0,De.jsx)("div",{ref:ur,className:"pl20"})]}),Ot&&(null==fn?void 0:fn.length)>0&&(0,De.jsxs)("div",{style:{display:"flex",gap:20,marginLeft:20,marginBottom:10},children:[Lt&&(0,De.jsx)(_.ZP,{style:{height:34,borderRadius:20,width:102},ghost:!0,type:"primary",children:Lt}),(0,De.jsxs)(k.Z,{zIndex:1e3,placement:"topLeft",content:(0,De.jsx)("div",{style:{width:530},children:null==Nt?void 0:Nt(pi)}),title:"实验工具",children:[" ",(0,De.jsx)(_.ZP,{style:{height:34,borderRadius:20,width:102},icon:(0,De.jsx)("i",{className:"iconfont icon-qita"}),type:"primary",ghost:!0,children:"实验工具"})]})]}),!o&&(0,De.jsx)("div",{className:fe,children:(0,De.jsxs)("div",{className:pe,children:[!!di.length&&(0,De.jsx)("div",{className:he,children:null==di?void 0:di.map((function(e,t){return(0,De.jsxs)("div",{className:Q,children:[(0,De.jsx)(j.Z,{size:"small",spinning:"uploading"===(null==e?void 0:e.status),children:(0,De.jsx)(Ee.Z,{filename:null==e?void 0:e.name,className:"block",width:24})}),(0,De.jsxs)("aside",{children:[(0,De.jsx)(x.Z,{title:null==e?void 0:e.name,children:(0,De.jsx)("div",{className:J,children:null==e?void 0:e.name})}),(0,De.jsx)("div",{className:"c-grey-999 font12",children:(0,xe.RD)(null==e?void 0:e.size)})]}),(0,De.jsx)("i",{onClick:function(){Gt((function(t){return t.filter((function(t){return t.uid!==e.uid}))})),Xt((function(t){return t.filter((function(t){return t.uid!==e.uid}))}))},className:"aitubiao icon-tupianguanbi ".concat(me)})]},t)}))}),(0,De.jsxs)("div",{className:ge,children:[(0,De.jsx)(w.Z.TextArea,{placeholder:n||"在这里输入你的问题吧,Shift+Enter换行~",value:gn,bordered:!1,onChange:function(e){vn(e.target.value)},onPressEnter:function(e){if(e.shiftKey){if("Enter"===e.key)return}else if("Enter"===e.key){if(e.preventDefault(),fi||Pr.current)return;ni()}},onCompositionStart:function(){Pr.current=!0},onCompositionEnd:function(){Pr.current=!1}}),(0,De.jsxs)("div",{className:ee,children:[(0,De.jsxs)("div",{className:ve,children:[bt&&(0,De.jsx)(x.Z,{title:"智能感知当前情境,提供针对性解答",children:(0,De.jsxs)("div",{onClick:function(){return or(!ir)},className:T()(B,ir&&F),children:[(0,De.jsx)("i",{className:"iconfont icon-changjingganzhi mr10 font12"}),"场景感知"]})}),"deepseek-r1"===Ut&&wt&&(0,De.jsx)(x.Z,{title:"调用新模型 DeepSeek-R1,解决推理问题",children:(0,De.jsxs)("div",{onClick:function(){return Vn(!Gn)},className:T()(B,Gn&&F),children:[(0,De.jsx)("i",{className:"iconfont icon-shendusikao mr10 font14"}),"深度思考(R1)"]})}),at&&"qwen-max"===Ut&&(0,De.jsxs)("div",{onClick:function(){return tr(!er)},className:T()(B,er&&F),children:[(0,De.jsx)("i",{className:"aitubiao icon-tuxiangshengcheng1 mr10 font14"}),"图像生成"]})]}),!r&&(0,De.jsxs)(De.Fragment,{children:["qwen-max"===Ut&&(0,De.jsx)(y.Z,i()(i()({ref:Rr},Vr),{},{children:(0,De.jsx)(x.Z,{title:Kt.length>=10?"上传的数量已到达限制":"添加图片",children:(0,De.jsx)("div",{onClick:function(){return!(Kt.length>=10)&&ui("image")},className:Kt.length>=10?ye:z,children:(0,De.jsx)("i",{className:"aitubiao icon-tupianshangchuan font14"})})})})),(0,De.jsx)(y.Z,i()(i()({ref:Ir},Gr),{},{children:(0,De.jsx)(x.Z,{title:Zt.length>=50?"上传的数量已到达限制":(0,De.jsxs)("div",{children:[(0,De.jsx)("b",{children:"上传附件(仅识别文字)"}),(0,De.jsx)("div",{children:"最多 50 个,每个 100 MB,支持各类型文档"})]}),children:(0,De.jsx)("div",{onClick:function(){return!(Zt.length>=50)&&ui("file")},className:Zt.length>=50?ye:z,children:(0,De.jsx)("i",{className:"aitubiao icon-fujian3 font14"})})})}))]}),(0,De.jsx)("div",{className:"mr13"}),Hn?(0,De.jsx)(x.Z,{title:"停止生成",children:(0,De.jsx)("div",{className:"iconfont icon-tingzhihuida ".concat(q),onClick:function(){var e,t;lr(1),null===(e=Fn.current)||void 0===e||null===(t=e.cancelRequest)||void 0===t||t.call(e),en(!1),qn(!1)}})}):(0,De.jsx)(_.ZP,{className:""===(null==gn?void 0:gn.trim())?H:U,icon:(0,De.jsx)("i",{className:"iconfont icon-fasong2 font14 c-white"}),disabled:fi,onClick:ni})]})]})]})})]})]})})})]})},rt={bigTipsBox:"bigTipsBox___XRGyw",bigTips:"bigTips___uPRW3",item:"item___KMGDu",editBtn:"editBtn___JiZpD",active:"active___EX5N5",PrevNext:"PrevNext____kcgs",img:"img___X2ms3",imgHover:"imgHover___wIHti",LeftButton:"LeftButton___P5Wge",RightButton:"RightButton___NAbBu"},it=n(78250),ot=n(61824),st=n(39697),at=n(55155),ct=n(31741),lt=n(86784),ut=n(53260),dt=function(e){var t=e.description,r=e.code,o=e.showData,a=void 0===o?{}:o,l=e.sendParams,d=void 0===l?{}:l,h=e.allShow,m=void 0!==h&&h,g=e.draggableExtraNode,y=e.singleControl,b=void 0!==y&&y,w=(0,ut.useDispatch)(),_=(0,p.useState)({}),j=f()(_,2),S=j[0],C=j[1],A=(0,p.useState)([]),k=f()(A,2),E=(k[0],k[1],(0,p.useState)(null)),T=f()(E,2),M=T[0],D=T[1],O=(0,p.useState)(!1),N=f()(O,2),L=N[0],I=N[1],R=(0,p.useState)(!0),P=f()(R,2),B=P[0],F=P[1],z=(0,p.useState)(0),U=f()(z,2),H=(U[0],U[1],(0,p.useRef)(null)),q=(0,p.useState)([]),W=f()(q,2),Z=W[0],G=W[1],V=(0,p.useState)(""),Y=f()(V,2),K=Y[0],X=Y[1],Q=(0,p.useState)(!0),J=f()(Q,2),$=J[0],ee=J[1],te=(0,p.useState)(!0),ne=f()(te,2),re=ne[0],ie=ne[1],oe=(0,p.useState)(!0),se=f()(oe,2),ae=se[0],ce=se[1],le=(0,p.useState)(!1),ue=f()(le,2),de=ue[0],fe=ue[1],pe=(0,p.useState)(null),he=f()(pe,2),me=he[0],ge=he[1],ve=(0,p.useState)(!1),ye=f()(ve,2),xe=ye[0],we=ye[1],_e=(0,ut.useSearchParams)(),je=f()(_e,1)[0],Se=(0,p.useState)(null),Ae=f()(Se,2),ke=Ae[0],Ee=Ae[1],Te=(0,p.useState)(),Me=f()(Te,2),Oe=Me[0],Ne=Me[1],Le=function(e){if(H.current){var t=H.current,n=t.children;if(0!==n.length){var r=n[0].getBoundingClientRect().width+22,i=t.scrollLeft;"left"===e?t.scrollTo({left:Math.max(0,i-r),behavior:"smooth"}):t.scrollTo({left:i+r,behavior:"smooth"}),setTimeout((function(){Ie()}),50)}}},Ie=function(){if(H.current){var e=H.current,t=e.scrollWidth-e.clientWidth;if(console.log(e.scrollWidth),console.log(e.clientWidth),console.log(e.scrollLeft),t<=0)return I(!1),void F(!1);I(e.scrollLeft>1),F(e.scrollLeft<t-1)}};(0,p.useEffect)((function(){var e=H.current;if(e){var t=function(){requestAnimationFrame(Ie)};e.addEventListener("scroll",t),Ie();var n=new ResizeObserver((function(){Ie()}));return n.observe(e),function(){e.removeEventListener("scroll",t),n.disconnect()}}}),[H.current]);var Re=[{img:n(58427),name:"智能审题",des:"快速智能拆解任务,提供解题思路",description:"",query:t,show:null==a?void 0:a.ai_exam_question,type:1},{img:n(68427),name:"语法检查",des:"检测代码中的语法错误,提供修复建议",description:"",query:r,show:null==a?void 0:a.ai_syntax_check,type:5},{img:n(2195),name:"代码诊断",des:"系统智能代码分析,提供修正建议",description:t,query:r,show:null==a?void 0:a.ai_code_diagnosis,width:21,type:2},{img:n(62849),name:"AI辅导",des:"为学生提供个性化智能学习辅导",description:t,query:r,show:null==a?void 0:a.ai_guidance,type:3},{img:n(9515),name:"代码评价",des:"从多个维度对代码进行评价,了解代码缺陷",description:t,query:r,show:null==a?void 0:a.ai_code_evaluation,type:9},{img:n(43214),name:"代码优化",des:"对代码进行智能优化,帮助提升代码质量",description:t,query:r,show:null==a?void 0:a.ai_code_optimization,type:7},{img:n(54269),name:"代码注释",des:"自动对已有代码添加注释",description:t,query:r,show:null==a?void 0:a.ai_code_comment,type:8},b&&{img:n(36645),name:"抄袭检测",des:"智能联网搜索,查找疑似抄袭的链接",description:t,query:r,show:null==a?void 0:a.ai_code_comment,type:13,width:25,custom_agent_name:"code_plagiarism"}].filter((function(e){return!!e}));(0,p.useEffect)((function(){"shixun"==(null==d?void 0:d.source)&&(Pe(),Be())}),[]);var Pe=function(){var e=u()(s()().mark((function e(){var t,n,r,i,o,a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,be.ZP)("/api/ai/intelligent_applications.json",{method:"get",params:{item_type:"Shixun",item_id:null==d?void 0:d.shixun_id}});case 2:if(0===(null==(t=e.sent)?void 0:t.status)&&(G((null==t||null===(n=t.data)||void 0===n?void 0:n.list)||[]),X((null==t||null===(r=t.data)||void 0===r?void 0:r.local_ai_model_url)||""),Ie()),!je.get("subject_id")){e.next=9;break}return e.next=7,(0,be.ZP)("/api/ai/agents.json",{method:"get",params:{page:1,per_page:1e3,application_type:"subject_shixun",deployable_id:je.get("subject_id"),deployable_type:"Subject",item_type:"Subject",item_id:je.get("subject_id")}});case 7:0===(null==(i=e.sent)?void 0:i.status)&&(G([].concat(c()(null==t||null===(o=t.data)||void 0===o?void 0:o.list),c()(null==i||null===(a=i.data)||void 0===a?void 0:a.agents))),Ie());case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Be=function(){var e=u()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,be.ZP)("/api/ai/intelligent_applications/teacher_permission.json",{method:"get",params:{item_type:"Shixun",item_id:null==d?void 0:d.shixun_id}});case 2:0==(null==(t=e.sent)?void 0:t.status)&&we(null==t?void 0:t.permission);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Fe=function(e){D(e),ge(e),ee(!e),ie(!e),ce(!e),fe(!!e)},ze=function(){var e=u()(s()().mark((function e(t){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(je.get("subject_id")){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,(0,be.ZP)("/api/ai/agents/click.json",{method:"post",body:{deployable_type:"Subject",deployable_id:je.get("subject_id")||"",id:t}});case 4:e.sent;case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ue=function(e){var t=e.setChatData,n=e.setLoading,r=e.getData,o=e.clearStatus,c=e.typing,l=e.setImageGenerator,f=e.renderChatItems,p=e.setSceneAwareness,h=e.setIdentifier,g=Re;return m||(g=Re.filter((function(e){return e.show}))),(0,De.jsxs)("div",{style:{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:20,marginRight:20,paddingLeft:20},children:[(0,De.jsx)("div",{className:rt.bigTipsBox,style:{width:"100%",marginRight:10},children:(0,De.jsxs)("div",{ref:H,className:rt.bigTips,style:{display:"flex",width:"100%",position:"relative",flexWrap:"wrap",gap:20,overflow:"auto"},children:[g.map((function(e,m){return(0,De.jsx)(x.Z,{title:e.des,children:(0,De.jsxs)("div",{onClick:u()(s()().mark((function u(){var m,g,y,b;return s()().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(Fe(null),!c){s.next=4;break}return v.ZP.warning("请等待任务完成"),s.abrupt("return");case 4:return p(!1),l(!1),n(!0),o(),C(e),(g=f(e.query))[0].show=!1,g[1].imageGenerator=!1,t(g),s.next=15,We.onAdd();case 15:y=s.sent,b=null==y||null===(m=y.data)||void 0===m?void 0:m.identifier,h(b),r("",i()(i()({type:e.type,description:e.description,application_id:null,query:e.query,file_ids:[],history:[],is_chat:13===e.type,image_generator:!1,scene_awareness:!1,identifier:b,custom_agent_name:e.custom_agent_name},d),{},{prompt:null==a?void 0:a.ai_code_evaluation_promote}));case 19:case"end":return s.stop()}}),u)}))),className:rt.item,style:{flex:"0 0 auto"},children:[(0,De.jsx)("img",{src:e.img,width:e.width,alt:e.name}),(0,De.jsx)("span",{children:e.name})]})},m)})),Z.map((function(e){var t;return(0,De.jsx)(x.Z,{title:null!=e&&e.agent_type?null==e?void 0:e.description:"".concat(e.name,",选中之后下方智能问答将使用对应的能力"),children:(0,De.jsxs)("div",{className:"".concat(rt.item," ").concat(M===e.id?rt.active:""),style:{flex:"0 0 auto"},onClick:function(){M===e.id?(Ee(null),Fe(null),Ne(null)):(Ne(e.name),null!=e&&e.agent_type?(Ee(e.id),D(e.id),fe(!!e.id),ze(e.id)):(Ee(null),Fe(e.id)))},children:[(null==e?void 0:e.can_edit)&&!(null!=e&&e.agent_type)&&(0,De.jsx)("i",{className:"iconfont icon-bianjidaibeijing ".concat(rt.editBtn),onClick:function(t){t.stopPropagation(),w({type:"shixunsDetail/setActionTabs",payload:{key:"编辑智能应用",params:e}})}}),(0,De.jsx)("img",{src:null!=e&&e.agent_type?Ce.Z.API_SERVER+(null==e||null===(t=e.icon)||void 0===t?void 0:t.url):e.attachment_id?"".concat(Ce.Z.API_SERVER,"/api/attachments/").concat(e.attachment_id):lt,width:24,height:24,alt:e.name}),(0,De.jsx)("span",{children:e.name})]},e.id)},e.id)})),xe&&(0,De.jsx)(it.Z,{data:Z,getIAData:function(){return Pe()},url:K,className:rt.inlineAgent,queryInfo:{item_type:"Shixun",item_id:null==d?void 0:d.shixun_id},showParams:!0})]})}),(0,De.jsxs)("div",{className:rt.PrevNext,children:[L&&(0,De.jsxs)("div",{className:rt.LeftButton,onClick:function(e){e.stopPropagation(),Le("left")},children:[(0,De.jsx)("img",{src:ot.Z,alt:"Previous",className:rt.img}),(0,De.jsx)("img",{src:at.Z,alt:"Previous",className:rt.imgHover})]}),B&&(0,De.jsxs)("div",{className:rt.RightButton,onClick:function(e){e.stopPropagation(),Le("right")},children:[(0,De.jsx)("img",{src:st.Z,alt:"Next",className:rt.img}),(0,De.jsx)("img",{src:ct.Z,alt:"Next",className:rt.imgHover})]})]})]})},He=function(){var e=u()(s()().mark((function e(t){var n,r,i,o;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.type,t.value,t.index,r=t.identifier,i=t.objectIndex,o={index:i,identifier:r},"like"!==n){e.next=8;break}return e.next=5,(0,be.ZP)("/api/course_qna_records/like.json",{method:"post",body:o});case 5:if(0===e.sent.status){e.next=8;break}return e.abrupt("return",Promise.reject());case 8:if("dislike"!==n){e.next=14;break}return e.next=11,(0,be.ZP)("/api/course_qna_records/dislike.json",{method:"post",body:o});case 11:if(0===e.sent.status){e.next=14;break}return e.abrupt("return",Promise.reject());case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qe="hack"===(null==d?void 0:d.source)?"Hack":"Shixun",We={onAdd:function(){return(0,be.ZP)("/api/course_qna_sessions/create_session.json",{method:"get"})},onGetList:function(){return(0,be.ZP)("/api/course_qna_sessions.json",{method:"get",params:{questionable_type:qe,by_self:!0}})},onListClick:function(e){return(0,be.ZP)("/api/course_qna_sessions/".concat(e,".json"),{method:"get"})},onListDelete:function(e){return(0,be.ZP)("/api/course_qna_sessions/".concat(e,".json"),{method:"delete"})},onListDealData:function(e){var t=[];return null==e||e.forEach((function(e){var n,r=e.id,o=e.think?{reasoning:e.think,thinkingEnabled:!0}:{},s=[{text:e.question,key:r,sender:"user",fileList:[],show:!0},i()(i()({key:r,loading:!1,sender:"AI",show:!0,source:e.answer_source,text:e.answer,like:e.like,dislike:e.dislike,time:e.think_time,id:e.id,imageGenerator:"<img"===(null==e||null===(n=e.answer)||void 0===n?void 0:n.slice(0,4))},o),{},{application_id:e.application_id})];t=[].concat(c()(t),s)})),t}};return(0,De.jsx)(nt,{title:"实验助教",hideInputBox:!m&&!(null!=a&&a.ai_q_and_a),topFunctionNode:Ue,showSwitchingModel:!0,showImageGenerator:ae,showSceneAwareness:$,showThiking:re,hideUpload:de,showPreference:!0,showLookHistory:!0,showAddSession:!0,setSelectItem:C,fetchListObject:We,customPreference:He,BottomNode:Ue,BOttomNodeName:Oe,showDefaultTips:!1,isPath:!0,fetchData:i()(i()(i()({},d),{},{questionable_type:qe,is_chat:!0},13===S.type?{custom_agent_name:"code_plagiarism"}:{}),{},{application_id:me,agent_id:ke,subject_id:je.get("subject_id")||""}),headNode:(0,De.jsxs)("div",{className:"font14",style:{color:"#434D6C",lineHeight:1.8},children:[(0,De.jsx)("div",{children:"嗨,我是您的实验助教,您的教学好帮手"}),(0,De.jsx)("div",{children:"您可以直接使用我提供的做题工具或者与我进行对话问答,期待与您携手共进,高效、优质地完成每一项任务!"})]}),topPercentage:"hack"===(null==d?void 0:d.source)?.52:void 0,fetchUrl:"/api/stream/intelligent_imports/chat_messages.json",draggableExtraNode:g})}},26144:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(79800),i=n.n(r),o=n(59301),s="select___Kt_GE",a="box___S5_ly",c="text___dtZDv",l="itemWrap___xmw7x",u="item___io6Bx",d="active___nHRTI",f=n(77736);Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var p=n(37712),h=function(e){var t=e.value,n=e.onChange,r=(0,o.useState)(!1),h=i()(r,2),m=h[0],g=h[1],v=[{name:"通义千问",key:"qwen-max",img:"data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAu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MSAwIDAgMS00Ljg4NC0xMS42NTh6bTE3My41MjkgODUuNDY0YTEwNC4zNyAxMDQuMzcgMCAwIDEtMzMuMDA1IDguNTg2IDcxLjQ0NCA3MS40NDQgMCAwIDEtNDQuNTA0LTEzLjU0OGMtMTUuMjgyLTEyLjI4OC0yNi4yMy0xOS4xNDEtMzAuNzItNDAuNjQ1YTg5LjE2NyA4OS4xNjcgMCAwIDEgLjc4Ny0zMS40MjljMy45MzktMTcuNDg3LS4zOTMtMjguNzUtMTMuMzEyLTM4LjkxMi0xMC40NzYtOC4zNS0yMy43MS0xMC42MzQtMzguMzYtMTAuNjM0YTMyLjA2IDMyLjA2IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg=="}],y=v.find((function(e){return e.key===t}));return(0,p.jsx)("div",{className:s,children:(0,p.jsxs)(f.Z,{size:10,children:[(0,p.jsx)("span",{className:"c-grey-333 font16",children:"模型"}),(0,p.jsxs)("div",{className:a,onMouseLeave:function(){return g(!1)},children:[(0,p.jsxs)("div",{className:c,onClick:function(){return g(!0)},children:[(0,p.jsx)("img",{src:y.img,width:20}),(0,p.jsx)("span",{children:y.name}),(0,p.jsx)("b",{className:"iconfont icon-zhankai6"})]}),m&&(0,p.jsx)("div",{className:l,children:(0,p.jsx)("aside",{children:v.map((function(e){return(0,p.jsxs)("div",{className:"".concat(u," ").concat(e.key===t?d:""),onClick:function(t){t.stopPropagation(),n(e.key),g(!1)},children:[(0,p.jsx)("img",{src:e.img,width:20}),(0,p.jsx)("span",{children:e.name})]},e.key)}))})})]})]})})}},71321:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(7557),i=n.n(r),o=n(41498),s=n.n(o),a=n(79800),c=n.n(a),l=n(59301),u="reasoning___S0mKl",d="btn____CIJG",f="content___CIAh9",p=n(29787),h=n(37712),m=function(e){var t=e.value,n=void 0===t?"":t,r=e.streamingStatus,o=e.onFinish,a=e.cancelIndex,m=e.time,g=e.loading,v=(e.loadAll,(0,l.useState)("")),y=c()(v,2),b=y[0],x=y[1],w=(0,l.useState)(!0),_=c()(w,2),j=_[0],S=_[1],C=(0,l.useRef)(n),A=(0,l.useRef)(r),k=(0,l.useRef)(0),E=(0,l.useRef)(null),T=(0,l.useState)(!1),M=c()(T,2),D=M[0],O=M[1];(0,l.useEffect)((function(){A.current=r}),[r]),(0,l.useEffect)((function(){C.current=n}),[n]),(0,l.useEffect)((function(){if(r)return O(!0),E.current=setInterval(N,70),function(){clearInterval(E.current)};x(C.current)}),[]),(0,l.useEffect)((function(){D&&(x(C.current),clearInterval(E.current),O(!1),o())}),[a]);var N=function(){var e=s()(i()().mark((function e(){var t;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:void 0!==(t=C.current[k.current])?(x((function(e){return e+t})),k.current++,clearInterval(E.current),E.current=setInterval(N,280/(C.current.length-k.current))):!1===A.current&&(x(C.current),clearInterval(E.current),O(!1),o());case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,h.jsxs)("div",{className:"".concat(u," fadeIn animated"),children:[(0,h.jsxs)("div",{className:d,onClick:function(){return S(!j)},children:[(0,h.jsx)("i",{className:"iconfont icon-shendusikao"}),m?(0,h.jsxs)("span",{children:["已深度思考(用时 ",m," 秒)"]}):(0,h.jsx)("span",{children:"思考中..."}),j?(0,h.jsx)("b",{className:"iconfont icon-shouqi6"}):(0,h.jsx)("b",{className:"iconfont icon-zhankai6"})]}),g&&(0,h.jsx)(p.Z,{spinning:!0,className:"mt20"}),j&&!g&&(0,h.jsxs)("div",{className:f,children:[b,D?(0,h.jsx)("span",{className:"aiBlink",children:"__"}):""]})]})}},74219:function(e,t,n){"use strict";n.d(t,{Z:function(){return I},U:function(){return N}});var r=n(82242),i=n.n(r),o=n(7557),s=n.n(o),a=n(41498),c=n.n(a),l=n(79800),u=n.n(l),d=n(59301),f=n(11938),p=n(62957),h=n(54172),m=n(81286),g=n(94280),v=n(56656),y=n.n(v),b="exitFullScreenModalWrapper___aNB9Q",x="exitFullScreenModal___HIMyY",w="warningIcon___xEURa",_="warningText___W6NPJ",j="countdownWrapper___n8g1M",S="forcedModalWrapper___JPMQ2",C="forcedModalContent___uY5FV",A="forcedText___C3CrF",k="screenNumText___oljHN",E="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAL4AAACqCAYAAAATM/UQAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4FdW2/vfMnH5OThKaCKgEEsDe+7Nc27Vg96pX5YqdpkhvFop0laJYsKDXrqhXrnrtvVcsSOgElCKQnF5n9vvWnjknByTkzJCEJGR/773PR/bs2Xvtdfasvda//sXQ0loksBtKgO2Ga97lS+Zr0QoxpNAVcQBpxqDt8kntZhNoUfx63nDOIWE59gW810NqdQI03gWIK+BMBlQZjGvg0i9A6G0g/iYrxUf1PKWW4QG0KH49qgFfggshd5kKLd4e2noFmmqvUeIcKiQ5AuZeBx6aiDI8zRjUepzebj10i+LXw/bzJegBueND4DgE6bVe069gUhDMWQ4l2pOVYIPp51seqFUCLYpfq4jMdeDLcCyXD/wfSyxygaeVrU54nuc3lnaFIwUoYUjpv7Ey/GhuFi29a5NAi+LXJiETf+eLcRx3HvI2Yj+42baS1ZVZNy63J/WarrdcARScwUrTb5uYSkvXWiTQovh1pCJ8Bfbm0uGrEPsW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w3hY5t03ASN08m1TA32MS8gPuMONKLf8Y+vx6fy5//F98kX9HlCXiv6MVDL4Ill+h8mdv2MpgXSNHDCYZYXIJWHfRtRiJvWUqjkgCDqLjjcnK4HJqultkCEVuf9pB8gPcUDak1y5D67ghWimDuWrbrlOfL2k7hviv7s/iPbsQIymAwqW2vt8CTNirxtEymOUsgY85kLOqMTmZJyRi4sifgOjnGUj+7sM9CO2NZVH5WMjVGo3i5fBm85z8EqZVNi37uklJk+iSriU9a4ljNWb2axtq2vU7KxeCOg6guVoRFXn8J8u83sc4wTu2tl7RD9eVrUIxE61FwndxXk7xplljlY2oFkN6o43oyZpAZnuemIdKWWTYFCTAbuOQDk9uD2zoDSocAS/0cRPTjAaw7/rOjJeR1bvOlaAPgdMjdr4St0/FgcIG5YoAtDUb37G1bzrDZX2UNrxIE6TkwoL/8d0321TbvzKSI5Z4CW8Gpzby/NrFk89H0N9C9S6shR23b9dUsq+oSKaJcyg7Wl/tXjVLachi+/gIhz/gBjfH0lKftjF+DBZypz5n7yNYnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",T=n(83287),M=n(53260),D=n(12225),O=n(37712),N=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],L=f.Z.Countdown,I=(0,M.connect)((function(e){var t=e.exercise;return{globalSetting:e.globalSetting,exercise:t}}))((function(e){var t=e.exercise,n=(e.socket,e.dispatch),r=e.onStartScreenshot,o=e.onCloseScreenshot,a=e.handleToDetail,l=p.Z.useModal(),f=u()(l,2),v=f[0],N=f[1],I=(0,d.useRef)(),R=(0,d.useState)(!0),P=u()(R,2),B=(P[0],P[1]),F=(0,d.useRef)(!1),z=(0,M.useParams)();(0,d.useEffect)((function(){var e,n,r;if(document.addEventListener((0,m.gH)(),ee,!1),window.addEventListener("blur",J,!1),null!==(e=t.exerciseUserInfo)&&void 0!==e&&e.screen_open&&(0,m.vp)()&&B(!1),null!==(n=t.exerciseUserInfo)&&void 0!==n&&n.screen_open&&!(0,m.vp)()){(0,T.RG)(" ",!0);var i="kepukehuan.educoder.net"===document.domain?30:"1"===localStorage.getItem("Refresh")?t.exerciseUserInfo.screen_sec+3:t.exerciseUserInfo.screen_sec+10+1;I.current=p.Z.info({icon:null,centered:!0,width:444,title:(0,D._V)(D.CP.recordScreen1),keyboard:!1,content:(0,O.jsxs)("div",{children:[(0,D._V)(D.CP.recordScreen2),(0,O.jsx)("span",{style:{color:"#FF9849"},children:t.exerciseUserInfo.screen_num-t.exerciseUserInfo.used_screen_num}),(0,D._V)(D.CP.recordScreen3)]}),okText:(0,O.jsxs)("span",{children:[(0,D._V)(D.CP.recordScreen4),"(",(0,O.jsx)("span",{style:{display:"inline-block"},children:(0,O.jsx)(L,{onFinish:c()(s()().mark((function e(){var t,n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$();case 2:n=e.sent,null===(t=I.current)||void 0===t||t.destroy(),n.used_screen_num&&K(n.used_screen_num+1);case 5:case"end":return e.stop()}}),e)}))),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+1e3*i})}),"S)"]}),onOk:function(){var e;(0,T.RG)(" ",!0),null===(e=I.current)||void 0===e||e.destroy(),B(!1),(0,m.Dj)(document.body),document.getElementById("root").addEventListener("click",U,!1)}})}return null!==(r=t.exerciseUserInfo)&&void 0!==r&&r.screen_open&&!(0,m.vp)()||document.getElementById("root").addEventListener("click",U,!1),function(){document.getElementById("root").removeEventListener("click",U,!1),document.removeEventListener((0,m.gH)(),ee,!1),window.removeEventListener("blur",J,!1)}}),[]),(0,d.useEffect)((function(){setTimeout((function(){t.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",U,!1),document.removeEventListener((0,m.gH)(),ee,!1))}),500),H()}),[t.actionTabs]),(0,d.useEffect)((function(){setTimeout((function(){t.exerciseUserInfo.used_screen_num>t.exerciseUserInfo.screen_num&&X()}),500)}),[t.exerciseUserInfo]);var U=function(e){(0,m.vp)()||"A"===e.target.nodeName||"BUTTON"===e.target.nodeName||"确 定"===e.target.innerHTML||(0,m.Dj)(document.body)},H=function(){var e=c()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n({type:"exercise/getExerciseUserInfo",payload:i()({},z)});case 2:return t=e.sent,e.abrupt("return",null==t?void 0:t.data);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),q=function(){var e=c()(s()().mark((function e(n){var r,o,a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(r=t.exerciseUserInfo)||void 0===r||!r.screen_at){e.next=6;break}return e.next=3,(0,g.ck)(i()(i()({},z),{},{reset:!0}));case 3:if(-6!==(null==(o=e.sent)?void 0:o.status)){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,(0,g.oy)({id:z.categoryId});case 8:if(null==(a=e.sent)||!a.is_commit){e.next=17;break}return p.Z.destroyAll(),e.next=13,W();case 13:return Q(!0),e.abrupt("return");case 17:K(n+1);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),W=function(){var e=c()(s()().mark((function e(){var n,r,i,o,a,c;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=y()(),r=t.exerciseUserInfo.screen_sec,!(V.current.length>0)){e.next=9;break}return o=n.format("YYYY-MM-DD HH:mm:ss"),a=Math.floor(n.diff(y()(V.current[0].start))/1e3),c=V.current.length,a/r>>0>c&&(a=(c+1)*r-1),e.next=9,(0,g.P8)(z.categoryId,{exercise_user_id:null===(i=t.exerciseUserInfo)||void 0===i?void 0:i.exercise_user_id,time:o,time_long:a,count:c});case 9:V.current=[];case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Z=(0,d.useRef)(0),G=(0,d.useRef)(0),V=(0,d.useRef)([]),Y=(0,d.useRef)(!1),K=function(){var e=c()(s()().mark((function e(n){var i;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!F.current){e.next=2;break}return e.abrupt("return");case 2:r(),p.Z.destroyAll(),Z.current=y()().valueOf(),Y.current=!0,I.current=p.Z.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:b,okText:(0,O.jsx)("span",{children:(0,D._V)(D.CP.recordScreen8)}),content:(0,O.jsxs)("div",{className:x,children:[(0,O.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gtsqiU3tiaJxFYNMzufZk6ngEZyLSuLARuggXgLcME90FN2aHST34fTQjDeQqplOfqibsp4/QOqjztXcMczVHPWLvQS4g0IgclH0eDm7HvsBmca/pBvI5/OUVZRRXQ9l1bupqHq9c+NvOuiqXlqAlwA3DBBEe655J71lX2F3T0Q64yjLQFkVuHREqttRXfkYVa2nO3fcrmGs7qhe5CXAHeTyR7eSpmHJvQxWH0dqLJSPgXQjpFuIgTe4ISLT42ia8XKXe+vNRzWahnHwLwHuYID7ERWkWUk540k7yNZDZi6kp0OqHIa2RFT1OSa+/H2u7kP/MYxzflQv8hLgDga4X5Ghi6epYAJpIAtk5kB6JpRlIWqPqBp0THrlP7v6D/37UY2mYRz8S4A7KOBmZNjz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MB5Y8fa8kFwofbLzoXOlz30Ra8yWdjf5wEZMq5rDmHHts8DMW11fIV0X3CiU5anIDFJX2011038zf9svnVt2OJor9rnXDx/FPeeaYhUzOOPh/+3v8DU+ycU15SO0r0fqZgpqsD+PVm8fntcjdd+T/TrsDHdkH+5Le/fcnIDDPe++xGGd3P8PfHJ7OLWiD98AAAAASUVORK5CYII=",alt:"",className:w}),(0,O.jsx)("div",{className:_,style:{marginBottom:50,fontWeight:500},children:(0,D._V)(D.CP.recordScreen9)}),(0,O.jsx)("div",{style:{marginBottom:40},children:(0,D._V)(D.CP.recordScreen10)}),(0,O.jsxs)("div",{style:{marginBottom:40},children:[(0,D._V)(D.CP.recordScreen11),(0,O.jsx)("span",{className:_,children:(null===(i=t.exerciseUserInfo)||void 0===i?void 0:i.screen_num)+1}),(0,D._V)(D.CP.recordScreen12),(0,O.jsx)("span",{className:_,style:{fontWeight:600},children:(0,D._V)(D.CP.recordScreen13)}),",",(0,D._V)(D.CP.recordScreen14),(0,O.jsx)("span",{className:_,children:n-1}),(0,D._V)(D.CP.recordScreen15)]}),(0,O.jsxs)("div",{children:[(0,O.jsxs)("span",{children:[(0,O.jsx)(L,{className:j,onFinish:function(){G.current=y()().valueOf(),V.current.push({start:Z.current,end:G.current}),q(n)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+1e3*(t.exerciseUserInfo.screen_sec+1)}),(0,D._V)(D.CP.recordScreen25)]}),(0,D._V)(D.CP.recordScreen16)]})]}),onOk:function(){(0,T.RG)(" ",!0),W(),(0,m.Dj)(document.body),o(),I.current.destroy(),Y.current=!1}});case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),X=function(){var e=c()(s()().mark((function e(){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p.Z.destroyAll(),e.next=3,(0,g.VL)({categoryId:z.categoryId,commit_method:1});case 3:e.sent&&Q();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Q=function(){var e=c()(s()().mark((function e(){var n,r,i,c,l=arguments;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=l.length>0&&void 0!==l[0]&&l[0],document.removeEventListener((0,m.gH)(),ee,!1),(0,m.BU)(),p.Z.destroyAll(),F.current=!0,!n){e.next=12;break}return e.next=8,(0,g.Yu)(z.categoryId,{exercise_user_id:null===(r=t.exerciseUserInfo)||void 0===r?void 0:r.exercise_user_id});case 8:c=e.sent,v.confirm({icon:null,closable:!1,maskClosable:!1,okText:"申请继续考试",cancelText:"返回",width:616,className:S,centered:!0,content:(0,O.jsxs)("div",{className:C,children:[(0,O.jsx)("img",{src:E,alt:""}),(0,O.jsx)("div",{className:A,children:(0,D._V)(D.CP.recordScreen17)}),(0,O.jsxs)("div",{className:k,children:[(0,D._V)(D.CP.recordScreen18),null===(i=t.exerciseUserInfo)||void 0===i?void 0:i.screen_num,(0,D._V)(D.CP.recordScreen19)]}),(0,O.jsx)(h.Z,{dataSource:null==c?void 0:c.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,D._V)(D.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,D._V)(D.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,D._V)(D.CP.recordScreen22),align:"center",dataIndex:"count"}]})]}),onCancel:function(){o(),a()},onOk:function(){M.history.push("/classrooms/".concat(z.coursesId,"/exercisenotice/").concat(z.categoryId,"/users/").concat(z.login,"?isShowApply=true"))}}),e.next=13;break;case 12:v.info({content:(0,O.jsxs)("div",{className:"tc font16",children:[(0,D._V)(D.CP.recordScreen23),(0,O.jsx)("br",{}),(0,D._V)(D.CP.recordScreen24)]}),onOk:function(){a()}});case 13:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),J=function(e){(0,m.vp)()&&"none"==document.getElementById("iframeShixuns").style.display&&!Y.current&&(0,m.BU)()},$=function(){var e=c()(s()().mark((function e(){var n,r,o,a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(n=t.exerciseUserInfo)||void 0===n||!n.screen_at){e.next=6;break}return e.next=3,(0,g.ck)(i()(i()({},z),{},{reset:!0}));case 3:if(-6!==(null==(r=e.sent)?void 0:r.status)){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,(0,g.oy)({id:z.categoryId});case 8:if(null==(o=e.sent)||!o.is_commit){e.next=12;break}return Q(),e.abrupt("return");case 12:return e.next=14,H();case 14:return a=e.sent,e.abrupt("return",a);case 16:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ee=function(){var e=c()(s()().mark((function e(){var n,r,o,a,c;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((0,T.RG)(" ",!0),!(0,m.vp)()){e.next=10;break}if(null===(n=t.exerciseUserInfo)||void 0===n||!n.screen_at){e.next=8;break}return e.next=5,(0,g.ck)(i()(i()({},z),{},{reset:!0}));case 5:if(o=e.sent,-6!==(null===(r=o)||void 0===r?void 0:r.status)){e.next=8;break}return e.abrupt("return");case 8:e.next=21;break;case 10:if(Y.current){e.next=21;break}return e.next=13,(0,g.ck)(i()({},z));case 13:if(o=e.sent,-6!==(null===(a=o)||void 0===a?void 0:a.status)){e.next=16;break}return e.abrupt("return");case 16:return e.next=18,H();case 18:c=e.sent,K(c.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*");case 21:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,O.jsx)("div",{children:N})}))},86108:function(e,t,n){"use strict";n.d(t,{X:function(){return c},y:function(){return a}});var r=n(79800),i=n.n(r),o=n(59301),s=n(6767),a=function(e){(0,o.useEffect)((function(){if(e){var t=function(e){"F12"===e.key&&(e.preventDefault(),console.log("F12被禁用"))},n=function(e){e.preventDefault()};return document.addEventListener("keydown",t),document.addEventListener("contextmenu",n),function(){document.removeEventListener("keydown",t),document.removeEventListener("contextmenu",n)}}}),[e])},c=function(){var e=(0,o.useState)(!1),t=i()(e,2),n=t[0],r=t[1],a=function(e){var t=e.keyCode,n=e.ctrlKey,r=e.metaKey;"paste"!==e.type&&(67!==t&&86!==t||!r&&!n)||(s.ZP.warning("老师已设置答题时不允许进行复制粘贴"),e.preventDefault(),e.stopPropagation())};return(0,o.useEffect)((function(){return n&&(window.addEventListener("keydown",a,!0),window.addEventListener("paste",a,!0)),function(){window.removeEventListener("keydown",a,!0),window.removeEventListener("paste",a,!0)}}),[n]),{setOpenDisableCopyAndPaste:r,disableCopyAndPaste:n}}},11933:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(7557),i=n.n(r),o=n(41498),s=n.n(o),a=n(79800),c=n.n(a),l=n(59301),u="imageDimensions___a7crR",d="img___Kroat",f="fullWidth___c492T",p=n(92310),h=n.n(p),m=n(29787),g=n(2859),v=n(94171),y=n(83287),b=n(37712),x=function(e){var t=e.data,n=e.className,r=e.fullWidth,o=e.style,a=void 0===o?{}:o,p=e.onClose,x=e.onOk,w=e.showFullTools,_=e.noAssociationId,j=(0,l.useRef)(null),S=(0,l.useRef)(null),C=(0,l.useRef)(null),A=(0,l.useRef)(null),k=(0,l.useState)(!1),E=c()(k,2),T=E[0],M=E[1],D=(0,l.useState)("正在加载中"),O=c()(D,2),N=O[0],L=O[1];(0,l.useEffect)((function(){return C.current||(C.current=document.createElement("style"),document.head.appendChild(C.current)),null!=t&&t.visible?(document.body.setAttribute("data-custom","y-hidden"),C.current.innerHTML=" html { overflow-y: hidden; }",null!=t&&t.src&&I()):(document.body.removeAttribute("data-custom"),C.current&&(document.head.removeChild(C.current),C.current=null)),function(){document.body.removeAttribute("data-custom"),C.current&&(document.head.removeChild(C.current),C.current=null)}}),[null==t?void 0:t.visible]);var I=function(){var e=s()(i()().mark((function e(){var n;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),L("正在加载中"),e.next=4,(0,y.ZJ)(null==t?void 0:t.src);case 4:n=e.sent,j.current.src="",j.current.src=n,j.current.onload=function(){P()},M(!1),L("");case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),R=function(){var e=s()(i()().mark((function e(n){var r;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),L("正在保存中"),e.next=4,(0,v.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:t.title,file:n.dataUrl}});case 4:if(null==(r=e.sent)||!r.id||_){e.next=12;break}return e.next=8,(0,v.ZP)("/api/attachments/".concat(t.id,"/add_subitem.json"),{method:"post",body:{subitem_id:null==r?void 0:r.id,settings:JSON.stringify(n.state)}});case 8:0===e.sent.status&&x(),e.next=13;break;case 12:null!=r&&r.id&&x(r);case 13:M(!1),L("");case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),P=function(){S.current=new g.hP(j.current),S.current.targetRoot=A.current,S.current.addEventListener("render",R),S.current.addEventListener("beforeclose",p),w&&(S.current.availableMarkerTypes=S.current.ALL_MARKER_TYPES,S.current.uiStyleSettings.redoButtonVisible=!0,S.current.uiStyleSettings.notesButtonVisible=!0,S.current.uiStyleSettings.zoomButtonVisible=!0,S.current.uiStyleSettings.zoomOutButtonVisible=!0,S.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=S.current.uiStyleSettings,S.current.show(),null!=t&&t.snapshotData&&S.current.restoreState(t.snapshotData),setTimeout((function(){var e;window.scrollTo(0,0),(e=document.querySelector('a[href="https://markerjs.com/"]'))&&e.parentNode&&(e.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"选择"},{name:'[data-action="delete"]',title:"删除元素"},{name:'[data-action="undo"]',title:"撤销"},{name:'[data-type-name="FrameMarker"]',title:"矩形"},{name:'[data-type-name="FreehandMarker"]',title:"画线"},{name:'[data-type-name="ArrowMarker"]',title:"箭头"},{name:'[data-type-name="TextMarker"]',title:"文本"},{name:'[data-type-name="EllipseMarker"]',title:"椭圆"},{name:'[data-type-name="HighlightMarker"]',title:"方块"},{name:'[data-type-name="CalloutMarker"]',title:"注释"},{name:'[data-action="render"]',title:"保存"},{name:'[data-action="close"]',title:"退出"}].forEach((function(e){var t=document.querySelector(e.name);t&&t.setAttribute("title",e.title)}))}),300)};return(0,b.jsx)(l.Fragment,{children:(null==t?void 0:t.visible)&&(0,b.jsx)(m.Z,{spinning:T,tip:N,style:{position:"absolute",width:"100vw"},children:(0,b.jsx)("div",{ref:A,className:h()(u,n,r?f:""),style:a,children:(0,b.jsx)("img",{className:d,ref:j})})})})}},55893:function(e,t,n){"use strict";var r=n(59301),i=n(77019),o=n(5269),s=n(20554),a=n(99571),c=n(74889),l=n(21697),u=(n(48136),n(37712)),d=(0,r.forwardRef)((function(e,t){var n=e.callback,d=e.showSaveButton,f=e.value,p=void 0===f?"":f,h=(0,r.useRef)(),m=function(e){h.current.setValue(h.current.getValue()+" "+e.value+" ")},g=[{key:"1",label:"快捷模板",children:(0,u.jsx)(i.Z,{className:l.Z.lists,gutter:[10,10],children:[{name:"分数得分",value:"\\frac{x}{y}",children:[{name:"分数 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"导数 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"模算术 Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"根式角标",value:"\\sqrt{x}",children:[{name:"根式 Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"上下标 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"重音符及其他 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"极限对数",value:"\\lim_{x \\to 0}",children:[{name:"极限 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"对数指数 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"界限 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"三角函数",value:"\\sin a",children:[{name:"三角函数 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"反三角函数 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"双曲函数 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"反双曲函数 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"积分运算",value:"\\int_{a}^{b}",children:[{name:"积分 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"双重积分 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"三重积分 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"曲线积分 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"大型运算",value:"\\sum_{a}^{b}",children:[{name:"求和 Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"乘积余积 Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"并集交集 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"析取合取 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"括号取整",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"括号 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}].map((function(e,t){return(0,u.jsxs)(o.Z,{flex:"110px",className:l.Z.item,children:[(0,u.jsxs)("div",{children:[(0,u.jsx)(c.Z,{value:"$$".concat(e.value,"$$")}),e.name]}),(0,u.jsx)("div",{className:l.Z.children,children:e.children.map((function(e,t){return(0,u.jsxs)("div",{children:[(0,u.jsx)("h1",{children:e.name}),(0,u.jsx)(i.Z,{gutter:[10,10],children:e.data.map((function(e,t){return(0,u.jsx)(o.Z,{onClick:function(){return m(e)},className:l.Z.diamond,children:(0,u.jsx)(c.Z,{value:"`$$"+e.value+"$$`"})},t)}))})]},t)}))})]})}))})},{key:"2",label:"公式模板",children:(0,u.jsx)(i.Z,{className:l.Z.lists,gutter:[10,10],children:[{name:"代数",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:"\\left\\{\\begin{matrix} \r\n x=a + r\\text{cos}\\theta \\ \r\n y=b + r\\text{sin}\\theta \r\n\\end{matrix}\\right. "},{value:"\\begin{array}{l} \r\n \\text{对于方程形如:}x^{3}-1=0 \\ \r\n \\text{设}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r\n x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r\n x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r\n\\end{array} "},{value:"\\begin{array}{l} \r\n a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r\n \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r\n \\left\\{\\begin{matrix} \r\n \\Delta \\gt 0\\text{方程有两个不相等的实根} \\ \r\n \\Delta = 0\\text{方程有两个相等的实根} \\ \r\n \\Delta \\lt 0\\text{方程无实根} \r\n\\end{matrix}\\right. \r\n\\end{array} "},{value:"\\begin{array}{l} \r\n a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r\n \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r\n \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r\n \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r\n \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r\n \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r\n\\end{array} "}]}]},{name:"几何",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:"\\left.\\begin{matrix} \r\n a \\perp \\alpha \\ \r\n b \\perp \\alpha \r\n\\end{matrix}\\right\\}\\Rightarrow a \\parallel b"},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:"\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r\n \\Rightarrow a \\perp \\beta "},{value:"\\left.\\begin{matrix} \r\n a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r\n a \\parallel \\partial ,b \\parallel \\partial \r\n\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha "},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:"\\left.\\begin{matrix} \r\n m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r\n a \\perp m,a \\perp n \r\n\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha "},{value:"\\begin{array}{c} \r\n \\text{直角三角形中,直角边长a,b,斜边边长c} \\ \r\n a^{2}+b^{2}=c^{2} \r\n\\end{array}"}]}]},{name:"不等式",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:"\\begin{array}{c} \r\n a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r\n a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r\n\\end{array}"},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:"\\begin{array}{c} \r\n a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r\n \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r\n\\end{array}"},{value:"\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r\n\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) "},{value:"\\begin{array}{c} \r\n a,b \\in R^{+} \\ \r\n \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r\n \\left( \\text{当且仅当}a=b\\text{时取“}=\\text{”号}\\right) \r\n\\end{array}"},{value:"\\begin{array}{c} \r\n a,b \\in R \\ \r\n \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r\n \\left( \\text{当且仅当}a=b\\text{时取“}=\\text{”号}\\right) \r\n\\end{array}"},{value:"\\begin{array}{c} \r\n H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r\n\\end{array}"}]}]},{name:"积分",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"三角",value:"e^{i \\theta}",children:[{name:"求和 Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"统计",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:"\\begin{array}{c} \r\n \\text{若}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r\n \\text{则}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r\n\\end{array}"},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:"\\begin{array}{c} \r\n P \\left( \\emptyset \\right) =0 \\\\ \r\n P \\left( S \\right) =1 \r\n\\end{array}"},{value:"\\begin{array}{c} \r\n \\forall A \\in S \\\\ \r\n P \\left( A \\right) \\ge 0 \r\n\\end{array}"},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:"\\begin{array}{c} \r\n S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r\n P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r\n\\end{array}"},{value:"\\begin{array}{c} \r\n P_{n}=n! \\\\ \r\n A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r\n\\end{array}"}]}]}].map((function(e,t){return(0,u.jsxs)(o.Z,{flex:"110px",className:l.Z.item,children:[(0,u.jsxs)("div",{children:[(0,u.jsx)(c.Z,{value:"`$$"+e.value+"$$`"}),e.name]}),(0,u.jsx)("div",{className:l.Z.children,children:e.children.map((function(e,t){return(0,u.jsxs)("div",{children:[e.name&&(0,u.jsx)("h1",{children:e.name}),(0,u.jsx)(i.Z,{gutter:[10,10],children:e.data.map((function(e,t){return(0,u.jsx)(o.Z,{onClick:function(){return m(e)},className:l.Z.diamond,children:(0,u.jsx)(c.Z,{value:"`$$"+e.value+"$$`"})},t)}))})]},t)}))})]})}))})}],v=function(){var e=document.createElement("div");e.innerHTML=h.current.getValue();var t=e.innerText;return n&&n(t),t};return(0,r.useImperativeHandle)(t,(function(){return{getData:v}})),(0,u.jsxs)("div",{className:l.Z.mathWrap,children:[(0,u.jsx)(s.Z,{defaultActiveKey:"1",items:g}),(0,u.jsx)("math-field",{locale:"zh_cn",className:l.Z.mathField,placeholder:"请打开键盘,输入公式",ref:h,style:{width:800,marginTop:30,fontSize:18},children:p||""}),d&&(0,u.jsx)("div",{className:l.Z.button,children:(0,u.jsx)(a.ZP,{size:"large",onClick:v,style:{zIndex:8,marginTop:10},type:"primary",children:"保存到编辑器"})})]})}));t.Z=d},13767:function(e,t,n){"use strict";var r=n(82242),i=n.n(r),o=(n(59301),n(93314)),s=n(99571),a=n(37712);t.Z=function(e){var t=e.img,n=e.buttonProps,r=void 0===n?{}:n,c=e.styles,l=void 0===c?{}:c,u=e.customText,d=e.ButtonText,f=e.ButtonClick,p=e.Buttonclass,h=e.ButtonTwo,m=e.imgStyles,g=e.loading,v=void 0!==g&&g,y=e.className,b=void 0===y?"":y;return(0,a.jsxs)("section",{className:"tc animated fadeIn ".concat(b),style:i()({color:"#999",margin:"100px auto",visibility:v?"hidden":"visible"},l),children:[(0,a.jsx)("img",{src:t||o,style:i()(i()({},m),{},{pointerEvents:"none",userSelect:"none"})}),(0,a.jsx)("p",{className:"mt20 font14",children:u||"暂时还没有相关数据哦!"}),d&&(0,a.jsx)(s.ZP,i()(i()({className:p,onClick:f},r),{},{children:d})),h&&h]})}},32831:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(82242),i=n.n(r),o=n(7557),s=n.n(o),a=n(41498),c=n.n(a),l=n(79800),u=n.n(l),d=n(59301),f={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},p=n(99571),h=n(70557),m=n(92068),g=n(25399),v=n(83287),y=n(94280),b=n(13767),x=n(91689),w=n(8814),_=n(37712),j=function(e){var t,n,r,o,a,l,j=e.editOffice,S=void 0===j?"view":j,C=e.data,A=e.issaver,k=e.onSaver,E=(e.theme,e.type),T=e.filename,M=e.monacoEditor,D=e.className,O=e.style,N=e.close,L=e.onClose,I=e.hasMask,R=e.disabledDownload,P=e.onImgDimensions,B=e.showNodata,F=e.recordInfo,z=(0,d.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),U=u()(z,2),H=(U[0],U[1],(0,d.useState)("")),q=u()(H,2),W=(q[0],q[1]),Z=(0,d.useState)(),G=u()(Z,2),V=G[0],Y=G[1],K="build"===window.ENV?"/react/build":"",X=location.host.startsWith("localhost")?x.Z.PROXY_SERVER:x.Z.API_SERVER,Q=(0,d.useRef)();null!==(t=C)&&void 0!==t&&t.startsWith("/api")&&"txt"!==E&&(C=x.Z.API_SERVER+C);function J(e){return $.apply(this,arguments)}function $(){return($=c()(s()().mark((function e(t){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"pdfdata"===t.data.type&&(k(t.data.data),window.removeEventListener("message",J,!1)),console.log("mess---:",t.data);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}T&&M&&(M.filename=T),(0,d.useEffect)((function(){var e,t=null===(e=document.cookie)||void 0===e||null===(e=e.replace(/\s/g,""))||void 0===e?void 0:e.split(";");null==t||t.map((function(e){var t=e.split("=");"_educoder_session"===t[0]&&W(t[1])}))}),[]),(0,d.useEffect)((function(){var e;"office"===E&&(C.indexOf("bigfilescdn.")>-1||C.indexOf("bigfiles1")>-1?Y({url:C,fileType:(e=C,e.substring(e.lastIndexOf("/")+1).split(".").pop()),model:C.indexOf("model=edit")?"edit":"view"}):ee())}),[E,C]);var ee=function(){var e=c()(s()().mark((function e(){var t,n,r;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("data:",C),t=C,C.startsWith("http")||(t=location.origin+t),n=new URL(t).pathname.split("/").pop(),e.next=6,(0,y.gJ)({attachment_id:n});case 6:(r=e.sent).url=X+r.url,Y(r);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),te=function(){C.startsWith("http")||C.startsWith("blob:")?ne():(0,v.Sv)(T||"educoder",C,T)},ne=function(){F&&(0,w.fc)({id:null==F?void 0:F.id,watch_type:1,course_id:null==F?void 0:F.course_id}),(0,v.Nd)(T||"educoder",decodeURIComponent(C))};return(0,_.jsxs)("div",{style:i()({},O||{}),className:"".concat(I&&f.bgBlack," ").concat(E?f.wrp:"hide"),children:[N&&(0,_.jsxs)("div",{className:f.close,ref:Q,children:[!!P&&(0,_.jsx)(g.Z,{title:"点击对图片进行批注",getPopupContainer:function(){return Q.current},children:(0,_.jsx)("span",{onClick:function(){L(),P()},children:(0,_.jsx)("i",{className:"icon-yulanpizhu"})})}),!R&&(0,_.jsx)(g.Z,{title:"点击下载此文件",getPopupContainer:function(){return Q.current},children:(0,_.jsx)("span",{onClick:ne,children:(0,_.jsx)("i",{className:"icon-quxiaozhiding"})})}),A&&(0,_.jsx)(g.Z,{title:"保存pdf并退出",getPopupContainer:function(){return Q.current},children:(0,_.jsx)("span",{className:"",onClick:function(){var e=document.getElementById("pdfiframe");window.addEventListener("message",J,!1),setTimeout((function(){e.contentWindow.postMessage("getData","*")}),300)},children:(0,_.jsx)("i",{className:"icon-baocun"})})}),(0,_.jsx)(g.Z,{title:"关闭",getPopupContainer:function(){return Q.current},children:(0,_.jsx)("span",{className:"",onClick:function(){L()},children:(0,_.jsx)("i",{className:"icon-guanbi1"})})})]}),(0,_.jsx)("div",{className:"".concat(f[D]," ").concat(D," ").concat(f.monaco," ").concat("txt"===E?"show":"hide"),children:"txt"===E&&(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(m.ZP,i()({},M))})}),"audio"===E&&(0,_.jsx)("audio",{src:"".concat((null===(n=C)||void 0===n?void 0:n.indexOf("http://"))>-1||(null===(r=C)||void 0===r?void 0:r.indexOf("https://"))>-1?"":"data:audio/mp3;base64,").concat(C),autoPlay:!0}),"video"===E&&(0,_.jsx)(_.Fragment,{children:(null===(o=C)||void 0===o?void 0:o.indexOf("http"))>-1?(0,_.jsx)("video",{controls:!0,src:"".concat(C),autoPlay:!0}):(0,_.jsx)("video",{controls:!0,src:"data:video/mp4;base64,".concat(C),autoPlay:!0})}),"office"===E&&V&&(0,_.jsx)("iframe",{src:"".concat(K,"/office.html?key=").concat(V.key,"&url=").concat(btoa(V.url),"&callbackUrl=").concat(X+(V.callbackUrl||""),"&fileType=").concat(V.fileType,"&title=").concat(V.title||"","&model=").concat(S,"&officeServer=").concat(x.Z.ONLYOFFICE,"&disabledDownload=").concat(!!R)}),"html"===E&&(0,_.jsx)("iframe",{src:C+"&disposition=inline"}),"pdf"===E&&(0,_.jsx)("iframe",{id:"pdfiframe",src:"".concat(K,"/js/pdfview/index.html?filename=").concat(T||"educoder.pdf","&url=").concat(encodeURIComponent(C),"&disabledDownload=").concat(!!R,"&model=").concat(S)}),"image"===E&&(0,_.jsx)("img",{src:"".concat((null===(a=C)||void 0===a?void 0:a.indexOf("http://"))>-1||(null===(l=C)||void 0===l?void 0:l.indexOf("https://"))>-1?"":"data:image/png;base64,").concat(C)}),("other"===E||"download"===E)&&(0,_.jsx)(_.Fragment,{children:B?(0,_.jsx)(b.Z,{customText:"当前文件不支持预览,可点击下载查看",ButtonTwo:(0,_.jsx)(p.ZP,{icon:(0,_.jsx)("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:te,disabled:R,children:"下载"})}):(0,_.jsxs)(p.ZP,{type:"primary",size:"middle",onClick:te,disabled:R,children:[(0,_.jsx)(h.Z,{}),"点击下载"]})}),"flowChart"===E&&(0,_.jsx)("div",{className:"embed",children:(0,_.jsx)("iframe",{src:"/drawio/src/main/webapp/viewer.html?id=".concat(C||"","&gapi=0&od=0&db=0&gh=0&gl=0"),width:"100%",height:"100%",frameBorder:"0"})})]})}},74889:function(e,t,n){"use strict";n.d(t,{z:function(){return E},Z:function(){return T}});var r=n(82242),i=n.n(r),o=n(37205),s=n.n(o),a=n(91232),c=n.n(a),l=n(79800),u=n.n(l),d=n(59301),f=(n(88831),n(75359)),p=(n(64018),n(44523)),h=n(91689),m=n(83287),g=n(15342),v=n(77736),y=n(99571),b=n(1012),x=n(32831),w=n(37712),_=function(e){var t=e.html,n=(0,d.useRef)(null),r=(0,d.useRef)(null);return(0,d.useEffect)((function(){var e=n.current.attachShadow({mode:"open"});r.current=document.createElement("div"),r.current.className="markdown-body",r.current.innerHTML=t,e.appendChild(r.current);var i=document.createElement("style");return i.textContent='.markdown-body p {\n margin: 0 0 16px 0 !important;\n line-height: 28px;\n white-space: pre-wrap;\n }\n\n ol,\n ul,\n li {\n list-style-type: none\n }\n\n ol,\n ul,\n dl {\n margin-bottom: 0px;\n }\n\n .markdown-body {\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n color: #333;\n overflow: hidden;\n font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "华文细黑", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "宋体", Heiti, "黑体", sans-serif;\n word-break: break-word;\n font-size: 16px;\n line-height: 1.6;\n white-space: normal;\n word-wrap: break-word;\n position: relative;\n }\n\n .markdown-body ul>li {\n list-style-type: disc;\n }\n\n .markdown-body ol>li {\n list-style-type: decimal;\n }\n\n .markdown-body a {\n background: transparent;\n }\n\n .markdown-body a:active,\n .markdown-body a:hover {\n outline: 0;\n }\n\n .markdown-body strong {\n font-weight: bold;\n }\n\n .markdown-body h1 {\n font-size: 2em;\n margin: 0.67em 0;\n }\n\n .markdown-body img {\n border: 0;\n }\n\n .markdown-body hr {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n height: 0;\n }\n\n .markdown-body pre {\n overflow: auto;\n }\n\n .markdown-body code,\n .markdown-body kbd,\n .markdown-body pre {\n font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;\n font-size: 1em;\n }\n\n .markdown-body input {\n color: inherit;\n font: inherit;\n margin: 0;\n }\n\n .markdown-body html input[disabled] {\n cursor: default;\n }\n\n .markdown-body input {\n line-height: normal;\n }\n\n .markdown-body input[type="checkbox"] {\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0;\n }\n\n .markdown-body table {\n border-collapse: collapse;\n border-spacing: 0;\n }\n\n .markdown-body td,\n .markdown-body th {\n padding: 0;\n }\n\n .markdown-body * {\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n\n .markdown-body input {\n font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";\n }\n\n .markdown-body a {\n color: #4183c4;\n text-decoration: none;\n }\n\n .markdown-body a:hover,\n .markdown-body a:active {\n text-decoration: underline;\n }\n\n .markdown-body hr {\n height: 0;\n margin: 15px 0;\n overflow: hidden;\n background: transparent;\n border: 0;\n border-bottom: 1px solid #ddd;\n }\n\n .markdown-body hr:before {\n display: table;\n content: "";\n }\n\n .markdown-body hr:after {\n display: table;\n clear: both;\n content: "";\n }\n\n .markdown-body h1,\n .markdown-body h2,\n .markdown-body h3,\n .markdown-body h4,\n .markdown-body h5,\n .markdown-body h6 {\n margin-top: 15px;\n margin-bottom: 15px;\n line-height: 1.1;\n }\n\n .markdown-body h1 {\n font-size: 30px;\n }\n\n .markdown-body h2 {\n font-size: 21px;\n }\n\n .markdown-body h3 {\n font-size: 16px;\n }\n\n .markdown-body h4 {\n font-size: 14px;\n }\n\n .markdown-body h5 {\n font-size: 12px;\n }\n\n .markdown-body h6 {\n font-size: 11px;\n }\n\n .markdown-body blockquote {\n margin: 0;\n }\n\n .markdown-body ul,\n .markdown-body ol {\n padding: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n ul.linenums,\n ol.linenums {\n padding: 16px 0 0 56px !important;\n }\n\n .markdown-body ul,\n .markdown-body ol {\n padding-left: 2em;\n }\n\n\n .markdown-body ol ol,\n .markdown-body ul ol {\n list-style-type: lower-roman;\n }\n\n .markdown-body ul ul ol,\n .markdown-body ul ol ol,\n .markdown-body ol ul ol,\n .markdown-body ol ol ol {\n list-style-type: lower-alpha;\n }\n\n .markdown-body dd {\n margin-left: 0;\n }\n\n .markdown-body code {\n font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;\n font-size: 12px;\n }\n\n .markdown-body pre {\n margin-top: 0;\n margin-bottom: 0;\n font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;\n }\n\n .markdown-body .octicon {\n font: normal normal 16px octicons-anchor;\n line-height: 1;\n display: inline-block;\n text-decoration: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n\n .markdown-body .octicon-link:before {\n content: \'\f05c\';\n }\n\n .markdown-body>*:first-child {\n margin-top: 0 !important;\n }\n\n .markdown-body>*:last-child {\n margin-bottom: 0 !important;\n }\n\n .markdown-body .anchor {\n position: absolute;\n top: 0;\n left: 0;\n display: block;\n padding-right: 6px;\n padding-left: 30px;\n margin-left: -30px;\n }\n\n .markdown-body .anchor:focus {\n outline: none;\n }\n\n .markdown-body h1,\n .markdown-body h2,\n .markdown-body h3,\n .markdown-body h4,\n .markdown-body h5,\n .markdown-body h6 {\n position: relative;\n margin-top: 1em;\n margin-bottom: 16px;\n font-weight: bold;\n line-height: 1.4;\n }\n\n .markdown-body h1 .octicon-link,\n .markdown-body h2 .octicon-link,\n .markdown-body h3 .octicon-link,\n .markdown-body h4 .octicon-link,\n .markdown-body h5 .octicon-link,\n .markdown-body h6 .octicon-link {\n display: none;\n color: #000;\n vertical-align: middle;\n }\n\n .markdown-body h1:hover .anchor,\n .markdown-body h2:hover .anchor,\n .markdown-body h3:hover .anchor,\n .markdown-body h4:hover .anchor,\n .markdown-body h5:hover .anchor,\n .markdown-body h6:hover .anchor {\n padding-left: 8px;\n margin-left: -30px;\n text-decoration: none;\n }\n\n .markdown-body h1:hover .anchor .octicon-link,\n .markdown-body h2:hover .anchor .octicon-link,\n .markdown-body h3:hover .anchor .octicon-link,\n .markdown-body h4:hover .anchor .octicon-link,\n .markdown-body h5:hover .anchor .octicon-link,\n .markdown-body h6:hover .anchor .octicon-link {\n display: inline-block;\n }\n\n .markdown-body h1 {\n padding-bottom: 0.3em;\n font-size: 2.25em;\n line-height: 1.2;\n border-bottom: 1px solid #eee;\n }\n\n .markdown-body h1 .anchor {\n line-height: 1;\n }\n\n .markdown-body h2 {\n padding-bottom: 0.3em;\n font-size: 1.75em;\n line-height: 1.225;\n border-bottom: 1px solid #eee;\n }\n\n .markdown-body h2 .anchor {\n line-height: 1;\n }\n\n .markdown-body h3 {\n font-size: 1.5em;\n line-height: 1.43;\n }\n\n .markdown-body h3 .anchor {\n line-height: 1.2;\n }\n\n .markdown-body h4 {\n font-size: 1.25em;\n }\n\n .markdown-body h4 .anchor {\n line-height: 1.2;\n }\n\n .markdown-body h5 {\n font-size: 1em;\n }\n\n .markdown-body h5 .anchor {\n line-height: 1.1;\n }\n\n .markdown-body h6 {\n font-size: 1em;\n color: #777;\n }\n\n .markdown-body h6 .anchor {\n line-height: 1.1;\n }\n\n .markdown-body p,\n .markdown-body blockquote,\n .markdown-body ul,\n .markdown-body ol,\n .markdown-body dl,\n .markdown-body table,\n .markdown-body pre {\n margin-top: 0;\n margin-bottom: 16px;\n }\n\n .markdown-body ul ul,\n .markdown-body ul ol,\n .markdown-body ol ol,\n .markdown-body ol ul {\n margin-top: 0;\n margin-bottom: 0;\n }\n\n .markdown-body li>p {\n margin-top: 16px;\n }\n\n .markdown-body dl {\n padding: 0;\n }\n\n .markdown-body dl dt {\n padding: 0;\n margin-top: 16px;\n font-size: 1em;\n font-style: italic;\n font-weight: bold;\n }\n\n .markdown-body dl dd {\n padding: 0 16px;\n margin-bottom: 16px;\n }\n\n .markdown-body blockquote {\n padding: 0 15px;\n color: #777;\n border-left: 4px solid #ddd;\n }\n\n .markdown-body blockquote> :first-child {\n margin-top: 0;\n }\n\n .markdown-body blockquote> :last-child {\n margin-bottom: 0;\n }\n\n .markdown-body table {\n display: block;\n width: 100%;\n overflow: auto;\n word-break: normal;\n word-break: keep-all;\n }\n\n .markdown-body table th {\n font-weight: bold;\n text-align: revert;\n }\n\n .markdown-body table th,\n .markdown-body table td {\n padding: 6px 13px;\n border: 1px solid #ddd;\n }\n\n .markdown-body table tr {\n background-color: #fff;\n border-top: 1px solid #ccc;\n }\n\n .markdown-body table tr:nth-child(2n) {\n background-color: #f8f8f8;\n }\n\n .markdown-body img {\n max-width: 100%;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n\n .markdown-body code {\n padding: 0;\n padding-top: 0.2em;\n padding-bottom: 0.2em;\n margin: 0;\n font-size: 85%;\n background-color: rgba(0, 0, 0, 0.04);\n border-radius: 3px;\n }\n\n .markdown-body code:has(.katex) {\n background-color: transparent;\n }\n\n .markdown-body code:before,\n .markdown-body code:after {\n letter-spacing: -0.2em;\n content: "\\00a0";\n }\n\n .markdown-body pre>code {\n padding: 0;\n margin: 0;\n font-size: 100%;\n word-break: normal;\n white-space: pre;\n background: transparent;\n border: 0;\n }\n\n .markdown-body .highlight {\n margin-bottom: 16px;\n }\n\n .markdown-body .highlight pre,\n .markdown-body pre {\n padding: 16px;\n overflow: auto;\n font-size: 85%;\n line-height: 1.45;\n background-color: #f7f7f7;\n border-radius: 3px;\n }\n\n .markdown-body .highlight pre {\n margin-bottom: 0;\n word-break: normal;\n }\n\n .markdown-body pre {\n word-wrap: normal;\n }\n\n .markdown-body pre code {\n display: inline;\n max-width: initial;\n padding: 0;\n margin: 0;\n overflow: initial;\n line-height: inherit;\n word-wrap: normal;\n background-color: transparent;\n border: 0;\n }\n\n .markdown-body pre code:before,\n .markdown-body pre code:after {\n content: normal;\n }\n\n .markdown-body kbd {\n display: inline-block;\n padding: 3px 5px;\n font-size: 11px;\n line-height: 10px;\n color: #555;\n vertical-align: middle;\n background-color: #fcfcfc;\n border: solid 1px #ccc;\n border-bottom-color: #bbb;\n border-radius: 3px;\n box-shadow: inset 0 -1px 0 #bbb;\n }\n\n .markdown-body .pl-c {\n color: #969896;\n }\n\n .markdown-body .pl-c1,\n .markdown-body .pl-mdh,\n .markdown-body .pl-mm,\n .markdown-body .pl-mp,\n .markdown-body .pl-mr,\n .markdown-body .pl-s1 .pl-v,\n .markdown-body .pl-s3,\n .markdown-body .pl-sc,\n .markdown-body .pl-sv {\n color: #0086b3;\n }\n\n .markdown-body .pl-e,\n .markdown-body .pl-en {\n color: #795da3;\n }\n\n .markdown-body .pl-s1 .pl-s2,\n .markdown-body .pl-smi,\n .markdown-body .pl-smp,\n .markdown-body .pl-stj,\n .markdown-body .pl-vo,\n .markdown-body .pl-vpf {\n color: #333;\n }\n\n .markdown-body .pl-ent {\n color: #63a35c;\n }\n\n .markdown-body .pl-k,\n .markdown-body .pl-s,\n .markdown-body .pl-st {\n color: #a71d5d;\n }\n\n .markdown-body .pl-pds,\n .markdown-body .pl-s1,\n .markdown-body .pl-s1 .pl-pse .pl-s2,\n .markdown-body .pl-sr,\n .markdown-body .pl-sr .pl-cce,\n .markdown-body .pl-sr .pl-sra,\n .markdown-body .pl-sr .pl-sre,\n .markdown-body .pl-src {\n color: #df5000;\n }\n\n .markdown-body .pl-mo,\n .markdown-body .pl-v {\n color: #1d3e81;\n }\n\n .markdown-body .pl-id {\n color: #b52a1d;\n }\n\n .markdown-body .pl-ii {\n background-color: #b52a1d;\n color: #f8f8f8;\n }\n\n .markdown-body .pl-sr .pl-cce {\n color: #63a35c;\n font-weight: bold;\n }\n\n .markdown-body .pl-ml {\n color: #693a17;\n }\n\n .markdown-body .pl-mh,\n .markdown-body .pl-mh .pl-en,\n .markdown-body .pl-ms {\n color: #1d3e81;\n font-weight: bold;\n }\n\n .markdown-body .pl-mq {\n color: #008080;\n }\n\n .markdown-body .pl-mi {\n color: #333;\n font-style: italic;\n }\n\n .markdown-body .pl-mb {\n color: #333;\n font-weight: bold;\n }\n\n .markdown-body .pl-md,\n .markdown-body .pl-mdhf {\n background-color: #ffecec;\n color: #bd2c00;\n }\n\n .markdown-body .pl-mdht,\n .markdown-body .pl-mi1 {\n background-color: #eaffea;\n color: #55a532;\n }\n\n .markdown-body .pl-mdr {\n color: #795da3;\n font-weight: bold;\n }\n\n .markdown-body kbd {\n display: inline-block;\n padding: 3px 5px;\n font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;\n line-height: 10px;\n color: #555;\n vertical-align: middle;\n background-color: #fcfcfc;\n border: solid 1px #ccc;\n border-bottom-color: #bbb;\n border-radius: 3px;\n box-shadow: inset 0 -1px 0 #bbb;\n }\n\n .markdown-body .task-list-item {\n list-style-type: none;\n }\n\n .markdown-body .task-list-item+.task-list-item {\n margin-top: 3px;\n }\n\n .markdown-body .task-list-item input {\n float: left;\n margin: 0.3em 0 0.25em -1.6em;\n vertical-align: middle;\n }\n\n .markdown-body :checked+.radio-label {\n z-index: 1;\n position: relative;\n border-color: #4183c4;\n }\n\n\n /*! Pretty printing styles. Used with prettify.js. */\n /* SPAN elements with the classes below are added by prettyprint. */\n .pln {\n color: #000\n }\n\n /* plain text */\n\n @media screen {\n .str {\n color: #080\n }\n\n /* string content */\n .kwd {\n color: #008\n }\n\n /* a keyword */\n .com {\n color: #800\n }\n\n /* a comment */\n .typ {\n color: #606\n }\n\n /* a type name */\n .lit {\n color: #066\n }\n\n /* a literal value */\n /* punctuation, lisp open bracket, lisp close bracket */\n .pun,\n .opn,\n .clo {\n color: #660\n }\n\n .tag {\n color: #008\n }\n\n /* a markup tag name */\n .atn {\n color: #606\n }\n\n /* a markup attribute name */\n .atv {\n color: #080\n }\n\n /* a markup attribute value */\n .dec,\n .var {\n color: #606\n }\n\n /* a declaration; a variable name */\n .fun {\n color: red\n }\n\n /* a function name */\n }\n\n /* Use higher contrast and text-weight for printable form. */\n @media print,\n projection {\n .str {\n color: #060\n }\n\n .kwd {\n color: #006;\n font-weight: bold\n }\n\n .com {\n color: #600;\n font-style: italic\n }\n\n .typ {\n color: #404;\n font-weight: bold\n }\n\n .lit {\n color: #044\n }\n\n .pun,\n .opn,\n .clo {\n color: #440\n }\n\n .tag {\n color: #006;\n font-weight: bold\n }\n\n .atn {\n color: #404\n }\n\n .atv {\n color: #060\n }\n }\n\n /* Put a border around prettyprinted code snippets. */\n pre.prettyprint {\n padding: 2px;\n /* border: 1px solid #888 */\n }\n\n /* Specify class=linenums on a pre to get line numbering */\n ol.linenums {\n margin-top: 0;\n margin-bottom: 0\n }\n\n /* IE indents via margin-left */\n li.L0,\n li.L1,\n li.L2,\n li.L3,\n li.L5,\n li.L6,\n li.L7,\n li.L8 {\n list-style-type: none\n }\n\n /* Alternate shading for lines */\n li.L1,\n li.L3,\n li.L5,\n li.L7,\n li.L9 {\n background: #eee\n }\n\n .markdown-body p,\n .markdown-body blockquote,\n .markdown-body ul,\n .markdown-body ol,\n .markdown-body dl,\n .markdown-body table,\n .markdown-body pre {\n margin-top: 0;\n margin-bottom: 16px;\n }',e.appendChild(i),function(){e.innerHTML=""}}),[]),(0,d.useEffect)((function(){r.current&&(r.current.innerHTML=t)}),[t]),(0,w.jsx)("div",{ref:n})};var j="mdBody___raKXb",S="button___Ch5Pc",C="previewFlowChart___vY1dq",A="@▁@",k=/<pre[^>]*>/g;var E=function(e,t){e=e||"";var n=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return t?e.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(n,(function(e,t,n,r,i,o,s){var a=t||r||o,c=n||i||s||"?";return h.Z.API_SERVER+"/api/attachments/"+a+c+"&t="+(0,m.Jn)(a,Date.now())+(e.indexOf(")")>-1?")":"&")})).replaceAll('src="(','src="').replaceAll("src='(",'src="'):e=e.replace(/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,(function(e,t,n,r,i,o,s){var a=t||r||o,c=n||i||s||"?";return h.Z.API_SERVER+"/attachments/download/"+a+c+"&t="+(0,m.Jn)(a,Date.now())+(e.indexOf(")")>-1?")":"&")})).replace(n,(function(e,t,n,r,i,o,s){var a=t||r||o,c=n||i||s||"?";return h.Z.API_SERVER+"/api/attachments/"+a+c+"&t="+(0,m.Jn)(a,Date.now())+(e.indexOf(")")>-1?")":"&")})).replace(/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,(function(e,t,n,r,i){var o=t||r,s=n||i||"";return'"'+h.Z.API_SERVER+"/api/attachments/"+o+s+o+s+"&t="+(0,m.Jn)(o,Date.now())})).replace(/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,(function(e,t,n,r,i){var o=t||r,s=n||i||"";return"("+h.Z.API_SERVER+"/files/uploads/"+o+s+o+s+"&t="+(0,m.Jn)(o,Date.now())})).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,"\n")},T=function(e){var t=e.value,n=void 0===t?"":t,r=e.edit,o=void 0!==r&&r,a=e.className,l=e.showTextOnly,m=e.showLines,E=e.style,T=void 0===E?{}:E,M=e.stylesPrev,D=void 0===M?{}:M,O=e.highlightKeywords,N=e.showProgramFill,L=(e.isProgramFill,e.disabledFill),I=void 0!==L&&L,R=e.programFillValue,P=e.openEditor,B=void 0===P?function(){}:P,F=e.onFillChange,z=void 0===F?function(e){}:F,U=e.onFillBlur,H=void 0===U?function(){}:U,q=e.onFillFocus,W=void 0===q?function(){}:q,Z=function(e){var t=new RegExp("\\b(".concat(["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"].join("|"),")\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s>]*)"),"gi");return e.replace(t,"").trim()}(String(n||"")),G=(0,d.useRef)(),V=(0,d.useRef)(),Y=(0,d.useState)(""),K=u()(Y,2),X=K[0],Q=K[1],J=(0,d.useState)("office"),$=u()(J,2),ee=$[0],te=$[1],ne=(0,d.useState)([]),re=u()(ne,2),ie=re[0],oe=re[1],se=(0,d.useRef)("a"+(0,b.Z)()),ae={},ce=function(e){return/<style[\s\S]*?>/i.test(e||"")};var le=function(e){return!l&&ce(Z)?e:e.replace(/<style.*?>([\s\S]+?)<\/style>/gim,(function(e,t){var n=t.replace(/(\n|\r)/g,"").split("}"),r=[];return n.map((function(e){""!=e&&r.push(".".concat(se.current," ").concat(e))})),"<style>".concat(r.join("}"),"</style>")}))},ue=(0,d.useMemo)((function(){try{Z=Z.replace(/\(\/attachments\/download\//g,"("+h.Z.API_SERVER+"/attachments/download/").replace(/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,"("+h.Z.API_SERVER+"/api/attachments/").replace(/\"\/api\/attachments\/|\"\/attachments\/download\//g,'"'+h.Z.API_SERVER+"/api/attachments/").replace(/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,'"'+h.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,"\n"),G.current.style.display="none"}catch(e){}if(N){var e=-1;return Z=Z.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,(function(t,n,r){var i;return function(e,t,n){var r=document.createElement(e===A?"input":"textarea");r.style.width="100%",r.style.height=e===A?"40px":"151px",r.rows=5,r.spellcheck=!1,r.name="edu-program-fill",r.placeholder="请输入",r.dataset.id=t;var i=Object.keys(ae).length;return ae[i]=r,'<span class="edu-program-fill-wrap '.concat(e===A?"":"show",'" style="width:').concat(e===A?"600px":"100%",'" title=').concat(n||"","><span>").concat(r.outerHTML,'<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>')}(t,++e,null==R||null===(i=R[e])||void 0===i?void 0:i.value.replaceAll("<","<").replaceAll(">",">"))})),'<pre style="background:#fff;padding:4px">'.concat(le(Z||""),"</pre>")}var t=le(Z);t=(0,f.ZP)(t);var n=(0,f.ez)();Z.match(/\[TOC\]/)&&(t=t.replace("<p>[TOC]</p>",(0,f.Qv)()),(0,f.Iy)()),t=t.replace(/(__special_katext_id_\d+__)/g,(function(e,t){var r=n[t],i=r.type,o=r.expression;return(0,g.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(o)||"",{displayMode:"block"===i,throwOnError:!1,output:"html"})})),t=t.replace(/▁/g,"▁▁▁▁▁"),(0,f.AL)();var r=document.createElement("div");return r.innerHTML=t,l?r.innerText:O?(he(r,O.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),r.innerHTML):(setTimeout((function(){return ve()}),500),r.innerHTML)}),[Z,O]);(0,d.useEffect)((function(){me.current&&me.current.querySelectorAll(["input","textarea"]).forEach((function(e){e.oninput=de,e.onblur=fe,e.onfocus=pe}))}),[ie]),(0,d.useEffect)((function(){if(null!=R&&R.length)try{var e,t=me.current.querySelectorAll(".edu-program-fill-score"),n=me.current.querySelectorAll('[name="edu-program-fill"]'),r=c()(n.entries());try{for(r.s();!(e=r.n()).done;){var i,o,s,a=u()(e.value,2),l=a[0],d=a[1];d.value=(null==R||null===(i=R[l])||void 0===i?void 0:i.value)||"","warning"===(null==R||null===(o=R[l])||void 0===o?void 0:o.type)?d.className="program-fill-warning":"success"===(null==R||null===(s=R[l])||void 0===s?void 0:s.type)?d.className="program-fill-success":d.className=""}}catch(e){r.e(e)}finally{r.f()}var f,p=c()(t.entries());try{for(p.s();!(f=p.n()).done;){var h,m,g=u()(f.value,2),v=g[0];g[1].innerHTML=null!=R&&null!==(h=R[v])&&void 0!==h&&h.score?"".concat(null==R||null===(m=R[v])||void 0===m?void 0:m.score,"分"):""}}catch(e){p.e(e)}finally{p.f()}oe(R)}catch(e){console.log(e,"error")}}),[R]);var de=function(e){ie[e.target.dataset.id]=ie[e.target.dataset.id]||{},ie[e.target.dataset.id].value=e.target.value,oe(s()(ie)),z(ie,e.target.dataset.id)},fe=function(e){ie[e.target.dataset.id]=ie[e.target.dataset.id]||{},ie[e.target.dataset.id].value=e.target.value,oe(s()(ie)),H(ie,e.target.dataset.id)},pe=function(e){ie[e.target.dataset.id]=ie[e.target.dataset.id]||{},ie[e.target.dataset.id].value=e.target.value,oe(s()(ie)),W(ie,e.target.dataset.id)};function he(e,t){return e.childNodes.forEach((function(e){if(e.childNodes.length>0)he(e,t);else if("IMG"!==e.nodeName)if(e.innerHTML){var n;e.innerHTML=null===(n=e.innerHTML)||void 0===n?void 0:n.replace(new RegExp(t,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>')}else{var r=document.createElement("span");r.innerHTML=e.textContent.replace(new RegExp(t,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),e.replaceWith(r)}}))}var me=(0,d.useRef)();function ge(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n.indexOf("office")>-1)e.preventDefault(),Q(n),te("office");else if(n.indexOf("application/pdf")>-1)e.preventDefault(),Q(n),te("pdf");else if(n.indexOf("text/html")>-1)e.preventDefault(),Q(n),te("html");else if(n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}f.jb.WebkitLineClamp=m,m&&(T=i()(i()({},T),f.jb));var ve=function(){var e,t=null===(e=me.current)||void 0===e?void 0:e.querySelectorAll("video");null==t||t.forEach((function(e){if(e.oncontextmenu=function(){return!1},e.src.indexOf(".m3u8")>-1)if(e.canPlayType("application/vnd.apple.mpegurl"));else if(p.ZP.isSupported()){var t=new p.ZP;t.loadSource(e.src),t.attachMedia(e)}}))};(0,d.useEffect)((function(){if(me.current&&ue&&ue.match(k)&&window.PR.prettyPrint(),me.current)return me.current.addEventListener("click",ge),function(){var e;null===(e=me.current)||void 0===e||e.removeEventListener("click",ge),(0,f.AL)(),(0,f.Iy)()}}),[ue,me.current,ge]);return(0,d.useEffect)((function(){var e,t=function(e){e.preventDefault(),e.clipboardData.setData("text",window.getSelection().toString())};return null===(e=me.current)||void 0===e||e.addEventListener("copy",t),function(){var e;null===(e=me.current)||void 0===e||e.removeEventListener("copy",t)}}),[me.current]),(0,w.jsxs)("div",{style:{position:"relative"},onMouseLeave:function(){G.current.style.display="none"},children:[l&&(0,w.jsx)("div",{ref:me,className:"".concat(j," "),children:ue}),!l&&!ce(ue)&&(0,w.jsx)("div",{ref:me,style:i()({},T),onMouseOver:function(e){"IMG"===e.target.nodeName&&e.target.className.indexOf("draw-flowchart")>-1?(G.current.style.zIndex=1,G.current.style.display="flex",G.current.style.width=e.target.clientWidth+"px",G.current.style.height=e.target.clientHeight+"px",G.current.style.top=e.target.offsetTop+"px",G.current.style.left=e.target.offsetLeft+"px",e.target.id&&(V.current=e.target.id)):G.current.style.display="none"},className:"".concat(a||""," ").concat(I?"disabled-fill":""," markdown-body ").concat(j," ").concat(se.current),dangerouslySetInnerHTML:{__html:ue}}),!l&&ce(ue)&&(0,w.jsx)(_,{html:ue}),(0,w.jsx)("div",{ref:G,className:"".concat(S," ").concat(o?"":C),children:(0,w.jsx)(v.Z,{children:(0,w.jsx)(y.ZP,{onClick:function(){o?B(V.current):(Q(V.current),te("flowChart"))},children:o?"编辑":"预览"})})}),(0,w.jsx)(x.Z,{close:!0,data:X,type:null!=X&&X.length?ee:"",style:i()({},D),onClose:function(){return Q("")}})]})}},48049:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(53260),i="ldsRing___mpBZC",o="idsRingWrapper___Of9_n",s=n(37712),a=function(e){var t=e.message,n=e.className,a=e.children,c=e.style,l=void 0===c?{}:c;return(0,s.jsxs)("div",{className:"custom-spinner ".concat(o," ").concat(n),children:[(0,s.jsxs)("div",{className:i,children:[(0,s.jsx)("div",{}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{})]}),t?(0,s.jsx)("p",{style:l,children:t}):null,a,(0,s.jsx)(r.Outlet,{})]})}},2028:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(79800),i=n.n(r),o=n(59301),s=n(70717),a=n(37712),c=function(e){var t=e.defaultX,n=void 0===t?"40%":t,r=e.leftChild,c=e.rightChild,l=e.className,u=e.hideResize,d=void 0!==u&&u,f=(0,o.useState)(n),p=i()(f,2),h=p[0],m=p[1],g=(0,o.useRef)();(0,o.useEffect)((function(){function e(e){g.current&&(s.Z.publish("resize-move-bar",e),m(e.pageX))}function t(){g.current=!1}return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),function(){window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}}),[]);var v="number"==typeof h&&.01!==h?"".concat(h,"px"):n,y="calc(100% - ".concat(d?"0px":"4px"," - ").concat(v,")");return(0,a.jsxs)("div",{className:"split-panel-container ".concat(l),children:[(0,a.jsx)("section",{style:{width:v,display:.01===h?"none":""},children:r}),(0,a.jsx)("section",{className:"resize-x-bar",onMouseDown:function(){g.current=!0},children:(0,a.jsx)("a",{className:"btn-resize",children:(0,a.jsx)("svg",{width:"16",height:"13",viewBox:"0 0 16 13",children:(0,a.jsx)("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})})})}),(0,a.jsx)("section",{style:{width:y},children:c})]})}},96454:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});n(59301);var r="result___gu5zt",i="title___xrnx2",o="left___IAxp9",s="leftNode___HL8fG",a="right___ZXYmw",c="rightNode___jYL5_",l=n(92310),u=n.n(l),d=n(37712),f=function(e){var t=e.className,n=e.style,l=void 0===n?{}:n,f=e.leftNode,p=e.leftTitle,h=void 0===p?"自测输入":p,m=e.rightNode,g=e.rightTitle,v=void 0===g?"运行结果":g;return(0,d.jsxs)("div",{className:u()(r,t),style:l,children:[(0,d.jsxs)("div",{className:o,children:[(0,d.jsxs)("div",{className:i,children:[(0,d.jsx)("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),(0,d.jsx)("span",{children:h})]}),(0,d.jsx)("div",{className:s,children:f})]}),(0,d.jsxs)("div",{className:a,children:[(0,d.jsxs)("div",{className:i,children:[(0,d.jsx)("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),(0,d.jsx)("span",{children:v})]}),(0,d.jsx)("div",{className:c,children:m})]})]})}},34608:function(e,t,n){"use strict";var r=n(79800),i=n.n(r),o=n(59301),s=n(37712),a=function(e){return 1===String(e).length?"0".concat(e):e};t.Z=function(e){var t=e.className,n=void 0===t?"":t,r=e.onChange,c=e.defaultValue,l=void 0===c?0:c,u=(0,o.useState)(l),d=i()(u,2),f=d[0],p=d[1];(0,o.useEffect)((function(){var e=setTimeout((function(){p(f+1e3)}),1e3);return r(f+1e3),function(){clearInterval(e)}}),[f]);var h=parseInt(f/36e5)||"00",m=parseInt(f%36e5/6e4)||"00",g=parseInt(f%6e4/1e3)||"00";return(0,s.jsxs)("div",{className:n,children:[a(h),":",a(m),":",a(g)]})}},64133:function(e,t,n){"use strict";var r=n(79800),i=n.n(r),o=n(59301),s=n(37712);t.Z=function(e){var t=e.text,n=e.speed,r=void 0===n?100:n,a=(0,o.useState)(""),c=i()(a,2),l=c[0],u=c[1],d=(0,o.useRef)(0);return(0,o.useEffect)((function(){u(""),d.current=0;var e=setInterval((function(){d.current<t.length?(u((function(e){return e+t.charAt(d.current)})),d.current+=1):clearInterval(e)}),r);return function(){clearInterval(e)}}),[t]),(0,s.jsx)("div",{className:"c-black",children:l})}},90035:function(e,t,n){"use strict";n.d(t,{cT:function(){return T},pe:function(){return E}});var r=n(37205),i=n.n(r),o=n(79800),s=n.n(o),a=n(39647),c=n.n(a),l=n(82242),u=n.n(l),d=n(7557),f=n.n(d),p=n(41498),h=n.n(p),m=n(59301),g=n(14566),v=n(6767),y=n(94171),b=n(28209),x=n.n(b),w=n(1012),_=n(53260),j=n(47257),S=n.n(j),C=n(37712),A=["user","cancelUpload"],k=g.Z.Dragger,E=function(e){var t=x().enc.Utf8.parse("bf3c199c2470cb477d907b1e0917c17b"),n=x().enc.Utf8.parse("5183666c72eec9e4"),r=x().AES.decrypt(e,t,{iv:n,mode:x().mode.CBC});return r.toString(x().enc.Utf8)},T=function(){var e=h()(f()().mark((function e(t,n,r){var i,o,s,a,c,l,d,p,h,m;return f()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.file_name=t.name,e.next=3,(0,y.ZP)("/api/buckets/get_upload_token.json",{method:"get"});case 3:return d=e.sent,console.log("decrypt(res.data):",E(d.data)),d.data=JSON.parse(E(d.data)),(p=t.name.split(".")).pop(),h=n.realFileName?p.join(""):(0,w.Z)(),m=new(S())({endpoint:null==d||null===(i=d.data)||void 0===i?void 0:i.end_point,region:null==d||null===(o=d.data)||void 0===o?void 0:o.region,accessKeyId:null==d||null===(s=d.data)||void 0===s?void 0:s.access_key_id,accessKeySecret:null==d||null===(a=d.data)||void 0===a?void 0:a.access_key_secret,bucket:null==d||null===(c=d.data)||void 0===c?void 0:c.bucket,stsToken:null==d||null===(l=d.data)||void 0===l?void 0:l.security_token}),e.abrupt("return",new Promise((function(e,i){var o;m.multipartUpload("".concat(h),new Blob([t],{type:t.type}),u()(u()({timeout:2e5,partSize:102400},r),{},{callback:{url:null==d||null===(o=d.data)||void 0===o?void 0:o.callback_url,host:null==d?void 0:d.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,y.rz)(n)}})).then((function(n){var r;t.response=null===(r=n.data)||void 0===r?void 0:r.data,e(null==n?void 0:n.data)})).catch((function(e){i(e),console.log("err:",e)}))})));case 11:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();t.ZP=(0,_.connect)((function(e){var t=e.loading,n=e.globalSetting,r=e.user;return{globalSetting:n,loading:t.models.competitions,user:r}}))((function(e){var t,n=e.user,r=e.cancelUpload,o=c()(e,A),a=(0,m.useState)([]),l=s()(a,2),d=l[0],p=l[1],g=(0,m.useState)(),b=s()(g,2),x=b[0],_=b[1],j={onRemove:function(e){p(i()(d.filter((function(t){return t.name!==e.name})))),o.onChange(d.filter((function(t){return t.name!==e.name})))},disabled:o.disabled,multiple:!0,fileList:null==d?void 0:d.map((function(e){return e.file})),customRequest:function(){},beforeUpload:(t=h()(f()().mark((function e(t){var n;return f()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=o.maxSize||1073741824,!d.filter((function(e){return e.name===t.name})).length){e.next=4;break}return v.ZP.info("".concat(t.name,"已存在,请重新选择")),e.abrupt("return");case 4:if(!((null==t?void 0:t.size)>n)){e.next=7;break}return v.ZP.info("文件超过".concat(n/1024/1024/1024,"GB,不符合上传要求")),e.abrupt("return",!1);case 7:return d.push({name:t.name,file:t}),p(i()(d)),o.onChange(d),e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})},T=function(){var e=h()(f()().mark((function e(t,n){var r,s,a,c,l,u,h,m,g,b;return f()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.file_name=t.name,h=t.name,e.next=4,(0,y.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});case 4:if((m=e.sent).data=JSON.parse(E(m.data)),0===(null==m?void 0:m.status)){e.next=12;break}return d[d.findIndex((function(e){return e.name===h}))].status="error",d[d.findIndex((function(e){return e.name===h}))].file.status="error",o.onChange(d),v.ZP.warning("上传失败,请重新尝试"),e.abrupt("return");case 12:return x=new(S())({endpoint:null==m||null===(r=m.data)||void 0===r?void 0:r.end_point,region:null==m||null===(s=m.data)||void 0===s?void 0:s.region,accessKeyId:null==m||null===(a=m.data)||void 0===a?void 0:a.access_key_id,accessKeySecret:null==m||null===(c=m.data)||void 0===c?void 0:c.access_key_secret,bucket:null==m||null===(l=m.data)||void 0===l?void 0:l.bucket,stsToken:null==m||null===(u=m.data)||void 0===u?void 0:u.security_token}),console.log(t,"file"),_(x),(g=t.name.split(".")).pop(),b=h.indexOf(".")>-1?n.realFileName?g.join("."):(0,w.Z)():h,e.abrupt("return",new Promise((function(e,r){try{var s;x.multipartUpload("".concat(o.identifier,"/").concat(b).concat(h.indexOf(".")>-1?"."+h.split(".").pop():""),new Blob([t.file],{type:t.file.type}),{timeout:36e5,partSize:1002400,progress:function(e,t,n){try{console.log("进度",e,t,n);var r=d.findIndex((function(e){return e.name===h}));d[r].file.percent=100*e,d[r].tempCheckpoint=t,p(i()(d))}catch(e){}},checkpoint:d[d.findIndex((function(e){return e.name===h}))].tempCheckpoint,callback:{customValue:{id:h+""},url:null==m||null===(s=m.data)||void 0===s?void 0:s.callback_url,host:null==m?void 0:m.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,y.rz)(n)}}).then((function(n){var r,i=d.findIndex((function(e){return e.name===h})),s="done";if(0===(null===(r=n.data)||void 0===r?void 0:r.status)){var a;t.response=null===(a=n.data)||void 0===a?void 0:a.data;var c=d.findIndex((function(e){return e.name===h}));d[c].status="done",d[c].file.status="done"}else{var l;v.ZP.warning(null===(l=n.data)||void 0===l?void 0:l.message),s="error"}d[i].status=s,d[i].file.status=s,o.onChange(d),e(null==n?void 0:n.data)})).catch((function(e){d[d.findIndex((function(e){return e.name===h}))].status="error",d[d.findIndex((function(e){return e.name===h}))].file.status="error",v.ZP.warning("上传失败,请重新尝试"),p(i()(d)),o.onChange(d),r(e),console.log("err:",e)}))}catch(e){}})));case 19:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return(0,m.useEffect)((function(){d.every((function(e){return"done"===e||"error"===e}))&&o.onComplete(d)}),[d]),(0,m.useEffect)((function(){var e;r&&(null===(e=x)||void 0===e||e.cancel())}),[r]),(0,m.useEffect)((function(){o.uploading&&d.map(function(){var e=h()(f()().mark((function e(t){var i;return f()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.status&&"error"!==t.status||r){e.next=6;break}return t.status="uploading",t.file.status="uploading",e.next=5,T(t,{login:null==n||null===(i=n.userInfo)||void 0===i?void 0:i.login,container_type:o.container_type,container_id:o.container_id,description:o.description,realFileName:o.realFileName});case 5:e.sent;case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}),[o.uploading]),(0,C.jsx)(k,u()(u()({},j),{},{height:o.height,className:o.className,children:(0,C.jsx)("p",{className:"ant-upload-hint",children:o.text||"拖拽文件或者点击上传"})}))}))},91594:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(79800),i=n.n(r),o=n(59301),s=n(70717),a=n(90083),c=n(37712),l=function(){var e=(0,o.useState)(""),t=i()(e,2),n=t[0],r=t[1],l=(0,o.useState)(0),u=i()(l,2),d=(u[0],u[1]),f=(0,o.useState)(),p=i()(f,2),h=(p[0],p[1]),m=(0,o.useState)(),g=i()(m,2),v=(g[0],g[1]),y=(0,o.useState)(!1),b=i()(y,2),x=(b[0],b[1],(0,o.useRef)(""));function w(e){console.log("e====",e),27==e.keyCode&&x.current&&_()}function _(){document.body.style.overflow="auto",h(void 0),v(void 0),d(0),r("")}(0,o.useEffect)((function(){return s.Z.subscribe("preview-image",(function(e){r(e),console.log(S.current)}))}),[]),(0,o.useEffect)((function(){return document.addEventListener("keydown",w),function(){document.removeEventListener("keydown",w)}}),[]),(0,o.useEffect)((function(){x.current=n}),[n]);(0,o.useRef)();var j=(0,o.useRef)(),S=(0,o.useRef)();return(0,c.jsx)(o.Fragment,{children:n?(0,c.jsx)("div",{children:(0,c.jsx)("div",{className:"preview-wrp-group",ref:j,children:(0,c.jsx)(a.Z,{className:"image-preview",src:n,style:{display:"none"},preview:{visible:!0,src:n,onVisibleChange:function(e){r("")}},alt:"预览大图"})})}):null})}},17124:function(e,t,n){"use strict";n.d(t,{h:function(){return v}});var r=n(82242),i=n.n(r),o=n(79800),s=n.n(o),a=n(59301),c=n(82326),l=n(28284),u=n(99571),d=n(89780),f=n.n(d),p=(n(66543),n(59598),n(37712)),h=c.default.Option,m={labelCol:{span:4},wrapperCol:{span:20}},g={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};function v(e){var t=e.value,n=e.onChange,r=e.mode,o=e.options,c=void 0===o?{}:o,l=(0,a.useRef)(),u=(0,a.useState)(),d=s()(u,2),h=d[0],m=d[1];return(0,a.useEffect)((function(){if(h){var e=function(e){var t=e.getValue();n&&n(t)};return h.on("change",e),function(){h.off("change",e)}}}),[h,n]),(0,a.useEffect)((function(){h&&h.setOption("mode",r)}),[h,r]),(0,a.useEffect)((function(){h&&(t===h.getValue()&&""!==t||setTimeout((function(){h.setValue(t||"")}),300))}),[h,t]),(0,a.useEffect)((function(){if(l.current&&!h){var e=f().fromTextArea(l.current,i()({mode:r,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},c));m(e)}}),[l.current,h]),(0,p.jsx)("div",{className:"my-codemirror-container",children:(0,p.jsx)("textarea",{ref:l})})}t.Z=function(e){var t=e.callback,n=e.onCancel,r=(0,a.useState)("python"),o=s()(r,2),d=o[0],f=o[1];return(0,p.jsxs)(l.Z,i()(i()({},m),{},{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:function(e){t(e)},style:{width:500},children:[(0,p.jsx)(l.Z.Item,{label:"代码语言",name:"language",children:(0,p.jsx)(c.default,{getPopupContainer:function(e){return e.parentNode},onChange:function(e){f(g[e][1])},children:Object.keys(g).map((function(e){return(0,p.jsx)(h,{value:e,children:g[e][0]},e)}))})}),(0,p.jsx)(l.Z.Item,{label:"代码内容",name:"content",rules:[{required:!0,message:"请输入代码内容"}],children:(0,p.jsx)(v,{mode:d})}),(0,p.jsxs)("div",{className:"flex-container flex-end",children:[(0,p.jsx)(u.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,p.jsx)(u.ZP,{type:"ghost",onClick:n,children:"取消"})]})]}))}},58358:function(e,t,n){"use strict";n.d(t,{Z:function(){return fe}});var r=n(91232),i=n.n(r),o=n(79800),s=n.n(o),a=n(85573),c=n.n(a),l=n(59301),u=n(53260),d=n(89780),f=n.n(d),p=n(76374),h=(n(66543),n(6313),n(25717),n(99498),n(25419),n(67549),n(74889)),m=n(37712),g=function(e){var t=e.value,n=void 0===t?"":t,r=(e.className,e.showTextOnly,e.showLines,e.style,(0,l.useMemo)((function(){return""}),[n]));return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)("div",{dangerouslySetInnerHTML:{__html:r}})})},v=n(82242),y=n.n(v),b=[{title:"粗体",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"斜体",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"无序列表",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"有序列表",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"行内代码",icon:"md-iconfont icon-code",actionName:"code"},{title:"代码块(多语言风格)",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"链接",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"行内公式",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"数学公式",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"多行公式",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"添加图片",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"插入画图",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"插入流程图",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"表格",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"换行",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"清空",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function x(e){var t=e.onActionCallback,n=e.title,r=e.icon,i=e.actionName,o=e.className,s=void 0===o?"":o,a=e.children;return(0,m.jsxs)("a",{title:n,className:s,onClick:function(){t(i)},children:[(0,m.jsx)("i",{className:"".concat(r)}),a]})}var w=function(e){var t=e.watch,n=e.showNullButton,r=e.showNullProgramButton,i=e.onActionCallback,o=e.fullScreen,s=e.insertTemp,a=e.hidetoolBar,c=e.extraUse,l=[].concat(b,[{title:"".concat(t?"关闭实时预览":"开启实时预览"),icon:"".concat(t?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"),actionName:"trigger-watch"}]);return(0,m.jsxs)("ul",{className:"markdown-toolbar-container",children:[!a&&l.map((function(e,t){return(0,m.jsx)("li",{children:e.actionName?(0,m.jsx)(x,y()(y()({},e),{},{onActionCallback:i})):(0,m.jsx)("span",{className:"v-line"})},t)})),n?(0,m.jsx)("li",{children:(0,m.jsx)(x,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"增加填空",actionName:"add-null-ch",onActionCallback:i,children:(0,m.jsx)("span",{className:"fill-tip",children:"点击新增填空项"})})}):null,r?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("li",{children:(0,m.jsx)(x,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"增加填空",actionName:"add-signal",onActionCallback:i,children:(0,m.jsx)("span",{className:"fill-tip",children:"添加单行填空项"})})}),(0,m.jsx)("li",{children:(0,m.jsx)(x,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"增加填空",actionName:"add-multiple",onActionCallback:i,children:(0,m.jsx)("span",{className:"fill-tip",children:"添加多行填空项"})})})]}):null,s&&(0,m.jsx)("li",{children:(0,m.jsx)(x,{icon:"md-iconfont icon-edit",className:"btn-null",title:"插入模板",actionName:"inster-template-".concat(s),onActionCallback:i,children:(0,m.jsx)("span",{className:"fill-tip",children:"插入模板"})})}),c&&(0,m.jsx)("li",{children:c}),(0,m.jsx)("li",{className:"btn-full-screen",children:(0,m.jsx)(x,{icon:"".concat(o?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"),title:o?"关闭全屏":"开启全屏",actionName:"trigger-full-screen",onActionCallback:i})})]})},_=n(82255),j=n(28284),S=n(37568),C=n(99571),A={labelCol:{span:4},wrapperCol:{span:20}},k=function(e){var t=e.callback,n=e.onCancel;return(0,m.jsxs)(j.Z,y()(y()({},A),{},{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:function(e){t(e)},style:{width:500},children:[(0,m.jsx)(j.Z.Item,{label:"链接地址",name:"link",rules:[{required:!0,message:"请输入链接地址"}],children:(0,m.jsx)(S.Z,{})}),(0,m.jsx)(j.Z.Item,{label:"链接标题",name:"title",rules:[{required:!0,message:"请输入链接标题"}],children:(0,m.jsx)(S.Z,{})}),(0,m.jsxs)("div",{className:"flex-container flex-end",children:[(0,m.jsx)(C.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,m.jsx)(C.ZP,{type:"ghost",onClick:n,children:"取消"})]})]}))},E=n(17124),T=n(13889),M=n(62957),D=n(77019),O=n(11933),N=function(e){var t=e.callback,n=e.onCancel,r=document.createElement("canvas"),i=r.getContext("2d");r.width=1e3,r.height=800,i.fillStyle="#ffffff",i.fillRect(0,0,r.width,r.height);var o=r.toDataURL("image/png");return(0,m.jsx)(M.Z,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1,children:(0,m.jsx)(D.Z,{style:{height:"100vh"},children:(0,m.jsx)(O.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:o,visible:!0,title:String(Date.now())},onOk:function(e){t({src:e.url})},onClose:n})})})},L=n(30641),I=n(5269),R=n(6767),P="drawerWrap___MfDw8",B=(0,l.forwardRef)((function(e,t){e.onCancel;var n=e.editImgId,r=e.callback,i=((0,l.useRef)(),(0,l.useRef)()),o=((0,l.useRef)(),(0,l.useRef)(!1),(0,l.useRef)(!1));console.log("ref:",t);var a=(0,l.useState)(0),c=s()(a,2),u=c[0],d=c[1],f=(0,l.useState)("100vh"),p=s()(f,2),h=p[0],g=p[1];return(0,l.useEffect)((function(){d(1)}),[]),(0,l.useImperativeHandle)(t,(function(){return{setHeight:g}})),(0,m.jsx)("div",{ref:o,className:"body-overflow-initial",children:(0,m.jsx)(L.Z,{width:"100vw",height:h,footer:null,closable:!0,placement:"bottom",open:!!u,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:"zIndex-9999 ".concat(P),onClose:function(){window.saveDrawData((function(e){r({src:"/api/attachments/".concat(e),id:e})}))},title:(0,m.jsxs)(D.Z,{align:"middle",children:[(0,m.jsx)(I.Z,{flex:1,children:"插入流程图"}),(0,m.jsx)(I.Z,{onClick:function(){g("60px"===h?"100vh":"60px")},children:(0,m.jsx)("span",{className:"current c-blue",style:{fontWeight:400},children:"展开/收起"})}),(0,m.jsx)(I.Z,{onClick:function(){window.saveDrawData((function(e){null!==e?(R.ZP.success({content:"保存成功",key:"saveFlowChart",style:{zIndex:999999999}}),r({src:"/api/attachments/".concat(e),id:e,disabledClose:!0})):R.ZP.warning({content:"内容为空,请先绘制流程图",key:"saveFlowChart"})}))},children:(0,m.jsx)(C.ZP,{type:"primary",className:"ml20",children:"保存"})})]}),children:(0,m.jsx)("iframe",{src:"/drawio/src/main/webapp/?id=".concat(n||"","&gapi=0&od=0&db=0&gh=0&gl=0&local=0"),width:"100%",height:"100%",frameBorder:"0",ref:i})})})})),F=n(91689),z=n(47889),U=n(71051),H=z.ZP.Group,q={margin:"0 8px"},W=function(e){var t=e.callback,n=e.onCancel;return(0,m.jsxs)(j.Z,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:function(e){t(e)},children:[(0,m.jsxs)("div",{className:"flex-container",style:{alignItems:"baseline"},children:[(0,m.jsx)("span",{style:q,children:"单元格数:"}),(0,m.jsx)("span",{style:q,children:"行数"}),(0,m.jsx)(j.Z.Item,{name:"row",rules:[{required:!0,message:"请输入行数"}],children:(0,m.jsx)(U.Z,{})}),(0,m.jsx)("span",{style:q,children:"列数"}),(0,m.jsx)(j.Z.Item,{name:"col",rules:[{required:!0,message:"请输入列数"}],children:(0,m.jsx)(U.Z,{})})]}),(0,m.jsxs)("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"},children:[(0,m.jsx)("span",{style:q,children:"对齐方式:"}),(0,m.jsx)(j.Z.Item,{name:"align",children:(0,m.jsxs)(H,{children:[(0,m.jsx)(z.ZP,{value:"default",children:(0,m.jsx)("i",{className:"fa fa-align-justify"})}),(0,m.jsx)(z.ZP,{value:"left",children:(0,m.jsx)("i",{className:"fa fa-align-left"})}),(0,m.jsx)(z.ZP,{value:"center",children:(0,m.jsx)("i",{className:"fa fa-align-center"})}),(0,m.jsx)(z.ZP,{value:"right",children:(0,m.jsx)("i",{className:"fa fa-align-right"})})]})})]}),(0,m.jsxs)("div",{className:"flex-container flex-end",children:[(0,m.jsx)(C.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,m.jsx)(C.ZP,{type:"ghost",onClick:n,children:"取消"})]})]})},Z=n(71411),G=n(32464),V=n.n(G),Y=(0,l.forwardRef)((function(e,t){var n=e.use3d,r=e.width,i=e.height,o=e.callback,a=(e.showSaveButton,(0,l.useRef)()),c=(0,l.useRef)(),u=(0,l.useState)(!1),d=s()(u,2),f=d[0],p=d[1],h=(0,l.useRef)({id:a,appName:"graphing",width:r||1e3,height:i||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,l.useEffect)((function(){c.current=new(V())(h.current,!0),window.onload=function(){c.current.inject("applet_container")}}),[]);var g=function(){var e=window.ggbApplet.getPNGBase64(1,!0,72);return o&&o(e),e};return(0,l.useEffect)((function(){h.current.appName=f?"3D":"graphing",c.current.inject("applet_container")}),[f]),(0,l.useEffect)((function(){p(n)}),[n]),(0,l.useImperativeHandle)(t,(function(){return{getImgData:g}})),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:a}),(0,m.jsxs)(D.Z,{align:"middle",children:[(0,m.jsx)(I.Z,{flex:1,children:(0,m.jsx)(Z.Z,{size:"default",checkedChildren:"关闭3D图像",unCheckedChildren:"开启3D图像",checked:f,onChange:function(e){return p(e)}})}),(0,m.jsx)(I.Z,{children:(0,m.jsx)(C.ZP,{size:"large",onClick:g,style:{zIndex:8,marginTop:10},type:"primary",children:"保存到编辑器"})})]})]})})),K=n(55893),X="link",Q="upload-image",J="add-flowchart",$="draw-image",ee="code-block",te="add-table",ne="------------",re={default:ne,left:":".concat(ne),center:":".concat(ne,":"),right:"".concat(ne,":")},ie=n(22336),oe=n(83287);var se="@▁▁@",ae=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function ce(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}var le=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ue=c()(c()({},le+"-B","bold"),le+"-I","italic"),de=c()(c()(c()(c()(c()(c()(c()(c()({},X,"添加链接"),ee,"添加代码块"),Q,"添加图片"),$,"添加画图"),J,"插入流程图"),te,"添加表格"),"maths-latex","数学图像"),"inline-latex","LATEX公式"),fe=function(e){var t=e.defaultValue,n=void 0===t?"":t,r=e.onChange,o=e.width,a=void 0===o?"100%":o,d=e.height,v=void 0===d?400:d,y=e.miniToolbar,b=void 0!==y&&y,x=e.isFocus,j=void 0!==x&&x,S=e.watch,C=e.insertTemp,A=e.mode,D=void 0===A?"markdown":A,O=e.id,L=void 0===O?"markdown-editor-id":O,I=e.showResizeBar,P=void 0!==I&&I,z=e.noStorage,U=void 0!==z&&z,H=e.showNullButton,q=void 0!==H&&H,Z=e.showNullProgramButton,G=void 0!==Z&&Z,V=e.hidetoolBar,ne=void 0!==V&&V,le=e.fullScreen,fe=void 0!==le&&le,pe=e.onBlur,he=e.onCMBeforeChange,me=e.onFullScreen,ge=e.className,ve=void 0===ge?"":ge,ye=e.disablePaste,be=void 0!==ye&&ye,xe=e.disabled,we=void 0!==xe&&xe,_e=e.disabledFill,je=void 0!==_e&&_e,Se=e.placeholder,Ce=void 0===Se?"":Se,Ae=e.values,ke=void 0===Ae?"":Ae,Ee=e.extraUse,Te=e.onAddBlank,Me=(0,l.useState)(null),De=s()(Me,2),Oe=De[0],Ne=De[1],Le=(0,l.useState)(n),Ie=s()(Le,2),Re=Ie[0],Pe=Ie[1],Be=(0,l.useState)(S),Fe=s()(Be,2),ze=Fe[0],Ue=Fe[1],He=(0,l.useState)(fe),qe=s()(He,2),We=qe[0],Ze=qe[1],Ge=(0,l.useState)(""),Ve=s()(Ge,2),Ye=Ve[0],Ke=Ve[1],Xe=(0,l.useState)(0),Qe=s()(Xe,2),Je=Qe[0],$e=Qe[1],et=(0,l.useState)(v),tt=s()(et,2),nt=tt[0],rt=tt[1],it=(0,l.useState)(!1),ot=s()(it,2),st=(ot[0],ot[1]),at=(0,l.useState)(0),ct=s()(at,2),lt=ct[0],ut=ct[1],dt=(0,l.useState)(0),ft=s()(dt,2),pt=ft[0],ht=ft[1],mt=(0,l.useRef)(),gt=(0,l.useRef)(),vt=(0,l.useRef)(),yt=(0,l.useRef)(),bt=(0,l.useRef)(),xt=(0,l.useRef)(),wt=(0,u.useDispatch)();(0,l.useEffect)((function(){var e=window.scrollY||window.pageYOffset;Pe(ke),null==Oe||Oe.setValue(ke),window.scrollTo(0,e)}),[ke]),(0,l.useEffect)((function(){null==me||me(We)}),[We]),(0,l.useEffect)((function(){if(mt.current){var e=function(e,n){if(!be){var r=n.clipboardData;if(r){var i=r.types.toString(),o=r.items;if("Files"===i||r.types.indexOf("Files")>-1){if(n.preventDefault(),"stex"==D)return;try{var s,a=o[1];"file"===(null===(s=o[0])||void 0===s?void 0:s.kind)&&(a=o[0]);var c=a.getAsFile(),l=c.name.split(".").pop();(0,T.I)(c,(function(e){var n,r,i;e.id?(null==c||null===(n=c.type)||void 0===n?void 0:n.indexOf("image"))>-1?t.replaceSelection('<img width="100%" src="/api/attachments/'.concat(e.id,"?type=").concat(e.content_type,')" alt="','" />')):(null==c||null===(r=c.type)||void 0===r?void 0:r.indexOf("video"))>-1?t.replaceSelection('<video width="100%" controls src="/api/attachments/'.concat(e.id,'"></video>')):(null==c||null===(i=c.type)||void 0===i?void 0:i.indexOf("pdf"))>-1?t.replaceSelection('<a href="/api/attachments/'.concat(e.id,"?type=").concat(c.type,'&disposition=inline" target="_blank">').concat(c.name,"</a>")):ae.includes(l)?t.replaceSelection('<a href="/api/attachments/'.concat(e.id,'?type=office&disposition=inline" target="_blank">').concat(c.name,"</a>")):t.replaceSelection("[".concat(c.name,"](/api/attachments/").concat(e.id,"?type=").concat(e.content_type,")")):401===(null==e?void 0:e.status)&&(document.location.href="/user/login")}))}catch(n){R.ZP.warning("请使用chrome浏览器粘贴")}return!0}return!0}return!0}n.preventDefault()},t=f().fromTextArea(mt.current,{mode:D,lineNumbers:!b,lineWrapping:!0,value:n,autoCloseTags:!0,autoCloseBrackets:!0});return t.on("keyup",(function(e,n){8===n.keyCode&&(""==e.getValue()?t.setOption("placeholder",Ce):t.setOption("placeholder",null))})),t.on("keydown",(function(e,t){if(8===t.keyCode){var n=function(e,t){var n=e.getDoc(),r=n.getCursor(),i=n.getLine(r.line),o=i.charAt(r.ch-1),s=i.lastIndexOf("@▁@",r.ch),a=i.lastIndexOf("@▁▁@",r.ch),c=s>a?s:a,l=s>a?3:4;if(-1===se.indexOf(o))return null;if(console.log("change1:",t,e,i,r,c,s,a,o),c>=0&&r.ch-c<5){var u=c+l;return n.replaceRange("",{line:r.line,ch:c},{line:r.line,ch:u}),{line:r.line,ch:u}}return null}(e);n&&t.preventDefault()}})),j&&t.focus(),t.on("paste",e),we&&t.on("beforeChange",(function(e,t){"paste"!==t.origin&&"+input"!==t.origin||t.cancel()})),Ne(t),function(){t.off("paste",e)}}}),[]);var _t=(0,l.useCallback)((function(){gt.current}),[nt,gt,We]);(0,l.useEffect)((function(){if(Oe){var e=function(){var e=new p.Z((function(e){var t,n=i()(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;(r.target.offsetHeight>0||r.target.offsetWidth>0)&&(_t(),Oe.setSize("100%","100%"),Oe.refresh())}}catch(e){n.e(e)}finally{n.f()}}));return e.observe(mt.current.parentElement),e}();return function(){var t,n;null!==(t=mt.current)&&void 0!==t&&t.parentElement&&e.unobserve(null===(n=mt.current)||void 0===n?void 0:n.parentElement)}}}),[Oe,_t]),(0,l.useEffect)((function(){if(Oe){for(var e=[],t=function(){var t=s()(r[n],2),i=t[0],o=t[1],a=c()({},i,(function(){jt(o)}));e.push(a),Oe.addKeyMap(a)},n=0,r=Object.entries(ue);n<r.length;n++)t();return function(){for(var t=0,n=e;t<n.length;t++){var r=n[t];Oe.removeKeyMap(r)}}}}),[Oe]),(0,l.useEffect)((function(){fe!==We&&Ze(fe)}),[fe]),(0,ie.Z)((function(){if(!U&&Je>0){var e=(new Date).getTime(),t=window.sessionStorage.getItem(L);e>=Je+1e4&&(!t||t!==Re)&&(window.sessionStorage.setItem(L,Re),st(!0))}}),1e4),(0,l.useEffect)((function(){Ue(S)}),[Oe,S]),(0,l.useEffect)((function(){Oe&&j&&Oe.focus()}),[Oe,j]),(0,l.useEffect)((function(){if(ze&&Oe){var e=function(e){var t=e.target;if(yt.current){var n=t.scrollTop/t.scrollHeight;yt.current.scrollTop=yt.current.scrollHeight*n}},t=Oe.getScrollerElement();return t.addEventListener("scroll",e),function(){t.removeEventListener("scroll",e)}}}),[Oe,ze]),(0,l.useEffect)((function(){if(Oe&&he){var e=function(e,t){he(e,t)};return Oe.on("beforeChange",e),function(){Oe.off("beforeChange",e)}}}),[Oe,he]),(0,l.useEffect)((function(){if(Oe&&pe){var e=function(){pe(Oe.getValue())};return Oe.on("blur",e),function(){Oe.off("blur",e)}}}),[Oe,pe]),(0,l.useEffect)((function(){if(Oe){var e=function(e,t){var n=e.getValue();Pe(n),$e((new Date).getTime()),e.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),r&&(G?r(n,Et(n)):r(n))};return Oe.on("change",e),function(){Oe.off("change",e)}}}),[Oe,r]),(0,l.useEffect)((function(){if(Oe)if(null==n)Oe.setValue(""),Pe("");else{var e=window.scrollY||window.pageYOffset;n!==Oe.getValue()&&(Oe.setValue(n),Pe(n),Oe.setCursor(we?1:Oe.lineCount(),0),window.scrollTo(0,e))}}),[Oe,n]);var jt=(0,l.useCallback)((function(e){var t=Oe.getCursor(),n=Oe.getSelection(),r=n.split("\n");switch(e){case"bold":return Oe.replaceSelection("**"+n+"**"),""===n&&Oe.setCursor(t.line,t.ch+2),Oe.focus();case"italic":return Oe.replaceSelection("*"+n+"*"),""===n&&Oe.setCursor(t.line,t.ch+1),Oe.focus();case"code":return Oe.replaceSelection("`"+n+"`"),""===n&&Oe.setCursor(t.line,t.ch+1),Oe.focus();case"inline-latex":if((0,oe.Ye)(wt))return;return Ke("inline-latex"),Oe.focus();case"latex":return Oe.replaceSelection("```latex\n"+n+"\n```"),Oe.setCursor(t.line+1,n.length+1),Oe.focus();case"line-break":return Oe.replaceSelection("<br/>\n"),Oe.focus();case"list-ul":return""===n?Oe.replaceSelection("- "+n):Oe.replaceSelection(r.map((function(e){return""===e?"":"- ".concat(e)})).join("\n")),Oe.focus();case"list-ol":return""===n?Oe.replaceSelection("1. "+n):Oe.replaceSelection(r.map((function(e,t){return""===e?"":"".concat(t+1,". ").concat(e)})).join("\n")),Oe.focus();case"add-null-ch":return void(null==Te||Te());case"add-signal":return""===n&&Oe.setCursor(t.line,t.ch),Oe.replaceSelection("@▁@"),Oe.focus();case"add-multiple":return""===n&&Oe.setCursor(t.line,t.ch),Oe.replaceSelection(se),Oe.focus();case"inster-template-1":return""===n&&Oe.setCursor(t.line,t.ch),Oe.replaceSelection("\n**模板标题**\n模板正文内容,可输入文本内容和粘贴图片等操作"),Oe.focus();case"eraser":return Oe.setValue(""),Oe.focus();case"trigger-watch":return Ue(!ze),Oe.focus();case"trigger-full-screen":return Ze(!We),Oe.focus();case X:return void Ke(X);case ee:return void Ke(ee);case Q:return void Ke(Q);case $:return void Ke($);case"maths-latex":if((0,oe.Ye)(wt))return;return void Ke("maths-latex");case J:return bt.current="",sessionStorage.removeItem("file_id"),void Ke(J);case te:return void Ke(te);default:throw new Error}}),[Oe,ze,We]),St=(0,l.useCallback)((function(e,t){var n,r,i,o,s;null!=e&&e.disabledClose||Ke("");var a=e||{},c=a.src,l=a.alt,u=a.id;switch(Ye){case X:var d=e.title,f=e.link;return Oe.replaceSelection("[".concat(d,"](").concat(f,")")),Oe.focus();case ee:var p=e.language,h=e.content;return Oe.replaceSelection(["```"+p,h,"```"].join("\n")),Oe.focus();case"maths-latex":for(var m=atob(e),g=new Uint8Array(m.length),v=0;v<m.length;v++)g[v]=m.charCodeAt(v);var y=new Blob([g],{type:"image/png"});(0,T.I)(y,(function(e){e.id?Oe.replaceSelection(".concat(e.content_type,")")):401===(null==e?void 0:e.status)&&(document.location.href="/user/login")}));break;case"inline-latex":if((0,oe.Ye)(wt))return;Oe.replaceSelection("`$$"+e+"$$`");break;case"add-flowchart":if(!u)return;-1===Oe.getValue().indexOf(c)?Oe.replaceSelection('<center><img id="'.concat(u,'" width="80%" src="').concat(c,'" class="draw-flowchart" alt="').concat(l||"",'" /></center>')):document.getElementById(u).src=F.Z.API_SERVER+c+"?t="+Date.now();break;case Q:case $:var b=t,x=null==b||null===(n=b.name)||void 0===n||null===(n=n.split("."))||void 0===n||null===(r=n.pop)||void 0===r?void 0:r.call(n);return(null==b||null===(i=b.type)||void 0===i?void 0:i.indexOf("image"))>-1||null==b||!b.type?null!=b&&b.align||null!=b&&b.width?Oe.replaceSelection('<p style="text-align:'.concat(b.align||"initial",'"><img width="').concat(b.width?b.width+"%":"initial",'" src="').concat(c,'" alt="').concat(l||"",'" /></p>')):Oe.replaceSelection('<img width="100%" src="'.concat(c,'" alt="').concat(l||"",'" />')):(null==b||null===(o=b.type)||void 0===o?void 0:o.indexOf("video"))>-1?Oe.replaceSelection('<video width="100%" controls src="'.concat(c,'"></video>')):(null==b||null===(s=b.type)||void 0===s?void 0:s.indexOf("pdf"))>-1?Oe.replaceSelection('<a href="'.concat(c,"?type=").concat(b.type,'&disposition=inline" target="_blank">').concat(b.name,"</a>")):ae.includes(x)?Oe.replaceSelection('<a href="'.concat(c,'?type=office&disposition=inline" target="_blank">').concat(b.name,"</a>")):Oe.replaceSelection("[".concat(b.name,"](").concat(c,")")),Oe.focus();case te:for(var w=e.row,_=e.col,j=e.align,S="\n",C=0;C<w;C++){for(var A=[],k=[],E=0;E<_;E++)1===C&&k.push(re[j]),A.push(" ");1===C&&(S+="| ".concat(k.join(" | ")," |\n")),S+="| ".concat(A.join(1===_?"":" | ")," |\n")}return Oe.replaceSelection(S+"\n"),Oe.focus();default:throw new Error}}),[Oe,Ye]),Ct=(0,l.useMemo)((function(){switch(Ye){case X:return(0,m.jsx)(k,{callback:St,onCancel:At});case ee:return(0,m.jsx)(E.Z,{callback:St,onCancel:At});case Q:return(0,m.jsx)(T.Z,{callback:St,onCancel:At});case J:return(0,m.jsx)(B,{editImgId:bt.current,callback:St,onCancel:At});case te:return(0,m.jsx)(W,{callback:St,onCancel:At});case"maths-latex":return(0,m.jsx)(Y,{showSaveButton:!0,callback:St});case"inline-latex":return(0,m.jsx)(K.Z,{showSaveButton:!0,callback:St});default:return null}}),[Ye]);function At(){Ke("")}(0,l.useEffect)((function(){if(vt.current){var e=function(e){i=!0,o=e.pageY},t=function(){i=!1},n=function(e){if(i){var t=e.pageY-o;t<0&&(t=0),t>300&&(t=300),rt(v+t+"px")}},r=vt.current,i=!1,o=0;return r.addEventListener("mousedown",e),document.addEventListener("mousemove",n),document.addEventListener("mouseup",t),function(){r.removeEventListener("mousedown",e),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",t)}}}),[Oe,vt]),(0,l.useEffect)((function(){rt(v)}),[v]);var kt={width:ce(a),height:ce(nt)},Et=((0,l.useMemo)((function(){if(Je){var e=new Date(Je),t=e.getHours(),n=e.getMinutes(),r=e.getSeconds();return n=n<10?"0"+n:n,r=r<10?"0"+r:r,"".concat(t=t<10?"0"+t:t,":").concat(n,":").concat(r)}return 0}),[Je]),function(e){var t=[];if(G){e=e.replace(/(@▁▁@|@▁@)/g,(function(e,n,r){t.push({multiLine:!("@▁@"===e)})}))}return t});(0,l.useEffect)((function(){de[Ye]&&Ye!==$&&Ye!==J&&setTimeout((function(){var e=document.getElementsByClassName("markdown-popup-form")[0],t=window.innerWidth/2-e.offsetWidth/2,n=window.innerHeight/2-e.offsetHeight/2;ut(t),ht(n)}),0)}),[Ye]);var Tt=function(e,t,n,r){var i=document.body.clientHeight,o=document.body.clientWidth;return!(e<20&&n>e||e>o-20&&n<e||t<20&&r>t||t>i-20&&r<t)||(document.body.onmousemove=null,document.body.onmouseup=null,!1)};return(0,m.jsxs)(l.Fragment,{children:[(0,m.jsx)("div",{className:"markdown-editor-wrapper",ref:gt,children:(0,m.jsxs)("div",{className:"markdown-editor-container ".concat(ve," ").concat(ze?"on-preview":""," ").concat(b?"mini":""," ").concat(We?"full-screen":""),style:kt,children:[(0,m.jsx)(w,{insertTemp:C,watch:ze,fullScreen:We,showNullButton:q,showNullProgramButton:G,onActionCallback:jt,hidetoolBar:ne,extraUse:Ee}),(0,m.jsxs)("div",{className:"markdown-editor-body",children:[(0,m.jsx)("div",{className:"codemirror-container",children:(0,m.jsx)("textarea",{ref:mt,placeholder:Ce})}),ze?(0,m.jsxs)("div",{ref:yt,className:"preview-container",children:["stex"===D&&(0,m.jsx)(g,{value:Re}),"stex"!==D&&(0,m.jsx)(h.Z,{edit:!0,disabledFill:je,showProgramFill:G,value:Re,openEditor:function(e){var t;bt.current=e,null===(t=xt.current)||void 0===t||t.setHeight("100vh"),setTimeout((function(){Ke("add-flowchart")}),150)}})]}):null]})]})}),P?(0,m.jsx)("a",{ref:vt,className:"editor-resize"}):null,Ye===$&&(0,m.jsx)(N,{callback:St,onCancel:At}),Ye===J&&(0,m.jsx)(B,{ref:xt,editImgId:bt.current,callback:St,onCancel:At}),(0,m.jsx)(_.Z,{children:de[Ye]&&Ye!==$&&Ye!==J?(0,m.jsx)(M.Z,{maskClosable:!1,centered:!0,style:{position:"absolute",left:lt,top:pt},title:(0,m.jsx)("div",{style:{cursor:"move"},onMouseDown:function(e){e.preventDefault();var t=e.clientX-lt,n=e.clientY-pt;document.body.onmousemove=function(e){var r=e.clientX-t,i=e.clientY-n,o=document.getElementsByClassName("markdown-popup-form")[0],s=window.innerWidth-o.offsetWidth,a=window.innerHeight-o.offsetHeight;r=Math.max(0,Math.min(r,s)),i=Math.max(0,Math.min(i,a)),Tt(e.clientX,e.clientY,t,n)&&(ut(r),ht(i))},document.body.onmouseup=function(){document.body.onmousemove=null}},children:de[Ye]}),open:!0,onCancel:At,footer:null,destroyOnClose:!0,width:Ye===J?"1200px":null,height:Ye===J?"80vh":null,className:"markdown-popup-form",children:Ct}):null})]})}},13889:function(e,t,n){"use strict";n.d(t,{Z:function(){return x},I:function(){return _}});var r=n(82242),i=n.n(r),o=n(79800),s=n.n(o),a=n(28284),c=n(6767),l=n(37568),u=n(77736),d=n(71051),f=n(47889),p=n(99571),h=n(78988),m=n(59301),g=n(37712),v=a.Z.useForm,y={width:280,marginRight:10},b={labelCol:{span:5},wrapperCol:{span:19}},x=function(e){var t=e.callback,n=e.onCancel,r=v(),o=s()(r,1)[0],h=(0,m.useRef)();function x(e,t){-1!==e.status?o.setFieldsValue({src:"/api/attachments/".concat(e.id),type:t.type}):c.ZP.error(e.message)}return(0,g.jsxs)(a.Z,i()(i()({form:o},b),{},{className:"upload-image-panel",onFinish:function(e){h.current.width=o.getFieldValue("width"),h.current.align=o.getFieldValue("align"),t(e,h.current)},style:{width:470,overflow:"hidden"},children:[(0,g.jsx)(a.Z.Item,{label:"图片地址",required:!0,children:(0,g.jsxs)("div",{className:"flex-container",children:[(0,g.jsx)(a.Z.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"请输入图片地址"}],children:(0,g.jsx)(l.Z,{style:y})}),(0,g.jsx)(w,{onFileChange:function(e){var t=e.target.files[0];h.current=t,_(t,x)}})]})}),(0,g.jsx)(a.Z.Item,{label:"图片描述",name:"alt",children:(0,g.jsx)(l.Z,{style:{width:264}})}),(0,g.jsx)(a.Z.Item,{label:"图片宽度",name:"width",children:(0,g.jsxs)(u.Z,{children:[(0,g.jsx)(a.Z.Item,{name:"width",style:{margin:0},children:(0,g.jsx)(d.Z,{style:{width:264}})}),(0,g.jsx)("span",{className:"ml8",children:"%"})]})}),(0,g.jsx)(a.Z.Item,{label:"对齐方式",name:"align",children:(0,g.jsx)(f.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"左对齐"},{value:"center",label:"居中对齐"},{value:"right",label:"右对齐"}]})}),(0,g.jsx)("aside",{children:(0,g.jsxs)(a.Z.Item,{style:{textAlign:"right",position:"relative",right:-98},children:[(0,g.jsx)(p.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,g.jsx)(p.ZP,{type:"default",onClick:n,children:"取消"})]})})]}))};function w(e){var t=e.onFileChange;return(0,g.jsxs)("label",{className:"upload-button",style:{cursor:"pointer"},children:["本地上传",(0,g.jsx)("input",{type:"file",onChange:t})]})}function _(e,t){if(!e)throw new String("没有文件");var n=new FormData;n.append("editormd-image-file",e),n.append("file_param_name","editormd-image-file"),n.append("byxhr","true");var r=new window.XMLHttpRequest;r.withCredentials=!0,r.addEventListener("load",(function(n){t(JSON.parse(n.target.responseText),e)}),!1),r.addEventListener("error",(function(e){console.error(e)}),!1),r.open("POST","".concat(h.KI,"/api/attachments.json")),r.send(n)}},82255:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(82100),i=n.n(r),o=n(29186),s=n.n(o),a=n(80619),c=n.n(a),l=n(47074),u=n.n(l),d=n(59301),f=n(4676),p=function(e){c()(n,e);var t=u()(n);function n(e){var r;i()(this,n),r=t.call(this,e);var o=window.document;return r.node=o.createElement("div"),o.body.appendChild(r.node),r}return s()(n,[{key:"render",value:function(){var e=this.props.children;return(0,f.createPortal)(e,this.node)}},{key:"componentWillUnmount",value:function(){window.document.body.removeChild(this.node)}}]),n}(d.Component)},92068:function(e,t,n){"use strict";n.d(t,{SV:function(){return Q},ZP:function(){return X}});var r=n(82242),i=n.n(r),o=n(37205),s=n.n(o),a=n(91232),c=n.n(a),l=n(79800),u=n.n(l),d=n(39647),f=n.n(d),p=n(7557),h=n.n(p),m=n(41498),g=n.n(m),v=n(59301),y=n(76374),b=["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"],x={quickKey:[{label:"main",content:["public static void main(String[] args) {","\t$0","}"].join("\n")},{label:"System.out.println",content:["System.out.println($0)"].join("\n")},{label:"System.out.print",content:["System.out.print($0)"].join("\n")}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},w={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {","\t$0","} else {","\t","}"].join("\n")},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {","\t$0","}"].join("\n")},{label:"if",content:["if () {","\t$0","}"].join("\n")},{label:"for",content:["for(int j=0 ; j<10; j++){","\t$0","}"].join("\n")},{label:"trycatch",content:["try{","\t$0","}catch(ExceptionName e){","}"].join("\n")},{label:"using namespace std;",content:["using namespace std;"].join("\n")},{label:"include <iostream>",content:["#include <iostream>"].join("\n")},{label:"include <vector>",content:["#include <vector>"].join("\n")},{label:"include <cstdio>",content:["#include <cstdio>"].join("\n")},{label:"include <cstring>",content:["#include <cstring>"].join("\n")},{label:"include <sstream>",content:["#include <sstream>"].join("\n")},{label:"include <fstream>",content:["#include <fstream>"].join("\n")},{label:"include <map>",content:["#include <map>"].join("\n")},{label:"include <string>",content:["#include <string>"].join("\n")},{label:"include <cmath>",content:["#include <cmath>"].join("\n")}]},_={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join("\n")}]},j={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join("\n")}]},S=n(53184),C=n.n(S),A={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},k=function(e,t,n,r){e.languages.registerCompletionItemProvider(t,{provideCompletionItems:function(t,i){var o=t.getWordUntilPosition(i),a={startLineNumber:i.lineNumber,endLineNumber:i.lineNumber,startColumn:o.startColumn,endColumn:o.endColumn},c=t.getLineContent(i.lineNumber).substring(o.startColumn-2,o.endColumn),l=function(e,t,n,r){var i=t.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:n.lineNumber,endColumn:n.column});return Array.from(new Set(i.match(/\b\w{2,}\b/g)||[])).map((function(t){return{label:t,kind:e.languages.CompletionItemKind.Text,insertText:t,range:r}}))}(e,t,i,a);return{suggestions:[].concat(s()(l),s()(n.map((function(t){return{label:t,kind:e.languages.CompletionItemKind.Keyword,documentation:t,insertText:t,insertTextRules:e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:a}}))),s()(r.map((function(t){return{label:t.label,kind:e.languages.CompletionItemKind.Snippet,documentation:t.content,insertText:c.startsWith("#")?t.content.replace(/#/,""):t.content,insertTextRules:e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:a}}))))}}})},E=n(82100),T=n.n(E),M=n(29186),D=n.n(M),O=n(85573),N=n.n(O),L=function(){function e(t,n,r){var i=this;T()(this,e),this.placeholder=t,this.editor=n,this.monaco=r,n.onDidChangeModelContent((function(){return i.onDidChangeModelContent()})),this.onDidChangeModelContent()}return D()(e,[{key:"onDidChangeModelContent",value:function(){""===this.editor.getValue()?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}},{key:"getId",value:function(){return e.ID}},{key:"getDomNode",value:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}},{key:"getPosition",value:function(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}},{key:"dispose",value:function(){this.editor.removeContentWidget(this)}}]),e}();N()(L,"ID","editor.widget.placeholderHint");var I=L,R=n(96236),P=n(6767),B=n(25399),F=n(89392),z=n(70717),U=n(56102),H=n(37712),q=["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"];function W(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}function Z(){}var G={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e;if(Array.isArray(e)){for(var n=0;n<e.length;n++){var r=G[e[n]];if(r)return r}return t[0]}return G[t]||t}var Y=null,K=function(){var e=g()(h()().mark((function e(){return h()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,navigator.clipboard.writeText(" ");case 3:console.log("内容已自动复制到剪贴板:"),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),console.error("自动复制失败:",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(){return e.apply(this,arguments)}}(),X=function(e){var t=e.width,r=void 0===t?"100%":t,o=e.height,a=void 0===o?"100%":o,l=e.value,d=e.language,p=void 0===d?"javascript":d,m=e.style,S=void 0===m?{}:m,E=e.options,T=void 0===E?{}:E,M=e.overrideServices,D=void 0===M?{}:M,O=e.theme,N=void 0===O?"vs-dark":O,L=e.onEditBlur,G=e.isCopy,X=void 0!==G&&G,Q=e.onSave,J=e.autoHeight,$=void 0!==J&&J,ee=e.forbidCopy,te=void 0!==ee&&ee,ne=e.onChange,re=void 0===ne?Z:ne,ie=e.editorDidMount,oe=void 0===ie?Z:ie,se=e.onFocus,ae=void 0===se?Z:se,ce=e.onBreakPoint,le=void 0===ce?Z:ce,ue=e.breakPointValue,de=void 0===ue?[]:ue,fe=e.filename,pe=void 0===fe?"educoder.txt":fe,he=e.errorLine,me=e.errorContent,ge=void 0===me?"":me,ve=e.highlightLine,ye=e.openBreakPoint,be=void 0!==ye&&ye,xe=e.placeholder,we=void 0===xe?"":xe,_e=e.showMiniMap,je=void 0===_e||_e,Se=(f()(e,q),(0,v.useRef)()),Ce=(0,v.useRef)({}),Ae=(0,v.useRef)(),ke=(0,v.useRef)(),Ee=(0,v.useRef)([]),Te=(0,v.useRef)(!1),Me=(0,v.useRef)(),De=(0,v.useRef)(),Oe=(0,v.useRef)(!1),Ne=(0,v.useState)(!1),Le=u()(Ne,2),Ie=Le[0],Re=Le[1];(0,v.useEffect)((function(){var e=z.Z.subscribe("formatDocument",(function(e){var t,n=Ce.current.instance;null==n||null===(t=n.getAction)||void 0===t||t.call(n,"editor.action.formatDocument").run()}));return window.updateMonacoValue=function(e){re(e)},e}),[]),(0,v.useEffect)((function(){var e,t=Ce.current.instance;(ke.current&&clearTimeout(ke.current),ke.current=setTimeout((function(){!function(){var e=Ce.current.instance;if(null!=l&&e&&Ie){var t=e.getModel();t&&l!==t.getValue()&&(!0,t.setValue(l),e.layout(),!1)}}()}),500),l&&null!=l&&l.length)&&(null==t||null===(e=t.updateOptions)||void 0===e||e.call(t,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(l.split(/\r\n|\r|\n/g).length))+3,5)}))}),[l,Ie,Ce.current]),(0,v.useEffect)((function(){if(he&&Ce.current&&Ce.current.instance){var e=Ce.current.instance;e.changeViewZones((function(e){var t=document.createElement("div");t.style.padding="10px 20px",t.style.width="calc(100% - 20px)",t.className="my-error-line-wrp",t.innerHTML=ge,e.addZone({afterLineNumber:he||11,heightInLines:3,domNode:t})}));var t={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};e.addOverlayWidget(t),e.revealPositionInCenter({lineNumber:20,column:1})}}),[he,Ce.current,Ie]);var Pe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!e||""===e.trim())return!0;for(var n=Ce.current.instance.getModel(),r=n.getLineTokens(t),i=!1,o=0;o<2;o++)1===r.getStandardTokenType(o)&&(i=!0);return i};function Be(e){(window.navigator.platform.match("Mac")?e.metaKey:e.ctrlKey)&&83==e.keyCode&&(e.preventDefault(),Q())}(0,v.useEffect)((function(){var e,t=null===(e=Ce.current)||void 0===e?void 0:e.instance;if(t&&Ie&&te){var n=t.onDidBlurEditorWidget((function(){Oe.current=!1})),r=t.onDidFocusEditorText((function(){Oe.current=!0}));return function(){n.dispose(),r.dispose()}}}),[Ce.current,Ie,te]),(0,v.useEffect)((function(){var e;if(null!==(e=Ce.current)&&void 0!==e&&e.instance&&Ie&&be){var t=Ce.current.instance,n=t.getModel();if(!n)return;!function(){var e,r=[],i=[],o=n.getAllDecorations(),s=c()(o);try{for(s.s();!(e=s.n()).done;){var a,l=e.value;if("highlighted-line"===l.options.className)r.push(null==l||null===(a=l.range)||void 0===a?void 0:a.startLineNumber),i.push(null==l?void 0:l.id)}}catch(e){s.e(e)}finally{s.f()}if(ve!==r[0]){n.deltaDecorations(i,[]);var u=n.getLineCount();ve&&ve<=u&&(t.deltaDecorations([],[{range:new Y.Range(ve,1,ve,n.getLineMaxColumn(ve)),options:{isWholeLine:!0,className:"highlighted-line"}}]),t.revealLineInCenter(ve))}}();var r=function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=[],i=[],o=n.getAllDecorations(),s=c()(o);try{for(s.s();!(e=s.n()).done;){var a,l=e.value;if("breakpoints-select"===l.options.linesDecorationsClassName)r.push(null==l||null===(a=l.range)||void 0===a?void 0:a.startLineNumber),i.push(null==l?void 0:l.id)}}catch(e){s.e(e)}finally{s.f()}if(t)return{lines:r,ids:i};le(r)},i=function(){var e=g()(h()().mark((function e(t){var i;return h()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={range:new Y.Range(t,1,t,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}},e.next=3,n.deltaDecorations([],[i]);case 3:r();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),o=function(){var e=g()(h()().mark((function e(i){var o,s,a,l,u;return h()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=[],s=t.getLineDecorations(i),a=c()(s);try{for(a.s();!(l=a.n()).done;)"breakpoints-select"===(u=l.value).options.linesDecorationsClassName&&o.push(u.id)}catch(e){a.e(e)}finally{a.f()}return e.next=6,n.deltaDecorations(o,[]);case 6:r();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),s=function(e){var n,r=t.getLineDecorations(e),i=c()(r);try{for(i.s();!(n=i.n()).done;){if("breakpoints-select"===n.value.options.linesDecorationsClassName)return!0}}catch(e){i.e(e)}finally{i.f()}return!1};if(!(0,F.isEqual)(de,r(!0).lines)){n.deltaDecorations(r(!0).ids,[]);var a=de.map((function(e){return{range:new Y.Range(e,1,e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}}));n.deltaDecorations([],a)}var l=t.onDidChangeModelContent((function(e){var a=t.getPosition();if(a){var c=a.lineNumber;clearTimeout(De.current),De.current=setTimeout((function(){Pe(n.getLineContent(c),c)?o(c):s(c)?(o(c),i(c)):r()}),100)}})),u=t.onMouseDown((function(e){var t;if(e.target.detail&&null!==(t=e.target)&&void 0!==t&&null!==(t=t.element)&&void 0!==t&&null!==(t=t.className)&&void 0!==t&&t.includes("line-numbers")){var r=e.target.position.lineNumber;if(Pe(n.getLineContent(r),r))return;s(r)?o(r):i(r)}})),d=function(){Ee.current=t.deltaDecorations(Ee.current,[])},f=t.onMouseMove((function(e){var r;if(d(),e.target.detail&&null!==(r=e.target)&&void 0!==r&&null!==(r=r.element)&&void 0!==r&&null!==(r=r.className)&&void 0!==r&&r.includes("line-numbers")){var i=e.target.position.lineNumber;if(Pe(n.getLineContent(i),i))return;!function(e){var n={range:new Y.Range(e,1,e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Ee.current=t.deltaDecorations(Ee.current,[n])}(i)}})),p=t.onMouseLeave((function(){d()}));return function(){l.dispose(),u.dispose(),f.dispose(),p.dispose()}}}),[Ce.current,Ie,de,ve,be,p]),(0,v.useEffect)((function(){var e;null!==(e=Ce.current)&&void 0!==e&&e.instance&&be&&Ce.current.instance.setPosition({lineNumber:0,column:0})}),[ve]);var Fe=function(){if($&&Ce.current.instance){var e=Ce.current.instance.getContentHeight();Ye(e<a?a:e)}else Ye(a)};var ze=function(e){if(Oe.current){var t=e.keyCode,n=e.ctrlKey,r=e.metaKey,i=e.target;return"paste"!==e.type&&(67!==t&&86!==t||!r&&!n)||"TEXTAREA"!==i.nodeName||(P.ZP.warning({content:decodeURIComponent("该任务关卡设置了禁止复制粘贴,请手动输入代码。"),key:"monaco-editor-tip"}),e.preventDefault()),!1}};function Ue(e,t){var n,r,i=window.URL||window.webkitURL||window,o=new Blob([t]),s=document.createElementNS("http://www.w3.org/1999/xhtml","a");s.href=i.createObjectURL(o),s.download=e,n=s,(r=document.createEvent("MouseEvents")).initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),n.dispatchEvent(r)}(0,v.useEffect)((function(){Fe()}),[Fe]),(0,v.useEffect)((function(){Se.current&&!Ie&&Promise.all([n.e(8909),n.e(5028)]).then(n.bind(n,71448)).then((function(e){try{Y=e,Ce.current.instance=Y.editor.create(Se.current,{value:l,language:V(p),theme:N,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:je||!1}},D);var t=Ce.current.instance,n=R.BH._menuItems,r=s()(n).find((function(e){return"EditorContext"==e[0]._debugName}))[1];if(oe(t,Y),setTimeout((function(){Fe(),Ce.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:function(){Ue(pe||"educoder.txt",t.getValue())}})}),500),Ce.current.subscription=t.onDidChangeModelContent((function(e){Te.current?clearTimeout(Me.current):(Fe(),re(t.getValue(),e)),Me.current=setTimeout((function(){Te.current=!1}),500)})),window.Monaco||function(e){A.languages.forEach((function(t){e.languages.registerDocumentFormattingEditProvider(t,{provideDocumentFormattingEdits:function(e){return g()(h()().mark((function t(){var n;return h()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=C()(e.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1}),t.abrupt("return",[{range:e.getFullModelRange(),text:n}]);case 2:case"end":return t.stop()}}),t)})))()}})})),k(e,"java",x.keywords,x.quickKey),k(e,"cpp",w.keywords,w.quickKey),k(e,"c",b,[]),k(e,"python",_.keywords,_.quickKey),k(e,"scala",j.keywords,j.quickKey)}(Y,V(p)),te&&(!function(e,t){var n=e._first;do{var r;t.includes(null===(r=n.element)||void 0===r||null===(r=r.command)||void 0===r?void 0:r.id)&&e._remove(n)}while(n=n.next)}(r,["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"]),Se.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",ze),window.removeEventListener("paste",ze),window.addEventListener("keydown",ze),window.addEventListener("paste",ze)),window.Monaco=Y,L&&t.onDidBlurEditorWidget((function(){L(t.getValue())})),ae&&t.onDidFocusEditorText((function(){te&&K(),ae(t.getValue())})),te){K();try{t.onDidPaste((function(e){var n=t.getSelection(),r=Ce.current.pastePos||{};new Y.Range(r.startLineNumber||n.endLineNumber,r.startColumn||n.endColumn,r.endLineNumber||n.endLineNumber,r.endColumn||n.endColumn);t.executeEdits("",[{range:e.range,text:""}])}))}catch(e){}}var i=function(){var e;return Se.current&&(e=new y.Z((function(e){var t,n=c()(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;(r.target.offsetHeight>0||r.target.offsetWidth>0)&&Ce.current.instance.layout()}}catch(e){n.e(e)}finally{n.f()}}))).observe(Se.current),e}();return we&&"string"==typeof we&&new I(we,t,Y),Re(!0),function(){var e=Ce.current.instance;e.dispose();var t=e.getModel();t&&t.dispose(),Ce.current.subscription&&Ce.current.subscription.dispose(),i.unobserve(Se.current)}}catch(e){}}))}),[]),(0,v.useEffect)((function(){if(Ce.current.instance&&Ie)return document.addEventListener("keydown",Be,!1),function(){document.removeEventListener("keydown",Be)}}),[Q,Ie]),(0,v.useEffect)((function(){var e=Ce.current.instance;if(e&&Ie){var t=V(p);Y.editor.setModelLanguage(e.getModel(),t)}}),[p,Ie]),(0,v.useEffect)((function(){Ce.current.instance&&Ie&&Y.editor.setTheme(N)}),[N,Ie]),(0,v.useEffect)((function(){var e=Ce.current.instance;Ae.current=T,e&&Ie&&(e.updateOptions(i()({},T)),setTimeout((function(){e.getModel().updateOptions(i()({},T))}),200))}),[JSON.stringify(T),Ie]),(0,v.useEffect)((function(){var e=Ce.current.instance;e&&Ie&&e.layout()}),[r,a,Ie]);var He=(0,v.useState)(W(r)),qe=u()(He,2),We=qe[0],Ze=(qe[1],(0,v.useState)(W(a))),Ge=u()(Ze,2),Ve=Ge[0],Ye=Ge[1],Ke=i()(i()({},S),{},{width:We,height:Ve,position:"relative"});return(0,H.jsx)("div",{className:"my-monaco-editor",ref:Se,style:Ke,children:X&&(0,H.jsx)(U.CopyToClipboard,{text:l,onCopy:function(){return P.ZP.success("复制成功")},children:(0,H.jsx)(B.Z,{title:"复制代码",children:(0,H.jsxs)("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"},children:[(0,H.jsx)("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," 复制代码"]})})})})};function Q(e){var t=e.width,r=void 0===t?"100%":t,o=e.height,s=void 0===o?"100%":o,a=e.original,l=e.modified,d=e.language,f=e.options,p=void 0===f?{}:f,h=(0,v.useRef)(),m=(0,v.useState)(null),g=u()(m,2),b=g[0],x=g[1];(0,v.useEffect)((function(){return h.current&&Promise.all([n.e(8909),n.e(9404)]).then(n.bind(n,2550)).then((function(e){var t=(Y=e).editor.createDiffEditor(h.current,i()(i()({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},p),{},{wordWrap:!0}));x(t);var n=function(e){var t;return h.current&&(t=new y.Z((function(t){var n,r=c()(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;(i.target.offsetHeight>0||i.target.offsetWidth>0)&&e.layout()}}catch(e){r.e(e)}finally{r.f()}}))).observe(h.current),t}(t);return function(){t.dispose();var e=t.getModel();e&&e.dispose(),n.unobserve(h.current)}})),function(){window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}}),[]),(0,v.useEffect)((function(){b&&b.setModel({original:Y.editor.createModel(a,d),modified:Y.editor.createModel(l,d)})}),[a,l,d,b]);var w={width:W(r),height:W(s)};return(0,H.jsx)("div",{className:"my-diff-editor",ref:h,style:w})}},86048:function(e,t,n){"use strict";n(45298);var r=n(82326),i=n(71411),o=n(37712),s=r.default.Option;t.Z=function(e){var t,n=e.isTheoretical,a=e.onFontSizeChange,c=e.cmFontSize,l=e.cmCodeMode,u=(e.autoFormat,e.onCodeModeChange),d=e.onTabToSpace,f=(e.onAutoFormat,e.formatDocument),p=e.className,h=void 0===p?"":p,m=e.tabToSpace,g=e.children,v=e.code_editor,y=e.challenge,b=e.shixun_environment_id,x=e.shixun_environments,w=null==x||null===(t=x.find((function(e){return e.shixun_environment_id===b})))||void 0===t?void 0:t.program_language;return console.log("----",w,x,b,v),(0,o.jsxs)("div",{className:"tpi-code-setting ".concat(h),children:[(0,o.jsx)("h3",{children:"代码格式"}),(0,o.jsxs)("section",{children:[(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"显示模式"}),(0,o.jsxs)(r.default,{bordered:!1,size:"small",value:l,onChange:u,children:[(0,o.jsx)(s,{value:"vs",children:"白色背景"}),(0,o.jsx)(s,{value:"vs-dark",children:"黑色背景"})]})]}),!n&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"字体大小"}),(0,o.jsxs)(r.default,{bordered:!1,size:"small",value:c,onChange:a,children:[(0,o.jsx)(s,{value:12,children:"12px"}),(0,o.jsx)(s,{value:14,children:"14px"}),(0,o.jsx)(s,{value:16,children:"16px"}),(0,o.jsx)(s,{value:18,children:"18px"}),(0,o.jsx)(s,{value:20,children:"20px"}),(0,o.jsx)(s,{value:22,children:"22px"})]})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"Tab转换"}),(0,o.jsx)(i.Z,{checked:m,onChange:d})]}),(0,o.jsx)("div",{className:"file-item",onClick:f,children:(0,o.jsx)("b",{style:{cursor:"pointer"},children:"格式化代码"})})]})]}),!n&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h3",{children:"快捷键"}),(0,o.jsxs)("section",{children:[(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"保存代码"}),(0,o.jsx)("span",{children:"Ctrl + S"})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"唤出快捷键列表"}),(0,o.jsx)("span",{children:"F1 / Alt + F1"})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"左右缩进"}),(0,o.jsx)("span",{children:"Ctrl + ]/["})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"跳到匹配的括号"}),(0,o.jsx)("span",{children:"Ctrl + Shift + \\"})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"转到行首"}),(0,o.jsx)("span",{children:"Home"})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"转到行尾"}),(0,o.jsx)("span",{children:"End"})]})]}),g]}),!n&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h3",{children:"快捷键"}),(0,o.jsxs)("section",{children:[w&&(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"编程语言"}),(0,o.jsx)("span",{children:w})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"实训难易度"}),(0,o.jsx)("span",{children:{1:"简单",2:"中等",3:"困难"}[null==y?void 0:y.difficulty]})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"实验环境"}),(0,o.jsx)("span",{children:null==v?void 0:v.name})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"实验容器网络"}),(0,o.jsx)("span",{children:null!=v&&v.close_internet?"关闭外网":"开启外网"})]})]})]})]})}},21411:function(e,t,n){"use strict";n.d(t,{jL:function(){return c},w9:function(){return je},QD:function(){return rt},cQ:function(){return we},op:function(){return Xe},O5:function(){return ft},_b:function(){return ct},t7:function(){return I},Gi:function(){return ke},YG:function(){return Ae},qp:function(){return S},vr:function(){return ot},qE:function(){return $e},Je:function(){return B},wb:function(){return oe},cq:function(){return Be},tp:function(){return k}});var r=n(59301),i="banner___PoUBO",o="content___XoDjy",s="btns___Pb35j",a=n(37712),c=function(e){var t=e.dataSource,n=void 0===t?[]:t,r=e.img,c=e.imgWidth,l=void 0===c?346:c,u=e.title,d=e.sunTitle,f=e.bannerExtraContent;return(0,a.jsx)("div",{className:i,children:(0,a.jsxs)("div",{className:o,children:[(0,a.jsxs)("aside",{children:[(0,a.jsxs)("p",{children:[(0,a.jsx)("b",{children:u}),(0,a.jsx)("span",{children:d})]}),n.length>0&&(0,a.jsx)("div",{className:s,children:n.map((function(e,t){return(0,a.jsxs)("div",{onClick:e.click,children:[e.name,e.sign?(0,a.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5i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65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",width:39}):null]},t)}))}),f]}),r&&(0,a.jsx)("img",{style:{marginTop:33,marginRight:38},src:r,width:l})]})})},l=n(79800),u=n.n(l),d="row___aXJjm",f="title___HUKL0",p="tagsWrap___XB2W3",h="action___VdHb1",m="bar___t1kKC",g="tag___V7Eft",v="name___Hk1Ip",y="num___xQpcH",b="active___XryTX",x="tagsBorderWrap___OMxjs",w=n(92310),_=n.n(w),j=n(89392),S=function(e){var t=e.dataSource,n=void 0===t?[]:t,i=e.value,o=e.onChange,s=e.onTitleChange,c=e.className,l=e.title,w=e.titleWidth,S=void 0===w?41:w,C=e.style,A=void 0===C?{}:C,k=e.fontColor,E=void 0===k?"#6A7283":k,T=e.showCount,M=(0,r.useState)(0),D=u()(M,2),O=D[0],N=D[1],L=(0,r.useState)(!1),I=u()(L,2),R=I[0],P=I[1],B=(0,r.useRef)(null),F=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e;0!==n.length&&((null==B||null===(e=B.current)||void 0===e?void 0:e.clientHeight)>97?N(1):N(0));0===n.length&&N(0),P(!1)}),[n]),(0,a.jsxs)("div",{className:_()(d,c),style:A,children:[(0,a.jsx)("div",{onClick:(0,j.throttle)((function(){return null==s?void 0:s()}),2e3),style:{width:S,marginTop:R?12:4},className:"".concat(f," ").concat(s?"current":""),children:l}),(0,a.jsxs)("div",{className:R?"".concat(p," ").concat(x):p,children:[(0,a.jsx)("div",{className:m,ref:F,style:O>0?{height:1===O?97:"auto",overflow:1===O?"hidden":"auto",paddingRight:55}:{paddingRight:0},children:(0,a.jsx)("div",{className:g,ref:B,children:null==n?void 0:n.map((function(e){return(0,a.jsxs)("span",{onClick:function(){return o(e.id)},style:{color:E},className:i===e.id?b:"",children:[(0,a.jsx)("span",{title:e.name,className:v,children:e.name}),!!T&&(0,a.jsx)("span",{className:y,children:e.count})]},e.id)}))})}),!!O&&(0,a.jsx)(r.Fragment,{children:1===O?(0,a.jsxs)("div",{onClick:function(){var e;N(2),(null==B||null===(e=B.current)||void 0===e?void 0:e.clientHeight)>245?P(!0):P(!1)},className:h,children:["展开",(0,a.jsx)("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})]}):(0,a.jsxs)("div",{onClick:function(){F.current.scrollTop=0,N(1),P(!1)},className:h,children:["收起",(0,a.jsx)("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})]})})]})]})},C="tabs___GTqPV",A="active___F26E8",k=function(e){var t=e.dataSource,n=void 0===t?[]:t,r=e.value,i=e.onChange,o=e.className,s=e.style,c=void 0===s?{}:s;return(0,a.jsx)("div",{style:c,className:_()(C,o),children:n.map((function(e){return(0,a.jsx)("span",{onClick:function(){return i(e.id)},className:r===e.id?A:"",children:e.name},e.id)}))})},E="input___PW2zI",T="dropdown___vSy8B",M="menu___NiyBu",D="text___Grueu",O="b1___ZKryM",N="b2___aKyGa",L=n(37568),I=function(e){var t,n=e.dataSource,i=void 0===n?[]:n,o=e.value,s=void 0===o?"":o,c=e.onChange,l=e.onInputChange,d=void 0===l?function(){}:l,f=e.className,p=e.style,h=void 0===p?{}:p,m=e.placeholder,g=e.allowClear,v=void 0!==g&&g,y=(0,r.useState)(""),b=u()(y,2),x=b[0],w=b[1],j=(0,r.useState)(""),S=u()(j,2),C=S[0],A=S[1];(0,r.useEffect)((function(){var e,t=s;null!==(e=JSON.stringify(s))&&void 0!==e&&e.includes("{")&&(w(s.id),t=s.value||"");try{A(decodeURIComponent(t||""))}catch(e){A(decodeURIComponent(t||""))}}),[s]);var k=function(){c(encodeURIComponent(C),x||null)};return(0,a.jsxs)("div",{className:_()(E,f),style:h,children:[!!i.length&&(0,a.jsxs)("div",{className:T,children:[(0,a.jsxs)("div",{className:D,children:[null===(t=i.find((function(e){return e.id===x})))||void 0===t?void 0:t.name,(0,a.jsx)("i",{className:"iconfont icon-zhankai4"}),(0,a.jsx)("b",{className:O}),(0,a.jsx)("b",{className:N})]}),(0,a.jsx)("div",{className:M,children:i.map((function(e,t){return(0,a.jsx)("div",{onClick:function(){var t;(t=e.id)!==x&&(w(t),c(encodeURIComponent(C),t))},children:e.name},t)}))})]}),(0,a.jsx)(L.Z,{onPressEnter:k,value:C,onChange:function(e){A(e.target.value),d(encodeURIComponent(e.target.value),x||null)},placeholder:m,variant:"borderless",allowClear:v,onClear:function(){return c("",x||null)}}),(0,a.jsx)("i",{onClick:k,className:"iconfont icon-sousuo9 font14 current"})]})},R="quickPager___GM30J",P="disabled___Ozc8I",B=function(e){var t=e.value,n=e.onChange,r=e.className,i=e.total,o=e.pageSize,s=e.style,c=void 0===s?{}:s,l=t<2,u=t>=Math.ceil(i/o);return i<=o?(0,a.jsx)(a.Fragment,{}):(0,a.jsxs)("div",{className:_()(R,r),style:c,children:[(0,a.jsx)("div",{onClick:function(){l||n(t-1,"prev")},className:l?P:"",children:"上一页"}),(0,a.jsx)("div",{onClick:function(){u||n(t+1,"next")},className:u?P:"",children:"下一页"})]})},F="list___oOsiS",z="wrap___G6T7F",U="lockWrap___Rl79E",H="li___oZZ7l",q="cover___b2bYW",W="img___IQX7w",Z="sign___HkT6C",G="name___SsJx8",V="e___TMqq0",Y="tags___bcjyo",K="rate___YACg7",X=n(29787),Q=n(25399),J=n(58018),$=n(91689),ee=n(83287),te=n(96908),ne=n(57177),re=n(81378),ie=n(13767),oe=function(e){var t=e.className,n=e.dataSource,r=void 0===n?[]:n,i=e.col,o=void 0===i?4:i,s=e.right,c=e.bottom,l=void 0===c?23:c,u=e.precision,d=void 0===u?0:u,f=e.wrapWidth,p=void 0===f?1200:f,h=e.trackEventItems,m=e.loading,g=Math.floor((p-(o-1)*s)/o);return(0,a.jsx)(X.Z,{spinning:m,children:(0,a.jsxs)("div",{className:_()(F,t),children:[!!r.length&&r.map((function(e,t){var n=e.name,r=e.id,i=e.identifier,c=e.power,u=(e.cover_image_id,e.pic);return(0,a.jsxs)("div",{className:z,style:{width:g,marginRight:(1+t)%o==0?0:s+d,marginBottom:l},children:[(0,a.jsxs)("a",{target:"_blank",href:"/shixuns/".concat(i,"/challenges"),className:H,onClick:function(e){e.preventDefault(),h&&(0,ee.L9)([h]),c&&(0,ee.xg)("/shixuns/".concat(i,"/challenges"))},children:[(0,a.jsxs)("div",{className:W,children:[(0,a.jsx)("img",{className:q,src:"".concat(u)}),e.is_jupyter&&(0,a.jsx)("img",{className:Z,src:te}),e.is_jupyter_lab&&(0,a.jsx)("img",{className:Z,src:ne}),e.is_unity_3d&&(0,a.jsx)("img",{className:Z,src:re})]}),(0,a.jsx)("div",{className:G,children:(0,a.jsx)(Q.Z,{title:n||"实践项目名称-未填写",children:(0,a.jsx)("span",{className:V,children:n||"实践项目名称-未填写"})})}),(0,a.jsxs)("div",{className:Y,children:[(0,a.jsx)(Q.Z,{placement:"bottom",title:"关卡数",children:(0,a.jsxs)("span",{children:[(0,a.jsx)("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),(0,a.jsx)("span",{children:e.challenges_count})]})}),!!e.myshixuns_count&&(0,a.jsx)(Q.Z,{placement:"bottom",title:"学习人数",children:(0,a.jsxs)("span",{children:[(0,a.jsx)("i",{className:"iconfont icon-chengyuan font14 mr2"}),(0,a.jsx)("span",{children:e.myshixuns_count})]})}),(0,a.jsx)(Q.Z,{placement:"bottom",title:"难度等级",children:(0,a.jsx)("span",{children:(0,a.jsx)("span",{children:e.level})})}),(0,a.jsxs)("div",{className:K,children:[(0,a.jsx)(J.Z,{allowHalf:!0,disabled:!0,defaultValue:e.score_info}),(0,a.jsxs)("span",{children:[" ",e.score_info?"".concat(e.score_info,"分"):"5分"]})]})]})]}),!c&&(0,a.jsxs)("div",{className:U,children:[(0,a.jsx)("img",{src:"".concat($.Z.IMG_SERVER,"/images/educoder/icon/lockclose.svg")}),(0,a.jsx)("span",{className:"mt15 font16 c-white",children:"定向开放内容,需要授权"})]})]},r)})),!r.length&&(0,a.jsx)(ie.Z,{})]})})},se="list___jb2Ay",ae="wrap___VsQDr",ce="li___IxCLC",le="cover___Mu8wr",ue="img___IpFLA",de="movebq___mF7wt",fe="bq___Bil0T",pe="sign___DXJ4d",he="name___l7FoJ",me="e___pXQUG",ge="unit___wCIFR",ve="tags___w_Mil",ye="wrapisCurrent___qIfQT",be=n(60242),xe=n(7338),we=function(e){var t=e.className,n=e.dataSource,r=void 0===n?[]:n,i=e.col,o=void 0===i?4:i,s=e.right,c=e.bottom,l=void 0===c?23:c,u=e.precision,d=void 0===u?0:u,f=e.wrapWidth,p=void 0===f?1200:f,h=e.trackEventItems,m=e.loading,g=e.onRemove,v=void 0===g?function(){}:g,y=e.isCurrent,b=void 0===y||y,x=e.showProgress,w=void 0!==x&&x,j=e.showAlias,S=void 0!==j&&j,C=Math.floor((p-(o-1)*s)/o),A=[{name:"推荐自学",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101计划",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"国家一流",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"省级一流",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"精品课程",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"军队一流",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"新型教材",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return(0,a.jsx)(X.Z,{spinning:m,children:(0,a.jsxs)("div",{className:_()(se,t),children:[!(null==r||!r.length)&&(null==r?void 0:r.map((function(e,t){var n,r,i,c,u,f,p=e.name,m=e.id,g=e.identifier,y=(e.featured,e.school_name),x=e.image_url;e.excellent,e.is_plan;return(0,a.jsx)("div",{className:b&&w?ye:ae,style:{width:C,marginRight:(1+t)%o==0?0:s+d,marginBottom:l},children:(0,a.jsxs)("a",{className:ce,onClick:function(e){e.preventDefault(),e.stopPropagation(),h&&(0,ee.L9)([h]),(0,ee.xg)("/paths/".concat(g))},children:[(0,a.jsxs)("div",{className:ue,children:[(0,a.jsx)("img",{className:le,src:"".concat(x)}),b&&(0,xe.bg)()&&(null==e?void 0:e.studying)&&(0,a.jsxs)("div",{className:"".concat(de," user-path-items"),onClick:function(t){t.stopPropagation(),v(e)},children:[(0,a.jsx)("i",{className:"iconfont icon-yichu1 mr5 c-red"}),(0,a.jsx)("span",{className:"c-red",children:"移除"})]}),null==e||null===(n=e.subject_tags)||void 0===n?void 0:n.map((function(e,t){var n;if(0===t){var r,i=null===(r=A.find((function(t){return t.name==e})))||void 0===r?void 0:r.swimg;return(0,a.jsx)("img",{className:pe,src:i,style:{left:"-4px"}})}var o=null===(n=A.find((function(t){return t.name==e})))||void 0===n?void 0:n.ptimg;return(0,a.jsx)("img",{className:pe,src:o,style:{left:"".concat(48+52*(t-1)+2*t,"px")}})})),(0,a.jsx)("div",{style:{position:"absolute",top:"150px",left:"4px"},children:(null==e?void 0:e.excellent)&&(0,a.jsx)("div",{className:fe,children:"开放课程"})})]}),(0,a.jsx)("div",{className:he,children:(0,a.jsx)(Q.Z,{title:S&&null!=e&&e.excellent_alias_name?(0,a.jsxs)("span",{children:["课程原名:".concat(p),(0,a.jsx)("br",{}),(0,a.jsx)("span",{children:"课程别名:".concat(null==e?void 0:e.excellent_alias_name)})]}):p,children:(0,a.jsx)("span",{className:me,children:S&&(null==e?void 0:e.excellent_alias_name)||p})})}),b&&w&&0!=(null==e||null===(r=e.progress)||void 0===r?void 0:r.all_score)&&(0,a.jsxs)("div",{style:{padding:"0px 10px",color:"#333",marginTop:10},children:[(0,a.jsx)(be.Z,{strokeColor:"#44d7b6",gap:"small",percent:((null==e||null===(i=e.progress)||void 0===i?void 0:i.my_score)/(null==e||null===(c=e.progress)||void 0===c?void 0:c.all_score)*100).toFixed(),showInfo:!1}),"已完成 ",null==e||null===(u=e.progress)||void 0===u?void 0:u.my_score,"/",null==e||null===(f=e.progress)||void 0===f?void 0:f.all_score]}),(!b||!w)&&(0,a.jsx)(Q.Z,{title:"发布单位:".concat(y),children:(0,a.jsxs)("div",{className:ge,children:[(0,a.jsx)("i",{className:"iconfont icon-danwei1 font14 mr3"}),y]})}),(!b||!w)&&(0,a.jsx)("div",{className:ve,children:(0,a.jsxs)("div",{children:[(0,a.jsx)(Q.Z,{placement:"bottom",title:"章节数",children:(0,a.jsxs)("span",{children:[(0,a.jsx)("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),(0,a.jsx)("span",{children:e.stages_count})]})}),(0,a.jsx)(Q.Z,{placement:"bottom",title:"学习人数",children:(0,a.jsxs)("span",{children:[(0,a.jsx)("i",{className:"iconfont icon-chengyuan font14 mr3"}),(0,a.jsx)("span",{children:e.members_count})]})})]})})]})},m)}))),!r.length&&(0,a.jsx)(ie.Z,{})]})})},_e={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},je=function(e){var t=e.className,n=e.dataSource,r=void 0===n?[]:n,i=e.col,o=void 0===i?4:i,s=e.right,c=e.bottom,l=void 0===c?23:c,u=e.precision,d=void 0===u?0:u,f=e.wrapWidth,p=void 0===f?1200:f,h=e.trackEventItems,m=e.loading,g=e.handleVery,v=void 0===g?function(){return!0}:g,y=Math.floor((p-(o-1)*s)/o);return(0,a.jsx)(X.Z,{spinning:m,children:(0,a.jsxs)("div",{className:_()(_e.list,t),children:[!!r.length&&r.map((function(e,t){var n=e.subject_identifier,r=e.id,i=(e.identifier,e.power,0!=e.is_public&&e.is_public);return(0,a.jsxs)("div",{className:_e.wrap,style:{width:y,marginRight:(1+t)%o==0?0:s+d,marginBottom:l},children:[(0,a.jsxs)("a",{className:_e.li,onClick:function(t){t.preventDefault(),v(null==e?void 0:e.first_category_url)&&(h&&(0,ee.L9)([h]),(0,ee.xg)(e.first_category_url))},children:[(0,a.jsxs)("div",{className:_e.top,children:[(0,a.jsx)(Q.Z,{title:e.name,children:(0,a.jsx)("div",{className:_e.name,children:e.name})}),(0,a.jsx)("img",{className:_e.img,src:$.Z.IMG_SERVER+"/images/"+e.avatar_url}),(0,a.jsx)("div",{className:_e.text,title:e.creator,children:e.creator}),n&&(0,a.jsxs)("div",{className:_e.btns,children:[(0,a.jsx)("div",{children:"开放课程"}),(0,a.jsx)("aside",{children:"开放课堂"})]}),i&&(0,a.jsx)("div",{className:_e.sign,children:"公开"})]}),(0,a.jsxs)("div",{className:_e.bottom,children:[e.visits>0&&(0,a.jsx)(Q.Z,{title:"访问量",placement:"bottom",children:(0,a.jsxs)("span",{children:[(0,a.jsx)("i",{className:"iconfont icon-liulanyan"}),(0,a.jsx)("span",{children:e.visits})]})}),e.course_members_count>0&&(0,a.jsx)(Q.Z,{title:"成员",placement:"bottom",children:(0,a.jsxs)("span",{children:[(0,a.jsx)("i",{className:"iconfont icon-chengyuan"}),e.course_members_count]})}),e.tasks_count>0&&(0,a.jsx)(Q.Z,{title:"作业",placement:"bottom",children:(0,a.jsxs)("span",{children:[(0,a.jsx)("i",{className:"iconfont icon-zuoye"}),e.tasks_count]})}),e.is_end?(0,a.jsx)("div",{style:{color:"#6B758B"},children:"已结束"}):(0,a.jsx)("div",{style:{color:"#00B187"},children:"进行中"})]})]}),!e.is_accessible&&(0,a.jsxs)("div",{className:_e.lockWrap,children:[(0,a.jsx)("img",{src:"".concat($.Z.IMG_SERVER,"/images/educoder/icon/lockclose.svg")}),(0,a.jsx)("span",{className:"mt15 font16 c-white",children:"非课堂成员不可进入"})]})]},r)})),!r.length&&(0,a.jsx)(ie.Z,{})]})})},Se={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Ce=n(53260),Ae=function(e){var t=e.dataSource,n=void 0===t?[]:t,r=e.value,i=e.onChange,o=e.className,s=e.style,c=void 0===s?{}:s,l=e.tabBarExtraContent;return(0,a.jsxs)("div",{className:_()(Se.tabs,o),style:c,children:[(0,a.jsx)("div",{className:Se.tabsWrap,children:n.map((function(e,t){return!(null!=e&&e.hide)&&(0,a.jsxs)("aside",{className:Se.tab,onClick:function(){i(e.id),e.link&&Ce.history.push(e.link)},children:[(0,a.jsx)("div",{className:r===e.id?Se.active:"",children:e.name}),null==(null==e?void 0:e.resetCount)&&void 0!==(null==e?void 0:e.total)&&(0,a.jsxs)("span",{children:["(",null==e?void 0:e.total,")"]}),void 0!==(null==e?void 0:e.resetCount)&&void 0!==(null==e?void 0:e.total)&&(0,a.jsx)(Q.Z,{title:null!=(null==e?void 0:e.tip)?null==e?void 0:e.tip:"",children:(0,a.jsxs)("span",{style:{color:"#9096A3"},children:["(",(0,a.jsx)("span",{style:{color:"#000"},children:null==e?void 0:e.resetCount}),"/",(0,a.jsx)("span",{children:null==e?void 0:e.total}),")"]})})]},t)}))}),(0,a.jsx)("div",{className:Se.tabBar,children:l})]})},ke=function(e){var t=e.className,n=e.style,r=void 0===n?{}:n,i=e.children;return(0,a.jsx)("div",{className:_()(t),style:r,children:i})},Ee="orderWrap___ZfyGX",Te="orderIconWrap___XTB_O",Me="orderAsc___KWHmA",De="orderDesc___rHdbB",Oe="active___a7eSP",Ne="cursorPointer___gs9kL",Le="orderTextWrap___teAKn",Ie=n(75727),Re=n(93041),Pe=[{id:"updated_at",name:"最新动态"},{id:"created_at",name:"最新创建"},{id:"name",name:"名称排序"}],Be=function(e){var t,n=e.sortValue,r=e.dropValue,i=e.className,o=e.onSort,s=e.onDrop,c=e.dataSource,l=void 0===c?Pe:c;return(0,a.jsxs)("div",{className:_()(Ee,i),children:[(0,a.jsx)(Ie.Z,{dropdownRender:function(){return(0,a.jsx)(Re.Z,{children:l.map((function(e,t){return(0,a.jsx)(Re.Z.Item,{onClick:function(){return s(e.id)},children:e.name},t)}))})},children:(0,a.jsx)("span",{className:Le,children:null===(t=l.find((function(e){return r===e.id})))||void 0===t?void 0:t.name})}),(0,a.jsxs)("span",{className:Te,children:[(0,a.jsx)("span",{className:Me,children:(0,a.jsx)("i",{className:"asc"===n?"iconfont icon-sanjiaoxing-up font12 ".concat(Ne," ").concat(Oe):"iconfont icon-sanjiaoxing-up font12 ".concat(Ne),onClick:function(){return o("asc"===n?"desc":"asc")}})}),(0,a.jsx)("span",{className:De,children:(0,a.jsx)("i",{className:"desc"===n?"iconfont icon-sanjiaoxing-down font12 ".concat(Ne," ").concat(Oe):"iconfont icon-sanjiaoxing-down font12 ".concat(Ne),onClick:function(){return o("asc"===n?"desc":"asc")}})})]})]})},Fe=n(82242),ze=n.n(Fe),Ue=n(7557),He=n.n(Ue),qe=n(41498),We=n.n(qe),Ze=n(39647),Ge=n.n(Ze),Ve={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},Ye=n(99571),Ke=["className","style","children","loading","openLoading","onClick","size","shape"],Xe=function(e){var t=e.className,n=e.style,i=e.children,o=e.loading,s=void 0!==o&&o,c=e.openLoading,l=e.onClick,d=void 0===l?function(){}:l,f=e.size,p=void 0===f?"middle":f,h=e.shape,m=void 0===h?"round":h,g=Ge()(e,Ke),v=(0,r.useState)(!1),y=u()(v,2),b=y[0],x=y[1];return(0,a.jsx)(Ye.ZP,ze()(ze()({onClick:(0,j.throttle)(function(){var e=We()(He()().mark((function e(t){return He()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c&&x(!0),e.prev=1,e.next=4,d(t);case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),console.log("error",e.t0);case 9:c&&x(!1);case 10:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(t){return e.apply(this,arguments)}}(),2e3,{leading:!0,trailing:!1}),className:_()(Ve.btn,Ve["".concat(p,"-").concat(m)],t),style:n,size:p,shape:m,loading:b||s},g),{},{children:i}))},Qe="head___ghH72",Je="node___mjPEy",$e=function(e){var t=e.className,n=e.style,r=e.children,i=void 0===r?null:r,o=e.onClick,s=e.title;return(0,a.jsxs)("div",{className:_()(Qe,t),style:n,children:[(0,a.jsxs)("span",{className:"primary-hover",onClick:o,children:[(0,a.jsx)("i",{className:"iconfont icon-fanhui2 font12"}),"返回"]}),(0,a.jsx)("b",{title:s,children:s}),(0,a.jsx)("div",{className:Je,children:i})]})},et="btns___sNgTb",tt="confirm___Ozirl",nt="cancel___aiq1I",rt=function(e){var t=e.confirmShow,n=void 0===t||t,r=e.confirmTitle,i=e.confirmClick,o=e.cancelShow,s=void 0===o||o,c=e.cancelTitle,l=e.cancelClick,u=e.className,d=e.style,f=e.confirmLoading,p=void 0!==f&&f;return(0,a.jsxs)("div",{className:_()(et,u),style:d,children:[n&&(0,a.jsx)(Ye.ZP,{loading:p,onClick:i,type:"primary",className:tt,children:r}),s&&(0,a.jsx)(Ye.ZP,{onClick:l,className:nt,children:c})]})},it={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},ot=function(e){var t=e.className,n=e.style,r=void 0===n?{}:n,i=e.LeftContent,o=e.children,s=e.RightContent;return(0,a.jsx)("div",{className:_()(it.fixedBottom,t),style:r,children:(0,a.jsxs)("div",{className:it.wrap,children:[(0,a.jsx)("div",{className:it.left,children:i}),(0,a.jsx)("div",{className:it.center,children:o}),(0,a.jsx)("div",{className:it.right,children:s})]})})},st="crumbs___V41Oe",at="hover___bEIVd",ct=function(e){var t=e.className,n=e.style,i=void 0===n?{}:n,o=e.dataSource,s=void 0===o?[]:o;return(0,a.jsx)("div",{className:_()(st,t),style:i,children:s.map((function(e,t){return t<s.length-1?(0,a.jsxs)(r.Fragment,{children:[e.path||e.onClick?(0,a.jsx)("span",{className:at,onClick:null!=e&&e.onClick?e.onClick:function(){return Ce.history.push(e.path)},children:e.name}):(0,a.jsx)("span",{children:e.name}),(0,a.jsxs)("span",{children:[" ",">"," "]})]},t):(0,a.jsx)("span",{style:{color:"#5F6368"},children:e.name},t)}))})},lt=n(11938),ut=["onChange"],dt=lt.Z.Countdown,ft=function(e){var t=e.onChange,n=Ge()(e,ut),i=(0,r.useState)(null),o=u()(i,2),s=o[0],c=o[1];(0,r.useEffect)((function(){"number"==typeof s&&s>=0&&t(s)}),[s]);return(0,a.jsx)(dt,ze()(ze()({},n),{},{onChange:function(e){var t=Math.floor(e/1e3);c(t)}}))}},22336:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59301);function i(e,t){var n=(0,r.useRef)();(0,r.useEffect)((function(){n.current=e})),(0,r.useEffect)((function(){if(null!==t){var e=setInterval((function(){n.current()}),t);return function(){return clearInterval(e)}}}),[t])}},99541:function(e,t,n){"use strict";var r=n(31468),i=n.n(r),o=n(7557),s=n.n(o),a=n(41498),c=n.n(a),l=n(79800),u=n.n(l),d=n(59301),f=n(11938),p=n(71051),h=n(28284),m=n(62957),g=n(29787),v=n(54172),y=n(37568),b=n(77019),x=n(5269),w=n(99571),_=n(94280),j=n(56656),S=n.n(j),C=n(53260),A=n(83287),k=n(70471),E=n(7338),T=n(87665),M=n(37712),D=(f.Z.Countdown,function(e){var t=e.value,n=e.onChange,r=e.MaxMinutes;return(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"p10 mb20",style:{background:"#F6F7F9"},children:["1.只有当考试截止时间晚于学生的交卷截止时间时,才支持对学生进行延时操作;",(0,M.jsx)("br",{}),"2.每个学生的最大可延时时间=考试截止时间-学生当前的交卷截止时间。",(0,M.jsx)("br",{})]}),(0,M.jsx)(p.Z,{value:t,onChange:n,min:0,precision:0,max:r,style:{width:"100%"},placeholder:"最大可延长时间为".concat(r,"分钟,在学生剩余时间基础上延时"),addonAfter:"分钟"})]})});t.Z=(0,C.connect)((function(e){return{exercise:e.exercise}}))((function(e){var t,n,r,o,a=e.exercise,l=e.successCb,f=e.dispatch,p=(0,C.useParams)(),j=h.Z.useForm(),O=u()(j,1)[0],N=h.Z.useWatch("time",O),L=(0,d.useState)(!1),I=u()(L,2),R=I[0],P=I[1],B=(0,d.useRef)(),F=a.actionTabs,z=(0,d.useState)(),U=u()(z,2),H=U[0],q=U[1],W=(0,T.U)(_.n7,{id:p.categoryId}),Z=u()(W,4),G=Z[1],V=Z[2],Y=Z[3],K=(0,T.U)(_.Cd,{}),X=u()(K,3),Q=X[1],J=X[2];(0,d.useEffect)((function(){"student-unlock"===a.actionTabs.key&&(P(!1),O.resetFields())}),[a.actionTabs.key]);var $=function(){var e=c()(s()().mark((function e(){var t,n,r,i,o,a,u;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O.validateFields();case 2:if(o=O.getFieldsValue(),P(!0),!("no"!==(null==F||null===(t=F.exerciseParams)||void 0===t?void 0:t.ip_limit)||null!=F&&null!==(n=F.exerciseParams)&&void 0!==n&&n.ip_bind_type)){e.next=7;break}return e.next=7,new Promise(function(){var e=c()(s()().mark((function e(t){var n,r;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,k.y)({ip_limit:null==F||null===(n=F.exerciseParams)||void 0===n?void 0:n.ip_limit,ip_bind:null==F||null===(r=F.exerciseParams)||void 0===r?void 0:r.ip_bind_type});case 2:return B.current=e.sent,e.abrupt("return",t());case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 7:return e.next=9,(0,_.ZD)(null==F||null===(r=F.exerciseParams)||void 0===r?void 0:r.id,{exercise_user_id:null==F||null===(i=F.exerciseParams)||void 0===i?void 0:i.exercise_user_id,unlock_key:o.unlock_key,time:o.time,ip:B.current});case 9:if(0!==e.sent.status){e.next=18;break}if(!l){e.next=15;break}return f({type:"exercise/setActionTabs",payload:{}}),l(),e.abrupt("return");case 15:u=null==F?void 0:F.exerciseParams,(0,A.nr)({inner_ip:u.inner_ip,public_ip:u.public_ip,open_camera:u.open_camera,ip_limit:u.ip_limit,ip_bind:u.ip_bind,ip_bind_type:u.ip_bind_type,exercise_tips:u.exercise_tips,exerciseId:u.id,screen_open:u.screen_open,screen_num:u.screen_num,screen_sec:u.screen_sec,coursesId:p.coursesId,login:null===(a=(0,E.eY)())||void 0===a?void 0:a.login,history:history,identity_verify:u.identity_verify,open_phone_video_recording:u.open_phone_video_recording,current_status:u.current_status}),f({type:"exercise/setActionTabs",payload:{}});case 18:P(!1);case 19:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ee=[{title:"IP地址",dataIndex:"ip",key:"ip",render:function(e){return(0,M.jsx)("span",{className:e.indexOf("异常")>-1?"c-red":"c-green",children:e})}},{title:"浏览器",dataIndex:"browser",key:"browser",render:function(e){return(0,M.jsx)("span",{className:e.indexOf("异常")>-1?"c-red":"c-green",children:e})}},{title:"上次登录时间",dataIndex:"last_login_time",key:"last_login_time"}],te=(null==F||null===(t=F.exerciseParams)||void 0===t?void 0:t.errorMessage)&&"object"===i()(null==F||null===(n=F.exerciseParams)||void 0===n?void 0:n.errorMessage);(0,d.useEffect)((function(){"student-unlock"===a.actionTabs.key&&c()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,J(p);case 2:return t=e.sent,e.next=5,V({});case 5:t.status||q(t);case 6:case"end":return e.stop()}}),e)})))()}),[a.actionTabs.key]);var ne=(null==H?void 0:H.exercise)||{},re=ne.time,ie=ne.end_time,oe=null!=Y&&Y.user_end_time?S()(null==Y?void 0:Y.user_end_time).add(1,"minutes"):S()(),se=S()(null==Y?void 0:Y.user_total_end_time)>oe?Math.round(S().duration(S()(null==Y?void 0:Y.user_total_end_time).diff(oe.startOf("minute"))).asMinutes()):0,ae=((null==Y?void 0:Y.student_left_minutes)||0)+(N||0);return(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(m.Z,{width:514,centered:!0,closable:!(null==F||null===(r=F.exerciseParams)||void 0===r||!r.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"提示",open:"student-unlock"===a.actionTabs.key,footer:null,onCancel:function(){f({type:"exercise/setActionTabs",payload:{}})},children:(0,M.jsxs)(g.Z,{spinning:G||Q,children:[te&&(0,M.jsx)("div",{style:{marginBottom:16},children:"该账号已经存在异常情况,若非本人操作,请联系监考老师说明情况。 "}),!te&&(0,M.jsx)("div",{style:{marginBottom:16},children:"系统检测到您在考试时中途退出,现已将考试锁定。如需继续进行考试, 请尽快联系课堂老师进行解锁!"}),te&&(0,M.jsx)(v.Z,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[(null==F||null===(o=F.exerciseParams)||void 0===o?void 0:o.errorMessage)||{}],columns:ee}),(0,M.jsx)("div",{className:"",children:(0,M.jsxs)(h.Z,{form:O,layout:"vertical",autoComplete:"off",children:[(0,M.jsx)(h.Z.Item,{label:"考试解锁码",name:"unlock_key",rules:[{required:!0,message:"请输入考试解锁码"}],children:(0,M.jsx)(y.Z.Password,{autoComplete:"off",placeholder:"请输入考试解锁码",visibilityToggle:!1})}),-1!==re?(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(h.Z.Item,{name:"time",label:(0,M.jsxs)("span",{children:["延长时间(",(0,M.jsxs)("span",{style:{color:"#9096A3"},children:["当前考试截止时间",S()(null==Y?void 0:Y.user_total_end_time).format("YYYY-MM-DD HH:mm")]}),")"]}),children:(0,M.jsx)(D,{MaxMinutes:se})}),(0,M.jsxs)("div",{className:"mb20",style:{color:"#FA6400"},children:["该学生剩余考试时间:",(0,M.jsx)("span",{className:"ml5",children:G||Q?"--":ae}),"分钟",0!==ae&&(null==Y?void 0:Y.user_end_time)&&(0,M.jsxs)("span",{children:[",交卷截止时间:",(0,M.jsx)("span",{className:"ml5",children:S()(null==Y?void 0:Y.user_end_time).add(N||0,"m").format("YYYY-MM-DD HH:mm:ss")})]})]})]}):(0,M.jsxs)("span",{style:{color:"#F6A53B"},children:[" 当前考试未限制考生答题时长,考试截止时间为 ",S()(ie).format("YYYY-MM-DD HH:mm")]})]})}),(0,M.jsxs)(b.Z,{justify:"space-between",align:"middle",children:[(0,M.jsx)(x.Z,{}),(0,M.jsx)(x.Z,{children:(0,M.jsx)(w.ZP,{loading:R,onClick:$,children:"进入考试"})})]})]})})})}))},13116:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(7557),i=n.n(r),o=n(41498),s=n.n(o),a=n(79800),c=n.n(a),l=n(59301),u=n(53260),d=n(62957),f=n(99571),p=n(29787),h=n(66375),m=n(86009),g=n(92068),v=n(24334),y=n(56656),b=n.n(y),x=n(42826),w=n(37712),_=function(e){var t=e.open,n=e.onClose,r=(0,l.useState)(void 0),o=c()(r,2),a=o[0],y=o[1];console.log((0,u.useLocation)(),33);(0,u.useLocation)();(0,l.useEffect)((function(){if(t){var e=function(){var e=s()(i()().mark((function e(){var n;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,h.X6)(t);case 2:n=e.sent,y(n.data);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[t]);var _=a||{},j=_.status,S=_.created_at,C=_.code,A=(_.name,_.language),k=_.pass_sets_count,E=_.set_count,T=_.error_msg,M=_.output,D=_.input,O=_.expected_output,N=(_.execute_memory,_.user,_.execute_time),L=_.input_file_url,I=_.output_file_url,R=_.is_file,P=_.expected_output_file_url;return(0,w.jsx)(d.Z,{open:t,width:1e3,onCancel:function(){return n(!1)},footer:(0,w.jsx)(f.ZP,{type:"primary",onClick:function(){return n(!1)},children:"关闭"}),centered:!0,children:(0,w.jsx)(p.Z,{spinning:!a,delay:500,children:(0,w.jsx)("div",{className:"record-detail-info",children:a?(0,w.jsx)(w.Fragment,{children:(0,w.jsxs)("div",{className:"record-detail-body",children:[(0,w.jsx)("h2",{children:" 提交记录 "}),(0,w.jsxs)("ul",{className:"record-info",children:[(0,w.jsxs)("li",{children:[" 评测结果:",(0,w.jsx)("span",{className:0===j?"c-green":"c-red",children:m.Im[j]})," "]}),(0,w.jsxs)("li",{children:[" 提交时间:",(0,w.jsx)("span",{children:b()(S).format("YYYY-MM-DD HH:mm:ss")})," "]}),(0,w.jsxs)("li",{children:[" 语言:",(0,w.jsx)("span",{children:A})," "]}),(0,w.jsxs)("li",{children:[" 执行用时:",(0,w.jsxs)("span",{children:[1e3*N,"ms"]})," "]}),(0,w.jsxs)("li",{children:[" ","".concat(j===x.h.HIDE_COMPILE_STATUS?"--":k," / ").concat(E," 个通过的测试用例")," "]})]}),(0,m.gZ)({status:j,error_msg:T,execute_time:N,output:M,input:D,expected_output:O,input_file_url:L,output_file_url:I,is_file:R,expected_output_file_url:P}),(0,w.jsx)("h2",{children:" 提交的内容 "}),(0,w.jsx)(g.ZP,{height:"200px",width:"100%",language:null==A?void 0:A.toLocaleLowerCase(),value:v.Base64.decode(C),options:{readOnly:!0}})]})}):null})})})}},37092:function(e,t,n){"use strict";n.d(t,{Im:function(){return L},Y4:function(){return I}});var r=n(79800),i=n.n(r),o=n(7557),s=n.n(o),a=n(41498),c=n.n(a),l=n(85573),u=n.n(l),d=n(59301),f=n(37568),p=n(6767),h=n(99571),m=n(27392),g=n(24334),v=n(5216),y=n(48049),b=n(74889),x=n(83287),w=n(34376),_=n(94171),j=n(53260),S=n(13116),C=n(70717),A=n(66375),k=n(56969),E=n(32831),T=n(92310),M=n.n(T),D=n(81286),O=n(37712),N=f.Z.TextArea,L=u()(u()(u()(u()(u()(u()(u()({},m.h.HIDE_COMPILE_STATUS,"暂不支持查看"),m.h.NOMATCH,"测试用例结果不匹配"),m.h.OK,"调试通过"),2,"调试超时"),3,"调试pod失败"),4,"编译失败"),5,"执行失败");function I(e){var t=e.status,n=e.error_msg,r=e.output,i=e.input,o=e.expected_output,a=e.is_file,l=e.input_file_url,u=e.output_file_url,f=e.expected_output_file_url,p=e.setMonacoValue,h=e.setData,y=e.highlightEndEntry,j=(0,d.useRef)(),S=(0,d.useRef)(),C=(0,d.useRef)(),A=null,k={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,d.useEffect)((function(){if(r&&!a&&j.current){var e=new w.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});e.open(j.current);var t=(y?x.jl:x.pp)(g.Base64.decode(r));e.write(t),e.setOption("theme",{background:"#1e1e1e"})}if(i&&!a&&S.current){var n=new w.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});n.open(S.current),n.write((y?x.jl:x.pp)(i)),n.setOption("theme",{background:"#1e1e1e"})}if(o&&!a&&C.current){var s=new w.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});s.open(C.current),s.write((y?x.jl:x.pp)(g.Base64.decode(o))),s.setOption("theme",{background:"#1e1e1e"})}}),[r]),t){case m.h.NOMATCH:A=(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("p",{className:"c-red",children:"实际输出:"}),!a&&(0,O.jsx)("div",{ref:j}),a&&(0,O.jsx)("div",{style:k,children:(0,O.jsx)("a",{style:{fontSize:"16px"},onClick:c()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,_.ZP)(u,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});case 2:t=e.sent,p(t),setTimeout((function(){h(u)}),200);case 5:case"end":return e.stop()}}),e)}))),children:r})}),(0,O.jsx)("p",{className:"c-red",children:"预期输出:"}),!a&&(0,O.jsx)("div",{ref:C}),a&&(0,O.jsx)("div",{style:k,children:(0,O.jsx)("a",{style:{fontSize:"16px"},onClick:c()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(f,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});case 2:return t=e.sent,e.t0=p,e.next=6,t.text();case 6:e.t1=e.sent,(0,e.t0)(e.t1),setTimeout((function(){h(f)}),200);case 9:case"end":return e.stop()}}),e)}))),children:o})})]});break;case m.h.EXECUTEFAILURE:A=(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)("div",{style:{border:"1px #F6F7F9 solid"},children:[(0,O.jsx)("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"},children:"最后执行的输入:"}),!a&&(0,O.jsx)(b.Z,{value:i,style:k}),a&&(0,O.jsx)("div",{style:k,children:(0,O.jsx)("a",{onClick:function(){return(0,x.LR)(l,i)},children:i})})]}),(0,O.jsxs)("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"},children:[(0,O.jsx)("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"},children:"执行出错信息:"}),(0,O.jsxs)("pre",{className:v.Z.error,style:{color:"#E30000",padding:"0 10px"},children:[g.Base64.decode(n),"111"]})]})]});break;case m.h.COMPILEFAILURE:A=(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("p",{children:"执行出错信息:"}),(0,O.jsx)("pre",{className:v.Z.error,children:g.Base64.decode(n)})]});break;case m.h.PODFAILURE:A=(0,O.jsx)("p",{children:"创建pod失败,请稍后重试"});break;case m.h.TIMEOUT:A=(0,O.jsx)("p",{children:"评测超时,请稍后重试"})}return(0,O.jsxs)(O.Fragment,{children:[" ",A," "]})}function R(e){var t=e.status,n=(e.error_msg,e.execute_time,e.output,e.input,e.expected_output,e.is_file,e.input_file_url,e.output_file_url,e.expected_output_file_url,null);switch(t){case m.h.OK:case m.h.NOMATCH:case m.h.EXECUTEFAILURE:case m.h.COMPILEFAILURE:n=(0,O.jsx)("div",{id:"outputResultRef",className:"h100"});break;case m.h.PODFAILURE:n=(0,O.jsx)("p",{children:"创建pod失败,请稍后重试"});break;case m.h.TIMEOUT:n=(0,O.jsx)("p",{children:"评测超时,请稍后重试"})}return(0,O.jsxs)(O.Fragment,{children:[" ",n," "]})}function P(e){var t=e.value,n=e.className;return(0,O.jsx)("span",{className:n,children:t})}t.ZP=function(e){var t=e.input,n=e.is_file,r=e.debuging,o=e.submitting,a=(e.executingMessage,e.debugResult),l=e.onChangeInput,u=e.onDebugCode,f=e.onSubmitCode,b=e.hack,x=e.user,T=e.submitResult,I=e.isWhiteTheme,B=e.topDispatch,F=(0,j.useSearchParams)(),z=i()(F,1)[0],U=(0,j.useParams)(),H=(0,d.useState)(!1),q=i()(H,2),W=q[0],Z=q[1],G=(0,d.useState)(!1),V=i()(G,2),Y=V[0],K=V[1],X=(0,d.useState)(1),Q=i()(X,2),J=Q[0],$=Q[1],ee=(0,d.useState)(!1),te=i()(ee,2),ne=te[0],re=te[1],ie=(0,d.useState)(0),oe=i()(ie,2),se=oe[0],ae=oe[1],ce=(0,d.useState)(!1),le=i()(ce,2),ue=le[0],de=le[1],fe=(0,d.useState)(""),pe=i()(fe,2),he=pe[0],me=pe[1],ge=(0,d.useState)(""),ve=i()(ge,2),ye=ve[0],be=ve[1],xe=(0,d.useRef)(),we=(0,d.useRef)(),_e=(0,d.useRef)(null),je=(0,d.useRef)(null),Se=(0,d.useRef)(null);console.log(T,"submitResult",U);var Ce=T||{},Ae=Ce.status,ke=Ce.id,Ee=Ce.input,Te=Ce.output,Me=Ce.expected_output,De=Ce.is_file,Oe=Ce.input_file_url,Ne=Ce.output_file_url,Le=Ce.expected_output_file_url,Ie=Ce.error_msg;Ce.hack_sets;function Re(){var e=document.getElementById("outputResultRef");if(e){var t,n=e.dataset.text;we.current.reset(),we.current.writeln(n);var r=document.getElementById("outputResultRef").offsetWidth-20,i=(null===(t=we.current)||void 0===t||null===(t=t._core)||void 0===t||null===(t=t._renderService)||void 0===t||null===(t=t.dimensions)||void 0===t?void 0:t.actualCellWidth)||10,o=Math.ceil(r/i);we.current.resize(o,Math.ceil(e.clientHeight/16))}}(0,d.useEffect)((function(){0===Ae&&($(1),ae(0))}),[Ae,ke]),(0,d.useEffect)((function(){var e=function(){var e=c()(s()().mark((function e(){var t,n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,A.rX)(null==U?void 0:U.id,"submit");case 2:0===(null==(t=e.sent)?void 0:t.status)&&(null!=t&&t.data&&0!==(null==t||null===(n=t.data)||void 0===n?void 0:n.status)?(B({type:k.Types.SET_SUBMIT_RESULT,payload:{submitResult:null==t?void 0:t.data}}),$(2),ae(320)):($(1),ae(0)));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[null==U?void 0:U.id]),(0,d.useEffect)((function(){if(xe.current){var e=function(e){i=r.offsetHeight,o=!0,s=e.pageY,Se.current.style.display="block"},t=function(){o=!1,Se.current.style.display="none"},n=function(e){if(o){Re();var t=s-e.pageY,n=i+t;if(n<0&&(n=0),n>window.innerHeight-150&&(n=window.innerHeight-150),1===J)return void ae(n<=34?0:n);console.log(n,"resizeH"),ae(n)}},r=_e.current,i=0,o=!1,s=0,a=document.getElementById("case-y-bar");return null==a||a.addEventListener("mousedown",e),document.addEventListener("mousemove",n),document.addEventListener("mouseup",t),function(){var r=document.getElementById("case-y-bar");null==r||r.removeEventListener("mousedown",e),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",t)}}}),[xe,J]),(0,d.useEffect)((function(){var e=C.Z.subscribe("resize-move-bar",Re);if("exercises"!==z.get("type"))return document.addEventListener((0,D.gH)(),Pe),function(){document.removeEventListener((0,D.gH)(),Pe),e()}}),[]),(0,d.useEffect)((function(){}));var Pe=function(e){(0,D.vp)()||K(!1)},Be=(0,d.useMemo)((function(){if(a){a.status;var e=a.output,t=a.error_msg;return setTimeout((function(){var n="",r=document.getElementById("outputResultRef");e?n=g.Base64.decode(e):t&&(n=g.Base64.decode(t)),we.current=new w.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),we.current.open(r),we.current.onKey((function(e){if("C"===e.domEvent.key.toLocaleUpperCase()&&e.domEvent.ctrlKey){var t;e.domEvent.preventDefault();var n=null===(t=we.current)||void 0===t?void 0:t.getSelection();navigator.clipboard.writeText(n).then((function(){}))}})),r.dataset.text=n,we.current.setOption("convertEol",!0),Re()}),300),(0,O.jsx)(O.Fragment,{children:R(a)})}return null}),[a]);var Fe=function(){var e=c()(s()().mark((function e(t){var n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,_.ZP)("/api/problems/".concat(t,"/start.json"),{method:"get",params:{hack_user_id:null==x?void 0:x.user_id}});case 2:(n=e.sent)&&(window.location.href="/myproblems/".concat(null==n?void 0:n.identifier).concat(window.location.search));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,O.jsxs)(d.Fragment,{children:[(0,O.jsxs)("div",{className:M()(v.Z.case,I&&v.Z.whiteCase),style:{height:se},ref:_e,children:[(0,O.jsx)("div",{className:v.Z.fullMask,ref:Se}),(0,O.jsx)("div",{className:v.Z["resize-y-bar"],id:"case-y-bar",ref:xe,draggable:!1,children:2===J&&(0,O.jsx)("i",{className:"iconfont icon-guangbiao",draggable:!1})}),1===J&&(se<=34?(0,O.jsxs)("div",{onClick:function(){ae(320)},className:v.Z.unfoldBtn,children:["控制台",(0,O.jsx)("i",{className:"iconfont icon-zhankai9 ml10 font12"})]}):(0,O.jsxs)("div",{onClick:function(){ae(0)},className:v.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0},children:["控制台",(0,O.jsx)("i",{className:"iconfont icon-shouqi8 ml10 font12"})]})),(0,O.jsxs)("div",{children:[(0,O.jsxs)("div",{className:v.Z.caseHead,children:[(0,O.jsx)("div",{className:v.Z.dot}),(0,O.jsx)("div",{className:v.Z.text,children:1===J?"调试代码结果":"评测结果"}),2===J&&!o&&"number"==typeof Ae&&(0,O.jsx)(O.Fragment,{children:Ae===m.h.OK?(0,O.jsxs)("div",{className:v.Z.pass,children:[(0,O.jsx)("i",{className:"iconfont icon-tongguo font14 mr5"}),"评测通过"]}):(0,O.jsxs)("div",{className:v.Z.noPass,children:[(0,O.jsx)("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),L[Ae]]})}),(0,O.jsxs)("div",{className:v.Z.btns,children:[2===J&&!o&&(0,O.jsxs)(O.Fragment,{children:[Ae!==m.h.OK&&(0,O.jsxs)("div",{onClick:function(){De?navigator.clipboard.writeText(g.Base64.decode(Ie)).then((function(){p.ZP.success("复制错误信息成功")})):navigator.clipboard.writeText(g.Base64.decode(Te)).then((function(){p.ZP.success("复制错误信息成功")}))},children:[(0,O.jsx)("i",{className:"iconfont icon-fuzhi8"}),"复制错误信息"]}),(0,O.jsxs)("div",{onClick:function(){de(ke)},children:[(0,O.jsx)("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"显示详情"]})]}),"exercises"!==z.get("type")&&(0,O.jsx)("div",{title:"展开/收缩",onClick:function(){return Z(!W),setTimeout((function(){Re()}),300),void(W?ae(320):(ae(window.innerHeight-150),re(!0)))},children:(0,O.jsx)("i",{className:"iconfont icon-".concat(W?"suoxiao1":"fangda")})})]})]}),(0,O.jsx)("div",{style:{display:1===J?"block":"none"},children:r?(0,O.jsx)(y.Z,{style:{color:"#1976d2"},message:"服务启动中..."}):(0,O.jsx)("div",{style:{height:se-34},children:(0,O.jsxs)("div",{className:v.Z.result,children:[(0,O.jsxs)("div",{className:v.Z.left,children:[(0,O.jsxs)("div",{className:v.Z.title,children:[(0,O.jsx)("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),(0,O.jsx)("span",{children:"自定义测试用例"})]}),(0,O.jsx)("div",{className:v.Z.leftNode,children:(0,O.jsx)(N,{placeholder:"请输入自测用例(如果未填写,首次自测运行时,系统会自动填充第一个非隐藏的文本类型的测试用例)",value:n?"":t,onChange:l})})]}),(0,O.jsxs)("div",{className:v.Z.right,children:[(0,O.jsxs)("div",{className:v.Z.title,children:[(0,O.jsx)("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),(0,O.jsx)("span",{children:"代码执行结果"})]}),(0,O.jsx)("div",{className:v.Z.node,children:a?Be:(0,O.jsx)("p",{style:{color:"#8F96B1"},children:"请在左侧输入自定义测试用例的输入值,点击“调试代码”,即可生成代码执行结果"})})]})]})})}),(0,O.jsx)("div",{style:{display:2===J?"block":"none"},children:o?(0,O.jsx)(y.Z,{style:{color:"#1976d2"},message:"服务启动中..."}):(0,O.jsxs)("div",{style:{height:se-34,display:"flex",flexDirection:"column",overflow:"hidden"},children:[(0,O.jsxs)("div",{ref:je,className:v.Z.elseNode,children:[(0,O.jsxs)("div",{className:v.Z.nameWrap,children:[(0,O.jsx)("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),(0,O.jsx)("span",{children:"实际输入"})]}),(0,O.jsxs)("div",{className:v.Z.scroll,children:[(0,O.jsxs)("pre",{className:v.Z.scrollBox,style:ne?{height:Y?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"},children:[!De&&(0,O.jsx)(P,{value:Ee}),De&&(0,O.jsx)("a",{style:{fontSize:"16px"},onClick:c()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(Oe,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});case 2:return t=e.sent,e.t0=be,e.next=6,t.text();case 6:e.t1=e.sent,(0,e.t0)(e.t1),setTimeout((function(){me(Oe)}),200);case 9:case"end":return e.stop()}}),e)}))),children:Ee})]}),Ee&&(0,O.jsx)("div",{className:v.Z.action,children:(0,O.jsx)("span",{onClick:function(){return re(!ne)},children:ne?"收起":"展开"})})]})]}),(0,O.jsxs)("div",{className:v.Z.result,style:{flex:1,overflow:"hidden"},children:[(0,O.jsxs)("div",{className:v.Z.left,children:[(0,O.jsxs)("div",{className:v.Z.title,children:[(0,O.jsx)("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),(0,O.jsx)("span",{children:"预期输出"})]}),(0,O.jsx)("div",{className:v.Z.node,style:{background:"#1B2333",color:"#2ABD8C"},children:(0,O.jsxs)("pre",{children:[!De&&(0,O.jsx)(P,{className:"mb10",value:Me&&g.Base64.decode(Me)||""}),De&&(0,O.jsx)("a",{style:{fontSize:"16px"},onClick:c()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(Le,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});case 2:return t=e.sent,e.t0=be,e.next=6,t.text();case 6:e.t1=e.sent,(0,e.t0)(e.t1),setTimeout((function(){me(Le)}),200);case 9:case"end":return e.stop()}}),e)}))),children:Me})]})})]}),(0,O.jsxs)("div",{className:v.Z.right,children:[(0,O.jsxs)("div",{className:v.Z.title,children:[(0,O.jsx)("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),(0,O.jsx)("span",{children:"实际输出"})]}),(0,O.jsx)("div",{className:v.Z.node,style:{color:Ae===m.h.OK?"#2ABD8C":"#FF2C29"},children:(0,O.jsxs)("pre",{children:[(4===Ae||5===Ae)&&(0,O.jsx)(P,{className:"mb10",value:Ie&&g.Base64.decode(Ie)||""}),4!=Ae&&5!=Ae&&(De?(0,O.jsx)("a",{style:{fontSize:"16px"},onClick:c()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,_.ZP)(Ne,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});case 2:t=e.sent;try{be(t)}catch(e){be("")}setTimeout((function(){me(Ne)}),200);case 5:case"end":return e.stop()}}),e)}))),children:Te}):(0,O.jsx)(P,{className:"mb10",value:Te&&g.Base64.decode(Te)||""}))]})})]})]})]})})]})]}),(0,O.jsxs)("div",{className:M()(v.Z.footer,I&&v.Z.whiteFooter),style:{zIndex:100},children:[(null==b?void 0:b.is_program)&&(null==b?void 0:b.above_question)&&(0,O.jsx)(h.ZP,{className:"mr10",type:"primary",onClick:function(){return Fe(null==b?void 0:b.above_question)},id:"oj-prev",ghost:!0,children:"上一题"}),(null==b?void 0:b.is_program)&&(null==b?void 0:b.under_question)&&(0,O.jsx)(h.ZP,{className:"mr10",type:"primary",onClick:function(){return Fe(null==b?void 0:b.under_question)},id:"oj-next",ghost:!0,children:"下一题"}),(0,O.jsx)(h.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:r||o,loading:r,color:"#2ABD8C",className:"mr10",onClick:function(){var e;null!=b&&b.code&&0!==(null==b||null===(e=b.code)||void 0===e?void 0:e.trim().length)?($(1),ae(320),u()):null===p.ZP||void 0===p.ZP||p.ZP.warning("代码不能为空,请先编写代码后,再进行评测!")},children:"调试代码"}),"8"!==z.get("qtype")&&(0,O.jsx)(h.ZP,{className:v.Z.disabled,type:"primary",icon:(0,O.jsx)("i",{className:"iconfont icon-bofang1"}),loading:o,disabled:r||o,onClick:function(){var e;null!=b&&b.code&&0!==(null==b||null===(e=b.code)||void 0===e?void 0:e.trim().length)?($(2),ae(320),f()):null===p.ZP||void 0===p.ZP||p.ZP.warning("代码不能为空,请先编写代码后,再进行评测!")},children:"评测并提交"})]}),(0,O.jsx)(S.Z,{onClose:de,open:ue}),(0,O.jsx)(E.Z,{close:!0,data:he,type:he.length?"txt":"",onClose:function(){return me("")},monacoEditor:{value:ye,language:"txt",onChange:function(){},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})]})}},56969:function(e,t,n){"use strict";n.r(t),n.d(t,{Types:function(){return Lt},default:function(){return Bt}});var r=n(39647),i=n.n(r),o=n(7557),s=n.n(o),a=n(41498),c=n.n(a),l=n(79800),u=n.n(l),d=n(82242),f=n.n(d),p=n(59301),h=n(53260),m=n(11938),g=n(62957),v=n(29787),y=n(99571),b=n(25399),x=n(77019),w=n(66375),_=n(94280),j=n(81286),S=n(2028),C=n(91689),A=n(87169),k=n(30641),E=n(92068),T=n(82255),M=n(34407),D=n(86048),O=n(6767),N="list___IRN6i",L="copy___qCn9B",I=n(56102),R=n(94171),P=n(37712),B=function(e){var t=e.showResourceCentre,n=e.identifier,r=((0,h.useParams)(),(0,p.useState)(null)),i=u()(r,2),o=i[0],a=i[1];(0,p.useEffect)((function(){t&&l()}),[t]);var l=function(){var e=c()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,R.ZP)("/api/problems/".concat(n,"/attachment_list.json"),{method:"get"});case 2:0==(null==(t=e.sent)?void 0:t.status)&&a(t.data||[]);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,P.jsxs)("div",{className:"tpi-code-setting",children:[(0,P.jsx)("h3",{children:"资源中心"}),!(null!=o&&o.length)&&(0,P.jsx)("div",{className:"tc mt50 c-grey-999",children:"暂无资源数据"}),null==o?void 0:o.map((function(e,t){return(0,P.jsxs)("dl",{className:N,children:[(0,P.jsx)(b.Z,{title:e.title,children:(0,P.jsxs)("dt",{children:[(0,P.jsx)("i",{className:"icon-wenjian4 mr5"}),e.title]})}),(0,P.jsx)("dd",{children:(0,P.jsx)(I.CopyToClipboard,{text:e.saved_file_path,onCopy:function(){return O.ZP.success("复制成功")},children:(0,P.jsx)("span",{className:"".concat(L," current"),children:"点击复制"})})})]},t)}))]})},F={theme:(0,M.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,M.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,M.G)("cmTabToSpace",!0),showResourceCentre:!1},z=function(e){return e[e.set_font_size=0]="set_font_size",e[e.set_theme=1]="set_theme",e[e.on_tab_to_space=2]="on_tab_to_space",e[e.set_show_editor_setting=3]="set_show_editor_setting",e[e.set_show_respurce_center=4]="set_show_respurce_center",e}(z||{});function U(e,t){switch(t.type){case z.set_show_editor_setting:return f()(f()({},e),{},{showEditorSetting:t.payload});case z.set_theme:return f()(f()({},e),{},{theme:t.payload});case z.set_font_size:return f()(f()({},e),{},{fontSize:t.payload});case z.on_tab_to_space:return f()(f()({},e),{},{tabToSpace:t.payload});case z.set_show_respurce_center:return f()(f()({},e),{},{showResourceCentre:t.payload});default:throw new Error}}var H=function(e){var t=e.isLoading,n=e.value,r=e.onChange,i=e.language,o=e.onUpdateCode,s=e.ActionBarRender,a=e.setIsWhiteTheme,c=e.identifier,l=(0,p.useReducer)(U,F),d=u()(l,2),h=d[0],m=d[1],g=h.theme,v=h.fontSize,y=h.showEditorSetting,b=h.tabToSpace,x=h.showResourceCentre,w=(0,p.useRef)(),_=(0,p.useRef)();(0,p.useEffect)((function(){a("vs"===g)}),[g]);var j={onFontSizeChange:function(e){m({type:z.set_font_size,payload:e}),(0,M.t)("cmFontSize",e)},tabToSpace:b,cmFontSize:v,className:"oj",cmCodeMode:g,onTabToSpace:function(e){m({type:z.on_tab_to_space,payload:e}),(0,M.t)("cmTabToSpace",e)},onCodeModeChange:function(e){m({type:z.set_theme,payload:e}),(0,M.t)("ProgrammingCodeMode",e)}};var S={value:n,language:i,theme:g,options:{fontSize:v,insertSpaces:b},onChange:function(e){r(e),_.current=e,clearTimeout(w.current),w.current=setTimeout((function(){o(_.current)}),1e4)},onEditBlur:function(e){_.current&&o(_.current)}};return(0,P.jsxs)(p.Fragment,{children:[s((function(){m({type:z.set_show_editor_setting,payload:!0})}),(function(){m({type:z.set_show_respurce_center,payload:!0})})),(0,P.jsx)("div",{style:{flex:1,overflow:"hidden"},children:!t&&(0,P.jsx)(E.ZP,f()({},S))}),(0,P.jsx)(T.Z,{children:(0,P.jsx)(k.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:y,onClose:function(){m({type:z.set_show_editor_setting,payload:!1})},children:(0,P.jsx)(D.Z,f()({},j))})}),(0,P.jsx)(T.Z,{children:(0,P.jsx)(k.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:x,onClose:function(){m({type:z.set_show_respurce_center,payload:!1})},children:(0,P.jsx)(B,{showResourceCentre:x,identifier:c})})})]})},q=n(60141),W=n(24334),Z=n(37092),G="left-panel___SKGyd",V="tab-panel-body___gABdv",Y="b1___QpbmK",K="s-navs___FXwOi",X="bg-white___kbZ6r",Q="active___QGOnZ",J="list___PXTsq",$="btns___F8yZK",ee="drawer___xdGaT",te="tour___oMkVh",ne="pagination___yDAjZ",re=n(54172),ie=n(13747),oe=n(58617),se=n(13116),ae=n(56656),ce=n.n(ae),le=re.Z.Column,ue=function(e){e.submitResult;var t=e.submitting,n=e.submitRecords,r=e.page,i=e.onPageChange,o=(e.topicId,(0,h.useSearchParams)()),s=u()(o,1)[0],a=n||{},c=a.records,l=a.records_count,d=(0,p.useState)(!1),f=u()(d,2),m=f[0],g=f[1],y="1"===s.get("type");return(0,P.jsxs)(v.Z,{spinning:t,tip:"评测中...",indicator:(0,P.jsx)(oe.Z,{style:{fontSize:24},spin:!0}),children:[(null==c?void 0:c.length)>0?(0,P.jsxs)(re.Z,{dataSource:c,rowKey:"id",pagination:!1,children:[(0,P.jsx)(le,{title:"提交时间",dataIndex:"created_at",render:function(e,t){return(0,P.jsxs)("span",{children:[" ",ce()(e).format("YYYY-MM-DD HH:mm:ss")]})}},"created_at"),(0,P.jsx)(le,{title:"评测结果",dataIndex:"status",render:function(e,t){var n;return(0,P.jsx)("span",{className:"".concat(0===e?"c-green":"c-red"," current"),onClick:function(){g(t.id)},children:null===(n=Z.Im[e])||void 0===n?void 0:n.replace("调试","评测")})}},"status"),(0,P.jsx)(le,{title:"执行用时 (".concat(y?"MS":"S",")"),dataIndex:"execute_time",render:function(e){return e?y?e:e/1e3:""}},"execute_time"),(0,P.jsx)(le,{title:"内存消耗(".concat(y?"KB":"MB",")"),dataIndex:"execute_memory",render:function(e){return e?y?e:parseFloat((e/1024).toFixed(2)):""}},"execute_memory"),(0,P.jsx)(le,{title:"语言",dataIndex:"language"},"language"),(0,P.jsx)(le,{title:"操作",dataIndex:"status",render:function(e,t){return(0,P.jsx)("span",{className:"c-light-primary current",onClick:function(){g(t.id)},children:"查看"})}},"status")]}):(0,P.jsx)("div",{style:{height:300,width:"100%"}}),(0,P.jsx)(se.Z,{onClose:g,open:m}),l>15?(0,P.jsx)(ie.Z,{className:ne,current:r,pageSize:15,total:l,onChange:i}):null]})},de=n(13767),fe=n(96599),pe="desc___iOAgd",he="info___GPALq",me="info_tag___CFEn8",ge=n(74889),ve={1:{name:"简单",color:"#52c41a"},2:{name:"中等",color:"#faad14"},3:{name:"困难",color:"#f5222d"}},ye=function(e){var t=e.hack,n=t.language,r=t.difficult,i=t.time_limit,o=t.description,s=(0,h.useSearchParams)(),a=u()(s,1)[0],c=ve[r];return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)("ul",{className:he,children:[(0,P.jsxs)("li",{children:["编程语言 ",(0,P.jsx)("b",{className:me,children:n})]}),(0,P.jsxs)("li",{children:[(0,P.jsx)("span",{className:"ml20",children:"难度"})," ",(0,P.jsx)(fe.Z,{color:null==c?void 0:c.color,children:null==c?void 0:c.name})]}),(0,P.jsxs)("li",{children:[(0,P.jsx)("span",{className:"ml20",children:"单个测试集评测时长限制"})," ",(0,P.jsxs)("span",{style:{color:"#333333"},children:[i,"秒"]})]})]}),"8"===a.get("qtype")?(0,P.jsx)(ge.Z,{value:o,showProgramFill:!0,className:pe}):(0,P.jsx)(ge.Z,{value:o,className:pe})]})},be={},xe=function(e){var t=e.hack;e.current_user;return(0,P.jsx)("div",{className:be.answer,children:null!=t&&t.answer_text?(0,P.jsx)(ge.Z,{style:{padding:"13px 0"},value:(null==t?void 0:t.answer_text)||""}):(0,P.jsx)(de.Z,{customText:"暂未设置参考答案~"})})},we=n(70717),_e=n(37205),je=n.n(_e);function Se(e,t){return(0,R.U2)("/problems/".concat(e,"/comments.json"),{page:t,limit:10})}function Ce(e){return(0,R.v_)("/discusses/".concat(e,"/plus.json"),{container_type:"Discuss",type:1})}function Ae(e,t,n){return(0,R.v_)("/problems/".concat(e,"/comments/reply.json"),{comments:{content:n,parent_id:t}})}function ke(e,t){return(0,R.v_)("/problems/".concat(e,"/comments.json"),{comments:{content:t}})}function Ee(e,t,n){return(0,R.v_)("/problems/".concat(e,"/comments/").concat(t,"/hidden.json"),n)}function Te(e,t){return(0,R.IV)("/problems/".concat(e,"/comments/").concat(t))}var Me=n(56467);function De(e){var t=e.author;return(0,P.jsx)("a",{href:"/users/".concat(t.login),target:"_blank",children:(0,P.jsx)("img",{alt:"用户头像",height:"50",style:{borderRadius:"50%"},src:"".concat(C.Z.IMG_SERVER,"/images/").concat(t.image_url),width:"50"})})}function Oe(e){var t=e.data,n=e.index,r=e.parentDiscussIndex,i=e.user,o=e.onSetActionType,s=t.author,a=t.can_delete,c=t.content,l=t.id,u=t.time;var d=i.admin||a||s.user_id===i.user_id;return(0,P.jsxs)("div",{className:"discuss-item-container second-discuss ",children:[(0,P.jsx)(De,{author:s}),(0,P.jsxs)("section",{children:[(0,P.jsxs)("div",{className:"discuss-info",children:[(0,P.jsx)("a",{href:"/users/".concat(s.login),target:"_blank",children:s.name}),(0,P.jsx)("span",{className:"grey",children:u}),(0,P.jsx)("div",{className:"btn-group",style:{marginBottom:0},children:d?(0,P.jsx)("a",{onClick:function(){o({id:l,index:n,type:"delete-discuss",parentDiscussIndex:r,message:"确定要删除该条回复吗"})},title:"删除",children:(0,P.jsx)("i",{className:"iconfont icon-shanchu"})}):null})]}),(0,P.jsx)(ge.Z,{className:"discuss-content",value:c})]})]})}var Ne=function(e){var t=e.user,n=e.data,r=e.index,i=e.onPlusDiscuss,o=e.onSetActionType,s=e.activeDiscussIndex,a=e.onReplyDiscuss,c=e.onSetActiveDiscussIndex,l=n.content,u=n.children,d=n.hidden,f=n.id,p=n.praise_count,h=n.time,m=n.user_praise,g=n.can_delete,v=n.author;var y=t.admin||t.user_id===v.user_id;return(0,P.jsxs)("div",{className:"discuss-item-container",children:[(0,P.jsx)(De,{author:v}),(0,P.jsxs)("section",{children:[(0,P.jsxs)("div",{className:"discuss-info",children:[(0,P.jsxs)("a",{href:"/users/".concat(v.login),target:"_blank",children:[" ",v.name," "]}),(0,P.jsx)("span",{className:"grey",children:h})]}),(0,P.jsx)(ge.Z,{className:"discuss-content",value:l}),u&&u.length>0?(0,P.jsx)("div",{className:"reply-discuss-container",children:u.map((function(e,n){return(0,P.jsx)(Oe,{data:e,index:n,user:t,onSetActionType:o,parentDiscussIndex:r},e.id)}))}):null,(0,P.jsxs)("div",{className:"btn-group",children:[y?(0,P.jsx)("a",{onClick:function(){o({id:f,index:r,params:{hidden:d?"0":"1"},type:"hidden-discuss",message:d?"确定要取消隐藏该条回复吗":"确定要隐藏该条回复吗"})},title:d?"取消隐藏":"隐藏评论",children:(0,P.jsx)("i",{className:d?"iconfont icon-yincangbiyan":"fa fa-eye"})}):null,!g||u&&0!=u.length?null:(0,P.jsx)("a",{onClick:function(){o({id:f,index:r,type:"delete-discuss",message:"确定要删除该条回复吗"})},title:"删除",children:(0,P.jsx)("i",{className:"iconfont icon-shanchu"})}),(0,P.jsxs)("a",{onClick:function(){c(f)},title:"回复",children:[" ",(0,P.jsx)("i",{className:"iconfont icon-huifu1"})," "]}),(0,P.jsxs)("a",{onClick:function(){i(f,!m,r)},className:m?"c-orange":"",children:[(0,P.jsx)("i",{className:m?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),(0,P.jsx)("span",{children:p||""})]})]}),(0,P.jsx)(Me.Z,{id:f,activeDiscussIndex:s,onReplyDiscuss:a})]})]},f)},Le=n(91594),Ie="dis-input-editor-container___nKGxx",Re="active___tmt7T",Pe="input-mask___epEle",Be="text-area___Vry8W",Fe="tip-container___plpA3",ze="md-container___u85aq",Ue="btn-send___deQ5v",He=n(58358),qe=function(e){var t=e.user_praise,n=e.praise_count,r=e.praisePlus,i=e.onCreateDiscuss,o=e.discuss_count,a=(0,p.useState)(!1),l=u()(a,2),d=l[0],f=l[1],h=(0,p.useState)(""),m=u()(h,2),g=m[0],v=m[1];function y(){f(!1)}function b(){return(b=c()(s()().mark((function e(){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i(g),v(""),f(!1);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,P.jsxs)("div",{className:"".concat(Ie," ").concat(d?Re:""," "),children:[(0,P.jsxs)("div",{className:d?"hide ".concat(Be):Be,children:[(0,P.jsx)("input",{placeholder:"说点什么",onClick:function(){f(!0)}}),(0,P.jsxs)("a",{children:[" ",(0,P.jsx)("i",{className:"iconfont icon-huifu1"})," ",o," "]}),(0,P.jsxs)("a",{className:"c-light-black",onClick:r,title:t?"取消点赞":"点赞",children:[(0,P.jsx)("i",{className:"mr3 ".concat(t?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"," ")}),n?(0,P.jsx)("span",{children:n}):""]})]}),d?(0,P.jsx)("div",{className:Pe,onClick:y}):null,(0,P.jsxs)("div",{className:d?ze:"".concat(ze," hide"),children:[(0,P.jsx)(He.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:g,height:240,onChange:function(e){v(e)}}),(0,P.jsx)("div",{className:Fe,onClick:y,children:(0,P.jsx)("a",{className:Ue,onClick:function(){return b.apply(this,arguments)},children:" 发送 "})})]})]})},We={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null},Ze=function(e){return e[e.GET_DISCUSSES=0]="GET_DISCUSSES",e[e.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",e[e.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",e[e.PLUS_DISCUSS=3]="PLUS_DISCUSS",e[e.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",e[e.SET_PAGE=5]="SET_PAGE",e[e.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",e}(Ze||{});function Ge(e,t){switch(t.type){case Ze.SHOW_DISCUSSES_LOADING:return f()(f()({},e),{},{loading:!0});case Ze.GET_DISCUSSES:case Ze.TOP_OR_DOWN_DISCUSS:case Ze.SET_ACTION_TYPE:case Ze.PLUS_DISCUSS:return f()(f()({},e),t.payload);case Ze.SET_PAGE:return f()(f()({},e),{},{page:t.payload});case Ze.ACTIVE_DISCUSS_INDEX:return f()(f()({},e),t.payload);default:throw new Error}}var Ve=function(e){var t=e.user,n=e.identifier,r=e.hack,i=e.onTriggerPraise,o=e.activeIndex,a=(0,p.useReducer)(Ge,We),l=u()(a,2),d=l[0],f=l[1],h=(d.loading,d.page),m=d.data,v=d.count,y=d.actionType,b=d.activeDiscussIndex,x=(0,p.useCallback)(c()(s()().mark((function e(){var t,r,i;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f({type:Ze.SHOW_DISCUSSES_LOADING}),e.next=3,Se(n,h);case 3:t=e.sent,r=t.comments,i=t.disscuss_count,f({type:Ze.GET_DISCUSSES,payload:{data:r,count:i,loading:!1}});case 6:case"end":return e.stop()}}),e)}))),[h,n]);function w(e){f({type:Ze.SET_ACTION_TYPE,payload:{actionType:e}})}function _(e){f(b===e?{type:Ze.ACTIVE_DISCUSS_INDEX,payload:{activeDiscussIndex:null}}:{type:Ze.ACTIVE_DISCUSS_INDEX,payload:{activeDiscussIndex:e}})}function j(e,t,n){return S.apply(this,arguments)}function S(){return(S=c()(s()().mark((function e(t,n,r){var i;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Ce(t);case 3:i=e.sent,m[r].user_praise=n,m[r].praise_count=i.praise_count,f({type:Ze.PLUS_DISCUSS,payload:{data:je()(m)}}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}function C(){return(C=c()(s()().mark((function e(){var t,r,i,o,a,c,l,u;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=y.id,r=y.params,i=y.type,o=y.index,a=y.parentDiscussIndex,"hidden-discuss"!==i){e.next=6;break}return e.next=4,Ee(n,t,r);case 4:a?m[a].children[o].hidden=1==r.hidden:m[o].hidden=1==r.hidden,f({type:Ze.SET_ACTION_TYPE,payload:{actionType:null,data:je()(m)}});case 6:if("delete-discuss"!==i){e.next=31;break}return e.next=9,Te(n,t);case 9:if(!a&&0!==a){e.next=22;break}c=m[a].children,l=c.length-1;case 12:if(!(l>=0)){e.next=19;break}if(c[l].id!==t){e.next=16;break}return c.splice(l,1),e.abrupt("break",19);case 16:l--,e.next=12;break;case 19:m[a].children=c,e.next=30;break;case 22:u=m.length-1;case 23:if(!(u>=0)){e.next=30;break}if(m[u].id!==t){e.next=27;break}return m.splice(u,1),e.abrupt("break",30);case 27:u--,e.next=23;break;case 30:f({type:Ze.SET_ACTION_TYPE,payload:{actionType:null,data:je()(m)}});case 31:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function A(e,t){return k.apply(this,arguments)}function k(){return(k=c()(s()().mark((function e(t,r){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Ae(n,t,r);case 3:x(),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),console.log(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function E(){return(E=c()(s()().mark((function e(t){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f({type:Ze.SHOW_DISCUSSES_LOADING}),e.next=3,ke(n,t);case 3:x();case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,p.useEffect)((function(){"2"===o&&x()}),[n,h,o]),(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)("div",{className:"discuss-panel",children:[0===m.length?(0,P.jsx)(de.Z,{}):m.map((function(e,n){return(0,P.jsx)(Ne,{onReplyDiscuss:A,onPlusDiscuss:j,onSetActiveDiscussIndex:_,onSetActionType:w,data:e,index:n,user:t,activeDiscussIndex:b})})),v>10?(0,P.jsx)("div",{className:"pagination-container",children:(0,P.jsx)(ie.Z,{showQuickJumper:!0,onChange:function(e){f({type:Ze.SET_PAGE,payload:e})},current:h,total:v})}):null]}),(0,P.jsx)(qe,{user_praise:r.user_praise,praise_count:r.praises_count,praisePlus:i,discuss_count:r.comments_count,onCreateDiscuss:function(e){return E.apply(this,arguments)}}),(0,P.jsxs)(T.Z,{children:[(0,P.jsx)(g.Z,{centered:!0,title:"提示",open:!!y,onOk:function(){return C.apply(this,arguments)},onCancel:function(){f({type:Ze.SET_ACTION_TYPE,payload:{actionType:null}})},children:(0,P.jsx)("p",{children:y?y.message:""})}),(0,P.jsx)(Le.Z,{})]})]})},Ye=n(82326),Ke=n(37568),Xe=n(86743),Qe={},Je=function(e){var t=e.hack;e.current_user;return(0,P.jsx)("div",{className:Qe.answer,children:null!=t&&t.analysis?(0,P.jsx)(ge.Z,{style:{padding:"13px 0"},value:(null==t?void 0:t.analysis)||""}):(0,P.jsx)(de.Z,{customText:"暂未设置题目解析~"})})},$e={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},et=n(8848),tt=n(5269),nt=n(28284),rt=n(71051),it=n(82887),ot=Ke.Z.TextArea,st=et.Z.Panel,at=function(e){var t=e.data,n=e.hack;return console.log(t,n,"data"),null!=n&&n.is_file?(0,P.jsx)(it.Y2,{disabled:!0,className:$e.uploadTableWrapper,showScore:!n.test_set_score,data:t,isProgramHomework:!0}):(0,P.jsx)("div",{className:$e.hackSets,children:null==t?void 0:t.map((function(e,t){return(0,P.jsx)(et.Z,{accordion:!0,bordered:!1,defaultActiveKey:0===t&&e.id,className:$e.collapseWrapper,expandIcon:function(e){var t=e.isActive;return(0,P.jsx)("i",{className:"iconfont icon-weizhankai ".concat(t?$e.open:$e.close),style:{fontSize:14,transition:"all .2s"}})},children:(0,P.jsxs)(st,{header:(0,P.jsxs)(x.Z,{align:"middle",justify:"space-between",wrap:!1,children:[(0,P.jsx)(tt.Z,{className:$e.panelHeader,children:(0,P.jsxs)("span",{children:["测试用例",t+1]})}),(0,P.jsx)(tt.Z,{flex:1,children:(0,P.jsx)(x.Z,{align:"middle",justify:"end",wrap:!1,children:!(null!=n&&n.test_set_score)&&(0,P.jsxs)(tt.Z,{className:$e.rateInput,children:[(0,P.jsx)("span",{className:"mr20",children:"评分占比"}),(0,P.jsx)("div",{children:(0,P.jsx)(nt.Z.Item,{noStyle:!0,children:(0,P.jsx)(rt.Z,{value:null==e?void 0:e.score,className:$e.baseFormItem,min:0,max:100,disabled:!0})})}),(0,P.jsx)("span",{className:"ml10",children:"%"})]})})})]}),children:[(0,P.jsx)(nt.Z.Item,{label:"输入",labelCol:{span:24},children:(0,P.jsx)(ot,{readOnly:!0,value:null==e?void 0:e.input,rows:4})}),(0,P.jsx)(nt.Z.Item,{label:"输出",labelCol:{span:24},children:(0,P.jsx)(ot,{readOnly:!0,value:null==e?void 0:e.output,rows:4})})]},e.id)},t)}))})},ct="tabs___p2jIb",lt="tabWarp___mt05L",ut="tab___IYGdQ",dt="active___fQMlP",ft="content___GWVJY",pt=(0,p.forwardRef)((function(e,t){var n,r=e.data,i=void 0===r?[]:r,o=(0,p.useState)(),s=u()(o,2),a=s[0],c=s[1],l=i.filter((function(e){return e.show}));(0,p.useEffect)((function(){l.length&&c(l[0].id)}),[null==i?void 0:i.length]);var d=(null===(n=l.find((function(e){return e.id===a})))||void 0===n?void 0:n.element)||null;return(0,p.useImperativeHandle)(t,(function(){return{setActiveTab:function(e){return c(e)}}})),(0,P.jsxs)("div",{className:ct,children:[(0,P.jsx)("div",{className:lt,children:l.map((function(e){return(0,P.jsx)("div",{onClick:function(){return c(e.id)},className:"".concat(ut," ").concat(e.id===a?dt:""),children:e.name},e.id)}))}),(0,P.jsx)("div",{className:ft,children:d})]})})),ht={1:"简单",2:"适中",3:"困难"},mt=function(e){var t,n,r=e.hack,i=e.onTriggerPraise,o=e.topicId,a=e.page,l=e.onPageChange,d=e.user,m=e.current_user,g=e.submitRecords,v=e.submitting,w=e.submitResult,_=e.setActiveIndex,j=e.hack_sets,S=(0,h.useSearchParams)(),C=u()(S,1)[0],A=(0,p.useState)("0"),E=u()(A,2),T=E[0],M=E[1],D=((0,h.useLocation)(),(0,p.useState)(!1)),O=u()(D,2),N=O[0],L=O[1],I=(0,p.useState)(null),B=u()(I,2),F=B[0],z=B[1],U=(0,p.useState)([]),H=u()(U,2),q=H[0],W=H[1],Z=(0,p.useState)([]),ne=u()(Z,2),oe=ne[0],se=ne[1],ae=(0,p.useState)({page:1,limit:10}),le=u()(ae,2),fe=le[0],pe=le[1],he=(0,p.useRef)(null),me=(0,p.useRef)(null);console.log(d,"user");var ge=(0,p.useState)(f()(f()({},(0,h.useParams)()),{},{page:1,per_page:20,name:""})),ve=u()(ge,2),be=ve[0],_e=ve[1];function je(){return Se.apply(this,arguments)}function Se(){return(Se=c()(s()().mark((function e(){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,R.ZP)("/api/users/close_tips.json",{method:"post"});case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ce(e){return Ae.apply(this,arguments)}function Ae(){return(Ae=c()(s()().mark((function e(t){var n,r;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("1"!==(n=t.target.id)){e.next=6;break}return e.next=4,(0,R.ZP)("/api/myproblems/".concat(be.id,"/redo_logs.json"),{method:"get",params:f()({},fe)});case 4:0===(null==(r=e.sent)?void 0:r.status)&&se(null==r?void 0:r.data);case 6:M(n);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ke(){return Ee.apply(this,arguments)}function Ee(){return(Ee=c()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,R.ZP)("/api/problems/my_hack_list.json",{method:"get",params:f()({identifier:null==be?void 0:be.id},be)});case 2:t=e.sent,W(t);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(0,p.useEffect)((function(){me.current&&!1===(null==r?void 0:r.is_close_tips)&&null===F&&z(!0)}),[me.current,null==r?void 0:r.is_close_tips,F]),(0,p.useEffect)((function(){_(T)}),[T]),(0,p.useEffect)((function(){return we.Z.subscribe("to-commit-info",(function(){M("1"),he.current&&he.current.setActiveTab("1")}))}),[]),(0,p.useEffect)((function(){return we.Z.subscribe("to-reset-info",(function(){Ce({target:{id:"1"}}),he.current&&he.current.setActiveTab("2")}))}),[]);var Te=[{title:null,description:(0,P.jsxs)("div",{children:[(0,P.jsx)("b",{onClick:function(){z(!1),je(),L(!0),ke()},className:"c-light-primary font16 current",children:"查看题目列表入口"}),(0,P.jsx)("div",{className:"c-grey-333 mt10 mb20",children:"本次作业所需完成的试题都可以在这里找到,并支持点击试题调整到做题页"}),(0,P.jsx)(y.ZP,{onClick:function(){z(!1),je()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary",children:"知道了"})]}),target:function(){return me.current}}];return(0,P.jsxs)("div",{className:G,children:[(0,P.jsxs)("ul",{className:"".concat(K," ").concat(X," ").concat(Y),children:[(null==r?void 0:r.is_program)&&!C.get("pageId")&&(0,P.jsx)(b.Z,{title:"题目列表",children:(0,P.jsx)("div",{onClick:function(){ke(),L(!0)},className:$,ref:me,style:F?{pointerEvents:"none"}:{},children:(0,P.jsx)("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"})})}),(0,P.jsx)("li",{style:{marginLeft:20},children:(0,P.jsx)("a",{className:"0"===T?Q:"",id:"0",onClick:Ce,children:"题目描述"})}),(0,P.jsx)("li",{children:(0,P.jsx)("a",{className:"1"===T?Q:"",id:"1",onClick:Ce,children:"操作记录"})}),("exercises"!==C.get("type")&&(null==r?void 0:r.answer_text_show)||"exercises"!==C.get("type")&&(null==r?void 0:r.analysis_show))&&(0,P.jsx)("li",{children:(0,P.jsx)("a",{className:"4"===T?Q:"",id:"4",onClick:Ce,children:"解答参考"})}),"exercises"!==C.get("type")&&(0,P.jsx)("li",{children:(0,P.jsx)("a",{className:"2"===T?Q:"",id:"2",onClick:Ce,children:"评论"})}),!(null==j||!j.length)&&"exercises"!==C.get("type")&&"1"!==C.get("type")&&(0,P.jsx)("li",{children:(0,P.jsx)("a",{className:"5"===T?Q:"",id:"5",onClick:Ce,children:"测试用例"})})]}),(0,P.jsx)("div",{className:"".concat(V," ").concat("0"===T?"":"hide"),style:{borderRight:"1px #dddddd solid",padding:0},children:(0,P.jsx)(ye,{hack:r,onTriggerPraise:i,toDiscuss:function(){M("2")}})}),(0,P.jsx)("div",{style:{padding:"12px"},className:"".concat(V," ").concat("1"===T?"":"hide"),children:(0,P.jsx)(pt,{ref:he,data:[{id:"1",show:"8"!==C.get("qtype"),name:"提交记录",element:(0,P.jsx)(P.Fragment,{children:null!=g&&g.records_count||v?(0,P.jsx)(ue,{page:a,onPageChange:l,topicId:o,submitting:v,submitRecords:g,submitResult:w},(null==w?void 0:w.id)||1):(0,P.jsx)(de.Z,{})})},{id:"2",show:"exercises"===C.get("type")||(null==r?void 0:r.homework_common_id),name:"重置记录",element:(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(re.Z,{pagination:!1,dataSource:null==oe?void 0:oe.list,columns:[{title:"恢复初始代码时间",dataIndex:"created_at",render:function(e,t,n){return ce()(e).format("YYYY-MM-DD HH:mm:ss")}},{title:"操作人",dataIndex:"operator"},{title:"操作",dataIndex:"redo_type",render:function(e,t,n){var r;return null===(r=[{id:1,name:"打回重做"},{id:2,name:"恢复初始代码"},{id:3,name:"重置代码仓库"}].find((function(t){return t.id===e})))||void 0===r?void 0:r.name}}]}),(0,P.jsx)(ie.Z,{style:{marginTop:10},current:fe.page,total:null==oe?void 0:oe.count,hideOnSinglePage:!0,onChange:function(){var e=c()(s()().mark((function e(t){var n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return fe.page=t,pe(fe),e.next=3,(0,R.ZP)("/api/myproblems/".concat(be.id,"/redo_logs.json"),{method:"get",params:f()(f()({},fe),{},{courseId:be.courseId})});case 3:0===(null==(n=e.sent)?void 0:n.status)&&se(null==n?void 0:n.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()})]})}]})}),(0,P.jsx)("div",{style:{padding:"12px"},className:"".concat(V," ").concat("4"===T?"":"hide"),children:(0,P.jsx)(pt,{data:[{id:"1",show:"exercises"!==C.get("type")&&(null==r?void 0:r.answer_text_show),name:"答案",element:(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(xe,{hack:r,current_user:m})})},{id:"2",show:"exercises"!==C.get("type")&&(null==r?void 0:r.analysis_show),name:"解析",element:(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(Je,{hack:r,current_user:m})})}]})}),(0,P.jsx)("div",{className:"".concat(V," ").concat("2"===T?"":"hide"),style:{padding:0},children:(0,P.jsx)(Ve,{user:d,activeIndex:T,identifier:r.identifier,hack:r,onTriggerPraise:i})}),(0,P.jsx)("div",{className:"".concat(V," ").concat("5"===T?"":"hide"),style:{padding:12},children:(0,P.jsx)(at,{data:j||[],hack:r})}),(0,P.jsxs)(k.Z,{rootClassName:ee,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:function(){return L(!1)},open:N,children:[(0,P.jsxs)(x.Z,{children:[(0,P.jsx)("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16",children:"题目列表"}),(0,P.jsxs)("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10",children:["共",null==q?void 0:q.total_count,"题 [ ",null==q?void 0:q.total_score,"分 ] "]}),!(null!=d&&d.hack_manager)&&(0,P.jsxs)("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12",children:["我的得分 : ",null==q?void 0:q.work_score,"分"]})]}),(0,P.jsx)("div",{style:{height:1,background:"#1C313F",marginTop:12}}),(0,P.jsxs)(x.Z,{align:"middle",className:"mt10 mb10",children:[!(null!=d&&d.hack_manager)&&(0,P.jsxs)(Ye.default,{size:"large",className:"mr10",style:{width:104},placeholder:"通过情况",onChange:function(e){be.page=1,be.finish_status=e,_e(f()({},be)),ke()},children:[(0,P.jsx)(Ye.default.Option,{value:"",children:"全部"}),(0,P.jsx)(Ye.default.Option,{value:0,children:"未开始"}),(0,P.jsx)(Ye.default.Option,{value:1,children:"进行中"}),(0,P.jsx)(Ye.default.Option,{value:2,children:"已完成"})]}),(0,P.jsxs)(Ye.default,{size:"large",className:"mr10",style:{width:104},placeholder:"题目难度",onChange:function(e){be.page=1,be.difficult=e||null,_e(f()({},be)),ke()},children:[(0,P.jsx)(Ye.default.Option,{value:0,children:"全部"}),(0,P.jsx)(Ye.default.Option,{value:1,children:"简单"}),(0,P.jsx)(Ye.default.Option,{value:2,children:"适中"}),(0,P.jsx)(Ye.default.Option,{value:3,children:"困难"})]}),(0,P.jsx)(Ke.Z.Search,{size:"large",onSearch:function(e){be.name=e,be.page=1,_e(f()({},be)),ke()},style:{flex:1},placeholder:"请输入题目名称进行搜索"})]}),(0,P.jsxs)("div",{className:J,style:{height:36,background:"#3D445C"},children:[!(null!=d&&d.hack_manager)&&(0,P.jsx)("span",{children:"状态"}),(0,P.jsx)("span",{children:"序号"}),(0,P.jsx)("span",{style:{flex:1},children:"题目名称"}),(0,P.jsx)("span",{style:{flexBasis:48,paddingRight:0},children:"难度"})]}),(0,P.jsx)("div",{style:{overflow:"auto",flex:1},children:null!=q&&null!==(t=q.data)&&void 0!==t&&t.length?null==q||null===(n=q.data)||void 0===n?void 0:n.map((function(e,t){return(0,P.jsxs)("div",{onClick:c()(s()().mark((function t(){var n;return s()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,R.ZP)("/api/problems/".concat(null==e?void 0:e.identifier,"/start.json"),{method:"get",params:{hack_user_id:null==d?void 0:d.user_id}});case 2:(n=t.sent)&&(h.history.replace("/myproblems/".concat(null==n?void 0:n.identifier).concat(window.location.search)),window.location.reload());case 4:case"end":return t.stop()}}),t)}))),className:"".concat(J," ").concat(null!=e&&e.checked?Q:""),children:[!(null!=d&&d.hack_manager)&&(0,P.jsxs)(P.Fragment,{children:[!(null!=e&&e.opened)&&(0,P.jsx)("span",{style:{color:"#E02020"},children:"未开始"}),(null==e?void 0:e.opened)&&!(null!=e&&e.passed)&&(0,P.jsx)("span",{style:{color:"#FA6400"},children:"进行中"}),(null==e?void 0:e.opened)&&(null==e?void 0:e.passed)&&(0,P.jsx)("span",{style:{color:"#24C074"},children:"已完成"})]}),(0,P.jsx)("span",{children:20*(be.page-1)+(t+1)}),(0,P.jsxs)("span",{style:{flex:1},title:e.name,children:["[".concat(null==e?void 0:e.score,"分]")," ",e.name]}),(0,P.jsx)("span",{style:{flexBasis:48,paddingRight:0},children:ht[e.difficult]})]})})):(0,P.jsx)(de.Z,{})}),(0,P.jsx)(ie.Z,{current:be.page,className:"mt20",hideOnSinglePage:!0,total:null==q?void 0:q.count,pageSize:be.per_page,onChange:function(e,t){be.page=e,be.per_page=t,ke()}})]}),(0,P.jsx)(Xe.Z,{rootClassName:te,closeIcon:!1,open:!!F,steps:Te,gap:{offset:3,radius:2}})]})},gt=n(62522),vt=n(70471),yt=n(34608),bt=n(99541),xt=n(76595),wt=n(74219),_t=n(5216),jt=n(92310),St=n.n(jt),Ct=n(86108),At=n(93073),kt=n(7338),Et=n(64133),Tt=n(50300),Mt=n(88620),Dt=["input","is_file","identifier","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"],Ot=m.Z.Countdown,Nt={Java:"java",C:"c",Python:"py","C++":"c"},Lt=function(e){return e[e.SET_LOADING=0]="SET_LOADING",e[e.GET_DATA=1]="GET_DATA",e[e.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",e[e.SET_DATA=3]="SET_DATA",e[e.SET_DEBUGING=4]="SET_DEBUGING",e[e.SET_SUBMITING=5]="SET_SUBMITING",e[e.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",e[e.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",e[e.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",e[e.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",e[e.SET_PAGE=10]="SET_PAGE",e}({});function It(){return(new Date).getTime()}var Rt={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function Pt(e,t){switch(t.type){case Lt.GET_DATA:return f()(f()({},e),t.payload);case Lt.SET_DATA:return f()(f()({},e),{},{data:t.payload});case Lt.SET_LOADING:return f()(f()({},e),{},{loading:t.payload});case Lt.SET_SHOW_NOTE:return f()(f()({},e),{},{showNote:t.payload});case Lt.SET_DEBUGING:return f()(f()({},e),{},{debuging:t.payload});case Lt.SET_SUBMITING:return f()(f()({},e),{},{submitting:t.payload});case Lt.GET_SUBMIT_RECORDS:return f()(f()({},e),{},{submitRecords:t.payload});case Lt.SET_PAGE:return f()(f()({},e),{},{submitRecordPage:t.payload});case Lt.SET_EXECUTE_MESSAGE:return f()(f()({},e),{},{executingMessage:t.payload});case Lt.SET_EXECUTE_RESULT:case Lt.SET_SUBMIT_RESULT:return f()(f()({},e),t.payload);default:throw new Error}}var Bt=function(e){e.children;var t,n,r,i,o,a,l,d,m,x,A=(0,p.useReducer)(Pt,Rt),k=u()(A,2),E=k[0],T=k[1],M=(0,h.useParams)().id,D=((0,h.useLocation)(),(0,h.useSearchParams)()),O=u()(D,1)[0],N=E.loading,L=E.data,I=E.debugResult,B=E.submitResult,F=E.submitRecords,z=E.submitRecordPage,U=E.showNote,H=E.debuging,q=E.submitting,Z=E.executingMessage,G=(0,p.useState)("#37AD83"),V=u()(G,2),Y=V[0],K=V[1],X=(0,p.useState)(null),Q=u()(X,2),J=Q[0],$=Q[1],ee=(0,p.useState)({}),te=u()(ee,2),ne=te[0],re=te[1],ie=(0,p.useState)(!0),oe=u()(ie,2),se=oe[0],ae=oe[1],ce=(0,p.useState)(!1),le=u()(ce,2),ue=le[0],de=le[1],fe=(0,p.useState)(!1),pe=u()(fe,2),he=pe[0],me=pe[1],ge=(0,p.useRef)(null),ve=(0,p.useRef)(0),ye=null==L?void 0:L.user,be=null==L?void 0:L.hack,xe=(0,p.useState)(!1),_e=u()(xe,2),je=_e[0],Se=_e[1],Ce=(0,p.useRef)(1),Ae=(0,p.useRef)(!1);(0,Ct.y)("exercises"===O.get("type"));var ke=(0,Ct.X)().setOpenDisableCopyAndPaste,Ee=(0,p.useState)(""),Te=u()(Ee,2),Me=Te[0],De=Te[1],Oe=(0,xt._)(ne),Ne=(0,p.useState)({open:!1,text:""}),Le=u()(Ne,2),Ie=Le[0],Re=Le[1],Pe=(0,p.useState)(null),Be=u()(Pe,2),Fe=Be[0],ze=Be[1],Ue=(0,p.useRef)(null);(0,p.useEffect)((function(){var e,t=null==be||null===(e=be.homework_extension)||void 0===e?void 0:e.failed_evaluate_num;"number"==typeof t&&ze(t)}),[null==be||null===(t=be.homework_extension)||void 0===t?void 0:t.failed_evaluate_num]),(0,p.useEffect)((function(){function e(){return(e=c()(s()().mark((function e(){var t,n,r,i,o,a,c;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ae(!0),e.next=3,(0,w.fu)(M,{exercise_id:O.get("exercisesId")});case 3:if(t=e.sent,setTimeout((function(){ae(!1)}),800),401===t.status);else{try{t.hack.code=W.Base64.decode(t.hack.code)}catch(e){console.log(e)}t.hack=f()(f()({},t.hack),{},{is_program:"1"===O.get("type")}),T({type:Lt.GET_DATA,payload:{loading:!1,data:t}})}if("exercises"!==O.get("type")){e.next=22;break}if(window.self!==window.top){e.next=10;break}return window.top.location.href="/",e.abrupt("return");case 10:if("coursesId"!=O.get("coursesId")){e.next=16;break}return e.next=13,(0,_._F)({categoryId:O.get("exercisesId"),login:O.get("login")});case 13:i=e.sent,e.next=19;break;case 16:return e.next=18,(0,_._B)({categoryId:O.get("exercisesId"),login:O.get("login")});case 18:i=e.sent;case 19:re(f()({},i)),ke(null===(n=i)||void 0===n||null===(n=n.exercise)||void 0===n?void 0:n.forbid_copy),"number"==typeof(null===(r=i)||void 0===r||null===(r=r.exercise)||void 0===r?void 0:r.left_time)&&($(Date.now()+1e3*(null===(o=i)||void 0===o||null===(o=o.exercise)||void 0===o?void 0:o.left_time)),setTimeout((function(){K("red")}),1e3*((null===(a=i)||void 0===a||null===(a=a.exercise)||void 0===a?void 0:a.left_time)-300>0?(null===(c=i)||void 0===c||null===(c=c.exercise)||void 0===c?void 0:c.left_time)-300:0)));case 22:case"end":return e.stop()}}),e)})))).apply(this,arguments)}M&&function(){e.apply(this,arguments)}()}),[M]),(0,p.useEffect)((function(){var e;return"exercises"===O.get("type")&&null!=ne&&null!==(e=ne.exercise)&&void 0!==e&&e.screen_open&&(window.removeEventListener("blur",qe,!1),wt.U.forEach((function(e,t){window.addEventListener(e,qe,!1)})),window.addEventListener("blur",qe,!1),window.focus()),function(){document.removeEventListener((0,j.gH)(),qe)}}),[ne]),(0,p.useEffect)((function(){"1"===Me&&M&&null!=be&&be.language&&function(){We.apply(this,arguments)}()}),[M,z,null==be?void 0:be.language,Me]),(0,p.useEffect)((function(){return null!=be&&be.is_program&&(ve.current=0,ge.current=setInterval((function(){He()}),15e3)),function(){clearInterval(ge.current)}}),[null==be?void 0:be.is_program]);var He=function(){var e=c()(s()().mark((function e(){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,R.ZP)("/api/myproblems/".concat(M,"/save_long_time.json"),{method:"get",params:{answer_long_time:ve.current}});case 2:e.sent;case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),qe=function(){Ae.current||(0,j.BU)(),window.parent.postMessage("backExercise","*")};function We(){return(We=c()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,w.zO)(M,{limit:15,page:z,language:null==be?void 0:be.language});case 3:t=e.sent,T({type:Lt.GET_SUBMIT_RECORDS,payload:t}),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)}function Ze(e){return Ge.apply(this,arguments)}function Ge(){return(Ge=c()(s()().mark((function e(t){var n,r,i;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("inner"!==O.get("ip_limit")&&"true"!==O.get("ip_bind_type")){e.next=4;break}return e.next=3,(0,vt.y)({ip_limit:O.get("ip_limit"),ip_bind:"true"===O.get("ip_bind_type")});case 3:n=e.sent;case 4:return e.next=6,(0,w.n4)(M,{code:W.Base64.encode(t||be.code),language:null==be?void 0:be.language,exercise_id:O.get("exercisesId"),question_id:O.get("questionId"),ip:n});case 6:return-5===(r=e.sent).status&&(0,h.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:f()(f()({errorMessage:null==r?void 0:r.message},(null==ne?void 0:ne.exercise)||{}),{},{exercise_user_id:null==ne||null===(i=ne.exercise)||void 0===i?void 0:i.exercise_user_id,id:O.get("exercisesId")})}}),e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ve(){return Ye.apply(this,arguments)}function Ye(){return Ye=c()(s()().mark((function e(){var t,n,r,i,o,a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Ce.current=2,!q){e.next=3;break}return e.abrupt("return");case 3:return T({type:Lt.SET_SUBMITING,payload:!0}),e.prev=4,we.Z.publish("to-commit-info"),e.next=8,Ze();case 8:if(t=e.sent,console.log(t,1),0!==t.status){e.next=33;break}if(n=function(){var e=c()(s()().mark((function e(){var t,r,c,l,u,d;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,w.rX)(M,"submit");case 2:if(t=e.sent,r=t.status,c=t.data,l=It(),u=l-a>1e3*(i*o+3),0===r||u||setTimeout(n,1e3),!u){e.next=12;break}return g.Z.error({centered:!0,okText:"知道啦",title:"评测代码超时"}),T({type:Lt.SET_SUBMITING,payload:!1}),e.abrupt("return");case 12:if(0!==r){e.next=20;break}return 2===c.status&&g.Z.error({centered:!0,okText:"知道啦",title:"评测代码超时"}),0===(null==c?void 0:c.status)&&"1"===O.get("type")&&me(!0),0!==(null==c?void 0:c.status)&&"1"===O.get("type")&&ze((function(e){return e+1})),e.next=18,(0,w.zO)(M,{limit:15,page:z,language:null==be?void 0:be.language});case 18:d=e.sent,T({type:Lt.SET_SUBMIT_RESULT,payload:f()(f()({},E),{},{submitResult:c,submitting:!1,submitRecords:d})});case 20:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),r={},"exercises"!==O.get("type")){e.next=21;break}if(r.extras={exercise_id:O.get("exercisesId"),question_id:O.get("questionId")},"inner"!==O.get("ip_limit")&&"true"!==O.get("ip_bind_type")){e.next=19;break}return e.next=18,(0,vt.y)({ip_limit:O.get("ip_limit"),ip_bind:"true"===O.get("ip_bind_type")});case 18:r.extras.ip=e.sent;case 19:e.next=22;break;case 21:"smartPlan"===O.get("type")&&(r.extras={smart_plan_page_item_bank_id:O.get("smartPlanItemBankId"),simulate:"true"===O.get("simulate")});case 22:return e.next=24,(0,w.bM)(M,r);case 24:if(-1!==e.sent.status||!O.get("exercisesId")){e.next=28;break}return window.parent.location.href="/classrooms/".concat(O.get("coursesId"),"/exercise/").concat(O.get("exercisesId"),"/detail"),e.abrupt("return");case 28:i=be.time_limit,o=be.test_case_size,a=It(),n(),e.next=34;break;case 33:T({type:Lt.SET_SUBMITING,payload:!1});case 34:e.next=40;break;case 36:e.prev=36,e.t0=e.catch(4),console.log(e.t0),T({type:Lt.SET_SUBMITING,payload:!1});case 40:Se(!1);case 41:case"end":return e.stop()}}),e,null,[[4,36]])}))),Ye.apply(this,arguments)}function Ke(){return Xe.apply(this,arguments)}function Xe(){return Xe=c()(s()().mark((function e(){var t,n,r,i;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Ce.current=1,E.debuging=!0,T({type:Lt.SET_DEBUGING,payload:!0}),e.prev=3,e.next=6,Ze();case 6:if(0!==e.sent.status){e.next=22;break}return t=function(){var e=c()(s()().mark((function e(){var r,o,a,c,l,u;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,w.rX)(M,"debug");case 2:if(r=e.sent,o=r.status,a=r.message,c=r.data,l=It(),u=l-i>1e3*(n+3),0===o||u||(T({type:Lt.SET_EXECUTE_MESSAGE,payload:a}),setTimeout(t,1e3)),!u){e.next=14;break}return g.Z.error({title:"提示",centered:!0,okText:"知道啦",content:"调试代码超时"}),T({type:Lt.SET_DEBUGING,payload:!1}),T({type:Lt.SET_EXECUTE_RESULT,payload:f()(f()({},E),{},{debugResult:{status:2},debuging:!1})}),e.abrupt("return");case 14:0===o&&(2===c.status&&g.Z.error({title:"提示",centered:!0,okText:"知道啦",content:"调试代码超时"}),T({type:Lt.SET_DEBUGING,payload:!1}),T({type:Lt.SET_EXECUTE_RESULT,payload:f()(f()({},E),{},{debugResult:c,debuging:!1})}));case 15:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),n=be.time_limit,r={input:encodeURIComponent(L.test_case.input)},"exercises"===O.get("type")&&(r.exercise_id=O.get("exercisesId")),e.next=14,(0,w.MU)(M,r);case 14:if(-1!==e.sent.status||!O.get("exercisesId")){e.next=18;break}return window.parent.location.href="/classrooms/".concat(O.get("coursesId"),"/exercise/").concat(O.get("exercisesId"),"/detail"),e.abrupt("return");case 18:i=It(),t(),e.next=23;break;case 22:T({type:Lt.SET_DEBUGING,payload:!1});case 23:e.next=28;break;case 25:e.prev=25,e.t0=e.catch(3),console.log(e.t0);case 28:return e.prev=28,e.finish(28);case 30:case"end":return e.stop()}}),e,null,[[3,25,28,30]])}))),Xe.apply(this,arguments)}function Qe(e,t){var n=t?{modify_code:!1}:{};T({type:Lt.SET_DATA,payload:f()(f()({},L),{},{hack:f()(f()({},be),{},{code:e},n)})}),Se(!0)}var Je=function(){var e=c()(s()().mark((function e(t){var n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,R.ZP)("/api/problems/".concat(null==be?void 0:be.identifier,"/start.json"),{method:"get",params:{language:"C++"===t||"c++"===t?encodeURIComponent(t):t,hack_user_id:null==ye?void 0:ye.user_id}});case 2:-1!==(n=e.sent).status&&h.history.replace("/myproblems/".concat(null==n?void 0:n.identifier).concat(window.location.search));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function $e(){return($e=c()(s()().mark((function e(){var t,n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t={},"exercises"===O.get("type")?t.exercise_id=O.get("exercisesId"):null!=be&&be.homework_common_id&&(t.homework_common_id=null==be?void 0:be.homework_common_id),e.next=5,(0,w.H7)(M,f()({},t));case 5:401===(n=e.sent).status||(Qe(W.Base64.decode(n.code)),("exercises"===O.get("type")||null!=be&&be.homework_common_id)&&we.Z.publish("to-reset-info")),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}function et(){return(et=c()(s()().mark((function e(t){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,w.MK)(M,t);case 2:T({type:Lt.GET_DATA,payload:{showNote:!1,data:f()(f()({},L),{},{hack:f()(f()({},be),{},{notes:t.notes})})}});case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var tt={hack:be,isLoading:se,input:null==L||null===(n=L.test_case)||void 0===n?void 0:n.input,is_file:null==L||null===(r=L.test_case)||void 0===r?void 0:r.is_file,identifier:null==be?void 0:be.identifier,attachments_count:null==L?void 0:L.attachments_count,language:null==be?void 0:be.language,code:null==be?void 0:be.code,title:"main."+Nt[null==be?void 0:be.language],modify_code:null==be?void 0:be.modify_code,notes:null==be?void 0:be.notes,debugResult:I,debuging:H,submitting:q,submitResult:B,executingMessage:Z,onCancelNote:function(){T({type:Lt.SET_SHOW_NOTE,payload:!1})},onAddNote:function(e){return et.apply(this,arguments)},showNote:U,user:ye,onShowNote:function(){T({type:Lt.SET_SHOW_NOTE,payload:!0})},onSubmitCode:Ve,onChangeCode:Qe,onChangeInput:function(e){var t=e.target.value;T({type:Lt.SET_DATA,payload:f()(f()({},L),{},{test_case:{input:t}})})},onDebugCode:Ke,onResetCode:function(){return $e.apply(this,arguments)},onSyncCode:function(){g.Z.confirm({centered:!0,okText:"确定",cancelText:"取消",title:"提示",content:(0,P.jsxs)("p",{children:["初始代码有修改,更新后将覆盖现有代码哦~ ",(0,P.jsx)("br",{}),"请将您编辑的代码保存至本地,以防丢失"]}),onOk:function(){return c()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,w.fi)(M);case 2:401===(t=e.sent).status||Qe(W.Base64.decode(t.code),!0);case 4:case"end":return e.stop()}}),e)})))()}})},onUpdateCode:Ze,onChangeLanguage:Je,isWhiteTheme:ue,setIsWhiteTheme:de,topDispatch:T};function nt(){return(nt=c()(s()().mark((function e(){var t,n,r;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,w.vl)(be.id,{container_type:"Hack",type:1});case 2:t=e.sent,n=t.praise_count,r=f()(f()({},L),{},{hack:f()(f()({},be),{},{praises_count:n,user_praise:!be.user_praise})}),T({type:Lt.SET_DATA,payload:r});case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var rt={topicId:M,submitResult:B,submitRecords:F,submitting:q,page:z,onPageChange:function(e){T({type:Lt.SET_PAGE,payload:e})},hack:be,user:null==L?void 0:L.user,hack_sets:null==L?void 0:L.hack_sets,current_user:null==L?void 0:L.current_user,onTriggerPraise:function(){return nt.apply(this,arguments)},setActiveIndex:De};console.log(ne);var it=(0,p.useState)(!1),ot=u()(it,2),st=ot[0],at=ot[1],ct=(0,p.useState)(!1),lt=u()(ct,2);lt[0],lt[1];(0,p.useEffect)((function(){var e=function(e){var t,n;if(console.log("event-----",e),"showIntelligentTeacherStatus"===e.data.type&&(null==e||null===(t=e.data)||void 0===t||null===(t=t.SmartPlanItemBanks)||void 0===t||!t.allow_answer_after_end)){var r=e.data,i=r.aiStatus,o=r.questionStatus;if(at(i),o){var a=JSON.parse(localStorage.getItem("smartPlanProgramIds")||"[]");if(a.includes(O.get("smartPlanItemBankId")))return;g.Z.info({width:530,title:"提示",centered:!0,okText:"确定",content:(0,P.jsxs)("div",{className:"tc font16",children:[o?"老师已结束答题":"老师已结束授课",",不能再修改了。"]}),onOk:(n=c()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ve(),localStorage.setItem("smartPlanProgramIds",JSON.stringify(a.push(O.get("smartPlanItemBankId")))),t="",t=O.get("isMiniprogram")?"/miniprogram/courseware/study?courses_id=".concat(O.get("coursesId"),"&id=").concat(O.get("exercisesId")):"/classrooms/".concat(O.get("coursesId"),"/smart_plan/").concat(O.get("exercisesId"),"/ppt_info/info"),window.opener?window.close():h.history.push(t);case 5:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})})}}if("closeIntelligentTeacherStatus"==e.data.type){Ve();var l="";l=O.get("isMiniprogram")?"/miniprogram/courseware/study?courses_id=".concat(O.get("coursesId"),"&id=").concat(O.get("exercisesId")):"/classrooms/".concat(O.get("coursesId"),"/smart_plan/").concat(O.get("exercisesId"),"/ppt_info/info"),window.opener?window.close():h.history.push(l)}};return window.addEventListener("message",e),function(){window.removeEventListener("message",e)}}),[]);var ut=function(){if("exercises"===O.get("type"))return!1;var e=Object.entries((null==be?void 0:be.homework_extension)||{}).some((function(e){var t=u()(e,2),n=t[0],r=t[1];return"ai_code_evaluation_promote"!==n&&Boolean(r)}));return!("1"!==O.get("type")||!(0,kt.$O)()&&!e)||!("smartPlan"!==O.get("type")||!st&&!O.get("showAi"))};return(0,p.useEffect)((function(){var e,t;if(ut()){var n,r;if(Fe>(null==be||null===(e=be.homework_extension)||void 0===e||null===(e=e.ai_guide_data)||void 0===e?void 0:e.evaluation_num))Re({open:!0,text:null==be||null===(n=be.homework_extension)||void 0===n||null===(n=n.ai_guide_data)||void 0===n?void 0:n.evaluation_msg});if(null!=be&&null!==(t=be.homework_extension)&&void 0!==t&&t.ai_guide&&0==Fe&&!Ue.current)Ue.current=setTimeout((function(){var e;Re({open:!0,text:null==be||null===(e=be.homework_extension)||void 0===e||null===(e=e.ai_guide_data)||void 0===e?void 0:e.unanswered_msg})}),60*((null==be||null===(r=be.homework_extension)||void 0===r||null===(r=r.ai_guide_data)||void 0===r?void 0:r.unanswered_time)||0)*1e3);Ue.current&&Fe>0&&clearTimeout(Ue.current)}}),[Fe,be]),(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(v.Z,{spinning:N,delay:500,children:[L?(0,P.jsxs)("div",{style:{minWidth:"1200px"},children:[(0,P.jsxs)("header",{className:St()(_t.Z.header,ue&&_t.Z.whiteHeader),children:[!(null!==(i=["smartPlan","exercises"])&&void 0!==i&&i.includes(O.get("type")))&&(0,P.jsxs)("div",{children:[(0,P.jsx)("img",{src:"".concat(C.Z.IMG_SERVER,"/images/").concat(null==ye?void 0:ye.image_url),alt:"user",width:36}),(0,P.jsx)("span",{style:{color:ue?"#333":"#B2BACB",fontSize:16},children:null==ye?void 0:ye.name})]}),(null===(o=["smartPlan","exercises"])||void 0===o?void 0:o.includes(O.get("type")))&&(0,P.jsxs)("div",{children:[(0,P.jsxs)("div",{className:"exercise_user_info",children:["姓名",(0,P.jsx)("span",{className:"ml10",children:(null==ne||null===(a=ne.exercise)||void 0===a?void 0:a.user_name)||(null==ye?void 0:ye.name)||"--"})]}),(0,P.jsxs)("div",{className:"exercise_user_info ml30",children:["学号",(0,P.jsx)("span",{className:"ml10",children:(null==ne||null===(l=ne.exercise)||void 0===l?void 0:l.student_id)||(null==ye?void 0:ye.student_id)||"--"})]})]}),(0,P.jsx)("h2",{className:"flex-wrp flex_box_column flex_box_center",children:(0,P.jsx)("div",{children:be.name})}),("smartPlan"===O.get("type")||(null==be?void 0:be.is_program))&&(0,P.jsx)(yt.Z,{defaultValue:(null==be?void 0:be.answer_long_time)||0,onChange:function(e){ve.current=e},className:_t.Z.timepiece}),null!=ye&&ye.hack_manager&&!O.get("is_smart_plan")?(0,P.jsxs)(h.Link,{className:_t.Z.btn_edit,to:"1"===O.get("type")?O.get("pageId")?"/problems/newedit/".concat(be.identifier,"?type=1&pageId=").concat(O.get("pageId"),"&backUrl=").concat(O.get("backUrl")):"/problems/newedit/".concat(be.identifier,"?type=1"):O.get("backUrl")?"/problems/newedit/".concat(be.identifier,"?backUrl=").concat(O.get("backUrl")):"/problems/newedit/".concat(be.identifier),children:[" ",(0,P.jsx)("i",{className:"iconfont icon-bianji13 font14 mr5"})," 编辑"]}):null,!(null==ne||null===(d=ne.exercise)||void 0===d||!d.left_time)&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("span",{style:{color:Y,marginRight:6},className:"iconfont icon-daojishi ".concat(_t.Z.djs)}),(0,P.jsx)("span",{className:"c-white mr20",children:(0,P.jsx)(Ot,{valueStyle:{color:Y,fontSize:20,fontWeight:500},title:(0,P.jsx)("span",{style:{color:Y,fontSize:14,marginRight:10},className:"time",children:"剩余答题时长"}),value:J,onFinish:c()(s()().mark((function e(){var t,n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,_.VL)({categoryId:O.get("exercisesId"),commit_method:2});case 2:0===(null==(t=e.sent)?void 0:t.status)&&(Ze(),g.Z.info({width:530,title:"提示",centered:!0,okText:"确定",content:(0,P.jsxs)("div",{className:"tc font16",children:["答题结束了,系统已自动提交试卷",(0,P.jsx)("br",{}),"不能再修改答题"]}),onOk:function(){var e=c()(s()().mark((function e(){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:window.parent.location.href="/classrooms/".concat(O.get("coursesId"),"/exercise/").concat(O.get("exercisesId"),"/detail");case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()})),-3===(null==t?void 0:t.status)&&(n=parseInt(null==t?void 0:t.message),$(Date.now()+1e3*n));case 5:case"end":return e.stop()}}),e)})))})})]}),null!==(m=["smartPlan","exercises"])&&void 0!==m&&m.includes(O.get("type"))?(0,P.jsxs)(y.ZP,{type:"primary",onClick:function(){if("exercises"===O.get("type")){var e=function(){var e=c()(s()().mark((function e(){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ze();case 2:Se(!1),Oe(),Ae.current=!0,qe();case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(null==F||!F.records_count||je)return void g.Z.confirm({centered:!0,okText:"确定",cancelText:"取消",icon:null,title:"提示",content:(0,P.jsx)("div",{style:{color:"#FF0000"},children:"请确认你的答题内容是否进行评测并提交,未评测则会导致该题无法获得分数"}),onOk:e});e()}else{var t="";t="true"==O.get("isMiniprogram")?"/miniprogram/courseware/study?courses_id=".concat(O.get("coursesId"),"&id=").concat(O.get("exercisesId")):"/classrooms/".concat(O.get("coursesId"),"/smart_plan/").concat(O.get("exercisesId"),"/ppt_info/info"),window.opener?window.close():(console.log("11","program_".concat(O.get("coursesId"),"_").concat(O.get("exercisesId"))),console.log("true"==O.get("isMiniprogram")),"true"==O.get("isMiniprogram")?localStorage.removeItem("iframeprogram_".concat(O.get("coursesId"),"_").concat(O.get("exercisesId"))):h.history.push(t))}},children:["exercises"===O.get("type")?"返回试卷":"返回课件"," "]}):(0,P.jsx)("span",{onClick:function(){if(O.get("backUrl"))h.history.push(O.get("backUrl"));else if("1"===O.get("type")){var e,t=null===(e=localStorage.getItem("program_homework"))||void 0===e?void 0:e.split(",");h.history.push("/classrooms/".concat(null==t?void 0:t[0],"/program_homework/").concat(null==t?void 0:t[1],"/detail"))}else h.history.push("/problemset")},children:(0,P.jsx)(b.Z,{title:"关闭",children:(0,P.jsx)("i",{style:{color:ue?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})})})]}),(0,P.jsx)(v.Z,{size:"large",spinning:se,children:(0,P.jsx)(S.Z,{className:St()(_t.Z.myProblems,ue&&_t.Z.whiteMyProblems),leftChild:(0,P.jsx)(mt,f()({},rt)),rightChild:(0,P.jsx)(zt,f()({},tt))})})]}):null,(0,P.jsx)(g.Z,{centered:!0,closable:!1,width:680,footer:null,open:he,className:"oj-modal",children:(0,P.jsxs)("section",{className:"oj-modal-content",children:[(0,P.jsxs)("div",{className:"oj-modal-head",children:[(0,P.jsx)("img",{src:gt,alt:""}),(0,P.jsx)("i",{onClick:function(){return me(!1)},className:"iconfont icon-guanbi1"})]}),(0,P.jsxs)("aside",{children:[(0,P.jsx)("img",{className:"mr30",src:Mt.Z}),"运行时间: ",(0,P.jsxs)("span",{style:{color:"#75d6ba",marginRight:100},children:[null==B?void 0:B.execute_time,"ms"]}),"优于",(0,P.jsxs)("span",{style:{color:"#f3b087",margin:"0 5px"},children:[(null==B?void 0:B.time_better_than)||100,"%"]}),"的用户"]}),(0,P.jsxs)("aside",{className:"mb50",children:[(0,P.jsx)("img",{src:Tt.Z,className:"mr30"}),(0,P.jsxs)("span",{className:"oj-modal-tt",children:[(0,P.jsxs)("span",{children:[(0,P.jsx)("span",{children:"占用内存: "}),(0,P.jsxs)("span",{className:"c-light-primary",children:[null==B?void 0:B.execute_memory,"kb"]})]}),(0,P.jsx)("span",{children:(0,P.jsx)("span",{})})]}),"优于",(0,P.jsxs)("span",{style:{color:"#f3b087",margin:"0 5px"},children:[(null==B?void 0:B.memory_better_than)||100,"%"]}),"的用户"]}),(0,P.jsx)("div",{id:"oj-modal-next",onClick:c()(s()().mark((function e(){var t,n,r;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==B||!B.next_identifier){e.next=7;break}return e.next=3,(0,R.ZP)("/api/problems/".concat(null==B?void 0:B.next_identifier,"/start.json"),{method:"get",params:{hack_user_id:null==ye?void 0:ye.user_id}});case 3:(t=e.sent)&&(h.history.replace("/myproblems/".concat(null==t?void 0:t.identifier).concat(window.location.search)),window.location.reload()),e.next=9;break;case 7:r=null===(n=localStorage.getItem("program_homework"))||void 0===n?void 0:n.split(","),h.history.push("/classrooms/".concat(null==r?void 0:r[0],"/program_homework/").concat(null==r?void 0:r[1],"/detail"));case 9:case"end":return e.stop()}}),e)}))),className:"oj-modal-btn",children:null!=B&&B.next_identifier?"进入下一题":"回到作业详情页"})]})}),ut()&&(0,P.jsx)(At.Z,{showData:"smartPlan"===O.get("type")?{ai_exam_question:!0,ai_syntax_check:!0,ai_code_diagnosis:!0,ai_guidance:!0,ai_q_and_a:!0}:null==be?void 0:be.homework_extension,description:null==be?void 0:be.description,allShow:(0,kt.$O)(),code:null==be?void 0:be.code,sendParams:{source:"hack",hack_id:M},draggableExtraNode:(null==be||null===(x=be.homework_extension)||void 0===x?void 0:x.ai_guide)&&(null==Ie?void 0:Ie.open)&&(0,P.jsxs)("div",{className:"bg-white rounded-2px-rem p-10px flex item-center justify-between gap-10px",style:{position:"absolute",top:"50%",transform:"translateY(-50%)",right:"75px",width:"400px"},children:[(0,P.jsx)("div",{className:"bg-white absolute",style:{WebkitClipPath:"polygon(0 0, 0% 100%, 100% 50%)",clipPath:"polygon(0 0, 0% 100%, 100% 50%)",width:"10px",height:"15px",right:"-10px"}}),(0,P.jsx)(Et.Z,{text:(null==Ie?void 0:Ie.text)||""}),(0,P.jsx)("span",{className:"iconfont icon-tupianguanbi font14 current c-grey-666",onClick:function(e){Re({open:!1,text:""})}})]})})]}),(0,P.jsx)(bt.Z,{successCb:function(){1===Ce.current?Ke():Ve()}})]})};function Ft(e){e.title;var t,n=e.modify_code,r=e.onSyncCode,i=e.onShowCodeSetting,o=e.onResetCode,s=e.hack,a=e.onChangeLanguage,c=e.isWhiteTheme,l=e.onShowResourceCentre,d=e.attachments_count,f=(0,h.useSearchParams)(),m=u()(f,1)[0].get("language");return(0,p.useEffect)((function(){var e;m&&a("1"===(e=m)?"c++":"2"===e?"C++":e)}),[]),(0,p.useEffect)((function(){null!=s&&s.tpm_code_modified&&g.Z.confirm({title:"更新初始代码",icon:(0,P.jsx)(A.Z,{}),content:(0,P.jsxs)("div",{children:[(0,P.jsx)("div",{children:"编程题的初始代码内容有更新,"}),(0,P.jsx)("div",{children:"更新操作将保留已完成的评测记录和成绩,"}),(0,P.jsx)("div",{children:"还未完成评测的任务任务代码,请自行保存!"})]}),centered:!0,okText:"确定",cancelText:"取消",onOk:function(){return o()}})}),[null==s?void 0:s.language]),console.log(s,c,"hack"),(0,P.jsxs)("div",{className:"".concat(_t.Z.codeHead," ").concat(c?_t.Z.whiteCodeHead:""),children:[(0,P.jsx)("div",{className:_t.Z.navWrap,children:null==s||null===(t=s.all_language)||void 0===t?void 0:t.map((function(e){return(0,P.jsxs)("div",{className:"".concat(_t.Z.nav," ").concat(e===(null==s?void 0:s.language)?_t.Z.active:""),onClick:function(){return a(e)},children:[(0,P.jsx)(b.Z,{title:"编程语言",children:(0,P.jsx)("i",{className:"iconfont icon-bianchengyuyan1"})}),(0,P.jsx)("span",{children:e})]},e)}))}),(0,P.jsxs)(x.Z,{align:"middle",style:{marginLeft:"auto"},children:[n?(0,P.jsx)("a",{title:"更新通知",onClick:r,children:(0,P.jsx)("img",{src:q,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})}):null,d>0&&(0,P.jsx)("a",{onClick:l,children:(0,P.jsx)(b.Z,{title:"资源中心",children:(0,P.jsx)("i",{style:{color:"#8D929F"},className:"iconfont icon-ziyuanzhongxin mr15"})})}),(0,P.jsx)("a",{onClick:function(){g.Z.confirm({title:"恢复初始代码",icon:(0,P.jsx)(A.Z,{}),content:"你在本文件中修改的内容将丢失,是否确定重新加载初始代码?",centered:!0,okText:"确定",cancelText:"取消",onOk:o})},children:(0,P.jsx)(b.Z,{title:"恢复初始代码",children:(0,P.jsx)("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"})})}),(0,P.jsx)("a",{onClick:i,children:(0,P.jsx)(b.Z,{title:"设置",children:(0,P.jsx)("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})})})]})]})}function zt(e){var t=e.input,n=e.is_file,r=e.identifier,o=(e.showNote,e.onShowNote,e.notes,e.onCancelNote,e.onAddNote,e.debugResult),s=e.language,a=e.debuging,c=e.submitting,l=e.executingMessage,u=e.code,d=e.onSubmitCode,p=e.onDebugCode,h=e.onChangeCode,m=e.onChangeInput,g=e.onUpdateCode,v=e.user,y=e.isLoading,b=e.submitResult,x=i()(e,Dt);var w=f()({input:t,is_file:n,debugResult:o,debuging:a,submitting:c,executingMessage:l,onDebugCode:p,onChangeCode:h,onSubmitCode:d,onChangeInput:m,user:v,submitResult:b},x);return(0,P.jsxs)("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"},children:[(0,P.jsx)(H,{setIsWhiteTheme:null==x?void 0:x.setIsWhiteTheme,isLoading:y,language:s,value:u,identifier:r,onChange:h,onUpdateCode:g,ActionBarRender:function(e,t){return(0,P.jsx)(Ft,f()(f()({},x),{},{onShowCodeSetting:e,onShowResourceCentre:t}))}}),(0,P.jsx)(Z.ZP,f()({},w))]})}},27392:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var r=function(e){return e[e.NOMATCH=-1]="NOMATCH",e[e.OK=0]="OK",e[e.TIMEOUT=2]="TIMEOUT",e[e.PODFAILURE=3]="PODFAILURE",e[e.COMPILEFAILURE=4]="COMPILEFAILURE",e[e.EXECUTEFAILURE=5]="EXECUTEFAILURE",e[e.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",e}({})},66375:function(e,t,n){"use strict";n.d(t,{H7:function(){return p},MK:function(){return f},MU:function(){return c},X6:function(){return u},bM:function(){return a},fi:function(){return h},fu:function(){return s},n4:function(){return m},rX:function(){return d},vl:function(){return g},zO:function(){return l}});var r=n(82242),i=n.n(r),o=n(94171);function s(e,t){return(0,o.U2)("myproblems/".concat(e,".json"),i()({hidePopLogin:!0},t||{}))}function a(e,t){return(0,o.v_)("myproblems/".concat(e,"/code_submit.json"),t)}function c(e,t){return(0,o.v_)("myproblems/".concat(e,"/code_debug.json"),t)}function l(e,t){return t.language&&(t.language=encodeURIComponent(t.language)),(0,o.U2)("myproblems/".concat(e,"/submit_records.json"),t)}function u(e){return(0,o.U2)("myproblems/record_detail.json",{id:e})}function d(e,t){return(0,o.U2)("myproblems/".concat(e,"/result.json"),{mode:t})}function f(e,t){return(0,o.v_)("myproblems/".concat(e,"/add_notes.json"),t)}function p(e,t){return(0,o.v_)("myproblems/".concat(e,"/restore_initial_code.json"),t)}function h(e){return(0,o.v_)("myproblems/".concat(e,"/sync_code.json"))}function m(e,t){return(0,o.v_)("myproblems/".concat(e,"/update_code.json"),t)}function g(e,t){return(0,o.v_)("discusses/".concat(e,"/plus.json"),t)}},86009:function(e,t,n){"use strict";n.d(t,{Im:function(){return A},ZP:function(){return O},gZ:function(){return M}});var r=n(79800),i=n.n(r),o=n(82242),s=n.n(o),a=n(85573),c=n.n(a),l=n(59301),u=n(37568),d=n(99571),f=n(84105),p=n(87395),h=n(42826),m=n(24334),g=n(48049),v=n(74889),y=n(83287),b=n(96454),x=n(34376),w=n(92310),_=n.n(w),j=n(37712),S=u.Z.TextArea,C={visible:!1,tabIndex:"0"},A=c()(c()(c()(c()(c()(c()(c()({},h.h.HIDE_COMPILE_STATUS,"暂不支持查看"),h.h.NOMATCH,"测试用例结果不匹配"),h.h.OK,"调试通过"),2,"调试超时"),3,"调试pod失败"),4,"编译失败"),5,"执行失败"),k=function(e){return e[e.SET_VISIBLE=0]="SET_VISIBLE",e[e.SET_TABINDEX=1]="SET_TABINDEX",e}(k||{});function E(e,t){switch(t.type){case k.SET_VISIBLE:return s()(s()({},e),{},{visible:t.payload});case k.SET_TABINDEX:return s()(s()({},e),{},{tabIndex:t.payload});default:throw new Error}}function T(e){var t=e.value,n=e.className,r=(0,l.useState)(!1),o=i()(r,2),s=o[0],a=o[1],c=(0,l.useRef)(),u=(0,l.useRef)();return(0,l.useEffect)((function(){s&&(u.current.reset(),u.current.write((0,y.pp)(t||"")))}),[t,s]),(0,l.useEffect)((function(){if(c.current){var e;u.current=new x.Terminal({fontSize:14,disableStdin:!0}),u.current.open(c.current);var t=c.current.offsetWidth-14,n=(null===(e=u.current)||void 0===e||null===(e=e._core)||void 0===e||null===(e=e._renderService)||void 0===e||null===(e=e.dimensions)||void 0===e?void 0:e.actualCellWidth)||9.5,r=Math.ceil(t/n);u.current.resize(r,8),a(!0)}}),[]),(0,j.jsx)("div",{ref:c,className:_()("XtermText-valueRef",n)})}function M(e){var t=e.status,n=e.error_msg,r=e.output,i=e.input,o=e.expected_output,s=e.is_file,a=e.input_file_url,c=e.output_file_url,l=e.expected_output_file_url,u=null,d={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(t){case h.h.NOMATCH:u=(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("p",{className:"c-red",children:"实际输入:"}),!s&&(0,j.jsx)(T,{className:"mb10",value:i}),s&&(0,j.jsx)("div",{style:d,children:(0,j.jsx)("a",{onClick:function(){return(0,y.LR)(a,i)},children:i})}),(0,j.jsx)("p",{className:"c-red",children:"实际输出:"}),!s&&(0,j.jsx)(T,{className:"mb10",value:r&&m.Base64.decode(r)||""}),s&&(0,j.jsx)("div",{style:d,children:(0,j.jsx)("a",{onClick:function(){return(0,y.LR)(c,r)},children:r})}),(0,j.jsx)("p",{className:"c-red",children:"预期输出:"}),!s&&(0,j.jsx)(T,{className:"mb10",value:o&&m.Base64.decode(o)||""}),s&&(0,j.jsx)("div",{style:d,children:(0,j.jsx)("a",{onClick:function(){return(0,y.LR)(l,o)},children:o})})]});break;case h.h.EXECUTEFAILURE:case h.h.COMPILEFAILURE:u=(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("p",{children:"最后执行的输入:"}),!s&&(0,j.jsx)(v.Z,{value:i,style:d}),s&&(0,j.jsx)("div",{style:d,children:(0,j.jsx)("a",{onClick:function(){return(0,y.LR)(a,i)},children:i})}),(0,j.jsx)("p",{children:"执行出错信息:"}),(0,j.jsx)("pre",{className:"error",children:m.Base64.decode(n)})]});break;case h.h.PODFAILURE:u=(0,j.jsx)("p",{children:"创建pod失败,请稍后重试"});break;case h.h.TIMEOUT:u=(0,j.jsx)("p",{children:"评测超时,请稍后重试"})}return(0,j.jsxs)(j.Fragment,{children:[" ",u," "]})}function D(e){var t=e.status,n=e.error_msg,r=e.execute_time,i=e.output,o=e.input,s=e.expected_output,a=(e.is_file,e.input_file_url,e.output_file_url,e.expected_output_file_url,null);switch(t){case h.h.OK:a=(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)("p",{children:["执行用时:",r,"秒"]}),(0,j.jsx)("p",{children:"执行结果:"}),(0,j.jsx)("pre",{children:m.Base64.decode(i)})]});break;case h.h.NOMATCH:a=(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)("p",{children:["输入:",(0,j.jsx)("pre",{children:o})]}),(0,j.jsxs)("p",{children:["输出:",i&&m.Base64.decode(i)]}),(0,j.jsxs)("p",{children:["预期输出:",s&&m.Base64.decode(s)]})]});break;case h.h.EXECUTEFAILURE:case h.h.COMPILEFAILURE:a=(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)("p",{children:["最后执行的输入:",(0,j.jsx)("pre",{children:o})]}),(0,j.jsx)("p",{children:"执行出错信息:"}),(0,j.jsx)("pre",{className:"error",children:m.Base64.decode(n)})]});break;case h.h.PODFAILURE:a=(0,j.jsx)("p",{children:"创建pod失败,请稍后重试"});break;case h.h.TIMEOUT:a=(0,j.jsx)("p",{children:"评测超时,请稍后重试"})}return(0,j.jsxs)(j.Fragment,{children:[" ",a," "]})}var O=function(e){var t=e.id,n=e.is_file,r=e.input,o=e.debuging,s=e.submitting,a=(e.executingMessage,e.debugResult),c=e.onChangeInput,u=e.onDebugCode,h=e.onSubmitCode,m=(0,l.useReducer)(E,C),v=i()(m,2),y=v[0],x=v[1],w=y.visible;y.tabIndex;(0,l.useEffect)((function(){x({type:k.SET_VISIBLE,payload:!1})}),[t]);var _=(0,l.useMemo)((function(){if(a){a.status;return(0,j.jsx)(j.Fragment,{children:D(a)})}return null}),[a]);return(0,j.jsxs)("div",{className:"test-case-panel",children:[(0,j.jsxs)("div",{className:"test-case-panel-body ".concat(w?"active":""),children:[(0,j.jsx)("ul",{className:"s-navs",children:(0,j.jsx)("li",{children:(0,j.jsx)("a",{className:"active",children:"调试代码结果"})})}),(0,j.jsx)(b.Z,{leftTitle:"自定义测试用例",rightTitle:"代码执行结果",style:{height:240},leftNode:(0,j.jsx)(S,{placeholder:"请输入自测用例(如果未填写,首次自测运行时,系统会自动填充第一个非隐藏的文本类型的测试用例)",value:n?"":r,onChange:c}),rightNode:o?(0,j.jsx)(g.Z,{message:"代码执行中..."}):a?_:(0,j.jsx)("p",{style:{color:"#536879"},children:"请填写测试用例的输入值,点击“调试代码”"})})]}),(0,j.jsx)("a",{className:"btn-collapse ".concat(w?"up":""),onClick:function(){x({type:k.SET_VISIBLE,payload:!w})},children:w?(0,j.jsx)(f.Z,{}):(0,j.jsx)(p.Z,{})}),(0,j.jsxs)("footer",{className:"footer",children:[(0,j.jsx)("span",{style:{visibility:"hidden"},children:"控制台"}),(0,j.jsxs)("div",{className:"flex-container",children:[(0,j.jsx)(d.ZP,{id:"oj-prev",className:"btn-blue",type:"ghost",children:"上一题"}),(0,j.jsx)(d.ZP,{id:"oj-next",className:"btn-blue",type:"ghost",children:"下一题"}),(0,j.jsx)(d.ZP,{className:"btn-green",type:"ghost",loading:o,onClick:function(){x({type:k.SET_VISIBLE,payload:!0}),x({type:k.SET_TABINDEX,payload:"1"}),u()},children:"调试代码"}),(0,j.jsx)(d.ZP,{type:"primary",className:"custom-ant-disabled",loading:s,disabled:s,onClick:function(){x({type:k.SET_VISIBLE,payload:!1}),h()},children:"评测并提交"})]})]})]})}},42826:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var r=function(e){return e[e.NOMATCH=-1]="NOMATCH",e[e.OK=0]="OK",e[e.TIMEOUT=2]="TIMEOUT",e[e.PODFAILURE=3]="PODFAILURE",e[e.COMPILEFAILURE=4]="COMPILEFAILURE",e[e.EXECUTEFAILURE=5]="EXECUTEFAILURE",e[e.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",e}({})},82887:function(e,t,n){"use strict";n.d(t,{Y2:function(){return V},ZP:function(){return Y}});var r=n(82242),i=n.n(r),o=n(7557),s=n.n(o),a=n(41498),c=n.n(a),l=n(79800),u=n.n(l),d=n(37205),f=n.n(d),p=n(59301),h=n(14566),m=n(6767),g=n(62957),v=n(77019),y=n(47889),b=n(99571),x=n(62673),w=n(25399),_=n(37568),j="wrap___MkYbQ",S="text___xvutp",C="greyText___dihvZ",A="noData___LxOJA",k="dragger___y7F4A",E="uploadText___Et3KS",T="btnS___k1e6j",M="testCaseRadio___q1wXT",D="head___s4Eix",O="operation___JCAVh",N="headProgram___uWA_M",L="listWrapper___xW3b4",I="list___dCbd6",R="del___abNho",P="info___J1Wmf",B=n(47257),F=n.n(B),z=n(90035),U=n(94171),H=n(1012),q=n(83287),W=n(32831),Z=n(37712),G=(h.Z.Dragger,function(e){for(var t=function(e){return e?e.substring(0,e.lastIndexOf(".")):e},n=f()(e),r=0,i=[],o=0;o<n.length;o++){for(var s="",a=0;a<i.length;a++)if(t(i[a][0].name)==t(n[o].name)){r=1,s=a;break}if(1==r)i[s].push(n[o]),r=0;else if(0==r){var c=new Array;c.push(n[o]),i.push(c)}}return i.map((function(e){return e.forEach((function(e){var t=e.name.split(/\.(?=[^\.]+$)/);e.name="".concat(t[0],".").concat(t[1].toLowerCase())})),e[0].name.includes(".in")?2===e.length?e:[e[0],{}]:e[0].name.includes(".out")?2===e.length?e.reverse():[{},e[0]]:void 0}))}),V=function(e){var t=e.data,n=void 0===t?[]:t,r=e.onRemove,o=e.width,a=void 0===o?"auto":o,l=e.showScore,d=void 0!==l&&l,f=e.disabled,h=void 0!==f&&f,m=e.inputChange,v=e.onEvaluatingChange,y=e.onSelectAll,b=e.checkAll1,j=e.checkAll2,S=e.checkAll3,C=e.checkAll4,A=e.checkAll5,k=e.showEvaluatingSetting,E=void 0!==k&&k,T=e.className,M=void 0===T?"":T,B=e.isProgramHomework,F=void 0!==B&&B,z={value:"",filename:"",dataUrl:""},U=(0,p.useState)(i()({},z)),H=u()(U,2),G=H[0],V=H[1];return n.length?(0,Z.jsxs)("div",{className:M,style:{width:a},children:[(0,Z.jsxs)("div",{className:"".concat(F?N:D),children:[E&&(0,Z.jsxs)("div",{style:{width:"15%",display:"flex",alignItems:"center"},children:[(0,Z.jsx)(x.Z,{checked:b,onChange:function(e){y(e.target.checked,"hidden")}}),(0,Z.jsxs)(w.Z,{title:'隐藏测试集可以防止学生通过"print"等手段直接通关',children:[(0,Z.jsx)("span",{style:{marginLeft:"8px"},children:"隐藏"}),(0,Z.jsx)("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"})]})]}),(0,Z.jsx)("div",{style:{width:F?"25%":"15%"},children:"用例"}),(0,Z.jsx)("div",{style:{width:d?F?"20%":"15%":"25%",padding:"0 12px"},children:"输入"}),(0,Z.jsx)("div",{style:{width:d?F?"20%":"15%":"25%",padding:"0 12px"},children:"输出"}),d&&(0,Z.jsx)("div",{style:{width:"20%"},children:"得分比例"}),E&&(0,Z.jsxs)("div",{style:{width:"20%",display:"flex",alignItems:"center"},children:[(0,Z.jsx)(x.Z,{checked:C,onChange:function(e){y(e.target.checked,"input_visible")}}),(0,Z.jsxs)(w.Z,{title:"勾选后,输入对学员始终不可见",children:[(0,Z.jsx)("span",{style:{marginLeft:"8px"},children:"输入"}),(0,Z.jsx)("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"})]})]}),E&&(0,Z.jsxs)("div",{style:{width:"20%",display:"flex",alignItems:"center"},children:[(0,Z.jsx)(x.Z,{checked:j,onChange:function(e){y(e.target.checked,"is_invisible")}}),(0,Z.jsxs)(w.Z,{title:"勾选后,预期输出对学员始终不可见",children:[(0,Z.jsx)("span",{style:{marginLeft:"8px"},children:"预期输出"}),(0,Z.jsx)("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"})]})]}),E&&(0,Z.jsxs)("div",{style:{width:"20%",display:"flex",alignItems:"center"},children:[(0,Z.jsx)(x.Z,{checked:A,onChange:function(e){y(e.target.checked,"actual_output_visible")}}),(0,Z.jsxs)(w.Z,{title:"勾选后,实际输出对学员始终不可见",children:[(0,Z.jsx)("span",{style:{marginLeft:"8px"},children:"实际输出"}),(0,Z.jsx)("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"})]})]}),E&&(0,Z.jsxs)("div",{style:{width:"20%",display:"flex",alignItems:"center"},children:[(0,Z.jsx)(x.Z,{checked:S,onChange:function(e){y(e.target.checked,"last_match_rule")}}),(0,Z.jsxs)(w.Z,{title:"勾选后,实际输出与预期输出最后一行相同即可通关",children:[(0,Z.jsx)("span",{style:{marginLeft:"8px"},children:"特殊判定"}),(0,Z.jsx)("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"})]})]}),(0,Z.jsx)("div",{className:O,style:F?{flex:1,textAlign:"right"}:{width:"10%"},children:"操作"})]}),(0,Z.jsx)("div",{className:L,style:{boxShadow:F?"0px 2px 4px 0px #EAEEF4":"unset"},children:n.map((function(e,t){var n,i,o,a;return(0,Z.jsxs)("div",{className:I,style:F?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{},children:[E&&(0,Z.jsx)("div",{style:{width:"15%"},children:(0,Z.jsx)(x.Z,{checked:!!e.hidden,onChange:function(e){v(e.target.checked,t,"hidden")}})}),(0,Z.jsxs)("div",{style:{width:F?"25%":"15%",paddingLeft:F?"5px":"0px",paddingRight:F?"5px":"0px"},children:["测试用例",t+1]}),(0,Z.jsx)("div",{className:P,style:{width:d?F?"20%":"15%":"25%"},children:(0,Z.jsx)("span",{title:e.input||(null===(n=e[0])||void 0===n?void 0:n.name),onClick:c()(s()().mark((function t(){var n,r;return s()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("string"!=typeof(n=e.input?e.input_file_url?e.input_file_url:e.in_file:e[0])){t.next=14;break}return t.next=4,fetch(n,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});case 4:return r=t.sent,t.t0=V,t.next=8,r.text();case 8:t.t1=t.sent,t.t2=n,t.t3={value:t.t1,filename:"",dataUrl:t.t2},(0,t.t0)(t.t3),t.next=18;break;case 14:return t.next=16,(0,q.db)(n.file);case 16:r=t.sent,V({value:r.text,filename:n.name,dataUrl:r.link});case 18:case"end":return t.stop()}}),t)}))),children:e.input||(null===(i=e[0])||void 0===i?void 0:i.name)})}),(0,Z.jsx)("div",{className:P,style:{width:d?F?"20%":"15%":"25%"},children:(0,Z.jsx)("span",{title:e.output||(null===(o=e[1])||void 0===o?void 0:o.name),onClick:c()(s()().mark((function t(){var n,r;return s()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("string"!=typeof(n=e.input?e.output_file_url?e.output_file_url:e.out_file:e[1])){t.next=14;break}return t.next=4,fetch(n,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});case 4:return r=t.sent,t.t0=V,t.next=8,r.text();case 8:t.t1=t.sent,t.t2=n,t.t3={value:t.t1,filename:"",dataUrl:t.t2},(0,t.t0)(t.t3),t.next=18;break;case 14:return t.next=16,(0,q.db)(n.file);case 16:r=t.sent,V({value:r.text,filename:n.name,dataUrl:r.link});case 18:case"end":return t.stop()}}),t)}))),children:e.output||(null===(a=e[1])||void 0===a?void 0:a.name)})}),d&&(0,Z.jsxs)("div",{style:{width:"20%"},children:[(0,Z.jsx)(_.Z,{size:"large",addonAfter:F?"%":null,disabled:h,style:{width:"80%"},onChange:function(e){return m(e,t)},value:e.score}),!F&&(0,Z.jsx)("span",{children:" %"})]}),E&&(0,Z.jsx)("div",{style:{width:"20%"},children:(0,Z.jsx)(x.Z,{checked:e.input_visible||!1,onChange:function(e){v(e.target.checked,t,"input_visible")},className:"font14",children:"对学员不可见"})}),E&&(0,Z.jsx)("div",{style:{width:"20%"},children:(0,Z.jsx)(x.Z,{checked:e.is_invisible||!1,onChange:function(e){v(e.target.checked,t,"is_invisible")},className:"font14",children:"对学员不可见"})}),E&&(0,Z.jsx)("div",{style:{width:"20%"},children:(0,Z.jsx)(x.Z,{checked:e.actual_output_visible||!1,onChange:function(e){v(e.target.checked,t,"actual_output_visible")},className:"font14",children:"对学员不可见"})}),E&&(0,Z.jsx)("div",{style:{width:"20%"},children:(0,Z.jsx)(x.Z,{checked:e.last_match_rule||!1,onChange:function(e){v(e.target.checked,t,"last_match_rule")},className:"font14",children:"末尾匹配"})}),(0,Z.jsx)("div",{onClick:function(){return function(e,t){g.Z.confirm({centered:!0,okText:"确定",cancelText:"取消",title:"提示",content:(0,Z.jsx)("div",{className:"tc font16",children:"请确认是否删除该测试用例?"}),onOk:function(){r(e,t)},onCancel:function(){}})}(e,t)},style:F?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"},children:(0,Z.jsx)("span",{className:R,children:"删除"})})]},t)}))}),(0,Z.jsx)(W.Z,{close:!0,data:G.dataUrl,filename:G.filename,type:G.dataUrl.length?"txt":"",onClose:function(){return V(i()({},z))},monacoEditor:{value:G.value,language:"txt",onChange:function(){},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})]}):(0,Z.jsx)(Z.Fragment,{})},Y=function(e){var t=e.onClose,n=e.onOK,r=e.visible,o=e.wrapClassName,a=e.rootIdentifier,l=e.multiple,d=void 0!==l&&l,x=e.defaultMultipleValue,w=void 0===x||x,_=(0,p.useState)([]),D=u()(_,2),O=D[0],N=D[1],L=(0,p.useState)({}),I=u()(L,2),R=I[0],P=I[1],B=(0,p.useState)(!1),q=u()(B,2),W=q[0],Y=q[1],K=(0,p.useState)(!0),X=u()(K,2),Q=X[0],J=X[1],$=(0,p.useRef)([]),ee=(0,p.useRef)(0);(0,p.useEffect)((function(){te()}),[]),(0,p.useEffect)((function(){r&&($.current=[],ee.current=0,N([]),J(w))}),[r]);var te=function(){var e=c()(s()().mark((function e(){var t,n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,U.ZP)("/api/buckets/get_upload_token_for_big_files",{method:"get"});case 3:t=e.sent,n=JSON.parse((0,z.pe)(t.data)),P(n),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),ne=function(e){return e?e.substring(0,e.lastIndexOf(".")):e},re=function(e){if(!Q){var r=new FormData;return r.append("file",e.file),void(0,U.ZP)("/api/attachments/get_file_content.json",{method:"post",body:r},!0).then((function(r){if(0===r.status){ee.current=ee.current+1;var o=$.current.map((function(t){if(t.name===e.name){var n,o=i()({},t);return null!=e&&null!==(n=e.name)&&void 0!==n&&n.includes(".in")?o.input=null==r?void 0:r.content:o.output=null==r?void 0:r.content,o}return t}));if($.current=f()(o),N(f()(o)),ee.current>0&&ee.current===O.length){Y(!1);var s=G(o);s=(s=s.filter((function(e){var t,n;return!(null===(t=e[0])||void 0===t||!t.name||null===(n=e[1])||void 0===n||!n.name)}))).map((function(e){return i()(i()(i()({},e[0]),e[1]),{},{is_file:!1})})),n(s),t()}}else Y(!1),t()}))}var o=new(F())({endpoint:R.end_point,region:R.region,accessKeyId:R.access_key_id,accessKeySecret:R.access_key_secret,bucket:R.bucket,stsToken:R.security_token}),s=e.name,c={container_type:"TestSet",file_name:s},l=(0,H.Z)(),u="testsets/".concat(a,"/").concat(l).concat(s.indexOf(".")>-1?"."+s.split(".").pop():"");null===a&&(u="testsets/".concat(l).concat(s.indexOf(".")>-1?"."+s.split(".").pop():"")),o.multipartUpload(u,new Blob([e.file],{type:e.file.type}),{timeout:36e5,partSize:1002400,callback:{customValue:{id:s+""},url:null==R?void 0:R.callback_url,host:null==R?void 0:R.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,U.rz)(c)}}).then((function(r){if(0===r.data.status){ee.current=ee.current+1;var o=$.current.map((function(t){var n;if(t.name===(null===(n=r.data)||void 0===n||null===(n=n.data)||void 0===n?void 0:n.file_name)){var o,s,a,c,l,u,d,f=i()({},t);if(null!==(o=r.data)&&void 0!==o&&null!==(o=o.data)&&void 0!==o&&null!==(o=o.file_name)&&void 0!==o&&o.includes(".in"))f.in_object_key=null===(s=r.data)||void 0===s||null===(s=s.data)||void 0===s?void 0:s.object,f.in_object_size=null===(a=r.data)||void 0===a||null===(a=a.data)||void 0===a?void 0:a.size,f.input=null===(c=r.data)||void 0===c||null===(c=c.data)||void 0===c?void 0:c.file_name,f.in_file=e;else f.out_object_key=null===(l=r.data)||void 0===l||null===(l=l.data)||void 0===l?void 0:l.object,f.out_object_size=null===(u=r.data)||void 0===u||null===(u=u.data)||void 0===u?void 0:u.size,f.output=null===(d=r.data)||void 0===d||null===(d=d.data)||void 0===d?void 0:d.file_name,f.out_file=e;return f}return t}));if($.current=f()(o),N(f()(o)),ee.current>0&&ee.current===O.length){Y(!1);var s=G(o);s=(s=s.filter((function(e){var t,n;return!(null===(t=e[0])||void 0===t||!t.name||null===(n=e[1])||void 0===n||!n.name)}))).map((function(e){return i()(i()(i()({},e[0]),e[1]),{},{is_file:!0})})),n(s),t()}}}))},ie=function(e){return new Promise((function(t,n){for(var r=0,i=[],o=function(o){e[o].file.slice(0,1).arrayBuffer().then((function(){++r===e.length&&(i.length?(m.ZP.warning("".concat(i.join(","),"文件已损坏或已被修改,请删除后重新上传!")),n()):t(e))})).catch((function(s){console.log("错误信息:",s),r++,i.push(e[o].name),r===e.length&&(i.length?(m.ZP.warning("".concat(i.join(","),"文件已损坏或已被修改,请删除后重新上传!")),n()):t(e))}))},s=0;s<e.length;s++)o(s)}))},oe=function(){var e=c()(s()().mark((function e(){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==O.length){e.next=3;break}return m.ZP.warning("请选择上传文件"),e.abrupt("return");case 3:return e.next=5,ie(O);case 5:if(Y(!0),!G(O).some((function(e){var t,n;return!(null!==(t=e[0])&&void 0!==t&&t.name&&null!==(n=e[1])&&void 0!==n&&n.name)}))){e.next=10;break}return g.Z.confirm({centered:!0,okText:"确定",cancelText:"取消",title:"提示",content:"上传的测试用例中存在未配对的文件,请确认是否仅保存已配对的测试用例?",onOk:function(){var e=c()(s()().mark((function e(){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:O.map(function(){var e=c()(s()().mark((function e(t){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:re(t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),onCancel:function(){Y(!1)}}),e.abrupt("return");case 10:O.map(function(){var e=c()(s()().mark((function e(t){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:re(t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),se={name:"file",fileList:O,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:function(e){if(null!=O&&O.some((function(t){return t.name===e.name})))return m.ZP.info("".concat(e.name,"文件已存在")),!1;if(e.size/1024/1024>100)return m.ZP.info("文件超过100M,不符合上传要求"),!1;if(!/\.(in|out|IN|OUT)$/.test(e.name))return m.ZP.warning("输入文件只能上传.in和.out类型的文本文件"),!1;var t={name:e.name,uid:e.uid,file:e,percent:0};return O.push(t),$.current=f()(O),N(f()(O)),!1}},ae=G(O);return console.log(O,ae,"fileList"),(0,Z.jsx)(g.Z,{open:r,wrapClassName:o,onOk:oe,centered:!0,okText:"确认",cancelText:"取消",okButtonProps:{loading:W},onCancel:function(){t()},width:730,title:"批量上传测试用例",children:(0,Z.jsxs)("div",{className:j,children:[O.length?(0,Z.jsxs)("div",{children:[(0,Z.jsxs)(v.Z,{justify:"space-between",align:"middle",style:{marginBottom:40},children:[(0,Z.jsxs)("div",{style:{visibility:d?"visible":"hidden"},children:[(0,Z.jsx)("span",{className:C,children:"用例类型"}),(0,Z.jsxs)(y.ZP.Group,{className:"ml20 ".concat(M),optionType:"button",value:Q,onChange:function(e){return J(e.target.value)},children:[(0,Z.jsx)(y.ZP,{value:!1,children:"文本"}),(0,Z.jsx)(y.ZP,{value:!0,children:"文件"})]})]}),(0,Z.jsx)(h.Z,i()(i()({},se),{},{children:(0,Z.jsxs)(b.ZP,{type:"primary",className:T,children:[(0,Z.jsx)("i",{className:"iconfont icon-shangchuan2"}),"上传文件"]})}))]}),(0,Z.jsx)(V,{data:ae,onRemove:function(e){var t,n,r=ne(null===(t=e[0])||void 0===t?void 0:t.name)||ne(null===(n=e[1])||void 0===n?void 0:n.name),i=O.filter((function(e){return ne(e.name)!==r}));$.current=f()(i),N(f()(i))}})]}):(0,Z.jsx)("div",{className:"".concat(A," mb30"),children:(0,Z.jsxs)(h.Z.Dragger,i()(i()({},se),{},{className:k,children:[(0,Z.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0n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lePBYhVl5gJSjxQEkMMkHWTeECsG6v1LDT2HGwZcRLEjudj/HUkPd7XiASI1VCVMe8rIDgHKwIxQOY+G4GYe4sVLTARYNMKkiuxGWL8hSRFWVA8FCBWXFIGXFVAeJB/PUYWxACZ66QEYq7tVbK4TIBlV2InGajIlCRE2TCAWFk9Ge2mhBrf9/++Hv4IcsYnuxK7Atn3EAJ/VTnDEEVdgZgiM9yFUqACO2lSDGJnmL3teWrpI+OAmA8f9a0i4xB/bTHFITafkwEyfYkjjwiIyTWjx2MFdmEc32O/ThQrZhWIzSDjK0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",alt:"",className:"mb20"}),(0,Z.jsxs)("div",{children:[(0,Z.jsx)("span",{children:"拖拽文件或"}),(0,Z.jsx)("span",{className:E,children:"点击此处上传"})]})]}))}),(0,Z.jsxs)("div",{className:S,children:[(0,Z.jsx)("span",{style:{color:"#FA6400"},children:"提示"}),(0,Z.jsx)("br",{}),"1、文件必须上传.in和.out类型的文本文件。",(0,Z.jsx)("br",{}),"2、上传的文件编码仅支持UTF-8,否则可能会出现文本乱码。",(0,Z.jsx)("br",{}),"3、输入输出文件需文件名称一一对应,未对应时,将无法上传。",(0,Z.jsx)("br",{}),"4、单个上传文件不能超过100MB,超过时可以分批次上传。",(0,Z.jsx)("br",{})]})]})})}},56467:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(7557),i=n.n(r),o=n(41498),s=n.n(o),a=n(79800),c=n.n(a),l=n(59301),u=n(6767),d=n(25399),f=n(29787),p=n(77019),h=n(5269),m=n(13747),g=n(99571),v=n(58358),y=n(94171),b=n(74889),x=n(37712),w=function(e){var t=e.id,n=e.activeDiscussIndex,r=e.onReplyDiscuss,i=e.adminOrOperator,o=(0,l.useState)(""),s=c()(o,2),a=s[0],f=s[1],p=(0,l.useState)(!1),h=c()(p,2),m=h[0],g=h[1];function y(e){f(e)}return(0,l.useEffect)((function(){n!=t&&g(!1)}),[n]),(0,x.jsxs)("div",{className:"discuss-item-editor",style:{display:n===t?"block":"none",width:"100%"},children:[(0,x.jsx)(v.Z,{miniToolbar:!0,startInit:n===t,defaultValue:a,id:t,noStorage:!0,watch:!1,height:155,placeholder:"我要回复",showResizeBar:!0,onChange:y,extraUse:i&&(0,x.jsx)(d.Z,{color:"#fff",open:m,destroyTooltipOnHide:!0,title:_({id:t,isOpen:m,activeDiscussIndex:n,onChange:y,setIsOpen:g}),overlayStyle:{maxWidth:600},children:(0,x.jsx)("a",{title:m?"关闭推荐":"打开推荐",onClick:function(){return g(!m)},children:(0,x.jsx)("i",{className:"iconfont icon-dianzan11"})})})}),(0,x.jsx)("a",{onClick:function(){a?(r(t,a),f("")):u.ZP.info("回复内容不能为空!")},className:"btn-send",children:"发送"})]},t)},_=function(e){var t=(0,l.useState)(!1),n=c()(t,2),r=n[0],o=n[1],a=(0,l.useState)([]),u=c()(a,2),d=u[0],v=u[1],w=(0,l.useState)(1),_=c()(w,2),j=_[0],S=_[1];(0,l.useEffect)((function(){null!=e&&e.isOpen?C():(S(1),v([]))}),[null==e?void 0:e.isOpen]);var C=function(){var t=s()(i()().mark((function t(){var n;return i()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o(!0),t.next=3,(0,y.ZP)("/api/discusses/".concat(null==e?void 0:e.id,"/recommend_answer.json"),{method:"get"});case 3:0==(null==(n=t.sent)?void 0:n.status)&&v(null==n?void 0:n.answer),o(!1);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return(0,x.jsx)(f.Z,{spinning:r,children:(0,x.jsxs)("div",{style:{color:"#000"},children:[(0,x.jsx)(b.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(null==d?void 0:d[j-1])||""}),(0,x.jsxs)(p.Z,{justify:"end",align:"middle",children:[(0,x.jsx)(h.Z,{children:(0,x.jsx)(m.Z,{simple:!0,current:j,pageSize:1,total:(null==d?void 0:d.length)||0,onChange:function(e){S(e)}})}),(0,x.jsx)(h.Z,{children:(0,x.jsx)(g.ZP,{onClick:s()(i()().mark((function t(){return i()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:null==e||e.onChange(null==d?void 0:d[j-1]),null==e||e.setIsOpen(!1);case 2:case"end":return t.stop()}}),t)}))),children:"填入文本框"})})]})]})})}},12225:function(e,t,n){"use strict";n.d(t,{CP:function(){return o},_V:function(){return a}});var r=n(28209),i=n.n(r),o={secret:r.enc.Utf8.parse("0a18e199b87f1a8d"),iv:r.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},s={exam:o};function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"exam",n=s[t],o=n.secret,a=n.iv,c=r.AES.decrypt(e,o,{iv:a,mode:i().mode.CBC,padding:i().pad.Pkcs7});return c.toString(r.enc.Utf8)}},81286:function(e,t,n){"use strict";function r(e){try{e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen&&e.webkitRequestFullScreen()}catch(e){console.log(e,":e")}}function i(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}n.d(t,{BU:function(){return i},Dj:function(){return r},gH:function(){return o},vp:function(){return s}});var o=function(){return document.webkitExitFullscreen?"webkitfullscreenchange":document.exitFullscreen?"fullscreenchange":document.msExitFullscreen?"msfullscreenchange":document.mozCancelFullScreen?"mozfullscreenchange":void 0};function s(){var e=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement;document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",e),window.isFullScreen?window.isFullScreen:null!=e}},87665:function(e,t,n){"use strict";n.d(t,{U:function(){return f}});var r=n(7557),i=n.n(r),o=n(82242),s=n.n(o),a=n(41498),c=n.n(a),l=n(79800),u=n.n(l),d=n(59301);function f(e,t){var n=(0,d.useState)(t),r=u()(n,2),o=r[0],a=r[1],l=(0,d.useState)(!1),f=u()(l,2),p=f[0],h=f[1],m=(0,d.useState)(),g=u()(m,2),v=g[0],y=g[1],b=function(){var n=c()(i()().mark((function n(r){var c,l,u,d=arguments;return i()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return c=d.length>1&&void 0!==d[1]&&d[1],l=c?t:s()(s()({},o),r),h(!0),a(l),n.next=6,e(l);case 6:return u=n.sent,h(!1),y(u),n.abrupt("return",u);case 10:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}();return[o,p,b,v,y]}},76595:function(e,t,n){"use strict";n.d(t,{_:function(){return a}});var r=n(91232),i=n.n(r),o=n(59301),s=n(62957),a=function(e){var t,n,r=(0,o.useRef)([]),a=function(){var e,t=i()(r.current);try{for(t.s();!(e=t.n()).done;){var n=e.value;clearTimeout(n)}}catch(e){t.e(e)}finally{t.f()}r.current=[]};return(0,o.useEffect)((function(){var t,n;if(a(),null!=e&&null!==(t=e.exercise)&&void 0!==t&&t.left_time&&(null==e||null===(n=e.exercise)||void 0===n||null===(n=n.exercise_events)||void 0===n?void 0:n.length)>0){var o,c,l=i()(null==e||null===(o=e.exercise)||void 0===o?void 0:o.exercise_events);try{var u=function(){var t,n=c.value;if((null==e||null===(t=e.exercise)||void 0===t?void 0:t.left_time)>60*(null==n?void 0:n.reminder_time)){var i,o=1e3*((null==e||null===(i=e.exercise)||void 0===i?void 0:i.left_time)-60*(null==n?void 0:n.reminder_time));o=o>2147483647?2147483647:o;var a=setTimeout((function(){s.Z.info({content:"".concat(null==n?void 0:n.reminder_content),icon:null,title:"提示",centered:!0,okText:"知道了"})}),o);r.current.push(a)}};for(l.s();!(c=l.n()).done;)u()}catch(e){l.e(e)}finally{l.f()}}}),[null==e||null===(t=e.exercise)||void 0===t?void 0:t.left_time,null==e||null===(n=e.exercise)||void 0===n?void 0:n.exercise_events]),a}},75359:function(e,t,n){"use strict";n.d(t,{AL:function(){return j},Iy:function(){return p},Qv:function(){return g},ez:function(){return _},jb:function(){return h}});var r=n(79800),i=n.n(r),o=n(32834),s=n.n(o),a=n(11690),c=1;var l=[],u=["<ul>"],d=new(s().Renderer),f=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function p(){l.length=0,u=["<ul>"]}var h={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function m(e,t,n,r){if(t>=e.length||e[t].level<=n)return t;var i=e[t];r.push("<li><a href='#"+c+i.anchor+"'>"+i.text+"</a>");var o=[];return t=m(e,++t,i.level,o),o.length>0&&(r.push("<ul>"),o.forEach((function(e){r.push(e)})),r.push("</ul>")),r.push("</li>"),t=m(e,t,n,r)}function g(){return m(l,0,0,u),u.push("</ul>"),u.join("")}var v={heading:function(e){var t=f.exec(e);if(c+=1,t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}},fences:function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=function(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+/);return null===t?e:i()(t,1)[0].length>=r.length?e.slice(r.length):e})).join("\n")}(n,t[3]||""),o=t[2]?t[2].trim():t[2];if(["latex","katex","math"].indexOf(o)>=0){var s=x(),a=r;r=s,w[s]={type:"block",expression:a}}return{type:"code",raw:n,lang:o,text:r}}}},y=/(?:\${2})([^\n`]+?)(?:\${2})/gi,b=0,x=function(){return"__special_katext_id_".concat(b++,"__")},w={};function _(){return w}function j(){b=0,w={}}function S(e){return e=e.replace(y,(function(e,t){var n=x();return w[n]={type:"inline",expression:t},n}))}var C=d.listitem;d.listitem=function(e){return C(S(e))};var A=d.paragraph;d.paragraph=function(e){return A(S(e))};var k=d.tablecell;d.tablecell=function(e,t){return k(S(e),t)},d.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];return r?["latex","katex","math"].indexOf(r)>=0?"<p class='editormd-tex'>".concat(e,"</p>"):'<pre class="prettyprint linenums"><code class="language-'.concat(t,'">').concat(n?e:(0,a.escape)(e,!0),"</code></pre>\n"):'<pre class="prettyprint linenums"><code>'+(n?e:(0,a.escape)(e,!0))+"</code></pre>"},d.heading=function(e,t,n){var r=this.options.headerPrefix+n.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return l.push({anchor:r,level:t,text:e}),"<h"+t+' id="'+c+r+'">'+e+"</h"+t+">"},s().setOptions({silent:!0,gfm:!0,pedantic:!1}),s().use({tokenizer:v,renderer:d}),t.ZP=s()},34407:function(e,t,n){"use strict";n.d(t,{G:function(){return s},t:function(){return o}});var r=n(7062),i=n.n(r);function o(e,t){var n=i().get("__ec");n||(n={}),n[e]=t,i().set("__ec",n)}function s(e,t){var n=i().get("__ec");return n?void 0===n[e]?t:n[e]:t}},50300:function(e,t,n){"use strict";n(59301);Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;t.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},88620:function(e,t,n){"use strict";n(59301);Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;t.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},61824:function(e,t,n){"use strict";n(59301);Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;t.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTAgNTEyYTUxMiA1MTIgMCAxIDAgMTAyNCAwQTUxMiA1MTIgMCAxIDAgMCA1MTJaIiBmaWxsPSIjRUJFRkY3Ii8+PHBhdGggZD0ibTM2OC4zMzMgNDg3LjUyNiAyNC43OC0yNC41MjRMNTkxLjMxIDI2Ny4wMDhjMTQuODQ4LTE0LjY5NCAzNC43MTMtMTQuNjk0IDQ5LjU2MSAwYTM3LjM3NiAzNy4zNzYgMCAwIDEtNC45NjYgNDguOTk4TDQzNy43NiA1MTJsMTk4LjE5NSAxOTUuOTk0YzE0Ljg0OCAxNC42OTQgMTQuODQ4IDM0LjMwNCAwIDQ4Ljk5OC0xNC44NDggMTQuNjk0LTM0LjY2MiAxNC42OTQtNDkuNTEgMEwzODguMDk2IDU2MC45OThsLTE5LjgxNC0yNC41MjRBMzcuMjIyIDM3LjIyMiAwIDAgMSAzNTguNCA1MTJjMC05Ljc4IDAtMTQuNjk0IDkuOTMzLTI0LjQ3NHoiIGZpbGw9IiNBQUFGQjkiLz48L3N2Zz4="},55155:function(e,t,n){"use strict";n(59301);Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;t.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMjAgMCkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGNpcmNsZSBmaWxsPSIjRUJFRkY3IiBjeD0iMTAiIGN5PSIxMCIgcj0iMTAiLz48cGF0aCBkPSJtMTIuNDU5IDkuNTIyLS40ODQtLjQ3OS0zLjg3Mi0zLjgyOGMtLjI5LS4yODctLjY3OC0uMjg3LS45NjggMGEuNzMuNzMgMCAwIDAgLjA5Ny45NTdMMTEuMTAzIDEwbC0zLjg3MSAzLjgyOGMtLjI5LjI4Ny0uMjkuNjcgMCAuOTU3LjI5LjI4Ny42NzcuMjg3Ljk2OCAwbDMuODcxLTMuODI4LjM4OC0uNDc5YS43MjcuNzI3IDAgMCAwIC4xOTMtLjQ3OGMwLS4xOTEgMC0uMjg3LS4xOTMtLjQ3OFoiIGZpbGw9IiMzMDYxRDAiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4="},39697:function(e,t,n){"use strict";n(59301);Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;t.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTAgNTEyYTUxMiA1MTIgMCAxIDAgMTAyNCAwQTUxMiA1MTIgMCAxIDAgMCA1MTJaIiBmaWxsPSIjRUJFRkY3Ii8+PHBhdGggZD0ibTkwMy43ODIgNTEuMiA1MS4yIDUxLjItNTEuMi01MS4yem01MS4yIDAtNTEuMiA1MS4yIDUxLjItNTEuMnoiLz48cGF0aCBkPSJtNjM3LjkgNDg3LjUyNi0yNC43OC0yNC41MjQtMTk4LjI0Ni0xOTUuOTk0Yy0xNC44NDgtMTQuNjk0LTM0LjcxNC0xNC42OTQtNDkuNTYyIDBhMzcuMzc2IDM3LjM3NiAwIDAgMCA0Ljk2NiA0OC45OThMNTY4LjQ3NCA1MTIgMzcwLjI3OCA3MDcuOTk0Yy0xNC44NDggMTQuNjk0LTE0Ljg0OCAzNC4zMDQgMCA0OC45OTggMTQuODQ4IDE0LjY5NCAzNC42NjMgMTQuNjk0IDQ5LjU2MiAwbDE5OC4xOTUtMTk1Ljk5NCAxOS44NjYtMjQuNTI0QTM3LjIyMiAzNy4yMjIgMCAwIDAgNjQ3Ljc4MiA1MTJjMC05Ljc4IDAtMTQuNjk0LTkuODgxLTI0LjQ3NHoiIGZpbGw9IiNBQUFGQjkiLz48L3N2Zz4="},31741:function(e,t,n){"use strict";n(59301);Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;t.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNFQkVGRjciIGN4PSIxMCIgY3k9IjEwIiByPSIxMCIvPjxwYXRoIGQ9Im0xMi40NTkgOS41MjItLjQ4NC0uNDc5LTMuODcyLTMuODI4Yy0uMjktLjI4Ny0uNjc4LS4yODctLjk2OCAwYS43My43MyAwIDAgMCAuMDk3Ljk1N0wxMS4xMDMgMTBsLTMuODcxIDMuODI4Yy0uMjkuMjg3LS4yOS42NyAwIC45NTcuMjkuMjg3LjY3Ny4yODcuOTY4IDBsMy44NzEtMy44MjguMzg4LS40NzlhLjcyNy43MjcgMCAwIDAgLjE5My0uNDc4YzAtLjE5MSAwLS4yODctLjE5My0uNDc4WiIgZmlsbD0iIzMwNjFEMCIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg=="},21697:function(e,t){"use strict";t.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},5216:function(e,t){"use strict";t.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},45298:function(){},47257:function(e){var t,n;t=window,e.exports=function(){function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[s]={exports:{}};t[s][0].call(l.exports,(function(e){return i(t[s][1][e]||e)}),l,l.exports,e,t,n,r)}return n[s].exports}for(var o=void 0,s=0;s<r.length;s++)i(r[s]);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":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator")),o=r(e("@babel/runtime/helpers/asyncToGenerator"));e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.array.slice.js");var s=e("assert"),a=e("../common/utils/checkBucketName").checkBucketName,c=n;function l(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function u(e){return e?l(e)?e:[e]:[]}c.useBucket=function(e){return a(e),this.options.bucket=e,this},c.setBucket=function(e){return a(e),this.options.bucket=e,this},c.getBucket=function(){return this.options.bucket},c.deleteBucket=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this._bucketRequestParams("DELETE",t,"",n),e.next=3,this.request(r);case 3:if(200!==(o=e.sent).status&&204!==o.status){e.next=6;break}return e.abrupt("return",{res:o.res});case 6:return e.next=8,this.requestError(o);case 8:throw e.sent;case 9:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),c.putBucketACL=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r){var o,s;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(o=this._bucketRequestParams("PUT",t,"acl",r)).headers={"x-oss-acl":n},o.successStatuses=[200],e.next=5,this.request(o);case 5:return s=e.sent,e.abrupt("return",{bucket:s.headers.location&&s.headers.location.substring(1)||null,res:s.res});case 7:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}(),c.getBucketACL=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=this._bucketRequestParams("GET",t,"acl",n)).successStatuses=[200],r.xmlResponse=!0,e.next=5,this.request(r);case 5:return o=e.sent,e.abrupt("return",{acl:o.data.AccessControlList.Grant,owner:{id:o.data.Owner.ID,displayName:o.data.Owner.DisplayName},res:o.res});case 7:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),c.putBucketLogging=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r){var o,s,a;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=this._bucketRequestParams("PUT",t,"logging",r),s='<?xml version="1.0" encoding="UTF-8"?>\n<BucketLoggingStatus>\n<LoggingEnabled>\n<TargetBucket>'.concat(t,"</TargetBucket>\n"),n&&(s+="<TargetPrefix>".concat(n,"</TargetPrefix>\n")),s+="</LoggingEnabled>\n</BucketLoggingStatus>",o.content=s,o.mime="xml",o.successStatuses=[200],e.next=9,this.request(o);case 9:return a=e.sent,e.abrupt("return",{res:a.res});case 11:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}(),c.getBucketLogging=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o,s;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=this._bucketRequestParams("GET",t,"logging",n)).successStatuses=[200],r.xmlResponse=!0,e.next=5,this.request(r);case 5:return o=e.sent,s=o.data.LoggingEnabled,e.abrupt("return",{enable:!!s,prefix:s&&s.TargetPrefix||null,res:o.res});case 8:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),c.deleteBucketLogging=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=this._bucketRequestParams("DELETE",t,"logging",n)).successStatuses=[204,200],e.next=4,this.request(r);case 4:return o=e.sent,e.abrupt("return",{res:o.res});case 6:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),c.putBucketCORS=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r){var o,a,c,l,d,f,p,h,m,g;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(s((n=n||[]).length,"rules is required"),n.forEach((function(e){s(e.allowedOrigin,"allowedOrigin is required"),s(e.allowedMethod,"allowedMethod is required")})),o=this._bucketRequestParams("PUT",t,"cors",r),a='<?xml version="1.0" encoding="UTF-8"?>\n<CORSConfiguration>',c=function(e){a+="<AllowedOrigin>".concat(e,"</AllowedOrigin>")},l=function(e){a+="<AllowedMethod>".concat(e,"</AllowedMethod>")},d=function(e){a+="<AllowedHeader>".concat(e,"</AllowedHeader>")},f=function(e){a+="<ExposeHeader>".concat(e,"</ExposeHeader>")},p=0,h=n.length;p<h;p++)m=n[p],a+="<CORSRule>",u(m.allowedOrigin).forEach(c),u(m.allowedMethod).forEach(l),u(m.allowedHeader).forEach(d),u(m.exposeHeader).forEach(f),m.maxAgeSeconds&&(a+="<MaxAgeSeconds>".concat(m.maxAgeSeconds,"</MaxAgeSeconds>")),a+="</CORSRule>";return a+="</CORSConfiguration>",o.content=a,o.mime="xml",o.successStatuses=[200],e.next=16,this.request(o);case 16:return g=e.sent,e.abrupt("return",{res:g.res});case 18:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}(),c.getBucketCORS=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o,s,a;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=this._bucketRequestParams("GET",t,"cors",n)).successStatuses=[200],r.xmlResponse=!0,e.next=5,this.request(r);case 5:return o=e.sent,s=[],o.data&&o.data.CORSRule&&(l(a=o.data.CORSRule)||(a=[a]),a.forEach((function(e){var t={};Object.keys(e).forEach((function(n){t[n.slice(0,1).toLowerCase()+n.slice(1,n.length)]=e[n]})),s.push(t)}))),e.abrupt("return",{rules:s,res:o.res});case 9:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),c.deleteBucketCORS=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=this._bucketRequestParams("DELETE",t,"cors",n)).successStatuses=[204],e.next=4,this.request(r);case 4:return o=e.sent,e.abrupt("return",{res:o.res});case 6:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),c.putBucketReferer=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r,o){var s,a,c,l;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=this._bucketRequestParams("PUT",t,"referer",o),a='<?xml version="1.0" encoding="UTF-8"?>\n<RefererConfiguration>\n',a+=" <AllowEmptyReferer>".concat(n?"true":"false","</AllowEmptyReferer>\n"),r&&r.length>0){for(a+=" <RefererList>\n",c=0;c<r.length;c++)a+=" <Referer>".concat(r[c],"</Referer>\n");a+=" </RefererList>\n"}else a+=" <RefererList />\n";return a+="</RefererConfiguration>",s.content=a,s.mime="xml",s.successStatuses=[200],e.next=10,this.request(s);case 10:return l=e.sent,e.abrupt("return",{res:l.res});case 12:case"end":return e.stop()}}),e,this)})));function t(t,n,r,i){return e.apply(this,arguments)}return t}(),c.getBucketReferer=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o,s;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=this._bucketRequestParams("GET",t,"referer",n)).successStatuses=[200],r.xmlResponse=!0,e.next=5,this.request(r);case 5:return o=e.sent,(s=o.data.RefererList.Referer||null)&&(l(s)||(s=[s])),e.abrupt("return",{allowEmpty:"true"===o.data.AllowEmptyReferer,referers:s,res:o.res});case 9:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),c.deleteBucketReferer=function(){var e=(0,o.default)(i.default.mark((function e(t,n){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.putBucketReferer(t,!0,null,n);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),c._bucketRequestParams=function(e,t,n,r){return{method:e,bucket:t,subres:n,timeout:r&&r.timeout,ctx:r&&r.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(e,t,n){(function(n,r){(function(){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault"),o=i(e("@babel/runtime/regenerator")),s=i(e("@babel/runtime/helpers/asyncToGenerator"));e("core-js/modules/es.function.name.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.split.js"),e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.array.includes.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.symbol.js"),e("core-js/modules/es.symbol.description.js"),e("core-js/modules/es.array.slice.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.regexp.to-string.js");var a=e("debug")("ali-oss"),c=e("xml2js"),l=e("agentkeepalive"),u=e("merge-descriptors"),d=e("platform"),f=e("utility"),p=e("urllib"),h=e("./version"),m=e("bowser"),g=e("../common/signUtils"),v=e("../common/client/initOptions"),y=e("../common/utils/createRequest").createRequest,b=e("../common/utils/encoder").encoder,x=e("../common/client/getReqUrl").getReqUrl,w=e("../common/utils/setSTSToken").setSTSToken,_=e("../common/utils/retry").retry,j=e("../common/utils/isFunction").isFunction,S=new l;function C(){var e=d.name,t=d.version;e&&e.toLowerCase&&"ie"===e.toLowerCase()&&t.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function A(){return location&&"https:"===location.protocol}function k(e,t){if(C(),!(this instanceof k))return new k(e,t);e&&e.inited?this.options=e:this.options=k.initOptions(e),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=p,this.agent=this.options.agent||S),this.ctx=t,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}t.exports=k,k.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=Object.assign({secure:A(),useFetch:!1},e);return v(t)};var E=k.prototype;function T(e){return M.apply(this,arguments)}function M(){return(M=(0,s.default)(o.default.mark((function e(t){var n,r,i,s,a,c;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.options.stsToken||!j(this.options.refreshSTSToken)){e.next=3;break}return e.next=3,w.call(this);case 3:return n=y.call(this,t),this.options.useFetch||(n.params.mode="disable-fetch"),s=!!t.stream,e.prev=6,e.next=9,this.urllib.request(n.url,n.params);case 9:r=e.sent,this.debug("response %s %s, got %s, headers: %j",t.method,n.url,r.status,r.headers,"info"),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(6),i=e.t0;case 16:if(!r||!t.successStatuses||-1!==t.successStatuses.indexOf(r.status)){e.next=28;break}return e.next=19,this.requestError(r);case 19:if("RequestTimeTooSkewed"!==(a=e.sent).code||s){e.next=25;break}return this.options.amendTimeSkewed=+new Date(a.serverTime)-new Date,e.next=24,this.request(t);case 24:return e.abrupt("return",e.sent);case 25:a.params=t,e.next=32;break;case 28:if(!i){e.next=32;break}return e.next=31,this.requestError(i);case 31:a=e.sent;case 32:if(!a){e.next=34;break}throw a;case 34:if(!t.xmlResponse){e.next=39;break}return e.next=37,this.parseXML(r.data);case 37:c=e.sent,r.data=c;case 39:return e.abrupt("return",r);case 40:case"end":return e.stop()}}),e,this,[[6,13]])})))).apply(this,arguments)}E.debug=a,u(E,e("./object")),u(E,e("./bucket")),u(E,e("../common/bucket/getBucketWebsite")),u(E,e("../common/bucket/putBucketWebsite")),u(E,e("../common/bucket/deleteBucketWebsite")),u(E,e("../common/bucket/getBucketLifecycle")),u(E,e("../common/bucket/putBucketLifecycle")),u(E,e("../common/bucket/deleteBucketLifecycle")),u(E,e("../common/bucket/putBucketVersioning")),u(E,e("../common/bucket/getBucketVersioning")),u(E,e("../common/bucket/getBucketInventory")),u(E,e("../common/bucket/deleteBucketInventory")),u(E,e("../common/bucket/listBucketInventory")),u(E,e("../common/bucket/putBucketInventory")),u(E,e("../common/bucket/abortBucketWorm")),u(E,e("../common/bucket/completeBucketWorm")),u(E,e("../common/bucket/extendBucketWorm")),u(E,e("../common/bucket/getBucketWorm")),u(E,e("../common/bucket/initiateBucketWorm")),u(E,e("./managed-upload")),u(E,e("../common/multipart-copy")),u(E,e("../common/multipart")),u(E,e("../common/parallel")),E.signature=function(e){return this.debug("authorization stringToSign: %s",e,"info"),g.computeSignature(this.options.accessKeySecret,e,this.options.headerEncoding)},E._getReqUrl=x,E.authorization=function(e,t,n,r){var i=g.buildCanonicalString(e.toUpperCase(),t,{headers:r,parameters:n});return g.authorization(this.options.accessKeyId,this.options.accessKeySecret,i,this.options.headerEncoding)},E.request=function(){var e=(0,s.default)(o.default.mark((function e(t){var n=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.options.retryMax){e.next=6;break}return e.next=3,_(T.bind(this),this.options.retryMax,{errorHandler:function(e){return!!function(e){if(t.stream)return!1;var r=[-1,-2].includes(e.status),i=n.options.requestErrorRetryHandle||function(){return!0};return r&&i(e)}(e)}})(t);case 3:return e.abrupt("return",e.sent);case 6:return e.abrupt("return",T.call(this,t));case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),E._getResource=function(e){var t="/";return e.bucket&&(t+="".concat(e.bucket,"/")),e.object&&(t+=b(e.object,this.options.headerEncoding)),t},E._escape=function(e){return f.encodeURIComponent(e).replace(/%2F/g,"/")},E._getUserAgent=function(){var e=r&&r.browser?"js":"nodejs",t="aliyun-sdk-".concat(e,"/").concat(h.version),n=d.description;return!n&&r&&(n="Node.js ".concat(r.version.slice(1)," on ").concat(r.platform," ").concat(r.arch)),this._checkUserAgent("".concat(t," ").concat(n))},E._checkUserAgent=function(e){return e.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta")},E.checkBrowserAndVersion=function(e,t){return m.name===e&&m.version.split(".")[0]===t},E.parseXML=function(e){return new Promise((function(t,r){n.isBuffer(e)&&(e=e.toString()),c.parseString(e,{explicitRoot:!1,explicitArray:!1},(function(e,n){e?r(e):t(n)}))}))},E.requestError=function(){var e=(0,s.default)(o.default.mark((function e(t){var n,r,i,s;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=null,t.data&&t.data.length){e.next=5;break}-1===t.status||-2===t.status?((n=new Error(t.message)).name=t.name,n.status=t.status,n.code=t.name):(404===t.status?((n=new Error("Object not exists")).name="NoSuchKeyError",n.status=404,n.code="NoSuchKey"):412===t.status?((n=new Error("Pre condition failed")).name="PreconditionFailedError",n.status=412,n.code="PreconditionFailed"):((n=new Error("Unknow error, status: ".concat(t.status))).name="UnknownError",n.status=t.status),n.requestId=t.headers["x-oss-request-id"],n.host=""),e.next=32;break;case 5:return r=String(t.data),this.debug("request response error data: %s",r,"error"),e.prev=7,e.next=10,this.parseXML(r);case 10:if(e.t0=e.sent,e.t0){e.next=13;break}e.t0={};case 13:i=e.t0,e.next=23;break;case 16:return e.prev=16,e.t1=e.catch(7),this.debug(r,"error"),e.t1.message+="\nraw xml: ".concat(r),e.t1.status=t.status,e.t1.requestId=t.headers["x-oss-request-id"],e.abrupt("return",e.t1);case 23:s=i.Message||"unknow request error, status: ".concat(t.status),i.Condition&&(s+=" (condition: ".concat(i.Condition,")")),(n=new Error(s)).name=i.Code?"".concat(i.Code,"Error"):"UnknownError",n.status=t.status,n.code=i.Code,n.requestId=i.RequestId,n.hostId=i.HostId,n.serverTime=i.ServerTime;case 32:return this.debug("generate error %j",n,"error"),e.abrupt("return",n);case 34:case"end":return e.stop()}}),e,this,[[7,16]])})));function t(t){return e.apply(this,arguments)}return t}()}).call(this)}).call(this,{isBuffer:e("../../node_modules/is-buffer/index.js")},e("_process"))},{"../../node_modules/is-buffer/index.js":366,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":49,"../common/signUtils":50,"../common/utils/createRequest":56,"../common/utils/encoder":59,"../common/utils/isFunction":68,"../common/utils/retry":74,"../common/utils/setSTSToken":76,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,agentkeepalive:81,bowser:88,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.split.js":307,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.js":313,debug:465,"merge-descriptors":372,platform:379,urllib:475,utility:474,xml2js:426}],4:[function(e,t,n){(function(t){(function(){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.function.name.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.array.from.js"),e("core-js/modules/es.string.iterator.js"),e("core-js/modules/es.array.map.js"),e("core-js/modules/es.array.filter.js"),e("core-js/modules/es.array.find.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/es.array.slice.js"),e("core-js/modules/es.array.iterator.js"),e("core-js/modules/es.array-buffer.slice.js"),e("core-js/modules/es.typed-array.uint8-array.js"),e("core-js/modules/es.typed-array.copy-within.js"),e("core-js/modules/es.typed-array.every.js"),e("core-js/modules/es.typed-array.fill.js"),e("core-js/modules/es.typed-array.filter.js"),e("core-js/modules/es.typed-array.find.js"),e("core-js/modules/es.typed-array.find-index.js"),e("core-js/modules/es.typed-array.for-each.js"),e("core-js/modules/es.typed-array.includes.js"),e("core-js/modules/es.typed-array.index-of.js"),e("core-js/modules/es.typed-array.iterator.js"),e("core-js/modules/es.typed-array.join.js"),e("core-js/modules/es.typed-array.last-index-of.js"),e("core-js/modules/es.typed-array.map.js"),e("core-js/modules/es.typed-array.reduce.js"),e("core-js/modules/es.typed-array.reduce-right.js"),e("core-js/modules/es.typed-array.reverse.js"),e("core-js/modules/es.typed-array.set.js"),e("core-js/modules/es.typed-array.slice.js"),e("core-js/modules/es.typed-array.some.js"),e("core-js/modules/es.typed-array.sort.js"),e("core-js/modules/es.typed-array.subarray.js"),e("core-js/modules/es.typed-array.to-locale-string.js"),e("core-js/modules/es.typed-array.to-string.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("util"),a=e("path"),c=e("mime"),l=e("copy-to"),u=e("../common/utils/isBlob").isBlob,d=e("../common/utils/isFile").isFile,f=e("../common/utils/isBuffer").isBuffer,p=n;p.multipartUpload=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o,s,l,p,h,m,g,v,y=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=y.length>2&&void 0!==y[2]?y[2]:{},this.resetCancelFlag(),r.disabledMD5=void 0===r.disabledMD5||!!r.disabledMD5,!r.checkpoint||!r.checkpoint.uploadId){e.next=8;break}return n&&d(n)&&(r.checkpoint.file=n),e.next=7,this._resumeMultipart(r.checkpoint,r);case 7:case 41:return e.abrupt("return",e.sent);case 8:return o=102400,r.mime||(d(n)?r.mime=c.getType(a.extname(n.name)):u(n)?r.mime=n.type:f(n)?r.mime="":r.mime=c.getType(a.extname(n))),r.headers=r.headers||{},this._convertMetaToHeaders(r.meta,r.headers),e.next=14,this._getFileSize(n);case 14:if(!((s=e.sent)<o)){e.next=26;break}return r.contentLength=s,e.next=19,this.put(t,n,r);case 19:if(l=e.sent,!r||!r.progress){e.next=23;break}return e.next=23,r.progress(1);case 23:return p={res:l.res,bucket:this.options.bucket,name:t,etag:l.res.headers.etag},(r.headers&&r.headers["x-oss-callback"]||r.callback)&&(p.data=l.data),e.abrupt("return",p);case 26:if(!r.partSize||parseInt(r.partSize,10)===r.partSize){e.next=28;break}throw new Error("partSize must be int number");case 28:if(!(r.partSize&&r.partSize<o)){e.next=30;break}throw new Error("partSize must not be smaller than ".concat(o));case 30:return e.next=32,this.initMultipartUpload(t,r);case 32:if(h=e.sent,m=h.uploadId,g=this._getPartSize(s,r.partSize),v={file:n,name:t,fileSize:s,partSize:g,uploadId:m,doneParts:[]},!r||!r.progress){e.next=39;break}return e.next=39,r.progress(0,v,h.res);case 39:return e.next=41,this._resumeMultipart(v,r);case 42:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),p._resumeMultipart=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,s,a,c,u,d,f,p,h,m,g,v,y,b,x,w,_,j,S;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this,!this.isCancel()){e.next=3;break}throw this._makeCancelEvent();case 3:return s=t.file,a=t.fileSize,c=t.partSize,u=t.uploadId,d=t.doneParts,f=t.name,p=[],d.length>0&&l(d).to(p),h=this._divideParts(a,c),m=h.length,g=!1,v=function(e,r){return new Promise(function(){var a=(0,o.default)(i.default.mark((function o(a,c){var p,v,y,b,x;return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(i.prev=0,e.isCancel()){i.next=29;break}return p=h[r-1],i.next=5,e._createBuffer(s,p.start,p.end);case 5:return v=i.sent,y={content:v,size:p.end-p.start},i.prev=7,i.next=10,e._uploadPart(f,u,r,y,n);case 10:b=i.sent,i.next=18;break;case 13:if(i.prev=13,i.t0=i.catch(7),404!==i.t0.status){i.next=17;break}throw e._makeAbortEvent();case 17:throw i.t0;case 18:if(e.isCancel()||g){i.next=26;break}if(t.doneParts.push({number:r,etag:b.res.headers.etag}),!n.progress){i.next=23;break}return i.next=23,n.progress(d.length/(m+1),t,b.res);case 23:a({number:r,etag:b.res.headers.etag}),i.next=27;break;case 26:a();case 27:i.next=30;break;case 29:a();case 30:i.next=41;break;case 32:i.prev=32,i.t1=i.catch(0),(x=new Error).name=i.t1.name,x.message=i.t1.message,x.stack=i.t1.stack,x.partNum=r,l(i.t1).to(x),c(x);case 41:case"end":return i.stop()}}),o,null,[[0,32],[7,13]])})));return function(e,t){return a.apply(this,arguments)}}())},y=Array.from(new Array(m),(function(e,t){return t+1})),b=p.map((function(e){return e.number})),x=y.filter((function(e){return b.indexOf(e)<0})),w=5,_=n.parallel||w,e.next=17,this._parallel(x,_,(function(e){return new Promise((function(t,n){v(r,e).then((function(e){e&&p.push(e),t()})).catch((function(e){n(e)}))}))}));case 17:if(j=e.sent,g=!0,!(S=j.find((function(e){return"abort"===e.name})))){e.next=22;break}throw S;case 22:if(!this.isCancel()){e.next=25;break}throw v=null,this._makeCancelEvent();case 25:if(!(j&&j.length>0)){e.next=28;break}throw j[0].message="Failed to upload some parts with error: ".concat(j[0].toString()," part_num: ").concat(j[0].partNum),j[0];case 28:return e.next=30,this.completeMultipartUpload(f,u,p,n);case 30:return e.abrupt("return",e.sent);case 31:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),p._getFileSize=function(){var e=(0,o.default)(i.default.mark((function e(t){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!f(t)){e.next=4;break}return e.abrupt("return",t.length);case 4:if(!u(t)&&!d(t)){e.next=6;break}return e.abrupt("return",t.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}();var h=e("stream").Readable;function m(e,t){if(!(this instanceof m))return new m(e,t);h.call(this,t),this.file=e,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}function g(e){return e.arrayBuffer?e.arrayBuffer():new Promise((function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e)},r.readAsArrayBuffer(e)}))}s.inherits(m,h),m.prototype.readFileAndPush=function(e){if(this.fileBuffer)for(var t=!0;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))}},m.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);e=e||16384;var n=this;this.reader.onload=function(r){n.fileBuffer=t.from(new Uint8Array(r.target.result)),n.file=null,n.readFileAndPush(e)},0===this.start?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(e)},p._createBuffer=function(){var e=(0,o.default)(i.default.mark((function e(n,r,o){var s,a;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!u(n)&&!d(n)){e.next=8;break}return s=n.slice(r,o),e.next=4,g(s);case 4:return a=e.sent,e.abrupt("return",t.from(a));case 8:if(!f(n)){e.next=12;break}return e.abrupt("return",n.subarray(r,o));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return e.stop()}}),e)})));function n(t,n,r){return e.apply(this,arguments)}return n}(),p._getPartSize=function(e,t){var n=1e4;t||(t=1048576);var r=Math.ceil(e/n);return t<r&&(t=r,console.warn("partSize has been set to ".concat(t,", because the partSize you provided causes partNumber to be greater than 10,000"))),t},p._divideParts=function(e,t){for(var n=Math.ceil(e/t),r=[],i=0;i<n;i++){var o=t*i,s=Math.min(o+t,e);r.push({start:o,end:s})}return r}}).call(this)}).call(this,e("buffer").Buffer)},{"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,buffer:90,"copy-to":94,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,mime:374,path:378,stream:398,util:419}],5:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.function.name.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/es.array.map.js"),e("core-js/modules/es.number.constructor.js"),e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.promise.js");var i=r(e("@babel/runtime/regenerator")),o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("fs"),a=e("copy-to"),c=e("path"),l=e("mime"),u=e("../common/callback"),d=e("merge-descriptors"),f=e("../common/utils/isBlob").isBlob,p=e("../common/utils/isFile").isFile,h=e("../common/utils/isBuffer").isBuffer,m=e("../common/utils/obj2xml").obj2xml,g=n;g.append=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r){var o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===(r=r||{}).position&&(r.position="0"),r.subres={append:"",position:r.position},r.method="POST",e.next=6,this.put(t,n,r);case 6:return(o=e.sent).nextAppendPosition=o.res.headers["x-oss-next-append-position"],e.abrupt("return",o);case 9:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}(),g.put=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r){var o,s,a,d,m;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r=r||{}).disabledMD5=void 0===r.disabledMD5||!!r.disabledMD5,r.headers=r.headers||{},t=this._objectName(t),!h(n)){e.next=8;break}o=n,e.next=19;break;case 8:if(!f(n)&&!p(n)){e.next=18;break}return r.mime||(p(n)?r.mime=l.getType(c.extname(n.name)):r.mime=n.type),e.next=12,this._createBuffer(n,0,n.size);case 12:return o=e.sent,e.next=15,this._getFileSize(n);case 15:r.contentLength=e.sent,e.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(r.meta,r.headers),s=r.method||"PUT",a=this._objectRequestParams(s,t,r),u.encodeCallback(a,r),a.mime=r.mime,a.disabledMD5=r.disabledMD5,a.content=o,a.successStatuses=[200],e.next=29,this.request(a);case 29:return d=e.sent,m={name:t,url:this._objectUrl(t),res:d.res},a.headers&&a.headers["x-oss-callback"]&&(m.data=JSON.parse(d.data.toString())),e.abrupt("return",m);case 33:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}(),g.putStream=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r){var o,s,a,c;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=r||{}).headers=r.headers||{},t=this._objectName(t),r.contentLength?r.headers["Content-Length"]=r.contentLength:r.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(r.meta,r.headers),o=r.method||"PUT",s=this._objectRequestParams(o,t,r),u.encodeCallback(s,r),s.mime=r.mime,s.stream=n,s.successStatuses=[200],e.next=13,this.request(s);case 13:return a=e.sent,c={name:t,url:this._objectUrl(t),res:a.res},s.headers&&s.headers["x-oss-callback"]&&(c.data=JSON.parse(a.data.toString())),e.abrupt("return",c);case 17:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}(),d(g,e("../common/object/copyObject")),d(g,e("../common/object/getObjectTagging")),d(g,e("../common/object/putObjectTagging")),d(g,e("../common/object/deleteObjectTagging")),d(g,e("../common/image")),d(g,e("../common/object/getBucketVersions")),d(g,e("../common/object/getACL")),d(g,e("../common/object/putACL")),d(g,e("../common/object/head")),d(g,e("../common/object/delete")),d(g,e("../common/object/get")),d(g,e("../common/object/putSymlink")),d(g,e("../common/object/getSymlink")),d(g,e("../common/object/deleteMulti")),d(g,e("../common/object/getObjectMeta")),d(g,e("../common/object/getObjectUrl")),d(g,e("../common/object/generateObjectUrl")),d(g,e("../common/object/signatureUrl")),d(g,e("../common/object/asyncSignatureUrl")),g.putMeta=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r){var o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.copy(t,t,{meta:n||{},timeout:r&&r.timeout,ctx:r&&r.ctx});case 2:return o=e.sent,e.abrupt("return",o);case 4:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}(),g.list=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o,s,a,c;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=this._objectRequestParams("GET","",n)).query=t,r.xmlResponse=!0,r.successStatuses=[200],e.next=6,this.request(r);case 6:return o=e.sent,s=o.data.Contents||[],a=this,s&&(Array.isArray(s)||(s=[s]),s=s.map((function(e){return{name:e.Key,url:a._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}}}))),(c=o.data.CommonPrefixes||null)&&(Array.isArray(c)||(c=[c]),c=c.map((function(e){return e.Prefix}))),e.abrupt("return",{res:o.res,objects:s,prefixes:c,nextMarker:o.data.NextMarker||null,isTruncated:"true"===o.data.IsTruncated});case 13:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),g.listV2=function(){var e=(0,o.default)(i.default.mark((function e(t){var n,r,o,s,a,c,l,u=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=u.length>1&&void 0!==u[1]?u[1]:{},(r=t["continuation-token"]||t.continuationToken)&&(n.subres=Object.assign({"continuation-token":r},n.subres)),(o=this._objectRequestParams("GET","",n)).query=Object.assign({"list-type":2},t),delete o.query["continuation-token"],delete o.query.continuationToken,o.xmlResponse=!0,o.successStatuses=[200],e.next=11,this.request(o);case 11:return s=e.sent,a=s.data.Contents||[],c=this,a&&(Array.isArray(a)||(a=[a]),a=a.map((function(e){var t=null;return e.Owner&&(t={id:e.Owner.ID,displayName:e.Owner.DisplayName}),{name:e.Key,url:c._objectUrl(e.Key),lastModified:e.LastModified,etag:e.ETag,type:e.Type,size:Number(e.Size),storageClass:e.StorageClass,owner:t}}))),(l=s.data.CommonPrefixes||null)&&(Array.isArray(l)||(l=[l]),l=l.map((function(e){return e.Prefix}))),e.abrupt("return",{res:s.res,objects:a,prefixes:l,isTruncated:"true"===s.data.IsTruncated,keyCount:+s.data.KeyCount,continuationToken:s.data.ContinuationToken||null,nextContinuationToken:s.data.NextContinuationToken||null});case 18:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),g.restore=function(){var e=(0,o.default)(i.default.mark((function e(t){var n,r,o,s,a=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=(n=a.length>1&&void 0!==a[1]?a[1]:{type:"Archive"})||{}).subres=Object.assign({restore:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),r=this._objectRequestParams("POST",t,n),"ColdArchive"===n.type&&(o={RestoreRequest:{Days:n.Days?n.Days:2,JobParameters:{Tier:n.JobParameters?n.JobParameters:"Standard"}}},r.content=m(o,{headers:!0}),r.mime="xml"),r.successStatuses=[202],e.next=9,this.request(r);case 9:return s=e.sent,e.abrupt("return",{res:s.res});case 11:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),g._objectUrl=function(e){return this._getReqUrl({bucket:this.options.bucket,object:e})},g._objectRequestParams=function(e,t,n){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");n=n||{};var r={object:t=this._objectName(t),bucket:this.options.bucket,method:e,subres:n&&n.subres,timeout:n&&n.timeout,ctx:n&&n.ctx};return n.headers&&(r.headers={},a(n.headers).to(r.headers)),r},g._objectName=function(e){return e.replace(/^\/+/,"")},g._convertMetaToHeaders=function(e,t){e&&Object.keys(e).forEach((function(n){t["x-oss-meta-".concat(n)]=e[n]}))},g._deleteFileSafe=function(e){var t=this;return new Promise((function(n){s.exists(e,(function(r){r?s.unlink(e,(function(r){r&&t.debug("unlink %j error: %s",e,r,"error"),n()})):n()}))}))}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(e,t,n){"use strict";n.version="6.18.1"},{}],7:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator")),o=r(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(n,"__esModule",{value:!0}),n.abortBucketWorm=void 0;var s=e("../utils/checkBucketName");function a(e,t){return c.apply(this,arguments)}function c(){return(c=(0,o.default)(i.default.mark((function e(t,n){var r,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s.checkBucketName(t),r=this._bucketRequestParams("DELETE",t,"worm",n),e.next=4,this.request(r);case 4:return o=e.sent,e.abrupt("return",{res:o.res,status:o.status});case 6:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}n.abortBucketWorm=a},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator")),o=r(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(n,"__esModule",{value:!0}),n.completeBucketWorm=void 0;var s=e("../utils/checkBucketName");function a(e,t,n){return c.apply(this,arguments)}function c(){return(c=(0,o.default)(i.default.mark((function e(t,n,r){var o,a;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s.checkBucketName(t),o=this._bucketRequestParams("POST",t,{wormId:n},r),e.next=4,this.request(o);case 4:return a=e.sent,e.abrupt("return",{res:a.res,status:a.status});case 6:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}n.completeBucketWorm=a},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(n,"__esModule",{value:!0}),n.deleteBucketInventory=void 0;var s=e("../utils/checkBucketName");function a(e,t){return c.apply(this,arguments)}function c(){return c=(0,o.default)(i.default.mark((function e(t,n){var r,o,a,c,l=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=l.length>2&&void 0!==l[2]?l[2]:{},o=Object.assign({inventory:"",inventoryId:n},r.subres),s.checkBucketName(t),(a=this._bucketRequestParams("DELETE",t,o,r)).successStatuses=[204],e.next=7,this.request(a);case 7:return c=e.sent,e.abrupt("return",{status:c.status,res:c.res});case 9:case"end":return e.stop()}}),e,this)}))),c.apply(this,arguments)}n.deleteBucketInventory=a},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator")),o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName").checkBucketName;n.deleteBucketLifecycle=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(t),(r=this._bucketRequestParams("DELETE",t,"lifecycle",n)).successStatuses=[204],e.next=5,this.request(r);case 5:return o=e.sent,e.abrupt("return",{res:o.res});case 7:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator")),o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName").checkBucketName;n.deleteBucketWebsite=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(t),(r=this._bucketRequestParams("DELETE",t,"website",n)).successStatuses=[204],e.next=5,this.request(r);case 5:return o=e.sent,e.abrupt("return",{res:o.res});case 7:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator")),o=r(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(n,"__esModule",{value:!0}),n.extendBucketWorm=void 0;var s=e("../utils/checkBucketName"),a=e("../utils/obj2xml");function c(e,t,n,r){return l.apply(this,arguments)}function l(){return(l=(0,o.default)(i.default.mark((function e(t,n,r,o){var c,l,u;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s.checkBucketName(t),c=this._bucketRequestParams("POST",t,{wormExtend:"",wormId:n},o),l={ExtendWormConfiguration:{RetentionPeriodInDays:r}},c.mime="xml",c.content=a.obj2xml(l,{headers:!0}),c.successStatuses=[200],e.next=8,this.request(c);case 8:return u=e.sent,e.abrupt("return",{res:u.res,status:u.status});case 10:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}n.extendBucketWorm=c},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(n,"__esModule",{value:!0}),n.getBucketInventory=void 0;var s=e("../utils/checkBucketName"),a=e("../utils/formatInventoryConfig");function c(e,t){return l.apply(this,arguments)}function l(){return l=(0,o.default)(i.default.mark((function e(t,n){var r,o,c,l,u=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=u.length>2&&void 0!==u[2]?u[2]:{},o=Object.assign({inventory:"",inventoryId:n},r.subres),s.checkBucketName(t),(c=this._bucketRequestParams("GET",t,o,r)).successStatuses=[200],c.xmlResponse=!0,e.next=8,this.request(c);case 8:return l=e.sent,e.abrupt("return",{status:l.status,res:l.res,inventory:a.formatInventoryConfig(l.data)});case 10:case"end":return e.stop()}}),e,this)}))),l.apply(this,arguments)}n.getBucketInventory=c},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.array.map.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName").checkBucketName,a=e("../utils/isArray").isArray,c=e("../utils/formatObjKey").formatObjKey;n.getBucketLifecycle=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o,l;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(t),(r=this._bucketRequestParams("GET",t,"lifecycle",n)).successStatuses=[200],r.xmlResponse=!0,e.next=6,this.request(r);case 6:return o=e.sent,(l=o.data.Rule||null)&&(a(l)||(l=[l]),l=l.map((function(e){return e.ID&&(e.id=e.ID,delete e.ID),e.Tag&&!a(e.Tag)&&(e.Tag=[e.Tag]),c(e,"firstLowerCase")}))),e.abrupt("return",{rules:l,res:o.res});case 10:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator")),o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName").checkBucketName;n.getBucketVersioning=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o,a;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(t),(r=this._bucketRequestParams("GET",t,"versioning",n)).xmlResponse=!0,r.successStatuses=[200],e.next=6,this.request(r);case 6:return o=e.sent,a=o.data.Status,e.abrupt("return",{status:o.status,versionStatus:a,res:o.res});case 9:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator")),o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName").checkBucketName,a=e("../utils/isObject").isObject;n.getBucketWebsite=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o,c;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(t),(r=this._bucketRequestParams("GET",t,"website",n)).successStatuses=[200],r.xmlResponse=!0,e.next=6,this.request(r);case 6:return o=e.sent,c=[],o.data.RoutingRules&&o.data.RoutingRules.RoutingRule&&(c=a(o.data.RoutingRules.RoutingRule)?[o.data.RoutingRules.RoutingRule]:o.data.RoutingRules.RoutingRule),e.abrupt("return",{index:o.data.IndexDocument&&o.data.IndexDocument.Suffix||"",supportSubDir:o.data.IndexDocument&&o.data.IndexDocument.SupportSubDir||"false",type:o.data.IndexDocument&&o.data.IndexDocument.Type,routingRules:c,error:o.data.ErrorDocument&&o.data.ErrorDocument.Key||null,res:o.res});case 10:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(n,"__esModule",{value:!0}),n.getBucketWorm=void 0;var s=e("../utils/checkBucketName"),a=e("../utils/dataFix");function c(e,t){return l.apply(this,arguments)}function l(){return(l=(0,o.default)(i.default.mark((function e(t,n){var r,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s.checkBucketName(t),(r=this._bucketRequestParams("GET",t,"worm",n)).successStatuses=[200],r.xmlResponse=!0,e.next=6,this.request(r);case 6:return o=e.sent,a.dataFix(o.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),e.abrupt("return",Object.assign(Object.assign({},o.data),{res:o.res,status:o.status}));case 9:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}n.getBucketWorm=c},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator")),o=r(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(n,"__esModule",{value:!0}),n.initiateBucketWorm=void 0;var s=e("../utils/obj2xml"),a=e("../utils/checkBucketName");function c(e,t,n){return l.apply(this,arguments)}function l(){return(l=(0,o.default)(i.default.mark((function e(t,n,r){var o,c,l;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a.checkBucketName(t),o=this._bucketRequestParams("POST",t,"worm",r),c={InitiateWormConfiguration:{RetentionPeriodInDays:n}},o.mime="xml",o.content=s.obj2xml(c,{headers:!0}),o.successStatuses=[200],e.next=8,this.request(o);case 8:return l=e.sent,e.abrupt("return",{res:l.res,wormId:l.res.headers["x-oss-worm-id"],status:l.status});case 10:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}n.initiateBucketWorm=c},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(n,"__esModule",{value:!0}),n.listBucketInventory=void 0;var s=e("../utils/checkBucketName"),a=e("../utils/formatInventoryConfig");function c(e){return l.apply(this,arguments)}function l(){return l=(0,o.default)(i.default.mark((function e(t){var n,r,o,c,l,u,d,f,p=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=p.length>1&&void 0!==p[1]?p[1]:{},r=n.continuationToken,o=Object.assign({inventory:""},r&&{"continuation-token":r},n.subres),s.checkBucketName(t),(c=this._bucketRequestParams("GET",t,o,n)).successStatuses=[200],c.xmlResponse=!0,e.next=9,this.request(c);case 9:return l=e.sent,u=l.data,d=l.res,f=l.status,e.abrupt("return",{isTruncated:"true"===u.IsTruncated,nextContinuationToken:u.NextContinuationToken,inventoryList:a.formatInventoryConfig(u.InventoryConfiguration,!0),status:f,res:d});case 12:case"end":return e.stop()}}),e,this)}))),l.apply(this,arguments)}n.listBucketInventory=c},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.array.concat.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(n,"__esModule",{value:!0}),n.putBucketInventory=void 0;var s=e("../utils/checkBucketName"),a=e("../utils/obj2xml");function c(e,t){return l.apply(this,arguments)}function l(){return l=(0,o.default)(i.default.mark((function e(t,n){var r,o,c,l,u,d,f,p,h,m,g,v=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=v.length>2&&void 0!==v[2]?v[2]:{},o=Object.assign({inventory:"",inventoryId:n.id},r.subres),s.checkBucketName(t),c=n.OSSBucketDestination,l=n.optionalFields,u=n.includedObjectVersions,d="acs:oss:::",f="acs:ram::".concat(c.accountId,":role/"),p={InventoryConfiguration:{Id:n.id,IsEnabled:n.isEnabled,Filter:{Prefix:n.prefix||""},Destination:{OSSBucketDestination:{Format:c.format,AccountId:c.accountId,RoleArn:"".concat(f).concat(c.rolename),Bucket:"".concat(d).concat(c.bucket),Prefix:c.prefix||"",Encryption:c.encryption||""}},Schedule:{Frequency:n.frequency},IncludedObjectVersions:u,OptionalFields:{Field:(null==l?void 0:l.field)||[]}}},h=a.obj2xml(p,{headers:!0,firstUpperCase:!0}),(m=this._bucketRequestParams("PUT",t,o,r)).successStatuses=[200],m.mime="xml",m.content=h,e.next=14,this.request(m);case 14:return g=e.sent,e.abrupt("return",{status:g.status,res:g.res});case 16:case"end":return e.stop()}}),e,this)}))),l.apply(this,arguments)}n.putBucketInventory=c},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.array.includes.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName").checkBucketName,a=e("../utils/isArray").isArray,c=e("../utils/deepCopy").deepCopy,l=e("../utils/isObject").isObject,u=e("../utils/obj2xml").obj2xml,d=e("../utils/checkObjectTag").checkObjectTag,f=e("../utils/getStrBytesCount").getStrBytesCount;function p(e){e.days&&(e.expiration={days:e.days}),e.date&&(e.expiration={createdBeforeDate:e.date})}function h(e,t){var n=e.days,r=e.createdBeforeDate;if(!n&&!r)throw new Error("".concat(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 m(e){if(!a(e)&&!l(e))throw new Error("tag must be Object or Array");e=l(e)?[e]:e;var t={};c(e).forEach((function(e){t[e.key]=e.value})),d(t)}function g(e){if(e.id&&f(e.id)>255)throw new Error("ID is composed of 255 bytes at most");if(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");h(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 h(e.expiration,"Expiration");if(e.abortMultipartUpload&&h(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");m(e.tag)}}n.putBucketLifecycle=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r){var o,c,l,d,f;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s(t),a(n)){e.next=3;break}throw new Error("rules must be Array");case 3:return o=this._bucketRequestParams("PUT",t,"lifecycle",r),l={LifecycleConfiguration:{Rule:c=[]}},n.forEach((function(e){p(e),g(e),e.id&&(e.ID=e.id,delete e.id),c.push(e)})),d=u(l,{headers:!0,firstUpperCase:!0}),o.content=d,o.mime="xml",o.successStatuses=[200],e.next=13,this.request(o);case 13:return f=e.sent,e.abrupt("return",{res:f.res});case 15:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.array.includes.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName").checkBucketName,a=e("../utils/obj2xml").obj2xml;n.putBucketVersioning=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o,c,l,u=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=u.length>2&&void 0!==u[2]?u[2]:{},s(t),["Enabled","Suspended"].includes(n)){e.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return o=this._bucketRequestParams("PUT",t,"versioning",r),c={VersioningConfiguration:{Status:n}},o.mime="xml",o.content=a(c,{headers:!0}),e.next=10,this.request(o);case 10:return l=e.sent,e.abrupt("return",{res:l.res,status:l.status});case 12:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277}],23:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator")),o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName").checkBucketName,a=e("../utils/obj2xml").obj2xml,c=e("../utils/isArray").isArray;n.putBucketWebsite=function(){var e=(0,o.default)(i.default.mark((function e(t){var n,r,o,l,u,d,f,p=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=p.length>1&&void 0!==p[1]?p[1]:{},r=p.length>2?p[2]:void 0,s(t),o=this._bucketRequestParams("PUT",t,"website",r),l={Suffix:n.index||"index.html"},d={WebsiteConfiguration:u={IndexDocument:l}},n.supportSubDir&&(l.SupportSubDir=n.supportSubDir),n.type&&(l.Type=n.type),n.error&&(u.ErrorDocument={Key:n.error}),void 0===n.routingRules){e.next=14;break}if(c(n.routingRules)){e.next=13;break}throw new Error("RoutingRules must be Array");case 13:u.RoutingRules={RoutingRule:n.routingRules};case 14:return d=a(d),o.content=d,o.mime="xml",o.successStatuses=[200],e.next=20,this.request(o);case 20:return f=e.sent,e.abrupt("return",{res:f.res});case 22:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(e,t,n){(function(t){(function(){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),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 i=t.from(JSON.stringify(r)).toString("base64");if(e.headers["x-oss-callback"]=i,n.callback.customValue){var o={};Object.keys(n.callback.customValue).forEach((function(e){o["x:".concat(e)]=n.callback.customValue[e].toString()})),e.headers["x-oss-callback-var"]=t.from(JSON.stringify(o)).toString("base64")}}}}).call(this)}).call(this,e("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(e,t,n){"use strict";e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js");var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.getReqUrl=void 0;var i=r(e("copy-to")),o=r(e("url")),s=r(e("merge-descriptors")),a=r(e("is-type-of")),c=e("../utils/isIP"),l=e("../utils/checkConfigValid");function u(e){var t={},n=this.options.cname;l.checkConfigValid(this.options.endpoint,"endpoint"),i.default(this.options.endpoint,!1).to(t),!e.bucket||n||c.isIP(t.hostname)||this.options.sldEnable||(t.host="".concat(e.bucket,".").concat(t.host));var r="/";e.bucket&&this.options.sldEnable&&(r+="".concat(e.bucket,"/")),e.object&&(r+=this._escape(e.object).replace(/\+/g,"%2B")),t.pathname=r;var u={};if(e.query&&s.default(u,e.query),e.subres){var d={};a.default.string(e.subres)?d[e.subres]="":a.default.array(e.subres)?e.subres.forEach((function(e){d[e]=""})):d=e.subres,s.default(u,d)}return t.query=u,o.default.format(t)}n.getReqUrl=u},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(e,t,n){"use strict";e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.string.trim.js");var r=e("humanize-ms"),i=e("url"),o=e("../utils/checkBucketName").checkBucketName,s=e("../utils/setRegion").setRegion,a=e("../utils/checkConfigValid").checkConfigValid;function c(e,t){a(e,"endpoint");var n=i.parse(e);if(n.protocol||(n=i.parse("http".concat(t?"s":"","://").concat(e))),"http:"!==n.protocol&&"https:"!==n.protocol)throw new Error("Endpoint protocol must be http or https.");return n}t.exports=function(e){if(!e||!e.accessKeyId||!e.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");!e.stsToken||e.refreshSTSToken||e.refreshSTSTokenInterval||console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken、accessKeyId、accessKeySecret automatically when sts token has expired"),e.bucket&&o(e.bucket);var t=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:3e5,retryMax:0},e);if(t.accessKeyId=t.accessKeyId.trim(),t.accessKeySecret=t.accessKeySecret.trim(),t.timeout&&(t.timeout=r(t.timeout)),t.endpoint)t.endpoint=c(t.endpoint,t.secure);else{if(!t.region)throw new Error("require options.endpoint or options.region");t.endpoint=s(t.region,t.internal,t.secure)}return t.inited=!0,t}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(e,t,n){"use strict";e("merge-descriptors")(n,e("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.array.concat.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName").checkBucketName,a=e("querystring"),c=e("js-base64").Base64.encode;function l(e,t){if(!e)throw new Error("".concat(t," is required"));if("string"!=typeof e)throw new Error("".concat(t," must be String"))}n.processObjectSave=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r,o){var u,d,f,p;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l(t,"sourceObject"),l(n,"targetObject"),l(r,"process"),n=this._objectName(n),o&&s(o),u=this._objectRequestParams("POST",t,{subres:"x-oss-process"}),d=o?",b_".concat(c(o)):"",n=c(n),f={"x-oss-process":"".concat(r,"|sys/saveas,o_").concat(n).concat(d)},u.content=a.stringify(f),e.next=12,this.request(u);case 12:return p=e.sent,e.abrupt("return",{res:p.res,status:p.res.status});case 14:case"end":return e.stop()}}),e,this)})));function t(t,n,r,i){return e.apply(this,arguments)}return t}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.function.name.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.array.from.js"),e("core-js/modules/es.string.iterator.js"),e("core-js/modules/es.array.map.js"),e("core-js/modules/es.array.filter.js"),e("core-js/modules/es.array.find.js"),e("core-js/modules/es.regexp.to-string.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("debug")("ali-oss:multipart-copy"),a=e("copy-to"),c=n;c.uploadPartCopy=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r,o,s){var a,c,l,u,d,f=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(a=f.length>5&&void 0!==f[5]?f[5]:{}).headers=a.headers||{},c=a.versionId||a.subres&&a.subres.versionId||null,l=c?"/".concat(s.sourceBucketName,"/").concat(encodeURIComponent(s.sourceKey),"?versionId=").concat(c):"/".concat(s.sourceBucketName,"/").concat(encodeURIComponent(s.sourceKey)),a.headers["x-oss-copy-source"]=l,o&&(a.headers["x-oss-copy-source-range"]="bytes=".concat(o)),a.subres={partNumber:r,uploadId:n},(u=this._objectRequestParams("PUT",t,a)).mime=a.mime,u.successStatuses=[200],e.next=12,this.request(u);case 12:return d=e.sent,e.abrupt("return",{name:t,etag:d.res.headers.etag,res:d.res});case 14:case"end":return e.stop()}}),e,this)})));function t(t,n,r,i,o){return e.apply(this,arguments)}return t}(),c.multipartUploadCopy=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o,s,a,c,l,u,d,f,p,h,m=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=m.length>2&&void 0!==m[2]?m[2]:{},this.resetCancelFlag(),o=r.versionId,s={versionId:void 0===o?null:o},e.next=6,this._getObjectMeta(n.sourceBucketName,n.sourceKey,s);case 6:if(a=e.sent,c=a.res.headers["content-length"],n.startOffset=n.startOffset||0,n.endOffset=n.endOffset||c,!r.checkpoint||!r.checkpoint.uploadId){e.next=14;break}return e.next=13,this._resumeMultipartCopy(r.checkpoint,n,r);case 13:case 31:return e.abrupt("return",e.sent);case 14:if(l=102400,!((u=n.endOffset-n.startOffset)<l)){e.next=18;break}throw new Error("copySize must not be smaller than ".concat(l));case 18:if(!(r.partSize&&r.partSize<l)){e.next=20;break}throw new Error("partSize must not be smaller than ".concat(l));case 20:return e.next=22,this.initMultipartUpload(t,r);case 22:if(d=e.sent,f=d.uploadId,p=this._getPartSize(u,r.partSize),h={name:t,copySize:u,partSize:p,uploadId:f,doneParts:[]},!r||!r.progress){e.next=29;break}return e.next=29,r.progress(0,h,d.res);case 29:return e.next=31,this._resumeMultipartCopy(h,n,r);case 32:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),c._resumeMultipartCopy=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r){var c,l,u,d,f,p,h,m,g,v,y,b,x,w,_,j,S,C,A,k,E;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isCancel()){e.next=2;break}throw this._makeCancelEvent();case 2:if(c=r.versionId,u={versionId:l=void 0===c?null:c},d=t.copySize,f=t.partSize,p=t.uploadId,h=t.doneParts,m=t.name,g=this._divideMultipartCopyParts(d,f,n.startOffset),v=g.length,y={headers:{}},r.copyheaders&&a(r.copyheaders).to(y.headers),l&&a(u).to(y),b=function(e,n,a){return new Promise(function(){var c=(0,o.default)(i.default.mark((function o(c,l){var u,d,f;return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(i.prev=0,e.isCancel()){i.next=22;break}return u=g[n-1],d="".concat(u.start,"-").concat(u.end-1),i.prev=4,i.next=7,e.uploadPartCopy(m,p,n,d,a,y);case 7:f=i.sent,i.next=15;break;case 10:if(i.prev=10,i.t0=i.catch(4),404!==i.t0.status){i.next=14;break}throw e._makeAbortEvent();case 14:throw i.t0;case 15:if(e.isCancel()){i.next=22;break}if(s("content-range ".concat(f.res.headers["content-range"])),h.push({number:n,etag:f.res.headers.etag}),t.doneParts=h,!r||!r.progress){i.next=22;break}return i.next=22,r.progress(h.length/v,t,f.res);case 22:c(),i.next=29;break;case 25:i.prev=25,i.t1=i.catch(0),i.t1.partNum=n,l(i.t1);case 29:case"end":return i.stop()}}),o,null,[[0,25],[4,10]])})));return function(e,t){return c.apply(this,arguments)}}())},x=Array.from(new Array(v),(function(e,t){return t+1})),w=h.map((function(e){return e.number})),_=x.filter((function(e){return w.indexOf(e)<0})),j=5,S=r.parallel||j,!this.checkBrowserAndVersion("Internet Explorer","10")&&1!==S){e.next=28;break}C=0;case 18:if(!(C<_.length)){e.next=26;break}if(!this.isCancel()){e.next=21;break}throw this._makeCancelEvent();case 21:return e.next=23,b(this,_[C],n);case 23:C++,e.next=18;break;case 26:e.next=40;break;case 28:return e.next=30,this._parallelNode(_,S,b,n);case 30:if(A=e.sent,k=A.find((function(e){return"abort"===e.name})),!k){e.next=34;break}throw k;case 34:if(!this.isCancel()){e.next=36;break}throw this._makeCancelEvent();case 36:if(!(A&&A.length>0)){e.next=40;break}throw(E=A[0]).message="Failed to copy some parts with error: ".concat(E.toString()," part_num: ").concat(E.partNum),E;case 40:return e.next=42,this.completeMultipartUpload(m,p,h,r);case 42:return e.abrupt("return",e.sent);case 43:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}(),c._divideMultipartCopyParts=function(e,t,n){for(var r=Math.ceil(e/t),i=[],o=0;o<r;o++){var s=t*o+n,a=Math.min(s+t,e+n);i.push({start:s,end:a})}return i},c._getObjectMeta=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r){var o,s;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=this.getBucket(),this.setBucket(t),e.next=4,this.head(n,r);case 4:return s=e.sent,this.setBucket(o),e.abrupt("return",s);case 7:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,debug:465}],30:[function(e,t,n){(function(t){(function(){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.array.map.js"),e("core-js/modules/es.array.filter.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.array.sort.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.regexp.to-string.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("copy-to"),a=e("./callback"),c=e("./utils/deepCopy").deepCopyWith,l=e("./utils/isBuffer").isBuffer,u=e("./utils/omit").omit,d=n;d.listUploads=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o,a,c;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={},s(n=n||{}).to(r),r.subres="uploads",(o=this._objectRequestParams("GET","",r)).query=t,o.xmlResponse=!0,o.successStatuses=[200],e.next=10,this.request(o);case 10:return a=e.sent,c=a.data.Upload||[],Array.isArray(c)||(c=[c]),c=c.map((function(e){return{name:e.Key,uploadId:e.UploadId,initiated:e.Initiated}})),e.abrupt("return",{res:a.res,uploads:c,bucket:a.data.Bucket,nextKeyMarker:a.data.NextKeyMarker,nextUploadIdMarker:a.data.NextUploadIdMarker,isTruncated:"true"===a.data.IsTruncated});case 15:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),d.listParts=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r,o){var a,c,l;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a={},s(o=o||{}).to(a),a.subres={uploadId:n},(c=this._objectRequestParams("GET",t,a)).query=r,c.xmlResponse=!0,c.successStatuses=[200],e.next=10,this.request(c);case 10:return l=e.sent,e.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 e.stop()}}),e,this)})));function t(t,n,r,i){return e.apply(this,arguments)}return t}(),d.abortMultipartUpload=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r){var o,a,c;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._stop(),o={},s(r=r||{}).to(o),o.subres={uploadId:n},(a=this._objectRequestParams("DELETE",t,o)).successStatuses=[204],e.next=9,this.request(a);case 9:return c=e.sent,e.abrupt("return",{res:c.res});case 11:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}(),d.initMultipartUpload=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o,a;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={},s(n=n||{}).to(r),r.headers=r.headers||{},this._convertMetaToHeaders(n.meta,r.headers),r.subres="uploads",(o=this._objectRequestParams("POST",t,r)).mime=n.mime,o.xmlResponse=!0,o.successStatuses=[200],e.next=12,this.request(o);case 12:return a=e.sent,e.abrupt("return",{res:a.res,bucket:a.data.Bucket,name:a.data.Key,uploadId:a.data.UploadId});case 14:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}(),d.uploadPart=function(){var e=(0,o.default)(i.default.mark((function e(n,r,o,s,a,c,l){var u;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u={size:c-a},!t||!t.browser){e.next=8;break}return e.next=5,this._createBuffer(s,a,c);case 5:u.content=e.sent,e.next=11;break;case 8:return e.next=10,this._createStream(s,a,c);case 10:u.stream=e.sent;case 11:return e.next=13,this._uploadPart(n,r,o,u,l);case 13:return e.abrupt("return",e.sent);case 14:case"end":return e.stop()}}),e,this)})));function n(t,n,r,i,o,s,a){return e.apply(this,arguments)}return n}(),d.completeMultipartUpload=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r,o){var s,d,f,p,h,m,g,v;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(s=r.concat().sort((function(e,t){return e.number-t.number})).filter((function(e,t,n){return!t||e.number!==n[t-1].number})),d='<?xml version="1.0" encoding="UTF-8"?>\n<CompleteMultipartUpload>\n',f=0;f<s.length;f++)p=s[f],d+="<Part>\n",d+="<PartNumber>".concat(p.number,"</PartNumber>\n"),d+="<ETag>".concat(p.etag,"</ETag>\n"),d+="</Part>\n";return d+="</CompleteMultipartUpload>",h={},(h=c(o=o||{},(function(e){if(l(e))return null}))).subres={uploadId:n},h.headers=u(h.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),m=this._objectRequestParams("POST",t,h),a.encodeCallback(m,h),m.mime="xml",m.content=d,m.headers&&m.headers["x-oss-callback"]||(m.xmlResponse=!0),m.successStatuses=[200],e.next=17,this.request(m);case 17:if(g=e.sent,!o.progress){e.next=21;break}return e.next=21,o.progress(1,null,g.res);case 21:return v={res:g.res,bucket:m.bucket,name:t,etag:g.res.headers.etag},m.headers&&m.headers["x-oss-callback"]&&(v.data=JSON.parse(g.data.toString())),e.abrupt("return",v);case 24:case"end":return e.stop()}}),e,this)})));function t(t,n,r,i){return e.apply(this,arguments)}return t}(),d._uploadPart=function(){var e=(0,o.default)(i.default.mark((function e(n,r,o,a,c){var l,d,f;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l={},s(c=c||{}).to(l),l.headers=l.headers||{},l.headers["Content-Length"]=a.size,l.headers=u(l.headers,["x-oss-server-side-encryption"]),l.subres={partNumber:o,uploadId:r},(d=this._objectRequestParams("PUT",n,l)).mime=l.mime,t&&t.browser?d.content=a.content:d.stream=a.stream,d.successStatuses=[200],d.disabledMD5=c.disabledMD5,e.next=15,this.request(d);case 15:if((f=e.sent).res.headers.etag){e.next=18;break}throw new Error("Please set the etag of expose-headers in OSS \n https://help.aliyun.com/document_detail/32069.html");case 18:return a.stream&&(a.stream=null,d.stream=null),e.abrupt("return",{name:n,etag:f.res.headers.etag,res:f.res});case 20:case"end":return e.stop()}}),e,this)})));function n(t,n,r,i,o){return e.apply(this,arguments)}return n}()}).call(this)}).call(this,e("_process"))},{"./callback":24,"./utils/deepCopy":58,"./utils/isBuffer":65,"./utils/omit":73,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],31:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator")),o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("url"),a=e("utility"),c=e("copy-to"),l=e("../../common/signUtils"),u=e("../utils/isIP").isIP,d=e("../utils/setSTSToken").setSTSToken,f=e("../utils/isFunction").isFunction;n.asyncSignatureUrl=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o,p,h,m;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!u(this.options.endpoint.hostname)){e.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(n=n||{},t=this._objectName(t),n.method=n.method||"GET",r=a.timestamp()+(n.expires||1800),o={bucket:this.options.bucket,object:t},p=this._getResource(o),!this.options.stsToken||!f(this.options.refreshSTSToken)){e.next=11;break}return e.next=11,d.call(this);case 11:return this.options.stsToken&&(n["security-token"]=this.options.stsToken),h=l._signatureForURL(this.options.accessKeySecret,n,p,r),(m=s.parse(this._getReqUrl(o))).query={OSSAccessKeyId:this.options.accessKeyId,Expires:r,Signature:h.Signature},c(h.subResource).to(m.query),e.abrupt("return",m.format());case 17:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.array.find.js"),e("core-js/modules/es.array.includes.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js");var o=r(e("@babel/runtime/helpers/typeof")),s=r(e("@babel/runtime/helpers/asyncToGenerator")),a=e("../utils/checkBucketName").checkBucketName,c=n,l=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];c.copy=function(){var e=(0,s.default)(i.default.mark((function e(t,n,r,s){var a,c,u;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"object"===(0,o.default)(r)&&(s=r),(s=s||{}).headers=s.headers||{},Object.keys(s.headers).forEach((function(e){s.headers["x-oss-copy-source-".concat(e.toLowerCase())]=s.headers[e]})),(s.meta||Object.keys(s.headers).find((function(e){return l.includes(e.toLowerCase())})))&&(s.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(s.meta,s.headers),n=this._getSourceName(n,r),s.versionId&&(n="".concat(n,"?versionId=").concat(s.versionId)),s.headers["x-oss-copy-source"]=n,(a=this._objectRequestParams("PUT",t,s)).xmlResponse=!0,a.successStatuses=[200,304],e.next=14,this.request(a);case 14:return c=e.sent,(u=c.data)&&(u={etag:u.ETag,lastModified:u.LastModified}),e.abrupt("return",{data:u,res:c.res});case 18:case"end":return e.stop()}}),e,this)})));function t(t,n,r,i){return e.apply(this,arguments)}return t}(),c._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")),a(t),e=encodeURIComponent(e),e="/".concat(t,"/").concat(e)}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],33:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator"));n.delete=function(){var e=(0,o.default)(i.default.mark((function e(t){var n,r,o,s=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=s.length>1&&void 0!==s[1]?s[1]:{}).subres=Object.assign({},n.subres),n.versionId&&(n.subres.versionId=n.versionId),(r=this._objectRequestParams("DELETE",t,n)).successStatuses=[204],e.next=7,this.request(r);case 7:return o=e.sent,e.abrupt("return",{res:o.res});case 9:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("utility"),a=e("../utils/obj2xml").obj2xml;n.deleteMulti=function(){var e=(0,o.default)(i.default.mark((function e(t){var n,r,o,c,l,u,d,f,p,h,m,g,v,y=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=y.length>1&&void 0!==y[1]?y[1]:{},r=[],t&&t.length){e.next=4;break}throw new Error("names is required");case 4:for(o=0;o<t.length;o++)c={},"string"==typeof t[o]?c.Key=s.escape(this._objectName(t[o])):(l=t[o],u=l.key,d=l.versionId,c.Key=s.escape(this._objectName(u)),c.VersionId=d),r.push(c);return f={Delete:{Quiet:!!n.quiet,Object:r}},p=a(f,{headers:!0}),n.subres=Object.assign({delete:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),(h=this._objectRequestParams("POST","",n)).mime="xml",h.content=p,h.xmlResponse=!0,h.successStatuses=[200],e.next=16,this.request(h);case 16:return m=e.sent,g=m.data,(v=g&&g.Deleted||null)&&(Array.isArray(v)||(v=[v])),e.abrupt("return",{res:m.res,deleted:v||[]});case 21:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,utility:474}],35:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator"));n.deleteObjectTagging=function(){var e=(0,o.default)(i.default.mark((function e(t){var n,r,o,s=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=s.length>1&&void 0!==s[1]?s[1]:{}).subres=Object.assign({tagging:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),t=this._objectName(t),(r=this._objectRequestParams("DELETE",t,n)).successStatuses=[204],e.next=8,this.request(r);case 8:return o=e.sent,e.abrupt("return",{status:o.status,res:o.res});case 10:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(e,t,n){"use strict";e("core-js/modules/es.array.concat.js");var r=e("url"),i=e("../utils/isIP").isIP;n.generateObjectUrl=function(e,t){if(i(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(t)"/"!==t[t.length-1]&&(t+="/");else{t=this.options.endpoint.format();var n=r.parse(t),o=this.options.bucket;n.hostname="".concat(o,".").concat(n.hostname),n.host="".concat(o,".").concat(n.host),t=n.format()}return t+this._escape(this._objectName(e))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(e,t,n){(function(t){(function(){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("fs"),a=e("is-type-of");n.get=function(){var e=(0,o.default)(i.default.mark((function e(n,r){var o,c,l,u,d,f,p,h,m=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=m.length>2&&void 0!==m[2]?m[2]:{},c=null,l=!1,a.writableStream(r)?c=r:a.string(r)?(c=s.createWriteStream(r),l=!0):o=r,o=o||{},u=t&&t.browser,d=null===o.responseCacheControl?"":"no-cache",f=u&&d?{"response-cache-control":d}:{},o.subres=Object.assign(f,o.subres),o.versionId&&(o.subres.versionId=o.versionId),o.process&&(o.subres["x-oss-process"]=o.process),e.prev=11,(h=this._objectRequestParams("GET",n,o)).writeStream=c,h.successStatuses=[200,206,304],e.next=17,this.request(h);case 17:p=e.sent,l&&c.destroy(),e.next=28;break;case 21:if(e.prev=21,e.t0=e.catch(11),!l){e.next=27;break}return c.destroy(),e.next=27,this._deleteFileSafe(r);case 27:throw e.t0;case 28:return e.abrupt("return",{res:p.res,content:p.data});case 29:case"end":return e.stop()}}),e,this,[[11,21]])})));function n(t,n){return e.apply(this,arguments)}return n}()}).call(this)}).call(this,e("_process"))},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"core-js/modules/es.object.assign.js":287,fs:89,"is-type-of":466}],38:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator"));n.getACL=function(){var e=(0,o.default)(i.default.mark((function e(t){var n,r,o,s=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=s.length>1&&void 0!==s[1]?s[1]:{}).subres=Object.assign({acl:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),t=this._objectName(t),(r=this._objectRequestParams("GET",t,n)).successStatuses=[200],r.xmlResponse=!0,e.next=9,this.request(r);case 9:return o=e.sent,e.abrupt("return",{acl:o.data.AccessControlList.Grant,owner:{id:o.data.Owner.ID,displayName:o.data.Owner.DisplayName},res:o.res});case 11:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.array.map.js"),e("core-js/modules/es.number.constructor.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=n,a=e("../utils/isObject").isObject,c=e("../utils/isArray").isArray;function l(){return u.apply(this,arguments)}function u(){return u=(0,o.default)(i.default.mark((function e(){var t,n,r,o,s,a,l,u,d=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=d.length>0&&void 0!==d[0]?d[0]:{},n=d.length>1&&void 0!==d[1]?d[1]:{},!t.versionIdMarker||void 0!==t.keyMarker){e.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return n.subres=Object.assign({versions:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),(r=this._objectRequestParams("GET","",n)).xmlResponse=!0,r.successStatuses=[200],r.query=f(t),e.next=12,this.request(r);case 12:return o=e.sent,s=o.data.Version||[],a=o.data.DeleteMarker||[],l=this,s&&(Array.isArray(s)||(s=[s]),s=s.map((function(e){return{name:e.Key,url:l._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}}}))),a&&(c(a)||(a=[a]),a=a.map((function(e){return{name:e.Key,lastModified:e.LastModified,versionId:e.VersionId,owner:{id:e.Owner.ID,displayName:e.Owner.DisplayName}}}))),(u=o.data.CommonPrefixes||null)&&(c(u)||(u=[u]),u=u.map((function(e){return e.Prefix}))),e.abrupt("return",{res:o.res,objects:s,deleteMarker:a,prefixes:u,nextMarker:o.data.NextKeyMarker||null,NextVersionIdMarker:o.data.NextVersionIdMarker||null,nextKeyMarker:o.data.NextKeyMarker||null,nextVersionIdMarker:o.data.NextVersionIdMarker||null,isTruncated:"true"===o.data.IsTruncated});case 21:case"end":return e.stop()}}),e,this)}))),u.apply(this,arguments)}function d(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};return a(e)&&Object.keys(e).forEach((function(n){t[d(n)]=e[n]})),t}s.getBucketVersions=l,s.listObjectVersions=l},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator"));n.getObjectMeta=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=n||{},t=this._objectName(t),n.subres=Object.assign({objectMeta:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),(r=this._objectRequestParams("HEAD",t,n)).successStatuses=[200],e.next=8,this.request(r);case 8:return o=e.sent,e.abrupt("return",{status:o.status,res:o.res});case 10:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=n,a=e("../utils/isObject").isObject;s.getObjectTagging=function(){var e=(0,o.default)(i.default.mark((function e(t){var n,r,o,s,c,l,u=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=u.length>1&&void 0!==u[1]?u[1]:{}).subres=Object.assign({tagging:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),t=this._objectName(t),(r=this._objectRequestParams("GET",t,n)).successStatuses=[200],e.next=8,this.request(r);case 8:return o=e.sent,e.next=11,this.parseXML(o.data);case 11:return s=e.sent,c=(c=s.TagSet.Tag)&&a(c)?[c]:c||[],l={},c.forEach((function(e){l[e.Key]=e.Value})),e.abrupt("return",{status:o.status,res:o.res,tag:l});case 17:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(e,t,n){"use strict";var r=e("../utils/isIP").isIP;n.getObjectUrl=function(e,t){if(r(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return t?"/"!==t[t.length-1]&&(t+="/"):t=this.options.endpoint.format(),t+this._escape(this._objectName(e))}},{"../utils/isIP":69}],43:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator"));n.getSymlink=function(){var e=(0,o.default)(i.default.mark((function e(t){var n,r,o,s,a=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=a.length>1&&void 0!==a[1]?a[1]:{}).subres=Object.assign({symlink:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),t=this._objectName(t),(r=this._objectRequestParams("GET",t,n)).successStatuses=[200],e.next=8,this.request(r);case 8:return o=e.sent,s=o.res.headers["x-oss-symlink-target"],e.abrupt("return",{targetName:decodeURIComponent(s),res:o.res});case 11:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkEnv").checkEnv;n.head=function(){var e=(0,o.default)(i.default.mark((function e(t){var n,r,o,a,c=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=c.length>1&&void 0!==c[1]?c[1]:{},s("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),n.subres=Object.assign({},n.subres),n.versionId&&(n.subres.versionId=n.versionId),(r=this._objectRequestParams("HEAD",t,n)).successStatuses=[200,304],e.next=8,this.request(r);case 8:return o=e.sent,a={meta:null,res:o.res,status:o.status},200===o.status&&Object.keys(o.headers).forEach((function(e){0===e.indexOf("x-oss-meta-")&&(a.meta||(a.meta={}),a.meta[e.substring(11)]=o.headers[e])})),e.abrupt("return",a);case 12:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator"));n.putACL=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r){var o,s;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=r||{}).subres=Object.assign({acl:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),r.headers=r.headers||{},r.headers["x-oss-object-acl"]=n,t=this._objectName(t),(o=this._objectRequestParams("PUT",t,r)).successStatuses=[200],e.next=10,this.request(o);case 10:return s=e.sent,e.abrupt("return",{res:s.res});case 12:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.array.map.js"),e("core-js/modules/es.object.keys.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/obj2xml").obj2xml,a=e("../utils/checkObjectTag").checkObjectTag;n.putObjectTagging=function(){var e=(0,o.default)(i.default.mark((function e(t,n){var r,o,c,l,u=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=u.length>2&&void 0!==u[2]?u[2]:{},a(n),r.subres=Object.assign({tagging:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),t=this._objectName(t),(o=this._objectRequestParams("PUT",t,r)).successStatuses=[200],n=Object.keys(n).map((function(e){return{Key:e,Value:n[e]}})),c={Tagging:{TagSet:{Tag:n}}},o.mime="xml",o.content=s(c),e.next=13,this.request(o);case 13:return l=e.sent,e.abrupt("return",{res:l.res,status:l.status});case 15:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{"../utils/checkObjectTag":54,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290}],47:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator"));n.putSymlink=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r){var o,s;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=r||{}).headers=r.headers||{},n=this._escape(this._objectName(n)),this._convertMetaToHeaders(r.meta,r.headers),r.headers["x-oss-symlink-target"]=n,r.subres=Object.assign({symlink:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),r.storageClass&&(r.headers["x-oss-storage-class"]=r.storageClass),t=this._objectName(t),(o=this._objectRequestParams("PUT",t,r)).successStatuses=[200],e.next=13,this.request(o);case 13:return s=e.sent,e.abrupt("return",{res:s.res});case 15:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(e,t,n){"use strict";var r=e("url"),i=e("utility"),o=e("copy-to"),s=e("../../common/signUtils"),a=e("../utils/isIP").isIP;n.signatureUrl=function(e,t){if(a(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");t=t||{},e=this._objectName(e),t.method=t.method||"GET";var n=i.timestamp()+(t.expires||1800),c={bucket:this.options.bucket,object:e},l=this._getResource(c);this.options.stsToken&&(t["security-token"]=this.options.stsToken);var u=s._signatureForURL(this.options.accessKeySecret,t,l,n),d=r.parse(this._getReqUrl(c));return d.query={OSSAccessKeyId:this.options.accessKeyId,Expires:n,Signature:u.Signature},o(u.subResource).to(d.query),d.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.array.iterator.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.string.iterator.js"),e("core-js/modules/web.dom-collections.iterator.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.function.name.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator")),s=e("./utils/isArray").isArray,a=n;a._parallelNode=function(){var e=(0,o.default)(i.default.mark((function e(t,n,r,o){var s,a,c,l,u,d,f,p;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s=this,a=[],c=[],l=t.length/n,u=t.length%n,d=0===u?l:(t.length-u)/n+1,f=1,p=0;case 8:if(!(p<t.length)){e.next=26;break}if(!s.isCancel()){e.next=11;break}return e.abrupt("break",26);case 11:if(o?c.push(r(s,t[p],o)):c.push(r(s,t[p])),c.length!==n&&(f!==d||p!==t.length-1)){e.next=23;break}return e.prev=13,f+=1,e.next=17,Promise.all(c);case 17:e.next=22;break;case 19:e.prev=19,e.t0=e.catch(13),a.push(e.t0);case 22:c=[];case 23:p++,e.next=8;break;case 26:return e.abrupt("return",a);case 27:case"end":return e.stop()}}),e,this,[[13,19]])})));function t(t,n,r,i){return e.apply(this,arguments)}return t}(),a._parallel=function(e,t,n){var r=this;return new Promise((function(i){var o=[];if(t<=0||!e)i(o);else{var s=d(e),a=!1,c=0,l=!1;h()}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=new 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 f(e){c-=1,e?(a=!0,o.push(e),i(o)):a&&c<=0?(a=!0,i(o)):l||(r.isCancel()?i(o):h())}function p(e,t){n(e).then((function(e){t(null,e)})).catch((function(e){t(e)}))}function h(){for(l=!0;c<t&&!a&&!r.isCancel();){var e=s();if(null===e||o.length>0)return a=!0,void(c<=0&&i(o));c+=1,p(e.value,u(f))}l=!1}}))},a.cancel=function(e){this.options.cancelFlag=!0,s(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach((function(e){if(!1===e.destroyed){var t={name:"cancel",message:"cancel"};e.destroy(t)}})),this.multipartUploadStreams=[],e&&this.abortMultipartUpload(e.name,e.uploadId,e.options)},a.isCancel=function(){return this.options.cancelFlag},a.resetCancelFlag=function(){this.options.cancelFlag=!1},a._stop=function(){this.options.cancelFlag=!0},a._makeCancelEvent=function(){return{status:0,name:"cancel"}},a._makeAbortEvent=function(){return{status:0,name:"abort",message:"upload task has been abort"}}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(e,t,n){(function(t){(function(){"use strict";e("core-js/modules/es.string.trim.js"),e("core-js/modules/es.array.sort.js"),e("core-js/modules/es.array.join.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.regexp.to-string.js");var r=e("./../../shims/crypto/crypto.js"),i=e("is-type-of"),o=e("./utils/lowercaseKeyHeader").lowercaseKeyHeader;n.buildCanonicalizedResource=function(e,t){var n="".concat(e),r="?";if(i.string(t)&&""!==t.trim())n+=r+t;else if(i.array(t))t.sort(),n+=r+t.join("&");else if(t){var o=function(e,t){return e[0]>t[0]?1:e[0]<t[0]?-1:0},s=function(e){n+=r+e,(t[e]||0===t[e])&&(n+="=".concat(t[e])),r="&"};Object.keys(t).sort(o).forEach(s)}return n},n.buildCanonicalString=function(e,t,n,r){var i=o((n=n||{}).headers),s="x-oss-",a=[],c={},l=[e.toUpperCase(),i["content-md5"]||"",i["content-type"],r||i["x-oss-date"]];return Object.keys(i).forEach((function(e){var t=e.toLowerCase();0===t.indexOf(s)&&(c[t]=String(i[e]).trim())})),Object.keys(c).sort().forEach((function(e){a.push("".concat(e,":").concat(c[e]))})),(l=l.concat(a)).push(this.buildCanonicalizedResource(t,n.parameters)),l.join("\n")},n.computeSignature=function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf-8";return r.createHmac("sha1",e).update(t.from(n,i)).digest("base64")},n.authorization=function(e,t,n,r){return"OSS ".concat(e,":").concat(this.computeSignature(t,n,r))},n._signatureForURL=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,s={},a=n.subResource,c=void 0===a?{}:a;if(n.process&&(c["x-oss-process"]=n.process),n.trafficLimit&&(c["x-oss-traffic-limit"]=n.trafficLimit),n.response&&Object.keys(n.response).forEach((function(e){var t="response-".concat(e.toLowerCase());c[t]=n.response[e]})),Object.keys(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 l={callbackUrl:encodeURI(n.callback.url),callbackBody:n.callback.body};if(n.callback.host&&(l.callbackHost=n.callback.host),n.callback.contentType&&(l.callbackBodyType=n.callback.contentType),c.callback=t.from(JSON.stringify(l)).toString("base64"),n.callback.customValue){var u={};Object.keys(n.callback.customValue).forEach((function(e){u["x:".concat(e)]=n.callback.customValue[e]})),c["callback-var"]=t.from(JSON.stringify(u)).toString("base64")}}var d=this.buildCanonicalString(n.method,r,{headers:s,parameters:c},i.toString());return{Signature:this.computeSignature(e,d,o),subResource:c}}}).call(this)}).call(this,e("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(e,t,n){"use strict";e("core-js/modules/es.regexp.exec.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.checkBucketName=void 0,n.checkBucketName=function(e){if(!(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/).test(e))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(e,t,n){"use strict";e("core-js/modules/es.regexp.exec.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.checkConfigValid=void 0;var r={endpoint:i,region:/^[a-zA-Z0-9\-_]+$/};function i(e){return"string"==typeof e?/^[a-zA-Z0-9._:/-]+$/.test(e):!!e.host&&/^[a-zA-Z0-9._:/-]+$/.test(e.host)}n.checkConfigValid=function(e,t){if(r[t]&&!(r[t]instanceof Function?r[t](e):r[t].test(e)))throw new Error("The ".concat(t," must be conform to the specifications"))}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(e,t,n){(function(e){(function(){"use strict";function t(t){e.browser&&console.warn(t)}Object.defineProperty(n,"__esModule",{value:!0}),n.checkEnv=void 0,n.checkEnv=t}).call(this)}).call(this,e("_process"))},{_process:467}],54:[function(e,t,n){"use strict";e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.object.entries.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.checkObjectTag=void 0;var r=e("./checkValid").checkValid,i=e("./isObject").isObject,o=[{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 (/)"}],s={key:[].concat(o,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(o,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function a(e){if(!i(e))throw new Error("tag must be Object");var t=Object.entries(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){r(e,s[n[t]])}))}))}n.checkObjectTag=a},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[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)}))}e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.regexp.exec.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.checkValid=void 0,n.checkValid=r},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(e,t,n){(function(t){(function(){"use strict";e("core-js/modules/es.array.includes.js"),e("core-js/modules/es.string.includes.js"),e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.array.concat.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.createRequest=void 0;var r=e("./../../../shims/crypto/crypto.js"),i=e("debug")("ali-oss"),o=e("mime"),s=e("dateformat"),a=e("copy-to"),c=e("path"),l=e("./encoder").encoder,u=e("./isIP").isIP,d=e("./setRegion").setRegion,f=e("../client/getReqUrl").getReqUrl,p=e("./isDingTalk").isDingTalk;function h(e,t){return e[t]||e[t.toLowerCase()]}function m(e,t){delete e[t],delete e[t.toLowerCase()]}function g(e){var n=new Date;this.options.amendTimeSkewed&&(n=+new Date+this.options.amendTimeSkewed);var g={"x-oss-date":s(n,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};"undefined"!=typeof window&&(g["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(g["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(g,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(g["x-oss-security-token"]=this.options.stsToken),a(e.headers).to(g),h(g,"Content-Type")||(e.mime&&e.mime.indexOf("/")>0?g["Content-Type"]=e.mime:p()?g["Content-Type"]="application/octet-stream":g["Content-Type"]=o.getType(e.mime||c.extname(e.object||""))),h(g,"Content-Type")||m(g,"Content-Type"),e.content&&(e.disabledMD5||(e.headers&&e.headers["Content-MD5"]?g["Content-MD5"]=e.headers["Content-MD5"]:g["Content-MD5"]=r.createHash("md5").update(t.from(e.content,"utf8")).digest("base64")),g["Content-Length"]||(g["Content-Length"]=e.content.length));var v=Object.prototype.hasOwnProperty;for(var y in g)g[y]&&v.call(g,y)&&(g[y]=l(String(g[y]),this.options.headerEncoding));var b=this._getResource(e);if(g.authorization=this.authorization(e.method,b,e.subres,g,this.options.headerEncoding),u(this.options.endpoint.hostname)){var x=this.options,w=x.region,_=x.internal,j=x.secure,S=d(w,_,j);g.host="".concat(e.bucket,".").concat(S.host)}var C=f.bind(this)(e);i("request %s %s, with headers %j, !!stream: %s",e.method,C,g,!!e.stream);var A=e.timeout||this.options.timeout,k={method:e.method,content:e.content,stream:e.stream,headers:g,timeout:A,writeStream:e.writeStream,customResponse:e.customResponse,ctx:e.ctx||this.ctx};return this.agent&&(k.agent=this.agent),this.httpsAgent&&(k.httpsAgent=this.httpsAgent),k.enableProxy=!!this.options.enableProxy,k.proxy=this.options.proxy?this.options.proxy:null,{url:C,params:k}}n.createRequest=g}).call(this)}).call(this,e("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(e,t,n){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.entries.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.array.includes.js"),e("core-js/modules/es.object.keys.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.dataFix=void 0;var r=e("./isObject"),i=["true","TRUE","1",1],o=["false","FALSE","0",0];function s(e,t,n){if(r.isObject(e)){var i=t.remove,o=void 0===i?[]:i,l=t.rename,u=void 0===l?{}:l,d=t.camel,f=void 0===d?[]:d,p=t.bool,h=void 0===p?[]:p,m=t.lowerFirst,g=void 0!==m&&m;return o.forEach((function(t){return delete e[t]})),Object.entries(u).forEach((function(t){e[t[0]]&&(e[t[1]]||(e[t[1]]=e[t[0]],delete e[t[0]]))})),f.forEach((function(t){if(e[t]){var n=t.replace(/^(.)/,(function(e){return e.toLowerCase()})).replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}));e[n]||(e[n]=e[t])}})),h.forEach((function(t){e[t]=a(e[t])})),"function"==typeof n&&n(e),c(e,g),s}}function a(e){return!!e&&(!!i.includes(e)||!o.includes(e)&&e)}function c(e,t){t&&Object.keys(e).forEach((function(t){var n=t.replace(/^\w/,(function(e){return e.toLowerCase()}));void 0===e[n]&&(e[n]=e[t],delete e[t])}))}n.dataFix=s},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.slice.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js");var i=r(e("@babel/runtime/helpers/typeof"));Object.defineProperty(n,"__esModule",{value:!0}),n.deepCopyWith=n.deepCopy=void 0;var o=e("./isBuffer");n.deepCopy=function(e){if(null===e||"object"!==(0,i.default)(e))return e;if(o.isBuffer(e))return e.slice();var t=Array.isArray(e)?[]:{};return Object.keys(e).forEach((function(r){t[r]=n.deepCopy(e[r])})),t},n.deepCopyWith=function(e,t){function r(e,n,s){var a=t(e,n,s);if(void 0!==a)return a;if(null===e||"object"!==(0,i.default)(e))return e;if(o.isBuffer(e))return e.slice();var c=Array.isArray(e)?[]:{};return Object.keys(e).forEach((function(t){c[t]=r(e[t],t,e)})),c}return t?r(e,"",null):n.deepCopy(e)}},{"./isBuffer":65,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],59:[function(e,t,n){(function(t){(function(){"use strict";function r(e){return"utf-8"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf-8")?e:t.from(e).toString("latin1")}e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.encoder=void 0,n.encoder=r}).call(this)}).call(this,e("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(e,t,n){"use strict";e("core-js/modules/es.array.map.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.formatInventoryConfig=void 0;var r=e("../utils/dataFix"),i=e("../utils/isObject"),o=e("../utils/isArray"),s=e("../utils/formatObjKey");function a(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&i.isObject(e)&&(e=[e]),e=o.isArray(e)?e.map(c):c(e)}function c(e){return r.dataFix(e,{bool:["IsEnabled"]},(function(e){var t,n;e.prefix=e.Filter.Prefix,delete e.Filter,e.OSSBucketDestination=e.Destination.OSSBucketDestination,e.OSSBucketDestination.rolename=e.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete e.OSSBucketDestination.RoleArn,e.OSSBucketDestination.bucket=e.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete e.OSSBucketDestination.Bucket,delete e.Destination,e.frequency=e.Schedule.Frequency,delete e.Schedule.Frequency,(null===(t=null==e?void 0:e.OptionalFields)||void 0===t?void 0:t.Field)&&!o.isArray(null===(n=e.OptionalFields)||void 0===n?void 0:n.Field)&&(e.OptionalFields.Field=[e.OptionalFields.Field])})),e=s.formatObjKey(e,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]})}n.formatInventoryConfig=a},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.array.includes.js"),e("core-js/modules/es.string.includes.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js");var i=r(e("@babel/runtime/helpers/typeof"));function o(e,t,n){if(null===e||"object"!==(0,i.default)(e))return e;var r;if(Array.isArray(e)){r=[];for(var a=0;a<e.length;a++)r.push(o(e[a],t,n))}else r={},Object.keys(e).forEach((function(i){r[s(i,t,n)]=o(e[i],t,n)}));return r}function s(e,t,n){return n&&n.exclude&&n.exclude.includes(e)||("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=o},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.includes.js":302,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],62:[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}e("core-js/modules/es.regexp.exec.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.getStrBytesCount=void 0,n.getStrBytesCount=r},{"core-js/modules/es.regexp.exec.js":300}],63:[function(e,t,n){"use strict";e("core-js/modules/es.object.to-string.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.isArray=void 0,n.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{"core-js/modules/es.object.to-string.js":291}],64:[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},{}],65:[function(e,t,n){(function(e){(function(){"use strict";function t(t){return e.isBuffer(t)}Object.defineProperty(n,"__esModule",{value:!0}),n.isBuffer=void 0,n.isBuffer=t}).call(this)}).call(this,{isBuffer:e("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(e,t,n){(function(t){(function(){"use strict";function r(){return!(!t.browser||!window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}e("core-js/modules/es.array.includes.js"),e("core-js/modules/es.string.includes.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.isDingTalk=void 0,n.isDingTalk=r}).call(this)}).call(this,e("_process"))},{_process:467,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.string.includes.js":302}],67:[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}},{}],68:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isFunction=void 0,n.isFunction=function(e){return"function"==typeof e}},{}],69:[function(e,t,n){"use strict";e("core-js/modules/es.regexp.exec.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.isIP=void 0,n.isIP=function(e){var t=/^\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/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/.test(e)||t.test(e)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(e,t,n){"use strict";e("core-js/modules/es.object.to-string.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.isObject=void 0,n.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},{"core-js/modules/es.object.to-string.js":291}],71:[function(e,t,n){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.lowercaseKeyHeader=void 0;var r=e("./isObject");function i(e){var t={};return r.isObject(e)&&Object.keys(e).forEach((function(n){t[n.toLowerCase()]=e[n]})),t}n.lowercaseKeyHeader=i},{"./isObject":70,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],72:[function(e,t,n){"use strict";e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.array.join.js"),e("core-js/modules/es.array.map.js"),e("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.obj2xml=void 0;var r=e("./formatObjKey");function i(e){return Object.prototype.toString.call(e).replace(/(.*? |])/g,"").toLowerCase()}function o(e,t){var n="";return t&&t.headers&&(n='<?xml version="1.0" encoding="UTF-8"?>\n'),t&&t.firstUpperCase&&(e=r.formatObjKey(e,"firstUpperCase")),"object"===i(e)?Object.keys(e).forEach((function(t){"undefined"!==i(e[t])&&"null"!==i(e[t])&&("string"===i(e[t])||"number"===i(e[t])?n+="<".concat(t,">").concat(e[t],"</").concat(t,">"):"object"===i(e[t])?n+="<".concat(t,">").concat(o(e[t]),"</").concat(t,">"):"array"===i(e[t])?n+=e[t].map((function(e){return"<".concat(t,">").concat(o(e),"</").concat(t,">")})).join(""):n+="<".concat(t,">").concat(e[t].toString(),"</").concat(t,">"))})):n+=e.toString(),n}n.obj2xml=o},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},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 s,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,s=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw s}}}}function i(e,t){if(e){if("string"==typeof e)return o(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)?o(e,t):void 0}}function o(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 s(e,t){var n,i=Object.assign({},e),o=r(t);try{for(o.s();!(n=o.n()).done;)delete i[n.value]}catch(e){o.e(e)}finally{o.f()}return i}e("core-js/modules/es.array.slice.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.function.name.js"),e("core-js/modules/es.array.from.js"),e("core-js/modules/es.string.iterator.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.symbol.js"),e("core-js/modules/es.symbol.description.js"),e("core-js/modules/es.symbol.iterator.js"),e("core-js/modules/es.array.iterator.js"),e("core-js/modules/web.dom-collections.iterator.js"),e("core-js/modules/es.object.assign.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.omit=void 0,n.omit=s},{"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.iterator.js":312,"core-js/modules/es.symbol.js":313,"core-js/modules/web.dom-collections.iterator.js":340}],74:[function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=0,i=n.retryDelay,o=void 0===i?500:i,s=n.errorHandler,a=void 0===s?function(){return!0}:s,c=function n(){for(var i=arguments.length,s=new Array(i),c=0;c<i;c++)s[c]=arguments[c];return new Promise((function(i,c){e.apply(void 0,s).then((function(e){r=0,i(e)})).catch((function(e){r<t&&a(e)?(r++,setTimeout((function(){i(n.apply(void 0,s))}),o)):(r=0,c(e))}))}))};return c}e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.promise.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.retry=void 0,n.retry=r},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.setRegion=void 0;var i=r(e("url")),o=e("./checkConfigValid");function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];o.checkConfigValid(e,"region");var r=n?"https://":"http://",s=t?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return e.substr(0,a.length)===a&&(s=".aliyuncs.com"),i.default.parse(r+e+s)}n.setRegion=s},{"./checkConfigValid":52,url:472}],76:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),i=r(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.array.find.js"),e("core-js/modules/es.object.assign.js");var o=r(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(n,"__esModule",{value:!0}),n.checkCredentials=n.setSTSToken=void 0;var s=e("./formatObjKey");function a(){return c.apply(this,arguments)}function c(){return(c=(0,o.default)(i.default.mark((function e(){var t,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.options||(this.options={}),t=new Date,!this.stsTokenFreshTime){e.next=14;break}if(!(+t-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){e.next=12;break}return this.stsTokenFreshTime=t,e.next=7,this.options.refreshSTSToken();case 7:n=e.sent,(n=s.formatObjKey(n,"firstLowerCase")).securityToken&&(n.stsToken=n.securityToken),l(n),Object.assign(this.options,n);case 12:e.next=15;break;case 14:this.stsTokenFreshTime=t;case 15:return e.abrupt("return",null);case 16:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function l(e){var t=["accessKeySecret","accessKeyId","stsToken"],n=Object.keys(e);t.forEach((function(e){if(!n.find((function(t){return t===e})))throw Error("refreshSTSToken must return contains ".concat(e))}))}n.setSTSToken=a,n.checkCredentials=l},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(e,t,n){function r(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var s=e.apply(t,n);function a(e){r(s,i,o,a,c,"next",e)}function c(e){r(s,i,o,a,c,"throw",e)}a(void 0)}))}}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},{}],78:[function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},{}],79:[function(e,t,n){function r(e){return t.exports=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},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},{}],80:[function(e,t,n){t.exports=e("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(e,t,n){function r(){}t.exports=r,t.exports.HttpsAgent=r},{}],82:[function(e,n,r){(function(t){(function(){"use strict";var r=e("object-assign");function i(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}function o(e){return t.Buffer&&"function"==typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var s=e("util/"),a=Object.prototype.hasOwnProperty,c=Array.prototype.slice,l="foo"===function(){}.name;function u(e){return Object.prototype.toString.call(e)}function d(e){return!o(e)&&"function"==typeof t.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer)))}var f=n.exports=b,p=/\s*function\s+([^\(\s]*)\s*/;function h(e){if(s.isFunction(e)){if(l)return e.name;var t=e.toString().match(p);return t&&t[1]}}function m(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function g(e){if(l||!s.isFunction(e))return s.inspect(e);var t=h(e);return"[Function"+(t?": "+t:"")+"]"}function v(e){return m(g(e.actual),128)+" "+e.operator+" "+m(g(e.expected),128)}function y(e,t,n,r,i){throw new f.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function b(e,t){e||y(e,!0,t,"==",f.ok)}function x(e,t,n,r){if(e===t)return!0;if(o(e)&&o(t))return 0===i(e,t);if(s.isDate(e)&&s.isDate(t))return e.getTime()===t.getTime();if(s.isRegExp(e)&&s.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(d(e)&&d(t)&&u(e)===u(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===i(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(t))return!1;var a=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==a&&a===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),_(e,t,n,r))}return n?e===t:e==t}function w(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function _(e,t,n,r){if(null==e||null==t)return!1;if(s.isPrimitive(e)||s.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=w(e),o=w(t);if(i&&!o||!i&&o)return!1;if(i)return x(e=c.call(e),t=c.call(t),n);var a,l,u=E(e),d=E(t);if(u.length!==d.length)return!1;for(u.sort(),d.sort(),l=u.length-1;l>=0;l--)if(u[l]!==d[l])return!1;for(l=u.length-1;l>=0;l--)if(!x(e[a=u[l]],t[a],n,r))return!1;return!0}function j(e,t,n){x(e,t,!0)&&y(e,t,n,"notDeepStrictEqual",j)}function S(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function C(e){var t;try{e()}catch(e){t=e}return t}function A(e,t,n,r){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),i=C(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&y(i,n,"Missing expected exception"+r);var o="string"==typeof r,a=!e&&i&&!n;if((!e&&s.isError(i)&&o&&S(i,n)||a)&&y(i,n,"Got unwanted exception"+r),e&&i&&n&&!S(i,n)||!e&&i)throw i}function k(e,t){e||y(e,!0,t,"==",k)}f.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=v(this),this.generatedMessage=!0);var t=e.stackStartFunction||y;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=h(t),o=r.indexOf("\n"+i);if(o>=0){var s=r.indexOf("\n",o+1);r=r.substring(s+1)}this.stack=r}}},s.inherits(f.AssertionError,Error),f.fail=y,f.ok=b,f.equal=function(e,t,n){e!=t&&y(e,t,n,"==",f.equal)},f.notEqual=function(e,t,n){e==t&&y(e,t,n,"!=",f.notEqual)},f.deepEqual=function(e,t,n){x(e,t,!1)||y(e,t,n,"deepEqual",f.deepEqual)},f.deepStrictEqual=function(e,t,n){x(e,t,!0)||y(e,t,n,"deepStrictEqual",f.deepStrictEqual)},f.notDeepEqual=function(e,t,n){x(e,t,!1)&&y(e,t,n,"notDeepEqual",f.notDeepEqual)},f.notDeepStrictEqual=j,f.strictEqual=function(e,t,n){e!==t&&y(e,t,n,"===",f.strictEqual)},f.notStrictEqual=function(e,t,n){e===t&&y(e,t,n,"!==",f.notStrictEqual)},f.throws=function(e,t,n){A(!0,e,t,n)},f.doesNotThrow=function(e,t,n){A(!1,e,t,n)},f.ifError=function(e){if(e)throw e},f.strict=r(k,f,{equal:f.strictEqual,deepEqual:f.deepStrictEqual,notEqual:f.notStrictEqual,notDeepEqual:f.notDeepStrictEqual}),f.strict.strict=f.strict;var E=Object.keys||function(e){var t=[];for(var n in e)a.call(e,n)&&t.push(n);return t}}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"object-assign":377,"util/":85}],83:[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}},{}],84:[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}},{}],85:[function(e,n,r){(function(t,n){(function(){var i=/%[sdj%]/g;r.format=function(e){if(!_(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(a(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,s=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(e){return"[Circular]"}default:return e}})),c=r[n];n<o;c=r[++n])b(c)||!A(c)?s+=" "+c:s+=" "+a(c);return s},r.deprecate=function(e,i){if(S(n.process))return function(){return r.deprecate(e,i).apply(this,arguments)};if(!0===t.noDeprecation)return e;var o=!1;function s(){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 s};var o,s={};function a(e,t){var n={seen:[],stylize:l};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(t)?n.showHidden=t:t&&r._extend(n,t),S(n.showHidden)&&(n.showHidden=!1),S(n.depth)&&(n.depth=2),S(n.colors)&&(n.colors=!1),S(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),d(n,e,n.depth)}function c(e,t){var n=a.styles[t];return n?"["+a.colors[n][0]+"m"+e+"["+a.colors[n][1]+"m":e}function l(e,t){return e}function u(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}function d(e,t,n){if(e.customInspect&&t&&T(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return _(i)||(i=d(e,i,n)),i}var o=f(e,t);if(o)return o;var s=Object.keys(t),a=u(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),E(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return p(t);if(0===s.length){if(T(t)){var c=t.name?": "+t.name:"";return e.stylize("[Function"+c+"]","special")}if(C(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(k(t))return e.stylize(Date.prototype.toString.call(t),"date");if(E(t))return p(t)}var l,y="",b=!1,x=["{","}"];return v(t)&&(b=!0,x=["[","]"]),T(t)&&(y=" [Function"+(t.name?": "+t.name:"")+"]"),C(t)&&(y=" "+RegExp.prototype.toString.call(t)),k(t)&&(y=" "+Date.prototype.toUTCString.call(t)),E(t)&&(y=" "+p(t)),0!==s.length||b&&0!=t.length?n<0?C(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=b?h(e,t,n,a,s):s.map((function(r){return m(e,t,n,a,r,b)})),e.seen.pop(),g(l,y,x)):x[0]+y+x[1]}function f(e,t){if(S(t))return e.stylize("undefined","undefined");if(_(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return w(t)?e.stylize(""+t,"number"):y(t)?e.stylize(""+t,"boolean"):b(t)?e.stylize("null","null"):void 0}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,n,r,i){for(var o=[],s=0,a=t.length;s<a;++s)I(t,String(s))?o.push(m(e,t,n,r,String(s),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(m(e,t,n,r,i,!0))})),o}function m(e,t,n,r,i,o){var s,a,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),I(r,i)||(s="["+i+"]"),a||(e.seen.indexOf(c.value)<0?(a=b(n)?d(e,c.value,null):d(e,c.value,n-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),S(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function g(e,t,n){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function v(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function b(e){return null===e}function x(e){return null==e}function w(e){return"number"==typeof e}function _(e){return"string"==typeof e}function j(e){return"symbol"==typeof e}function S(e){return void 0===e}function C(e){return A(e)&&"[object RegExp]"===D(e)}function A(e){return"object"==typeof e&&null!==e}function k(e){return A(e)&&"[object Date]"===D(e)}function E(e){return A(e)&&("[object Error]"===D(e)||e instanceof Error)}function T(e){return"function"==typeof e}function M(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function D(e){return Object.prototype.toString.call(e)}function O(e){return e<10?"0"+e.toString(10):e.toString(10)}r.debuglog=function(e){if(S(o)&&(o=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!s[e])if(new RegExp("\\b"+e+"\\b","i").test(o)){var n=t.pid;s[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else s[e]=function(){};return s[e]},r.inspect=a,a.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]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=v,r.isBoolean=y,r.isNull=b,r.isNullOrUndefined=x,r.isNumber=w,r.isString=_,r.isSymbol=j,r.isUndefined=S,r.isRegExp=C,r.isObject=A,r.isDate=k,r.isError=E,r.isFunction=T,r.isPrimitive=M,r.isBuffer=e("./support/isBuffer");var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function L(){var e=new Date,t=[O(e.getHours()),O(e.getMinutes()),O(e.getSeconds())].join(":");return[e.getDate(),N[e.getMonth()],t].join(" ")}function I(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.log=function(){console.log("%s - %s",L(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!A(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this)}).call(this,e("_process"),void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(e,n,r){(function(e){(function(){"use strict";var t=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],r="undefined"==typeof globalThis?e:globalThis;n.exports=function(){for(var e=[],n=0;n<t.length;n++)"function"==typeof r[t[n]]&&(e[e.length]=t[n]);return e}}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],87:[function(e,t,n){"use strict";n.byteLength=u,n.toByteArray=f,n.fromByteArray=m;for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=s.length;a<c;++a)r[a]=s[a],i[s.charCodeAt(a)]=a;function l(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("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e){var t=l(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 f(e){var t,n,r=l(e),s=r[0],a=r[1],c=new o(d(e,s,a)),u=0,f=a>0?s-4:s;for(n=0;n<f;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)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===a&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===a&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c}function p(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function h(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(p(r));return i.join("")}function m(e){for(var t,n=e.length,i=n%3,o=[],s=16383,a=0,c=n-i;a<c;a+=s)o.push(h(e,a,a+s>c?c:a+s));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},{}],88:[function(e,t,r){var i,o,s;i=this,o="bowser",s=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,s=n(/(ipod|iphone|ipad)/i).toLowerCase(),a=!/like android/i.test(t)&&/android/i.test(t),c=/nexus\s*[0-6]\s*/i.test(t),l=!c&&/nexus\s*[0-9]+/i.test(t),u=/CrOS/.test(t),d=/silk/i.test(t),f=/sailfish/i.test(t),p=/tizen/i.test(t),h=/(web|hpw)(o|0)s/i.test(t),m=/windows phone/i.test(t),g=(/SamsungBrowser/i.test(t),!m&&/windows/i.test(t)),v=!s&&!d&&/macintosh/i.test(t),y=!a&&!f&&!p&&!h&&/linux/i.test(t),b=r(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),x=n(/version\/(\d+(\.\d+)?)/i),w=/tablet/i.test(t)&&!/tablet pc/i.test(t),_=!w&&/[^-]mobi/i.test(t),j=/xbox/i.test(t);function S(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";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:x||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)||x}:/SamsungBrowser/i.test(t)?i={name:"Samsung Internet for Android",samsungBrowser:e,version:x||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:x||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:x||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)}:m?(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)}:u?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)||x}: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")):d?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:x||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:h?(i={name:"WebOS",osname:"WebOS",webos:e,version:x||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)||x}:/qupzilla/i.test(t)?i={name:"QupZilla",qupzilla:e,version:n(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||x}:/chromium/i.test(t)?i={name:"Chromium",chromium:e,version:n(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||x}:/chrome|crios|crmo/i.test(t)?i={name:"Chrome",chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:a?i={name:"Android",version:x}:/safari|applewebkit/i.test(t)?(i={name:"Safari",safari:e},x&&(i.version=x)):s?(i={name:"iphone"==s?"iPhone":"ipad"==s?"iPad":"iPod"},x&&(i.version=x)):i=/googlebot/i.test(t)?{name:"Googlebot",googlebot:e,version:n(/googlebot\/(\d+(\.\d+))/i)||x}:{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&&x&&(i.version=x)):!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||!a&&!i.silk?!i.windowsphone&&s?(i[s]=e,i.ios=e,i.osname="iOS"):v?(i.mac=e,i.osname="macOS"):j?(i.xbox=e,i.osname="Xbox"):g?(i.windows=e,i.osname="Windows"):y&&(i.linux=e,i.osname="Linux"):(i.android=e,i.osname="Android");var C="";i.windows?C=S(n(/Windows ((NT|XP)( \d\d?.\d)?)/i)):i.windowsphone?C=n(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):i.mac?C=(C=n(/Mac OS X (\d+([_\.\s]\d+)*)/i)).replace(/[_\s]/g,"."):s?C=(C=n(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g,"."):a?C=n(/android[ \/-](\d+(\.\d+)*)/i):i.webos?C=n(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):i.blackberry?C=n(/rim\stablet\sos\s(\d+(\.\d+)*)/i):i.bada?C=n(/bada\/(\d+(\.\d+)*)/i):i.tizen&&(C=n(/tizen[\/\s](\d+(\.\d+)*)/i)),C&&(i.osversion=C);var A=!i.windows&&C.split(".")[0];return w||l||"ipad"==s||a&&(3==A||A>=4&&!_)||i.silk?i.tablet=e:(_||"iphone"==s||"ipod"==s||a||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){for(var t=Math.max(r(e[0]),r(e[1])),n=i(e,(function(e){var n=t-r(e);return i((e+=new Array(n+1).join(".0")).split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));--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 s(e,r,i){var s=n;"string"==typeof r&&(i=r,r=void 0),void 0===r&&(r=!1),i&&(s=t(i));var a=""+s.version;for(var c in e)if(e.hasOwnProperty(c)&&s[c]){if("string"!=typeof e[c])throw new Error("Browser version in the minVersion map should be a string: "+c+": "+String(e));return o([a,e[c]])<0}return r}function a(e,t,n){return!s(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=s,n.compareVersions=o,n.check=a,n._detect=t,n.detect=t,n},void 0!==t&&t.exports?t.exports=s():"function"==typeof n&&n.amd?n(o,s):i[o]=s()},{}],89:[function(e,t,n){},{}],90:[function(e,t,n){(function(t){(function(){"use strict";var t=e("base64-js"),r=e("ieee754");n.Buffer=a,n.SlowBuffer=v,n.INSPECT_MAX_BYTES=50;var i=2147483647;function o(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}function s(e){if(e>i)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return t.__proto__=a.prototype,t}function a(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return f(e,t);if(ArrayBuffer.isView(e))return p(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer))return h(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return a.from(r,t,n);var i=m(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function u(e,t,n){return l(e),e<=0?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}function d(e){return l(e),s(e<0?0:0|g(e))}function f(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!a.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|y(e,t),r=s(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}function p(e){for(var t=e.length<0?0:0|g(e.length),n=s(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n)).__proto__=a.prototype,r}function m(e){if(a.isBuffer(e)){var t=0|g(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||Q(e.length)?s(0):p(e):"Buffer"===e.type&&Array.isArray(e.data)?p(e.data):void 0}function g(e){if(e>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function v(e){return+e!=e&&(e=0),a.alloc(+e)}function y(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Y(e).length;default:if(i)return r?-1:Z(e).length;t=(""+t).toLowerCase(),i=!0}}function b(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))return"";for(e||(e="utf8");;)switch(e){case"hex":return I(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return N(this,t,n);case"latin1":case"binary":return L(this,t,n);case"base64":return T(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function x(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function w(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Q(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:_(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function _(e,t,n,r,i){var o,s=1,a=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,c/=2,n/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var u=-1;for(o=n;o<a;o++)if(l(e,o)===l(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===c)return u*s}else-1!==u&&(o-=o-u),u=-1}else for(n+c>a&&(n=a-c),o=n;o>=0;o--){for(var d=!0,f=0;f<c;f++)if(l(e,o+f)!==l(t,f)){d=!1;break}if(d)return o}return-1}function j(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(t.substr(2*s,2),16);if(Q(a))return s;e[n+s]=a}return s}function S(e,t,n,r){return K(Z(t,e.length-n),e,n,r)}function C(e,t,n,r){return K(G(t),e,n,r)}function A(e,t,n,r){return C(e,t,n,r)}function k(e,t,n,r){return K(Y(t),e,n,r)}function E(e,t,n,r){return K(V(t,e.length-n),e,n,r)}function T(e,n,r){return 0===n&&r===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(n,r))}function M(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,s,a,c,l=e[i],u=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=n)switch(d){case 1:l<128&&(u=l);break;case 2:128==(192&(o=e[i+1]))&&(c=(31&l)<<6|63&o)>127&&(u=c);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(c=(15&l)<<12|(63&o)<<6|63&s)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(c=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(u=c)}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 O(r)}n.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=o(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),a.poolSize=8192,a.from=function(e,t,n){return c(e,t,n)},a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,a.alloc=function(e,t,n){return u(e,t,n)},a.allocUnsafe=function(e){return d(e)},a.allocUnsafeSlow=function(e){return d(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(X(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),X(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},a.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}},a.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=a.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(X(o,Uint8Array)&&(o=a.from(o)),!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},a.byteLength=y,a.prototype._isBuffer=!0,a.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)x(this,t,t+1);return this},a.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)x(this,t,t+3),x(this,t+1,t+2);return this},a.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)x(this,t,t+7),x(this,t+1,t+6),x(this,t+2,t+5),x(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?M(this,0,e):b.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},a.prototype.compare=function(e,t,n,r,i){if(X(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),c=Math.min(o,s),l=this.slice(r,i),u=e.slice(t,n),d=0;d<c;++d)if(l[d]!==u[d]){o=l[d],s=u[d];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},a.prototype.indexOf=function(e,t,n){return w(this,e,t,n,!0)},a.prototype.lastIndexOf=function(e,t,n){return w(this,e,t,n,!1)},a.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 j(this,e,t,n);case"utf8":case"utf-8":return S(this,e,t,n);case"ascii":return C(this,e,t,n);case"latin1":case"binary":return A(this,e,t,n);case"base64":return k(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var D=4096;function O(e){var t=e.length;if(t<=D)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=D));return n}function N(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 L(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 I(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+=W(e[o]);return i}function R(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 P(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 B(e,t,n,r,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function F(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,i,o){return t=+t,n>>>=0,o||F(e,t,n,4,34028234663852886e22,-34028234663852886e22),r.write(e,t,n,i,23,4),n+4}function U(e,t,n,i,o){return t=+t,n>>>=0,o||F(e,t,n,8,17976931348623157e292,-17976931348623157e292),r.write(e,t,n,i,52,8),n+8}a.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return r.__proto__=a.prototype,r},a.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},a.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},a.prototype.readUInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){e>>>=0,t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||P(e,4,this.length),r.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||P(e,4,this.length),r.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||P(e,8,this.length),r.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||P(e,8,this.length),r.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||B(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},a.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||B(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);B(this,e,t,n,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<n&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);B(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,n){return z(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return z(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return U(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return U(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(!a.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===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("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,r);else if(this===e&&n<t&&t<r)for(var o=i-1;o>=0;--o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return i},a.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var i=e.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(e=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 o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var s=a.isBuffer(e)?e:a.from(e,r),c=s.length;if(0===c)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=s[o%c]}return this};var H=/[^+/0-9A-Za-z-_]/g;function q(e){if((e=(e=e.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function W(e){return e<16?"0"+e.toString(16):e.toString(16)}function Z(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],s=0;s<r;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+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 G(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function V(e,t){for(var n,r,i,o=[],s=0;s<e.length&&!((t-=2)<0);++s)r=(n=e.charCodeAt(s))>>8,i=n%256,o.push(i),o.push(r);return o}function Y(e){return t.toByteArray(q(e))}function K(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function X(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!=e}}).call(this)}).call(this,e("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[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"}},{}],92:[function(e,t,n){"use strict";var r=e("get-intrinsic"),i=e("./"),o=i(r("String.prototype.indexOf"));t.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i(n):n}},{"./":93,"get-intrinsic":348}],93:[function(e,t,n){"use strict";var r=e("function-bind"),i=e("get-intrinsic"),o=i("%Function.prototype.apply%"),s=i("%Function.prototype.call%"),a=i("%Reflect.apply%",!0)||r.call(s,o),c=i("%Object.getOwnPropertyDescriptor%",!0),l=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}t.exports=function(e){var t=a(r,s,arguments);return c&&l&&c(t,"length").configurable&&l(t,"length",{value:1+u(0,e.length-(arguments.length-1))}),t};var d=function(){return a(r,o,arguments)};l?l(t.exports,"apply",{value:d}):t.exports.apply=d},{"function-bind":347,"get-intrinsic":348}],94:[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++)void 0===e[r=t[n]]&&(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),s=this.src.__lookupSetter__(r);i&&e.__defineGetter__(r,i),s&&e.__defineSetter__(r,s),i||s||(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}},{}],95:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=e("../internals/try-to-string"),s=r.TypeError;t.exports=function(e){if(i(e))return e;throw s(o(e)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-constructor"),o=e("../internals/try-to-string"),s=r.TypeError;t.exports=function(e){if(i(e))return e;throw s(o(e)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=r.String,s=r.TypeError;t.exports=function(e){if("object"==typeof e||i(e))return e;throw s("Can't set "+o(e)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/object-create"),o=e("../internals/object-define-property"),s=r("unscopables"),a=Array.prototype;null==a[s]&&o.f(a,s,{configurable:!0,value:i(null)}),t.exports=function(e){a[s][e]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(e,t,n){"use strict";var r=e("../internals/string-multibyte").charAt;t.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},{"../internals/string-multibyte":239}],100:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/object-is-prototype-of"),o=r.TypeError;t.exports=function(e,t){if(i(t,e))return e;throw o("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-object"),o=r.String,s=r.TypeError;t.exports=function(e){if(i(e))return e;throw s(o(e)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(e,t,n){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},{}],103:[function(e,t,n){"use strict";var r,i,o,s=e("../internals/array-buffer-native"),a=e("../internals/descriptors"),c=e("../internals/global"),l=e("../internals/is-callable"),u=e("../internals/is-object"),d=e("../internals/has-own-property"),f=e("../internals/classof"),p=e("../internals/try-to-string"),h=e("../internals/create-non-enumerable-property"),m=e("../internals/redefine"),g=e("../internals/object-define-property").f,v=e("../internals/object-is-prototype-of"),y=e("../internals/object-get-prototype-of"),b=e("../internals/object-set-prototype-of"),x=e("../internals/well-known-symbol"),w=e("../internals/uid"),_=c.Int8Array,j=_&&_.prototype,S=c.Uint8ClampedArray,C=S&&S.prototype,A=_&&y(_),k=j&&y(j),E=Object.prototype,T=c.TypeError,M=x("toStringTag"),D=w("TYPED_ARRAY_TAG"),O=w("TYPED_ARRAY_CONSTRUCTOR"),N=s&&!!b&&"Opera"!==f(c.opera),L=!1,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},R={BigInt64Array:8,BigUint64Array:8},P=function(e){if(!u(e))return!1;var t=f(e);return"DataView"===t||d(I,t)||d(R,t)},B=function(e){if(!u(e))return!1;var t=f(e);return d(I,t)||d(R,t)},F=function(e){if(B(e))return e;throw T("Target is not a typed array")},z=function(e){if(l(e)&&(!b||v(A,e)))return e;throw T(p(e)+" is not a typed array constructor")},U=function(e,t,n,r){if(a){if(n)for(var i in I){var o=c[i];if(o&&d(o.prototype,e))try{delete o.prototype[e]}catch(n){try{o.prototype[e]=t}catch(e){}}}k[e]&&!n||m(k,e,n?t:N&&j[e]||t,r)}},H=function(e,t,n){var r,i;if(a){if(b){if(n)for(r in I)if((i=c[r])&&d(i,e))try{delete i[e]}catch(e){}if(A[e]&&!n)return;try{return m(A,e,n?t:N&&A[e]||t)}catch(e){}}for(r in I)!(i=c[r])||i[e]&&!n||m(i,e,t)}};for(r in I)(o=(i=c[r])&&i.prototype)?h(o,O,i):N=!1;for(r in R)(o=(i=c[r])&&i.prototype)&&h(o,O,i);if((!N||!l(A)||A===Function.prototype)&&(A=function(){throw T("Incorrect invocation")},N))for(r in I)c[r]&&b(c[r],A);if((!N||!k||k===E)&&(k=A.prototype,N))for(r in I)c[r]&&b(c[r].prototype,k);if(N&&y(C)!==k&&b(C,k),a&&!d(k,M))for(r in L=!0,g(k,M,{get:function(){return u(this)?this[D]:void 0}}),I)c[r]&&h(c[r],D,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:N,TYPED_ARRAY_CONSTRUCTOR:O,TYPED_ARRAY_TAG:L&&D,aTypedArray:F,aTypedArrayConstructor:z,exportTypedArrayMethod:U,exportTypedArrayStaticMethod:H,isView:P,isTypedArray:B,TypedArray:A,TypedArrayPrototype:k}},{"../internals/array-buffer-native":102,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-define-property":198,"../internals/object-get-prototype-of":203,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/try-to-string":257,"../internals/uid":263,"../internals/well-known-symbol":268}],104:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-uncurry-this"),o=e("../internals/descriptors"),s=e("../internals/array-buffer-native"),a=e("../internals/function-name"),c=e("../internals/create-non-enumerable-property"),l=e("../internals/redefine-all"),u=e("../internals/fails"),d=e("../internals/an-instance"),f=e("../internals/to-integer-or-infinity"),p=e("../internals/to-length"),h=e("../internals/to-index"),m=e("../internals/ieee754"),g=e("../internals/object-get-prototype-of"),v=e("../internals/object-set-prototype-of"),y=e("../internals/object-get-own-property-names").f,b=e("../internals/object-define-property").f,x=e("../internals/array-fill"),w=e("../internals/array-slice-simple"),_=e("../internals/set-to-string-tag"),j=e("../internals/internal-state"),S=a.PROPER,C=a.CONFIGURABLE,A=j.get,k=j.set,E="ArrayBuffer",T="DataView",M="prototype",D="Wrong length",O="Wrong index",N=r[E],L=N,I=L&&L[M],R=r[T],P=R&&R[M],B=Object.prototype,F=r.Array,z=r.RangeError,U=i(x),H=i([].reverse),q=m.pack,W=m.unpack,Z=function(e){return[255&e]},G=function(e){return[255&e,e>>8&255]},V=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},Y=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},K=function(e){return q(e,23,4)},X=function(e){return q(e,52,8)},Q=function(e,t){b(e[M],t,{get:function(){return A(this)[t]}})},J=function(e,t,n,r){var i=h(n),o=A(e);if(i+t>o.byteLength)throw z(O);var s=A(o.buffer).bytes,a=i+o.byteOffset,c=w(s,a,a+t);return r?c:H(c)},$=function(e,t,n,r,i,o){var s=h(n),a=A(e);if(s+t>a.byteLength)throw z(O);for(var c=A(a.buffer).bytes,l=s+a.byteOffset,u=r(+i),d=0;d<t;d++)c[l+d]=u[o?d:t-d-1]};if(s){var ee=S&&N.name!==E;if(u((function(){N(1)}))&&u((function(){new N(-1)}))&&!u((function(){return new N,new N(1.5),new N(NaN),ee&&!C})))ee&&C&&c(N,"name",E);else{(L=function(e){return d(this,I),new N(h(e))})[M]=I;for(var te,ne=y(N),re=0;ne.length>re;)(te=ne[re++])in L||c(L,te,N[te]);I.constructor=L}v&&g(P)!==B&&v(P,B);var ie=new R(new L(2)),oe=i(P.setInt8);ie.setInt8(0,2147483648),ie.setInt8(1,2147483649),!ie.getInt8(0)&&ie.getInt8(1)||l(P,{setInt8:function(e,t){oe(this,e,t<<24>>24)},setUint8:function(e,t){oe(this,e,t<<24>>24)}},{unsafe:!0})}else I=(L=function(e){d(this,I);var t=h(e);k(this,{bytes:U(F(t),0),byteLength:t}),o||(this.byteLength=t)})[M],P=(R=function(e,t,n){d(this,P),d(e,I);var r=A(e).byteLength,i=f(t);if(i<0||i>r)throw z("Wrong offset");if(i+(n=void 0===n?r-i:p(n))>r)throw z(D);k(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)})[M],o&&(Q(L,"byteLength"),Q(R,"buffer"),Q(R,"byteLength"),Q(R,"byteOffset")),l(P,{getInt8:function(e){return J(this,1,e)[0]<<24>>24},getUint8:function(e){return J(this,1,e)[0]},getInt16:function(e){var t=J(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=J(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return Y(J(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return Y(J(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return W(J(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return W(J(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){$(this,1,e,Z,t)},setUint8:function(e,t){$(this,1,e,Z,t)},setInt16:function(e,t){$(this,2,e,G,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){$(this,2,e,G,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){$(this,4,e,V,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){$(this,4,e,V,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){$(this,4,e,K,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){$(this,8,e,X,t,arguments.length>2?arguments[2]:void 0)}});_(L,E),_(R,T),t.exports={ArrayBuffer:L,DataView:R}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(e,t,n){"use strict";var r=e("../internals/to-object"),i=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like"),s=Math.min;t.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n),c=i(e,a),l=i(t,a),u=arguments.length>2?arguments[2]:void 0,d=s((void 0===u?a:i(u,a))-l,a-c),f=1;for(l<c&&c<l+d&&(f=-1,l+=d-1,c+=d-1);d-- >0;)l in n?n[c]=n[l]:delete n[c],c+=f,l+=f;return n}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(e,t,n){"use strict";var r=e("../internals/to-object"),i=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like");t.exports=function(e){for(var t=r(this),n=o(t),s=arguments.length,a=i(s>1?arguments[1]:void 0,n),c=s>2?arguments[2]:void 0,l=void 0===c?n:i(c,n);l>a;)t[a++]=e;return t}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(e,t,n){"use strict";var r=e("../internals/array-iteration").forEach,i=e("../internals/array-method-is-strict")("forEach");t.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(e,t,n){var r=e("../internals/length-of-array-like");t.exports=function(e,t){for(var n=0,i=r(t),o=new e(i);i>n;)o[n]=t[n++];return o}},{"../internals/length-of-array-like":188}],109:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-bind-context"),o=e("../internals/function-call"),s=e("../internals/to-object"),a=e("../internals/call-with-safe-iteration-closing"),c=e("../internals/is-array-iterator-method"),l=e("../internals/is-constructor"),u=e("../internals/length-of-array-like"),d=e("../internals/create-property"),f=e("../internals/get-iterator"),p=e("../internals/get-iterator-method"),h=r.Array;t.exports=function(e){var t=s(e),n=l(this),r=arguments.length,m=r>1?arguments[1]:void 0,g=void 0!==m;g&&(m=i(m,r>2?arguments[2]:void 0));var v,y,b,x,w,_,j=p(t),S=0;if(!j||this==h&&c(j))for(v=u(t),y=n?new this(v):h(v);v>S;S++)_=g?m(t[S],S):t[S],d(y,S,_);else for(w=(x=f(t,j)).next,y=n?new this:[];!(b=o(w,x)).done;S++)_=g?a(x,m,[b.value,S],!0):b.value,d(y,S,_);return y.length=S,y}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(e,t,n){var r=e("../internals/to-indexed-object"),i=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like"),s=function(e){return function(t,n,s){var a,c=r(t),l=o(c),u=i(s,l);if(e&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(e,t,n){var r=e("../internals/function-bind-context"),i=e("../internals/function-uncurry-this"),o=e("../internals/indexed-object"),s=e("../internals/to-object"),a=e("../internals/length-of-array-like"),c=e("../internals/array-species-create"),l=i([].push),u=function(e){var t=1==e,n=2==e,i=3==e,u=4==e,d=6==e,f=7==e,p=5==e||d;return function(h,m,g,v){for(var y,b,x=s(h),w=o(x),_=r(m,g),j=a(w),S=0,C=v||c,A=t?C(h,j):n||f?C(h,0):void 0;j>S;S++)if((p||S in w)&&(b=_(y=w[S],S,x),e))if(t)A[S]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:l(A,y)}else switch(e){case 4:return!1;case 7:l(A,y)}return d?-1:i||u?u:A}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(e,t,n){"use strict";var r=e("../internals/function-apply"),i=e("../internals/to-indexed-object"),o=e("../internals/to-integer-or-infinity"),s=e("../internals/length-of-array-like"),a=e("../internals/array-method-is-strict"),c=Math.min,l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0,d=a("lastIndexOf"),f=u||!d;t.exports=f?function(e){if(u)return r(l,this,arguments)||0;var t=i(this),n=s(t),a=n-1;for(arguments.length>1&&(a=c(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:l},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/well-known-symbol"),o=e("../internals/engine-v8-version"),s=i("species");t.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(e,t,n){"use strict";var r=e("../internals/fails");t.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},{"../internals/fails":150}],115:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/a-callable"),o=e("../internals/to-object"),s=e("../internals/indexed-object"),a=e("../internals/length-of-array-like"),c=r.TypeError,l=function(e){return function(t,n,r,l){i(n);var u=o(t),d=s(u),f=a(u),p=e?f-1:0,h=e?-1:1;if(r<2)for(;;){if(p in d){l=d[p],p+=h;break}if(p+=h,e?p<0:f<=p)throw c("Reduce of empty array with no initial value")}for(;e?p>=0:f>p;p+=h)p in d&&(l=n(l,d[p],p,u));return l}};t.exports={left:l(!1),right:l(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like"),s=e("../internals/create-property"),a=r.Array,c=Math.max;t.exports=function(e,t,n){for(var r=o(e),l=i(t,r),u=i(void 0===n?r:n,r),d=a(c(u-l,0)),f=0;l<u;l++,f++)s(d,f,e[l]);return d.length=f,d}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r([].slice)},{"../internals/function-uncurry-this":157}],118:[function(e,t,n){var r=e("../internals/array-slice-simple"),i=Math.floor,o=function(e,t){var n=e.length,c=i(n/2);return n<8?s(e,t):a(e,o(r(e,0,c),t),o(r(e,c),t),t)},s=function(e,t){for(var n,r,i=e.length,o=1;o<i;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},a=function(e,t,n,r){for(var i=t.length,o=n.length,s=0,a=0;s<i||a<o;)e[s+a]=s<i&&a<o?r(t[s],n[a])<=0?t[s++]:n[a++]:s<i?t[s++]:n[a++];return e};t.exports=o},{"../internals/array-slice-simple":116}],119:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-array"),o=e("../internals/is-constructor"),s=e("../internals/is-object"),a=e("../internals/well-known-symbol")("species"),c=r.Array;t.exports=function(e){var t;return i(e)&&(t=e.constructor,(o(t)&&(t===c||i(t.prototype))||s(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?c:t}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(e,t,n){var r=e("../internals/array-species-constructor");t.exports=function(e,t){return new(r(e))(0===t?0:t)}},{"../internals/array-species-constructor":119}],121:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/iterator-close");t.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){i(e,"throw",t)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(e,t,n){var r=e("../internals/well-known-symbol")("iterator"),i=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){i=!0}};s[r]=function(){return this},Array.from(s,(function(){throw 2}))}catch(e){}t.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},{"../internals/well-known-symbol":268}],123:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=r({}.toString),o=r("".slice);t.exports=function(e){return o(i(e),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-string-tag-support"),o=e("../internals/is-callable"),s=e("../internals/classof-raw"),a=e("../internals/well-known-symbol")("toStringTag"),c=r.Object,l="Arguments"==s(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(e){}};t.exports=i?s:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=u(t=c(e),a))?n:l?s(t):"Object"==(r=s(t))&&o(t.callee)?"Arguments":r}},{"../internals/classof-raw":123,"../internals/global":163,"../internals/is-callable":176,"../internals/to-string-tag-support":255,"../internals/well-known-symbol":268}],125:[function(e,t,n){var r=e("../internals/has-own-property"),i=e("../internals/own-keys"),o=e("../internals/object-get-own-property-descriptor"),s=e("../internals/object-define-property");t.exports=function(e,t,n){for(var a=i(t),c=s.f,l=o.f,u=0;u<a.length;u++){var d=a[u];r(e,d)||n&&r(n,d)||c(e,d,l(t,d))}}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/own-keys":212}],126:[function(e,t,n){var r=e("../internals/well-known-symbol")("match");t.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(e,t,n){var r=e("../internals/fails");t.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},{"../internals/fails":150}],128:[function(e,t,n){"use strict";var r=e("../internals/iterators-core").IteratorPrototype,i=e("../internals/object-create"),o=e("../internals/create-property-descriptor"),s=e("../internals/set-to-string-tag"),a=e("../internals/iterators"),c=function(){return this};t.exports=function(e,t,n,l){var u=t+" Iterator";return e.prototype=i(r,{next:o(+!l,n)}),s(e,u,!1,!0),a[u]=c,e}},{"../internals/create-property-descriptor":130,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-create":196,"../internals/set-to-string-tag":234}],129:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),o=e("../internals/create-property-descriptor");t.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(e,t,n){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],131:[function(e,t,n){"use strict";var r=e("../internals/to-property-key"),i=e("../internals/object-define-property"),o=e("../internals/create-property-descriptor");t.exports=function(e,t,n){var s=r(t);s in e?i.f(e,s,o(0,n)):e[s]=n}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/is-pure"),s=e("../internals/function-name"),a=e("../internals/is-callable"),c=e("../internals/create-iterator-constructor"),l=e("../internals/object-get-prototype-of"),u=e("../internals/object-set-prototype-of"),d=e("../internals/set-to-string-tag"),f=e("../internals/create-non-enumerable-property"),p=e("../internals/redefine"),h=e("../internals/well-known-symbol"),m=e("../internals/iterators"),g=e("../internals/iterators-core"),v=s.PROPER,y=s.CONFIGURABLE,b=g.IteratorPrototype,x=g.BUGGY_SAFARI_ITERATORS,w=h("iterator"),_="keys",j="values",S="entries",C=function(){return this};t.exports=function(e,t,n,s,h,g,A){c(n,t,s);var k,E,T,M=function(e){if(e===h&&I)return I;if(!x&&e in N)return N[e];switch(e){case _:case j:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},D=t+" Iterator",O=!1,N=e.prototype,L=N[w]||N["@@iterator"]||h&&N[h],I=!x&&L||M(h),R="Array"==t&&N.entries||L;if(R&&(k=l(R.call(new e)))!==Object.prototype&&k.next&&(o||l(k)===b||(u?u(k,b):a(k[w])||p(k,w,C)),d(k,D,!0,!0),o&&(m[D]=C)),v&&h==j&&L&&L.name!==j&&(!o&&y?f(N,"name",j):(O=!0,I=function(){return i(L,this)})),h)if(E={values:M(j),keys:g?I:M(_),entries:M(S)},A)for(T in E)(x||O||!(T in N))&&p(N,T,E[T]);else r({target:t,proto:!0,forced:x||O},E);return o&&!A||N[w]===I||p(N,w,I,{name:h}),m[t]=I,E}},{"../internals/create-iterator-constructor":128,"../internals/create-non-enumerable-property":129,"../internals/export":149,"../internals/function-call":155,"../internals/function-name":156,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/well-known-symbol":268}],133:[function(e,t,n){var r=e("../internals/path"),i=e("../internals/has-own-property"),o=e("../internals/well-known-symbol-wrapped"),s=e("../internals/object-define-property").f;t.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||s(t,e,{value:o.f(e)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(e,t,n){var r=e("../internals/fails");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},{"../internals/fails":150}],135:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-object"),o=r.document,s=i(o)&&i(o.createElement);t.exports=function(e){return s?o.createElement(e):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(e,t,n){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],137:[function(e,t,n){var r=e("../internals/document-create-element")("span").classList,i=r&&r.constructor&&r.constructor.prototype;t.exports=i===Object.prototype?void 0:i},{"../internals/document-create-element":135}],138:[function(e,t,n){var r=e("../internals/engine-user-agent").match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},{"../internals/engine-user-agent":145}],139:[function(e,t,n){t.exports="object"==typeof window&&"object"!=typeof Deno},{}],140:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/MSIE|Trident/.test(r)},{"../internals/engine-user-agent":145}],141:[function(e,t,n){var r=e("../internals/engine-user-agent"),i=e("../internals/global");t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},{"../internals/engine-user-agent":145}],143:[function(e,t,n){var r=e("../internals/classof-raw"),i=e("../internals/global");t.exports="process"==r(i.process)},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/web0s(?!.*chrome)/i.test(r)},{"../internals/engine-user-agent":145}],145:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(e,t,n){var r,i,o=e("../internals/global"),s=e("../internals/engine-user-agent"),a=o.process,c=o.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(i=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(e,t,n){var r=e("../internals/engine-user-agent").match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},{"../internals/engine-user-agent":145}],148:[function(e,t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/object-get-own-property-descriptor").f,o=e("../internals/create-non-enumerable-property"),s=e("../internals/redefine"),a=e("../internals/set-global"),c=e("../internals/copy-constructor-properties"),l=e("../internals/is-forced");t.exports=function(e,t){var n,u,d,f,p,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||a(h,{}):(r[h]||{}).prototype)for(u in t){if(f=t[u],d=e.noTargetGet?(p=i(n,u))&&p.value:n[u],!l(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(e.sham||d&&d.sham)&&o(f,"sham",!0),s(n,u,f,e)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(e,t,n){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],151:[function(e,t,n){"use strict";e("../modules/es.regexp.exec");var r=e("../internals/function-uncurry-this"),i=e("../internals/redefine"),o=e("../internals/regexp-exec"),s=e("../internals/fails"),a=e("../internals/well-known-symbol"),c=e("../internals/create-non-enumerable-property"),l=a("species"),u=RegExp.prototype;t.exports=function(e,t,n,d){var f=a(e),p=!s((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),h=p&&!s((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!p||!h||n){var m=r(/./[f]),g=t(f,""[e],(function(e,t,n,i,s){var a=r(e),c=t.exec;return c===o||c===u.exec?p&&!s?{done:!0,value:m(t,n,i)}:{done:!0,value:a(n,t,i)}:{done:!1}}));i(String.prototype,e,g[0]),i(u,f,g[1])}d&&c(u[f],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(e,t,n){var r=e("../internals/function-bind-native"),i=Function.prototype,o=i.apply,s=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?s.bind(o):function(){return s.apply(o,arguments)})},{"../internals/function-bind-native":154}],153:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/a-callable"),o=e("../internals/function-bind-native"),s=r(r.bind);t.exports=function(e,t){return i(e),void 0===t?e:o?s(e,t):function(){return e.apply(t,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(e,t,n){var r=e("../internals/fails");t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},{"../internals/fails":150}],155:[function(e,t,n){var r=e("../internals/function-bind-native"),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},{"../internals/function-bind-native":154}],156:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/has-own-property"),o=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=i(o,"name"),c=a&&"something"===function(){}.name,l=a&&(!r||r&&s(o,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(e,t,n){var r=e("../internals/function-bind-native"),i=Function.prototype,o=i.bind,s=i.call,a=r&&o.bind(s,s);t.exports=r?function(e){return e&&a(e)}:function(e){return e&&function(){return s.apply(e,arguments)}}},{"../internals/function-bind-native":154}],158:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=function(e){return i(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(e,t,n){var r=e("../internals/classof"),i=e("../internals/get-method"),o=e("../internals/iterators"),s=e("../internals/well-known-symbol")("iterator");t.exports=function(e){if(null!=e)return i(e,s)||i(e,"@@iterator")||o[r(e)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/a-callable"),s=e("../internals/an-object"),a=e("../internals/try-to-string"),c=e("../internals/get-iterator-method"),l=r.TypeError;t.exports=function(e,t){var n=arguments.length<2?c(e):t;if(o(n))return s(i(n,e));throw l(a(e)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(e,t,n){var r=e("../internals/a-callable");t.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},{"../internals/a-callable":95}],162:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/to-object"),o=Math.floor,s=r("".charAt),a=r("".replace),c=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(e,t,n,r,d,f){var p=n+e.length,h=r.length,m=u;return void 0!==d&&(d=i(d),m=l),a(f,m,(function(i,a){var l;switch(s(a,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,n);case"'":return c(t,p);case"<":l=d[c(a,1,-1)];break;default:var u=+a;if(0===u)return i;if(u>h){var f=o(u/10);return 0===f?i:f<=h?void 0===r[f-1]?s(a,1):r[f-1]+s(a,1):i}l=r[u-1]}return void 0===l?"":l}))}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(e,n,r){(function(e){(function(){var t=function(e){return e&&e.Math==Math&&e};n.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],164:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/to-object"),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(e,t,n){t.exports={}},{}],166:[function(e,t,n){var r=e("../internals/global");t.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},{"../internals/global":163}],167:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("document","documentElement")},{"../internals/get-built-in":158}],168:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/fails"),o=e("../internals/document-create-element");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(e,t,n){var r=e("../internals/global").Array,i=Math.abs,o=Math.pow,s=Math.floor,a=Math.log,c=Math.LN2,l=function(e,t,n){var l,u,d,f=r(n),p=8*n-t-1,h=(1<<p)-1,m=h>>1,g=23===t?o(2,-24)-o(2,-77):0,v=e<0||0===e&&1/e<0?1:0,y=0;for((e=i(e))!=e||e===1/0?(u=e!=e?1:0,l=h):(l=s(a(e)/c),e*(d=o(2,-l))<1&&(l--,d*=2),(e+=l+m>=1?g/d:g*o(2,1-m))*d>=2&&(l++,d/=2),l+m>=h?(u=0,l=h):l+m>=1?(u=(e*d-1)*o(2,t),l+=m):(u=e*o(2,m-1)*o(2,t),l=0));t>=8;)f[y++]=255&u,u/=256,t-=8;for(l=l<<t|u,p+=t;p>0;)f[y++]=255&l,l/=256,p-=8;return f[--y]|=128*v,f},u=function(e,t){var n,r=e.length,i=8*r-t-1,s=(1<<i)-1,a=s>>1,c=i-7,l=r-1,u=e[l--],d=127&u;for(u>>=7;c>0;)d=256*d+e[l--],c-=8;for(n=d&(1<<-c)-1,d>>=-c,c+=t;c>0;)n=256*n+e[l--],c-=8;if(0===d)d=1-a;else{if(d===s)return n?NaN:u?-1/0:1/0;n+=o(2,t),d-=a}return(u?-1:1)*n*o(2,d-t)};t.exports={pack:l,unpack:u}},{"../internals/global":163}],170:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-uncurry-this"),o=e("../internals/fails"),s=e("../internals/classof-raw"),a=r.Object,c=i("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?c(e,""):a(e)}:a},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(e,t,n){var r=e("../internals/is-callable"),i=e("../internals/is-object"),o=e("../internals/object-set-prototype-of");t.exports=function(e,t,n){var s,a;return o&&r(s=t.constructor)&&s!==n&&i(a=s.prototype)&&a!==n.prototype&&o(e,a),e}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/is-callable"),o=e("../internals/shared-store"),s=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),t.exports=o.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(e,t,n){var r,i,o,s=e("../internals/native-weak-map"),a=e("../internals/global"),c=e("../internals/function-uncurry-this"),l=e("../internals/is-object"),u=e("../internals/create-non-enumerable-property"),d=e("../internals/has-own-property"),f=e("../internals/shared-store"),p=e("../internals/shared-key"),h=e("../internals/hidden-keys"),m="Object already initialized",g=a.TypeError,v=a.WeakMap,y=function(e){return o(e)?i(e):r(e,{})},b=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}};if(s||f.state){var x=f.state||(f.state=new v),w=c(x.get),_=c(x.has),j=c(x.set);r=function(e,t){if(_(x,e))throw new g(m);return t.facade=e,j(x,e,t),t},i=function(e){return w(x,e)||{}},o=function(e){return _(x,e)}}else{var S=p("state");h[S]=!0,r=function(e,t){if(d(e,S))throw new g(m);return t.facade=e,u(e,S,t),t},i=function(e){return d(e,S)?e[S]:{}},o=function(e){return d(e,S)}}t.exports={set:r,get:i,has:o,enforce:y,getterFor:b}},{"../internals/create-non-enumerable-property":129,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/is-object":180,"../internals/native-weak-map":192,"../internals/shared-key":235,"../internals/shared-store":236}],174:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/iterators"),o=r("iterator"),s=Array.prototype;t.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===e)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(e,t,n){var r=e("../internals/classof-raw");t.exports=Array.isArray||function(e){return"Array"==r(e)}},{"../internals/classof-raw":123}],176:[function(e,t,n){t.exports=function(e){return"function"==typeof e}},{}],177:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/fails"),o=e("../internals/is-callable"),s=e("../internals/classof"),a=e("../internals/get-built-in"),c=e("../internals/inspect-source"),l=function(){},u=[],d=a("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),h=!f.exec(l),m=function(e){if(!o(e))return!1;try{return d(l,u,e),!0}catch(e){return!1}},g=function(e){if(!o(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(f,c(e))}catch(e){return!0}};g.sham=!0,t.exports=!d||i((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/is-callable"),o=/#|\.prototype\./,s=function(e,t){var n=c[a(e)];return n==u||n!=l&&(i(t)?r(t):!!t)},a=s.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";t.exports=s},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(e,t,n){var r=e("../internals/is-object"),i=Math.floor;t.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&i(e)===e}},{"../internals/is-object":180}],180:[function(e,t,n){var r=e("../internals/is-callable");t.exports=function(e){return"object"==typeof e?null!==e:r(e)}},{"../internals/is-callable":176}],181:[function(e,t,n){t.exports=!1},{}],182:[function(e,t,n){var r=e("../internals/is-object"),i=e("../internals/classof-raw"),o=e("../internals/well-known-symbol")("match");t.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/get-built-in"),o=e("../internals/is-callable"),s=e("../internals/object-is-prototype-of"),a=e("../internals/use-symbol-as-uid"),c=r.Object;t.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return o(t)&&s(t.prototype,c(e))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-bind-context"),o=e("../internals/function-call"),s=e("../internals/an-object"),a=e("../internals/try-to-string"),c=e("../internals/is-array-iterator-method"),l=e("../internals/length-of-array-like"),u=e("../internals/object-is-prototype-of"),d=e("../internals/get-iterator"),f=e("../internals/get-iterator-method"),p=e("../internals/iterator-close"),h=r.TypeError,m=function(e,t){this.stopped=e,this.result=t},g=m.prototype;t.exports=function(e,t,n){var r,v,y,b,x,w,_,j=n&&n.that,S=!(!n||!n.AS_ENTRIES),C=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),k=i(t,j),E=function(e){return r&&p(r,"normal",e),new m(!0,e)},T=function(e){return S?(s(e),A?k(e[0],e[1],E):k(e[0],e[1])):A?k(e,E):k(e)};if(C)r=e;else{if(!(v=f(e)))throw h(a(e)+" is not iterable");if(c(v)){for(y=0,b=l(e);b>y;y++)if((x=T(e[y]))&&u(g,x))return x;return new m(!1)}r=d(e,v)}for(w=r.next;!(_=o(w,r)).done;){try{x=T(_.value)}catch(e){p(r,"throw",e)}if("object"==typeof x&&x&&u(g,x))return x}return new m(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/an-object"),o=e("../internals/get-method");t.exports=function(e,t,n){var s,a;i(e);try{if(!(s=o(e,"return"))){if("throw"===t)throw n;return n}s=r(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw n;if(a)throw s;return i(s),n}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(e,t,n){"use strict";var r,i,o,s=e("../internals/fails"),a=e("../internals/is-callable"),c=e("../internals/object-create"),l=e("../internals/object-get-prototype-of"),u=e("../internals/redefine"),d=e("../internals/well-known-symbol"),f=e("../internals/is-pure"),p=d("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=l(l(o)))!==Object.prototype&&(r=i):h=!0),null==r||s((function(){var e={};return r[p].call(e)!==e}))?r={}:f&&(r=c(r)),a(r[p])||u(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(e,t,n){arguments[4][165][0].apply(n,arguments)},{dup:165}],188:[function(e,t,n){var r=e("../internals/to-length");t.exports=function(e){return r(e.length)}},{"../internals/to-length":249}],189:[function(e,t,n){var r,i,o,s,a,c,l,u,d=e("../internals/global"),f=e("../internals/function-bind-context"),p=e("../internals/object-get-own-property-descriptor").f,h=e("../internals/task").set,m=e("../internals/engine-is-ios"),g=e("../internals/engine-is-ios-pebble"),v=e("../internals/engine-is-webos-webkit"),y=e("../internals/engine-is-node"),b=d.MutationObserver||d.WebKitMutationObserver,x=d.document,w=d.process,_=d.Promise,j=p(d,"queueMicrotask"),S=j&&j.value;S||(r=function(){var e,t;for(y&&(e=w.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?s():o=void 0,e}}o=void 0,e&&e.enter()},m||y||v||!b||!x?!g&&_&&_.resolve?((l=_.resolve(void 0)).constructor=_,u=f(l.then,l),s=function(){u(r)}):y?s=function(){w.nextTick(r)}:(h=f(h,d),s=function(){h(r)}):(a=!0,c=x.createTextNode(""),new b(r).observe(c,{characterData:!0}),s=function(){c.data=a=!a})),t.exports=S||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,s()),o=t}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(e,t,n){var r=e("../internals/native-symbol");t.exports=r&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(e,t,n){var r=e("../internals/engine-v8-version"),i=e("../internals/fails");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=e("../internals/inspect-source"),s=r.WeakMap;t.exports=i(s)&&/native code/.test(o(s))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(e,t,n){"use strict";var r=e("../internals/a-callable"),i=function(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)}},{"../internals/a-callable":95}],194:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-regexp"),o=r.TypeError;t.exports=function(e){if(i(e))throw o("The method doesn't accept regular expressions");return e}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/function-uncurry-this"),o=e("../internals/function-call"),s=e("../internals/fails"),a=e("../internals/object-keys"),c=e("../internals/object-get-own-property-symbols"),l=e("../internals/object-property-is-enumerable"),u=e("../internals/to-object"),d=e("../internals/indexed-object"),f=Object.assign,p=Object.defineProperty,h=i([].concat);t.exports=!f||s((function(){if(r&&1!==f({b:1},f(p({},"a",{enumerable:!0,get:function(){p(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!=f({},e)[n]||a(f({},t)).join("")!=i}))?function(e,t){for(var n=u(e),i=arguments.length,s=1,f=c.f,p=l.f;i>s;)for(var m,g=d(arguments[s++]),v=f?h(a(g),f(g)):a(g),y=v.length,b=0;y>b;)m=v[b++],r&&!o(p,g,m)||(n[m]=g[m]);return n}:f},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(e,t,n){var r,i=e("../internals/an-object"),o=e("../internals/object-define-properties"),s=e("../internals/enum-bug-keys"),a=e("../internals/hidden-keys"),c=e("../internals/html"),l=e("../internals/document-create-element"),u=e("../internals/shared-key"),d=">",f="<",p="prototype",h="script",m=u("IE_PROTO"),g=function(){},v=function(e){return f+h+d+e+f+"/"+h+d},y=function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=l("iframe"),n="java"+h+":";return t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(v("document.F=Object")),e.close(),e.F},x=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}x="undefined"!=typeof document?document.domain&&r?y(r):b():y(r);for(var e=s.length;e--;)delete x[p][s[e]];return x()};a[m]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(g[p]=i(e),n=new g,g[p]=null,n[m]=e):n=x(),void 0===t?n:o.f(n,t)}},{"../internals/an-object":101,"../internals/document-create-element":135,"../internals/enum-bug-keys":148,"../internals/hidden-keys":165,"../internals/html":167,"../internals/object-define-properties":197,"../internals/shared-key":235}],197:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/v8-prototype-define-bug"),o=e("../internals/object-define-property"),s=e("../internals/an-object"),a=e("../internals/to-indexed-object"),c=e("../internals/object-keys");n.f=r&&!i?Object.defineProperties:function(e,t){s(e);for(var n,r=a(t),i=c(t),l=i.length,u=0;l>u;)o.f(e,n=i[u++],r[n]);return e}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/descriptors"),o=e("../internals/ie8-dom-define"),s=e("../internals/v8-prototype-define-bug"),a=e("../internals/an-object"),c=e("../internals/to-property-key"),l=r.TypeError,u=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";n.f=i?s?function(e,t,n){if(a(e),t=c(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=d(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=c(t),a(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/function-call"),o=e("../internals/object-property-is-enumerable"),s=e("../internals/create-property-descriptor"),a=e("../internals/to-indexed-object"),c=e("../internals/to-property-key"),l=e("../internals/has-own-property"),u=e("../internals/ie8-dom-define"),d=Object.getOwnPropertyDescriptor;n.f=r?d:function(e,t){if(e=a(e),t=c(t),u)try{return d(e,t)}catch(e){}if(l(e,t))return s(!i(o.f,e,t),e[t])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(e,t,n){var r=e("../internals/classof-raw"),i=e("../internals/to-indexed-object"),o=e("../internals/object-get-own-property-names").f,s=e("../internals/array-slice-simple"),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return o(e)}catch(e){return s(a)}};t.exports.f=function(e){return a&&"Window"==r(e)?c(e):o(i(e))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(e,t,n){var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(e,t,n){n.f=Object.getOwnPropertySymbols},{}],203:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/has-own-property"),o=e("../internals/is-callable"),s=e("../internals/to-object"),a=e("../internals/shared-key"),c=e("../internals/correct-prototype-getter"),l=a("IE_PROTO"),u=r.Object,d=u.prototype;t.exports=c?u.getPrototypeOf:function(e){var t=s(e);if(i(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof u?d:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/has-own-property"),o=e("../internals/to-indexed-object"),s=e("../internals/array-includes").indexOf,a=e("../internals/hidden-keys"),c=r([].push);t.exports=function(e,t){var n,r=o(e),l=0,u=[];for(n in r)!i(a,n)&&i(r,n)&&c(u,n);for(;t.length>l;)i(r,n=t[l++])&&(~s(u,n)||c(u,n));return u}},{"../internals/array-includes":110,"../internals/function-uncurry-this":157,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/to-indexed-object":247}],206:[function(e,t,n){var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys");t.exports=Object.keys||function(e){return r(e,i)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);n.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},{}],208:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/an-object"),o=e("../internals/a-possible-prototype");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e(n,r):n.__proto__=r,n}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/function-uncurry-this"),o=e("../internals/object-keys"),s=e("../internals/to-indexed-object"),a=i(e("../internals/object-property-is-enumerable").f),c=i([].push),l=function(e){return function(t){for(var n,i=s(t),l=o(i),u=l.length,d=0,f=[];u>d;)n=l[d++],r&&!a(i,n)||c(f,e?[n,i[n]]:i[n]);return f}};t.exports={entries:l(!0),values:l(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(e,t,n){"use strict";var r=e("../internals/to-string-tag-support"),i=e("../internals/classof");t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/is-callable"),s=e("../internals/is-object"),a=r.TypeError;t.exports=function(e,t){var n,r;if("string"===t&&o(n=e.toString)&&!s(r=i(n,e)))return r;if(o(n=e.valueOf)&&!s(r=i(n,e)))return r;if("string"!==t&&o(n=e.toString)&&!s(r=i(n,e)))return r;throw a("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(e,t,n){var r=e("../internals/get-built-in"),i=e("../internals/function-uncurry-this"),o=e("../internals/object-get-own-property-names"),s=e("../internals/object-get-own-property-symbols"),a=e("../internals/an-object"),c=i([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=s.f;return n?c(t,n(e)):t}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(e,t,n){var r=e("../internals/global");t.exports=r},{"../internals/global":163}],214:[function(e,t,n){t.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},{}],215:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/promise-native-constructor"),o=e("../internals/is-callable"),s=e("../internals/is-forced"),a=e("../internals/inspect-source"),c=e("../internals/well-known-symbol"),l=e("../internals/engine-is-browser"),u=e("../internals/is-pure"),d=e("../internals/engine-v8-version"),f=i&&i.prototype,p=c("species"),h=!1,m=o(r.PromiseRejectionEvent),g=s("Promise",(function(){var e=a(i),t=e!==String(i);if(!t&&66===d)return!0;if(u&&(!f.catch||!f.finally))return!0;if(d>=51&&/native code/.test(e))return!1;var n=new i((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[p]=r,!(h=n.then((function(){}))instanceof r)||!t&&l&&!m}));t.exports={CONSTRUCTOR:g,REJECTION_EVENT:m,SUBCLASSING:h}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(e,t,n){var r=e("../internals/global");t.exports=r.Promise},{"../internals/global":163}],217:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/is-object"),o=e("../internals/new-promise-capability");t.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(e,t,n){var r=e("../internals/promise-native-constructor"),i=e("../internals/check-correctness-of-iteration"),o=e("../internals/promise-constructor-detection").CONSTRUCTOR;t.exports=o||!i((function(e){r.all(e).then(void 0,(function(){}))}))},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(e,t,n){var r=e("../internals/object-define-property").f;t.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},{"../internals/object-define-property":198}],220:[function(e,t,n){var r=function(){this.head=null,this.tail=null};r.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},t.exports=r},{}],221:[function(e,t,n){var r=e("../internals/redefine");t.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},{"../internals/redefine":222}],222:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=e("../internals/has-own-property"),s=e("../internals/create-non-enumerable-property"),a=e("../internals/set-global"),c=e("../internals/inspect-source"),l=e("../internals/internal-state"),u=e("../internals/function-name").CONFIGURABLE,d=l.get,f=l.enforce,p=String(String).split("String");(t.exports=function(e,t,n,c){var l,d=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,m=!!c&&!!c.noTargetGet,g=c&&void 0!==c.name?c.name:t;i(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(n,"name")||u&&n.name!==g)&&s(n,"name",g),(l=f(n)).source||(l.source=p.join("string"==typeof g?g:""))),e!==r?(d?!m&&e[t]&&(h=!0):delete e[t],h?e[t]=n:s(e,t,n)):h?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return i(this)&&d(this).source||c(this)}))},{"../internals/create-non-enumerable-property":129,"../internals/function-name":156,"../internals/global":163,"../internals/has-own-property":164,"../internals/inspect-source":172,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/set-global":232}],223:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/an-object"),s=e("../internals/is-callable"),a=e("../internals/classof-raw"),c=e("../internals/regexp-exec"),l=r.TypeError;t.exports=function(e,t){var n=e.exec;if(s(n)){var r=i(n,e,t);return null!==r&&o(r),r}if("RegExp"===a(e))return i(c,e,t);throw l("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(e,t,n){"use strict";var r,i,o=e("../internals/function-call"),s=e("../internals/function-uncurry-this"),a=e("../internals/to-string"),c=e("../internals/regexp-flags"),l=e("../internals/regexp-sticky-helpers"),u=e("../internals/shared"),d=e("../internals/object-create"),f=e("../internals/internal-state").get,p=e("../internals/regexp-unsupported-dot-all"),h=e("../internals/regexp-unsupported-ncg"),m=u("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,y=s("".charAt),b=s("".indexOf),x=s("".replace),w=s("".slice),_=(i=/b*/g,o(g,r=/a/,"a"),o(g,i,"a"),0!==r.lastIndex||0!==i.lastIndex),j=l.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(_||S||j||p||h)&&(v=function(e){var t,n,r,i,s,l,u,p=this,h=f(p),C=a(e),A=h.raw;if(A)return A.lastIndex=p.lastIndex,t=o(v,A,C),p.lastIndex=A.lastIndex,t;var k=h.groups,E=j&&p.sticky,T=o(c,p),M=p.source,D=0,O=C;if(E&&(T=x(T,"y",""),-1===b(T,"g")&&(T+="g"),O=w(C,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==y(C,p.lastIndex-1))&&(M="(?: "+M+")",O=" "+O,D++),n=new RegExp("^(?:"+M+")",T)),S&&(n=new RegExp("^"+M+"$(?!\\s)",T)),_&&(r=p.lastIndex),i=o(g,E?n:p,O),E?i?(i.input=w(i.input,D),i[0]=w(i[0],D),i.index=p.lastIndex,p.lastIndex+=i[0].length):p.lastIndex=0:_&&i&&(p.lastIndex=p.global?i.index+i[0].length:r),S&&i&&i.length>1&&o(m,i[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(i[s]=void 0)})),i&&k)for(i.groups=l=d(null),s=0;s<k.length;s++)l[(u=k[s])[0]]=i[u[1]];return i}),t.exports=v},{"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/internal-state":173,"../internals/object-create":196,"../internals/regexp-flags":225,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/shared":237,"../internals/to-string":256}],225:[function(e,t,n){"use strict";var r=e("../internals/an-object");t.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),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}},{"../internals/an-object":101}],226:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/has-own-property"),o=e("../internals/object-is-prototype-of"),s=e("../internals/regexp-flags"),a=RegExp.prototype;t.exports=function(e){var t=e.flags;return void 0!==t||"flags"in a||i(e,"flags")||!o(a,e)?t:r(s,e)}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/global").RegExp,o=r((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),s=o||r((function(){return!i("a","y").sticky})),a=o||r((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));t.exports={BROKEN_CARET:a,MISSED_STICKY:s,UNSUPPORTED_Y:o}},{"../internals/fails":150,"../internals/global":163}],228:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/global").RegExp;t.exports=r((function(){var e=i(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},{"../internals/fails":150,"../internals/global":163}],229:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/global").RegExp;t.exports=r((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},{"../internals/fails":150,"../internals/global":163}],230:[function(e,t,n){var r=e("../internals/global").TypeError;t.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},{"../internals/global":163}],231:[function(e,t,n){t.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},{}],232:[function(e,t,n){var r=e("../internals/global"),i=Object.defineProperty;t.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},{"../internals/global":163}],233:[function(e,t,n){"use strict";var r=e("../internals/get-built-in"),i=e("../internals/object-define-property"),o=e("../internals/well-known-symbol"),s=e("../internals/descriptors"),a=o("species");t.exports=function(e){var t=r(e),n=i.f;s&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(e,t,n){var r=e("../internals/object-define-property").f,i=e("../internals/has-own-property"),o=e("../internals/well-known-symbol")("toStringTag");t.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,o)&&r(e,o,{configurable:!0,value:t})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(e,t,n){var r=e("../internals/shared"),i=e("../internals/uid"),o=r("keys");t.exports=function(e){return o[e]||(o[e]=i(e))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/set-global"),o="__core-js_shared__",s=r[o]||i(o,{});t.exports=s},{"../internals/global":163,"../internals/set-global":232}],237:[function(e,t,n){var r=e("../internals/is-pure"),i=e("../internals/shared-store");(t.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":181,"../internals/shared-store":236}],238:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/a-constructor"),o=e("../internals/well-known-symbol")("species");t.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||null==(n=r(s)[o])?t:i(n)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/to-integer-or-infinity"),o=e("../internals/to-string"),s=e("../internals/require-object-coercible"),a=r("".charAt),c=r("".charCodeAt),l=r("".slice),u=function(e){return function(t,n){var r,u,d=o(s(t)),f=i(n),p=d.length;return f<0||f>=p?e?"":void 0:(r=c(d,f))<55296||r>56319||f+1===p||(u=c(d,f+1))<56320||u>57343?e?a(d,f):r:e?l(d,f,f+2):u-56320+(r-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(e,t,n){var r=e("../internals/function-name").PROPER,i=e("../internals/fails"),o=e("../internals/whitespaces"),s="
";t.exports=function(e){return i((function(){return!!o[e]()||s[e]()!==s||r&&o[e].name!==e}))}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/require-object-coercible"),o=e("../internals/to-string"),s=e("../internals/whitespaces"),a=r("".replace),c="["+s+"]",l=RegExp("^"+c+c+"*"),u=RegExp(c+c+"*$"),d=function(e){return function(t){var n=o(i(t));return 1&e&&(n=a(n,l,"")),2&e&&(n=a(n,u,"")),n}};t.exports={start:d(1),end:d(2),trim:d(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/get-built-in"),o=e("../internals/well-known-symbol"),s=e("../internals/redefine");t.exports=function(){var e=i("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,a=o("toPrimitive");t&&!t[a]&&s(t,a,(function(e){return r(n,this)}))}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(e,t,n){var r,i,o,s,a=e("../internals/global"),c=e("../internals/function-apply"),l=e("../internals/function-bind-context"),u=e("../internals/is-callable"),d=e("../internals/has-own-property"),f=e("../internals/fails"),p=e("../internals/html"),h=e("../internals/array-slice"),m=e("../internals/document-create-element"),g=e("../internals/validate-arguments-length"),v=e("../internals/engine-is-ios"),y=e("../internals/engine-is-node"),b=a.setImmediate,x=a.clearImmediate,w=a.process,_=a.Dispatch,j=a.Function,S=a.MessageChannel,C=a.String,A=0,k={},E="onreadystatechange";try{r=a.location}catch(e){}var T=function(e){if(d(k,e)){var t=k[e];delete k[e],t()}},M=function(e){return function(){T(e)}},D=function(e){T(e.data)},O=function(e){a.postMessage(C(e),r.protocol+"//"+r.host)};b&&x||(b=function(e){g(arguments.length,1);var t=u(e)?e:j(e),n=h(arguments,1);return k[++A]=function(){c(t,void 0,n)},i(A),A},x=function(e){delete k[e]},y?i=function(e){w.nextTick(M(e))}:_&&_.now?i=function(e){_.now(M(e))}:S&&!v?(s=(o=new S).port2,o.port1.onmessage=D,i=l(s.postMessage,s)):a.addEventListener&&u(a.postMessage)&&!a.importScripts&&r&&"file:"!==r.protocol&&!f(O)?(i=O,a.addEventListener("message",D,!1)):i=E in m("script")?function(e){p.appendChild(m("script"))[E]=function(){p.removeChild(this),T(e)}}:function(e){setTimeout(M(e),0)}),t.exports={set:b,clear:x}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r(1..valueOf)},{"../internals/function-uncurry-this":157}],245:[function(e,t,n){var r=e("../internals/to-integer-or-infinity"),i=Math.max,o=Math.min;t.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},{"../internals/to-integer-or-infinity":248}],246:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-integer-or-infinity"),o=e("../internals/to-length"),s=r.RangeError;t.exports=function(e){if(void 0===e)return 0;var t=i(e),n=o(t);if(t!==n)throw s("Wrong length or index");return n}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(e,t,n){var r=e("../internals/indexed-object"),i=e("../internals/require-object-coercible");t.exports=function(e){return r(i(e))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(e,t,n){var r=Math.ceil,i=Math.floor;t.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?i:r)(t)}},{}],249:[function(e,t,n){var r=e("../internals/to-integer-or-infinity"),i=Math.min;t.exports=function(e){return e>0?i(r(e),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/require-object-coercible"),o=r.Object;t.exports=function(e){return o(i(e))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-positive-integer"),o=r.RangeError;t.exports=function(e,t){var n=i(e);if(n%t)throw o("Wrong offset");return n}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-integer-or-infinity"),o=r.RangeError;t.exports=function(e){var t=i(e);if(t<0)throw o("The argument can't be less than 0");return t}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/is-object"),s=e("../internals/is-symbol"),a=e("../internals/get-method"),c=e("../internals/ordinary-to-primitive"),l=e("../internals/well-known-symbol"),u=r.TypeError,d=l("toPrimitive");t.exports=function(e,t){if(!o(e)||s(e))return e;var n,r=a(e,d);if(r){if(void 0===t&&(t="default"),n=i(r,e,t),!o(n)||s(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},{"../internals/function-call":155,"../internals/get-method":161,"../internals/global":163,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/ordinary-to-primitive":211,"../internals/well-known-symbol":268}],254:[function(e,t,n){var r=e("../internals/to-primitive"),i=e("../internals/is-symbol");t.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(e,t,n){var r={};r[e("../internals/well-known-symbol")("toStringTag")]="z",t.exports="[object z]"===String(r)},{"../internals/well-known-symbol":268}],256:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/classof"),o=r.String;t.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},{"../internals/classof":124,"../internals/global":163}],257:[function(e,t,n){var r=e("../internals/global").String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}},{"../internals/global":163}],258:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/function-call"),s=e("../internals/descriptors"),a=e("../internals/typed-array-constructors-require-wrappers"),c=e("../internals/array-buffer-view-core"),l=e("../internals/array-buffer"),u=e("../internals/an-instance"),d=e("../internals/create-property-descriptor"),f=e("../internals/create-non-enumerable-property"),p=e("../internals/is-integral-number"),h=e("../internals/to-length"),m=e("../internals/to-index"),g=e("../internals/to-offset"),v=e("../internals/to-property-key"),y=e("../internals/has-own-property"),b=e("../internals/classof"),x=e("../internals/is-object"),w=e("../internals/is-symbol"),_=e("../internals/object-create"),j=e("../internals/object-is-prototype-of"),S=e("../internals/object-set-prototype-of"),C=e("../internals/object-get-own-property-names").f,A=e("../internals/typed-array-from"),k=e("../internals/array-iteration").forEach,E=e("../internals/set-species"),T=e("../internals/object-define-property"),M=e("../internals/object-get-own-property-descriptor"),D=e("../internals/internal-state"),O=e("../internals/inherit-if-required"),N=D.get,L=D.set,I=T.f,R=M.f,P=Math.round,B=i.RangeError,F=l.ArrayBuffer,z=F.prototype,U=l.DataView,H=c.NATIVE_ARRAY_BUFFER_VIEWS,q=c.TYPED_ARRAY_CONSTRUCTOR,W=c.TYPED_ARRAY_TAG,Z=c.TypedArray,G=c.TypedArrayPrototype,V=c.aTypedArrayConstructor,Y=c.isTypedArray,K="BYTES_PER_ELEMENT",X="Wrong length",Q=function(e,t){V(e);for(var n=0,r=t.length,i=new e(r);r>n;)i[n]=t[n++];return i},J=function(e,t){I(e,t,{get:function(){return N(this)[t]}})},$=function(e){var t;return j(z,e)||"ArrayBuffer"==(t=b(e))||"SharedArrayBuffer"==t},ee=function(e,t){return Y(e)&&!w(t)&&t in e&&p(+t)&&t>=0},te=function(e,t){return t=v(t),ee(e,t)?d(2,e[t]):R(e,t)},ne=function(e,t,n){return t=v(t),!(ee(e,t)&&x(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?I(e,t,n):(e[t]=n.value,e)};s?(H||(M.f=te,T.f=ne,J(G,"buffer"),J(G,"byteOffset"),J(G,"byteLength"),J(G,"length")),r({target:"Object",stat:!0,forced:!H},{getOwnPropertyDescriptor:te,defineProperty:ne}),t.exports=function(e,t,n){var s=e.match(/\d+$/)[0]/8,c=e+(n?"Clamped":"")+"Array",l="get"+e,d="set"+e,p=i[c],v=p,y=v&&v.prototype,b={},w=function(e,t){var n=N(e);return n.view[l](t*s+n.byteOffset,!0)},j=function(e,t,r){var i=N(e);n&&(r=(r=P(r))<0?0:r>255?255:255&r),i.view[d](t*s+i.byteOffset,r,!0)},T=function(e,t){I(e,t,{get:function(){return w(this,t)},set:function(e){return j(this,t,e)},enumerable:!0})};H?a&&(v=t((function(e,t,n,r){return u(e,y),O(x(t)?$(t)?void 0!==r?new p(t,g(n,s),r):void 0!==n?new p(t,g(n,s)):new p(t):Y(t)?Q(v,t):o(A,v,t):new p(m(t)),e,v)})),S&&S(v,Z),k(C(p),(function(e){e in v||f(v,e,p[e])})),v.prototype=y):(v=t((function(e,t,n,r){u(e,y);var i,a,c,l=0,d=0;if(x(t)){if(!$(t))return Y(t)?Q(v,t):o(A,v,t);i=t,d=g(n,s);var f=t.byteLength;if(void 0===r){if(f%s)throw B(X);if((a=f-d)<0)throw B(X)}else if((a=h(r)*s)+d>f)throw B(X);c=a/s}else c=m(t),i=new F(a=c*s);for(L(e,{buffer:i,byteOffset:d,byteLength:a,length:c,view:new U(i)});l<c;)T(e,l++)})),S&&S(v,Z),y=v.prototype=_(G)),y.constructor!==v&&f(y,"constructor",v),f(y,q,v),W&&f(y,W,c),b[c]=v,r({global:!0,forced:v!=p,sham:!H},b),K in v||f(v,K,s),K in y||f(y,K,s),E(c)}):t.exports=function(){}},{"../internals/an-instance":100,"../internals/array-buffer":104,"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-integral-number":179,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/object-create":196,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/set-species":233,"../internals/to-index":246,"../internals/to-length":249,"../internals/to-offset":251,"../internals/to-property-key":254,"../internals/typed-array-constructors-require-wrappers":259,"../internals/typed-array-from":261}],259:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/fails"),o=e("../internals/check-correctness-of-iteration"),s=e("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,a=r.ArrayBuffer,c=r.Int8Array;t.exports=!s||!i((function(){c(1)}))||!i((function(){new c(-1)}))||!o((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||i((function(){return 1!==new c(new a(2),1,void 0).length}))},{"../internals/array-buffer-view-core":103,"../internals/check-correctness-of-iteration":122,"../internals/fails":150,"../internals/global":163}],260:[function(e,t,n){var r=e("../internals/array-from-constructor-and-list"),i=e("../internals/typed-array-species-constructor");t.exports=function(e,t){return r(i(e),t)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(e,t,n){var r=e("../internals/function-bind-context"),i=e("../internals/function-call"),o=e("../internals/a-constructor"),s=e("../internals/to-object"),a=e("../internals/length-of-array-like"),c=e("../internals/get-iterator"),l=e("../internals/get-iterator-method"),u=e("../internals/is-array-iterator-method"),d=e("../internals/array-buffer-view-core").aTypedArrayConstructor;t.exports=function(e){var t,n,f,p,h,m,g=o(this),v=s(e),y=arguments.length,b=y>1?arguments[1]:void 0,x=void 0!==b,w=l(v);if(w&&!u(w))for(m=(h=c(v,w)).next,v=[];!(p=i(m,h)).done;)v.push(p.value);for(x&&y>2&&(b=r(b,arguments[2])),n=a(v),f=new(d(g))(n),t=0;n>t;t++)f[t]=x?b(v[t],t):v[t];return f}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(e,t,n){var r=e("../internals/array-buffer-view-core"),i=e("../internals/species-constructor"),o=r.TYPED_ARRAY_CONSTRUCTOR,s=r.aTypedArrayConstructor;t.exports=function(e){return s(i(e,e[o]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=0,o=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+o,36)}},{"../internals/function-uncurry-this":157}],264:[function(e,t,n){var r=e("../internals/native-symbol");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/native-symbol":191}],265:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/fails");t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(e,t,n){var r=e("../internals/global").TypeError;t.exports=function(e,t){if(e<t)throw r("Not enough arguments");return e}},{"../internals/global":163}],267:[function(e,t,n){var r=e("../internals/well-known-symbol");n.f=r},{"../internals/well-known-symbol":268}],268:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/shared"),o=e("../internals/has-own-property"),s=e("../internals/uid"),a=e("../internals/native-symbol"),c=e("../internals/use-symbol-as-uid"),l=i("wks"),u=r.Symbol,d=u&&u.for,f=c?u:u&&u.withoutSetter||s;t.exports=function(e){if(!o(l,e)||!a&&"string"!=typeof l[e]){var t="Symbol."+e;a&&o(u,e)?l[e]=u[e]:l[e]=c&&d?d(t):f(t)}return l[e]}},{"../internals/global":163,"../internals/has-own-property":164,"../internals/native-symbol":191,"../internals/shared":237,"../internals/uid":263,"../internals/use-symbol-as-uid":264}],269:[function(e,t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},{}],270:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/array-buffer"),s=e("../internals/set-species"),a="ArrayBuffer",c=o[a];r({global:!0,forced:i[a]!==c},{ArrayBuffer:c}),s(a)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/fails"),s=e("../internals/array-buffer"),a=e("../internals/an-object"),c=e("../internals/to-absolute-index"),l=e("../internals/to-length"),u=e("../internals/species-constructor"),d=s.ArrayBuffer,f=s.DataView,p=f.prototype,h=i(d.prototype.slice),m=i(p.getUint8),g=i(p.setUint8);r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new d(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(h&&void 0===t)return h(a(this),e);for(var n=a(this).byteLength,r=c(e,n),i=c(void 0===t?n:t,n),o=new(u(this,d))(l(i-r)),s=new f(this),p=new f(o),v=0;r<i;)g(p,v++,m(s,r++));return o}})},{"../internals/an-object":101,"../internals/array-buffer":104,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/species-constructor":238,"../internals/to-absolute-index":245,"../internals/to-length":249}],272:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/fails"),s=e("../internals/is-array"),a=e("../internals/is-object"),c=e("../internals/to-object"),l=e("../internals/length-of-array-like"),u=e("../internals/create-property"),d=e("../internals/array-species-create"),f=e("../internals/array-method-has-species-support"),p=e("../internals/well-known-symbol"),h=e("../internals/engine-v8-version"),m=p("isConcatSpreadable"),g=9007199254740991,v="Maximum allowed index exceeded",y=i.TypeError,b=h>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),x=f("concat"),w=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:s(e)};r({target:"Array",proto:!0,forced:!b||!x},{concat:function(e){var t,n,r,i,o,s=c(this),a=d(s,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(w(o=-1===t?s:arguments[t])){if(f+(i=l(o))>g)throw y(v);for(n=0;n<i;n++,f++)n in o&&u(a,f,o[n])}else{if(f>=g)throw y(v);u(a,f++,o)}return a.length=f,a}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/array-fill"),o=e("../internals/add-to-unscopables");r({target:"Array",proto:!0},{fill:i}),o("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/array-iteration").filter;r({target:"Array",proto:!0,forced:!e("../internals/array-method-has-species-support")("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/array-iteration").find,o=e("../internals/add-to-unscopables"),s="find",a=!0;s in[]&&Array(1)[s]((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(s)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/array-from");r({target:"Array",stat:!0,forced:!e("../internals/check-correctness-of-iteration")((function(e){Array.from(e)}))},{from:i})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/array-includes").includes,o=e("../internals/add-to-unscopables");r({target:"Array",proto:!0},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(e,t,n){"use strict";var r=e("../internals/to-indexed-object"),i=e("../internals/add-to-unscopables"),o=e("../internals/iterators"),s=e("../internals/internal-state"),a=e("../internals/object-define-property").f,c=e("../internals/define-iterator"),l=e("../internals/is-pure"),u=e("../internals/descriptors"),d="Array Iterator",f=s.set,p=s.getterFor(d);t.exports=c(Array,"Array",(function(e,t){f(this,{type:d,target:r(e),index:0,kind:t})}),(function(){var e=p(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");var h=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!l&&u&&"values"!==h.name)try{a(h,"name",{value:"values"})}catch(e){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/indexed-object"),s=e("../internals/to-indexed-object"),a=e("../internals/array-method-is-strict"),c=i([].join),l=o!=Object,u=a("join",",");r({target:"Array",proto:!0,forced:l||!u},{join:function(e){return c(s(this),void 0===e?",":e)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/array-iteration").map;r({target:"Array",proto:!0,forced:!e("../internals/array-method-has-species-support")("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/is-array"),s=e("../internals/is-constructor"),a=e("../internals/is-object"),c=e("../internals/to-absolute-index"),l=e("../internals/length-of-array-like"),u=e("../internals/to-indexed-object"),d=e("../internals/create-property"),f=e("../internals/well-known-symbol"),p=e("../internals/array-method-has-species-support"),h=e("../internals/array-slice"),m=p("slice"),g=f("species"),v=i.Array,y=Math.max;r({target:"Array",proto:!0,forced:!m},{slice:function(e,t){var n,r,i,f=u(this),p=l(f),m=c(e,p),b=c(void 0===t?p:t,p);if(o(f)&&(n=f.constructor,(s(n)&&(n===v||o(n.prototype))||a(n)&&null===(n=n[g]))&&(n=void 0),n===v||void 0===n))return h(f,m,b);for(r=new(void 0===n?v:n)(y(b-m,0)),i=0;m<b;m++,i++)m in f&&d(r,i,f[m]);return r.length=i,r}})},{"../internals/array-method-has-species-support":113,"../internals/array-slice":117,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247,"../internals/well-known-symbol":268}],282:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/a-callable"),s=e("../internals/to-object"),a=e("../internals/length-of-array-like"),c=e("../internals/to-string"),l=e("../internals/fails"),u=e("../internals/array-sort"),d=e("../internals/array-method-is-strict"),f=e("../internals/engine-ff-version"),p=e("../internals/engine-is-ie-or-edge"),h=e("../internals/engine-v8-version"),m=e("../internals/engine-webkit-version"),g=[],v=i(g.sort),y=i(g.push),b=l((function(){g.sort(void 0)})),x=l((function(){g.sort(null)})),w=d("sort"),_=!l((function(){if(h)return h<70;if(!(f&&f>3)){if(p)return!0;if(m)return m<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)g.push({k:t+r,v:n})}for(g.sort((function(e,t){return t.v-e.v})),r=0;r<g.length;r++)t=g[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}})),j=function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}};r({target:"Array",proto:!0,forced:b||!x||!w||!_},{sort:function(e){void 0!==e&&o(e);var t=s(this);if(_)return void 0===e?v(t):v(t,e);var n,r,i=[],c=a(t);for(r=0;r<c;r++)r in t&&y(i,t[r]);for(u(i,j(e)),n=i.length,r=0;r<n;)t[r]=i[r++];for(;r<c;)delete t[r++];return t}})},{"../internals/a-callable":95,"../internals/array-method-is-strict":114,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-string":256}],283:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/to-absolute-index"),s=e("../internals/to-integer-or-infinity"),a=e("../internals/length-of-array-like"),c=e("../internals/to-object"),l=e("../internals/array-species-create"),u=e("../internals/create-property"),d=e("../internals/array-method-has-species-support")("splice"),f=i.TypeError,p=Math.max,h=Math.min,m=9007199254740991,g="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var n,r,i,d,v,y,b=c(this),x=a(b),w=o(e,x),_=arguments.length;if(0===_?n=r=0:1===_?(n=0,r=x-w):(n=_-2,r=h(p(s(t),0),x-w)),x+n-r>m)throw f(g);for(i=l(b,r),d=0;d<r;d++)(v=w+d)in b&&u(i,d,b[v]);if(i.length=r,n<r){for(d=w;d<x-r;d++)y=d+n,(v=d+r)in b?b[y]=b[v]:delete b[y];for(d=x;d>x-r+n;d--)delete b[d-1]}else if(n>r)for(d=x-r;d>w;d--)y=d+n-1,(v=d+r-1)in b?b[y]=b[v]:delete b[y];for(d=0;d<n;d++)b[d+w]=arguments[d+2];return b.length=x-r+n,i}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-integer-or-infinity":248,"../internals/to-object":250}],284:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/function-name").EXISTS,o=e("../internals/function-uncurry-this"),s=e("../internals/object-define-property").f,a=Function.prototype,c=o(a.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=o(l.exec);r&&!i&&s(a,"name",{configurable:!0,get:function(){try{return u(l,c(this))[1]}catch(e){return""}}})},{"../internals/descriptors":134,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/object-define-property":198}],285:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/get-built-in"),o=e("../internals/function-apply"),s=e("../internals/function-call"),a=e("../internals/function-uncurry-this"),c=e("../internals/fails"),l=e("../internals/is-array"),u=e("../internals/is-callable"),d=e("../internals/is-object"),f=e("../internals/is-symbol"),p=e("../internals/array-slice"),h=e("../internals/native-symbol"),m=i("JSON","stringify"),g=a(/./.exec),v=a("".charAt),y=a("".charCodeAt),b=a("".replace),x=a(1..toString),w=/[\uD800-\uDFFF]/g,_=/^[\uD800-\uDBFF]$/,j=/^[\uDC00-\uDFFF]$/,S=!h||c((function(){var e=i("Symbol")();return"[null]"!=m([e])||"{}"!=m({a:e})||"{}"!=m(Object(e))})),C=c((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),A=function(e,t){var n=p(arguments),r=t;if((d(t)||void 0!==e)&&!f(e))return l(t)||(t=function(e,t){if(u(r)&&(t=s(r,this,e,t)),!f(t))return t}),n[1]=t,o(m,null,n)},k=function(e,t,n){var r=v(n,t-1),i=v(n,t+1);return g(_,e)&&!g(j,i)||g(j,e)&&!g(_,r)?"\\u"+x(y(e,0),16):e};m&&r({target:"JSON",stat:!0,forced:S||C},{stringify:function(e,t,n){var r=p(arguments),i=o(S?A:m,null,r);return C&&"string"==typeof i?b(i,w,k):i}})},{"../internals/array-slice":117,"../internals/export":149,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/is-array":175,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/native-symbol":191}],286:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/global"),o=e("../internals/function-uncurry-this"),s=e("../internals/is-forced"),a=e("../internals/redefine"),c=e("../internals/has-own-property"),l=e("../internals/inherit-if-required"),u=e("../internals/object-is-prototype-of"),d=e("../internals/is-symbol"),f=e("../internals/to-primitive"),p=e("../internals/fails"),h=e("../internals/object-get-own-property-names").f,m=e("../internals/object-get-own-property-descriptor").f,g=e("../internals/object-define-property").f,v=e("../internals/this-number-value"),y=e("../internals/string-trim").trim,b="Number",x=i[b],w=x.prototype,_=i.TypeError,j=o("".slice),S=o("".charCodeAt),C=function(e){var t=f(e,"number");return"bigint"==typeof t?t:A(t)},A=function(e){var t,n,r,i,o,s,a,c,l=f(e,"number");if(d(l))throw _("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=y(l),43===(t=S(l,0))||45===t){if(88===(n=S(l,2))||120===n)return NaN}else if(48===t){switch(S(l,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+l}for(s=(o=j(l,2)).length,a=0;a<s;a++)if((c=S(o,a))<48||c>i)return NaN;return parseInt(o,r)}return+l};if(s(b,!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var k,E=function(e){var t=arguments.length<1?0:x(C(e)),n=this;return u(w,n)&&p((function(){v(n)}))?l(Object(t),n,E):t},T=r?h(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),M=0;T.length>M;M++)c(x,k=T[M])&&!c(E,k)&&g(E,k,m(x,k));E.prototype=w,w.constructor=E,a(i,b,E)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/object-assign");r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/object-to-array").entries;r({target:"Object",stat:!0},{entries:function(e){return i(e)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/native-symbol"),o=e("../internals/fails"),s=e("../internals/object-get-own-property-symbols"),a=e("../internals/to-object");r({target:"Object",stat:!0,forced:!i||o((function(){s.f(1)}))},{getOwnPropertySymbols:function(e){var t=s.f;return t?t(a(e)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/to-object"),o=e("../internals/object-keys");r({target:"Object",stat:!0,forced:e("../internals/fails")((function(){o(1)}))},{keys:function(e){return o(i(e))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(e,t,n){var r=e("../internals/to-string-tag-support"),i=e("../internals/redefine"),o=e("../internals/object-to-string");r||i(Object.prototype,"toString",o,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/a-callable"),s=e("../internals/new-promise-capability"),a=e("../internals/perform"),c=e("../internals/iterate");r({target:"Promise",stat:!0,forced:e("../internals/promise-statics-incorrect-iteration")},{all:function(e){var t=this,n=s.f(t),r=n.resolve,l=n.reject,u=a((function(){var n=o(t.resolve),s=[],a=0,u=1;c(e,(function(e){var o=a++,c=!1;u++,i(n,t,e).then((function(e){c||(c=!0,s[o]=e,--u||r(s))}),l)})),--u||r(s)}));return u.error&&l(u.value),n.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/is-pure"),o=e("../internals/promise-constructor-detection").CONSTRUCTOR,s=e("../internals/promise-native-constructor"),a=e("../internals/get-built-in"),c=e("../internals/is-callable"),l=e("../internals/redefine"),u=s&&s.prototype;if(r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&c(s)){var d=a("Promise").prototype.catch;u.catch!==d&&l(u,"catch",d,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(e,t,n){"use strict";var r,i,o,s,a=e("../internals/export"),c=e("../internals/is-pure"),l=e("../internals/engine-is-node"),u=e("../internals/global"),d=e("../internals/function-call"),f=e("../internals/redefine"),p=e("../internals/redefine-all"),h=e("../internals/object-set-prototype-of"),m=e("../internals/set-to-string-tag"),g=e("../internals/set-species"),v=e("../internals/a-callable"),y=e("../internals/is-callable"),b=e("../internals/is-object"),x=e("../internals/an-instance"),w=e("../internals/species-constructor"),_=e("../internals/task").set,j=e("../internals/microtask"),S=e("../internals/host-report-errors"),C=e("../internals/perform"),A=e("../internals/queue"),k=e("../internals/internal-state"),E=e("../internals/promise-native-constructor"),T=e("../internals/promise-constructor-detection"),M=e("../internals/new-promise-capability"),D="Promise",O=T.CONSTRUCTOR,N=T.REJECTION_EVENT,L=T.SUBCLASSING,I=k.getterFor(D),R=k.set,P=E&&E.prototype,B=E,F=P,z=u.TypeError,U=u.document,H=u.process,q=M.f,W=q,Z=!!(U&&U.createEvent&&u.dispatchEvent),G="unhandledrejection",V="rejectionhandled",Y=0,K=1,X=2,Q=1,J=2,$=function(e){var t;return!(!b(e)||!y(t=e.then))&&t},ee=function(e,t){var n,r,i,o=t.value,s=t.state==K,a=s?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{a?(s||(t.rejection===J&&oe(t),t.rejection=Q),!0===a?n=o:(u&&u.enter(),n=a(o),u&&(u.exit(),i=!0)),n===e.promise?l(z("Promise-chain cycle")):(r=$(n))?d(r,n,c,l):c(n)):l(o)}catch(e){u&&!i&&u.exit(),l(e)}},te=function(e,t){e.notified||(e.notified=!0,j((function(){for(var n,r=e.reactions;n=r.get();)ee(n,e);e.notified=!1,t&&!e.rejection&&re(e)})))},ne=function(e,t,n){var r,i;Z?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!N&&(i=u["on"+e])?i(r):e===G&&S("Unhandled promise rejection",n)},re=function(e){d(_,u,(function(){var t,n=e.facade,r=e.value;if(ie(e)&&(t=C((function(){l?H.emit("unhandledRejection",r,n):ne(G,n,r)})),e.rejection=l||ie(e)?J:Q,t.error))throw t.value}))},ie=function(e){return e.rejection!==Q&&!e.parent},oe=function(e){d(_,u,(function(){var t=e.facade;l?H.emit("rejectionHandled",t):ne(V,t,e.value)}))},se=function(e,t,n){return function(r){e(t,r,n)}},ae=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=X,te(e,!0))},ce=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw z("Promise can't be resolved itself");var r=$(t);r?j((function(){var n={done:!1};try{d(r,t,se(ce,n,e),se(ae,n,e))}catch(t){ae(n,t,e)}})):(e.value=t,e.state=K,te(e,!1))}catch(t){ae({done:!1},t,e)}}};if(O&&(F=(B=function(e){x(this,F),v(e),d(r,this);var t=I(this);try{e(se(ce,t),se(ae,t))}catch(e){ae(t,e)}}).prototype,(r=function(e){R(this,{type:D,done:!1,notified:!1,parent:!1,reactions:new A,rejection:!1,state:Y,value:void 0})}).prototype=p(F,{then:function(e,t){var n=I(this),r=q(w(this,B));return n.parent=!0,r.ok=!y(e)||e,r.fail=y(t)&&t,r.domain=l?H.domain:void 0,n.state==Y?n.reactions.add(r):j((function(){ee(r,n)})),r.promise}}),i=function(){var e=new r,t=I(e);this.promise=e,this.resolve=se(ce,t),this.reject=se(ae,t)},M.f=q=function(e){return e===B||e===o?new i(e):W(e)},!c&&y(E)&&P!==Object.prototype)){s=P.then,L||f(P,"then",(function(e,t){var n=this;return new B((function(e,t){d(s,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete P.constructor}catch(e){}h&&h(P,F)}a({global:!0,wrap:!0,forced:O},{Promise:B}),m(B,D,!1,!0),g(D)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(e,t,n){e("../modules/es.promise.constructor"),e("../modules/es.promise.all"),e("../modules/es.promise.catch"),e("../modules/es.promise.race"),e("../modules/es.promise.reject"),e("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/a-callable"),s=e("../internals/new-promise-capability"),a=e("../internals/perform"),c=e("../internals/iterate");r({target:"Promise",stat:!0,forced:e("../internals/promise-statics-incorrect-iteration")},{race:function(e){var t=this,n=s.f(t),r=n.reject,l=a((function(){var s=o(t.resolve);c(e,(function(e){i(s,t,e).then(n.resolve,r)}))}));return l.error&&r(l.value),n.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],297:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/new-promise-capability");r({target:"Promise",stat:!0,forced:e("../internals/promise-constructor-detection").CONSTRUCTOR},{reject:function(e){var t=o.f(this);return i(t.reject,void 0,e),t.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/get-built-in"),o=e("../internals/is-pure"),s=e("../internals/promise-native-constructor"),a=e("../internals/promise-constructor-detection").CONSTRUCTOR,c=e("../internals/promise-resolve"),l=i("Promise"),u=o&&!a;r({target:"Promise",stat:!0,forced:o||a},{resolve:function(e){return c(u&&this===l?s:this,e)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/global"),o=e("../internals/function-uncurry-this"),s=e("../internals/is-forced"),a=e("../internals/inherit-if-required"),c=e("../internals/create-non-enumerable-property"),l=e("../internals/object-get-own-property-names").f,u=e("../internals/object-is-prototype-of"),d=e("../internals/is-regexp"),f=e("../internals/to-string"),p=e("../internals/regexp-get-flags"),h=e("../internals/regexp-sticky-helpers"),m=e("../internals/proxy-accessor"),g=e("../internals/redefine"),v=e("../internals/fails"),y=e("../internals/has-own-property"),b=e("../internals/internal-state").enforce,x=e("../internals/set-species"),w=e("../internals/well-known-symbol"),_=e("../internals/regexp-unsupported-dot-all"),j=e("../internals/regexp-unsupported-ncg"),S=w("match"),C=i.RegExp,A=C.prototype,k=i.SyntaxError,E=o(A.exec),T=o("".charAt),M=o("".replace),D=o("".indexOf),O=o("".slice),N=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,I=/a/g,R=new C(L)!==L,P=h.MISSED_STICKY,B=h.UNSUPPORTED_Y,F=r&&(!R||P||_||j||v((function(){return I[S]=!1,C(L)!=L||C(I)==I||"/a/i"!=C(L,"i")}))),z=function(e){for(var t,n=e.length,r=0,i="",o=!1;r<=n;r++)"\\"!==(t=T(e,r))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+T(e,++r);return i},U=function(e){for(var t,n=e.length,r=0,i="",o=[],s={},a=!1,c=!1,l=0,u="";r<=n;r++){if("\\"===(t=T(e,r)))t+=T(e,++r);else if("]"===t)a=!1;else if(!a)switch(!0){case"["===t:a=!0;break;case"("===t:E(N,O(e,r+1))&&(r+=2,c=!0),i+=t,l++;continue;case">"===t&&c:if(""===u||y(s,u))throw new k("Invalid capture group name");s[u]=!0,o[o.length]=[u,l],c=!1,u="";continue}c?u+=t:i+=t}return[i,o]};if(s("RegExp",F)){for(var H=function(e,t){var n,r,i,o,s,l,h=u(A,this),m=d(e),g=void 0===t,v=[],y=e;if(!h&&m&&g&&e.constructor===H)return e;if((m||u(A,e))&&(e=e.source,g&&(t=p(y))),e=void 0===e?"":f(e),t=void 0===t?"":f(t),y=e,_&&"dotAll"in L&&(r=!!t&&D(t,"s")>-1)&&(t=M(t,/s/g,"")),n=t,P&&"sticky"in L&&(i=!!t&&D(t,"y")>-1)&&B&&(t=M(t,/y/g,"")),j&&(e=(o=U(e))[0],v=o[1]),s=a(C(e,t),h?this:A,H),(r||i||v.length)&&(l=b(s),r&&(l.dotAll=!0,l.raw=H(z(e),n)),i&&(l.sticky=!0),v.length&&(l.groups=v)),e!==y)try{c(s,"source",""===y?"(?:)":y)}catch(e){}return s},q=l(C),W=0;q.length>W;)m(H,C,q[W++]);A.constructor=H,H.prototype=A,g(i,"RegExp",H)}x("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/regexp-exec");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(e,t,n){"use strict";var r=e("../internals/function-name").PROPER,i=e("../internals/redefine"),o=e("../internals/an-object"),s=e("../internals/to-string"),a=e("../internals/fails"),c=e("../internals/regexp-get-flags"),l="toString",u=RegExp.prototype[l],d=a((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f=r&&u.name!=l;(d||f)&&i(RegExp.prototype,l,(function(){var e=o(this);return"/"+s(e.source)+"/"+s(c(e))}),{unsafe:!0})},{"../internals/an-object":101,"../internals/fails":150,"../internals/function-name":156,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/to-string":256}],302:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/not-a-regexp"),s=e("../internals/require-object-coercible"),a=e("../internals/to-string"),c=e("../internals/correct-is-regexp-logic"),l=i("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~l(a(s(this)),a(o(e)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(e,t,n){"use strict";var r=e("../internals/string-multibyte").charAt,i=e("../internals/to-string"),o=e("../internals/internal-state"),s=e("../internals/define-iterator"),a="String Iterator",c=o.set,l=o.getterFor(a);s(String,"String",(function(e){c(this,{type:a,string:i(e),index:0})}),(function(){var e,t=l(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})}))},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/fix-regexp-well-known-symbol-logic"),o=e("../internals/an-object"),s=e("../internals/to-length"),a=e("../internals/to-string"),c=e("../internals/require-object-coercible"),l=e("../internals/get-method"),u=e("../internals/advance-string-index"),d=e("../internals/regexp-exec-abstract");i("match",(function(e,t,n){return[function(t){var n=c(this),i=null==t?void 0:l(t,e);return i?r(i,t,n):new RegExp(t)[e](a(n))},function(e){var r=o(this),i=a(e),c=n(t,r,i);if(c.done)return c.value;if(!r.global)return d(r,i);var l=r.unicode;r.lastIndex=0;for(var f,p=[],h=0;null!==(f=d(r,i));){var m=a(f[0]);p[h]=m,""===m&&(r.lastIndex=u(i,s(r.lastIndex),l)),h++}return 0===h?null:p}]}))},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(e,t,n){"use strict";var r=e("../internals/function-apply"),i=e("../internals/function-call"),o=e("../internals/function-uncurry-this"),s=e("../internals/fix-regexp-well-known-symbol-logic"),a=e("../internals/fails"),c=e("../internals/an-object"),l=e("../internals/is-callable"),u=e("../internals/to-integer-or-infinity"),d=e("../internals/to-length"),f=e("../internals/to-string"),p=e("../internals/require-object-coercible"),h=e("../internals/advance-string-index"),m=e("../internals/get-method"),g=e("../internals/get-substitution"),v=e("../internals/regexp-exec-abstract"),y=e("../internals/well-known-symbol")("replace"),b=Math.max,x=Math.min,w=o([].concat),_=o([].push),j=o("".indexOf),S=o("".slice),C=function(e){return void 0===e?e:String(e)},A="$0"==="a".replace(/./,"$0"),k=!!/./[y]&&""===/./[y]("a","$0");s("replace",(function(e,t,n){var o=k?"$":"$0";return[function(e,n){var r=p(this),o=null==e?void 0:m(e,y);return o?i(o,e,r,n):i(t,f(r),e,n)},function(e,i){var s=c(this),a=f(e);if("string"==typeof i&&-1===j(i,o)&&-1===j(i,"$<")){var p=n(t,s,a,i);if(p.done)return p.value}var m=l(i);m||(i=f(i));var y=s.global;if(y){var A=s.unicode;s.lastIndex=0}for(var k=[];;){var E=v(s,a);if(null===E)break;if(_(k,E),!y)break;""===f(E[0])&&(s.lastIndex=h(a,d(s.lastIndex),A))}for(var T="",M=0,D=0;D<k.length;D++){E=k[D];for(var O=f(E[0]),N=b(x(u(E.index),a.length),0),L=[],I=1;I<E.length;I++)_(L,C(E[I]));var R=E.groups;if(m){var P=w([O],L,N,a);void 0!==R&&_(P,R);var B=f(r(i,void 0,P))}else B=g(O,a,N,L,R,i);N>=M&&(T+=S(a,M,N)+B,M=N+O.length)}return T+S(a,M)}]}),!!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!A||k)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/fix-regexp-well-known-symbol-logic"),o=e("../internals/an-object"),s=e("../internals/require-object-coercible"),a=e("../internals/same-value"),c=e("../internals/to-string"),l=e("../internals/get-method"),u=e("../internals/regexp-exec-abstract");i("search",(function(e,t,n){return[function(t){var n=s(this),i=null==t?void 0:l(t,e);return i?r(i,t,n):new RegExp(t)[e](c(n))},function(e){var r=o(this),i=c(e),s=n(t,r,i);if(s.done)return s.value;var l=r.lastIndex;a(l,0)||(r.lastIndex=0);var d=u(r,i);return a(r.lastIndex,l)||(r.lastIndex=l),null===d?-1:d.index}]}))},{"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/same-value":231,"../internals/to-string":256}],307:[function(e,t,n){"use strict";var r=e("../internals/function-apply"),i=e("../internals/function-call"),o=e("../internals/function-uncurry-this"),s=e("../internals/fix-regexp-well-known-symbol-logic"),a=e("../internals/is-regexp"),c=e("../internals/an-object"),l=e("../internals/require-object-coercible"),u=e("../internals/species-constructor"),d=e("../internals/advance-string-index"),f=e("../internals/to-length"),p=e("../internals/to-string"),h=e("../internals/get-method"),m=e("../internals/array-slice-simple"),g=e("../internals/regexp-exec-abstract"),v=e("../internals/regexp-exec"),y=e("../internals/regexp-sticky-helpers"),b=e("../internals/fails"),x=y.UNSUPPORTED_Y,w=4294967295,_=Math.min,j=[].push,S=o(/./.exec),C=o(j),A=o("".slice),k=!b((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));s("split",(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=p(l(this)),s=void 0===n?w:n>>>0;if(0===s)return[];if(void 0===e)return[o];if(!a(e))return i(t,o,e,s);for(var c,u,d,f=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,y=new RegExp(e.source,h+"g");(c=i(v,y,o))&&!((u=y.lastIndex)>g&&(C(f,A(o,g,c.index)),c.length>1&&c.index<o.length&&r(j,f,m(c,1)),d=c[0].length,g=u,f.length>=s));)y.lastIndex===c.index&&y.lastIndex++;return g===o.length?!d&&S(y,"")||C(f,""):C(f,A(o,g)),f.length>s?m(f,0,s):f}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:i(t,this,e,n)}:t,[function(t,n){var r=l(this),s=null==t?void 0:h(t,e);return s?i(s,t,r,n):i(o,p(r),t,n)},function(e,r){var i=c(this),s=p(e),a=n(o,i,s,r,o!==t);if(a.done)return a.value;var l=u(i,RegExp),h=i.unicode,m=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(x?"g":"y"),v=new l(x?"^(?:"+i.source+")":i,m),y=void 0===r?w:r>>>0;if(0===y)return[];if(0===s.length)return null===g(v,s)?[s]:[];for(var b=0,j=0,S=[];j<s.length;){v.lastIndex=x?0:j;var k,E=g(v,x?A(s,j):s);if(null===E||(k=_(f(v.lastIndex+(x?j:0)),s.length))===b)j=d(s,j,h);else{if(C(S,A(s,b,j)),S.length===y)return S;for(var T=1;T<=E.length-1;T++)if(C(S,E[T]),S.length===y)return S;j=b=k}}return C(S,A(s,b)),S}]}),!k,x)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/array-slice-simple":116,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/is-regexp":182,"../internals/regexp-exec":224,"../internals/regexp-exec-abstract":223,"../internals/regexp-sticky-helpers":227,"../internals/require-object-coercible":230,"../internals/species-constructor":238,"../internals/to-length":249,"../internals/to-string":256}],308:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/string-trim").trim;r({target:"String",proto:!0,forced:e("../internals/string-trim-forced")("trim")},{trim:function(){return i(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/function-call"),s=e("../internals/function-uncurry-this"),a=e("../internals/is-pure"),c=e("../internals/descriptors"),l=e("../internals/native-symbol"),u=e("../internals/fails"),d=e("../internals/has-own-property"),f=e("../internals/object-is-prototype-of"),p=e("../internals/an-object"),h=e("../internals/to-indexed-object"),m=e("../internals/to-property-key"),g=e("../internals/to-string"),v=e("../internals/create-property-descriptor"),y=e("../internals/object-create"),b=e("../internals/object-keys"),x=e("../internals/object-get-own-property-names"),w=e("../internals/object-get-own-property-names-external"),_=e("../internals/object-get-own-property-symbols"),j=e("../internals/object-get-own-property-descriptor"),S=e("../internals/object-define-property"),C=e("../internals/object-define-properties"),A=e("../internals/object-property-is-enumerable"),k=e("../internals/redefine"),E=e("../internals/shared"),T=e("../internals/shared-key"),M=e("../internals/hidden-keys"),D=e("../internals/uid"),O=e("../internals/well-known-symbol"),N=e("../internals/well-known-symbol-wrapped"),L=e("../internals/define-well-known-symbol"),I=e("../internals/symbol-define-to-primitive"),R=e("../internals/set-to-string-tag"),P=e("../internals/internal-state"),B=e("../internals/array-iteration").forEach,F=T("hidden"),z="Symbol",U="prototype",H=P.set,q=P.getterFor(z),W=Object[U],Z=i.Symbol,G=Z&&Z[U],V=i.TypeError,Y=i.QObject,K=j.f,X=S.f,Q=w.f,J=A.f,$=s([].push),ee=E("symbols"),te=E("op-symbols"),ne=E("wks"),re=!Y||!Y[U]||!Y[U].findChild,ie=c&&u((function(){return 7!=y(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=K(W,t);r&&delete W[t],X(e,t,n),r&&e!==W&&X(W,t,r)}:X,oe=function(e,t){var n=ee[e]=y(G);return H(n,{type:z,tag:e,description:t}),c||(n.description=t),n},se=function(e,t,n){e===W&&se(te,t,n),p(e);var r=m(t);return p(n),d(ee,r)?(n.enumerable?(d(e,F)&&e[F][r]&&(e[F][r]=!1),n=y(n,{enumerable:v(0,!1)})):(d(e,F)||X(e,F,v(1,{})),e[F][r]=!0),ie(e,r,n)):X(e,r,n)},ae=function(e,t){p(e);var n=h(t),r=b(n).concat(fe(n));return B(r,(function(t){c&&!o(le,n,t)||se(e,t,n[t])})),e},ce=function(e,t){return void 0===t?y(e):ae(y(e),t)},le=function(e){var t=m(e),n=o(J,this,t);return!(this===W&&d(ee,t)&&!d(te,t))&&(!(n||!d(this,t)||!d(ee,t)||d(this,F)&&this[F][t])||n)},ue=function(e,t){var n=h(e),r=m(t);if(n!==W||!d(ee,r)||d(te,r)){var i=K(n,r);return!i||!d(ee,r)||d(n,F)&&n[F][r]||(i.enumerable=!0),i}},de=function(e){var t=Q(h(e)),n=[];return B(t,(function(e){d(ee,e)||d(M,e)||$(n,e)})),n},fe=function(e){var t=e===W,n=Q(t?te:h(e)),r=[];return B(n,(function(e){!d(ee,e)||t&&!d(W,e)||$(r,ee[e])})),r};l||(Z=function(){if(f(G,this))throw V("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=D(e),n=function(e){this===W&&o(n,te,e),d(this,F)&&d(this[F],t)&&(this[F][t]=!1),ie(this,t,v(1,e))};return c&&re&&ie(W,t,{configurable:!0,set:n}),oe(t,e)},k(G=Z[U],"toString",(function(){return q(this).tag})),k(Z,"withoutSetter",(function(e){return oe(D(e),e)})),A.f=le,S.f=se,C.f=ae,j.f=ue,x.f=w.f=de,_.f=fe,N.f=function(e){return oe(O(e),e)},c&&(X(G,"description",{configurable:!0,get:function(){return q(this).description}}),a||k(W,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Z}),B(b(ne),(function(e){L(e)})),r({target:z,stat:!0,forced:!l},{useSetter:function(){re=!0},useSimple:function(){re=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!c},{create:ce,defineProperty:se,defineProperties:ae,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:de}),I(),R(Z,z),M[F]=!0},{"../internals/an-object":101,"../internals/array-iteration":111,"../internals/create-property-descriptor":130,"../internals/define-well-known-symbol":133,"../internals/descriptors":134,"../internals/export":149,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/native-symbol":191,"../internals/object-create":196,"../internals/object-define-properties":197,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-names-external":200,"../internals/object-get-own-property-symbols":202,"../internals/object-is-prototype-of":204,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/shared":237,"../internals/shared-key":235,"../internals/symbol-define-to-primitive":242,"../internals/to-indexed-object":247,"../internals/to-property-key":254,"../internals/to-string":256,"../internals/uid":263,"../internals/well-known-symbol":268,"../internals/well-known-symbol-wrapped":267}],310:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/descriptors"),o=e("../internals/global"),s=e("../internals/function-uncurry-this"),a=e("../internals/has-own-property"),c=e("../internals/is-callable"),l=e("../internals/object-is-prototype-of"),u=e("../internals/to-string"),d=e("../internals/object-define-property").f,f=e("../internals/copy-constructor-properties"),p=o.Symbol,h=p&&p.prototype;if(i&&c(p)&&(!("description"in h)||void 0!==p().description)){var m={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=l(h,this)?new p(e):void 0===e?p():p(e);return""===e&&(m[t]=!0),t};f(g,p),g.prototype=h,h.constructor=g;var v="Symbol(test)"==String(p("test")),y=s(h.toString),b=s(h.valueOf),x=/^Symbol\((.*)\)[^)]+$/,w=s("".replace),_=s("".slice);d(h,"description",{configurable:!0,get:function(){var e=b(this),t=y(e);if(a(m,e))return"";var n=v?_(t,7,-1):w(t,x,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:g})}},{"../internals/copy-constructor-properties":125,"../internals/descriptors":134,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/object-define-property":198,"../internals/object-is-prototype-of":204,"../internals/to-string":256}],311:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/get-built-in"),o=e("../internals/has-own-property"),s=e("../internals/to-string"),a=e("../internals/shared"),c=e("../internals/native-symbol-registry"),l=a("string-to-symbol-registry"),u=a("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=s(e);if(o(l,t))return l[t];var n=i("Symbol")(t);return l[t]=n,u[n]=t,n}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/has-own-property":164,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/to-string":256}],312:[function(e,t,n){e("../internals/define-well-known-symbol")("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(e,t,n){e("../modules/es.symbol.constructor"),e("../modules/es.symbol.for"),e("../modules/es.symbol.key-for"),e("../modules/es.json.stringify"),e("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":285,"../modules/es.object.get-own-property-symbols":289,"../modules/es.symbol.constructor":309,"../modules/es.symbol.for":311,"../modules/es.symbol.key-for":314}],314:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/has-own-property"),o=e("../internals/is-symbol"),s=e("../internals/try-to-string"),a=e("../internals/shared"),c=e("../internals/native-symbol-registry"),l=a("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!o(e))throw TypeError(s(e)+" is not a symbol");if(i(l,e))return l[e]}})},{"../internals/export":149,"../internals/has-own-property":164,"../internals/is-symbol":183,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/try-to-string":257}],315:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/array-buffer-view-core"),o=r(e("../internals/array-copy-within")),s=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(e,t){return o(s(this),e,t,arguments.length>2?arguments[2]:void 0)}))},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").every,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/function-call"),o=e("../internals/array-fill"),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){var t=arguments.length;return i(o,s(this),e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}))},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").filter,o=e("../internals/typed-array-from-species-and-list"),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=i(s(this),e,arguments.length>1?arguments[1]:void 0);return o(this,t)}))},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").findIndex,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").find,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").forEach,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-includes").includes,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-includes").indexOf,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/fails"),o=e("../internals/function-uncurry-this"),s=e("../internals/array-buffer-view-core"),a=e("../modules/es.array.iterator"),c=e("../internals/well-known-symbol")("iterator"),l=r.Uint8Array,u=o(a.values),d=o(a.keys),f=o(a.entries),p=s.aTypedArray,h=s.exportTypedArrayMethod,m=l&&l.prototype,g=!i((function(){m[c].call([1])})),v=!!m&&m.values&&m[c]===m.values&&"values"===m.values.name,y=function(){return u(p(this))};h("entries",(function(){return f(p(this))}),g),h("keys",(function(){return d(p(this))}),g),h("values",y,g||!v,{name:"values"}),h(c,y,g||!v,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/function-uncurry-this"),o=r.aTypedArray,s=r.exportTypedArrayMethod,a=i([].join);s("join",(function(e){return a(o(this),e)}))},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/function-apply"),o=e("../internals/array-last-index-of"),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return i(o,s(this),t>1?[e,arguments[1]]:[e])}))},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").map,o=e("../internals/typed-array-species-constructor"),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return i(s(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(o(e))(t)}))}))},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-reduce").right,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return i(o(this),e,t,t>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-reduce").left,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return i(o(this),e,t,t>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=r.aTypedArray,o=r.exportTypedArrayMethod,s=Math.floor;o("reverse",(function(){for(var e,t=this,n=i(t).length,r=s(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t}))},{"../internals/array-buffer-view-core":103}],331:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/array-buffer-view-core"),s=e("../internals/length-of-array-like"),a=e("../internals/to-offset"),c=e("../internals/to-object"),l=e("../internals/fails"),u=r.RangeError,d=r.Int8Array,f=d&&d.prototype,p=f&&f.set,h=o.aTypedArray,m=o.exportTypedArrayMethod,g=!l((function(){var e=new Uint8ClampedArray(2);return i(p,e,{length:1,0:3},1),3!==e[1]})),v=g&&o.NATIVE_ARRAY_BUFFER_VIEWS&&l((function(){var e=new d(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));m("set",(function(e){h(this);var t=a(arguments.length>1?arguments[1]:void 0,1),n=c(e);if(g)return i(p,this,n,t);var r=this.length,o=s(n),l=0;if(o+t>r)throw u("Wrong length");for(;l<o;)this[t+l]=n[l++]}),!g||v)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-call":155,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-offset":251}],332:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/typed-array-species-constructor"),o=e("../internals/fails"),s=e("../internals/array-slice"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(e,t){for(var n=s(a(this),e,t),r=i(this),o=0,c=n.length,l=new r(c);c>o;)l[o]=n[o++];return l}),o((function(){new Int8Array(1).slice()})))},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").some,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-uncurry-this"),o=e("../internals/fails"),s=e("../internals/a-callable"),a=e("../internals/array-sort"),c=e("../internals/array-buffer-view-core"),l=e("../internals/engine-ff-version"),u=e("../internals/engine-is-ie-or-edge"),d=e("../internals/engine-v8-version"),f=e("../internals/engine-webkit-version"),p=c.aTypedArray,h=c.exportTypedArrayMethod,m=r.Uint16Array,g=m&&i(m.prototype.sort),v=!(!g||o((function(){g(new m(2),null)}))&&o((function(){g(new m(2),{})}))),y=!!g&&!o((function(){if(d)return d<74;if(l)return l<67;if(u)return!0;if(f)return f<602;var e,t,n=new m(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(g(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0})),b=function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}};h("sort",(function(e){return void 0!==e&&s(e),y?g(this,e):a(p(this),b(e))}),!y||v)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/to-length"),o=e("../internals/to-absolute-index"),s=e("../internals/typed-array-species-constructor"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=a(this),r=n.length,c=o(e,r);return new(s(n))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,i((void 0===t?r:o(t,r))-c))}))},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-apply"),o=e("../internals/array-buffer-view-core"),s=e("../internals/fails"),a=e("../internals/array-slice"),c=r.Int8Array,l=o.aTypedArray,u=o.exportTypedArrayMethod,d=[].toLocaleString,f=!!c&&s((function(){d.call(new c(1))}));u("toLocaleString",(function(){return i(d,f?a(l(this)):l(this),a(arguments))}),s((function(){return[1,2].toLocaleString()!=new c([1,2]).toLocaleString()}))||!s((function(){c.prototype.toLocaleString.call([1,2])})))},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core").exportTypedArrayMethod,i=e("../internals/fails"),o=e("../internals/global"),s=e("../internals/function-uncurry-this"),a=o.Uint8Array,c=a&&a.prototype||{},l=[].toString,u=s([].join);i((function(){l.call({})}))&&(l=function(){return u(this)});var d=c.toString!=l;r("toString",l,d)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(e,t,n){e("../internals/typed-array-constructor")("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},{"../internals/typed-array-constructor":258}],339:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/dom-iterables"),o=e("../internals/dom-token-list-prototype"),s=e("../internals/array-for-each"),a=e("../internals/create-non-enumerable-property"),c=function(e){if(e&&e.forEach!==s)try{a(e,"forEach",s)}catch(t){e.forEach=s}};for(var l in i)i[l]&&c(r[l]&&r[l].prototype);c(o)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/dom-iterables"),o=e("../internals/dom-token-list-prototype"),s=e("../modules/es.array.iterator"),a=e("../internals/create-non-enumerable-property"),c=e("../internals/well-known-symbol"),l=c("iterator"),u=c("toStringTag"),d=s.values,f=function(e,t){if(e){if(e[l]!==d)try{a(e,l,d)}catch(t){e[l]=d}if(e[u]||a(e,u,t),i[t])for(var n in s)if(e[n]!==s[n])try{a(e,n,s[n])}catch(t){e[n]=s[n]}}};for(var p in i)f(r[p]&&r[p].prototype,p);f(o,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(e,t,n){function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===v(e)}function i(e){return"boolean"==typeof e}function o(e){return null===e}function s(e){return null==e}function a(e){return"number"==typeof e}function c(e){return"string"==typeof e}function l(e){return"symbol"==typeof e}function u(e){return void 0===e}function d(e){return"[object RegExp]"===v(e)}function f(e){return"object"==typeof e&&null!==e}function p(e){return"[object Date]"===v(e)}function h(e){return"[object Error]"===v(e)||e instanceof Error}function m(e){return"function"==typeof e}function g(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function v(e){return Object.prototype.toString.call(e)}n.isArray=r,n.isBoolean=i,n.isNull=o,n.isNullOrUndefined=s,n.isNumber=a,n.isString=c,n.isSymbol=l,n.isUndefined=u,n.isRegExp=d,n.isObject=f,n.isDate=p,n.isError=h,n.isFunction=m,n.isPrimitive=g,n.isBuffer=e("buffer").Buffer.isBuffer},{buffer:90}],342:[function(e,t,r){!function(e){"use strict";var i,o,s,a=(i=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,o=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,s=/[^-+\dA-Z]/g,function(e,t,n,r){if(1!==arguments.length||"string"!==d(e)||/\d/.test(e)||(t=e,e=void 0),(e=e||new Date)instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");var f=(t=String(a.masks[t]||t||a.masks.default)).slice(0,4);"UTC:"!==f&&"GMT:"!==f||(t=t.slice(4),n=!0,"GMT:"===f&&(r=!0));var p=n?"getUTC":"get",h=e[p+"Date"](),m=e[p+"Day"](),g=e[p+"Month"](),v=e[p+"FullYear"](),y=e[p+"Hours"](),b=e[p+"Minutes"](),x=e[p+"Seconds"](),w=e[p+"Milliseconds"](),_=n?0:e.getTimezoneOffset(),j=l(e),S=u(e),C={d:h,dd:c(h),ddd:a.i18n.dayNames[m],dddd:a.i18n.dayNames[m+7],m:g+1,mm:c(g+1),mmm:a.i18n.monthNames[g],mmmm:a.i18n.monthNames[g+12],yy:String(v).slice(2),yyyy:v,h:y%12||12,hh:c(y%12||12),H:y,HH:c(y),M:b,MM:c(b),s:x,ss:c(x),l:c(w,3),L:c(Math.round(w/10)),t:y<12?"a":"p",tt:y<12?"am":"pm",T:y<12?"A":"P",TT:y<12?"AM":"PM",Z:r?"GMT":n?"UTC":(String(e).match(o)||[""]).pop().replace(s,""),o:(_>0?"-":"+")+c(100*Math.floor(Math.abs(_)/60)+Math.abs(_)%60,4),S:["th","st","nd","rd"][h%10>3?0:(h%100-h%10!=10)*h%10],W:j,N:S};return t.replace(i,(function(e){return e in C?C[e]:e.slice(1,e.length-1)}))});function c(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e}function l(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 u(e){var t=e.getDay();return 0===t&&(t=7),t}function d(e){return null===e?"null":void 0===e?"undefined":"object"!=typeof e?typeof e:Array.isArray(e)?"array":{}.toString.call(e).slice(8,-1).toLowerCase()}a.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"},a.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 n&&n.amd?n((function(){return a})):"object"==typeof r?t.exports=a:e.dateFormat=a}(this)},{}],343:[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="",s=0,a=0;for(s=i.index;s<n.length;s++){switch(n.charCodeAt(s)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}a!==s&&(o+=n.substring(a,s)),a=s+1,o+=t}return a!==s?o+n.substring(a,s):o}t.exports=i},{}],344:[function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};function s(e){console&&console.warn&&console.warn(e)}r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}t.exports=c,t.exports.once=x,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var l=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function d(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var i,o,a;if(u(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=d(e))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,s(c)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=p.bind(r);return i.listener=n,r.wrapFn=i,i}function m(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?b(i):v(i,i.length)}function g(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function y(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function b(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function x(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}_(e,t,o,{once:!0}),"error"!==t&&w(e,i,{once:!0})}))}function w(e,t,n){"function"==typeof e.on&&_(e,"error",t,n)}function _(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return d(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)o(c,this,t);else{var l=c.length,u=v(c,l);for(n=0;n<l;++n)o(u[n],this,t)}return!0},c.prototype.addListener=function(e,t){return f(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return f(this,e,t,!0)},c.prototype.once=function(e,t){return u(t),this.on(e,h(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,h(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,i,o,s;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():y(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return m(this,e,!0)},c.prototype.rawListeners=function(e){return m(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},c.prototype.listenerCount=g,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},{}],345:[function(e,t,n){"use strict";var r=e("is-callable"),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty,s=function(e,t,n){for(var r=0,i=e.length;r<i;r++)o.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))},a=function(e,t,n){for(var r=0,i=e.length;r<i;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)},c=function(e,t,n){for(var r in e)o.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))},l=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var o;arguments.length>=3&&(o=n),"[object Array]"===i.call(e)?s(e,t,o):"string"==typeof e?a(e,t,o):c(e,t,o)};t.exports=l},{"is-callable":367}],346:[function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,o=Object.prototype.toString,s="[object Function]";t.exports=function(e){var t=this;if("function"!=typeof t||o.call(t)!==s)throw new TypeError(r+t);for(var n,a=i.call(arguments,1),c=function(){if(this instanceof n){var r=t.apply(this,a.concat(i.call(arguments)));return Object(r)===r?r:this}return t.apply(e,a.concat(i.call(arguments)))},l=Math.max(0,t.length-a.length),u=[],d=0;d<l;d++)u.push("$"+d);if(n=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(c),t.prototype){var f=function(){};f.prototype=t.prototype,n.prototype=new f,f.prototype=null}return n}},{}],347:[function(e,t,n){"use strict";var r=e("./implementation");t.exports=Function.prototype.bind||r},{"./implementation":346}],348:[function(e,t,n){"use strict";var r,i=SyntaxError,o=Function,s=TypeError,a=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var l=function(){throw new s},u=c?function(){try{return l}catch(e){try{return c(arguments,"callee").get}catch(e){return l}}}():l,d=e("has-symbols")(),f=e("has-proto")(),p=Object.getPrototypeOf||(f?function(e){return e.__proto__}:null),h={},m="undefined"!=typeof Uint8Array&&p?p(Uint8Array):r,g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d&&p?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&p?p(p([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d&&p?p((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d&&p?p((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&p?p(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":u,"%TypedArray%":m,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(p)try{null.error}catch(e){var v=p(p(e));g["%Error.prototype%"]=v}var y=function e(t){var n;if("%AsyncFunction%"===t)n=a("async function () {}");else if("%GeneratorFunction%"===t)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=a("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&p&&(n=p(i.prototype))}return g[t]=n,n},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=e("function-bind"),w=e("has"),_=x.call(Function.call,Array.prototype.concat),j=x.call(Function.apply,Array.prototype.splice),S=x.call(Function.call,String.prototype.replace),C=x.call(Function.call,String.prototype.slice),A=x.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,T=function(e){var t=C(e,0,1),n=C(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return S(e,k,(function(e,t,n,i){r[r.length]=n?S(i,E,"$1"):t||e})),r},M=function(e,t){var n,r=e;if(w(b,r)&&(r="%"+(n=b[r])[0]+"%"),w(g,r)){var o=g[r];if(o===h&&(o=y(r)),void 0===o&&!t)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new s('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=T(e),r=n.length>0?n[0]:"",o=M("%"+r+"%",t),a=o.name,l=o.value,u=!1,d=o.alias;d&&(r=d[0],j(n,_([0,1],d)));for(var f=1,p=!0;f<n.length;f+=1){var h=n[f],m=C(h,0,1),v=C(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===v||"'"===v||"`"===v)&&m!==v)throw new i("property names with quotes must have matching quotes");if("constructor"!==h&&p||(u=!0),w(g,a="%"+(r+="."+h)+"%"))l=g[a];else if(null!=l){if(!(h in l)){if(!t)throw new s("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&f+1>=n.length){var y=c(l,h);l=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:l[h]}else p=w(l,h),l=l[h];p&&!u&&(g[a]=l)}}return l}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(e,t,n){"use strict";var r=e("get-intrinsic")("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}t.exports=r},{"get-intrinsic":348}],350:[function(e,t,n){"use strict";var r={foo:{}},i=Object;t.exports=function(){return{__proto__:r}.foo===r.foo&&!({__proto__:null}instanceof i)}},{}],351:[function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=e("./shams");t.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},{"./shams":352}],352:[function(e,t,n){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var r=42;for(t in e[t]=r,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||!0!==o.enumerable)return!1}return!0}},{}],353:[function(e,t,n){"use strict";var r=e("has-symbols/shams");t.exports=function(){return r()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(e,t,n){"use strict";var r=e("function-bind");t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(e,t,n){var r=e("http"),i=e("url"),o=t.exports;for(var s in r)r.hasOwnProperty(s)&&(o[s]=r[s]);function a(e){if("string"==typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}o.request=function(e,t){return e=a(e),r.request.call(this,e,t)},o.get=function(e,t){return e=a(e),r.get.call(this,e,t)}},{http:468,url:472}],356:[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:376,util:419}],357:[function(e,t,n){n.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,c=(1<<a)-1,l=c>>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-u)-1,p>>=-u,u+=a;u>0;o=256*o+e[t+d],d+=f,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=r;u>0;s=256*s+e[t+d],d+=f,u-=8);if(0===o)o=1-l;else{if(o===c)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,r),o-=l}return(p?-1:1)*s*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var s,a,c,l=8*o-i-1,u=(1<<l)-1,d=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+d>=1?f/c:f*Math.pow(2,1-d))*c>=2&&(s++,c/=2),s+d>=u?(a=0,s=u):s+d>=1?(a=(t*c-1)*Math.pow(2,i),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[n+p]=255&a,p+=h,a/=256,i-=8);for(s=s<<i|a,l+=i;l>0;e[n+p]=255&s,p+=h,s/=256,l-=8);e[n+p-h]|=128*m}},{}],358:[function(e,t,n){"use strict";var r,i,o,s=[e("./nextTick"),e("./queueMicrotask"),e("./mutation.js"),e("./messageChannel"),e("./stateChange"),e("./timeout")],a=-1,c=[],l=!1;function u(){r&&i&&(r=!1,i.length?c=i.concat(c):a=-1,c.length&&d())}function d(){if(!r){l=!1,r=!0;for(var e=c.length,t=setTimeout(u);e;){for(i=c,c=[];i&&++a<e;)i[a].run();a=-1,e=c.length}i=null,a=-1,r=!1,clearTimeout(t)}}for(var f=-1,p=s.length;++f<p;)if(s[f]&&s[f].test&&s[f].test()){o=s[f].install(d);break}function h(e,t){this.fun=e,this.array=t}function m(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];c.push(new h(e,t)),l||r||(l=!0,o())}h.prototype.run=function(){var e=this.fun,t=this.array;switch(t.length){case 0:return e();case 1:return e(t[0]);case 2:return e(t[0],t[1]);case 3:return e(t[0],t[1],t[2]);default:return e.apply(null,t)}},t.exports=m},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(e,n,r){(function(e){(function(){"use strict";r.test=function(){return!e.setImmediate&&void 0!==e.MessageChannel},r.install=function(t){var n=new e.MessageChannel;return n.port1.onmessage=t,function(){n.port2.postMessage(0)}}}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],360:[function(e,n,r){(function(e){(function(){"use strict";var t=e.MutationObserver||e.WebKitMutationObserver;r.test=function(){return t},r.install=function(n){var r=0,i=new t(n),o=e.document.createTextNode("");return i.observe(o,{characterData:!0}),function(){o.data=r=++r%2}}}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],361:[function(e,n,r){(function(e){(function(){"use strict";r.test=function(){return"function"==typeof e.queueMicrotask},r.install=function(t){return function(){e.queueMicrotask(t)}}}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],362:[function(e,n,r){(function(e){(function(){"use strict";r.test=function(){return"document"in e&&"onreadystatechange"in e.document.createElement("script")},r.install=function(t){return function(){var n=e.document.createElement("script");return n.onreadystatechange=function(){t(),n.onreadystatechange=null,n.parentNode.removeChild(n),n=null},e.document.documentElement.appendChild(n),t}}}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],363:[function(e,t,n){"use strict";n.test=function(){return!0},n.install=function(e){return function(){setTimeout(e,0)}}},{}],364:[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}}},{}],365:[function(e,t,n){"use strict";var r=e("has-tostringtag/shams")(),i=e("call-bind/callBound")("Object.prototype.toString"),o=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},s=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},a=function(){return o(arguments)}();o.isLegacyArguments=s,t.exports=a?o:s},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[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)}},{}],367:[function(e,t,n){"use strict";var r,i,o=Function.prototype.toString,s="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof s&&"function"==typeof Object.defineProperty)try{r=Object.defineProperty({},"length",{get:function(){throw i}}),i={},s((function(){throw 42}),null,r)}catch(e){e!==i&&(s=null)}else s=null;var a=/^\s*class\b/,c=function(e){try{var t=o.call(e);return a.test(t)}catch(e){return!1}},l=function(e){try{return!c(e)&&(o.call(e),!0)}catch(e){return!1}},u=Object.prototype.toString,d="[object Object]",f="[object Function]",p="[object GeneratorFunction]",h="[object HTMLAllCollection]",m="[object HTML document.all class]",g="[object HTMLCollection]",v="function"==typeof Symbol&&!!Symbol.toStringTag,y=!(0 in[,]),b=function(){return!1};if("object"==typeof document){var x=document.all;u.call(x)===u.call(document.all)&&(b=function(e){if((y||!e)&&(void 0===e||"object"==typeof e))try{var t=u.call(e);return(t===h||t===m||t===g||t===d)&&null==e("")}catch(e){}return!1})}t.exports=s?function(e){if(b(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{s(e,null,r)}catch(e){if(e!==i)return!1}return!c(e)&&l(e)}:function(e){if(b(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(v)return l(e);if(c(e))return!1;var t=u.call(e);return!(t!==f&&t!==p&&!/^\[object HTML/.test(t))&&l(e)}},{}],368:[function(e,t,n){"use strict";var r,i=Object.prototype.toString,o=Function.prototype.toString,s=/^\s*(?:function)?\*/,a=e("has-tostringtag/shams")(),c=Object.getPrototypeOf,l=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(e){}};t.exports=function(e){if("function"!=typeof e)return!1;if(s.test(o.call(e)))return!0;if(!a)return"[object GeneratorFunction]"===i.call(e);if(!c)return!1;if(void 0===r){var t=l();r=!!t&&c(t)}return c(e)===r}},{"has-tostringtag/shams":353}],369:[function(e,t,n){"use strict";var r=e("which-typed-array");t.exports=function(e){return!!r(e)}},{"which-typed-array":420}],370:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],371:[function(e,r,i){(function(e){(function(){!function(e,t){"object"==typeof i&&void 0!==r?r.exports=t(e):"function"==typeof n&&n.amd?n(t):t(e)}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:this,(function(e){"use strict";var t,i=(e=e||{}).Base64,o="2.6.4",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(s),c=String.fromCharCode,l=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?c(192|t>>>6)+c(128|63&t):c(224|t>>>12&15)+c(128|t>>>6&63)+c(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return c(240|t>>>18&7)+c(128|t>>>12&63)+c(128|t>>>6&63)+c(128|63&t)},u=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(e){return e.replace(u,l)},f=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);return[s.charAt(n>>>18),s.charAt(n>>>12&63),t>=2?"=":s.charAt(n>>>6&63),t>=1?"=":s.charAt(63&n)].join("")},p=e.btoa&&"function"==typeof e.btoa?function(t){return e.btoa(t)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,f)},h=function(e){return p(d(String(e)))},m=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},g=function(e,t){return t?m(h(e)):h(e)},v=function(e){return g(e,!0)};e.Uint8Array&&(t=function(e,t){for(var n="",r=0,i=e.length;r<i;r+=3){var o=e[r],a=e[r+1],c=e[r+2],l=o<<16|a<<8|c;n+=s.charAt(l>>>18)+s.charAt(l>>>12&63)+(void 0!==a?s.charAt(l>>>6&63):"=")+(void 0!==c?s.charAt(63&l):"=")}return t?m(n):n});var y,b=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,x=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))-65536;return c(55296+(t>>>10))+c(56320+(1023&t));case 3:return c((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return c((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},w=function(e){return e.replace(b,x)},_=function(e){var t=e.length,n=t%4,r=(t>0?a[e.charAt(0)]<<18:0)|(t>1?a[e.charAt(1)]<<12:0)|(t>2?a[e.charAt(2)]<<6:0)|(t>3?a[e.charAt(3)]:0),i=[c(r>>>16),c(r>>>8&255),c(255&r)];return i.length-=[0,0,2,1][n],i.join("")},j=e.atob&&"function"==typeof e.atob?function(t){return e.atob(t)}:function(e){return e.replace(/\S{1,4}/g,_)},S=function(e){return j(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},C=function(e){return w(j(e))},A=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},k=function(e){return C(A(e))};e.Uint8Array&&(y=function(e){return Uint8Array.from(S(A(e)),(function(e){return e.charCodeAt(0)}))});var E=function(){var t=e.Base64;return e.Base64=i,t};if(e.Base64={VERSION:o,atob:S,btoa:p,fromBase64:k,toBase64:g,utob:d,encode:g,encodeURI:v,btou:w,decode:k,noConflict:E,fromUint8Array:t,toUint8Array:y},"function"==typeof Object.defineProperty){var T=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};e.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",T((function(){return k(this)}))),Object.defineProperty(String.prototype,"toBase64",T((function(e){return g(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",T((function(){return g(this,!0)})))}}return e.Meteor&&(Base64=e.Base64),void 0!==r&&r.exports?r.exports.Base64=e.Base64:"function"==typeof n&&n.amd&&n([],(function(){return e.Base64})),{Base64:e.Base64}}))}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],372:[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}},{}],373:[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)}e("core-js/modules/es.array.map.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.regexp.constructor.js"),e("core-js/modules/es.regexp.to-string.js"),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]){var s=r[0];this._extensions[n]="*"!==s[0]?s:s.substr(1)}}},r.prototype.getType=function(e){var t=(e=String(e)).replace(/^.*[/\\]/,"").toLowerCase(),n=t.replace(/^.*\./,"").toLowerCase(),r=t.length<e.length;return(n.length<t.length-1||!r)&&this._types[n]||null},r.prototype.getExtension=function(e){return(e=/^\s*([^;\s]*)/.test(e)&&RegExp.$1)&&this._extensions[e.toLowerCase()]||null},t.exports=r},{"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.constructor.js":299,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305}],374:[function(e,t,n){"use strict";var r=e("./Mime");t.exports=new r(e("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(e,t,n){"use strict";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":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"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/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/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"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-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":["*xsl","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/amr":["amr"],"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","opus"],"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/avif":["avif"],"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/ktx2":["ktx2"],"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/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"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/spdx":["spdx"],"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/iso.segment":["m4s"],"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"]}},{}],376:[function(e,t,n){var r=1e3,i=60*r,o=60*i,s=24*o,a=7*s,c=365.25*s;function l(e){if(!((e=String(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]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*c;case"weeks":case"week":case"w":return n*a;case"days":case"day":case"d":return n*s;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>=s?Math.round(e/s)+"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>=s?f(e,t,s,"day"):t>=o?f(e,t,o,"hour"):t>=i?f(e,t,i,"minute"):t>=r?f(e,t,r,"second"):e+" ms"}function f(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 l(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))}},{}],377:[function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function s(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function a(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}t.exports=a()?Object.assign:function(e,t){for(var n,a,c=s(e),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))i.call(n,u)&&(c[u]=n[u]);if(r){a=r(n);for(var d=0;d<a.length;d++)o.call(n,a[d])&&(c[a[d]]=n[a[d]])}}return c}},{}],378:[function(e,t,n){(function(e){(function(){"use strict";function n(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var n,r="",i=0,o=-1,s=0,a=0;a<=e.length;++a){if(a<e.length)n=e.charCodeAt(a);else{if(47===n)break;n=47}if(47===n){if(o===a-1||1===s);else if(o!==a-1&&2===s){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var c=r.lastIndexOf("/");if(c!==r.length-1){-1===c?(r="",i=0):i=(r=r.slice(0,c)).length-1-r.lastIndexOf("/"),o=a,s=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=a,s=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,a):r=e.slice(o+1,a),i=a-o-1;o=a,s=0}else 46===n&&-1!==s?++s:s=-1}return r}function i(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}var o={resolve:function(){for(var t,i="",o=!1,s=arguments.length-1;s>=-1&&!o;s--){var a;s>=0?a=arguments[s]:(void 0===t&&(t=e.cwd()),a=t),n(a),0!==a.length&&(i=a+"/"+i,o=47===a.charCodeAt(0))}return i=r(i,!o),o?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(n(e),0===e.length)return".";var t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=r(e,!t)).length||t||(e="."),e.length>0&&i&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return n(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var r=arguments[t];n(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":o.normalize(e)},relative:function(e,t){if(n(e),n(t),e===t)return"";if((e=o.resolve(e))===(t=o.resolve(t)))return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var i=e.length,s=i-r,a=1;a<t.length&&47===t.charCodeAt(a);++a);for(var c=t.length-a,l=s<c?s:c,u=-1,d=0;d<=l;++d){if(d===l){if(c>l){if(47===t.charCodeAt(a+d))return t.slice(a+d+1);if(0===d)return t.slice(a+d)}else s>l&&(47===e.charCodeAt(r+d)?u=d:0===d&&(u=0));break}var f=e.charCodeAt(r+d);if(f!==t.charCodeAt(a+d))break;47===f&&(u=d)}var p="";for(d=r+u+1;d<=i;++d)d!==i&&47!==e.charCodeAt(d)||(0===p.length?p+="..":p+="/..");return p.length>0?p+t.slice(a+u):(a+=u,47===t.charCodeAt(a)&&++a,t.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(n(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,i=-1,o=!0,s=e.length-1;s>=1;--s)if(47===(t=e.charCodeAt(s))){if(!o){i=s;break}}else o=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');n(e);var r,i=0,o=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var a=t.length-1,c=-1;for(r=e.length-1;r>=0;--r){var l=e.charCodeAt(r);if(47===l){if(!s){i=r+1;break}}else-1===c&&(s=!1,c=r+1),a>=0&&(l===t.charCodeAt(a)?-1==--a&&(o=r):(a=-1,o=c))}return i===o?o=c:-1===o&&(o=e.length),e.slice(i,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!s){i=r+1;break}}else-1===o&&(s=!1,o=r+1);return-1===o?"":e.slice(i,o)},extname:function(e){n(e);for(var t=-1,r=0,i=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var c=e.charCodeAt(a);if(47!==c)-1===i&&(o=!1,i=a+1),46===c?-1===t?t=a:1!==s&&(s=1):-1!==t&&(s=-1);else if(!o){r=a+1;break}}return-1===t||-1===i||0===s||1===s&&t===i-1&&t===r+1?"":e.slice(t,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return i("/",e)},parse:function(e){n(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,i=e.charCodeAt(0),o=47===i;o?(t.root="/",r=1):r=0;for(var s=-1,a=0,c=-1,l=!0,u=e.length-1,d=0;u>=r;--u)if(47!==(i=e.charCodeAt(u)))-1===c&&(l=!1,c=u+1),46===i?-1===s?s=u:1!==d&&(d=1):-1!==s&&(d=-1);else if(!l){a=u+1;break}return-1===s||-1===c||0===d||1===d&&s===c-1&&s===a+1?-1!==c&&(t.base=t.name=0===a&&o?e.slice(1,c):e.slice(a,c)):(0===a&&o?(t.name=e.slice(1,s),t.base=e.slice(1,c)):(t.name=e.slice(a,s),t.base=e.slice(a,c)),t.ext=e.slice(s,c)),a>0?t.dir=e.slice(0,a-1):o&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,t.exports=o}).call(this)}).call(this,e("_process"))},{_process:467}],379:[function(e,r,i){(function(e){(function(){(function(){"use strict";var t={function:!0,object:!0},o=t[typeof window]&&window||this,s=t[typeof i]&&i,a=t[typeof r]&&r&&!r.nodeType&&r,c=s&&a&&"object"==typeof e&&e;!c||c.global!==c&&c.window!==c&&c.self!==c||(o=c);var l=Math.pow(2,53)-1,u=/\bOpera/,d=Object.prototype,f=d.hasOwnProperty,p=d.toString;function h(e){return(e=String(e)).charAt(0).toUpperCase()+e.slice(1)}function m(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=v(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])}function g(e,t){var n=-1,r=e?e.length:0;if("number"==typeof r&&r>-1&&r<=l)for(;++n<r;)t(e[n],n,e);else y(e,t)}function v(e){return e=j(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:h(e)}function y(e,t){for(var n in e)f.call(e,n)&&t(e[n],n,e)}function b(e){return null==e?h(e):p.call(e).slice(8,-1)}function x(e,t){var n=null!=e?typeof e[t]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(n)||"object"==n&&!e[t])}function w(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function _(e,t){var n=null;return g(e,(function(r,i){n=t(n,r,i,e)})),n}function j(e){return String(e).replace(/^ +| +$/g,"")}function S(e){var t=o,n=e&&"object"==typeof e&&"String"!=b(e);n&&(t=e,e=null);var r=t.navigator||{},i=r.userAgent||"";e||(e=i);var s,a,c=n?!!r.likeChrome:/\bChrome\b/.test(e)&&!/internal|\n/i.test(p.toString()),l="Object",d=n?l:"ScriptBridgingProxyObject",f=n?l:"Environment",h=n&&t.java?"JavaPackage":b(t.java),g=n?l:"RuntimeObject",C=/\bJava/.test(h)&&t.java,A=C&&b(t.environment)==f,k=C?"a":"α",E=C?"b":"β",T=t.document||{},M=t.operamini||t.opera,D=u.test(D=n&&M?M["[[Class]]"]:b(M))?D:M=null,O=e,N=[],L=null,I=e==i,R=I&&M&&"function"==typeof M.version&&M.version(),P=H([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),B=W(["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|Edg|EdgA|EdgiOS)"},"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","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{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"]),F=G([{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"]),z=q({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},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:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}}),U=Z(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"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 H(t){return _(t,(function(t,n){return t||RegExp("\\b"+(n.pattern||w(n))+"\\b","i").exec(e)&&(n.label||n)}))}function q(t){return _(t,(function(t,n,r){return t||(n[F]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(F)]||RegExp("\\b"+w(r)+"(?:\\b|\\w*\\d)","i").exec(e))&&r}))}function W(t){return _(t,(function(t,n){return t||RegExp("\\b"+(n.pattern||w(n))+"\\b","i").exec(e)&&(n.label||n)}))}function Z(t){return _(t,(function(t,n){var r=n.pattern||w(n);return!t&&(t=RegExp("\\b"+r+"(?:/[\\d.]+|[ \\w.]*)","i").exec(e))&&(t=m(t,r,n.label||n)),t}))}function G(t){return _(t,(function(t,n){var r=n.pattern||w(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=v(t[0].replace(RegExp(r,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))),t}))}function V(t){return _(t,(function(t,n){return t||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(e)||0)[1]||null}))}function Y(){return this.description||""}if(P&&(P=[P]),/\bAndroid\b/.test(U)&&!F&&(s=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(e))&&(F=j(s[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),z&&!F?F=G([z]):z&&F&&(F=F.replace(RegExp("^("+w(z)+")[-_.\\s]","i"),z+" ").replace(RegExp("^("+w(z)+")[-_.]?(\\w)","i"),z+" $2")),(s=/\bGoogle TV\b/.exec(F))&&(F=s[0]),/\bSimulator\b/i.test(e)&&(F=(F?F+" ":"")+"Simulator"),"Opera Mini"==B&&/\bOPiOS\b/.test(e)&&N.push("running in Turbo/Uncompressed mode"),"IE"==B&&/\blike iPhone OS\b/.test(e)?(z=(s=S(e.replace(/like iPhone OS/,""))).manufacturer,F=s.product):/^iP/.test(F)?(B||(B="Safari"),U="iOS"+((s=/ OS ([\d_]+)/i.exec(e))?" "+s[1].replace(/_/g,"."):"")):"Konqueror"==B&&/^Linux\b/i.test(U)?U="Kubuntu":z&&"Google"!=z&&(/Chrome/.test(B)&&!/\bMobile Safari\b/i.test(e)||/\bVita\b/.test(F))||/\bAndroid\b/.test(U)&&/^Chrome/.test(B)&&/\bVersion\//i.test(e)?(B="Android Browser",U=/\bAndroid\b/.test(U)?U:"Android"):"Silk"==B?(/\bMobi/i.test(e)||(U="Android",N.unshift("desktop mode")),/Accelerated *= *true/i.test(e)&&N.unshift("accelerated")):"UC Browser"==B&&/\bUCWEB\b/.test(e)?N.push("speed mode"):"PaleMoon"==B&&(s=/\bFirefox\/([\d.]+)\b/.exec(e))?N.push("identifying as Firefox "+s[1]):"Firefox"==B&&(s=/\b(Mobile|Tablet|TV)\b/i.exec(e))?(U||(U="Firefox OS"),F||(F=s[1])):!B||(s=!/\bMinefield\b/i.test(e)&&/\b(?:Firefox|Safari)\b/.exec(B))?(B&&!F&&/[\/,]|^[^(]+?\)/.test(e.slice(e.indexOf(s+"/")+8))&&(B=null),(s=F||z||U)&&(F||z||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(U))&&(B=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(U)?U:s)+" Browser")):"Electron"==B&&(s=(/\bChrome\/([\d.]+)\b/.exec(e)||0)[1])&&N.push("Chromium "+s),R||(R=V(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",w(B),"(?:Firefox|Minefield|NetFront)"])),(s=("iCab"==P&&parseFloat(R)>3?"WebKit":/\bOpera\b/.test(B)&&(/\bOPR\b/.test(e)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(e)&&!/^(?:Trident|EdgeHTML)$/.test(P)&&"WebKit"||!P&&/\bMSIE\b/i.test(e)&&("Mac OS"==U?"Tasman":"Trident")||"WebKit"==P&&/\bPlayStation\b(?! Vita\b)/i.test(B)&&"NetFront")&&(P=[s]),"IE"==B&&(s=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e)||0)[1])?(B+=" Mobile",U="Windows Phone "+(/\+$/.test(s)?s:s+".x"),N.unshift("desktop mode")):/\bWPDesktop\b/i.test(e)?(B="IE Mobile",U="Windows Phone 8.x",N.unshift("desktop mode"),R||(R=(/\brv:([\d.]+)/.exec(e)||0)[1])):"IE"!=B&&"Trident"==P&&(s=/\brv:([\d.]+)/.exec(e))&&(B&&N.push("identifying as "+B+(R?" "+R:"")),B="IE",R=s[1]),I){if(x(t,"global"))if(C&&(O=(s=C.lang.System).getProperty("os.arch"),U=U||s.getProperty("os.name")+" "+s.getProperty("os.version")),A){try{R=t.require("ringo/engine").version.join("."),B="RingoJS"}catch(e){(s=t.system)&&s.global.system==t.system&&(B="Narwhal",U||(U=s[0].os||null))}B||(B="Rhino")}else"object"==typeof t.process&&!t.process.browser&&(s=t.process)&&("object"==typeof s.versions&&("string"==typeof s.versions.electron?(N.push("Node "+s.versions.node),B="Electron",R=s.versions.electron):"string"==typeof s.versions.nw&&(N.push("Chromium "+R,"Node "+s.versions.node),B="NW.js",R=s.versions.nw)),B||(B="Node.js",O=s.arch,U=s.platform,R=(R=/[\d.]+/.exec(s.version))?R[0]:null));else b(s=t.runtime)==d?(B="Adobe AIR",U=s.flash.system.Capabilities.os):b(s=t.phantom)==g?(B="PhantomJS",R=(s=s.version||null)&&s.major+"."+s.minor+"."+s.patch):"number"==typeof T.documentMode&&(s=/\bTrident\/(\d+)/i.exec(e))?(R=[R,T.documentMode],(s=+s[1]+4)!=R[1]&&(N.push("IE "+R[1]+" mode"),P&&(P[1]=""),R[1]=s),R="IE"==B?String(R[1].toFixed(1)):R[0]):"number"==typeof T.documentMode&&/^(?:Chrome|Firefox)\b/.test(B)&&(N.push("masking as "+B+" "+R),B="IE",R="11.0",P=["Trident"],U="Windows");U=U&&v(U)}if(R&&(s=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(R)||/(?:alpha|beta)(?: ?\d)?/i.exec(e+";"+(I&&r.appMinorVersion))||/\bMinefield\b/i.test(e)&&"a")&&(L=/b/i.test(s)?"beta":"alpha",R=R.replace(RegExp(s+"\\+?$"),"")+("beta"==L?E:k)+(/\d+\+?/.exec(s)||"")),"Fennec"==B||"Firefox"==B&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(U))B="Firefox Mobile";else if("Maxthon"==B&&R)R=R.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(F))"Xbox 360"==F&&(U=null),"Xbox 360"==F&&/\bIEMobile\b/.test(e)&&N.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(B)&&(!B||F||/Browser|Mobi/.test(B))||"Windows CE"!=U&&!/Mobi/i.test(e))if("IE"==B&&I)try{null===t.external&&N.unshift("platform preview")}catch(e){N.unshift("embedded")}else(/\bBlackBerry\b/.test(F)||/\bBB10\b/.test(e))&&(s=(RegExp(F.replace(/ +/g," *")+"/([.\\d]+)","i").exec(e)||0)[1]||R)?(U=((s=[s,/BB10/.test(e)])[1]?(F=null,z="BlackBerry"):"Device Software")+" "+s[0],R=null):this!=y&&"Wii"!=F&&(I&&M||/Opera/.test(B)&&/\b(?:MSIE|Firefox)\b/i.test(e)||"Firefox"==B&&/\bOS X (?:\d+\.){2,}/.test(U)||"IE"==B&&(U&&!/^Win/.test(U)&&R>5.5||/\bWindows XP\b/.test(U)&&R>8||8==R&&!/\bTrident\b/.test(e)))&&!u.test(s=S.call(y,e.replace(u,"")+";"))&&s.name&&(s="ing as "+s.name+((s=s.version)?" "+s:""),u.test(B)?(/\bIE\b/.test(s)&&"Mac OS"==U&&(U=null),s="identify"+s):(s="mask"+s,B=D?v(D.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(s)&&(U=null),I||(R=null)),P=["Presto"],N.push(s));else B+=" Mobile";(s=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(e)||0)[1])&&(s=[parseFloat(s.replace(/\.(\d)$/,".0$1")),s],"Safari"==B&&"+"==s[1].slice(-1)?(B="WebKit Nightly",L="alpha",R=s[1].slice(0,-1)):R!=s[1]&&R!=(s[2]=(/\bSafari\/([\d.]+\+?)/i.exec(e)||0)[1])||(R=null),s[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(e)||0)[1],537.36==s[0]&&537.36==s[2]&&parseFloat(s[1])>=28&&"WebKit"==P&&(P=["Blink"]),I&&(c||s[1])?(P&&(P[1]="like Chrome"),s=s[1]||((s=s[0])<530?1:s<532?2:s<532.05?3:s<533?4:s<534.03?5:s<534.07?6:s<534.1?7:s<534.13?8:s<534.16?9:s<534.24?10:s<534.3?11:s<535.01?12:s<535.02?"13+":s<535.07?15:s<535.11?16:s<535.19?17:s<536.05?18:s<536.1?19:s<537.01?20:s<537.11?"21+":s<537.13?23:s<537.18?24:s<537.24?25:s<537.36?26:"Blink"!=P?"27":"28")):(P&&(P[1]="like Safari"),s=(s=s[0])<400?1:s<500?2:s<526?3:s<533?4:s<534?"4+":s<535?5:s<537?6:s<538?7:s<601?8:s<602?9:s<604?10:s<606?11:s<608?12:"12"),P&&(P[1]+=" "+(s+="number"==typeof s?".x":/[.+]/.test(s)?"":"+")),"Safari"==B&&(!R||parseInt(R)>45)?R=s:"Chrome"==B&&/\bHeadlessChrome/i.test(e)&&N.unshift("headless")),"Opera"==B&&(s=/\bzbov|zvav$/.exec(U))?(B+=" ",N.unshift("desktop mode"),"zvav"==s?(B+="Mini",R=null):B+="Mobile",U=U.replace(RegExp(" *"+s+"$"),"")):"Safari"==B&&/\bChrome\b/.exec(P&&P[1])?(N.unshift("desktop mode"),B="Chrome Mobile",R=null,/\bOS X\b/.test(U)?(z="Apple",U="iOS 4.3+"):U=null):/\bSRWare Iron\b/.test(B)&&!R&&(R=V("Chrome")),R&&0==R.indexOf(s=/[\d.]+$/.exec(U))&&e.indexOf("/"+s+"-")>-1&&(U=j(U.replace(s,""))),U&&-1!=U.indexOf(B)&&!RegExp(B+" OS").test(U)&&(U=U.replace(RegExp(" *"+w(B)+" *"),"")),P&&!/\b(?:Avant|Nook)\b/.test(B)&&(/Browser|Lunascape|Maxthon/.test(B)||"Safari"!=B&&/^iOS/.test(U)&&/\bSafari\b/.test(P[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(B)&&P[1])&&(s=P[P.length-1])&&N.push(s),N.length&&(N=["("+N.join("; ")+")"]),z&&F&&F.indexOf(z)<0&&N.push("on "+z),F&&N.push((/^on /.test(N[N.length-1])?"":"on ")+F),U&&(s=/ ([\d.+]+)$/.exec(U),a=s&&"/"==U.charAt(U.length-s[0].length-1),U={architecture:32,family:s&&!a?U.replace(s[0],""):U,version:s?s[1]:null,toString:function(){var e=this.version;return this.family+(e&&!a?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(s=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(O))&&!/\bi686\b/i.test(O)?(U&&(U.architecture=64,U.family=U.family.replace(RegExp(" *"+s),"")),B&&(/\bWOW64\b/i.test(e)||I&&/\w(?:86|32)$/.test(r.cpuClass||r.platform)&&!/\bWin64; x64\b/i.test(e))&&N.unshift("32-bit")):U&&/^OS X/.test(U.family)&&"Chrome"==B&&parseFloat(R)>=39&&(U.architecture=64),e||(e=null);var K={};return K.description=e,K.layout=P&&P[0],K.manufacturer=z,K.name=B,K.prerelease=L,K.product=F,K.ua=e,K.version=B&&R,K.os=U||{architecture:null,family:null,version:null,toString:function(){return"null"}},K.parse=S,K.toString=Y,K.version&&N.unshift(R),K.name&&N.unshift(B),U&&B&&(U!=String(U).split(" ")[0]||U!=B.split(" ")[0]&&!F)&&N.push(F?"("+U+")":"on "+U),N.length&&(K.description=N.join(" ")),K}var C=S();"function"==typeof n&&"object"==typeof n.amd&&n.amd?(o.platform=C,n((function(){return C}))):s&&a?y(C,(function(e,t){s[t]=e})):o.platform=C}).call(this)}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],380:[function(e,t,n){(function(e){(function(){"use strict";function n(t,n,r,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){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:for(o=new Array(a-1),s=0;s<o.length;)o[s++]=arguments[s];return e.nextTick((function(){t.apply(null,o)}))}}void 0===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)}).call(this,e("_process"))},{_process:467}],381:[function(e,t,n){var r,i,o=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(e){if(r===setTimeout)return setTimeout(e,0);if((r===s||!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 l(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!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:s}catch(e){r=s}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var u,d=[],f=!1,p=-1;function h(){f&&u&&(f=!1,u.length?d=u.concat(d):p=-1,d.length&&m())}function m(){if(!f){var e=c(h);f=!0;for(var t=d.length;t;){for(u=d,d=[];++p<t;)u&&u[p].run();p=-1,t=d.length}u=null,f=!1,l(e)}}function g(e,t){this.fun=e,this.array=t}function v(){}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||f||c(m)},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=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,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}},{}],382:[function(e,r,i){(function(e){(function(){!function(t){var o="object"==typeof i&&i&&!i.nodeType&&i,s="object"==typeof r&&r&&!r.nodeType&&r,a="object"==typeof e&&e;a.global!==a&&a.window!==a&&a.self!==a||(t=a);var c,l,u=2147483647,d=36,f=1,p=26,h=38,m=700,g=72,v=128,y="-",b=/^xn--/,x=/[^\x20-\x7E]/,w=/[\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"},j=d-f,S=Math.floor,C=String.fromCharCode;function A(e){throw new RangeError(_[e])}function k(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+k((e=e.replace(w,".")).split("."),t).join(".")}function T(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function M(e){return k(e,(function(e){var t="";return e>65535&&(t+=C((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=C(e)})).join("")}function D(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:d}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function N(e,t,n){var r=0;for(e=n?S(e/m):e>>1,e+=S(e/t);e>j*p>>1;r+=d)e=S(e/j);return S(r+(j+1)*e/(e+h))}function L(e){var t,n,r,i,o,s,a,c,l,h,m=[],b=e.length,x=0,w=v,_=g;for((n=e.lastIndexOf(y))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&A("not-basic"),m.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<b;){for(o=x,s=1,a=d;i>=b&&A("invalid-input"),((c=D(e.charCodeAt(i++)))>=d||c>S((u-x)/s))&&A("overflow"),x+=c*s,!(c<(l=a<=_?f:a>=_+p?p:a-_));a+=d)s>S(u/(h=d-l))&&A("overflow"),s*=h;_=N(x-o,t=m.length+1,0==o),S(x/t)>u-w&&A("overflow"),w+=S(x/t),x%=t,m.splice(x++,0,w)}return M(m)}function I(e){var t,n,r,i,o,s,a,c,l,h,m,b,x,w,_,j=[];for(b=(e=T(e)).length,t=v,n=0,o=g,s=0;s<b;++s)(m=e[s])<128&&j.push(C(m));for(r=i=j.length,i&&j.push(y);r<b;){for(a=u,s=0;s<b;++s)(m=e[s])>=t&&m<a&&(a=m);for(a-t>S((u-n)/(x=r+1))&&A("overflow"),n+=(a-t)*x,t=a,s=0;s<b;++s)if((m=e[s])<t&&++n>u&&A("overflow"),m==t){for(c=n,l=d;!(c<(h=l<=o?f:l>=o+p?p:l-o));l+=d)_=c-h,w=d-h,j.push(C(O(h+_%w,0))),c=S(_/w);j.push(C(O(c,0))),o=N(n,x,r==i),n=0,++r}++n,++t}return j.join("")}function R(e){return E(e,(function(e){return b.test(e)?L(e.slice(4).toLowerCase()):e}))}function P(e){return E(e,(function(e){return x.test(e)?"xn--"+I(e):e}))}if(c={version:"1.4.1",ucs2:{decode:T,encode:M},decode:L,encode:I,toASCII:P,toUnicode:R},"function"==typeof n&&"object"==typeof n.amd&&n.amd)n("punycode",(function(){return c}));else if(o&&s)if(r.exports==o)s.exports=c;else for(l in c)c.hasOwnProperty(l)&&(o[l]=c[l]);else t.punycode=c}(this)}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],383:[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 s={};if("string"!=typeof e||0===e.length)return s;var a=/\+/g;e=e.split(t);var c=1e3;o&&"number"==typeof o.maxKeys&&(c=o.maxKeys);var l=e.length;c>0&&l>c&&(l=c);for(var u=0;u<l;++u){var d,f,p,h,m=e[u].replace(a,"%20"),g=m.indexOf(n);g>=0?(d=m.substr(0,g),f=m.substr(g+1)):(d=m,f=""),p=decodeURIComponent(d),h=decodeURIComponent(f),r(s,p)?i(s[p])?s[p].push(h):s[p]=[s[p],h]:s[p]=h}return s};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],384:[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,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?o(s(e),(function(s){var a=encodeURIComponent(r(s))+n;return i(e[s])?o(e[s],(function(e){return a+encodeURIComponent(r(e))})).join(t):a+encodeURIComponent(r(e[s]))})).join(t):a?encodeURIComponent(r(a))+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 s=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},{}],385:[function(e,t,n){"use strict";n.decode=n.parse=e("./decode"),n.encode=n.stringify=e("./encode")},{"./decode":383,"./encode":384}],386:[function(e,t,n){"use strict";var r=e("process-nextick-args"),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=d;var o=Object.create(e("core-util-is"));o.inherits=e("inherits");var s=e("./_stream_readable"),a=e("./_stream_writable");o.inherits(d,s);for(var c=i(a.prototype),l=0;l<c.length;l++){var u=c[l];d.prototype[u]||(d.prototype[u]=a.prototype[u])}function d(e){if(!(this instanceof d))return new d(e);s.call(this,e),a.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",f)}function f(){this.allowHalfOpen||this._writableState.ended||r.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.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)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(e,t,n){"use strict";t.exports=o;var r=e("./_stream_transform"),i=Object.create(e("core-util-is"));function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}i.inherits=e("inherits"),i.inherits(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(e,n,r){(function(t,r){(function(){"use strict";var i=e("process-nextick-args");n.exports=_;var o,s=e("isarray");_.ReadableState=w,e("events").EventEmitter;var a=function(e,t){return e.listeners(t).length},c=e("./internal/streams/stream"),l=e("safe-buffer").Buffer,u=r.Uint8Array||function(){};function d(e){return l.from(e)}function f(e){return l.isBuffer(e)||e instanceof u}var p=Object.create(e("core-util-is"));p.inherits=e("inherits");var h=e("util"),m=void 0;m=h&&h.debuglog?h.debuglog("stream"):function(){};var g,v=e("./internal/streams/BufferList"),y=e("./internal/streams/destroy");p.inherits(_,c);var b=["error","close","destroy","pause","resume"];function x(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function w(t,n){t=t||{};var r=n instanceof(o=o||e("./_stream_duplex"));this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,s=t.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(s||0===s)?s:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new v,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&&(g||(g=e("string_decoder/").StringDecoder),this.decoder=new g(t.encoding),this.encoding=t.encoding)}function _(t){if(o=o||e("./_stream_duplex"),!(this instanceof _))return new _(t);this._readableState=new w(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),c.call(this)}function j(e,t,n,r,i){var o,s=e._readableState;return null===t?(s.reading=!1,M(e,s)):(i||(o=C(s,t)),o?e.emit("error",o):s.objectMode||t&&t.length>0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=d(t)),r?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):S(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?S(e,s,t,!1):N(e,s)):S(e,s,t,!1))):r||(s.reading=!1)),A(s)}function S(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&&D(e)),N(e,t)}function C(e,t){var n;return f(t)||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function A(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}Object.defineProperty(_.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),_.prototype.destroy=y.destroy,_.prototype._undestroy=y.undestroy,_.prototype._destroy=function(e,t){this.push(null),t(e)},_.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=l.from(e,t),t=""),n=!0),j(this,e,t,!1,n)},_.prototype.unshift=function(e){return j(this,e,null,!0,!1)},_.prototype.isPaused=function(){return!1===this._readableState.flowing},_.prototype.setEncoding=function(t){return g||(g=e("string_decoder/").StringDecoder),this._readableState.decoder=new g(t),this._readableState.encoding=t,this};var k=8388608;function E(e){return e>=k?e=k:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function T(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=E(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function M(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,D(e)}}function D(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(m("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(O,e):O(e))}function O(e){m("emit readable"),e.emit("readable"),F(e)}function N(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(L,e,t))}function L(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(m("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function I(e){return function(){var t=e._readableState;m("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,F(e))}}function R(e){m("readable nexttick read 0"),e.read(0)}function P(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(B,e,t))}function B(e,t){t.reading||(m("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),F(e),t.flowing&&!t.reading&&e.read(0)}function F(e){var t=e._readableState;for(m("flow",t.flowing);t.flowing&&null!==e.read(););}function z(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=U(e,t.buffer,t.decoder),n);var n}function U(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?H(e,t):q(e,t),r}function H(e,t){var n=t.head,r=1,i=n.data;for(e-=i.length;n=n.next;){var o=n.data,s=e>o.length?o.length:e;if(s===o.length?i+=o:i+=o.slice(0,e),0==(e-=s)){s===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++r}return t.length-=r,i}function q(e,t){var n=l.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var o=r.data,s=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,s),0==(e-=s)){s===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(s));break}++i}return t.length-=i,n}function W(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(Z,t,e))}function Z(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function G(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}_.prototype.read=function(e){m("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 m("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?W(this):D(this),null;if(0===(e=T(e,t))&&t.ended)return 0===t.length&&W(this),null;var r,i=t.needReadable;return m("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&m("length less than watermark",i=!0),t.ended||t.reading?m("reading or ended",i=!1):i&&(m("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=T(n,t))),null===(r=e>0?z(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&W(this)),null!==r&&this.emit("data",r),r},_.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},_.prototype.pipe=function(e,n){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,m("pipe count=%d opts=%j",o.pipesCount,n);var s=n&&!1===n.end||e===t.stdout||e===t.stderr?b:l;function c(e,t){m("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,f())}function l(){m("onend"),e.end()}o.endEmitted?i.nextTick(s):r.once("end",s),e.on("unpipe",c);var u=I(r);e.on("drain",u);var d=!1;function f(){m("cleanup"),e.removeListener("close",v),e.removeListener("finish",y),e.removeListener("drain",u),e.removeListener("error",g),e.removeListener("unpipe",c),r.removeListener("end",l),r.removeListener("end",b),r.removeListener("data",h),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||u()}var p=!1;function h(t){m("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==G(o.pipes,e))&&!d&&(m("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function g(t){m("onerror",t),b(),e.removeListener("error",g),0===a(e,"error")&&e.emit("error",t)}function v(){e.removeListener("finish",y),b()}function y(){m("onfinish"),e.removeListener("close",v),b()}function b(){m("unpipe"),r.unpipe(e)}return r.on("data",h),x(e,"error",g),e.once("close",v),e.once("finish",y),e.emit("pipe",r),o.flowing||(m("pipe resume"),r.resume()),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 s=G(t.pipes,e);return-1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},_.prototype.on=function(e,t){var n=c.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&&D(this):i.nextTick(R,this))}return n},_.prototype.addListener=_.prototype.on,_.prototype.resume=function(){var e=this._readableState;return e.flowing||(m("resume"),e.flowing=!0,P(this,e)),this},_.prototype.pause=function(){return m("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(m("pause"),this._readableState.flowing=!1,this.emit("pause")),this},_.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(m("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){m("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i||(n.objectMode||i&&i.length)&&(t.push(i)||(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<b.length;o++)e.on(b[o],this.emit.bind(this,b[o]));return this._read=function(t){m("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(_.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),_._fromList=z}).call(this)}).call(this,e("_process"),void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":386,"./internal/streams/BufferList":391,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,events:344,inherits:364,isarray:370,"process-nextick-args":380,"safe-buffer":396,"string_decoder/":413,util:89}],389:[function(e,t,n){"use strict";t.exports=s;var r=e("./_stream_duplex"),i=Object.create(e("core-util-is"));function o(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 s(e){if(!(this instanceof s))return new s(e);r.call(this,e),this._transformState={afterTransform:o.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",a)}function a(){var e=this;"function"==typeof this._flush?this._flush((function(t,n){c(e,t,n)})):c(this,null,null)}function c(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)}i.inherits=e("inherits"),i.inherits(s,r),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},s.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},s.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)}},s.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},s.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},{"./_stream_duplex":386,"core-util-is":341,inherits:364}],390:[function(e,n,r){(function(t,r,i){(function(){"use strict";var o=e("process-nextick-args");function s(e){var t=this;this.next=null,this.entry=null,this.finish=function(){P(t,e)}}n.exports=x;var a,c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?i:o.nextTick;x.WritableState=b;var l=Object.create(e("core-util-is"));l.inherits=e("inherits");var u={deprecate:e("util-deprecate")},d=e("./internal/streams/stream"),f=e("safe-buffer").Buffer,p=r.Uint8Array||function(){};function h(e){return f.from(e)}function m(e){return f.isBuffer(e)||e instanceof p}var g,v=e("./internal/streams/destroy");function y(){}function b(t,n){a=a||e("./_stream_duplex"),t=t||{};var r=n instanceof a;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,o=t.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(o||0===o)?o:c,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 l=!1===t.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){E(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 s(this)}function x(t){if(a=a||e("./_stream_duplex"),!(g.call(x,this)||this instanceof a))return new x(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)),d.call(this)}function w(e,t){var n=new Error("write after end");e.emit("error",n),o.nextTick(t,n)}function _(e,t,n,r){var i=!0,s=!1;return null===n?s=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),o.nextTick(r,s),i=!1),i}function j(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,n)),t}function S(e,t,n,r,i,o){if(!n){var s=j(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=t.objectMode?1:r.length;t.length+=a;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else C(e,t,!1,a,r,i,o);return c}function C(e,t,n,r,i,o,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function A(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(I,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),I(e,t))}function k(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function E(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(k(n),t)A(e,n,r,t,i);else{var o=O(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||D(e,n),r?c(T,e,n,o,i):T(e,n,o,i)}}function T(e,t,n,r){n||M(e,t),t.pendingcb--,r(),I(e,t)}function M(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function D(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;for(var a=0,c=!0;n;)i[a]=n,n.isBuf||(c=!1),n=n.next,a+=1;i.allBuffers=c,C(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 s(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,u=n.encoding,d=n.callback;if(C(e,t,!1,t.objectMode?1:l.length,l,u,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function O(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function N(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),I(e,t)}))}function L(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(N,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function I(e,t){var n=O(t);return n&&(L(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}function R(e,t,n){t.ending=!0,I(e,t),n&&(t.finished?o.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function P(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}l.inherits(x,d),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(g=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(e){return!!g.call(this,e)||this===x&&e&&e._writableState instanceof b}})):g=function(e){return e instanceof this},x.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},x.prototype.write=function(e,t,n){var r=this._writableState,i=!1,o=!r.objectMode&&m(e);return o&&!f.isBuffer(e)&&(e=h(e)),"function"==typeof t&&(n=t,t=null),o?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=y),r.ended?w(this,n):(o||_(this,r,e,n))&&(r.pendingcb++,i=S(this,r,o,e,t,n)),i},x.prototype.cork=function(){this._writableState.corked++},x.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||D(this,e))},x.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(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},x.prototype._writev=null,x.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&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||R(this,r,n)},Object.defineProperty(x.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),x.prototype.destroy=v.destroy,x.prototype._undestroy=v.undestroy,x.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this)}).call(this,e("_process"),void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{"./_stream_duplex":386,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,inherits:364,"process-nextick-args":380,"safe-buffer":396,timers:414,"util-deprecate":416}],391:[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 s(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"";for(var t=this.head,n=""+t.data;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;for(var t=i.allocUnsafe(e>>>0),n=this.head,r=0;n;)s(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":396,util:89}],392:[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(s,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(s,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 s(e,t){e.emit("error",t)}t.exports={destroy:i,undestroy:o}},{"process-nextick-args":380}],393:[function(e,t,n){t.exports=e("events").EventEmitter},{events:344}],394:[function(e,t,n){(n=t.exports=e("./lib/_stream_readable.js")).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":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),s=new T(r||[]);return o._invoke=C(e,n,s),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var d="suspendedStart",f="suspendedYield",p="executing",h="completed",m={};function g(){}function v(){}function y(){}var b={};c(b,o,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(M([])));w&&w!==n&&r.call(w,o)&&(b=w);var _=y.prototype=g.prototype=Object.create(b);function j(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(i,o,s,a){var c=u(e[i],e,o);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(d).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,a)}))}a(c.arg)}var i;function o(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}this._invoke=o}function C(e,t,n){var r=d;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return D()}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=A(s,n);if(a){if(a===m)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=u(e,t,n);if("normal"===c.type){if(r=n.done?h:f,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}function A(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=u(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function k(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 E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function M(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,s=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return s.next=s}}return{next:D}}function D(){return{value:t,done:!0}}return v.prototype=y,c(_,"constructor",y),c(y,"constructor",v),v.displayName=c(y,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,a,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},j(S.prototype),c(S.prototype,s,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var s=new S(l(t,n,r,i),o);return e.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},j(_),c(_,a,"Generator"),c(_,o,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=M,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},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 n=this;function i(r,i){return a.type="throw",a.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var c=r.call(s,"catchLoc"),l=r.call(s,"finallyLoc");if(c&&l){if(this.prev<s.catchLoc)return i(s.catchLoc,!0);if(this.prev<s.finallyLoc)return i(s.finallyLoc)}else if(c){if(this.prev<s.catchLoc)return i(s.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return i(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.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 s=o?o.completion:{};return s.type=e,s.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(s)},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),m},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),E(n),m}},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;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:M(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}("object"==typeof t?t.exports:{});try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},{}],396:[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 s(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,n),n.Buffer=s),o(i,s),s.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},s.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},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},{buffer:90}],397:[function(e,t,n){(function(t){(function(){!function(n){n.parser=function(e,t){return new o(e,t)},n.SAXParser=o,n.SAXStream=d,n.createStream=u,n.MAX_BUFFER_LENGTH=65536;var r,i=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function o(e,t){if(!(this instanceof o))return new o(e,t);var r=this;a(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=T.BEGIN,r.strictEntities=r.opt.strictEntities,r.ENTITIES=r.strictEntities?Object.create(n.XML_ENTITIES):Object.create(n.ENTITIES),r.attribList=[],r.opt.xmlns&&(r.ns=Object.create(g)),r.trackPosition=!1!==r.opt.position,r.trackPosition&&(r.position=r.line=r.column=0),D(r,"onready")}function s(e){for(var t=Math.max(n.MAX_BUFFER_LENGTH,10),r=0,o=0,s=i.length;o<s;o++){var a=e[i[o]].length;if(a>t)switch(i[o]){case"textNode":N(e);break;case"cdata":O(e,"oncdata",e.cdata),e.cdata="";break;case"script":O(e,"onscript",e.script),e.script="";break;default:I(e,"Max buffer length exceeded: "+i[o])}r=Math.max(r,a)}var c=n.MAX_BUFFER_LENGTH-r;e.bufferCheckPosition=c+e.position}function a(e){for(var t=0,n=i.length;t<n;t++)e[i[t]]=""}function c(e){N(e),""!==e.cdata&&(O(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(O(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"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}),o.prototype={end:function(){R(this)},write:G,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){c(this)}};try{r=e("stream").Stream}catch(e){r=function(){}}var l=n.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function u(e,t){return new d(e,t)}function d(e,t){if(!(this instanceof d))return new d(e,t);r.apply(this),this._parser=new o(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,l.forEach((function(e){Object.defineProperty(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})}))}d.prototype=Object.create(r.prototype,{constructor:{value:d}}),d.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},d.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},d.prototype.on=function(e,t){var n=this;return n._parser["on"+e]||-1===l.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 f="[CDATA[",p="DOCTYPE",h="http://www.w3.org/XML/1998/namespace",m="http://www.w3.org/2000/xmlns/",g={xml:h,xmlns:m},v=/[:_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]/,y=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,b=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,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\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function w(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function _(e){return'"'===e||"'"===e}function j(e){return">"===e||w(e)}function S(e,t){return e.test(t)}function C(e,t){return!S(e,t)}var A,k,E,T=0;for(var M in n.STATE={BEGIN:T++,BEGIN_WHITESPACE:T++,TEXT:T++,TEXT_ENTITY:T++,OPEN_WAKA:T++,SGML_DECL:T++,SGML_DECL_QUOTED:T++,DOCTYPE:T++,DOCTYPE_QUOTED:T++,DOCTYPE_DTD:T++,DOCTYPE_DTD_QUOTED:T++,COMMENT_STARTING:T++,COMMENT:T++,COMMENT_ENDING:T++,COMMENT_ENDED:T++,CDATA:T++,CDATA_ENDING:T++,CDATA_ENDING_2:T++,PROC_INST:T++,PROC_INST_BODY:T++,PROC_INST_ENDING:T++,OPEN_TAG:T++,OPEN_TAG_SLASH:T++,ATTRIB:T++,ATTRIB_NAME:T++,ATTRIB_NAME_SAW_WHITE:T++,ATTRIB_VALUE:T++,ATTRIB_VALUE_QUOTED:T++,ATTRIB_VALUE_CLOSED:T++,ATTRIB_VALUE_UNQUOTED:T++,ATTRIB_VALUE_ENTITY_Q:T++,ATTRIB_VALUE_ENTITY_U:T++,CLOSE_TAG:T++,CLOSE_TAG_SAW_WHITE:T++,SCRIPT:T++,SCRIPT_ENDING:T++},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},Object.keys(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[M]]=M;function D(e,t,n){e[t]&&e[t](n)}function O(e,t,n){e.textNode&&N(e),D(e,t,n)}function N(e){e.textNode=L(e.opt,e.textNode),e.textNode&&D(e,"ontext",e.textNode),e.textNode=""}function L(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function I(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&&P(e,"Unclosed root tag"),e.state!==T.BEGIN&&e.state!==T.BEGIN_WHITESPACE&&e.state!==T.TEXT&&I(e,"Unexpected end"),N(e),e.c="",e.closed=!0,D(e,"onend"),o.call(e,e.strict,e.opt),e}function P(e,t){if("object"!=typeof e||!(e instanceof o))throw new Error("bad call to strictFail");e.strict&&I(e,t)}function B(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,O(e,"onopentagstart",n)}function F(e,t){var n=e.indexOf(":")<0?["",e]:e.split(":"),r=n[0],i=n[1];return t&&"xmlns"===e&&(r="xmlns",i=""),{prefix:r,local:i}}function z(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=F(e.attribName,!0),n=t.prefix,r=t.local;if("xmlns"===n)if("xml"===r&&e.attribValue!==h)P(e,"xml: prefix must be bound to "+h+"\nActual: "+e.attribValue);else if("xmlns"===r&&e.attribValue!==m)P(e,"xmlns: prefix must be bound to "+m+"\nActual: "+e.attribValue);else{var i=e.tag,o=e.tags[e.tags.length-1]||e;i.ns===o.ns&&(i.ns=Object.create(o.ns)),i.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,O(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function U(e,t){if(e.opt.xmlns){var n=e.tag,r=F(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(P(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=r.prefix);var i=e.tags[e.tags.length-1]||e;n.ns&&i.ns!==n.ns&&Object.keys(n.ns).forEach((function(t){O(e,"onopennamespace",{prefix:t,uri:n.ns[t]})}));for(var o=0,s=e.attribList.length;o<s;o++){var a=e.attribList[o],c=a[0],l=a[1],u=F(c,!0),d=u.prefix,f=u.local,p=""===d?"":n.ns[d]||"",h={name:c,value:l,prefix:d,local:f,uri:p};d&&"xmlns"!==d&&!p&&(P(e,"Unbound namespace prefix: "+JSON.stringify(d)),h.uri=d),e.tag.attributes[c]=h,O(e,"onattribute",h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),O(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=T.TEXT:e.state=T.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function H(e){if(!e.tagName)return P(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=T.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=T.SCRIPT);O(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var r=n;t--&&e.tags[t].name!==r;)P(e,"Unexpected close tag");if(t<0)return P(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=T.TEXT);e.tagName=n;for(var i=e.tags.length;i-- >t;){var o=e.tag=e.tags.pop();e.tagName=e.tag.name,O(e,"onclosetag",e.tagName);var s={};for(var a in o.ns)s[a]=o.ns[a];var c=e.tags[e.tags.length-1]||e;e.opt.xmlns&&o.ns!==c.ns&&Object.keys(o.ns).forEach((function(t){var n=o.ns[t];O(e,"onclosenamespace",{prefix:t,uri:n})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=T.TEXT}function q(e){var t,n=e.entity,r=n.toLowerCase(),i="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[r]?e.ENTITIES[r]:("#"===(n=r).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),i=(t=parseInt(n,16)).toString(16)):(n=n.slice(1),i=(t=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(t)||i.toLowerCase()!==n?(P(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function W(e,t){"<"===t?(e.state=T.OPEN_WAKA,e.startTagPosition=e.position):w(t)||(P(e,"Non-whitespace before first tag."),e.textNode=t,e.state=T.TEXT)}function Z(e,t){var n="";return t<e.length&&(n=e.charAt(t)),n}function G(e){var t=this;if(this.error)throw this.error;if(t.closed)return I(t,"Cannot write after close. Assign an onready handler.");if(null===e)return R(t);"object"==typeof e&&(e=e.toString());for(var n=0,r="";r=Z(e,n++),t.c=r,r;)switch(t.trackPosition&&(t.position++,"\n"===r?(t.line++,t.column=0):t.column++),t.state){case T.BEGIN:if(t.state=T.BEGIN_WHITESPACE,"\ufeff"===r)continue;W(t,r);continue;case T.BEGIN_WHITESPACE:W(t,r);continue;case T.TEXT:if(t.sawRoot&&!t.closedRoot){for(var i=n-1;r&&"<"!==r&&"&"!==r;)(r=Z(e,n++))&&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?(w(r)||t.sawRoot&&!t.closedRoot||P(t,"Text data outside of root node."),"&"===r?t.state=T.TEXT_ENTITY:t.textNode+=r):(t.state=T.OPEN_WAKA,t.startTagPosition=t.position);continue;case T.SCRIPT:"<"===r?t.state=T.SCRIPT_ENDING:t.script+=r;continue;case T.SCRIPT_ENDING:"/"===r?t.state=T.CLOSE_TAG:(t.script+="<"+r,t.state=T.SCRIPT);continue;case T.OPEN_WAKA:if("!"===r)t.state=T.SGML_DECL,t.sgmlDecl="";else if(w(r));else if(S(v,r))t.state=T.OPEN_TAG,t.tagName=r;else if("/"===r)t.state=T.CLOSE_TAG,t.tagName="";else if("?"===r)t.state=T.PROC_INST,t.procInstName=t.procInstBody="";else{if(P(t,"Unencoded <"),t.startTagPosition+1<t.position){var o=t.position-t.startTagPosition;r=new Array(o).join(" ")+r}t.textNode+="<"+r,t.state=T.TEXT}continue;case T.SGML_DECL:(t.sgmlDecl+r).toUpperCase()===f?(O(t,"onopencdata"),t.state=T.CDATA,t.sgmlDecl="",t.cdata=""):t.sgmlDecl+r==="--"?(t.state=T.COMMENT,t.comment="",t.sgmlDecl=""):(t.sgmlDecl+r).toUpperCase()===p?(t.state=T.DOCTYPE,(t.doctype||t.sawRoot)&&P(t,"Inappropriately located doctype declaration"),t.doctype="",t.sgmlDecl=""):">"===r?(O(t,"onsgmldeclaration",t.sgmlDecl),t.sgmlDecl="",t.state=T.TEXT):_(r)?(t.state=T.SGML_DECL_QUOTED,t.sgmlDecl+=r):t.sgmlDecl+=r;continue;case T.SGML_DECL_QUOTED:r===t.q&&(t.state=T.SGML_DECL,t.q=""),t.sgmlDecl+=r;continue;case T.DOCTYPE:">"===r?(t.state=T.TEXT,O(t,"ondoctype",t.doctype),t.doctype=!0):(t.doctype+=r,"["===r?t.state=T.DOCTYPE_DTD:_(r)&&(t.state=T.DOCTYPE_QUOTED,t.q=r));continue;case T.DOCTYPE_QUOTED:t.doctype+=r,r===t.q&&(t.q="",t.state=T.DOCTYPE);continue;case T.DOCTYPE_DTD:t.doctype+=r,"]"===r?t.state=T.DOCTYPE:_(r)&&(t.state=T.DOCTYPE_DTD_QUOTED,t.q=r);continue;case T.DOCTYPE_DTD_QUOTED:t.doctype+=r,r===t.q&&(t.state=T.DOCTYPE_DTD,t.q="");continue;case T.COMMENT:"-"===r?t.state=T.COMMENT_ENDING:t.comment+=r;continue;case T.COMMENT_ENDING:"-"===r?(t.state=T.COMMENT_ENDED,t.comment=L(t.opt,t.comment),t.comment&&O(t,"oncomment",t.comment),t.comment=""):(t.comment+="-"+r,t.state=T.COMMENT);continue;case T.COMMENT_ENDED:">"!==r?(P(t,"Malformed comment"),t.comment+="--"+r,t.state=T.COMMENT):t.state=T.TEXT;continue;case T.CDATA:"]"===r?t.state=T.CDATA_ENDING:t.cdata+=r;continue;case T.CDATA_ENDING:"]"===r?t.state=T.CDATA_ENDING_2:(t.cdata+="]"+r,t.state=T.CDATA);continue;case T.CDATA_ENDING_2:">"===r?(t.cdata&&O(t,"oncdata",t.cdata),O(t,"onclosecdata"),t.cdata="",t.state=T.TEXT):"]"===r?t.cdata+="]":(t.cdata+="]]"+r,t.state=T.CDATA);continue;case T.PROC_INST:"?"===r?t.state=T.PROC_INST_ENDING:w(r)?t.state=T.PROC_INST_BODY:t.procInstName+=r;continue;case T.PROC_INST_BODY:if(!t.procInstBody&&w(r))continue;"?"===r?t.state=T.PROC_INST_ENDING:t.procInstBody+=r;continue;case T.PROC_INST_ENDING:">"===r?(O(t,"onprocessinginstruction",{name:t.procInstName,body:t.procInstBody}),t.procInstName=t.procInstBody="",t.state=T.TEXT):(t.procInstBody+="?"+r,t.state=T.PROC_INST_BODY);continue;case T.OPEN_TAG:S(y,r)?t.tagName+=r:(B(t),">"===r?U(t):"/"===r?t.state=T.OPEN_TAG_SLASH:(w(r)||P(t,"Invalid character in tag name"),t.state=T.ATTRIB));continue;case T.OPEN_TAG_SLASH:">"===r?(U(t,!0),H(t)):(P(t,"Forward-slash in opening tag not followed by >"),t.state=T.ATTRIB);continue;case T.ATTRIB:if(w(r))continue;">"===r?U(t):"/"===r?t.state=T.OPEN_TAG_SLASH:S(v,r)?(t.attribName=r,t.attribValue="",t.state=T.ATTRIB_NAME):P(t,"Invalid attribute name");continue;case T.ATTRIB_NAME:"="===r?t.state=T.ATTRIB_VALUE:">"===r?(P(t,"Attribute without value"),t.attribValue=t.attribName,z(t),U(t)):w(r)?t.state=T.ATTRIB_NAME_SAW_WHITE:S(y,r)?t.attribName+=r:P(t,"Invalid attribute name");continue;case T.ATTRIB_NAME_SAW_WHITE:if("="===r)t.state=T.ATTRIB_VALUE;else{if(w(r))continue;P(t,"Attribute without value"),t.tag.attributes[t.attribName]="",t.attribValue="",O(t,"onattribute",{name:t.attribName,value:""}),t.attribName="",">"===r?U(t):S(v,r)?(t.attribName=r,t.state=T.ATTRIB_NAME):(P(t,"Invalid attribute name"),t.state=T.ATTRIB)}continue;case T.ATTRIB_VALUE:if(w(r))continue;_(r)?(t.q=r,t.state=T.ATTRIB_VALUE_QUOTED):(P(t,"Unquoted attribute value"),t.state=T.ATTRIB_VALUE_UNQUOTED,t.attribValue=r);continue;case T.ATTRIB_VALUE_QUOTED:if(r!==t.q){"&"===r?t.state=T.ATTRIB_VALUE_ENTITY_Q:t.attribValue+=r;continue}z(t),t.q="",t.state=T.ATTRIB_VALUE_CLOSED;continue;case T.ATTRIB_VALUE_CLOSED:w(r)?t.state=T.ATTRIB:">"===r?U(t):"/"===r?t.state=T.OPEN_TAG_SLASH:S(v,r)?(P(t,"No whitespace between attributes"),t.attribName=r,t.attribValue="",t.state=T.ATTRIB_NAME):P(t,"Invalid attribute name");continue;case T.ATTRIB_VALUE_UNQUOTED:if(!j(r)){"&"===r?t.state=T.ATTRIB_VALUE_ENTITY_U:t.attribValue+=r;continue}z(t),">"===r?U(t):t.state=T.ATTRIB;continue;case T.CLOSE_TAG:if(t.tagName)">"===r?H(t):S(y,r)?t.tagName+=r:t.script?(t.script+="</"+t.tagName,t.tagName="",t.state=T.SCRIPT):(w(r)||P(t,"Invalid tagname in closing tag"),t.state=T.CLOSE_TAG_SAW_WHITE);else{if(w(r))continue;C(v,r)?t.script?(t.script+="</"+r,t.state=T.SCRIPT):P(t,"Invalid tagname in closing tag."):t.tagName=r}continue;case T.CLOSE_TAG_SAW_WHITE:if(w(r))continue;">"===r?H(t):P(t,"Invalid characters in closing tag");continue;case T.TEXT_ENTITY:case T.ATTRIB_VALUE_ENTITY_Q:case T.ATTRIB_VALUE_ENTITY_U:var a,c;switch(t.state){case T.TEXT_ENTITY:a=T.TEXT,c="textNode";break;case T.ATTRIB_VALUE_ENTITY_Q:a=T.ATTRIB_VALUE_QUOTED,c="attribValue";break;case T.ATTRIB_VALUE_ENTITY_U:a=T.ATTRIB_VALUE_UNQUOTED,c="attribValue"}";"===r?(t[c]+=q(t),t.entity="",t.state=a):S(t.entity.length?x:b,r)?t.entity+=r:(P(t,"Invalid character in entity name"),t[c]+="&"+t.entity+r,t.entity="",t.state=a);continue;default:throw new Error(t,"Unknown state: "+t.state)}return t.position>=t.bufferCheckPosition&&s(t),t}T=n.STATE,String.fromCodePoint||(A=String.fromCharCode,k=Math.floor,E=function(){var e,t,n=16384,r=[],i=-1,o=arguments.length;if(!o)return"";for(var s="";++i<o;){var a=Number(arguments[i]);if(!isFinite(a)||a<0||a>1114111||k(a)!==a)throw RangeError("Invalid code point: "+a);a<=65535?r.push(a):(e=55296+((a-=65536)>>10),t=a%1024+56320,r.push(e,t)),(i+1===o||r.length>n)&&(s+=A.apply(null,r),r.length=0)}return s},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:E,configurable:!0,writable:!0}):String.fromCodePoint=E)}(void 0===n?this.sax={}:n)}).call(this)}).call(this,e("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(e,t,n){t.exports=i;var r=e("events").EventEmitter;function i(){r.call(this)}e("inherits")(i,r),i.Readable=e("readable-stream/lib/_stream_readable.js"),i.Writable=e("readable-stream/lib/_stream_writable.js"),i.Duplex=e("readable-stream/lib/_stream_duplex.js"),i.Transform=e("readable-stream/lib/_stream_transform.js"),i.PassThrough=e("readable-stream/lib/_stream_passthrough.js"),i.finished=e("readable-stream/lib/internal/streams/end-of-stream.js"),i.pipeline=e("readable-stream/lib/internal/streams/pipeline.js"),i.Stream=i,i.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",a),n.on("close",c));var s=!1;function a(){s||(s=!0,e.end())}function c(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",a),n.removeListener("close",c),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",l),e.on("error",l),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},{events:344,inherits:364,"readable-stream/lib/_stream_duplex.js":400,"readable-stream/lib/_stream_passthrough.js":401,"readable-stream/lib/_stream_readable.js":402,"readable-stream/lib/_stream_transform.js":403,"readable-stream/lib/_stream_writable.js":404,"readable-stream/lib/internal/streams/end-of-stream.js":408,"readable-stream/lib/internal/streams/pipeline.js":410}],399:[function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i={};function o(e,t,n){function o(e,n,r){return"string"==typeof t?t:t(e,n,r)}n||(n=Error);var s=function(e){function t(t,n,r){return e.call(this,o(t,n,r))||this}return r(t,e),t}(n);s.prototype.name=n.name,s.prototype.code=e,i[e]=s}function s(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}function a(e,t,n){return e.substr(!n||n<0?0:+n,t.length)===t}function c(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}function l(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}o("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,i;if("string"==typeof t&&a(t,"not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be",c(e," argument"))i="The ".concat(e," ").concat(r," ").concat(s(t,"type"));else{var o=l(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(o," ").concat(r," ").concat(s(t,"type"))}return i+=". Received type ".concat(typeof n)}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=i},{}],400:[function(e,t,n){(function(n){(function(){"use strict";var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=l;var i=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(l,i);for(var s=r(o.prototype),a=0;a<s.length;a++){var c=s[a];l.prototype[c]||(l.prototype[c]=o.prototype[c])}function l(e){if(!(this instanceof l))return new l(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,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)}})}).call(this)}).call(this,e("_process"))},{"./_stream_readable":402,"./_stream_writable":404,_process:467,inherits:364}],401:[function(e,t,n){"use strict";t.exports=i;var r=e("./_stream_transform");function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}e("inherits")(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":403,inherits:364}],402:[function(e,n,r){(function(t,r){(function(){"use strict";var i;n.exports=E,E.ReadableState=k,e("events").EventEmitter;var o=function(e,t){return e.listeners(t).length},s=e("./internal/streams/stream"),a=e("buffer").Buffer,c=(void 0!==r?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};function l(e){return a.from(e)}function u(e){return a.isBuffer(e)||e instanceof c}var d,f=e("util");d=f&&f.debuglog?f.debuglog("stream"):function(){};var p,h,m,g=e("./internal/streams/buffer_list"),v=e("./internal/streams/destroy"),y=e("./internal/streams/state").getHighWaterMark,b=e("../errors").codes,x=b.ERR_INVALID_ARG_TYPE,w=b.ERR_STREAM_PUSH_AFTER_EOF,_=b.ERR_METHOD_NOT_IMPLEMENTED,j=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(E,s);var S=v.errorOrDestroy,C=["error","close","destroy","pause","resume"];function A(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function k(t,n,r){i=i||e("./_stream_duplex"),t=t||{},"boolean"!=typeof r&&(r=n instanceof i),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=y(this,t,"readableHighWaterMark",r),this.buffer=new g,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.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=e("string_decoder/").StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function E(t){if(i=i||e("./_stream_duplex"),!(this instanceof E))return new E(t);var n=this instanceof i;this._readableState=new k(t,this,n),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),s.call(this)}function T(e,t,n,r,i){d("readableAddChunk",t);var o,s=e._readableState;if(null===t)s.reading=!1,I(e,s);else if(i||(o=D(s,t)),o)S(e,o);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=l(t)),r)s.endEmitted?S(e,new j):M(e,s,t,!0);else if(s.ended)S(e,new w);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?M(e,s,t,!1):B(e,s)):M(e,s,t,!1)}else r||(s.reading=!1,B(e,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function M(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&R(e)),B(e,t)}function D(e,t){var n;return u(t)||"string"==typeof t||void 0===t||e.objectMode||(n=new x("chunk",["string","Buffer","Uint8Array"],t)),n}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),E.prototype.destroy=v.destroy,E.prototype._undestroy=v.undestroy,E.prototype._destroy=function(e,t){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)!==r.encoding&&(e=a.from(e,t),t=""),n=!0),T(this,e,t,!1,n)},E.prototype.unshift=function(e){return T(this,e,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(t){p||(p=e("string_decoder/").StringDecoder);var n=new p(t);this._readableState.decoder=n,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=n.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var O=1073741824;function N(e){return e>=O?e=O:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function L(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=N(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function I(e,t){if(d("onEofChunk"),!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,t.sync?R(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,P(e)))}}function R(e){var n=e._readableState;d("emitReadable",n.needReadable,n.emittedReadable),n.needReadable=!1,n.emittedReadable||(d("emitReadable",n.flowing),n.emittedReadable=!0,t.nextTick(P,e))}function P(e){var t=e._readableState;d("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,Z(e)}function B(e,n){n.readingMore||(n.readingMore=!0,t.nextTick(F,e,n))}function F(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(d("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function z(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,Z(e))}}function U(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function H(e){d("readable nexttick read 0"),e.read(0)}function q(e,n){n.resumeScheduled||(n.resumeScheduled=!0,t.nextTick(W,e,n))}function W(e,t){d("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),Z(e),t.flowing&&!t.reading&&e.read(0)}function Z(e){var t=e._readableState;for(d("flow",t.flowing);t.flowing&&null!==e.read(););}function G(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.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function V(e){var n=e._readableState;d("endReadable",n.endEmitted),n.endEmitted||(n.ended=!0,t.nextTick(Y,n,e))}function Y(e,t){if(d("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function K(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){d("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?V(this):R(this),null;if(0===(e=L(e,t))&&t.ended)return 0===t.length&&V(this),null;var r,i=t.needReadable;return d("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&d("length less than watermark",i=!0),t.ended||t.reading?d("reading or ended",i=!1):i&&(d("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=L(n,t))),null===(r=e>0?G(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&V(this)),null!==r&&this.emit("data",r),r},E.prototype._read=function(e){S(this,new _("_read()"))},E.prototype.pipe=function(e,n){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)}i.pipesCount+=1,d("pipe count=%d opts=%j",i.pipesCount,n);var s=n&&!1===n.end||e===t.stdout||e===t.stderr?v:c;function a(e,t){d("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,f())}function c(){d("onend"),e.end()}i.endEmitted?t.nextTick(s):r.once("end",s),e.on("unpipe",a);var l=z(r);e.on("drain",l);var u=!1;function f(){d("cleanup"),e.removeListener("close",m),e.removeListener("finish",g),e.removeListener("drain",l),e.removeListener("error",h),e.removeListener("unpipe",a),r.removeListener("end",c),r.removeListener("end",v),r.removeListener("data",p),u=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||l()}function p(t){d("ondata");var n=e.write(t);d("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==K(i.pipes,e))&&!u&&(d("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function h(t){d("onerror",t),v(),e.removeListener("error",h),0===o(e,"error")&&S(e,t)}function m(){e.removeListener("finish",g),v()}function g(){d("onfinish"),e.removeListener("close",m),v()}function v(){d("unpipe"),r.unpipe(e)}return r.on("data",p),A(e,"error",h),e.once("close",m),e.once("finish",g),e.emit("pipe",r),i.flowing||(d("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,{hasUnpiped:!1});return this}var s=K(t.pipes,e);return-1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},E.prototype.on=function(e,n){var r=s.prototype.on.call(this,e,n),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,d("on readable",i.length,i.reading),i.length?R(this):i.reading||t.nextTick(H,this))),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,n){var r=s.prototype.removeListener.call(this,e,n);return"readable"===e&&t.nextTick(U,this),r},E.prototype.removeAllListeners=function(e){var n=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||t.nextTick(U,this),n},E.prototype.resume=function(){var e=this._readableState;return e.flowing||(d("resume"),e.flowing=!e.readableListening,q(this,e)),e.paused=!1,this},E.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(d("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){d("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i||(n.objectMode||i&&i.length)&&(t.push(i)||(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){d("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=e("./internal/streams/async_iterator")),h(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),E._fromList=G,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(E.from=function(t,n){return void 0===m&&(m=e("./internal/streams/from")),m(E,t,n)})}).call(this)}).call(this,e("_process"),void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/async_iterator":405,"./internal/streams/buffer_list":406,"./internal/streams/destroy":407,"./internal/streams/from":409,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,events:344,inherits:364,"string_decoder/":413,util:89}],403:[function(e,t,n){"use strict";t.exports=u;var r=e("../errors").codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,s=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,c=e("./_stream_duplex");function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);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 u(e){if(!(this instanceof u))return new u(e);c.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",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush((function(t,n){f(e,t,n)}))}function f(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new a;if(e._transformState.transforming)throw new s;return e.push(null)}e("inherits")(u,c),u.prototype.push=function(e,t){return this._transformState.needTransform=!1,c.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,n){n(new i("_transform()"))},u.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)}},u.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},u.prototype._destroy=function(e,t){c.prototype._destroy.call(this,e,(function(e){t(e)}))}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(e,n,r){(function(t,r){(function(){"use strict";function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){W(t,e)}}var o;n.exports=k,k.WritableState=A;var s={deprecate:e("util-deprecate")},a=e("./internal/streams/stream"),c=e("buffer").Buffer,l=(void 0!==r?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};function u(e){return c.from(e)}function d(e){return c.isBuffer(e)||e instanceof l}var f,p=e("./internal/streams/destroy"),h=e("./internal/streams/state").getHighWaterMark,m=e("../errors").codes,g=m.ERR_INVALID_ARG_TYPE,v=m.ERR_METHOD_NOT_IMPLEMENTED,y=m.ERR_MULTIPLE_CALLBACK,b=m.ERR_STREAM_CANNOT_PIPE,x=m.ERR_STREAM_DESTROYED,w=m.ERR_STREAM_NULL_VALUES,_=m.ERR_STREAM_WRITE_AFTER_END,j=m.ERR_UNKNOWN_ENCODING,S=p.errorOrDestroy;function C(){}function A(t,n,r){o=o||e("./_stream_duplex"),t=t||{},"boolean"!=typeof r&&(r=n instanceof o),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=h(this,t,"writableHighWaterMark",r),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){I(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function k(t){var n=this instanceof(o=o||e("./_stream_duplex"));if(!n&&!f.call(k,this))return new k(t);this._writableState=new A(t,this,n),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)),a.call(this)}function E(e,n){var r=new _;S(e,r),t.nextTick(n,r)}function T(e,n,r,i){var o;return null===r?o=new w:"string"==typeof r||n.objectMode||(o=new g("chunk",["string","Buffer"],r)),!o||(S(e,o),t.nextTick(i,o),!1)}function M(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=c.from(t,n)),t}function D(e,t,n,r,i,o){if(!n){var s=M(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=t.objectMode?1:r.length;t.length+=a;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else O(e,t,!1,a,r,i,o);return c}function O(e,t,n,r,i,o,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new x("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function N(e,n,r,i,o){--n.pendingcb,r?(t.nextTick(o,i),t.nextTick(H,e,n),e._writableState.errorEmitted=!0,S(e,i)):(o(i),e._writableState.errorEmitted=!0,S(e,i),H(e,n))}function L(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function I(e,n){var r=e._writableState,i=r.sync,o=r.writecb;if("function"!=typeof o)throw new y;if(L(r),n)N(e,r,i,n,o);else{var s=F(r)||e.destroyed;s||r.corked||r.bufferProcessing||!r.bufferedRequest||B(e,r),i?t.nextTick(R,e,r,s,o):R(e,r,s,o)}}function R(e,t,n,r){n||P(e,t),t.pendingcb--,r(),H(e,t)}function P(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function B(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),s=t.corkedRequestsFree;s.entry=n;for(var a=0,c=!0;n;)o[a]=n,n.isBuf||(c=!1),n=n.next,a+=1;o.allBuffers=c,O(e,t,!0,t.length,o,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,u=n.encoding,d=n.callback;if(O(e,t,!1,t.objectMode?1:l.length,l,u,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function F(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function z(e,t){e._final((function(n){t.pendingcb--,n&&S(e,n),t.prefinished=!0,e.emit("prefinish"),H(e,t)}))}function U(e,n){n.prefinished||n.finalCalled||("function"!=typeof e._final||n.destroyed?(n.prefinished=!0,e.emit("prefinish")):(n.pendingcb++,n.finalCalled=!0,t.nextTick(z,e,n)))}function H(e,t){var n=F(t);if(n&&(U(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}function q(e,n,r){n.ending=!0,H(e,n),r&&(n.finished?t.nextTick(r):e.once("finish",r)),n.ended=!0,e.writable=!1}function W(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}e("inherits")(k,a),A.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(A.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(e){return!!f.call(this,e)||this===k&&e&&e._writableState instanceof A}})):f=function(e){return e instanceof this},k.prototype.pipe=function(){S(this,new b)},k.prototype.write=function(e,t,n){var r=this._writableState,i=!1,o=!r.objectMode&&d(e);return o&&!c.isBuffer(e)&&(e=u(e)),"function"==typeof t&&(n=t,t=null),o?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=C),r.ending?E(this,n):(o||T(this,r,e,n))&&(r.pendingcb++,i=D(this,r,o,e,t,n)),i},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||B(this,e))},k.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 j(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(e,t,n){n(new v("_write()"))},k.prototype._writev=null,k.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||q(this,r,n),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),k.prototype.destroy=p.destroy,k.prototype._undestroy=p.undestroy,k.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e("_process"),void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/destroy":407,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,inherits:364,"util-deprecate":416}],405:[function(e,t,n){(function(n){(function(){"use strict";var r;function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t=s(e,"string");return"symbol"==typeof t?t:String(t)}function s(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var a=e("./end-of-stream"),c=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),d=Symbol("ended"),f=Symbol("lastPromise"),p=Symbol("handlePromise"),h=Symbol("stream");function m(e,t){return{value:e,done:t}}function g(e){var t=e[c];if(null!==t){var n=e[h].read();null!==n&&(e[f]=null,e[c]=null,e[l]=null,t(m(n,!1)))}}function v(e){n.nextTick(g,e)}function y(e,t){return function(n,r){e.then((function(){t[d]?n(m(void 0,!0)):t[p](n,r)}),r)}}var b=Object.getPrototypeOf((function(){})),x=Object.setPrototypeOf((i(r={get stream(){return this[h]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[d])return Promise.resolve(m(void 0,!0));if(this[h].destroyed)return new Promise((function(t,r){n.nextTick((function(){e[u]?r(e[u]):t(m(void 0,!0))}))}));var r,i=this[f];if(i)r=new Promise(y(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(m(o,!1));r=new Promise(this[p])}return this[f]=r,r}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var e=this;return new Promise((function(t,n){e[h].destroy(null,(function(e){e?n(e):t(m(void 0,!0))}))}))})),r),b),w=function(e){var t,n=Object.create(x,(i(t={},h,{value:e,writable:!0}),i(t,c,{value:null,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,d,{value:e._readableState.endEmitted,writable:!0}),i(t,p,{value:function(e,t){var r=n[h].read();r?(n[f]=null,n[c]=null,n[l]=null,e(m(r,!1))):(n[c]=e,n[l]=t)},writable:!0}),t));return n[f]=null,a(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[l];return null!==t&&(n[f]=null,n[c]=null,n[l]=null,t(e)),void(n[u]=e)}var r=n[c];null!==r&&(n[f]=null,n[c]=null,n[l]=null,r(m(void 0,!0))),n[d]=!0})),e.on("readable",v.bind(null,n)),n};t.exports=w}).call(this)}).call(this,e("_process"))},{"./end-of-stream":408,_process:467}],406:[function(e,t,n){"use strict";function r(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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,l(r.key),r)}}function c(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e){var t=u(e,"string");return"symbol"==typeof t?t:String(t)}function u(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var d=e("buffer").Buffer,f=e("util").inspect,p=f&&f.custom||"inspect";function h(e,t,n){d.prototype.copy.call(e,t,n)}t.exports=function(){function e(){s(this,e),this.head=null,this.tail=null,this.length=0}return c(e,[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value: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}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return d.alloc(0);for(var t=d.allocUnsafe(e>>>0),n=this.head,r=0;n;)h(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=d.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:p,value:function(e,t){return f(this,i(i({},t),{},{depth:0,customInspect:!1}))}}]),e}()},{buffer:90,util:89}],407:[function(e,t,n){(function(e){(function(){"use strict";function n(t,n){var o=this,a=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return a||c?(n?n(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(s,this,t)):e.nextTick(s,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!n&&t?o._writableState?o._writableState.errorEmitted?e.nextTick(i,o):(o._writableState.errorEmitted=!0,e.nextTick(r,o,t)):e.nextTick(r,o,t):n?(e.nextTick(i,o),n(t)):e.nextTick(i,o)})),this)}function r(e,t){s(e,t),i(e)}function i(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}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.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function s(e,t){e.emit("error",t)}function a(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}t.exports={destroy:n,undestroy:o,errorOrDestroy:a}}).call(this)}).call(this,e("_process"))},{_process:467}],408:[function(e,t,n){"use strict";var r=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function i(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}function o(){}function s(e){return e.setHeader&&"function"==typeof e.abort}function a(e,t,n){if("function"==typeof t)return a(e,null,t);t||(t={}),n=i(n||o);var c=t.readable||!1!==t.readable&&e.readable,l=t.writable||!1!==t.writable&&e.writable,u=function(){e.writable||f()},d=e._writableState&&e._writableState.finished,f=function(){l=!1,d=!0,c||n.call(e)},p=e._readableState&&e._readableState.endEmitted,h=function(){c=!1,p=!0,l||n.call(e)},m=function(t){n.call(e,t)},g=function(){var t;return c&&!p?(e._readableState&&e._readableState.ended||(t=new r),n.call(e,t)):l&&!d?(e._writableState&&e._writableState.ended||(t=new r),n.call(e,t)):void 0},v=function(){e.req.on("finish",f)};return s(e)?(e.on("complete",f),e.on("abort",g),e.req?v():e.on("request",v)):l&&!e._writableState&&(e.on("end",u),e.on("close",u)),e.on("end",h),e.on("finish",f),!1!==t.error&&e.on("error",m),e.on("close",g),function(){e.removeListener("complete",f),e.removeListener("abort",g),e.removeListener("request",v),e.req&&e.req.removeListener("finish",f),e.removeListener("end",u),e.removeListener("close",u),e.removeListener("finish",f),e.removeListener("end",h),e.removeListener("error",m),e.removeListener("close",g)}}t.exports=a},{"../../../errors":399}],409:[function(e,t,n){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(e,t,n){"use strict";var r;function i(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var o=e("../../../errors").codes,s=o.ERR_MISSING_ARGS,a=o.ERR_STREAM_DESTROYED;function c(e){if(e)throw e}function l(e){return e.setHeader&&"function"==typeof e.abort}function u(t,n,o,s){s=i(s);var c=!1;t.on("close",(function(){c=!0})),void 0===r&&(r=e("./end-of-stream")),r(t,{readable:n,writable:o},(function(e){if(e)return s(e);c=!0,s()}));var u=!1;return function(e){if(!c&&!u)return u=!0,l(t)?t.abort():"function"==typeof t.destroy?t.destroy():void s(e||new a("pipe"))}}function d(e){e()}function f(e,t){return e.pipe(t)}function p(e){return e.length?"function"!=typeof e[e.length-1]?c:e.pop():c}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=p(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new s("streams");var o=t.map((function(e,n){var s=n<t.length-1;return u(e,s,n>0,(function(e){r||(r=e),e&&o.forEach(d),s||(o.forEach(d),i(r))}))}));return t.reduce(f)}t.exports=h},{"../../../errors":399,"./end-of-stream":408}],411:[function(e,t,n){"use strict";var r=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;function i(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}function o(e,t,n,o){var s=i(t,o,n);if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0)throw new r(o?n:"highWaterMark",s);return Math.floor(s)}return e.objectMode?16:16384}t.exports={getHighWaterMark:o}},{"../../../errors":399}],412:[function(e,t,n){arguments[4][393][0].apply(n,arguments)},{dup:393,events:344}],413:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=r.isEncoding||function(e){switch((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";for(var t;;)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 s(e){var t=o(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}function a(e){var t;switch(this.encoding=s(e),this.encoding){case"utf16le":this.text=h,this.end=m,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=g,this.end=v,t=3;break;default:return this.write=y,void(this.end=b)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function c(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function l(e,t,n){var r=t.length-1;if(r<n)return 0;var i=c(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||-2===i?0:(i=c(t[r]))>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||-2===i?0:(i=c(t[r]))>=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,"<22>";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"<22>";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"<22>"}}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 f(e,t){var n=l(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 p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"<22>":t}function h(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 m(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 v(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function y(e){return e.toString(this.encoding)}function b(e){return e&&e.length?this.write(e):""}n.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))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||""},a.prototype.end=p,a.prototype.text=f,a.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":396}],414:[function(e,t,n){(function(t,r){(function(){var i=e("process/browser.js").nextTick,o=Function.prototype.apply,s=Array.prototype.slice,a={},c=0;function l(e,t){this._id=e,this._clearFn=t}n.setTimeout=function(){return new l(o.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new l(o.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},l.prototype.unref=l.prototype.ref=function(){},l.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=c++,r=!(arguments.length<2)&&s.call(arguments,1);return a[t]=!0,i((function(){a[t]&&(r?e.apply(null,r):e.call(null),n.clearImmediate(t))})),t},n.clearImmediate="function"==typeof r?r:function(e){delete a[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[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:90}],416:[function(e,n,r){(function(e){(function(){function t(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(e){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}n.exports=t}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],417:[function(e,t,n){arguments[4][84][0].apply(n,arguments)},{dup:84}],418:[function(e,t,n){"use strict";var r=e("is-arguments"),i=e("is-generator-function"),o=e("which-typed-array"),s=e("is-typed-array");function a(e){return e.call.bind(e)}var c="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,u=a(Object.prototype.toString),d=a(Number.prototype.valueOf),f=a(String.prototype.valueOf),p=a(Boolean.prototype.valueOf);if(c)var h=a(BigInt.prototype.valueOf);if(l)var m=a(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function v(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch}function y(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):s(e)||U(e)}function b(e){return"Uint8Array"===o(e)}function x(e){return"Uint8ClampedArray"===o(e)}function w(e){return"Uint16Array"===o(e)}function _(e){return"Uint32Array"===o(e)}function j(e){return"Int8Array"===o(e)}function S(e){return"Int16Array"===o(e)}function C(e){return"Int32Array"===o(e)}function A(e){return"Float32Array"===o(e)}function k(e){return"Float64Array"===o(e)}function E(e){return"BigInt64Array"===o(e)}function T(e){return"BigUint64Array"===o(e)}function M(e){return"[object Map]"===u(e)}function D(e){return"undefined"!=typeof Map&&(M.working?M(e):e instanceof Map)}function O(e){return"[object Set]"===u(e)}function N(e){return"undefined"!=typeof Set&&(O.working?O(e):e instanceof Set)}function L(e){return"[object WeakMap]"===u(e)}function I(e){return"undefined"!=typeof WeakMap&&(L.working?L(e):e instanceof WeakMap)}function R(e){return"[object WeakSet]"===u(e)}function P(e){return R(e)}function B(e){return"[object ArrayBuffer]"===u(e)}function F(e){return"undefined"!=typeof ArrayBuffer&&(B.working?B(e):e instanceof ArrayBuffer)}function z(e){return"[object DataView]"===u(e)}function U(e){return"undefined"!=typeof DataView&&(z.working?z(e):e instanceof DataView)}n.isArgumentsObject=r,n.isGeneratorFunction=i,n.isTypedArray=s,n.isPromise=v,n.isArrayBufferView=y,n.isUint8Array=b,n.isUint8ClampedArray=x,n.isUint16Array=w,n.isUint32Array=_,n.isInt8Array=j,n.isInt16Array=S,n.isInt32Array=C,n.isFloat32Array=A,n.isFloat64Array=k,n.isBigInt64Array=E,n.isBigUint64Array=T,M.working="undefined"!=typeof Map&&M(new Map),n.isMap=D,O.working="undefined"!=typeof Set&&O(new Set),n.isSet=N,L.working="undefined"!=typeof WeakMap&&L(new WeakMap),n.isWeakMap=I,R.working="undefined"!=typeof WeakSet&&R(new WeakSet),n.isWeakSet=P,B.working="undefined"!=typeof ArrayBuffer&&B(new ArrayBuffer),n.isArrayBuffer=F,z.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&z(new DataView(new ArrayBuffer(1),0,1)),n.isDataView=U;var H="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function q(e){return"[object SharedArrayBuffer]"===u(e)}function W(e){return void 0!==H&&(void 0===q.working&&(q.working=q(new H)),q.working?q(e):e instanceof H)}function Z(e){return"[object AsyncFunction]"===u(e)}function G(e){return"[object Map Iterator]"===u(e)}function V(e){return"[object Set Iterator]"===u(e)}function Y(e){return"[object Generator]"===u(e)}function K(e){return"[object WebAssembly.Module]"===u(e)}function X(e){return g(e,d)}function Q(e){return g(e,f)}function J(e){return g(e,p)}function $(e){return c&&g(e,h)}function ee(e){return l&&g(e,m)}function te(e){return X(e)||Q(e)||J(e)||$(e)||ee(e)}function ne(e){return"undefined"!=typeof Uint8Array&&(F(e)||W(e))}n.isSharedArrayBuffer=W,n.isAsyncFunction=Z,n.isMapIterator=G,n.isSetIterator=V,n.isGeneratorObject=Y,n.isWebAssemblyCompiledModule=K,n.isNumberObject=X,n.isStringObject=Q,n.isBooleanObject=J,n.isBigIntObject=$,n.isSymbolObject=ee,n.isBoxedPrimitive=te,n.isAnyArrayBuffer=ne,["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(n,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(e,t,n){(function(t){(function(){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;n.format=function(e){if(!j(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(c(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,s=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(e){return"[Circular]"}default:return e}})),a=r[n];n<o;a=r[++n])x(a)||!k(a)?s+=" "+a:s+=" "+c(a);return s},n.deprecate=function(e,r){if(void 0!==t&&!0===t.noDeprecation)return e;if(void 0===t)return function(){return n.deprecate(e,r).apply(this,arguments)};var i=!1;function o(){if(!i){if(t.throwDeprecation)throw new Error(r);t.traceDeprecation?console.trace(r):console.error(r),i=!0}return e.apply(this,arguments)}return o};var o={},s=/^$/;if(t.env.NODE_DEBUG){var a=t.env.NODE_DEBUG;a=a.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+a+"$","i")}function c(e,t){var r={seen:[],stylize:u};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),b(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),f(r,e,r.depth)}function l(e,t){var n=c.styles[t];return n?"["+c.colors[n][0]+"m"+e+"["+c.colors[n][1]+"m":e}function u(e,t){return e}function d(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}function f(e,t,r){if(e.customInspect&&t&&M(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(r,e);return j(i)||(i=f(e,i,r)),i}var o=p(e,t);if(o)return o;var s=Object.keys(t),a=d(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),T(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return h(t);if(0===s.length){if(M(t)){var c=t.name?": "+t.name:"";return e.stylize("[Function"+c+"]","special")}if(A(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(E(t))return e.stylize(Date.prototype.toString.call(t),"date");if(T(t))return h(t)}var l,u="",b=!1,x=["{","}"];return y(t)&&(b=!0,x=["[","]"]),M(t)&&(u=" [Function"+(t.name?": "+t.name:"")+"]"),A(t)&&(u=" "+RegExp.prototype.toString.call(t)),E(t)&&(u=" "+Date.prototype.toUTCString.call(t)),T(t)&&(u=" "+h(t)),0!==s.length||b&&0!=t.length?r<0?A(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=b?m(e,t,r,a,s):s.map((function(n){return g(e,t,r,a,n,b)})),e.seen.pop(),v(l,u,x)):x[0]+u+x[1]}function p(e,t){if(C(t))return e.stylize("undefined","undefined");if(j(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return _(t)?e.stylize(""+t,"number"):b(t)?e.stylize(""+t,"boolean"):x(t)?e.stylize("null","null"):void 0}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function m(e,t,n,r,i){for(var o=[],s=0,a=t.length;s<a;++s)R(t,String(s))?o.push(g(e,t,n,r,String(s),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(g(e,t,n,r,i,!0))})),o}function g(e,t,n,r,i,o){var s,a,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),R(r,i)||(s="["+i+"]"),a||(e.seen.indexOf(c.value)<0?(a=x(n)?f(e,c.value,null):f(e,c.value,n-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),C(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function v(e,t,n){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function y(e){return Array.isArray(e)}function b(e){return"boolean"==typeof e}function x(e){return null===e}function w(e){return null==e}function _(e){return"number"==typeof e}function j(e){return"string"==typeof e}function S(e){return"symbol"==typeof e}function C(e){return void 0===e}function A(e){return k(e)&&"[object RegExp]"===O(e)}function k(e){return"object"==typeof e&&null!==e}function E(e){return k(e)&&"[object Date]"===O(e)}function T(e){return k(e)&&("[object Error]"===O(e)||e instanceof Error)}function M(e){return"function"==typeof e}function D(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function O(e){return Object.prototype.toString.call(e)}function N(e){return e<10?"0"+e.toString(10):e.toString(10)}n.debuglog=function(e){if(e=e.toUpperCase(),!o[e])if(s.test(e)){var r=t.pid;o[e]=function(){var t=n.format.apply(n,arguments);console.error("%s %d: %s",e,r,t)}}else o[e]=function(){};return o[e]},n.inspect=c,c.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]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.types=e("./support/types"),n.isArray=y,n.isBoolean=b,n.isNull=x,n.isNullOrUndefined=w,n.isNumber=_,n.isString=j,n.isSymbol=S,n.isUndefined=C,n.isRegExp=A,n.types.isRegExp=A,n.isObject=k,n.isDate=E,n.types.isDate=E,n.isError=T,n.types.isNativeError=T,n.isFunction=M,n.isPrimitive=D,n.isBuffer=e("./support/isBuffer");var L=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function I(){var e=new Date,t=[N(e.getHours()),N(e.getMinutes()),N(e.getSeconds())].join(":");return[e.getDate(),L[e.getMonth()],t].join(" ")}function R(e,t){return Object.prototype.hasOwnProperty.call(e,t)}n.log=function(){console.log("%s - %s",I(),n.format.apply(n,arguments))},n.inherits=e("inherits"),n._extend=function(e,t){if(!t||!k(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var P="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function B(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}function F(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var i=n.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,s=function(){return i.apply(o,arguments)};e.apply(this,n).then((function(e){t.nextTick(s.bind(null,null,e))}),(function(e){t.nextTick(B.bind(null,e,s))}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,r(e)),n}n.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(P&&e[P]){var t;if("function"!=typeof(t=e[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),P&&Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},n.promisify.custom=P,n.callbackify=F}).call(this)}).call(this,e("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(e,n,r){(function(t){(function(){"use strict";var r=e("for-each"),i=e("available-typed-arrays"),o=e("call-bind"),s=e("call-bind/callBound"),a=e("gopd"),c=s("Object.prototype.toString"),l=e("has-tostringtag/shams")(),u="undefined"==typeof globalThis?t:globalThis,d=i(),f=s("String.prototype.slice"),p=Object.getPrototypeOf,h=s("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},m={__proto__:null};r(d,l&&a&&p?function(e){var t=new u[e];if(Symbol.toStringTag in t){var n=p(t),r=a(n,Symbol.toStringTag);if(!r){var i=p(n);r=a(i,Symbol.toStringTag)}m["$"+e]=o(r.get)}}:function(e){var t=new u[e];m["$"+e]=o(t.slice)});var g=function(e){var t=!1;return r(m,(function(n,r){if(!t)try{"$"+n(e)===r&&(t=f(r,1))}catch(e){}})),t},v=function(e){var t=!1;return r(m,(function(n,r){if(!t)try{n(e),t=f(r,1)}catch(e){}})),t};n.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!l){var t=f(c(e),8,-1);return h(d,t)>-1?t:"Object"===t&&v(e)}return a?g(e):null}}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(e,t,n){(function(){"use strict";n.stripBOM=function(e){return"\ufeff"===e[0]?e.substring(1):e}}).call(this)},{}],422:[function(e,t,n){(function(){"use strict";var t,r,i,o,s,a={}.hasOwnProperty;t=e("xmlbuilder"),r=e("./defaults").defaults,o=function(e){return"string"==typeof e&&(e.indexOf("&")>=0||e.indexOf(">")>=0||e.indexOf("<")>=0)},s=function(e){return"<![CDATA["+i(e)+"]]>"},i=function(e){return e.replace("]]>","]]]]><![CDATA[>")},n.Builder=function(){function e(e){var t,n,i;for(t in this.options={},n=r[.2])a.call(n,t)&&(i=n[t],this.options[t]=i);for(t in e)a.call(e,t)&&(i=e[t],this.options[t]=i)}return e.prototype.buildObject=function(e){var n,i,c,l,u,d;return n=this.options.attrkey,i=this.options.charkey,1===Object.keys(e).length&&this.options.rootName===r[.2].rootName?e=e[u=Object.keys(e)[0]]:u=this.options.rootName,d=this,c=function(e,t){var r,l,u,f,p,h;if("object"!=typeof t)d.options.cdata&&o(t)?e.raw(s(t)):e.txt(t);else if(Array.isArray(t)){for(f in t)if(a.call(t,f))for(p in l=t[f])u=l[p],e=c(e.ele(p),u).up()}else for(p in t)if(a.call(t,p))if(l=t[p],p===n){if("object"==typeof l)for(r in l)h=l[r],e=e.att(r,h)}else if(p===i)e=d.options.cdata&&o(l)?e.raw(s(l)):e.txt(l);else if(Array.isArray(l))for(f in l)a.call(l,f)&&(e="string"==typeof(u=l[f])?d.options.cdata&&o(u)?e.ele(p).raw(s(u)).up():e.ele(p,u).up():c(e.ele(p),u).up());else"object"==typeof l?e=c(e.ele(p),l).up():"string"==typeof l&&d.options.cdata&&o(l)?e=e.ele(p).raw(s(l)).up():(null==l&&(l=""),e=e.ele(p,l.toString()).up());return e},l=t.create(u,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),c(l,e).end(this.options.renderOpts)},e}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(e,t,n){(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(this)},{}],424:[function(e,t,n){(function(){"use strict";var t,r,i,o,s,a,c,l,u,d=function(e,t){return function(){return e.apply(t,arguments)}},f=function(e,t){for(var n in t)p.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},p={}.hasOwnProperty;l=e("sax"),o=e("events"),t=e("./bom"),c=e("./processors"),u=e("timers").setImmediate,r=e("./defaults").defaults,s=function(e){return"object"==typeof e&&null!=e&&0===Object.keys(e).length},a=function(e,t,n){var r,i;for(r=0,i=e.length;r<i;r++)t=(0,e[r])(t,n);return t},i=function(e,t,n){var r;return(r=Object.create(null)).value=n,r.writable=!0,r.enumerable=!0,r.configurable=!0,Object.defineProperty(e,t,r)},n.Parser=function(e){function o(e){var t,i,o;if(this.parseStringPromise=d(this.parseStringPromise,this),this.parseString=d(this.parseString,this),this.reset=d(this.reset,this),this.assignOrPush=d(this.assignOrPush,this),this.processAsync=d(this.processAsync,this),!(this instanceof n.Parser))return new n.Parser(e);for(t in this.options={},i=r[.2])p.call(i,t)&&(o=i[t],this.options[t]=o);for(t in e)p.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(c.normalize)),this.reset()}return f(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),u(this.processAsync))}catch(e){if(t=e,!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||i(e,t,[e[t]]),e[t].push(n)):this.options.explicitArray?i(e,t,[n]):i(e,t,n)},o.prototype.reset=function(){var e,t,n,r,o;return this.removeAllListeners(),this.saxParser=l.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=(o=this,function(e){if(o.saxParser.resume(),!o.saxParser.errThrown)return o.saxParser.errThrown=!0,o.emit("error",e)}),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(o){var s,c,l,u,d;if((l={})[t]="",!n.options.ignoreAttrs)for(s in d=o.attributes)p.call(d,s)&&(e in l||n.options.mergeAttrs||(l[e]={}),c=n.options.attrValueProcessors?a(n.options.attrValueProcessors,o.attributes[s],s):o.attributes[s],u=n.options.attrNameProcessors?a(n.options.attrNameProcessors,s):s,n.options.mergeAttrs?n.assignOrPush(l,u,c):i(l[e],u,c));return l["#name"]=n.options.tagNameProcessors?a(n.options.tagNameProcessors,o.name):o.name,n.options.xmlns&&(l[n.options.xmlnskey]={uri:o.uri,local:o.local}),r.push(l)}}(this),this.saxParser.onclosetag=function(e){return function(){var n,o,c,l,u,d,f,h,m,g;if(d=r.pop(),u=d["#name"],e.options.explicitChildren&&e.options.preserveChildrenOrder||delete d["#name"],!0===d.cdata&&(n=d.cdata,delete d.cdata),m=r[r.length-1],d[t].match(/^\s*$/)&&!n?(o=d[t],delete d[t]):(e.options.trim&&(d[t]=d[t].trim()),e.options.normalize&&(d[t]=d[t].replace(/\s{2,}/g," ").trim()),d[t]=e.options.valueProcessors?a(e.options.valueProcessors,d[t],u):d[t],1===Object.keys(d).length&&t in d&&!e.EXPLICIT_CHARKEY&&(d=d[t])),s(d)&&(d="function"==typeof e.options.emptyTag?e.options.emptyTag():""!==e.options.emptyTag?e.options.emptyTag:o),null!=e.options.validator&&(g="/"+function(){var e,t,n;for(n=[],e=0,t=r.length;e<t;e++)l=r[e],n.push(l["#name"]);return n}().concat(u).join("/"),function(){var t;try{d=e.options.validator(g,m&&m[u],d)}catch(n){return t=n,e.emit("error",t)}}()),e.options.explicitChildren&&!e.options.mergeAttrs&&"object"==typeof d)if(e.options.preserveChildrenOrder){if(m){for(c in m[e.options.childkey]=m[e.options.childkey]||[],f={},d)p.call(d,c)&&i(f,c,d[c]);m[e.options.childkey].push(f),delete d["#name"],1===Object.keys(d).length&&t in d&&!e.EXPLICIT_CHARKEY&&(d=d[t])}}else l={},e.options.attrkey in d&&(l[e.options.attrkey]=d[e.options.attrkey],delete d[e.options.attrkey]),!e.options.charsAsChildren&&e.options.charkey in d&&(l[e.options.charkey]=d[e.options.charkey],delete d[e.options.charkey]),Object.getOwnPropertyNames(d).length>0&&(l[e.options.childkey]=d),d=l;return r.length>0?e.assignOrPush(m,u,d):(e.options.explicitRoot&&(h=d,i(d={},u,h)),e.resultObject=d,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])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__"})[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){var t;if(t=n(e))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()).trim()?(this.emit("end",null),!0):(e=t.stripBOM(e),this.options.async?(this.remaining=e,u(this.processAsync),this.saxParser):this.saxParser.write(e).close())}catch(e){if(r=e,!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 Promise((t=this,function(n,r){return t.parseString(e,(function(e,t){return e?r(e):n(t)}))}));var t},o}(o),n.parseString=function(e,t,r){var i,o;return null!=r?("function"==typeof r&&(i=r),"object"==typeof t&&(o=t)):("function"==typeof t&&(i=t),o={}),new n.Parser(o).parseString(e,i)},n.parseStringPromise=function(e,t){var r;return"object"==typeof t&&(r=t),new n.Parser(r).parseStringPromise(e)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(e,t,n){(function(){"use strict";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(this)},{}],426:[function(e,t,n){(function(){"use strict";var t,r,i,o,s=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("./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 s(t,e),t}(Error),n.Builder=t.Builder,n.Parser=i.Parser,n.parseString=i.parseString,n.parseStringPromise=i.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(e,t,n){(function(){t.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(e,t,n){(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(this)},{}],429:[function(e,t,n){(function(){var e,n,r,i,o,s,a,c=[].slice,l={}.hasOwnProperty;e=function(){var e,t,n,r,i,s;if(s=arguments[0],i=2<=arguments.length?c.call(arguments,1):[],o(Object.assign))Object.assign.apply(null,arguments);else for(e=0,n=i.length;e<n;e++)if(null!=(r=i[e]))for(t in r)l.call(r,t)&&(s[t]=r[t]);return s},o=function(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)},s=function(e){var t;return!!e&&("function"==(t=typeof e)||"object"===t)},r=function(e){return o(Array.isArray)?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},i=function(e){var t;if(r(e))return!e.length;for(t in e)if(l.call(e,t))return!1;return!0},a=function(e){var t,n;return s(e)&&(n=Object.getPrototypeOf(e))&&(t=n.constructor)&&"function"==typeof t&&t instanceof t&&Function.prototype.toString.call(t)===Function.prototype.toString.call(Object)},n=function(e){return o(e.valueOf)?e.valueOf():e},t.exports.assign=e,t.exports.isFunction=o,t.exports.isObject=s,t.exports.isArray=r,t.exports.isEmpty=i,t.exports.isPlainObject=a,t.exports.getValue=n}).call(this)},{}],430:[function(e,t,n){(function(){t.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(e,t,n){(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 Object.create(this)},e.prototype.toString=function(e){return this.options.writer.attribute(this,this.options.writer.filterOptions(e))},e.prototype.debugInfo=function(e){return null==(e=e||this.name)?"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(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(e,t,n){(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;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 i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.cdata(this,this.options.writer.filterOptions(e))},t}(r)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(e,t,n){(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("./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 Object.create(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(this)},{"./XMLNode":450}],434:[function(e,t,n){(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;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 i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.comment(this,this.options.writer.filterOptions(e))},t}(r)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(e,t,n){(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=Object.create(this.defaultParams)}return Object.defineProperty(e.prototype,"parameterNames",{get:function(){return new r(Object.keys(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(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(e,t,n){(function(){t.exports=function(){function e(){}return e.prototype.handleError=function(e){throw new Error(e)},e}()}).call(this)},{}],437:[function(e,t,n){(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(this)},{}],438:[function(e,t,n){(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(this)},{}],439:[function(e,t,n){(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,s,a){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(!s)throw new Error("Missing DTD attribute default. "+this.debugInfo(r));if(0!==s.indexOf("#")&&(s="#"+s),!s.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(r));if(a&&!s.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),a&&(this.defaultValue=this.stringify.dtdAttDefault(a)),this.defaultValueType=s}return i(t,e),t.prototype.toString=function(e){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(e))},t}(r)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(e,t,n){(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(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(e,t,n){(function(){var n,r,i,o=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;i=e("./Utility").isObject,r=e("./XMLNode"),n=e("./NodeType"),t.exports=function(e){function t(e,r,o,s){if(t.__super__.constructor.call(this,e),null==o)throw new Error("Missing DTD entity name. "+this.debugInfo(o));if(null==s)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(s)){if(!s.pubID&&!s.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(o));if(s.pubID&&!s.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(o));if(this.internal=!1,null!=s.pubID&&(this.pubID=this.stringify.dtdPubID(s.pubID)),null!=s.sysID&&(this.sysID=this.stringify.dtdSysID(s.sysID)),null!=s.nData&&(this.nData=this.stringify.dtdNData(s.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(o))}else this.value=this.stringify.dtdEntityValue(s),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(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(e,t,n){(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(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(e,t,n){(function(){var n,r,i,o=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;i=e("./Utility").isObject,r=e("./XMLNode"),n=e("./NodeType"),t.exports=function(e){function t(e,r,o,s){var a;t.__super__.constructor.call(this,e),i(r)&&(r=(a=r).version,o=a.encoding,s=a.standalone),r||(r="1.0"),this.type=n.Declaration,this.version=this.stringify.xmlVersion(r),null!=o&&(this.encoding=this.stringify.xmlEncoding(o)),null!=s&&(this.standalone=this.stringify.xmlStandalone(s))}return o(t,e),t.prototype.toString=function(e){return this.options.writer.declaration(this,this.options.writer.filterOptions(e))},t}(r)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(e,t,n){(function(){var n,r,i,o,s,a,c,l,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;l=e("./Utility").isObject,c=e("./XMLNode"),n=e("./NodeType"),r=e("./XMLDTDAttList"),o=e("./XMLDTDEntity"),i=e("./XMLDTDElement"),s=e("./XMLDTDNotation"),a=e("./XMLNamedNodeMap"),t.exports=function(e){function t(e,r,i){var o,s,a,c,u,d;if(t.__super__.constructor.call(this,e),this.type=n.DocType,e.children)for(s=0,a=(c=e.children).length;s<a;s++)if((o=c[s]).type===n.Element){this.name=o.name;break}this.documentObject=e,l(r)&&(r=(u=r).pubID,i=u.sysID),null==i&&(i=(d=[r,i])[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={},t=0,r=(o=this.children).length;t<r;t++)(e=o[t]).type!==n.EntityDeclaration||e.pe||(i[e.name]=e);return new a(i)}}),Object.defineProperty(t.prototype,"notations",{get:function(){var e,t,r,i,o;for(i={},t=0,r=(o=this.children).length;t<r;t++)(e=o[t]).type===n.NotationDeclaration&&(i[e.name]=e);return new a(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 s;return s=new r(this,e,t,n,i,o),this.children.push(s),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 s(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}(c)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(e,t,n){(function(){var n,r,i,o,s,a,c,l=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;c=e("./Utility").isPlainObject,i=e("./XMLDOMImplementation"),r=e("./XMLDOMConfiguration"),o=e("./XMLNode"),n=e("./NodeType"),a=e("./XMLStringifier"),s=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 s),this.options=e,this.stringify=new a(e)}return l(t,e),Object.defineProperty(t.prototype,"implementation",{value:new i}),Object.defineProperty(t.prototype,"doctype",{get:function(){var e,t,r,i;for(t=0,r=(i=this.children).length;t<r;t++)if((e=i[t]).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?c(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(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(e,t,n){(function(){var n,r,i,o,s,a,c,l,u,d,f,p,h,m,g,v,y,b,x,w,_,j,S,C={}.hasOwnProperty;S=e("./Utility"),_=S.isObject,w=S.isFunction,j=S.isPlainObject,x=S.getValue,n=e("./NodeType"),p=e("./XMLDocument"),h=e("./XMLElement"),o=e("./XMLCData"),s=e("./XMLComment"),g=e("./XMLRaw"),b=e("./XMLText"),m=e("./XMLProcessingInstruction"),d=e("./XMLDeclaration"),f=e("./XMLDocType"),a=e("./XMLDTDAttList"),l=e("./XMLDTDEntity"),c=e("./XMLDTDElement"),u=e("./XMLDTDNotation"),i=e("./XMLAttribute"),y=e("./XMLStringifier"),v=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?j(e.writer)&&(i=e.writer,e.writer=new v):e.writer=new v,this.options=e,this.writer=e.writer,this.writerOptions=this.writer.filterOptions(i),this.stringify=new y(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,s,a,c,l;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={},c=e.attribs)C.call(c,r)&&(t=c[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(s=0,a=(l=e.children).length;s<a;s++)o=l[s],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=x(e),null==t&&(t={}),t=x(t),_(t)||(n=(r=[t,n])[0],t=r[1]),this.currentNode=new h(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,s,a,c,l;if(this.currentNode&&this.currentNode.type===n.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(e)||_(e)||w(e))for(a=this.options.noValidation,this.options.noValidation=!0,(l=new p(this.options).element("TEMP_ROOT")).element(e),this.options.noValidation=a,o=0,s=(c=l.children).length;o<s;o++)i=c[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=x(e)),_(e))for(n in e)C.call(e,n)&&(r=e[n],this.attribute(n,r));else w(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 b(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 s(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,s;if(this.openCurrent(),null!=e&&(e=x(e)),null!=t&&(t=x(t)),Array.isArray(e))for(n=0,o=e.length;n<o;n++)r=e[n],this.instruction(r);else if(_(e))for(r in e)C.call(e,r)&&(i=e[r],this.instruction(r,i));else w(t)&&(t=t.apply()),s=new m(this,e,t),this.onData(this.writer.processingInstruction(s,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 f(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 c(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 a(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 l(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 l(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(){for(;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,s;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,s=e.attribs)C.call(s,o)&&(t=s[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(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(e,t,n){(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){t.__super__.constructor.call(this,e),this.type=n.Dummy}return i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return""},t}(r)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(e,t,n){(function(){var n,r,i,o,s,a,c,l,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;l=e("./Utility"),c=l.isObject,a=l.isFunction,s=l.getValue,o=e("./XMLNode"),n=e("./NodeType"),r=e("./XMLAttribute"),i=e("./XMLNamedNodeMap"),t.exports=function(e){function t(e,r,i){var o,s,a,c;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(s=0,a=(c=e.children).length;s<a;s++)if((o=c[s]).type===n.DocType){o.name=this.name;break}}return u(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 i(this.attribs)),this.attributeMap}}),t.prototype.clone=function(){var e,t,n,r;for(t in(n=Object.create(this)).isRoot&&(n.documentObject=null),n.attribs={},r=this.attribs)d.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()).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)d.call(e,n)&&(i=e[n],this.attribute(n,i));else a(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}(o)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(e,t,n){(function(){t.exports=function(){function e(e){this.nodes=e}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.keys(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[Object.keys(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(this)},{}],450:[function(e,t,n){(function(){var n,r,i,o,s,a,c,l,u,d,f,p,h,m,g,v,y,b={}.hasOwnProperty;y=e("./Utility"),v=y.isObject,g=y.isFunction,m=y.isEmpty,h=y.getValue,l=null,i=null,o=null,s=null,a=null,f=null,p=null,d=null,c=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,l||(l=e("./XMLElement"),i=e("./XMLCData"),o=e("./XMLComment"),s=e("./XMLDeclaration"),a=e("./XMLDocType"),f=e("./XMLRaw"),p=e("./XMLText"),d=e("./XMLProcessingInstruction"),c=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="",t=0,n=(i=this.children).length;t<n;t++)(e=i[t]).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),o=[],n=0,r=(i=this.children).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,s,a,c,l,u,d,f,p;if(c=null,null===t&&null==n&&(t=(d=[{},null])[0],n=d[1]),null==t&&(t={}),t=h(t),v(t)||(n=(f=[t,n])[0],t=f[1]),null!=e&&(e=h(e)),Array.isArray(e))for(o=0,l=e.length;o<l;o++)i=e[o],c=this.element(i);else if(g(e))c=this.element(e.apply());else if(v(e)){for(a in e)if(b.call(e,a))if(p=e[a],g(p)&&(p=p.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===a.indexOf(this.stringify.convertAttKey))c=this.attribute(a.substr(this.stringify.convertAttKey.length),p);else if(!this.options.separateArrayItems&&Array.isArray(p)&&m(p))c=this.dummy();else if(v(p)&&m(p))c=this.element(a);else if(this.options.keepNullNodes||null!=p)if(!this.options.separateArrayItems&&Array.isArray(p))for(s=0,u=p.length;s<u;s++)i=p[s],(r={})[a]=i,c=this.element(r);else v(p)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===a.indexOf(this.stringify.convertTextKey)?c=this.element(p):(c=this.element(a)).element(p):c=this.element(a,p);else c=this.dummy()}else c=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==c)throw new Error("Could not create any elements with: "+e+". "+this.debugInfo());return c},t.prototype.insertBefore=function(e,t,n){var r,i,o,s,a;if(null!=e?e.type:void 0)return s=t,(o=e).setParent(this),s?(i=children.indexOf(s),a=children.splice(i),children.push(o),Array.prototype.push.apply(children,a)):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),a=this.parent.children.splice(i),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,a),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=h(e)),t||(t={}),t=h(t),v(t)||(n=(i=[t,n])[0],t=i[1]),r=new l(this,e,t),null!=n&&r.text(n),this.children.push(r),r},t.prototype.text=function(e){var t;return v(e)&&this.element(e),t=new p(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 f(this,e),this.children.push(t),this},t.prototype.dummy=function(){return new c(this)},t.prototype.instruction=function(e,t){var n,r,i,o,s;if(null!=e&&(e=h(e)),null!=t&&(t=h(t)),Array.isArray(e))for(o=0,s=e.length;o<s;o++)n=e[o],this.instruction(n);else if(v(e))for(n in e)b.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 s(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,s,c,l,u,d,f;for(n=this.document(),i=new a(n,e,t),o=s=0,l=(d=n.children).length;s<l;o=++s)if(d[o].type===r.DocType)return n.children[o]=i,i;for(o=c=0,u=(f=n.children).length;c<u;o=++c)if(f[o].isRoot)return n.children.splice(o,0,i),i;return n.children.push(i),i},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;for(e=this;e;){if(e.type===r.Document)return e.rootObject;if(e.isRoot)return e;e=e.parent}},t.prototype.document=function(){var e;for(e=this;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))<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[e-1]},t.prototype.next=function(){var e;if(-1===(e=this.parent.children.indexOf(this))||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()).parent=this,t.isRoot=!1,this.children.push(t),this},t.prototype.debugInfo=function(e){var t,n;return null!=(e=e||this.name)||(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)===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;for(n=0,r=(i=this.children).length;n<r;n++){if(e===(t=i[n]))return!0;if(t.isDescendant(e))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,s;for(e||(e=this.document()),r=0,i=(o=e.children).length;r<i;r++){if(s=t(n=o[r]))return s;if(s=this.foreachTreeNode(n,t))return s}},t}()}).call(this)},{"./DocumentPosition":427,"./NodeType":428,"./Utility":429,"./XMLCData":432,"./XMLComment":434,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLNamedNodeMap":449,"./XMLNodeList":451,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],451:[function(e,t,n){(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(this)},{}],452:[function(e,t,n){(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;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 i(t,e),t.prototype.clone=function(){return Object.create(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(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(e,t,n){(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;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 i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.raw(this,this.options.writer.filterOptions(e))},t}(r)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(e,t,n){(function(){var n,r,i,o=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;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,s,a,c,l,u;for(r=i=0,s=(c=e.children).length;i<s;r=++i)(n=c[r]).isLastRootNode=r===e.children.length-1;for(t=this.filterOptions(t),u=[],o=0,a=(l=e.children).length;o<a;o++)n=l[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,s,a;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,o=0,s=(a=e.children).length;o<s;o++)i=a[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,a,c,l,u,d,f,p,h;for(f in i||(i=0),this.openNode(e,t,i),t.state=r.OpenTag,this.stream.write(this.indent(e,t,i)+"<"+e.name),p=e.attribs)s.call(p,f)&&(o=p[f],this.attribute(o,t,i));if(l=0===(c=e.children.length)?null:e.children[0],0===c||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!==c||l.type!==n.Text&&l.type!==n.Raw||null==l.value){for(this.stream.write(">"+this.endline(e,t,i)),t.state=r.InsideTag,u=0,d=(h=e.children).length;u<d;u++)a=h[u],this.writeChildNode(a,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++,this.writeChildNode(l,t,i+1),t.suppressPrettyCount--,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(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(e,t,n){(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,s;for(t=this.filterOptions(t),o="",r=0,i=(s=e.children).length;r<i;r++)n=s[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(this)},{"./XMLWriterBase":458}],456:[function(e,t,n){(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||{})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||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(e))},t.prototype.comment=function(e){if(this.options.noValidation)return e;if((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||"").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||"").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||"").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(this)},{}],457:[function(e,t,n){(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;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 i(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;for(n="",t=this.previousSibling;t;)n=t.data+n,t=t.previousSibling;for(n+=this.data,e=this.nextSibling;e;)n+=e.data,e=e.nextSibling;return n}}),t.prototype.clone=function(){return Object.create(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(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(e,t,n){(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||{})o.call(n,t)&&(r=n[t],this["_"+t]=this[t],this[t]=r)}return e.prototype.filterOptions=function(e){var t,n,o,s,a,c,l,u;return e||(e={}),e=i({},this.options,e),(t={writer:this}).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!=(s=e.offset)?s:0,t.dontPrettyTextNodes=null!=(a=null!=(c=e.dontPrettyTextNodes)?c:e.dontprettytextnodes)?a:0,t.spaceBeforeSlash=null!=(l=null!=(u=e.spaceBeforeSlash)?u:e.spacebeforeslash)?l:"",!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)>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,s,a,c;if(n||(n=0),this.openNode(e,t,n),t.state=r.OpenTag,a=this.indent(e,t,n),a+="<!DOCTYPE "+e.root().name,e.pubID&&e.sysID?a+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(a+=' SYSTEM "'+e.sysID+'"'),e.children.length>0){for(a+=" [",a+=this.endline(e,t,n),t.state=r.InsideTag,o=0,s=(c=e.children).length;o<s;o++)i=c[o],a+=this.writeChildNode(i,t,n+1);t.state=r.CloseTag,a+="]"}return t.state=r.CloseTag,a+=t.spaceBeforeSlash+">",a+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),a},e.prototype.element=function(e,t,i){var s,a,c,l,u,d,f,p,h,m,g,v,y,b;for(h in i||(i=0),m=!1,g="",this.openNode(e,t,i),t.state=r.OpenTag,g+=this.indent(e,t,i)+"<"+e.name,v=e.attribs)o.call(v,h)&&(s=v[h],g+=this.attribute(s,t,i));if(l=0===(c=e.children.length)?null:e.children[0],0===c||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!==c||l.type!==n.Text&&l.type!==n.Raw||null==l.value){if(t.dontPrettyTextNodes)for(u=0,f=(y=e.children).length;u<f;u++)if(((a=y[u]).type===n.Text||a.type===n.Raw)&&null!=a.value){t.suppressPrettyCount++,m=!0;break}for(g+=">"+this.endline(e,t,i),t.state=r.InsideTag,d=0,p=(b=e.children).length;d<p;d++)a=b[d],g+=this.writeChildNode(a,t,i+1);t.state=r.CloseTag,g+=this.indent(e,t,i)+"</"+e.name+">",m&&t.suppressPrettyCount--,g+=this.endline(e,t,i),t.state=r.None}else g+=">",t.state=r.InsideTag,t.suppressPrettyCount++,m=!0,g+=this.writeChildNode(l,t,i+1),t.suppressPrettyCount--,m=!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(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(e,t,n){(function(){var n,r,i,o,s,a,c,l,u,d;d=e("./Utility"),l=d.assign,u=d.isFunction,i=e("./XMLDOMImplementation"),o=e("./XMLDocument"),s=e("./XMLDocumentCB"),c=e("./XMLStringWriter"),a=e("./XMLStreamWriter"),n=e("./NodeType"),r=e("./WriterState"),t.exports.create=function(e,t,n,r){var i,s;if(null==e)throw new Error("Root element needs a name.");return r=l({},t,n,r),s=(i=new o(r)).element(e),r.headless||(i.declaration(r),null==r.pubID&&null==r.sysID||i.dtd(r)),s},t.exports.begin=function(e,t,n){var r;return u(e)&&(t=(r=[e,t])[0],n=r[1],e={}),t?new s(e,t,n):new o(e)},t.exports.stringWriter=function(e){return new c(e)},t.exports.streamWriter=function(e,t){return new a(e,t)},t.exports.implementation=new i,t.exports.nodeType=n,t.exports.writerState=r}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[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}},{}],461:[function(e,t,n){"use strict";e("core-js/modules/es.array.fill.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/es.array.join.js"),e("core-js/modules/es.array.slice.js");var r=e("buffer").Buffer,i={sha1:e("./sha"),md5:e("./md5")},o=64,s=r.alloc(o);function a(e,t,n){r.isBuffer(t)||(t=r.from(t)),r.isBuffer(n)||(n=r.from(n)),t.length>o?t=e(t):t.length<o&&(t=r.concat([t,s],o));for(var i=r.alloc(o),a=r.alloc(o),c=0;c<o;c++)i[c]=54^t[c],a[c]=92^t[c];var l=e(r.concat([i,n]));return e(r.concat([a,l]))}function c(e,t){var n=i[e=e||"sha1"],o=[];return n||l("algorithm:",e,"is not yet supported"),{update:function(e){return r.isBuffer(e)||(e=r.from(e)),o.push(e),e.length,this},digest:function(e){var i=r.concat(o),s=t?a(n,t,i):n(i);return o=null,e?s.toString(e):s}}}function l(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}s.fill(0),n.createHash=function(e){return c(e)},n.createHmac=function(e,t){return c(e,t)},n.createCredentials=function(){l("sorry,createCredentials is not implemented yet")},n.createCipher=function(){l("sorry,createCipher is not implemented yet")},n.createCipheriv=function(){l("sorry,createCipheriv is not implemented yet")},n.createDecipher=function(){l("sorry,createDecipher is not implemented yet")},n.createDecipheriv=function(){l("sorry,createDecipheriv is not implemented yet")},n.createSign=function(){l("sorry,createSign is not implemented yet")},n.createVerify=function(){l("sorry,createVerify is not implemented yet")},n.createDiffieHellman=function(){l("sorry,createDiffieHellman is not implemented yet")},n.pbkdf2=function(){l("sorry,pbkdf2 is not implemented yet")}},{"./md5":463,"./sha":464,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],462:[function(e,t,n){"use strict";e("core-js/modules/es.array.fill.js"),e("core-js/modules/es.array.concat.js");var r=e("buffer").Buffer,i=4,o=r.alloc(i);o.fill(0);var s=8;function a(e,t){if(e.length%i!=0){var n=e.length+(i-e.length%i);e=r.concat([e,o],n)}for(var s=[],a=t?e.readInt32BE:e.readInt32LE,c=0;c<e.length;c+=i)s.push(a.call(e,c));return s}function c(e,t,n){for(var i=r.alloc(t),o=n?i.writeInt32BE:i.writeInt32LE,s=0;s<e.length;s++)o.call(i,e[s],4*s,!0);return i}function l(e,t,n,i){return r.isBuffer(e)||(e=r.from(e)),c(t(a(e,i),e.length*s),n,i)}t.exports={hash:l}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[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 f=n,p=r,h=i,m=o;n=s(n,r,i,o,e[d+0],7,-680876936),o=s(o,n,r,i,e[d+1],12,-389564586),i=s(i,o,n,r,e[d+2],17,606105819),r=s(r,i,o,n,e[d+3],22,-1044525330),n=s(n,r,i,o,e[d+4],7,-176418897),o=s(o,n,r,i,e[d+5],12,1200080426),i=s(i,o,n,r,e[d+6],17,-1473231341),r=s(r,i,o,n,e[d+7],22,-45705983),n=s(n,r,i,o,e[d+8],7,1770035416),o=s(o,n,r,i,e[d+9],12,-1958414417),i=s(i,o,n,r,e[d+10],17,-42063),r=s(r,i,o,n,e[d+11],22,-1990404162),n=s(n,r,i,o,e[d+12],7,1804603682),o=s(o,n,r,i,e[d+13],12,-40341101),i=s(i,o,n,r,e[d+14],17,-1502002290),n=a(n,r=s(r,i,o,n,e[d+15],22,1236535329),i,o,e[d+1],5,-165796510),o=a(o,n,r,i,e[d+6],9,-1069501632),i=a(i,o,n,r,e[d+11],14,643717713),r=a(r,i,o,n,e[d+0],20,-373897302),n=a(n,r,i,o,e[d+5],5,-701558691),o=a(o,n,r,i,e[d+10],9,38016083),i=a(i,o,n,r,e[d+15],14,-660478335),r=a(r,i,o,n,e[d+4],20,-405537848),n=a(n,r,i,o,e[d+9],5,568446438),o=a(o,n,r,i,e[d+14],9,-1019803690),i=a(i,o,n,r,e[d+3],14,-187363961),r=a(r,i,o,n,e[d+8],20,1163531501),n=a(n,r,i,o,e[d+13],5,-1444681467),o=a(o,n,r,i,e[d+2],9,-51403784),i=a(i,o,n,r,e[d+7],14,1735328473),n=c(n,r=a(r,i,o,n,e[d+12],20,-1926607734),i,o,e[d+5],4,-378558),o=c(o,n,r,i,e[d+8],11,-2022574463),i=c(i,o,n,r,e[d+11],16,1839030562),r=c(r,i,o,n,e[d+14],23,-35309556),n=c(n,r,i,o,e[d+1],4,-1530992060),o=c(o,n,r,i,e[d+4],11,1272893353),i=c(i,o,n,r,e[d+7],16,-155497632),r=c(r,i,o,n,e[d+10],23,-1094730640),n=c(n,r,i,o,e[d+13],4,681279174),o=c(o,n,r,i,e[d+0],11,-358537222),i=c(i,o,n,r,e[d+3],16,-722521979),r=c(r,i,o,n,e[d+6],23,76029189),n=c(n,r,i,o,e[d+9],4,-640364487),o=c(o,n,r,i,e[d+12],11,-421815835),i=c(i,o,n,r,e[d+15],16,530742520),n=l(n,r=c(r,i,o,n,e[d+2],23,-995338651),i,o,e[d+0],6,-198630844),o=l(o,n,r,i,e[d+7],10,1126891415),i=l(i,o,n,r,e[d+14],15,-1416354905),r=l(r,i,o,n,e[d+5],21,-57434055),n=l(n,r,i,o,e[d+12],6,1700485571),o=l(o,n,r,i,e[d+3],10,-1894986606),i=l(i,o,n,r,e[d+10],15,-1051523),r=l(r,i,o,n,e[d+1],21,-2054922799),n=l(n,r,i,o,e[d+8],6,1873313359),o=l(o,n,r,i,e[d+15],10,-30611744),i=l(i,o,n,r,e[d+6],15,-1560198380),r=l(r,i,o,n,e[d+13],21,1309151649),n=l(n,r,i,o,e[d+4],6,-145523070),o=l(o,n,r,i,e[d+11],10,-1120210379),i=l(i,o,n,r,e[d+2],15,718787259),r=l(r,i,o,n,e[d+9],21,-343485551),n=u(n,f),r=u(r,p),i=u(i,h),o=u(o,m)}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 s(e,t,n,r,i,s,a){return o(t&n|~t&r,e,t,i,s,a)}function a(e,t,n,r,i,s,a){return o(t&r|n&~r,e,t,i,s,a)}function c(e,t,n,r,i,s,a){return o(t^n^r,e,t,i,s,a)}function l(e,t,n,r,i,s,a){return o(n^(t|~r),e,t,i,s,a)}function u(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function d(e,t){return e<<t|e>>>32-t}t.exports=function(e){return r.hash(e,i,16)}},{"./helpers":462}],464:[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,l=-1732584194,u=271733878,d=-1009589776,f=0;f<e.length;f+=16){for(var p=r,h=i,m=l,g=u,v=d,y=0;y<80;y++){n[y]=y<16?e[f+y]:c(n[y-3]^n[y-8]^n[y-14]^n[y-16],1);var b=a(a(c(r,5),o(y,i,l,u)),a(a(d,n[y]),s(y)));d=u,u=l,l=c(i,30),i=r,r=b}r=a(r,p),i=a(i,h),l=a(l,m),u=a(u,g),d=a(d,v)}return Array(r,i,l,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 s(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function a(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function c(e,t){return e<<t|e>>>32-t}t.exports=function(e){return r.hash(e,i,20,!0)}},{"./helpers":462}],465:[function(e,t,n){"use strict";t.exports=function(){return function(){}}},{}],466:[function(e,t,n){(function(n){(function(){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault")(e("@babel/runtime/helpers/typeof")),i=e("stream").Stream,o=e("../lib/common/utils/isArray").isArray;function s(e){return e instanceof i}t.exports.string=function(e){return"string"==typeof e},t.exports.array=o,t.exports.buffer=n.isBuffer,t.exports.writableStream=function(e){return s(e)&&"function"==typeof e._write&&"object"===(0,r.default)(e._writableState)}}).call(this)}).call(this,{isBuffer:e("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(e,t,n){"use strict";var r=e("immediate"),i=t.exports={};function o(){}i.nextTick=r,i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=o,i.addListener=o,i.once=o,i.off=o,i.removeListener=o,i.removeAllListeners=o,i.emit=o,i.prependListener=o,i.prependOnceListener=o,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{immediate:358}],468:[function(e,n,r){(function(t){(function(){"use strict";e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.search.js");var n=e("./lib/request"),i=e("./lib/response"),o=e("xtend"),s=e("builtin-status-codes"),a=e("url"),c=r;c.request=function(e,r){e="string"==typeof e?a.parse(e):o(e);var i=-1===t.location.protocol.search(/^https?:$/)?"http:":"",s=e.protocol||i,c=e.hostname||e.host,l=e.port,u=e.path||"/";c&&-1!==c.indexOf(":")&&(c="["+c+"]"),e.url=(c?s+"//"+c:"")+(l?":"+l:"")+u,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var d=new n(e);return r&&d.on("response",r),d},c.get=function(e,t){var n=c.request(e,t);return n.end(),n},c.ClientRequest=n,c.IncomingMessage=i.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=s,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(e,n,r){(function(t){(function(){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.array-buffer.constructor.js"),e("core-js/modules/es.array-buffer.slice.js"),e("core-js/modules/es.array.slice.js"),r.fetch=c(t.fetch)&&c(t.ReadableStream),r.writableStream=c(t.WritableStream),r.abortController=c(t.AbortController),r.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),r.blobConstructor=!0}catch(e){}var n;function i(){if(void 0!==n)return n;if(t.XMLHttpRequest){n=new t.XMLHttpRequest;try{n.open("GET",t.XDomainRequest?"/":"https://example.com")}catch(e){n=null}}else n=null;return n}function o(e){var t=i();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}var s=void 0!==t.ArrayBuffer,a=s&&c(t.ArrayBuffer.prototype.slice);function c(e){return"function"==typeof e}r.arraybuffer=r.fetch||s&&o("arraybuffer"),r.msstream=!r.fetch&&a&&o("ms-stream"),r.mozchunkedarraybuffer=!r.fetch&&s&&o("moz-chunked-arraybuffer"),r.overrideMimeType=r.fetch||!!i()&&c(i().overrideMimeType),r.vbArray=c(t.VBArray),n=null}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(e,n,r){(function(t,r,i){(function(){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.array.map.js"),e("core-js/modules/es.function.name.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.split.js");var o=e("./capability"),s=e("inherits"),a=e("./response"),c=e("readable-stream"),l=e("to-arraybuffer"),u=a.IncomingMessage,d=a.readyStates;function f(e,t){return o.fetch&&t?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&e?"arraybuffer":o.vbArray&&e?"text:vbarray":"text"}var p=n.exports=function(e){var t,n=this;c.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+new i(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){n.setHeader(t,e.headers[t])}));var r=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!o.abortController)r=!1,t=!0;else if("prefer-streaming"===e.mode)t=!1;else if("allow-wrong-content-type"===e.mode)t=!o.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");t=!0}n._mode=f(t,r),n._fetchTimer=null,n.on("finish",(function(){n._onFinish()}))};function h(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}}s(p,c.Writable),p.prototype.setHeader=function(e,t){var n=this,r=e.toLowerCase();-1===m.indexOf(r)&&(n._headers[r]={name:e,value:t})},p.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},p.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},p.prototype._onFinish=function(){var e=this;if(!e._destroyed){var n=e._opts,s=e._headers,a=null;"GET"!==n.method&&"HEAD"!==n.method&&(a=o.arraybuffer?l(i.concat(e._body)):o.blobConstructor?new r.Blob(e._body.map((function(e){return l(e)})),{type:(s["content-type"]||{}).value||""}):i.concat(e._body).toString());var c=[];if(Object.keys(s).forEach((function(e){var t=s[e].name,n=s[e].value;Array.isArray(n)?n.forEach((function(e){c.push([t,e])})):c.push([t,n])})),"fetch"===e._mode){var u=null;if(o.abortController){var f=new AbortController;u=f.signal,e._fetchAbortController=f,"requestTimeout"in n&&0!==n.requestTimeout&&(e._fetchTimer=r.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),n.requestTimeout))}r.fetch(e._opts.url,{method:e._opts.method,headers:c,body:a||void 0,mode:"cors",credentials:n.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 p=e._xhr=new r.XMLHttpRequest;try{p.open(e._opts.method,e._opts.url,!0)}catch(n){return void t.nextTick((function(){e.emit("error",n)}))}"responseType"in p&&(p.responseType=e._mode.split(":")[0]),"withCredentials"in p&&(p.withCredentials=!!n.withCredentials),"text"===e._mode&&"overrideMimeType"in p&&p.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in n&&(p.timeout=n.requestTimeout,p.ontimeout=function(){e.emit("requestTimeout")}),c.forEach((function(e){p.setRequestHeader(e[0],e[1])})),e._response=null,p.onreadystatechange=function(){switch(p.readyState){case d.LOADING:case d.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(p.onprogress=function(){e._onXHRProgress()}),p.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{p.send(a)}catch(n){return void t.nextTick((function(){e.emit("error",n)}))}}}},p.prototype._onXHRProgress=function(){var e=this;h(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},p.prototype._connect=function(){var e=this;e._destroyed||(e._response=new u(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},p.prototype._write=function(e,t,n){this._body.push(e),n()},p.prototype.abort=p.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()},p.prototype.end=function(e,t,n){var r=this;"function"==typeof e&&(n=e,e=void 0),c.Writable.prototype.end.call(r,e,t,n)},p.prototype.flushHeaders=function(){},p.prototype.setTimeout=function(){},p.prototype.setNoDelay=function(){},p.prototype.setSocketKeepAlive=function(){};var m=["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)}).call(this,e("_process"),void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(e,n,r){(function(t,n,i){(function(){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.split.js"),e("core-js/modules/es.string.match.js"),e("core-js/modules/es.array.iterator.js"),e("core-js/modules/es.array-buffer.slice.js"),e("core-js/modules/es.typed-array.uint8-array.js"),e("core-js/modules/es.typed-array.copy-within.js"),e("core-js/modules/es.typed-array.every.js"),e("core-js/modules/es.typed-array.fill.js"),e("core-js/modules/es.typed-array.filter.js"),e("core-js/modules/es.typed-array.find.js"),e("core-js/modules/es.typed-array.find-index.js"),e("core-js/modules/es.typed-array.for-each.js"),e("core-js/modules/es.typed-array.includes.js"),e("core-js/modules/es.typed-array.index-of.js"),e("core-js/modules/es.typed-array.iterator.js"),e("core-js/modules/es.typed-array.join.js"),e("core-js/modules/es.typed-array.last-index-of.js"),e("core-js/modules/es.typed-array.map.js"),e("core-js/modules/es.typed-array.reduce.js"),e("core-js/modules/es.typed-array.reduce-right.js"),e("core-js/modules/es.typed-array.reverse.js"),e("core-js/modules/es.typed-array.set.js"),e("core-js/modules/es.typed-array.slice.js"),e("core-js/modules/es.typed-array.some.js"),e("core-js/modules/es.typed-array.sort.js"),e("core-js/modules/es.typed-array.subarray.js"),e("core-js/modules/es.typed-array.to-locale-string.js"),e("core-js/modules/es.typed-array.to-string.js"),e("core-js/modules/es.array.slice.js");var o=e("./capability"),s=e("inherits"),a=e("readable-stream"),c=r.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},l=r.IncomingMessage=function(e,r,s,c){var l=this;if(a.Readable.call(l),l._mode=s,l.headers={},l.rawHeaders=[],l.trailers={},l.rawTrailers=[],l.on("end",(function(){t.nextTick((function(){l.emit("close")}))})),"fetch"===s){var u=function e(){f.read().then((function(t){if(!l._destroyed){if(t.done)return n.clearTimeout(c),void l.push(null);l.push(new i(t.value)),e()}})).catch((function(e){n.clearTimeout(c),l._destroyed||l.emit("error",e)}))};if(l._fetchResponse=r,l.url=r.url,l.statusCode=r.status,l.statusMessage=r.statusText,r.headers.forEach((function(e,t){l.headers[t.toLowerCase()]=e,l.rawHeaders.push(t,e)})),o.writableStream){var d=new WritableStream({write:function(e){return new Promise((function(t,n){l._destroyed?n():l.push(new i(e))?t():l._resumeFetch=t}))},close:function(){n.clearTimeout(c),l._destroyed||l.push(null)},abort:function(e){l._destroyed||l.emit("error",e)}});try{return void r.body.pipeTo(d).catch((function(e){n.clearTimeout(c),l._destroyed||l.emit("error",e)}))}catch(e){}}var f=r.body.getReader();u()}else if(l._xhr=e,l._pos=0,l.url=e.responseURL,l.statusCode=e.status,l.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(void 0===l.headers[n]&&(l.headers[n]=[]),l.headers[n].push(t[2])):void 0!==l.headers[n]?l.headers[n]+=", "+t[2]:l.headers[n]=t[2],l.rawHeaders.push(t[1],t[2])}})),l._charset="x-user-defined",!o.overrideMimeType){var p=l.rawHeaders["mime-type"];if(p){var h=p.match(/;\s*charset=([^;])(;|$)/);h&&(l._charset=h[1].toLowerCase())}l._charset||(l._charset="utf-8")}};s(l,a.Readable),l.prototype._read=function(){var e=this,t=e._resumeFetch;t&&(e._resumeFetch=null,t())},l.prototype._onXHRProgress=function(){var e=this,t=e._xhr,r=null;switch(e._mode){case"text:vbarray":if(t.readyState!==c.DONE)break;try{r=new n.VBArray(t.responseBody).toArray()}catch(e){}if(null!==r){e.push(new i(r));break}case"text":try{r=t.responseText}catch(t){e._mode="text:vbarray";break}if(r.length>e._pos){var o=r.substr(e._pos);if("x-user-defined"===e._charset){for(var s=new i(o.length),a=0;a<o.length;a++)s[a]=255&o.charCodeAt(a);e.push(s)}else e.push(o,e._charset);e._pos=r.length}break;case"arraybuffer":if(t.readyState!==c.DONE||!t.response)break;r=t.response,e.push(new i(new Uint8Array(r)));break;case"moz-chunked-arraybuffer":if(r=t.response,t.readyState!==c.LOADING||!r)break;e.push(new i(new Uint8Array(r)));break;case"ms-stream":if(r=t.response,t.readyState!==c.LOADING)break;var l=new n.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(r)}e._xhr.readyState===c.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this)}).call(this,e("_process"),void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault")(e("@babel/runtime/helpers/typeof"));e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.search.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.string.split.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.array.join.js"),e("core-js/modules/es.string.trim.js"),e("core-js/modules/es.string.match.js"),e("core-js/modules/es.array.slice.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.array.splice.js");var i=e("punycode"),o=e("./util");function s(){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=w,n.resolve=j,n.resolveObject=S,n.format=_,n.Url=s;var a=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),d=["'"].concat(u),f=["%","/","?",";","#"].concat(d),p=["/","?","#"],h=255,m=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},x=e("querystring");function w(e,t,n){if(e&&o.isObject(e)&&e instanceof s)return e;var r=new s;return r.parse(e,t,n),r}function _(e){return o.isString(e)&&(e=w(e)),e instanceof s?e.format():s.prototype.format.call(e)}function j(e,t){return w(e,!1,!0).resolve(t)}function S(e,t){return e?w(e,!1,!0).resolveObject(t):t}s.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+(0,r.default)(e));var s=e.indexOf("?"),c=-1!==s&&s<e.indexOf("#")?"?":"#",u=e.split(c),w=/\\/g;u[0]=u[0].replace(w,"/");var _=e=u.join(c);if(_=_.trim(),!n&&1===e.split("#").length){var j=l.exec(_);if(j)return this.path=_,this.href=_,this.pathname=j[1],j[2]?(this.search=j[2],this.query=t?x.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var S=a.exec(_);if(S){var C=(S=S[0]).toLowerCase();this.protocol=C,_=_.substr(S.length)}if(n||S||_.match(/^\/\/[^@\/]+@[^@\/]+/)){var A="//"===_.substr(0,2);!A||S&&y[S]||(_=_.substr(2),this.slashes=!0)}if(!y[S]&&(A||S&&!b[S])){for(var k,E,T=-1,M=0;M<p.length;M++)-1!==(D=_.indexOf(p[M]))&&(-1===T||D<T)&&(T=D);for(-1!==(E=-1===T?_.lastIndexOf("@"):_.lastIndexOf("@",T))&&(k=_.slice(0,E),_=_.slice(E+1),this.auth=decodeURIComponent(k)),T=-1,M=0;M<f.length;M++){var D;-1!==(D=_.indexOf(f[M]))&&(-1===T||D<T)&&(T=D)}-1===T&&(T=_.length),this.host=_.slice(0,T),_=_.slice(T),this.parseHost(),this.hostname=this.hostname||"";var O="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!O)for(var N=this.hostname.split("."),L=(M=0,N.length);M<L;M++){var I=N[M];if(I&&!I.match(m)){for(var R="",P=0,B=I.length;P<B;P++)I.charCodeAt(P)>127?R+="x":R+=I[P];if(!R.match(m)){var F=N.slice(0,M),z=N.slice(M+1),U=I.match(g);U&&(F.push(U[1]),z.unshift(U[2])),z.length&&(_="/"+z.join(".")+_),this.hostname=F.join(".");break}}}this.hostname.length>h?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=i.toASCII(this.hostname));var H=this.port?":"+this.port:"",q=this.hostname||"";this.host=q+H,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_[0]&&(_="/"+_))}if(!v[C])for(M=0,L=d.length;M<L;M++){var W=d[M];if(-1!==_.indexOf(W)){var Z=encodeURIComponent(W);Z===W&&(Z=escape(W)),_=_.split(W).join(Z)}}var G=_.indexOf("#");-1!==G&&(this.hash=_.substr(G),_=_.slice(0,G));var V=_.indexOf("?");if(-1!==V?(this.search=_.substr(V),this.query=_.substr(V+1),t&&(this.query=x.parse(this.query)),_=_.slice(0,V)):t&&(this.search="",this.query={}),_&&(this.pathname=_),b[C]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){H=this.pathname||"";var Y=this.search||"";this.path=H+Y}return this.href=this.format(),this},s.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,s="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(s=x.stringify(this.query));var a=this.search||s&&"?"+s||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+r},s.prototype.resolve=function(e){return this.resolveObject(w(e,!1,!0)).format()},s.prototype.resolveObject=function(e){if(o.isString(e)){var t=new s;t.parse(e,!1,!0),e=t}for(var n=new s,r=Object.keys(this),i=0;i<r.length;i++){var a=r[i];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),l=0;l<c.length;l++){var u=c[l];"protocol"!==u&&(n[u]=e[u])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var d=Object.keys(e),f=0;f<d.length;f++){var p=d[f];n[p]=e[p]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||y[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.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 m=n.pathname||"",g=n.search||"";n.path=m+g}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var v=n.pathname&&"/"===n.pathname.charAt(0),x=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=x||v||n.host&&e.pathname,_=w,j=n.pathname&&n.pathname.split("/")||[],S=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(S&&(n.hostname="",n.port=null,n.host&&(""===j[0]?j[0]=n.host:j.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),w=w&&(""===h[0]||""===j[0])),x)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,j=h;else if(h.length)j||(j=[]),j.pop(),j=j.concat(h),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search))return S&&(n.hostname=n.host=j.shift(),(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift())),n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!j.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=j.slice(-1)[0],A=(n.host||e.host||j.length>1)&&("."===C||".."===C)||""===C,k=0,E=j.length;E>=0;E--)"."===(C=j[E])?j.splice(E,1):".."===C?(j.splice(E,1),k++):k&&(j.splice(E,1),k--);if(!w&&!_)for(;k--;k)j.unshift("..");!w||""===j[0]||j[0]&&"/"===j[0].charAt(0)||j.unshift(""),A&&"/"!==j.join("/").substr(-1)&&j.push("");var T,M=""===j[0]||j[0]&&"/"===j[0].charAt(0);return S&&(n.hostname=n.host=M?"":j.length?j.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift())),(w=w||n.host&&j.length)&&!M&&j.unshift(""),j.length?n.pathname=j.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.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},s.prototype.parseHost=function(){var e=this.host,t=c.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault")(e("@babel/runtime/helpers/typeof"));t.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"===(0,r.default)(e)&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(e,t,n){"use strict";e("core-js/modules/es.number.constructor.js"),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)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(e,t,n){(function(t,r){(function(){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault")(e("@babel/runtime/helpers/typeof"));e("core-js/modules/es.string.trim.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.split.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.function.name.js"),e("core-js/modules/es.array.concat.js");var o=e("util"),s=e("url"),a=e("http"),c=e("https"),l=e("debug")("urllib"),u=e("humanize-ms"),d=0,f=Math.pow(2,31)-10,p=/^https?:\/\//i;function h(e,t){return void 0===e?t:e}function m(e){return e?e.split(";")[0].trim().toLowerCase():""}function g(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=[u("300s"),u("300s")];var v=["json","text"];n.request=function(e,t,r){return 2===arguments.length&&"function"==typeof t&&(r=t,t=null),"function"==typeof r?n.requestWithCallback(e,t,r):new Promise((function(r,i){n.requestWithCallback(e,t,g(r,i))}))},n.requestWithCallback=function(e,g,y){if(!e||"string"!=typeof e&&"object"!==(0,i.default)(e)){var b=o.format("expect request url to be a string or a http request options, but got %j",e);throw new Error(b)}2===arguments.length&&"function"==typeof g&&(y=g,g=null),d>=f&&(d=0);var x=++d;(g=g||{}).requestUrls=g.requestUrls||[];var w={requestId:x,url:e,args:g,ctx:g.ctx};g.emitter&&g.emitter.emit("request",w),g.timeout=g.timeout||n.TIMEOUTS,g.maxRedirects=g.maxRedirects||10,g.streaming=g.streaming||g.customResponse;var _,j=Date.now();"string"==typeof e?(p.test(e)||(e="https://"+e),_=s.parse(e)):_=e;var S=(g.type||g.method||_.method||"GET").toUpperCase(),C=_.port||80,A=a,k=h(g.agent,n.agent),E=g.fixJSONCtlChars;"https:"===_.protocol&&(A=c,k=h(g.httpsAgent,n.httpsAgent),_.port||(C=443));var T={host:_.hostname||_.host||"localhost",path:_.path||"/",method:S,port:C,agent:k,headers:g.headers||{},lookup:g.lookup};Array.isArray(g.timeout)?T.requestTimeout=g.timeout[g.timeout.length-1]:void 0!==g.timeout&&(T.requestTimeout=g.timeout);var M=g.auth||_.auth;M&&(T.auth=M);var D=g.content||g.data,O="GET"===S||"HEAD"===S||g.dataAsQueryString;if(!g.content&&D&&"string"!=typeof D&&!r.isBuffer(D))if(O)D=g.nestedQuerystring?qs.stringify(D):querystring.stringify(D);else{var N=T.headers["Content-Type"]||T.headers["content-type"];N||(N="json"===g.contentType?"application/json":"application/x-www-form-urlencoded",T.headers["Content-Type"]=N),D="application/json"===m(N)?JSON.stringify(D):g.nestedQuerystring?qs.stringify(D):querystring.stringify(D)}O&&D&&(T.path+=(_.query?"&":"?")+D,D=null);var L=0;if(D){var I=D.length;r.isBuffer(D)||(I=r.byteLength(D)),L=T.headers["Content-Length"]=I}"json"===g.dataType&&(T.headers.Accept="application/json"),"function"==typeof g.beforeRequest&&g.beforeRequest(T);var R=null,P=null,B=null,F=!1,z=!1,U=0,H=-1,q=!1,W="",Z="",G=null;function V(){R&&(clearTimeout(R),R=null)}function Y(){P&&(clearTimeout(P),P=null)}function K(n,r,i){if(Y(),!y)return console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),x,t.pid,T.method,e),void(n&&console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s: %s\nstack: %s",Date(),x,t.pid,n.name,n.message,n.stack));var o=y;y=null;var s={};i&&(H=i.statusCode,s=i.headers);var a=Date.now()-j;G&&(G.contentDownload=a),l("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",a,U,H,T.method,T.host,T.path,z,G);var c={status:H,statusCode:H,headers:s,size:U,aborted:q,rt:a,keepAliveSocket:z,data:r,requestUrls:g.requestUrls,timing:G,remoteAddress:W,remotePort:Z};if(n){var u="";k&&"function"==typeof k.getCurrentStatus&&(u=", agent status: "+JSON.stringify(k.getCurrentStatus())),n.message+=", "+T.method+" "+e+" "+H+" (connected: "+F+", keepalive socket: "+z+u+")\nheaders: "+JSON.stringify(s),n.data=r,n.path=T.path,n.status=H,n.headers=s,n.res=c}o(n,r,g.streaming?i:c),g.emitter&&(w.url=e,w.socket=ee&&ee.connection,w.options=T,w.size=L,g.emitter.emit("response",{requestId:x,error:n,ctx:g.ctx,req:w,res:c}))}function X(t){var r=null;if(g.followRedirect&&statuses.redirect[t.statusCode]){g._followRedirectCount=(g._followRedirectCount||0)+1;var i=t.headers.location;if(i){if(!(g._followRedirectCount>g.maxRedirects)){var o=g.formatRedirectUrl?g.formatRedirectUrl(e,i):s.resolve(e,i);l("Request#%d %s: `redirected` from %s to %s",x,T.path,e,o),Y(),g.headers&&g.headers.Host&&p.test(i)&&(g.headers.Host=null);var a=y;return y=null,n.requestWithCallback(o,g,a),{redirect:!0,error:null}}(r=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+e)).name="MaxRedirectError"}else(r=new Error("Got statusCode "+t.statusCode+" but cannot resolve next location from headers")).name="FollowRedirectError"}return{redirect:!1,error:r}}function Q(e,t,n){return n(null,t,e.headers["content-encoding"])}g.timing&&(G={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0}),g.gzip&&(T.headers["Accept-Encoding"]||T.headers["accept-encoding"]||(T.headers["Accept-Encoding"]="gzip"));var J,$,ee,te=g.writeStream;function ne(t){if(G&&(G.waiting=Date.now()-j),l("Request#%d %s `req response` event emit: status %d, headers: %j",x,e,t.statusCode,t.headers),g.streaming){var n=X(t);return n.redirect?void t.resume():n.error?(t.resume(),K(n.error,null,t)):K(null,null,t)}if(t.on("close",(function(){l("Request#%d %s: `res close` event emit, total size %d",x,e,U)})),t.on("error",(function(){l("Request#%d %s: `res error` event emit, total size %d",x,e,U)})),t.on("aborted",(function(){q=!0,l("Request#%d %s: `res aborted` event emit, total size %d",x,e,U)})),te){var i=X(t);return i.redirect?void t.resume():i.error?(t.resume(),te.end(),K(i.error,null,t)):(!1===g.consumeWriteStream?t.on("end",K.bind(null,null,null,t)):te.on("close",(function(){l("Request#%d %s: writeStream close event emitted",x,e),K(B||null,null,t)})),t.pipe(te))}var o=[];t.on("data",(function(t){l("Request#%d %s: `res data` event emit, size %d",x,e,t.length),U+=t.length,o.push(t)})),t.on("end",(function(){var n=r.concat(o,U);if(l("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",x,e,U,t._dumped),B)return K(B,n,t);var i=X(t);if(i.error)return K(i.error,n,t);i.redirect||Q(t,n,(function(r,i,o){if(r)return K(r,n,t);if(!o&&v.indexOf(g.dataType)>=0){try{i=decodeBodyByCharset(i,t)}catch(e){return l("decodeBodyByCharset error: %s",e),K(null,i,t)}if("json"===g.dataType)if(0===U)i=null;else{var s=parseJSON(i,E);s.error?r=s.error:i=s.data}}q&&l("Request#%d %s: Remote socket was terminated before `response.end()` was called",x,e),K(r,i,t)}))}))}function re(){l("Connect timer ticking, timeout: %d",J),R=setTimeout((function(){R=null,-1===H&&(H=-2);var t="Connect timeout for "+J+"ms",n="ConnectionTimeoutError";ee.socket||(n="SocketAssignTimeoutError",t+=", working sockets is full"),(B=new Error(t)).name=n,B.requestId=x,l("ConnectTimeout: Request#%d %s %s: %s, connected: %s",x,e,B.name,t,F),oe()}),J)}function ie(){l("Response timer ticking, timeout: %d",$),P=setTimeout((function(){P=null;var t="Response timeout for "+$+"ms",n="ResponseTimeoutError";(B=new Error(t)).name=n,B.requestId=x,l("ResponseTimeout: Request#%d %s %s: %s, connected: %s",x,e,B.name,t,F),oe()}),$)}l("Request#%d %s %s with headers %j, options.path: %s",x,S,e,T.headers,T.path),g.requestUrls.push(e),Array.isArray(g.timeout)?(J=u(g.timeout[0]),$=u(g.timeout[1])):J=$=u(g.timeout),l("ConnectTimeout: %d, ResponseTimeout: %d",J,$),T.mode=g.mode?g.mode:"";try{ee=A.request(T,ne)}catch(e){return K(e)}function oe(){l("Request#%d %s abort, connected: %s",x,e,F),ee.socket||(B.noSocket=!0,K(B)),ee.abort()}return"undefined"==typeof window?re():ee.on("requestTimeout",(function(){-1===H&&(H=-2);var e="ConnectionTimeoutError";(B=new Error("Connect timeout for "+J+"ms")).name=e,B.requestId=x,oe()})),G&&ee.on("finish",(function(){G.requestSent=Date.now()-j})),ee.once("socket",(function(t){G&&(G.queuing=Date.now()-j);var n=t.readyState;if("opening"===n)return t.once("lookup",(function(t,n,r){l("Request#%d %s lookup: %s, %s, %s",x,e,t,n,r),G&&(G.dnslookup=Date.now()-j),n&&(W=n)})),void t.once("connect",(function(){G&&(G.connected=Date.now()-j),V(),ie(),l("Request#%d %s new socket connected",x,e),F=!0,W||(W=t.remoteAddress),Z=t.remotePort}));l("Request#%d %s reuse socket connected, readyState: %s",x,e,n),F=!0,z=!0,W||(W=t.remoteAddress),Z=t.remotePort,V(),ie()})),ee.on("error",(function(t){"Error"!==t.name&&"TypeError"!==t.name||(t.name=F?"ResponseError":"RequestError"),t.message+=' (req "error")',l("Request#%d %s `req error` event emit, %s: %s",x,e,t.name,t.message),K(B||t)})),te&&te.once("error",(function(t){t.message+=' (writeStream "error")',B=t,l("Request#%d %s `writeStream error` event emit, %s: %s",x,e,t.name,t.message),oe()})),g.stream?(g.stream.pipe(ee),g.stream.once("error",(function(t){t.message+=' (stream "error")',B=t,l("Request#%d %s `readStream error` event emit, %s: %s",x,e,t.name,t.message),oe()}))):ee.end(D),ee.requestId=x,ee}}).call(this)}).call(this,e("_process"),e("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,debug:465,http:468,https:355,"humanize-ms":356,url:472,util:419}]},{},[1])(1)},57780:function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function i(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}n.r(t),n.d(t,{clsx:function(){return i}}),t.default=i},98535:function(e,t,n){"use strict";n.r(t),n.d(t,{Panel:function(){return T},default:function(){return E}});var r=n(54476),i=n(94480),o=n(42978),s=n(76190),a=n(92310),c=n.n(a),l=n(18929),u=n(48736),d=n(59301),f=n(75931),p=n(11592),h=n(33885),m=n(20068),g=n(77900),v=n(10228),y=d.forwardRef((function(e,t){var n=e.prefixCls,r=e.forceRender,i=e.className,s=e.style,a=e.children,l=e.isActive,u=e.role,f=e.classNames,p=e.styles,h=d.useState(l||r),g=(0,o.Z)(h,2),v=g[0],y=g[1];return d.useEffect((function(){(r||l)&&y(!0)}),[r,l]),v?d.createElement("div",{ref:t,className:c()("".concat(n,"-content"),(0,m.Z)((0,m.Z)({},"".concat(n,"-content-active"),l),"".concat(n,"-content-inactive"),!l),i),style:s,role:u},d.createElement("div",{className:c()("".concat(n,"-content-box"),null==f?void 0:f.body),style:null==p?void 0:p.body},a)):null}));y.displayName="PanelContent";var b=y,x=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],w=d.forwardRef((function(e,t){var n=e.showArrow,i=void 0===n||n,o=e.headerClass,s=e.isActive,a=e.onItemClick,l=e.forceRender,u=e.className,p=e.classNames,y=void 0===p?{}:p,w=e.styles,_=void 0===w?{}:w,j=e.prefixCls,S=e.collapsible,C=e.accordion,A=e.panelKey,k=e.extra,E=e.header,T=e.expandIcon,M=e.openMotion,D=e.destroyInactivePanel,O=e.children,N=(0,f.Z)(e,x),L="disabled"===S,I=null!=k&&"boolean"!=typeof k,R=(0,m.Z)((0,m.Z)((0,m.Z)({onClick:function(){null==a||a(A)},onKeyDown:function(e){"Enter"!==e.key&&e.keyCode!==v.Z.ENTER&&e.which!==v.Z.ENTER||null==a||a(A)},role:C?"tab":"button"},"aria-expanded",s),"aria-disabled",L),"tabIndex",L?-1:0),P="function"==typeof T?T(e):d.createElement("i",{className:"arrow"}),B=P&&d.createElement("div",(0,r.Z)({className:"".concat(j,"-expand-icon")},["header","icon"].includes(S)?R:{}),P),F=c()("".concat(j,"-item"),(0,m.Z)((0,m.Z)({},"".concat(j,"-item-active"),s),"".concat(j,"-item-disabled"),L),u),z=c()(o,"".concat(j,"-header"),(0,m.Z)({},"".concat(j,"-collapsible-").concat(S),!!S),y.header),U=(0,h.Z)({className:z,style:_.header},["header","icon"].includes(S)?{}:R);return d.createElement("div",(0,r.Z)({},N,{ref:t,className:F}),d.createElement("div",U,i&&B,d.createElement("span",(0,r.Z)({className:"".concat(j,"-header-text")},"header"===S?R:{}),E),I&&d.createElement("div",{className:"".concat(j,"-extra")},k)),d.createElement(g.default,(0,r.Z)({visible:s,leavedClassName:"".concat(j,"-content-hidden")},M,{forceRender:l,removeOnLeave:D}),(function(e,t){var n=e.className,r=e.style;return d.createElement(b,{ref:t,prefixCls:j,className:n,classNames:y,style:r,styles:_,isActive:s,forceRender:l,role:C?"tabpanel":void 0},O)})))})),_=["children","label","key","collapsible","onItemClick","destroyInactivePanel"];var j=function(e,t,n){return Array.isArray(e)?function(e,t){var n=t.prefixCls,i=t.accordion,o=t.collapsible,s=t.destroyInactivePanel,a=t.onItemClick,c=t.activeKey,l=t.openMotion,u=t.expandIcon;return e.map((function(e,t){var p=e.children,h=e.label,m=e.key,g=e.collapsible,v=e.onItemClick,y=e.destroyInactivePanel,b=(0,f.Z)(e,_),x=String(null!=m?m:t),j=null!=g?g:o,S=null!=y?y:s,C=!1;return C=i?c[0]===x:c.indexOf(x)>-1,d.createElement(w,(0,r.Z)({},b,{prefixCls:n,key:x,panelKey:x,isActive:C,accordion:i,openMotion:l,expandIcon:u,header:h,collapsible:j,onItemClick:function(e){"disabled"!==j&&(a(e),null==v||v(e))},destroyInactivePanel:S}),p)}))}(e,n):(0,p.Z)(t).map((function(e,t){return function(e,t,n){if(!e)return null;var r=n.prefixCls,i=n.accordion,o=n.collapsible,s=n.destroyInactivePanel,a=n.onItemClick,c=n.activeKey,l=n.openMotion,u=n.expandIcon,f=e.key||String(t),p=e.props,h=p.header,m=p.headerClass,g=p.destroyInactivePanel,v=p.collapsible,y=p.onItemClick,b=!1;b=i?c[0]===f:c.indexOf(f)>-1;var x=null!=v?v:o,w={key:f,panelKey:f,header:h,headerClass:m,isActive:b,prefixCls:r,destroyInactivePanel:null!=g?g:s,openMotion:l,accordion:i,children:e.props.children,onItemClick:function(e){"disabled"!==x&&(a(e),null==y||y(e))},expandIcon:u,collapsible:x};return"string"==typeof e.type?e:(Object.keys(w).forEach((function(e){void 0===w[e]&&delete w[e]})),d.cloneElement(e,w))}(e,t,n)}))},S=n(26112);function C(e){var t=e;if(!Array.isArray(t)){var n=(0,s.Z)(t);t="number"===n||"string"===n?[t]:[]}return t.map((function(e){return String(e)}))}var A=d.forwardRef((function(e,t){var n=e.prefixCls,s=void 0===n?"rc-collapse":n,a=e.destroyInactivePanel,f=void 0!==a&&a,p=e.style,h=e.accordion,m=e.className,g=e.children,v=e.collapsible,y=e.openMotion,b=e.expandIcon,x=e.activeKey,w=e.defaultActiveKey,_=e.onChange,A=e.items,k=c()(s,m),E=(0,l.Z)([],{value:x,onChange:function(e){return null==_?void 0:_(e)},defaultValue:w,postState:C}),T=(0,o.Z)(E,2),M=T[0],D=T[1];(0,u.ZP)(!g,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var O=j(A,g,{prefixCls:s,accordion:h,openMotion:y,expandIcon:b,collapsible:v,destroyInactivePanel:f,onItemClick:function(e){return D((function(){return h?M[0]===e?[]:[e]:M.indexOf(e)>-1?M.filter((function(t){return t!==e})):[].concat((0,i.Z)(M),[e])}))},activeKey:M});return d.createElement("div",(0,r.Z)({ref:t,className:k,style:p,role:h?"tablist":void 0},(0,S.Z)(e,{aria:!0,data:!0})),O)})),k=Object.assign(A,{Panel:w}),E=k,T=k.Panel},2637:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return u.default}}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(59301)),i=f(n(12708)),o=f(n(4676)),s=f(n(57780)),a=n(13957),c=n(60976),l=n(36641),u=f(n(80486)),d=f(n(94187));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function h(){return h=Object.assign?Object.assign.bind():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},h.apply(this,arguments)}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class g extends r.Component{static getDerivedStateFromProps(e,t){let{position:n}=e,{prevPropsPosition:r}=t;return!n||r&&n.x===r.x&&n.y===r.y?null:((0,d.default)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:r}),{x:n.x,y:n.y,prevPropsPosition:{...n}})}constructor(e){super(e),m(this,"onDragStart",((e,t)=>{(0,d.default)("Draggable: onDragStart: %j",t);if(!1===this.props.onStart(e,(0,c.createDraggableData)(this,t)))return!1;this.setState({dragging:!0,dragged:!0})})),m(this,"onDrag",((e,t)=>{if(!this.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",t);const n=(0,c.createDraggableData)(this,t),r={x:n.x,y:n.y,slackX:0,slackY:0};if(this.props.bounds){const{x:e,y:t}=r;r.x+=this.state.slackX,r.y+=this.state.slackY;const[i,o]=(0,c.getBoundPosition)(this,r.x,r.y);r.x=i,r.y=o,r.slackX=this.state.slackX+(e-r.x),r.slackY=this.state.slackY+(t-r.y),n.x=r.x,n.y=r.y,n.deltaX=r.x-this.state.x,n.deltaY=r.y-this.state.y}if(!1===this.props.onDrag(e,n))return!1;this.setState(r)})),m(this,"onDragStop",((e,t)=>{if(!this.state.dragging)return!1;if(!1===this.props.onStop(e,(0,c.createDraggableData)(this,t)))return!1;(0,d.default)("Draggable: onDragStop: %j",t);const n={dragging:!1,slackX:0,slackY:0};if(Boolean(this.props.position)){const{x:e,y:t}=this.props.position;n.x=e,n.y=t}this.setState(n)})),this.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:{...e.position},slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var e,t;return null!==(e=null===(t=this.props)||void 0===t||null===(t=t.nodeRef)||void 0===t?void 0:t.current)&&void 0!==e?e:o.default.findDOMNode(this)}render(){const{axis:e,bounds:t,children:n,defaultPosition:i,defaultClassName:o,defaultClassNameDragging:l,defaultClassNameDragged:d,position:f,positionOffset:p,scale:m,...g}=this.props;let v={},y=null;const b=!Boolean(f)||this.state.dragging,x=f||i,w={x:(0,c.canDragX)(this)&&b?this.state.x:x.x,y:(0,c.canDragY)(this)&&b?this.state.y:x.y};this.state.isElementSVG?y=(0,a.createSVGTransform)(w,p):v=(0,a.createCSSTransform)(w,p);const _=(0,s.default)(n.props.className||"",o,{[l]:this.state.dragging,[d]:this.state.dragged});return r.createElement(u.default,h({},g,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),r.cloneElement(r.Children.only(n),{className:_,style:{...n.props.style,...v},transform:y}))}}t.default=g,m(g,"displayName","Draggable"),m(g,"propTypes",{...u.default.propTypes,axis:i.default.oneOf(["both","x","y","none"]),bounds:i.default.oneOfType([i.default.shape({left:i.default.number,right:i.default.number,top:i.default.number,bottom:i.default.number}),i.default.string,i.default.oneOf([!1])]),defaultClassName:i.default.string,defaultClassNameDragging:i.default.string,defaultClassNameDragged:i.default.string,defaultPosition:i.default.shape({x:i.default.number,y:i.default.number}),positionOffset:i.default.shape({x:i.default.oneOfType([i.default.number,i.default.string]),y:i.default.oneOfType([i.default.number,i.default.string])}),position:i.default.shape({x:i.default.number,y:i.default.number}),className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe}),m(g,"defaultProps",{...u.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})},80486:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(59301)),i=u(n(12708)),o=u(n(4676)),s=n(13957),a=n(60976),c=n(36641),l=u(n(94187));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p={start:"touchstart",move:"touchmove",stop:"touchend"},h={start:"mousedown",move:"mousemove",stop:"mouseup"};let m=h;class g extends r.Component{constructor(){super(...arguments),f(this,"dragging",!1),f(this,"lastX",NaN),f(this,"lastY",NaN),f(this,"touchIdentifier",null),f(this,"mounted",!1),f(this,"handleDragStart",(e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;const t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:n}=t;if(this.props.disabled||!(e.target instanceof n.defaultView.Node)||this.props.handle&&!(0,s.matchesSelectorAndParentsTo)(e.target,this.props.handle,t)||this.props.cancel&&(0,s.matchesSelectorAndParentsTo)(e.target,this.props.cancel,t))return;"touchstart"===e.type&&e.preventDefault();const r=(0,s.getTouchIdentifier)(e);this.touchIdentifier=r;const i=(0,a.getControlPosition)(e,r,this);if(null==i)return;const{x:o,y:c}=i,u=(0,a.createCoreData)(this,o,c);(0,l.default)("DraggableCore: handleDragStart: %j",u),(0,l.default)("calling",this.props.onStart);!1!==this.props.onStart(e,u)&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,s.addUserSelectStyles)(n),this.dragging=!0,this.lastX=o,this.lastY=c,(0,s.addEvent)(n,m.move,this.handleDrag),(0,s.addEvent)(n,m.stop,this.handleDragStop))})),f(this,"handleDrag",(e=>{const t=(0,a.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:r}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX,t=r-this.lastY;if([e,t]=(0,a.snapToGrid)(this.props.grid,e,t),!e&&!t)return;n=this.lastX+e,r=this.lastY+t}const i=(0,a.createCoreData)(this,n,r);(0,l.default)("DraggableCore: handleDrag: %j",i);if(!1!==this.props.onDrag(e,i)&&!1!==this.mounted)this.lastX=n,this.lastY=r;else try{this.handleDragStop(new MouseEvent("mouseup"))}catch(e){const t=document.createEvent("MouseEvents");t.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(t)}})),f(this,"handleDragStop",(e=>{if(!this.dragging)return;const t=(0,a.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:r}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX||0,t=r-this.lastY||0;[e,t]=(0,a.snapToGrid)(this.props.grid,e,t),n=this.lastX+e,r=this.lastY+t}const i=(0,a.createCoreData)(this,n,r);if(!1===this.props.onStop(e,i)||!1===this.mounted)return!1;const o=this.findDOMNode();o&&this.props.enableUserSelectHack&&(0,s.removeUserSelectStyles)(o.ownerDocument),(0,l.default)("DraggableCore: handleDragStop: %j",i),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,o&&((0,l.default)("DraggableCore: Removing handlers"),(0,s.removeEvent)(o.ownerDocument,m.move,this.handleDrag),(0,s.removeEvent)(o.ownerDocument,m.stop,this.handleDragStop))})),f(this,"onMouseDown",(e=>(m=h,this.handleDragStart(e)))),f(this,"onMouseUp",(e=>(m=h,this.handleDragStop(e)))),f(this,"onTouchStart",(e=>(m=p,this.handleDragStart(e)))),f(this,"onTouchEnd",(e=>(m=p,this.handleDragStop(e))))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,s.addEvent)(e,p.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:t}=e;(0,s.removeEvent)(t,h.move,this.handleDrag),(0,s.removeEvent)(t,p.move,this.handleDrag),(0,s.removeEvent)(t,h.stop,this.handleDragStop),(0,s.removeEvent)(t,p.stop,this.handleDragStop),(0,s.removeEvent)(e,p.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,s.removeUserSelectStyles)(t)}}findDOMNode(){var e,t;return null!==(e=this.props)&&void 0!==e&&e.nodeRef?null===(t=this.props)||void 0===t||null===(t=t.nodeRef)||void 0===t?void 0:t.current:o.default.findDOMNode(this)}render(){return r.cloneElement(r.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}t.default=g,f(g,"displayName","DraggableCore"),f(g,"propTypes",{allowAnyClick:i.default.bool,children:i.default.node.isRequired,disabled:i.default.bool,enableUserSelectHack:i.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:i.default.arrayOf(i.default.number),handle:i.default.string,cancel:i.default.string,nodeRef:i.default.object,onStart:i.default.func,onDrag:i.default.func,onStop:i.default.func,onMouseDown:i.default.func,scale:i.default.number,className:c.dontSetMe,style:c.dontSetMe,transform:c.dontSetMe}),f(g,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},12911:function(e,t,n){"use strict";const{default:r,DraggableCore:i}=n(2637);e.exports=r,e.exports.default=r,e.exports.DraggableCore=i},13957:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addClassName=l,t.addEvent=function(e,t,n,r){if(!e)return;const i={capture:!0,...r};e.addEventListener?e.addEventListener(t,n,i):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},t.addUserSelectStyles=function(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t));e.body&&l(e.body,"react-draggable-transparent-selection")},t.createCSSTransform=function(e,t){const n=c(e,t,"px");return{[(0,i.browserPrefixToKey)("transform",i.default)]:n}},t.createSVGTransform=function(e,t){return c(e,t,"")},t.getTouch=function(e,t){return e.targetTouches&&(0,r.findInArray)(e.targetTouches,(e=>t===e.identifier))||e.changedTouches&&(0,r.findInArray)(e.changedTouches,(e=>t===e.identifier))},t.getTouchIdentifier=function(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier},t.getTranslation=c,t.innerHeight=function(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,r.int)(n.paddingTop),t-=(0,r.int)(n.paddingBottom),t},t.innerWidth=function(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,r.int)(n.paddingLeft),t-=(0,r.int)(n.paddingRight),t},t.matchesSelector=a,t.matchesSelectorAndParentsTo=function(e,t,n){let r=e;do{if(a(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},t.offsetXYFromParent=function(e,t,n){const r=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),i=(e.clientX+t.scrollLeft-r.left)/n,o=(e.clientY+t.scrollTop-r.top)/n;return{x:i,y:o}},t.outerHeight=function(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,r.int)(n.borderTopWidth),t+=(0,r.int)(n.borderBottomWidth),t},t.outerWidth=function(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,r.int)(n.borderLeftWidth),t+=(0,r.int)(n.borderRightWidth),t},t.removeClassName=u,t.removeEvent=function(e,t,n,r){if(!e)return;const i={capture:!0,...r};e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null},t.removeUserSelectStyles=function(e){if(!e)return;try{if(e.body&&u(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}};var r=n(36641),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var a=i?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}r.default=e,n&&n.set(e,r);return r}(n(32092));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}let s="";function a(e,t){return s||(s=(0,r.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,r.isFunction)(e[t])}))),!!(0,r.isFunction)(e[s])&&e[s](t)}function c(e,t,n){let{x:r,y:i}=e,o="translate(".concat(r).concat(n,",").concat(i).concat(n,")");if(t){const e="".concat("string"==typeof t.x?t.x:t.x+n),r="".concat("string"==typeof t.y?t.y:t.y+n);o="translate(".concat(e,", ").concat(r,")")+o}return o}function l(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function u(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}},32092:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browserPrefixToKey=i,t.browserPrefixToStyle=function(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e},t.default=void 0,t.getPrefix=r;const n=["Moz","Webkit","O","ms"];function r(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";const r=null===(e=window.document)||void 0===e||null===(e=e.documentElement)||void 0===e?void 0:e.style;if(!r)return"";if(t in r)return"";for(let e=0;e<n.length;e++)if(i(t,n[e])in r)return n[e];return""}function i(e,t){return t?"".concat(t).concat(function(e){let t="",n=!0;for(let r=0;r<e.length;r++)n?(t+=e[r].toUpperCase(),n=!1):"-"===e[r]?n=!0:t+=e[r];return t}(e)):e}t.default=r()},94187:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){0}},60976:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.createCoreData=function(e,t,n){const i=!(0,r.isNum)(e.lastX),s=o(e);return i?{node:s,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:s,deltaX:t-e.lastX,deltaY:n-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:n}},t.createDraggableData=function(e,t){const n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}},t.getBoundPosition=function(e,t,n){if(!e.props.bounds)return[t,n];let{bounds:s}=e.props;s="string"==typeof s?s:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(s);const a=o(e);if("string"==typeof s){const{ownerDocument:e}=a,t=e.defaultView;let n;if(n="parent"===s?a.parentNode:e.querySelector(s),!(n instanceof t.HTMLElement))throw new Error('Bounds selector "'+s+'" could not find an element.');const o=n,c=t.getComputedStyle(a),l=t.getComputedStyle(o);s={left:-a.offsetLeft+(0,r.int)(l.paddingLeft)+(0,r.int)(c.marginLeft),top:-a.offsetTop+(0,r.int)(l.paddingTop)+(0,r.int)(c.marginTop),right:(0,i.innerWidth)(o)-(0,i.outerWidth)(a)-a.offsetLeft+(0,r.int)(l.paddingRight)-(0,r.int)(c.marginRight),bottom:(0,i.innerHeight)(o)-(0,i.outerHeight)(a)-a.offsetTop+(0,r.int)(l.paddingBottom)-(0,r.int)(c.marginBottom)}}(0,r.isNum)(s.right)&&(t=Math.min(t,s.right));(0,r.isNum)(s.bottom)&&(n=Math.min(n,s.bottom));(0,r.isNum)(s.left)&&(t=Math.max(t,s.left));(0,r.isNum)(s.top)&&(n=Math.max(n,s.top));return[t,n]},t.getControlPosition=function(e,t,n){const r="number"==typeof t?(0,i.getTouch)(e,t):null;if("number"==typeof t&&!r)return null;const s=o(n),a=n.props.offsetParent||s.offsetParent||s.ownerDocument.body;return(0,i.offsetXYFromParent)(r||e,a,n.props.scale)},t.snapToGrid=function(e,t,n){const r=Math.round(t/e[0])*e[0],i=Math.round(n/e[1])*e[1];return[r,i]};var r=n(36641),i=n(13957);function o(e){const t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}},36641:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))},t.findInArray=function(e,t){for(let n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]},t.int=function(e){return parseInt(e,10)},t.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function(e){return"number"==typeof e&&!isNaN(e)}},7062:function(e,t,n){var r=n(19637),i=n(13412),o=[n(96627)];e.exports=r.createStore(i,o)},96627:function(e,t,n){e.exports=function(){return n(42424),{}}},42424:function(){"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,s,a=gap,c=t[e];switch(c&&"object"==typeof c&&"function"==typeof c.toJSON&&(c=c.toJSON(e)),"function"==typeof rep&&(c=rep.call(t,e,c)),typeof c){case"string":return quote(c);case"number":return isFinite(c)?String(c):"null";case"boolean":case"null":return String(c);case"object":if(!c)return"null";if(gap+=indent,s=[],"[object Array]"===Object.prototype.toString.apply(c)){for(o=c.length,n=0;n<o;n+=1)s[n]=str(n,c)||"null";return i=0===s.length?"[]":gap?"[\n"+gap+s.join(",\n"+gap)+"\n"+a+"]":"["+s.join(",")+"]",gap=a,i}if(rep&&"object"==typeof rep)for(o=rep.length,n=0;n<o;n+=1)"string"==typeof rep[n]&&(i=str(r=rep[n],c))&&s.push(quote(r)+(gap?": ":":")+i);else for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(i=str(r,c))&&s.push(quote(r)+(gap?": ":":")+i);return i=0===s.length?"{}":gap?"{\n"+gap+s.join(",\n"+gap)+"\n"+a+"}":"{"+s.join(",")+"}",gap=a,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)&&(void 0!==(r=walk(i,n))?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")})}()},19637:function(e,t,n){var r=n(67039),i=r.slice,o=r.pluck,s=r.each,a=r.bind,c=r.create,l=r.isList,u=r.isFunction,d=r.isObject;e.exports={createStore:p};var f={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 p(e,t,n){n||(n=""),e&&!l(e)&&(e=[e]),t&&!l(t)&&(t=[t]);var r=n?"__storejs_"+n+"_":"",p=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var h={_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(e){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 s(arguments,(function(e,n){t[n]=e})),n.apply(r,t)}var a=[o].concat(t);return e.apply(r,a)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var n="";try{n=JSON.parse(e)}catch(t){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(l(e))s(e,(function(e){t._addPlugin(e)}));else if(!o(this.plugins,(function(t){return e===t}))){if(this.plugins.push(e),!u(e))throw new Error("Plugins must be function values that return objects");var n=e.call(this);if(!d(n))throw new Error("Plugins must return an object of function properties");s(n,(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){!function(){var e="undefined"==typeof console?null:console;if(e){(e.warn?e.warn:e.log).apply(e,arguments)}}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},m=c(h,f,{plugins:[]});return m.raw={},s(m,(function(e,t){u(e)&&(m.raw[t]=a(m,e))})),s(e,(function(e){m._addStorage(e)})),s(t,(function(e){m._addPlugin(e)})),m}},67039:function(e,t,n){var r=Object.assign?Object.assign:function(e,t,n,r){for(var i=1;i<arguments.length;i++)c(Object(arguments[i]),(function(t,n){e[n]=t}));return e},i=function(){if(Object.create)return function(e,t,n,i){var o=a(arguments,1);return r.apply(this,[Object.create(e)].concat(o))};{function e(){}return function(t,n,i,o){var s=a(arguments,1);return e.prototype=t,r.apply(this,[new e].concat(s))}}}(),o=String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},s="undefined"!=typeof window?window:n.g;function a(e,t){return Array.prototype.slice.call(e,t||0)}function c(e,t){l(e,(function(e,n){return t(e,n),!1}))}function l(e,t){if(u(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 u(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}e.exports={assign:r,create:i,trim:o,bind:function(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}},slice:a,each:c,map:function(e,t){var n=u(e)?[]:{};return l(e,(function(e,r){return n[r]=t(e,r),!1})),n},pluck:l,isList:u,isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},isObject:function(e){return e&&"[object Object]"==={}.toString.call(e)},Global:s}},13412:function(e,t,n){e.exports=[n(52496),n(16436),n(76673),n(35701),n(65578),n(65300)]},35701:function(e,t,n){var r=n(67039),i=r.Global,o=r.trim;e.exports={name:"cookieStorage",read:function(e){if(!e||!l(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(s.cookie.replace(new RegExp(t),"$1"))},write:function(e,t){if(!e)return;s.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:a,remove:c,clearAll:function(){a((function(e,t){c(t)}))}};var s=i.document;function a(e){for(var t=s.cookie.split(/; ?/g),n=t.length-1;n>=0;n--)if(o(t[n])){var r=t[n].split("="),i=unescape(r[0]);e(unescape(r[1]),i)}}function c(e){e&&l(e)&&(s.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function l(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(s.cookie)}},52496:function(e,t,n){var r=n(67039).Global;function i(){return r.localStorage}function o(e){return i().getItem(e)}e.exports={name:"localStorage",read:o,write:function(e,t){return i().setItem(e,t)},each:function(e){for(var t=i().length-1;t>=0;t--){var n=i().key(t);e(o(n),n)}},remove:function(e){return i().removeItem(e)},clearAll:function(){return i().clear()}}},65300:function(e){e.exports={name:"memoryStorage",read:function(e){return t[e]},write:function(e,n){t[e]=n},each:function(e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},remove:function(e){delete t[e]},clearAll:function(e){t={}}};var t={}},16436:function(e,t,n){var r=n(67039).Global;e.exports={name:"oldFF-globalStorage",read:function(e){return i[e]},write:function(e,t){i[e]=t},each:o,remove:function(e){return i.removeItem(e)},clearAll:function(){o((function(e,t){delete i[e]}))}};var i=r.globalStorage;function o(e){for(var t=i.length-1;t>=0;t--){var n=i.key(t);e(i[n],n)}}},76673:function(e,t,n){var r=n(67039).Global;e.exports={name:"oldIE-userDataStorage",write:function(e,t){if(a)return;var n=l(e);s((function(e){e.setAttribute(n,t),e.save(i)}))},read:function(e){if(a)return;var t=l(e),n=null;return s((function(e){n=e.getAttribute(t)})),n},each:function(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)}}))},remove:function(e){var t=l(e);s((function(e){e.removeAttribute(t),e.save(i)}))},clearAll:function(){s((function(e){var t=e.XMLDocument.documentElement.attributes;e.load(i);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(i)}))}};var i="storejs",o=r.document,s=function(){if(!o||!o.documentElement||!o.documentElement.addBehavior)return null;var e,t,n,r="script";try{(t=new ActiveXObject("htmlfile")).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(t){n=o.createElement("div"),e=o.body}return function(t){var r=[].slice.call(arguments,0);r.unshift(n),e.appendChild(n),n.addBehavior("#default#userData"),n.load(i),t.apply(this,r),e.removeChild(n)}}(),a=(r.navigator?r.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);var c=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function l(e){return e.replace(/^\d/,"___$&").replace(c,"___")}},65578:function(e,t,n){var r=n(67039).Global;function i(){return r.sessionStorage}function o(e){return i().getItem(e)}e.exports={name:"sessionStorage",read:o,write:function(e,t){return i().setItem(e,t)},each:function(e){for(var t=i().length-1;t>=0;t--){var n=i().key(t);e(o(n),n)}},remove:function(e){return i().removeItem(e)},clearAll:function(){return i().clear()}}},34376:function(e){window,e.exports=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),s=n(3),a=n(6),c=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 a.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[s.CHAR_DATA_ATTR_INDEX],this.bg=0;var t=!1;if(e[s.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(2===e[s.CHAR_DATA_CHAR_INDEX].length){var n=e[s.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=n&&n<=56319){var r=e[s.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=r&&r<=57343?this.content=1024*(n-55296)+r-56320+65536|e[s.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[s.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[s.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[s.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[s.CHAR_DATA_WIDTH_INDEX]<<22)},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(a.AttributeData);t.CellData=c},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<=(a=e.charCodeAt(i++))&&a<=57343?t[r++]=1024*(this._interim-55296)+a-56320+65536:(t[r++]=this._interim,t[r++]=a),this._interim=0);for(var o=i;o<n;++o){var s=e.charCodeAt(o);if(55296<=s&&s<=56319){if(++o>=n)return this._interim=s,r;var a;56320<=(a=e.charCodeAt(o))&&a<=57343?t[r++]=1024*(s-55296)+a-56320+65536:(t[r++]=s,t[r++]=a)}else t[r++]=s}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,s,a=0,c=0,l=0;if(this.interim[0]){var u=!1,d=this.interim[0];d&=192==(224&d)?31:224==(240&d)?15:7;for(var f=0,p=void 0;(p=63&this.interim[++f])&&f<4;)d<<=6,d|=p;for(var h=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,m=h-f;l<m;){if(l>=n)return 0;if(128!=(192&(p=e[l++]))){l--,u=!0;break}this.interim[f++]=p,d<<=6,d|=63&p}u||(2===h?d<128?l--:t[a++]=d:3===h?d<2048||d>=55296&&d<=57343||(t[a++]=d):d<65536||d>1114111||(t[a++]=d)),this.interim.fill(0)}for(var g=n-4,v=l;v<n;){for(;!(!(v<g)||128&(r=e[v])||128&(i=e[v+1])||128&(o=e[v+2])||128&(s=e[v+3]));)t[a++]=r,t[a++]=i,t[a++]=o,t[a++]=s,v+=4;if((r=e[v++])<128)t[a++]=r;else if(192==(224&r)){if(v>=n)return this.interim[0]=r,a;if(128!=(192&(i=e[v++]))){v--;continue}if((c=(31&r)<<6|63&i)<128){v--;continue}t[a++]=c}else if(224==(240&r)){if(v>=n)return this.interim[0]=r,a;if(128!=(192&(i=e[v++]))){v--;continue}if(v>=n)return this.interim[0]=r,this.interim[1]=i,a;if(128!=(192&(o=e[v++]))){v--;continue}if((c=(15&r)<<12|(63&i)<<6|63&o)<2048||c>=55296&&c<=57343)continue;t[a++]=c}else if(240==(248&r)){if(v>=n)return this.interim[0]=r,a;if(128!=(192&(i=e[v++]))){v--;continue}if(v>=n)return this.interim[0]=r,this.interim[1]=i,a;if(128!=(192&(o=e[v++]))){v--;continue}if(v>=n)return this.interim[0]=r,this.interim[1]=i,this.interim[2]=o,a;if(128!=(192&(s=e[v++]))){v--;continue}if((c=(7&r)<<18|(63&i)<<12|(63&o)<<6|63&s)<65536||c>1114111)continue;t[a++]=c}}return a},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,s;function a(e){var t=e.toString(16);return t.length<2?"0"+t:t}function c(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?"#"+a(e)+a(t)+a(n)+a(r):"#"+a(e)+a(t)+a(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,s=t.rgba>>8&255,a=e.rgba>>24&255,c=e.rgba>>16&255,l=e.rgba>>8&255,u=a+Math.round((i-a)*n),d=c+Math.round((o-c)*n),f=l+Math.round((s-l)*n);return{css:r.toCss(u,d,f),rgba:r.toRgba(u,d,f)}},i.isOpaque=function(e){return 255==(255&e.rgba)},i.ensureContrastRatio=function(e,t,n){var r=s.ensureContrastRatio(e.rgba,t.rgba,n);if(r)return s.toColor(r>>24&255,r>>16&255,r>>8&255)},i.opaque=function(e){var t=(255|e.rgba)>>>0,n=s.toChannels(t),i=n[0],o=n[1],a=n[2];return{css:r.toCss(i,o,a),rgba:t}},i.opacity=function(e,t){var n=Math.round(255*t),i=s.toChannels(e.rgba),o=i[0],a=i[1],c=i[2];return{css:r.toCss(o,a,c,n),rgba:r.toRgba(o,a,c,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,s=e>>8&255,a=t>>24&255,l=t>>16&255,u=t>>8&255,d=c(o.relativeLuminance2(a,u,l),o.relativeLuminance2(r,i,s));d<n&&(a>0||l>0||u>0);)a-=Math.max(0,Math.ceil(.1*a)),l-=Math.max(0,Math.ceil(.1*l)),u-=Math.max(0,Math.ceil(.1*u)),d=c(o.relativeLuminance2(a,u,l),o.relativeLuminance2(r,i,s));return(a<<24|l<<16|u<<8|255)>>>0}function n(e,t,n){for(var r=e>>24&255,i=e>>16&255,s=e>>8&255,a=t>>24&255,l=t>>16&255,u=t>>8&255,d=c(o.relativeLuminance2(a,u,l),o.relativeLuminance2(r,i,s));d<n&&(a<255||l<255||u<255);)a=Math.min(255,a+Math.ceil(.1*(255-a))),l=Math.min(255,l+Math.ceil(.1*(255-l))),u=Math.min(255,u+Math.ceil(.1*(255-u))),d=c(o.relativeLuminance2(a,u,l),o.relativeLuminance2(r,i,s));return(a<<24|l<<16|u<<8|255)>>>0}e.ensureContrastRatio=function(e,r,i){var s=o.relativeLuminance(e>>8),a=o.relativeLuminance(r>>8);if(c(s,a)<i)return a<s?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)}}}(s=t.rgba||(t.rgba={})),t.toPaddedHex=a,t.contrastRatio=c},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 s(e,t){return e.indexOf(t)>=0}t.isFirefox=!!~i.indexOf("Firefox"),t.isSafari=/^((?!chrome|android).)*safari/i.test(i),t.isMac=s(["Macintosh","MacIntel","MacPPC","Mac68K"],o),t.isIpad="iPad"===o,t.isIphone="iPhone"===o,t.isWindows=s(["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="",e.STX="",e.ETX="",e.EOT="",e.ENQ="",e.ACK="",e.BEL="",e.BS="\b",e.HT="\t",e.LF="\n",e.VT="\v",e.FF="\f",e.CR="\r",e.SO="",e.SI="",e.DLE="",e.DC1="",e.DC2="",e.DC3="",e.DC4="",e.NAK="",e.SYN="",e.ETB="",e.CAN="",e.EM="",e.SUB="",e.ESC="",e.FS="",e.GS="",e.RS="",e.US="",e.SP=" ",e.DEL=""}(t.C0||(t.C0={})),function(e){e.PAD="",e.HOP="",e.BPH="",e.NBH="",e.IND="",e.NEL="
",e.SSA="",e.ESA="",e.HTS="",e.HTJ="",e.VTS="",e.PLD="",e.PLU="",e.RI="",e.SS2="",e.SS3="",e.DCS="",e.PU1="",e.PU2="",e.STS="",e.CCH="",e.MW="",e.SPA="",e.EPA="",e.SOS="",e.SGCI="",e.SCI="",e.CSI="",e.ST="",e.OSC="",e.PM="",e.APC=""}(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),s=n(6),a=n(28),c=n(10),l=n(17),u=function(){function e(e,t,n,r,i,o,s,a){this._container=e,this._alpha=r,this._colors=i,this._rendererId=o,this._bufferService=s,this._optionsService=a,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+t+"-layer"),this._canvas.style.zIndex=n.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return e.prototype.dispose=function(){var e;l.removeElementFromParent(this._canvas),null===(e=this._charAtlas)||void 0===e||e.dispose()},e.prototype._initCanvas=function(){this._ctx=a.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,s,a=this._getContrastColor(e);a||e.isFgRGB()||e.isBgRGB()?this._drawUncachedChars(e,t,n,a):(e.isInverse()?(o=e.isBgDefault()?i.INVERTED_DEFAULT_COLOR:e.getBgColor(),s=e.isFgDefault()?i.INVERTED_DEFAULT_COLOR:e.getFgColor()):(s=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=s,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=c.color.opaque(this._colors.background).css;else if(e.isBgRGB())this._ctx.fillStyle="rgb("+s.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("+s.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var a=e.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].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(),s=!!e.isInverse(),a=!!e.isInverse();if(s){var l=n;n=i,i=l;var u=r;r=o,o=u}var d=this._resolveBackgroundRgba(o,i,s),f=this._resolveForegroundRgba(r,n,s,a),p=c.rgba.ensureContrastRatio(d,f,this._optionsService.options.minimumContrastRatio);if(p){var h={css:c.channels.toCss(p>>24&255,p>>16&255,p>>8&255),rgba:p};return this._colors.contrastCache.setColor(e.bg,e.fg,h),h}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;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;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,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");r(n,e,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),s=n(6);t.DEFAULT_ATTR_DATA=Object.freeze(new s.AttributeData);var a=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]),s=0;s<e;++s)this.setCell(s,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 s.ExtendedAttrs),t<this.length-e){for(var i=new o.CellData,a=this.length-e-t-1;a>=0;--a)this.setCell(e+t+a,this.loadCell(e+a,i));for(a=0;a<t;++a)this.setCell(e+a,n)}else for(a=e;a<this.length;++a)this.setCell(a,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 s.ExtendedAttrs)},e.prototype.deleteCells=function(e,t,n,r){if(e%=this.length,t<this.length-e){for(var i=new o.CellData,a=0;a<this.length-e-t;++a)this.setCell(e+a,this.loadCell(e+t+a,i));for(a=this.length-t;a<this.length;++a)this.setCell(a,n)}else for(a=e;a<this.length;++a)this.setCell(a,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 s.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 s.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 s.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 s.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 s=r-1;s>=0;s--)for(var a=0;a<3;a++)this._data[3*(n+s)+a]=o[3*(t+s)+a];else for(s=0;s<r;s++)for(a=0;a<3;a++)this._data[3*(n+s)+a]=o[3*(t+s)+a];var c=Object.keys(e._combined);for(a=0;a<c.length;a++){var l=parseInt(c[a],10);l>=t&&(this._combined[l-t+n]=e._combined[l])}},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 s=this._data[3*t+0],a=2097151&s;o+=2097152&s?this._combined[t]:a?r.stringFromCodePoint(a):i.WHITESPACE_CELL_CHAR,t+=s>>22||1}return o},e}();t.BufferLine=a},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,s=n(12),a=n(20),c=n(39),l=n(2),u=n(15),d=n(8),f=n(16),p=n(0),h=n(3),m=n(4),g=n(6),v=n(22),y=n(24),b={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function x(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 w=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(s.C0.ESC+'P1$r0"q'+s.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(s.C0.ESC+'P1$r61;1"p'+s.C0.ESC+"\\");case"r":var n=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(s.C0.ESC+"P1$r"+n+s.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(s.C0.ESC+"P1$r0m"+s.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(s.C0.ESC+"P1$r"+r+" q"+s.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",t),this._coreService.triggerDataEvent(s.C0.ESC+"P0$r"+s.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},e}(),_=function(e){function t(t,n,r,i,o,l,u,h,g){void 0===g&&(g=new c.EscapeSequenceParser);var y=e.call(this)||this;y._bufferService=t,y._charsetService=n,y._coreService=r,y._dirtyRowService=i,y._logService=o,y._optionsService=l,y._coreMouseService=u,y._unicodeService=h,y._parser=g,y._parseBuffer=new Uint32Array(4096),y._stringDecoder=new d.StringToUtf32,y._utf8Decoder=new d.Utf8ToUtf32,y._workCell=new m.CellData,y._windowTitle="",y._iconName="",y._windowTitleStack=[],y._iconNameStack=[],y._curAttrData=f.DEFAULT_ATTR_DATA.clone(),y._eraseAttrDataInternal=f.DEFAULT_ATTR_DATA.clone(),y._onRequestBell=new p.EventEmitter,y._onRequestRefreshRows=new p.EventEmitter,y._onRequestReset=new p.EventEmitter,y._onRequestScroll=new p.EventEmitter,y._onRequestSyncScrollBar=new p.EventEmitter,y._onRequestWindowsOptionsReport=new p.EventEmitter,y._onA11yChar=new p.EventEmitter,y._onA11yTab=new p.EventEmitter,y._onCursorMove=new p.EventEmitter,y._onLineFeed=new p.EventEmitter,y._onScroll=new p.EventEmitter,y._onTitleChange=new p.EventEmitter,y.register(y._parser),y._parser.setCsiHandlerFallback((function(e,t){y._logService.debug("Unknown CSI code: ",{identifier:y._parser.identToString(e),params:t.toArray()})})),y._parser.setEscHandlerFallback((function(e){y._logService.debug("Unknown ESC code: ",{identifier:y._parser.identToString(e)})})),y._parser.setExecuteHandlerFallback((function(e){y._logService.debug("Unknown EXECUTE code: ",{code:e})})),y._parser.setOscHandlerFallback((function(e,t,n){y._logService.debug("Unknown OSC code: ",{identifier:e,action:t,data:n})})),y._parser.setDcsHandlerFallback((function(e,t,n){"HOOK"===t&&(n=n.toArray()),y._logService.debug("Unknown DCS code: ",{identifier:y._parser.identToString(e),action:t,payload:n})})),y._parser.setPrintHandler((function(e,t,n){return y.print(e,t,n)})),y._parser.setCsiHandler({final:"@"},(function(e){return y.insertChars(e)})),y._parser.setCsiHandler({intermediates:" ",final:"@"},(function(e){return y.scrollLeft(e)})),y._parser.setCsiHandler({final:"A"},(function(e){return y.cursorUp(e)})),y._parser.setCsiHandler({intermediates:" ",final:"A"},(function(e){return y.scrollRight(e)})),y._parser.setCsiHandler({final:"B"},(function(e){return y.cursorDown(e)})),y._parser.setCsiHandler({final:"C"},(function(e){return y.cursorForward(e)})),y._parser.setCsiHandler({final:"D"},(function(e){return y.cursorBackward(e)})),y._parser.setCsiHandler({final:"E"},(function(e){return y.cursorNextLine(e)})),y._parser.setCsiHandler({final:"F"},(function(e){return y.cursorPrecedingLine(e)})),y._parser.setCsiHandler({final:"G"},(function(e){return y.cursorCharAbsolute(e)})),y._parser.setCsiHandler({final:"H"},(function(e){return y.cursorPosition(e)})),y._parser.setCsiHandler({final:"I"},(function(e){return y.cursorForwardTab(e)})),y._parser.setCsiHandler({final:"J"},(function(e){return y.eraseInDisplay(e)})),y._parser.setCsiHandler({prefix:"?",final:"J"},(function(e){return y.eraseInDisplay(e)})),y._parser.setCsiHandler({final:"K"},(function(e){return y.eraseInLine(e)})),y._parser.setCsiHandler({prefix:"?",final:"K"},(function(e){return y.eraseInLine(e)})),y._parser.setCsiHandler({final:"L"},(function(e){return y.insertLines(e)})),y._parser.setCsiHandler({final:"M"},(function(e){return y.deleteLines(e)})),y._parser.setCsiHandler({final:"P"},(function(e){return y.deleteChars(e)})),y._parser.setCsiHandler({final:"S"},(function(e){return y.scrollUp(e)})),y._parser.setCsiHandler({final:"T"},(function(e){return y.scrollDown(e)})),y._parser.setCsiHandler({final:"X"},(function(e){return y.eraseChars(e)})),y._parser.setCsiHandler({final:"Z"},(function(e){return y.cursorBackwardTab(e)})),y._parser.setCsiHandler({final:"`"},(function(e){return y.charPosAbsolute(e)})),y._parser.setCsiHandler({final:"a"},(function(e){return y.hPositionRelative(e)})),y._parser.setCsiHandler({final:"b"},(function(e){return y.repeatPrecedingCharacter(e)})),y._parser.setCsiHandler({final:"c"},(function(e){return y.sendDeviceAttributesPrimary(e)})),y._parser.setCsiHandler({prefix:">",final:"c"},(function(e){return y.sendDeviceAttributesSecondary(e)})),y._parser.setCsiHandler({final:"d"},(function(e){return y.linePosAbsolute(e)})),y._parser.setCsiHandler({final:"e"},(function(e){return y.vPositionRelative(e)})),y._parser.setCsiHandler({final:"f"},(function(e){return y.hVPosition(e)})),y._parser.setCsiHandler({final:"g"},(function(e){return y.tabClear(e)})),y._parser.setCsiHandler({final:"h"},(function(e){return y.setMode(e)})),y._parser.setCsiHandler({prefix:"?",final:"h"},(function(e){return y.setModePrivate(e)})),y._parser.setCsiHandler({final:"l"},(function(e){return y.resetMode(e)})),y._parser.setCsiHandler({prefix:"?",final:"l"},(function(e){return y.resetModePrivate(e)})),y._parser.setCsiHandler({final:"m"},(function(e){return y.charAttributes(e)})),y._parser.setCsiHandler({final:"n"},(function(e){return y.deviceStatus(e)})),y._parser.setCsiHandler({prefix:"?",final:"n"},(function(e){return y.deviceStatusPrivate(e)})),y._parser.setCsiHandler({intermediates:"!",final:"p"},(function(e){return y.softReset(e)})),y._parser.setCsiHandler({intermediates:" ",final:"q"},(function(e){return y.setCursorStyle(e)})),y._parser.setCsiHandler({final:"r"},(function(e){return y.setScrollRegion(e)})),y._parser.setCsiHandler({final:"s"},(function(e){return y.saveCursor(e)})),y._parser.setCsiHandler({final:"t"},(function(e){return y.windowOptions(e)})),y._parser.setCsiHandler({final:"u"},(function(e){return y.restoreCursor(e)})),y._parser.setCsiHandler({intermediates:"'",final:"}"},(function(e){return y.insertColumns(e)})),y._parser.setCsiHandler({intermediates:"'",final:"~"},(function(e){return y.deleteColumns(e)})),y._parser.setExecuteHandler(s.C0.BEL,(function(){return y.bell()})),y._parser.setExecuteHandler(s.C0.LF,(function(){return y.lineFeed()})),y._parser.setExecuteHandler(s.C0.VT,(function(){return y.lineFeed()})),y._parser.setExecuteHandler(s.C0.FF,(function(){return y.lineFeed()})),y._parser.setExecuteHandler(s.C0.CR,(function(){return y.carriageReturn()})),y._parser.setExecuteHandler(s.C0.BS,(function(){return y.backspace()})),y._parser.setExecuteHandler(s.C0.HT,(function(){return y.tab()})),y._parser.setExecuteHandler(s.C0.SO,(function(){return y.shiftOut()})),y._parser.setExecuteHandler(s.C0.SI,(function(){return y.shiftIn()})),y._parser.setExecuteHandler(s.C1.IND,(function(){return y.index()})),y._parser.setExecuteHandler(s.C1.NEL,(function(){return y.nextLine()})),y._parser.setExecuteHandler(s.C1.HTS,(function(){return y.tabSet()})),y._parser.setOscHandler(0,new v.OscHandler((function(e){y.setTitle(e),y.setIconName(e)}))),y._parser.setOscHandler(1,new v.OscHandler((function(e){return y.setIconName(e)}))),y._parser.setOscHandler(2,new v.OscHandler((function(e){return y.setTitle(e)}))),y._parser.setEscHandler({final:"7"},(function(){return y.saveCursor()})),y._parser.setEscHandler({final:"8"},(function(){return y.restoreCursor()})),y._parser.setEscHandler({final:"D"},(function(){return y.index()})),y._parser.setEscHandler({final:"E"},(function(){return y.nextLine()})),y._parser.setEscHandler({final:"H"},(function(){return y.tabSet()})),y._parser.setEscHandler({final:"M"},(function(){return y.reverseIndex()})),y._parser.setEscHandler({final:"="},(function(){return y.keypadApplicationMode()})),y._parser.setEscHandler({final:">"},(function(){return y.keypadNumericMode()})),y._parser.setEscHandler({final:"c"},(function(){return y.fullReset()})),y._parser.setEscHandler({final:"n"},(function(){return y.setgLevel(2)})),y._parser.setEscHandler({final:"o"},(function(){return y.setgLevel(3)})),y._parser.setEscHandler({final:"|"},(function(){return y.setgLevel(3)})),y._parser.setEscHandler({final:"}"},(function(){return y.setgLevel(2)})),y._parser.setEscHandler({final:"~"},(function(){return y.setgLevel(1)})),y._parser.setEscHandler({intermediates:"%",final:"@"},(function(){return y.selectDefaultCharset()})),y._parser.setEscHandler({intermediates:"%",final:"G"},(function(){return y.selectDefaultCharset()}));var b=function(e){x._parser.setEscHandler({intermediates:"(",final:e},(function(){return y.selectCharset("("+e)})),x._parser.setEscHandler({intermediates:")",final:e},(function(){return y.selectCharset(")"+e)})),x._parser.setEscHandler({intermediates:"*",final:e},(function(){return y.selectCharset("*"+e)})),x._parser.setEscHandler({intermediates:"+",final:e},(function(){return y.selectCharset("+"+e)})),x._parser.setEscHandler({intermediates:"-",final:e},(function(){return y.selectCharset("-"+e)})),x._parser.setEscHandler({intermediates:".",final:e},(function(){return y.selectCharset("."+e)})),x._parser.setEscHandler({intermediates:"/",final:e},(function(){return y.selectCharset("/"+e)}))},x=this;for(var _ in a.CHARSETS)b(_);return y._parser.setEscHandler({intermediates:"#",final:"8"},(function(){return y.screenAlignmentPattern()})),y._parser.setErrorHandler((function(e){return y._logService.error("Parsing error: ",e),e})),y._parser.setDcsHandler({intermediates:"$",final:"q"},new w(y._bufferService,y._coreService,y._logService,y._optionsService)),y}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,s="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,s)}else s="string"==typeof e?this._stringDecoder.decode(e,this._parseBuffer):this._utf8Decoder.decode(e,this._parseBuffer),this._parser.parse(this._parseBuffer,s);(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,s=this._charsetService.charset,a=this._optionsService.options.screenReaderMode,c=this._bufferService.cols,l=this._coreService.decPrivateModes.wraparound,u=this._coreService.modes.insertMode,f=this._curAttrData,p=o.lines.get(o.ybase+o.y);this._dirtyRowService.markDirty(o.y),o.x&&n-t>0&&2===p.getWidth(o.x-1)&&p.setCellFromCodePoint(o.x-1,0,1,f.fg,f.bg,f.extended);for(var m=t;m<n;++m){if(r=e[m],i=this._unicodeService.wcwidth(r),r<127&&s){var g=s[String.fromCharCode(r)];g&&(r=g.charCodeAt(0))}if(a&&this._onA11yChar.fire(d.stringFromCodePoint(r)),i||!o.x){if(o.x+i-1>=c)if(l){for(;o.x<c;)p.setCellFromCodePoint(o.x++,0,1,f.fg,f.bg,f.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),p=o.lines.get(o.ybase+o.y)}else if(o.x=c-1,2===i)continue;if(u&&(p.insertCells(o.x,i,o.getNullCell(f),f),2===p.getWidth(c-1)&&p.setCellFromCodePoint(c-1,h.NULL_CELL_CODE,h.NULL_CELL_WIDTH,f.fg,f.bg,f.extended)),p.setCellFromCodePoint(o.x++,r,i,f.fg,f.bg,f.extended),i>0)for(;--i;)p.setCellFromCodePoint(o.x++,0,0,f.fg,f.bg,f.extended)}else p.getWidth(o.x-1)?p.addCodepointToCell(o.x-1,r):p.addCodepointToCell(o.x-2,r)}n-t>0&&(p.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<c&&n-t>0&&0===p.getWidth(o.x)&&!p.hasContent(o.x)&&p.setCellFromCodePoint(o.x,0,1,f.fg,f.bg,f.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!x(e.params[0],n._optionsService.options.windowOptions)||t(e)}))},t.prototype.addDcsHandler=function(e,t){return this._parser.addDcsHandler(e,new y.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 v.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(f.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(s.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(s.C0.ESC+"[?6c"))},t.prototype.sendDeviceAttributesSecondary=function(e){e.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(s.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(s.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(e.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(s.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++)4===e.params[t]&&(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,a.DEFAULT_CHARSET),this._charsetService.setgCharset(1,a.DEFAULT_CHARSET),this._charsetService.setgCharset(2,a.DEFAULT_CHARSET),this._charsetService.setgCharset(3,a.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++)4===e.params[t]&&(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 s=e.getSubParams(t+o),a=0;do{5===r[1]&&(i=1),r[o+a+1+i]=s[a]}while(++a<s.length&&a+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(a=2;a<r.length;++a)-1===r[a]&&(r[a]=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=f.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=f.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=f.DEFAULT_ATTR_DATA.fg,r.bg=f.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&f.DEFAULT_ATTR_DATA.fg):49===t?(r.bg&=-67108864,r.bg|=16777215&f.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&f.DEFAULT_ATTR_DATA.fg,r.bg&=-67108864,r.bg|=16777215&f.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(s.C0.ESC+"[0n");break;case 6:var t=this._bufferService.buffer.y+1,n=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(s.C0.ESC+"["+t+";"+n+"R")}},t.prototype.deviceStatusPrivate=function(e){if(6===e.params[0]){var t=this._bufferService.buffer.y+1,n=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(s.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=f.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(x(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(s.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,a.DEFAULT_CHARSET)},t.prototype.selectCharset=function(e){2===e.length?"/"!==e[0]&&this._charsetService.setgCharset(b[e[0]],a.CHARSETS[e[1]]||a.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=f.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=f.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 m.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}(l.Disposable);t.InputHandler=_},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]={"`":"◆",a:"▒",b:"␉",c:"␌",d:"␍",e:"␊",f:"°",g:"±",h:"",i:"␋",j:"┘",k:"┐",l:"┌",m:"└",n:"┼",o:"⎺",p:"⎻",q:"─",r:"⎼",s:"⎽",t:"├",u:"┤",v:"┴",w:"┬",x:"│",y:"≤",z:"≥","{":"π","|":"≠","}":"£","~":"·"},t.CHARSETS.A={"#":"£"},t.CHARSETS.B=void 0,t.CHARSETS[4]={"#":"£","@":"¾","[":"ij","\\":"½","]":"|","{":"¨","|":"f","}":"¼","~":"´"},t.CHARSETS.C=t.CHARSETS[5]={"[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},t.CHARSETS.R={"#":"£","@":"à","[":"°","\\":"ç","]":"§","{":"é","|":"ù","}":"è","~":"¨"},t.CHARSETS.Q={"@":"à","[":"â","\\":"ç","]":"ê","^":"î","`":"ô","{":"é","|":"ù","}":"è","~":"û"},t.CHARSETS.K={"@":"§","[":"Ä","\\":"Ö","]":"Ü","{":"ä","|":"ö","}":"ü","~":"ß"},t.CHARSETS.Y={"#":"£","@":"§","[":"°","\\":"ç","]":"é","`":"ù","{":"à","|":"ò","}":"è","~":"ì"},t.CHARSETS.E=t.CHARSETS[6]={"@":"Ä","[":"Æ","\\":"Ø","]":"Å","^":"Ü","`":"ä","{":"æ","|":"ø","}":"å","~":"ü"},t.CHARSETS.Z={"#":"£","@":"§","[":"¡","\\":"Ñ","]":"¿","{":"°","|":"ñ","}":"ç"},t.CHARSETS.H=t.CHARSETS[7]={"@":"É","[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},t.CHARSETS["="]={"#":"ù","@":"à","[":"é","\\":"ç","]":"ê","^":"î",_:"è","`":"ô","{":"ä","|":"ö","}":"ü","~":"û"}},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 s=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=s},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),s=[],a=function(){function e(){this._handlers=Object.create(null),this._active=s,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=s,this._ident=0},e.prototype.hook=function(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||s,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=s,this._ident=0},e}();t.DcsParser=a;var c=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=c},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,s,a){for(var c=r.generateConfig(s,a,e,n),l=0;l<o.length;l++){var u=(d=o[l]).ownedBy.indexOf(t);if(u>=0){if(r.configEquals(d.config,c))return d.atlas;1===d.ownedBy.length?(d.atlas.dispose(),o.splice(l,1)):d.ownedBy.splice(u,1);break}}for(l=0;l<o.length;l++){var d=o[l];if(r.configEquals(d.config,c))return d.ownedBy.push(t),d.atlas}var f={atlas:new i.DynamicCharAtlas(document,c),config:c,ownedBy:[t]};return o.push(f),f.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"),s=r.css.toColor("#000000"),a=r.css.toColor("#ffffff"),c=r.css.toColor("#000000"),l={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],s=t[n%6];e.push({css:r.channels.toCss(i,o,s),rgba:r.channels.toRgba(i,o,s)})}for(n=0;n<24;n++){var a=8+10*n;e.push({css:r.channels.toCss(a,a,a),rgba:r.channels.toRgba(a,a,a)})}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:s,cursor:a,cursorAccent:c,selectionTransparent:l,selectionOpaque:r.color.blend(s,l),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,s),this.colors.cursor=this._parseColor(e.cursor,a,!0),this.colors.cursorAccent=this._parseColor(e.cursorAccent,c,!0),this.colors.selectionTransparent=this._parseColor(e.selection,l,!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)})),s=o[0],a=o[1],c=o[2],l=o[3],u=Math.round(255*l);return{rgba:r.channels.toRgba(s,a,c,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),s=n(3),a=n(4),c=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=c;var l=function(){function e(e){this._bufferService=e,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new a.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,a=0,c=t.getFg(0),l=t.getBg(0),u=0;u<t.getTrimmedLength();u++)if(t.loadCell(u,this._workCell),0!==this._workCell.getWidth()){if(this._workCell.fg!==c||this._workCell.bg!==l){if(u-i>1)for(var d=this._getJoinedRanges(r,a,o,t,i),f=0;f<d.length;f++)n.push(d[f]);i=u,a=o,c=this._workCell.fg,l=this._workCell.bg}o+=this._workCell.getChars().length||s.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-i>1)for(d=this._getJoinedRanges(r,a,o,t,i),f=0;f<d.length;f++)n.push(d[f]);return n},e.prototype._getJoinedRanges=function(t,n,r,i,o){for(var s=t.substring(n,r),a=this._characterJoiners[0].handler(s),c=1;c<this._characterJoiners.length;c++)for(var l=this._characterJoiners[c].handler(s),u=0;u<l.length;u++)e._mergeRanges(a,l[u]);return this._stringRangesToCellRanges(a,i,o),a},e.prototype._stringRangesToCellRanges=function(e,t,n){var r=0,i=!1,o=0,a=e[r];if(a){for(var c=n;c<this._bufferService.cols;c++){var l=t.getWidth(c),u=t.getString(c).length||s.WHITESPACE_CELL_CHAR.length;if(0!==l){if(!i&&a[0]<=o&&(a[0]=c,i=!0),a[1]<=o){if(a[1]=c,!(a=e[++r]))break;a[0]<=o?(a[0]=c,i=!0):i=!1}o+=u}}a&&(a[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=l},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,s,a,c){if(o){var l=r(e,t);if(l)return l[0]=Math.ceil((l[0]+(c?s/2:0))/s),l[1]=Math.ceil(l[1]/a),l[0]=Math.min(Math.max(l[0],1),n+(c?1:0)),l[1]=Math.min(Math.max(l[1],1),i),l}},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),s=n(0),a=n(83),c=function(){function e(e){this._core=new i.Terminal(e),this._addonManager=new a.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 f(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unicode",{get:function(){return this._checkProposedApi(),new p(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=c;var l=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 s.EventEmitter,this._normal=new l(this._buffers.normal,"normal"),this._alternate=new l(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}(),f=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}(),p=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),s=n(37),a=n(38),c=n(12),l=n(19),u=n(40),d=n(50),f=n(51),p=n(11),h=n(7),m=n(18),g=n(54),v=n(55),y=n(56),b=n(57),x=n(59),w=n(0),_=n(16),j=n(27),S=n(60),C=n(5),A=n(61),k=n(62),E=n(63),T=n(64),M=n(65),D="undefined"!=typeof window?window.document:null,O=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.browser=p,n._keyDownHandled=!1,n._onCursorMove=new w.EventEmitter,n._onKey=new w.EventEmitter,n._onRender=new w.EventEmitter,n._onSelectionChange=new w.EventEmitter,n._onTitleChange=new w.EventEmitter,n._onFocus=new w.EventEmitter,n._onBlur=new w.EventEmitter,n._onA11yCharEmitter=new w.EventEmitter,n._onA11yTabEmitter=new w.EventEmitter,n._setup(),n.linkifier=n._instantiationService.createInstance(d.Linkifier),n.linkifier2=n.register(n._instantiationService.createInstance(E.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(w.forwardEvent(n._inputHandler.onCursorMove,n._onCursorMove)),n.register(w.forwardEvent(n._inputHandler.onTitleChange,n._onTitleChange)),n.register(w.forwardEvent(n._inputHandler.onA11yChar,n._onA11yCharEmitter)),n.register(w.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 y.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(c.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(c.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(h.addDisposableDomListener(this.element,"copy",(function(t){e.hasSelection()&&a.copyHandler(t,e._selectionService)})));var t=function(t){return a.handlePasteEvent(t,e.textarea,e._coreService)};this.register(h.addDisposableDomListener(this.textarea,"paste",t)),this.register(h.addDisposableDomListener(this.element,"paste",t)),p.isFirefox?this.register(h.addDisposableDomListener(this.element,"mousedown",(function(t){2===t.button&&a.rightClickHandler(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)}))):this.register(h.addDisposableDomListener(this.element,"contextmenu",(function(t){a.rightClickHandler(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)}))),p.isLinux&&this.register(h.addDisposableDomListener(this.element,"auxclick",(function(t){1===t.button&&a.moveTextAreaUnderMouseCursor(t,e.textarea,e.screenElement)})))},t.prototype._bindKeys=function(){var e=this;this.register(h.addDisposableDomListener(this.textarea,"keyup",(function(t){return e._keyUp(t)}),!0)),this.register(h.addDisposableDomListener(this.textarea,"keydown",(function(t){return e._keyDown(t)}),!0)),this.register(h.addDisposableDomListener(this.textarea,"keypress",(function(t){return e._keyPress(t)}),!0)),this.register(h.addDisposableDomListener(this.textarea,"compositionstart",(function(){return e._compositionHelper.compositionstart()}))),this.register(h.addDisposableDomListener(this.textarea,"compositionupdate",(function(t){return e._compositionHelper.compositionupdate(t)}))),this.register(h.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.");D.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=D.createDocumentFragment();this._viewportElement=D.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),n.appendChild(this._viewportElement),this._viewportScrollArea=D.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=D.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=D.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),n.appendChild(this.screenElement),this.textarea=D.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",m.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(h.addDisposableDomListener(this.textarea,"focus",(function(e){return t._onTextAreaFocus(e)}))),this.register(h.addDisposableDomListener(this.textarea,"blur",(function(){return t._onTextAreaBlur()}))),this._helperContainer.appendChild(this.textarea);var r=this._instantiationService.createInstance(T.CoreBrowserService,this.textarea);this._instantiationService.setService(C.ICoreBrowserService,r),this._charSizeService=this._instantiationService.createInstance(A.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(C.ICharSizeService,this._charSizeService),this._compositionView=D.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 j.ColorManager(D,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(S.RenderService,i,this.rows,this.screenElement)),this._instantiationService.setService(C.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(C.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(k.MouseService),this._instantiationService.setService(C.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(s.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(f.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(C.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(h.addDisposableDomListener(this._viewportElement,"scroll",(function(){return t._selectionService.refresh()}))),this._mouseZoneManager=this._instantiationService.createInstance(v.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(h.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 y.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(b.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)},s=function(t){return r(t),t.preventDefault(),e.cancel(t)},a=function(e){e.buttons&&r(e)},l=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",l),i.mousemove=l):(n.removeEventListener("mousemove",i.mousemove),i.mousemove=null),16&t?i.wheel||(n.addEventListener("wheel",s,{passive:!1}),i.wheel=s):(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=a):(e._document.removeEventListener("mousemove",i.mousedrag),i.mousedrag=null)}))),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(h.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(h.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=c.C0.ESC+(e._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(t.deltaY<0?"A":"B"),o="",s=0;s<Math.abs(n);s++)o+=r;e._coreService.triggerDataEvent(o,!0)}}),{passive:!0})),this.register(h.addDisposableDomListener(n,"wheel",(function(t){if(!i.wheel)return e.viewport.onWheel(t)?void 0:e.cancel(t)}),{passive:!1})),this.register(h.addDisposableDomListener(n,"touchstart",(function(t){if(!e._coreMouseService.areMouseEventsActive)return e.viewport.onTouchStart(t),e.cancel(t)}),{passive:!0})),this.register(h.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){a.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=x.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!==c.C0.ETX&&t.key!==c.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(_.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 l.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var t=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),n=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(c.C0.ESC+"[4;"+n+";"+t+"t");break;case l.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var r=this._renderService.dimensions.scaledCellWidth.toFixed(0),i=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(c.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=O},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},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),s=n(1),a=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,s.IBufferService),i(3,s.IOptionsService),i(4,o.ICharSizeService),i(5,s.ICoreService)],e)}();t.CompositionHelper=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,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=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 a=n(2),c=n(7),l=n(5),u=n(1),d=function(e){function t(t,n,r,i,o,s,a){var l=e.call(this)||this;return l._scrollLines=t,l._viewportElement=n,l._scrollArea=r,l._bufferService=i,l._optionsService=o,l._charSizeService=s,l._renderService=a,l.scrollBarWidth=0,l._currentRowHeight=0,l._lastRecordedBufferLength=0,l._lastRecordedViewportHeight=0,l._lastRecordedBufferHeight=0,l._lastTouchY=0,l._lastScrollTop=0,l._wheelPartialScroll=0,l._refreshAnimationFrame=null,l._ignoreNextScrollEvent=!1,l.scrollBarWidth=l._viewportElement.offsetWidth-l._scrollArea.offsetWidth||15,l.register(c.addDisposableDomListener(l._viewportElement,"scroll",l._onScroll.bind(l))),setTimeout((function(){return l.syncScrollArea()}),0),l}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([s(3,u.IBufferService),s(4,u.IOptionsService),s(5,l.ICharSizeService),s(6,l.IRenderService)],t)}(a.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?"[200~"+e+"[201~":e}function o(e,t,n){e=i(e=r(e),n.decPrivateModes.bracketedPasteMode),n.triggerDataEvent(e,!0),t.value=""}function s(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=s,t.rightClickHandler=function(e,t,n,r,i){s(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),s=n(15),a=n(21),c=n(22),l=n(24),u=function(){function e(e){this.table=new Uint8Array(e)}return e.prototype.setDefault=function(e,t){s.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,s=n(0,14);for(o in e.setDefault(1,0),e.addMany(r,0,2,0),s)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 a.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 c.OscParser,r._dcsParser=new l.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)|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,s=this._dcsParser,a=this._collect,c=this._params,l=this._transitions.table,u=0;u<t;++u){switch((r=l[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:a,params:c,abort:!1}).abort)return;break;case 7:for(var f=this._csiHandlers[a<<8|n],p=f?f.length-1:-1;p>=0&&!1===f[p](c);p--);p<0&&this._csiHandlerFb(a<<8|n,c),this.precedingCodepoint=0;break;case 8:do{switch(n){case 59:c.addParam(0);break;case 58:c.addSubParam(-1);break;default:c.addDigit(n-48)}}while(++u<t&&(n=e[u])>47&&n<60);u--;break;case 9:a<<=8,a|=n;break;case 10:for(var h=this._escHandlers[a<<8|n],m=h?h.length-1:-1;m>=0&&!1===h[m]();m--);m<0&&this._escHandlerFb(a<<8|n),this.precedingCodepoint=0;break;case 11:c.reset(),c.addParam(0),a=0;break;case 12:s.hook(a<<8|n,c);break;case 13:for(var g=u+1;;++g)if(g>=t||24===(n=e[g])||26===n||27===n||n>127&&n<160){s.put(e,u,g),u=g-1;break}break;case 14:s.unhook(24!==n&&26!==n),27===n&&(r|=1),c.reset(),c.addParam(0),a=0,this.precedingCodepoint=0;break;case 4:o.start();break;case 5:for(var v=u+1;;v++)if(v>=t||(n=e[v])<32||n>127&&n<=159){o.put(e,u,v),u=v-1;break}break;case 6:o.end(24!==n&&26!==n),27===n&&(r|=1),c.reset(),c.addParam(0),a=0,this.precedingCodepoint=0}i=15&r}this._collect=a,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,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=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 a=n(41),c=n(47),l=n(48),u=n(49),d=n(29),f=n(2),p=n(5),h=n(1),m=n(25),g=n(0),v=1,y=function(e){function t(t,n,r,i,o,s,f,p,h){var m=e.call(this)||this;m._colors=t,m._screenElement=n,m._bufferService=o,m._charSizeService=s,m._optionsService=f,m._id=v++,m._onRequestRedraw=new g.EventEmitter;var y=m._optionsService.options.allowTransparency;return m._characterJoinerRegistry=new d.CharacterJoinerRegistry(m._bufferService),m._renderLayers=[new a.TextRenderLayer(m._screenElement,0,m._colors,m._characterJoinerRegistry,y,m._id,m._bufferService,f),new c.SelectionRenderLayer(m._screenElement,1,m._colors,m._id,m._bufferService,f),new u.LinkRenderLayer(m._screenElement,2,m._colors,m._id,r,i,m._bufferService,f),new l.CursorRenderLayer(m._screenElement,3,m._colors,m._id,m._onRequestRedraw,m._bufferService,f,p,h)],m.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},m._devicePixelRatio=window.devicePixelRatio,m._updateDimensions(),m.onOptionsChanged(),m}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),m.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([s(4,h.IBufferService),s(5,p.ICharSizeService),s(6,h.IOptionsService),s(7,h.ICoreService),s(8,p.ICoreBrowserService)],t)}(f.Disposable);t.Renderer=y},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),s=n(13),a=n(6),c=n(3),l=n(29),u=n(4),d=function(e){function t(t,n,r,i,s,a,c,l){var d=e.call(this,t,"text",n,s,r,a,c,l)||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,s=this._bufferService.buffer.lines.get(o),a=n?n.getJoinedCharacters(o):[],u=0;u<this._bufferService.cols;u++){s.loadCell(u,this._workCell);var d=this._workCell,f=!1,p=u;if(0!==d.getWidth()){if(a.length>0&&u===a[0][0]){f=!0;var h=a.shift();d=new l.JoinedCellData(this._workCell,s.translateToString(!0,h[0],h[1]),h[1]-h[0]),p=h[1]-1}!f&&this._isOverlapping(d)&&p<s.length-1&&s.getCodePoint(p+1)===c.NULL_CELL_CODE&&(d.content&=-12582913,d.content|=2<<22),r(d,u,i),u=p}}},t.prototype._drawBackground=function(e,t){var n=this,r=this._ctx,i=this._bufferService.cols,o=0,s=0,c=null;r.save(),this._forEachCell(e,t,null,(function(e,t,l){var u=null;e.isInverse()?u=e.isFgDefault()?n._colors.foreground.css:e.isFgRGB()?"rgb("+a.AttributeData.toColorRGB(e.getFgColor()).join(",")+")":n._colors.ansi[e.getFgColor()].css:e.isBgRGB()?u="rgb("+a.AttributeData.toColorRGB(e.getBgColor()).join(",")+")":e.isBgPalette()&&(u=n._colors.ansi[e.getBgColor()].css),null===c&&(o=t,s=l),l!==s?(r.fillStyle=c||"",n._fillCells(o,s,i-o,1),o=t,s=l):c!==u&&(r.fillStyle=c||"",n._fillCells(o,s,t-o,1),o=t,s=l),c=u})),null!==c&&(r.fillStyle=c,this._fillCells(o,s,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("+a.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("+a.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}(s.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),s=n(44),a=n(27),c=n(46),l=n(11),u=n(28),d=n(10),f={css:"rgba(0, 0, 0, 0)",rgba:0};function p(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=p;var h=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 c.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=p(t),o=this._cacheMap.get(i);if(null!=o)return this._drawFromCache(e,o,n,r),!0;if(this._drawToCacheCount<100){var s=void 0;s=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var a=this._drawToCache(t,s);return this._cacheMap.set(i,a),this._drawFromCache(e,a,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]:a.DEFAULT_ANSI_COLORS[e]},t.prototype._getBackgroundColor=function(e){return this._config.allowTransparency?f: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 s=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),a=!1;this._config.allowTransparency||(a=function(e,t){for(var n=!0,r=t.rgba>>>24,i=t.rgba>>>16&255,o=t.rgba>>>8&255,s=0;s<e.data.length;s+=4)e.data[s]===r&&e.data[s+1]===i&&e.data[s+2]===o?e.data[s+3]=0:n=!1;return n}(s,n));var c=this._toCoordinateX(t),l=this._toCoordinateY(t);this._cacheCtx.putImageData(s,c,l);var u={index:t,isEmpty:a,inBitmap:!1};return this._addGlyphToBitmap(u),u},t.prototype._addGlyphToBitmap=function(e){var t=this;!("createImageBitmap"in window)||l.isFirefox||l.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}(s.BaseCharAtlas);t.DynamicCharAtlas=h;var m=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}(s.BaseCharAtlas);t.NoneCharAtlas=m},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,s){var a=e.call(this,t,"selection",n,!0,r,i,o,s)||this;return a._clearState(),a}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),s=Math.min(i,this._bufferService.rows-1);if(!(o>=this._bufferService.rows||s<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,n){var a=e[0],c=t[0]-a,l=s-o+1;this._fillCells(a,o,c,l)}else{a=r===o?e[0]:0;var u=o===s?t[0]:this._bufferService.cols;this._fillCells(a,o,u-a,1);var d=Math.max(s-o-1,0);if(this._fillCells(0,o+1,this._bufferService.cols,d),o!==s){var f=i===s?t[0]:this._bufferService.cols;this._fillCells(0,s,f,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),s=n(4),a=function(e){function t(t,n,r,i,o,a,c,l,u){var d=e.call(this,t,"cursor",n,!0,r,i,a,c)||this;return d._onRequestRedraw=o,d._coreService=l,d._coreBrowserService=u,d._cell=new s.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 c(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=a;var c=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),s=n(9),a=n(26),c=function(e){function t(t,n,r,i,o,s,a,c){var l=e.call(this,t,"link",n,!0,r,i,a,c)||this;return o.onShowLinkUnderline((function(e){return l._onShowLinkUnderline(e)})),o.onHideLinkUnderline((function(e){return l._onHideLinkUnderline(e)})),s.onShowLinkUnderline((function(e){return l._onShowLinkUnderline(e)})),s.onHideLinkUnderline((function(e){return l._onHideLinkUnderline(e)})),l}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===s.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:e.fg&&a.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=c},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},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),s=n(1),a=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(),s=0;s<this._linkMatchers.length;s++)this._doLinkifyRow(o.range.first,o.content,this._linkMatchers[s]);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"),s=-1,a=function(){var a=r["number"!=typeof n.matchIndex?0:n.matchIndex];if(!a)return c._logService.debug("match found without corresponding matchIndex",r,n),"break";if(s=t.indexOf(a,s+1),o.lastIndex=s+a.length,s<0)return"break";var l=c._bufferService.buffer.stringIndexToBufferIndex(e,s);if(l[0]<0)return"break";var u=c._bufferService.buffer.lines.get(l[0]);if(!u)return"break";var d=u.getFg(l[1]),f=d?d>>9&511:void 0;n.validationCallback?n.validationCallback(a,(function(e){i._rowsTimeoutId||e&&i._addLink(l[1],l[0]-i._bufferService.buffer.ydisp,a,n,f)})):c._addLink(l[1],l[0]-c._bufferService.buffer.ydisp,a,n,f)},c=this;null!==(r=o.exec(t))&&"break"!==a(););},e.prototype._addLink=function(e,t,n,r,i){var o=this;if(this._mouseZoneManager&&this._element){var s=this._unicodeService.getStringCellWidth(n),a=e%this._bufferService.cols,l=t+Math.floor(e/this._bufferService.cols),u=(a+s)%this._bufferService.cols,d=l+Math.floor((a+s)/this._bufferService.cols);0===u&&(u=this._bufferService.cols,d--),this._mouseZoneManager.add(new c(a+1,l+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(a,l,u,d,i)),o._element.classList.add("xterm-cursor-pointer")}),(function(e){o._onLinkTooltip.fire(o._createLinkHoverEvent(a,l,u,d,i)),r.hoverTooltipCallback&&r.hoverTooltipCallback(e,n,{start:{x:a,y:l},end:{x:u,y:d}})}),(function(){o._onHideLinkUnderline.fire(o._createLinkHoverEvent(a,l,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,s.IBufferService),i(1,s.ILogService),i(2,s.IUnicodeService)],e)}();t.Linkifier=a;var c=function(e,t,n,r,i,o,s,a,c){this.x1=e,this.y1=t,this.x2=n,this.y2=r,this.clickCallback=i,this.hoverCallback=o,this.tooltipCallback=s,this.leaveCallback=a,this.willLinkActivate=c};t.MouseZone=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,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=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 a=n(11),c=n(52),l=n(4),u=n(0),d=n(5),f=n(1),p=n(30),h=n(53),m=n(2),g=String.fromCharCode(160),v=new RegExp(g,"g"),y=function(e){function t(t,n,r,i,o,s,a){var d=e.call(this)||this;return d._element=t,d._screenElement=n,d._bufferService=r,d._coreService=i,d._mouseService=o,d._optionsService=s,d._renderService=a,d._dragScrollAmount=0,d._enabled=!0,d._workCell=new l.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 c.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 s=e[1]===t[1]?t[0]:void 0;for(r.push(n.translateBufferLineToString(e[1],!0,e[0],s)),i=e[1]+1;i<=t[1]-1;i++){var c=n.lines.get(i);o=n.translateBufferLineToString(i,!0),c&&c.isWrapped?r[r.length-1]+=o:r.push(o)}e[1]!==t[1]&&(c=n.lines.get(t[1]),o=n.translateBufferLineToString(t[1],!0,0,t[0]),c&&c.isWrapped?r[r.length-1]+=o:r.push(o))}return r.map((function(e){return e.replace(v," ")})).join(a.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()}))),a.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=p.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 a.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&&!(a.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=h.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 s=i.translateBufferLineToString(e[1],!1),a=this._convertViewportColToCharacterIndex(o,e),c=a,l=e[0]-a,u=0,d=0,f=0,p=0;if(" "===s.charAt(a)){for(;a>0&&" "===s.charAt(a-1);)a--;for(;c<s.length&&" "===s.charAt(c+1);)c++}else{var h=e[0],m=e[0];0===o.getWidth(h)&&(u++,h--),2===o.getWidth(m)&&(d++,m++);var g=o.getString(m).length;for(g>1&&(p+=g-1,c+=g-1);h>0&&a>0&&!this._isCharWordSeparator(o.loadCell(h-1,this._workCell));){o.loadCell(h-1,this._workCell);var v=this._workCell.getChars().length;0===this._workCell.getWidth()?(u++,h--):v>1&&(f+=v-1,a-=v-1),a--,h--}for(;m<o.length&&c+1<s.length&&!this._isCharWordSeparator(o.loadCell(m+1,this._workCell));){o.loadCell(m+1,this._workCell);var y=this._workCell.getChars().length;2===this._workCell.getWidth()?(d++,m++):y>1&&(p+=y-1,c+=y-1),c++,m++}}c++;var b=a+l-u+f,x=Math.min(this._bufferService.cols,c-a+u+d-f-p);if(t||""!==s.slice(a,c).trim()){if(n&&0===b&&32!==o.getCodePoint(0)){var w=i.lines.get(e[1]-1);if(w&&o.isWrapped&&32!==w.getCodePoint(this._bufferService.cols-1)){var _=this._getWordAt([this._bufferService.cols-1,e[1]-1],!1,!0,!1);if(_){var j=this._bufferService.cols-_.start;b-=j,x+=j}}}if(r&&b+x===this._bufferService.cols&&32!==o.getCodePoint(this._bufferService.cols-1)){var S=i.lines.get(e[1]+1);if(S&&S.isWrapped&&32!==S.getCodePoint(0)){var C=this._getWordAt([0,e[1]+1],!1,!1,!0);C&&(x+=C.length)}}return{start:b,length:x}}}}},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([s(2,f.IBufferService),s(3,f.ICoreService),s(4,d.IMouseService),s(5,f.IOptionsService),s(6,d.IRenderService)],t)}(m.Disposable);t.SelectionService=y},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),a=t-o(n,t);return l(Math.abs(i-a)-function(e,t,n){for(var r=0,i=e-o(n,e),a=t-o(n,t),c=0;c<Math.abs(i-a);c++){var l="A"===s(e,t)?-1:1,u=n.buffer.lines.get(i+l*c);u&&u.isWrapped&&r++}return r}(e,t,n),c(s(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 s(e,t){return e>t?"A":"B"}function a(e,t,n,r,i,o){for(var s=e,a=t,c="";s!==n||a!==r;)s+=i?1:-1,i&&s>o.cols-1?(c+=o.buffer.translateBufferLineToString(a,!1,e,s),s=0,e=0,a++):!i&&s<0&&(c+=o.buffer.translateBufferLineToString(a,!1,0,e+1),e=s=o.cols-1,a--);return c+o.buffer.translateBufferLineToString(a,!1,e,s)}function c(e,t){var n=t?"O":"[";return r.C0.ESC+n+e}function l(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 s,u=n.buffer.x,d=n.buffer.y;if(!n.buffer.hasScrollback)return function(e,t,n,r,s,u){return 0===i(t,r,s,u).length?"":l(a(e,t,e,t-o(s,t),!1,s).length,c("D",u))}(u,d,0,t,n,r)+i(d,t,n,r)+function(e,t,n,r,s,u){var d;d=i(t,r,s,u).length>0?r-o(s,r):t;var f=r,p=function(e,t,n,r,s,a){var c;return c=i(n,r,s,a).length>0?r-o(s,r):t,e<n&&c<=r||e>=n&&c<r?"C":"D"}(e,t,n,r,s,u);return l(a(e,d,n,f,"C"===p,s).length,c(p,u))}(u,d,e,t,n,r);if(d===t)return s=u>e?"D":"C",l(Math.abs(u-e),c(s,r));s=d>t?"D":"C";var f=Math.abs(d-t);return l(function(e,t){return t.cols-e}(d>t?e:u,n)+(f-1)*n.cols+1+((d>t?u:e)-1),c(s,r))}},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},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),s=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=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,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=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 a=n(2),c=n(7),l=n(5),u=n(1),d=function(e){function t(t,n,r,i,o,s){var a=e.call(this)||this;return a._element=t,a._screenElement=n,a._bufferService=r,a._mouseService=i,a._selectionService=o,a._optionsService=s,a._zones=[],a._areZonesActive=!1,a._lastHoverCoords=[void 0,void 0],a._initialSelectionLength=0,a.register(c.addDisposableDomListener(a._element,"mousedown",(function(e){return a._onMouseDown(e)}))),a._mouseMoveListener=function(e){return a._onMouseMove(e)},a._mouseLeaveListener=function(e){return a._onMouseLeave(e)},a._clickListener=function(e){return a._onClick(e)},a}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([s(2,u.IBufferService),s(3,l.IMouseService),s(4,l.ISelectionService),s(5,u.IOptionsService)],t)}(a.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),s=n(11),a=n(31),c=n(7),l=n(2),u=n(32),d=n(17),f=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 a.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(c.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 s=this._createAccessibilityTreeNode();this._rowElements.unshift(s),this._rowContainer.insertAdjacentElement("afterbegin",s)}else s=this._createAccessibilityTreeNode(),this._rowElements.push(s),this._rowContainer.appendChild(s);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(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)),s.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,s.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),s=(n.ydisp+i+1).toString(),a=this._rowElements[i];a&&(0===o.length?a.innerHTML=" ":a.textContent=o,a.setAttribute("aria-posinset",s),a.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}(l.Disposable);t.AccessibilityManager=f},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,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=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 a=n(58),c=n(9),l=n(2),u=n(5),d=n(1),f=n(0),p=n(10),h=n(17),m=1,g=function(e){function t(t,n,r,i,o,s,c,l,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=s,d._charSizeService=c,d._optionsService=l,d._bufferService=u,d._terminalClass=m++,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 a.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 f.EventEmitter).event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),h.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(."+a.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+a.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+a.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) ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+a.CURSOR_CLASS+"."+a.CURSOR_BLINK_CLASS+":not(."+a.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+a.CURSOR_CLASS+"."+a.CURSOR_BLINK_CLASS+"."+a.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+a.CURSOR_CLASS+"."+a.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-"+c.INVERTED_DEFAULT_COLOR+" { color: "+p.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+c.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),s=Math.min(i,this._bufferService.rows-1);if(!(o>=this._bufferService.rows||s<0)){var a=document.createDocumentFragment();if(n)a.appendChild(this._createSelectionElement(o,e[0],t[0],s-o+1));else{var c=r===o?e[0]:0,l=o===s?t[0]:this._bufferService.cols;a.appendChild(this._createSelectionElement(o,c,l));var u=s-o-1;if(a.appendChild(this._createSelectionElement(o+1,0,this._bufferService.cols,u)),o!==s){var d=i===s?t[0]:this._bufferService.cols;a.appendChild(this._createSelectionElement(s,0,d))}}this._selectionContainer.appendChild(a)}}},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 s=this._rowElements[o];s.innerHTML="";var a=o+this._bufferService.buffer.ydisp,c=this._bufferService.buffer.lines.get(a),l=this._optionsService.options.cursorStyle;s.appendChild(this._rowFactory.createRow(c,a===n,l,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 s=this._rowElements[n];if(!s)return;var a=s.children[e];a&&(a.style.textDecoration=o?"underline":"none"),++e>=i&&(e=0,n++)}},o([s(6,u.ICharSizeService),s(7,d.IOptionsService),s(8,d.IBufferService)],t)}(l.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),s=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 a=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,a,l,u,d){for(var f=this._document.createDocumentFragment(),p=0,h=Math.min(e.length,d)-1;h>=0;h--)if(e.loadCell(h,this._workCell).getCode()!==i.NULL_CELL_CODE||n&&h===a){p=h+1;break}for(h=0;h<p;h++){e.loadCell(h,this._workCell);var m=this._workCell.getWidth();if(0!==m){var g=this._document.createElement("span");if(m>1&&(g.style.width=u*m+"px"),n&&h===a)switch(g.classList.add(t.CURSOR_CLASS),l&&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 v=this._workCell.getFgColor(),y=this._workCell.getFgColorMode(),b=this._workCell.getBgColor(),x=this._workCell.getBgColorMode(),w=!!this._workCell.isInverse();if(w){var _=v;v=b,b=_;var j=y;y=x,x=j}switch(y){case 16777216:case 33554432:this._workCell.isBold()&&v<8&&this._optionsService.options.drawBoldTextInBrightColors&&(v+=8),this._applyMinimumContrast(g,this._colors.background,this._colors.ansi[v])||g.classList.add("xterm-fg-"+v);break;case 50331648:var S=s.rgba.toColor(v>>16&255,v>>8&255,255&v);this._applyMinimumContrast(g,this._colors.background,S)||this._addStyle(g,"color:#"+c(v.toString(16),"0",6));break;default:this._applyMinimumContrast(g,this._colors.background,this._colors.foreground)||w&&g.classList.add("xterm-fg-"+r.INVERTED_DEFAULT_COLOR)}switch(x){case 16777216:case 33554432:g.classList.add("xterm-bg-"+b);break;case 50331648:this._addStyle(g,"background-color:#"+c(b.toString(16),"0",6));break;default:w&&g.classList.add("xterm-bg-"+r.INVERTED_DEFAULT_COLOR)}f.appendChild(g)}}return f},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=s.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 c(e,t,n){for(;e.length<n;)e=t+e;return e}t.DomRendererRowFactory=a},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 s={type:0,cancel:!1,key:void 0},a=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?s.key=t?r.C0.ESC+"OA":r.C0.ESC+"[A":"UIKeyInputLeftArrow"===e.key?s.key=t?r.C0.ESC+"OD":r.C0.ESC+"[D":"UIKeyInputRightArrow"===e.key?s.key=t?r.C0.ESC+"OC":r.C0.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(s.key=t?r.C0.ESC+"OB":r.C0.ESC+"[B");break;case 8:if(e.shiftKey){s.key=r.C0.BS;break}if(e.altKey){s.key=r.C0.ESC+r.C0.DEL;break}s.key=r.C0.DEL;break;case 9:if(e.shiftKey){s.key=r.C0.ESC+"[Z";break}s.key=r.C0.HT,s.cancel=!0;break;case 13:s.key=e.altKey?r.C0.ESC+r.C0.CR:r.C0.CR,s.cancel=!0;break;case 27:s.key=r.C0.ESC,e.altKey&&(s.key=r.C0.ESC+r.C0.ESC),s.cancel=!0;break;case 37:if(e.metaKey)break;a?(s.key=r.C0.ESC+"[1;"+(a+1)+"D",s.key===r.C0.ESC+"[1;3D"&&(s.key=r.C0.ESC+(n?"b":"[1;5D"))):s.key=t?r.C0.ESC+"OD":r.C0.ESC+"[D";break;case 39:if(e.metaKey)break;a?(s.key=r.C0.ESC+"[1;"+(a+1)+"C",s.key===r.C0.ESC+"[1;3C"&&(s.key=r.C0.ESC+(n?"f":"[1;5C"))):s.key=t?r.C0.ESC+"OC":r.C0.ESC+"[C";break;case 38:if(e.metaKey)break;a?(s.key=r.C0.ESC+"[1;"+(a+1)+"A",n||s.key!==r.C0.ESC+"[1;3A"||(s.key=r.C0.ESC+"[1;5A")):s.key=t?r.C0.ESC+"OA":r.C0.ESC+"[A";break;case 40:if(e.metaKey)break;a?(s.key=r.C0.ESC+"[1;"+(a+1)+"B",n||s.key!==r.C0.ESC+"[1;3B"||(s.key=r.C0.ESC+"[1;5B")):s.key=t?r.C0.ESC+"OB":r.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(s.key=r.C0.ESC+"[2~");break;case 46:s.key=a?r.C0.ESC+"[3;"+(a+1)+"~":r.C0.ESC+"[3~";break;case 36:s.key=a?r.C0.ESC+"[1;"+(a+1)+"H":t?r.C0.ESC+"OH":r.C0.ESC+"[H";break;case 35:s.key=a?r.C0.ESC+"[1;"+(a+1)+"F":t?r.C0.ESC+"OF":r.C0.ESC+"[F";break;case 33:e.shiftKey?s.type=2:s.key=r.C0.ESC+"[5~";break;case 34:e.shiftKey?s.type=3:s.key=r.C0.ESC+"[6~";break;case 112:s.key=a?r.C0.ESC+"[1;"+(a+1)+"P":r.C0.ESC+"OP";break;case 113:s.key=a?r.C0.ESC+"[1;"+(a+1)+"Q":r.C0.ESC+"OQ";break;case 114:s.key=a?r.C0.ESC+"[1;"+(a+1)+"R":r.C0.ESC+"OR";break;case 115:s.key=a?r.C0.ESC+"[1;"+(a+1)+"S":r.C0.ESC+"OS";break;case 116:s.key=a?r.C0.ESC+"[15;"+(a+1)+"~":r.C0.ESC+"[15~";break;case 117:s.key=a?r.C0.ESC+"[17;"+(a+1)+"~":r.C0.ESC+"[17~";break;case 118:s.key=a?r.C0.ESC+"[18;"+(a+1)+"~":r.C0.ESC+"[18~";break;case 119:s.key=a?r.C0.ESC+"[19;"+(a+1)+"~":r.C0.ESC+"[19~";break;case 120:s.key=a?r.C0.ESC+"[20;"+(a+1)+"~":r.C0.ESC+"[20~";break;case 121:s.key=a?r.C0.ESC+"[21;"+(a+1)+"~":r.C0.ESC+"[21~";break;case 122:s.key=a?r.C0.ESC+"[23;"+(a+1)+"~":r.C0.ESC+"[23~";break;case 123:s.key=a?r.C0.ESC+"[24;"+(a+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&&(s.type=1):e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&e.keyCode>=48&&1===e.key.length?s.key=e.key:e.key&&e.ctrlKey&&"_"===e.key&&(s.key=r.C0.US);else{var c=i[e.keyCode],l=c&&c[e.shiftKey?1:0];if(l)s.key=r.C0.ESC+l;else if(e.keyCode>=65&&e.keyCode<=90){var u=e.ctrlKey?e.keyCode-64:e.keyCode+32;s.key=r.C0.ESC+String.fromCharCode(u)}}else e.keyCode>=65&&e.keyCode<=90?s.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?s.key=r.C0.NUL:e.keyCode>=51&&e.keyCode<=55?s.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?s.key=r.C0.DEL:219===e.keyCode?s.key=r.C0.ESC:220===e.keyCode?s.key=r.C0.FS:221===e.keyCode&&(s.key=r.C0.GS)}return 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,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=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 a=n(31),c=n(0),l=n(2),u=n(32),d=n(7),f=n(1),p=n(5),h=function(e){function t(t,n,r,i,o,s){var l=e.call(this)||this;if(l._renderer=t,l._rowCount=n,l._isPaused=!1,l._needsFullRefresh=!1,l._isNextRenderRedrawOnly=!0,l._needsSelectionRefresh=!1,l._canvasWidth=0,l._canvasHeight=0,l._selectionState={start:void 0,end:void 0,columnSelectMode:!1},l._onDimensionsChange=new c.EventEmitter,l._onRender=new c.EventEmitter,l._onRefreshRequest=new c.EventEmitter,l.register({dispose:function(){return l._renderer.dispose()}}),l._renderDebouncer=new a.RenderDebouncer((function(e,t){return l._renderRows(e,t)})),l.register(l._renderDebouncer),l._screenDprMonitor=new u.ScreenDprMonitor,l._screenDprMonitor.setListener((function(){return l.onDevicePixelRatioChange()})),l.register(l._screenDprMonitor),l.register(s.onResize((function(e){return l._fullRefresh()}))),l.register(i.onOptionChange((function(){return l._renderer.onOptionsChanged()}))),l.register(o.onCharSizeChange((function(){return l.onCharSizeChanged()}))),l._renderer.onRequestRedraw((function(e){return l.refreshRows(e.start,e.end,!0)})),l.register(d.addDisposableDomListener(window,"resize",(function(){return l.onDevicePixelRatioChange()}))),"IntersectionObserver"in window){var f=new IntersectionObserver((function(e){return l._onIntersectionChange(e[e.length-1])}),{threshold:0});f.observe(r),l.register({dispose:function(){return f.disconnect()}})}return l}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([s(3,f.IOptionsService),s(4,p.ICharSizeService),s(5,f.IBufferService)],t)}(l.Disposable);t.RenderService=h},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},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),s=n(0),a=function(){function e(e,t,n){this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=new s.EventEmitter,this._measureStrategy=new c(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=a;var c=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,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},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),s=n(30),a=function(){function e(e,t){this._renderService=e,this._charSizeService=t}return e.prototype.getCoords=function(e,t,n,r,i){return s.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 s.getRawByteCoords(i)},r([i(0,o.IRenderService),i(1,o.ICharSizeService)],e)}();t.MouseService=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,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=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 a=n(1),c=n(0),l=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 c.EventEmitter),n._onHideLinkUnderline=n.register(new c.EventEmitter),n.register(l.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 s;t?(null===(s=n._activeProviderReplies)||void 0===s?void 0:s.get(o))&&(r=n._checkLinkProviderResult(o,e,r)):i.provideLinks(e.y,(function(t){var i,s;if(!n._isMouseOut){var a=null==t?void 0:t.map((function(e){return{link:e}}));null===(i=n._activeProviderReplies)||void 0===i||i.set(o,a),r=n._checkLinkProviderResult(o,e,r),(null===(s=n._activeProviderReplies)||void 0===s?void 0:s.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 s=i[o],a=s.link.range.start.y<e?0:s.link.range.start.x,c=s.link.range.end.y>e?this._bufferService.cols:s.link.range.end.x,l=a;l<=c;l++){if(n.has(l)){i.splice(o--,1);break}n.add(l)}}},t.prototype._checkLinkProviderResult=function(e,t,n){var r,i=this;if(!this._activeProviderReplies)return n;for(var o=this._activeProviderReplies.get(e),s=!1,a=0;a<e;a++)this._activeProviderReplies.has(a)&&!this._activeProviderReplies.get(a)||(s=!0);if(!s&&o){var c=o.find((function(e){return i._linkAtPosition(e.link,t)}));c&&(n=!0,this._handleNewLink(c))}if(this._activeProviderReplies.size===this._linkProviders.length&&!n)for(a=0;a<this._activeProviderReplies.size;a++){var l=null===(r=this._activeProviderReplies.get(a))||void 0===r?void 0:r.find((function(e){return i._linkAtPosition(e.link,t)}));if(l){n=!0,this._handleNewLink(l);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,l.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([s(0,a.IBufferService)],t)}(l.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),s=n(1),a=n(66),c=n(67),l=n(68),u=n(74),d=n(75),f=n(0),p=n(76),h=n(77),m=n(78),g=n(80),v=n(81),y=n(19),b=n(82),x=function(e){function t(t){var n=e.call(this)||this;return n._onBinary=new f.EventEmitter,n._onData=new f.EventEmitter,n._onLineFeed=new f.EventEmitter,n._onResize=new f.EventEmitter,n._onScroll=new f.EventEmitter,n._instantiationService=new a.InstantiationService,n.optionsService=new u.OptionsService(t),n._instantiationService.setService(s.IOptionsService,n.optionsService),n._bufferService=n.register(n._instantiationService.createInstance(l.BufferService)),n._instantiationService.setService(s.IBufferService,n._bufferService),n._logService=n._instantiationService.createInstance(c.LogService),n._instantiationService.setService(s.ILogService,n._logService),n._coreService=n.register(n._instantiationService.createInstance(d.CoreService,(function(){return n.scrollToBottom()}))),n._instantiationService.setService(s.ICoreService,n._coreService),n._coreMouseService=n._instantiationService.createInstance(p.CoreMouseService),n._instantiationService.setService(s.ICoreMouseService,n._coreMouseService),n._dirtyRowService=n._instantiationService.createInstance(h.DirtyRowService),n._instantiationService.setService(s.IDirtyRowService,n._dirtyRowService),n.unicodeService=n._instantiationService.createInstance(m.UnicodeService),n._instantiationService.setService(s.IUnicodeService,n.unicodeService),n._charsetService=n._instantiationService.createInstance(g.CharsetService),n._instantiationService.setService(s.ICharsetService,n._charsetService),n._inputHandler=new y.InputHandler(n._bufferService,n._charsetService,n._coreService,n._dirtyRowService,n._logService,n.optionsService,n._coreMouseService,n.unicodeService),n.register(f.forwardEvent(n._inputHandler.onLineFeed,n._onLineFeed)),n.register(n._inputHandler),n.register(f.forwardEvent(n._bufferService.onResize,n._onResize)),n.register(f.forwardEvent(n._coreService.onData,n._onData)),n.register(f.forwardEvent(n._coreService.onBinary,n._onBinary)),n.register(n.optionsService.onOptionChange((function(e){return n._updateOptions(e)}))),n._writeBuffer=new b.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,l.MINIMUM_COLS),t=Math.max(t,l.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 s=r.lines.isFull;o===r.lines.length-1?s?r.lines.recycle().copyFrom(n):r.lines.push(n.clone()):r.lines.splice(o+1,0,n.clone()),s?this._bufferService.isUserScrolling&&(r.ydisp=Math.max(r.ydisp-1,0)):(r.ybase++,this._bufferService.isUserScrolling||r.ydisp++)}else{var a=o-i+1;r.lines.shiftElements(i+1,a-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(v.updateWindowsModeWrappedState.bind(null,this._bufferService))),t.push(this.addCsiHandler({final:"H"},(function(){return v.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=x},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],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r};Object.defineProperty(t,"__esModule",{value:!0}),t.InstantiationService=t.ServiceCollection=void 0;var i=n(1),o=n(14),s=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],s=i[1];this.set(o,s)}}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=s;var a=function(){function e(){this._services=new s,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})),s=[],a=0,c=i;a<c.length;a++){var l=c[a],u=this._services.get(l.id);if(!u)throw new Error("[createInstance] "+e.name+" depends on UNKNOWN service "+l.id+".");s.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,s))))},e}();t.InstantiationService=a},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},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],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r};Object.defineProperty(t,"__esModule",{value:!0}),t.LogService=t.LogLevel=void 0;var s,a=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"}(s=t.LogLevel||(t.LogLevel={}));var c={debug:s.DEBUG,info:s.INFO,warn:s.WARN,error:s.ERROR,off:s.OFF},l=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=c[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<=s.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<=s.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<=s.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<=s.ERROR&&this._log(console.error,e,t)},r([i(0,a.IOptionsService)],e)}();t.LogService=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,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=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 a=n(1),c=n(69),l=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 l.EventEmitter,r.cols=Math.max(n.options.cols,t.MINIMUM_COLS),r.rows=Math.max(n.options.rows,t.MINIMUM_ROWS),r.buffers=new c.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 c.BufferSet(this._optionsService,this),this.isUserScrolling=!1},o([s(0,a.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),s=n(0),a=function(e){function t(t,n){var r=e.call(this)||this;return r._onBufferActivate=r.register(new s.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=a},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),s=n(3),a=n(72),c=n(73),l=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=l.DEFAULT_CHARSET,this.markers=[],this._nullCell=o.CellData.fromCharData([0,s.NULL_CELL_CHAR,s.NULL_CELL_WIDTH,s.NULL_CELL_CODE]),this._whitespaceCell=o.CellData.fromCharData([0,s.WHITESPACE_CELL_CHAR,s.WHITESPACE_CELL_WIDTH,s.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 s=0;if(this._rows<t)for(var a=this._rows;a<t;a++)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+s+1?(this.ybase--,s++,this.ydisp>0&&this.ydisp--):this.lines.push(new i.BufferLine(e,n)));else for(a=this._rows;a>t;a--)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 c=this.lines.length-r;c>0&&(this.lines.trimStart(c),this.ybase=Math.max(this.ybase-c,0),this.ydisp=Math.max(this.ydisp-c,0),this.savedY=Math.max(this.savedY-c,0)),this.lines.maxLength=r}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,t-1),s&&(this.y+=s),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=a.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(i.DEFAULT_ATTR_DATA));if(n.length>0){var r=a.reflowLargerCreateNewLayout(this.lines,n);a.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,s=this.lines.length-1;s>=0;s--){var c=this.lines.get(s);if(!(!c||!c.isWrapped&&c.getTrimmedLength()<=e)){for(var l=[c];c.isWrapped&&s>0;)c=this.lines.get(--s),l.unshift(c);var u=this.ybase+this.y;if(!(u>=s&&u<s+l.length)){var d=l[l.length-1].getTrimmedLength(),f=a.reflowSmallerGetNewLineLengths(l,this._cols,e),p=f.length-l.length,h=void 0;h=0===this.ybase&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+p):Math.max(0,this.lines.length-this.lines.maxLength+p);for(var m=[],g=0;g<p;g++){var v=this.getBlankLine(i.DEFAULT_ATTR_DATA,!0);m.push(v)}m.length>0&&(r.push({start:s+l.length+o,newLines:m}),o+=m.length),l.push.apply(l,m);var y=f.length-1,b=f[y];0===b&&(b=f[--y]);for(var x=l.length-p-1,w=d;x>=0;){var _=Math.min(w,b);if(l[y].copyCellsFrom(l[x],w-_,b-_,_,!0),0==(b-=_)&&(b=f[--y]),0==(w-=_)){x--;var j=Math.max(x,0);w=a.getWrappedLineTrimmedLength(l,j,this._cols)}}for(g=0;g<l.length;g++)f[g]<e&&l[g].setCell(f[g],n);for(var S=p-h;S-- >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+p,this.ybase+t-1)}}}if(r.length>0){var C=[],A=[];for(g=0;g<this.lines.length;g++)A.push(this.lines.get(g));var k=this.lines.length,E=k-1,T=0,M=r[T];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+o);var D=0;for(g=Math.min(this.lines.maxLength-1,k+o-1);g>=0;g--)if(M&&M.start>E+D){for(var O=M.newLines.length-1;O>=0;O--)this.lines.set(g--,M.newLines[O]);g++,C.push({index:E+1,amount:M.newLines.length}),D+=M.newLines.length,M=r[++T]}else this.lines.set(g,A[E--]);var N=0;for(g=C.length-1;g>=0;g--)C[g].index+=N,this.lines.onInsertEmitter.fire(C[g]),N+=C[g].amount;var L=Math.max(0,k+o-this.lines.maxLength);L>0&&this.lines.onTrimEmitter.fire(L)}},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)[s.CHAR_DATA_WIDTH_INDEX]&&(t-=r.get(o)[s.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 c.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 f(this,e,t,n,r,i)},e}();t.Buffer=d;var f=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=f},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 s=[],a=0;a<e.length-1;a++){var c=a,l=e.get(++c);if(l.isWrapped){for(var u=[e.get(a)];c<e.length&&l.isWrapped;)u.push(l),l=e.get(++c);if(i>=a&&i<c)a+=u.length-1;else{for(var d=0,f=r(u,d,t),p=1,h=0;p<u.length;){var m=r(u,p,t),g=m-h,v=n-f,y=Math.min(g,v);u[d].copyCellsFrom(u[p],h,f,y,!1),(f+=y)===n&&(d++,f=0),(h+=y)===m&&(p++,h=0),0===f&&0!==d&&2===u[d-1].getWidth(n-1)&&(u[d].copyCellsFrom(u[d-1],n-1,f++,1,!1),u[d-1].setCell(n-1,o))}u[d].replaceCells(f,n,o);for(var b=0,x=u.length-1;x>0&&(x>d||0===u[x].getTrimmedLength());x--)b++;b>0&&(s.push(a+u.length-b),s.push(b)),a+=u.length-1}}}return s},t.reflowLargerCreateNewLayout=function(e,t){for(var n=[],r=0,i=t[r],o=0,s=0;s<e.length;s++)if(i===s){var a=t[++r];e.onDeleteEmitter.fire({index:s-o,amount:a}),s+=a-1,o+=a,i=t[++r]}else n.push(s);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})),s=0,a=0,c=0;c<o;){if(o-c<n){i.push(o-c);break}s+=n;var l=r(e,a,t);s>l&&(s-=l,a++);var u=2===e[a].getWidth(s-1);u&&s--;var d=u?n-1:n;i.push(d),c+=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),s=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=s},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 s=["cols","rows"],a=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 s=i[n];if(s in this.options){var a=e[s];this.options[s]=a}}}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!==s.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=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,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=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 a=n(1),c=n(0),l=n(33),u=n(2),d=Object.freeze({insertMode:!1}),f=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),p=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 c.EventEmitter),o._onUserInput=o.register(new c.EventEmitter),o._onBinary=o.register(new c.EventEmitter),o._scrollToBottom=t,o.register({dispose:function(){return o._scrollToBottom=void 0}}),o.modes=l.clone(d),o.decPrivateModes=l.clone(f),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=l.clone(d),this.decPrivateModes=l.clone(f)},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([s(1,a.IBufferService),s(2,a.ILogService),s(3,a.IOptionsService)],t)}(u.Disposable);t.CoreService=p},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},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),s=n(0),a={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 c(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 l=String.fromCharCode,u={DEFAULT:function(e){var t=[c(e,!1)+32,e.col+32,e.row+32];return t[0]>255||t[1]>255||t[2]>255?"":"[M"+l(t[0])+l(t[1])+l(t[2])},SGR:function(e){var t=0===e.action&&4!==e.button?"m":"M";return"[<"+c(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 s.EventEmitter,this._lastEvent=null;for(var n=0,r=Object.keys(a);n<r.length;n++){var i=r[n];this.addProtocol(i,a[i])}for(var o=0,c=Object.keys(u);o<c.length;o++){var l=c[o];this.addEncoding(l,u[l])}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,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},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),s=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=s},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]],s=[[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]],a=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,s)?0:e>=131072&&e<=196605||e>=196608&&e<=262141?2:1},e}();t.UnicodeV6=a},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}])},20441:function(e,t,n){var r={"./aac.svg":25512,"./amr.svg":89501,"./avi.svg":10316,"./bmp.svg":35225,"./default.svg":54132,"./doc.svg":1753,"./docx.svg":49983,"./flv.svg":67570,"./gif.svg":82652,"./jpeg.svg":25097,"./jpg.svg":15308,"./m4a.svg":47230,"./md.svg":41405,"./mkv.svg":45873,"./mov.svg":27884,"./mp3.svg":98058,"./mp4.svg":56816,"./mpeg.svg":49902,"./ogg.svg":41564,"./opus.svg":3170,"./pdf.svg":67456,"./png.svg":449,"./ppt.svg":37742,"./pptx.svg":27789,"./txt.svg":17433,"./wav.svg":44484,"./webm.svg":21777,"./wma.svg":10458,"./wmv.svg":10462,"./wps.svg":7727,"./xls.svg":74520,"./xlsx.svg":6874};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=20441},25512:function(e,t,n){"use strict";e.exports=n.p+"static/aac.b3e9a3ba.svg"},89501:function(e,t,n){"use strict";e.exports=n.p+"static/amr.ce411d51.svg"},10316:function(e,t,n){"use strict";e.exports=n.p+"static/avi.d7b8adf7.svg"},35225:function(e,t,n){"use strict";e.exports=n.p+"static/bmp.c62f88c4.svg"},54132:function(e,t,n){"use strict";e.exports=n.p+"static/default.f48aef2c.svg"},1753:function(e,t,n){"use strict";e.exports=n.p+"static/doc.e6c75d4c.svg"},49983:function(e,t,n){"use strict";e.exports=n.p+"static/docx.150535e3.svg"},67570:function(e,t,n){"use strict";e.exports=n.p+"static/flv.43967063.svg"},82652:function(e,t,n){"use strict";e.exports=n.p+"static/gif.b2122741.svg"},25097:function(e,t,n){"use strict";e.exports=n.p+"static/jpeg.fffee469.svg"},15308:function(e,t,n){"use strict";e.exports=n.p+"static/jpg.2fb4a360.svg"},47230:function(e,t,n){"use strict";e.exports=n.p+"static/m4a.7994dbc0.svg"},41405:function(e,t,n){"use strict";e.exports=n.p+"static/md.1f56aa84.svg"},45873:function(e,t,n){"use strict";e.exports=n.p+"static/mkv.f43ec502.svg"},27884:function(e,t,n){"use strict";e.exports=n.p+"static/mov.1e1eebb7.svg"},98058:function(e,t,n){"use strict";e.exports=n.p+"static/mp3.a7e45c91.svg"},56816:function(e,t,n){"use strict";e.exports=n.p+"static/mp4.31a2d9d7.svg"},49902:function(e,t,n){"use strict";e.exports=n.p+"static/mpeg.9a0dfa86.svg"},41564:function(e,t,n){"use strict";e.exports=n.p+"static/ogg.0394dc54.svg"},3170:function(e,t,n){"use strict";e.exports=n.p+"static/opus.faad335c.svg"},67456:function(e,t,n){"use strict";e.exports=n.p+"static/pdf.5d12b224.svg"},449:function(e,t,n){"use strict";e.exports=n.p+"static/png.eacc8c1c.svg"},37742:function(e,t,n){"use strict";e.exports=n.p+"static/ppt.d710530e.svg"},27789:function(e,t,n){"use strict";e.exports=n.p+"static/pptx.d78add0d.svg"},17433:function(e,t,n){"use strict";e.exports=n.p+"static/txt.53f7213d.svg"},44484:function(e,t,n){"use strict";e.exports=n.p+"static/wav.a76e7dde.svg"},21777:function(e,t,n){"use strict";e.exports=n.p+"static/webm.3a7e6ebc.svg"},10458:function(e,t,n){"use strict";e.exports=n.p+"static/wma.a57b430b.svg"},10462:function(e,t,n){"use strict";e.exports=n.p+"static/wmv.f22ee4a1.svg"},7727:function(e,t,n){"use strict";e.exports=n.p+"static/wps.f48aef2c.svg"},74520:function(e,t,n){"use strict";e.exports=n.p+"static/xls.0db636e2.svg"},6874:function(e,t,n){"use strict";e.exports=n.p+"static/xlsx.5d09490a.svg"},93314:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8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O5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},62522:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUYAAABYCAYAAACJfF6vAAAAAXNSR0IArs4c6QAAIABJREFUeF7sXQe4FcXZfmd2T7n90jtYsFGModkVUGNJ7BVTVIxdI5ii/iYmxkRjEhV7ohF7wQaxBqOIxgqCQSkWUKRIv72csjvzP9/M7p7ZPefce8EGhOOD95wt0+ed9yvzDcO2z7YW2NYCm00LNL19cQ/H4j/nEt+vKK38LhtyVWazKdz/UEHY/1Bdt1V1Wwts1i3QMGviGRLyJgAVVFCb4YiykZNe2KwLvZUWbhswbqUdu61aW1YL1L0z4TrG8Cuz1IyxOytH3njOllWTraO024Bx6+jHbbXYglugcfaEC4TErZEqNAN4q2rUpEO24KptsUXfBoxbbNdtK/jW0AINsyfsC2CGlIgzBgGJaRzi9jKeeo2NuDO7NdRxS6zDNmDcEnttW5k32xYYP3XZFADfA6QFsKWTj+2/e7HCyld+azeU1S8AsDOAjxnEGZWjbn7z26rc+H8u/yWEPMti9kV3HdN7+rdVjs0h323AuDn0wrYybDUtMH7a8lsh5QW6Qqxl8rH9yopVrmHWhLMl8HcAL1UK93i21y0N30ZD/Hj66rJYKjMZAid5+T82+dj+J38bZdlc8twGjJtLT2wrx1bRAmc+tWy8ZLhb4yJWTz6mf69CFSO2WF9av5QxLG1w2CH99rmx9dtogDP/uXygFHIqgCG6zOyhxkzf0x4/ibnfRnk2lzy3WGBsmDXhTSkxFAxSAksB9jFneIFZztMVw25Zt7k08Jcpx7p9d6lAPD5BMHkKY/K33V9e8MSXSe+berf+zYmdEZO3VpZUnf6/5od35tTloyTkO15bz5t8bP89CrV7/bsTvg+B+2yOoWUjJq36pvomms/4aStugxTne6A4td/RfU+4ijHxbZVnc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Ms3gmV8ZCzBVZugf7Dmi78Noh7AmwN8EMpvNIG3+2C613zAJLugWc+CJxeSQfRj0NFBNz/PKyrguF2n86cCSerof0TKDoDJ16CoR4/gEM9hQgzwQu1YLAEQqIfheOFcLkZin6BCAuM90FYAogIqM0CNZCiTti/CBRjJiU3zk/v5D+BlEnXJdmQtx1M0f4QtRQT4VCXA3oj5L4HKY9A/69wsgJu9EB+FViS4NhGCEtKofivaxqgTHccITbMOMoKWBL9T1NJgrwK0JvgxMswctUXQJgZ1FVnSoAXm8FWM8DqypkbSxL7TOvwjn81397y65P18FgpZL0OvS1g/wPM6u2XD9fPQeN6DbKpZYLIlB1ArZaBemXuCy9HeKYOoiAoYxwsXaWZjw1oyzP3fYixqhAvEYk3ebNbRpLvAIZ8fxXl5tUI16vgXYYgXj10g2YF6t1rR1a62H7ZiWMwl47qUdYfipwBhGASkkQIIQG7gTygTpKkY+qH/wGGGXQpCiRkDAAAAABJRU5ErkJggg=="},58427:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAAAXNSR0IArs4c6QAAA1FJREFUSEuVlcuPFFUYxX9fz0PCIA/ZuGBp4kITY4yaNI8RHeYhEkGCGkWj4isxcU0iJj7YGJf+BSx0YwadzOgMBCU6SAk6oiJsTCTGSVwAIegEpaG+o1V1b/ftpsdgbW53btW55zvf+c61l0/pfcFWHBMgh2J1VauKVdX/4vFiv9xo3w/v5BJvja+zd+2lU7ospz9+GIHStTwkAMdDIrhHMuEgxNHx9bbWXvxJDTl9TUYRJGEaKykZJ/vxd6ysrMLI9q+zur1wUg2Jvma5oew25okk3SpKJQOyjzZY3Z7/UQ0PwKWEzq+okrSpb/hdMCo1LqgH5hIDLm5uHgjZxKDVbdcParhXjGV8vO9O21a16fqeLZNa2ruSC0WfQh+yifusbs9+35IinHq+lDJKEpkHptdIAUvk3JgyntxYAJ8IjDt1TAC7Oibslw0srNH6Ppt6wOr2zHctjf+rMZX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cqhyLO/gDpZk8IJ3d/IwAAAAASUVORK5CYII="},71986:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABRCAYAAACOlsX2AAAAAXNSR0IArs4c6QAAIABJREFUeF7NmwecHlW9979nZp66fbM9vZOOJKH3FgLSNSAB5HJBEEEBr1yKF1CayEUFqVIEFQygEQg1lFAD6QXSk012N5vN9vb0KeflnHl20yEUue+E/ezDPDPnnN+/txUX/s2ZKvEeRtKfL33J7BviS7/5zbzwJfYX1AmMS8QFT6Rr4auA/WaO/G2uIhB14oePpXrI1Lt3D792+eJbOt2/c39x/iNJ2SuQWYTbBGXvtu5dIPviLgLee8P/IOWOD36b+4vzH0xIxM5H9A+UExKcf6jFg285O/K2l/U9B9/2/qTBBghYWO3qd/IiglO+Y/HUhzb6i+2uSBAsc9vdpA22CwcMNUjZsKzW20WmyvIFao9XlrpYpiRoCb4zyKAzAZ9u7nl+J9ns/V+BOO/+xB4l94eHBxhVZWCakMpI0g786a0Mv/pemPp2f/HcsODav6ezn+G6U0P85oUMx44zWV7r0h6Dn00N8spSh/59BEPLDB54I0N3Ci47LkBxjiCRgfICwfMLHT5a53LSdywSacmclT7Req4zJlsMqzCoKDRYUeeytdOjOwn79DV46xOHDU1foIQSxLn3xreJdHZl9Vp+RDDtIIvH3ra5+Nggs5c5bGr29P3Lpwa5fWZa8+uO6WGueypFMABXnRTi3ZUOW9okwysNpuxrcfesNNeeFtLvb26VVDd5xLJm4ydTgry82KGm2ePUyQGaOiWOJ5k4xCTjoEGpa8F6F1dCXhgGlRocOdbitSUOpx8Q4K4X09x1blhLRigApgG/eylNTfPuwYtzfx/bWUD1JqP6mpx9WEB/HlBqUNvsc/S9lQ4HjrC4/R8p/f93nh/hmr8kNeW/OymgwXQlJK3dkr7FBs3dkn0HmfxmZgq10XETLKq3emxo9Lh8agjDgK6kZHCZwetLHPrkCcb0N7Q0bWryOGZ8gP96IkG/PgYnTgwQDQkqCgWOC4mM5MX5N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OmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg=="},37166:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h4ogDHBCX79eXivHsfShQizkOJQsFR63FMdVGO6yHfWz1s4FD+za9V+N/ws01v/2otVLzuv36tZHwfpDlN1m2w6W62LLiVpyLhahpQixNRiBxkPAE+BcQtvRj+Veyd8dG99x8CyLIOESuC4qlPcJ6BH48lgOHoMnXzIMIAJA7gUQ/VwQ4obgBgGOgBiGOAiIIY4fEqoQFXoazEQIlrwnuhhKLoB8hgZXPlH/IhdsGmV911HpTxwef3Dkf8Lo9wL40hUvTR0uTfxtiHpPYFk527KxQhfLtbGdhAZJoQiEEChC+V1AsS0sR8AU0ISB8pwLtkPg2niuTaAZaBO4CXwBUL6hMFiA0zdDuuYDfcLyQQJaBJwG0QAo906g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CeViWykaYRrLyeA7bezN27QnsoxmO/BbcmSnqwyoOl5xiA53mrVnttEIS9HmZGY7PatSwS+4pGXP6hUpnnzuN9x3/5MkpAcQTXg1ez6yFbxlf9bqaPv/2wp+NiuBBx64s//8zWd9dHp07A/nLepo27P1WY7sPk5XawvjI1NMTpaYnCgzNlZh5ESOalnmaFwe2vUkU2XpbrhUwmk9e9KXGCTpdnGkslsPNX7n5j9n49pFehf7X965n517J6kmJ1l1xkKmRnyOjpYJXdlcwmK8exElp41GyaXm5Ci0tDHdPQ8Cl+nVGWgPdUmr4948bctb6fRDllROsHZ6L9lgWhcMhGSSTjo1WYGVws1ajNWOc9sd9+ptooz4A5VQ02B9N20nP3E61s3F5/cycO6L5PEPb7opeeVfX32ZPVN95W8e3726NePOHx+Znj82Nt0yPlrm2HGL0RERnB7pRJpdwwfZdWSEhqoRhB5JO6Td7dV7IHgyrU+CD7ztUt7ymhfoTRcP7i/SM9jKwsEWdu8a499/uJ1j81ZTkp2Zjx5lX0cn9WxWUiJT9BUfeM4a2LASgjzcNQKLc9DdBi0J2HUQdg+zaGaUxbVJ5ucy9C5ayEAwof1jY9JjZn+dxFKrdOud9xy3bXUcpXbhOD9L9vf/n/93GP8PfbOtZaNNkVQAAAAASUVORK5CYII="},28984:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF69nQm0ZHdd5z//u9/aq97W/XpNpwOZhIR9EaOyKQgqorhwHJ0onkEcZwZQZ86o4Bk548jgiDqKozLHOSoqi0hggIAoCdCEQCAJ3dk6vaXXt7/a6+535ve/Vd2vu193+gWYSirdebXce7/3t35/y1Nc4+M3D+VO+0jyUsh/SMFNSjFv2PZ8GieVPEvPf4tSihxQ1/i9/z/eluc5qBwMC8u0SJMYslyfJ9BXcBaVn83hYTA/1thvfe4/P0NF13JuT3qdv/qJfFsche/IlfoplVNThoFhW6RxTJ5lFx9j8m1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II="},60141:function(e){"use strict";e.exports="data:image/gif;base64,R0lGODlh6QDIAPf/APrMTf789vrMUPvdi/zfkfi4CvvYef713fnKSfzosP7wyvrSZfjAKPzmqf3wzP767fnHPv7xzf3wzvjFOfe2BP767vi8F/i8GPvagfnGO/jDMv3uxv3svfrNUvzkov724fvWcfzinPvbhPi5DfrTZv734vi6EPzglfnKSP3tw/nJR/3qtv3nrPrRYPjAJf/++/702PvVbvrUbfrUafrQX/rOVvnLTfrWcvi+H/i7Fv7y0P3y0/3wyv3uxPzjoPzglvi/I/vejvvZfPe5D/rTaPrPWvrOVPrKSf3vyPzlpPnNU/nKRvnENfe6E/Ly8v3sv+Xl5frZf9ra2vnIQOjo6Pv7+9jY2PX19d7e3tTU1Ovr6/n5+dzc3O7u7uLi4tDQ0M7Oztvb2/j4+N3d3ezs7NHR0f7+/tXV1fHx8fDw8NLS0uHh4d/f3/jAJvb29vT09M/Pz+/v7/f39+rq6uPj49bW1vr6+uDg4NfX1+Tk5PPz89PT0+np6efn59nZ2e3t7frPWfzmqvnFN/39/fz8/P756/723/vdif3ru/745/zhmObm5vrUav3ps/zim/zdiv757Pzlpvzruvzhmfe3Bve3B/zimvvhmvnCK/jAJ//56v/9+f7z1f702vvciPvXdfnBJ/jFN/jDL/735PvZe/e7Ffzjn/e3CPznq/3twf3ruvi+IPnFNvvdjPzps/3psvrOWP702/rQXfvYevnOWfvUav3quPrWdP302//56/i9G/zejP712/778/nIQv3orfnOV/i3BvnGOv/+/frKR/////3nqv3uw/vYd/3y1frUa/713v3ruPvZevrXd/e2BvnEM//+/P7z1v///f3rufnDMPnHQPe2A/i/JPrIQvnMUP3z2PnLSv/88/e8Gv746P7uxfvUa/vgk/vglPzgk/rNVPvaffnBKf3xz/756vi6D/rSYvrVcPe4C/jENvi7E/789PrPWPnIQfzchv3tv/3svvzquf3qufi9Hfi9Hve4DPnCLvjCL/e1AM3Nzf///yH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw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