|
|
(self.webpackChunk=self.webpackChunk||[]).push([[6270],{87169:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return ie}});var be=Se(92413),Be=Se(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},me=E,de=Se(7657),le=function(ce,oe){return Be.createElement(de.Z,(0,be.Z)({},ce,{ref:oe,icon:me}))},ae=Be.forwardRef(le),ie=ae},11570:function(ct,it){"use strict";it.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},7850:function(ct,it){"use strict";it.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"}},58323:function(){"use strict"},54318:function(ct,it,Se){"use strict";var be=Se(59301),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ce,oe)=>ce in se?Be(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ce]=oe,ae=(se,ce)=>{for(var oe in ce||(ce={}))me.call(ce,oe)&&le(se,oe,ce[oe]);if(E)for(var oe of E(ce))de.call(ce,oe)&&le(se,oe,ce[oe]);return se};const ie=se=>React.createElement("svg",ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));it.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},71302:function(ct,it,Se){"use strict";var be=Se(59301),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ce,oe)=>ce in se?Be(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ce]=oe,ae=(se,ce)=>{for(var oe in ce||(ce={}))me.call(ce,oe)&&le(se,oe,ce[oe]);if(E)for(var oe of E(ce))de.call(ce,oe)&&le(se,oe,ce[oe]);return se};const ie=se=>React.createElement("svg",ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));it.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},29277:function(){"use strict";function ct(te,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=te,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(ct.prototype,"name",{get:function(){return this._name},set:function(te){if(typeof te!="string"||te==="")throw new Error("Shape name must be a valid string.");this._name=te}}),Object.defineProperty(ct.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("The default value must be a real number, not: "+te);this._defaultValue=te}}),Object.defineProperty(ct.prototype,"minimum",{get:function(){return this._minimum},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("Minimum must be a real number, not: "+te);this._minimum=te}}),Object.defineProperty(ct.prototype,"maximum",{get:function(){return this._maximum},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("Maximum must be a real number, not: "+te);this._maximum=te}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(te,a){var y=go.Shape._FigureParameters[te];return y?y[a]:null},go.Shape.setFigureParameter=function(te,a,y){if(!(y instanceof ct))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValue<y.minimum||y.defaultValue>y.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[te];x||(x=[],go.Shape._FigureParameters[te]=x),x[a]=y};var it=[];function Se(te,a){var y=it.pop();return y===void 0?new go.Point(te,a):(y.x=te,y.y=a,y)}function be(){var te=it.pop();return te===void 0?new go.Point:te}function Be(te){it.push(te)}function E(te,a,y,x,b,ee,z,ue,fe){fe||(fe=new go.Point);var ge=te-y,he=b-z,pe=NaN,ye=NaN;if(ge===0)if(he===0)te===y&&(pe=te,ye=a);else{var ve=(ee-ue)/he,Pe=ee-ve*b;pe=te,ye=ve*pe+Pe}else if(he===0){var we=(a-x)/ge,Ae=a-we*te;pe=b,ye=we*pe+Ae}else{var we=(a-x)/ge,ve=(ee-ue)/he,Ae=a-we*te,Pe=ee-ve*b;pe=(Pe-Ae)/(we-ve),ye=we*pe+Ae}return fe.x=pe,fe.y=ye,fe}function me(te,a,y,x,b,ee,z,ue,fe,ge,he,pe,ye,ve){var Pe=1-fe,we=fe,Ae=te*Pe+y*we,_e=a*Pe+x*we,xe=y*Pe+b*we,Ee=x*Pe+ee*we,Oe=b*Pe+z*we,Ie=ee*Pe+ue*we,Ne=Ae*Pe+xe*we,Te=_e*Pe+Ee*we,Je=xe*Pe+Oe*we,Qe=Ee*Pe+Ie*we,Ze=Ne*Pe+Je*we,Ke=Te*Pe+Qe*we;ge.x=Ae,ge.y=_e,he.x=Ne,he.y=Te,pe.x=Ze,pe.y=Ke,ye.x=Je,ye.y=Qe,ve.x=Oe,ve.y=Ie}var de=new go.Spot(.156,.156),le=new go.Spot(.844,.844),ae=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ct("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*ae,ee=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,1,-b,-b)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(te,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(te,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=de,b.spot2=le,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,ae*a,0,a,(1-ae)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,ae*y,(1-ae)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,ae*y,ae*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-ae)*a,0,0,(1-ae)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ct("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a:x>a&&(x=a);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.setFigureParameter("Trapezoid1",0,new ct("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new ct("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)?x=20:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.setFigureParameter("ManualOperation",0,new ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}});var ie=[];function se(){var te=ie.pop();return te===void 0?[]:te}function ce(te){te.length=0,ie.push(te)}function oe(te){for(var a=se(),y=.5,x=.5,b=Math.PI*1.5,ee=0,z=0;z<te;z++)ee=2*Math.PI/te*z+b,a[z]=new go.Point(x+y*Math.cos(ee),x+y*Math.sin(ee));return a.push(a[0]),a}function re(te){var a=ne(te),y=se();y[0]=a[0];for(var x=1,b=1;x<a.length;x+=2,b+=3)y[b]=a[x],y[b+1]=a[x],y[b+2]=a[x+1];return ce(a),y}function ne(te){for(var a=oe(te),y=se(),x=Math.floor(a.length/2),b=a.length-1,ee=te%2===0?2:1,z=0;z<b;z++){var ue=a[z],fe=a[z+1],ge=a[(x+z-1)%b],he=a[(x+z+ee)%b];y[z*2]=ue,y[z*2+1]=E(ue.x,ue.y,ge.x,ge.y,fe.x,fe.y,he.x,he.y,new go.Point)}return y[y.length]=y[0],ce(a),y}go.Shape.defineFigureGenerator("Pentagon",function(te,a,y){var x=oe(5),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<5;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(te,a,y){var x=oe(6),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<6;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(te,a,y){var x=oe(7),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<7;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(te,a,y){var x=oe(8),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<8;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(te,a,y){var x=oe(9),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<9;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(te,a,y){var x=oe(10),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<10;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(te,a,y){var x=oe(12),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<12;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(te,a,y){var x=ne(5),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<10;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(te,a,y){var x=ne(6),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<12;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(te,a,y){var x=ne(7),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<14;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(te,a,y){var x=ne(8),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<16;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(te,a,y){var x=ne(9),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<18;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(te,a,y){var x=ne(10),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<20;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(te,a,y){var x=re(5),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<x.length;z+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return ee.segments.last().close(),ce(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(te,a,y){var x=re(6),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<x.length;z+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return ee.segments.last().close(),ce(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(te,a,y){var x=re(7),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<x.length;z+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return ee.segments.last().close(),ce(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(te,a,y){var x=re(8),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<x.length;z+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return ee.segments.last().close(),ce(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(te,a,y){var x=re(9),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<x.length;z+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return ee.segments.last().close(),ce(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(te,a,y){var x=re(10),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<x.length;z+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return ee.segments.last().close(),ce(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new ct("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new ct("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(te,a,y){var x=te?te.parameter1:NaN,b=te?te.parameter2:NaN;isNaN(x)&&(x=8),isNaN(b)&&(b=8);var ee=new go.Geometry,z=new go.PathFigure(0,0,!0);return ee.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x<a/2&&b<y/2&&(z.add(new go.PathSegment(go.PathSegment.Move,x,b)),z.add(new go.PathSegment(go.PathSegment.Line,x,y-b)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,y-b)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,b).close())),ee.setSpots(0,0,1,1,x,b,-x,-b),ee}),go.Shape.setFigureParameter("Ring",0,new ct("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var b=a/2,ee=new go.Geometry,z=new go.PathFigure(a,a/2,!0);ee.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var ue=Math.max(b-x,0);return ue>0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+ue,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ue,ue).close())),ee.spot1=de,ee.spot2=le,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(te,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new ct("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ct("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(te,a,y){var x=te?te.parameter1:NaN,b=te?te.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var ee=x%360;ee<0&&(ee+=360);var z=b%360,ue=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ue,ue).add(new go.PathSegment(go.PathSegment.Arc,ee,z,ue,ue,ue,ue).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=ae/Math.SQRT2*.5,b=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,ee*y,a,(1-x)*y,(b+x)*a,(ee+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,ee=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,ee=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(te,a,y){var x=te?te.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var ee=a/2,z=y/2,ue=Math.atan2(y,a),fe=x-Math.min(Math.cos(ue)*x/2,ee),ge=x-Math.min(Math.sin(ue)*x/2,z),b=new go.Geometry,he=new go.PathFigure(fe,0,!0);return b.add(he),he.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),he.add(new go.PathSegment(go.PathSegment.Line,a-fe,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,ge)),he.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),he.add(new go.PathSegment(go.PathSegment.Line,a-fe,y)),he.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),he.add(new go.PathSegment(go.PathSegment.Line,fe,y)),he.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,ee=new go.PathFigure(.1*a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new ct("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new ct("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,ae*a,0,a,(.5-ae/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ae/2)*y,ae*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var ee=.2,z=.3,ue=0,fe=ee*ae;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+ue)*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z)*a,(.5-fe+ue)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z+.05)*a,(.5-fe+ue-.02)*y)),ee=.2,z=0,ue=-.3,fe=ee*ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+ue)*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z)*a,(.5-fe+ue)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+ue)*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z)*a,(.5-fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-fe+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),ee=.2,z=-.3,ue=0,fe=ee*ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z-.05)*a,(.5-fe+ue-.02)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+ue)*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z)*a,(.5-fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var ee=.1,z=.5,ue=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+ee)*a,ue*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ue,ee*a,ee*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ue=.75,b=new go.PathFigure((z+ee)*a,ue*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ue,ee*a,ee*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(te,a,y){var x=.8535533905932737,b=.5*a,ee=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,ee,b,ee)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(te,a,y){var x=new go.Geometry,b=ae*.5,ee=.5,z=.5,ue=.5,fe=new go.PathFigure(z*a,(ue-ee)*y);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ee=.4,b=ae*.4;var ge=be(),he=be(),pe=be(),ye=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.42,ge,he,pe,ye,ye);var ve=be(),Pe=be(),we=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.58,ye,ye,we,ve,Pe);var Ae=be(),_e=be(),xe=be();me(z,ue+ee,z-b,ue+ee,z-ee,ue+b,z-ee,ue,.42,Ae,_e,xe,ye,ye);var Ee=be(),Oe=be(),Ie=be();return me(z,ue+ee,z-b,ue+ee,z-ee,ue+b,z-ee,ue,.58,ye,ye,Ie,Ee,Oe),fe.add(new go.PathSegment(go.PathSegment.Move,Ie.x*a,Ie.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,Ee.x*a,Ee.y*y,Oe.x*a,Oe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ge.x*a,ge.y*y,he.x*a,he.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,Ie.x*a,Ie.y*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,xe.x*a,xe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,ve.x*a,ve.y*y,Pe.x*a,Pe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,xe.x*a,xe.y*y,Ae.x*a,Ae.y*y,_e.x*a,_e.y*y).close()),Be(ge),Be(he),Be(pe),Be(ye),Be(ve),Be(Pe),Be(we),Be(Ae),Be(_e),Be(xe),Be(Ee),Be(Oe),Be(Ie),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,ee=b+x;return new go.Geometry().add(new go.PathFigure(ee,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(te,a,y){var x=new go.Geometry,b=ae*.4,ee=.4,z=.5,ue=.5,fe=be(),ge=be(),he=be(),pe=be(),ye=new go.PathFigure((z-ee)*a,ue*y,!1);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.44,he,pe,ge,fe,fe),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,he.x*a,he.y*y,pe.x*a,pe.y*y));var ve=Se(ge.x,ge.y);me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.56,fe,fe,ge,he,pe);var Pe=Se(ge.x,ge.y);ye.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,he.x*a,he.y*y,pe.x*a,pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),ee=.35,b=ae*.35;var we=new go.PathFigure(z*a,(ue-ee)*y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y));var Ae=new go.PathFigure((z-ee)*a,ue*y,!1);return x.add(Ae),Be(fe),Be(ge),Be(he),Be(pe),Be(ve),Be(Pe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(te,a,y){var x=new go.Geometry,b=.375,ee=0,z=-.125,ue=b*ae,fe=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+ue+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-ue+z)*y,(.5+ue+ee)*a,(.5-b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+ue+z)*y,(.5-ue+ee)*a,(.5+b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,z=-.125,ue=b*ae;var fe=new go.PathFigure((1-.5+b+ee)*a,(.5+z)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+ue+z)*y,(.5+ue+ee)*a,(.5+b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y,(.5-ue+ee)*a,(.5-b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+ue+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-ue+z)*y));var fe=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);return x.add(fe),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(te,a,y){var x=te?te.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(te,a,y){var x=te?te.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(te,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(te,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(te,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ct("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ct("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=te?te.parameter2:NaN;isNaN(b)&&(b=.3);var ee=(1-x)*a,z=(.5-b/2)*y,ue=(.5+b/2)*y,fe=new go.Geometry,ge=new go.PathFigure(0,z,!0);fe.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,z)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),fe.spot1=new go.Spot(0,z/y);var he=E(0,ue/y,1,ue/y,ee/a,1,1,.5,be());return fe.spot2=new go.Spot(he.x,he.y),Be(he),fe}),go.Shape.setFigureParameter("Arrow2",0,new ct("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ct("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=te?te.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var ee=a-x,z=(y-b)/2,ue=z+b,fe=new go.Geometry,ge=new go.PathFigure(0,z,!0);fe.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,z)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),fe.spot1=new go.Spot(0,z/y);var he=E(0,ue/y,1,ue/y,ee/a,1,1,.5,be());return fe.spot2=new go.Spot(he.x,he.y),Be(he),fe}),go.Shape.defineFigureGenerator("Chevron",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ct("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var fe=E(0,.5,.3,0,0,b/y,.1,b/y,be());return z.spot1=new go.Spot(fe.x,fe.y),fe=E(.7,1,1,.5,0,ee/y,1,ee/y,fe),z.spot2=new go.Spot(fe.x,fe.y),Be(fe),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ct("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ct("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=40);var b=te?te.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,z=ee+x,ue=(y-b)/2,fe=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,ue=0,fe=y):(ee=0,z=y,ue=0,fe=y));var ge=new go.Geometry,he=new go.PathFigure(a,.5*y,!0);ge.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),he.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,.3*a,ue)),he.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close());var pe=E(0,.5,.3,ue/y,0,ee/y,1,ee/y,be());return ge.spot1=new go.Spot(pe.x,pe.y),pe=E(.7,fe/y,1,.5,0,z/y,1,z/y,pe),ge.spot2=new go.Spot(pe.x,pe.y),Be(pe),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new ct("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ct("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ct("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=40);var b=te?te.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,z=ee+x,ue=(y-b)/2,fe=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,ue=0,fe=y):(ee=0,z=y,ue=0,fe=y));var ge=new go.Geometry,he=new go.PathFigure(a,.5*y,!0);ge.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),he.add(new go.PathSegment(go.PathSegment.Line,0,fe)),he.add(new go.PathSegment(go.PathSegment.Line,0,ue)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,ue)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close()),ge.spot1=new go.Spot(0,ee/y);var pe=E(.7,fe/y,1,.5,0,z/y,1,z/y,be());return ge.spot2=new go.Spot(pe.x,pe.y),Be(pe),ge}),go.Shape.setFigureParameter("Pointer",0,new ct("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=E(.2,.65,1,.65,0,1,1,.5,be());return b.spot2=new go.Spot(z.x,z.y),Be(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ct("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var z=E(0,.65,1,.65,0,1,1,.5,be());return b.spot2=new go.Spot(z.x,z.y),Be(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ct("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ct("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,ee=b+x;x>y&&(b=0,ee=y);var z=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),z}),go.Shape.setFigureParameter("SquareArrow",0,new ct("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(te,a,y){var x=new go.Geometry,b=ae*.5,ee=ae*.1,z=new go.PathFigure(0,.9*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var ee=new go.PathFigure(0,.9*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var ee=new go.PathFigure(0,.3*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=ae*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ae*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,ae*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-ae*x,(.5+ee)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-ae*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ue=new go.PathFigure(a,x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-ae*x,(.5+ee)*a,2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-ae*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=ae*.5,z=new go.PathFigure(0,y-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ae*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,ae*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-ae*x,(.5+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-ae*x));var ue=new go.PathFigure(0,y-x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-ae*x,(.5-ee)*a,y-2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-ae*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=ae*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ae*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ae*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ae*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ae*x,0));var ue=new go.PathFigure(x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+ae*x,0,2*x,(.5-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+ae*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=ae*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ae*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ae*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ae*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ae*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ue=new go.PathFigure(a-x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-ae*x,0,a-2*x,(.5-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-ae*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.25*a,.25*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(te,a,y){var x=new go.Geometry,b=.2,ee=.1,z=ae*b,ue=ae*ee,fe=.5,ge=.1,he=new go.PathFigure(fe*a,(ge+ee)*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe-b)*a,ge*y,(fe-z)*a,(ge+ee)*y,(fe-b)*a,(ge+ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-ee)*y,(fe-b)*a,(ge-ue)*y,(fe-z)*a,(ge-ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe+b)*a,ge*y,(fe+z)*a,(ge-ee)*y,(fe+b)*a,(ge-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+ee)*y,(fe+b)*a,(ge+ue)*y,(fe+z)*a,(ge+ee)*y));var pe=.05,ye=ae*pe;fe=.05,ge=.25;var ve=new go.PathFigure(.5*a,.2*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),fe=.95,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe+pe)*a,ge*y,(fe+ye)*a,(ge-pe)*y,(fe+pe)*a,(ge-ye)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,ye=ae*pe,fe=.825,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-pe)*y,(fe+pe)*a,(ge-ye)*y,(fe+ye)*a,(ge-pe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,ge*y,(fe-ye)*a,(ge-pe)*y,(fe-pe)*a,(ge-ye)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,ye=ae*pe,fe=.5,ge=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-pe)*y,(fe+pe)*a,(ge-ye)*y,(fe+ye)*a,(ge-pe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,ge*y,(fe-ye)*a,(ge-pe)*y,(fe-pe)*a,(ge-ye)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,ye=ae*pe,fe=.175,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-pe)*y,(fe+pe)*a,(ge-ye)*y,(fe+ye)*a,(ge-pe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,ge*y,(fe-ye)*a,(ge-pe)*y,(fe-pe)*a,(ge-ye)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,ye=ae*pe,fe=.05,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-pe)*y,(fe-pe)*a,(ge-ye)*y,(fe-ye)*a,(ge-pe)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new ct("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var ee=new go.PathFigure(.5*a,.5*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(te,a,y){var x=new go.Geometry,b=ae*.5,ee=ae*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+ee)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(te,a,y){var x=new go.Geometry,b=ae*.5,ee=ae*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var ee=ae*.2,z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-ee)*y,(.2-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+ee)*a,0,a,(.2-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+ee)*y,(.8+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-ee)*a,y,0,(.8+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ue=new go.PathFigure(0,b*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(.1*a,.4*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.75*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var ee=new go.PathFigure(a,.5*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee*y)),x}),go.Shape.defineFigureGenerator("Junction",function(te,a,y){var x=new go.Geometry,b=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,z=ae*.5,ue=.5,fe=new go.PathFigure(a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,y,a,(ue+z)*y,(ue+z)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ue*y,(ue-z)*a,y,0,(ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,0,0,(ue-z)*y,(ue-z)*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,ue*y,(ue+z)*a,0,a,(ue-z)*y));var ge=new go.PathFigure((ee+b)*a,(ee+b)*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*y)),ge.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,(ee+b)*a,ee*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var ee=new go.PathFigure(.1*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(te,a,y){var x=new go.Geometry,b=ae*.5,ee=.5,z=new go.PathFigure(.5*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*a,.9*y,a,(ee+b)*y,(ee+b)*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.7);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var ee=new go.PathFigure(.1*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var ee=new go.PathFigure(.2*a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=1-b,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ue=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(te,a,y){var x=new go.Geometry,b=ae*.5,ee=.5,z=new go.PathFigure(a,ee*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var ue=new go.PathFigure(a,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure((1-b)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(b*a,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(te,a,y){var x=new go.Geometry,b=ae*.5,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(te,a,y){var x=new go.Geometry,b=ae*.5,ee=.5,z=new go.PathFigure(a,ee*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var ue=new go.PathFigure(a,ee*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var fe=new go.PathFigure(.8*a,.75*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(te,a,y){var x=new go.Geometry,b=ae*.1,ee=.1,z=.9,ue=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ge=new go.PathFigure((z+ee)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(te,a,y){var x=new go.Geometry,b=ae*.5,ee=ae*.4,z=ae*.1,ue=.1,fe=.9,ge=.5,he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),he.add(new go.PathSegment(go.PathSegment.Line,0,y)),he.add(new go.PathSegment(go.PathSegment.Line,0,0)),he.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var pe=new go.PathFigure((fe+ue)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,ge*y,(fe-z)*a,(ge+ue)*y,(fe-ue)*a,(ge+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,ge*y,(fe+z)*a,(ge-ue)*y,(fe+ue)*a,(ge-z)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=ae*b,z=0,ue=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=ae*.1,z=.9,ue=.5;var ge=new go.PathFigure((z-b)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=ae*b,z=0,ue=.5,fe=new go.PathFigure(0,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee+ee)*a,(ue-b)*y,.8*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ue+ee)*y,(z+ee+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=ae*b,z=.2,ue=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=ae*.1,z=.9,ue=.5;var he=new go.PathFigure((z-b)*a,ue*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=ae*b,z=.2,ue=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.2*a,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee)*a,(ue-b)*y,.9*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(te,a,y){var x=new go.Geometry,b=ae*.1,ee=.1,z=.1,ue=.5,fe=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.3,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.5,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.9,fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*a,y,(z+ee)*a,0,(z+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(te,a,y){var x=new go.Geometry,b=ae*.5,ee=.5,z=.5,ue=.5,fe=new go.PathFigure((z-ee)*a,ue*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,(z-ee+.1)*a,ue*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee-.1)*a,ue*y,z*a,(ue-ee)*y,z*a,(ue+ee)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(te,a,y){var x=new go.Geometry,b=a,ee=y;a=a*.38,y=y*.6;var z=ae*.8,ue=.8,fe=0,ge=.5,he=(b-a)/2,pe=(ee-y)/2,ye=new go.PathFigure(fe*a+he,(ge+ue)*y+pe,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+he,ge*y+pe,(fe-z)*a+he,(ge+ue)*y+pe,(fe-ue)*a+he,(ge+z)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+he,(ge-ue)*y+pe,(fe-ue)*a+he,(ge-z)*y+pe,(fe-z)*a+he,(ge-ue)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue+z*.5)*a+he,ge*y+pe,fe*a+he,(ge-ue)*y+pe,(fe-ue+z*.5)*a+he,(ge-z)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+he,(ge+ue)*y+pe,(fe-ue+z*.5)*a+he,(ge+z)*y+pe,fe*a+he,(ge+ue)*y+pe).close()),z=ae*.4,ue=.4,fe=.2,ge=.5;var ve=new go.PathFigure(fe*a+he,(ge+ue)*y+pe,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+he,ge*y+pe,(fe-z)*a+he,(ge+ue)*y+pe,(fe-ue)*a+he,(ge+z)*y+pe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+he,(ge-ue)*y+pe,(fe-ue)*a+he,(ge-z)*y+pe,(fe-z)*a+he,(ge-ue)*y+pe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue+z*.5)*a+he,ge*y+pe,fe*a+he,(ge-ue)*y+pe,(fe-ue+z*.5)*a+he,(ge-z)*y+pe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+he,(ge+ue)*y+pe,(fe-ue+z*.5)*a+he,(ge+z)*y+pe,fe*a+he,(ge+ue)*y+pe).close()),z=ae*.2,ue=.2,fe=.5,ge=.5;var Pe=new go.PathFigure((fe-ue)*a+he,ge*y+pe,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+he,(ge-ue)*y+pe,(fe-ue)*a+he,(ge-z)*y+pe,(fe-z)*a+he,(ge-ue)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+he,ge*y+pe,(fe+z)*a+he,(ge-ue)*y+pe,(fe+ue)*a+he,(ge-z)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+he,(ge+ue)*y+pe,(fe+ue)*a+he,(ge+z)*y+pe,(fe+z)*a+he,(ge+ue)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+he,ge*y+pe,(fe-z)*a+he,(ge+ue)*y+pe,(fe-ue)*a+he,(ge+z)*y+pe)),z=ae*.4,ue=.4,fe=.8,ge=.5;var we=new go.PathFigure(fe*a+he,(ge-ue)*y+pe,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+he,ge*y+pe,(fe+z)*a+he,(ge-ue)*y+pe,(fe+ue)*a+he,(ge-z)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+he,(ge+ue)*y+pe,(fe+ue)*a+he,(ge+z)*y+pe,(fe+z)*a+he,(ge+ue)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue-z*.5)*a+he,ge*y+pe,fe*a+he,(ge+ue)*y+pe,(fe+ue-z*.5)*a+he,(ge+z)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+he,(ge-ue)*y+pe,(fe+ue-z*.5)*a+he,(ge-z)*y+pe,fe*a+he,(ge-ue)*y+pe).close()),z=ae*.8,ue=.8,fe=1,ge=.5;var Ae=new go.PathFigure(fe*a+he,(ge-ue)*y+pe,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+he,ge*y+pe,(fe+z)*a+he,(ge-ue)*y+pe,(fe+ue)*a+he,(ge-z)*y+pe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+he,(ge+ue)*y+pe,(fe+ue)*a+he,(ge+z)*y+pe,(fe+z)*a+he,(ge+ue)*y+pe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue-z*.5)*a+he,ge*y+pe,fe*a+he,(ge+ue)*y+pe,(fe+ue-z*.5)*a+he,(ge+z)*y+pe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+he,(ge-ue)*y+pe,(fe+ue-z*.5)*a+he,(ge-z)*y+pe,fe*a+he,(ge-ue)*y+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var ee=new go.PathFigure(.1*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ue=new go.PathFigure(0,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(te,a,y){var x=new go.Geometry,b=ae*.4,ee=.4,z=.5,ue=.5,fe=be(),ge=be(),he=be(),pe=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.5,fe,fe,ge,he,pe);var ye=Se(ge.x,ge.y),ve=new go.PathFigure(ge.x*a,ge.y*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,he.x*a,he.y*y,pe.x*a,pe.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),me(z-ee,ue,z-ee,ue-b,z-b,ue-ee,z,ue-ee,.5,he,pe,ge,fe,fe),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,he.x*a,he.y*y,pe.x*a,pe.y*y)),b=ae*.3,ee=.3,me(z-ee,ue,z-ee,ue-b,z-b,ue-ee,z,ue-ee,.5,he,pe,ge,fe,fe),ve.add(new go.PathSegment(go.PathSegment.Line,ge.x*a,ge.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.5,fe,fe,ge,he,pe),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,he.x*a,he.y*y).close());var ve=new go.PathFigure(.45*a,0,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Be(fe),Be(ge),Be(he),Be(pe),Be(ye),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function ee(z,ue,fe){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ue)*a,(.8+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ue)*a,(.5+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ue)*a,(.5+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ue)*a,(.8+fe)*y).close())}return ee(b,0,0),ee(b,.4,0),ee(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(te,a,y){var x=new go.Geometry,b=.5,ee=0,z=0,ue=b*ae,fe=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,he=1,pe=.5,ye=.5,ve=0,Pe=new go.PathFigure(fe*a,(1-ge)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,pe*y,he*a,.7*y,he*a,pe*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ee)*a,(ve+ee)*y,(.5+b+ee)*a,(.5-ue+ee)*y,(.5+ue+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+ue+z)*y,(.5-ue+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var ee=new go.PathFigure(.45*a,.73*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,ue=.5,fe=z,ge=Math.PI/4,he=4*(1-Math.cos(ge))/(3*Math.sin(ge)),pe=he*.5,ye=z,ve=z,Pe=he*ye,we=he*ve;ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ye)*a,fe*y,(ue-(Pe+ye)/2)*a,(fe+(ve+we)/2)*y,(ue-ye)*a,(fe+we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(fe-ve)*y,(ue-ye)*a,(fe-we)*y,(ue-Pe)*a,(fe-ve)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ye)*a,fe*y,(ue+Pe)*a,(fe-ve)*y,(ue+ye)*a,(fe-we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ue+ye)*a,(fe+we)*y,(ue+(Pe+ye)/2)*a,(fe+(ve+we)/2)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Ae=new go.PathFigure(.2*a,y,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var _e=new go.PathFigure(.8*a,y,!1);return x.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.2*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var z=new go.PathFigure(.1*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var ee=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,ee*a,ee*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var ee=new go.PathFigure(.475*a,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(te,a,y){var x=new go.Geometry,b=.5,ee=ae*.5,z=new go.PathFigure(a,b*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+ee)*y,(b+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-ee)*a,y,0,(b+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-ee)*y,(b-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+ee)*a,0,a,(b-ee)*y));var ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,.15*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var ee=new go.PathFigure(.15*a,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,ue=ae*.1,fe=.2,ge=.9,he=new go.PathFigure((fe-z)*a,ge*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe+z)*a,ge*y,(fe+ue)*a,(ge-z)*y,(fe+z)*a,(ge-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe-z)*a,ge*y,(fe-ue)*a,(ge+z)*y,(fe-z)*a,(ge+ue)*y).close()),z=.1,ue=ae*.1,fe=.8,ge=.9;var pe=new go.PathFigure((fe-z)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+z)*a,ge*y,(fe+ue)*a,(ge-z)*y,(fe+z)*a,(ge-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-z)*a,ge*y,(fe-ue)*a,(ge+z)*y,(fe-z)*a,(ge+ue)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var ee=new go.PathFigure(0,.5*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ue=new go.PathFigure(.5*a,.7*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var fe=.1,ge=ae*.1,he=.1,pe=.9,ye=new go.PathFigure((he-fe)*a,pe*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-fe)*y,(he-fe)*a,(pe-ge)*y,(he-ge)*a,(pe-fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(he+fe)*a,pe*y,(he+ge)*a,(pe-fe)*y,(he+fe)*a,(pe-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+fe)*y,(he+fe)*a,(pe+ge)*y,(he+ge)*a,(pe+fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(he-fe)*a,pe*y,(he-ge)*a,(pe+fe)*y,(he-fe)*a,(pe+ge)*y)),fe=.1,ge=ae*.1,he=.4,pe=.9;var ve=new go.PathFigure((he-fe)*a,pe*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-fe)*y,(he-fe)*a,(pe-ge)*y,(he-ge)*a,(pe-fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(he+fe)*a,pe*y,(he+ge)*a,(pe-fe)*y,(he+fe)*a,(pe-ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+fe)*y,(he+fe)*a,(pe+ge)*y,(he+ge)*a,(pe+fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-fe)*a,pe*y,(he-ge)*a,(pe+fe)*y,(he-fe)*a,(pe+ge)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var ee=new go.PathFigure(.45*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var he=.05,pe=ae*.05,ye=.175,ve=.95,ue=new go.PathFigure((ye-he)*a,ve*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ye+he)*a,ve*y,(ye+pe)*a,(ve-he)*y,(ye+he)*a,(ve-pe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ye-he)*a,ve*y,(ye-pe)*a,(ve+he)*y,(ye-he)*a,(ve+pe)*y));var he=.05,pe=ae*.05,ye=.375,ve=.95,fe=new go.PathFigure((ye-he)*a,ve*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+he)*a,ve*y,(ye+pe)*a,(ve-he)*y,(ye+he)*a,(ve-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-he)*a,ve*y,(ye-pe)*a,(ve+he)*y,(ye-he)*a,(ve+pe)*y));var he=.05,pe=ae*.05,ye=.625,ve=.95,ge=new go.PathFigure((ye-he)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye+he)*a,ve*y,(ye+pe)*a,(ve-he)*y,(ye+he)*a,(ve-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye-he)*a,ve*y,(ye-pe)*a,(ve+he)*y,(ye-he)*a,(ve+pe)*y));var he=.05,pe=ae*.05,ye=.825,ve=.95,Pe=new go.PathFigure((ye-he)*a,ve*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+he)*a,ve*y,(ye+pe)*a,(ve-he)*y,(ye+he)*a,(ve-pe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-he)*a,ve*y,(ye-pe)*a,(ve+he)*y,(ye-he)*a,(ve+pe)*y).close());var we=new go.PathFigure(0,y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ue=.05,fe=ae*.05,ge=.35,he=.775,pe=new go.PathFigure((ge-ue)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-ue)*y,(ge-ue)*a,(he-fe)*y,(ge-fe)*a,(he-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue)*a,he*y,(ge+fe)*a,(he-ue)*y,(ge+ue)*a,(he-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he+ue)*y,(ge+ue)*a,(he+fe)*y,(ge+fe)*a,(he+ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ue)*a,he*y,(ge-fe)*a,(he+ue)*y,(ge-ue)*a,(he+fe)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(te,a,y){var x=new go.Geometry,b=.3,ee=ae*.3,z=.5,ue=.7,fe=new go.PathFigure((z-b)*a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y));var ge=new go.PathFigure(0,.7*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var ee=new go.PathFigure(0,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(te,a,y){var x=new go.Geometry,b=.5,ee=ae*.5,z=.5,ue=.5,fe=new go.PathFigure((z-b)*a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y));var ge=new go.PathFigure(.15*a,.5*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(te,a,y){var x=new go.Geometry,b=.5,ee=ae*.5,z=.5,ue=.5,fe=new go.PathFigure((z-b)*a,ue*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y).close()),b=.05,ee=ae*.05,z=.5,ue=.8;var ge=new go.PathFigure((z-b)*a,ue*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y).close()),ge.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var ee=new go.PathFigure(0,y*.6,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var ee=new go.PathFigure(.126*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ue=new go.PathFigure(.678*a,.85*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var fe=new go.PathFigure(.5*a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var ee=new go.PathFigure(a*.204,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ue=new go.PathFigure(a*.612,y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var fe=new go.PathFigure(a*.816,y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var ee=new go.PathFigure(a*.055,.07*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ue=new go.PathFigure(a*.055,.18*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var fe=new go.PathFigure(a*1,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(0,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ue=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var fe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(te,a,y){var x=new go.Geometry,b=8,ee=b*ae,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,ee,ee,0).close());var ue=new go.PathFigure(a*.83,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var fe=new go.PathFigure(a*.83,y*1,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ge=new go.PathFigure(a*.78,y*.05,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*ae,ee=y*.8,z=new go.Geometry,ue=new go.PathFigure(x,0,!0);return z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),ue.add(new go.PathSegment(go.PathSegment.Line,0,x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var ee=new go.PathFigure(a*1,y*.55,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var ee=new go.PathFigure(a*.1,y*.2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(te,a,y){var x=new go.Geometry,b=15,ee=b*ae,z=new go.PathFigure(a*.62,y*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),ee>1?(x.spot1=new go.Spot(0,0,ee,ee),x.spot2=new go.Spot(1,1,-ee,-ee)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var z=new go.PathFigure(a*.4,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var z=new go.PathFigure(a*.5,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var ee=new go.PathFigure(a*.235,y*.28,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},5559:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ct={},it="5.0",Se={},be=null,Be=!1,E=!1,me=null,de=!1,le=null,ae=null,ie=0;ie<arguments.length;ie++){var se=arguments[ie];if(se!==null)switch(typeof se){case"number":it=se.toFixed(1);break;case"string":se.match(new RegExp("^[0-9]\\.[0-9]+$"))?it=se:me=se;break;case"object":typeof se.is3D!="undefined"?be=se:Se=se;break;case"boolean":Be=se,E=!0;break}}be===null&&(be={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},Se.material_id!==void 0&&!E&&(Be=!0)),me!==null&&Se.id===void 0&&(Se.id=me);var ce="",oe="",re=!1,ne=null,te=null,a=null,y=!1,x=null,b=null,ee=null,z=null,ue=null;Se.height!==void 0&&(Se.height=Math.round(Se.height)),Se.width!==void 0&&(Se.width=Math.round(Se.width));var fe=function(Ue){return parseFloat(Ue)>4?parseFloat(Ue):5};ct.setHTML5Codebase=function(Ue,ke){ae=Ue,Qe(Ue,ke)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(Ue,ke){var Re=parseFloat(Ue);if(Re!==NaN&&Re<5){console.log("The GeoGebra HTML5 codebase version "+Re+" is deprecated. Using version latest instead.");return}le=Ue,Je(Ue,ke)},ct.getHTML5CodebaseVersion=function(){return te},ct.getParameters=function(){return Se},ct.setFontsCSSURL=function(Ue){z=Ue},ct.setGiacJSURL=function(Ue){},ct.setJNLPFile=function(Ue){ce=Ue},ct.setJNLPBaseDir=function(Ue){},ct.inject=function(){function Ue(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Re=Se.id,He,qe=!1,rt=0;rt<arguments.length;rt++){var We=arguments[rt];typeof We=="string"?(We=We.toLowerCase(),We.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ke=We:Re=arguments[rt]):typeof We=="boolean"?qe=We:We instanceof HTMLElement&&(He=We)}ze();function ze(){if(!de){setTimeout(ze,200);return}ke=Ne(ke);var Me=He||document.getElementById(Re);if(!Me){console.log("possibly bug on ajax loading? ");return}if(ct.removeExistingApplet(Me,!1),Se.width===void 0&&Me.clientWidth&&(Se.width=Me.clientWidth),Se.height===void 0&&Me.clientHeight&&(Se.height=Me.clientHeight),!(Se.width&&Se.height)&&ke==="html5"&&(delete Se.width,delete Se.height),ne=ke,ke==="screenshot")_e(Me,Se);else{var Ge=!1;Se.hasOwnProperty("playButton")&&Se.playButton||Se.hasOwnProperty("clickToLoad")&&Se.clickToLoad?Ge=!0:Se.hasOwnProperty("playButtonAutoDecide")&&Se.playButtonAutoDecide&&(Ge=(!ge()||Ue())&&he()),Ge?(ne="screenshot",Ee(Me,Se,qe,ke)):Ae(Me,Se,qe)}}};function ge(){try{return window.self!==window.top}catch(Ue){return!0}}function he(){return Se.hasOwnProperty("screenshotGenerator")&&Se.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}ct.getViews=function(){return be},ct.isJavaInstalled=function(){return!1};var pe=function(Ue){var ke=function(rt){var We=JSON.parse(rt),ze=function(Le){return Le.type=="G"||Le.type=="E"},Me=We.elements?We.elements.filter(ze)[0]:We;if(!Me||!Me.url){Re();return}Se.fileName=Me.url,ye(Me.settings||{}),be.is3D=!0;var Ge="https://www.geogebra.org/images/";ct.setPreviewImage(x||Me.previewUrl,Ge+"GeoGebra_loading.png",Ge+"applet_play.png"),Ue()},Re=function(){Se.onError&&Se.onError(),Ze("Error: Fetching material (id "+Se.material_id+") failed.",Se)},He=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",qe="/materials/"+Se.material_id+"?scope=basic";ve("https://"+He+"/api/proxy.php?path="+encodeURIComponent(qe),ke,Re)};function ye(Ue){var ke=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Re){Ue[Re]=!!Ue[Re]}),ke.forEach(function(Re){Se[Re]===void 0&&Ue[Re]!==void 0&&(Se[Re]=Ue[Re])}),Se.showToolBarHelp===void 0&&(Se.showToolBarHelp=Se.showToolBar)}function ve(Ue,ke,Re){var He=new XMLHttpRequest;He.open("GET",Ue),He.onload=function(){ke(He.responseText)},He.onerror=Re,He.send()}ct.isHTML5Installed=function(){return!0},ct.getLoadedAppletType=function(){return ne},ct.setPreviewImage=function(Ue,ke,Re){x=Ue,b=ke,ee=Re},ct.removeExistingApplet=function(Ue,ke){var Re;typeof Ue=="string"&&(Ue=document.getElementById(Ue)),ne=null;var He=null;for(Re=0;Re<Ue.childNodes.length;Re++){var qe=Ue.childNodes[Re],rt=qe.className;rt==="applet_screenshot"?ke?(qe.style.display="block",ne="screenshot"):qe.style.display="none":rt!=="applet_scaler prerender"&&(Ue.removeChild(qe),He=rt&&rt.indexOf("appletParameters")!=-1?qe.id:null,Re--)}var We=Se.id!==void 0?Se.id:He,ze=window[We];ze&&typeof ze.getBase64=="function"&&(ze.remove(),window[We]=null)},ct.refreshHitPoints=function(){if(fe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ue=ct.getAppletObject();return Ue&&typeof Ue.recalculateEnvironments=="function"?(Ue.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var Ue=ct.getAppletObject();return Ue&&typeof Ue.startAnimation=="function"?(Ue.startAnimation(),!0):!1},ct.stopAnimation=function(){var Ue=ct.getAppletObject();return Ue&&typeof Ue.stopAnimation=="function"?(Ue.stopAnimation(),!0):!1},ct.getAppletObject=function(){var Ue=Se.id!==void 0?Se.id:"ggbApplet";return window[Ue]},ct.resize=function(){};var Pe=function(Ue,ke,Re){var He=document.createElement("param");He.setAttribute("name",ke),He.setAttribute("value",Re),Ue.appendChild(He)},we=function(Ue){return Ue&&Ue!=="false"},Ae=function(Ue,ke,Re){fe(te)<=4.2&&(Re=!0);var He=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(He=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var rt=ke.width,We=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(fe(te)<=4.4)we(ke.showToolBar)&&(ke.height-=7),we(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&we(ke.showToolBar)&&(ke.width=605,rt=605);else{var ze=100;(we(ke.showToolBar)||we(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),ze=we(ke.showMenuBar)?245:155),rt<ze&&(ke.width=ze,rt=ze)}qe.style.border="none",qe.style.display="inline-block";for(var Me in ke)ke.hasOwnProperty(Me)&&Me!=="appletOnLoad"&&qe.setAttribute("data-param-"+Me,ke[Me]);z&&qe.setAttribute("data-param-fontscssurl",z),ct.resize=function(){GGBAppletUtils.responsiveResize(Ue,ke)},window.addEventListener("resize",function($e){ct.resize()});var Ge=typeof ke.appletOnLoad=="function"?ke.appletOnLoad:function(){};if(!Re&&ke.width!==void 0){ke.hasOwnProperty("showSplash")||qe.setAttribute("data-param-showSplash","false");var Le=Ue.querySelector(".applet_scaler.prerender"),Ve=Le!==null;if(Ve)var ot=Le.querySelector(".ggb_preview");else{var ot=Ie(rt,We,ke.borderColor,!1);Le=document.createElement("div"),Le.className="applet_scaler",Le.style.position="relative",Le.style.display="block",Le.style.width=rt+"px",Le.style.height=We+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Le,"66%"),fe(te)>=5?(ke.appletOnLoad=function($e){var tt=Ue.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Le),window.GGBT_wsf_view&&$(window).trigger("resize"),Ge($e)},Ve||Le.appendChild(ot)):qe.appendChild(ot),Le.appendChild(qe),Ve||Ue.appendChild(Le),setTimeout(function(){ct.resize()},1)}else{var et=document.createElement("div");et.className="applet_scaler",et.style.position="relative",et.style.display="block",et.appendChild(qe),Ue.appendChild(et),ke.appletOnLoad=function($e){ct.resize(),Ge($e)}}function Xe($e,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,tt.appletOnLoad):renderGGBElement($e),Ze("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function je($e,tt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:$e,params:tt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(lt){Xe(lt.article,lt.params)}),html5AppletsToProcess=null)},fe(te)<5&&($e.className+=" geogebraweb")):Xe($e,tt)}if(He){scriptLoadStarted=!0;for(var Ce=0;Ce<qe.childNodes.length;Ce++){var De=qe.childNodes[Ce].tagName;De==="TABLE"&&(qe.removeChild(qe.childNodes[Ce]),Ce--)}if(ggbHTML5LoadedScript!==null){var Fe=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Fe!=null&&Fe.parentNode.removeChild(Fe)}var Ye=document.createElement("script"),nt=function(){je(qe,ke)};Ye.src=oe+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=te,ggbHTML5LoadedScript=Ye.src,Ze("GeoGebra HTML5 codebase loaded: '"+oe+"'.",ke),!ae&&(!le||le=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),nt()):oe.requirejs?__webpack_require__.e(777).then(function(){var $e=[__webpack_require__(70777)];nt.apply(null,$e)}.bind(this)).catch(__webpack_require__.oe):(Ye.onload=nt,Ue.appendChild(Ye))}else je(qe,ke);ke.height=We,ke.width=rt},_e=function(Ue,ke,Re){var He=Ie(ke.width,ke.height,ke.borderColor,Re),qe=document.createElement("div");qe.style.position="relative",qe.style.display="block",qe.style.width=ke.width+"px",qe.style.height=ke.height+"px",qe.className="applet_screenshot applet_scaler"+(Re?" applet_screenshot_play":""),qe.appendChild(He);var rt=GGBAppletUtils.getScale(ke,Ue,Re);Re?(Ue.appendChild(Oe()),window.GGBT_wsf_view||(Ue.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(qe,"66%"),Ue.appendChild(qe),rt!==1&&!isNaN(rt)&&(GGBAppletUtils.scaleElement(qe,rt),qe.style.width=ke.width+"px",qe.style.height=ke.height+"px",qe.parentNode.style.width=ke.width*rt+"px",qe.parentNode.style.height=ke.height*rt+"px"),ct.resize=function(){xe(Ue,He,qe,Re)},window.addEventListener("resize",function(We){ct.resize()}),ct.resize()};function xe(Ue,ke,Re,He){if(Ue.contains(ke)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ue.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ue)}var qe=GGBAppletUtils.getScale(Se,Ue,He);Re.parentNode!==null&&(!isNaN(qe)&&qe!==1?(GGBAppletUtils.scaleElement(Re,qe),Re.parentNode.style.width=Se.width*qe+"px",Re.parentNode.style.height=Se.height*qe+"px"):(GGBAppletUtils.scaleElement(Re,1),Re.parentNode.style.width=Se.width+"px",Re.parentNode.style.height=Se.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ue),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}ct.onExitFullscreen=function(Ue,ke){ke.appendChild(Ue)};var Ee=function(Ue,ke,Re,He){_e(Ue,ke,!0);for(var qe=function(){var ze=[];for(We=0;We<Ue.childNodes.length;We++)ze.push(Ue.childNodes[We]);if(window.GGBT_wsf_view){var Me=window.GGBT_wsf_view.renderFullScreen(Ue,ke.id),Ge=document.getElementById("fullscreencontainer"),Le=jQuery(Ue).find(".fullscreencontent");Le.length>0?(Me.remove(),Le.attr("id","fullscreencontent").show(),jQuery(Ge).append(Le),window.dispatchEvent(new Event("resize"))):Ae(Me,ke,!1),window.GGBT_wsf_view.launchFullScreen(Ge)}else ne=He,Ae(Ue,ke,!1);if(!window.GGBT_wsf_view)for(We=0;We<ze.length;We++)Ue.removeChild(ze[We])},rt=Ue.getElementsByClassName("ggb_preview_play"),We=0;We<rt.length;We++)rt[We].addEventListener("click",qe,!1),rt[We].addEventListener("ontouchstart",qe,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ue),he()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Oe=function(){var Ue=document.createElement("div");if(Ue.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ke='.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");}',Re=document.createElement("style");Re.styleSheet?Re.styleSheet.cssText=ke:Re.appendChild(document.createTextNode(ke)),document.getElementsByTagName("head")[0].appendChild(Re)}return Ue},Ie=function(Ue,ke,Re,He){var qe=document.createElement("div");qe.className="ggb_preview",qe.style.position="absolute",qe.style.zIndex="90",qe.style.width=Ue-2+"px",qe.style.height=ke-2+"px",qe.style.top="0px",qe.style.left="0px",qe.style.overflow="hidden",qe.style.backgroundColor="white";var rt="lightgrey";Re!==void 0&&(Re==="none"?rt="transparent":rt=Re),qe.style.border="1px solid "+rt;var We=document.createElement("img");if(We.style.position="relative",We.style.zIndex="1000",We.style.top="-1px",We.style.left="-1px",x!==null&&We.setAttribute("src",x),We.style.opacity=.7,b!==null){var ze,Me,Ge;if(!He){ze=document.createElement("img"),ze.style.position="absolute",ze.style.zIndex="1001",ze.style.opacity=1,We.style.opacity=.3,Me=360,Me>Ue/4*3&&(Me=Ue/4*3),Ge=Me/5.8,ze.setAttribute("src",b),ze.setAttribute("width",Me),ze.setAttribute("height",Ge);var Le=(Ue-Me)/2,Ve=(ke-Ge)/2;ze.style.left=Le+"px",ze.style.top=Ve+"px",qe.appendChild(ze)}}return qe.appendChild(We),qe},Ne=function(Ue){return Ue=Ue.toLowerCase(),Ue==="html5"||Ue==="screenshot"?Ue:"html5"},Te=["web","webSimple","web3d","tablet","tablet3d","phone"],Je=function(Ue,ke){if(te=Ue,ke){Qe(te,!0);return}var Re=!Be;if(Re){var He=fe(te);!isNaN(He)&&He<4.4&&(Re=!1)}var qe,rt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var We=te.indexOf("//");We>0?rt=te:We===0?rt=qe+te:rt="https://www.geogebra.org/apps/5.2.814.0/";for(var ze in Te)if(te.slice(Te[ze].length*-1)===Te[ze]||te.slice((Te[ze].length+1)*-1)===Te[ze]+"/"){Qe(rt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Re&&!be.is3D&&!be.AV&&!be.SV&&!be.CV&&!be.EV2&&!be.CP&&!be.PC&&!be.DA&&!be.FI&&!be.PV&&!we(Se.showToolBar)&&!we(Se.showMenuBar)&&!we(Se.showAlgebraInput)&&!we(Se.enableRightClick)&&(!Se.appName||Se.appName=="classic")?rt+="webSimple/":rt+="web3d/",Qe(rt,!1)},Qe=function(Ue,ke){if(Ue.requirejs){oe=Ue;return}Ue.slice(-1)!=="/"&&(Ue+="/"),oe=Ue,ke===null&&(ke=Ue.indexOf("http")===-1),re=ke,a="web.nocache.js",y=!1;var Re=oe.split("/");Re.length>1&&(!ke&&Re[Re.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Te.indexOf(Re[Re.length-2])>=0&&(a=Re[Re.length-2]+".nocache.js")),Re=Ue.split("/"),te=Re[Re.length-3],te.substr(0,4)==="test"?te=te.substr(4,1)+"."+te.substr(5,1):(te.substr(0,3)==="war"||te.substr(0,4)==="beta")&&(te="5.0");var He=parseFloat(te);He!==NaN&&He<5&&Ue.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+He+" is deprecated. Using version latest instead."),Je("5.0",ke))},Ze=function(Ue,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(Ue)};Se.material_id!==void 0?pe(Ke):Ke();function Ke(){var Ue=it;le!==null?Ue=le:parseFloat(Ue)<5&&(Ue="5.0"),Je(Ue,!1),ae!==null&&Qe(ae,re),de=!0}return ct},GGBAppletUtils=function(){"use strict";function ct(){return window.GGBT_wsf_edit!==void 0}function it(de,le){le!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+le+","+le+")",de.style.webkitTransform="scale("+le+","+le+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function Se(de,le,ae,ie,se,ce){var oe=null;if(ce!=null&&ce!="")for(var re=de.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ce+" ")>-1){oe=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,ee=0;if(oe)ne=oe.offsetWidth,te=Math.max(ie?oe.offsetWidth:0,oe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,te=window.innerHeight,a=window.innerWidth),de){var z=de.getBoundingClientRect();z.left>0&&z.left<=ne&&(se===void 0||!se)&&(document.dir==="rtl"?(x=ne-z.width-z.left,b=a<=480?10:30):(b=z.left,x=a<=480?10:30),y=b+x)}if(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ue=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return de&&((ae===void 0||!ae)&&le>0&&le+y<ne?ne=le:ne-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ae===void 0||!ae)&&(te-=ee)),{width:ne,height:te}}function be(de,le,ae,ie,se){if(de.isScreenshoGenerator)return 1;var ce=ie!==void 0&&ie,oe=de.noScaleMargin!=null&&de.noScaleMargin,re=function(ue){return ue&&ue!=="false"},ne=re(de.autoHeight),te=Se(le,de.width,ae,ne,ce&&window.GGBT_wsf_view||oe,se),a=parseInt(te.width),y=de.width,x=de.height;if(y===void 0){var b=le.querySelector(".appletParameters");b&&(y=b.offsetWidth,x=b.offsetHeight)}var ee=a/y,z=ce?1:te.height/x;return ae!==void 0&&!ae&&(ee=Math.min(1,ee),z=Math.min(1,z)),Math.min(ee,z)}function Be(de,le,ae){var ie=1,se,ce=!1;if(de.hasOwnProperty("allowUpscale")&&(ce=de.allowUpscale),de.hasOwnProperty("scale")&&(ie=parseFloat(de.scale),(isNaN(ie)||ie===null||ie===0)&&(ie=1),ie>1&&(ce=!0)),le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))se=be(de,le,ce,ae,de.scaleContainerClass);else return ie;return ce&&(!de.hasOwnProperty("scale")||ie===1)?se:Math.min(ie,se)}function E(de){var le=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=de.getBoundingClientRect(),se=(le-ie.width)/2,ce=(ae-ie.height)/2;ce<0&&(ce=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?de.style.left="40px":de.style.left=se+"px",de.style.top=ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ce<40?de.style.top="40px":de.style.top=ce+"px",de.style.left=se+"px")}function me(de,le){var ae=de.querySelector(".appletParameters");if(ae){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(le.id!==ae.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(ae.parentElement&&/fullscreen/.test(ae.parentElement.className))return;var ie=Be(le,de);ct()&&ae.setAttribute("data-param-scale",ie);for(var se=null,ce=0;ce<de.childNodes.length;ce++)if(de.childNodes[ce].className!==void 0&&de.childNodes[ce].className.match(/^applet_scaler/)){se=de.childNodes[ce];break}if(se!==null&&se.querySelector(".noscale")!==null)return;var oe=le.id!==void 0?le.id:"ggbApplet",re=window[oe];(re==null||!re.recalculateEnvironments)&&se!==null&&!se.className.match(/fullscreen/)&&(se.parentNode.style.transform="",!isNaN(ie)&&ie!==1?(se.parentNode.style.width=le.width*ie+"px",se.parentNode.style.height=le.height*ie+"px",it(se,ie)):(it(se,1),se.parentNode.style.width=le.width+"px",se.parentNode.style.height=le.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&E(de),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ae).parents(".content-added-content"))}}return{responsiveResize:me,isFlexibleWorksheetEditor:ct,positionCenter:E,getScale:Be,scaleElement:it}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(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 ct=n.location.search;return ct.indexOf(J)!=-1||ct.indexOf(K)!=-1}function q(ct,it){}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||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(ct){var it=s[L].bindings;s[L].bindings=function(){for(var Se=it?it():{},be=ct[webModule.__softPermutationId],Be=O;Be<be.length;Be++){var E=be[Be];Se[E[O]]=E[P]}return Se}};var t;function u(){return v(),t}function v(){if(!t){var ct=o.createElement(Q);if(ct.id=L,ct.style.cssText=R+S,ct.tabIndex=-1,o.body.appendChild(ct),t=ct.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var it=document.compatMode==U?V:W;t.write(it+X),t.close()}}}function w(ct){function it(be){function Be(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var E=Be();if(E){be();return}function me(){if(!E){if(!Be())return;E=!0,be(),o.removeEventListener&&o.removeEventListener(Z,me,!1),de&&clearInterval(de)}}o.addEventListener&&o.addEventListener(Z,me,!1);var de=setInterval(function(){me()},$)}function Se(be){var Be=u(),E=Be.body,me=Be.createElement(_);me.language=ab,me.crossOrigin=W,me.src=be,webModule.__errFn&&(me.onerror=function(){webModule.__errFn(L,new Error(bb+be))}),E.appendChild(me)}it(function(){Se(ct)})}webModule.__startLoadingFragment=function(ct){return C(ct)},webModule.__installRunAsyncCode=function(ct){var it=u(),Se=it.body,be=it.createElement(_);be.language=ab,be.text=ct,Se.appendChild(be),Se.removeChild(be)};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(ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ct){var it=c[ct];return it==null?null:it},r=d,webModule.__errFn=e}function B(){function ct(de){var le=de.lastIndexOf(rb);le==-1&&(le=de.length);var ae=de.indexOf(sb);ae==-1&&(ae=de.length);var ie=de.lastIndexOf(tb,Math.min(ae,le));return ie>=O?de.substring(O,ie+P):W}function it(de){if(!de.match(/^\w+:\/\//)){var le=o.createElement(ub);le.src=de+vb,de=ct(le.src)}return de}function Se(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function be(){for(var de=o.getElementsByTagName(_),le=O;le<de.length;++le)if(de[le].src.indexOf(xb)!=-1)return ct(de[le].src);return W}function Be(){var de=o.getElementsByTagName(yb);return de.length>O?de[de.length-P].href:W}function E(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var me=Se();return me==W&&(me=be()),me==W&&(me=Be()),me==W&&E()&&(me=ct(o.location.href)),me=it(me),me}function C(ct){return ct.match(/^\//)||ct.match(/^[a-zA-Z]+:\/\//)?ct:webModule.__moduleBase+ct}function D(){var ct=[],it=O,Se=[],be=[];function Be(de){var le=be[de](),ae=Se[de];if(le in ae)return le;var ie=[];for(var se in ae)ie[ae[se]]=se;throw r&&r(de,ie,le),null}if(__gwt_isKnownPropertyValue=function(de,le){return le in Se[de]},webModule.__getPropMap=function(){var de={};for(var le in Se)Se.hasOwnProperty(le)&&(de[le]=Be(le));return de},webModule.__computePropValue=Be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var me=E.indexOf(Db);me!=-1&&(it=parseInt(E.substring(me+P),$),E=E.substring(O,me))}catch(de){}return webModule.__softPermutationId=it,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},49291:function(ct,it,Se){"use strict";Se.d(it,{Ax:function(){return me},Ds:function(){return de},KI:function(){return ae},SI:function(){return E},f1:function(){return Be}});var be=Se(38446);function Be(ie){let se=!0;if(ie.length>0){for(let ce=0;ce<ie.length;ce++)if(ie[ce].compile_success==0||!ie[ce].compile_success){se=!1;break}}else se=!1;return se}function E(ie,se=""){let ce=[];for(let oe=0;oe<ie.length;oe++){let re=ie[oe],ne=se?`${se}/${re.name}`:`${re.name}`;ce.push({title:re.name,type:re.type,isLeaf:re.type!=="tree",key:ne})}return ce}function me(ie,se,ce){for(let oe=0;oe<ie.length;oe++){let re=ie[oe];if(re.key===se){re.children=ce;break}re.children&&me(re.children,se,ce)}return ie}function de(ie,se,ce){let oe;return function(){let re=this,ne=arguments,te=function(){oe=null,ce||ie.apply(re,ne)},a=ce&&!oe;clearTimeout(oe),oe=setTimeout(te,se),a&&ie.apply(re,ne)}}const le=!0,ae=be.Z.API_SERVER},18378:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return x}});var be=Se(59301),Be=Se(11392),E={bigTips:"bigTips___uPRW3",item:"item___KMGDu"},me=Se(8591),de=Se(95237),le=Object.defineProperty,ae=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,re=(b,ee,z)=>ee in b?le(b,ee,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[ee]=z,ne=(b,ee)=>{for(var z in ee||(ee={}))ce.call(ee,z)&&re(b,z,ee[z]);if(se)for(var z of se(ee))oe.call(ee,z)&&re(b,z,ee[z]);return b},te=(b,ee)=>ae(b,ie(ee)),a=(b,ee,z)=>new Promise((ue,fe)=>{var ge=ye=>{try{pe(z.next(ye))}catch(ve){fe(ve)}},he=ye=>{try{pe(z.throw(ye))}catch(ve){fe(ve)}},pe=ye=>ye.done?ue(ye.value):Promise.resolve(ye.value).then(ge,he);pe((z=z.apply(b,ee)).next())}),x=({description:b,code:ee,showData:z={},sendParams:ue={},allShow:fe=!1})=>{const ge=[{img:Se(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:b,show:z==null?void 0:z.ai_exam_question,type:1},{img:Se(68427),name:"\u8BED\u6CD5\u68C0\u67E5",des:"\u68C0\u6D4B\u4EE3\u7801\u4E2D\u7684\u8BED\u6CD5\u9519\u8BEF\uFF0C\u63D0\u4F9B\u4FEE\u590D\u5EFA\u8BAE",description:"",query:ee,show:z==null?void 0:z.ai_syntax_check,type:5},{img:Se(2195),name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",description:b,query:ee,show:z==null?void 0:z.ai_code_diagnosis,type:2},{img:Se(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:ee,show:z==null?void 0:z.ai_guidance,type:3}],he=pe=>{const{setChatData:ye,setLoading:ve,getData:Pe,clearStatus:we,typing:Ae}=pe;let _e=ge;return fe||(_e=ge.filter(xe=>xe.show)),be.createElement("div",{className:`${E.bigTips} mt10`},_e.map((xe,Ee)=>be.createElement("div",{onClick:()=>a(void 0,null,function*(){if(Ae){me.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}const Oe=Date.now();ve(!0),we(),ye([{text:xe.query,key:Oe,sender:"user",show:!1},{loading:!0,key:Oe,sender:"AI",show:!0}]),Pe("",ne({type:xe.type,description:xe.description,query:xe.query,file_id:"",history:[],is_chat:!1},ue))}),key:Ee,className:E.item},be.createElement(de.Z,{align:"middle"},be.createElement("img",{className:"mr10",src:xe.img}),be.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},xe.name)),be.createElement("div",{className:"mt10",style:{color:"#434D6C"}},xe.des))))};return be.createElement(Be.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:fe?!1:!(z!=null&&z.ai_q_and_a),headFunctionNode:he,showSwitchingModel:!0,fetchData:te(ne({},ue),{is_chat:!0}),topPercentage:(ue==null?void 0:ue.source)==="hack"?.52:void 0,headNode:be.createElement(be.Fragment,null,be.createElement("div",{className:"c-grey-333 font22"},be.createElement("span",{className:"mr5"},"\u{1F44B}"),"\u55E8\uFF0C\u6211\u662F\u5934\u6B4C\u667A\u80FD\u52A9\u6559\uFF0C\u60A8\u7684\u6559\u5B66\u597D\u5E2E\u624B\u3002"),be.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},"\u6211\u53EF\u4EE5\u8FD0\u7528\u667A\u80FD\u5BA1\u9898\u7684\u529F\u80FD\uFF0C\u5E2E\u52A9\u60A8\u8F7B\u677E\u7406\u89E3\u5E76\u62C6\u89E3\u5B9E\u8DF5\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u6E05\u6670\u660E\u4E86\u7684\u89E3\u9898\u601D\u8DEF\u3002\u5F53\u60A8\u5728\u7F16\u5199\u4EE3\u7801\u8FC7\u7A0B\u4E2D\u9047\u5230\u95EE\u9898\u65F6\uFF0C\u6211\u53EF\u4EE5\u63D0\u4F9B\u4EE3\u7801\u8BCA\u65AD\u670D\u52A1\uFF0C\u5206\u6790\u60A8\u7684\u4EE3\u7801\u5E76\u7ED9\u51FA\u5177\u4F53\u7684\u4FEE\u6B63\u5EFA\u8BAE\u3002\u5982\u679C\u60A8\u9700\u8981\u8FDB\u4E00\u6B65\u7684\u5E2E\u52A9\uFF0C\u6211\u8FD8\u53EF\u4EE5\u63D0\u4F9B\u8BE6\u7EC6\u7684AI\u6307\u5BFC\uFF0C\u4E3A\u60A8\u91CF\u8EAB\u5B9A\u5236\u53C2\u8003\u7684\u89E3\u51B3\u65B9\u6848\u3002\u671F\u5F85\u4E0E\u60A8\u643A\u624B\u5171\u8FDB\uFF0C\u9AD8\u6548\u3001\u4F18\u8D28\u5730\u5B8C\u6210\u6BCF\u4E00\u9879\u5B9E\u8DF5\u4EFB\u52A1\uFF01"),be.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},11392:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return wr}});var be=Se(59301),Be=Se(8591),E=Se(54580),me=Se(43418),de=Se(92832),le=Se(3113),ae=Se(6848),ie=Se(43428),se=Se(71418),ce=Se(92310),oe=Se.n(ce),re=Se(19999),ne=Se(77596),te=Se(66422),a=Se(14179),y=Se(56102),x={answer:"answer___UngkO",codeCopy:"codeCopy___re8vm"},b=Se(35328),ee=Se(30084),z=Se(2878),ue=Se(59301),fe=Object.defineProperty,ge=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,ye=(Ft,It,Dt)=>It in Ft?fe(Ft,It,{enumerable:!0,configurable:!0,writable:!0,value:Dt}):Ft[It]=Dt,ve=(Ft,It)=>{for(var Dt in It||(It={}))he.call(It,Dt)&&ye(Ft,Dt,It[Dt]);if(ge)for(var Dt of ge(It))pe.call(It,Dt)&&ye(Ft,Dt,It[Dt]);return Ft},Pe=(Ft,It)=>{var Dt={};for(var vn in Ft)he.call(Ft,vn)&&It.indexOf(vn)<0&&(Dt[vn]=Ft[vn]);if(Ft!=null&&ge)for(var vn of ge(Ft))It.indexOf(vn)<0&&pe.call(Ft,vn)&&(Dt[vn]=Ft[vn]);return Dt},we=(Ft,It,Dt)=>new Promise((vn,Dn)=>{var xn=dt=>{try{ft(Dt.next(dt))}catch(gt){Dn(gt)}},pn=dt=>{try{ft(Dt.throw(dt))}catch(gt){Dn(gt)}},ft=dt=>dt.done?vn(dt.value):Promise.resolve(dt.value).then(xn,pn);ft((Dt=Dt.apply(Ft,It)).next())}),_e=({value:Ft,streamingStatus:It,onFinish:Dt,cancelIndex:vn,interval:Dn=20})=>{const[xn,pn]=(0,be.useState)(""),ft=(0,be.useRef)(""),dt=(0,be.useRef)(!0),gt=(0,be.useRef)(0),zt=(0,be.useRef)(null),[qt,Ht]=(0,be.useState)(!1);(0,be.useEffect)(()=>{dt.current=It},[It]),(0,be.useEffect)(()=>{ft.current=Ft},[Ft]),(0,be.useEffect)(()=>(Ht(!0),zt.current=setInterval(Rn,Dn),()=>{clearInterval(zt.current)}),[]),(0,be.useEffect)(()=>{qt&&(pn(ft.current),clearInterval(zt.current),Ht(!1),Dt())},[vn]);const Rn=()=>we(void 0,null,function*(){const Bn=ft.current[gt.current];Bn!==void 0?(pn(Ln=>Ln+Bn),gt.current++):dt.current===!1&&(pn(ft.current),clearInterval(zt.current),Ht(!1),Dt())}),nn=(0,be.useMemo)(()=>xn.split(new RegExp("(```.*?```)","gs")).map($n=>$n.startsWith("```")?$n:$n.replace(/`(\$\$[^`]+?\$\$)`/g,"$1")).join(""),[xn]);return ue.createElement("div",{className:`${x.answer} fadeIn animated`},ue.createElement(re.U,{remarkPlugins:[ee.Z],rehypePlugins:[b.Z,te.Z],components:{code(Bn){var Ln=Bn,{node:$n,inline:Rt,className:_t,children:St}=Ln,Nt=Pe(Ln,["node","inline","className","children"]);const Pt=/language-(\w+)/.exec(_t||"");return!Rt&&Pt?ue.createElement("div",{className:x.codeCopy},ue.createElement(y.CopyToClipboard,{text:String(St).replace(/\n$/,""),onCopy:()=>Be.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ue.createElement("button",null,"\u590D\u5236")),ue.createElement(ne.Z,ve({style:a.Z,language:Pt[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Nt),String(St||"").replace(/\n$/,""))):ue.createElement("code",ve({className:_t},Nt),St)}}},`${nn}${qt?"__":""}`))},xe={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},Ee=Se(59301),Oe=(Ft,It,Dt)=>new Promise((vn,Dn)=>{var xn=dt=>{try{ft(Dt.next(dt))}catch(gt){Dn(gt)}},pn=dt=>{try{ft(Dt.throw(dt))}catch(gt){Dn(gt)}},ft=dt=>dt.done?vn(dt.value):Promise.resolve(dt.value).then(xn,pn);ft((Dt=Dt.apply(Ft,It)).next())}),Ne=({value:Ft="",streamingStatus:It,onFinish:Dt,cancelIndex:vn,time:Dn,interval:xn=70,loading:pn})=>{const[ft,dt]=(0,be.useState)(""),[gt,zt]=(0,be.useState)(!0),qt=(0,be.useRef)(""),Ht=(0,be.useRef)(!0),Rn=(0,be.useRef)(0),nn=(0,be.useRef)(null),[Bn,Ln]=(0,be.useState)(!1);(0,be.useEffect)(()=>{Ht.current=It},[It]),(0,be.useEffect)(()=>{qt.current=Ft},[Ft]),(0,be.useEffect)(()=>(Ln(!0),nn.current=setInterval($n,xn),()=>{clearInterval(nn.current)}),[]),(0,be.useEffect)(()=>{Bn&&(dt(qt.current),clearInterval(nn.current),Ln(!1),Dt())},[vn]);const $n=()=>Oe(void 0,null,function*(){const Rt=qt.current[Rn.current];Rt!==void 0?(dt(_t=>_t+Rt),Rn.current++):Ht.current===!1&&(dt(qt.current),clearInterval(nn.current),Ln(!1),Dt())});return Ee.createElement("div",{className:`${xe.reasoning} fadeIn animated`},Ee.createElement("div",{className:xe.btn,onClick:()=>zt(!gt)},Ee.createElement("i",{className:"iconfont icon-shendusikao"}),Dn?Ee.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",Dn," \u79D2\uFF09"):Ee.createElement("span",null,"\u601D\u8003\u4E2D..."),gt?Ee.createElement("b",{className:"iconfont icon-shouqi6"}):Ee.createElement("b",{className:"iconfont icon-zhankai6"})),pn&&Ee.createElement(se.Z,{spinning:!0,className:"mt20"}),gt&&!pn&&Ee.createElement("div",{className:xe.content},ft,Bn?Ee.createElement("span",{className:"aiBlink"},"__"):""))},Te={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},Je=Se(81327),Qe=Object.defineProperty,Ze=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,ke=(Ft,It,Dt)=>It in Ft?Qe(Ft,It,{enumerable:!0,configurable:!0,writable:!0,value:Dt}):Ft[It]=Dt,Re=(Ft,It)=>{for(var Dt in It||(It={}))Ke.call(It,Dt)&&ke(Ft,Dt,It[Dt]);if(Ze)for(var Dt of Ze(It))Ue.call(It,Dt)&&ke(Ft,Dt,It[Dt]);return Ft};const He=Ft=>React.createElement("svg",Re({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Ft),React.createElement("path",{d:"M1019.407 620.8 891.834 397.781 946.49 293.12a29.099 29.099 0 0 0 6.4-36.395l-70.187-126.592a30.08 30.08 0 0 0-24.576-13.653H597.519L539.194 14.507a27.35 27.35 0 0 0-20.907-14.55H380.644a29.141 29.141 0 0 0-24.618 14.55v5.546L225.806 243.03H100.923a29.184 29.184 0 0 0-25.515 13.654L3.428 384.085a32.768 32.768 0 0 0 0 29.184L132.836 638.08 74.511 740.053a32.768 32.768 0 0 0 0 29.056l66.517 116.566a29.907 29.907 0 0 0 25.515 14.506H427.15l62.848 109.227A30.08 30.08 0 0 0 512.783 1024H660.41a29.141 29.141 0 0 0 24.576-14.55l128.469-224.853h114.773a31.915 31.915 0 0 0 24.662-15.445l66.474-117.419a28.16 28.16 0 0 0 0-30.976l.043.043zm-161.28 14.592L791.61 512.469 518.287 993.963l-74.752-122.88h-273.28l65.621-119.211h139.392L101.86 272.213h143.062L380.687 30.08l68.352 119.253-70.187 122.88H925.54l-69.205 121.942 137.6 241.194H858.17z",fill:"#605BEC"}),React.createElement("path",{d:"m499.983 699.307 174.379-274.731H324.708z",fill:"#605BEC"}));var qe="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAt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>It in Ft?rt(Ft,It,{enumerable:!0,configurable:!0,writable:!0,value:Dt}):Ft[It]=Dt,Le=(Ft,It)=>{for(var Dt in It||(It={}))ze.call(It,Dt)&&Ge(Ft,Dt,It[Dt]);if(We)for(var Dt of We(It))Me.call(It,Dt)&&Ge(Ft,Dt,It[Dt]);return Ft};const Ve=Ft=>React.createElement("svg",Le({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Ft),React.createElement("path",{d:"M1364.44 118.705c-14.178-6.695-20.322 6.065-28.593 12.525-2.914 2.048-5.277 4.726-7.64 7.246-20.717 21.268-44.899 35.21-76.643 33.556a152.576 152.576 0 0 0-120.674 45.371c-7.404-41.826-32.06-66.875-69.553-82.865-19.693-8.35-39.543-16.7-53.248-34.737-9.61-12.919-12.288-27.333-17.015-41.512-3.15-8.507-6.144-17.25-16.384-18.668-11.185-1.733-15.517 7.247-19.928 14.73a189.125 189.125 0 0 0-23.552 98.461c1.575 76.88 35.446 138.083 102.636 181.642 7.562 4.963 9.531 9.925 7.09 17.25-4.49 14.967-9.926 29.54-14.81 44.584-2.992 9.61-7.561 11.658-18.274 7.483a309.484 309.484 0 0 1-96.886-63.015c-47.813-44.426-91.057-93.342-144.935-131.702a635.825 635.825 0 0 0-38.36-25.207c-54.982-51.2 7.167-93.262 21.582-98.225 14.966-5.199 5.277-23.158-43.402-22.922-48.68.237-93.184 15.833-149.977 36.628-8.428 3.15-17.092 5.514-25.993 7.326a557.844 557.844 0 0 0-160.768-5.436c-105.157 11.264-189.204 58.92-250.96 140.367-74.2 97.832-91.687 208.975-70.261 325.002 22.449 122.25 87.434 223.468 187.47 302.631 103.582 82 222.917 122.172 359.188 114.452 82.708-4.568 174.79-15.202 278.686-99.485 26.151 12.445 53.642 17.486 99.249 21.267 35.131 3.072 69.002-1.733 95.153-6.931 40.96-8.35 38.203-44.741 23.316-51.437-120.202-53.72-93.814-31.822-117.839-49.624 61.125-69.317 153.206-141.312 189.204-374.706 2.835-18.51.472-30.168 0-45.213-.237-9.137 1.969-12.603 12.918-13.706a240.089 240.089 0 0 0 86.173-25.442c77.982-40.803 109.332-107.914 116.736-188.259 1.103-12.288-.236-24.97-13.705-31.429zM685.45 842.043C569.108 754.215 512.55 725.307 489.157 726.49c-21.82 1.26-17.96 25.206-13.155 40.802 5.042 15.439 11.58 26.073 20.717 39.621 6.301 8.9 10.791 22.213-6.302 32.295-37.494 22.213-102.794-7.561-105.787-8.98-76.012-42.929-139.421-99.564-184.241-176.994a523.894 523.894 0 0 1-72.468-239.93c-1.024-20.56 5.278-27.885 26.703-31.587a272.148 272.148 0 0 1 85.307-2.127c118.942 16.699 220.16 67.741 305.073 148.48 48.443 46.001 85.071 100.982 122.88 154.703 40.173 57.029 83.338 111.458 138.32 155.963 19.376 15.675 34.894 27.569 49.781 36.234-44.74 4.805-119.414 5.829-170.456-32.926zm55.926-344.615c0-5.357 2.757-10.398 7.326-13.47a17.723 17.723 0 0 1 22.134 2.048c3.072 2.915 4.805 7.09 4.805 11.422a16.778 16.778 0 0 1-17.25 16.541 17.33 17.33 0 0 1-12.131-4.883 15.911 15.911 0 0 1-4.884-11.658zm173.529 85.464a104.37 104.37 0 0 1-33.005 8.586 71.444 71.444 0 0 1-44.504-13.548c-15.282-12.288-26.23-19.141-30.72-40.645a89.167 89.167 0 0 1 .787-31.429c3.939-17.487-.393-28.75-13.312-38.912-10.476-8.35-23.71-10.634-38.36-10.634a32.06 32.06 0 0 1-14.179-4.175c-6.144-2.914-11.106-10.24-6.301-19.14a60.18 60.18 0 0 1 10.712-11.265c19.85-10.79 42.693-7.246 63.882.788 19.693 7.798 34.501 21.898 55.926 41.905 21.74 24.183 25.68 30.8 38.125 48.916 9.846 14.179 18.747 28.75 24.89 45.45 3.703 10.397-1.102 18.905-13.941 24.103z",fill:"#4D6BFE"}));var ot="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAy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0YTEwNC4zNyAxMDQuMzcgMCAwIDEtMzMuMDA1IDguNTg2IDcxLjQ0NCA3MS40NDQgMCAwIDEtNDQuNTA0LTEzLjU0OGMtMTUuMjgyLTEyLjI4OC0yNi4yMy0xOS4xNDEtMzAuNzItNDAuNjQ1YTg5LjE2NyA4OS4xNjcgMCAwIDEgLjc4Ny0zMS40MjljMy45MzktMTcuNDg3LS4zOTMtMjguNzUtMTMuMzEyLTM4LjkxMi0xMC40NzYtOC4zNS0yMy43MS0xMC42MzQtMzguMzYtMTAuNjM0YTMyLjA2IDMyLjA2IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",et=Se(59301),je=({disabled:Ft,value:It,onChange:Dt})=>{const[vn,Dn]=(0,be.useState)(!1),xn=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:qe},{name:"DeepSeek",key:"deepseek-r1",img:ot}],pn=xn.find(ft=>ft.key===It);return et.createElement("div",{className:Te.select},et.createElement(Je.Z,{size:10},et.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),et.createElement("div",{className:Te.box,onMouseLeave:()=>Dn(!1)},et.createElement("div",{className:Te.text,onClick:()=>Dn(!0)},et.createElement("img",{src:pn.img,width:20}),et.createElement("span",null,pn.name),et.createElement("b",{className:"iconfont icon-zhankai6"})),vn&&et.createElement("div",{className:Te.itemWrap},et.createElement("aside",null,xn.map(ft=>et.createElement("div",{key:ft.key,className:`${Te.item} ${ft.key===It?Te.active:""}`,onClick:dt=>{dt.stopPropagation(),Dt(ft.key),Dn(!1)}},et.createElement("img",{src:ft.img,width:20}),et.createElement("span",null,ft.name))))))))},Ce={loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",footerContainerSelected:"footerContainerSelected___pGBh3",btnWrp:"btnWrp___mS8l6",inputContainer:"inputContainer___iCQ3u",thinkBtnActive:"thinkBtnActive___Z1xij",full:"full___dZLXo",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",uploadFile:"uploadFile___vZolT",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",file:"file___fxAKb",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2"},De=Se(7660),Fe=Se(88230),nt=({src:Ft,onClick:It,topPercentage:Dt=.62})=>{const vn=(0,be.useRef)(null),Dn=(0,be.useRef)(!1),xn=(0,be.useRef)(!1),[pn,ft]=(0,be.useState)(window.innerHeight*Dt);return(0,be.useEffect)(()=>{var dt;if(vn.current){let gt=function(nn){var Bn;Dn.current=!0,Ht=nn.pageY,Rn=(Bn=vn.current.getBoundingClientRect())==null?void 0:Bn.top,(0,Fe.kk)("none"),document.onselectstart=function(){return!1}},zt=function(){!xn.current&&It&&It(),Dn.current=!1,xn.current=!1,(0,Fe.kk)("auto"),document.onselectstart=null},qt=function(nn){var Bn;if(Dn.current){xn.current=!0;const Ln=Ht-nn.pageY;let $n=Rn-Ln;const Rt=window.innerHeight-(((Bn=vn.current)==null?void 0:Bn.offsetHeight)||0)-50,_t=50;$n<_t&&($n=_t),$n>Rt&&($n=Rt),ft($n),console.log(Ht,nn.pageY)}};Dn.current=!1;let Ht=0,Rn=0;return(dt=vn.current)==null||dt.addEventListener("mousedown",gt),document.addEventListener("mousemove",qt),document.addEventListener("mouseup",zt),()=>{var nn;(nn=vn.current)==null||nn.removeEventListener("mousedown",gt),document.removeEventListener("mousemove",qt),document.removeEventListener("mouseup",zt)}}},[vn,It]),(0,be.useEffect)(()=>{const dt=()=>{ft(window.innerHeight*Dt)};return window.addEventListener("resize",dt),()=>{window.removeEventListener("resize",dt)}},[]),be.createElement("div",{style:{position:"fixed",top:pn,right:20,zIndex:100,cursor:Dn.current?"grabbing":"grab",userSelect:"none"},ref:vn},be.createElement("img",{src:Ft,width:60,style:{pointerEvents:"none"},draggable:"false"}))},$e="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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Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",at=Se(38446),ut=Se(86204),st=Object.defineProperty,vt=(Ft,It,Dt)=>It in Ft?st(Ft,It,{enumerable:!0,configurable:!0,writable:!0,value:Dt}):Ft[It]=Dt,mt=(Ft,It,Dt)=>vt(Ft,typeof It!="symbol"?It+"":It,Dt),pt=(Ft,It,Dt)=>new Promise((vn,Dn)=>{var xn=dt=>{try{ft(Dt.next(dt))}catch(gt){Dn(gt)}},pn=dt=>{try{ft(Dt.throw(dt))}catch(gt){Dn(gt)}},ft=dt=>dt.done?vn(dt.value):Promise.resolve(dt.value).then(xn,pn);ft((Dt=Dt.apply(Ft,It)).next())});class yt extends ut.EventEmitter{constructor(It,Dt){super(),mt(this,"url"),mt(this,"body"),mt(this,"fullContent",""),mt(this,"controller",null),this.url=It,this.body=Dt}startStream(){return pt(this,null,function*(){this.controller=new AbortController;const{signal:It}=this.controller;try{const Dt=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:It});if(!Dt.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Dt.status}`);const vn=Dt.headers.get("content-type");if(!vn||!vn.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Dn=Dt.body.getReader(),xn=new TextDecoder("utf-8");for(;;){const{done:pn,value:ft}=yield Dn.read();if(pn)break;const gt=xn.decode(ft,{stream:!0}).split(`
|
|
|
`);for(const zt of gt)if(zt.startsWith("data:")){const qt=zt.slice(5).trim();if(qt==="[DONE]")break;try{const Ht=JSON.parse(qt);Ht.data&&this.handleData(Ht.data)}catch(Ht){console.error("\u89E3\u6790 JSON \u5931\u8D25:",Ht)}}}this.emit("done",this.fullContent)}catch(Dt){Dt.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Dt.message)}})}handleData(It){It.content&&(this.fullContent+=It.content,this.emit("data",{chunk:It,full:this.fullContent}))}cancelRequest(){var It;(It=this.controller)==null||It.abort()}}var Et=yt,At=Se(58617),kt=Se(32050),$t=Object.defineProperty,rn=Object.defineProperties,Pn=Object.getOwnPropertyDescriptors,In=Object.getOwnPropertySymbols,En=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,Gn=(Ft,It,Dt)=>It in Ft?$t(Ft,It,{enumerable:!0,configurable:!0,writable:!0,value:Dt}):Ft[It]=Dt,On=(Ft,It)=>{for(var Dt in It||(It={}))En.call(It,Dt)&&Gn(Ft,Dt,It[Dt]);if(In)for(var Dt of In(It))gn.call(It,Dt)&&Gn(Ft,Dt,It[Dt]);return Ft},Zn=(Ft,It)=>rn(Ft,Pn(It)),Xn=(Ft,It,Dt)=>new Promise((vn,Dn)=>{var xn=dt=>{try{ft(Dt.next(dt))}catch(gt){Dn(gt)}},pn=dt=>{try{ft(Dt.throw(dt))}catch(gt){Dn(gt)}},ft=dt=>dt.done?vn(dt.value):Promise.resolve(dt.value).then(xn,pn);ft((Dt=Dt.apply(Ft,It)).next())}),wr=({title:Ft="\u5934\u6B4CAI",placeholder:It,hideUpload:Dt,hideInputBox:vn,aiIcon:Dn=$e,userIcon:xn=tt,dragIcon:pn=lt,children:ft,fetchUrl:dt,fetchData:gt={},extraAnswerAction:zt,showDefaultTips:qt=!0,onOpen:Ht,onClose:Rn,loadingOption:nn,showPreference:Bn=!1,initMessage:Ln,initMessageType:$n,customRequest:Rt,visible:_t,width:St=1200,isCheckRestrictNumber:Nt=!1,headNode:Pt,headFunctionNode:xt,showRedraw:jt,showEdit:Qt,promptPropName:Xt="prompt",topPercentage:an,showSwitchingModel:cn=!1})=>{var fn,sn,yn,bn,Tt;const[Jn,kn]=(0,be.useState)(!1),[Wn,on]=(0,be.useState)("qwen-max"),[wt,Ut]=(0,be.useState)([]),[tn,Vt]=(0,be.useState)(!1),[mn,Nn]=(0,be.useState)(!1),[An,Fn]=(0,be.useState)([]),[nr,vr]=(0,be.useState)(""),[gr,Yt]=(0,be.useState)(0),[_r,xr]=(0,be.useState)(!1),[Ar,lr]=(0,be.useState)(null),[mr,dr]=(0,be.useState)(""),rr=(0,be.useRef)(),Mn=(0,be.useRef)(null),Yn=(0,be.useRef)(null),[ur,Kn]=(0,be.useState)(!1),[cr,or]=(0,be.useState)(!1),yr=(0,be.useRef)(!1),Er=(0,be.useRef)(""),[ar,Mr]=(0,be.useState)(0),[Lr,Dr]=(0,be.useState)(!0),Br=(0,be.useRef)(!1),ht=nr==null?void 0:nr.split(`
|
|
|
`).length,Ct=St-48,bt={maxCount:1,showUploadList:!1,withCredentials:!0,accept:".doc,.docx,.md,.txt,.pdf,.jpg,.png",beforeUpload:Lt=>{var un,ln,Wt,jn;const Hn=(jn=(Wt=(ln=(un=Lt==null?void 0:Lt.name)==null?void 0:un.split("."))==null?void 0:ln.slice(-1))==null?void 0:Wt[0])==null?void 0:jn.toLowerCase(),tr=["doc","docx","md","pdf","txt","jpg","png"].includes(Hn);return Lt.size==0?(Be.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),E.default.LIST_IGNORE):tr||(Be.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001jpg\u3001png\u6587\u4EF6"),E.default.LIST_IGNORE)},onChange:({file:Lt})=>{Ut([Lt])},action:`${(fn=at.Z)==null?void 0:fn.API_SERVER}/api/intelligent_imports/upload_file.json`};(0,be.useEffect)(()=>{var Lt;if(ur)return;let un;const ln=()=>{clearTimeout(un),un=setTimeout(()=>{if(rr.current){const{scrollTop:Wt,scrollHeight:jn,clientHeight:Hn}=rr.current,zn=Wt+Hn>jn-70;Dr(zn)}},300)};if(rr.current)return ln(),(Lt=rr.current)==null||Lt.addEventListener("scroll",ln),()=>{var Wt;(Wt=rr.current)==null||Wt.removeEventListener("scroll",ln)}},[rr.current,ur]),(0,be.useEffect)(()=>{if(!An.length)return;const Lt=An[An.length-1];Lt!=null&&Lt.loading&&rr.current.scrollTo({top:rr.current.scrollHeight,behavior:"smooth"})},[An.length]),(0,be.useEffect)(()=>{if(!ur)return;const Lt=rr.current,un=Lt.lastElementChild;if(!un)return;const ln=new ResizeObserver(()=>{const{scrollTop:Wt,scrollHeight:jn,clientHeight:Hn}=Lt,zn=Wt+Hn>jn-70;Dr(zn),zn&&(Lt.scrollTop=Lt.scrollHeight)});return ln.observe(un),()=>{ln.unobserve(un)}},[ur]),(0,be.useEffect)(()=>{typeof _t=="boolean"&&kn(_t)},[_t]),(0,be.useEffect)(()=>{typeof _t=="boolean"&&kn(_t)},[_t]),(0,be.useEffect)(()=>{var Lt;if(Mn.current&&Ar!==null){Mn.current.focus();const un=(Lt=Mn.current.resizableTextArea)==null?void 0:Lt.textArea;un&&(un.selectionStart=un.selectionEnd=un.value.length)}},[Ar]),(0,be.useEffect)(()=>{ht<5&&xr(!1)},[ht]),(0,be.useEffect)(()=>{const Lt=Date.now();Jn&&$n===1&&(Fn([{text:Ln,key:Lt,sender:"user",show:!0},{loading:!0,key:Lt,sender:"AI",show:!0}]),Vt(!0),Gt(Ln)),Jn&&$n===2&&Ln&&(Fn([...An,{text:Ln,key:Lt,sender:"user",show:!0},{loading:!0,key:Lt,sender:"AI",show:!0}]),Vt(!0),Gt(Ln)),Jn&&$n===3&&(Fn([{text:Ln,key:Lt,sender:"user",show:!1},{loading:!0,key:Lt,sender:"AI",show:!0}]),Vt(!0),Gt()),Jn&&$n===4&&(Ln||An.length===0)&&(Fn([...An,{text:Ln,key:Lt,sender:"user",show:!!An.length},{loading:!0,key:Lt,sender:"AI",show:!0}]),Vt(!0),Gt(Ln)),Jn&&Nt&&Zt(),Jn||Ot()},[Jn]);const Ot=()=>{var Lt,un;dr(""),lr(null),Ut([]),vr(""),(un=(Lt=Yn.current)==null?void 0:Lt.cancelRequest)==null||un.call(Lt)},Bt=()=>{if(Ht){Ht();return}kn(!0)},Mt=()=>{if(Rn){Rn();return}kn(!1)},Jt=()=>{xr(!_r)},Zt=()=>Xn(void 0,null,function*(){const Lt=yield(0,De.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(Lt==null?void 0:Lt.status)===0&&Yt(Lt==null?void 0:Lt.number)}),Kt=()=>{me.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:be.createElement("div",null,be.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),be.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},en=Lt=>Lt.reduce((ln,Wt)=>{var jn,Hn;if(Wt.sender==="user"){const zn=Lt.find(tr=>tr.key===Wt.key&&tr.sender==="AI");zn&&!((Hn=(jn=zn==null?void 0:zn.response)==null?void 0:jn.data)!=null&&Hn.message)&&ln.push({question:Wt.text,answer:zn.text})}return ln},[]),Gt=(...Lt)=>Xn(void 0,[...Lt],function*(un="",ln={},Wt=An){if(Rt&&(yield Rt({mes:un,setChatData:Fn,fileList:wt,body:ln,checkNum:Zt,setLoading:Vt,bodyChatData:Wt,setTyping:Kn})),!Rt){yr.current=cr,Er.current=Wn;const jn=wt==null?void 0:wt.map(Vn=>{var pr;return(pr=Vn==null?void 0:Vn.response)==null?void 0:pr.file_id}),Hn=ln.history||en(An),zn=On(On({response_mode:"streaming",model:Wn,thinking_enabled:cr,file_id:(jn==null?void 0:jn[0])||"",[Xt]:un,history:Hn},gt),ln),tr=Object.fromEntries(Object.entries(zn).filter(([Vn,pr])=>pr!==void 0));Yn.current=new Et(at.Z.API_SERVER+dt,tr),yield new Promise((Vn,pr)=>{let jr=null,Or=null;Yn.current.on("data",Ir=>{Kn(!0);const{chunk:{content:fr,type:hn,created:Un}}=Ir;hn==="thinking"&&(jr=jr||Un,Fn(hr=>[...hr].map((Pr,Nr)=>Nr===hr.length-1?Zn(On({},Pr),{reasoning:(Pr.reasoning||"")+fr,loading:!1,hideAnswer:!0}):Pr))),hn==="text"&&(Or=Or||Un,Fn(hr=>[...hr].map((Pr,Nr)=>Nr===hr.length-1?Zn(On({},Pr),{text:(Pr.text||"")+fr,loading:!1,startTime:jr,endTime:Or}):Pr)))}),Yn.current.on("done",()=>{Vn()}),Yn.current.on("error",()=>{const Ir="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!",fr={status:0,data:{message:Ir}};Fn(hn=>[...hn].map((Un,hr)=>hr===hn.length-1?Zn(On({},Un),{text:Ir,loading:!1,response:fr}):Un)),Vn()}),Yn.current.on("cancelled",()=>{Vn()}),Yn.current.startStream()})}Nt&&Zt(),Vt(!1)}),Cn=Lt=>{vr(Lt.target.value)},dn=(Lt,un)=>{var ln,Wt,jn,Hn;const zn=Date.now();if(Ot(),Vt(!0),Lt==="edit"){const tr=An.splice(un),{fileList:Vn}=(tr==null?void 0:tr[0])||{},pr=((Wt=(ln=Vn==null?void 0:Vn[0])==null?void 0:ln.response)==null?void 0:Wt.file_id)||"",jr={history:en(An),file_id:pr};Fn([...An,{text:mr,key:zn,sender:"user",fileList:Vn,show:!0},{loading:!0,key:zn,sender:"AI",show:!0}]),Gt(mr,jr,An)}if(Lt==="redraw"){const tr=An.splice(un-1),{text:Vn,fileList:pr}=(tr==null?void 0:tr[0])||{},jr=((Hn=(jn=pr==null?void 0:pr[0])==null?void 0:jn.response)==null?void 0:Hn.file_id)||"",Or={history:en(An),file_id:jr};Fn([...An,{text:Vn,key:zn,sender:"user",fileList:pr,show:!0},{loading:!0,key:zn,sender:"AI",show:!0}]),Gt(Vn,Or,An)}},Tn=()=>{if(nr.trim()!==""){Ot();const Lt=Date.now();Fn([...An,{text:nr,key:Lt,sender:"user",fileList:wt,show:!0},{loading:!0,key:Lt,sender:"AI",show:!0}]),Vt(!0),Gt(nr)}},wn=Lt=>{if(Lt.shiftKey){if(Lt.key==="Enter")return}else if(Lt.key==="Enter"){if(Lt.preventDefault(),Cr||Br.current)return;Tn()}},qn=(Lt,un)=>{var ln,Wt,jn;const Hn=(ln=Lt==null?void 0:Lt.fileList)==null?void 0:ln[0],zn=un===Ar;return be.createElement("div",{className:Ce.li,style:{width:Ct}},be.createElement("div",{className:Ce.avatarIcon},be.createElement("img",{className:Ce.img,src:xn})),be.createElement("div",{className:Ce.content},Hn&&be.createElement("div",{className:Ce.file},be.createElement("img",{src:Se(90034)(`./${((jn=(Wt=Hn==null?void 0:Hn.name)==null?void 0:Wt.split("."))==null?void 0:jn.pop())||"txt"}.png`),width:20,className:"mr10"}),be.createElement("div",{className:"c-black"},be.createElement("div",null,(0,Fe.tP)(Hn==null?void 0:Hn.name,20)),be.createElement("div",null,(0,Fe.RD)(Hn==null?void 0:Hn.size)))),be.createElement("div",{className:Ce.borderBox},zn?be.createElement(de.default.TextArea,{value:mr,ref:Mn,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:tr=>dr(tr.target.value)}):be.createElement("div",{className:Ce.text},Lt==null?void 0:Lt.text)),zn?be.createElement("div",{className:Ce.action},be.createElement(le.ZP,{onClick:()=>{dr(""),lr(null)},size:"small"},"\u53D6\u6D88"),be.createElement(le.ZP,{disabled:!mr.trim(),onClick:()=>dn("edit",un),type:"primary",size:"small"},"\u786E\u8BA4")):be.createElement("div",{className:Ce.action},be.createElement(y.CopyToClipboard,{text:(Lt==null?void 0:Lt.text)||"",onCopy:()=>Be.ZP.success("\u590D\u5236\u6210\u529F")},be.createElement(ae.Z,{title:"\u590D\u5236"},be.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),Qt&&!tn&&be.createElement(ae.Z,{title:"\u7F16\u8F91"},be.createElement("i",{onClick:()=>{lr(un),dr((Lt==null?void 0:Lt.text)||"")},className:"iconfont icon-bianji10 font14"})))))},ir=(Lt,un)=>be.createElement("div",{className:Ce.li,style:{width:Ct}},be.createElement("div",{className:Ce.avatarIcon},be.createElement("img",{className:Ce.img,src:Dn})),be.createElement("div",{className:Ce.content},be.createElement("div",{className:Ce.borderBox},Lt.loading&&!yr.current&&be.createElement("div",null,be.createElement("div",{className:Ce.loading},be.createElement("div",{className:Ce.dot}),be.createElement("div",{className:Ce.dot}),be.createElement("div",{className:Ce.dot})),be.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(nn==null?void 0:nn.text)||"\u8BF7\u8010\u5FC3\u7B49\u5F85\uFF0C\u76EE\u524D\u9AD8\u5CF0\u671F\u4F53\u9A8C\u4EBA\u6570\u8FC7\u591A\uFF0C\u6211\u4EEC\u5DF2\u8BB0\u5F55\u4E0B\u60A8\u7684\u9700\u6C42\uFF0C\u7A0D\u540E\u5C06\u81EA\u52A8\u4E3A\u60A8\u751F\u6210\u7B54\u6848\u3002")),yr.current&&be.createElement(Ne,{time:Lt==null?void 0:Lt.time,cancelIndex:ar,loading:Lt.loading,streamingStatus:!(Lt!=null&&Lt.text),onFinish:()=>{Fn(ln=>[...ln].map((Wt,jn)=>jn===ln.length-1?Zn(On({},Wt),{hideAnswer:!1,time:Wt.startTime?Wt.endTime-Wt.startTime:null}):Wt))},value:Lt==null?void 0:Lt.reasoning}),!!(Lt!=null&&Lt.text)&&!Lt.hideAnswer&&be.createElement(_e,{cancelIndex:ar,interval:Er.current==="deepseek-r1"?70:20,streamingStatus:tn,onFinish:()=>{Kn(!1)},value:Lt==null?void 0:Lt.text})),be.createElement("div",{className:Ce.action},zt==null?void 0:zt(Lt),be.createElement(y.CopyToClipboard,{text:String((Lt==null?void 0:Lt.text)||""),onCopy:()=>Be.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},be.createElement(ae.Z,{title:"\u590D\u5236"},be.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),Bn&&be.createElement(be.Fragment,null,be.createElement(ae.Z,{title:"\u559C\u6B22"},be.createElement("i",{style:Lt!=null&&Lt.like?{color:"#FA8D30"}:{},onClick:()=>Sr("like",!(Lt!=null&&Lt.like),un),className:"iconfot icon-yijiejue font15"})),be.createElement(ae.Z,{title:"\u4E0D\u559C\u6B22"},be.createElement("i",{style:Lt!=null&&Lt.boring?{color:"#e86d7c"}:{},onClick:()=>Sr("boring",!(Lt!=null&&Lt.boring),un),className:"iconfot icon-weijiejuezhengchang font15"}))),jt&&!tn&&be.createElement(ae.Z,{title:"\u91CD\u65B0\u751F\u6210"},be.createElement("i",{onClick:()=>dn("redraw",un),className:"iconfot icon-gengxin-genghuan-tihuan"}))))),Sr=(Lt,un,ln)=>{Fn(Wt=>(Wt[ln][Lt]=un,un&&(Wt[ln][Lt==="like"?"boring":"like"]=!1),[...Wt]))},br=()=>{var Lt,un;Mr(ln=>ln+1),(un=(Lt=Yn.current)==null?void 0:Lt.cancelRequest)==null||un.call(Lt),Vt(!1),Kn(!1)},er=gr>9,sr=Dt||wt.length>0,Cr=!!(wt!=null&&wt.length)&&((sn=wt==null?void 0:wt[0])==null?void 0:sn.status)!=="done"||tn||ur;return console.log(wt,"fileList"),be.createElement("div",null,ft?be.createElement("div",{onClick:Bt},ft):be.createElement(nt,{src:pn,onClick:Bt,topPercentage:an}),be.createElement(ie.Z,{open:Jn,width:St,extra:cn&&be.createElement(je,{disabled:Cr,value:Wn,onChange:Lt=>{or(!1),on(Lt)}}),title:be.createElement("span",{className:"c-grey-333 font16"},Ft),onClose:Mt,bodyStyle:{paddingRight:4}},be.createElement("div",{className:oe()(Ce.wrap,Jn&&"body-overflow-hidden")},be.createElement("div",{ref:rr,className:Ce.chatContainer},qt&&be.createElement("div",{className:`${Ce.li} mb20`,style:{width:Ct}},be.createElement("div",{className:Ce.avatarIcon},be.createElement("img",{className:Ce.img,src:Dn})),be.createElement("div",{className:Ce.content},be.createElement("div",{className:Ce.borderBox},Pt,xt==null?void 0:xt({isDisabledNum:er,checkNumModal:Kt,checkNum:Zt,onClose:Mt,setChatData:Fn,setLoading:Vt,getData:Gt,clearStatus:Ot,typing:ur})))),An==null?void 0:An.map((Lt,un)=>be.createElement(be.Fragment,{key:Lt.key+un},Lt.show&&be.createElement(be.Fragment,null,Lt.sender==="user"&&qn(Lt,un),Lt.sender==="AI"&&ir(Lt,un)))),!Lr&&be.createElement("div",{className:Ce.backBottom,onClick:()=>{rr.current.scrollTo({top:rr.current.scrollHeight,behavior:"smooth"})}},be.createElement("i",{className:"iconfont icon-huidaodibu"}))),!vn&&be.createElement("div",{className:oe()(Ce.footerContainer,_r&&Ce.full,(cr||!!wt.length)&&Ce.footerContainerSelected)},(Wn==="deepseek-r1"||!!wt.length)&&be.createElement("div",{className:Ce.btnWrp},!!wt.length&&be.createElement("div",{className:Ce.uploadFile},((yn=wt==null?void 0:wt[0])==null?void 0:yn.status)==="uploading"&&be.createElement(se.Z,{indicator:be.createElement(At.Z,{spin:!0}),className:"mr10",size:"small",spinning:!0}),be.createElement("span",{title:(bn=wt==null?void 0:wt[0])==null?void 0:bn.name,className:"mr10"},(0,Fe.tP)((Tt=wt==null?void 0:wt[0])==null?void 0:Tt.name,40)),be.createElement("i",{onClick:()=>Ut([]),className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font14"})),Wn==="deepseek-r1"&&be.createElement("div",{onClick:()=>or(!cr),className:oe()(Ce.thinkBtn,cr&&Ce.thinkBtnActive)},be.createElement("i",{className:"iconfont icon-shendusikao mr10"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09")),be.createElement(ae.Z,{title:er&&be.createElement("div",null,be.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),be.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))},be.createElement("div",{className:oe()(Ce.inputContainer,ht>4&&Ce.lineFour,!!wt.length&&"pb40",er&&Ce.disabledInput)},be.createElement(E.default,Zn(On({},bt),{className:`${sr&&"hide"}`}),be.createElement(le.ZP,{className:Ce.uploadBtn,icon:be.createElement(kt.Z,{style:{fontSize:18,color:"#FFF"}})})),be.createElement(de.default.TextArea,{rows:ht>4?4:ht,placeholder:It||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:nr,bordered:!1,style:sr?{paddingLeft:0,marginLeft:0}:{},onChange:Cn,onPressEnter:wn,onCompositionStart:()=>{Br.current=!0},onCompositionEnd:()=>{Br.current=!1}}),ur?be.createElement("div",{className:`iconfont icon-tingzhihuida ${Ce.cancelBtn}`,onClick:br}):be.createElement(le.ZP,{className:(nr==null?void 0:nr.trim())===""?Ce.sendBtnDisabled:Ce.sendBtn,icon:be.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:Cr,onClick:Tn}),ht>4&&be.createElement("span",{className:Ce.fullIcon,onClick:Jt},_r&&be.createElement("span",{className:"iconfont icon-shousuo"}),!_r&&be.createElement("span",{className:"iconfont icon-zhankai"}))))))))}},71400:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return we},U:function(){return ye}});var be=Se(59301),Be=Se(31797),E=Se(43418),me=Se(1710),de=Se(20736),le=Se(30897),ae=Se(61186),ie=Se.n(ae),se={exitFullScreenModalWrapper:"exitFullScreenModalWrapper___aNB9Q",exitFullScreenModal:"exitFullScreenModal___HIMyY",warningIcon:"warningIcon___xEURa",warningText:"warningText___W6NPJ",countdownWrapper:"countdownWrapper___n8g1M",forcedModalWrapper:"forcedModalWrapper___JPMQ2",forcedModalContent:"forcedModalContent___uY5FV",forcedText:"forcedText___C3CrF",screenNumText:"screenNumText___oljHN"},ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gtsqiU3tiaJxFYNMzufZk6ngEZyLSuLARuggXgLcME90FN2aHST34fTQjDeQqplOfqibsp4/QOqjztXcMczVHPWLvQS4g0IgclH0eDm7HvsBmca/pBvI5/OUVZRRXQ9l1bupqHq9c+NvOuiqXlqAlwA3DBBEe655J71lX2F3T0Q64yjLQFkVuHREqttRXfkYVa2nO3fcrmGs7qhe5CXAHeTyR7eSpmHJvQxWH0dqLJSPgXQjpFuIgTe4ISLT42ia8XKXe+vNRzWahnHwLwHuYID7ERWkWUk540k7yNZDZi6kp0OqHIa2RFT1OSa+/H2u7kP/MYxzflQv8hLgDga4X5Ghi6epYAJpIAtk5kB6JpRlIWqPqBp0THrlP7v6D/37UY2mYRz8S4A7KOBmZNjzdAK4lACXhuwCKJ8KzgOuetAx5cJ/drkPvAS4g5zPlwB3MMA9NSPDQ08/TbkxXAYyx0L55MSHi7ZF5Jxj8nn/4qrf9/Fh3ORH9SIvAe5ggLv17Czttz9FJvIMl4XssZCelAAu3x5Rg2Py+f/qqt/7saMaTcM4+JcAdzDA/ejUSrhHgBsf+3CVVZBZ5AEnkyqGwzH1wg+7ynd/dBjn/Khe5CXAHQxwd51ayYZ7nqLCAy5bA9mFkJ4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YnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",re=Se(88230),ne=Se(24459),te=Se(3404),a=Se(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,fe=(Ae,_e,xe)=>_e in Ae?y(Ae,_e,{enumerable:!0,configurable:!0,writable:!0,value:xe}):Ae[_e]=xe,ge=(Ae,_e)=>{for(var xe in _e||(_e={}))z.call(_e,xe)&&fe(Ae,xe,_e[xe]);if(ee)for(var xe of ee(_e))ue.call(_e,xe)&&fe(Ae,xe,_e[xe]);return Ae},he=(Ae,_e)=>x(Ae,b(_e)),pe=(Ae,_e,xe)=>new Promise((Ee,Oe)=>{var Ie=Je=>{try{Te(xe.next(Je))}catch(Qe){Oe(Qe)}},Ne=Je=>{try{Te(xe.throw(Je))}catch(Qe){Oe(Qe)}},Te=Je=>Je.done?Ee(Je.value):Promise.resolve(Je.value).then(Ie,Ne);Te((xe=xe.apply(Ae,_e)).next())});const ye=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ve}=Be.default,Pe=({exercise:Ae,socket:_e,dispatch:xe,onStartScreenshot:Ee,onCloseScreenshot:Oe,handleToDetail:Ie})=>{const[Ne,Te]=E.default.useModal(),Je=(0,be.useRef)(),[Qe,Ze]=(0,be.useState)(!0),Ke=(0,be.useRef)(!1),Ue=(0,ne.useParams)();(0,be.useEffect)(()=>{var De,Fe,Ye;if(document.addEventListener((0,de.gH)(),je,!1),window.addEventListener("blur",et,!1),(De=Ae.exerciseUserInfo)!=null&&De.screen_open&&(0,de.vp)()&&Ze(!1),(Fe=Ae.exerciseUserInfo)!=null&&Fe.screen_open&&!(0,de.vp)()){(0,re.RG)(" ",!0);const nt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Ae.exerciseUserInfo.screen_sec+3:Ae.exerciseUserInfo.screen_sec+10+1;Je.current=E.default.info({icon:null,centered:!0,width:444,title:(0,te._V)(te.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,te._V)(te.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},Ae.exerciseUserInfo.screen_num-Ae.exerciseUserInfo.used_screen_num),(0,te._V)(te.CP.recordScreen3)),okText:a.createElement("span",null,(0,te._V)(te.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(ve,{onFinish:()=>pe(void 0,null,function*(){var $e;const tt=yield Xe();($e=Je.current)==null||$e.destroy(),tt.used_screen_num&&Le(tt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+nt*1e3})),"S\uFF09"),onOk:()=>{var $e;(0,re.RG)(" ",!0),($e=Je.current)==null||$e.destroy(),Ze(!1),(0,de.Dj)(document.body),document.getElementById("root").addEventListener("click",Re,!1)}})}return(Ye=Ae.exerciseUserInfo)!=null&&Ye.screen_open&&!(0,de.vp)()||document.getElementById("root").addEventListener("click",Re,!1),()=>{document.getElementById("root").removeEventListener("click",Re,!1),document.removeEventListener((0,de.gH)(),je,!1),window.removeEventListener("blur",et,!1)}},[]),(0,be.useEffect)(()=>{setTimeout(()=>{Ae.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Re,!1),document.removeEventListener((0,de.gH)(),je,!1))},500),He()},[Ae.actionTabs]),(0,be.useEffect)(()=>{setTimeout(()=>{Ae.exerciseUserInfo.used_screen_num>Ae.exerciseUserInfo.screen_num&&Ve()},500)},[Ae.exerciseUserInfo]);const ke=()=>pe(void 0,null,function*(){const De=yield Xe();setTimeout(()=>{var Fe,Ye;(Fe=Je.current)==null||Fe.destroy(),Je.current=E.default.info({okText:a.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:a.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",a.createElement("span",{className:"c-red"},De.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(Ye=Ae.exerciseUserInfo)==null?void 0:Ye.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>pe(void 0,null,function*(){(0,de.Dj)(document.body)})})},1e3)}),Re=De=>{!(0,de.vp)()&&De.target.nodeName!=="A"&&De.target.nodeName!=="BUTTON"&&De.target.innerHTML!=="\u786E \u5B9A"&&(0,de.Dj)(document.body)},He=()=>pe(void 0,null,function*(){const De=yield xe({type:"exercise/getExerciseUserInfo",payload:ge({},Ue)});return De==null?void 0:De.data}),qe=De=>pe(void 0,null,function*(){var Fe;if((Fe=Ae.exerciseUserInfo)!=null&&Fe.screen_at){const nt=yield(0,le.ck)(he(ge({},Ue),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Ye=yield(0,le.oy)({id:Ue.categoryId});if(Ye!=null&&Ye.is_commit){E.default.destroyAll(),yield rt(),ot(!0);return}else Le(De+1)}),rt=()=>pe(void 0,null,function*(){var De;const Fe=ie()(),Ye=Ae.exerciseUserInfo.screen_sec;if(Me.current.length>0){const nt=Fe.format("YYYY-MM-DD HH:mm:ss");let $e=Math.floor(Fe.diff(ie()(Me.current[0].start))/1e3);const tt=Me.current.length;$e/Ye>>0>tt&&($e=(tt+1)*Ye-1),yield(0,le.P8)(Ue.categoryId,{exercise_user_id:(De=Ae.exerciseUserInfo)==null?void 0:De.exercise_user_id,time:nt,time_long:$e,count:tt})}Me.current=[]}),We=(0,be.useRef)(0),ze=(0,be.useRef)(0),Me=(0,be.useRef)([]),Ge=(0,be.useRef)(!1),Le=De=>pe(void 0,null,function*(){var Fe;Ke.current||(Ee(),E.default.destroyAll(),We.current=ie()().valueOf(),Ge.current=!0,Je.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:se.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,te._V)(te.CP.recordScreen8)),content:a.createElement("div",{className:se.exitFullScreenModal},a.createElement("img",{src:ce,alt:"",className:se.warningIcon}),a.createElement("div",{className:se.warningText,style:{marginBottom:50,fontWeight:500}},(0,te._V)(te.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,te._V)(te.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,te._V)(te.CP.recordScreen11),a.createElement("span",{className:se.warningText},((Fe=Ae.exerciseUserInfo)==null?void 0:Fe.screen_num)+1),(0,te._V)(te.CP.recordScreen12),a.createElement("span",{className:se.warningText,style:{fontWeight:600}},(0,te._V)(te.CP.recordScreen13)),",",(0,te._V)(te.CP.recordScreen14),a.createElement("span",{className:se.warningText},De-1),(0,te._V)(te.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(ve,{className:se.countdownWrapper,onFinish:()=>{ze.current=ie()().valueOf(),Me.current.push({start:We.current,end:ze.current}),qe(De)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Ae.exerciseUserInfo.screen_sec+1)*1e3}),(0,te._V)(te.CP.recordScreen25)),(0,te._V)(te.CP.recordScreen16))),onOk:()=>{(0,re.RG)(" ",!0),rt(),(0,de.Dj)(document.body),Oe(),Je.current.destroy(),Ge.current=!1}}))}),Ve=()=>pe(void 0,null,function*(){E.default.destroyAll(),(yield(0,le.VL)({categoryId:Ue.categoryId,commit_method:1}))&&ot()}),ot=(De=!1)=>pe(void 0,null,function*(){var Fe,Ye;if(document.removeEventListener((0,de.gH)(),je,!1),(0,de.BU)(),E.default.destroyAll(),Ke.current=!0,De){const nt=yield(0,le.Yu)(Ue.categoryId,{exercise_user_id:(Fe=Ae.exerciseUserInfo)==null?void 0:Fe.exercise_user_id});Ne.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:se.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:se.forcedModalContent},a.createElement("img",{src:oe,alt:""}),a.createElement("div",{className:se.forcedText},(0,te._V)(te.CP.recordScreen17)),a.createElement("div",{className:se.screenNumText},(0,te._V)(te.CP.recordScreen18),(Ye=Ae.exerciseUserInfo)==null?void 0:Ye.screen_num,(0,te._V)(te.CP.recordScreen19)),a.createElement(me.default,{dataSource:nt==null?void 0:nt.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,te._V)(te.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,te._V)(te.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,te._V)(te.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{Oe(),Ie()},onOk:()=>{ne.history.push(`/classrooms/${Ue.coursesId}/exercisenotice/${Ue.categoryId}/users/${Ue.login}?isShowApply=true`)}})}else Ne.info({content:a.createElement("div",{className:"tc font16"},(0,te._V)(te.CP.recordScreen23),a.createElement("br",null),(0,te._V)(te.CP.recordScreen24)),onOk:()=>{Ie()}})}),et=De=>{(0,de.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Ge.current&&(0,de.BU)()},Xe=()=>pe(void 0,null,function*(){var De;if((De=Ae.exerciseUserInfo)!=null&&De.screen_at){const nt=yield(0,le.ck)(he(ge({},Ue),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Fe=yield(0,le.oy)({id:Ue.categoryId});if(Fe!=null&&Fe.is_commit){ot();return}return yield He()}),je=()=>pe(void 0,null,function*(){var De;if((0,re.RG)(" ",!0),(0,de.vp)()){if((De=Ae.exerciseUserInfo)!=null&&De.screen_at){var Fe=yield(0,le.ck)(he(ge({},Ue),{reset:!0}));if((Fe==null?void 0:Fe.status)===-6)return}}else if(!Ge.current){var Fe=yield(0,le.ck)(ge({},Ue));if((Fe==null?void 0:Fe.status)===-6)return;const nt=yield He();Le(nt.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Ce=()=>pe(void 0,null,function*(){(0,le.ck)(ge({},Ue));const De=yield He();Le(De.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Te)};var we=(0,ne.connect)(({exercise:Ae,globalSetting:_e})=>({globalSetting:_e,exercise:Ae}))(Pe)},48569:function(ct,it,Se){"use strict";Se.d(it,{X:function(){return me},y:function(){return E}});var be=Se(59301),Be=Se(8591);const E=de=>{(0,be.useEffect)(()=>{if(de){const le=ie=>{ie.key==="F12"&&(ie.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},ae=ie=>{ie.preventDefault()};return document.addEventListener("keydown",le),document.addEventListener("contextmenu",ae),()=>{document.removeEventListener("keydown",le),document.removeEventListener("contextmenu",ae)}}},[de])},me=()=>{const[de,le]=(0,be.useState)(!1),ae=ie=>{const{keyCode:se,ctrlKey:ce,metaKey:oe,type:re}=ie;(re==="paste"||(se===67||se===86)&&(oe||ce))&&(Be.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ie.preventDefault(),ie.stopPropagation())};return(0,be.useEffect)(()=>(de&&(window.addEventListener("keydown",ae,!0),window.addEventListener("paste",ae,!0)),()=>{window.removeEventListener("keydown",ae,!0),window.removeEventListener("paste",ae,!0)}),[de]),{setOpenDisableCopyAndPaste:le,disableCopyAndPaste:de}}},14573:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return oe}});var be=Se(59301),Be={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=Se(92310),me=Se.n(E),de=Se(71418),le=Se(2859),ae=Se(7660),ie=Se(88230),se=(re,ne,te)=>new Promise((a,y)=>{var x=z=>{try{ee(te.next(z))}catch(ue){y(ue)}},b=z=>{try{ee(te.throw(z))}catch(ue){y(ue)}},ee=z=>z.done?a(z.value):Promise.resolve(z.value).then(x,b);ee((te=te.apply(re,ne)).next())}),oe=({data:re,className:ne,fullWidth:te,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:ee})=>{const z=(0,be.useRef)(null),ue=(0,be.useRef)(null),fe=(0,be.useRef)(null),ge=(0,be.useRef)(null),[he,pe]=(0,be.useState)(!1),[ye,ve]=(0,be.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,be.useEffect)(()=>{fe.current||(fe.current=document.createElement("style"),document.head.appendChild(fe.current)),re!=null&&re.visible?(document.body.setAttribute("data-custom","y-hidden"),fe.current.innerHTML=" html { overflow-y: hidden; }",re!=null&&re.src&&Pe()):(document.body.removeAttribute("data-custom"),fe.current&&(document.head.removeChild(fe.current),fe.current=null))},[re==null?void 0:re.visible]);const Pe=()=>se(void 0,null,function*(){pe(!0),ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const xe=yield(0,ie.ZJ)(re==null?void 0:re.src);z.current.src="",z.current.src=xe,z.current.onload=function(){_e()},pe(!1),ve("")}),we=xe=>se(void 0,null,function*(){pe(!0),ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ee=yield(0,ae.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:re.title,file:xe.dataUrl}});Ee!=null&&Ee.id&&!ee?(yield(0,ae.ZP)(`/api/attachments/${re.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ee==null?void 0:Ee.id,settings:JSON.stringify(xe.state)}})).status===0&&x():Ee!=null&&Ee.id&&x(Ee),pe(!1),ve("")}),Ae=()=>{const xe=document.querySelector('a[href="https://markerjs.com/"]');xe&&xe.parentNode&&(xe.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Oe=>{const Ie=document.querySelector(Oe.name);Ie&&Ie.setAttribute("title",Oe.title)})},_e=()=>{ue.current=new le.hP(z.current),ue.current.targetRoot=ge.current,ue.current.addEventListener("render",we),ue.current.addEventListener("beforeclose",y),b&&(ue.current.availableMarkerTypes=ue.current.ALL_MARKER_TYPES,ue.current.uiStyleSettings.redoButtonVisible=!0,ue.current.uiStyleSettings.notesButtonVisible=!0,ue.current.uiStyleSettings.zoomButtonVisible=!0,ue.current.uiStyleSettings.zoomOutButtonVisible=!0,ue.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ue.current.uiStyleSettings,ue.current.show(),re!=null&&re.snapshotData&&ue.current.restoreState(re.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ae()},300)};return be.createElement(be.Fragment,null,(re==null?void 0:re.visible)&&be.createElement(de.Z,{spinning:he,tip:ye,style:{position:"absolute"}},be.createElement("div",{ref:ge,className:me()(Be.imageDimensions,ne,te?Be.fullWidth:""),style:a},be.createElement("img",{className:Be.img,ref:z}))))}},46531:function(ct,it,Se){"use strict";var be=Se(59301),Be=Se(95237),E=Se(43604),me=Se(99313),de=Se(3113),le=Se(99325),ae=Se(11570),ie=Se(48136),se=Se(59301);const ce=(0,be.forwardRef)(({callback:oe,showSaveButton:re,value:ne=""},te)=>{const a=(0,be.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 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:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 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:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 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:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 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:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF 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:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 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 "}]}]}],x=[{name:"\u4EE3\u6570",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
|
|
|
x=a + r\\text{cos}\\theta \\ \r
|
|
|
y=b + r\\text{sin}\\theta \r
|
|
|
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
|
|
|
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
|
|
|
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
|
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
|
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
|
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
|
\\left\\{\\begin{matrix} \r
|
|
|
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
|
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
|
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
|
|
|
\\end{matrix}\\right. \r
|
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
|
|
|
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
|
|
|
\\end{array} `}]}]},{name:"\u51E0\u4F55",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
|
|
|
a \\perp \\alpha \\ \r
|
|
|
b \\perp \\alpha \r
|
|
|
\\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
|
|
|
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
|
|
|
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
|
|
|
a \\parallel \\partial ,b \\parallel \\partial \r
|
|
|
\\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
|
|
|
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
|
|
|
a \\perp m,a \\perp n \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
|
|
|
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
|
|
|
a^{2}+b^{2}=c^{2} \r
|
|
|
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",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
|
|
|
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
|
|
|
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
|
|
|
\\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
|
|
|
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
|
|
|
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
|
|
|
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
|
|
|
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
|
|
|
a,b \\in R^{+} \\ \r
|
|
|
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
|
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
a,b \\in R \\ \r
|
|
|
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
|
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
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
|
|
|
\\end{array}`}]}]},{name:"\u79EF\u5206",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:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C 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:"\u7EDF\u8BA1",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
|
|
|
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
|
|
|
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
|
|
|
\\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
|
|
|
P \\left( \\emptyset \\right) =0 \\\\ \r
|
|
|
P \\left( S \\right) =1 \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
\\forall A \\in S \\\\ \r
|
|
|
P \\left( A \\right) \\ge 0 \r
|
|
|
\\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
|
|
|
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
|
|
|
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
P_{n}=n! \\\\ \r
|
|
|
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
|
|
|
\\end{array}`}]}]}],b=ue=>{a.current.setValue(a.current.getValue()+" "+ue.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:se.createElement(Be.Z,{className:ae.Z.lists,gutter:[10,10]},y.map((ue,fe)=>se.createElement(E.Z,{flex:"110px",className:ae.Z.item},se.createElement("div",null,se.createElement(le.Z,{value:`$$${ue.value}$$`}),ue.name),se.createElement("div",{className:ae.Z.children},ue.children.map((ge,he)=>se.createElement("div",{key:he},se.createElement("h1",null,ge.name),se.createElement(Be.Z,{gutter:[10,10]},ge.data.map((pe,ye)=>se.createElement(E.Z,{key:ye,onClick:()=>b(pe),className:ae.Z.diamond},se.createElement(le.Z,{value:"`$$"+pe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:se.createElement(Be.Z,{className:ae.Z.lists,gutter:[10,10]},x.map((ue,fe)=>se.createElement(E.Z,{flex:"110px",className:ae.Z.item},se.createElement("div",null,se.createElement(le.Z,{value:"`$$"+ue.value+"$$`"}),ue.name),se.createElement("div",{className:ae.Z.children},ue.children.map((ge,he)=>se.createElement("div",{key:he},ge.name&&se.createElement("h1",null,ge.name),se.createElement(Be.Z,{gutter:[10,10]},ge.data.map((pe,ye)=>se.createElement(E.Z,{key:ye,onClick:()=>b(pe),className:ae.Z.diamond},se.createElement(le.Z,{value:"`$$"+pe.value+"$$`"}))))))))))}],z=()=>{var ue=document.createElement("div");ue.innerHTML=a.current.getValue();var fe=ue.innerText;return oe&&oe(fe),fe};return(0,be.useImperativeHandle)(te,()=>({getData:z})),se.createElement("div",{className:ae.Z.mathWrap},se.createElement(me.default,{defaultActiveKey:"1",items:ee}),se.createElement("math-field",{locale:"zh_cn",className:ae.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ne||""),re&&se.createElement("div",{className:ae.Z.button},se.createElement(de.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});it.Z=ce},57816:function(ct,it,Se){"use strict";var be=Se(59301),Be=Se(93314),E=Se(3113),me=Object.defineProperty,de=Object.defineProperties,le=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(te,a,y)=>a in te?me(te,a,{enumerable:!0,configurable:!0,writable:!0,value:y}):te[a]=y,oe=(te,a)=>{for(var y in a||(a={}))ie.call(a,y)&&ce(te,y,a[y]);if(ae)for(var y of ae(a))se.call(a,y)&&ce(te,y,a[y]);return te},re=(te,a)=>de(te,le(a));const ne=({img:te,buttonProps:a={},styles:y={},customText:x,ButtonText:b,ButtonClick:ee,Buttonclass:z,ButtonTwo:ue,imgStyles:fe,loading:ge=!1})=>be.createElement("section",{className:"tc animated fadeIn",style:oe(oe({},{color:"#999",margin:"100px auto",visibility:ge?"hidden":"visible"}),y)},be.createElement("img",{src:te||Be,style:re(oe({},fe),{pointerEvents:"none",userSelect:"none"})}),be.createElement("p",{className:"mt20 font14"},x||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),b&&be.createElement(E.ZP,oe({className:z,onClick:ee},a),b),ue&&ue);it.Z=ne},90853:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return z}});var be=Se(59301),Be={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},E=Se(3113),me=Se(70557),de=Se(57800),le=Se(6848),ae=Se(88230),ie=Se(30897),se=Se(57816),ce=Se(38446),oe=Se(89282),re=Se(59301),ne=Object.defineProperty,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(ue,fe,ge)=>fe in ue?ne(ue,fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ue[fe]=ge,b=(ue,fe)=>{for(var ge in fe||(fe={}))a.call(fe,ge)&&x(ue,ge,fe[ge]);if(te)for(var ge of te(fe))y.call(fe,ge)&&x(ue,ge,fe[ge]);return ue},ee=(ue,fe,ge)=>new Promise((he,pe)=>{var ye=we=>{try{Pe(ge.next(we))}catch(Ae){pe(Ae)}},ve=we=>{try{Pe(ge.throw(we))}catch(Ae){pe(Ae)}},Pe=we=>we.done?he(we.value):Promise.resolve(we.value).then(ye,ve);Pe((ge=ge.apply(ue,fe)).next())}),z=({editOffice:ue="view",data:fe,theme:ge,type:he,filename:pe,monacoEditor:ye,className:ve,style:Pe,close:we,onClose:Ae,hasMask:_e,disabledDownload:xe,onImgDimensions:Ee,showNodata:Oe,recordInfo:Ie})=>{const[Ne,Te]=(0,be.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Je,Qe]=(0,be.useState)(""),[Ze,Ke]=(0,be.useState)(),Ue=window.ENV==="build"?"/react/build":"",ke=location.host.startsWith("localhost")?ce.Z.PROXY_SERVER:ce.Z.API_SERVER,He=10*(1024*1024),qe=(0,be.useRef)();fe!=null&&fe.startsWith("/api")&&he!=="txt"&&(fe=ce.Z.API_SERVER+fe);const rt=Ge=>Ge.substring(Ge.lastIndexOf("/")+1).split(".").pop();pe&&ye&&(ye.filename=pe),(0,be.useEffect)(()=>{var Ge,Le;const Ve=(Le=(Ge=document.cookie)==null?void 0:Ge.replace(/\s/g,""))==null?void 0:Le.split(";");Ve==null||Ve.map(ot=>{let et=ot.split("=");et[0]==="_educoder_session"&&Qe(et[1])})},[]),(0,be.useEffect)(()=>{he==="office"&&(fe.indexOf("bigfilescdn.")>-1||fe.indexOf("bigfiles1")>-1?Ke({url:fe,fileType:rt(fe),model:fe.indexOf("model=edit")?"edit":"view"}):We())},[he,fe]);const We=()=>ee(void 0,null,function*(){console.log("data:",fe);let Ge=fe;fe.startsWith("http")||(Ge=location.origin+Ge);let Le=new URL(Ge).pathname.split("/").pop();const Ve=yield(0,ie.gJ)({attachment_id:Le});Ve.url=ke+Ve.url,Ke(Ve)}),ze=()=>{if(fe.startsWith("http")||fe.startsWith("blob:")){Me();return}(0,ae.Sv)(pe||"educoder",fe,pe)},Me=()=>{Ie&&(0,oe.fc)({id:Ie==null?void 0:Ie.id,watch_type:1,course_id:Ie==null?void 0:Ie.course_id}),(0,ae.Nd)(pe||"educoder",decodeURIComponent(fe))};return re.createElement("div",{style:b({},Pe||{}),className:`${_e&&Be.bgBlack} ${he?Be.wrp:"hide"}`},we&&re.createElement("div",{className:Be.close,ref:qe},!!Ee&&re.createElement(le.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>qe.current},re.createElement("span",{onClick:()=>{Ae(),Ee()}},re.createElement("i",{className:"icon-yulanpizhu"}))),!xe&&re.createElement(le.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>qe.current},re.createElement("span",{onClick:Me},re.createElement("i",{className:"icon-quxiaozhiding"}))),re.createElement(le.Z,{title:"\u5173\u95ED",getPopupContainer:()=>qe.current},re.createElement("span",{className:"",onClick:Ae},re.createElement("i",{className:"icon-guanbi1"})))),re.createElement("div",{className:`${Be[ve]} ${ve} ${Be.monaco} ${he==="txt"?"show":"hide"}`},he==="txt"&&re.createElement(re.Fragment,null,re.createElement(de.ZP,b({},ye)))),he==="audio"&&re.createElement("audio",{src:`${(fe==null?void 0:fe.indexOf("http://"))>-1||(fe==null?void 0:fe.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${fe}`,autoPlay:!0}),he==="video"&&re.createElement(re.Fragment,null,(fe==null?void 0:fe.indexOf("http"))>-1?re.createElement("video",{controls:!0,src:`${fe}`,autoPlay:!0}):re.createElement("video",{controls:!0,src:`data:video/mp4;base64,${fe}`,autoPlay:!0})),he==="office"&&Ze&&re.createElement("iframe",{src:`${Ue}/office.html?key=${Ze.key}&url=${btoa(Ze.url)}&callbackUrl=${ke+(Ze.callbackUrl||"")}&fileType=${Ze.fileType}&title=${Ze.title||""}&model=${ue}&officeServer=${ce.Z.ONLYOFFICE}&disabledDownload=${!!xe}`}),he==="html"&&re.createElement("iframe",{src:fe+"&disposition=inline"}),he==="pdf"&&re.createElement("iframe",{src:`${Ue}/js/pdfview/index.html?filename=${pe||"educoder.pdf"}&url=${encodeURIComponent(fe)}&disabledDownload=${!!xe}`}),he==="image"&&re.createElement("img",{src:`${(fe==null?void 0:fe.indexOf("http://"))>-1||(fe==null?void 0:fe.indexOf("https://"))>-1?"":"data:image/png;base64,"}${fe}`}),(he==="other"||he==="download")&&re.createElement(re.Fragment,null,Oe?re.createElement(se.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:re.createElement(E.ZP,{icon:re.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ze,disabled:xe},"\u4E0B\u8F7D")}):re.createElement(E.ZP,{type:"primary",size:"middle",onClick:ze,disabled:xe},re.createElement(me.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},99325:function(ct,it,Se){"use strict";Se.d(it,{z:function(){return he},Z:function(){return pe}});var be=Se(59301),Be=Se(2878),E=Se(85187),me=Se(64018),de=Se(40846),le=Se(38446),ae=Se(88230),ie=Se(15342),se=Se(1012),ce=Se(90853),oe=Se(59301),ne=({html:ye})=>{const ve=(0,be.useRef)(null),Pe=(0,be.useRef)(null),we=`.markdown-body p {
|
|
|
margin: 0 0 16px 0 !important;
|
|
|
line-height: 28px;
|
|
|
white-space: pre-wrap;
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
li {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
dl {
|
|
|
margin-bottom: 0px;
|
|
|
}
|
|
|
|
|
|
.markdown-body {
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
color: #333;
|
|
|
overflow: hidden;
|
|
|
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
|
|
|
word-break: break-word;
|
|
|
font-size: 16px;
|
|
|
line-height: 1.6;
|
|
|
white-space: normal;
|
|
|
word-wrap: break-word;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul>li {
|
|
|
list-style-type: disc;
|
|
|
}
|
|
|
|
|
|
.markdown-body ol>li {
|
|
|
list-style-type: decimal;
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
background: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:active,
|
|
|
.markdown-body a:hover {
|
|
|
outline: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body strong {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 2em;
|
|
|
margin: 0.67em 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
-moz-box-sizing: content-box;
|
|
|
box-sizing: content-box;
|
|
|
height: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
overflow: auto;
|
|
|
}
|
|
|
|
|
|
.markdown-body code,
|
|
|
.markdown-body kbd,
|
|
|
.markdown-body pre {
|
|
|
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
color: inherit;
|
|
|
font: inherit;
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body html input[disabled] {
|
|
|
cursor: default;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
line-height: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body input[type="checkbox"] {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
border-collapse: collapse;
|
|
|
border-spacing: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body td,
|
|
|
.markdown-body th {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body * {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
color: #4183c4;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:hover,
|
|
|
.markdown-body a:active {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
height: 0;
|
|
|
margin: 15px 0;
|
|
|
overflow: hidden;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:before {
|
|
|
display: table;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:after {
|
|
|
display: table;
|
|
|
clear: both;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
margin-top: 15px;
|
|
|
margin-bottom: 15px;
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
font-size: 21px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 11px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding: 0;
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
ul.linenums,
|
|
|
ol.linenums {
|
|
|
padding: 16px 0 0 36px !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding-left: 2em;
|
|
|
}
|
|
|
|
|
|
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ul ol {
|
|
|
list-style-type: lower-roman;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul ol,
|
|
|
.markdown-body ul ol ol,
|
|
|
.markdown-body ol ul ol,
|
|
|
.markdown-body ol ol ol {
|
|
|
list-style-type: lower-alpha;
|
|
|
}
|
|
|
|
|
|
.markdown-body dd {
|
|
|
margin-left: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon {
|
|
|
font: normal normal 16px octicons-anchor;
|
|
|
line-height: 1;
|
|
|
display: inline-block;
|
|
|
text-decoration: none;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
user-select: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon-link:before {
|
|
|
content: '\f05c';
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:first-child {
|
|
|
margin-top: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:last-child {
|
|
|
margin-bottom: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
display: block;
|
|
|
padding-right: 6px;
|
|
|
padding-left: 30px;
|
|
|
margin-left: -30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
position: relative;
|
|
|
margin-top: 1em;
|
|
|
margin-bottom: 16px;
|
|
|
font-weight: bold;
|
|
|
line-height: 1.4;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .octicon-link,
|
|
|
.markdown-body h2 .octicon-link,
|
|
|
.markdown-body h3 .octicon-link,
|
|
|
.markdown-body h4 .octicon-link,
|
|
|
.markdown-body h5 .octicon-link,
|
|
|
.markdown-body h6 .octicon-link {
|
|
|
display: none;
|
|
|
color: #000;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor,
|
|
|
.markdown-body h2:hover .anchor,
|
|
|
.markdown-body h3:hover .anchor,
|
|
|
.markdown-body h4:hover .anchor,
|
|
|
.markdown-body h5:hover .anchor,
|
|
|
.markdown-body h6:hover .anchor {
|
|
|
padding-left: 8px;
|
|
|
margin-left: -30px;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor .octicon-link,
|
|
|
.markdown-body h2:hover .anchor .octicon-link,
|
|
|
.markdown-body h3:hover .anchor .octicon-link,
|
|
|
.markdown-body h4:hover .anchor .octicon-link,
|
|
|
.markdown-body h5:hover .anchor .octicon-link,
|
|
|
.markdown-body h6:hover .anchor .octicon-link {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 2.25em;
|
|
|
line-height: 1.2;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 1.75em;
|
|
|
line-height: 1.225;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 1.5em;
|
|
|
line-height: 1.43;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 1.25em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 1em;
|
|
|
color: #777;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul,
|
|
|
.markdown-body ul ol,
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ol ul {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body li>p {
|
|
|
margin-top: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dt {
|
|
|
padding: 0;
|
|
|
margin-top: 16px;
|
|
|
font-size: 1em;
|
|
|
font-style: italic;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dd {
|
|
|
padding: 0 16px;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
padding: 0 15px;
|
|
|
color: #777;
|
|
|
border-left: 4px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :first-child {
|
|
|
margin-top: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :last-child {
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
overflow: auto;
|
|
|
word-break: normal;
|
|
|
word-break: keep-all;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th {
|
|
|
font-weight: bold;
|
|
|
text-align: revert;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th,
|
|
|
.markdown-body table td {
|
|
|
padding: 6px 13px;
|
|
|
border: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr {
|
|
|
background-color: #fff;
|
|
|
border-top: 1px solid #ccc;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr:nth-child(2n) {
|
|
|
background-color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
max-width: 100%;
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
padding: 0;
|
|
|
padding-top: 0.2em;
|
|
|
padding-bottom: 0.2em;
|
|
|
margin: 0;
|
|
|
font-size: 85%;
|
|
|
background-color: rgba(0, 0, 0, 0.04);
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:has(.katex) {
|
|
|
background-color: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:before,
|
|
|
.markdown-body code:after {
|
|
|
letter-spacing: -0.2em;
|
|
|
content: "\\00a0";
|
|
|
}
|
|
|
|
|
|
.markdown-body pre>code {
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
font-size: 100%;
|
|
|
word-break: normal;
|
|
|
white-space: pre;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight {
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre,
|
|
|
.markdown-body pre {
|
|
|
padding: 16px;
|
|
|
overflow: auto;
|
|
|
font-size: 85%;
|
|
|
line-height: 1.45;
|
|
|
background-color: #f7f7f7;
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre {
|
|
|
margin-bottom: 0;
|
|
|
word-break: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
word-wrap: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code {
|
|
|
display: inline;
|
|
|
max-width: initial;
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
overflow: initial;
|
|
|
line-height: inherit;
|
|
|
word-wrap: normal;
|
|
|
background-color: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code:before,
|
|
|
.markdown-body pre code:after {
|
|
|
content: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font-size: 11px;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c {
|
|
|
color: #969896;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c1,
|
|
|
.markdown-body .pl-mdh,
|
|
|
.markdown-body .pl-mm,
|
|
|
.markdown-body .pl-mp,
|
|
|
.markdown-body .pl-mr,
|
|
|
.markdown-body .pl-s1 .pl-v,
|
|
|
.markdown-body .pl-s3,
|
|
|
.markdown-body .pl-sc,
|
|
|
.markdown-body .pl-sv {
|
|
|
color: #0086b3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-e,
|
|
|
.markdown-body .pl-en {
|
|
|
color: #795da3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-s1 .pl-s2,
|
|
|
.markdown-body .pl-smi,
|
|
|
.markdown-body .pl-smp,
|
|
|
.markdown-body .pl-stj,
|
|
|
.markdown-body .pl-vo,
|
|
|
.markdown-body .pl-vpf {
|
|
|
color: #333;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ent {
|
|
|
color: #63a35c;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-k,
|
|
|
.markdown-body .pl-s,
|
|
|
.markdown-body .pl-st {
|
|
|
color: #a71d5d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-pds,
|
|
|
.markdown-body .pl-s1,
|
|
|
.markdown-body .pl-s1 .pl-pse .pl-s2,
|
|
|
.markdown-body .pl-sr,
|
|
|
.markdown-body .pl-sr .pl-cce,
|
|
|
.markdown-body .pl-sr .pl-sra,
|
|
|
.markdown-body .pl-sr .pl-sre,
|
|
|
.markdown-body .pl-src {
|
|
|
color: #df5000;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mo,
|
|
|
.markdown-body .pl-v {
|
|
|
color: #1d3e81;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-id {
|
|
|
color: #b52a1d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ii {
|
|
|
background-color: #b52a1d;
|
|
|
color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-sr .pl-cce {
|
|
|
color: #63a35c;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ml {
|
|
|
color: #693a17;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mh,
|
|
|
.markdown-body .pl-mh .pl-en,
|
|
|
.markdown-body .pl-ms {
|
|
|
color: #1d3e81;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mq {
|
|
|
color: #008080;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mi {
|
|
|
color: #333;
|
|
|
font-style: italic;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mb {
|
|
|
color: #333;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-md,
|
|
|
.markdown-body .pl-mdhf {
|
|
|
background-color: #ffecec;
|
|
|
color: #bd2c00;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdht,
|
|
|
.markdown-body .pl-mi1 {
|
|
|
background-color: #eaffea;
|
|
|
color: #55a532;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdr {
|
|
|
color: #795da3;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item {
|
|
|
list-style-type: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item+.task-list-item {
|
|
|
margin-top: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item input {
|
|
|
float: left;
|
|
|
margin: 0.3em 0 0.25em -1.6em;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body :checked+.radio-label {
|
|
|
z-index: 1;
|
|
|
position: relative;
|
|
|
border-color: #4183c4;
|
|
|
}
|
|
|
|
|
|
|
|
|
/*! Pretty printing styles. Used with prettify.js. */
|
|
|
/* SPAN elements with the classes below are added by prettyprint. */
|
|
|
.pln {
|
|
|
color: #000
|
|
|
}
|
|
|
|
|
|
/* plain text */
|
|
|
|
|
|
@media screen {
|
|
|
.str {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* string content */
|
|
|
.kwd {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a keyword */
|
|
|
.com {
|
|
|
color: #800
|
|
|
}
|
|
|
|
|
|
/* a comment */
|
|
|
.typ {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a type name */
|
|
|
.lit {
|
|
|
color: #066
|
|
|
}
|
|
|
|
|
|
/* a literal value */
|
|
|
/* punctuation, lisp open bracket, lisp close bracket */
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #660
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a markup tag name */
|
|
|
.atn {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a markup attribute name */
|
|
|
.atv {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* a markup attribute value */
|
|
|
.dec,
|
|
|
.var {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a declaration; a variable name */
|
|
|
.fun {
|
|
|
color: red
|
|
|
}
|
|
|
|
|
|
/* a function name */
|
|
|
}
|
|
|
|
|
|
/* Use higher contrast and text-weight for printable form. */
|
|
|
@media print,
|
|
|
projection {
|
|
|
.str {
|
|
|
color: #060
|
|
|
}
|
|
|
|
|
|
.kwd {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.com {
|
|
|
color: #600;
|
|
|
font-style: italic
|
|
|
}
|
|
|
|
|
|
.typ {
|
|
|
color: #404;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.lit {
|
|
|
color: #044
|
|
|
}
|
|
|
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #440
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.atn {
|
|
|
color: #404
|
|
|
}
|
|
|
|
|
|
.atv {
|
|
|
color: #060
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/* Put a border around prettyprinted code snippets. */
|
|
|
pre.prettyprint {
|
|
|
padding: 2px;
|
|
|
/* border: 1px solid #888 */
|
|
|
}
|
|
|
|
|
|
/* Specify class=linenums on a pre to get line numbering */
|
|
|
ol.linenums {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0
|
|
|
}
|
|
|
|
|
|
/* IE indents via margin-left */
|
|
|
li.L0,
|
|
|
li.L1,
|
|
|
li.L2,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L6,
|
|
|
li.L7,
|
|
|
li.L8 {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
/* Alternate shading for lines */
|
|
|
li.L1,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L7,
|
|
|
li.L9 {
|
|
|
background: #eee
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}`;return(0,be.useEffect)(()=>{const Ae=ve.current.attachShadow({mode:"open"});Pe.current=document.createElement("div"),Pe.current.className="markdown-body",Pe.current.innerHTML=ye,Ae.appendChild(Pe.current);const _e=document.createElement("style");return _e.textContent=we,Ae.appendChild(_e),()=>{Ae.innerHTML=""}},[]),(0,be.useEffect)(()=>{Pe.current&&(Pe.current.innerHTML=ye)},[ye]),oe.createElement("div",{ref:ve})},te=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ye,ve,Pe)=>ve in ye?te(ye,ve,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ye[ve]=Pe,ee=(ye,ve)=>{for(var Pe in ve||(ve={}))y.call(ve,Pe)&&b(ye,Pe,ve[Pe]);if(a)for(var Pe of a(ve))x.call(ve,Pe)&&b(ye,Pe,ve[Pe]);return ye};const z="@\u2581\u2581@",ue="@\u2581@",fe=/<pre[^>]*>/g;function ge(ye){let ve=document.createElement("div");return ve.innerHTML=ye,ve.childNodes.length===0?"":ve.childNodes[0].nodeValue}const he=(ye,ve)=>{ye=ye||"";const Pe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,we=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ae=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,_e=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ve?ye.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Pe,(xe,Ee,Oe,Ie,Ne,Te,Je)=>{const Qe=Ee||Ie||Te,Ze=Oe||Ne||Je||"?";return le.Z.API_SERVER+"/api/attachments/"+Qe+Ze+"&t="+(0,ae.Jn)(Qe,Date.now())+(xe.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ye=ye.replace(_e,(xe,Ee,Oe,Ie,Ne,Te,Je)=>{const Qe=Ee||Ie||Te,Ze=Oe||Ne||Je||"?";return le.Z.API_SERVER+"/attachments/download/"+Qe+Ze+"&t="+(0,ae.Jn)(Qe,Date.now())+(xe.indexOf(")")>-1?")":"&")}).replace(Pe,(xe,Ee,Oe,Ie,Ne,Te,Je)=>{const Qe=Ee||Ie||Te,Ze=Oe||Ne||Je||"?";return le.Z.API_SERVER+"/api/attachments/"+Qe+Ze+"&t="+(0,ae.Jn)(Qe,Date.now())+(xe.indexOf(")")>-1?")":"&")}).replace(we,(xe,Ee,Oe,Ie,Ne)=>{const Te=Ee||Ie,Je=Oe||Ne||"";return'"'+le.Z.API_SERVER+"/api/attachments/"+Te+Je+Te+Je+"&t="+(0,ae.Jn)(Te,Date.now())}).replace(Ae,(xe,Ee,Oe,Ie,Ne)=>{const Te=Ee||Ie,Je=Oe||Ne||"";return"("+le.Z.API_SERVER+"/files/uploads/"+Te+Je+Te+Je+"&t="+(0,ae.Jn)(Te,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,`
|
|
|
`),ye)};var pe=({value:ye="",className:ve,showTextOnly:Pe,showLines:we,style:Ae={},stylesPrev:_e={},highlightKeywords:xe,showProgramFill:Ee,isProgramFill:Oe,disabledFill:Ie=!1,programFillValue:Ne,onFillChange:Te=Ze=>{},onFillBlur:Je=()=>{},onFillFocus:Qe=()=>{}})=>{let Ze=String(ye);const[Ke,Ue]=(0,be.useState)(""),[ke,Re]=(0,be.useState)("office"),[He,qe]=(0,be.useState)([]),rt=(0,be.useRef)("a"+(0,se.Z)()),We={},ze=(Ye,nt,$e)=>{const tt=document.createElement(Ye===ue?"input":"textarea");tt.style.width="100%",tt.style.height=Ye===ue?"40px":"151px",tt.rows=5,tt.spellcheck=!1,tt.name="edu-program-fill",tt.placeholder="\u8BF7\u8F93\u5165",tt.dataset.id=nt;const lt=Object.keys(We).length;return We[lt]=tt,`<span class="edu-program-fill-wrap ${Ye===ue?"":"show"}" style="width:${Ye===ue?"400px":"100%"}" title=${$e||""}><span>${tt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Me(Ye){return Ye=Ye.replace(/!\[.*?\]\(.*?\)/g,""),Ye=Ye.replace(/\[.*?\]\(.*?\)/g,""),Ye=Ye.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Ye=Ye.replace(/<embed.*?>/g,""),Ye=Ye.replace(/<img.*?>/g,""),Ye=Ye.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Ye=Ye.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Ye=Ye.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Ye=Ye.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Ye}const Ge=Ye=>Ye.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(nt,$e){let tt=$e.replace(/(\n|\r)/g,"").split("}"),lt=[];return tt.map(at=>{at!=""&<.push(`.${rt.current} ${at}`)}),`<style>${lt.join("}")}</style>`}),Le=(0,be.useMemo)(()=>{try{const tt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,lt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,at=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,ut=/\(\/attachments\/download\//g;Ze=Ze.replace(ut,"("+le.Z.API_SERVER+"/attachments/download/").replace(tt,"("+le.Z.API_SERVER+"/api/attachments/").replace(lt,'"'+le.Z.API_SERVER+"/api/attachments/").replace(at,'"'+le.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,`
|
|
|
`)}catch(tt){}if(Ee){let tt=-1;return Ze=Ze.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(lt,at,ut){var st;return++tt,ze(lt,tt,(st=Ne==null?void 0:Ne[tt])==null?void 0:st.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Ge(Ze||"")}</pre>`}let Ye=Ge(Ze);Ye=(0,E.ZP)(Ye);const nt=(0,E.ez)();Ze.match(/\[TOC\]/)&&(Ye=Ye.replace("<p>[TOC]</p>",(0,E.Qv)()),(0,E.Iy)()),Ye=Ye.replace(/(__special_katext_id_\d+__)/g,(tt,lt)=>{const{type:at,expression:ut}=nt[lt];return(0,ie.renderToString)(ge(ut)||"",{displayMode:at==="block",throwOnError:!1,output:"html"})}),Ye=Ye.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,E.AL)();const $e=document.createElement("div");if($e.innerHTML=Ye,Pe)return $e.innerText;if(xe){const tt=xe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Xe($e,tt),$e.innerHTML}return setTimeout(()=>De(),500),$e.innerHTML},[Ze,xe]);(0,be.useEffect)(()=>{je.current&&je.current.querySelectorAll(["input","textarea"]).forEach(nt=>{nt.oninput=Ve,nt.onblur=ot,nt.onfocus=et})},[He]),(0,be.useEffect)(()=>{var Ye,nt,$e,tt,lt;if(Ne!=null&&Ne.length)try{const at=je.current.querySelectorAll(".edu-program-fill-score"),ut=je.current.querySelectorAll('[name="edu-program-fill"]');for(const[st,vt]of ut.entries())vt.value=((Ye=Ne==null?void 0:Ne[st])==null?void 0:Ye.value)||"",((nt=Ne==null?void 0:Ne[st])==null?void 0:nt.type)==="warning"?vt.className="program-fill-warning":(($e=Ne==null?void 0:Ne[st])==null?void 0:$e.type)==="success"?vt.className="program-fill-success":vt.className="";for(const[st,vt]of at.entries())vt.innerHTML=(tt=Ne==null?void 0:Ne[st])!=null&&tt.score?`${(lt=Ne==null?void 0:Ne[st])==null?void 0:lt.score}\u5206`:"";qe(Ne)}catch(at){console.log(at,"error")}},[Ne]);const Ve=Ye=>{He[Ye.target.dataset.id]=He[Ye.target.dataset.id]||{},He[Ye.target.dataset.id].value=Ye.target.value,qe([...He]),Te(He,Ye.target.dataset.id)},ot=Ye=>{He[Ye.target.dataset.id]=He[Ye.target.dataset.id]||{},He[Ye.target.dataset.id].value=Ye.target.value,qe([...He]),Je(He,Ye.target.dataset.id)},et=Ye=>{He[Ye.target.dataset.id]=He[Ye.target.dataset.id]||{},He[Ye.target.dataset.id].value=Ye.target.value,qe([...He]),Qe(He,Ye.target.dataset.id)};function Xe(Ye,nt){return Ye.childNodes.forEach($e=>{var tt;if($e.childNodes.length>0)Xe($e,nt);else if($e.nodeName!=="IMG")if($e.innerHTML)$e.innerHTML=(tt=$e.innerHTML)==null?void 0:tt.replace(new RegExp(nt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const lt=document.createElement("span");lt.innerHTML=$e.textContent.replace(new RegExp(nt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),$e.replaceWith(lt)}})}const je=(0,be.useRef)();E.jb.WebkitLineClamp=we,we&&(Ae=ee(ee({},Ae),E.jb));function Ce(Ye){let nt=Ye.target;if(nt.tagName.toUpperCase()==="A"){let $e=nt.getAttribute("href");if($e.indexOf("office")>-1)Ye.preventDefault(),Ue($e),Re("office");else if($e.indexOf("application/pdf")>-1)Ye.preventDefault(),Ue($e),Re("pdf");else if($e.indexOf("text/html")>-1)Ye.preventDefault(),Ue($e),Re("html");else if($e.startsWith("#")){Ye.preventDefault();let tt=document.getElementById($e.replace("#",""));tt&&tt.scrollIntoView(!0)}}}const De=()=>{var Ye;const nt=(Ye=je.current)==null?void 0:Ye.querySelectorAll("video");nt==null||nt.forEach($e=>{if($e.oncontextmenu=()=>!1,$e.src.indexOf(".m3u8")>-1&&!$e.canPlayType("application/vnd.apple.mpegurl")){if(de.ZP.isSupported()){var tt=new de.ZP;tt.loadSource($e.src),tt.attachMedia($e)}}})};(0,be.useEffect)(()=>{if(je.current&&Le&&Le.match(fe)&&window.PR.prettyPrint(),je.current)return je.current.addEventListener("click",Ce),()=>{var Ye;(Ye=je.current)==null||Ye.removeEventListener("click",Ce),(0,E.AL)(),(0,E.Iy)()}},[Le,je.current,Ce]),(0,be.useEffect)(()=>{var Ye;const nt=$e=>{$e.preventDefault(),$e.clipboardData.setData("text",window.getSelection().toString())};return(Ye=je.current)==null||Ye.addEventListener("copy",nt),()=>{var $e;($e=je.current)==null||$e.removeEventListener("copy",nt)}},[je.current]);const Fe=Ye=>/<style[\s\S]*?>/i.test(Ye||"");return be.createElement(be.Fragment,null,Pe&&be.createElement("div",{ref:je},Le),!Pe&&!Fe(Le)&&be.createElement("div",{ref:je,style:ee({},Ae),className:`${ve||""} ${Ie?"disabled-fill":""} markdown-body ${rt.current}`,dangerouslySetInnerHTML:{__html:Le}}),!Pe&&Fe(Le)&&be.createElement(ne,{html:Le}),be.createElement(ce.Z,{close:!0,data:Ke,type:Ke!=null&&Ke.length?ke:"",style:ee({},_e),onClose:()=>Ue("")}))}},7651:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return me}});var be=Se(24459),Be={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=Se(59301),me=({message:de,className:le,children:ae,style:ie={}})=>E.createElement("div",{className:`custom-spinner ${Be.idsRingWrapper} ${le}`},E.createElement("div",{className:Be.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),de?E.createElement("p",{style:ie},de):null,ae,E.createElement(be.Outlet,null))},31582:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return me}});var be=Se(59301),Be=Se(50484),E=Se(59301),me=({defaultX:de="40%",leftChild:le,rightChild:ae,className:ie,hideResize:se=!1})=>{const[ce,oe]=(0,be.useState)(de),re=(0,be.useRef)();function ne(){re.current=!0}(0,be.useEffect)(()=>{function y(b){re.current&&(Be.Z.publish("resize-move-bar",b),oe(b.pageX))}function x(){re.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",x),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",x)}},[]);const te=typeof ce=="number"&&ce!==.01?`${ce}px`:de,a=`calc(100% - ${se?"0px":"4px"} - ${te})`;return E.createElement("div",{className:`split-panel-container ${ie}`},E.createElement("section",{style:{width:te,display:ce===.01?"none":""}},le),E.createElement("section",{className:"resize-x-bar",onMouseDown:ne},E.createElement("a",{className:"btn-resize"},E.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},E.createElement("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"})))),E.createElement("section",{style:{width:a}},ae))}},75618:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return le}});var be=Se(59301),Be={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},E=Se(92310),me=Se.n(E),le=({className:ae,style:ie={},leftNode:se,leftTitle:ce="\u81EA\u6D4B\u8F93\u5165",rightNode:oe,rightTitle:re="\u8FD0\u884C\u7ED3\u679C"})=>be.createElement("div",{className:me()(Be.result,ae),style:ie},be.createElement("div",{className:Be.left},be.createElement("div",{className:Be.title},be.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),be.createElement("span",null,ce)),be.createElement("div",{className:Be.leftNode},se)),be.createElement("div",{className:Be.right},be.createElement("div",{className:Be.title},be.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),be.createElement("span",null,re)),be.createElement("div",{className:Be.rightNode},oe)))},46942:function(ct,it,Se){"use strict";var be=Se(59301);const Be=me=>String(me).length===1?`0${me}`:me,E=({className:me="",onChange:de,defaultValue:le=0})=>{const[ae,ie]=(0,be.useState)(le);(0,be.useEffect)(()=>{const re=setTimeout(()=>{ie(ae+1e3)},1e3);return de(ae+1e3),()=>{clearInterval(re)}},[ae]);const se=parseInt(ae/(60*6e4))||"00",ce=parseInt(ae%(60*6e4)/6e4)||"00",oe=parseInt(ae%6e4/1e3)||"00";return be.createElement("div",{className:me},Be(se),":",Be(ce),":",Be(oe))};it.Z=E},49894:function(ct,it,Se){"use strict";Se.d(it,{cT:function(){return ye},pe:function(){return ge}});var be=Se(59301),Be=Se(54580),E=Se(8591),me=Se(7660),de=Se(28209),le=Se.n(de),ae=Se(1012),ie=Se(24459),se=Se(47257),ce=Se.n(se),oe=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(Pe,we,Ae)=>we in Pe?oe(Pe,we,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Pe[we]=Ae,b=(Pe,we)=>{for(var Ae in we||(we={}))a.call(we,Ae)&&x(Pe,Ae,we[Ae]);if(te)for(var Ae of te(we))y.call(we,Ae)&&x(Pe,Ae,we[Ae]);return Pe},ee=(Pe,we)=>re(Pe,ne(we)),z=(Pe,we)=>{var Ae={};for(var _e in Pe)a.call(Pe,_e)&&we.indexOf(_e)<0&&(Ae[_e]=Pe[_e]);if(Pe!=null&&te)for(var _e of te(Pe))we.indexOf(_e)<0&&y.call(Pe,_e)&&(Ae[_e]=Pe[_e]);return Ae},ue=(Pe,we,Ae)=>new Promise((_e,xe)=>{var Ee=Ne=>{try{Ie(Ae.next(Ne))}catch(Te){xe(Te)}},Oe=Ne=>{try{Ie(Ae.throw(Ne))}catch(Te){xe(Te)}},Ie=Ne=>Ne.done?_e(Ne.value):Promise.resolve(Ne.value).then(Ee,Oe);Ie((Ae=Ae.apply(Pe,we)).next())});const{Dragger:fe}=Be.default,ge=Pe=>{const we="bf3c199c2470cb477d907b1e0917c17b",Ae="5183666c72eec9e4";var _e=le().enc.Utf8.parse(we);let xe=le().enc.Utf8.parse(Ae);var Ee=le().AES.decrypt(Pe,_e,{iv:xe,mode:le().mode.CBC});return Ee.toString(le().enc.Utf8)};let he;const pe=Pe=>ue(void 0,[Pe],function*({identifier:we,oldFilename:Ae,newFilename:_e}){var xe,Ee,Oe,Ie,Ne,Te;const Je=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});Je.data=JSON.parse(ge(Je.data));const Qe=new OSS({endpoint:(xe=Je==null?void 0:Je.data)==null?void 0:xe.end_point,region:(Ee=Je==null?void 0:Je.data)==null?void 0:Ee.region,accessKeyId:(Oe=Je==null?void 0:Je.data)==null?void 0:Oe.access_key_id,accessKeySecret:(Ie=Je==null?void 0:Je.data)==null?void 0:Ie.access_key_secret,bucket:(Ne=Je==null?void 0:Je.data)==null?void 0:Ne.bucket,stsToken:(Te=Je==null?void 0:Je.data)==null?void 0:Te.security_token});return new Promise((Ze,Ke)=>{console.log(11111,`${we}/${Ae}`,`${we}/${_e}`,Je.data),Qe.copy(`/${we}/${Ae}`,`/${we}/${_e}`).then(Ue=>{console.log("\u62F7\u8D1D\u6210\u529F",Ue)}).catch(Ue=>{console.log(Ue)})})}),ye=(Pe,we,Ae)=>ue(void 0,null,function*(){var _e,xe,Ee,Oe,Ie,Ne;we.file_name=Pe.name;const Te=yield(0,me.ZP)("/api/buckets/get_upload_token.json",{method:"get"});console.log("decrypt(res.data):",ge(Te.data)),Te.data=JSON.parse(ge(Te.data));const Je=Pe.name.split(".");Je.pop();const Qe=we.realFileName?Je.join(""):(0,ae.Z)(),Ze=new(ce())({endpoint:(_e=Te==null?void 0:Te.data)==null?void 0:_e.end_point,region:(xe=Te==null?void 0:Te.data)==null?void 0:xe.region,accessKeyId:(Ee=Te==null?void 0:Te.data)==null?void 0:Ee.access_key_id,accessKeySecret:(Oe=Te==null?void 0:Te.data)==null?void 0:Oe.access_key_secret,bucket:(Ie=Te==null?void 0:Te.data)==null?void 0:Ie.bucket,stsToken:(Ne=Te==null?void 0:Te.data)==null?void 0:Ne.security_token});return new Promise((Ke,Ue)=>{var ke;Ze.multipartUpload(`${Qe}`,new Blob([Pe],{type:Pe.type}),ee(b({timeout:200*1e3,partSize:102400},Ae),{callback:{url:(ke=Te==null?void 0:Te.data)==null?void 0:ke.callback_url,host:Te==null?void 0:Te.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,me.rz)(we)}})).then(function(Re){var He;Pe.response=(He=Re.data)==null?void 0:He.data,Ke(Re==null?void 0:Re.data)}).catch(function(Re){Ue(Re),console.log("err:",Re)})})}),ve=Pe=>{var we=Pe,{user:Ae,cancelUpload:_e}=we,xe=z(we,["user","cancelUpload"]);const[Ee,Oe]=(0,be.useState)([]);let[Ie,Ne]=(0,be.useState)();const Te={onRemove:Qe=>{Oe([...Ee.filter(Ze=>Ze.name!==Qe.name)]),xe.onChange(Ee.filter(Ze=>Ze.name!==Qe.name))},disabled:xe.disabled,multiple:!0,fileList:Ee==null?void 0:Ee.map(Qe=>Qe.file),customRequest:()=>{},beforeUpload:Qe=>ue(void 0,null,function*(){let Ze=xe.maxSize||1073741824;if(Ee.filter(Ke=>Ke.name===Qe.name).length){E.ZP.info(`${Qe.name}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`);return}return(Qe==null?void 0:Qe.size)>Ze?(E.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${Ze/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(Ee.push({name:Qe.name,file:Qe}),Oe([...Ee]),xe.onChange(Ee),!1)})},Je=(Qe,Ze)=>ue(void 0,null,function*(){var Ke,Ue,ke,Re,He,qe;Ze.file_name=Qe.name;const rt=Qe.name,We=yield(0,me.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(We.data=JSON.parse(ge(We.data)),(We==null?void 0:We.status)!==0){Ee[Ee.findIndex(Ge=>Ge.name===rt)].status="error",Ee[Ee.findIndex(Ge=>Ge.name===rt)].file.status="error",xe.onChange(Ee),E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}Ie=new(ce())({endpoint:(Ke=We==null?void 0:We.data)==null?void 0:Ke.end_point,region:(Ue=We==null?void 0:We.data)==null?void 0:Ue.region,accessKeyId:(ke=We==null?void 0:We.data)==null?void 0:ke.access_key_id,accessKeySecret:(Re=We==null?void 0:We.data)==null?void 0:Re.access_key_secret,bucket:(He=We==null?void 0:We.data)==null?void 0:He.bucket,stsToken:(qe=We==null?void 0:We.data)==null?void 0:qe.security_token}),console.log(Qe,"file"),Ne(Ie);const ze=Qe.name.split(".");ze.pop();const Me=rt.indexOf(".")>-1?Ze.realFileName?ze.join("."):(0,ae.Z)():rt;return new Promise((Ge,Le)=>{var Ve;try{Ie.multipartUpload(`${xe.identifier}/${Me}${rt.indexOf(".")>-1?"."+rt.split(".").pop():""}`,new Blob([Qe.file],{type:Qe.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(ot,et,Xe)=>{try{console.log("\u8FDB\u5EA6",ot,et,Xe);const je=Ee.findIndex(Ce=>Ce.name===rt);Ee[je].file.percent=ot*100,Ee[je].tempCheckpoint=et,Oe([...Ee])}catch(je){}},checkpoint:Ee[Ee.findIndex(ot=>ot.name===rt)].tempCheckpoint,callback:{customValue:{id:rt+""},url:(Ve=We==null?void 0:We.data)==null?void 0:Ve.callback_url,host:We==null?void 0:We.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,me.rz)(Ze)}}).then(function(ot){var et,Xe,je;const Ce=Ee.findIndex(Fe=>Fe.name===rt);let De="done";if(((et=ot.data)==null?void 0:et.status)===0){Qe.response=(Xe=ot.data)==null?void 0:Xe.data;const Fe=Ee.findIndex(Ye=>Ye.name===rt);Ee[Fe].status="done",Ee[Fe].file.status="done"}else E.ZP.warning((je=ot.data)==null?void 0:je.message),De="error";Ee[Ce].status=De,Ee[Ce].file.status=De,xe.onChange(Ee),Ge(ot==null?void 0:ot.data)}).catch(function(ot){Ee[Ee.findIndex(et=>et.name===rt)].status="error",Ee[Ee.findIndex(et=>et.name===rt)].file.status="error",E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),Oe([...Ee]),xe.onChange(Ee),Le(ot),console.log("err:",ot)})}catch(ot){}})});return(0,be.useEffect)(()=>{Ee.every(Qe=>Qe==="done"||Qe==="error")&&xe.onComplete(Ee)},[Ee]),(0,be.useEffect)(()=>{_e&&(Ie==null||Ie.cancel())},[_e]),(0,be.useEffect)(()=>{xe.uploading&&Ee.map(Qe=>ue(void 0,null,function*(){var Ze;if((!Qe.status||Qe.status==="error")&&!_e){Qe.status="uploading",Qe.file.status="uploading";const Ke=yield Je(Qe,{login:(Ze=Ae==null?void 0:Ae.userInfo)==null?void 0:Ze.login,container_type:xe.container_type,container_id:xe.container_id,description:xe.description,realFileName:xe.realFileName})}}))},[xe.uploading]),be.createElement(fe,ee(b({},Te),{height:xe.height,className:xe.className}),be.createElement("p",{className:"ant-upload-hint"},xe.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};it.ZP=(0,ie.connect)(({loading:Pe,globalSetting:we,user:Ae})=>({globalSetting:we,loading:Pe.models.competitions,user:Ae}))(ve)},85469:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return Rt}});var be=Se(59301),Be=Se(50484),E=Se(15277),me=Se(92310),de=Se.n(me),le=Se(92413),ae=Se(33708),ie=Se(400),se=Se(33606),ce=Se(39559),oe=Se(37061),re=Se(55468),ne=Se(18929),te=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],a=be.createContext(null),y=0;function x(_t,St){var Nt=be.useState(function(){return y+=1,String(y)}),Pt=(0,se.Z)(Nt,1),xt=Pt[0],jt=be.useContext(a),Qt={data:St,canPreview:_t};return be.useEffect(function(){if(jt)return jt.register(xt,Qt)},[]),be.useEffect(function(){jt&&jt.register(xt,Qt)},[_t,St]),xt}function b(_t){return new Promise(function(St){var Nt=document.createElement("img");Nt.onerror=function(){return St(!1)},Nt.onload=function(){return St(!0)},Nt.src=_t})}function ee(_t){var St=_t.src,Nt=_t.isCustomPlaceholder,Pt=_t.fallback,xt=(0,be.useState)(Nt?"loading":"normal"),jt=(0,se.Z)(xt,2),Qt=jt[0],Xt=jt[1],an=(0,be.useRef)(!1),cn=Qt==="error";(0,be.useEffect)(function(){b(St).then(function(bn){bn||Xt("error")})},[St]),(0,be.useEffect)(function(){Nt&&!an.current?Xt("loading"):cn&&Xt("normal")},[St]);var fn=function(){Xt("normal")},sn=function(Tt){an.current=!1,Qt==="loading"&&Tt!=null&&Tt.complete&&(Tt.naturalWidth||Tt.naturalHeight)&&(an.current=!0,fn())},yn=cn&&Pt?{src:Pt}:{onLoad:fn,src:St};return[sn,yn,Qt]}var z=Se(86923),ue=Se(8224),fe=Se(10228),ge=Se(48736);function he(_t,St,Nt,Pt){var xt=St+Nt,jt=(Nt-Pt)/2;if(Nt>Pt){if(St>0)return(0,ie.Z)({},_t,jt);if(St<0&&xt<Pt)return(0,ie.Z)({},_t,-jt)}else if(St<0||xt>Pt)return(0,ie.Z)({},_t,St<0?jt:-jt);return{}}function pe(_t,St,Nt,Pt){var xt=(0,re.g1)(),jt=xt.width,Qt=xt.height,Xt=null;return _t<=jt&&St<=Qt?Xt={x:0,y:0}:(_t>jt||St>Qt)&&(Xt=(0,ae.Z)((0,ae.Z)({},he("x",Nt,_t,jt)),he("y",Pt,St,Qt))),Xt}var ye=Se(13697),ve=Se(16089),Pe={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function we(_t,St,Nt,Pt){var xt=(0,be.useRef)(null),jt=(0,be.useRef)([]),Qt=(0,be.useState)(Pe),Xt=(0,se.Z)(Qt,2),an=Xt[0],cn=Xt[1],fn=function(Tt){cn(Pe),Pt&&!(0,ye.Z)(Pe,an)&&Pt({transform:Pe,action:Tt})},sn=function(Tt,Jn){xt.current===null&&(jt.current=[],xt.current=(0,ve.Z)(function(){cn(function(kn){var Wn=kn;return jt.current.forEach(function(on){Wn=(0,ae.Z)((0,ae.Z)({},Wn),on)}),xt.current=null,Pt==null||Pt({transform:Wn,action:Jn}),Wn})})),jt.current.push((0,ae.Z)((0,ae.Z)({},an),Tt))},yn=function(Tt,Jn,kn,Wn){var on=_t.current,wt=on.width,Ut=on.height,tn=on.offsetWidth,Vt=on.offsetHeight,mn=on.offsetLeft,Nn=on.offsetTop,An=Tt,Fn=an.scale*Tt;Fn>Nt?(An=Nt/an.scale,Fn=Nt):Fn<St&&(An=St/an.scale,Fn=St);var nr=kn!=null?kn:innerWidth/2,vr=Wn!=null?Wn:innerHeight/2,gr=An-1,Yt=gr*wt*.5,_r=gr*Ut*.5,xr=gr*(nr-an.x-mn),Ar=gr*(vr-an.y-Nn),lr=an.x-(xr-Yt),mr=an.y-(Ar-_r);if(Tt<1&&Fn===1){var dr=tn*Fn,rr=Vt*Fn,Mn=(0,re.g1)(),Yn=Mn.width,ur=Mn.height;dr<=Yn&&rr<=ur&&(lr=0,mr=0)}sn({x:lr,y:mr,scale:Fn},Jn)};return{transform:an,resetTransform:fn,updateTransform:sn,dispatchZoomChange:yn}}var Ae=Se(43403),_e=Se(77900),xe=function(St){var Nt=St.visible,Pt=St.maskTransitionName,xt=St.getContainer,jt=St.prefixCls,Qt=St.rootClassName,Xt=St.icons,an=St.countRender,cn=St.showSwitch,fn=St.showProgress,sn=St.current,yn=St.transform,bn=St.count,Tt=St.scale,Jn=St.minScale,kn=St.maxScale,Wn=St.closeIcon,on=St.onSwitchLeft,wt=St.onSwitchRight,Ut=St.onClose,tn=St.onZoomIn,Vt=St.onZoomOut,mn=St.onRotateRight,Nn=St.onRotateLeft,An=St.onFlipX,Fn=St.onFlipY,nr=St.toolbarRender,vr=(0,be.useContext)(a),gr=Xt.rotateLeft,Yt=Xt.rotateRight,_r=Xt.zoomIn,xr=Xt.zoomOut,Ar=Xt.close,lr=Xt.left,mr=Xt.right,dr=Xt.flipX,rr=Xt.flipY,Mn="".concat(jt,"-operations-operation");be.useEffect(function(){var cr=function(yr){yr.keyCode===fe.Z.ESC&&Ut()};return Nt&&window.addEventListener("keydown",cr),function(){window.removeEventListener("keydown",cr)}},[Nt]);var Yn=[{icon:rr,onClick:Fn,type:"flipY"},{icon:dr,onClick:An,type:"flipX"},{icon:gr,onClick:Nn,type:"rotateLeft"},{icon:Yt,onClick:mn,type:"rotateRight"},{icon:xr,onClick:Vt,type:"zoomOut",disabled:Tt===Jn},{icon:_r,onClick:tn,type:"zoomIn",disabled:Tt===kn}],ur=Yn.map(function(cr){var or,yr=cr.icon,Er=cr.onClick,ar=cr.type,Mr=cr.disabled;return be.createElement("div",{className:de()(Mn,(or={},(0,ie.Z)(or,"".concat(jt,"-operations-operation-").concat(ar),!0),(0,ie.Z)(or,"".concat(jt,"-operations-operation-disabled"),!!Mr),or)),onClick:Er,key:ar},yr)}),Kn=be.createElement("div",{className:"".concat(jt,"-operations")},ur);return be.createElement(_e.default,{visible:Nt,motionName:Pt},function(cr){var or=cr.className,yr=cr.style;return be.createElement(Ae.Z,{open:!0,getContainer:xt!=null?xt:document.body},be.createElement("div",{className:de()("".concat(jt,"-operations-wrapper"),or,Qt),style:yr},Wn===null?null:be.createElement("button",{className:"".concat(jt,"-close"),onClick:Ut},Wn||Ar),cn&&be.createElement(be.Fragment,null,be.createElement("div",{className:de()("".concat(jt,"-switch-left"),(0,ie.Z)({},"".concat(jt,"-switch-left-disabled"),sn===0)),onClick:on},lr),be.createElement("div",{className:de()("".concat(jt,"-switch-right"),(0,ie.Z)({},"".concat(jt,"-switch-right-disabled"),sn===bn-1)),onClick:wt},mr)),be.createElement("div",{className:"".concat(jt,"-footer")},fn&&be.createElement("div",{className:"".concat(jt,"-progress")},an?an(sn+1,bn):"".concat(sn+1," / ").concat(bn)),nr?nr(Kn,(0,ae.Z)({icons:{flipYIcon:ur[0],flipXIcon:ur[1],rotateLeftIcon:ur[2],rotateRightIcon:ur[3],zoomOutIcon:ur[4],zoomInIcon:ur[5]},actions:{onFlipY:Fn,onFlipX:An,onRotateLeft:Nn,onRotateRight:mn,onZoomOut:Vt,onZoomIn:tn},transform:yn},vr?{current:sn,total:bn}:{})):Kn)))})},Ee=xe,Oe=1,Ie=1,Ne=["fallback","src","imgRef"],Te=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],Je=function(St){var Nt=St.fallback,Pt=St.src,xt=St.imgRef,jt=(0,oe.Z)(St,Ne),Qt=ee({src:Pt,fallback:Nt}),Xt=(0,se.Z)(Qt,2),an=Xt[0],cn=Xt[1];return be.createElement("img",(0,le.Z)({ref:function(sn){xt.current=sn,an(sn)}},jt,cn))},Qe=function(St){var Nt=St.prefixCls,Pt=St.src,xt=St.alt,jt=St.fallback,Qt=St.movable,Xt=Qt===void 0?!0:Qt,an=St.onClose,cn=St.visible,fn=St.icons,sn=fn===void 0?{}:fn,yn=St.rootClassName,bn=St.closeIcon,Tt=St.getContainer,Jn=St.current,kn=Jn===void 0?0:Jn,Wn=St.count,on=Wn===void 0?1:Wn,wt=St.countRender,Ut=St.scaleStep,tn=Ut===void 0?.5:Ut,Vt=St.minScale,mn=Vt===void 0?1:Vt,Nn=St.maxScale,An=Nn===void 0?50:Nn,Fn=St.transitionName,nr=Fn===void 0?"zoom":Fn,vr=St.maskTransitionName,gr=vr===void 0?"fade":vr,Yt=St.imageRender,_r=St.imgCommonProps,xr=St.toolbarRender,Ar=St.onTransform,lr=St.onChange,mr=(0,oe.Z)(St,Te),dr=(0,be.useRef)(),rr=(0,be.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),Mn=(0,be.useState)(!1),Yn=(0,se.Z)(Mn,2),ur=Yn[0],Kn=Yn[1],cr=(0,be.useContext)(a),or=cr&&on>1,yr=cr&&on>=1,Er=we(dr,mn,An,Ar),ar=Er.transform,Mr=Er.resetTransform,Lr=Er.updateTransform,Dr=Er.dispatchZoomChange,Br=(0,be.useState)(!0),ht=(0,se.Z)(Br,2),Ct=ht[0],bt=ht[1],Ot=ar.rotate,Bt=ar.scale,Mt=ar.x,Jt=ar.y,Zt=de()((0,ie.Z)({},"".concat(Nt,"-moving"),ur));(0,be.useEffect)(function(){Ct||bt(!0)},[Ct]);var Kt=function(){Mr("close")},en=function(){Dr(Oe+tn,"zoomIn")},Gt=function(){Dr(Oe/(Oe+tn),"zoomOut")},Cn=function(){Lr({rotate:Ot+90},"rotateRight")},dn=function(){Lr({rotate:Ot-90},"rotateLeft")},Tn=function(){Lr({flipX:!ar.flipX},"flipX")},wn=function(){Lr({flipY:!ar.flipY},"flipY")},qn=function(Wt){Wt==null||Wt.preventDefault(),Wt==null||Wt.stopPropagation(),kn>0&&(bt(!1),Mr("prev"),lr==null||lr(kn-1,kn))},ir=function(Wt){Wt==null||Wt.preventDefault(),Wt==null||Wt.stopPropagation(),kn<on-1&&(bt(!1),Mr("next"),lr==null||lr(kn+1,kn))},Sr=function(){if(cn&&ur){Kn(!1);var Wt=rr.current,jn=Wt.transformX,Hn=Wt.transformY,zn=Mt!==jn&&Jt!==Hn;if(!zn)return;var tr=dr.current.offsetWidth*Bt,Vn=dr.current.offsetHeight*Bt,pr=dr.current.getBoundingClientRect(),jr=pr.left,Or=pr.top,Ir=Ot%180!==0,fr=pe(Ir?Vn:tr,Ir?tr:Vn,jr,Or);fr&&Lr((0,ae.Z)({},fr),"dragRebound")}},br=function(Wt){!Xt||Wt.button!==0||(Wt.preventDefault(),Wt.stopPropagation(),rr.current={deltaX:Wt.pageX-ar.x,deltaY:Wt.pageY-ar.y,transformX:ar.x,transformY:ar.y},Kn(!0))},er=function(Wt){cn&&ur&&Lr({x:Wt.pageX-rr.current.deltaX,y:Wt.pageY-rr.current.deltaY},"move")},sr=function(Wt){if(!(!cn||Wt.deltaY==0)){var jn=Math.abs(Wt.deltaY/100),Hn=Math.min(jn,Ie),zn=Oe+Hn*tn;Wt.deltaY>0&&(zn=Oe/zn),Dr(zn,"wheel",Wt.clientX,Wt.clientY)}},Cr=function(Wt){!cn||!or||(Wt.keyCode===fe.Z.LEFT?qn():Wt.keyCode===fe.Z.RIGHT&&ir())},Lt=function(Wt){cn&&(Bt!==1?Lr({x:0,y:0,scale:1},"doubleClick"):Dr(Oe+tn,"doubleClick",Wt.clientX,Wt.clientY))};(0,be.useEffect)(function(){var ln,Wt,jn,Hn;if(Xt){jn=(0,ue.Z)(window,"mouseup",Sr,!1),Hn=(0,ue.Z)(window,"mousemove",er,!1);try{window.top!==window.self&&(ln=(0,ue.Z)(window.top,"mouseup",Sr,!1),Wt=(0,ue.Z)(window.top,"mousemove",er,!1))}catch(zn){(0,ge.Kp)(!1,"[rc-image] ".concat(zn))}}return function(){var zn,tr,Vn,pr;(zn=jn)===null||zn===void 0||zn.remove(),(tr=Hn)===null||tr===void 0||tr.remove(),(Vn=ln)===null||Vn===void 0||Vn.remove(),(pr=Wt)===null||pr===void 0||pr.remove()}},[cn,ur,Mt,Jt,Ot,Xt]),(0,be.useEffect)(function(){var ln=(0,ue.Z)(window,"keydown",Cr,!1);return function(){ln.remove()}},[cn,or,kn]);var un=be.createElement(Je,(0,le.Z)({},_r,{width:St.width,height:St.height,imgRef:dr,className:"".concat(Nt,"-img"),alt:xt,style:{transform:"translate3d(".concat(ar.x,"px, ").concat(ar.y,"px, 0) scale3d(").concat(ar.flipX?"-":"").concat(Bt,", ").concat(ar.flipY?"-":"").concat(Bt,", 1) rotate(").concat(Ot,"deg)"),transitionDuration:!Ct&&"0s"},fallback:jt,src:Pt,onWheel:sr,onMouseDown:br,onDoubleClick:Lt}));return be.createElement(be.Fragment,null,be.createElement(z.Z,(0,le.Z)({transitionName:nr,maskTransitionName:gr,closable:!1,keyboard:!0,prefixCls:Nt,onClose:an,visible:cn,wrapClassName:Zt,rootClassName:yn,getContainer:Tt},mr,{afterClose:Kt}),be.createElement("div",{className:"".concat(Nt,"-img-wrapper")},Yt?Yt(un,(0,ae.Z)({transform:ar},cr?{current:kn}:{})):un)),be.createElement(Ee,{visible:cn,transform:ar,maskTransitionName:gr,closeIcon:bn,getContainer:Tt,prefixCls:Nt,rootClassName:yn,icons:sn,countRender:wt,showSwitch:or,showProgress:yr,current:kn,count:on,scale:Bt,minScale:mn,maxScale:An,toolbarRender:xr,onSwitchLeft:qn,onSwitchRight:ir,onZoomIn:en,onZoomOut:Gt,onRotateRight:Cn,onRotateLeft:dn,onFlipX:Tn,onFlipY:wn,onClose:an}))},Ze=Qe,Ke=Se(26407);function Ue(_t){var St=be.useState({}),Nt=(0,se.Z)(St,2),Pt=Nt[0],xt=Nt[1],jt=be.useCallback(function(Xt,an){return xt(function(cn){return(0,ae.Z)((0,ae.Z)({},cn),{},(0,ie.Z)({},Xt,an))}),function(){xt(function(cn){var fn=(0,ae.Z)({},cn);return delete fn[Xt],fn})}},[]),Qt=be.useMemo(function(){return _t?_t.map(function(Xt){if(typeof Xt=="string")return{data:{src:Xt}};var an={};return Object.keys(Xt).forEach(function(cn){["src"].concat((0,Ke.Z)(te)).includes(cn)&&(an[cn]=Xt[cn])}),{data:an}}):Object.keys(Pt).reduce(function(Xt,an){var cn=Pt[an],fn=cn.canPreview,sn=cn.data;return fn&&Xt.push({data:sn,id:an}),Xt},[])},[_t,Pt]);return[Qt,jt]}var ke=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Re=["src"],He=function(St){var Nt,Pt=St.previewPrefixCls,xt=Pt===void 0?"rc-image-preview":Pt,jt=St.children,Qt=St.icons,Xt=Qt===void 0?{}:Qt,an=St.items,cn=St.preview,fn=St.fallback,sn=(0,ce.Z)(cn)==="object"?cn:{},yn=sn.visible,bn=sn.onVisibleChange,Tt=sn.getContainer,Jn=sn.current,kn=sn.movable,Wn=sn.minScale,on=sn.maxScale,wt=sn.countRender,Ut=sn.closeIcon,tn=sn.onChange,Vt=sn.onTransform,mn=sn.toolbarRender,Nn=sn.imageRender,An=(0,oe.Z)(sn,ke),Fn=Ue(an),nr=(0,se.Z)(Fn,2),vr=nr[0],gr=nr[1],Yt=(0,ne.Z)(0,{value:Jn}),_r=(0,se.Z)(Yt,2),xr=_r[0],Ar=_r[1],lr=(0,be.useState)(!1),mr=(0,se.Z)(lr,2),dr=mr[0],rr=mr[1],Mn=((Nt=vr[xr])===null||Nt===void 0?void 0:Nt.data)||{},Yn=Mn.src,ur=(0,oe.Z)(Mn,Re),Kn=(0,ne.Z)(!!yn,{value:yn,onChange:function(Ot,Bt){bn==null||bn(Ot,Bt,xr)}}),cr=(0,se.Z)(Kn,2),or=cr[0],yr=cr[1],Er=(0,be.useState)(null),ar=(0,se.Z)(Er,2),Mr=ar[0],Lr=ar[1],Dr=be.useCallback(function(bt,Ot,Bt){var Mt=vr.findIndex(function(Jt){return Jt.id===bt});yr(!0),Lr({x:Ot,y:Bt}),Ar(Mt<0?0:Mt),rr(!0)},[vr]);be.useEffect(function(){or?dr||Ar(0):rr(!1)},[or]);var Br=function(Ot,Bt){Ar(Ot),tn==null||tn(Ot,Bt)},ht=function(){yr(!1),Lr(null)},Ct=be.useMemo(function(){return{register:gr,onPreview:Dr}},[gr,Dr]);return be.createElement(a.Provider,{value:Ct},jt,be.createElement(Ze,(0,le.Z)({"aria-hidden":!or,movable:kn,visible:or,prefixCls:xt,closeIcon:Ut,onClose:ht,mousePosition:Mr,imgCommonProps:ur,src:Yn,fallback:fn,icons:Xt,minScale:Wn,maxScale:on,getContainer:Tt,current:xr,count:vr.length,countRender:wt,onTransform:Vt,toolbarRender:mn,imageRender:Nn,onChange:Br},An)))},qe=He,rt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],We=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],ze=function(St){var Nt=St.src,Pt=St.alt,xt=St.onPreviewClose,jt=St.prefixCls,Qt=jt===void 0?"rc-image":jt,Xt=St.previewPrefixCls,an=Xt===void 0?"".concat(Qt,"-preview"):Xt,cn=St.placeholder,fn=St.fallback,sn=St.width,yn=St.height,bn=St.style,Tt=St.preview,Jn=Tt===void 0?!0:Tt,kn=St.className,Wn=St.onClick,on=St.onError,wt=St.wrapperClassName,Ut=St.wrapperStyle,tn=St.rootClassName,Vt=(0,oe.Z)(St,rt),mn=cn&&cn!==!0,Nn=(0,ce.Z)(Jn)==="object"?Jn:{},An=Nn.src,Fn=Nn.visible,nr=Fn===void 0?void 0:Fn,vr=Nn.onVisibleChange,gr=vr===void 0?xt:vr,Yt=Nn.getContainer,_r=Yt===void 0?void 0:Yt,xr=Nn.mask,Ar=Nn.maskClassName,lr=Nn.movable,mr=Nn.icons,dr=Nn.scaleStep,rr=Nn.minScale,Mn=Nn.maxScale,Yn=Nn.imageRender,ur=Nn.toolbarRender,Kn=(0,oe.Z)(Nn,We),cr=An!=null?An:Nt,or=(0,ne.Z)(!!nr,{value:nr,onChange:gr}),yr=(0,se.Z)(or,2),Er=yr[0],ar=yr[1],Mr=ee({src:Nt,isCustomPlaceholder:mn,fallback:fn}),Lr=(0,se.Z)(Mr,3),Dr=Lr[0],Br=Lr[1],ht=Lr[2],Ct=(0,be.useState)(null),bt=(0,se.Z)(Ct,2),Ot=bt[0],Bt=bt[1],Mt=(0,be.useContext)(a),Jt=!!Jn,Zt=function(){ar(!1),Bt(null)},Kt=de()(Qt,wt,tn,(0,ie.Z)({},"".concat(Qt,"-error"),ht==="error")),en=(0,be.useMemo)(function(){var Tn={};return te.forEach(function(wn){St[wn]!==void 0&&(Tn[wn]=St[wn])}),Tn},te.map(function(Tn){return St[Tn]})),Gt=(0,be.useMemo)(function(){return(0,ae.Z)((0,ae.Z)({},en),{},{src:cr})},[cr,en]),Cn=x(Jt,Gt),dn=function(wn){var qn=(0,re.os)(wn.target),ir=qn.left,Sr=qn.top;Mt?Mt.onPreview(Cn,ir,Sr):(Bt({x:ir,y:Sr}),ar(!0)),Wn==null||Wn(wn)};return be.createElement(be.Fragment,null,be.createElement("div",(0,le.Z)({},Vt,{className:Kt,onClick:Jt?dn:Wn,style:(0,ae.Z)({width:sn,height:yn},Ut)}),be.createElement("img",(0,le.Z)({},en,{className:de()("".concat(Qt,"-img"),(0,ie.Z)({},"".concat(Qt,"-img-placeholder"),cn===!0),kn),style:(0,ae.Z)({height:yn},bn),ref:Dr},Br,{width:sn,height:yn,onError:on})),ht==="loading"&&be.createElement("div",{"aria-hidden":"true",className:"".concat(Qt,"-placeholder")},cn),xr&&Jt&&be.createElement("div",{className:de()("".concat(Qt,"-mask"),Ar),style:{display:(bn==null?void 0:bn.display)==="none"?"none":void 0}},xr)),!Mt&&Jt&&be.createElement(Ze,(0,le.Z)({"aria-hidden":!Er,visible:Er,prefixCls:an,onClose:Zt,mousePosition:Ot,src:cr,alt:Pt,fallback:fn,getContainer:_r,icons:mr,movable:lr,scaleStep:dr,minScale:rr,maxScale:Mn,rootClassName:tn,imageRender:Yn,imgCommonProps:en,toolbarRender:ur},Kn)))};ze.PreviewGroup=qe,ze.displayName="Image";var Me=ze,Ge=Me,Le=Se(62892),Ve=Se(36355),ot=Se(31724),et=Se(99267),Xe=Se(33853),je=Se(38819),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},De=Ce,Fe=Se(7657),Ye=function(St,Nt){return be.createElement(Fe.Z,(0,le.Z)({},St,{ref:Nt,icon:De}))},nt=be.forwardRef(Ye),$e=nt,tt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},lt=tt,at=function(St,Nt){return be.createElement(Fe.Z,(0,le.Z)({},St,{ref:Nt,icon:lt}))},ut=be.forwardRef(at),st=ut,vt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},mt=vt,pt=function(St,Nt){return be.createElement(Fe.Z,(0,le.Z)({},St,{ref:Nt,icon:mt}))},yt=be.forwardRef(pt),Et=yt,At={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},kt=At,$t=function(St,Nt){return be.createElement(Fe.Z,(0,le.Z)({},St,{ref:Nt,icon:kt}))},rn=be.forwardRef($t),Pn=rn,In={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},En=In,gn=function(St,Nt){return be.createElement(Fe.Z,(0,le.Z)({},St,{ref:Nt,icon:En}))},Gn=be.forwardRef(gn),On=Gn,Zn=Se(64993),Xn=Se(73819),_n=Se(17313),wr=Se(29878),Ft=Se(1950),It=Se(83116),Dt=Se(37613);const vn=_t=>({position:_t||"absolute",inset:0}),Dn=_t=>{const{iconCls:St,motionDurationSlow:Nt,paddingXXS:Pt,marginXXS:xt,prefixCls:jt,colorTextLightSolid:Qt}=_t;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Qt,background:new Zn.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Nt}`,[`.${jt}-mask-info`]:Object.assign(Object.assign({},_n.vS),{padding:`0 ${Pt}px`,[St]:{marginInlineEnd:xt,svg:{verticalAlign:"baseline"}}})}},xn=_t=>{const{previewCls:St,modalMaskBg:Nt,paddingSM:Pt,marginXL:xt,margin:jt,paddingLG:Qt,previewOperationColorDisabled:Xt,previewOperationHoverColor:an,motionDurationSlow:cn,iconCls:fn,colorTextLightSolid:sn}=_t,yn=new Zn.C(Nt).setAlpha(.1),bn=yn.clone().setAlpha(.2);return{[`${St}-footer`]:{position:"fixed",bottom:xt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:_t.previewOperationColor},[`${St}-progress`]:{marginBottom:jt},[`${St}-close`]:{position:"fixed",top:xt,right:{_skip_check_:!0,value:xt},display:"flex",color:sn,backgroundColor:yn.toRgbString(),borderRadius:"50%",padding:Pt,outline:0,border:0,cursor:"pointer",transition:`all ${cn}`,"&:hover":{backgroundColor:bn.toRgbString()},[`& > ${fn}`]:{fontSize:_t.previewOperationSize}},[`${St}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${Qt}px`,backgroundColor:yn.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Pt,padding:Pt,cursor:"pointer",transition:`all ${cn}`,userSelect:"none",[`&:not(${St}-operations-operation-disabled):hover > ${fn}`]:{color:an},"&-disabled":{color:Xt,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${fn}`]:{fontSize:_t.previewOperationSize}}}}},pn=_t=>{const{modalMaskBg:St,iconCls:Nt,previewOperationColorDisabled:Pt,previewCls:xt,zIndexPopup:jt,motionDurationSlow:Qt}=_t,Xt=new Zn.C(St).setAlpha(.1),an=Xt.clone().setAlpha(.2);return{[`${xt}-switch-left, ${xt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:jt+1,display:"flex",alignItems:"center",justifyContent:"center",width:_t.imagePreviewSwitchSize,height:_t.imagePreviewSwitchSize,marginTop:-_t.imagePreviewSwitchSize/2,color:_t.previewOperationColor,background:Xt.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Qt}`,userSelect:"none","&:hover":{background:an.toRgbString()},"&-disabled":{"&, &:hover":{color:Pt,background:"transparent",cursor:"not-allowed",[`> ${Nt}`]:{cursor:"not-allowed"}}},[`> ${Nt}`]:{fontSize:_t.previewOperationSize}},[`${xt}-switch-left`]:{insetInlineStart:_t.marginSM},[`${xt}-switch-right`]:{insetInlineEnd:_t.marginSM}}},ft=_t=>{const{motionEaseOut:St,previewCls:Nt,motionDurationSlow:Pt,componentCls:xt}=_t;return[{[`${xt}-preview-root`]:{[Nt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Nt}-body`]:Object.assign(Object.assign({},vn()),{overflow:"hidden"}),[`${Nt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Pt} ${St} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},vn()),{transition:`transform ${Pt} ${St} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Nt}-moving`]:{[`${Nt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${xt}-preview-root`]:{[`${Nt}-wrap`]:{zIndex:_t.zIndexPopup}}},{[`${xt}-preview-operations-wrapper`]:{position:"fixed",zIndex:_t.zIndexPopup+1},"&":[xn(_t),pn(_t)]}]},dt=_t=>{const{componentCls:St}=_t;return{[St]:{position:"relative",display:"inline-block",[`${St}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${St}-img-placeholder`]:{backgroundColor:_t.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${St}-mask`]:Object.assign({},Dn(_t)),[`${St}-mask:hover`]:{opacity:1},[`${St}-placeholder`]:Object.assign({},vn())}}},gt=_t=>{const{previewCls:St}=_t;return{[`${St}-root`]:(0,wr._y)(_t,"zoom"),"&":(0,Ft.J$)(_t,!0)}};var zt=(0,It.Z)("Image",_t=>{const St=`${_t.componentCls}-preview`,Nt=(0,Dt.TS)(_t,{previewCls:St,modalMaskBg:new Zn.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:_t.controlHeightLG});return[dt(Nt),ft(Nt),(0,Xn.QA)((0,Dt.TS)(Nt,{componentCls:St})),gt(Nt)]},_t=>({zIndexPopup:_t.zIndexPopupBase+80,previewOperationColor:new Zn.C(_t.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Zn.C(_t.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Zn.C(_t.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:_t.fontSizeIcon*1.5})),qt=function(_t,St){var Nt={};for(var Pt in _t)Object.prototype.hasOwnProperty.call(_t,Pt)&&St.indexOf(Pt)<0&&(Nt[Pt]=_t[Pt]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Pt=Object.getOwnPropertySymbols(_t);xt<Pt.length;xt++)St.indexOf(Pt[xt])<0&&Object.prototype.propertyIsEnumerable.call(_t,Pt[xt])&&(Nt[Pt[xt]]=_t[Pt[xt]]);return Nt};const Ht={rotateLeft:be.createElement($e,null),rotateRight:be.createElement(st,null),zoomIn:be.createElement(Pn,null),zoomOut:be.createElement(On,null),close:be.createElement(et.Z,null),left:be.createElement(Xe.Z,null),right:be.createElement(je.Z,null),flipX:be.createElement(Et,null),flipY:be.createElement(Et,{rotate:90})};var nn=_t=>{var{previewPrefixCls:St,preview:Nt}=_t,Pt=qt(_t,["previewPrefixCls","preview"]);const{getPrefixCls:xt}=be.useContext(Ve.E_),jt=xt("image",St),Qt=`${jt}-preview`,Xt=xt(),[an,cn]=zt(jt),fn=be.useMemo(()=>{var sn;if(Nt===!1)return Nt;const yn=typeof Nt=="object"?Nt:{},bn=de()(cn,(sn=yn.rootClassName)!==null&&sn!==void 0?sn:"");return Object.assign(Object.assign({},yn),{transitionName:(0,Le.m)(Xt,"zoom",yn.transitionName),maskTransitionName:(0,Le.m)(Xt,"fade",yn.maskTransitionName),rootClassName:bn})},[Nt]);return an(be.createElement(Ge.PreviewGroup,Object.assign({preview:fn,previewPrefixCls:Qt,icons:Ht},Pt)))},Bn=function(_t,St){var Nt={};for(var Pt in _t)Object.prototype.hasOwnProperty.call(_t,Pt)&&St.indexOf(Pt)<0&&(Nt[Pt]=_t[Pt]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Pt=Object.getOwnPropertySymbols(_t);xt<Pt.length;xt++)St.indexOf(Pt[xt])<0&&Object.prototype.propertyIsEnumerable.call(_t,Pt[xt])&&(Nt[Pt[xt]]=_t[Pt[xt]]);return Nt};const Ln=_t=>{const{prefixCls:St,preview:Nt,className:Pt,rootClassName:xt,style:jt}=_t,Qt=Bn(_t,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Xt,locale:an=ot.Z,getPopupContainer:cn,image:fn}=be.useContext(Ve.E_),sn=Xt("image",St),yn=Xt(),bn=an.Image||ot.Z.Image,[Tt,Jn]=zt(sn),kn=de()(xt,Jn),Wn=de()(Pt,Jn,fn==null?void 0:fn.className),on=be.useMemo(()=>{if(Nt===!1)return Nt;const Ut=typeof Nt=="object"?Nt:{},{getContainer:tn}=Ut,Vt=Bn(Ut,["getContainer"]);return Object.assign(Object.assign({mask:be.createElement("div",{className:`${sn}-mask-info`},be.createElement(E.Z,null),bn==null?void 0:bn.preview),icons:Ht},Vt),{getContainer:tn||cn,transitionName:(0,Le.m)(yn,"zoom",Ut.transitionName),maskTransitionName:(0,Le.m)(yn,"fade",Ut.maskTransitionName)})},[Nt,bn]),wt=Object.assign(Object.assign({},fn==null?void 0:fn.style),jt);return Tt(be.createElement(Ge,Object.assign({prefixCls:sn,preview:on,rootClassName:kn,className:Wn,style:wt},Qt)))};Ln.PreviewGroup=nn;var $n=Ln,Rt=()=>{const[_t,St]=(0,be.useState)(""),[Nt,Pt]=(0,be.useState)(0);let[xt,jt]=(0,be.useState)(),[Qt,Xt]=(0,be.useState)();const[an,cn]=(0,be.useState)(!1),fn=(0,be.useRef)("");(0,be.useEffect)(()=>Be.Z.subscribe("preview-image",tn=>{St(tn),console.log(on.current),document.body.style.overflow="hidden"}),[]),(0,be.useEffect)(()=>(document.addEventListener("keydown",sn),()=>{document.removeEventListener("keydown",sn)}),[]),(0,be.useEffect)(()=>{fn.current=_t},[_t]);function sn(Ut){Ut.keyCode==27&&fn.current&&yn()}function yn(){document.body.style.overflow="auto",jt(void 0),Xt(void 0),Pt(0),St("")}function bn(){Pt(Nt+90)}function Tt(){xt=on.current.width*1.1,Qt=on.current.height*1.1,Xt(Qt),jt(xt)}function Jn(){xt=on.current.width/1.1,Qt=on.current.height/1.1,Xt(Qt),jt(xt)}const kn=(0,be.useRef)(),Wn=(0,be.useRef)(),on=(0,be.useRef)(),wt=Ut=>{(Ut.nativeEvent.target===kn.current||Ut.nativeEvent.target===Wn.current)&&yn()};return be.createElement(be.Fragment,null,_t?be.createElement("div",null,be.createElement("div",{className:"preview-wrp-group",ref:Wn},be.createElement($n,{className:"image-preview",src:_t,style:{display:"none"},preview:{visible:!0,src:_t,movable:!1,onVisibleChange:Ut=>{St("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},73278:function(ct,it,Se){"use strict";Se.d(it,{h:function(){return ue}});var be=Se(59301),Be=Se(57809),E=Se(78241),me=Se(3113),de=Se(89780),le=Se.n(de),ae=Se(78780),ie=Se(19136),se=Object.defineProperty,ce=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,a=(fe,ge,he)=>ge in fe?se(fe,ge,{enumerable:!0,configurable:!0,writable:!0,value:he}):fe[ge]=he,y=(fe,ge)=>{for(var he in ge||(ge={}))ne.call(ge,he)&&a(fe,he,ge[he]);if(re)for(var he of re(ge))te.call(ge,he)&&a(fe,he,ge[he]);return fe},x=(fe,ge)=>ce(fe,oe(ge));const b=Be.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},z={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"]};it.Z=({callback:fe,onCancel:ge})=>{const[he,pe]=(0,be.useState)("python");function ye(Pe){pe(z[Pe][1])}function ve(Pe){fe(Pe)}return be.createElement(E.default,x(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ve,style:{width:500}}),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},be.createElement(Be.default,{getPopupContainer:Pe=>Pe.parentNode,onChange:ye},Object.keys(z).map(Pe=>be.createElement(b,{key:Pe,value:Pe},z[Pe][0])))),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},be.createElement(ue,{mode:he})),be.createElement("div",{className:"flex-container flex-end"},be.createElement(me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(me.ZP,{type:"ghost",onClick:ge},"\u53D6\u6D88")))};function ue({value:fe,onChange:ge,mode:he,options:pe={}}){const ye=(0,be.useRef)(),[ve,Pe]=(0,be.useState)();return(0,be.useEffect)(()=>{if(ve){let we=function(Ae){const _e=Ae.getValue();ge&&ge(_e)};return ve.on("change",we),()=>{ve.off("change",we)}}},[ve,ge]),(0,be.useEffect)(()=>{ve&&ve.setOption("mode",he)},[ve,he]),(0,be.useEffect)(()=>{ve&&(fe!==ve.getValue()||fe==="")&&setTimeout(()=>{ve.setValue(fe||"")},300)},[ve,fe]),(0,be.useEffect)(()=>{if(ye.current&&!ve){const we=le().fromTextArea(ye.current,y({mode:he,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pe));Pe(we)}},[ye.current,ve]),be.createElement("div",{className:"my-codemirror-container"},be.createElement("textarea",{ref:ye}))}},64726:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return pn}});var be=Se(59301),Be=Se(89780),E=Se.n(Be),me=Se(76374),de=Se(78780),le=Se(6313),ae=Se(25717),ie=Se(99498),se=Se(25419),ce=Se(67549),oe=Se(99325),re=({value:ft="",className:dt,showTextOnly:gt,showLines:zt,style:qt={}})=>{const Ht=(0,be.useMemo)(()=>"",[ft]);return be.createElement(be.Fragment,null,be.createElement("div",{dangerouslySetInnerHTML:{__html:Ht}}))},ne=Se(59301),te=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,z=(ft,dt,gt)=>dt in ft?te(ft,dt,{enumerable:!0,configurable:!0,writable:!0,value:gt}):ft[dt]=gt,ue=(ft,dt)=>{for(var gt in dt||(dt={}))b.call(dt,gt)&&z(ft,gt,dt[gt]);if(x)for(var gt of x(dt))ee.call(dt,gt)&&z(ft,gt,dt[gt]);return ft},fe=(ft,dt)=>a(ft,y(dt));let ge=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function he({onActionCallback:ft,title:dt,icon:gt,actionName:zt,className:qt="",children:Ht}){function Rn(){ft(zt)}return ne.createElement("a",{title:dt,className:qt,onClick:Rn},ne.createElement("i",{className:`${gt}`}),Ht)}var pe=({watch:ft,showNullButton:dt,showNullProgramButton:gt,onActionCallback:zt,fullScreen:qt,insertTemp:Ht,hidetoolBar:Rn,extraUse:nn})=>{const Bn=[...ge,{title:`${ft?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${ft?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!Rn&&Bn.map((Ln,$n)=>ne.createElement("li",{key:$n},Ln.actionName?ne.createElement(he,fe(ue({},Ln),{onActionCallback:zt})):ne.createElement("span",{className:"v-line"}))),dt?ne.createElement("li",null,ne.createElement(he,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:zt},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,gt?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(he,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:zt},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(he,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:zt},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Ht&&ne.createElement("li",null,ne.createElement(he,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Ht}`,onActionCallback:zt},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),nn&&ne.createElement("li",null,nn),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(he,{icon:`${qt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:qt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:zt})))},ye=Se(19647),ve=Se(78241),Pe=Se(92832),we=Se(3113),Ae=Object.defineProperty,_e=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Ne=(ft,dt,gt)=>dt in ft?Ae(ft,dt,{enumerable:!0,configurable:!0,writable:!0,value:gt}):ft[dt]=gt,Te=(ft,dt)=>{for(var gt in dt||(dt={}))Oe.call(dt,gt)&&Ne(ft,gt,dt[gt]);if(Ee)for(var gt of Ee(dt))Ie.call(dt,gt)&&Ne(ft,gt,dt[gt]);return ft},Je=(ft,dt)=>_e(ft,xe(dt));const Qe={labelCol:{span:4},wrapperCol:{span:20}};var Ze=({callback:ft,onCancel:dt})=>{function gt(zt){ft(zt)}return be.createElement(ve.default,Je(Te({},Qe),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:gt,style:{width:500}}),be.createElement(ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},be.createElement(Pe.default,null)),be.createElement(ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},be.createElement(Pe.default,null)),be.createElement("div",{className:"flex-container flex-end"},be.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(we.ZP,{type:"ghost",onClick:dt},"\u53D6\u6D88")))},Ke=Se(73278),Ue=Se(56030),ke=Se(43418),Re=Se(95237),He=Se(14573),qe=Se(59301),rt=({callback:ft,onCancel:dt})=>{const gt=document.createElement("canvas"),zt=gt.getContext("2d");gt.width=1e3,gt.height=800,zt.fillStyle="#ffffff",zt.fillRect(0,0,gt.width,gt.height);const qt=gt.toDataURL("image/png");return qe.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},qe.createElement(Re.Z,{style:{height:"100vh"}},qe.createElement(He.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:qt,visible:!0,title:String(Date.now())},onOk:Ht=>{ft({src:Ht.url})},onClose:dt})))},We=Se(12378);function ze(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ze,go.CommandHandler),ze.prototype.canAlignSelection=function(){var ft=this.diagram;return!(ft===null||ft.isReadOnly||ft.isModelReadOnly||ft.selection.count<2)},ze.prototype.alignLeft=function(){var ft=this.diagram;ft.startTransaction("aligning left");var dt=1/0;ft.selection.each(function(gt){gt instanceof go.Link||(dt=Math.min(gt.position.x,dt))}),ft.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(dt,gt.position.y))}),ft.commitTransaction("aligning left")},ze.prototype.alignRight=function(){var ft=this.diagram;ft.startTransaction("aligning right");var dt=-1/0;ft.selection.each(function(gt){if(!(gt instanceof go.Link)){var zt=gt.actualBounds.x+gt.actualBounds.width;dt=Math.max(zt,dt)}}),ft.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(dt-gt.actualBounds.width,gt.position.y))}),ft.commitTransaction("aligning right")},ze.prototype.alignTop=function(){var ft=this.diagram;ft.startTransaction("alignTop");var dt=1/0;ft.selection.each(function(gt){gt instanceof go.Link||(dt=Math.min(gt.position.y,dt))}),ft.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(gt.position.x,dt))}),ft.commitTransaction("alignTop")},ze.prototype.alignBottom=function(){var ft=this.diagram;ft.startTransaction("aligning bottom");var dt=-1/0;ft.selection.each(function(gt){if(!(gt instanceof go.Link)){var zt=gt.actualBounds.y+gt.actualBounds.height;dt=Math.max(zt,dt)}}),ft.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(gt.actualBounds.x,dt-gt.actualBounds.height))}),ft.commitTransaction("aligning bottom")},ze.prototype.alignCenterX=function(){var ft=this.diagram,dt=ft.selection.first();if(dt){ft.startTransaction("aligning Center X");var gt=dt.actualBounds.x+dt.actualBounds.width/2;ft.selection.each(function(zt){zt instanceof go.Link||zt.move(new go.Point(gt-zt.actualBounds.width/2,zt.actualBounds.y))}),ft.commitTransaction("aligning Center X")}},ze.prototype.alignCenterY=function(){var ft=this.diagram,dt=ft.selection.first();if(dt){ft.startTransaction("aligning Center Y");var gt=dt.actualBounds.y+dt.actualBounds.height/2;ft.selection.each(function(zt){zt instanceof go.Link||zt.move(new go.Point(zt.actualBounds.x,gt-zt.actualBounds.height/2))}),ft.commitTransaction("aligning Center Y")}},ze.prototype.alignColumn=function(ft){var dt=this.diagram;dt.startTransaction("align Column"),ft===void 0&&(ft=0),ft=parseFloat(ft);var gt=new Array;dt.selection.each(function(nn){nn instanceof go.Link||gt.push(nn)});for(var zt=0;zt<gt.length-1;zt++){var qt=gt[zt],Ht=qt.actualBounds.y+qt.actualBounds.height+ft,Rn=gt[zt+1];Rn.move(new go.Point(qt.actualBounds.x,Ht))}dt.commitTransaction("align Column")},ze.prototype.alignRow=function(ft){ft===void 0&&(ft=0),ft=parseFloat(ft);var dt=this.diagram;dt.startTransaction("align Row");var gt=new Array;dt.selection.each(function(nn){nn instanceof go.Link||gt.push(nn)});for(var zt=0;zt<gt.length-1;zt++){var qt=gt[zt],Ht=qt.actualBounds.x+qt.actualBounds.width+ft,Rn=gt[zt+1];Rn.move(new go.Point(Ht,qt.actualBounds.y))}dt.commitTransaction("align Row")},ze.prototype.canRotate=function(ft){var dt=this.diagram;return!(dt===null||dt.isReadOnly||dt.isModelReadOnly||dt.selection.count<1)},ze.prototype.rotate=function(ft){ft===void 0&&(ft=90);var dt=this.diagram;dt.startTransaction("rotate "+ft.toString());var dt=this.diagram;dt.selection.each(function(gt){gt instanceof go.Link||gt instanceof go.Group||(gt.angle+=ft)}),dt.commitTransaction("rotate "+ft.toString())},ze.prototype.pullToFront=function(){var ft=this.diagram;ft.startTransaction("pullToFront");var dt=new go.Map;ft.selection.each(function(gt){dt.set(gt.layer,0)}),dt.iteratorKeys.each(function(gt){var zt=0;gt.parts.each(function(qt){if(!qt.isSelected){var Ht=qt.zOrder;isNaN(Ht)?qt.zOrder=0:zt=Math.max(zt,Ht)}}),dt.set(gt,zt)}),ft.selection.each(function(gt){ze._assignZOrder(gt,dt.get(gt.layer)+1)}),ft.commitTransaction("pullToFront")},ze.prototype.pushToBack=function(){var ft=this.diagram;ft.startTransaction("pushToBack");var dt=new go.Map;ft.selection.each(function(gt){dt.set(gt.layer,0)}),dt.iteratorKeys.each(function(gt){var zt=0;gt.parts.each(function(qt){if(!qt.isSelected){var Ht=qt.zOrder;isNaN(Ht)?qt.zOrder=0:zt=Math.min(zt,Ht)}}),dt.set(gt,zt)}),ft.selection.each(function(gt){ze._assignZOrder(gt,dt.get(gt.layer)-1-ze._findGroupDepth(gt))}),ft.commitTransaction("pushToBack")},ze._assignZOrder=function(ft,dt,gt){gt===void 0&&(gt=ft),ft.layer===gt.layer&&(ft.zOrder=dt),ft instanceof go.Group&&ft.memberParts.each(function(zt){ze._assignZOrder(zt,dt+1,gt)})},ze._findGroupDepth=function(ft){if(ft instanceof go.Group){var dt=0;return ft.memberParts.each(function(gt){dt=Math.max(dt,ze._findGroupDepth(gt))}),dt+1}else return 0},ze.prototype.doKeyDown=function(){var ft=this.diagram;if(ft!==null){var dt=ft.lastInput;if(dt.key==="Up"||dt.key==="Down"||dt.key==="Left"||dt.key==="Right"){var gt=this.arrowKeyBehavior;if(gt==="none")return;if(gt==="select"){this._arrowKeySelect();return}else if(gt==="move"){this._arrowKeyMove();return}else if(gt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},ze.prototype._getAllParts=function(){var ft=new Array;return this.diagram.nodes.each(function(dt){ft.push(dt)}),this.diagram.parts.each(function(dt){ft.push(dt)}),ft},ze.prototype._arrowKeyMove=function(){var ft=this.diagram,dt=ft.lastInput,gt=0,zt=0;if(dt.control||dt.meta)gt=1,zt=1;else if(ft.grid!==null){var qt=ft.grid.gridCellSize;zt=qt.width,gt=qt.height}ft.startTransaction("arrowKeyMove"),ft.selection.each(function(Ht){dt.key==="Up"?Ht.move(new go.Point(Ht.actualBounds.x,Ht.actualBounds.y-gt)):dt.key==="Down"?Ht.move(new go.Point(Ht.actualBounds.x,Ht.actualBounds.y+gt)):dt.key==="Left"?Ht.move(new go.Point(Ht.actualBounds.x-zt,Ht.actualBounds.y)):dt.key==="Right"&&Ht.move(new go.Point(Ht.actualBounds.x+zt,Ht.actualBounds.y))}),ft.commitTransaction("arrowKeyMove")},ze.prototype._arrowKeySelect=function(){var ft=this.diagram,dt=ft.lastInput,gt=null;dt.key==="Up"?gt=this._findNearestPartTowards(270):dt.key==="Down"?gt=this._findNearestPartTowards(90):dt.key==="Left"?gt=this._findNearestPartTowards(180):dt.key==="Right"&&(gt=this._findNearestPartTowards(0)),gt!==null&&(dt.shift?gt.isSelected=!0:dt.control||dt.meta?gt.isSelected=!gt.isSelected:ft.select(gt))},ze.prototype._findNearestPartTowards=function(ft){var dt=this.diagram.selection.first();if(dt===null)return null;for(var gt=dt.actualBounds.center,zt=this._getAllParts(),qt=1/0,Ht=dt,Rn=0;Rn<zt.length;Rn++){var nn=zt[Rn];if(nn!==dt&&nn.canSelect()){var Bn=nn.actualBounds.center,Ln=gt.directionPoint(Bn),$n=this._angleCloseness(Ln,ft);if($n<=45){var Rt=gt.distanceSquaredPoint(Bn);Rt*=1+Math.sin($n*Math.PI/180),Rt<qt&&(qt=Rt,Ht=nn)}}}return Ht},ze.prototype._angleCloseness=function(ft,dt){return Math.min(Math.abs(dt-ft),Math.min(Math.abs(dt+360-ft),Math.abs(dt-360-ft)))},ze.prototype._arrowKeyTree=function(){var ft=this.diagram,dt=ft.selection.first();if(dt instanceof go.Node){var gt=ft.lastInput;if(gt.key==="Right"){if(!dt.isTreeLeaf)if(!dt.isTreeExpanded)ft.commandHandler.canExpandTree(dt)&&ft.commandHandler.expandTree(dt);else{var zt=this._sortTreeChildrenByY(dt).first();zt!==null&&ft.select(zt)}}else if(gt.key==="Left")if(!dt.isTreeLeaf&&dt.isTreeExpanded)ft.commandHandler.canCollapseTree(dt)&&ft.commandHandler.collapseTree(dt);else{var qt=dt.findTreeParentNode();qt!==null&&ft.select(qt)}else if(gt.key==="Up"){var qt=dt.findTreeParentNode();if(qt!==null){var Ht=this._sortTreeChildrenByY(qt),Rn=Ht.indexOf(dt);if(Rn>0){for(var nn=Ht.elt(Rn-1);nn!==null&&nn.isTreeExpanded&&!nn.isTreeLeaf;){var Bn=this._sortTreeChildrenByY(nn);nn=Bn.last()}nn!==null&&ft.select(nn)}else ft.select(qt)}}else if(gt.key==="Down")if(dt.isTreeExpanded&&!dt.isTreeLeaf){var zt=this._sortTreeChildrenByY(dt).first();zt!==null&&ft.select(zt)}else for(;dt!==null;){var qt=dt.findTreeParentNode();if(qt===null)break;var Ht=this._sortTreeChildrenByY(qt),Rn=Ht.indexOf(dt);if(Rn<Ht.length-1){ft.select(Ht.elt(Rn+1));break}else dt=qt}var Ln=ft.selection.first();Ln!==null&&ft.scrollToRect(Ln.actualBounds)}},ze.prototype._sortTreeChildrenByY=function(ft){var dt=new go.List().addAll(ft.findTreeChildrenNodes());return dt.sort(function(gt,zt){var qt=gt.location,Ht=zt.location;return qt.y<Ht.y?-1:qt.y>Ht.y?1:qt.x<Ht.x?-1:qt.x>Ht.x?1:0}),dt},ze.prototype.copyToClipboard=function(ft){go.CommandHandler.prototype.copyToClipboard.call(this,ft),this._lastPasteOffset.set(this.pasteOffset)},ze.prototype.pasteFromClipboard=function(){var ft=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(ft,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),ft},Object.defineProperty(ze.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(ft){if(ft!=="move"&&ft!=="select"&&ft!=="scroll"&&ft!=="tree"&&ft!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+ft);this._arrowKeyBehavior=ft}}),Object.defineProperty(ze.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(ft){if(!(ft instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+ft);this._pasteOffset.set(ft)}});var Me=ze,Ge=Se(29277),Le=Se(43604),Ve=Se(7660),ot={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},et=Se(59301),Xe=(ft,dt,gt)=>new Promise((zt,qt)=>{var Ht=Bn=>{try{nn(gt.next(Bn))}catch(Ln){qt(Ln)}},Rn=Bn=>{try{nn(gt.throw(Bn))}catch(Ln){qt(Ln)}},nn=Bn=>Bn.done?zt(Bn.value):Promise.resolve(Bn.value).then(Ht,Rn);nn((gt=gt.apply(ft,dt)).next())});function je({onCancel:ft,callback:dt}){let gt=(0,be.useRef)(),zt=(0,be.useRef)(),qt=(0,be.useRef)(),Ht=(0,be.useRef)(!1);const Rn=(0,be.useRef)(!1),[nn,Bn]=(0,be.useState)(0);function Ln(){const Rt=We.bx.make,_t={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};gt.current=new We.S0(zt.current,{padding:20,grid:Rt(We.s_,"Grid",Rt(We.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Rt(We.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:wt=>{var Ut=wt.diagram.commandHandler.addTopLevelParts(wt.diagram.selection,!0);Ut||wt.diagram.currentTool.doCancel()},commandHandler:Rt(Me),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:wt=>{var Ut=wt.subject;Ut.location=Ut.location.copy().snapToGridPoint(wt.diagram.grid.gridOrigin,wt.diagram.grid.gridCellSize),setTimeout(()=>{wt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:wt=>{var Ut=wt.subject;setTimeout(()=>{wt.diagram.commandHandler.editTextBlock()})},LinkRelinked:wt=>{var Ut=wt.parameter.part;Ut.invalidateConnectedLinks();var tn=wt.subject;wt.diagram.toolManager.linkingTool.isForwards?tn.toNode.invalidateConnectedLinks():tn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),gt.current.nodeTemplate=Rt(We.NB,"Auto",{locationSpot:We.z6.Center,locationObjectName:"SHAPE",desiredSize:new We.$u(120,60),minSize:new We.$u(40,40),resizable:!0,resizeCellSize:new We.$u(10,10),rotatable:!0},new We.KX("location","loc",We.E9.parse).makeTwoWay(We.E9.stringify),new We.KX("desiredSize","size",We.$u.parse).makeTwoWay(We.$u.stringify),Rt(We.bn,{name:"SHAPE",fill:_t.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:We.z6.AllSides,toSpot:We.z6.AllSides},new We.KX("figure"),new We.KX("fill"),new We.KX("stroke","borderColor"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),Rt(We.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Rt(We.al,{margin:1,textAlign:"center",overflow:We.al.OverflowEllipsis,editable:!0},new We.KX("text").makeTwoWay(),new We.KX("stroke","color"))),gt.current.nodeTemplate.toolTip=Rt("ToolTip",Rt(We.s_,"Vertical",{maxSize:new We.$u(200,NaN)},Rt(We.al,{font:"bold 10pt sans-serif",textAlign:"center"},new We.KX("text")),Rt(We.al,{font:"10pt sans-serif",textAlign:"center"},new We.KX("text","details"))));function St(wt,Ut){var tn=(Vt,mn)=>{Vt.handled=!0,Vt.diagram.model.commit(Nn=>{var An=mn.part.adornedPart,Fn=new We.E9().setRectSpot(An.actualBounds,wt);Fn.subtract(An.location),Fn.scale(2,2),Fn.x+=Math.sign(Fn.x)*130,Fn.y+=Math.sign(Fn.y)*130,Fn.add(An.location),Fn.snapToGridPoint(Vt.diagram.grid.gridOrigin,Vt.diagram.grid.gridCellSize);var nr=Nn.copyNodeData(An.data);Nn.setGroupKeyForNodeData(nr,Nn.getGroupKeyForNodeData(An.data)),Nn.addNodeData(nr);var vr={from:An.key,to:Nn.getKeyForNodeData(nr)};Nn.addLinkData(vr);var gr=Vt.diagram.findNodeForData(nr);gr.location=Fn,Vt.diagram.select(gr),setTimeout(()=>{Vt.diagram.commandHandler.editTextBlock()},20)})};return Rt(We.bn,{figure:Ut,alignment:wt,alignmentFocus:wt.opposite(),width:wt.equals(We.z6.Top)||wt.equals(We.z6.Bottom)?25:18,height:wt.equals(We.z6.Top)||wt.equals(We.z6.Bottom)?18:25,fill:"orange",stroke:_t.white,strokeWidth:4,mouseEnter:(Vt,mn)=>mn.fill="dodgerblue",mouseLeave:(Vt,mn)=>mn.fill="orange",isActionable:!0,click:tn,contextClick:tn})}function Nt(wt){return Rt(We.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Ut,tn)=>tn.fill="dodgerblue",mouseLeave:(Ut,tn)=>tn.fill="orange",click:(Ut,tn)=>{Ut.diagram.commandHandler.showContextMenu(tn.part.adornedPart)}},wt||{})}gt.current.nodeTemplate.selectionAdornmentTemplate=Rt(We.uz,"Spot",Rt(We.Vm,{padding:10}),St(We.z6.Top,"TriangleUp"),St(We.z6.Left,"TriangleLeft"),St(We.z6.Right,"TriangleRight"),St(We.z6.Bottom,"TriangleDown"),Nt({alignment:new We.z6(.75,0)}));function Pt(wt,Ut){return(tn,Vt)=>{tn.handled=!0,tn.diagram.model.commit(mn=>{mn.set(Vt.part.adornedPart.data,wt,Ut)})}}function xt(wt,Ut){return Ut||(Ut="color"),Rt(We.bn,{width:16,height:16,stroke:"lightgray",fill:wt,margin:1,background:"transparent",mouseEnter:(tn,Vt)=>Vt.stroke="dodgerblue",mouseLeave:(tn,Vt)=>Vt.stroke="lightgray",click:Pt(Ut,wt),contextClick:Pt(Ut,wt)})}function jt(){return[Rt("ContextMenuButton",Rt(We.s_,"Horizontal",xt(_t.white,"fill"),xt(_t.beige,"fill"),xt(_t.extralightblue,"fill"),xt(_t.extralightred,"fill"))),Rt("ContextMenuButton",Rt(We.s_,"Horizontal",xt(_t.lightgray,"fill"),xt(_t.lightgreen,"fill"),xt(_t.lightblue,"fill"),xt(_t.lightred,"fill")))]}function Qt(){return[Rt("ContextMenuButton",Rt(We.s_,"Horizontal",xt(_t.black),xt(_t.green),xt(_t.blue),xt(_t.red))),Rt("ContextMenuButton",Rt(We.s_,"Horizontal",xt(_t.white),xt(_t.magenta),xt(_t.purple),xt(_t.orange)))]}function Xt(wt,Ut){return Ut||(Ut="thickness"),Rt(We.bn,"LineH",{width:16,height:16,strokeWidth:wt,margin:1,background:"transparent",mouseEnter:(tn,Vt)=>Vt.background="dodgerblue",mouseLeave:(tn,Vt)=>Vt.background="transparent",click:Pt(Ut,wt),contextClick:Pt(Ut,wt)})}function an(wt,Ut){return Ut||(Ut="dash"),Rt(We.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:wt,margin:1,background:"transparent",mouseEnter:(tn,Vt)=>Vt.background="dodgerblue",mouseLeave:(tn,Vt)=>Vt.background="transparent",click:Pt(Ut,wt),contextClick:Pt(Ut,wt)})}function cn(){return[Rt("ContextMenuButton",Rt(We.s_,"Horizontal",Xt(1),Xt(2),Xt(3),Xt(4))),Rt("ContextMenuButton",Rt(We.s_,"Horizontal",an(null),an([2,4]),an([4,4])))]}function fn(wt,Ut){return Ut||(Ut="figure"),Rt(We.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:wt,margin:1,background:"transparent",mouseEnter:(tn,Vt)=>Vt.fill="dodgerblue",mouseLeave:(tn,Vt)=>Vt.fill="lightgray",click:Pt(Ut,wt),contextClick:Pt(Ut,wt)})}gt.current.nodeTemplate.contextMenu=Rt("ContextMenu",Rt("ContextMenuButton",Rt(We.s_,"Horizontal",fn("Rectangle"),fn("RoundedRectangle"),fn("Ellipse"),fn("Diamond"))),Rt("ContextMenuButton",Rt(We.s_,"Horizontal",fn("Parallelogram2"),fn("ManualOperation"),fn("Procedure"),fn("Cylinder1"))),Rt("ContextMenuButton",Rt(We.s_,"Horizontal",fn("Terminator"),fn("CreateRequest"),fn("Document"),fn("TriangleDown"))),jt(),Qt(),cn()),gt.current.groupTemplate=Rt(We.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:We.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(wt,Ut)=>{var tn=Ut.addMembers(Ut.diagram.selection,!0);tn||Ut.diagram.currentTool.doCancel()},avoidable:!1},new We.KX("location","loc",We.E9.parse).makeTwoWay(We.E9.stringify),Rt(We.s_,"Auto",{name:"BODY"},Rt(We.bn,{parameter1:10,fill:_t.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:We.z6.AllSides,toSpot:We.z6.AllSides},new We.KX("fill"),new We.KX("stroke","color"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),Rt(We.Vm,{background:"transparent",margin:20})),Rt(We.al,{alignment:We.z6.Top,alignmentFocus:We.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new We.KX("text"),new We.KX("stroke","color"))),gt.current.groupTemplate.selectionAdornmentTemplate=Rt(We.uz,"Spot",Rt(We.s_,"Auto",Rt(We.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Rt(We.Vm,{margin:1.5})),Nt({alignment:We.z6.TopRight,alignmentFocus:We.z6.BottomRight})),gt.current.groupTemplate.contextMenu=Rt("ContextMenu",jt(),Qt(),cn()),gt.current.linkTemplate=Rt(We.rU,{layerName:"Foreground",routing:We.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new We.KX("fromSpot","fromSpot",We.z6.parse),new We.KX("toSpot","toSpot",We.z6.parse),new We.KX("fromShortLength","dir",wt=>wt>=1?10:0),new We.KX("toShortLength","dir",wt=>wt>=1?10:0),new We.KX("points").makeTwoWay(),Rt(We.bn,{strokeWidth:2},new We.KX("stroke","color"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),Rt(We.bn,{segmentIndex:0,segmentOffset:new We.E9(15,0),segmentOrientation:We.rU.OrientAlong,alignmentFocus:We.z6.Right,figure:"circle",width:10,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",wt=>wt===1)),Rt(We.bn,{segmentIndex:-1,segmentOffset:new We.E9(-10,6),segmentOrientation:We.rU.OrientPlus90,alignmentFocus:We.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",wt=>wt>=1),new We.KX("width","thickness",wt=>7+3*wt),new We.KX("height","thickness",wt=>7+3*wt),new We.KX("segmentOffset","thickness",wt=>new We.E9(-15,4+1.5*wt))),Rt(We.bn,{segmentIndex:0,segmentOffset:new We.E9(15,-6),segmentOrientation:We.rU.OrientMinus90,alignmentFocus:We.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",wt=>wt===2),new We.KX("width","thickness",wt=>7+3*wt),new We.KX("height","thickness",wt=>7+3*wt),new We.KX("segmentOffset","thickness",wt=>new We.E9(-15,4+1.5*wt))),Rt(We.al,{alignmentFocus:new We.z6(0,1,-4,0),editable:!0},new We.KX("text").makeTwoWay(),new We.KX("stroke","color"))),gt.current.linkTemplate.selectionAdornmentTemplate=Rt(We.uz,Rt(We.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:sn(2)},new We.KX("pathPattern","thickness",sn)),Nt({alignmentFocus:new We.z6(0,0,-6,-4)}));function sn(wt){return Rt(We.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(wt+4).toString()+" H3"})}function yn(wt){var Ut="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return wt===0?Ut="M0 0 M16 16 M0 8 L16 8":wt===2&&(Ut="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Rt(We.bn,{geometryString:Ut,margin:2,background:"transparent",mouseEnter:(tn,Vt)=>Vt.background="dodgerblue",mouseLeave:(tn,Vt)=>Vt.background="transparent",click:Pt("dir",wt),contextClick:Pt("dir",wt)})}function bn(wt){var Ut=(tn,Vt)=>{tn.handled=!0,tn.diagram.model.commit(mn=>{var Nn=Vt.part.adornedPart;mn.set(Nn.data,wt?"toSpot":"fromSpot",We.z6.stringify(We.z6.AllSides)),(wt?Nn.toNode:Nn.fromNode).invalidateConnectedLinks()})};return Rt(We.bn,{width:12,height:12,fill:"transparent",mouseEnter:(tn,Vt)=>Vt.background="dodgerblue",mouseLeave:(tn,Vt)=>Vt.background="transparent",click:Ut,contextClick:Ut})}function Tt(wt,Ut){var tn=0,Vt=We.z6.RightSide;wt.equals(We.z6.Top)?(tn=270,Vt=We.z6.TopSide):wt.equals(We.z6.Left)?(tn=180,Vt=We.z6.LeftSide):wt.equals(We.z6.Bottom)&&(tn=90,Vt=We.z6.BottomSide),Ut||(tn-=180);var mn=(Nn,An)=>{Nn.handled=!0,Nn.diagram.model.commit(Fn=>{var nr=An.part.adornedPart;Fn.set(nr.data,Ut?"toSpot":"fromSpot",We.z6.stringify(Vt)),(Ut?nr.toNode:nr.fromNode).invalidateConnectedLinks()})};return Rt(We.bn,{alignment:wt,alignmentFocus:wt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:tn,background:"transparent",mouseEnter:(Nn,An)=>An.background="dodgerblue",mouseLeave:(Nn,An)=>An.background="transparent",click:mn,contextClick:mn})}gt.current.linkTemplate.contextMenu=Rt("ContextMenu",Qt(),cn(),Rt("ContextMenuButton",Rt(We.s_,"Horizontal",yn(0),yn(1),yn(2))),Rt("ContextMenuButton",Rt(We.s_,"Horizontal",Rt(We.s_,"Spot",bn(!1),Tt(We.z6.Top,!1),Tt(We.z6.Left,!1),Tt(We.z6.Right,!1),Tt(We.z6.Bottom,!1)),Rt(We.s_,"Spot",{margin:new We.Zt(0,0,0,2)},bn(!0),Tt(We.z6.Top,!0),Tt(We.z6.Left,!0),Tt(We.z6.Right,!0),Tt(We.z6.Bottom,!0)))));const Jn=`{ "class": "GraphLinksModel",
|
|
|
"nodeDataArray": [
|
|
|
{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3},
|
|
|
{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"},
|
|
|
{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"},
|
|
|
{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"},
|
|
|
{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"},
|
|
|
{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3},
|
|
|
{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
|
{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
|
{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"}
|
|
|
],
|
|
|
"linkDataArray": [
|
|
|
{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1},
|
|
|
{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1},
|
|
|
{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]},
|
|
|
{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2},
|
|
|
{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"},
|
|
|
{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1},
|
|
|
{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]}
|
|
|
]}`;var kn=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Wn(wt){return console.log("shapeName:",wt),kn.indexOf(wt)>=0}var on=new We.YI(qt.current,{maxSelectionCount:1,linkTemplate:Rt(We.rU,{locationSpot:We.z6.Center,selectionAdornmentTemplate:Rt(We.uz,"Link",{locationSpot:We.z6.Center},Rt(We.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Rt(We.bn,{toArrow:"Standard",stroke:null}))},{routing:We.rU.AvoidsNodes,curve:We.rU.JumpOver,corner:5,toShortLength:4},new We.KX("points"),Rt(We.bn,{isPanelMain:!0,strokeWidth:2}),Rt(We.bn,{toArrow:"Standard",stroke:null})),model:new We.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...We.bn.getFigureGenerators().toArray().map(wt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:wt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return gt.current.addDiagramListener("TextEdited",function(wt){var Ut;const tn=wt.subject.part;var Vt=(Ut=document.activeElement)==null?void 0:Ut.value;typeof Vt=="string"&&Vt.trim()===""&>.current.model.commit(function(mn){mn.set(tn.data,"text","\u672A\u547D\u540D"),gt.current.commandHandler.stopCommand()},"increment")}),on.nodeTemplate=Rt(We.NB,"Auto",{locationSpot:We.z6.Center},new We.KX("location","location",We.E9.parse).makeTwoWay(We.E9.stringify),Rt(We.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new We.KX("stroke").makeTwoWay(),new We.KX("fill").makeTwoWay(),new We.KX("figure")),Rt(We.al,{margin:new We.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new We.$u(16,16),maxSize:new We.$u(10,NaN),textAlign:"center",editable:!0},new We.KX("key").makeTwoWay())),setTimeout(()=>{gt.current.grid=Rt(We.s_,"Grid",Rt(We.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Rt(We.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),gt.current.grid.visible=!0,gt.current.grid.gridCellStroke="darkgray",gt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=gt.current,gt.current}const $n=()=>Xe(this,null,function*(){var Rt=gt.current.makeImage();const _t=yield(0,Ve.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Rt.src}});dt({src:_t.url})});return(0,be.useEffect)(()=>(setTimeout(()=>{Ln()},500),Bn(nn+1),()=>{gt.current=null}),[]),et.createElement("div",{ref:Rn,className:Ht.current?`${ot.maxH60} body-overflow-initial`:"body-overflow-initial"},et.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!nn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:et.createElement(Re.Z,null,et.createElement(Le.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),et.createElement(Le.Z,{onClick:()=>{var Rt,_t,St=gt.current.selection.first();if(Ht.current=!Ht.current,document.activeElement&&St){let Nt=(_t=(Rt=document.activeElement)==null?void 0:Rt.value)==null?void 0:_t.trim();typeof Nt=="string"&>.current.model.commit(function(Pt){Pt.set(St.data,"text",Nt||"\u672A\u547D\u540D"),gt.current.commandHandler.stopCommand()},"increment")}Bn(nn+1)}},et.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:ft},et.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:ot.flowChartWrp},et.createElement("div",{style:{display:"flex",height:"100%"}},et.createElement("div",{style:{width:"300px",height:"100%"}},et.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),et.createElement("div",{style:{height:"calc(100% - 50px)"},className:ot.myPaletteDiv,ref:qt})),et.createElement("div",{style:{flex:1,position:"relative"}},et.createElement("div",{ref:zt,style:{height:"80vh"}}))),et.createElement("div",{className:"tr"},et.createElement(we.ZP,{size:"large",onClick:$n,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Ce=je,De=Se(5112),Fe=Se(5871);const Ye=De.ZP.Group,nt={margin:"0 8px"};var $e=({callback:ft,onCancel:dt})=>{function gt(zt){ft(zt)}return be.createElement(ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:gt},be.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},be.createElement("span",{style:nt},"\u5355\u5143\u683C\u6570\uFF1A"),be.createElement("span",{style:nt},"\u884C\u6570"),be.createElement(ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},be.createElement(Fe.Z,null)),be.createElement("span",{style:nt},"\u5217\u6570"),be.createElement(ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},be.createElement(Fe.Z,null))),be.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},be.createElement("span",{style:nt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),be.createElement(ve.default.Item,{name:"align"},be.createElement(Ye,null,be.createElement(De.ZP,{value:"default"},be.createElement("i",{className:"fa fa-align-justify"})),be.createElement(De.ZP,{value:"left"},be.createElement("i",{className:"fa fa-align-left"})),be.createElement(De.ZP,{value:"center"},be.createElement("i",{className:"fa fa-align-center"})),be.createElement(De.ZP,{value:"right"},be.createElement("i",{className:"fa fa-align-right"}))))),be.createElement("div",{className:"flex-container flex-end"},be.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(we.ZP,{type:"ghost",onClick:dt},"\u53D6\u6D88")))},tt=Se(78673),lt=Se(5559),at=Se.n(lt),st=(0,be.forwardRef)(({use3d:ft,width:dt,height:gt,callback:zt,showSaveButton:qt},Ht)=>{const Rn=(0,be.useRef)(),nn=(0,be.useRef)(),[Bn,Ln]=(0,be.useState)(!1),$n=(0,be.useRef)({id:Rn,appName:"graphing",width:dt||1e3,height:gt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,be.useEffect)(()=>{nn.current=new(at())($n.current,!0),window.onload=function(){nn.current.inject("applet_container")}},[]);const Rt=()=>{var _t=window.ggbApplet.getPNGBase64(1,!0,72);return zt&&zt(_t),_t};return(0,be.useEffect)(()=>{$n.current.appName=Bn?"3D":"graphing",nn.current.inject("applet_container")},[Bn]),(0,be.useEffect)(()=>{Ln(ft)},[ft]),(0,be.useImperativeHandle)(Ht,()=>({getImgData:Rt})),be.createElement(be.Fragment,null,be.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Rn}),be.createElement(Re.Z,{align:"middle"},be.createElement(Le.Z,{flex:1},be.createElement(tt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Bn,onChange:_t=>Ln(_t)})),be.createElement(Le.Z,null,be.createElement(we.ZP,{size:"large",onClick:Rt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),vt=Se(46531),mt=Se(8591);const pt="link",yt="upload-image",Et="add-flowchart",At="draw-image",kt="add-flowchart",$t="code-block",rn="add-table",Pn="------------",In={default:Pn,left:`:${Pn}`,center:`:${Pn}:`,right:`${Pn}:`};var En=Se(50505);function gn(){}let Gn=0;const On=1e4,Zn="\u2581",Xn="@\u2581\u2581@",_n="@\u2581@",wr=`
|
|
|
**\u6A21\u677F\u6807\u9898**
|
|
|
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Ft=["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 It(ft){return/^\d+$/.test(ft)?`${ft}px`:ft}const vn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Dn={[vn+"-B"]:"bold",[vn+"-I"]:"italic"},xn={[pt]:"\u6DFB\u52A0\u94FE\u63A5",[$t]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[yt]:"\u6DFB\u52A0\u56FE\u7247",[At]:"\u6DFB\u52A0\u753B\u56FE",[Et]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[rn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var pn=({defaultValue:ft="",onChange:dt,width:gt="100%",height:zt=400,miniToolbar:qt=!1,isFocus:Ht=!1,watch:Rn,insertTemp:nn,mode:Bn="markdown",id:Ln="markdown-editor-id",showResizeBar:$n=!1,noStorage:Rt=!1,showNullButton:_t=!1,showNullProgramButton:St=!1,hidetoolBar:Nt=!1,fullScreen:Pt=!1,onBlur:xt,onCMBeforeChange:jt,onFullScreen:Qt,className:Xt="",disablePaste:an=!1,disabled:cn=!1,disabledFill:fn=!1,placeholder:sn="",values:yn="",extraUse:bn})=>{const[Tt,Jn]=(0,be.useState)(null),[kn,Wn]=(0,be.useState)(ft),[on,wt]=(0,be.useState)(Rn),[Ut,tn]=(0,be.useState)(Pt),[Vt,mn]=(0,be.useState)(""),[Nn,An]=(0,be.useState)(0),[Fn,nr]=(0,be.useState)(zt),[vr,gr]=(0,be.useState)(!1),[Yt,_r]=(0,be.useState)(0),[xr,Ar]=(0,be.useState)(0),lr=(0,be.useRef)(),mr=(0,be.useRef)(),dr=(0,be.useRef)(),rr=(0,be.useRef)();(0,be.useEffect)(()=>{const bt=window.scrollY||window.pageYOffset;Wn(yn),Tt==null||Tt.setValue(yn),window.scrollTo(0,bt)},[yn]),(0,be.useEffect)(()=>{Qt==null||Qt(Ut)},[Ut]),(0,be.useEffect)(()=>{if(lr.current){let bt=function(Bt,Mt){var Jt;if(an){Mt.preventDefault();return}const Zt=Mt.clipboardData;if(Zt){const Kt=Zt.types.toString(),en=Zt.items;if(Kt==="Files"||Zt.types.indexOf("Files")>-1){if(Mt.preventDefault(),Bn=="stex")return;try{let Gt=en[1];((Jt=en[0])==null?void 0:Jt.kind)==="file"&&(Gt=en[0]);const Cn=Gt.getAsFile(),dn=Cn.name.split(".").pop();(0,Ue.I)(Cn,Tn=>{var wn,qn,ir;Tn.id?((wn=Cn==null?void 0:Cn.type)==null?void 0:wn.indexOf("image"))>-1?Ot.replaceSelection(``):((qn=Cn==null?void 0:Cn.type)==null?void 0:qn.indexOf("video"))>-1?Ot.replaceSelection(`<video width="100%" controls src="/api/attachments/${Tn.id}"></video>`):((ir=Cn==null?void 0:Cn.type)==null?void 0:ir.indexOf("pdf"))>-1?Ot.replaceSelection(`<a href="/api/attachments/${Tn.id}?type=${Cn.type}&disposition=inline" target="_blank">${Cn.name}</a>`):Ft.includes(dn)?Ot.replaceSelection(`<a href="/api/attachments/${Tn.id}?type=office&disposition=inline" target="_blank">${Cn.name}</a>`):Ot.replaceSelection(`[${Cn.name}](/api/attachments/${Tn.id}?type=${Tn.content_type})`):(Tn==null?void 0:Tn.status)===401&&(document.location.href="/user/login")})}catch(Gt){mt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Ot=E().fromTextArea(lr.current,{mode:Bn,lineNumbers:!qt,lineWrapping:!0,value:ft,autoCloseTags:!0,autoCloseBrackets:!0});return Ot.on("keyup",function(Bt,Mt){Mt.keyCode===8&&(Bt.getValue()==""?Ot.setOption("placeholder",sn):Ot.setOption("placeholder",null))}),Ot.on("keydown",function(Bt,Mt){if(Mt.keyCode===8){var Jt=Yn(Bt);Jt&&Mt.preventDefault()}}),Ht&&Ot.focus(),Ot.on("paste",bt),cn&&Ot.on("beforeChange",function(Bt,Mt){(Mt.origin==="paste"||Mt.origin==="+input")&&Mt.cancel()}),Jn(Ot),()=>{Ot.off("paste",bt)}}},[]);const Mn=(0,be.useCallback)(()=>{if(mr.current)try{}catch(bt){console.log(bt,"---- to set md editor body height")}},[Fn,mr,Ut]);(0,be.useEffect)(()=>{function bt(){let Ot=new me.Z(Bt=>{for(let Mt of Bt)(Mt.target.offsetHeight>0||Mt.target.offsetWidth>0)&&(Mn(),Tt.setSize("100%","100%"),Tt.refresh())});return Ot.observe(lr.current.parentElement),Ot}if(Tt){const Ot=bt();return()=>{var Bt,Mt;(Bt=lr.current)!=null&&Bt.parentElement&&Ot.unobserve((Mt=lr.current)==null?void 0:Mt.parentElement)}}},[Tt,Mn]),(0,be.useEffect)(()=>{if(Tt){let bt=[];for(const[Ot,Bt]of Object.entries(Dn)){let Mt={[Ot]:()=>{ur(Bt)}};bt.push(Mt),Tt.addKeyMap(Mt)}return()=>{for(let Ot of bt)Tt.removeKeyMap(Ot)}}},[Tt]),(0,be.useEffect)(()=>{Pt!==Ut&&tn(Pt)},[Pt]),(0,En.Z)(()=>{if(!Rt&&Nn>0){let bt=new Date().getTime(),Ot=window.sessionStorage.getItem(Ln);bt>=Nn+On&&(!Ot||Ot!==kn)&&(window.sessionStorage.setItem(Ln,kn),gr(!0))}},On),(0,be.useEffect)(()=>{wt(Rn)},[Tt,Rn]),(0,be.useEffect)(()=>{Tt&&Ht&&Tt.focus()},[Tt,Ht]),(0,be.useEffect)(()=>{if(on&&Tt){let bt=function(Bt){let Mt=Bt.target;if(rr.current){let Jt=Mt.scrollTop/Mt.scrollHeight;rr.current.scrollTop=rr.current.scrollHeight*Jt}};const Ot=Tt.getScrollerElement();return Ot.addEventListener("scroll",bt),()=>{Ot.removeEventListener("scroll",bt)}}},[Tt,on]),(0,be.useEffect)(()=>{if(Tt&&jt){let bt=function(Ot,Bt){jt(Ot,Bt)};return Tt.on("beforeChange",bt),()=>{Tt.off("beforeChange",bt)}}},[Tt,jt]),(0,be.useEffect)(()=>{if(Tt&&xt){let bt=function(){xt(Tt.getValue())};return Tt.on("blur",bt),()=>{Tt.off("blur",bt)}}},[Tt,xt]);function Yn(bt,Ot){var Bt=bt.getDoc(),Mt=Bt.getCursor(),Jt=Bt.getLine(Mt.line),Zt=Jt.charAt(Mt.ch-1),Kt=Jt.lastIndexOf("@\u2581@",Mt.ch),en=Jt.lastIndexOf("@\u2581\u2581@",Mt.ch),Gt=Kt>en?Kt:en,Cn=Kt>en?3:4;if(Xn.indexOf(Zt)===-1)return null;if(console.log("change1:",Ot,bt,Jt,Mt,Gt,Kt,en,Zt),Gt>=0&&Mt.ch-Gt<5){var dn=Gt+Cn;return Bt.replaceRange("",{line:Mt.line,ch:Gt},{line:Mt.line,ch:dn}),{line:Mt.line,ch:dn}}return null}(0,be.useEffect)(()=>{if(Tt){let bt=function(Ot,Bt){const Mt=Ot.getValue();Wn(Mt),An(new Date().getTime()),Ot.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),dt&&(St?dt(Mt,Lr(Mt)):dt(Mt))};return Tt.on("change",bt),()=>{Tt.off("change",bt)}}},[Tt,dt]),(0,be.useEffect)(()=>{if(Tt)if(ft==null)Tt.setValue(""),Wn("");else{const bt=window.scrollY||window.pageYOffset;ft!==Tt.getValue()&&(Tt.setValue(ft),Wn(ft),Tt.setCursor(cn?1:Tt.lineCount(),0),window.scrollTo(0,bt))}},[Tt,ft]);const ur=(0,be.useCallback)(bt=>{const Ot=Tt.getCursor(),Bt=Tt.getSelection();let Mt=Bt.split(`
|
|
|
`);switch(bt){case"bold":return Tt.replaceSelection("**"+Bt+"**"),Bt===""&&Tt.setCursor(Ot.line,Ot.ch+2),Tt.focus();case"italic":return Tt.replaceSelection("*"+Bt+"*"),Bt===""&&Tt.setCursor(Ot.line,Ot.ch+1),Tt.focus();case"code":return Tt.replaceSelection("`"+Bt+"`"),Bt===""&&Tt.setCursor(Ot.line,Ot.ch+1),Tt.focus();case"inline-latex":return mn("inline-latex"),Tt.focus();case"latex":return Tt.replaceSelection("```latex\n"+Bt+"\n```"),Tt.setCursor(Ot.line+1,Bt.length+1),Tt.focus();case"line-break":return Tt.replaceSelection(`<br/>
|
|
|
`),Tt.focus();case"list-ul":return Bt===""?Tt.replaceSelection("- "+Bt):Tt.replaceSelection(Mt.map(Jt=>Jt===""?"":`- ${Jt}`).join(`
|
|
|
`)),Tt.focus();case"list-ol":return Bt===""?Tt.replaceSelection("1. "+Bt):Tt.replaceSelection(Mt.map((Jt,Zt)=>Jt===""?"":`${Zt+1}. ${Jt}`).join(`
|
|
|
`)),Tt.focus();case"add-null-ch":return Bt===""&&Tt.setCursor(Ot.line,Ot.ch),Tt.replaceSelection(Zn),Tt.focus();case"add-signal":return Bt===""&&Tt.setCursor(Ot.line,Ot.ch),Tt.replaceSelection(_n),Tt.focus();case"add-multiple":return Bt===""&&Tt.setCursor(Ot.line,Ot.ch),Tt.replaceSelection(Xn),Tt.focus();case"inster-template-1":return Bt===""&&Tt.setCursor(Ot.line,Ot.ch),Tt.replaceSelection(wr),Tt.focus();case"eraser":return Tt.setValue(""),Tt.focus();case"trigger-watch":return wt(!on),Tt.focus();case"trigger-full-screen":return tn(!Ut),Tt.focus();case pt:mn(pt);return;case $t:mn($t);return;case yt:mn(yt);return;case At:mn(At);return;case"maths-latex":mn("maths-latex");return;case Et:mn(Et);return;case rn:mn(rn);return;default:throw new Error}},[Tt,on,Ut]),Kn=(0,be.useCallback)((bt,Ot)=>{var Bt,Mt,Jt,Zt,Kt,en;switch(mn(""),Vt){case pt:const{title:wn,link:qn}=bt;return Tt.replaceSelection(`[${wn}](${qn})`),Tt.focus();case $t:const{language:ir,content:Sr}=bt;return Tt.replaceSelection(["```"+ir,Sr,"```"].join(`
|
|
|
`)),Tt.focus();case"maths-latex":for(var Gt=atob(bt),Cn=new Uint8Array(Gt.length),dn=0;dn<Gt.length;dn++)Cn[dn]=Gt.charCodeAt(dn);var Tn=new Blob([Cn],{type:"image/png"});(0,Ue.I)(Tn,jn=>{jn.id?Tt.replaceSelection(``):(jn==null?void 0:jn.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Tt.replaceSelection("`$$"+bt+"$$`");break;case yt:case At:case kt:const{src:br,alt:er}=bt,sr=Ot,Cr=(Jt=(Mt=(Bt=sr==null?void 0:sr.name)==null?void 0:Bt.split("."))==null?void 0:Mt.pop)==null?void 0:Jt.call(Mt);return((Zt=sr==null?void 0:sr.type)==null?void 0:Zt.indexOf("image"))>-1||!(sr!=null&&sr.type)?er?Tt.replaceSelection(``):Tt.replaceSelection(``):((Kt=sr==null?void 0:sr.type)==null?void 0:Kt.indexOf("video"))>-1?Tt.replaceSelection(`<video width="100%" controls src="${br}"></video>`):((en=sr==null?void 0:sr.type)==null?void 0:en.indexOf("pdf"))>-1?Tt.replaceSelection(`<a href="${br}?type=${sr.type}&disposition=inline" target="_blank">${sr.name}</a>`):Ft.includes(Cr)?Tt.replaceSelection(`<a href="${br}?type=office&disposition=inline" target="_blank">${sr.name}</a>`):Tt.replaceSelection(`[${sr.name}](${br})`),Tt.focus();case rn:const{row:Lt,col:un,align:ln}=bt;let Wt=`
|
|
|
`;for(let jn=0;jn<Lt;jn++){let Hn=[],zn=[];for(let tr=0;tr<un;tr++)jn===1&&zn.push(In[ln]),Hn.push(" ");jn===1&&(Wt+=`| ${zn.join(" | ")} |
|
|
|
`),Wt+=`| ${Hn.join(un===1?"":" | ")} |
|
|
|
`}return Tt.replaceSelection(Wt+`
|
|
|
`),Tt.focus();default:throw new Error}},[Tt,Vt]),cr=(0,be.useMemo)(()=>{switch(Vt){case pt:return be.createElement(Ze,{callback:Kn,onCancel:or});case $t:return be.createElement(Ke.Z,{callback:Kn,onCancel:or});case yt:return be.createElement(Ue.Z,{callback:Kn,onCancel:or});case Et:return be.createElement(Ce,{callback:Kn,onCancel:or});case rn:return be.createElement($e,{callback:Kn,onCancel:or});case"maths-latex":return be.createElement(st,{showSaveButton:!0,callback:Kn});case"inline-latex":return be.createElement(vt.Z,{showSaveButton:!0,callback:Kn});default:return null}},[Vt]);function or(){mn("")}(0,be.useEffect)(()=>{if(dr.current){let bt=function(Kt){Jt=!0,Zt=Kt.pageY},Ot=function(){Jt=!1},Bt=function(Kt){if(Jt){let en=Kt.pageY-Zt;en<0&&(en=0),en>300&&(en=300);let Gt=zt+en+"px";nr(Gt)}},Mt=dr.current,Jt=!1,Zt=0;return Mt.addEventListener("mousedown",bt),document.addEventListener("mousemove",Bt),document.addEventListener("mouseup",Ot),()=>{Mt.removeEventListener("mousedown",bt),document.removeEventListener("mousemove",Bt),document.removeEventListener("mouseup",Ot)}}},[Tt,dr]),(0,be.useEffect)(()=>{nr(zt)},[zt]);const yr=It(gt),Er=It(Fn),ar={width:yr,height:Er},Mr=(0,be.useMemo)(()=>{if(Nn){let bt=new Date(Nn),Ot=bt.getHours(),Bt=bt.getMinutes(),Mt=bt.getSeconds();return Ot=Ot<10?"0"+Ot:Ot,Bt=Bt<10?"0"+Bt:Bt,Mt=Mt<10?"0"+Mt:Mt,`${Ot}:${Bt}:${Mt}`}return 0},[Nn]),Lr=bt=>{const Ot=[];if(St){let Bt=-1;bt=bt.replace(/(@▁▁@|@▁@)/g,function(Mt,Jt,Zt){Ot.push({multiLine:Mt!==_n})})}return Ot};function Dr(){window.sessionStorage.removeItem(Ln),gr(!1),An(0)}function Br(){gr(!1),An(0),Tt.setValue(window.sessionStorage.getItem(Ln))}(0,be.useEffect)(()=>{xn[Vt]&&Vt!==At&&Vt!==Et&&setTimeout(()=>{const bt=document.getElementsByClassName("markdown-popup-form")[0],Ot=window.innerWidth/2-bt.offsetWidth/2,Bt=window.innerHeight/2-bt.offsetHeight/2;_r(Ot),Ar(Bt)},0)},[Vt]);const ht=bt=>{bt.preventDefault();const Ot=bt.clientX-Yt,Bt=bt.clientY-xr;document.body.onmousemove=Mt=>{let Jt=Mt.clientX-Ot,Zt=Mt.clientY-Bt;const Kt=document.getElementsByClassName("markdown-popup-form")[0],en=window.innerWidth-Kt.offsetWidth,Gt=window.innerHeight-Kt.offsetHeight;Jt=Math.max(0,Math.min(Jt,en)),Zt=Math.max(0,Math.min(Zt,Gt)),Ct(Mt.clientX,Mt.clientY,Ot,Bt)&&(_r(Jt),Ar(Zt))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ct=(bt,Ot,Bt,Mt)=>{const Jt=document.body.clientHeight,Zt=document.body.clientWidth;return bt<20&&Bt>bt||bt>Zt-20&&Bt<bt||Ot<20&&Mt>Ot||Ot>Jt-20&&Mt<Ot?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return be.createElement(be.Fragment,null,be.createElement("div",{className:"markdown-editor-wrapper",ref:mr},be.createElement("div",{className:`markdown-editor-container ${Xt} ${on?"on-preview":""} ${qt?"mini":""} ${Ut?"full-screen":""}`,style:ar},be.createElement(pe,{insertTemp:nn,watch:on,fullScreen:Ut,showNullButton:_t,showNullProgramButton:St,onActionCallback:ur,hidetoolBar:Nt,extraUse:bn}),be.createElement("div",{className:"markdown-editor-body"},be.createElement("div",{className:"codemirror-container"},be.createElement("textarea",{ref:lr,placeholder:sn})),on?be.createElement("div",{ref:rr,className:"preview-container"},Bn==="stex"&&be.createElement(re,{value:kn}),Bn!=="stex"&&be.createElement(oe.Z,{disabledFill:fn,showProgramFill:St,value:kn})):null))),$n?be.createElement("a",{ref:dr,className:"editor-resize"}):null,Vt===At&&be.createElement(rt,{callback:Kn,onCancel:or}),Vt===Et&&be.createElement(Ce,{callback:Kn,onCancel:or}),be.createElement(ye.Z,null,xn[Vt]&&Vt!==At&&Vt!==Et?be.createElement(ke.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Yt,top:xr},title:be.createElement("div",{style:{cursor:"move"},onMouseDown:ht},xn[Vt]),open:!0,onCancel:or,footer:null,destroyOnClose:!0,width:Vt===Et?"1200px":null,height:Vt===Et?"80vh":null,className:"markdown-popup-form"},cr):null))}},56030:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return z},I:function(){return fe}});var be=Se(78241),Be=Se(8591),E=Se(92832),me=Se(3113),de=Se(49291),le=Se(59301),ae=Se(59301),ie=Object.defineProperty,se=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,te=(ge,he,pe)=>he in ge?ie(ge,he,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ge[he]=pe,a=(ge,he)=>{for(var pe in he||(he={}))re.call(he,pe)&&te(ge,pe,he[pe]);if(oe)for(var pe of oe(he))ne.call(he,pe)&&te(ge,pe,he[pe]);return ge},y=(ge,he)=>se(ge,ce(he));const{useForm:x}=be.default,b={width:280,marginRight:10},ee={labelCol:{span:5},wrapperCol:{span:19}};var z=({callback:ge,onCancel:he})=>{const[pe]=x();let ye=(0,le.useRef)();function ve(Ae){ge(Ae,ye.current)}function Pe(Ae,_e){if(Ae.status===-1){Be.ZP.error(Ae.message);return}pe.setFieldsValue({src:`/api/attachments/${Ae.id}`,type:_e.type})}function we(Ae){let _e=Ae.target.files[0];ye.current=_e,fe(_e,Pe)}return ae.createElement(be.default,y(a({form:pe},ee),{className:"upload-image-panel",onFinish:ve,style:{width:470,overflow:"hidden"}}),ae.createElement(be.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ae.createElement("div",{className:"flex-container"},ae.createElement(be.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},ae.createElement(E.default,{style:b})),ae.createElement(ue,{onFileChange:we}))),ae.createElement(be.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ae.createElement(E.default,{style:{width:264}})),ae.createElement(be.default.Item,{style:{textAlign:"right"}},ae.createElement(me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(me.ZP,{type:"default",onClick:he},"\u53D6\u6D88")))};function ue({onFileChange:ge}){return ae.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ae.createElement("input",{type:"file",onChange:ge}))}function fe(ge,he){if(!ge)throw new String("\u6CA1\u6709\u6587\u4EF6");let pe=new FormData;pe.append("editormd-image-file",ge),pe.append("file_param_name","editormd-image-file"),pe.append("byxhr","true");var ye=new window.XMLHttpRequest;ye.withCredentials=!0,ye.addEventListener("load",function(ve){he(JSON.parse(ve.target.responseText),ge)},!1),ye.addEventListener("error",function(ve){console.error(ve)},!1),ye.open("POST",`${de.KI}/api/attachments.json`),ye.send(pe)}},19647:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return E}});var be=Se(59301),Be=Se(4676);class E extends be.Component{constructor(de){super(de);const le=window.document;this.node=le.createElement("div"),le.body.appendChild(this.node)}render(){const{children:de}=this.props;return(0,Be.createPortal)(de,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},57800:function(ct,it,Se){"use strict";Se.d(it,{SV:function(){return je},ZP:function(){return Xe}});var be=Se(59301),Be=Se(76374);const E={keywords:["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"]},me={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
|
`)}],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"]},de={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}) {"," $0","} else {"," ","}"].join(`
|
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
|
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
|
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
|
`)}]},le={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(`
|
|
|
`)}]},ae={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(`
|
|
|
`)}]};var ie=Se(7947),se=Se.n(ie),ce=Object.defineProperty,oe=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(Ce,De,Fe)=>De in Ce?ce(Ce,De,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):Ce[De]=Fe,x=(Ce,De)=>{for(var Fe in De||(De={}))te.call(De,Fe)&&y(Ce,Fe,De[Fe]);if(ne)for(var Fe of ne(De))a.call(De,Fe)&&y(Ce,Fe,De[Fe]);return Ce},b=(Ce,De)=>oe(Ce,re(De)),ee=(Ce,De,Fe)=>new Promise((Ye,nt)=>{var $e=at=>{try{lt(Fe.next(at))}catch(ut){nt(ut)}},tt=at=>{try{lt(Fe.throw(at))}catch(ut){nt(ut)}},lt=at=>at.done?Ye(at.value):Promise.resolve(at.value).then($e,tt);lt((Fe=Fe.apply(Ce,De)).next())});const z={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"]}},ue=(Ce,De)=>De.map(Fe=>({label:Fe,kind:Ce.languages.CompletionItemKind.Keyword,insertText:Fe})),fe=Ce=>Object.keys(z.tables).map(De=>({label:De,kind:Ce.languages.CompletionItemKind.Variable,insertText:De})),ge=(Ce,De)=>{const Fe=z.tables[Ce];return Fe?Fe.map(Ye=>({label:Ye,kind:De.languages.CompletionItemKind.Field,insertText:Ye})):[]};function he(Ce,De,Fe,Ye,nt){let $e=De.getWordUntilPosition(Fe),tt={startLineNumber:Fe.lineNumber,endLineNumber:Fe.lineNumber,startColumn:$e.startColumn,endColumn:$e.endColumn},lt=Ye.map(at=>({label:at,kind:Ce.languages.CompletionItemKind.Keyword,insertText:at,insertTextRules:Ce.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:tt}));return nt.map(at=>{lt.push(b(x({},at),{range:tt}))}),lt}var pe=Ce=>{z.languages.map(nt=>(Ce.languages.registerDocumentFormattingEditProvider(nt,{provideDocumentFormattingEdits($e,tt,lt){return ee(this,null,function*(){const at=se()($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});return[{range:$e.getFullModelRange(),text:at}]})}}),nt));const De=de.quickKey.map(nt=>({label:nt.label,kind:Ce.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:Ce.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Fe=le.quickKey.map(nt=>({label:nt.label,kind:Ce.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:Ce.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Ye=me.quickKey.map(nt=>({label:nt.label,kind:Ce.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:Ce.languages.CompletionItemInsertTextRule.InsertAsSnippet}));Ce.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),lt={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},at=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...de.keywords.map(ut=>({label:ut,kind:Ce.languages.CompletionItemKind.Function,documentation:ut,insertText:ut,insertTextRules:Ce.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt})),...de.quickKey.map(ut=>({label:ut.label,kind:Ce.languages.CompletionItemKind.Function,documentation:ut.content,insertText:at.startsWith("#")?ut.content.replace(/#/,""):ut.content,insertTextRules:Ce.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt}))]}}}),Ce.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),lt={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn};return{suggestions:[...E.keywords.map(at=>({label:at,kind:Ce.languages.CompletionItemKind.Function,documentation:at,insertText:at,insertTextRules:Ce.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt}))]}}}),Ce.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),lt={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},at=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...me.keywords.map(ut=>({label:ut,kind:Ce.languages.CompletionItemKind.Function,documentation:ut,insertText:ut,insertTextRules:Ce.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt})),...me.quickKey.map(ut=>({label:ut.label,kind:Ce.languages.CompletionItemKind.Function,documentation:ut.content,insertText:at.startsWith("#")?ut.content.replace(/#/,""):ut.content,insertTextRules:Ce.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt}))]}}}),Ce.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),lt={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},at=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...ae.keywords.map(ut=>({label:ut,kind:Ce.languages.CompletionItemKind.Function,documentation:ut,insertText:ut,insertTextRules:Ce.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt})),...ae.quickKey.map(ut=>({label:ut.label,kind:Ce.languages.CompletionItemKind.Function,documentation:ut.content,insertText:at.startsWith("#")?ut.content.replace(/#/,""):ut.content,insertTextRules:Ce.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt}))]}}}),Ce.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),lt={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},at=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...le.keywords.map(ut=>({label:ut,kind:Ce.languages.CompletionItemKind.Function,documentation:ut,insertText:ut,insertTextRules:Ce.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt})),...le.quickKey.map(ut=>({label:ut.label,kind:Ce.languages.CompletionItemKind.Function,documentation:ut.content,insertText:at.startsWith("#")?ut.content.replace(/#/,""):ut.content,insertTextRules:Ce.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt}))]}}})};const ye="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ve=Object.defineProperty,Pe=(Ce,De,Fe)=>De in Ce?ve(Ce,De,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):Ce[De]=Fe,we=(Ce,De,Fe)=>Pe(Ce,typeof De!="symbol"?De+"":De,Fe);const Ae=class Jr{constructor(De,Fe,Ye){this.placeholder=De,this.editor=Fe,this.monaco=Ye,Fe.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Jr.ID}getDomNode(){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}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};we(Ae,"ID","editor.widget.placeholderHint");var xe=Ae,Ee=Se(96236),Oe=Se(8591),Ie=Se(6848),Ne=Se(89392),Te=Se(50484),Je=Se(56102),Qe=Object.defineProperty,Ze=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,He=(Ce,De,Fe)=>De in Ce?Qe(Ce,De,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):Ce[De]=Fe,qe=(Ce,De)=>{for(var Fe in De||(De={}))ke.call(De,Fe)&&He(Ce,Fe,De[Fe]);if(Ue)for(var Fe of Ue(De))Re.call(De,Fe)&&He(Ce,Fe,De[Fe]);return Ce},rt=(Ce,De)=>Ze(Ce,Ke(De)),We=(Ce,De)=>{var Fe={};for(var Ye in Ce)ke.call(Ce,Ye)&&De.indexOf(Ye)<0&&(Fe[Ye]=Ce[Ye]);if(Ce!=null&&Ue)for(var Ye of Ue(Ce))De.indexOf(Ye)<0&&Re.call(Ce,Ye)&&(Fe[Ye]=Ce[Ye]);return Fe},ze=(Ce,De,Fe)=>new Promise((Ye,nt)=>{var $e=at=>{try{lt(Fe.next(at))}catch(ut){nt(ut)}},tt=at=>{try{lt(Fe.throw(at))}catch(ut){nt(ut)}},lt=at=>at.done?Ye(at.value):Promise.resolve(at.value).then($e,tt);lt((Fe=Fe.apply(Ce,De)).next())});function Me(Ce){return/^\d+$/.test(Ce)?`${Ce}px`:Ce}function Ge(){}let Le=!1;const Ve={"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 ot(Ce=[]){let De=Ce;if(Array.isArray(Ce)){for(let Fe=0;Fe<Ce.length;Fe++){let Ye=Ve[Ce[Fe]];if(Ye)return Ye}return De[0]}return Ve[De]||De}let et=null;var Xe=Ce=>{var De=Ce,{width:Fe="100%",height:Ye="100%",value:nt,language:$e="javascript",style:tt={},options:lt={},overrideServices:at={},theme:ut="vs-dark",onEditBlur:st,isCopy:vt=!1,onSave:mt,autoHeight:pt=!1,forbidCopy:yt=!1,onChange:Et=Ge,editorDidMount:At=Ge,onFocus:kt=Ge,onBreakPoint:$t=Ge,breakPointValue:rn=[],filename:Pn="educoder.txt",errorLine:In,errorContent:En="",highlightLine:gn,openBreakPoint:Gn=!1,placeholder:On=""}=De,Zn=We(De,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Xn=(0,be.useRef)(),_n=(0,be.useRef)({}),wr=(0,be.useRef)(),Ft=(0,be.useRef)(),It=(0,be.useRef)([]),Dt=(0,be.useRef)(!1),vn=(0,be.useRef)(),Dn=(0,be.useRef)(),xn=(0,be.useRef)(!1),[pn,ft]=(0,be.useState)(!1);function dt(){let xt;return Xn.current&&(xt=new Be.Z(jt=>{for(let Qt of jt)(Qt.target.offsetHeight>0||Qt.target.offsetWidth>0)&&_n.current.instance.layout()}),xt.observe(Xn.current)),xt}function gt(){Oe.ZP.warning({content:decodeURIComponent(ye),key:"monaco-editor-tip"})}const zt=()=>{let xt=_n.current.instance;if(nt!=null&&xt&&pn){const jt=xt.getModel();jt&&nt!==jt.getValue()&&(Le=!0,jt.setValue(nt),xt.layout(),Le=!1)}};(0,be.useEffect)(()=>{const xt=Te.Z.subscribe("formatDocument",jt=>{var Qt;let Xt=_n.current.instance;(Qt=Xt==null?void 0:Xt.getAction)==null||Qt.call(Xt,"editor.action.formatDocument").run()});return window.updateMonacoValue=jt=>{Et(jt)},xt},[]),(0,be.useEffect)(()=>{var xt;let jt=_n.current.instance;Ft.current&&clearTimeout(Ft.current),Ft.current=setTimeout(()=>{zt()},500),nt&&(nt!=null&&nt.length)&&((xt=jt==null?void 0:jt.updateOptions)==null||xt.call(jt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(nt.split(/\r\n|\r|\n/g).length))+3,5)}))},[nt,pn,_n.current]),(0,be.useEffect)(()=>{if(In&&_n.current&&_n.current.instance){let jt=_n.current.instance;jt.changeViewZones(function(Qt){var Xt=document.createElement("div");Xt.style.padding="10px 20px",Xt.style.width="calc(100% - 20px)",Xt.className="my-error-line-wrp",Xt.innerHTML=En,Qt.addZone({afterLineNumber:In||11,heightInLines:3,domNode:Xt})});var xt={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}};jt.addOverlayWidget(xt),jt.revealPositionInCenter({lineNumber:20,column:1})}},[In,_n.current,pn]);const qt=(xt="",jt)=>{if(!xt||xt.trim()==="")return!0;const Xt=_n.current.instance.getModel().getLineTokens(jt);let an=!1;for(let cn=0;cn<2;cn++)Xt.getStandardTokenType(cn)===1&&(an=!0);return an};(0,be.useEffect)(()=>{var xt;const jt=(xt=_n.current)==null?void 0:xt.instance;if(jt&&pn&&yt){const Qt=jt.onDidBlurEditorWidget(()=>{xn.current=!1}),Xt=jt.onDidFocusEditorText(()=>{xn.current=!0});return()=>{Qt.dispose(),Xt.dispose()}}},[_n.current,pn,yt]),(0,be.useEffect)(()=>{var xt;if((xt=_n.current)!=null&&xt.instance&&pn&&Gn){let jt=_n.current.instance,Qt=jt.getModel();if(!Qt)return;(()=>{var on;let wt=[],Ut=[];const tn=Qt.getAllDecorations();for(let mn of tn)mn.options.className==="highlighted-line"&&(wt.push((on=mn==null?void 0:mn.range)==null?void 0:on.startLineNumber),Ut.push(mn==null?void 0:mn.id));if(gn===wt[0])return;Qt.deltaDecorations(Ut,[]);const Vt=Qt.getLineCount();gn&&gn<=Vt&&(jt.deltaDecorations([],[{range:new et.Range(gn,1,gn,Qt.getLineMaxColumn(gn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),jt.revealLineInCenter(gn))})();const an=(on=!1)=>{var wt;let Ut=[],tn=[];const Vt=Qt.getAllDecorations();for(let mn of Vt)mn.options.linesDecorationsClassName==="breakpoints-select"&&(Ut.push((wt=mn==null?void 0:mn.range)==null?void 0:wt.startLineNumber),tn.push(mn==null?void 0:mn.id));if(on)return{lines:Ut,ids:tn};$t(Ut)},cn=on=>ze(void 0,null,function*(){let wt={range:new et.Range(on,1,on,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Qt.deltaDecorations([],[wt]),an()}),fn=on=>ze(void 0,null,function*(){let wt=[];const Ut=jt.getLineDecorations(on);for(let tn of Ut)tn.options.linesDecorationsClassName==="breakpoints-select"&&wt.push(tn.id);yield Qt.deltaDecorations(wt,[]),an()}),sn=on=>{let wt=jt.getLineDecorations(on);for(let Ut of wt)if(Ut.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Ne.isEqual)(rn,an(!0).lines)){Qt.deltaDecorations(an(!0).ids,[]);const on=rn.map(wt=>({range:new et.Range(wt,1,wt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Qt.deltaDecorations([],on)}const yn=jt.onDidChangeModelContent(on=>{let wt=jt.getPosition();if(wt){let Ut=wt.lineNumber;clearTimeout(Dn.current),Dn.current=setTimeout(()=>{qt(Qt.getLineContent(Ut),Ut)?fn(Ut):sn(Ut)?(fn(Ut),cn(Ut)):an()},100)}}),bn=jt.onMouseDown(on=>{var wt,Ut,tn;if(on.target.detail&&((tn=(Ut=(wt=on.target)==null?void 0:wt.element)==null?void 0:Ut.className)!=null&&tn.includes("line-numbers"))){let Vt=on.target.position.lineNumber;if(qt(Qt.getLineContent(Vt),Vt))return;sn(Vt)?fn(Vt):cn(Vt)}}),Tt=on=>{let wt={range:new et.Range(on,1,on,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};It.current=jt.deltaDecorations(It.current,[wt])},Jn=()=>{It.current=jt.deltaDecorations(It.current,[])},kn=jt.onMouseMove(on=>{var wt,Ut,tn;if(Jn(),on.target.detail&&((tn=(Ut=(wt=on.target)==null?void 0:wt.element)==null?void 0:Ut.className)!=null&&tn.includes("line-numbers"))){let Vt=on.target.position.lineNumber;if(qt(Qt.getLineContent(Vt),Vt))return;Tt(Vt)}}),Wn=jt.onMouseLeave(()=>{Jn()});return()=>{yn.dispose(),bn.dispose(),kn.dispose(),Wn.dispose()}}},[_n.current,pn,rn,gn,Gn,$e]),(0,be.useEffect)(()=>{var xt;(xt=_n.current)!=null&&xt.instance&&Gn&&_n.current.instance.setPosition({lineNumber:0,column:0})},[gn]);function Ht(){let xt=_n.current.instance;if(xt){const jt=xt.getSelection(),Qt=_n.current.pastePos||{},Xt=new et.Range(Qt.startLineNumber||jt.endLineNumber,Qt.startColumn||jt.endColumn,Qt.endLineNumber||jt.endLineNumber,Qt.endColumn||jt.endColumn);setTimeout(()=>{xt.executeEdits("",[{range:Xt,text:""}])},300)}}function Rn(xt){(window.navigator.platform.match("Mac")?xt.metaKey:xt.ctrlKey)&&xt.keyCode==83&&(xt.preventDefault(),mt())}const nn=()=>{if(pt&&_n.current.instance){const xt=_n.current.instance.getContentHeight();Nt(xt<Ye?Ye:xt)}else Nt(Ye)};function Bn(xt){var jt=document.createEvent("MouseEvents");jt.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),xt.dispatchEvent(jt)}const Ln=xt=>{if(!xn.current)return;const{keyCode:jt,ctrlKey:Qt,metaKey:Xt,target:an,type:cn}=xt;return(cn==="paste"||(jt===67||jt===86)&&(Xt||Qt))&&an.nodeName==="TEXTAREA"&&(gt(),xt.preventDefault()),!1};function $n(xt,jt){var Qt=window.URL||window.webkitURL||window,Xt=new Blob([jt]),an=document.createElementNS("http://www.w3.org/1999/xhtml","a");an.href=Qt.createObjectURL(Xt),an.download=xt,Bn(an)}(0,be.useEffect)(()=>{nn()},[nn]),(0,be.useEffect)(()=>{Xn.current&&!pn&&Promise.all([Se.e(8909),Se.e(6894)]).then(Se.bind(Se,71448)).then(xt=>{try{et=xt,_n.current.instance=et.editor.create(Xn.current,{value:nt,language:ot($e),theme:ut,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},at);const jt=_n.current.instance;let an=[...Ee.BH._menuItems].find(yn=>yn[0]._debugName=="EditorContext")[1],cn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],fn=(yn,bn)=>{var Tt,Jn;let kn=yn._first;do bn.includes((Jn=(Tt=kn.element)==null?void 0:Tt.command)==null?void 0:Jn.id)&&yn._remove(kn);while(kn=kn.next)};if(At(jt,et),setTimeout(()=>{nn(),_n.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{$n(Pn||"educoder.txt",jt.getValue())}})},500),_n.current.subscription=jt.onDidChangeModelContent(yn=>{Dt.current?clearTimeout(vn.current):(nn(),Et(jt.getValue(),yn)),vn.current=setTimeout(()=>{Dt.current=!1},500)}),window.Monaco||pe(et,ot($e)),yt&&(fn(an,cn),Xn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Ln),window.removeEventListener("paste",Ln),window.addEventListener("keydown",Ln),window.addEventListener("paste",Ln)),window.Monaco=et,st&&jt.onDidBlurEditorWidget(()=>{st(jt.getValue())}),kt&&jt.onDidFocusEditorText(()=>{kt(jt.getValue())}),yt)try{jt.onDidPaste(yn=>{const bn=jt.getSelection(),Tt=_n.current.pastePos||{},Jn=new et.Range(Tt.startLineNumber||bn.endLineNumber,Tt.startColumn||bn.endColumn,Tt.endLineNumber||bn.endLineNumber,Tt.endColumn||bn.endColumn);jt.executeEdits("",[{range:yn.range,text:""}])})}catch(yn){}let sn=dt();return On&&typeof On=="string"&&new xe(On,jt,et),ft(!0),()=>{const yn=_n.current.instance;yn.dispose();const bn=yn.getModel();bn&&bn.dispose(),_n.current.subscription&&_n.current.subscription.dispose(),sn.unobserve(Xn.current)}}catch(jt){}})},[]),(0,be.useEffect)(()=>{if(_n.current.instance&&pn)return document.addEventListener("keydown",Rn,!1),()=>{document.removeEventListener("keydown",Rn)}},[mt,pn]),(0,be.useEffect)(()=>{let xt=_n.current.instance;if(xt&&pn){let jt=ot($e);et.editor.setModelLanguage(xt.getModel(),jt)}},[$e,pn]),(0,be.useEffect)(()=>{_n.current.instance&&pn&&et.editor.setTheme(ut)},[ut,pn]),(0,be.useEffect)(()=>{let xt=_n.current.instance;wr.current=lt,xt&&pn&&(xt.updateOptions(qe({},lt)),setTimeout(()=>{xt.getModel().updateOptions(qe({},lt))},200))},[JSON.stringify(lt),pn]),(0,be.useEffect)(()=>{let xt=_n.current.instance;xt&&pn&&xt.layout()},[Fe,Ye,pn]);const[Rt,_t]=(0,be.useState)(Me(Fe)),[St,Nt]=(0,be.useState)(Me(Ye)),Pt=rt(qe({},tt),{width:Rt,height:St,position:"relative"});return be.createElement("div",{className:"my-monaco-editor",ref:Xn,style:Pt},vt&&be.createElement(Je.CopyToClipboard,{text:nt,onCopy:()=>Oe.ZP.success("\u590D\u5236\u6210\u529F")},be.createElement(Ie.Z,{title:"\u590D\u5236\u4EE3\u7801"},be.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},be.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function je({width:Ce="100%",height:De="100%",original:Fe,modified:Ye,language:nt,options:$e={}}){const tt=(0,be.useRef)(),[lt,at]=(0,be.useState)(null);function ut(pt){let yt;return tt.current&&(yt=new Be.Z(Et=>{for(let At of Et)(At.target.offsetHeight>0||At.target.offsetWidth>0)&&pt.layout()}),yt.observe(tt.current)),yt}(0,be.useEffect)(()=>(tt.current&&Promise.all([Se.e(8909),Se.e(9404)]).then(Se.bind(Se,2550)).then(pt=>{et=pt;const yt=et.editor.createDiffEditor(tt.current,rt(qe({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},$e),{wordWrap:!0}));at(yt);let Et=ut(yt);return()=>{yt.dispose();const At=yt.getModel();At&&At.dispose(),Et.unobserve(tt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,be.useEffect)(()=>{lt&<.setModel({original:et.editor.createModel(Fe,nt),modified:et.editor.createModel(Ye,nt)})},[Fe,Ye,nt,lt]);const st=Me(Ce),vt=Me(De),mt={width:st,height:vt};return be.createElement("div",{className:"my-diff-editor",ref:tt,style:mt})}},34043:function(ct,it,Se){"use strict";var be=Se(58323),Be=Se(57809),E=Se(78673),me=Se(59301);const de=Be.default.Option;it.Z=({isTheoretical:le,onFontSizeChange:ae,cmFontSize:ie,cmCodeMode:se,autoFormat:ce,onCodeModeChange:oe,onTabToSpace:re,onAutoFormat:ne,formatDocument:te,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:ee})=>{const z={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return me.createElement("div",{className:`tpi-code-setting ${a}`},me.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),me.createElement("section",null,me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),me.createElement(Be.default,{bordered:!1,size:"small",value:se,onChange:oe},me.createElement(de,{value:"vs"},"\u767D\u8272\u80CC\u666F"),me.createElement(de,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!le&&me.createElement(me.Fragment,null,me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),me.createElement(Be.default,{bordered:!1,size:"small",value:ie,onChange:ae},me.createElement(de,{value:12},"12px"),me.createElement(de,{value:14},"14px"),me.createElement(de,{value:16},"16px"),me.createElement(de,{value:18},"18px"),me.createElement(de,{value:20},"20px"),me.createElement(de,{value:22},"22px"))),me.createElement("div",{className:"file-item"},me.createElement("b",null,"Tab\u8F6C\u6362"),me.createElement(E.Z,{checked:y,onChange:re})),me.createElement("div",{className:"file-item",onClick:te},me.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!le&&me.createElement(me.Fragment,null,me.createElement("h3",null,"\u5FEB\u6377\u952E"),me.createElement("section",null,me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),me.createElement("span",null,"Ctrl + S")),me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),me.createElement("span",null,"F1 / Alt + F1")),me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),me.createElement("span",null,"Ctrl + ]/[")),me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),me.createElement("span",null,"Ctrl + Shift + \\")),me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),me.createElement("span",null,"Home")),me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),me.createElement("span",null,"End"))),x),!le&&me.createElement(me.Fragment,null,me.createElement("h3",null,"\u5FEB\u6377\u952E"),me.createElement("section",null,me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),me.createElement("span",null,z[ee==null?void 0:ee.difficulty])),me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),me.createElement("span",null,b==null?void 0:b.name)),me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),me.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},50505:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return Be}});var be=Se(59301);function Be(E,me){const de=(0,be.useRef)();(0,be.useEffect)(()=>{de.current=E}),(0,be.useEffect)(()=>{function le(){de.current()}if(me!==null){let ae=setInterval(le,me);return()=>clearInterval(ae)}},[me])}},38992:function(ct,it,Se){"use strict";var be=Se(59301),Be=Se(31797),E=Se(5871),me=Se(78241),de=Se(43418),le=Se(71418),ae=Se(1710),ie=Se(92832),se=Se(95237),ce=Se(43604),oe=Se(3113),re=Se(30897),ne=Se(61186),te=Se.n(ne),a=Se(24459),y=Se(88230),x=Se(93261),b=Se(73898),ee=Se(59579),z=Se(59301),ue=(pe,ye,ve)=>new Promise((Pe,we)=>{var Ae=Ee=>{try{xe(ve.next(Ee))}catch(Oe){we(Oe)}},_e=Ee=>{try{xe(ve.throw(Ee))}catch(Oe){we(Oe)}},xe=Ee=>Ee.done?Pe(Ee.value):Promise.resolve(Ee.value).then(Ae,_e);xe((ve=ve.apply(pe,ye)).next())});const{Countdown:fe}=Be.default,ge=({value:pe,onChange:ye,MaxMinutes:ve})=>z.createElement(z.Fragment,null,z.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",z.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",z.createElement("br",null)),z.createElement(E.Z,{value:pe,onChange:ye,min:0,precision:0,max:ve,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${ve}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),he=({exercise:pe,successCb:ye,dispatch:ve})=>{var Pe,we,Ae,_e;const xe=(0,a.useParams)(),[Ee]=me.default.useForm(),Oe=me.default.useWatch("time",Ee),[Ie,Ne]=(0,be.useState)(!1),Te=(0,be.useRef)(),{actionTabs:Je}=pe,[Qe,Ze]=(0,be.useState)(),[,Ke,Ue,ke]=(0,ee.U)(re.n7,{id:xe.categoryId}),[,Re,He]=(0,ee.U)(re.Cd,{});(0,be.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&(Ne(!1),Ee.resetFields())},[pe.actionTabs.key]);const qe=()=>new Promise(et=>ue(void 0,null,function*(){var Xe,je;return Te.current=yield(0,x.y)({ip_limit:(Xe=Je==null?void 0:Je.exerciseParams)==null?void 0:Xe.ip_limit,ip_bind:(je=Je==null?void 0:Je.exerciseParams)==null?void 0:je.ip_bind_type}),et()})),rt=()=>ue(void 0,null,function*(){var et,Xe,je,Ce,De;yield Ee.validateFields();const Fe=Ee.getFieldsValue();if(Ne(!0),(((et=Je==null?void 0:Je.exerciseParams)==null?void 0:et.ip_limit)!=="no"||(Xe=Je==null?void 0:Je.exerciseParams)!=null&&Xe.ip_bind_type)&&(yield qe()),(yield(0,re.ZD)((je=Je==null?void 0:Je.exerciseParams)==null?void 0:je.id,{exercise_user_id:(Ce=Je==null?void 0:Je.exerciseParams)==null?void 0:Ce.exercise_user_id,unlock_key:Fe.unlock_key,time:Fe.time,ip:Te.current})).status===0){if(ye){ve({type:"exercise/setActionTabs",payload:{}}),ye();return}const nt=Je==null?void 0:Je.exerciseParams;(0,y.nr)({inner_ip:nt.inner_ip,public_ip:nt.public_ip,open_camera:nt.open_camera,ip_limit:nt.ip_limit,ip_bind:nt.ip_bind,ip_bind_type:nt.ip_bind_type,exercise_tips:nt.exercise_tips,exerciseId:nt.id,screen_open:nt.screen_open,screen_num:nt.screen_num,screen_sec:nt.screen_sec,coursesId:xe.coursesId,login:(De=(0,b.eY)())==null?void 0:De.login,history,identity_verify:nt.identity_verify,open_phone_video_recording:nt.open_phone_video_recording,current_status:nt.current_status}),ve({type:"exercise/setActionTabs",payload:{}})}Ne(!1)}),We=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:et=>z.createElement("span",{className:et.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},et)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:et=>z.createElement("span",{className:et.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},et)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],ze=((Pe=Je==null?void 0:Je.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((we=Je==null?void 0:Je.exerciseParams)==null?void 0:we.errorMessage)=="object";(0,be.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&ue(void 0,null,function*(){const et=yield He(xe);yield Ue({}),et.status||Ze(et)})},[pe.actionTabs.key]);const{time:Me,end_time:Ge}=(Qe==null?void 0:Qe.exercise)||{},Le=ke!=null&&ke.user_end_time?te()(ke==null?void 0:ke.user_end_time).add(1,"minutes"):te()(),Ve=te()(ke==null?void 0:ke.user_total_end_time)>Le?Math.round(te().duration(te()(ke==null?void 0:ke.user_total_end_time).diff(Le.startOf("minute"))).asMinutes()):0,ot=((ke==null?void 0:ke.student_left_minutes)||0)+(Oe||0);return z.createElement(z.Fragment,null,z.createElement(de.default,{width:514,centered:!0,closable:!!((Ae=Je==null?void 0:Je.exerciseParams)!=null&&Ae.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:pe.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ve({type:"exercise/setActionTabs",payload:{}})}},z.createElement(le.Z,{spinning:Ke||Re},ze&&z.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!ze&&z.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),ze&&z.createElement(ae.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((_e=Je==null?void 0:Je.exerciseParams)==null?void 0:_e.errorMessage)||{}],columns:We}),z.createElement("div",{className:""},z.createElement(me.default,{form:Ee,layout:"vertical",autoComplete:"off"},z.createElement(me.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},z.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Me!==-1?z.createElement(z.Fragment,null,z.createElement(me.default.Item,{name:"time",label:z.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",z.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",te()(ke==null?void 0:ke.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},z.createElement(ge,{MaxMinutes:Ve})),z.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},Ke||Re?"--":ot),"\u5206\u949F",ot!==0&&(ke==null?void 0:ke.user_end_time)&&z.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},te()(ke==null?void 0:ke.user_end_time).add(Oe||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):z.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",te()(Ge).format("YYYY-MM-DD HH:mm")))),z.createElement(se.Z,{justify:"space-between",align:"middle"},z.createElement(ce.Z,null),z.createElement(ce.Z,null,z.createElement(oe.ZP,{loading:Ie,onClick:rt},"\u8FDB\u5165\u8003\u8BD5"))))))};it.Z=(0,a.connect)(({exercise:pe})=>({exercise:pe}))(he)},47365:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return a}});var be=Se(59301),Be=Se(24459),E=Se(43418),me=Se(3113),de=Se(71418),le=Se(5247),ae=Se(70037),ie=Se(57800),se=Se(24334),ce=Se(61186),oe=Se.n(ce),re=Se(86723),ne=Se(59301),te=(y,x,b)=>new Promise((ee,z)=>{var ue=he=>{try{ge(b.next(he))}catch(pe){z(pe)}},fe=he=>{try{ge(b.throw(he))}catch(pe){z(pe)}},ge=he=>he.done?ee(he.value):Promise.resolve(he.value).then(ue,fe);ge((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,ee]=(0,be.useState)(void 0);console.log((0,Be.useLocation)(),33);const z=(0,Be.useLocation)();(0,be.useEffect)(()=>{y&&function(){return te(this,null,function*(){const Ze=yield(0,le.X6)(y);ee(Ze.data)})}()},[y]);const{status:ue,created_at:fe,code:ge,name:he,language:pe,pass_sets_count:ye,set_count:ve,error_msg:Pe,output:we,input:Ae,expected_output:_e,execute_memory:xe,user:Ee,execute_time:Oe,input_file_url:Ie,output_file_url:Ne,is_file:Te,expected_output_file_url:Je}=b||{};return ne.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:ne.createElement(me.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},ne.createElement(de.Z,{spinning:!b,delay:500},ne.createElement("div",{className:"record-detail-info"},b?ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"record-detail-body"},ne.createElement("h2",null," \u63D0\u4EA4\u8BB0\u5F55 "),ne.createElement("ul",{className:"record-info"},ne.createElement("li",null," \u8BC4\u6D4B\u7ED3\u679C\uFF1A",ne.createElement("span",{className:ue===0?"c-green":"c-red"},ae.Im[ue])," "),ne.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",ne.createElement("span",null,oe()(fe).format("YYYY-MM-DD HH:mm:ss"))," "),ne.createElement("li",null," \u8BED\u8A00\uFF1A",ne.createElement("span",null,pe)," "),ne.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",ne.createElement("span",null,Oe*1e3,"ms")," "),ne.createElement("li",null," ",`${ue===re.h.HIDE_COMPILE_STATUS?"--":ye} / ${ve} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,ae.gZ)({status:ue,error_msg:Pe,execute_time:Oe,output:we,input:Ae,expected_output:_e,input_file_url:Ie,output_file_url:Ne,is_file:Te,expected_output_file_url:Je}),ne.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),ne.createElement(ie.ZP,{height:"200px",width:"100%",language:pe==null?void 0:pe.toLocaleLowerCase(),value:se.Base64.decode(ge),options:{readOnly:!0}}))):null)))}},21758:function(ct,it,Se){"use strict";Se.d(it,{Im:function(){return ve},Y4:function(){return we}});var be=Se(59301),Be=Se(92832),E=Se(8591),me=Se(3113),de=Se(76826),le=Se(24334),ae=Se.n(le),ie=Se(7850),se=Se(7651),ce=Se(99325),oe=Se(88230),re=Se(34376),ne=Se.n(re),te=Se(7660),a=Se(24459),y=Se(47365),x=Se(50484),b=Se(5247),ee=Se(50397),z=Se(90853),ue=Se(92310),fe=Se.n(ue),ge=Se(20736),he=Se(59301),pe=(xe,Ee,Oe)=>new Promise((Ie,Ne)=>{var Te=Ze=>{try{Qe(Oe.next(Ze))}catch(Ke){Ne(Ke)}},Je=Ze=>{try{Qe(Oe.throw(Ze))}catch(Ke){Ne(Ke)}},Qe=Ze=>Ze.done?Ie(Ze.value):Promise.resolve(Ze.value).then(Te,Je);Qe((Oe=Oe.apply(xe,Ee)).next())});const{TextArea:ye}=Be.default,ve={[de.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[de.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[de.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Pe=(xe=>(xe[xe.SET_VISIBLE=0]="SET_VISIBLE",xe[xe.SET_TABINDEX=1]="SET_TABINDEX",xe))(Pe||{});function we(xe){const{status:Ee,error_msg:Oe,output:Ie,input:Ne,expected_output:Te,is_file:Je,input_file_url:Qe,output_file_url:Ze,expected_output_file_url:Ke,setMonacoValue:Ue,setData:ke}=xe,Re=(0,be.useRef)(),He=(0,be.useRef)(),qe=(0,be.useRef)();let rt=null;const We={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,be.useEffect)(()=>{if(Ie&&!Je&&Re.current){const ze=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});ze.open(Re.current);const Me=(0,oe.pp)(le.Base64.decode(Ie));ze.write(Me),ze.setOption("theme",{background:"#1e1e1e"})}if(Ne&&!Je&&He.current){const ze=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});ze.open(He.current),ze.write((0,oe.pp)(Ne)),ze.setOption("theme",{background:"#1e1e1e"})}if(Te&&!Je&&qe.current){const ze=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});ze.open(qe.current),ze.write((0,oe.pp)(le.Base64.decode(Te))),ze.setOption("theme",{background:"#1e1e1e"})}},[Ie]),Ee){case de.h.NOMATCH:rt=he.createElement(he.Fragment,null,he.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Je&&he.createElement("div",{ref:Re}),Je&&he.createElement("div",{style:We},he.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(this,null,function*(){const ze=yield(0,te.ZP)(Ze,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});Ue(ze),setTimeout(()=>{ke(Ze)},200)})},Ie)),he.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Je&&he.createElement("div",{ref:qe}),Je&&he.createElement("div",{style:We},he.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(this,null,function*(){const ze=yield fetch(Ke,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});Ue(yield ze.text()),setTimeout(()=>{ke(Ke)},200)})},Te)));break;case de.h.EXECUTEFAILURE:rt=he.createElement(he.Fragment,null,he.createElement("div",{style:{border:"1px #F6F7F9 solid"}},he.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Je&&he.createElement(ce.Z,{value:Ne,style:We}),Je&&he.createElement("div",{style:We},he.createElement("a",{onClick:()=>(0,oe.LR)(Qe,Ne)},Ne))),he.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},he.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),he.createElement("pre",{className:ie.Z.error,style:{color:"#E30000",padding:"0 10px"}},le.Base64.decode(Oe),"111")));break;case de.h.COMPILEFAILURE:rt=he.createElement(he.Fragment,null,he.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),he.createElement("pre",{className:ie.Z.error},le.Base64.decode(Oe)));break;case de.h.PODFAILURE:rt=he.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case de.h.TIMEOUT:rt=he.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return he.createElement(he.Fragment,null," ",rt," ")}function Ae(xe){const{status:Ee,error_msg:Oe,execute_time:Ie,output:Ne,input:Te,expected_output:Je,is_file:Qe,input_file_url:Ze,output_file_url:Ke,expected_output_file_url:Ue}=xe;let ke=null;switch(Ee){case de.h.OK:case de.h.NOMATCH:case de.h.EXECUTEFAILURE:case de.h.COMPILEFAILURE:ke=he.createElement("div",{id:"outputResultRef",className:"h100"});break;case de.h.PODFAILURE:ke=he.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case de.h.TIMEOUT:ke=he.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return he.createElement(he.Fragment,null," ",ke," ")}function _e({value:xe,className:Ee}){return he.createElement("span",{className:Ee},xe)}it.ZP=({input:xe,is_file:Ee,debuging:Oe,submitting:Ie,executingMessage:Ne,debugResult:Te,onChangeInput:Je,onDebugCode:Qe,onSubmitCode:Ze,hack:Ke,user:Ue,submitResult:ke,isWhiteTheme:Re,topDispatch:He})=>{const[qe]=(0,a.useSearchParams)(),rt=(0,a.useParams)(),[We,ze]=(0,be.useState)(!1),[Me,Ge]=(0,be.useState)(!1),[Le,Ve]=(0,be.useState)(1),[ot,et]=(0,be.useState)(!1),[Xe,je]=(0,be.useState)(0),[Ce,De]=(0,be.useState)(!1),[Fe,Ye]=(0,be.useState)(""),[nt,$e]=(0,be.useState)(""),tt=(0,be.useRef)(),lt=(0,be.useRef)(),at=(0,be.useRef)(null),ut=(0,be.useRef)(null),st=(0,be.useRef)(null);console.log(ke,"submitResult",rt);const{status:vt,id:mt,input:pt,output:yt,expected_output:Et,is_file:At,input_file_url:kt,output_file_url:$t,expected_output_file_url:rn,error_msg:Pn,hack_sets:In}=ke||{};(0,be.useEffect)(()=>{vt===0&&(Ve(1),je(0))},[vt,mt]),(0,be.useEffect)(()=>{pe(void 0,null,function*(){var It;const Dt=yield(0,b.rX)(rt==null?void 0:rt.id,"submit");(Dt==null?void 0:Dt.status)===0&&(Dt!=null&&Dt.data&&((It=Dt==null?void 0:Dt.data)==null?void 0:It.status)!==0?(He({type:ee.Types.SET_SUBMIT_RESULT,payload:{submitResult:Dt==null?void 0:Dt.data}}),Ve(2),je(320)):(Ve(1),je(0)))})},[rt==null?void 0:rt.id]),(0,be.useEffect)(()=>{if(tt.current){let Ft=function(dt){Dn=vn.offsetHeight,xn=!0,pn=dt.pageY,st.current.style.display="block"},It=function(){xn=!1,st.current.style.display="none"},Dt=function(dt){if(xn){En();let gt=pn-dt.pageY,zt=Dn+gt;if(zt<0&&(zt=0),zt>window.innerHeight-150&&(zt=window.innerHeight-150),Le===1){zt<=34?je(0):je(zt);return}console.log(zt,"resizeH"),je(zt)}};const vn=at.current;let Dn=0,xn=!1,pn=0;const ft=document.getElementById("case-y-bar");return ft==null||ft.addEventListener("mousedown",Ft),document.addEventListener("mousemove",Dt),document.addEventListener("mouseup",It),()=>{const dt=document.getElementById("case-y-bar");dt==null||dt.removeEventListener("mousedown",Ft),document.removeEventListener("mousemove",Dt),document.removeEventListener("mouseup",It)}}},[tt,Le]),(0,be.useEffect)(()=>{const Ft=x.Z.subscribe("resize-move-bar",En);if(qe.get("type")!=="exercises")return document.addEventListener((0,ge.gH)(),On),()=>{document.removeEventListener((0,ge.gH)(),On),Ft()}},[]),(0,be.useEffect)(()=>{});function En(){var Ft,It,Dt,vn;const Dn=document.getElementById("outputResultRef");if(Dn){let xn=Dn.dataset.text;lt.current.reset(),lt.current.writeln(xn);const pn=document.getElementById("outputResultRef").offsetWidth-20,ft=((vn=(Dt=(It=(Ft=lt.current)==null?void 0:Ft._core)==null?void 0:It._renderService)==null?void 0:Dt.dimensions)==null?void 0:vn.actualCellWidth)||10,dt=Math.ceil(pn/ft);lt.current.resize(dt,Math.ceil(Dn.clientHeight/16))}}function gn(){ze(!We),setTimeout(()=>{En()},300),je(We?320:window.innerHeight-150)}function Gn(){Me?(Ge(!1),(0,ge.BU)()):(Ge(!0),(0,ge.Dj)(ut.current))}const On=Ft=>{(0,ge.vp)()||Ge(!1)},Zn=(0,be.useMemo)(()=>{if(Te){const{status:Ft,output:It,error_msg:Dt}=Te;return setTimeout(()=>{let vn="",Dn=document.getElementById("outputResultRef");It?vn=le.Base64.decode(It):Dt&&(vn=le.Base64.decode(Dt)),lt.current=new re.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),lt.current.open(Dn),lt.current.onKey(function(xn){var pn;if(xn.domEvent.key.toLocaleUpperCase()==="C"&&xn.domEvent.ctrlKey){xn.domEvent.preventDefault();let ft=(pn=lt.current)==null?void 0:pn.getSelection();navigator.clipboard.writeText(ft).then(()=>{})}}),Dn.dataset.text=vn,lt.current.setOption("convertEol",!0),En()},300),he.createElement(he.Fragment,null,Ae(Te))}return null},[Te]);function Xn(){var Ft,It;if(!(Ke!=null&&Ke.code)||((Ft=Ke==null?void 0:Ke.code)==null?void 0:Ft.trim().length)===0){(It=E.ZP)==null||It.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Ve(1),je(320),Qe()}const _n=Ft=>pe(void 0,null,function*(){let It=yield(0,te.ZP)(`/api/problems/${Ft}/start.json`,{method:"get",params:{hack_user_id:Ue==null?void 0:Ue.user_id}});It&&(window.location.href=`/myproblems/${It==null?void 0:It.identifier}${window.location.search}`)});function wr(){At?navigator.clipboard.writeText(le.Base64.decode(Pn)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(le.Base64.decode(yt)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return he.createElement(be.Fragment,null,he.createElement("div",{className:fe()(ie.Z.case,Re&&ie.Z.whiteCase),style:{height:Xe},ref:at},he.createElement("div",{className:ie.Z.fullMask,ref:st}),he.createElement("div",{className:ie.Z["resize-y-bar"],id:"case-y-bar",ref:tt,draggable:!1},Le===2&&he.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),Le===1&&(Xe<=34?he.createElement("div",{onClick:()=>{je(320)},className:ie.Z.unfoldBtn},"\u63A7\u5236\u53F0",he.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):he.createElement("div",{onClick:()=>{je(0)},className:ie.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",he.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),he.createElement("div",null,he.createElement("div",{className:ie.Z.caseHead},he.createElement("div",{className:ie.Z.dot}),he.createElement("div",{className:ie.Z.text},Le===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),Le===2&&!Ie&&typeof vt=="number"&&he.createElement(he.Fragment,null,vt===de.h.OK?he.createElement("div",{className:ie.Z.pass},he.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):he.createElement("div",{className:ie.Z.noPass},he.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),ve[vt])),he.createElement("div",{className:ie.Z.btns},Le===2&&!Ie&&he.createElement(he.Fragment,null,vt!==de.h.OK&&he.createElement("div",{onClick:wr},he.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),he.createElement("div",{onClick:()=>{De(mt)}},he.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),qe.get("type")!=="exercises"&&he.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>gn()},he.createElement("i",{className:`iconfont icon-${We?"suoxiao1":"fangda"}`})))),he.createElement("div",{style:{display:Le===1?"block":"none"}},Oe?he.createElement(se.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):he.createElement("div",{style:{height:Xe-34}},he.createElement("div",{className:ie.Z.result},he.createElement("div",{className:ie.Z.left},he.createElement("div",{className:ie.Z.title},he.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),he.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),he.createElement("div",{className:ie.Z.leftNode},he.createElement(ye,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:Ee?"":xe,onChange:Je}))),he.createElement("div",{className:ie.Z.right},he.createElement("div",{className:ie.Z.title},he.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),he.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),he.createElement("div",{className:ie.Z.node},Te?Zn:he.createElement("p",{style:{color:"#8F96B1"}},"\u8BF7\u5728\u5DE6\u4FA7\u8F93\u5165\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D\uFF0C\u5373\u53EF\u751F\u6210\u4EE3\u7801\u6267\u884C\u7ED3\u679C")))))),he.createElement("div",{style:{display:Le===2?"block":"none"}},Ie?he.createElement(se.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):he.createElement("div",{style:{height:Xe-34,display:"flex",flexDirection:"column",overflow:"hidden"}},he.createElement("div",{ref:ut,className:ie.Z.elseNode},he.createElement("div",{className:ie.Z.nameWrap},he.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),he.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),he.createElement("div",{className:ie.Z.scroll},he.createElement("pre",{className:ie.Z.scrollBox,style:ot?{height:Me?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!At&&he.createElement(_e,{value:pt}),At&&he.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const Ft=yield fetch(kt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield Ft.text()),setTimeout(()=>{Ye(kt)},200)})},pt)),pt&&he.createElement("div",{className:ie.Z.action},he.createElement("span",{onClick:()=>et(!ot)},ot?"\u6536\u8D77":"\u5C55\u5F00"),qe.get("type")!=="exercises"&&he.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>Gn(),className:`iconfont icon-${Me?"suoxiao1":"fangda"}`})))),he.createElement("div",{className:ie.Z.result,style:{flex:1,overflow:"hidden"}},he.createElement("div",{className:ie.Z.left},he.createElement("div",{className:ie.Z.title},he.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),he.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),he.createElement("div",{className:ie.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},he.createElement("pre",null,!At&&he.createElement(_e,{className:"mb10",value:Et&&le.Base64.decode(Et)||""}),At&&he.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const Ft=yield fetch(rn,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield Ft.text()),setTimeout(()=>{Ye(rn)},200)})},Et)))),he.createElement("div",{className:ie.Z.right},he.createElement("div",{className:ie.Z.title},he.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),he.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),he.createElement("div",{className:ie.Z.node,style:{color:vt===de.h.OK?"#2ABD8C":"#FF2C29"}},he.createElement("pre",null,(vt===4||vt===5)&&he.createElement(_e,{className:"mb10",value:Pn&&le.Base64.decode(Pn)||""}),vt!=4&&vt!=5&&(At?he.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const Ft=yield(0,te.ZP)($t,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{$e(Ft)}catch(It){$e("")}setTimeout(()=>{Ye($t)},200)})},yt):he.createElement(_e,{className:"mb10",value:yt&&le.Base64.decode(yt)||""})))))))))),he.createElement("div",{className:fe()(ie.Z.footer,Re&&ie.Z.whiteFooter),style:{zIndex:100}},(Ke==null?void 0:Ke.is_program)&&(Ke==null?void 0:Ke.above_question)&&he.createElement(me.ZP,{className:"mr10",type:"primary",onClick:()=>_n(Ke==null?void 0:Ke.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(Ke==null?void 0:Ke.is_program)&&(Ke==null?void 0:Ke.under_question)&&he.createElement(me.ZP,{className:"mr10",type:"primary",onClick:()=>_n(Ke==null?void 0:Ke.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),he.createElement(me.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:Oe||Ie,loading:Oe,color:"#2ABD8C",className:"mr10",onClick:Xn},"\u8C03\u8BD5\u4EE3\u7801"),qe.get("qtype")!=="8"&&he.createElement(me.ZP,{className:ie.Z.disabled,type:"primary",icon:he.createElement("i",{className:"iconfont icon-bofang1"}),loading:Ie,disabled:Oe||Ie,onClick:()=>{var Ft,It;if(!(Ke!=null&&Ke.code)||((Ft=Ke==null?void 0:Ke.code)==null?void 0:Ft.trim().length)===0){(It=E.ZP)==null||It.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Ve(2),je(320),Ze()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),he.createElement(y.Z,{onClose:De,open:Ce}),he.createElement(z.Z,{close:!0,data:Fe,type:Fe.length?"txt":"",onClose:()=>Ye(""),monacoEditor:{value:nt,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},50397:function(ct,it,Se){"use strict";Se.r(it),Se.d(it,{Types:function(){return yr},default:function(){return Lr}});var be=Se(59301),Be=Se(24459),E=Se(31797),me=Se(43418),de=Se(71418),le=Se(3113),ae=Se(6848),ie=Se(95237),se=Se(5247),ce=Se(30897),oe=Se(20736),re=Se(31582),ne=Se(38446),te=Se(87169),a=Se(43428),y=Se(57800),x=Se(19647),b=Se(90691),ee=Se(34043),z=Se(59301),ue=Object.defineProperty,fe=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,ve=(ht,Ct,bt)=>Ct in ht?ue(ht,Ct,{enumerable:!0,configurable:!0,writable:!0,value:bt}):ht[Ct]=bt,Pe=(ht,Ct)=>{for(var bt in Ct||(Ct={}))pe.call(Ct,bt)&&ve(ht,bt,Ct[bt]);if(he)for(var bt of he(Ct))ye.call(Ct,bt)&&ve(ht,bt,Ct[bt]);return ht},we=(ht,Ct)=>fe(ht,ge(Ct));const Ae={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0)};var _e=(ht=>(ht[ht.set_font_size=0]="set_font_size",ht[ht.set_theme=1]="set_theme",ht[ht.on_tab_to_space=2]="on_tab_to_space",ht[ht.set_show_editor_setting=3]="set_show_editor_setting",ht))(_e||{});function xe(ht,Ct){switch(Ct.type){case 3:return we(Pe({},ht),{showEditorSetting:Ct.payload});case 1:return we(Pe({},ht),{theme:Ct.payload});case 0:return we(Pe({},ht),{fontSize:Ct.payload});case 2:return we(Pe({},ht),{tabToSpace:Ct.payload});default:throw new Error}}var Ee=({isLoading:ht,value:Ct,onChange:bt,language:Ot,onUpdateCode:Bt,ActionBarRender:Mt,setIsWhiteTheme:Jt})=>{const[Zt,Kt]=(0,be.useReducer)(xe,Ae),{theme:en,fontSize:Gt,showEditorSetting:Cn,tabToSpace:dn}=Zt,Tn=(0,be.useRef)(),wn=(0,be.useRef)();(0,be.useEffect)(()=>{Jt(en==="vs")},[en]);const qn={onFontSizeChange:er=>{Kt({type:0,payload:er}),(0,b.t)("cmFontSize",er)},tabToSpace:dn,cmFontSize:Gt,className:"oj",cmCodeMode:en,onTabToSpace:er=>{Kt({type:2,payload:er}),(0,b.t)("cmTabToSpace",er)},onCodeModeChange:er=>{Kt({type:1,payload:er}),(0,b.t)("ProgrammingCodeMode",er)}};function ir(){Kt({type:3,payload:!1})}function Sr(){Kt({type:3,payload:!0})}const br={value:Ct,language:Ot,theme:en,options:{fontSize:Gt,insertSpaces:dn},onChange:er=>{bt(er),wn.current=er,clearTimeout(Tn.current),Tn.current=setTimeout(()=>{Bt(wn.current)},1e4)},onEditBlur:er=>{wn.current&&Bt(wn.current)}};return z.createElement(be.Fragment,null,Mt(Sr),z.createElement("div",{style:{flex:1,overflow:"hidden"}},!ht&&z.createElement(y.ZP,Pe({},br))),z.createElement(x.Z,null,z.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:Cn,onClose:ir},z.createElement(ee.Z,Pe({},qn)))))},Oe=Se(60141),Ie=Se(24334),Ne=Se(21758),Te={flex_box_center:"flex_box_center___rM3g8",flex_space_between:"flex_space_between___Oc7SE",flex_box_vertical_center:"flex_box_vertical_center___MnmYE",flex_box_center_end:"flex_box_center_end___QQh83",flex_box_column:"flex_box_column___ZRFbL","left-panel":"left-panel___SKGyd","tab-panel-body":"tab-panel-body___gABdv",b1:"b1___QpbmK","oj-width-input":"oj-width-input___eJQWT","oj-mr":"oj-mr___AxILO","s-navs":"s-navs___FXwOi","bg-white":"bg-white___kbZ6r",active:"active___QGOnZ",list:"list___PXTsq",btns:"btns___F8yZK",drawer:"drawer___xdGaT",tour:"tour___oMkVh"},Je={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},Qe=Se(1710),Ze=Se(58421),Ke=Se(58617),Ue=Se(47365),ke=Se(61186),Re=Se.n(ke),He=Se(59301);const{Column:qe}=Qe.default;var rt=({submitResult:ht,submitting:Ct,submitRecords:bt,page:Ot,onPageChange:Bt,topicId:Mt})=>{const[Jt]=(0,Be.useSearchParams)(),{records:Zt,records_count:Kt}=bt||{},[en,Gt]=(0,be.useState)(!1),Cn=Jt.get("type")==="1";return He.createElement(de.Z,{spinning:Ct,tip:"\u8BC4\u6D4B\u4E2D...",indicator:He.createElement(Ke.Z,{style:{fontSize:24},spin:!0})},(Zt==null?void 0:Zt.length)>0?He.createElement(Qe.default,{dataSource:Zt,rowKey:"id",pagination:!1},He.createElement(qe,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(dn,Tn)=>He.createElement("span",null," ",Re()(dn).format("YYYY-MM-DD HH:mm:ss"))}),He.createElement(qe,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(dn,Tn)=>{var wn;return He.createElement("span",{className:`${dn===0?"c-green":"c-red"} current`,onClick:()=>{Gt(Tn.id)}},(wn=Ne.Im[dn])==null?void 0:wn.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),He.createElement(qe,{title:`\u6267\u884C\u7528\u65F6 (${Cn?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:dn=>dn?Cn?dn:dn/1e3:""}),He.createElement(qe,{title:`\u5185\u5B58\u6D88\u8017\uFF08${Cn?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:dn=>dn?Cn?dn:parseFloat((dn/1024).toFixed(2)):""}),He.createElement(qe,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),He.createElement(qe,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(dn,Tn)=>He.createElement("span",{className:"c-light-primary current",onClick:()=>{Gt(Tn.id)}},"\u67E5\u770B")})):He.createElement("div",{style:{height:300,width:"100%"}}),He.createElement(Ue.Z,{onClose:Gt,open:en}),Kt>15?He.createElement(Ze.Z,{className:Je.pagination,current:Ot,pageSize:15,total:Kt,onChange:Bt}):null)},We=Se(57816),ze=Se(12563),Me={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Ge=Se(99325),Le=Se(59301);const Ve={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var ot=({hack:ht})=>{const{language:Ct,difficult:bt,time_limit:Ot,description:Bt}=ht,[Mt]=(0,Be.useSearchParams)(),Jt=Ve[bt];return Le.createElement(Le.Fragment,null,Le.createElement("ul",{className:Me.info},Le.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",Le.createElement("b",{className:Me.info_tag},Ct)),Le.createElement("li",null,Le.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",Le.createElement(ze.default,{color:Jt==null?void 0:Jt.color},Jt==null?void 0:Jt.name)),Le.createElement("li",null,Le.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",Le.createElement("span",{style:{color:"#333333"}},Ot,"\u79D2"))),Mt.get("qtype")==="8"?Le.createElement(Ge.Z,{value:Bt,showProgramFill:!0,className:Me.desc}):Le.createElement(Ge.Z,{value:Bt,className:Me.desc}))},et={},Xe=Se(59301),je=({hack:ht,current_user:Ct})=>Xe.createElement("div",{className:et.answer},ht!=null&&ht.answer_text?Xe.createElement(Ge.Z,{style:{padding:"13px 0"},value:(ht==null?void 0:ht.answer_text)||""}):Xe.createElement(We.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),Ce=Se(50484),De=Se(7660);function Fe(ht,Ct){return(0,De.U2)(`/problems/${ht}/comments.json`,{page:Ct,limit:10})}function Ye(ht){return(0,De.v_)(`/discusses/${ht}/plus.json`,{container_type:"Discuss",type:1})}function nt(ht,Ct,bt){return(0,De.v_)(`/problems/${ht}/comments/reply.json`,{comments:{content:bt,parent_id:Ct}})}function $e(ht,Ct){return(0,De.v_)(`/problems/${ht}/comments.json`,{comments:{content:Ct}})}function tt(ht,Ct,bt){return(0,De.v_)(`/problems/${ht}/comments/${Ct}/hidden.json`,bt)}function lt(ht,Ct){return(0,De.IV)(`/problems/${ht}/comments/${Ct}`)}var at=Se(52649);function ut({author:ht}){return be.createElement("a",{href:`/users/${ht.login}`,target:"_blank"},be.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${ne.Z.IMG_SERVER}/images/${ht.image_url}`,width:"50"}))}function st({data:ht,index:Ct,parentDiscussIndex:bt,user:Ot,onSetActionType:Bt}){const{author:Mt,can_delete:Jt,content:Zt,id:Kt,time:en}=ht;function Gt(){Bt({id:Kt,index:Ct,type:"delete-discuss",parentDiscussIndex:bt,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const Cn=Ot.admin||Jt||Mt.user_id===Ot.user_id;return be.createElement("div",{className:"discuss-item-container second-discuss "},be.createElement(ut,{author:Mt}),be.createElement("section",null,be.createElement("div",{className:"discuss-info"},be.createElement("a",{href:`/users/${Mt.login}`,target:"_blank"},Mt.name),be.createElement("span",{className:"grey"},en),be.createElement("div",{className:"btn-group",style:{marginBottom:0}},Cn?be.createElement("a",{onClick:Gt,title:"\u5220\u9664"},be.createElement("i",{className:"iconfont icon-shanchu"})):null)),be.createElement(Ge.Z,{className:"discuss-content",value:Zt})))}var vt=({user:ht,data:Ct,index:bt,onPlusDiscuss:Ot,onSetActionType:Bt,activeDiscussIndex:Mt,onReplyDiscuss:Jt,onSetActiveDiscussIndex:Zt})=>{const{content:Kt,children:en,hidden:Gt,id:Cn,praise_count:dn,time:Tn,user_praise:wn,can_delete:qn,author:ir}=Ct;function Sr(){Zt(Cn)}function br(){Ot(Cn,!wn,bt)}function er(){Bt({id:Cn,index:bt,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function sr(){Bt({id:Cn,index:bt,params:{hidden:Gt?"0":"1"},type:"hidden-discuss",message:Gt?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Cr=ht.admin||ht.user_id===ir.user_id;return be.createElement("div",{className:"discuss-item-container",key:Cn},be.createElement(ut,{author:ir}),be.createElement("section",null,be.createElement("div",{className:"discuss-info"},be.createElement("a",{href:`/users/${ir.login}`,target:"_blank"}," ",ir.name," "),be.createElement("span",{className:"grey"},Tn)),be.createElement(Ge.Z,{className:"discuss-content",value:Kt}),en&&en.length>0?be.createElement("div",{className:"reply-discuss-container"},en.map((Lt,un)=>be.createElement(st,{key:Lt.id,data:Lt,index:un,user:ht,onSetActionType:Bt,parentDiscussIndex:bt}))):null,be.createElement("div",{className:"btn-group"},Cr?be.createElement("a",{onClick:sr,title:Gt?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},be.createElement("i",{className:Gt?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,qn&&(!en||en.length==0)?be.createElement("a",{onClick:er,title:"\u5220\u9664"},be.createElement("i",{className:"iconfont icon-shanchu"})):null,be.createElement("a",{onClick:Sr,title:"\u56DE\u590D"}," ",be.createElement("i",{className:"iconfont icon-huifu1"})," "),be.createElement("a",{onClick:br,className:wn?"c-orange":""},be.createElement("i",{className:wn?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),be.createElement("span",null,dn||""))),be.createElement(at.Z,{id:Cn,activeDiscussIndex:Mt,onReplyDiscuss:Jt})))},mt=Se(85469),pt={"dis-input-editor-container":"dis-input-editor-container___nKGxx",active:"active___tmt7T","input-mask":"input-mask___epEle","text-area":"text-area___Vry8W","tip-container":"tip-container___plpA3",hide:"hide___kPfyC","md-container":"md-container___u85aq","btn-send":"btn-send___deQ5v"},yt=Se(64726),Et=(ht,Ct,bt)=>new Promise((Ot,Bt)=>{var Mt=Kt=>{try{Zt(bt.next(Kt))}catch(en){Bt(en)}},Jt=Kt=>{try{Zt(bt.throw(Kt))}catch(en){Bt(en)}},Zt=Kt=>Kt.done?Ot(Kt.value):Promise.resolve(Kt.value).then(Mt,Jt);Zt((bt=bt.apply(ht,Ct)).next())}),At=({user_praise:ht,praise_count:Ct,praisePlus:bt,onCreateDiscuss:Ot,discuss_count:Bt})=>{const[Mt,Jt]=(0,be.useState)(!1),[Zt,Kt]=(0,be.useState)("");function en(Tn){Kt(Tn)}function Gt(){Jt(!0)}function Cn(){Jt(!1)}function dn(){return Et(this,null,function*(){Ot(Zt),Kt(""),Jt(!1)})}return be.createElement("div",{className:`${pt["dis-input-editor-container"]} ${Mt?pt.active:""} `},be.createElement("div",{className:Mt?`hide ${pt["text-area"]}`:pt["text-area"]},be.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:Gt}),be.createElement("a",null," ",be.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Bt," "),be.createElement("a",{className:"c-light-black",onClick:bt,title:ht?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},be.createElement("i",{className:`mr3 ${ht?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Ct?be.createElement("span",null,Ct):"")),Mt?be.createElement("div",{className:pt["input-mask"],onClick:Cn}):null,be.createElement("div",{className:Mt?pt["md-container"]:`${pt["md-container"]} hide`},be.createElement(yt.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:Zt,height:240,onChange:en}),be.createElement("div",{className:pt["tip-container"],onClick:Cn},be.createElement("a",{className:pt["btn-send"],onClick:dn}," \u53D1\u9001 "))))},kt=Se(59301),$t=Object.defineProperty,rn=Object.defineProperties,Pn=Object.getOwnPropertyDescriptors,In=Object.getOwnPropertySymbols,En=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,Gn=(ht,Ct,bt)=>Ct in ht?$t(ht,Ct,{enumerable:!0,configurable:!0,writable:!0,value:bt}):ht[Ct]=bt,On=(ht,Ct)=>{for(var bt in Ct||(Ct={}))En.call(Ct,bt)&&Gn(ht,bt,Ct[bt]);if(In)for(var bt of In(Ct))gn.call(Ct,bt)&&Gn(ht,bt,Ct[bt]);return ht},Zn=(ht,Ct)=>rn(ht,Pn(Ct)),Xn=(ht,Ct,bt)=>new Promise((Ot,Bt)=>{var Mt=Kt=>{try{Zt(bt.next(Kt))}catch(en){Bt(en)}},Jt=Kt=>{try{Zt(bt.throw(Kt))}catch(en){Bt(en)}},Zt=Kt=>Kt.done?Ot(Kt.value):Promise.resolve(Kt.value).then(Mt,Jt);Zt((bt=bt.apply(ht,Ct)).next())});const _n={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var wr=(ht=>(ht[ht.GET_DISCUSSES=0]="GET_DISCUSSES",ht[ht.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",ht[ht.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",ht[ht.PLUS_DISCUSS=3]="PLUS_DISCUSS",ht[ht.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",ht[ht.SET_PAGE=5]="SET_PAGE",ht[ht.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",ht))(wr||{});function Ft(ht,Ct){switch(Ct.type){case 6:return Zn(On({},ht),{loading:!0});case 0:return On(On({},ht),Ct.payload);case 1:return On(On({},ht),Ct.payload);case 4:return On(On({},ht),Ct.payload);case 3:return On(On({},ht),Ct.payload);case 5:return Zn(On({},ht),{page:Ct.payload});case 2:return On(On({},ht),Ct.payload);default:throw new Error}}var It=({user:ht,identifier:Ct,hack:bt,onTriggerPraise:Ot,activeIndex:Bt})=>{const[Mt,Jt]=(0,be.useReducer)(Ft,_n),{loading:Zt,page:Kt,data:en,count:Gt,actionType:Cn,activeDiscussIndex:dn}=Mt,Tn=(0,be.useCallback)(()=>Xn(void 0,null,function*(){Jt({type:6});const Lt=yield Fe(Ct,Kt),{comments:un,disscuss_count:ln}=Lt;Jt({type:0,payload:{data:un,count:ln,loading:!1}})}),[Kt,Ct]);(0,be.useEffect)(()=>{Bt==="2"&&Tn()},[Ct,Kt,Bt]);function wn(Lt){Jt({type:5,payload:Lt})}function qn(Lt){Jt({type:4,payload:{actionType:Lt}})}function ir(Lt){Jt(dn===Lt?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:Lt}})}function Sr(Lt,un,ln){return Xn(this,null,function*(){try{const Wt=yield Ye(Lt);en[ln].user_praise=un,en[ln].praise_count=Wt.praise_count,Jt({type:3,payload:{data:[...en]}})}catch(Wt){console.log(Wt)}})}function br(){return Xn(this,null,function*(){const{id:Lt,params:un,type:ln,index:Wt,parentDiscussIndex:jn}=Cn;if(ln==="hidden-discuss"&&(yield tt(Ct,Lt,un),jn?en[jn].children[Wt].hidden=un.hidden==1:en[Wt].hidden=un.hidden==1,Jt({type:4,payload:{actionType:null,data:[...en]}})),ln==="delete-discuss"){if(yield lt(Ct,Lt),jn||jn===0){let Hn=en[jn].children;for(let zn=Hn.length-1;zn>=0;zn--)if(Hn[zn].id===Lt){Hn.splice(zn,1);break}en[jn].children=Hn}else for(let Hn=en.length-1;Hn>=0;Hn--)if(en[Hn].id===Lt){en.splice(Hn,1);break}Jt({type:4,payload:{actionType:null,data:[...en]}})}})}function er(){Jt({type:4,payload:{actionType:null}})}function sr(Lt,un){return Xn(this,null,function*(){try{yield nt(Ct,Lt,un),Tn()}catch(ln){console.log(ln)}})}function Cr(Lt){return Xn(this,null,function*(){Jt({type:6}),yield $e(Ct,Lt),Tn()})}return kt.createElement(kt.Fragment,null,kt.createElement("div",{className:"discuss-panel"},en.length===0?kt.createElement(We.Z,null):en.map((Lt,un)=>kt.createElement(vt,{onReplyDiscuss:sr,onPlusDiscuss:Sr,onSetActiveDiscussIndex:ir,onSetActionType:qn,data:Lt,index:un,user:ht,activeDiscussIndex:dn})),Gt>10?kt.createElement("div",{className:"pagination-container"},kt.createElement(Ze.Z,{showQuickJumper:!0,onChange:wn,current:Kt,total:Gt})):null),kt.createElement(At,{user_praise:bt.user_praise,praise_count:bt.praises_count,praisePlus:Ot,discuss_count:bt.comments_count,onCreateDiscuss:Cr}),kt.createElement(x.Z,null,kt.createElement(me.default,{centered:!0,title:"\u63D0\u793A",open:!!Cn,onOk:br,onCancel:er},kt.createElement("p",null,Cn?Cn.message:"")),kt.createElement(mt.Z,null)))},Dt=Se(57809),vn=Se(92832),Dn=Se(65615),xn={},pn=Se(59301),ft=({hack:ht,current_user:Ct})=>pn.createElement("div",{className:xn.answer},ht!=null&&ht.analysis?pn.createElement(Ge.Z,{style:{padding:"13px 0"},value:(ht==null?void 0:ht.analysis)||""}):pn.createElement(We.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),dt={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},gt=Se(36381),zt=Se(43604),qt=Se(78241),Ht=Se(5871),Rn=Se(24833),nn=Se(59301);const{TextArea:Bn}=vn.default,{Panel:Ln}=gt.default;var $n=({data:ht,hack:Ct})=>(console.log(ht,Ct,"data"),Ct!=null&&Ct.is_file?nn.createElement(Rn.Y2,{disabled:!0,className:dt.uploadTableWrapper,showScore:!Ct.test_set_score,data:ht,isProgramHomework:!0}):nn.createElement("div",{className:dt.hackSets},ht==null?void 0:ht.map((bt,Ot)=>nn.createElement(gt.default,{accordion:!0,bordered:!1,key:Ot,defaultActiveKey:Ot===0&&bt.id,className:dt.collapseWrapper,expandIcon:({isActive:Bt})=>nn.createElement("i",{className:`iconfont icon-weizhankai ${Bt?dt.open:dt.close}`,style:{fontSize:14,transition:"all .2s"}})},nn.createElement(Ln,{key:bt.id,header:nn.createElement(ie.Z,{align:"middle",justify:"space-between",wrap:!1},nn.createElement(zt.Z,{className:dt.panelHeader},nn.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",Ot+1)),nn.createElement(zt.Z,{flex:1},nn.createElement(ie.Z,{align:"middle",justify:"end",wrap:!1},!(Ct!=null&&Ct.test_set_score)&&nn.createElement(zt.Z,{className:dt.rateInput},nn.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),nn.createElement("div",null,nn.createElement(qt.default.Item,{noStyle:!0},nn.createElement(Ht.Z,{value:bt==null?void 0:bt.score,className:dt.baseFormItem,min:0,max:100,disabled:!0}))),nn.createElement("span",{className:"ml10"},"%")))))},nn.createElement(qt.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},nn.createElement(Bn,{readOnly:!0,value:bt==null?void 0:bt.input,rows:4})),nn.createElement(qt.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},nn.createElement(Bn,{readOnly:!0,value:bt==null?void 0:bt.output,rows:4}))))))),Rt={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},_t=Se(59301),Nt=(0,be.forwardRef)(({data:ht=[]},Ct)=>{var bt;const[Ot,Bt]=(0,be.useState)(),Mt=ht.filter(Zt=>Zt.show);(0,be.useEffect)(()=>{Mt.length&&Bt(Mt[0].id)},[ht==null?void 0:ht.length]);const Jt=((bt=Mt.find(Zt=>Zt.id===Ot))==null?void 0:bt.element)||null;return(0,be.useImperativeHandle)(Ct,()=>({setActiveTab:Zt=>Bt(Zt)})),_t.createElement("div",{className:Rt.tabs},_t.createElement("div",{className:Rt.tabWarp},Mt.map(Zt=>_t.createElement("div",{onClick:()=>Bt(Zt.id),className:`${Rt.tab} ${Zt.id===Ot?Rt.active:""}`,key:Zt.id},Zt.name))),_t.createElement("div",{className:Rt.content},Jt))}),Pt=Se(59301),xt=Object.defineProperty,jt=Object.defineProperties,Qt=Object.getOwnPropertyDescriptors,Xt=Object.getOwnPropertySymbols,an=Object.prototype.hasOwnProperty,cn=Object.prototype.propertyIsEnumerable,fn=(ht,Ct,bt)=>Ct in ht?xt(ht,Ct,{enumerable:!0,configurable:!0,writable:!0,value:bt}):ht[Ct]=bt,sn=(ht,Ct)=>{for(var bt in Ct||(Ct={}))an.call(Ct,bt)&&fn(ht,bt,Ct[bt]);if(Xt)for(var bt of Xt(Ct))cn.call(Ct,bt)&&fn(ht,bt,Ct[bt]);return ht},yn=(ht,Ct)=>jt(ht,Qt(Ct)),bn=(ht,Ct,bt)=>new Promise((Ot,Bt)=>{var Mt=Kt=>{try{Zt(bt.next(Kt))}catch(en){Bt(en)}},Jt=Kt=>{try{Zt(bt.throw(Kt))}catch(en){Bt(en)}},Zt=Kt=>Kt.done?Ot(Kt.value):Promise.resolve(Kt.value).then(Mt,Jt);Zt((bt=bt.apply(ht,Ct)).next())});const Tt={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},Jn={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var kn=({hack:ht,onTriggerPraise:Ct,topicId:bt,page:Ot,onPageChange:Bt,user:Mt,current_user:Jt,submitRecords:Zt,submitting:Kt,submitResult:en,setActiveIndex:Gt,hack_sets:Cn})=>{var dn,Tn;const[wn]=(0,Be.useSearchParams)(),[qn,ir]=(0,be.useState)("0"),Sr=(0,Be.useLocation)(),[br,er]=(0,be.useState)(!1),[sr,Cr]=(0,be.useState)(null),[Lt,un]=(0,be.useState)([]),[ln,Wt]=(0,be.useState)([]),[jn,Hn]=(0,be.useState)({page:1,limit:10}),zn=(0,be.useRef)(null),tr=(0,be.useRef)(null);console.log(Mt,"user");let[Vn,pr]=(0,be.useState)(yn(sn({},(0,Be.useParams)()),{page:1,per_page:20,name:""}));(0,be.useEffect)(()=>{tr.current&&(ht==null?void 0:ht.is_close_tips)===!1&&sr===null&&Cr(!0)},[tr.current,ht==null?void 0:ht.is_close_tips,sr]);function jr(){return bn(this,null,function*(){yield(0,De.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,be.useEffect)(()=>{Gt(qn)},[qn]);function Or(Un){return bn(this,null,function*(){let hr=Un.target.id;if(hr==="1"){let Pr=yield(0,De.ZP)(`/api/myproblems/${Vn.id}/redo_logs.json`,{method:"get",params:sn({},jn)});(Pr==null?void 0:Pr.status)===0&&Wt(Pr==null?void 0:Pr.data)}ir(hr)})}(0,be.useEffect)(()=>Ce.Z.subscribe("to-commit-info",()=>{ir("1"),zn.current&&zn.current.setActiveTab("1")}),[]),(0,be.useEffect)(()=>Ce.Z.subscribe("to-reset-info",()=>{Or({target:{id:"1"}}),zn.current&&zn.current.setActiveTab("2")}),[]);function Ir(){ir("2")}function fr(){return bn(this,null,function*(){let Un=yield(0,De.ZP)("/api/problems/my_hack_list.json",{method:"get",params:sn({identifier:Vn==null?void 0:Vn.id},Vn)});un(Un)})}const hn=[{title:null,description:Pt.createElement("div",null,Pt.createElement("b",{onClick:()=>{Cr(!1),jr(),er(!0),fr()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),Pt.createElement("div",{className:"c-grey-333 mt10 mb20"},"\u672C\u6B21\u4F5C\u4E1A\u6240\u9700\u5B8C\u6210\u7684\u8BD5\u9898\u90FD\u53EF\u4EE5\u5728\u8FD9\u91CC\u627E\u5230\uFF0C\u5E76\u652F\u6301\u70B9\u51FB\u8BD5\u9898\u8C03\u6574\u5230\u505A\u9898\u9875"),Pt.createElement(le.ZP,{onClick:()=>{Cr(!1),jr()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>tr.current}];return Pt.createElement("div",{className:Te["left-panel"]},Pt.createElement("ul",{className:`${Te["s-navs"]} ${Te["bg-white"]} ${Te.b1}`},(ht==null?void 0:ht.is_program)&&!wn.get("pageId")&&Pt.createElement(ae.Z,{title:"\u9898\u76EE\u5217\u8868"},Pt.createElement("div",{onClick:()=>{fr(),er(!0)},className:Te.btns,ref:tr,style:sr?{pointerEvents:"none"}:{}},Pt.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),Pt.createElement("li",{style:{marginLeft:20}},Pt.createElement("a",{className:qn==="0"?Te.active:"",id:"0",onClick:Or},"\u9898\u76EE\u63CF\u8FF0")),Pt.createElement("li",null,Pt.createElement("a",{className:qn==="1"?Te.active:"",id:"1",onClick:Or},"\u64CD\u4F5C\u8BB0\u5F55")),(wn.get("type")!=="exercises"&&(ht==null?void 0:ht.answer_text_show)||wn.get("type")!=="exercises"&&(ht==null?void 0:ht.analysis_show))&&Pt.createElement("li",null,Pt.createElement("a",{className:qn==="4"?Te.active:"",id:"4",onClick:Or},"\u89E3\u7B54\u53C2\u8003")),wn.get("type")!=="exercises"&&Pt.createElement("li",null,Pt.createElement("a",{className:qn==="2"?Te.active:"",id:"2",onClick:Or},"\u8BC4\u8BBA")),!!(Cn!=null&&Cn.length)&&wn.get("type")!=="exercises"&&wn.get("type")!=="1"&&Pt.createElement("li",null,Pt.createElement("a",{className:qn==="5"?Te.active:"",id:"5",onClick:Or},"\u6D4B\u8BD5\u7528\u4F8B"))),Pt.createElement("div",{className:`${Te["tab-panel-body"]} ${qn==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},Pt.createElement(ot,{hack:ht,onTriggerPraise:Ct,toDiscuss:Ir})),Pt.createElement("div",{style:{padding:"12px"},className:`${Te["tab-panel-body"]} ${qn==="1"?"":"hide"}`},Pt.createElement(Nt,{ref:zn,data:[{id:"1",show:wn.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:Pt.createElement(Pt.Fragment,null,Zt!=null&&Zt.records_count||Kt?Pt.createElement(rt,{page:Ot,onPageChange:Bt,topicId:bt,submitting:Kt,key:(en==null?void 0:en.id)||1,submitRecords:Zt,submitResult:en}):Pt.createElement(We.Z,null))},{id:"2",show:wn.get("type")==="exercises"||(ht==null?void 0:ht.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:Pt.createElement(Pt.Fragment,null,Pt.createElement(Qe.default,{pagination:!1,dataSource:ln==null?void 0:ln.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Un,hr,Pr)=>Re()(Un).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Un,hr,Pr)=>{var Nr;return(Nr=[{id:1,name:"\u6253\u56DE\u91CD\u505A"},{id:2,name:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},{id:3,name:"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"}].find(Zr=>Zr.id===Un))==null?void 0:Nr.name}}]}),Pt.createElement(Ze.Z,{style:{marginTop:10},current:jn.page,total:ln==null?void 0:ln.count,hideOnSinglePage:!0,onChange:Un=>bn(void 0,null,function*(){jn.page=Un,Hn(jn);let hr=yield(0,De.ZP)(`/api/myproblems/${Vn.id}/redo_logs.json`,{method:"get",params:yn(sn({},jn),{courseId:Vn.courseId})});(hr==null?void 0:hr.status)===0&&Wt(hr==null?void 0:hr.data)})}))}]})),Pt.createElement("div",{style:{padding:"12px"},className:`${Te["tab-panel-body"]} ${qn==="4"?"":"hide"}`},Pt.createElement(Nt,{data:[{id:"1",show:wn.get("type")!=="exercises"&&(ht==null?void 0:ht.answer_text_show),name:"\u7B54\u6848",element:Pt.createElement(Pt.Fragment,null,Pt.createElement(je,{hack:ht,current_user:Jt}))},{id:"2",show:wn.get("type")!=="exercises"&&(ht==null?void 0:ht.analysis_show),name:"\u89E3\u6790",element:Pt.createElement(Pt.Fragment,null,Pt.createElement(ft,{hack:ht,current_user:Jt}))}]})),Pt.createElement("div",{className:`${Te["tab-panel-body"]} ${qn==="2"?"":"hide"}`,style:{padding:0}},Pt.createElement(It,{user:Mt,activeIndex:qn,identifier:ht.identifier,hack:ht,onTriggerPraise:Ct})),Pt.createElement("div",{className:`${Te["tab-panel-body"]} ${qn==="5"?"":"hide"}`,style:{padding:12}},Pt.createElement($n,{data:Cn||[],hack:ht})),Pt.createElement(a.Z,{rootClassName:Te.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>er(!1),open:br},Pt.createElement(ie.Z,null,Pt.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),Pt.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",Lt==null?void 0:Lt.total_count,"\u9898\xA0[\xA0",Lt==null?void 0:Lt.total_score,"\u5206\xA0]\xA0"),!(Mt!=null&&Mt.hack_manager)&&Pt.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",Lt==null?void 0:Lt.work_score,"\u5206")),Pt.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),Pt.createElement(ie.Z,{align:"middle",className:"mt10 mb10"},!(Mt!=null&&Mt.hack_manager)&&Pt.createElement(Dt.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Un=>{Vn.page=1,Vn.finish_status=Un,pr(sn({},Vn)),fr()}},Pt.createElement(Dt.default.Option,{value:""},"\u5168\u90E8"),Pt.createElement(Dt.default.Option,{value:0},"\u672A\u5F00\u59CB"),Pt.createElement(Dt.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),Pt.createElement(Dt.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),Pt.createElement(Dt.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Un=>{Vn.page=1,Vn.difficult=Un||null,pr(sn({},Vn)),fr()}},Pt.createElement(Dt.default.Option,{value:0},"\u5168\u90E8"),Pt.createElement(Dt.default.Option,{value:1},"\u7B80\u5355"),Pt.createElement(Dt.default.Option,{value:2},"\u9002\u4E2D"),Pt.createElement(Dt.default.Option,{value:3},"\u56F0\u96BE")),Pt.createElement(vn.default.Search,{size:"large",onSearch:Un=>{Vn.name=Un,Vn.page=1,pr(sn({},Vn)),fr()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),Pt.createElement("div",{className:Te.list,style:{height:36,background:"#3D445C"}},!(Mt!=null&&Mt.hack_manager)&&Pt.createElement("span",null,"\u72B6\u6001"),Pt.createElement("span",null,"\u5E8F\u53F7"),Pt.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),Pt.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),Pt.createElement("div",{style:{overflow:"auto",flex:1}},(dn=Lt==null?void 0:Lt.data)!=null&&dn.length?(Tn=Lt==null?void 0:Lt.data)==null?void 0:Tn.map((Un,hr)=>Pt.createElement("div",{onClick:()=>bn(void 0,null,function*(){let Pr=yield(0,De.ZP)(`/api/problems/${Un==null?void 0:Un.identifier}/start.json`,{method:"get",params:{hack_user_id:Mt==null?void 0:Mt.user_id}});Pr&&(Be.history.replace(`/myproblems/${Pr==null?void 0:Pr.identifier}${window.location.search}`),window.location.reload())}),className:`${Te.list} ${Un!=null&&Un.checked?Te.active:""}`},!(Mt!=null&&Mt.hack_manager)&&Pt.createElement(Pt.Fragment,null,!(Un!=null&&Un.opened)&&Pt.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Un==null?void 0:Un.opened)&&!(Un!=null&&Un.passed)&&Pt.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Un==null?void 0:Un.opened)&&(Un==null?void 0:Un.passed)&&Pt.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),Pt.createElement("span",null,(Vn.page-1)*20+(hr+1)),Pt.createElement("span",{style:{flex:1},title:Un.name},`[${Un==null?void 0:Un.score}\u5206]`,"\xA0",Un.name),Pt.createElement("span",{style:{flexBasis:48,paddingRight:0}},Tt[Un.difficult]))):Pt.createElement(We.Z,null)),Pt.createElement(Ze.Z,{current:Vn.page,className:"mt20",hideOnSinglePage:!0,total:Lt==null?void 0:Lt.count,pageSize:Vn.per_page,onChange:(Un,hr)=>{Vn.page=Un,Vn.per_page=hr,fr()}})),Pt.createElement(Dn.Z,{rootClassName:Te.tour,closeIcon:!1,open:!!sr,steps:hn,gap:{offset:3,radius:2}}))},Wn=Se(62522),on=Se(93261),wt=Se(46942),Ut=Se(38992),tn=Se(39649),Vt=Se(71400),mn=Se(7850),Nn=Se(92310),An=Se.n(Nn),Fn=Se(48569),nr=Se(18378),vr=Se(54318),gr=Se(71302),Yt=Se(59301),_r=Object.defineProperty,xr=Object.defineProperties,Ar=Object.getOwnPropertyDescriptors,lr=Object.getOwnPropertySymbols,mr=Object.prototype.hasOwnProperty,dr=Object.prototype.propertyIsEnumerable,rr=(ht,Ct,bt)=>Ct in ht?_r(ht,Ct,{enumerable:!0,configurable:!0,writable:!0,value:bt}):ht[Ct]=bt,Mn=(ht,Ct)=>{for(var bt in Ct||(Ct={}))mr.call(Ct,bt)&&rr(ht,bt,Ct[bt]);if(lr)for(var bt of lr(Ct))dr.call(Ct,bt)&&rr(ht,bt,Ct[bt]);return ht},Yn=(ht,Ct)=>xr(ht,Ar(Ct)),ur=(ht,Ct)=>{var bt={};for(var Ot in ht)mr.call(ht,Ot)&&Ct.indexOf(Ot)<0&&(bt[Ot]=ht[Ot]);if(ht!=null&&lr)for(var Ot of lr(ht))Ct.indexOf(Ot)<0&&dr.call(ht,Ot)&&(bt[Ot]=ht[Ot]);return bt},Kn=(ht,Ct,bt)=>new Promise((Ot,Bt)=>{var Mt=Kt=>{try{Zt(bt.next(Kt))}catch(en){Bt(en)}},Jt=Kt=>{try{Zt(bt.throw(Kt))}catch(en){Bt(en)}},Zt=Kt=>Kt.done?Ot(Kt.value):Promise.resolve(Kt.value).then(Mt,Jt);Zt((bt=bt.apply(ht,Ct)).next())});const{Countdown:cr}=E.default,or={Java:"java",C:"c",Python:"py","C++":"c"};var yr=(ht=>(ht[ht.SET_LOADING=0]="SET_LOADING",ht[ht.GET_DATA=1]="GET_DATA",ht[ht.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",ht[ht.SET_DATA=3]="SET_DATA",ht[ht.SET_DEBUGING=4]="SET_DEBUGING",ht[ht.SET_SUBMITING=5]="SET_SUBMITING",ht[ht.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",ht[ht.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",ht[ht.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",ht[ht.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",ht[ht.SET_PAGE=10]="SET_PAGE",ht))(yr||{});function Er(){return new Date().getTime()}const ar={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function Mr(ht,Ct){switch(Ct.type){case 1:return Mn(Mn({},ht),Ct.payload);case 3:return Yn(Mn({},ht),{data:Ct.payload});case 0:return Yn(Mn({},ht),{loading:Ct.payload});case 9:return Yn(Mn({},ht),{showNote:Ct.payload});case 4:return Yn(Mn({},ht),{debuging:Ct.payload});case 5:return Yn(Mn({},ht),{submitting:Ct.payload});case 2:return Yn(Mn({},ht),{submitRecords:Ct.payload});case 10:return Yn(Mn({},ht),{submitRecordPage:Ct.payload});case 6:return Yn(Mn({},ht),{executingMessage:Ct.payload});case 7:return Mn(Mn({},ht),Ct.payload);case 8:return Mn(Mn({},ht),Ct.payload);default:throw new Error}}var Lr=({children:ht})=>{var Ct,bt,Ot,Bt,Mt;const[Jt,Zt]=(0,be.useReducer)(Mr,ar),{id:Kt}=(0,Be.useParams)(),en=(0,Be.useLocation)(),[Gt]=(0,Be.useSearchParams)(),{loading:Cn,data:dn,debugResult:Tn,submitResult:wn,submitRecords:qn,submitRecordPage:ir,showNote:Sr,debuging:br,submitting:er,executingMessage:sr}=Jt,[Cr,Lt]=(0,be.useState)("#37AD83"),[un,ln]=(0,be.useState)(null),[Wt,jn]=(0,be.useState)({}),[Hn,zn]=(0,be.useState)(!0),[tr,Vn]=(0,be.useState)(!1),[pr,jr]=(0,be.useState)(!1),Or=(0,be.useRef)(null),Ir=(0,be.useRef)(0),fr=dn==null?void 0:dn.user,hn=dn==null?void 0:dn.hack,[Un,hr]=(0,be.useState)(!1),Pr=(0,be.useRef)(1),Nr=(0,be.useRef)(!1);(0,Fn.y)(Gt.get("type")==="exercises");const{setOpenDisableCopyAndPaste:Zr}=(0,Fn.X)(),[Kr,qr]=(0,be.useState)(""),$r=(0,tn._)(Wt);(0,be.useEffect)(()=>{function Sn(){return Kn(this,null,function*(){var Qn,kr,Rr,Gr,zr;zn(!0);const Fr=yield(0,se.fu)(Kt,{exercise_id:Gt.get("exercisesId")});if(setTimeout(()=>{zn(!1)},800),Fr.status!==401){try{Fr.hack.code=Ie.Base64.decode(Fr.hack.code)}catch(Tr){console.log(Tr)}Fr.hack=Yn(Mn({},Fr.hack),{is_program:Gt.get("type")==="1"}),Zt({type:1,payload:{loading:!1,data:Fr}})}if(Gt.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let Tr;Gt.get("coursesId")=="coursesId"?Tr=yield(0,ce._F)({categoryId:Gt.get("exercisesId"),login:Gt.get("login")}):Tr=yield(0,ce._B)({categoryId:Gt.get("exercisesId"),login:Gt.get("login")}),jn(Mn({},Tr)),Zr((Qn=Tr==null?void 0:Tr.exercise)==null?void 0:Qn.forbid_copy),typeof((kr=Tr==null?void 0:Tr.exercise)==null?void 0:kr.left_time)=="number"&&(ln(Date.now()+((Rr=Tr==null?void 0:Tr.exercise)==null?void 0:Rr.left_time)*1e3),setTimeout(()=>{Lt("red")},(((Gr=Tr==null?void 0:Tr.exercise)==null?void 0:Gr.left_time)-300>0?((zr=Tr==null?void 0:Tr.exercise)==null?void 0:zr.left_time)-300:0)*1e3))}})}Kt&&Sn()},[Kt]),(0,be.useEffect)(()=>{var Sn;return Gt.get("type")==="exercises"&&((Sn=Wt==null?void 0:Wt.exercise)!=null&&Sn.screen_open)&&(window.removeEventListener("blur",Hr,!1),Vt.U.forEach((Qn,kr)=>{window.addEventListener(Qn,Hr,!1)}),window.addEventListener("blur",Hr,!1),window.focus()),()=>{document.removeEventListener((0,oe.gH)(),Hr)}},[Wt]),(0,be.useEffect)(()=>{Kr==="1"&&Kt&&hn!=null&&hn.language&&to()},[Kt,ir,hn==null?void 0:hn.language,Kr]),(0,be.useEffect)(()=>(hn!=null&&hn.is_program&&(Ir.current=0,Or.current=setInterval(()=>{eo()},15e3)),()=>{clearInterval(Or.current)}),[hn==null?void 0:hn.is_program]);const eo=()=>Kn(void 0,null,function*(){let Sn=yield(0,De.ZP)(`/api/myproblems/${Kt}/save_long_time.json`,{method:"get",params:{answer_long_time:Ir.current}})}),Hr=()=>{Nr.current||(0,oe.BU)(),window.parent.postMessage("backExercise","*")};function to(){return Kn(this,null,function*(){try{const Sn=yield(0,se.zO)(Kt,{limit:15,page:ir,language:hn==null?void 0:hn.language});Zt({type:2,payload:Sn})}catch(Sn){console.log(Sn)}})}function no(Sn){Zt({type:10,payload:Sn})}function Wr(Sn){return Kn(this,null,function*(){var Qn;let kr;(Gt.get("ip_limit")==="inner"||Gt.get("ip_bind_type")==="true")&&(kr=yield(0,on.y)({ip_limit:Gt.get("ip_limit"),ip_bind:Gt.get("ip_bind_type")==="true"}));const Rr=yield(0,se.n4)(Kt,{code:Ie.Base64.encode(Sn||hn.code),language:hn==null?void 0:hn.language,exercise_id:Gt.get("exercisesId"),question_id:Gt.get("questionId"),ip:kr});return Rr.status===-5&&(0,Be.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:Yn(Mn({errorMessage:Rr==null?void 0:Rr.message},(Wt==null?void 0:Wt.exercise)||{}),{exercise_user_id:(Qn=Wt==null?void 0:Wt.exercise)==null?void 0:Qn.exercise_user_id,id:Gt.get("exercisesId")})}}),Rr})}function Qr(){return Kn(this,null,function*(){if(Pr.current=2,!er){Zt({type:5,payload:!0});try{Ce.Z.publish("to-commit-info");const Sn=yield Wr();if(console.log(Sn,1),Sn.status===0){let Fr=function(){return Kn(this,null,function*(){const{status:Tr,data:Ur}=yield(0,se.rX)(Kt,"submit"),Vr=Er()-zr>(Rr*Gr+3)*1e3;if(Tr!==0&&!Vr&&setTimeout(Fr,1e3),Vr){me.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),Zt({type:5,payload:!1});return}if(Tr===0){Ur.status===2&&me.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(Ur==null?void 0:Ur.status)===0&&Gt.get("type")==="1"&&jr(!0);const vo=yield(0,se.zO)(Kt,{limit:15,page:ir,language:hn==null?void 0:hn.language});Zt({type:8,payload:Yn(Mn({},Jt),{submitResult:Ur,submitting:!1,submitRecords:vo})})}})},Qn={};if(Gt.get("type")==="exercises"&&(Qn.extras={exercise_id:Gt.get("exercisesId"),question_id:Gt.get("questionId")},(Gt.get("ip_limit")==="inner"||Gt.get("ip_bind_type")==="true")&&(Qn.extras.ip=yield(0,on.y)({ip_limit:Gt.get("ip_limit"),ip_bind:Gt.get("ip_bind_type")==="true"}))),(yield(0,se.bM)(Kt,Qn)).status===-1&&Gt.get("exercisesId")){window.parent.location.href=`/classrooms/${Gt.get("coursesId")}/exercise/${Gt.get("exercisesId")}/detail`;return}const{time_limit:Rr,test_case_size:Gr}=hn,zr=Er();Fr()}else Zt({type:5,payload:!1})}catch(Sn){console.log(Sn),Zt({type:5,payload:!1})}hr(!1)}})}function Xr(){return Kn(this,null,function*(){Pr.current=1,Jt.debuging=!0,Zt({type:4,payload:!0});try{if((yield Wr()).status===0){let zr=function(){return Kn(this,null,function*(){const{status:Fr,message:Tr,data:Ur}=yield(0,se.rX)(Kt,"debug"),Vr=Er()-Gr>(Qn+3)*1e3;if(Fr!==0&&!Vr&&(Zt({type:6,payload:Tr}),setTimeout(zr,1e3)),Vr){me.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Zt({type:4,payload:!1}),Zt({type:7,payload:Yn(Mn({},Jt),{debugResult:{status:2},debuging:!1})});return}Fr===0&&(Ur.status===2&&me.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Zt({type:4,payload:!1}),Zt({type:7,payload:Yn(Mn({},Jt),{debugResult:Ur,debuging:!1})}))})};const{time_limit:Qn}=hn;let kr={input:encodeURIComponent(dn.test_case.input)};if(Gt.get("type")==="exercises"&&(kr.exercise_id=Gt.get("exercisesId")),(yield(0,se.MU)(Kt,kr)).status===-1&&Gt.get("exercisesId")){window.parent.location.href=`/classrooms/${Gt.get("coursesId")}/exercise/${Gt.get("exercisesId")}/detail`;return}const Gr=Er();zr()}else Zt({type:4,payload:!1})}catch(Sn){console.log(Sn)}finally{}})}function Yr(Sn,Qn){const kr=Qn?{modify_code:!1}:{};Zt({type:3,payload:Yn(Mn({},dn),{hack:Mn(Yn(Mn({},hn),{code:Sn}),kr)})}),hr(!0)}const ro=Sn=>Kn(void 0,null,function*(){let Qn=yield(0,De.ZP)(`/api/problems/${hn==null?void 0:hn.identifier}/start.json`,{method:"get",params:{language:Sn==="C++"||Sn==="c++"?encodeURIComponent(Sn):Sn,hack_user_id:fr==null?void 0:fr.user_id}});Qn.status!==-1&&Be.history.replace(`/myproblems/${Qn==null?void 0:Qn.identifier}${window.location.search}`)});function oo(Sn){let Qn=Sn.target.value;Zt({type:3,payload:Yn(Mn({},dn),{test_case:{input:Qn}})})}function ao(){return Kn(this,null,function*(){try{let Sn={};Gt.get("type")==="exercises"?Sn.exercise_id=Gt.get("exercisesId"):hn!=null&&hn.homework_common_id&&(Sn.homework_common_id=hn==null?void 0:hn.homework_common_id);const Qn=yield(0,se.H7)(Kt,Mn({},Sn));Qn.status===401||(Yr(Ie.Base64.decode(Qn.code)),(Gt.get("type")==="exercises"||hn!=null&&hn.homework_common_id)&&Ce.Z.publish("to-reset-info"))}catch(Sn){console.log(Sn)}})}function io(){me.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Yt.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",Yt.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return Kn(this,null,function*(){const Sn=yield(0,se.fi)(Kt);Sn.status===401||Yr(Ie.Base64.decode(Sn.code),!0)})}})}function so(){Zt({type:9,payload:!0})}function lo(){Zt({type:9,payload:!1})}function uo(Sn){return Kn(this,null,function*(){yield(0,se.MK)(Kt,Sn),Zt({type:1,payload:{showNote:!1,data:Yn(Mn({},dn),{hack:Yn(Mn({},hn),{notes:Sn.notes})})}})})}const co={hack:hn,isLoading:Hn,input:(Ct=dn==null?void 0:dn.test_case)==null?void 0:Ct.input,is_file:(bt=dn==null?void 0:dn.test_case)==null?void 0:bt.is_file,language:hn==null?void 0:hn.language,code:hn==null?void 0:hn.code,title:"main."+or[hn==null?void 0:hn.language],modify_code:hn==null?void 0:hn.modify_code,notes:hn==null?void 0:hn.notes,debugResult:Tn,debuging:br,submitting:er,submitResult:wn,executingMessage:sr,onCancelNote:lo,onAddNote:uo,showNote:Sr,user:fr,onShowNote:so,onSubmitCode:Qr,onChangeCode:Yr,onChangeInput:oo,onDebugCode:Xr,onResetCode:ao,onSyncCode:io,onUpdateCode:Wr,onChangeLanguage:ro,isWhiteTheme:tr,setIsWhiteTheme:Vn,topDispatch:Zt};function fo(){return Kn(this,null,function*(){const{praise_count:Sn}=yield(0,se.vl)(hn.id,{container_type:"Hack",type:1});let Qn=Yn(Mn({},dn),{hack:Yn(Mn({},hn),{praises_count:Sn,user_praise:!hn.user_praise})});Zt({type:3,payload:Qn})})}const ho={topicId:Kt,submitResult:wn,submitRecords:qn,submitting:er,page:ir,onPageChange:no,hack:hn,user:dn==null?void 0:dn.user,hack_sets:dn==null?void 0:dn.hack_sets,current_user:dn==null?void 0:dn.current_user,onTriggerPraise:fo,setActiveIndex:qr};console.log(Wt);const po=()=>Gt.get("type")==="exercises"?!1:!!(Gt.get("type")==="1"&&Object.values((hn==null?void 0:hn.homework_extension)||{}).some(Boolean));return Yt.createElement(Yt.Fragment,null,Yt.createElement(de.Z,{spinning:Cn,delay:500},dn?Yt.createElement(Yt.Fragment,null,Yt.createElement("header",{className:An()(mn.Z.header,tr&&mn.Z.whiteHeader)},Gt.get("type")!=="exercises"&&Yt.createElement("div",null,Yt.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${fr==null?void 0:fr.image_url}`,alt:"user",width:36}),Yt.createElement("span",{style:{color:tr?"#333":"#B2BACB",fontSize:16}},fr==null?void 0:fr.name)),Gt.get("type")==="exercises"&&Yt.createElement("div",null,Yt.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",Yt.createElement("span",{className:"ml10"},(Ot=Wt==null?void 0:Wt.exercise)==null?void 0:Ot.user_name)),Yt.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",Yt.createElement("span",{className:"ml10"},(Bt=Wt==null?void 0:Wt.exercise)==null?void 0:Bt.student_id))),Yt.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},Yt.createElement("div",null,hn.name)),(hn==null?void 0:hn.is_program)&&Yt.createElement(wt.Z,{defaultValue:hn==null?void 0:hn.answer_long_time,onChange:Sn=>{Ir.current=Sn},className:mn.Z.timepiece}),fr!=null&&fr.hack_manager?Yt.createElement(Be.Link,{className:mn.Z.btn_edit,to:Gt.get("type")==="1"?Gt.get("pageId")?`/problems/newedit/${hn.identifier}?type=1&pageId=${Gt.get("pageId")}&backUrl=${Gt.get("backUrl")}`:`/problems/newedit/${hn.identifier}?type=1`:`/problems/newedit/${hn.identifier}`}," ",Yt.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,((Mt=Wt==null?void 0:Wt.exercise)==null?void 0:Mt.left_time)&&Yt.createElement(Yt.Fragment,null,Yt.createElement("span",{style:{color:Cr,marginRight:6},className:`iconfont icon-daojishi ${mn.Z.djs}`}),Yt.createElement("span",{className:"c-white mr20"},Yt.createElement(cr,{valueStyle:{color:Cr,fontSize:20,fontWeight:500},title:Yt.createElement("span",{style:{color:Cr,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:un,onFinish:()=>Kn(void 0,null,function*(){const Sn=yield(0,ce.VL)({categoryId:Gt.get("exercisesId"),commit_method:2});if((Sn==null?void 0:Sn.status)===0&&(Wr(),me.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:Yt.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",Yt.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>Kn(void 0,null,function*(){window.parent.location.href=`/classrooms/${Gt.get("coursesId")}/exercise/${Gt.get("exercisesId")}/detail`})})),(Sn==null?void 0:Sn.status)===-3){const Qn=parseInt(Sn==null?void 0:Sn.message);ln(Date.now()+Qn*1e3)}})}))),Gt.get("type")==="exercises"?Yt.createElement(le.ZP,{type:"primary",onClick:()=>{const Sn=()=>Kn(void 0,null,function*(){yield Wr(),hr(!1),$r(),Nr.current=!0,Hr()});if(!(qn!=null&&qn.records_count)||Un){me.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:Yt.createElement("div",{style:{color:"#FF0000"}},"\u8BF7\u786E\u8BA4\u4F60\u7684\u7B54\u9898\u5185\u5BB9\u662F\u5426\u8FDB\u884C\u8BC4\u6D4B\u5E76\u63D0\u4EA4\uFF0C\u672A\u8BC4\u6D4B\u5219\u4F1A\u5BFC\u81F4\u8BE5\u9898\u65E0\u6CD5\u83B7\u5F97\u5206\u6570"),onOk:Sn});return}Sn()}},Yt.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):Yt.createElement("span",{onClick:()=>{var Sn;if(Gt.get("backUrl"))Be.history.push(Gt.get("backUrl"));else if(Gt.get("type")==="1"){let Qn=(Sn=localStorage.getItem("program_homework"))==null?void 0:Sn.split(",");Be.history.push(`/classrooms/${Qn==null?void 0:Qn[0]}/program_homework/${Qn==null?void 0:Qn[1]}/detail`)}else Be.history.push("/problemset")}},Yt.createElement(ae.Z,{title:"\u5173\u95ED"},Yt.createElement("i",{style:{color:tr?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),Yt.createElement(de.Z,{size:"large",spinning:Hn},Yt.createElement(re.Z,{className:An()(mn.Z.myProblems,tr&&mn.Z.whiteMyProblems),leftChild:Yt.createElement(kn,Mn({},ho)),rightChild:Yt.createElement(Br,Mn({},co))}))):null,Yt.createElement(me.default,{centered:!0,closable:!1,width:680,footer:null,open:pr,className:"oj-modal"},Yt.createElement("section",{className:"oj-modal-content"},Yt.createElement("div",{className:"oj-modal-head"},Yt.createElement("img",{src:Wn,alt:""}),Yt.createElement("i",{onClick:()=>jr(!1),className:"iconfont icon-guanbi1"})),Yt.createElement("aside",null,Yt.createElement("img",{className:"mr30",src:gr.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",Yt.createElement("span",{style:{color:"#75d6ba",marginRight:100}},wn==null?void 0:wn.execute_time,"ms"),"\u4F18\u4E8E",Yt.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(wn==null?void 0:wn.time_better_than)||100,"%"),"\u7684\u7528\u6237"),Yt.createElement("aside",{className:"mb50"},Yt.createElement("img",{src:vr.Z,className:"mr30"}),Yt.createElement("span",{className:"oj-modal-tt"},Yt.createElement("span",null,Yt.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),Yt.createElement("span",{className:"c-light-primary"},wn==null?void 0:wn.execute_memory,"kb")),Yt.createElement("span",null,Yt.createElement("span",null))),"\u4F18\u4E8E",Yt.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(wn==null?void 0:wn.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),Yt.createElement("div",{id:"oj-modal-next",onClick:()=>Kn(void 0,null,function*(){var Sn;if(wn!=null&&wn.next_identifier){let Qn=yield(0,De.ZP)(`/api/problems/${wn==null?void 0:wn.next_identifier}/start.json`,{method:"get",params:{hack_user_id:fr==null?void 0:fr.user_id}});Qn&&(Be.history.replace(`/myproblems/${Qn==null?void 0:Qn.identifier}${window.location.search}`),window.location.reload())}else{let Qn=(Sn=localStorage.getItem("program_homework"))==null?void 0:Sn.split(",");Be.history.push(`/classrooms/${Qn==null?void 0:Qn[0]}/program_homework/${Qn==null?void 0:Qn[1]}/detail`)}}),className:"oj-modal-btn"},wn!=null&&wn.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875"))),po()&&Yt.createElement(nr.Z,{showData:hn==null?void 0:hn.homework_extension,description:hn==null?void 0:hn.description,code:hn.code,sendParams:{source:"hack"}})),Yt.createElement(Ut.Z,{successCb:()=>{Pr.current===1?Xr():Qr()}}))};function Dr({title:ht,modify_code:Ct,onSyncCode:bt,onShowCodeSetting:Ot,onResetCode:Bt,hack:Mt,onChangeLanguage:Jt,isWhiteTheme:Zt}){var Kt;const en=()=>{me.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:Yt.createElement(te.Z,null),content:"\u4F60\u5728\u672C\u6587\u4EF6\u4E2D\u4FEE\u6539\u7684\u5185\u5BB9\u5C06\u4E22\u5931\uFF0C\u662F\u5426\u786E\u5B9A\u91CD\u65B0\u52A0\u8F7D\u521D\u59CB\u4EE3\u7801\uFF1F",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:Bt})},[Gt]=(0,Be.useSearchParams)(),Cn=Gt.get("language"),dn=Tn=>Tn==="1"?"c++":Tn==="2"?"C++":Tn;return(0,be.useEffect)(()=>{Cn&&Jt(dn(Cn))},[]),(0,be.useEffect)(()=>{Mt!=null&&Mt.tpm_code_modified&&me.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:Yt.createElement(te.Z,null),content:Yt.createElement("div",null,Yt.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),Yt.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),Yt.createElement("div",null,"\u8FD8\u672A\u5B8C\u6210\u8BC4\u6D4B\u7684\u4EFB\u52A1\u4EFB\u52A1\u4EE3\u7801\uFF0C\u8BF7\u81EA\u884C\u4FDD\u5B58\uFF01")),centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Bt()})},[Mt==null?void 0:Mt.language]),console.log(Mt,Zt,"hack"),Yt.createElement("div",{className:`${mn.Z.codeHead} ${Zt?mn.Z.whiteCodeHead:""}`},Yt.createElement("div",{className:mn.Z.navWrap},(Kt=Mt==null?void 0:Mt.all_language)==null?void 0:Kt.map(Tn=>Yt.createElement("div",{className:`${mn.Z.nav} ${Tn===(Mt==null?void 0:Mt.language)?mn.Z.active:""}`,key:Tn,onClick:()=>Jt(Tn)},Yt.createElement(ae.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},Yt.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),Yt.createElement("span",null,Tn)))),Yt.createElement(ie.Z,{align:"middle",style:{marginLeft:"auto"}},Ct?Yt.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:bt},Yt.createElement("img",{src:Oe,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,Yt.createElement("a",{onClick:en},Yt.createElement(ae.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},Yt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),Yt.createElement("a",{onClick:Ot},Yt.createElement(ae.Z,{title:"\u8BBE\u7F6E"},Yt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function Br(ht){var Ct=ht,{input:bt,is_file:Ot,showNote:Bt,onShowNote:Mt,notes:Jt,onCancelNote:Zt,onAddNote:Kt,debugResult:en,language:Gt,debuging:Cn,submitting:dn,executingMessage:Tn,code:wn,onSubmitCode:qn,onDebugCode:ir,onChangeCode:Sr,onChangeInput:br,onUpdateCode:er,user:sr,isLoading:Cr,submitResult:Lt}=Ct,un=ur(Ct,["input","is_file","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function ln(jn){return Yt.createElement(Dr,Yn(Mn({},un),{onShowCodeSetting:jn}))}const Wt=Mn({input:bt,is_file:Ot,debugResult:en,debuging:Cn,submitting:dn,executingMessage:Tn,onDebugCode:ir,onChangeCode:Sr,onSubmitCode:qn,onChangeInput:br,user:sr,submitResult:Lt},un);return Yt.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},Yt.createElement(Ee,{setIsWhiteTheme:un==null?void 0:un.setIsWhiteTheme,isLoading:Cr,language:Gt,value:wn,onChange:Sr,onUpdateCode:er,ActionBarRender:ln}),Yt.createElement(Ne.ZP,Mn({},Wt)))}},76826:function(ct,it,Se){"use strict";Se.d(it,{h:function(){return be}});var be=(Be=>(Be[Be.NOMATCH=-1]="NOMATCH",Be[Be.OK=0]="OK",Be[Be.TIMEOUT=2]="TIMEOUT",Be[Be.PODFAILURE=3]="PODFAILURE",Be[Be.COMPILEFAILURE=4]="COMPILEFAILURE",Be[Be.EXECUTEFAILURE=5]="EXECUTEFAILURE",Be[Be.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",Be))(be||{})},5247:function(ct,it,Se){"use strict";Se.d(it,{H7:function(){return a},MK:function(){return te},MU:function(){return ce},X6:function(){return re},bM:function(){return se},fi:function(){return y},fu:function(){return ie},n4:function(){return x},rX:function(){return ne},vl:function(){return b},zO:function(){return oe}});var be=Se(7660),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(ee,z,ue)=>z in ee?Be(ee,z,{enumerable:!0,configurable:!0,writable:!0,value:ue}):ee[z]=ue,ae=(ee,z)=>{for(var ue in z||(z={}))me.call(z,ue)&&le(ee,ue,z[ue]);if(E)for(var ue of E(z))de.call(z,ue)&&le(ee,ue,z[ue]);return ee};function ie(ee,z){return(0,be.U2)(`myproblems/${ee}.json`,ae({hidePopLogin:!0},z||{}))}function se(ee,z){return(0,be.v_)(`myproblems/${ee}/code_submit.json`,z)}function ce(ee,z){return(0,be.v_)(`myproblems/${ee}/code_debug.json`,z)}function oe(ee,z){return z.language&&(z.language=encodeURIComponent(z.language)),(0,be.U2)(`myproblems/${ee}/submit_records.json`,z)}function re(ee){return(0,be.U2)("myproblems/record_detail.json",{id:ee})}function ne(ee,z){return(0,be.U2)(`myproblems/${ee}/result.json`,{mode:z})}function te(ee,z){return(0,be.v_)(`myproblems/${ee}/add_notes.json`,z)}function a(ee,z){return(0,be.v_)(`myproblems/${ee}/restore_initial_code.json`,z)}function y(ee){return(0,be.v_)(`myproblems/${ee}/sync_code.json`)}function x(ee,z){return(0,be.v_)(`myproblems/${ee}/update_code.json`,z)}function b(ee,z){return(0,be.v_)(`discusses/${ee}/plus.json`,z)}},70037:function(ct,it,Se){"use strict";Se.d(it,{Im:function(){return ve},ZP:function(){return Ee},gZ:function(){return _e}});var be=Se(59301),Be=Se(92832),E=Se(3113),me=Se(84105),de=Se(87395),le=Se(86723),ae=Se(24334),ie=Se(7651),se=Se(99325),ce=Se(88230),oe=Se(75618),re=Se(34376),ne=Se(92310),te=Se.n(ne),a=Se(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,fe=(Oe,Ie,Ne)=>Ie in Oe?y(Oe,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Oe[Ie]=Ne,ge=(Oe,Ie)=>{for(var Ne in Ie||(Ie={}))z.call(Ie,Ne)&&fe(Oe,Ne,Ie[Ne]);if(ee)for(var Ne of ee(Ie))ue.call(Ie,Ne)&&fe(Oe,Ne,Ie[Ne]);return Oe},he=(Oe,Ie)=>x(Oe,b(Ie));const{TextArea:pe}=Be.default,ye={visible:!1,tabIndex:"0"},ve={[le.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[le.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[le.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Pe=(Oe=>(Oe[Oe.SET_VISIBLE=0]="SET_VISIBLE",Oe[Oe.SET_TABINDEX=1]="SET_TABINDEX",Oe))(Pe||{});function we(Oe,Ie){switch(Ie.type){case 0:return he(ge({},Oe),{visible:Ie.payload});case 1:return he(ge({},Oe),{tabIndex:Ie.payload});default:throw new Error}}function Ae({value:Oe,className:Ie}){const[Ne,Te]=(0,be.useState)(!1),Je=(0,be.useRef)(),Qe=(0,be.useRef)();return(0,be.useEffect)(()=>{Ne&&(Qe.current.reset(),Qe.current.write((0,ce.pp)(Oe||"")))},[Oe,Ne]),(0,be.useEffect)(()=>{var Ze,Ke,Ue,ke;if(Je.current){Qe.current=new re.Terminal({fontSize:14,disableStdin:!0}),Qe.current.open(Je.current);const Re=Je.current.offsetWidth-14,He=((ke=(Ue=(Ke=(Ze=Qe.current)==null?void 0:Ze._core)==null?void 0:Ke._renderService)==null?void 0:Ue.dimensions)==null?void 0:ke.actualCellWidth)||9.5,qe=Math.ceil(Re/He);Qe.current.resize(qe,8),Te(!0)}},[]),a.createElement("div",{ref:Je,className:te()("XtermText-valueRef",Ie)})}function _e(Oe){const{status:Ie,error_msg:Ne,output:Te,input:Je,expected_output:Qe,is_file:Ze,input_file_url:Ke,output_file_url:Ue,expected_output_file_url:ke}=Oe;let Re=null;const He={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(Ie){case le.h.NOMATCH:Re=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!Ze&&a.createElement(Ae,{className:"mb10",value:Je}),Ze&&a.createElement("div",{style:He},a.createElement("a",{onClick:()=>(0,ce.LR)(Ke,Je)},Je)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Ze&&a.createElement(Ae,{className:"mb10",value:Te&&ae.Base64.decode(Te)||""}),Ze&&a.createElement("div",{style:He},a.createElement("a",{onClick:()=>(0,ce.LR)(Ue,Te)},Te)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ze&&a.createElement(Ae,{className:"mb10",value:Qe&&ae.Base64.decode(Qe)||""}),Ze&&a.createElement("div",{style:He},a.createElement("a",{onClick:()=>(0,ce.LR)(ke,Qe)},Qe)));break;case le.h.EXECUTEFAILURE:Re=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ze&&a.createElement(se.Z,{value:Je,style:He}),Ze&&a.createElement("div",{style:He},a.createElement("a",{onClick:()=>(0,ce.LR)(Ke,Je)},Je)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ae.Base64.decode(Ne)));break;case le.h.COMPILEFAILURE:Re=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ze&&a.createElement(se.Z,{value:Je,style:He}),Ze&&a.createElement("div",{style:He},a.createElement("a",{onClick:()=>(0,ce.LR)(Ke,Je)},Je)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ae.Base64.decode(Ne)));break;case le.h.PODFAILURE:Re=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case le.h.TIMEOUT:Re=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Re," ")}function xe(Oe){const{status:Ie,error_msg:Ne,execute_time:Te,output:Je,input:Qe,expected_output:Ze,is_file:Ke,input_file_url:Ue,output_file_url:ke,expected_output_file_url:Re}=Oe;let He=null;switch(Ie){case le.h.OK:He=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Te,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,ae.Base64.decode(Je)));break;case le.h.NOMATCH:He=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,Qe)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",Je&&ae.Base64.decode(Je)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",Ze&&ae.Base64.decode(Ze)));break;case le.h.EXECUTEFAILURE:He=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,Qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ae.Base64.decode(Ne)));break;case le.h.COMPILEFAILURE:He=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,Qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ae.Base64.decode(Ne)));break;case le.h.PODFAILURE:He=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case le.h.TIMEOUT:He=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",He," ")}var Ee=({id:Oe,is_file:Ie,input:Ne,debuging:Te,submitting:Je,executingMessage:Qe,debugResult:Ze,onChangeInput:Ke,onDebugCode:Ue,onSubmitCode:ke})=>{const[Re,He]=(0,be.useReducer)(we,ye),{visible:qe,tabIndex:rt}=Re;(0,be.useEffect)(()=>{He({type:0,payload:!1})},[Oe]);function We(Le){let Ve=Le.target.id;He({type:1,payload:Ve})}function ze(){He({type:0,payload:!qe})}const Me=(0,be.useMemo)(()=>{if(Ze){const{status:Le}=Ze;return a.createElement(a.Fragment,null,xe(Ze))}return null},[Ze]);function Ge(){He({type:0,payload:!0}),He({type:1,payload:"1"}),Ue()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${qe?"active":""}`},a.createElement("ul",{className:"s-navs"},a.createElement("li",null,a.createElement("a",{className:"active"},"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"))),a.createElement(oe.Z,{leftTitle:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B",rightTitle:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C",style:{height:240},leftNode:a.createElement(pe,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:Ie?"":Ne,onChange:Ke}),rightNode:Te?a.createElement(ie.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):Ze?Me:a.createElement("p",{style:{color:"#536879"}},"\u8BF7\u586B\u5199\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D")})),a.createElement("a",{className:`btn-collapse ${qe?"up":""}`,onClick:ze},qe?a.createElement(me.Z,null):a.createElement(de.Z,null)),a.createElement("footer",{className:"footer"},a.createElement("span",{style:{visibility:"hidden"}},"\u63A7\u5236\u53F0"),a.createElement("div",{className:"flex-container"},a.createElement(E.ZP,{id:"oj-prev",className:"btn-blue",type:"ghost"},"\u4E0A\u4E00\u9898"),a.createElement(E.ZP,{id:"oj-next",className:"btn-blue",type:"ghost"},"\u4E0B\u4E00\u9898"),a.createElement(E.ZP,{className:"btn-green",type:"ghost",loading:Te,onClick:Ge},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:Je,disabled:Je,onClick:()=>{He({type:0,payload:!1}),ke()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},86723:function(ct,it,Se){"use strict";Se.d(it,{h:function(){return be}});var be=(Be=>(Be[Be.NOMATCH=-1]="NOMATCH",Be[Be.OK=0]="OK",Be[Be.TIMEOUT=2]="TIMEOUT",Be[Be.PODFAILURE=3]="PODFAILURE",Be[Be.COMPILEFAILURE=4]="COMPILEFAILURE",Be[Be.EXECUTEFAILURE=5]="EXECUTEFAILURE",Be[Be.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",Be))(be||{})},24833:function(ct,it,Se){"use strict";Se.d(it,{Y2:function(){return Oe},ZP:function(){return Ie}});var be=Se(59301),Be=Se(54580),E=Se(8591),me=Se(43418),de=Se(95237),le=Se(5112),ae=Se(3113),ie=Se(24905),se=Se(6848),ce=Se(92832),oe={wrap:"wrap___MkYbQ",colorBlue:"colorBlue___onjbP",repeatedName:"repeatedName___nbqnE",text:"text___xvutp",greyText:"greyText___dihvZ",noData:"noData___LxOJA",dragger:"dragger___y7F4A",uploadText:"uploadText___Et3KS",btnS:"btnS___k1e6j",testCaseRadio:"testCaseRadio___q1wXT",head:"head___s4Eix",operation:"operation___JCAVh",headProgram:"headProgram___uWA_M",listWrapper:"listWrapper___xW3b4",list:"list___dCbd6",del:"del___abNho",info:"info___J1Wmf"},re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8ZUq4FZqnIr/YBYQTEZ6lKBDreNshQYxvf9v6+He298khUAYsnS0fGeAsBLmBvj+JWnmULNFs2BWLp29LxSYL4qMczXJLa4Se9Nf7aYiY4CsUTh6MbWsUoOsMUUywrExJLRYakAW8cq+UBVJpAViAnEoinV16Y5QFUWJTcQi5KJRtcKUIFtlBOA7KnQQOypRDS42D5yeN8iIdhePlAdiLVISaNzUn01No6rGKsGALHGeWllegCmxCm2lzdGADEluak5DACmzB1AdmEIEFOWn9rCAWDaHDnGA8jOxgAxpTmqIayXt/0vbt9rcOJODIBsFgaIKc7RlqFRgbVUXzA3IANignTppikAM2Z15yCjEjOWr7XDBWC1Fa40fscgA2KVcsrisADMomuLmDsFGRAznrelwj++Rmc6yOdjWYEOL8QCMcsJWyh2AFZISCXD7P976ernuqvFKskxVWEAMFV2lAmms20lECuTNmZH4S6YWeseB94RyICY0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Mqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ne=Se(47257),te=Se.n(ne),a=Se(49894),y=Se(7660),x=Se(1012),b=Se(88230),ee=Se(90853),z=Se(59301),ue=Object.defineProperty,fe=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,ve=(Ne,Te,Je)=>Te in Ne?ue(Ne,Te,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Ne[Te]=Je,Pe=(Ne,Te)=>{for(var Je in Te||(Te={}))pe.call(Te,Je)&&ve(Ne,Je,Te[Je]);if(he)for(var Je of he(Te))ye.call(Te,Je)&&ve(Ne,Je,Te[Je]);return Ne},we=(Ne,Te)=>fe(Ne,ge(Te)),Ae=(Ne,Te,Je)=>new Promise((Qe,Ze)=>{var Ke=Re=>{try{ke(Je.next(Re))}catch(He){Ze(He)}},Ue=Re=>{try{ke(Je.throw(Re))}catch(He){Ze(He)}},ke=Re=>Re.done?Qe(Re.value):Promise.resolve(Re.value).then(Ke,Ue);ke((Je=Je.apply(Ne,Te)).next())});const{Dragger:_e}=Be.default,xe=Ne=>{const Te=He=>He&&He.substring(0,He.lastIndexOf("."));for(var Je=[...Ne],Qe=0,Ze=[],Ke=0;Ke<Je.length;Ke++){for(var Ue="",ke=0;ke<Ze.length;ke++)if(Te(Ze[ke][0].name)==Te(Je[Ke].name)){Qe=1,Ue=ke;break}if(Qe==1)Ze[Ue].push(Je[Ke]),Qe=0;else if(Qe==0){let He=new Array;He.push(Je[Ke]),Ze.push(He)}}return Ze.map(He=>{if(He.forEach(qe=>{let rt=qe.name.split(/\.(?=[^\.]+$)/);qe.name=`${rt[0]}.${rt[1].toLowerCase()}`}),He[0].name.includes(".in"))return He.length===2?He:[He[0],{}];if(He[0].name.includes(".out"))return He.length===2?He.reverse():[{},He[0]]})},Ee=({onClose:Ne,onOK:Te,visible:Je,wrapClassName:Qe,rootIdentifier:Ze,multiple:Ke=!1,defaultMultipleValue:Ue=!0})=>{const[ke,Re]=(0,be.useState)([]),[He,qe]=(0,be.useState)({}),[rt,We]=(0,be.useState)(!1),[ze,Me]=(0,be.useState)(!0),Ge=(0,be.useRef)([]),Le=(0,be.useRef)(0),Ve=()=>{Ne()};(0,be.useEffect)(()=>{ot()},[]),(0,be.useEffect)(()=>{Je&&(Ge.current=[],Le.current=0,Re([]),Me(Ue))},[Je]);const ot=()=>Ae(void 0,null,function*(){try{const nt=yield(0,y.ZP)("/api/buckets/get_upload_token_for_big_files",{method:"get"}),$e=JSON.parse((0,a.pe)(nt.data));qe($e)}catch(nt){}}),et=nt=>nt&&nt.substring(0,nt.lastIndexOf(".")),Xe=nt=>{var $e,tt;const lt=et(($e=nt[0])==null?void 0:$e.name)||et((tt=nt[1])==null?void 0:tt.name),at=ke.filter(ut=>et(ut.name)!==lt);Ge.current=[...at],Re([...at])},je=nt=>{if(!ze){const st=new FormData;st.append("file",nt.file),(0,y.ZP)("/api/attachments/get_file_content.json",{method:"post",body:st},!0).then(mt=>{if(mt.status===0){Le.current=Le.current+1;const pt=Ge.current.map(yt=>{var Et;if(yt.name===nt.name){const At=Pe({},yt);return(Et=nt==null?void 0:nt.name)!=null&&Et.includes(".in")?At.input=mt==null?void 0:mt.content:At.output=mt==null?void 0:mt.content,At}return yt});if(Ge.current=[...pt],Re([...pt]),Le.current>0&&Le.current===ke.length){We(!1);let yt=xe(pt);yt=yt.filter(Et=>{var At,kt;return!!((At=Et[0])!=null&&At.name&&((kt=Et[1])!=null&&kt.name))}),yt=yt.map(Et=>we(Pe(Pe({},Et[0]),Et[1]),{is_file:!1})),Te(yt),Ne()}}else We(!1),Ne()});return}const $e=new(te())({endpoint:He.end_point,region:He.region,accessKeyId:He.access_key_id,accessKeySecret:He.access_key_secret,bucket:He.bucket,stsToken:He.security_token}),tt=nt.name,lt={container_type:"TestSet",file_name:tt},at=(0,x.Z)();let ut=`testsets/${Ze}/${at}${tt.indexOf(".")>-1?"."+tt.split(".").pop():""}`;Ze===null&&(ut=`testsets/${at}${tt.indexOf(".")>-1?"."+tt.split(".").pop():""}`),$e.multipartUpload(ut,new Blob([nt.file],{type:nt.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:tt+""},url:He==null?void 0:He.callback_url,host:He==null?void 0:He.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,y.rz)(lt)}}).then(function(st){if(st.data.status===0){Le.current=Le.current+1;const vt=Ge.current.map(mt=>{var pt,yt,Et,At,kt,$t,rn,Pn,In,En,gn,Gn,On,Zn,Xn,_n,wr;if(mt.name===((yt=(pt=st.data)==null?void 0:pt.data)==null?void 0:yt.file_name)){const Ft=Pe({},mt);return(kt=(At=(Et=st.data)==null?void 0:Et.data)==null?void 0:At.file_name)!=null&&kt.includes(".in")?(Ft.in_object_key=(rn=($t=st.data)==null?void 0:$t.data)==null?void 0:rn.object,Ft.in_object_size=(In=(Pn=st.data)==null?void 0:Pn.data)==null?void 0:In.size,Ft.input=(gn=(En=st.data)==null?void 0:En.data)==null?void 0:gn.file_name,Ft.in_file=nt):(Ft.out_object_key=(On=(Gn=st.data)==null?void 0:Gn.data)==null?void 0:On.object,Ft.out_object_size=(Xn=(Zn=st.data)==null?void 0:Zn.data)==null?void 0:Xn.size,Ft.output=(wr=(_n=st.data)==null?void 0:_n.data)==null?void 0:wr.file_name,Ft.out_file=nt),Ft}return mt});if(Ge.current=[...vt],Re([...vt]),Le.current>0&&Le.current===ke.length){We(!1);let mt=xe(vt);mt=mt.filter(pt=>{var yt,Et;return!!((yt=pt[0])!=null&&yt.name&&((Et=pt[1])!=null&&Et.name))}),mt=mt.map(pt=>we(Pe(Pe({},pt[0]),pt[1]),{is_file:!0})),Te(mt),Ne()}}})},Ce=nt=>new Promise(($e,tt)=>{let lt=0,at=[];for(let ut=0;ut<nt.length;ut++)nt[ut].file.slice(0,1).arrayBuffer().then(()=>{lt++,lt===nt.length&&(at.length?(E.ZP.warning(`${at.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),tt()):$e(nt))}).catch(st=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",st),lt++,at.push(nt[ut].name),lt===nt.length&&(at.length?(E.ZP.warning(`${at.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),tt()):$e(nt))})}),De=()=>Ae(void 0,null,function*(){if(ke.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Ce(ke),We(!0),xe(ke).some($e=>{var tt,lt;return!((tt=$e[0])!=null&&tt.name&&((lt=$e[1])!=null&<.name))})){me.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>Ae(void 0,null,function*(){ke.map($e=>Ae(void 0,null,function*(){je($e)}))}),onCancel:()=>{We(!1)}});return}ke.map($e=>Ae(void 0,null,function*(){je($e)}))}),Fe={name:"file",fileList:ke,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:nt=>{if(ke!=null&&ke.some(tt=>tt.name===nt.name))return E.ZP.info(`${nt.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(nt.size/1024/1024>100)return E.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(nt.name))return E.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const $e={name:nt.name,uid:nt.uid,file:nt,percent:0};return ke.push($e),Ge.current=[...ke],Re([...ke]),!1}},Ye=xe(ke);return console.log(ke,Ye,"fileList"),z.createElement(me.default,{open:Je,wrapClassName:Qe,onOk:De,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:rt},onCancel:Ve,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:oe.wrap},ke.length?z.createElement("div",null,z.createElement(de.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:Ke?"visible":"hidden"}},z.createElement("span",{className:oe.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(le.ZP.Group,{className:`ml20 ${oe.testCaseRadio}`,optionType:"button",value:ze,onChange:nt=>Me(nt.target.value)},z.createElement(le.ZP,{value:!1},"\u6587\u672C"),z.createElement(le.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(Be.default,Pe({},Fe),z.createElement(ae.ZP,{type:"primary",className:oe.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(Oe,{data:Ye,onRemove:Xe})):z.createElement("div",{className:`${oe.noData} mb30`},z.createElement(Be.default.Dragger,we(Pe({},Fe),{className:oe.dragger}),z.createElement("img",{src:re,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),z.createElement("span",{className:oe.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:oe.text},z.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),z.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",z.createElement("br",null),"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002",z.createElement("br",null),"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",z.createElement("br",null),"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002",z.createElement("br",null))))},Oe=({data:Ne=[],onRemove:Te,width:Je="auto",showScore:Qe=!1,disabled:Ze=!1,inputChange:Ke,onEvaluatingChange:Ue,onSelectAll:ke,checkAll1:Re,checkAll2:He,checkAll3:qe,checkAll4:rt,checkAll5:We,showEvaluatingSetting:ze=!1,className:Me="",isProgramHomework:Ge=!1})=>{const Le={value:"",filename:"",dataUrl:""},[Ve,ot]=(0,be.useState)(Pe({},Le)),et=Ce=>{let De=document.createElement("a");document.body.appendChild(De);let Fe=URL.createObjectURL(Ce.file);De.href=Fe,De.download=Ce.name,De.click(),URL.revokeObjectURL(Fe),document.body.removeChild(De)},Xe=(Ce,De)=>{(0,b.LR)(Ce,De)},je=(Ce,De)=>{me.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:z.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Te(Ce,De)},onCancel:()=>{}})};return Ne.length?z.createElement("div",{className:Me,style:{width:Je}},z.createElement("div",{className:`${Ge?oe.headProgram:oe.head}`},ze&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Re,onChange:Ce=>{ke(Ce.target.checked,"hidden")}}),z.createElement(se.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},z.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{style:{width:Ge?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:Qe?Ge?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:Qe?Ge?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),Qe&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),ze&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:rt,onChange:Ce=>{ke(Ce.target.checked,"input_visible")}}),z.createElement(se.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ze&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:He,onChange:Ce=>{ke(Ce.target.checked,"is_invisible")}}),z.createElement(se.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ze&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:We,onChange:Ce=>{ke(Ce.target.checked,"actual_output_visible")}}),z.createElement(se.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ze&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:qe,onChange:Ce=>{ke(Ce.target.checked,"last_match_rule")}}),z.createElement(se.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},z.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{className:oe.operation,style:Ge?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:oe.listWrapper,style:{boxShadow:Ge?"0px 2px 4px 0px #EAEEF4":"unset"}},Ne.map((Ce,De)=>{var Fe,Ye,nt,$e;return z.createElement("div",{key:De,className:oe.list,style:Ge?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},ze&&z.createElement("div",{style:{width:"15%"}},z.createElement(ie.default,{checked:!!Ce.hidden,onChange:tt=>{Ue(tt.target.checked,De,"hidden")}})),z.createElement("div",{style:{width:Ge?"25%":"15%",paddingLeft:Ge?"5px":"0px",paddingRight:Ge?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",De+1),z.createElement("div",{className:oe.info,style:{width:Qe?Ge?"20%":"15%":"25%"}},z.createElement("span",{title:Ce.input||((Fe=Ce[0])==null?void 0:Fe.name),onClick:()=>Ae(void 0,null,function*(){let tt;Ce.input?Ce.input_file_url?tt=Ce.input_file_url:tt=Ce.in_file:tt=Ce[0];let lt;typeof tt=="string"?(lt=yield fetch(tt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),ot({value:yield lt.text(),filename:"",dataUrl:tt})):(lt=yield(0,b.db)(tt.file),ot({value:lt.text,filename:tt.name,dataUrl:lt.link}))})},Ce.input||((Ye=Ce[0])==null?void 0:Ye.name))),z.createElement("div",{className:oe.info,style:{width:Qe?Ge?"20%":"15%":"25%"}},z.createElement("span",{title:Ce.output||((nt=Ce[1])==null?void 0:nt.name),onClick:()=>Ae(void 0,null,function*(){let tt;Ce.input?Ce.output_file_url?tt=Ce.output_file_url:tt=Ce.out_file:tt=Ce[1];let lt;typeof tt=="string"?(lt=yield fetch(tt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),ot({value:yield lt.text(),filename:"",dataUrl:tt})):(lt=yield(0,b.db)(tt.file),ot({value:lt.text,filename:tt.name,dataUrl:lt.link}))})},Ce.output||(($e=Ce[1])==null?void 0:$e.name))),Qe&&z.createElement("div",{style:{width:"20%"}},z.createElement(ce.default,{size:"large",addonAfter:Ge?"%":null,disabled:Ze,style:{width:"80%"},onChange:tt=>Ke(tt,De),value:Ce.score}),!Ge&&z.createElement("span",null,"\xA0%")),ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ce.input_visible||!1,onChange:tt=>{Ue(tt.target.checked,De,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ce.is_invisible||!1,onChange:tt=>{Ue(tt.target.checked,De,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ce.actual_output_visible||!1,onChange:tt=>{Ue(tt.target.checked,De,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ce.last_match_rule||!1,onChange:tt=>{Ue(tt.target.checked,De,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>je(Ce,De),style:Ge?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:oe.del},"\u5220\u9664")))})),z.createElement(ee.Z,{close:!0,data:Ve.dataUrl,filename:Ve.filename,type:Ve.dataUrl.length?"txt":"",onClose:()=>ot(Pe({},Le)),monacoEditor:{value:Ve.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Ie=Ee},52649:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return ne}});var be=Se(59301),Be=Se(8591),E=Se(6848),me=Se(71418),de=Se(95237),le=Se(43604),ae=Se(58421),ie=Se(3113),se=Se(64726),ce=Se(7660),oe=Se(99325),re=(a,y,x)=>new Promise((b,ee)=>{var z=ge=>{try{fe(x.next(ge))}catch(he){ee(he)}},ue=ge=>{try{fe(x.throw(ge))}catch(he){ee(he)}},fe=ge=>ge.done?b(ge.value):Promise.resolve(ge.value).then(z,ue);fe((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[ee,z]=(0,be.useState)(""),[ue,fe]=(0,be.useState)(!1);function ge(pe){z(pe)}function he(){if(!ee){Be.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,ee),z("")}return(0,be.useEffect)(()=>{y!=a&&fe(!1)},[y]),be.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},be.createElement(se.Z,{miniToolbar:!0,startInit:y===a,defaultValue:ee,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:ge,extraUse:b&&be.createElement(E.Z,{color:"#fff",open:ue,destroyTooltipOnHide:!0,title:te({id:a,isOpen:ue,activeDiscussIndex:y,onChange:ge,setIsOpen:fe}),overlayStyle:{maxWidth:600}},be.createElement("a",{title:ue?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>fe(!ue)},be.createElement("i",{className:"iconfont icon-dianzan11"})))}),be.createElement("a",{onClick:he,className:"btn-send"},"\u53D1\u9001"))};const te=a=>{const[y,x]=(0,be.useState)(!1),[b,ee]=(0,be.useState)([]),[z,ue]=(0,be.useState)(1);(0,be.useEffect)(()=>{a!=null&&a.isOpen?fe():(ue(1),ee([]))},[a==null?void 0:a.isOpen]);const fe=()=>re(void 0,null,function*(){x(!0);const ge=yield(0,ce.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(ge==null?void 0:ge.status)==0&&ee(ge==null?void 0:ge.answer),x(!1)});return be.createElement(me.Z,{spinning:y},be.createElement("div",{style:{color:"#000"}},be.createElement(oe.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[z-1])||""}),be.createElement(de.Z,{justify:"end",align:"middle"},be.createElement(le.Z,null,be.createElement(ae.Z,{simple:!0,current:z,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:ge=>{ue(ge)}})),be.createElement(le.Z,null,be.createElement(ie.ZP,{onClick:()=>re(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[z-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},3404:function(ct,it,Se){"use strict";Se.d(it,{CP:function(){return E},_V:function(){return le}});var be=Se(28209),Be=Se.n(be);const E={secret:be.enc.Utf8.parse("0a18e199b87f1a8d"),iv:be.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=="},me={exam:E};function de(ae="",ie="exam"){const{secret:se,iv:ce}=me[ie];return AES.encrypt(ae,se,{iv:ce,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function le(ae="",ie="exam"){const{secret:se,iv:ce}=me[ie];return be.AES.decrypt(ae,se,{iv:ce,mode:Be().mode.CBC,padding:Be().pad.Pkcs7}).toString(be.enc.Utf8)}},20736:function(ct,it,Se){"use strict";Se.d(it,{BU:function(){return Be},Dj:function(){return be},gH:function(){return E},vp:function(){return me}});function be(de){try{de.mozRequestFullScreen?de.mozRequestFullScreen():de.webkitRequestFullScreen&&de.webkitRequestFullScreen()}catch(le){console.log(le,":e")}}function Be(){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()}const E=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function me(){var de=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,le=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",de),window.isFullScreen?window.isFullScreen:de!=null}},59579:function(ct,it,Se){"use strict";Se.d(it,{U:function(){return se}});var be=Se(59301),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(ce,oe,re)=>oe in ce?Be(ce,oe,{enumerable:!0,configurable:!0,writable:!0,value:re}):ce[oe]=re,ae=(ce,oe)=>{for(var re in oe||(oe={}))me.call(oe,re)&&le(ce,re,oe[re]);if(E)for(var re of E(oe))de.call(oe,re)&&le(ce,re,oe[re]);return ce},ie=(ce,oe,re)=>new Promise((ne,te)=>{var a=b=>{try{x(re.next(b))}catch(ee){te(ee)}},y=b=>{try{x(re.throw(b))}catch(ee){te(ee)}},x=b=>b.done?ne(b.value):Promise.resolve(b.value).then(a,y);x((re=re.apply(ce,oe)).next())});function se(ce,oe){const[re,ne]=(0,be.useState)(oe),[te,a]=(0,be.useState)(!1),[y,x]=(0,be.useState)();return[re,te,(ee,z=!1)=>ie(this,null,function*(){const ue=z?oe:ae(ae({},re),ee);a(!0),ne(ue);const fe=yield ce(ue);return a(!1),x(fe),fe}),y]}},39649:function(ct,it,Se){"use strict";Se.d(it,{_:function(){return E}});var be=Se(59301),Be=Se(43418);const E=me=>{var de,le;const ae=(0,be.useRef)([]),ie=()=>{for(const se of ae.current)clearTimeout(se);ae.current=[]};return(0,be.useEffect)(()=>{var se,ce,oe,re,ne,te;if(ie(),(se=me==null?void 0:me.exercise)!=null&&se.left_time&&((oe=(ce=me==null?void 0:me.exercise)==null?void 0:ce.exercise_events)==null?void 0:oe.length)>0){for(const a of(re=me==null?void 0:me.exercise)==null?void 0:re.exercise_events)if(((ne=me==null?void 0:me.exercise)==null?void 0:ne.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((te=me==null?void 0:me.exercise)==null?void 0:te.left_time)-(a==null?void 0:a.reminder_time)*60)*1e3;y=y>2147483647?2147483647:y;const x=setTimeout(()=>{Be.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);ae.current.push(x)}}},[(de=me==null?void 0:me.exercise)==null?void 0:de.left_time,(le=me==null?void 0:me.exercise)==null?void 0:le.exercise_events]),ie}},85187:function(ct,it,Se){"use strict";Se.d(it,{AL:function(){return ue},Iy:function(){return oe},Qv:function(){return te},ez:function(){return z},jb:function(){return re}});var be=Se(32834),Be=Se.n(be),E=Se(11690),me=Se.n(E);let de=1;function le(ye,ve){const Pe=ye.match(/^(\s+)(?:```)/);if(Pe===null)return ve;const we=Pe[1];return ve.split(`
|
|
|
`).map(Ae=>{const _e=Ae.match(/^\s+/);if(_e===null)return Ae;const[xe]=_e;return xe.length>=we.length?Ae.slice(we.length):Ae}).join(`
|
|
|
`)}let ae=[],ie=["<ul>"];const se=new(Be()).Renderer,ce=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function oe(){ae.length=0,ie=["<ul>"]}const re={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function ne(ye,ve,Pe,we){if(ve>=ye.length||ye[ve].level<=Pe)return ve;var Ae=ye[ve];we.push("<li><a href='#"+de+Ae.anchor+"'>"+Ae.text+"</a>"),ve++;var _e=[];return ve=ne(ye,ve,Ae.level,_e),_e.length>0&&(we.push("<ul>"),_e.forEach(function(xe){we.push(xe)}),we.push("</ul>")),we.push("</li>"),ve=ne(ye,ve,Pe,we),ve}function te(){return ne(ae,0,0,ie),ie.push("</ul>"),ie.join("")}const a={heading(ye){const ve=ce.exec(ye);if(de+=1,ve)return{type:"heading",raw:ve[0],depth:ve[1].length,text:ve[2]}},fences(ye){const ve=this.rules.block.fences.exec(ye);if(ve){const Pe=ve[0];let we=le(Pe,ve[3]||"");const Ae=ve[2]?ve[2].trim():ve[2];if(["latex","katex","math"].indexOf(Ae)>=0){const _e=b(),xe=we;we=_e,ee[_e]={type:"block",expression:xe}}return{type:"code",raw:Pe,lang:Ae,text:we}}}},y=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let x=0;const b=()=>`__special_katext_id_${x++}__`;let ee={};function z(){return ee}function ue(){x=0,ee={}}function fe(ye){return ye=ye.replace(y,(ve,Pe)=>{const we=b();return ee[we]={type:"inline",expression:Pe},we}),ye}const ge=se.listitem;se.listitem=function(ye){return ge(fe(ye))};const he=se.paragraph;se.paragraph=function(ye){return he(fe(ye))};const pe=se.tablecell;se.tablecell=function(ye,ve){return pe(fe(ye),ve)},se.code=function(ye,ve,Pe){const we=(ve||"").match(/\S*/)[0];return we?["latex","katex","math"].indexOf(we)>=0?`<p class='editormd-tex'>${ye}</p>`:`<pre class="prettyprint linenums"><code class="language-${ve}">${Pe?ye:(0,E.escape)(ye,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(Pe?ye:(0,E.escape)(ye,!0))+"</code></pre>"},se.heading=function(ye,ve,Pe){let we=this.options.headerPrefix+Pe.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return ae.push({anchor:we,level:ve,text:ye}),"<h"+ve+' id="'+de+we+'">'+ye+"</h"+ve+">"},Be().setOptions({silent:!0,gfm:!0,pedantic:!1}),Be().use({tokenizer:a,renderer:se}),it.ZP=Be()},90691:function(ct,it,Se){"use strict";Se.d(it,{G:function(){return de},t:function(){return me}});var be=Se(7062),Be=Se.n(be);const E=null;function me(le,ae){let ie=Be().get("__ec");ie||(ie={}),ie[le]=ae,Be().set("__ec",ie)}function de(le,ae){let ie=Be().get("__ec");return ie?ie[le]===void 0?ae:ie[le]:ae}},47257:function(ct){(function(it){(function(Se){if(1)ct.exports=Se();else var be})(function(){var Se,be,Be;return function(){function E(me,de,le){function ae(ce,oe){if(!de[ce]){if(!me[ce]){var re=void 0;if(!oe&&re)return require(ce,!0);if(ie)return ie(ce,!0);var ne=new Error("Cannot find module '"+ce+"'");throw ne.code="MODULE_NOT_FOUND",ne}var te=de[ce]={exports:{}};me[ce][0].call(te.exports,function(a){var y=me[ce][1][a];return ae(y||a)},te,te.exports,E,me,de,le)}return de[ce].exports}for(var ie=void 0,se=0;se<le.length;se++)ae(le[se]);return ae}return E}()({1:[function(E,me,de){"use strict";var le=E("./browser/client");le.Buffer=E("buffer").Buffer,le.urllib=E("../shims/xhr"),le.version=E("./browser/version").version,me.exports=le},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(E,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator")),ie=le(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 se=E("assert"),ce=E("../common/utils/checkBucketName"),oe=ce.checkBucketName,re=de;function ne(a){return Array.isArray?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"}function te(a){return a?ne(a)?a:[a]:[]}re.useBucket=function(y){return oe(y),this.options.bucket=y,this},re.setBucket=function(y){return oe(y),this.options.bucket=y,this},re.getBucket=function(){return this.options.bucket},re.deleteBucket=function(){var a=(0,ie.default)(ae.default.mark(function x(b,ee){var z,ue;return ae.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return z=this._bucketRequestParams("DELETE",b,"",ee),ge.next=3,this.request(z);case 3:if(ue=ge.sent,!(ue.status===200||ue.status===204)){ge.next=6;break}return ge.abrupt("return",{res:ue.res});case 6:return ge.next=8,this.requestError(ue);case 8:throw ge.sent;case 9:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re.putBucketACL=function(){var a=(0,ie.default)(ae.default.mark(function x(b,ee,z){var ue,fe;return ae.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return ue=this._bucketRequestParams("PUT",b,"acl",z),ue.headers={"x-oss-acl":ee},ue.successStatuses=[200],he.next=5,this.request(ue);case 5:return fe=he.sent,he.abrupt("return",{bucket:fe.headers.location&&fe.headers.location.substring(1)||null,res:fe.res});case 7:case"end":return he.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),re.getBucketACL=function(){var a=(0,ie.default)(ae.default.mark(function x(b,ee){var z,ue;return ae.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return z=this._bucketRequestParams("GET",b,"acl",ee),z.successStatuses=[200],z.xmlResponse=!0,ge.next=5,this.request(z);case 5:return ue=ge.sent,ge.abrupt("return",{acl:ue.data.AccessControlList.Grant,owner:{id:ue.data.Owner.ID,displayName:ue.data.Owner.DisplayName},res:ue.res});case 7:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re.putBucketLogging=function(){var a=(0,ie.default)(ae.default.mark(function x(b,ee,z){var ue,fe,ge;return ae.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ue=this._bucketRequestParams("PUT",b,"logging",z),fe=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<BucketLoggingStatus>
|
|
|
<LoggingEnabled>
|
|
|
<TargetBucket>`.concat(b,`</TargetBucket>
|
|
|
`),ee&&(fe+="<TargetPrefix>".concat(ee,`</TargetPrefix>
|
|
|
`)),fe+=`</LoggingEnabled>
|
|
|
</BucketLoggingStatus>`,ue.content=fe,ue.mime="xml",ue.successStatuses=[200],pe.next=9,this.request(ue);case 9:return ge=pe.sent,pe.abrupt("return",{res:ge.res});case 11:case"end":return pe.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),re.getBucketLogging=function(){var a=(0,ie.default)(ae.default.mark(function x(b,ee){var z,ue,fe;return ae.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return z=this._bucketRequestParams("GET",b,"logging",ee),z.successStatuses=[200],z.xmlResponse=!0,he.next=5,this.request(z);case 5:return ue=he.sent,fe=ue.data.LoggingEnabled,he.abrupt("return",{enable:!!fe,prefix:fe&&fe.TargetPrefix||null,res:ue.res});case 8:case"end":return he.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re.deleteBucketLogging=function(){var a=(0,ie.default)(ae.default.mark(function x(b,ee){var z,ue;return ae.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return z=this._bucketRequestParams("DELETE",b,"logging",ee),z.successStatuses=[204,200],ge.next=4,this.request(z);case 4:return ue=ge.sent,ge.abrupt("return",{res:ue.res});case 6:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re.putBucketCORS=function(){var a=(0,ie.default)(ae.default.mark(function x(b,ee,z){var ue,fe,ge,he,pe,ye,ve,Pe,we,Ae;return ae.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:for(ee=ee||[],se(ee.length,"rules is required"),ee.forEach(function(Ee){se(Ee.allowedOrigin,"allowedOrigin is required"),se(Ee.allowedMethod,"allowedMethod is required")}),ue=this._bucketRequestParams("PUT",b,"cors",z),fe=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CORSConfiguration>`,ge=function(Oe){fe+="<AllowedOrigin>".concat(Oe,"</AllowedOrigin>")},he=function(Oe){fe+="<AllowedMethod>".concat(Oe,"</AllowedMethod>")},pe=function(Oe){fe+="<AllowedHeader>".concat(Oe,"</AllowedHeader>")},ye=function(Oe){fe+="<ExposeHeader>".concat(Oe,"</ExposeHeader>")},ve=0,Pe=ee.length;ve<Pe;ve++)we=ee[ve],fe+="<CORSRule>",te(we.allowedOrigin).forEach(ge),te(we.allowedMethod).forEach(he),te(we.allowedHeader).forEach(pe),te(we.exposeHeader).forEach(ye),we.maxAgeSeconds&&(fe+="<MaxAgeSeconds>".concat(we.maxAgeSeconds,"</MaxAgeSeconds>")),fe+="</CORSRule>";return fe+="</CORSConfiguration>",ue.content=fe,ue.mime="xml",ue.successStatuses=[200],xe.next=16,this.request(ue);case 16:return Ae=xe.sent,xe.abrupt("return",{res:Ae.res});case 18:case"end":return xe.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),re.getBucketCORS=function(){var a=(0,ie.default)(ae.default.mark(function x(b,ee){var z,ue,fe,ge;return ae.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return z=this._bucketRequestParams("GET",b,"cors",ee),z.successStatuses=[200],z.xmlResponse=!0,pe.next=5,this.request(z);case 5:return ue=pe.sent,fe=[],ue.data&&ue.data.CORSRule&&(ge=ue.data.CORSRule,ne(ge)||(ge=[ge]),ge.forEach(function(ye){var ve={};Object.keys(ye).forEach(function(Pe){ve[Pe.slice(0,1).toLowerCase()+Pe.slice(1,Pe.length)]=ye[Pe]}),fe.push(ve)})),pe.abrupt("return",{rules:fe,res:ue.res});case 9:case"end":return pe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re.deleteBucketCORS=function(){var a=(0,ie.default)(ae.default.mark(function x(b,ee){var z,ue;return ae.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return z=this._bucketRequestParams("DELETE",b,"cors",ee),z.successStatuses=[204],ge.next=4,this.request(z);case 4:return ue=ge.sent,ge.abrupt("return",{res:ue.res});case 6:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re.putBucketReferer=function(){var a=(0,ie.default)(ae.default.mark(function x(b,ee,z,ue){var fe,ge,he,pe;return ae.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:if(fe=this._bucketRequestParams("PUT",b,"referer",ue),ge=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<RefererConfiguration>
|
|
|
`,ge+=" <AllowEmptyReferer>".concat(ee?"true":"false",`</AllowEmptyReferer>
|
|
|
`),z&&z.length>0){for(ge+=` <RefererList>
|
|
|
`,he=0;he<z.length;he++)ge+=" <Referer>".concat(z[he],`</Referer>
|
|
|
`);ge+=` </RefererList>
|
|
|
`}else ge+=` <RefererList />
|
|
|
`;return ge+="</RefererConfiguration>",fe.content=ge,fe.mime="xml",fe.successStatuses=[200],ve.next=10,this.request(fe);case 10:return pe=ve.sent,ve.abrupt("return",{res:pe.res});case 12:case"end":return ve.stop()}},x,this)}));function y(x,b,ee,z){return a.apply(this,arguments)}return y}(),re.getBucketReferer=function(){var a=(0,ie.default)(ae.default.mark(function x(b,ee){var z,ue,fe;return ae.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return z=this._bucketRequestParams("GET",b,"referer",ee),z.successStatuses=[200],z.xmlResponse=!0,he.next=5,this.request(z);case 5:return ue=he.sent,fe=ue.data.RefererList.Referer||null,fe&&(ne(fe)||(fe=[fe])),he.abrupt("return",{allowEmpty:ue.data.AllowEmptyReferer==="true",referers:fe,res:ue.res});case 9:case"end":return he.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re.deleteBucketReferer=function(){var a=(0,ie.default)(ae.default.mark(function x(b,ee){return ae.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,this.putBucketReferer(b,!0,null,ee);case 2:return ue.abrupt("return",ue.sent);case 3:case"end":return ue.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re._bucketRequestParams=function(y,x,b,ee){return{method:y,bucket:x,subres:b,timeout:ee&&ee.timeout,ctx:ee&&ee.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,me,de){(function(le,ae){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),se=ie(E("@babel/runtime/regenerator")),ce=ie(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 oe=E("debug")("ali-oss"),re=E("xml2js"),ne=E("agentkeepalive"),te=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),ee=E("bowser"),z=E("../common/signUtils"),ue=E("../common/client/initOptions"),fe=E("../common/utils/createRequest"),ge=fe.createRequest,he=E("../common/utils/encoder"),pe=he.encoder,ye=E("../common/client/getReqUrl"),ve=ye.getReqUrl,Pe=E("../common/utils/setSTSToken"),we=Pe.setSTSToken,Ae=E("../common/utils/retry"),_e=Ae.retry,xe=E("../common/utils/isFunction"),Ee=xe.isFunction,Oe=new ne;function Ie(){var Ke=a.name,Ue=a.version;Ke&&Ke.toLowerCase&&Ke.toLowerCase()==="ie"&&Ue.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function Ne(){return location&&location.protocol==="https:"}function Te(Ke,Ue){if(Ie(),!(this instanceof Te))return new Te(Ke,Ue);Ke&&Ke.inited?this.options=Ke:this.options=Te.initOptions(Ke),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||Oe),this.ctx=Ue,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}me.exports=Te,Te.initOptions=function(Ue){Ue.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var ke=Object.assign({secure:Ne(),useFetch:!1},Ue);return ue(ke)};var Je=Te.prototype;Je.debug=oe,te(Je,E("./object")),te(Je,E("./bucket")),te(Je,E("../common/bucket/getBucketWebsite")),te(Je,E("../common/bucket/putBucketWebsite")),te(Je,E("../common/bucket/deleteBucketWebsite")),te(Je,E("../common/bucket/getBucketLifecycle")),te(Je,E("../common/bucket/putBucketLifecycle")),te(Je,E("../common/bucket/deleteBucketLifecycle")),te(Je,E("../common/bucket/putBucketVersioning")),te(Je,E("../common/bucket/getBucketVersioning")),te(Je,E("../common/bucket/getBucketInventory")),te(Je,E("../common/bucket/deleteBucketInventory")),te(Je,E("../common/bucket/listBucketInventory")),te(Je,E("../common/bucket/putBucketInventory")),te(Je,E("../common/bucket/abortBucketWorm")),te(Je,E("../common/bucket/completeBucketWorm")),te(Je,E("../common/bucket/extendBucketWorm")),te(Je,E("../common/bucket/getBucketWorm")),te(Je,E("../common/bucket/initiateBucketWorm")),te(Je,E("./managed-upload")),te(Je,E("../common/multipart-copy")),te(Je,E("../common/multipart")),te(Je,E("../common/parallel")),Je.signature=function(Ue){return this.debug("authorization stringToSign: %s",Ue,"info"),z.computeSignature(this.options.accessKeySecret,Ue,this.options.headerEncoding)},Je._getReqUrl=ve,Je.authorization=function(Ue,ke,Re,He){var qe=z.buildCanonicalString(Ue.toUpperCase(),ke,{headers:He,parameters:Re});return z.authorization(this.options.accessKeyId,this.options.accessKeySecret,qe,this.options.headerEncoding)},Je.request=function(){var Ke=(0,ce.default)(se.default.mark(function Ue(ke){var Re=this;return se.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(!this.options.retryMax){qe.next=6;break}return qe.next=3,_e(Qe.bind(this),this.options.retryMax,{errorHandler:function(We){var ze=function(Ge){if(ke.stream)return!1;var Le=[-1,-2].includes(Ge.status),Ve=Re.options.requestErrorRetryHandle||function(){return!0};return Le&&Ve(Ge)};return!!ze(We)}})(ke);case 3:return qe.abrupt("return",qe.sent);case 6:return qe.abrupt("return",Qe.call(this,ke));case 7:case"end":return qe.stop()}},Ue,this)}));return function(Ue){return Ke.apply(this,arguments)}}();function Qe(Ke){return Ze.apply(this,arguments)}function Ze(){return Ze=(0,ce.default)(se.default.mark(function Ke(Ue){var ke,Re,He,qe,rt,We;return se.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(!(this.options.stsToken&&Ee(this.options.refreshSTSToken))){Me.next=3;break}return Me.next=3,we.call(this);case 3:return ke=ge.call(this,Ue),this.options.useFetch||(ke.params.mode="disable-fetch"),qe=!!Ue.stream,Me.prev=6,Me.next=9,this.urllib.request(ke.url,ke.params);case 9:Re=Me.sent,this.debug("response %s %s, got %s, headers: %j",Ue.method,ke.url,Re.status,Re.headers,"info"),Me.next=16;break;case 13:Me.prev=13,Me.t0=Me.catch(6),He=Me.t0;case 16:if(!(Re&&Ue.successStatuses&&Ue.successStatuses.indexOf(Re.status)===-1)){Me.next=28;break}return Me.next=19,this.requestError(Re);case 19:if(rt=Me.sent,!(rt.code==="RequestTimeTooSkewed"&&!qe)){Me.next=25;break}return this.options.amendTimeSkewed=+new Date(rt.serverTime)-new Date,Me.next=24,this.request(Ue);case 24:return Me.abrupt("return",Me.sent);case 25:rt.params=Ue,Me.next=32;break;case 28:if(!He){Me.next=32;break}return Me.next=31,this.requestError(He);case 31:rt=Me.sent;case 32:if(!rt){Me.next=34;break}throw rt;case 34:if(!Ue.xmlResponse){Me.next=39;break}return Me.next=37,this.parseXML(Re.data);case 37:We=Me.sent,Re.data=We;case 39:return Me.abrupt("return",Re);case 40:case"end":return Me.stop()}},Ke,this,[[6,13]])})),Ze.apply(this,arguments)}Je._getResource=function(Ue){var ke="/";return Ue.bucket&&(ke+="".concat(Ue.bucket,"/")),Ue.object&&(ke+=pe(Ue.object,this.options.headerEncoding)),ke},Je._escape=function(Ue){return y.encodeURIComponent(Ue).replace(/%2F/g,"/")},Je._getUserAgent=function(){var Ue=ae&&ae.browser?"js":"nodejs",ke="aliyun-sdk-".concat(Ue,"/").concat(b.version),Re=a.description;return!Re&&ae&&(Re="Node.js ".concat(ae.version.slice(1)," on ").concat(ae.platform," ").concat(ae.arch)),this._checkUserAgent("".concat(ke," ").concat(Re))},Je._checkUserAgent=function(Ue){var ke=Ue.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return ke},Je.checkBrowserAndVersion=function(Ue,ke){return ee.name===Ue&&ee.version.split(".")[0]===ke},Je.parseXML=function(Ue){return new Promise(function(ke,Re){le.isBuffer(Ue)&&(Ue=Ue.toString()),re.parseString(Ue,{explicitRoot:!1,explicitArray:!1},function(He,qe){He?Re(He):ke(qe)})})},Je.requestError=function(){var Ke=(0,ce.default)(se.default.mark(function ke(Re){var He,qe,rt,We;return se.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(He=null,!(!Re.data||!Re.data.length)){Me.next=5;break}Re.status===-1||Re.status===-2?(He=new Error(Re.message),He.name=Re.name,He.status=Re.status,He.code=Re.name):(Re.status===404?(He=new Error("Object not exists"),He.name="NoSuchKeyError",He.status=404,He.code="NoSuchKey"):Re.status===412?(He=new Error("Pre condition failed"),He.name="PreconditionFailedError",He.status=412,He.code="PreconditionFailed"):(He=new Error("Unknow error, status: ".concat(Re.status)),He.name="UnknownError",He.status=Re.status),He.requestId=Re.headers["x-oss-request-id"],He.host=""),Me.next=32;break;case 5:return qe=String(Re.data),this.debug("request response error data: %s",qe,"error"),Me.prev=7,Me.next=10,this.parseXML(qe);case 10:if(Me.t0=Me.sent,Me.t0){Me.next=13;break}Me.t0={};case 13:rt=Me.t0,Me.next=23;break;case 16:return Me.prev=16,Me.t1=Me.catch(7),this.debug(qe,"error"),Me.t1.message+=`
|
|
|
raw xml: `.concat(qe),Me.t1.status=Re.status,Me.t1.requestId=Re.headers["x-oss-request-id"],Me.abrupt("return",Me.t1);case 23:We=rt.Message||"unknow request error, status: ".concat(Re.status),rt.Condition&&(We+=" (condition: ".concat(rt.Condition,")")),He=new Error(We),He.name=rt.Code?"".concat(rt.Code,"Error"):"UnknownError",He.status=Re.status,He.code=rt.Code,He.requestId=rt.RequestId,He.hostId=rt.HostId,He.serverTime=rt.ServerTime;case 32:return this.debug("generate error %j",He,"error"),Me.abrupt("return",He);case 34:case"end":return Me.stop()}},ke,this,[[7,16]])}));function Ue(ke){return Ke.apply(this,arguments)}return Ue}()}).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,me,de){(function(le){(function(){"use strict";var ae=E("@babel/runtime/helpers/interopRequireDefault"),ie=ae(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 se=ae(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("util"),oe=E("path"),re=E("mime"),ne=E("copy-to"),te=E("../common/utils/isBlob"),a=te.isBlob,y=E("../common/utils/isFile"),x=y.isFile,b=E("../common/utils/isBuffer"),ee=b.isBuffer,z=de;z.multipartUpload=function(){var pe=(0,se.default)(ie.default.mark(function ve(Pe,we){var Ae,_e,xe,Ee,Oe,Ie,Ne,Te,Je,Qe=arguments;return ie.default.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:if(Ae=Qe.length>2&&Qe[2]!==void 0?Qe[2]:{},this.resetCancelFlag(),Ae.disabledMD5=Ae.disabledMD5===void 0?!0:!!Ae.disabledMD5,!(Ae.checkpoint&&Ae.checkpoint.uploadId)){Ke.next=8;break}return we&&x(we)&&(Ae.checkpoint.file=we),Ke.next=7,this._resumeMultipart(Ae.checkpoint,Ae);case 7:return Ke.abrupt("return",Ke.sent);case 8:return _e=102400,Ae.mime||(x(we)?Ae.mime=re.getType(oe.extname(we.name)):a(we)?Ae.mime=we.type:ee(we)?Ae.mime="":Ae.mime=re.getType(oe.extname(we))),Ae.headers=Ae.headers||{},this._convertMetaToHeaders(Ae.meta,Ae.headers),Ke.next=14,this._getFileSize(we);case 14:if(xe=Ke.sent,!(xe<_e)){Ke.next=26;break}return Ae.contentLength=xe,Ke.next=19,this.put(Pe,we,Ae);case 19:if(Ee=Ke.sent,!(Ae&&Ae.progress)){Ke.next=23;break}return Ke.next=23,Ae.progress(1);case 23:return Oe={res:Ee.res,bucket:this.options.bucket,name:Pe,etag:Ee.res.headers.etag},(Ae.headers&&Ae.headers["x-oss-callback"]||Ae.callback)&&(Oe.data=Ee.data),Ke.abrupt("return",Oe);case 26:if(!(Ae.partSize&&parseInt(Ae.partSize,10)!==Ae.partSize)){Ke.next=28;break}throw new Error("partSize must be int number");case 28:if(!(Ae.partSize&&Ae.partSize<_e)){Ke.next=30;break}throw new Error("partSize must not be smaller than ".concat(_e));case 30:return Ke.next=32,this.initMultipartUpload(Pe,Ae);case 32:if(Ie=Ke.sent,Ne=Ie.uploadId,Te=this._getPartSize(xe,Ae.partSize),Je={file:we,name:Pe,fileSize:xe,partSize:Te,uploadId:Ne,doneParts:[]},!(Ae&&Ae.progress)){Ke.next=39;break}return Ke.next=39,Ae.progress(0,Je,Ie.res);case 39:return Ke.next=41,this._resumeMultipart(Je,Ae);case 41:return Ke.abrupt("return",Ke.sent);case 42:case"end":return Ke.stop()}},ve,this)}));function ye(ve,Pe){return pe.apply(this,arguments)}return ye}(),z._resumeMultipart=function(){var pe=(0,se.default)(ie.default.mark(function ve(Pe,we){var Ae,_e,xe,Ee,Oe,Ie,Ne,Te,Je,Qe,Ze,Ke,Ue,ke,Re,He,qe,rt,We;return ie.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(Ae=this,!this.isCancel()){Me.next=3;break}throw this._makeCancelEvent();case 3:return _e=Pe.file,xe=Pe.fileSize,Ee=Pe.partSize,Oe=Pe.uploadId,Ie=Pe.doneParts,Ne=Pe.name,Te=[],Ie.length>0&&ne(Ie).to(Te),Je=this._divideParts(xe,Ee),Qe=Je.length,Ze=!1,Ke=function(Le,Ve){return new Promise(function(){var ot=(0,se.default)(ie.default.mark(function et(Xe,je){var Ce,De,Fe,Ye,nt;return ie.default.wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:if(tt.prev=0,Le.isCancel()){tt.next=29;break}return Ce=Je[Ve-1],tt.next=5,Le._createBuffer(_e,Ce.start,Ce.end);case 5:return De=tt.sent,Fe={content:De,size:Ce.end-Ce.start},tt.prev=7,tt.next=10,Le._uploadPart(Ne,Oe,Ve,Fe,we);case 10:Ye=tt.sent,tt.next=18;break;case 13:if(tt.prev=13,tt.t0=tt.catch(7),tt.t0.status!==404){tt.next=17;break}throw Le._makeAbortEvent();case 17:throw tt.t0;case 18:if(!(!Le.isCancel()&&!Ze)){tt.next=26;break}if(Pe.doneParts.push({number:Ve,etag:Ye.res.headers.etag}),!we.progress){tt.next=23;break}return tt.next=23,we.progress(Ie.length/(Qe+1),Pe,Ye.res);case 23:Xe({number:Ve,etag:Ye.res.headers.etag}),tt.next=27;break;case 26:Xe();case 27:tt.next=30;break;case 29:Xe();case 30:tt.next=41;break;case 32:tt.prev=32,tt.t1=tt.catch(0),nt=new Error,nt.name=tt.t1.name,nt.message=tt.t1.message,nt.stack=tt.t1.stack,nt.partNum=Ve,ne(tt.t1).to(nt),je(nt);case 41:case"end":return tt.stop()}},et,null,[[0,32],[7,13]])}));return function(et,Xe){return ot.apply(this,arguments)}}())},Ue=Array.from(new Array(Qe),function(Ge,Le){return Le+1}),ke=Te.map(function(Ge){return Ge.number}),Re=Ue.filter(function(Ge){return ke.indexOf(Ge)<0}),He=5,qe=we.parallel||He,Me.next=17,this._parallel(Re,qe,function(Ge){return new Promise(function(Le,Ve){Ke(Ae,Ge).then(function(ot){ot&&Te.push(ot),Le()}).catch(function(ot){Ve(ot)})})});case 17:if(rt=Me.sent,Ze=!0,We=rt.find(function(Ge){return Ge.name==="abort"}),!We){Me.next=22;break}throw We;case 22:if(!this.isCancel()){Me.next=25;break}throw Ke=null,this._makeCancelEvent();case 25:if(!(rt&&rt.length>0)){Me.next=28;break}throw rt[0].message="Failed to upload some parts with error: ".concat(rt[0].toString()," part_num: ").concat(rt[0].partNum),rt[0];case 28:return Me.next=30,this.completeMultipartUpload(Ne,Oe,Te,we);case 30:return Me.abrupt("return",Me.sent);case 31:case"end":return Me.stop()}},ve,this)}));function ye(ve,Pe){return pe.apply(this,arguments)}return ye}(),z._getFileSize=function(){var pe=(0,se.default)(ie.default.mark(function ve(Pe){return ie.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:if(!ee(Pe)){Ae.next=4;break}return Ae.abrupt("return",Pe.length);case 4:if(!(a(Pe)||x(Pe))){Ae.next=6;break}return Ae.abrupt("return",Pe.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Ae.stop()}},ve)}));function ye(ve){return pe.apply(this,arguments)}return ye}();var ue=E("stream"),fe=ue.Readable;function ge(pe,ye){if(!(this instanceof ge))return new ge(pe,ye);fe.call(this,ye),this.file=pe,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}ce.inherits(ge,fe),ge.prototype.readFileAndPush=function(ye){if(this.fileBuffer)for(var ve=!0;ve&&this.fileBuffer&&this.start<this.fileBuffer.length;){var Pe=this.start,we=Pe+ye;we=we>this.fileBuffer.length?this.fileBuffer.length:we,this.start=we,ve=this.push(this.fileBuffer.slice(Pe,we))}},ge.prototype._read=function(ye){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var ve=16*1024;ye=ye||ve;var Pe=this;this.reader.onload=function(Ae){Pe.fileBuffer=le.from(new Uint8Array(Ae.target.result)),Pe.file=null,Pe.readFileAndPush(ye)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(ye)};function he(pe){return pe.arrayBuffer?pe.arrayBuffer():new Promise(function(ye,ve){var Pe=new FileReader;Pe.onload=function(we){ye(we.target.result)},Pe.onerror=function(we){ve(we)},Pe.readAsArrayBuffer(pe)})}z._createBuffer=function(){var pe=(0,se.default)(ie.default.mark(function ve(Pe,we,Ae){var _e,xe;return ie.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(!(a(Pe)||x(Pe))){Oe.next=8;break}return _e=Pe.slice(we,Ae),Oe.next=4,he(_e);case 4:return xe=Oe.sent,Oe.abrupt("return",le.from(xe));case 8:if(!ee(Pe)){Oe.next=12;break}return Oe.abrupt("return",Pe.subarray(we,Ae));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Oe.stop()}},ve)}));function ye(ve,Pe,we){return pe.apply(this,arguments)}return ye}(),z._getPartSize=function(ye,ve){var Pe=1e4,we=1*1024*1024;ve||(ve=we);var Ae=Math.ceil(ye/Pe);return ve<Ae&&(ve=Ae,console.warn("partSize has been set to ".concat(ve,", because the partSize you provided causes partNumber to be greater than 10,000"))),ve},z._divideParts=function(ye,ve){for(var Pe=Math.ceil(ye/ve),we=[],Ae=0;Ae<Pe;Ae++){var _e=ve*Ae,xe=Math.min(_e+ve,ye);we.push({start:_e,end:xe})}return we}}).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,me,de){"use strict";var le=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 ae=le(E("@babel/runtime/regenerator")),ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("fs"),ce=E("copy-to"),oe=E("path"),re=E("mime"),ne=E("../common/callback"),te=E("merge-descriptors"),a=E("../common/utils/isBlob"),y=a.isBlob,x=E("../common/utils/isFile"),b=x.isFile,ee=E("../common/utils/isBuffer"),z=ee.isBuffer,ue=E("../common/utils/obj2xml"),fe=ue.obj2xml,ge=de;ge.append=function(){var he=(0,ie.default)(ae.default.mark(function ye(ve,Pe,we){var Ae;return ae.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return we=we||{},we.position===void 0&&(we.position="0"),we.subres={append:"",position:we.position},we.method="POST",xe.next=6,this.put(ve,Pe,we);case 6:return Ae=xe.sent,Ae.nextAppendPosition=Ae.res.headers["x-oss-next-append-position"],xe.abrupt("return",Ae);case 9:case"end":return xe.stop()}},ye,this)}));function pe(ye,ve,Pe){return he.apply(this,arguments)}return pe}(),ge.put=function(){var he=(0,ie.default)(ae.default.mark(function ye(ve,Pe,we){var Ae,_e,xe,Ee,Oe;return ae.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:if(we=we||{},we.disabledMD5=we.disabledMD5===void 0?!0:!!we.disabledMD5,we.headers=we.headers||{},ve=this._objectName(ve),!z(Pe)){Ne.next=8;break}Ae=Pe,Ne.next=19;break;case 8:if(!(y(Pe)||b(Pe))){Ne.next=18;break}return we.mime||(b(Pe)?we.mime=re.getType(oe.extname(Pe.name)):we.mime=Pe.type),Ne.next=12,this._createBuffer(Pe,0,Pe.size);case 12:return Ae=Ne.sent,Ne.next=15,this._getFileSize(Pe);case 15:we.contentLength=Ne.sent,Ne.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(we.meta,we.headers),_e=we.method||"PUT",xe=this._objectRequestParams(_e,ve,we),ne.encodeCallback(xe,we),xe.mime=we.mime,xe.disabledMD5=we.disabledMD5,xe.content=Ae,xe.successStatuses=[200],Ne.next=29,this.request(xe);case 29:return Ee=Ne.sent,Oe={name:ve,url:this._objectUrl(ve),res:Ee.res},xe.headers&&xe.headers["x-oss-callback"]&&(Oe.data=JSON.parse(Ee.data.toString())),Ne.abrupt("return",Oe);case 33:case"end":return Ne.stop()}},ye,this)}));function pe(ye,ve,Pe){return he.apply(this,arguments)}return pe}(),ge.putStream=function(){var he=(0,ie.default)(ae.default.mark(function ye(ve,Pe,we){var Ae,_e,xe,Ee;return ae.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return we=we||{},we.headers=we.headers||{},ve=this._objectName(ve),we.contentLength?we.headers["Content-Length"]=we.contentLength:we.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(we.meta,we.headers),Ae=we.method||"PUT",_e=this._objectRequestParams(Ae,ve,we),ne.encodeCallback(_e,we),_e.mime=we.mime,_e.stream=Pe,_e.successStatuses=[200],Ie.next=13,this.request(_e);case 13:return xe=Ie.sent,Ee={name:ve,url:this._objectUrl(ve),res:xe.res},_e.headers&&_e.headers["x-oss-callback"]&&(Ee.data=JSON.parse(xe.data.toString())),Ie.abrupt("return",Ee);case 17:case"end":return Ie.stop()}},ye,this)}));function pe(ye,ve,Pe){return he.apply(this,arguments)}return pe}(),te(ge,E("../common/object/copyObject")),te(ge,E("../common/object/getObjectTagging")),te(ge,E("../common/object/putObjectTagging")),te(ge,E("../common/object/deleteObjectTagging")),te(ge,E("../common/image")),te(ge,E("../common/object/getBucketVersions")),te(ge,E("../common/object/getACL")),te(ge,E("../common/object/putACL")),te(ge,E("../common/object/head")),te(ge,E("../common/object/delete")),te(ge,E("../common/object/get")),te(ge,E("../common/object/putSymlink")),te(ge,E("../common/object/getSymlink")),te(ge,E("../common/object/deleteMulti")),te(ge,E("../common/object/getObjectMeta")),te(ge,E("../common/object/getObjectUrl")),te(ge,E("../common/object/generateObjectUrl")),te(ge,E("../common/object/signatureUrl")),te(ge,E("../common/object/asyncSignatureUrl")),ge.putMeta=function(){var he=(0,ie.default)(ae.default.mark(function ye(ve,Pe,we){var Ae;return ae.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return xe.next=2,this.copy(ve,ve,{meta:Pe||{},timeout:we&&we.timeout,ctx:we&&we.ctx});case 2:return Ae=xe.sent,xe.abrupt("return",Ae);case 4:case"end":return xe.stop()}},ye,this)}));function pe(ye,ve,Pe){return he.apply(this,arguments)}return pe}(),ge.list=function(){var he=(0,ie.default)(ae.default.mark(function ye(ve,Pe){var we,Ae,_e,xe,Ee;return ae.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return we=this._objectRequestParams("GET","",Pe),we.query=ve,we.xmlResponse=!0,we.successStatuses=[200],Ie.next=6,this.request(we);case 6:return Ae=Ie.sent,_e=Ae.data.Contents||[],xe=this,_e&&(Array.isArray(_e)||(_e=[_e]),_e=_e.map(function(Ne){return{name:Ne.Key,url:xe._objectUrl(Ne.Key),lastModified:Ne.LastModified,etag:Ne.ETag,type:Ne.Type,size:Number(Ne.Size),storageClass:Ne.StorageClass,owner:{id:Ne.Owner.ID,displayName:Ne.Owner.DisplayName}}})),Ee=Ae.data.CommonPrefixes||null,Ee&&(Array.isArray(Ee)||(Ee=[Ee]),Ee=Ee.map(function(Ne){return Ne.Prefix})),Ie.abrupt("return",{res:Ae.res,objects:_e,prefixes:Ee,nextMarker:Ae.data.NextMarker||null,isTruncated:Ae.data.IsTruncated==="true"});case 13:case"end":return Ie.stop()}},ye,this)}));function pe(ye,ve){return he.apply(this,arguments)}return pe}(),ge.listV2=function(){var he=(0,ie.default)(ae.default.mark(function ye(ve){var Pe,we,Ae,_e,xe,Ee,Oe,Ie=arguments;return ae.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return Pe=Ie.length>1&&Ie[1]!==void 0?Ie[1]:{},we=ve["continuation-token"]||ve.continuationToken,we&&(Pe.subres=Object.assign({"continuation-token":we},Pe.subres)),Ae=this._objectRequestParams("GET","",Pe),Ae.query=Object.assign({"list-type":2},ve),delete Ae.query["continuation-token"],delete Ae.query.continuationToken,Ae.xmlResponse=!0,Ae.successStatuses=[200],Te.next=11,this.request(Ae);case 11:return _e=Te.sent,xe=_e.data.Contents||[],Ee=this,xe&&(Array.isArray(xe)||(xe=[xe]),xe=xe.map(function(Je){var Qe=null;return Je.Owner&&(Qe={id:Je.Owner.ID,displayName:Je.Owner.DisplayName}),{name:Je.Key,url:Ee._objectUrl(Je.Key),lastModified:Je.LastModified,etag:Je.ETag,type:Je.Type,size:Number(Je.Size),storageClass:Je.StorageClass,owner:Qe}})),Oe=_e.data.CommonPrefixes||null,Oe&&(Array.isArray(Oe)||(Oe=[Oe]),Oe=Oe.map(function(Je){return Je.Prefix})),Te.abrupt("return",{res:_e.res,objects:xe,prefixes:Oe,isTruncated:_e.data.IsTruncated==="true",keyCount:+_e.data.KeyCount,continuationToken:_e.data.ContinuationToken||null,nextContinuationToken:_e.data.NextContinuationToken||null});case 18:case"end":return Te.stop()}},ye,this)}));function pe(ye){return he.apply(this,arguments)}return pe}(),ge.restore=function(){var he=(0,ie.default)(ae.default.mark(function ye(ve){var Pe,we,Ae,_e,xe=arguments;return ae.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Pe=xe.length>1&&xe[1]!==void 0?xe[1]:{type:"Archive"},Pe=Pe||{},Pe.subres=Object.assign({restore:""},Pe.subres),Pe.versionId&&(Pe.subres.versionId=Pe.versionId),we=this._objectRequestParams("POST",ve,Pe),Pe.type==="ColdArchive"&&(Ae={RestoreRequest:{Days:Pe.Days?Pe.Days:2,JobParameters:{Tier:Pe.JobParameters?Pe.JobParameters:"Standard"}}},we.content=fe(Ae,{headers:!0}),we.mime="xml"),we.successStatuses=[202],Oe.next=9,this.request(we);case 9:return _e=Oe.sent,Oe.abrupt("return",{res:_e.res});case 11:case"end":return Oe.stop()}},ye,this)}));function pe(ye){return he.apply(this,arguments)}return pe}(),ge._objectUrl=function(pe){return this._getReqUrl({bucket:this.options.bucket,object:pe})},ge._objectRequestParams=function(pe,ye,ve){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");ve=ve||{},ye=this._objectName(ye);var Pe={object:ye,bucket:this.options.bucket,method:pe,subres:ve&&ve.subres,timeout:ve&&ve.timeout,ctx:ve&&ve.ctx};return ve.headers&&(Pe.headers={},ce(ve.headers).to(Pe.headers)),Pe},ge._objectName=function(pe){return pe.replace(/^\/+/,"")},ge._convertMetaToHeaders=function(pe,ye){pe&&Object.keys(pe).forEach(function(ve){ye["x-oss-meta-".concat(ve)]=pe[ve]})},ge._deleteFileSafe=function(pe){var ye=this;return new Promise(function(ve){se.exists(pe,function(Pe){Pe?se.unlink(pe,function(we){we&&ye.debug("unlink %j error: %s",pe,we,"error"),ve()}):ve()})})}},{"../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,me,de){"use strict";de.version="6.18.1"},{}],7:[function(E,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator")),ie=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.abortBucketWorm=void 0;var se=E("../utils/checkBucketName");function ce(re,ne){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ae.default.mark(function re(ne,te){var a,y;return ae.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return se.checkBucketName(ne),a=this._bucketRequestParams("DELETE",ne,"worm",te),b.next=4,this.request(a);case 4:return y=b.sent,b.abrupt("return",{res:y.res,status:y.status});case 6:case"end":return b.stop()}},re,this)})),oe.apply(this,arguments)}de.abortBucketWorm=ce},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator")),ie=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.completeBucketWorm=void 0;var se=E("../utils/checkBucketName");function ce(re,ne,te){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ae.default.mark(function re(ne,te,a){var y,x;return ae.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return se.checkBucketName(ne),y=this._bucketRequestParams("POST",ne,{wormId:te},a),ee.next=4,this.request(y);case 4:return x=ee.sent,ee.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return ee.stop()}},re,this)})),oe.apply(this,arguments)}de.completeBucketWorm=ce},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.deleteBucketInventory=void 0;var se=E("../utils/checkBucketName");function ce(re,ne){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ae.default.mark(function re(ne,te){var a,y,x,b,ee=arguments;return ae.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return a=ee.length>2&&ee[2]!==void 0?ee[2]:{},y=Object.assign({inventory:"",inventoryId:te},a.subres),se.checkBucketName(ne),x=this._bucketRequestParams("DELETE",ne,y,a),x.successStatuses=[204],ue.next=7,this.request(x);case 7:return b=ue.sent,ue.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return ue.stop()}},re,this)})),oe.apply(this,arguments)}de.deleteBucketInventory=ce},{"../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator")),ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("../utils/checkBucketName"),ce=se.checkBucketName,oe=de;oe.deleteBucketLifecycle=function(){var re=(0,ie.default)(ae.default.mark(function te(a,y){var x,b;return ae.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ce(a),x=this._bucketRequestParams("DELETE",a,"lifecycle",y),x.successStatuses=[204],z.next=5,this.request(x);case 5:return b=z.sent,z.abrupt("return",{res:b.res});case 7:case"end":return z.stop()}},te,this)}));function ne(te,a){return re.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator")),ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("../utils/checkBucketName"),ce=se.checkBucketName,oe=de;oe.deleteBucketWebsite=function(){var re=(0,ie.default)(ae.default.mark(function te(a,y){var x,b;return ae.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ce(a),x=this._bucketRequestParams("DELETE",a,"website",y),x.successStatuses=[204],z.next=5,this.request(x);case 5:return b=z.sent,z.abrupt("return",{res:b.res});case 7:case"end":return z.stop()}},te,this)}));function ne(te,a){return re.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator")),ie=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.extendBucketWorm=void 0;var se=E("../utils/checkBucketName"),ce=E("../utils/obj2xml");function oe(ne,te,a,y){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(ae.default.mark(function ne(te,a,y,x){var b,ee,z;return ae.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return se.checkBucketName(te),b=this._bucketRequestParams("POST",te,{wormExtend:"",wormId:a},x),ee={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=ce.obj2xml(ee,{headers:!0}),b.successStatuses=[200],fe.next=8,this.request(b);case 8:return z=fe.sent,fe.abrupt("return",{res:z.res,status:z.status});case 10:case"end":return fe.stop()}},ne,this)})),re.apply(this,arguments)}de.extendBucketWorm=oe},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.getBucketInventory=void 0;var se=E("../utils/checkBucketName"),ce=E("../utils/formatInventoryConfig");function oe(ne,te){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(ae.default.mark(function ne(te,a){var y,x,b,ee,z=arguments;return ae.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return y=z.length>2&&z[2]!==void 0?z[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),se.checkBucketName(te),b=this._bucketRequestParams("GET",te,x,y),b.successStatuses=[200],b.xmlResponse=!0,fe.next=8,this.request(b);case 8:return ee=fe.sent,fe.abrupt("return",{status:ee.status,res:ee.res,inventory:ce.formatInventoryConfig(ee.data)});case 10:case"end":return fe.stop()}},ne,this)})),re.apply(this,arguments)}de.getBucketInventory=oe},{"../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("../utils/checkBucketName"),ce=se.checkBucketName,oe=E("../utils/isArray"),re=oe.isArray,ne=E("../utils/formatObjKey"),te=ne.formatObjKey,a=de;a.getBucketLifecycle=function(){var y=(0,ie.default)(ae.default.mark(function b(ee,z){var ue,fe,ge;return ae.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ce(ee),ue=this._bucketRequestParams("GET",ee,"lifecycle",z),ue.successStatuses=[200],ue.xmlResponse=!0,pe.next=6,this.request(ue);case 6:return fe=pe.sent,ge=fe.data.Rule||null,ge&&(re(ge)||(ge=[ge]),ge=ge.map(function(ye){return ye.ID&&(ye.id=ye.ID,delete ye.ID),ye.Tag&&!re(ye.Tag)&&(ye.Tag=[ye.Tag]),te(ye,"firstLowerCase")})),pe.abrupt("return",{rules:ge,res:fe.res});case 10:case"end":return pe.stop()}},b,this)}));function x(b,ee){return y.apply(this,arguments)}return x}()},{"../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator")),ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("../utils/checkBucketName"),ce=se.checkBucketName,oe=de;oe.getBucketVersioning=function(){var re=(0,ie.default)(ae.default.mark(function te(a,y){var x,b,ee;return ae.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ce(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],ue.next=6,this.request(x);case 6:return b=ue.sent,ee=b.data.Status,ue.abrupt("return",{status:b.status,versionStatus:ee,res:b.res});case 9:case"end":return ue.stop()}},te,this)}));function ne(te,a){return re.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator")),ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("../utils/checkBucketName"),ce=se.checkBucketName,oe=E("../utils/isObject"),re=oe.isObject,ne=de;ne.getBucketWebsite=function(){var te=(0,ie.default)(ae.default.mark(function y(x,b){var ee,z,ue;return ae.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ce(x),ee=this._bucketRequestParams("GET",x,"website",b),ee.successStatuses=[200],ee.xmlResponse=!0,ge.next=6,this.request(ee);case 6:return z=ge.sent,ue=[],z.data.RoutingRules&&z.data.RoutingRules.RoutingRule&&(re(z.data.RoutingRules.RoutingRule)?ue=[z.data.RoutingRules.RoutingRule]:ue=z.data.RoutingRules.RoutingRule),ge.abrupt("return",{index:z.data.IndexDocument&&z.data.IndexDocument.Suffix||"",supportSubDir:z.data.IndexDocument&&z.data.IndexDocument.SupportSubDir||"false",type:z.data.IndexDocument&&z.data.IndexDocument.Type,routingRules:ue,error:z.data.ErrorDocument&&z.data.ErrorDocument.Key||null,res:z.res});case 10:case"end":return ge.stop()}},y,this)}));function a(y,x){return te.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(E,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.getBucketWorm=void 0;var se=E("../utils/checkBucketName"),ce=E("../utils/dataFix");function oe(ne,te){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(ae.default.mark(function ne(te,a){var y,x;return ae.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return se.checkBucketName(te),y=this._bucketRequestParams("GET",te,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,ee.next=6,this.request(y);case 6:return x=ee.sent,ce.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),ee.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return ee.stop()}},ne,this)})),re.apply(this,arguments)}de.getBucketWorm=oe},{"../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator")),ie=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.initiateBucketWorm=void 0;var se=E("../utils/obj2xml"),ce=E("../utils/checkBucketName");function oe(ne,te,a){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(ae.default.mark(function ne(te,a,y){var x,b,ee;return ae.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ce.checkBucketName(te),x=this._bucketRequestParams("POST",te,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=se.obj2xml(b,{headers:!0}),x.successStatuses=[200],ue.next=8,this.request(x);case 8:return ee=ue.sent,ue.abrupt("return",{res:ee.res,wormId:ee.res.headers["x-oss-worm-id"],status:ee.status});case 10:case"end":return ue.stop()}},ne,this)})),re.apply(this,arguments)}de.initiateBucketWorm=oe},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.listBucketInventory=void 0;var se=E("../utils/checkBucketName"),ce=E("../utils/formatInventoryConfig");function oe(ne){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(ae.default.mark(function ne(te){var a,y,x,b,ee,z,ue,fe,ge=arguments;return ae.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return a=ge.length>1&&ge[1]!==void 0?ge[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),se.checkBucketName(te),b=this._bucketRequestParams("GET",te,x,a),b.successStatuses=[200],b.xmlResponse=!0,pe.next=9,this.request(b);case 9:return ee=pe.sent,z=ee.data,ue=ee.res,fe=ee.status,pe.abrupt("return",{isTruncated:z.IsTruncated==="true",nextContinuationToken:z.NextContinuationToken,inventoryList:ce.formatInventoryConfig(z.InventoryConfiguration,!0),status:fe,res:ue});case 12:case"end":return pe.stop()}},ne,this)})),re.apply(this,arguments)}de.listBucketInventory=oe},{"../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.putBucketInventory=void 0;var se=E("../utils/checkBucketName"),ce=E("../utils/obj2xml");function oe(ne,te){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(ae.default.mark(function ne(te,a){var y,x,b,ee,z,ue,fe,ge,he,pe,ye,ve=arguments;return ae.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return y=ve.length>2&&ve[2]!==void 0?ve[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),se.checkBucketName(te),b=a.OSSBucketDestination,ee=a.optionalFields,z=a.includedObjectVersions,ue="acs:oss:::",fe="acs:ram::".concat(b.accountId,":role/"),ge={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(fe).concat(b.rolename),Bucket:"".concat(ue).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:z,OptionalFields:{Field:(ee==null?void 0:ee.field)||[]}}},he=ce.obj2xml(ge,{headers:!0,firstUpperCase:!0}),pe=this._bucketRequestParams("PUT",te,x,y),pe.successStatuses=[200],pe.mime="xml",pe.content=he,we.next=14,this.request(pe);case 14:return ye=we.sent,we.abrupt("return",{status:ye.status,res:ye.res});case 16:case"end":return we.stop()}},ne,this)})),re.apply(this,arguments)}de.putBucketInventory=oe},{"../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(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 ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("../utils/checkBucketName"),ce=se.checkBucketName,oe=E("../utils/isArray"),re=oe.isArray,ne=E("../utils/deepCopy"),te=ne.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,ee=E("../utils/checkObjectTag"),z=ee.checkObjectTag,ue=E("../utils/getStrBytesCount"),fe=ue.getStrBytesCount,ge=de;ge.putBucketLifecycle=function(){var Pe=(0,ie.default)(ae.default.mark(function Ae(_e,xe,Ee){var Oe,Ie,Ne,Te,Je;return ae.default.wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:if(ce(_e),re(xe)){Ze.next=3;break}throw new Error("rules must be Array");case 3:return Oe=this._bucketRequestParams("PUT",_e,"lifecycle",Ee),Ie=[],Ne={LifecycleConfiguration:{Rule:Ie}},xe.forEach(function(Ke){he(Ke),ve(Ke),Ke.id&&(Ke.ID=Ke.id,delete Ke.id),Ie.push(Ke)}),Te=b(Ne,{headers:!0,firstUpperCase:!0}),Oe.content=Te,Oe.mime="xml",Oe.successStatuses=[200],Ze.next=13,this.request(Oe);case 13:return Je=Ze.sent,Ze.abrupt("return",{res:Je.res});case 15:case"end":return Ze.stop()}},Ae,this)}));function we(Ae,_e,xe){return Pe.apply(this,arguments)}return we}();function he(Pe){Pe.days&&(Pe.expiration={days:Pe.days}),Pe.date&&(Pe.expiration={createdBeforeDate:Pe.date})}function pe(Pe,we){var Ae=Pe.days,_e=Pe.createdBeforeDate;if(!Ae&&!_e)throw new Error("".concat(we," must includes days or createdBeforeDate"));if(Ae&&!/^[1-9][0-9]*$/.test(Ae))throw new Error("days must be a positive integer");if(_e&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(_e))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function ye(Pe){if(!re(Pe)&&!y(Pe))throw new Error("tag must be Object or Array");Pe=y(Pe)?[Pe]:Pe;var we={},Ae=te(Pe);Ae.forEach(function(_e){we[_e.key]=_e.value}),z(we)}function ve(Pe){if(Pe.id&&fe(Pe.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Pe.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Pe.status))throw new Error("Status must be Enabled or Disabled");if(Pe.transition){if(!["IA","Archive"].includes(Pe.transition.storageClass))throw new Error("StorageClass must be IA or Archive");pe(Pe.transition,"Transition")}if(Pe.expiration){if(!Pe.expiration.expiredObjectDeleteMarker)pe(Pe.expiration,"Expiration");else if(Pe.expiration.days||Pe.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Pe.abortMultipartUpload&&pe(Pe.abortMultipartUpload,"AbortMultipartUpload"),!Pe.expiration&&!Pe.abortMultipartUpload&&!Pe.transition&&!Pe.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Pe.tag){if(Pe.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");ye(Pe.tag)}}},{"../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("../utils/checkBucketName"),ce=se.checkBucketName,oe=E("../utils/obj2xml"),re=oe.obj2xml,ne=de;ne.putBucketVersioning=function(){var te=(0,ie.default)(ae.default.mark(function y(x,b){var ee,z,ue,fe,ge=arguments;return ae.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(ee=ge.length>2&&ge[2]!==void 0?ge[2]:{},ce(x),["Enabled","Suspended"].includes(b)){pe.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return z=this._bucketRequestParams("PUT",x,"versioning",ee),ue={VersioningConfiguration:{Status:b}},z.mime="xml",z.content=re(ue,{headers:!0}),pe.next=10,this.request(z);case 10:return fe=pe.sent,pe.abrupt("return",{res:fe.res,status:fe.status});case 12:case"end":return pe.stop()}},y,this)}));function a(y,x){return te.apply(this,arguments)}return a}()},{"../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator")),ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("../utils/checkBucketName"),ce=se.checkBucketName,oe=E("../utils/obj2xml"),re=oe.obj2xml,ne=E("../utils/isArray"),te=ne.isArray,a=de;a.putBucketWebsite=function(){var y=(0,ie.default)(ae.default.mark(function b(ee){var z,ue,fe,ge,he,pe,ye,ve=arguments;return ae.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(z=ve.length>1&&ve[1]!==void 0?ve[1]:{},ue=ve.length>2?ve[2]:void 0,ce(ee),fe=this._bucketRequestParams("PUT",ee,"website",ue),ge={Suffix:z.index||"index.html"},he={IndexDocument:ge},pe={WebsiteConfiguration:he},z.supportSubDir&&(ge.SupportSubDir=z.supportSubDir),z.type&&(ge.Type=z.type),z.error&&(he.ErrorDocument={Key:z.error}),z.routingRules===void 0){we.next=14;break}if(te(z.routingRules)){we.next=13;break}throw new Error("RoutingRules must be Array");case 13:he.RoutingRules={RoutingRule:z.routingRules};case 14:return pe=re(pe),fe.content=pe,fe.mime="xml",fe.successStatuses=[200],we.next=20,this.request(fe);case 20:return ye=we.sent,we.abrupt("return",{res:ye.res});case 22:case"end":return we.stop()}},b,this)}));function x(b){return y.apply(this,arguments)}return x}()},{"../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,me,de){(function(le){(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"),de.encodeCallback=function(ie,se){if(ie.headers=ie.headers||{},!Object.prototype.hasOwnProperty.call(ie.headers,"x-oss-callback")&&se.callback){var ce={callbackUrl:encodeURI(se.callback.url),callbackBody:se.callback.body};se.callback.host&&(ce.callbackHost=se.callback.host),se.callback.contentType&&(ce.callbackBodyType=se.callback.contentType);var oe=le.from(JSON.stringify(ce)).toString("base64");if(ie.headers["x-oss-callback"]=oe,se.callback.customValue){var re={};Object.keys(se.callback.customValue).forEach(function(ne){re["x:".concat(ne)]=se.callback.customValue[ne].toString()}),ie.headers["x-oss-callback-var"]=le.from(JSON.stringify(re)).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,me,de){"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 le=function(te){return te&&te.__esModule?te:{default:te}};Object.defineProperty(de,"__esModule",{value:!0}),de.getReqUrl=void 0;var ae=le(E("copy-to")),ie=le(E("url")),se=le(E("merge-descriptors")),ce=le(E("is-type-of")),oe=E("../utils/isIP"),re=E("../utils/checkConfigValid");function ne(te){var a={},y=this.options.cname;re.checkConfigValid(this.options.endpoint,"endpoint"),ae.default(this.options.endpoint,!1).to(a),te.bucket&&!y&&!oe.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(te.bucket,".").concat(a.host));var x="/";te.bucket&&this.options.sldEnable&&(x+="".concat(te.bucket,"/")),te.object&&(x+=this._escape(te.object).replace(/\+/g,"%2B")),a.pathname=x;var b={};if(te.query&&se.default(b,te.query),te.subres){var ee={};ce.default.string(te.subres)?ee[te.subres]="":ce.default.array(te.subres)?te.subres.forEach(function(z){ee[z]=""}):ee=te.subres,se.default(b,ee)}return a.query=b,ie.default.format(a)}de.getReqUrl=ne},{"../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,me,de){"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 le=E("humanize-ms"),ae=E("url"),ie=E("../utils/checkBucketName"),se=ie.checkBucketName,ce=E("../utils/setRegion"),oe=ce.setRegion,re=E("../utils/checkConfigValid"),ne=re.checkConfigValid;function te(a,y){ne(a,"endpoint");var x=ae.parse(a);if(x.protocol||(x=ae.parse("http".concat(y?"s":"","://").concat(a))),x.protocol!=="http:"&&x.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return x}me.exports=function(a){if(!a||!a.accessKeyId||!a.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");a.stsToken&&!a.refreshSTSToken&&!a.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),a.bucket&&se(a.bucket);var y=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:6e4*5,retryMax:0},a);if(y.accessKeyId=y.accessKeyId.trim(),y.accessKeySecret=y.accessKeySecret.trim(),y.timeout&&(y.timeout=le(y.timeout)),y.endpoint)y.endpoint=te(y.endpoint,y.secure);else if(y.region)y.endpoint=oe(y.region,y.internal,y.secure);else throw new Error("require options.endpoint or options.region");return y.inited=!0,y}},{"../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,me,de){"use strict";var le=E("merge-descriptors"),ae=de;le(ae,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("../utils/checkBucketName"),ce=se.checkBucketName,oe=E("querystring"),re=E("js-base64"),ne=re.Base64.encode,te=de;te.processObjectSave=function(){var y=(0,ie.default)(ae.default.mark(function b(ee,z,ue,fe){var ge,he,pe,ye;return ae.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return a(ee,"sourceObject"),a(z,"targetObject"),a(ue,"process"),z=this._objectName(z),fe&&ce(fe),ge=this._objectRequestParams("POST",ee,{subres:"x-oss-process"}),he=fe?",b_".concat(ne(fe)):"",z=ne(z),pe={"x-oss-process":"".concat(ue,"|sys/saveas,o_").concat(z).concat(he)},ge.content=oe.stringify(pe),Pe.next=12,this.request(ge);case 12:return ye=Pe.sent,Pe.abrupt("return",{res:ye.res,status:ye.res.status});case 14:case"end":return Pe.stop()}},b,this)}));function x(b,ee,z,ue){return y.apply(this,arguments)}return x}();function a(y,x){if(!y)throw new Error("".concat(x," is required"));if(typeof y!="string")throw new Error("".concat(x," must be String"))}},{"../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(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 ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("debug")("ali-oss:multipart-copy"),ce=E("copy-to"),oe=de;oe.uploadPartCopy=function(){var re=(0,ie.default)(ae.default.mark(function te(a,y,x,b,ee){var z,ue,fe,ge,he,pe=arguments;return ae.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return z=pe.length>5&&pe[5]!==void 0?pe[5]:{},z.headers=z.headers||{},ue=z.versionId||z.subres&&z.subres.versionId||null,ue?fe="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey),"?versionId=").concat(ue):fe="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey)),z.headers["x-oss-copy-source"]=fe,b&&(z.headers["x-oss-copy-source-range"]="bytes=".concat(b)),z.subres={partNumber:x,uploadId:y},ge=this._objectRequestParams("PUT",a,z),ge.mime=z.mime,ge.successStatuses=[200],ve.next=12,this.request(ge);case 12:return he=ve.sent,ve.abrupt("return",{name:a,etag:he.res.headers.etag,res:he.res});case 14:case"end":return ve.stop()}},te,this)}));function ne(te,a,y,x,b){return re.apply(this,arguments)}return ne}(),oe.multipartUploadCopy=function(){var re=(0,ie.default)(ae.default.mark(function te(a,y){var x,b,ee,z,ue,fe,ge,he,pe,ye,ve,Pe,we=arguments;return ae.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return x=we.length>2&&we[2]!==void 0?we[2]:{},this.resetCancelFlag(),b=x.versionId,ee=b===void 0?null:b,z={versionId:ee},_e.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,z);case 6:if(ue=_e.sent,fe=ue.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||fe,!(x.checkpoint&&x.checkpoint.uploadId)){_e.next=14;break}return _e.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return _e.abrupt("return",_e.sent);case 14:if(ge=102400,he=y.endOffset-y.startOffset,!(he<ge)){_e.next=18;break}throw new Error("copySize must not be smaller than ".concat(ge));case 18:if(!(x.partSize&&x.partSize<ge)){_e.next=20;break}throw new Error("partSize must not be smaller than ".concat(ge));case 20:return _e.next=22,this.initMultipartUpload(a,x);case 22:if(pe=_e.sent,ye=pe.uploadId,ve=this._getPartSize(he,x.partSize),Pe={name:a,copySize:he,partSize:ve,uploadId:ye,doneParts:[]},!(x&&x.progress)){_e.next=29;break}return _e.next=29,x.progress(0,Pe,pe.res);case 29:return _e.next=31,this._resumeMultipartCopy(Pe,y,x);case 31:return _e.abrupt("return",_e.sent);case 32:case"end":return _e.stop()}},te,this)}));function ne(te,a){return re.apply(this,arguments)}return ne}(),oe._resumeMultipartCopy=function(){var re=(0,ie.default)(ae.default.mark(function te(a,y,x){var b,ee,z,ue,fe,ge,he,pe,ye,ve,Pe,we,Ae,_e,xe,Ee,Oe,Ie,Ne,Te,Je;return ae.default.wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:if(!this.isCancel()){Ze.next=2;break}throw this._makeCancelEvent();case 2:if(b=x.versionId,ee=b===void 0?null:b,z={versionId:ee},ue=a.copySize,fe=a.partSize,ge=a.uploadId,he=a.doneParts,pe=a.name,ye=this._divideMultipartCopyParts(ue,fe,y.startOffset),ve=ye.length,Pe={headers:{}},x.copyheaders&&ce(x.copyheaders).to(Pe.headers),ee&&ce(z).to(Pe),we=function(Ue,ke,Re){return new Promise(function(){var He=(0,ie.default)(ae.default.mark(function qe(rt,We){var ze,Me,Ge;return ae.default.wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:if(Ve.prev=0,Ue.isCancel()){Ve.next=22;break}return ze=ye[ke-1],Me="".concat(ze.start,"-").concat(ze.end-1),Ve.prev=4,Ve.next=7,Ue.uploadPartCopy(pe,ge,ke,Me,Re,Pe);case 7:Ge=Ve.sent,Ve.next=15;break;case 10:if(Ve.prev=10,Ve.t0=Ve.catch(4),Ve.t0.status!==404){Ve.next=14;break}throw Ue._makeAbortEvent();case 14:throw Ve.t0;case 15:if(Ue.isCancel()){Ve.next=22;break}if(se("content-range ".concat(Ge.res.headers["content-range"])),he.push({number:ke,etag:Ge.res.headers.etag}),a.doneParts=he,!(x&&x.progress)){Ve.next=22;break}return Ve.next=22,x.progress(he.length/ve,a,Ge.res);case 22:rt(),Ve.next=29;break;case 25:Ve.prev=25,Ve.t1=Ve.catch(0),Ve.t1.partNum=ke,We(Ve.t1);case 29:case"end":return Ve.stop()}},qe,null,[[0,25],[4,10]])}));return function(qe,rt){return He.apply(this,arguments)}}())},Ae=Array.from(new Array(ve),function(Ke,Ue){return Ue+1}),_e=he.map(function(Ke){return Ke.number}),xe=Ae.filter(function(Ke){return _e.indexOf(Ke)<0}),Ee=5,Oe=x.parallel||Ee,!(this.checkBrowserAndVersion("Internet Explorer","10")||Oe===1)){Ze.next=28;break}Ie=0;case 18:if(!(Ie<xe.length)){Ze.next=26;break}if(!this.isCancel()){Ze.next=21;break}throw this._makeCancelEvent();case 21:return Ze.next=23,we(this,xe[Ie],y);case 23:Ie++,Ze.next=18;break;case 26:Ze.next=40;break;case 28:return Ze.next=30,this._parallelNode(xe,Oe,we,y);case 30:if(Ne=Ze.sent,Te=Ne.find(function(Ke){return Ke.name==="abort"}),!Te){Ze.next=34;break}throw Te;case 34:if(!this.isCancel()){Ze.next=36;break}throw this._makeCancelEvent();case 36:if(!(Ne&&Ne.length>0)){Ze.next=40;break}throw Je=Ne[0],Je.message="Failed to copy some parts with error: ".concat(Je.toString()," part_num: ").concat(Je.partNum),Je;case 40:return Ze.next=42,this.completeMultipartUpload(pe,ge,he,x);case 42:return Ze.abrupt("return",Ze.sent);case 43:case"end":return Ze.stop()}},te,this)}));function ne(te,a,y){return re.apply(this,arguments)}return ne}(),oe._divideMultipartCopyParts=function(ne,te,a){for(var y=Math.ceil(ne/te),x=[],b=0;b<y;b++){var ee=te*b+a,z=Math.min(ee+te,ne+a);x.push({start:ee,end:z})}return x},oe._getObjectMeta=function(){var re=(0,ie.default)(ae.default.mark(function te(a,y,x){var b,ee;return ae.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return b=this.getBucket(),this.setBucket(a),ue.next=4,this.head(y,x);case 4:return ee=ue.sent,this.setBucket(b),ue.abrupt("return",ee);case 7:case"end":return ue.stop()}},te,this)}));function ne(te,a,y){return re.apply(this,arguments)}return ne}()},{"@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,me,de){(function(le){(function(){"use strict";var ae=E("@babel/runtime/helpers/interopRequireDefault"),ie=ae(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 se=ae(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("copy-to"),oe=E("./callback"),re=E("./utils/deepCopy"),ne=re.deepCopyWith,te=E("./utils/isBuffer"),a=te.isBuffer,y=E("./utils/omit"),x=y.omit,b=de;b.listUploads=function(){var ee=(0,se.default)(ie.default.mark(function ue(fe,ge){var he,pe,ye,ve;return ie.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return ge=ge||{},he={},ce(ge).to(he),he.subres="uploads",pe=this._objectRequestParams("GET","",he),pe.query=fe,pe.xmlResponse=!0,pe.successStatuses=[200],we.next=10,this.request(pe);case 10:return ye=we.sent,ve=ye.data.Upload||[],Array.isArray(ve)||(ve=[ve]),ve=ve.map(function(Ae){return{name:Ae.Key,uploadId:Ae.UploadId,initiated:Ae.Initiated}}),we.abrupt("return",{res:ye.res,uploads:ve,bucket:ye.data.Bucket,nextKeyMarker:ye.data.NextKeyMarker,nextUploadIdMarker:ye.data.NextUploadIdMarker,isTruncated:ye.data.IsTruncated==="true"});case 15:case"end":return we.stop()}},ue,this)}));function z(ue,fe){return ee.apply(this,arguments)}return z}(),b.listParts=function(){var ee=(0,se.default)(ie.default.mark(function ue(fe,ge,he,pe){var ye,ve,Pe;return ie.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return pe=pe||{},ye={},ce(pe).to(ye),ye.subres={uploadId:ge},ve=this._objectRequestParams("GET",fe,ye),ve.query=he,ve.xmlResponse=!0,ve.successStatuses=[200],Ae.next=10,this.request(ve);case 10:return Pe=Ae.sent,Ae.abrupt("return",{res:Pe.res,uploadId:Pe.data.UploadId,bucket:Pe.data.Bucket,name:Pe.data.Key,partNumberMarker:Pe.data.PartNumberMarker,nextPartNumberMarker:Pe.data.NextPartNumberMarker,maxParts:Pe.data.MaxParts,isTruncated:Pe.data.IsTruncated,parts:Pe.data.Part||[]});case 12:case"end":return Ae.stop()}},ue,this)}));function z(ue,fe,ge,he){return ee.apply(this,arguments)}return z}(),b.abortMultipartUpload=function(){var ee=(0,se.default)(ie.default.mark(function ue(fe,ge,he){var pe,ye,ve;return ie.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return this._stop(),he=he||{},pe={},ce(he).to(pe),pe.subres={uploadId:ge},ye=this._objectRequestParams("DELETE",fe,pe),ye.successStatuses=[204],we.next=9,this.request(ye);case 9:return ve=we.sent,we.abrupt("return",{res:ve.res});case 11:case"end":return we.stop()}},ue,this)}));function z(ue,fe,ge){return ee.apply(this,arguments)}return z}(),b.initMultipartUpload=function(){var ee=(0,se.default)(ie.default.mark(function ue(fe,ge){var he,pe,ye;return ie.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return ge=ge||{},he={},ce(ge).to(he),he.headers=he.headers||{},this._convertMetaToHeaders(ge.meta,he.headers),he.subres="uploads",pe=this._objectRequestParams("POST",fe,he),pe.mime=ge.mime,pe.xmlResponse=!0,pe.successStatuses=[200],Pe.next=12,this.request(pe);case 12:return ye=Pe.sent,Pe.abrupt("return",{res:ye.res,bucket:ye.data.Bucket,name:ye.data.Key,uploadId:ye.data.UploadId});case 14:case"end":return Pe.stop()}},ue,this)}));function z(ue,fe){return ee.apply(this,arguments)}return z}(),b.uploadPart=function(){var ee=(0,se.default)(ie.default.mark(function ue(fe,ge,he,pe,ye,ve,Pe){var we,Ae;return ie.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:if(we={size:ve-ye},Ae=le&&le.browser,!Ae){xe.next=8;break}return xe.next=5,this._createBuffer(pe,ye,ve);case 5:we.content=xe.sent,xe.next=11;break;case 8:return xe.next=10,this._createStream(pe,ye,ve);case 10:we.stream=xe.sent;case 11:return xe.next=13,this._uploadPart(fe,ge,he,we,Pe);case 13:return xe.abrupt("return",xe.sent);case 14:case"end":return xe.stop()}},ue,this)}));function z(ue,fe,ge,he,pe,ye,ve){return ee.apply(this,arguments)}return z}(),b.completeMultipartUpload=function(){var ee=(0,se.default)(ie.default.mark(function ue(fe,ge,he,pe){var ye,ve,Pe,we,Ae,_e,xe,Ee;return ie.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:for(ye=he.concat().sort(function(Ne,Te){return Ne.number-Te.number}).filter(function(Ne,Te,Je){return!Te||Ne.number!==Je[Te-1].number}),ve=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CompleteMultipartUpload>
|
|
|
`,Pe=0;Pe<ye.length;Pe++)we=ye[Pe],ve+=`<Part>
|
|
|
`,ve+="<PartNumber>".concat(we.number,`</PartNumber>
|
|
|
`),ve+="<ETag>".concat(we.etag,`</ETag>
|
|
|
`),ve+=`</Part>
|
|
|
`;return ve+="</CompleteMultipartUpload>",pe=pe||{},Ae={},Ae=ne(pe,function(Ne){if(a(Ne))return null}),Ae.subres={uploadId:ge},Ae.headers=x(Ae.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),_e=this._objectRequestParams("POST",fe,Ae),oe.encodeCallback(_e,Ae),_e.mime="xml",_e.content=ve,_e.headers&&_e.headers["x-oss-callback"]||(_e.xmlResponse=!0),_e.successStatuses=[200],Ie.next=17,this.request(_e);case 17:if(xe=Ie.sent,!pe.progress){Ie.next=21;break}return Ie.next=21,pe.progress(1,null,xe.res);case 21:return Ee={res:xe.res,bucket:_e.bucket,name:fe,etag:xe.res.headers.etag},_e.headers&&_e.headers["x-oss-callback"]&&(Ee.data=JSON.parse(xe.data.toString())),Ie.abrupt("return",Ee);case 24:case"end":return Ie.stop()}},ue,this)}));function z(ue,fe,ge,he){return ee.apply(this,arguments)}return z}(),b._uploadPart=function(){var ee=(0,se.default)(ie.default.mark(function ue(fe,ge,he,pe,ye){var ve,Pe,we,Ae;return ie.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return ye=ye||{},ve={},ce(ye).to(ve),ve.headers=ve.headers||{},ve.headers["Content-Length"]=pe.size,ve.headers=x(ve.headers,["x-oss-server-side-encryption"]),ve.subres={partNumber:he,uploadId:ge},Pe=this._objectRequestParams("PUT",fe,ve),Pe.mime=ve.mime,we=le&&le.browser,we?Pe.content=pe.content:Pe.stream=pe.stream,Pe.successStatuses=[200],Pe.disabledMD5=ye.disabledMD5,xe.next=15,this.request(Pe);case 15:if(Ae=xe.sent,Ae.res.headers.etag){xe.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS
|
|
|
https://help.aliyun.com/document_detail/32069.html`);case 18:return pe.stream&&(pe.stream=null,Pe.stream=null),xe.abrupt("return",{name:fe,etag:Ae.res.headers.etag,res:Ae.res});case 20:case"end":return xe.stop()}},ue,this)}));function z(ue,fe,ge,he,pe){return ee.apply(this,arguments)}return z}()}).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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator")),ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("url"),ce=E("utility"),oe=E("copy-to"),re=E("../../common/signUtils"),ne=E("../utils/isIP"),te=ne.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,ee=de;ee.asyncSignatureUrl=function(){var z=(0,ie.default)(ae.default.mark(function fe(ge,he){var pe,ye,ve,Pe,we;return ae.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(!te(this.options.endpoint.hostname)){_e.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(he=he||{},ge=this._objectName(ge),he.method=he.method||"GET",pe=ce.timestamp()+(he.expires||1800),ye={bucket:this.options.bucket,object:ge},ve=this._getResource(ye),!(this.options.stsToken&&b(this.options.refreshSTSToken))){_e.next=11;break}return _e.next=11,y.call(this);case 11:return this.options.stsToken&&(he["security-token"]=this.options.stsToken),Pe=re._signatureForURL(this.options.accessKeySecret,he,ve,pe),we=se.parse(this._getReqUrl(ye)),we.query={OSSAccessKeyId:this.options.accessKeyId,Expires:pe,Signature:Pe.Signature},oe(Pe.subResource).to(we.query),_e.abrupt("return",we.format());case 17:case"end":return _e.stop()}},fe,this)}));function ue(fe,ge){return z.apply(this,arguments)}return ue}()},{"../../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(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 ie=le(E("@babel/runtime/helpers/typeof")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),oe=ce.checkBucketName,re=de,ne=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];re.copy=function(){var te=(0,se.default)(ae.default.mark(function y(x,b,ee,z){var ue,fe,ge;return ae.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return(0,ie.default)(ee)==="object"&&(z=ee),z=z||{},z.headers=z.headers||{},Object.keys(z.headers).forEach(function(ye){z.headers["x-oss-copy-source-".concat(ye.toLowerCase())]=z.headers[ye]}),(z.meta||Object.keys(z.headers).find(function(ye){return ne.includes(ye.toLowerCase())}))&&(z.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(z.meta,z.headers),b=this._getSourceName(b,ee),z.versionId&&(b="".concat(b,"?versionId=").concat(z.versionId)),z.headers["x-oss-copy-source"]=b,ue=this._objectRequestParams("PUT",x,z),ue.xmlResponse=!0,ue.successStatuses=[200,304],pe.next=14,this.request(ue);case 14:return fe=pe.sent,ge=fe.data,ge&&(ge={etag:ge.ETag,lastModified:ge.LastModified}),pe.abrupt("return",{data:ge,res:fe.res});case 18:case"end":return pe.stop()}},y,this)}));function a(y,x,b,ee){return te.apply(this,arguments)}return a}(),re._getSourceName=function(a,y){return typeof y=="string"?a=this._objectName(a):a[0]!=="/"?y=this.options.bucket:(y=a.replace(/\/(.+?)(\/.*)/,"$1"),a=a.replace(/(\/.+?\/)(.*)/,"$2")),oe(y),a=encodeURIComponent(a),a="/".concat(y,"/").concat(a),a}},{"../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=de;se.delete=function(){var ce=(0,ie.default)(ae.default.mark(function re(ne){var te,a,y,x=arguments;return ae.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return te=x.length>1&&x[1]!==void 0?x[1]:{},te.subres=Object.assign({},te.subres),te.versionId&&(te.subres.versionId=te.versionId),a=this._objectRequestParams("DELETE",ne,te),a.successStatuses=[204],ee.next=7,this.request(a);case 7:return y=ee.sent,ee.abrupt("return",{res:y.res});case 9:case"end":return ee.stop()}},re,this)}));function oe(re){return ce.apply(this,arguments)}return oe}()},{"@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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("utility"),ce=E("../utils/obj2xml"),oe=ce.obj2xml,re=de;re.deleteMulti=function(){var ne=(0,ie.default)(ae.default.mark(function a(y){var x,b,ee,z,ue,fe,ge,he,pe,ye,ve,Pe,we,Ae=arguments;return ae.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:if(x=Ae.length>1&&Ae[1]!==void 0?Ae[1]:{},b=[],!(!y||!y.length)){xe.next=4;break}throw new Error("names is required");case 4:for(ee=0;ee<y.length;ee++)z={},typeof y[ee]=="string"?z.Key=se.escape(this._objectName(y[ee])):(ue=y[ee],fe=ue.key,ge=ue.versionId,z.Key=se.escape(this._objectName(fe)),z.VersionId=ge),b.push(z);return he={Delete:{Quiet:!!x.quiet,Object:b}},pe=oe(he,{headers:!0}),x.subres=Object.assign({delete:""},x.subres),x.versionId&&(x.subres.versionId=x.versionId),ye=this._objectRequestParams("POST","",x),ye.mime="xml",ye.content=pe,ye.xmlResponse=!0,ye.successStatuses=[200],xe.next=16,this.request(ye);case 16:return ve=xe.sent,Pe=ve.data,we=Pe&&Pe.Deleted||null,we&&(Array.isArray(we)||(we=[we])),xe.abrupt("return",{res:ve.res,deleted:we||[]});case 21:case"end":return xe.stop()}},a,this)}));function te(a){return ne.apply(this,arguments)}return te}()},{"../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=de;se.deleteObjectTagging=function(){var ce=(0,ie.default)(ae.default.mark(function re(ne){var te,a,y,x=arguments;return ae.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return te=x.length>1&&x[1]!==void 0?x[1]:{},te.subres=Object.assign({tagging:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),ne=this._objectName(ne),a=this._objectRequestParams("DELETE",ne,te),a.successStatuses=[204],ee.next=8,this.request(a);case 8:return y=ee.sent,ee.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return ee.stop()}},re,this)}));function oe(re){return ce.apply(this,arguments)}return oe}()},{"@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,me,de){"use strict";E("core-js/modules/es.array.concat.js");var le=E("url"),ae=E("../utils/isIP"),ie=ae.isIP,se=de;se.generateObjectUrl=function(oe,re){if(ie(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(re)re[re.length-1]!=="/"&&(re+="/");else{re=this.options.endpoint.format();var ne=le.parse(re),te=this.options.bucket;ne.hostname="".concat(te,".").concat(ne.hostname),ne.host="".concat(te,".").concat(ne.host),re=ne.format()}return re+this._escape(this._objectName(oe))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,me,de){(function(le){(function(){"use strict";var ae=E("@babel/runtime/helpers/interopRequireDefault"),ie=ae(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=ae(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("fs"),oe=E("is-type-of"),re=de;re.get=function(){var ne=(0,se.default)(ie.default.mark(function a(y,x){var b,ee,z,ue,fe,ge,he,pe,ye=arguments;return ie.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return b=ye.length>2&&ye[2]!==void 0?ye[2]:{},ee=null,z=!1,oe.writableStream(x)?ee=x:oe.string(x)?(ee=ce.createWriteStream(x),z=!0):b=x,b=b||{},ue=le&&le.browser,fe=b.responseCacheControl===null?"":"no-cache",ge=ue&&fe?{"response-cache-control":fe}:{},b.subres=Object.assign(ge,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),Pe.prev=11,pe=this._objectRequestParams("GET",y,b),pe.writeStream=ee,pe.successStatuses=[200,206,304],Pe.next=17,this.request(pe);case 17:he=Pe.sent,z&&ee.destroy(),Pe.next=28;break;case 21:if(Pe.prev=21,Pe.t0=Pe.catch(11),!z){Pe.next=27;break}return ee.destroy(),Pe.next=27,this._deleteFileSafe(x);case 27:throw Pe.t0;case 28:return Pe.abrupt("return",{res:he.res,content:he.data});case 29:case"end":return Pe.stop()}},a,this,[[11,21]])}));function te(a,y){return ne.apply(this,arguments)}return te}()}).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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=de;se.getACL=function(){var ce=(0,ie.default)(ae.default.mark(function re(ne){var te,a,y,x=arguments;return ae.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return te=x.length>1&&x[1]!==void 0?x[1]:{},te.subres=Object.assign({acl:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),ne=this._objectName(ne),a=this._objectRequestParams("GET",ne,te),a.successStatuses=[200],a.xmlResponse=!0,ee.next=9,this.request(a);case 9:return y=ee.sent,ee.abrupt("return",{acl:y.data.AccessControlList.Grant,owner:{id:y.data.Owner.ID,displayName:y.data.Owner.DisplayName},res:y.res});case 11:case"end":return ee.stop()}},re,this)}));function oe(re){return ce.apply(this,arguments)}return oe}()},{"@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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(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 ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=de,ce=E("../utils/isObject"),oe=ce.isObject,re=E("../utils/isArray"),ne=re.isArray;se.getBucketVersions=te,se.listObjectVersions=te;function te(){return a.apply(this,arguments)}function a(){return a=(0,ie.default)(ae.default.mark(function b(){var ee,z,ue,fe,ge,he,pe,ye,ve=arguments;return ae.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(ee=ve.length>0&&ve[0]!==void 0?ve[0]:{},z=ve.length>1&&ve[1]!==void 0?ve[1]:{},!(ee.versionIdMarker&&ee.keyMarker===void 0)){we.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return z.subres=Object.assign({versions:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),ue=this._objectRequestParams("GET","",z),ue.xmlResponse=!0,ue.successStatuses=[200],ue.query=x(ee),we.next=12,this.request(ue);case 12:return fe=we.sent,ge=fe.data.Version||[],he=fe.data.DeleteMarker||[],pe=this,ge&&(Array.isArray(ge)||(ge=[ge]),ge=ge.map(function(Ae){return{name:Ae.Key,url:pe._objectUrl(Ae.Key),lastModified:Ae.LastModified,isLatest:Ae.IsLatest==="true",versionId:Ae.VersionId,etag:Ae.ETag,type:Ae.Type,size:Number(Ae.Size),storageClass:Ae.StorageClass,owner:{id:Ae.Owner.ID,displayName:Ae.Owner.DisplayName}}})),he&&(ne(he)||(he=[he]),he=he.map(function(Ae){return{name:Ae.Key,lastModified:Ae.LastModified,versionId:Ae.VersionId,owner:{id:Ae.Owner.ID,displayName:Ae.Owner.DisplayName}}})),ye=fe.data.CommonPrefixes||null,ye&&(ne(ye)||(ye=[ye]),ye=ye.map(function(Ae){return Ae.Prefix})),we.abrupt("return",{res:fe.res,objects:ge,deleteMarker:he,prefixes:ye,nextMarker:fe.data.NextKeyMarker||null,NextVersionIdMarker:fe.data.NextVersionIdMarker||null,nextKeyMarker:fe.data.NextKeyMarker||null,nextVersionIdMarker:fe.data.NextVersionIdMarker||null,isTruncated:fe.data.IsTruncated==="true"});case 21:case"end":return we.stop()}},b,this)})),a.apply(this,arguments)}function y(b){return b.replace(/([A-Z])/g,"-$1").toLowerCase()}function x(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ee={};return oe(b)&&Object.keys(b).forEach(function(z){ee[y(z)]=b[z]}),ee}},{"../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=de;se.getObjectMeta=function(){var ce=(0,ie.default)(ae.default.mark(function re(ne,te){var a,y;return ae.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return te=te||{},ne=this._objectName(ne),te.subres=Object.assign({objectMeta:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),a=this._objectRequestParams("HEAD",ne,te),a.successStatuses=[200],b.next=8,this.request(a);case 8:return y=b.sent,b.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return b.stop()}},re,this)}));function oe(re,ne){return ce.apply(this,arguments)}return oe}()},{"@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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(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 ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=de,ce=E("../utils/isObject"),oe=ce.isObject;se.getObjectTagging=function(){var re=(0,ie.default)(ae.default.mark(function te(a){var y,x,b,ee,z,ue,fe=arguments;return ae.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return y=fe.length>1&&fe[1]!==void 0?fe[1]:{},y.subres=Object.assign({tagging:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),a=this._objectName(a),x=this._objectRequestParams("GET",a,y),x.successStatuses=[200],he.next=8,this.request(x);case 8:return b=he.sent,he.next=11,this.parseXML(b.data);case 11:return ee=he.sent,z=ee.TagSet.Tag,z=z&&oe(z)?[z]:z||[],ue={},z.forEach(function(pe){ue[pe.Key]=pe.Value}),he.abrupt("return",{status:b.status,res:b.res,tag:ue});case 17:case"end":return he.stop()}},te,this)}));function ne(te){return re.apply(this,arguments)}return ne}()},{"../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,me,de){"use strict";var le=E("../utils/isIP"),ae=le.isIP,ie=de;ie.getObjectUrl=function(ce,oe){if(ae(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return oe?oe[oe.length-1]!=="/"&&(oe+="/"):oe=this.options.endpoint.format(),oe+this._escape(this._objectName(ce))}},{"../utils/isIP":69}],43:[function(E,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=de;se.getSymlink=function(){var ce=(0,ie.default)(ae.default.mark(function re(ne){var te,a,y,x,b=arguments;return ae.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return te=b.length>1&&b[1]!==void 0?b[1]:{},te.subres=Object.assign({symlink:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),ne=this._objectName(ne),a=this._objectRequestParams("GET",ne,te),a.successStatuses=[200],z.next=8,this.request(a);case 8:return y=z.sent,x=y.res.headers["x-oss-symlink-target"],z.abrupt("return",{targetName:decodeURIComponent(x),res:y.res});case 11:case"end":return z.stop()}},re,this)}));function oe(re){return ce.apply(this,arguments)}return oe}()},{"@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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(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 ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("../utils/checkEnv"),ce=se.checkEnv,oe=de;oe.head=function(){var re=(0,ie.default)(ae.default.mark(function te(a){var y,x,b,ee,z=arguments;return ae.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return y=z.length>1&&z[1]!==void 0?z[1]:{},ce("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),y.subres=Object.assign({},y.subres),y.versionId&&(y.subres.versionId=y.versionId),x=this._objectRequestParams("HEAD",a,y),x.successStatuses=[200,304],fe.next=8,this.request(x);case 8:return b=fe.sent,ee={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(ge){ge.indexOf("x-oss-meta-")===0&&(ee.meta||(ee.meta={}),ee.meta[ge.substring(11)]=b.headers[ge])}),fe.abrupt("return",ee);case 12:case"end":return fe.stop()}},te,this)}));function ne(te){return re.apply(this,arguments)}return ne}()},{"../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=de;se.putACL=function(){var ce=(0,ie.default)(ae.default.mark(function re(ne,te,a){var y,x;return ae.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return a=a||{},a.subres=Object.assign({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.headers=a.headers||{},a.headers["x-oss-object-acl"]=te,ne=this._objectName(ne),y=this._objectRequestParams("PUT",ne,a),y.successStatuses=[200],ee.next=10,this.request(y);case 10:return x=ee.sent,ee.abrupt("return",{res:x.res});case 12:case"end":return ee.stop()}},re,this)}));function oe(re,ne,te){return ce.apply(this,arguments)}return oe}()},{"@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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(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 ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("../utils/obj2xml"),ce=se.obj2xml,oe=E("../utils/checkObjectTag"),re=oe.checkObjectTag,ne=de;ne.putObjectTagging=function(){var te=(0,ie.default)(ae.default.mark(function y(x,b){var ee,z,ue,fe,ge=arguments;return ae.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ee=ge.length>2&&ge[2]!==void 0?ge[2]:{},re(b),ee.subres=Object.assign({tagging:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),x=this._objectName(x),z=this._objectRequestParams("PUT",x,ee),z.successStatuses=[200],b=Object.keys(b).map(function(ye){return{Key:ye,Value:b[ye]}}),ue={Tagging:{TagSet:{Tag:b}}},z.mime="xml",z.content=ce(ue),pe.next=13,this.request(z);case 13:return fe=pe.sent,pe.abrupt("return",{res:fe.res,status:fe.status});case 15:case"end":return pe.stop()}},y,this)}));function a(y,x){return te.apply(this,arguments)}return a}()},{"../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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=de;se.putSymlink=function(){var ce=(0,ie.default)(ae.default.mark(function re(ne,te,a){var y,x;return ae.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return a=a||{},a.headers=a.headers||{},te=this._escape(this._objectName(te)),this._convertMetaToHeaders(a.meta,a.headers),a.headers["x-oss-symlink-target"]=te,a.subres=Object.assign({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.storageClass&&(a.headers["x-oss-storage-class"]=a.storageClass),ne=this._objectName(ne),y=this._objectRequestParams("PUT",ne,a),y.successStatuses=[200],ee.next=13,this.request(y);case 13:return x=ee.sent,ee.abrupt("return",{res:x.res});case 15:case"end":return ee.stop()}},re,this)}));function oe(re,ne,te){return ce.apply(this,arguments)}return oe}()},{"@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,me,de){"use strict";var le=E("url"),ae=E("utility"),ie=E("copy-to"),se=E("../../common/signUtils"),ce=E("../utils/isIP"),oe=ce.isIP,re=de;re.signatureUrl=function(te,a){if(oe(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},te=this._objectName(te),a.method=a.method||"GET";var y=ae.timestamp()+(a.expires||1800),x={bucket:this.options.bucket,object:te},b=this._getResource(x);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var ee=se._signatureForURL(this.options.accessKeySecret,a,b,y),z=le.parse(this._getReqUrl(x));return z.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:ee.Signature},ie(ee.subResource).to(z.query),z.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(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 ie=le(E("@babel/runtime/helpers/asyncToGenerator")),se=E("./utils/isArray"),ce=se.isArray,oe=de;oe._parallelNode=function(){var re=(0,ie.default)(ae.default.mark(function te(a,y,x,b){var ee,z,ue,fe,ge,he,pe,ye;return ae.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:ee=this,z=[],ue=[],fe=a.length/y,ge=a.length%y,he=ge===0?fe:(a.length-ge)/y+1,pe=1,ye=0;case 8:if(!(ye<a.length)){Pe.next=26;break}if(!ee.isCancel()){Pe.next=11;break}return Pe.abrupt("break",26);case 11:if(b?ue.push(x(ee,a[ye],b)):ue.push(x(ee,a[ye])),!(ue.length===y||pe===he&&ye===a.length-1)){Pe.next=23;break}return Pe.prev=13,pe+=1,Pe.next=17,Promise.all(ue);case 17:Pe.next=22;break;case 19:Pe.prev=19,Pe.t0=Pe.catch(13),z.push(Pe.t0);case 22:ue=[];case 23:ye++,Pe.next=8;break;case 26:return Pe.abrupt("return",z);case 27:case"end":return Pe.stop()}},te,this,[[13,19]])}));function ne(te,a,y,x){return re.apply(this,arguments)}return ne}(),oe._parallel=function(ne,te,a){var y=this;return new Promise(function(x){var b=[];if(te<=0||!ne){x(b);return}function ee(Pe){return function(){if(Pe===null)throw new Error("Callback was already called.");var we=Pe;Pe=null;for(var Ae=arguments.length,_e=new Array(Ae),xe=0;xe<Ae;xe++)_e[xe]=arguments[xe];we.apply(this,_e)}}function z(Pe){var we=-1,Ae=Pe.length;return function(){return++we<Ae&&!y.isCancel()?{value:Pe[we],key:we}:null}}var ue=z(ne),fe=!1,ge=0,he=!1;function pe(Pe){ge-=1,Pe?(fe=!0,b.push(Pe),x(b)):fe&&ge<=0?(fe=!0,x(b)):he||(y.isCancel()?x(b):ve())}function ye(Pe,we){a(Pe).then(function(Ae){we(null,Ae)}).catch(function(Ae){we(Ae)})}function ve(){for(he=!0;ge<te&&!fe&&!y.isCancel();){var Pe=ue();if(Pe===null||b.length>0){fe=!0,ge<=0&&x(b);return}ge+=1,ye(Pe.value,ee(pe))}he=!1}ve()})},oe.cancel=function(ne){this.options.cancelFlag=!0,ce(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(te){if(te.destroyed===!1){var a={name:"cancel",message:"cancel"};te.destroy(a)}}),this.multipartUploadStreams=[],ne&&this.abortMultipartUpload(ne.name,ne.uploadId,ne.options)},oe.isCancel=function(){return this.options.cancelFlag},oe.resetCancelFlag=function(){this.options.cancelFlag=!1},oe._stop=function(){this.options.cancelFlag=!0},oe._makeCancelEvent=function(){var ne={status:0,name:"cancel"};return ne},oe._makeAbortEvent=function(){var ne={status:0,name:"abort",message:"upload task has been abort"};return ne}},{"./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,me,de){(function(le){(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 ae=E("./../../shims/crypto/crypto.js"),ie=E("is-type-of"),se=E("./utils/lowercaseKeyHeader"),ce=se.lowercaseKeyHeader;de.buildCanonicalizedResource=function(re,ne){var te="".concat(re),a="?";if(ie.string(ne)&&ne.trim()!=="")te+=a+ne;else if(ie.array(ne))ne.sort(),te+=a+ne.join("&");else if(ne){var y=function(ee,z){return ee[0]>z[0]?1:ee[0]<z[0]?-1:0},x=function(ee){te+=a+ee,(ne[ee]||ne[ee]===0)&&(te+="=".concat(ne[ee])),a="&"};Object.keys(ne).sort(y).forEach(x)}return te},de.buildCanonicalString=function(re,ne,te,a){te=te||{};var y=ce(te.headers),x="x-oss-",b=[],ee={},z=[re.toUpperCase(),y["content-md5"]||"",y["content-type"],a||y["x-oss-date"]];return Object.keys(y).forEach(function(ue){var fe=ue.toLowerCase();fe.indexOf(x)===0&&(ee[fe]=String(y[ue]).trim())}),Object.keys(ee).sort().forEach(function(ue){b.push("".concat(ue,":").concat(ee[ue]))}),z=z.concat(b),z.push(this.buildCanonicalizedResource(ne,te.parameters)),z.join(`
|
|
|
`)},de.computeSignature=function(re,ne){var te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=ae.createHmac("sha1",re);return a.update(le.from(ne,te)).digest("base64")},de.authorization=function(re,ne,te,a){return"OSS ".concat(re,":").concat(this.computeSignature(ne,te,a))},de._signatureForURL=function(re){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},te=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,y=arguments.length>4?arguments[4]:void 0,x={},b=ne.subResource,ee=b===void 0?{}:b;if(ne.process){var z="x-oss-process";ee[z]=ne.process}if(ne.trafficLimit){var ue="x-oss-traffic-limit";ee[ue]=ne.trafficLimit}if(ne.response&&Object.keys(ne.response).forEach(function(pe){var ye="response-".concat(pe.toLowerCase());ee[ye]=ne.response[pe]}),Object.keys(ne).forEach(function(pe){var ye=pe.toLowerCase(),ve=ne[pe];ye.indexOf("x-oss-")===0?x[ye]=ve:(ye.indexOf("content-md5")===0||ye.indexOf("content-type")===0)&&(x[pe]=ve)}),Object.prototype.hasOwnProperty.call(ne,"security-token")&&(ee["security-token"]=ne["security-token"]),Object.prototype.hasOwnProperty.call(ne,"callback")){var fe={callbackUrl:encodeURI(ne.callback.url),callbackBody:ne.callback.body};if(ne.callback.host&&(fe.callbackHost=ne.callback.host),ne.callback.contentType&&(fe.callbackBodyType=ne.callback.contentType),ee.callback=le.from(JSON.stringify(fe)).toString("base64"),ne.callback.customValue){var ge={};Object.keys(ne.callback.customValue).forEach(function(pe){ge["x:".concat(pe)]=ne.callback.customValue[pe]}),ee["callback-var"]=le.from(JSON.stringify(ge)).toString("base64")}}var he=this.buildCanonicalString(ne.method,te,{headers:x,parameters:ee},a.toString());return{Signature:this.computeSignature(re,he,y),subResource:ee}}}).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,me,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkBucketName=void 0,de.checkBucketName=function(le){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ie=ae?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!ie.test(le))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,me,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkConfigValid=void 0;var le={endpoint:ae,region:/^[a-zA-Z0-9\-_]+$/};function ae(ie){return typeof ie=="string"?/^[a-zA-Z0-9._:/-]+$/.test(ie):ie.host?/^[a-zA-Z0-9._:/-]+$/.test(ie.host):!1}de.checkConfigValid=function(ie,se){if(le[se]){var ce=!0;if(le[se]instanceof Function?ce=le[se](ie):ce=le[se].test(ie),!ce)throw new Error("The ".concat(se," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,me,de){(function(le){(function(){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.checkEnv=void 0;function ae(ie){le.browser&&console.warn(ie)}de.checkEnv=ae}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,me,de){"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(de,"__esModule",{value:!0}),de.checkObjectTag=void 0;var le=E("./checkValid"),ae=le.checkValid,ie=E("./isObject"),se=ie.isObject,ce=[{validator:function(te){if(typeof te!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],oe={key:[].concat(ce,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(ce,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function re(ne){if(!se(ne))throw new Error("tag must be Object");var te=Object.entries(ne);if(te.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];te.forEach(function(y){y.forEach(function(x,b){ae(x,oe[a[b]])})})}de.checkObjectTag=re},{"./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,me,de){"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.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkValid=void 0;function le(ae,ie){ie.forEach(function(se){if(se.validator)se.validator(ae);else if(se.pattern&&!se.pattern.test(ae))throw new Error(se.msg)})}de.checkValid=le},{"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,me,de){(function(le){(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(de,"__esModule",{value:!0}),de.createRequest=void 0;var ae=E("./../../../shims/crypto/crypto.js"),ie=E("debug")("ali-oss"),se=E("mime"),ce=E("dateformat"),oe=E("copy-to"),re=E("path"),ne=E("./encoder"),te=ne.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,ee=E("../client/getReqUrl"),z=ee.getReqUrl,ue=E("./isDingTalk"),fe=ue.isDingTalk;function ge(ye,ve){return ye[ve]||ye[ve.toLowerCase()]}function he(ye,ve){delete ye[ve],delete ye[ve.toLowerCase()]}function pe(ye){var ve=new Date;this.options.amendTimeSkewed&&(ve=+new Date+this.options.amendTimeSkewed);var Pe={"x-oss-date":ce(ve,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Pe["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Pe["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Pe,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Pe["x-oss-security-token"]=this.options.stsToken),oe(ye.headers).to(Pe),ge(Pe,"Content-Type")||(ye.mime&&ye.mime.indexOf("/")>0?Pe["Content-Type"]=ye.mime:fe()?Pe["Content-Type"]="application/octet-stream":Pe["Content-Type"]=se.getType(ye.mime||re.extname(ye.object||""))),ge(Pe,"Content-Type")||he(Pe,"Content-Type"),ye.content&&(ye.disabledMD5||(!ye.headers||!ye.headers["Content-MD5"]?Pe["Content-MD5"]=ae.createHash("md5").update(le.from(ye.content,"utf8")).digest("base64"):Pe["Content-MD5"]=ye.headers["Content-MD5"]),Pe["Content-Length"]||(Pe["Content-Length"]=ye.content.length));var we=Object.prototype.hasOwnProperty;for(var Ae in Pe)Pe[Ae]&&we.call(Pe,Ae)&&(Pe[Ae]=te(String(Pe[Ae]),this.options.headerEncoding));var _e=this._getResource(ye);if(Pe.authorization=this.authorization(ye.method,_e,ye.subres,Pe,this.options.headerEncoding),y(this.options.endpoint.hostname)){var xe=this.options,Ee=xe.region,Oe=xe.internal,Ie=xe.secure,Ne=b(Ee,Oe,Ie);Pe.host="".concat(ye.bucket,".").concat(Ne.host)}var Te=z.bind(this)(ye);ie("request %s %s, with headers %j, !!stream: %s",ye.method,Te,Pe,!!ye.stream);var Je=ye.timeout||this.options.timeout,Qe={method:ye.method,content:ye.content,stream:ye.stream,headers:Pe,timeout:Je,writeStream:ye.writeStream,customResponse:ye.customResponse,ctx:ye.ctx||this.ctx};return this.agent&&(Qe.agent=this.agent),this.httpsAgent&&(Qe.httpsAgent=this.httpsAgent),Qe.enableProxy=!!this.options.enableProxy,Qe.proxy=this.options.proxy?this.options.proxy:null,{url:Te,params:Qe}}de.createRequest=pe}).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,me,de){"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(de,"__esModule",{value:!0}),de.dataFix=void 0;var le=E("./isObject"),ae=["true","TRUE","1",1],ie=["false","FALSE","0",0];function se(re,ne,te){if(le.isObject(re)){var a=ne.remove,y=a===void 0?[]:a,x=ne.rename,b=x===void 0?{}:x,ee=ne.camel,z=ee===void 0?[]:ee,ue=ne.bool,fe=ue===void 0?[]:ue,ge=ne.lowerFirst,he=ge===void 0?!1:ge;return y.forEach(function(pe){return delete re[pe]}),Object.entries(b).forEach(function(pe){re[pe[0]]&&(re[pe[1]]||(re[pe[1]]=re[pe[0]],delete re[pe[0]]))}),z.forEach(function(pe){if(re[pe]){var ye=pe.replace(/^(.)/,function(ve){return ve.toLowerCase()}).replace(/-(\w)/g,function(ve,Pe){return Pe.toUpperCase()});re[ye]||(re[ye]=re[pe])}}),fe.forEach(function(pe){re[pe]=ce(re[pe])}),typeof te=="function"&&te(re),oe(re,he),se}}de.dataFix=se;function ce(re){return re?ae.includes(re)?!0:ie.includes(re)?!1:re:!1}function oe(re,ne){ne&&Object.keys(re).forEach(function(te){var a=te.replace(/^\w/,function(y){return y.toLowerCase()});typeof re[a]=="undefined"&&(re[a]=re[te],delete re[te])})}},{"./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,me,de){"use strict";var le=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 ae=le(E("@babel/runtime/helpers/typeof"));Object.defineProperty(de,"__esModule",{value:!0}),de.deepCopyWith=de.deepCopy=void 0;var ie=E("./isBuffer");de.deepCopy=function(se){if(se===null||(0,ae.default)(se)!=="object")return se;if(ie.isBuffer(se))return se.slice();var ce=Array.isArray(se)?[]:{};return Object.keys(se).forEach(function(oe){ce[oe]=de.deepCopy(se[oe])}),ce},de.deepCopyWith=function(se,ce){function oe(re,ne,te){var a=ce(re,ne,te);if(a!==void 0)return a;if(re===null||(0,ae.default)(re)!=="object")return re;if(ie.isBuffer(re))return re.slice();var y=Array.isArray(re)?[]:{};return Object.keys(re).forEach(function(x){y[x]=oe(re[x],x,re)}),y}return ce?oe(se,"",null):de.deepCopy(se)}},{"./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,me,de){(function(le){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.encoder=void 0;function ae(ie){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return se==="utf-8"?ie:le.from(ie).toString("latin1")}de.encoder=ae}).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,me,de){"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(de,"__esModule",{value:!0}),de.formatInventoryConfig=void 0;var le=E("../utils/dataFix"),ae=E("../utils/isObject"),ie=E("../utils/isArray"),se=E("../utils/formatObjKey");function ce(re){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ne&&ae.isObject(re)&&(re=[re]),ie.isArray(re)?re=re.map(oe):re=oe(re),re}de.formatInventoryConfig=ce;function oe(re){return le.dataFix(re,{bool:["IsEnabled"]},function(ne){var te,a;ne.prefix=ne.Filter.Prefix,delete ne.Filter,ne.OSSBucketDestination=ne.Destination.OSSBucketDestination,ne.OSSBucketDestination.rolename=ne.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete ne.OSSBucketDestination.RoleArn,ne.OSSBucketDestination.bucket=ne.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete ne.OSSBucketDestination.Bucket,delete ne.Destination,ne.frequency=ne.Schedule.Frequency,delete ne.Schedule.Frequency,!((te=ne==null?void 0:ne.OptionalFields)===null||te===void 0)&&te.Field&&!ie.isArray((a=ne.OptionalFields)===null||a===void 0?void 0:a.Field)&&(ne.OptionalFields.Field=[ne.OptionalFields.Field])}),re=se.formatObjKey(re,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),re}},{"../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,me,de){"use strict";var le=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 ae=le(E("@babel/runtime/helpers/typeof"));Object.defineProperty(de,"__esModule",{value:!0}),de.formatObjKey=void 0;function ie(ce,oe,re){if(ce===null||(0,ae.default)(ce)!=="object")return ce;var ne;if(Array.isArray(ce)){ne=[];for(var te=0;te<ce.length;te++)ne.push(ie(ce[te],oe,re))}else ne={},Object.keys(ce).forEach(function(a){ne[se(a,oe,re)]=ie(ce[a],oe,re)});return ne}de.formatObjKey=ie;function se(ce,oe,re){return re&&re.exclude&&re.exclude.includes(ce)||(oe==="firstUpperCase"?ce=ce.replace(/^./,function(ne){return ne.toUpperCase()}):oe==="firstLowerCase"&&(ce=ce.replace(/^./,function(ne){return ne.toLowerCase()}))),ce}},{"@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,me,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.getStrBytesCount=void 0;function le(ae){for(var ie=0,se=0;se<ae.length;se++){var ce=ae.charAt(se);/^[\u00-\uff]$/.test(ce)?ie+=1:ie+=2}return ie}de.getStrBytesCount=le},{"core-js/modules/es.regexp.exec.js":300}],63:[function(E,me,de){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isArray=void 0,de.isArray=function(le){return Object.prototype.toString.call(le)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(E,me,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isBlob=void 0;function le(ae){return typeof Blob!="undefined"&&ae instanceof Blob}de.isBlob=le},{}],65:[function(E,me,de){(function(le){(function(){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isBuffer=void 0;function ae(ie){return le.isBuffer(ie)}de.isBuffer=ae}).call(this)}).call(this,{isBuffer:E("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(E,me,de){(function(le){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isDingTalk=void 0;function ae(){return!!(le.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}de.isDingTalk=ae}).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,me,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isFile=void 0,de.isFile=function(le){return typeof File!="undefined"&&le instanceof File}},{}],68:[function(E,me,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isFunction=void 0,de.isFunction=function(le){return typeof le=="function"}},{}],69:[function(E,me,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isIP=void 0,de.isIP=function(le){var ae=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,ie=/^\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 ae.test(le)||ie.test(le)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(E,me,de){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isObject=void 0,de.isObject=function(le){return Object.prototype.toString.call(le)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(E,me,de){"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(de,"__esModule",{value:!0}),de.lowercaseKeyHeader=void 0;var le=E("./isObject");function ae(ie){var se={};return le.isObject(ie)&&Object.keys(ie).forEach(function(ce){se[ce.toLowerCase()]=ie[ce]}),se}de.lowercaseKeyHeader=ae},{"./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,me,de){"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(de,"__esModule",{value:!0}),de.obj2xml=void 0;var le=E("./formatObjKey");function ae(se){return Object.prototype.toString.call(se).replace(/(.*? |])/g,"").toLowerCase()}function ie(se,ce){var oe="";return ce&&ce.headers&&(oe=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
`),ce&&ce.firstUpperCase&&(se=le.formatObjKey(se,"firstUpperCase")),ae(se)==="object"?Object.keys(se).forEach(function(re){ae(se[re])!=="undefined"&&ae(se[re])!=="null"&&(ae(se[re])==="string"||ae(se[re])==="number"?oe+="<".concat(re,">").concat(se[re],"</").concat(re,">"):ae(se[re])==="object"?oe+="<".concat(re,">").concat(ie(se[re]),"</").concat(re,">"):ae(se[re])==="array"?oe+=se[re].map(function(ne){return"<".concat(re,">").concat(ie(ne),"</").concat(re,">")}).join(""):oe+="<".concat(re,">").concat(se[re].toString(),"</").concat(re,">"))}):oe+=se.toString(),oe}de.obj2xml=ie},{"./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,me,de){"use strict";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");function le(ce,oe){var re=typeof Symbol!="undefined"&&ce[Symbol.iterator]||ce["@@iterator"];if(!re){if(Array.isArray(ce)||(re=ae(ce))||oe&&ce&&typeof ce.length=="number"){re&&(ce=re);var ne=0,te=function(){};return{s:te,n:function(){return ne>=ce.length?{done:!0}:{done:!1,value:ce[ne++]}},e:function(ee){throw ee},f:te}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,y=!1,x;return{s:function(){re=re.call(ce)},n:function(){var ee=re.next();return a=ee.done,ee},e:function(ee){y=!0,x=ee},f:function(){try{!a&&re.return!=null&&re.return()}finally{if(y)throw x}}}}function ae(ce,oe){if(ce){if(typeof ce=="string")return ie(ce,oe);var re=Object.prototype.toString.call(ce).slice(8,-1);if(re==="Object"&&ce.constructor&&(re=ce.constructor.name),re==="Map"||re==="Set")return Array.from(ce);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return ie(ce,oe)}}function ie(ce,oe){(oe==null||oe>ce.length)&&(oe=ce.length);for(var re=0,ne=new Array(oe);re<oe;re++)ne[re]=ce[re];return ne}Object.defineProperty(de,"__esModule",{value:!0}),de.omit=void 0;function se(ce,oe){var re=Object.assign({},ce),ne=le(oe),te;try{for(ne.s();!(te=ne.n()).done;){var a=te.value;delete re[a]}}catch(y){ne.e(y)}finally{ne.f()}return re}de.omit=se},{"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,me,de){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.retry=void 0;function le(ae,ie){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ce=0,oe=se.retryDelay,re=oe===void 0?500:oe,ne=se.errorHandler,te=ne===void 0?function(){return!0}:ne,a=function y(){for(var x=arguments.length,b=new Array(x),ee=0;ee<x;ee++)b[ee]=arguments[ee];return new Promise(function(z,ue){ae.apply(void 0,b).then(function(fe){ce=0,z(fe)}).catch(function(fe){ce<ie&&te(fe)?(ce++,setTimeout(function(){z(y.apply(void 0,b))},re)):(ce=0,ue(fe))})})};return a}de.retry=le},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(E,me,de){"use strict";var le=function(ce){return ce&&ce.__esModule?ce:{default:ce}};Object.defineProperty(de,"__esModule",{value:!0}),de.setRegion=void 0;var ae=le(E("url")),ie=E("./checkConfigValid");function se(ce){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ie.checkConfigValid(ce,"region");var ne=re?"https://":"http://",te=oe?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return ce.substr(0,a.length)===a&&(te=".aliyuncs.com"),ae.default.parse(ne+ce+te)}de.setRegion=se},{"./checkConfigValid":52,url:472}],76:[function(E,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(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 ie=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.checkCredentials=de.setSTSToken=void 0;var se=E("./formatObjKey");function ce(){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ae.default.mark(function ne(){var te,a;return ae.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),te=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+te-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=te,x.next=7,this.options.refreshSTSToken();case 7:a=x.sent,a=se.formatObjKey(a,"firstLowerCase"),a.securityToken&&(a.stsToken=a.securityToken),re(a),Object.assign(this.options,a);case 12:x.next=15;break;case 14:this.stsTokenFreshTime=te;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},ne,this)})),oe.apply(this,arguments)}de.setSTSToken=ce;function re(ne){var te=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(ne);te.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}de.checkCredentials=re},{"./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,me,de){function le(ie,se,ce,oe,re,ne,te){try{var a=ie[ne](te),y=a.value}catch(x){ce(x);return}a.done?se(y):Promise.resolve(y).then(oe,re)}function ae(ie){return function(){var se=this,ce=arguments;return new Promise(function(oe,re){var ne=ie.apply(se,ce);function te(y){le(ne,oe,re,te,a,"next",y)}function a(y){le(ne,oe,re,te,a,"throw",y)}te(void 0)})}}me.exports=ae,me.exports.__esModule=!0,me.exports.default=me.exports},{}],78:[function(E,me,de){function le(ae){return ae&&ae.__esModule?ae:{default:ae}}me.exports=le,me.exports.__esModule=!0,me.exports.default=me.exports},{}],79:[function(E,me,de){function le(ae){"@babel/helpers - typeof";return me.exports=le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ie){return typeof ie}:function(ie){return ie&&typeof Symbol=="function"&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie},me.exports.__esModule=!0,me.exports.default=me.exports,le(ae)}me.exports=le,me.exports.__esModule=!0,me.exports.default=me.exports},{}],80:[function(E,me,de){me.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,me,de){me.exports=le,me.exports.HttpsAgent=le;function le(){}},{}],82:[function(E,me,de){(function(le){(function(){"use strict";var ae=E("object-assign");function ie(Ee,Oe){if(Ee===Oe)return 0;for(var Ie=Ee.length,Ne=Oe.length,Te=0,Je=Math.min(Ie,Ne);Te<Je;++Te)if(Ee[Te]!==Oe[Te]){Ie=Ee[Te],Ne=Oe[Te];break}return Ie<Ne?-1:Ne<Ie?1:0}function se(Ee){return le.Buffer&&typeof le.Buffer.isBuffer=="function"?le.Buffer.isBuffer(Ee):!!(Ee!=null&&Ee._isBuffer)}var ce=E("util/"),oe=Object.prototype.hasOwnProperty,re=Array.prototype.slice,ne=function(){return function(){}.name==="foo"}();function te(Ee){return Object.prototype.toString.call(Ee)}function a(Ee){return se(Ee)||typeof le.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(Ee):Ee?!!(Ee instanceof DataView||Ee.buffer&&Ee.buffer instanceof ArrayBuffer):!1}var y=me.exports=ge,x=/\s*function\s+([^\(\s]*)\s*/;function b(Ee){if(ce.isFunction(Ee)){if(ne)return Ee.name;var Oe=Ee.toString(),Ie=Oe.match(x);return Ie&&Ie[1]}}y.AssertionError=function(Oe){this.name="AssertionError",this.actual=Oe.actual,this.expected=Oe.expected,this.operator=Oe.operator,Oe.message?(this.message=Oe.message,this.generatedMessage=!1):(this.message=ue(this),this.generatedMessage=!0);var Ie=Oe.stackStartFunction||fe;if(Error.captureStackTrace)Error.captureStackTrace(this,Ie);else{var Ne=new Error;if(Ne.stack){var Te=Ne.stack,Je=b(Ie),Qe=Te.indexOf(`
|
|
|
`+Je);if(Qe>=0){var Ze=Te.indexOf(`
|
|
|
`,Qe+1);Te=Te.substring(Ze+1)}this.stack=Te}}},ce.inherits(y.AssertionError,Error);function ee(Ee,Oe){return typeof Ee=="string"?Ee.length<Oe?Ee:Ee.slice(0,Oe):Ee}function z(Ee){if(ne||!ce.isFunction(Ee))return ce.inspect(Ee);var Oe=b(Ee),Ie=Oe?": "+Oe:"";return"[Function"+Ie+"]"}function ue(Ee){return ee(z(Ee.actual),128)+" "+Ee.operator+" "+ee(z(Ee.expected),128)}function fe(Ee,Oe,Ie,Ne,Te){throw new y.AssertionError({message:Ie,actual:Ee,expected:Oe,operator:Ne,stackStartFunction:Te})}y.fail=fe;function ge(Ee,Oe){Ee||fe(Ee,!0,Oe,"==",y.ok)}y.ok=ge,y.equal=function(Oe,Ie,Ne){Oe!=Ie&&fe(Oe,Ie,Ne,"==",y.equal)},y.notEqual=function(Oe,Ie,Ne){Oe==Ie&&fe(Oe,Ie,Ne,"!=",y.notEqual)},y.deepEqual=function(Oe,Ie,Ne){he(Oe,Ie,!1)||fe(Oe,Ie,Ne,"deepEqual",y.deepEqual)},y.deepStrictEqual=function(Oe,Ie,Ne){he(Oe,Ie,!0)||fe(Oe,Ie,Ne,"deepStrictEqual",y.deepStrictEqual)};function he(Ee,Oe,Ie,Ne){if(Ee===Oe)return!0;if(se(Ee)&&se(Oe))return ie(Ee,Oe)===0;if(ce.isDate(Ee)&&ce.isDate(Oe))return Ee.getTime()===Oe.getTime();if(ce.isRegExp(Ee)&&ce.isRegExp(Oe))return Ee.source===Oe.source&&Ee.global===Oe.global&&Ee.multiline===Oe.multiline&&Ee.lastIndex===Oe.lastIndex&&Ee.ignoreCase===Oe.ignoreCase;if((Ee===null||typeof Ee!="object")&&(Oe===null||typeof Oe!="object"))return Ie?Ee===Oe:Ee==Oe;if(a(Ee)&&a(Oe)&&te(Ee)===te(Oe)&&!(Ee instanceof Float32Array||Ee instanceof Float64Array))return ie(new Uint8Array(Ee.buffer),new Uint8Array(Oe.buffer))===0;if(se(Ee)!==se(Oe))return!1;Ne=Ne||{actual:[],expected:[]};var Te=Ne.actual.indexOf(Ee);return Te!==-1&&Te===Ne.expected.indexOf(Oe)?!0:(Ne.actual.push(Ee),Ne.expected.push(Oe),ye(Ee,Oe,Ie,Ne))}function pe(Ee){return Object.prototype.toString.call(Ee)=="[object Arguments]"}function ye(Ee,Oe,Ie,Ne){if(Ee==null||Oe===null||Oe===void 0)return!1;if(ce.isPrimitive(Ee)||ce.isPrimitive(Oe))return Ee===Oe;if(Ie&&Object.getPrototypeOf(Ee)!==Object.getPrototypeOf(Oe))return!1;var Te=pe(Ee),Je=pe(Oe);if(Te&&!Je||!Te&&Je)return!1;if(Te)return Ee=re.call(Ee),Oe=re.call(Oe),he(Ee,Oe,Ie);var Qe=xe(Ee),Ze=xe(Oe),Ke,Ue;if(Qe.length!==Ze.length)return!1;for(Qe.sort(),Ze.sort(),Ue=Qe.length-1;Ue>=0;Ue--)if(Qe[Ue]!==Ze[Ue])return!1;for(Ue=Qe.length-1;Ue>=0;Ue--)if(Ke=Qe[Ue],!he(Ee[Ke],Oe[Ke],Ie,Ne))return!1;return!0}y.notDeepEqual=function(Oe,Ie,Ne){he(Oe,Ie,!1)&&fe(Oe,Ie,Ne,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=ve;function ve(Ee,Oe,Ie){he(Ee,Oe,!0)&&fe(Ee,Oe,Ie,"notDeepStrictEqual",ve)}y.strictEqual=function(Oe,Ie,Ne){Oe!==Ie&&fe(Oe,Ie,Ne,"===",y.strictEqual)},y.notStrictEqual=function(Oe,Ie,Ne){Oe===Ie&&fe(Oe,Ie,Ne,"!==",y.notStrictEqual)};function Pe(Ee,Oe){if(!Ee||!Oe)return!1;if(Object.prototype.toString.call(Oe)=="[object RegExp]")return Oe.test(Ee);try{if(Ee instanceof Oe)return!0}catch(Ie){}return Error.isPrototypeOf(Oe)?!1:Oe.call({},Ee)===!0}function we(Ee){var Oe;try{Ee()}catch(Ie){Oe=Ie}return Oe}function Ae(Ee,Oe,Ie,Ne){var Te;if(typeof Oe!="function")throw new TypeError('"block" argument must be a function');typeof Ie=="string"&&(Ne=Ie,Ie=null),Te=we(Oe),Ne=(Ie&&Ie.name?" ("+Ie.name+").":".")+(Ne?" "+Ne:"."),Ee&&!Te&&fe(Te,Ie,"Missing expected exception"+Ne);var Je=typeof Ne=="string",Qe=!Ee&&ce.isError(Te),Ze=!Ee&&Te&&!Ie;if((Qe&&Je&&Pe(Te,Ie)||Ze)&&fe(Te,Ie,"Got unwanted exception"+Ne),Ee&&Te&&Ie&&!Pe(Te,Ie)||!Ee&&Te)throw Te}y.throws=function(Ee,Oe,Ie){Ae(!0,Ee,Oe,Ie)},y.doesNotThrow=function(Ee,Oe,Ie){Ae(!1,Ee,Oe,Ie)},y.ifError=function(Ee){if(Ee)throw Ee};function _e(Ee,Oe){Ee||fe(Ee,!0,Oe,"==",_e)}y.strict=ae(_e,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var xe=Object.keys||function(Ee){var Oe=[];for(var Ie in Ee)oe.call(Ee,Ie)&&Oe.push(Ie);return Oe}}).call(this)}).call(this,typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,me,de){typeof Object.create=="function"?me.exports=function(ae,ie){ae.super_=ie,ae.prototype=Object.create(ie.prototype,{constructor:{value:ae,enumerable:!1,writable:!0,configurable:!0}})}:me.exports=function(ae,ie){ae.super_=ie;var se=function(){};se.prototype=ie.prototype,ae.prototype=new se,ae.prototype.constructor=ae}},{}],84:[function(E,me,de){me.exports=function(ae){return ae&&typeof ae=="object"&&typeof ae.copy=="function"&&typeof ae.fill=="function"&&typeof ae.readUInt8=="function"}},{}],85:[function(E,me,de){(function(le,ae){(function(){var ie=/%[sdj%]/g;de.format=function(Ze){if(!ye(Ze)){for(var Ke=[],Ue=0;Ue<arguments.length;Ue++)Ke.push(oe(arguments[Ue]));return Ke.join(" ")}for(var Ue=1,ke=arguments,Re=ke.length,He=String(Ze).replace(ie,function(rt){if(rt==="%%")return"%";if(Ue>=Re)return rt;switch(rt){case"%s":return String(ke[Ue++]);case"%d":return Number(ke[Ue++]);case"%j":try{return JSON.stringify(ke[Ue++])}catch(We){return"[Circular]"}default:return rt}}),qe=ke[Ue];Ue<Re;qe=ke[++Ue])ge(qe)||!Ae(qe)?He+=" "+qe:He+=" "+oe(qe);return He},de.deprecate=function(Ze,Ke){if(Pe(ae.process))return function(){return de.deprecate(Ze,Ke).apply(this,arguments)};if(le.noDeprecation===!0)return Ze;var Ue=!1;function ke(){if(!Ue){if(le.throwDeprecation)throw new Error(Ke);le.traceDeprecation?console.trace(Ke):console.error(Ke),Ue=!0}return Ze.apply(this,arguments)}return ke};var se={},ce;de.debuglog=function(Ze){if(Pe(ce)&&(ce=le.env.NODE_DEBUG||""),Ze=Ze.toUpperCase(),!se[Ze])if(new RegExp("\\b"+Ze+"\\b","i").test(ce)){var Ke=le.pid;se[Ze]=function(){var Ue=de.format.apply(de,arguments);console.error("%s %d: %s",Ze,Ke,Ue)}}else se[Ze]=function(){};return se[Ze]};function oe(Ze,Ke){var Ue={seen:[],stylize:ne};return arguments.length>=3&&(Ue.depth=arguments[2]),arguments.length>=4&&(Ue.colors=arguments[3]),fe(Ke)?Ue.showHidden=Ke:Ke&&de._extend(Ue,Ke),Pe(Ue.showHidden)&&(Ue.showHidden=!1),Pe(Ue.depth)&&(Ue.depth=2),Pe(Ue.colors)&&(Ue.colors=!1),Pe(Ue.customInspect)&&(Ue.customInspect=!0),Ue.colors&&(Ue.stylize=re),a(Ue,Ze,Ue.depth)}de.inspect=oe,oe.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]},oe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function re(Ze,Ke){var Ue=oe.styles[Ke];return Ue?"\x1B["+oe.colors[Ue][0]+"m"+Ze+"\x1B["+oe.colors[Ue][1]+"m":Ze}function ne(Ze,Ke){return Ze}function te(Ze){var Ke={};return Ze.forEach(function(Ue,ke){Ke[Ue]=!0}),Ke}function a(Ze,Ke,Ue){if(Ze.customInspect&&Ke&&Ee(Ke.inspect)&&Ke.inspect!==de.inspect&&!(Ke.constructor&&Ke.constructor.prototype===Ke)){var ke=Ke.inspect(Ue,Ze);return ye(ke)||(ke=a(Ze,ke,Ue)),ke}var Re=y(Ze,Ke);if(Re)return Re;var He=Object.keys(Ke),qe=te(He);if(Ze.showHidden&&(He=Object.getOwnPropertyNames(Ke)),xe(Ke)&&(He.indexOf("message")>=0||He.indexOf("description")>=0))return x(Ke);if(He.length===0){if(Ee(Ke)){var rt=Ke.name?": "+Ke.name:"";return Ze.stylize("[Function"+rt+"]","special")}if(we(Ke))return Ze.stylize(RegExp.prototype.toString.call(Ke),"regexp");if(_e(Ke))return Ze.stylize(Date.prototype.toString.call(Ke),"date");if(xe(Ke))return x(Ke)}var We="",ze=!1,Me=["{","}"];if(ue(Ke)&&(ze=!0,Me=["[","]"]),Ee(Ke)){var Ge=Ke.name?": "+Ke.name:"";We=" [Function"+Ge+"]"}if(we(Ke)&&(We=" "+RegExp.prototype.toString.call(Ke)),_e(Ke)&&(We=" "+Date.prototype.toUTCString.call(Ke)),xe(Ke)&&(We=" "+x(Ke)),He.length===0&&(!ze||Ke.length==0))return Me[0]+We+Me[1];if(Ue<0)return we(Ke)?Ze.stylize(RegExp.prototype.toString.call(Ke),"regexp"):Ze.stylize("[Object]","special");Ze.seen.push(Ke);var Le;return ze?Le=b(Ze,Ke,Ue,qe,He):Le=He.map(function(Ve){return ee(Ze,Ke,Ue,qe,Ve,ze)}),Ze.seen.pop(),z(Le,We,Me)}function y(Ze,Ke){if(Pe(Ke))return Ze.stylize("undefined","undefined");if(ye(Ke)){var Ue="'"+JSON.stringify(Ke).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Ze.stylize(Ue,"string")}if(pe(Ke))return Ze.stylize(""+Ke,"number");if(fe(Ke))return Ze.stylize(""+Ke,"boolean");if(ge(Ke))return Ze.stylize("null","null")}function x(Ze){return"["+Error.prototype.toString.call(Ze)+"]"}function b(Ze,Ke,Ue,ke,Re){for(var He=[],qe=0,rt=Ke.length;qe<rt;++qe)Qe(Ke,String(qe))?He.push(ee(Ze,Ke,Ue,ke,String(qe),!0)):He.push("");return Re.forEach(function(We){We.match(/^\d+$/)||He.push(ee(Ze,Ke,Ue,ke,We,!0))}),He}function ee(Ze,Ke,Ue,ke,Re,He){var qe,rt,We;if(We=Object.getOwnPropertyDescriptor(Ke,Re)||{value:Ke[Re]},We.get?We.set?rt=Ze.stylize("[Getter/Setter]","special"):rt=Ze.stylize("[Getter]","special"):We.set&&(rt=Ze.stylize("[Setter]","special")),Qe(ke,Re)||(qe="["+Re+"]"),rt||(Ze.seen.indexOf(We.value)<0?(ge(Ue)?rt=a(Ze,We.value,null):rt=a(Ze,We.value,Ue-1),rt.indexOf(`
|
|
|
`)>-1&&(He?rt=rt.split(`
|
|
|
`).map(function(ze){return" "+ze}).join(`
|
|
|
`).substr(2):rt=`
|
|
|
`+rt.split(`
|
|
|
`).map(function(ze){return" "+ze}).join(`
|
|
|
`))):rt=Ze.stylize("[Circular]","special")),Pe(qe)){if(He&&Re.match(/^\d+$/))return rt;qe=JSON.stringify(""+Re),qe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(qe=qe.substr(1,qe.length-2),qe=Ze.stylize(qe,"name")):(qe=qe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),qe=Ze.stylize(qe,"string"))}return qe+": "+rt}function z(Ze,Ke,Ue){var ke=0,Re=Ze.reduce(function(He,qe){return ke++,qe.indexOf(`
|
|
|
`)>=0&&ke++,He+qe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Re>60?Ue[0]+(Ke===""?"":Ke+`
|
|
|
`)+" "+Ze.join(`,
|
|
|
`)+" "+Ue[1]:Ue[0]+Ke+" "+Ze.join(", ")+" "+Ue[1]}function ue(Ze){return Array.isArray(Ze)}de.isArray=ue;function fe(Ze){return typeof Ze=="boolean"}de.isBoolean=fe;function ge(Ze){return Ze===null}de.isNull=ge;function he(Ze){return Ze==null}de.isNullOrUndefined=he;function pe(Ze){return typeof Ze=="number"}de.isNumber=pe;function ye(Ze){return typeof Ze=="string"}de.isString=ye;function ve(Ze){return typeof Ze=="symbol"}de.isSymbol=ve;function Pe(Ze){return Ze===void 0}de.isUndefined=Pe;function we(Ze){return Ae(Ze)&&Ie(Ze)==="[object RegExp]"}de.isRegExp=we;function Ae(Ze){return typeof Ze=="object"&&Ze!==null}de.isObject=Ae;function _e(Ze){return Ae(Ze)&&Ie(Ze)==="[object Date]"}de.isDate=_e;function xe(Ze){return Ae(Ze)&&(Ie(Ze)==="[object Error]"||Ze instanceof Error)}de.isError=xe;function Ee(Ze){return typeof Ze=="function"}de.isFunction=Ee;function Oe(Ze){return Ze===null||typeof Ze=="boolean"||typeof Ze=="number"||typeof Ze=="string"||typeof Ze=="symbol"||typeof Ze=="undefined"}de.isPrimitive=Oe,de.isBuffer=E("./support/isBuffer");function Ie(Ze){return Object.prototype.toString.call(Ze)}function Ne(Ze){return Ze<10?"0"+Ze.toString(10):Ze.toString(10)}var Te=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Je(){var Ze=new Date,Ke=[Ne(Ze.getHours()),Ne(Ze.getMinutes()),Ne(Ze.getSeconds())].join(":");return[Ze.getDate(),Te[Ze.getMonth()],Ke].join(" ")}de.log=function(){console.log("%s - %s",Je(),de.format.apply(de,arguments))},de.inherits=E("inherits"),de._extend=function(Ze,Ke){if(!Ke||!Ae(Ke))return Ze;for(var Ue=Object.keys(Ke),ke=Ue.length;ke--;)Ze[Ue[ke]]=Ke[Ue[ke]];return Ze};function Qe(Ze,Ke){return Object.prototype.hasOwnProperty.call(Ze,Ke)}}).call(this)}).call(this,E("_process"),typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,me,de){(function(le){(function(){"use strict";var ae=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ie=typeof globalThis=="undefined"?le:globalThis;me.exports=function(){for(var ce=[],oe=0;oe<ae.length;oe++)typeof ie[ae[oe]]=="function"&&(ce[ce.length]=ae[oe]);return ce}}).call(this)}).call(this,typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(E,me,de){"use strict";de.byteLength=ne,de.toByteArray=a,de.fromByteArray=b;for(var le=[],ae=[],ie=typeof Uint8Array!="undefined"?Uint8Array:Array,se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ce=0,oe=se.length;ce<oe;++ce)le[ce]=se[ce],ae[se.charCodeAt(ce)]=ce;ae[45]=62,ae[95]=63;function re(ee){var z=ee.length;if(z%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ue=ee.indexOf("=");ue===-1&&(ue=z);var fe=ue===z?0:4-ue%4;return[ue,fe]}function ne(ee){var z=re(ee),ue=z[0],fe=z[1];return(ue+fe)*3/4-fe}function te(ee,z,ue){return(z+ue)*3/4-ue}function a(ee){var z,ue=re(ee),fe=ue[0],ge=ue[1],he=new ie(te(ee,fe,ge)),pe=0,ye=ge>0?fe-4:fe,ve;for(ve=0;ve<ye;ve+=4)z=ae[ee.charCodeAt(ve)]<<18|ae[ee.charCodeAt(ve+1)]<<12|ae[ee.charCodeAt(ve+2)]<<6|ae[ee.charCodeAt(ve+3)],he[pe++]=z>>16&255,he[pe++]=z>>8&255,he[pe++]=z&255;return ge===2&&(z=ae[ee.charCodeAt(ve)]<<2|ae[ee.charCodeAt(ve+1)]>>4,he[pe++]=z&255),ge===1&&(z=ae[ee.charCodeAt(ve)]<<10|ae[ee.charCodeAt(ve+1)]<<4|ae[ee.charCodeAt(ve+2)]>>2,he[pe++]=z>>8&255,he[pe++]=z&255),he}function y(ee){return le[ee>>18&63]+le[ee>>12&63]+le[ee>>6&63]+le[ee&63]}function x(ee,z,ue){for(var fe,ge=[],he=z;he<ue;he+=3)fe=(ee[he]<<16&16711680)+(ee[he+1]<<8&65280)+(ee[he+2]&255),ge.push(y(fe));return ge.join("")}function b(ee){for(var z,ue=ee.length,fe=ue%3,ge=[],he=16383,pe=0,ye=ue-fe;pe<ye;pe+=he)ge.push(x(ee,pe,pe+he>ye?ye:pe+he));return fe===1?(z=ee[ue-1],ge.push(le[z>>2]+le[z<<4&63]+"==")):fe===2&&(z=(ee[ue-2]<<8)+ee[ue-1],ge.push(le[z>>10]+le[z>>4&63]+le[z<<2&63]+"=")),ge.join("")}},{}],88:[function(E,me,de){(function(le,ae,ie){typeof me!="undefined"&&me.exports?me.exports=ie():typeof Se=="function"&&Se.amd?Se(ae,ie):le[ae]=ie()})(this,"bowser",function(){var le=!0;function ae(te){function a(Ke){var Ue=te.match(Ke);return Ue&&Ue.length>1&&Ue[1]||""}function y(Ke){var Ue=te.match(Ke);return Ue&&Ue.length>1&&Ue[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(te),ee=!b&&/android/i.test(te),z=/nexus\s*[0-6]\s*/i.test(te),ue=!z&&/nexus\s*[0-9]+/i.test(te),fe=/CrOS/.test(te),ge=/silk/i.test(te),he=/sailfish/i.test(te),pe=/tizen/i.test(te),ye=/(web|hpw)(o|0)s/i.test(te),ve=/windows phone/i.test(te),Pe=/SamsungBrowser/i.test(te),we=!ve&&/windows/i.test(te),Ae=!x&&!ge&&/macintosh/i.test(te),_e=!ee&&!he&&!pe&&!ye&&/linux/i.test(te),xe=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Ee=a(/version\/(\d+(\.\d+)?)/i),Oe=/tablet/i.test(te)&&!/tablet pc/i.test(te),Ie=!Oe&&/[^-]mobi/i.test(te),Ne=/xbox/i.test(te),Te;/opera/i.test(te)?Te={name:"Opera",opera:le,version:Ee||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(te)?Te={name:"Opera",opera:le,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Ee}:/SamsungBrowser/i.test(te)?Te={name:"Samsung Internet for Android",samsungBrowser:le,version:Ee||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(te)?Te={name:"NAVER Whale browser",whale:le,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(te)?Te={name:"MZ Browser",mzbrowser:le,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(te)?Te={name:"Opera Coast",coast:le,version:Ee||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(te)?Te={name:"Focus",focus:le,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(te)?Te={name:"Yandex Browser",yandexbrowser:le,version:Ee||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(te)?Te={name:"UC Browser",ucbrowser:le,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(te)?Te={name:"Maxthon",maxthon:le,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(te)?Te={name:"Epiphany",epiphany:le,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(te)?Te={name:"Puffin",puffin:le,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(te)?Te={name:"Sleipnir",sleipnir:le,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(te)?Te={name:"K-Meleon",kMeleon:le,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:ve?(Te={name:"Windows Phone",osname:"Windows Phone",windowsphone:le},xe?(Te.msedge=le,Te.version=xe):(Te.msie=le,Te.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(te)?Te={name:"Internet Explorer",msie:le,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:fe?Te={name:"Chrome",osname:"Chrome OS",chromeos:le,chromeBook:le,chrome:le,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(te)?Te={name:"Microsoft Edge",msedge:le,version:xe}:/vivaldi/i.test(te)?Te={name:"Vivaldi",vivaldi:le,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||Ee}:he?Te={name:"Sailfish",osname:"Sailfish OS",sailfish:le,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(te)?Te={name:"SeaMonkey",seamonkey:le,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(te)?(Te={name:"Firefox",firefox:le,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(te)&&(Te.firefoxos=le,Te.osname="Firefox OS")):ge?Te={name:"Amazon Silk",silk:le,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(te)?Te={name:"PhantomJS",phantom:le,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(te)?Te={name:"SlimerJS",slimer:le,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(te)||/rim\stablet/i.test(te)?Te={name:"BlackBerry",osname:"BlackBerry OS",blackberry:le,version:Ee||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:ye?(Te={name:"WebOS",osname:"WebOS",webos:le,version:Ee||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(te)&&(Te.touchpad=le)):/bada/i.test(te)?Te={name:"Bada",osname:"Bada",bada:le,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:pe?Te={name:"Tizen",osname:"Tizen",tizen:le,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Ee}:/qupzilla/i.test(te)?Te={name:"QupZilla",qupzilla:le,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Ee}:/chromium/i.test(te)?Te={name:"Chromium",chromium:le,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Ee}:/chrome|crios|crmo/i.test(te)?Te={name:"Chrome",chrome:le,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:ee?Te={name:"Android",version:Ee}:/safari|applewebkit/i.test(te)?(Te={name:"Safari",safari:le},Ee&&(Te.version=Ee)):x?(Te={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},Ee&&(Te.version=Ee)):/googlebot/i.test(te)?Te={name:"Googlebot",googlebot:le,version:a(/googlebot\/(\d+(\.\d+))/i)||Ee}:Te={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!Te.msedge&&/(apple)?webkit/i.test(te)?(/(apple)?webkit\/537\.36/i.test(te)?(Te.name=Te.name||"Blink",Te.blink=le):(Te.name=Te.name||"Webkit",Te.webkit=le),!Te.version&&Ee&&(Te.version=Ee)):!Te.opera&&/gecko\//i.test(te)&&(Te.name=Te.name||"Gecko",Te.gecko=le,Te.version=Te.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Te.windowsphone&&(ee||Te.silk)?(Te.android=le,Te.osname="Android"):!Te.windowsphone&&x?(Te[x]=le,Te.ios=le,Te.osname="iOS"):Ae?(Te.mac=le,Te.osname="macOS"):Ne?(Te.xbox=le,Te.osname="Xbox"):we?(Te.windows=le,Te.osname="Windows"):_e&&(Te.linux=le,Te.osname="Linux");function Je(Ke){switch(Ke){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var Qe="";Te.windows?Qe=Je(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Te.windowsphone?Qe=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Te.mac?(Qe=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),Qe=Qe.replace(/[_\s]/g,".")):x?(Qe=a(/os (\d+([_\s]\d+)*) like mac os x/i),Qe=Qe.replace(/[_\s]/g,".")):ee?Qe=a(/android[ \/-](\d+(\.\d+)*)/i):Te.webos?Qe=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Te.blackberry?Qe=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Te.bada?Qe=a(/bada\/(\d+(\.\d+)*)/i):Te.tizen&&(Qe=a(/tizen[\/\s](\d+(\.\d+)*)/i)),Qe&&(Te.osversion=Qe);var Ze=!Te.windows&&Qe.split(".")[0];return Oe||ue||x=="ipad"||ee&&(Ze==3||Ze>=4&&!Ie)||Te.silk?Te.tablet=le:(Ie||x=="iphone"||x=="ipod"||ee||z||Te.blackberry||Te.webos||Te.bada)&&(Te.mobile=le),Te.msedge||Te.msie&&Te.version>=10||Te.yandexbrowser&&Te.version>=15||Te.vivaldi&&Te.version>=1||Te.chrome&&Te.version>=20||Te.samsungBrowser&&Te.version>=4||Te.whale&&oe([Te.version,"1.0"])===1||Te.mzbrowser&&oe([Te.version,"6.0"])===1||Te.focus&&oe([Te.version,"1.0"])===1||Te.firefox&&Te.version>=20||Te.safari&&Te.version>=6||Te.opera&&Te.version>=10||Te.ios&&Te.osversion&&Te.osversion.split(".")[0]>=6||Te.blackberry&&Te.version>=10.1||Te.chromium&&Te.version>=20?Te.a=le:Te.msie&&Te.version<10||Te.chrome&&Te.version<20||Te.firefox&&Te.version<20||Te.safari&&Te.version<6||Te.opera&&Te.version<10||Te.ios&&Te.osversion&&Te.osversion.split(".")[0]<6||Te.chromium&&Te.version<20?Te.c=le:Te.x=le,Te}var ie=ae(typeof navigator!="undefined"&&navigator.userAgent||"");ie.test=function(te){for(var a=0;a<te.length;++a){var y=te[a];if(typeof y=="string"&&y in ie)return!0}return!1};function se(te){return te.split(".").length}function ce(te,a){var y=[],x;if(Array.prototype.map)return Array.prototype.map.call(te,a);for(x=0;x<te.length;x++)y.push(a(te[x]));return y}function oe(te){for(var a=Math.max(se(te[0]),se(te[1])),y=ce(te,function(x){var b=a-se(x);return x=x+new Array(b+1).join(".0"),ce(x.split("."),function(ee){return new Array(20-ee.length).join("0")+ee}).reverse()});--a>=0;){if(y[0][a]>y[1][a])return 1;if(y[0][a]===y[1][a]){if(a===0)return 0}else return-1}}function re(te,a,y){var x=ie;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=ae(y));var b=""+x.version;for(var ee in te)if(te.hasOwnProperty(ee)&&x[ee]){if(typeof te[ee]!="string")throw new Error("Browser version in the minVersion map should be a string: "+ee+": "+String(te));return oe([b,te[ee]])<0}return a}function ne(te,a,y){return!re(te,a,y)}return ie.isUnsupportedBrowser=re,ie.compareVersions=oe,ie.check=ne,ie._detect=ae,ie.detect=ae,ie})},{}],89:[function(E,me,de){},{}],90:[function(E,me,de){(function(le){(function(){"use strict";var ae=E("base64-js"),ie=E("ieee754");de.Buffer=re,de.SlowBuffer=fe,de.INSPECT_MAX_BYTES=50;var se=2147483647;de.kMaxLength=se,re.TYPED_ARRAY_SUPPORT=ce(),!re.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&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.");function ce(){try{var je=new Uint8Array(1);return je.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},je.foo()===42}catch(Ce){return!1}}Object.defineProperty(re.prototype,"parent",{enumerable:!0,get:function(){if(re.isBuffer(this))return this.buffer}}),Object.defineProperty(re.prototype,"offset",{enumerable:!0,get:function(){if(re.isBuffer(this))return this.byteOffset}});function oe(je){if(je>se)throw new RangeError('The value "'+je+'" is invalid for option "size"');var Ce=new Uint8Array(je);return Ce.__proto__=re.prototype,Ce}function re(je,Ce,De){if(typeof je=="number"){if(typeof Ce=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(je)}return ne(je,Ce,De)}typeof Symbol!="undefined"&&Symbol.species!=null&&re[Symbol.species]===re&&Object.defineProperty(re,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),re.poolSize=8192;function ne(je,Ce,De){if(typeof je=="string")return x(je,Ce);if(ArrayBuffer.isView(je))return b(je);if(je==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof je);if(et(je,ArrayBuffer)||je&&et(je.buffer,ArrayBuffer))return ee(je,Ce,De);if(typeof je=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Fe=je.valueOf&&je.valueOf();if(Fe!=null&&Fe!==je)return re.from(Fe,Ce,De);var Ye=z(je);if(Ye)return Ye;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof je[Symbol.toPrimitive]=="function")return re.from(je[Symbol.toPrimitive]("string"),Ce,De);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof je)}re.from=function(je,Ce,De){return ne(je,Ce,De)},re.prototype.__proto__=Uint8Array.prototype,re.__proto__=Uint8Array;function te(je){if(typeof je!="number")throw new TypeError('"size" argument must be of type number');if(je<0)throw new RangeError('The value "'+je+'" is invalid for option "size"')}function a(je,Ce,De){return te(je),je<=0?oe(je):Ce!==void 0?typeof De=="string"?oe(je).fill(Ce,De):oe(je).fill(Ce):oe(je)}re.alloc=function(je,Ce,De){return a(je,Ce,De)};function y(je){return te(je),oe(je<0?0:ue(je)|0)}re.allocUnsafe=function(je){return y(je)},re.allocUnsafeSlow=function(je){return y(je)};function x(je,Ce){if((typeof Ce!="string"||Ce==="")&&(Ce="utf8"),!re.isEncoding(Ce))throw new TypeError("Unknown encoding: "+Ce);var De=ge(je,Ce)|0,Fe=oe(De),Ye=Fe.write(je,Ce);return Ye!==De&&(Fe=Fe.slice(0,Ye)),Fe}function b(je){for(var Ce=je.length<0?0:ue(je.length)|0,De=oe(Ce),Fe=0;Fe<Ce;Fe+=1)De[Fe]=je[Fe]&255;return De}function ee(je,Ce,De){if(Ce<0||je.byteLength<Ce)throw new RangeError('"offset" is outside of buffer bounds');if(je.byteLength<Ce+(De||0))throw new RangeError('"length" is outside of buffer bounds');var Fe;return Ce===void 0&&De===void 0?Fe=new Uint8Array(je):De===void 0?Fe=new Uint8Array(je,Ce):Fe=new Uint8Array(je,Ce,De),Fe.__proto__=re.prototype,Fe}function z(je){if(re.isBuffer(je)){var Ce=ue(je.length)|0,De=oe(Ce);return De.length===0||je.copy(De,0,0,Ce),De}if(je.length!==void 0)return typeof je.length!="number"||Xe(je.length)?oe(0):b(je);if(je.type==="Buffer"&&Array.isArray(je.data))return b(je.data)}function ue(je){if(je>=se)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+se.toString(16)+" bytes");return je|0}function fe(je){return+je!=je&&(je=0),re.alloc(+je)}re.isBuffer=function(Ce){return Ce!=null&&Ce._isBuffer===!0&&Ce!==re.prototype},re.compare=function(Ce,De){if(et(Ce,Uint8Array)&&(Ce=re.from(Ce,Ce.offset,Ce.byteLength)),et(De,Uint8Array)&&(De=re.from(De,De.offset,De.byteLength)),!re.isBuffer(Ce)||!re.isBuffer(De))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ce===De)return 0;for(var Fe=Ce.length,Ye=De.length,nt=0,$e=Math.min(Fe,Ye);nt<$e;++nt)if(Ce[nt]!==De[nt]){Fe=Ce[nt],Ye=De[nt];break}return Fe<Ye?-1:Ye<Fe?1:0},re.isEncoding=function(Ce){switch(String(Ce).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}},re.concat=function(Ce,De){if(!Array.isArray(Ce))throw new TypeError('"list" argument must be an Array of Buffers');if(Ce.length===0)return re.alloc(0);var Fe;if(De===void 0)for(De=0,Fe=0;Fe<Ce.length;++Fe)De+=Ce[Fe].length;var Ye=re.allocUnsafe(De),nt=0;for(Fe=0;Fe<Ce.length;++Fe){var $e=Ce[Fe];if(et($e,Uint8Array)&&($e=re.from($e)),!re.isBuffer($e))throw new TypeError('"list" argument must be an Array of Buffers');$e.copy(Ye,nt),nt+=$e.length}return Ye};function ge(je,Ce){if(re.isBuffer(je))return je.length;if(ArrayBuffer.isView(je)||et(je,ArrayBuffer))return je.byteLength;if(typeof je!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof je);var De=je.length,Fe=arguments.length>2&&arguments[2]===!0;if(!Fe&&De===0)return 0;for(var Ye=!1;;)switch(Ce){case"ascii":case"latin1":case"binary":return De;case"utf8":case"utf-8":return Me(je).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return De*2;case"hex":return De>>>1;case"base64":return Ve(je).length;default:if(Ye)return Fe?-1:Me(je).length;Ce=(""+Ce).toLowerCase(),Ye=!0}}re.byteLength=ge;function he(je,Ce,De){var Fe=!1;if((Ce===void 0||Ce<0)&&(Ce=0),Ce>this.length||((De===void 0||De>this.length)&&(De=this.length),De<=0)||(De>>>=0,Ce>>>=0,De<=Ce))return"";for(je||(je="utf8");;)switch(je){case"hex":return Ze(this,Ce,De);case"utf8":case"utf-8":return Ie(this,Ce,De);case"ascii":return Je(this,Ce,De);case"latin1":case"binary":return Qe(this,Ce,De);case"base64":return Oe(this,Ce,De);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ke(this,Ce,De);default:if(Fe)throw new TypeError("Unknown encoding: "+je);je=(je+"").toLowerCase(),Fe=!0}}re.prototype._isBuffer=!0;function pe(je,Ce,De){var Fe=je[Ce];je[Ce]=je[De],je[De]=Fe}re.prototype.swap16=function(){var Ce=this.length;if(Ce%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var De=0;De<Ce;De+=2)pe(this,De,De+1);return this},re.prototype.swap32=function(){var Ce=this.length;if(Ce%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var De=0;De<Ce;De+=4)pe(this,De,De+3),pe(this,De+1,De+2);return this},re.prototype.swap64=function(){var Ce=this.length;if(Ce%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var De=0;De<Ce;De+=8)pe(this,De,De+7),pe(this,De+1,De+6),pe(this,De+2,De+5),pe(this,De+3,De+4);return this},re.prototype.toString=function(){var Ce=this.length;return Ce===0?"":arguments.length===0?Ie(this,0,Ce):he.apply(this,arguments)},re.prototype.toLocaleString=re.prototype.toString,re.prototype.equals=function(Ce){if(!re.isBuffer(Ce))throw new TypeError("Argument must be a Buffer");return this===Ce?!0:re.compare(this,Ce)===0},re.prototype.inspect=function(){var Ce="",De=de.INSPECT_MAX_BYTES;return Ce=this.toString("hex",0,De).replace(/(.{2})/g,"$1 ").trim(),this.length>De&&(Ce+=" ... "),"<Buffer "+Ce+">"},re.prototype.compare=function(Ce,De,Fe,Ye,nt){if(et(Ce,Uint8Array)&&(Ce=re.from(Ce,Ce.offset,Ce.byteLength)),!re.isBuffer(Ce))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ce);if(De===void 0&&(De=0),Fe===void 0&&(Fe=Ce?Ce.length:0),Ye===void 0&&(Ye=0),nt===void 0&&(nt=this.length),De<0||Fe>Ce.length||Ye<0||nt>this.length)throw new RangeError("out of range index");if(Ye>=nt&&De>=Fe)return 0;if(Ye>=nt)return-1;if(De>=Fe)return 1;if(De>>>=0,Fe>>>=0,Ye>>>=0,nt>>>=0,this===Ce)return 0;for(var $e=nt-Ye,tt=Fe-De,lt=Math.min($e,tt),at=this.slice(Ye,nt),ut=Ce.slice(De,Fe),st=0;st<lt;++st)if(at[st]!==ut[st]){$e=at[st],tt=ut[st];break}return $e<tt?-1:tt<$e?1:0};function ye(je,Ce,De,Fe,Ye){if(je.length===0)return-1;if(typeof De=="string"?(Fe=De,De=0):De>2147483647?De=2147483647:De<-2147483648&&(De=-2147483648),De=+De,Xe(De)&&(De=Ye?0:je.length-1),De<0&&(De=je.length+De),De>=je.length){if(Ye)return-1;De=je.length-1}else if(De<0)if(Ye)De=0;else return-1;if(typeof Ce=="string"&&(Ce=re.from(Ce,Fe)),re.isBuffer(Ce))return Ce.length===0?-1:ve(je,Ce,De,Fe,Ye);if(typeof Ce=="number")return Ce=Ce&255,typeof Uint8Array.prototype.indexOf=="function"?Ye?Uint8Array.prototype.indexOf.call(je,Ce,De):Uint8Array.prototype.lastIndexOf.call(je,Ce,De):ve(je,[Ce],De,Fe,Ye);throw new TypeError("val must be string, number or Buffer")}function ve(je,Ce,De,Fe,Ye){var nt=1,$e=je.length,tt=Ce.length;if(Fe!==void 0&&(Fe=String(Fe).toLowerCase(),Fe==="ucs2"||Fe==="ucs-2"||Fe==="utf16le"||Fe==="utf-16le")){if(je.length<2||Ce.length<2)return-1;nt=2,$e/=2,tt/=2,De/=2}function lt(mt,pt){return nt===1?mt[pt]:mt.readUInt16BE(pt*nt)}var at;if(Ye){var ut=-1;for(at=De;at<$e;at++)if(lt(je,at)===lt(Ce,ut===-1?0:at-ut)){if(ut===-1&&(ut=at),at-ut+1===tt)return ut*nt}else ut!==-1&&(at-=at-ut),ut=-1}else for(De+tt>$e&&(De=$e-tt),at=De;at>=0;at--){for(var st=!0,vt=0;vt<tt;vt++)if(lt(je,at+vt)!==lt(Ce,vt)){st=!1;break}if(st)return at}return-1}re.prototype.includes=function(Ce,De,Fe){return this.indexOf(Ce,De,Fe)!==-1},re.prototype.indexOf=function(Ce,De,Fe){return ye(this,Ce,De,Fe,!0)},re.prototype.lastIndexOf=function(Ce,De,Fe){return ye(this,Ce,De,Fe,!1)};function Pe(je,Ce,De,Fe){De=Number(De)||0;var Ye=je.length-De;Fe?(Fe=Number(Fe),Fe>Ye&&(Fe=Ye)):Fe=Ye;var nt=Ce.length;Fe>nt/2&&(Fe=nt/2);for(var $e=0;$e<Fe;++$e){var tt=parseInt(Ce.substr($e*2,2),16);if(Xe(tt))return $e;je[De+$e]=tt}return $e}function we(je,Ce,De,Fe){return ot(Me(Ce,je.length-De),je,De,Fe)}function Ae(je,Ce,De,Fe){return ot(Ge(Ce),je,De,Fe)}function _e(je,Ce,De,Fe){return Ae(je,Ce,De,Fe)}function xe(je,Ce,De,Fe){return ot(Ve(Ce),je,De,Fe)}function Ee(je,Ce,De,Fe){return ot(Le(Ce,je.length-De),je,De,Fe)}re.prototype.write=function(Ce,De,Fe,Ye){if(De===void 0)Ye="utf8",Fe=this.length,De=0;else if(Fe===void 0&&typeof De=="string")Ye=De,Fe=this.length,De=0;else if(isFinite(De))De=De>>>0,isFinite(Fe)?(Fe=Fe>>>0,Ye===void 0&&(Ye="utf8")):(Ye=Fe,Fe=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var nt=this.length-De;if((Fe===void 0||Fe>nt)&&(Fe=nt),Ce.length>0&&(Fe<0||De<0)||De>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ye||(Ye="utf8");for(var $e=!1;;)switch(Ye){case"hex":return Pe(this,Ce,De,Fe);case"utf8":case"utf-8":return we(this,Ce,De,Fe);case"ascii":return Ae(this,Ce,De,Fe);case"latin1":case"binary":return _e(this,Ce,De,Fe);case"base64":return xe(this,Ce,De,Fe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ee(this,Ce,De,Fe);default:if($e)throw new TypeError("Unknown encoding: "+Ye);Ye=(""+Ye).toLowerCase(),$e=!0}},re.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Oe(je,Ce,De){return Ce===0&&De===je.length?ae.fromByteArray(je):ae.fromByteArray(je.slice(Ce,De))}function Ie(je,Ce,De){De=Math.min(je.length,De);for(var Fe=[],Ye=Ce;Ye<De;){var nt=je[Ye],$e=null,tt=nt>239?4:nt>223?3:nt>191?2:1;if(Ye+tt<=De){var lt,at,ut,st;switch(tt){case 1:nt<128&&($e=nt);break;case 2:lt=je[Ye+1],(lt&192)===128&&(st=(nt&31)<<6|lt&63,st>127&&($e=st));break;case 3:lt=je[Ye+1],at=je[Ye+2],(lt&192)===128&&(at&192)===128&&(st=(nt&15)<<12|(lt&63)<<6|at&63,st>2047&&(st<55296||st>57343)&&($e=st));break;case 4:lt=je[Ye+1],at=je[Ye+2],ut=je[Ye+3],(lt&192)===128&&(at&192)===128&&(ut&192)===128&&(st=(nt&15)<<18|(lt&63)<<12|(at&63)<<6|ut&63,st>65535&&st<1114112&&($e=st))}}$e===null?($e=65533,tt=1):$e>65535&&($e-=65536,Fe.push($e>>>10&1023|55296),$e=56320|$e&1023),Fe.push($e),Ye+=tt}return Te(Fe)}var Ne=4096;function Te(je){var Ce=je.length;if(Ce<=Ne)return String.fromCharCode.apply(String,je);for(var De="",Fe=0;Fe<Ce;)De+=String.fromCharCode.apply(String,je.slice(Fe,Fe+=Ne));return De}function Je(je,Ce,De){var Fe="";De=Math.min(je.length,De);for(var Ye=Ce;Ye<De;++Ye)Fe+=String.fromCharCode(je[Ye]&127);return Fe}function Qe(je,Ce,De){var Fe="";De=Math.min(je.length,De);for(var Ye=Ce;Ye<De;++Ye)Fe+=String.fromCharCode(je[Ye]);return Fe}function Ze(je,Ce,De){var Fe=je.length;(!Ce||Ce<0)&&(Ce=0),(!De||De<0||De>Fe)&&(De=Fe);for(var Ye="",nt=Ce;nt<De;++nt)Ye+=ze(je[nt]);return Ye}function Ke(je,Ce,De){for(var Fe=je.slice(Ce,De),Ye="",nt=0;nt<Fe.length;nt+=2)Ye+=String.fromCharCode(Fe[nt]+Fe[nt+1]*256);return Ye}re.prototype.slice=function(Ce,De){var Fe=this.length;Ce=~~Ce,De=De===void 0?Fe:~~De,Ce<0?(Ce+=Fe,Ce<0&&(Ce=0)):Ce>Fe&&(Ce=Fe),De<0?(De+=Fe,De<0&&(De=0)):De>Fe&&(De=Fe),De<Ce&&(De=Ce);var Ye=this.subarray(Ce,De);return Ye.__proto__=re.prototype,Ye};function Ue(je,Ce,De){if(je%1!==0||je<0)throw new RangeError("offset is not uint");if(je+Ce>De)throw new RangeError("Trying to access beyond buffer length")}re.prototype.readUIntLE=function(Ce,De,Fe){Ce=Ce>>>0,De=De>>>0,Fe||Ue(Ce,De,this.length);for(var Ye=this[Ce],nt=1,$e=0;++$e<De&&(nt*=256);)Ye+=this[Ce+$e]*nt;return Ye},re.prototype.readUIntBE=function(Ce,De,Fe){Ce=Ce>>>0,De=De>>>0,Fe||Ue(Ce,De,this.length);for(var Ye=this[Ce+--De],nt=1;De>0&&(nt*=256);)Ye+=this[Ce+--De]*nt;return Ye},re.prototype.readUInt8=function(Ce,De){return Ce=Ce>>>0,De||Ue(Ce,1,this.length),this[Ce]},re.prototype.readUInt16LE=function(Ce,De){return Ce=Ce>>>0,De||Ue(Ce,2,this.length),this[Ce]|this[Ce+1]<<8},re.prototype.readUInt16BE=function(Ce,De){return Ce=Ce>>>0,De||Ue(Ce,2,this.length),this[Ce]<<8|this[Ce+1]},re.prototype.readUInt32LE=function(Ce,De){return Ce=Ce>>>0,De||Ue(Ce,4,this.length),(this[Ce]|this[Ce+1]<<8|this[Ce+2]<<16)+this[Ce+3]*16777216},re.prototype.readUInt32BE=function(Ce,De){return Ce=Ce>>>0,De||Ue(Ce,4,this.length),this[Ce]*16777216+(this[Ce+1]<<16|this[Ce+2]<<8|this[Ce+3])},re.prototype.readIntLE=function(Ce,De,Fe){Ce=Ce>>>0,De=De>>>0,Fe||Ue(Ce,De,this.length);for(var Ye=this[Ce],nt=1,$e=0;++$e<De&&(nt*=256);)Ye+=this[Ce+$e]*nt;return nt*=128,Ye>=nt&&(Ye-=Math.pow(2,8*De)),Ye},re.prototype.readIntBE=function(Ce,De,Fe){Ce=Ce>>>0,De=De>>>0,Fe||Ue(Ce,De,this.length);for(var Ye=De,nt=1,$e=this[Ce+--Ye];Ye>0&&(nt*=256);)$e+=this[Ce+--Ye]*nt;return nt*=128,$e>=nt&&($e-=Math.pow(2,8*De)),$e},re.prototype.readInt8=function(Ce,De){return Ce=Ce>>>0,De||Ue(Ce,1,this.length),this[Ce]&128?(255-this[Ce]+1)*-1:this[Ce]},re.prototype.readInt16LE=function(Ce,De){Ce=Ce>>>0,De||Ue(Ce,2,this.length);var Fe=this[Ce]|this[Ce+1]<<8;return Fe&32768?Fe|4294901760:Fe},re.prototype.readInt16BE=function(Ce,De){Ce=Ce>>>0,De||Ue(Ce,2,this.length);var Fe=this[Ce+1]|this[Ce]<<8;return Fe&32768?Fe|4294901760:Fe},re.prototype.readInt32LE=function(Ce,De){return Ce=Ce>>>0,De||Ue(Ce,4,this.length),this[Ce]|this[Ce+1]<<8|this[Ce+2]<<16|this[Ce+3]<<24},re.prototype.readInt32BE=function(Ce,De){return Ce=Ce>>>0,De||Ue(Ce,4,this.length),this[Ce]<<24|this[Ce+1]<<16|this[Ce+2]<<8|this[Ce+3]},re.prototype.readFloatLE=function(Ce,De){return Ce=Ce>>>0,De||Ue(Ce,4,this.length),ie.read(this,Ce,!0,23,4)},re.prototype.readFloatBE=function(Ce,De){return Ce=Ce>>>0,De||Ue(Ce,4,this.length),ie.read(this,Ce,!1,23,4)},re.prototype.readDoubleLE=function(Ce,De){return Ce=Ce>>>0,De||Ue(Ce,8,this.length),ie.read(this,Ce,!0,52,8)},re.prototype.readDoubleBE=function(Ce,De){return Ce=Ce>>>0,De||Ue(Ce,8,this.length),ie.read(this,Ce,!1,52,8)};function ke(je,Ce,De,Fe,Ye,nt){if(!re.isBuffer(je))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ce>Ye||Ce<nt)throw new RangeError('"value" argument is out of bounds');if(De+Fe>je.length)throw new RangeError("Index out of range")}re.prototype.writeUIntLE=function(Ce,De,Fe,Ye){if(Ce=+Ce,De=De>>>0,Fe=Fe>>>0,!Ye){var nt=Math.pow(2,8*Fe)-1;ke(this,Ce,De,Fe,nt,0)}var $e=1,tt=0;for(this[De]=Ce&255;++tt<Fe&&($e*=256);)this[De+tt]=Ce/$e&255;return De+Fe},re.prototype.writeUIntBE=function(Ce,De,Fe,Ye){if(Ce=+Ce,De=De>>>0,Fe=Fe>>>0,!Ye){var nt=Math.pow(2,8*Fe)-1;ke(this,Ce,De,Fe,nt,0)}var $e=Fe-1,tt=1;for(this[De+$e]=Ce&255;--$e>=0&&(tt*=256);)this[De+$e]=Ce/tt&255;return De+Fe},re.prototype.writeUInt8=function(Ce,De,Fe){return Ce=+Ce,De=De>>>0,Fe||ke(this,Ce,De,1,255,0),this[De]=Ce&255,De+1},re.prototype.writeUInt16LE=function(Ce,De,Fe){return Ce=+Ce,De=De>>>0,Fe||ke(this,Ce,De,2,65535,0),this[De]=Ce&255,this[De+1]=Ce>>>8,De+2},re.prototype.writeUInt16BE=function(Ce,De,Fe){return Ce=+Ce,De=De>>>0,Fe||ke(this,Ce,De,2,65535,0),this[De]=Ce>>>8,this[De+1]=Ce&255,De+2},re.prototype.writeUInt32LE=function(Ce,De,Fe){return Ce=+Ce,De=De>>>0,Fe||ke(this,Ce,De,4,4294967295,0),this[De+3]=Ce>>>24,this[De+2]=Ce>>>16,this[De+1]=Ce>>>8,this[De]=Ce&255,De+4},re.prototype.writeUInt32BE=function(Ce,De,Fe){return Ce=+Ce,De=De>>>0,Fe||ke(this,Ce,De,4,4294967295,0),this[De]=Ce>>>24,this[De+1]=Ce>>>16,this[De+2]=Ce>>>8,this[De+3]=Ce&255,De+4},re.prototype.writeIntLE=function(Ce,De,Fe,Ye){if(Ce=+Ce,De=De>>>0,!Ye){var nt=Math.pow(2,8*Fe-1);ke(this,Ce,De,Fe,nt-1,-nt)}var $e=0,tt=1,lt=0;for(this[De]=Ce&255;++$e<Fe&&(tt*=256);)Ce<0&<===0&&this[De+$e-1]!==0&&(lt=1),this[De+$e]=(Ce/tt>>0)-lt&255;return De+Fe},re.prototype.writeIntBE=function(Ce,De,Fe,Ye){if(Ce=+Ce,De=De>>>0,!Ye){var nt=Math.pow(2,8*Fe-1);ke(this,Ce,De,Fe,nt-1,-nt)}var $e=Fe-1,tt=1,lt=0;for(this[De+$e]=Ce&255;--$e>=0&&(tt*=256);)Ce<0&<===0&&this[De+$e+1]!==0&&(lt=1),this[De+$e]=(Ce/tt>>0)-lt&255;return De+Fe},re.prototype.writeInt8=function(Ce,De,Fe){return Ce=+Ce,De=De>>>0,Fe||ke(this,Ce,De,1,127,-128),Ce<0&&(Ce=255+Ce+1),this[De]=Ce&255,De+1},re.prototype.writeInt16LE=function(Ce,De,Fe){return Ce=+Ce,De=De>>>0,Fe||ke(this,Ce,De,2,32767,-32768),this[De]=Ce&255,this[De+1]=Ce>>>8,De+2},re.prototype.writeInt16BE=function(Ce,De,Fe){return Ce=+Ce,De=De>>>0,Fe||ke(this,Ce,De,2,32767,-32768),this[De]=Ce>>>8,this[De+1]=Ce&255,De+2},re.prototype.writeInt32LE=function(Ce,De,Fe){return Ce=+Ce,De=De>>>0,Fe||ke(this,Ce,De,4,2147483647,-2147483648),this[De]=Ce&255,this[De+1]=Ce>>>8,this[De+2]=Ce>>>16,this[De+3]=Ce>>>24,De+4},re.prototype.writeInt32BE=function(Ce,De,Fe){return Ce=+Ce,De=De>>>0,Fe||ke(this,Ce,De,4,2147483647,-2147483648),Ce<0&&(Ce=4294967295+Ce+1),this[De]=Ce>>>24,this[De+1]=Ce>>>16,this[De+2]=Ce>>>8,this[De+3]=Ce&255,De+4};function Re(je,Ce,De,Fe,Ye,nt){if(De+Fe>je.length)throw new RangeError("Index out of range");if(De<0)throw new RangeError("Index out of range")}function He(je,Ce,De,Fe,Ye){return Ce=+Ce,De=De>>>0,Ye||Re(je,Ce,De,4,34028234663852886e22,-34028234663852886e22),ie.write(je,Ce,De,Fe,23,4),De+4}re.prototype.writeFloatLE=function(Ce,De,Fe){return He(this,Ce,De,!0,Fe)},re.prototype.writeFloatBE=function(Ce,De,Fe){return He(this,Ce,De,!1,Fe)};function qe(je,Ce,De,Fe,Ye){return Ce=+Ce,De=De>>>0,Ye||Re(je,Ce,De,8,17976931348623157e292,-17976931348623157e292),ie.write(je,Ce,De,Fe,52,8),De+8}re.prototype.writeDoubleLE=function(Ce,De,Fe){return qe(this,Ce,De,!0,Fe)},re.prototype.writeDoubleBE=function(Ce,De,Fe){return qe(this,Ce,De,!1,Fe)},re.prototype.copy=function(Ce,De,Fe,Ye){if(!re.isBuffer(Ce))throw new TypeError("argument should be a Buffer");if(Fe||(Fe=0),!Ye&&Ye!==0&&(Ye=this.length),De>=Ce.length&&(De=Ce.length),De||(De=0),Ye>0&&Ye<Fe&&(Ye=Fe),Ye===Fe||Ce.length===0||this.length===0)return 0;if(De<0)throw new RangeError("targetStart out of bounds");if(Fe<0||Fe>=this.length)throw new RangeError("Index out of range");if(Ye<0)throw new RangeError("sourceEnd out of bounds");Ye>this.length&&(Ye=this.length),Ce.length-De<Ye-Fe&&(Ye=Ce.length-De+Fe);var nt=Ye-Fe;if(this===Ce&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(De,Fe,Ye);else if(this===Ce&&Fe<De&&De<Ye)for(var $e=nt-1;$e>=0;--$e)Ce[$e+De]=this[$e+Fe];else Uint8Array.prototype.set.call(Ce,this.subarray(Fe,Ye),De);return nt},re.prototype.fill=function(Ce,De,Fe,Ye){if(typeof Ce=="string"){if(typeof De=="string"?(Ye=De,De=0,Fe=this.length):typeof Fe=="string"&&(Ye=Fe,Fe=this.length),Ye!==void 0&&typeof Ye!="string")throw new TypeError("encoding must be a string");if(typeof Ye=="string"&&!re.isEncoding(Ye))throw new TypeError("Unknown encoding: "+Ye);if(Ce.length===1){var nt=Ce.charCodeAt(0);(Ye==="utf8"&&nt<128||Ye==="latin1")&&(Ce=nt)}}else typeof Ce=="number"&&(Ce=Ce&255);if(De<0||this.length<De||this.length<Fe)throw new RangeError("Out of range index");if(Fe<=De)return this;De=De>>>0,Fe=Fe===void 0?this.length:Fe>>>0,Ce||(Ce=0);var $e;if(typeof Ce=="number")for($e=De;$e<Fe;++$e)this[$e]=Ce;else{var tt=re.isBuffer(Ce)?Ce:re.from(Ce,Ye),lt=tt.length;if(lt===0)throw new TypeError('The value "'+Ce+'" is invalid for argument "value"');for($e=0;$e<Fe-De;++$e)this[$e+De]=tt[$e%lt]}return this};var rt=/[^+/0-9A-Za-z-_]/g;function We(je){if(je=je.split("=")[0],je=je.trim().replace(rt,""),je.length<2)return"";for(;je.length%4!==0;)je=je+"=";return je}function ze(je){return je<16?"0"+je.toString(16):je.toString(16)}function Me(je,Ce){Ce=Ce||1/0;for(var De,Fe=je.length,Ye=null,nt=[],$e=0;$e<Fe;++$e){if(De=je.charCodeAt($e),De>55295&&De<57344){if(!Ye){if(De>56319){(Ce-=3)>-1&&nt.push(239,191,189);continue}else if($e+1===Fe){(Ce-=3)>-1&&nt.push(239,191,189);continue}Ye=De;continue}if(De<56320){(Ce-=3)>-1&&nt.push(239,191,189),Ye=De;continue}De=(Ye-55296<<10|De-56320)+65536}else Ye&&(Ce-=3)>-1&&nt.push(239,191,189);if(Ye=null,De<128){if((Ce-=1)<0)break;nt.push(De)}else if(De<2048){if((Ce-=2)<0)break;nt.push(De>>6|192,De&63|128)}else if(De<65536){if((Ce-=3)<0)break;nt.push(De>>12|224,De>>6&63|128,De&63|128)}else if(De<1114112){if((Ce-=4)<0)break;nt.push(De>>18|240,De>>12&63|128,De>>6&63|128,De&63|128)}else throw new Error("Invalid code point")}return nt}function Ge(je){for(var Ce=[],De=0;De<je.length;++De)Ce.push(je.charCodeAt(De)&255);return Ce}function Le(je,Ce){for(var De,Fe,Ye,nt=[],$e=0;$e<je.length&&!((Ce-=2)<0);++$e)De=je.charCodeAt($e),Fe=De>>8,Ye=De%256,nt.push(Ye),nt.push(Fe);return nt}function Ve(je){return ae.toByteArray(We(je))}function ot(je,Ce,De,Fe){for(var Ye=0;Ye<Fe&&!(Ye+De>=Ce.length||Ye>=je.length);++Ye)Ce[Ye+De]=je[Ye];return Ye}function et(je,Ce){return je instanceof Ce||je!=null&&je.constructor!=null&&je.constructor.name!=null&&je.constructor.name===Ce.name}function Xe(je){return je!==je}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,me,de){me.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,me,de){"use strict";var le=E("get-intrinsic"),ae=E("./"),ie=ae(le("String.prototype.indexOf"));me.exports=function(ce,oe){var re=le(ce,!!oe);return typeof re=="function"&&ie(ce,".prototype.")>-1?ae(re):re}},{"./":93,"get-intrinsic":348}],93:[function(E,me,de){"use strict";var le=E("function-bind"),ae=E("get-intrinsic"),ie=ae("%Function.prototype.apply%"),se=ae("%Function.prototype.call%"),ce=ae("%Reflect.apply%",!0)||le.call(se,ie),oe=ae("%Object.getOwnPropertyDescriptor%",!0),re=ae("%Object.defineProperty%",!0),ne=ae("%Math.max%");if(re)try{re({},"a",{value:1})}catch(a){re=null}me.exports=function(y){var x=ce(le,se,arguments);if(oe&&re){var b=oe(x,"length");b.configurable&&re(x,"length",{value:1+ne(0,y.length-(arguments.length-1))})}return x};var te=function(){return ce(le,ie,arguments)};re?re(me.exports,"apply",{value:te}):me.exports.apply=te},{"function-bind":347,"get-intrinsic":348}],94:[function(E,me,de){"use strict";var le=Array.prototype.slice;me.exports=ae;function ae(se,ce){if(!(this instanceof ae))return new ae(se,ce);this.src=se,this._withAccess=ce}ae.prototype.withAccess=function(se){return this._withAccess=se!==!1,this},ae.prototype.pick=function(se){return Array.isArray(se)||(se=le.call(arguments)),se.length&&(this.keys=se),this},ae.prototype.to=function(se){if(se=se||{},!this.src)return se;var ce=this.keys||Object.keys(this.src);if(!this._withAccess){for(var oe=0;oe<ce.length;oe++)re=ce[oe],se[re]===void 0&&(se[re]=this.src[re]);return se}for(var oe=0;oe<ce.length;oe++){var re=ce[oe];if(ie(se,re)){var ne=this.src.__lookupGetter__(re),te=this.src.__lookupSetter__(re);ne&&se.__defineGetter__(re,ne),te&&se.__defineSetter__(re,te),!ne&&!te&&(se[re]=this.src[re])}}return se},ae.prototype.toCover=function(se){for(var ce=this.keys||Object.keys(this.src),oe=0;oe<ce.length;oe++){var re=ce[oe];delete se[re];var ne=this.src.__lookupGetter__(re),te=this.src.__lookupSetter__(re);ne&&se.__defineGetter__(re,ne),te&&se.__defineSetter__(re,te),!ne&&!te&&(se[re]=this.src[re])}},ae.prototype.override=ae.prototype.toCover,ae.prototype.and=function(se){var ce={};return this.to(ce),this.src=se,this.to(ce),this.src=ce,this};function ie(se,ce){return se[ce]===void 0&&se.__lookupGetter__(ce)===void 0&&se.__lookupSetter__(ce)===void 0}},{}],95:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/is-callable"),ie=E("../internals/try-to-string"),se=le.TypeError;me.exports=function(ce){if(ae(ce))return ce;throw se(ie(ce)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/is-constructor"),ie=E("../internals/try-to-string"),se=le.TypeError;me.exports=function(ce){if(ae(ce))return ce;throw se(ie(ce)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/is-callable"),ie=le.String,se=le.TypeError;me.exports=function(ce){if(typeof ce=="object"||ae(ce))return ce;throw se("Can't set "+ie(ce)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(E,me,de){var le=E("../internals/well-known-symbol"),ae=E("../internals/object-create"),ie=E("../internals/object-define-property"),se=le("unscopables"),ce=Array.prototype;ce[se]==null&&ie.f(ce,se,{configurable:!0,value:ae(null)}),me.exports=function(oe){ce[se][oe]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(E,me,de){"use strict";var le=E("../internals/string-multibyte").charAt;me.exports=function(ae,ie,se){return ie+(se?le(ae,ie).length:1)}},{"../internals/string-multibyte":239}],100:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/object-is-prototype-of"),ie=le.TypeError;me.exports=function(se,ce){if(ae(ce,se))return se;throw ie("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/is-object"),ie=le.String,se=le.TypeError;me.exports=function(ce){if(ae(ce))return ce;throw se(ie(ce)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(E,me,de){me.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-native"),ae=E("../internals/descriptors"),ie=E("../internals/global"),se=E("../internals/is-callable"),ce=E("../internals/is-object"),oe=E("../internals/has-own-property"),re=E("../internals/classof"),ne=E("../internals/try-to-string"),te=E("../internals/create-non-enumerable-property"),a=E("../internals/redefine"),y=E("../internals/object-define-property").f,x=E("../internals/object-is-prototype-of"),b=E("../internals/object-get-prototype-of"),ee=E("../internals/object-set-prototype-of"),z=E("../internals/well-known-symbol"),ue=E("../internals/uid"),fe=ie.Int8Array,ge=fe&&fe.prototype,he=ie.Uint8ClampedArray,pe=he&&he.prototype,ye=fe&&b(fe),ve=ge&&b(ge),Pe=Object.prototype,we=ie.TypeError,Ae=z("toStringTag"),_e=ue("TYPED_ARRAY_TAG"),xe=ue("TYPED_ARRAY_CONSTRUCTOR"),Ee=le&&!!ee&&re(ie.opera)!=="Opera",Oe=!1,Ie,Ne,Te,Je={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Qe={BigInt64Array:8,BigUint64Array:8},Ze=function(rt){if(!ce(rt))return!1;var We=re(rt);return We==="DataView"||oe(Je,We)||oe(Qe,We)},Ke=function(qe){if(!ce(qe))return!1;var rt=re(qe);return oe(Je,rt)||oe(Qe,rt)},Ue=function(qe){if(Ke(qe))return qe;throw we("Target is not a typed array")},ke=function(qe){if(se(qe)&&(!ee||x(ye,qe)))return qe;throw we(ne(qe)+" is not a typed array constructor")},Re=function(qe,rt,We,ze){if(ae){if(We)for(var Me in Je){var Ge=ie[Me];if(Ge&&oe(Ge.prototype,qe))try{delete Ge.prototype[qe]}catch(Le){try{Ge.prototype[qe]=rt}catch(Ve){}}}(!ve[qe]||We)&&a(ve,qe,We?rt:Ee&&ge[qe]||rt,ze)}},He=function(qe,rt,We){var ze,Me;if(ae){if(ee){if(We){for(ze in Je)if(Me=ie[ze],Me&&oe(Me,qe))try{delete Me[qe]}catch(Ge){}}if(!ye[qe]||We)try{return a(ye,qe,We?rt:Ee&&ye[qe]||rt)}catch(Ge){}else return}for(ze in Je)Me=ie[ze],Me&&(!Me[qe]||We)&&a(Me,qe,rt)}};for(Ie in Je)Ne=ie[Ie],Te=Ne&&Ne.prototype,Te?te(Te,xe,Ne):Ee=!1;for(Ie in Qe)Ne=ie[Ie],Te=Ne&&Ne.prototype,Te&&te(Te,xe,Ne);if((!Ee||!se(ye)||ye===Function.prototype)&&(ye=function(){throw we("Incorrect invocation")},Ee))for(Ie in Je)ie[Ie]&&ee(ie[Ie],ye);if((!Ee||!ve||ve===Pe)&&(ve=ye.prototype,Ee))for(Ie in Je)ie[Ie]&&ee(ie[Ie].prototype,ve);if(Ee&&b(pe)!==ve&&ee(pe,ve),ae&&!oe(ve,Ae)){Oe=!0,y(ve,Ae,{get:function(){return ce(this)?this[_e]:void 0}});for(Ie in Je)ie[Ie]&&te(ie[Ie],_e,Ie)}me.exports={NATIVE_ARRAY_BUFFER_VIEWS:Ee,TYPED_ARRAY_CONSTRUCTOR:xe,TYPED_ARRAY_TAG:Oe&&_e,aTypedArray:Ue,aTypedArrayConstructor:ke,exportTypedArrayMethod:Re,exportTypedArrayStaticMethod:He,isView:Ze,isTypedArray:Ke,TypedArray:ye,TypedArrayPrototype:ve}},{"../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,me,de){"use strict";var le=E("../internals/global"),ae=E("../internals/function-uncurry-this"),ie=E("../internals/descriptors"),se=E("../internals/array-buffer-native"),ce=E("../internals/function-name"),oe=E("../internals/create-non-enumerable-property"),re=E("../internals/redefine-all"),ne=E("../internals/fails"),te=E("../internals/an-instance"),a=E("../internals/to-integer-or-infinity"),y=E("../internals/to-length"),x=E("../internals/to-index"),b=E("../internals/ieee754"),ee=E("../internals/object-get-prototype-of"),z=E("../internals/object-set-prototype-of"),ue=E("../internals/object-get-own-property-names").f,fe=E("../internals/object-define-property").f,ge=E("../internals/array-fill"),he=E("../internals/array-slice-simple"),pe=E("../internals/set-to-string-tag"),ye=E("../internals/internal-state"),ve=ce.PROPER,Pe=ce.CONFIGURABLE,we=ye.get,Ae=ye.set,_e="ArrayBuffer",xe="DataView",Ee="prototype",Oe="Wrong length",Ie="Wrong index",Ne=le[_e],Te=Ne,Je=Te&&Te[Ee],Qe=le[xe],Ze=Qe&&Qe[Ee],Ke=Object.prototype,Ue=le.Array,ke=le.RangeError,Re=ae(ge),He=ae([].reverse),qe=b.pack,rt=b.unpack,We=function($e){return[$e&255]},ze=function($e){return[$e&255,$e>>8&255]},Me=function($e){return[$e&255,$e>>8&255,$e>>16&255,$e>>24&255]},Ge=function($e){return $e[3]<<24|$e[2]<<16|$e[1]<<8|$e[0]},Le=function($e){return qe($e,23,4)},Ve=function($e){return qe($e,52,8)},ot=function($e,tt){fe($e[Ee],tt,{get:function(){return we(this)[tt]}})},et=function($e,tt,lt,at){var ut=x(lt),st=we($e);if(ut+tt>st.byteLength)throw ke(Ie);var vt=we(st.buffer).bytes,mt=ut+st.byteOffset,pt=he(vt,mt,mt+tt);return at?pt:He(pt)},Xe=function($e,tt,lt,at,ut,st){var vt=x(lt),mt=we($e);if(vt+tt>mt.byteLength)throw ke(Ie);for(var pt=we(mt.buffer).bytes,yt=vt+mt.byteOffset,Et=at(+ut),At=0;At<tt;At++)pt[yt+At]=Et[st?At:tt-At-1]};if(!se)Te=function(tt){te(this,Je);var lt=x(tt);Ae(this,{bytes:Re(Ue(lt),0),byteLength:lt}),ie||(this.byteLength=lt)},Je=Te[Ee],Qe=function(tt,lt,at){te(this,Ze),te(tt,Je);var ut=we(tt).byteLength,st=a(lt);if(st<0||st>ut)throw ke("Wrong offset");if(at=at===void 0?ut-st:y(at),st+at>ut)throw ke(Oe);Ae(this,{buffer:tt,byteLength:at,byteOffset:st}),ie||(this.buffer=tt,this.byteLength=at,this.byteOffset=st)},Ze=Qe[Ee],ie&&(ot(Te,"byteLength"),ot(Qe,"buffer"),ot(Qe,"byteLength"),ot(Qe,"byteOffset")),re(Ze,{getInt8:function(tt){return et(this,1,tt)[0]<<24>>24},getUint8:function(tt){return et(this,1,tt)[0]},getInt16:function(tt){var lt=et(this,2,tt,arguments.length>1?arguments[1]:void 0);return(lt[1]<<8|lt[0])<<16>>16},getUint16:function(tt){var lt=et(this,2,tt,arguments.length>1?arguments[1]:void 0);return lt[1]<<8|lt[0]},getInt32:function(tt){return Ge(et(this,4,tt,arguments.length>1?arguments[1]:void 0))},getUint32:function(tt){return Ge(et(this,4,tt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(tt){return rt(et(this,4,tt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(tt){return rt(et(this,8,tt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(tt,lt){Xe(this,1,tt,We,lt)},setUint8:function(tt,lt){Xe(this,1,tt,We,lt)},setInt16:function(tt,lt){Xe(this,2,tt,ze,lt,arguments.length>2?arguments[2]:void 0)},setUint16:function(tt,lt){Xe(this,2,tt,ze,lt,arguments.length>2?arguments[2]:void 0)},setInt32:function(tt,lt){Xe(this,4,tt,Me,lt,arguments.length>2?arguments[2]:void 0)},setUint32:function(tt,lt){Xe(this,4,tt,Me,lt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(tt,lt){Xe(this,4,tt,Le,lt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(tt,lt){Xe(this,8,tt,Ve,lt,arguments.length>2?arguments[2]:void 0)}});else{var je=ve&&Ne.name!==_e;if(!ne(function(){Ne(1)})||!ne(function(){new Ne(-1)})||ne(function(){return new Ne,new Ne(1.5),new Ne(NaN),je&&!Pe})){Te=function(tt){return te(this,Je),new Ne(x(tt))},Te[Ee]=Je;for(var Ce=ue(Ne),De=0,Fe;Ce.length>De;)(Fe=Ce[De++])in Te||oe(Te,Fe,Ne[Fe]);Je.constructor=Te}else je&&Pe&&oe(Ne,"name",_e);z&&ee(Ze)!==Ke&&z(Ze,Ke);var Ye=new Qe(new Te(2)),nt=ae(Ze.setInt8);Ye.setInt8(0,2147483648),Ye.setInt8(1,2147483649),(Ye.getInt8(0)||!Ye.getInt8(1))&&re(Ze,{setInt8:function(tt,lt){nt(this,tt,lt<<24>>24)},setUint8:function(tt,lt){nt(this,tt,lt<<24>>24)}},{unsafe:!0})}pe(Te,_e),pe(Qe,xe),me.exports={ArrayBuffer:Te,DataView:Qe}},{"../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,me,de){"use strict";var le=E("../internals/to-object"),ae=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),se=Math.min;me.exports=[].copyWithin||function(oe,re){var ne=le(this),te=ie(ne),a=ae(oe,te),y=ae(re,te),x=arguments.length>2?arguments[2]:void 0,b=se((x===void 0?te:ae(x,te))-y,te-a),ee=1;for(y<a&&a<y+b&&(ee=-1,y+=b-1,a+=b-1);b-- >0;)y in ne?ne[a]=ne[y]:delete ne[a],a+=ee,y+=ee;return ne}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,me,de){"use strict";var le=E("../internals/to-object"),ae=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like");me.exports=function(ce){for(var oe=le(this),re=ie(oe),ne=arguments.length,te=ae(ne>1?arguments[1]:void 0,re),a=ne>2?arguments[2]:void 0,y=a===void 0?re:ae(a,re);y>te;)oe[te++]=ce;return oe}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,me,de){"use strict";var le=E("../internals/array-iteration").forEach,ae=E("../internals/array-method-is-strict"),ie=ae("forEach");me.exports=ie?[].forEach:function(ce){return le(this,ce,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,me,de){var le=E("../internals/length-of-array-like");me.exports=function(ae,ie){for(var se=0,ce=le(ie),oe=new ae(ce);ce>se;)oe[se]=ie[se++];return oe}},{"../internals/length-of-array-like":188}],109:[function(E,me,de){"use strict";var le=E("../internals/global"),ae=E("../internals/function-bind-context"),ie=E("../internals/function-call"),se=E("../internals/to-object"),ce=E("../internals/call-with-safe-iteration-closing"),oe=E("../internals/is-array-iterator-method"),re=E("../internals/is-constructor"),ne=E("../internals/length-of-array-like"),te=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=le.Array;me.exports=function(ee){var z=se(ee),ue=re(this),fe=arguments.length,ge=fe>1?arguments[1]:void 0,he=ge!==void 0;he&&(ge=ae(ge,fe>2?arguments[2]:void 0));var pe=y(z),ye=0,ve,Pe,we,Ae,_e,xe;if(pe&&!(this==x&&oe(pe)))for(Ae=a(z,pe),_e=Ae.next,Pe=ue?new this:[];!(we=ie(_e,Ae)).done;ye++)xe=he?ce(Ae,ge,[we.value,ye],!0):we.value,te(Pe,ye,xe);else for(ve=ne(z),Pe=ue?new this(ve):x(ve);ve>ye;ye++)xe=he?ge(z[ye],ye):z[ye],te(Pe,ye,xe);return Pe.length=ye,Pe}},{"../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,me,de){var le=E("../internals/to-indexed-object"),ae=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),se=function(ce){return function(oe,re,ne){var te=le(oe),a=ie(te),y=ae(ne,a),x;if(ce&&re!=re){for(;a>y;)if(x=te[y++],x!=x)return!0}else for(;a>y;y++)if((ce||y in te)&&te[y]===re)return ce||y||0;return!ce&&-1}};me.exports={includes:se(!0),indexOf:se(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,me,de){var le=E("../internals/function-bind-context"),ae=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),se=E("../internals/to-object"),ce=E("../internals/length-of-array-like"),oe=E("../internals/array-species-create"),re=ae([].push),ne=function(te){var a=te==1,y=te==2,x=te==3,b=te==4,ee=te==6,z=te==7,ue=te==5||ee;return function(fe,ge,he,pe){for(var ye=se(fe),ve=ie(ye),Pe=le(ge,he),we=ce(ve),Ae=0,_e=pe||oe,xe=a?_e(fe,we):y||z?_e(fe,0):void 0,Ee,Oe;we>Ae;Ae++)if((ue||Ae in ve)&&(Ee=ve[Ae],Oe=Pe(Ee,Ae,ye),te))if(a)xe[Ae]=Oe;else if(Oe)switch(te){case 3:return!0;case 5:return Ee;case 6:return Ae;case 2:re(xe,Ee)}else switch(te){case 4:return!1;case 7:re(xe,Ee)}return ee?-1:x||b?b:xe}};me.exports={forEach:ne(0),map:ne(1),filter:ne(2),some:ne(3),every:ne(4),find:ne(5),findIndex:ne(6),filterReject:ne(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,me,de){"use strict";var le=E("../internals/function-apply"),ae=E("../internals/to-indexed-object"),ie=E("../internals/to-integer-or-infinity"),se=E("../internals/length-of-array-like"),ce=E("../internals/array-method-is-strict"),oe=Math.min,re=[].lastIndexOf,ne=!!re&&1/[1].lastIndexOf(1,-0)<0,te=ce("lastIndexOf"),a=ne||!te;me.exports=a?function(x){if(ne)return le(re,this,arguments)||0;var b=ae(this),ee=se(b),z=ee-1;for(arguments.length>1&&(z=oe(z,ie(arguments[1]))),z<0&&(z=ee+z);z>=0;z--)if(z in b&&b[z]===x)return z||0;return-1}:re},{"../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,me,de){var le=E("../internals/fails"),ae=E("../internals/well-known-symbol"),ie=E("../internals/engine-v8-version"),se=ae("species");me.exports=function(ce){return ie>=51||!le(function(){var oe=[],re=oe.constructor={};return re[se]=function(){return{foo:1}},oe[ce](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,me,de){"use strict";var le=E("../internals/fails");me.exports=function(ae,ie){var se=[][ae];return!!se&&le(function(){se.call(null,ie||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/a-callable"),ie=E("../internals/to-object"),se=E("../internals/indexed-object"),ce=E("../internals/length-of-array-like"),oe=le.TypeError,re=function(ne){return function(te,a,y,x){ae(a);var b=ie(te),ee=se(b),z=ce(b),ue=ne?z-1:0,fe=ne?-1:1;if(y<2)for(;;){if(ue in ee){x=ee[ue],ue+=fe;break}if(ue+=fe,ne?ue<0:z<=ue)throw oe("Reduce of empty array with no initial value")}for(;ne?ue>=0:z>ue;ue+=fe)ue in ee&&(x=a(x,ee[ue],ue,b));return x}};me.exports={left:re(!1),right:re(!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,me,de){var le=E("../internals/global"),ae=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),se=E("../internals/create-property"),ce=le.Array,oe=Math.max;me.exports=function(re,ne,te){for(var a=ie(re),y=ae(ne,a),x=ae(te===void 0?a:te,a),b=ce(oe(x-y,0)),ee=0;y<x;y++,ee++)se(b,ee,re[y]);return b.length=ee,b}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(E,me,de){var le=E("../internals/function-uncurry-this");me.exports=le([].slice)},{"../internals/function-uncurry-this":157}],118:[function(E,me,de){var le=E("../internals/array-slice-simple"),ae=Math.floor,ie=function(oe,re){var ne=oe.length,te=ae(ne/2);return ne<8?se(oe,re):ce(oe,ie(le(oe,0,te),re),ie(le(oe,te),re),re)},se=function(oe,re){for(var ne=oe.length,te=1,a,y;te<ne;){for(y=te,a=oe[te];y&&re(oe[y-1],a)>0;)oe[y]=oe[--y];y!==te++&&(oe[y]=a)}return oe},ce=function(oe,re,ne,te){for(var a=re.length,y=ne.length,x=0,b=0;x<a||b<y;)oe[x+b]=x<a&&b<y?te(re[x],ne[b])<=0?re[x++]:ne[b++]:x<a?re[x++]:ne[b++];return oe};me.exports=ie},{"../internals/array-slice-simple":116}],119:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/is-array"),ie=E("../internals/is-constructor"),se=E("../internals/is-object"),ce=E("../internals/well-known-symbol"),oe=ce("species"),re=le.Array;me.exports=function(ne){var te;return ae(ne)&&(te=ne.constructor,ie(te)&&(te===re||ae(te.prototype))?te=void 0:se(te)&&(te=te[oe],te===null&&(te=void 0))),te===void 0?re:te}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(E,me,de){var le=E("../internals/array-species-constructor");me.exports=function(ae,ie){return new(le(ae))(ie===0?0:ie)}},{"../internals/array-species-constructor":119}],121:[function(E,me,de){var le=E("../internals/an-object"),ae=E("../internals/iterator-close");me.exports=function(ie,se,ce,oe){try{return oe?se(le(ce)[0],ce[1]):se(ce)}catch(re){ae(ie,"throw",re)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(E,me,de){var le=E("../internals/well-known-symbol"),ae=le("iterator"),ie=!1;try{var se=0,ce={next:function(){return{done:!!se++}},return:function(){ie=!0}};ce[ae]=function(){return this},Array.from(ce,function(){throw 2})}catch(oe){}me.exports=function(oe,re){if(!re&&!ie)return!1;var ne=!1;try{var te={};te[ae]=function(){return{next:function(){return{done:ne=!0}}}},oe(te)}catch(a){}return ne}},{"../internals/well-known-symbol":268}],123:[function(E,me,de){var le=E("../internals/function-uncurry-this"),ae=le({}.toString),ie=le("".slice);me.exports=function(se){return ie(ae(se),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/to-string-tag-support"),ie=E("../internals/is-callable"),se=E("../internals/classof-raw"),ce=E("../internals/well-known-symbol"),oe=ce("toStringTag"),re=le.Object,ne=se(function(){return arguments}())=="Arguments",te=function(a,y){try{return a[y]}catch(x){}};me.exports=ae?se:function(a){var y,x,b;return a===void 0?"Undefined":a===null?"Null":typeof(x=te(y=re(a),oe))=="string"?x:ne?se(y):(b=se(y))=="Object"&&ie(y.callee)?"Arguments":b}},{"../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,me,de){var le=E("../internals/has-own-property"),ae=E("../internals/own-keys"),ie=E("../internals/object-get-own-property-descriptor"),se=E("../internals/object-define-property");me.exports=function(ce,oe,re){for(var ne=ae(oe),te=se.f,a=ie.f,y=0;y<ne.length;y++){var x=ne[y];!le(ce,x)&&!(re&&le(re,x))&&te(ce,x,a(oe,x))}}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/own-keys":212}],126:[function(E,me,de){var le=E("../internals/well-known-symbol"),ae=le("match");me.exports=function(ie){var se=/./;try{"/./"[ie](se)}catch(ce){try{return se[ae]=!1,"/./"[ie](se)}catch(oe){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(E,me,de){var le=E("../internals/fails");me.exports=!le(function(){function ae(){}return ae.prototype.constructor=null,Object.getPrototypeOf(new ae)!==ae.prototype})},{"../internals/fails":150}],128:[function(E,me,de){"use strict";var le=E("../internals/iterators-core").IteratorPrototype,ae=E("../internals/object-create"),ie=E("../internals/create-property-descriptor"),se=E("../internals/set-to-string-tag"),ce=E("../internals/iterators"),oe=function(){return this};me.exports=function(re,ne,te,a){var y=ne+" Iterator";return re.prototype=ae(le,{next:ie(+!a,te)}),se(re,y,!1,!0),ce[y]=oe,re}},{"../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,me,de){var le=E("../internals/descriptors"),ae=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");me.exports=le?function(se,ce,oe){return ae.f(se,ce,ie(1,oe))}:function(se,ce,oe){return se[ce]=oe,se}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(E,me,de){me.exports=function(le,ae){return{enumerable:!(le&1),configurable:!(le&2),writable:!(le&4),value:ae}}},{}],131:[function(E,me,de){"use strict";var le=E("../internals/to-property-key"),ae=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");me.exports=function(se,ce,oe){var re=le(ce);re in se?ae.f(se,re,ie(0,oe)):se[re]=oe}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(E,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/function-call"),ie=E("../internals/is-pure"),se=E("../internals/function-name"),ce=E("../internals/is-callable"),oe=E("../internals/create-iterator-constructor"),re=E("../internals/object-get-prototype-of"),ne=E("../internals/object-set-prototype-of"),te=E("../internals/set-to-string-tag"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/redefine"),x=E("../internals/well-known-symbol"),b=E("../internals/iterators"),ee=E("../internals/iterators-core"),z=se.PROPER,ue=se.CONFIGURABLE,fe=ee.IteratorPrototype,ge=ee.BUGGY_SAFARI_ITERATORS,he=x("iterator"),pe="keys",ye="values",ve="entries",Pe=function(){return this};me.exports=function(we,Ae,_e,xe,Ee,Oe,Ie){oe(_e,Ae,xe);var Ne=function(qe){if(qe===Ee&&Ke)return Ke;if(!ge&&qe in Qe)return Qe[qe];switch(qe){case pe:return function(){return new _e(this,qe)};case ye:return function(){return new _e(this,qe)};case ve:return function(){return new _e(this,qe)}}return function(){return new _e(this)}},Te=Ae+" Iterator",Je=!1,Qe=we.prototype,Ze=Qe[he]||Qe["@@iterator"]||Ee&&Qe[Ee],Ke=!ge&&Ze||Ne(Ee),Ue=Ae=="Array"&&Qe.entries||Ze,ke,Re,He;if(Ue&&(ke=re(Ue.call(new we)),ke!==Object.prototype&&ke.next&&(!ie&&re(ke)!==fe&&(ne?ne(ke,fe):ce(ke[he])||y(ke,he,Pe)),te(ke,Te,!0,!0),ie&&(b[Te]=Pe))),z&&Ee==ye&&Ze&&Ze.name!==ye&&(!ie&&ue?a(Qe,"name",ye):(Je=!0,Ke=function(){return ae(Ze,this)})),Ee)if(Re={values:Ne(ye),keys:Oe?Ke:Ne(pe),entries:Ne(ve)},Ie)for(He in Re)(ge||Je||!(He in Qe))&&y(Qe,He,Re[He]);else le({target:Ae,proto:!0,forced:ge||Je},Re);return(!ie||Ie)&&Qe[he]!==Ke&&y(Qe,he,Ke,{name:Ee}),b[Ae]=Ke,Re}},{"../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,me,de){var le=E("../internals/path"),ae=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol-wrapped"),se=E("../internals/object-define-property").f;me.exports=function(ce){var oe=le.Symbol||(le.Symbol={});ae(oe,ce)||se(oe,ce,{value:ie.f(ce)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(E,me,de){var le=E("../internals/fails");me.exports=!le(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/is-object"),ie=le.document,se=ae(ie)&&ae(ie.createElement);me.exports=function(ce){return se?ie.createElement(ce):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(E,me,de){me.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,me,de){var le=E("../internals/document-create-element"),ae=le("span").classList,ie=ae&&ae.constructor&&ae.constructor.prototype;me.exports=ie===Object.prototype?void 0:ie},{"../internals/document-create-element":135}],138:[function(E,me,de){var le=E("../internals/engine-user-agent"),ae=le.match(/firefox\/(\d+)/i);me.exports=!!ae&&+ae[1]},{"../internals/engine-user-agent":145}],139:[function(E,me,de){me.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(E,me,de){var le=E("../internals/engine-user-agent");me.exports=/MSIE|Trident/.test(le)},{"../internals/engine-user-agent":145}],141:[function(E,me,de){var le=E("../internals/engine-user-agent"),ae=E("../internals/global");me.exports=/ipad|iphone|ipod/i.test(le)&&ae.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(E,me,de){var le=E("../internals/engine-user-agent");me.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(le)},{"../internals/engine-user-agent":145}],143:[function(E,me,de){var le=E("../internals/classof-raw"),ae=E("../internals/global");me.exports=le(ae.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(E,me,de){var le=E("../internals/engine-user-agent");me.exports=/web0s(?!.*chrome)/i.test(le)},{"../internals/engine-user-agent":145}],145:[function(E,me,de){var le=E("../internals/get-built-in");me.exports=le("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/engine-user-agent"),ie=le.process,se=le.Deno,ce=ie&&ie.versions||se&&se.version,oe=ce&&ce.v8,re,ne;oe&&(re=oe.split("."),ne=re[0]>0&&re[0]<4?1:+(re[0]+re[1])),!ne&&ae&&(re=ae.match(/Edge\/(\d+)/),(!re||re[1]>=74)&&(re=ae.match(/Chrome\/(\d+)/),re&&(ne=+re[1]))),me.exports=ne},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,me,de){var le=E("../internals/engine-user-agent"),ae=le.match(/AppleWebKit\/(\d+)\./);me.exports=!!ae&&+ae[1]},{"../internals/engine-user-agent":145}],148:[function(E,me,de){me.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/object-get-own-property-descriptor").f,ie=E("../internals/create-non-enumerable-property"),se=E("../internals/redefine"),ce=E("../internals/set-global"),oe=E("../internals/copy-constructor-properties"),re=E("../internals/is-forced");me.exports=function(ne,te){var a=ne.target,y=ne.global,x=ne.stat,b,ee,z,ue,fe,ge;if(y?ee=le:x?ee=le[a]||ce(a,{}):ee=(le[a]||{}).prototype,ee)for(z in te){if(fe=te[z],ne.noTargetGet?(ge=ae(ee,z),ue=ge&&ge.value):ue=ee[z],b=re(y?z:a+(x?".":"#")+z,ne.forced),!b&&ue!==void 0){if(typeof fe==typeof ue)continue;oe(fe,ue)}(ne.sham||ue&&ue.sham)&&ie(fe,"sham",!0),se(ee,z,fe,ne)}}},{"../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,me,de){me.exports=function(le){try{return!!le()}catch(ae){return!0}}},{}],151:[function(E,me,de){"use strict";E("../modules/es.regexp.exec");var le=E("../internals/function-uncurry-this"),ae=E("../internals/redefine"),ie=E("../internals/regexp-exec"),se=E("../internals/fails"),ce=E("../internals/well-known-symbol"),oe=E("../internals/create-non-enumerable-property"),re=ce("species"),ne=RegExp.prototype;me.exports=function(te,a,y,x){var b=ce(te),ee=!se(function(){var ge={};return ge[b]=function(){return 7},""[te](ge)!=7}),z=ee&&!se(function(){var ge=!1,he=/a/;return te==="split"&&(he={},he.constructor={},he.constructor[re]=function(){return he},he.flags="",he[b]=/./[b]),he.exec=function(){return ge=!0,null},he[b](""),!ge});if(!ee||!z||y){var ue=le(/./[b]),fe=a(b,""[te],function(ge,he,pe,ye,ve){var Pe=le(ge),we=he.exec;return we===ie||we===ne.exec?ee&&!ve?{done:!0,value:ue(he,pe,ye)}:{done:!0,value:Pe(pe,he,ye)}:{done:!1}});ae(String.prototype,te,fe[0]),ae(ne,b,fe[1])}x&&oe(ne[b],"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,me,de){var le=E("../internals/function-bind-native"),ae=Function.prototype,ie=ae.apply,se=ae.call;me.exports=typeof Reflect=="object"&&Reflect.apply||(le?se.bind(ie):function(){return se.apply(ie,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,me,de){var le=E("../internals/function-uncurry-this"),ae=E("../internals/a-callable"),ie=E("../internals/function-bind-native"),se=le(le.bind);me.exports=function(ce,oe){return ae(ce),oe===void 0?ce:ie?se(ce,oe):function(){return ce.apply(oe,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,me,de){var le=E("../internals/fails");me.exports=!le(function(){var ae=function(){}.bind();return typeof ae!="function"||ae.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,me,de){var le=E("../internals/function-bind-native"),ae=Function.prototype.call;me.exports=le?ae.bind(ae):function(){return ae.apply(ae,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,me,de){var le=E("../internals/descriptors"),ae=E("../internals/has-own-property"),ie=Function.prototype,se=le&&Object.getOwnPropertyDescriptor,ce=ae(ie,"name"),oe=ce&&function(){}.name==="something",re=ce&&(!le||le&&se(ie,"name").configurable);me.exports={EXISTS:ce,PROPER:oe,CONFIGURABLE:re}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,me,de){var le=E("../internals/function-bind-native"),ae=Function.prototype,ie=ae.bind,se=ae.call,ce=le&&ie.bind(se,se);me.exports=le?function(oe){return oe&&ce(oe)}:function(oe){return oe&&function(){return se.apply(oe,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/is-callable"),ie=function(se){return ae(se)?se:void 0};me.exports=function(se,ce){return arguments.length<2?ie(le[se]):le[se]&&le[se][ce]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,me,de){var le=E("../internals/classof"),ae=E("../internals/get-method"),ie=E("../internals/iterators"),se=E("../internals/well-known-symbol"),ce=se("iterator");me.exports=function(oe){if(oe!=null)return ae(oe,ce)||ae(oe,"@@iterator")||ie[le(oe)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/function-call"),ie=E("../internals/a-callable"),se=E("../internals/an-object"),ce=E("../internals/try-to-string"),oe=E("../internals/get-iterator-method"),re=le.TypeError;me.exports=function(ne,te){var a=arguments.length<2?oe(ne):te;if(ie(a))return se(ae(a,ne));throw re(ce(ne)+" 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,me,de){var le=E("../internals/a-callable");me.exports=function(ae,ie){var se=ae[ie];return se==null?void 0:le(se)}},{"../internals/a-callable":95}],162:[function(E,me,de){var le=E("../internals/function-uncurry-this"),ae=E("../internals/to-object"),ie=Math.floor,se=le("".charAt),ce=le("".replace),oe=le("".slice),re=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ne=/\$([$&'`]|\d{1,2})/g;me.exports=function(te,a,y,x,b,ee){var z=y+te.length,ue=x.length,fe=ne;return b!==void 0&&(b=ae(b),fe=re),ce(ee,fe,function(ge,he){var pe;switch(se(he,0)){case"$":return"$";case"&":return te;case"`":return oe(a,0,y);case"'":return oe(a,z);case"<":pe=b[oe(he,1,-1)];break;default:var ye=+he;if(ye===0)return ge;if(ye>ue){var ve=ie(ye/10);return ve===0?ge:ve<=ue?x[ve-1]===void 0?se(he,1):x[ve-1]+se(he,1):ge}pe=x[ye-1]}return pe===void 0?"":pe})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,me,de){(function(le){(function(){var ae=function(ie){return ie&&ie.Math==Math&&ie};me.exports=ae(typeof globalThis=="object"&&globalThis)||ae(typeof window=="object"&&window)||ae(typeof self=="object"&&self)||ae(typeof le=="object"&&le)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,me,de){var le=E("../internals/function-uncurry-this"),ae=E("../internals/to-object"),ie=le({}.hasOwnProperty);me.exports=Object.hasOwn||function(ce,oe){return ie(ae(ce),oe)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,me,de){me.exports={}},{}],166:[function(E,me,de){var le=E("../internals/global");me.exports=function(ae,ie){var se=le.console;se&&se.error&&(arguments.length==1?se.error(ae):se.error(ae,ie))}},{"../internals/global":163}],167:[function(E,me,de){var le=E("../internals/get-built-in");me.exports=le("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,me,de){var le=E("../internals/descriptors"),ae=E("../internals/fails"),ie=E("../internals/document-create-element");me.exports=!le&&!ae(function(){return Object.defineProperty(ie("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,me,de){var le=E("../internals/global"),ae=le.Array,ie=Math.abs,se=Math.pow,ce=Math.floor,oe=Math.log,re=Math.LN2,ne=function(a,y,x){var b=ae(x),ee=x*8-y-1,z=(1<<ee)-1,ue=z>>1,fe=y===23?se(2,-24)-se(2,-77):0,ge=a<0||a===0&&1/a<0?1:0,he=0,pe,ye,ve;for(a=ie(a),a!=a||a===1/0?(ye=a!=a?1:0,pe=z):(pe=ce(oe(a)/re),ve=se(2,-pe),a*ve<1&&(pe--,ve*=2),pe+ue>=1?a+=fe/ve:a+=fe*se(2,1-ue),a*ve>=2&&(pe++,ve/=2),pe+ue>=z?(ye=0,pe=z):pe+ue>=1?(ye=(a*ve-1)*se(2,y),pe=pe+ue):(ye=a*se(2,ue-1)*se(2,y),pe=0));y>=8;)b[he++]=ye&255,ye/=256,y-=8;for(pe=pe<<y|ye,ee+=y;ee>0;)b[he++]=pe&255,pe/=256,ee-=8;return b[--he]|=ge*128,b},te=function(a,y){var x=a.length,b=x*8-y-1,ee=(1<<b)-1,z=ee>>1,ue=b-7,fe=x-1,ge=a[fe--],he=ge&127,pe;for(ge>>=7;ue>0;)he=he*256+a[fe--],ue-=8;for(pe=he&(1<<-ue)-1,he>>=-ue,ue+=y;ue>0;)pe=pe*256+a[fe--],ue-=8;if(he===0)he=1-z;else{if(he===ee)return pe?NaN:ge?-1/0:1/0;pe=pe+se(2,y),he=he-z}return(ge?-1:1)*pe*se(2,he-y)};me.exports={pack:ne,unpack:te}},{"../internals/global":163}],170:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),se=E("../internals/classof-raw"),ce=le.Object,oe=ae("".split);me.exports=ie(function(){return!ce("z").propertyIsEnumerable(0)})?function(re){return se(re)=="String"?oe(re,""):ce(re)}:ce},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,me,de){var le=E("../internals/is-callable"),ae=E("../internals/is-object"),ie=E("../internals/object-set-prototype-of");me.exports=function(se,ce,oe){var re,ne;return ie&&le(re=ce.constructor)&&re!==oe&&ae(ne=re.prototype)&&ne!==oe.prototype&&ie(se,ne),se}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,me,de){var le=E("../internals/function-uncurry-this"),ae=E("../internals/is-callable"),ie=E("../internals/shared-store"),se=le(Function.toString);ae(ie.inspectSource)||(ie.inspectSource=function(ce){return se(ce)}),me.exports=ie.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,me,de){var le=E("../internals/native-weak-map"),ae=E("../internals/global"),ie=E("../internals/function-uncurry-this"),se=E("../internals/is-object"),ce=E("../internals/create-non-enumerable-property"),oe=E("../internals/has-own-property"),re=E("../internals/shared-store"),ne=E("../internals/shared-key"),te=E("../internals/hidden-keys"),a="Object already initialized",y=ae.TypeError,x=ae.WeakMap,b,ee,z,ue=function(Pe){return z(Pe)?ee(Pe):b(Pe,{})},fe=function(Pe){return function(we){var Ae;if(!se(we)||(Ae=ee(we)).type!==Pe)throw y("Incompatible receiver, "+Pe+" required");return Ae}};if(le||re.state){var ge=re.state||(re.state=new x),he=ie(ge.get),pe=ie(ge.has),ye=ie(ge.set);b=function(Pe,we){if(pe(ge,Pe))throw new y(a);return we.facade=Pe,ye(ge,Pe,we),we},ee=function(Pe){return he(ge,Pe)||{}},z=function(Pe){return pe(ge,Pe)}}else{var ve=ne("state");te[ve]=!0,b=function(Pe,we){if(oe(Pe,ve))throw new y(a);return we.facade=Pe,ce(Pe,ve,we),we},ee=function(Pe){return oe(Pe,ve)?Pe[ve]:{}},z=function(Pe){return oe(Pe,ve)}}me.exports={set:b,get:ee,has:z,enforce:ue,getterFor:fe}},{"../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,me,de){var le=E("../internals/well-known-symbol"),ae=E("../internals/iterators"),ie=le("iterator"),se=Array.prototype;me.exports=function(ce){return ce!==void 0&&(ae.Array===ce||se[ie]===ce)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,me,de){var le=E("../internals/classof-raw");me.exports=Array.isArray||function(ie){return le(ie)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,me,de){me.exports=function(le){return typeof le=="function"}},{}],177:[function(E,me,de){var le=E("../internals/function-uncurry-this"),ae=E("../internals/fails"),ie=E("../internals/is-callable"),se=E("../internals/classof"),ce=E("../internals/get-built-in"),oe=E("../internals/inspect-source"),re=function(){},ne=[],te=ce("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=le(a.exec),x=!a.exec(re),b=function(ue){if(!ie(ue))return!1;try{return te(re,ne,ue),!0}catch(fe){return!1}},ee=function(ue){if(!ie(ue))return!1;switch(se(ue)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,oe(ue))}catch(fe){return!0}};ee.sham=!0,me.exports=!te||ae(function(){var z;return b(b.call)||!b(Object)||!b(function(){z=!0})||z})?ee:b},{"../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,me,de){var le=E("../internals/fails"),ae=E("../internals/is-callable"),ie=/#|\.prototype\./,se=function(te,a){var y=oe[ce(te)];return y==ne?!0:y==re?!1:ae(a)?le(a):!!a},ce=se.normalize=function(te){return String(te).replace(ie,".").toLowerCase()},oe=se.data={},re=se.NATIVE="N",ne=se.POLYFILL="P";me.exports=se},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,me,de){var le=E("../internals/is-object"),ae=Math.floor;me.exports=Number.isInteger||function(se){return!le(se)&&isFinite(se)&&ae(se)===se}},{"../internals/is-object":180}],180:[function(E,me,de){var le=E("../internals/is-callable");me.exports=function(ae){return typeof ae=="object"?ae!==null:le(ae)}},{"../internals/is-callable":176}],181:[function(E,me,de){me.exports=!1},{}],182:[function(E,me,de){var le=E("../internals/is-object"),ae=E("../internals/classof-raw"),ie=E("../internals/well-known-symbol"),se=ie("match");me.exports=function(ce){var oe;return le(ce)&&((oe=ce[se])!==void 0?!!oe:ae(ce)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/get-built-in"),ie=E("../internals/is-callable"),se=E("../internals/object-is-prototype-of"),ce=E("../internals/use-symbol-as-uid"),oe=le.Object;me.exports=ce?function(re){return typeof re=="symbol"}:function(re){var ne=ae("Symbol");return ie(ne)&&se(ne.prototype,oe(re))}},{"../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,me,de){var le=E("../internals/global"),ae=E("../internals/function-bind-context"),ie=E("../internals/function-call"),se=E("../internals/an-object"),ce=E("../internals/try-to-string"),oe=E("../internals/is-array-iterator-method"),re=E("../internals/length-of-array-like"),ne=E("../internals/object-is-prototype-of"),te=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=le.TypeError,b=function(z,ue){this.stopped=z,this.result=ue},ee=b.prototype;me.exports=function(z,ue,fe){var ge=fe&&fe.that,he=!!(fe&&fe.AS_ENTRIES),pe=!!(fe&&fe.IS_ITERATOR),ye=!!(fe&&fe.INTERRUPTED),ve=ae(ue,ge),Pe,we,Ae,_e,xe,Ee,Oe,Ie=function(Te){return Pe&&y(Pe,"normal",Te),new b(!0,Te)},Ne=function(Te){return he?(se(Te),ye?ve(Te[0],Te[1],Ie):ve(Te[0],Te[1])):ye?ve(Te,Ie):ve(Te)};if(pe)Pe=z;else{if(we=a(z),!we)throw x(ce(z)+" is not iterable");if(oe(we)){for(Ae=0,_e=re(z);_e>Ae;Ae++)if(xe=Ne(z[Ae]),xe&&ne(ee,xe))return xe;return new b(!1)}Pe=te(z,we)}for(Ee=Pe.next;!(Oe=ie(Ee,Pe)).done;){try{xe=Ne(Oe.value)}catch(Te){y(Pe,"throw",Te)}if(typeof xe=="object"&&xe&&ne(ee,xe))return xe}return new b(!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,me,de){var le=E("../internals/function-call"),ae=E("../internals/an-object"),ie=E("../internals/get-method");me.exports=function(se,ce,oe){var re,ne;ae(se);try{if(re=ie(se,"return"),!re){if(ce==="throw")throw oe;return oe}re=le(re,se)}catch(te){ne=!0,re=te}if(ce==="throw")throw oe;if(ne)throw re;return ae(re),oe}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,me,de){"use strict";var le=E("../internals/fails"),ae=E("../internals/is-callable"),ie=E("../internals/object-create"),se=E("../internals/object-get-prototype-of"),ce=E("../internals/redefine"),oe=E("../internals/well-known-symbol"),re=E("../internals/is-pure"),ne=oe("iterator"),te=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=se(se(x)),y!==Object.prototype&&(a=y)):te=!0);var b=a==null||le(function(){var ee={};return a[ne].call(ee)!==ee});b?a={}:re&&(a=ie(a)),ae(a[ne])||ce(a,ne,function(){return this}),me.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:te}},{"../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,me,de){arguments[4][165][0].apply(de,arguments)},{dup:165}],188:[function(E,me,de){var le=E("../internals/to-length");me.exports=function(ae){return le(ae.length)}},{"../internals/to-length":249}],189:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/function-bind-context"),ie=E("../internals/object-get-own-property-descriptor").f,se=E("../internals/task").set,ce=E("../internals/engine-is-ios"),oe=E("../internals/engine-is-ios-pebble"),re=E("../internals/engine-is-webos-webkit"),ne=E("../internals/engine-is-node"),te=le.MutationObserver||le.WebKitMutationObserver,a=le.document,y=le.process,x=le.Promise,b=ie(le,"queueMicrotask"),ee=b&&b.value,z,ue,fe,ge,he,pe,ye,ve;ee||(z=function(){var Pe,we;for(ne&&(Pe=y.domain)&&Pe.exit();ue;){we=ue.fn,ue=ue.next;try{we()}catch(Ae){throw ue?ge():fe=void 0,Ae}}fe=void 0,Pe&&Pe.enter()},!ce&&!ne&&!re&&te&&a?(he=!0,pe=a.createTextNode(""),new te(z).observe(pe,{characterData:!0}),ge=function(){pe.data=he=!he}):!oe&&x&&x.resolve?(ye=x.resolve(void 0),ye.constructor=x,ve=ae(ye.then,ye),ge=function(){ve(z)}):ne?ge=function(){y.nextTick(z)}:(se=ae(se,le),ge=function(){se(z)})),me.exports=ee||function(Pe){var we={fn:Pe,next:void 0};fe&&(fe.next=we),ue||(ue=we,ge()),fe=we}},{"../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,me,de){var le=E("../internals/native-symbol");me.exports=le&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,me,de){var le=E("../internals/engine-v8-version"),ae=E("../internals/fails");me.exports=!!Object.getOwnPropertySymbols&&!ae(function(){var ie=Symbol();return!String(ie)||!(Object(ie)instanceof Symbol)||!Symbol.sham&&le&&le<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/is-callable"),ie=E("../internals/inspect-source"),se=le.WeakMap;me.exports=ae(se)&&/native code/.test(ie(se))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,me,de){"use strict";var le=E("../internals/a-callable"),ae=function(ie){var se,ce;this.promise=new ie(function(oe,re){if(se!==void 0||ce!==void 0)throw TypeError("Bad Promise constructor");se=oe,ce=re}),this.resolve=le(se),this.reject=le(ce)};me.exports.f=function(ie){return new ae(ie)}},{"../internals/a-callable":95}],194:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/is-regexp"),ie=le.TypeError;me.exports=function(se){if(ae(se))throw ie("The method doesn't accept regular expressions");return se}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,me,de){"use strict";var le=E("../internals/descriptors"),ae=E("../internals/function-uncurry-this"),ie=E("../internals/function-call"),se=E("../internals/fails"),ce=E("../internals/object-keys"),oe=E("../internals/object-get-own-property-symbols"),re=E("../internals/object-property-is-enumerable"),ne=E("../internals/to-object"),te=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=ae([].concat);me.exports=!a||se(function(){if(le&&a({b:1},a(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},ee={},z=Symbol(),ue="abcdefghijklmnopqrst";return b[z]=7,ue.split("").forEach(function(fe){ee[fe]=fe}),a({},b)[z]!=7||ce(a({},ee)).join("")!=ue})?function(ee,z){for(var ue=ne(ee),fe=arguments.length,ge=1,he=oe.f,pe=re.f;fe>ge;)for(var ye=te(arguments[ge++]),ve=he?x(ce(ye),he(ye)):ce(ye),Pe=ve.length,we=0,Ae;Pe>we;)Ae=ve[we++],(!le||ie(pe,ye,Ae))&&(ue[Ae]=ye[Ae]);return ue}:a},{"../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,me,de){var le=E("../internals/an-object"),ae=E("../internals/object-define-properties"),ie=E("../internals/enum-bug-keys"),se=E("../internals/hidden-keys"),ce=E("../internals/html"),oe=E("../internals/document-create-element"),re=E("../internals/shared-key"),ne=">",te="<",a="prototype",y="script",x=re("IE_PROTO"),b=function(){},ee=function(he){return te+y+ne+he+te+"/"+y+ne},z=function(he){he.write(ee("")),he.close();var pe=he.parentWindow.Object;return he=null,pe},ue=function(){var he=oe("iframe"),pe="java"+y+":",ye;return he.style.display="none",ce.appendChild(he),he.src=String(pe),ye=he.contentWindow.document,ye.open(),ye.write(ee("document.F=Object")),ye.close(),ye.F},fe,ge=function(){try{fe=new ActiveXObject("htmlfile")}catch(pe){}ge=typeof document!="undefined"?document.domain&&fe?z(fe):ue():z(fe);for(var he=ie.length;he--;)delete ge[a][ie[he]];return ge()};se[x]=!0,me.exports=Object.create||function(pe,ye){var ve;return pe!==null?(b[a]=le(pe),ve=new b,b[a]=null,ve[x]=pe):ve=ge(),ye===void 0?ve:ae.f(ve,ye)}},{"../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,me,de){var le=E("../internals/descriptors"),ae=E("../internals/v8-prototype-define-bug"),ie=E("../internals/object-define-property"),se=E("../internals/an-object"),ce=E("../internals/to-indexed-object"),oe=E("../internals/object-keys");de.f=le&&!ae?Object.defineProperties:function(ne,te){se(ne);for(var a=ce(te),y=oe(te),x=y.length,b=0,ee;x>b;)ie.f(ne,ee=y[b++],a[ee]);return ne}},{"../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,me,de){var le=E("../internals/global"),ae=E("../internals/descriptors"),ie=E("../internals/ie8-dom-define"),se=E("../internals/v8-prototype-define-bug"),ce=E("../internals/an-object"),oe=E("../internals/to-property-key"),re=le.TypeError,ne=Object.defineProperty,te=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";de.f=ae?se?function(ee,z,ue){if(ce(ee),z=oe(z),ce(ue),typeof ee=="function"&&z==="prototype"&&"value"in ue&&x in ue&&!ue[x]){var fe=te(ee,z);fe&&fe[x]&&(ee[z]=ue.value,ue={configurable:y in ue?ue[y]:fe[y],enumerable:a in ue?ue[a]:fe[a],writable:!1})}return ne(ee,z,ue)}:ne:function(ee,z,ue){if(ce(ee),z=oe(z),ce(ue),ie)try{return ne(ee,z,ue)}catch(fe){}if("get"in ue||"set"in ue)throw re("Accessors not supported");return"value"in ue&&(ee[z]=ue.value),ee}},{"../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,me,de){var le=E("../internals/descriptors"),ae=E("../internals/function-call"),ie=E("../internals/object-property-is-enumerable"),se=E("../internals/create-property-descriptor"),ce=E("../internals/to-indexed-object"),oe=E("../internals/to-property-key"),re=E("../internals/has-own-property"),ne=E("../internals/ie8-dom-define"),te=Object.getOwnPropertyDescriptor;de.f=le?te:function(y,x){if(y=ce(y),x=oe(x),ne)try{return te(y,x)}catch(b){}if(re(y,x))return se(!ae(ie.f,y,x),y[x])}},{"../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,me,de){var le=E("../internals/classof-raw"),ae=E("../internals/to-indexed-object"),ie=E("../internals/object-get-own-property-names").f,se=E("../internals/array-slice-simple"),ce=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],oe=function(re){try{return ie(re)}catch(ne){return se(ce)}};me.exports.f=function(ne){return ce&&le(ne)=="Window"?oe(ne):ie(ae(ne))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,me,de){var le=E("../internals/object-keys-internal"),ae=E("../internals/enum-bug-keys"),ie=ae.concat("length","prototype");de.f=Object.getOwnPropertyNames||function(ce){return le(ce,ie)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,me,de){de.f=Object.getOwnPropertySymbols},{}],203:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/has-own-property"),ie=E("../internals/is-callable"),se=E("../internals/to-object"),ce=E("../internals/shared-key"),oe=E("../internals/correct-prototype-getter"),re=ce("IE_PROTO"),ne=le.Object,te=ne.prototype;me.exports=oe?ne.getPrototypeOf:function(a){var y=se(a);if(ae(y,re))return y[re];var x=y.constructor;return ie(x)&&y instanceof x?x.prototype:y instanceof ne?te: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,me,de){var le=E("../internals/function-uncurry-this");me.exports=le({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,me,de){var le=E("../internals/function-uncurry-this"),ae=E("../internals/has-own-property"),ie=E("../internals/to-indexed-object"),se=E("../internals/array-includes").indexOf,ce=E("../internals/hidden-keys"),oe=le([].push);me.exports=function(re,ne){var te=ie(re),a=0,y=[],x;for(x in te)!ae(ce,x)&&ae(te,x)&&oe(y,x);for(;ne.length>a;)ae(te,x=ne[a++])&&(~se(y,x)||oe(y,x));return y}},{"../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,me,de){var le=E("../internals/object-keys-internal"),ae=E("../internals/enum-bug-keys");me.exports=Object.keys||function(se){return le(se,ae)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,me,de){"use strict";var le={}.propertyIsEnumerable,ae=Object.getOwnPropertyDescriptor,ie=ae&&!le.call({1:2},1);de.f=ie?function(ce){var oe=ae(this,ce);return!!oe&&oe.enumerable}:le},{}],208:[function(E,me,de){var le=E("../internals/function-uncurry-this"),ae=E("../internals/an-object"),ie=E("../internals/a-possible-prototype");me.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var se=!1,ce={},oe;try{oe=le(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),oe(ce,[]),se=ce instanceof Array}catch(re){}return function(ne,te){return ae(ne),ie(te),se?oe(ne,te):ne.__proto__=te,ne}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,me,de){var le=E("../internals/descriptors"),ae=E("../internals/function-uncurry-this"),ie=E("../internals/object-keys"),se=E("../internals/to-indexed-object"),ce=E("../internals/object-property-is-enumerable").f,oe=ae(ce),re=ae([].push),ne=function(te){return function(a){for(var y=se(a),x=ie(y),b=x.length,ee=0,z=[],ue;b>ee;)ue=x[ee++],(!le||oe(y,ue))&&re(z,te?[ue,y[ue]]:y[ue]);return z}};me.exports={entries:ne(!0),values:ne(!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,me,de){"use strict";var le=E("../internals/to-string-tag-support"),ae=E("../internals/classof");me.exports=le?{}.toString:function(){return"[object "+ae(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/function-call"),ie=E("../internals/is-callable"),se=E("../internals/is-object"),ce=le.TypeError;me.exports=function(oe,re){var ne,te;if(re==="string"&&ie(ne=oe.toString)&&!se(te=ae(ne,oe))||ie(ne=oe.valueOf)&&!se(te=ae(ne,oe))||re!=="string"&&ie(ne=oe.toString)&&!se(te=ae(ne,oe)))return te;throw ce("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,me,de){var le=E("../internals/get-built-in"),ae=E("../internals/function-uncurry-this"),ie=E("../internals/object-get-own-property-names"),se=E("../internals/object-get-own-property-symbols"),ce=E("../internals/an-object"),oe=ae([].concat);me.exports=le("Reflect","ownKeys")||function(ne){var te=ie.f(ce(ne)),a=se.f;return a?oe(te,a(ne)):te}},{"../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,me,de){var le=E("../internals/global");me.exports=le},{"../internals/global":163}],214:[function(E,me,de){me.exports=function(le){try{return{error:!1,value:le()}}catch(ae){return{error:!0,value:ae}}}},{}],215:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/promise-native-constructor"),ie=E("../internals/is-callable"),se=E("../internals/is-forced"),ce=E("../internals/inspect-source"),oe=E("../internals/well-known-symbol"),re=E("../internals/engine-is-browser"),ne=E("../internals/is-pure"),te=E("../internals/engine-v8-version"),a=ae&&ae.prototype,y=oe("species"),x=!1,b=ie(le.PromiseRejectionEvent),ee=se("Promise",function(){var z=ce(ae),ue=z!==String(ae);if(!ue&&te===66||ne&&!(a.catch&&a.finally))return!0;if(te>=51&&/native code/.test(z))return!1;var fe=new ae(function(pe){pe(1)}),ge=function(pe){pe(function(){},function(){})},he=fe.constructor={};return he[y]=ge,x=fe.then(function(){})instanceof ge,x?!ue&&re&&!b:!0});me.exports={CONSTRUCTOR:ee,REJECTION_EVENT:b,SUBCLASSING:x}},{"../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,me,de){var le=E("../internals/global");me.exports=le.Promise},{"../internals/global":163}],217:[function(E,me,de){var le=E("../internals/an-object"),ae=E("../internals/is-object"),ie=E("../internals/new-promise-capability");me.exports=function(se,ce){if(le(se),ae(ce)&&ce.constructor===se)return ce;var oe=ie.f(se),re=oe.resolve;return re(ce),oe.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,me,de){var le=E("../internals/promise-native-constructor"),ae=E("../internals/check-correctness-of-iteration"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR;me.exports=ie||!ae(function(se){le.all(se).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,me,de){var le=E("../internals/object-define-property").f;me.exports=function(ae,ie,se){se in ae||le(ae,se,{configurable:!0,get:function(){return ie[se]},set:function(ce){ie[se]=ce}})}},{"../internals/object-define-property":198}],220:[function(E,me,de){var le=function(){this.head=null,this.tail=null};le.prototype={add:function(ae){var ie={item:ae,next:null};this.head?this.tail.next=ie:this.head=ie,this.tail=ie},get:function(){var ae=this.head;if(ae)return this.head=ae.next,this.tail===ae&&(this.tail=null),ae.item}},me.exports=le},{}],221:[function(E,me,de){var le=E("../internals/redefine");me.exports=function(ae,ie,se){for(var ce in ie)le(ae,ce,ie[ce],se);return ae}},{"../internals/redefine":222}],222:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/is-callable"),ie=E("../internals/has-own-property"),se=E("../internals/create-non-enumerable-property"),ce=E("../internals/set-global"),oe=E("../internals/inspect-source"),re=E("../internals/internal-state"),ne=E("../internals/function-name").CONFIGURABLE,te=re.get,a=re.enforce,y=String(String).split("String");(me.exports=function(x,b,ee,z){var ue=z?!!z.unsafe:!1,fe=z?!!z.enumerable:!1,ge=z?!!z.noTargetGet:!1,he=z&&z.name!==void 0?z.name:b,pe;if(ae(ee)&&(String(he).slice(0,7)==="Symbol("&&(he="["+String(he).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ie(ee,"name")||ne&&ee.name!==he)&&se(ee,"name",he),pe=a(ee),pe.source||(pe.source=y.join(typeof he=="string"?he:""))),x===le){fe?x[b]=ee:ce(b,ee);return}else ue?!ge&&x[b]&&(fe=!0):delete x[b];fe?x[b]=ee:se(x,b,ee)})(Function.prototype,"toString",function(){return ae(this)&&te(this).source||oe(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,me,de){var le=E("../internals/global"),ae=E("../internals/function-call"),ie=E("../internals/an-object"),se=E("../internals/is-callable"),ce=E("../internals/classof-raw"),oe=E("../internals/regexp-exec"),re=le.TypeError;me.exports=function(ne,te){var a=ne.exec;if(se(a)){var y=ae(a,ne,te);return y!==null&&ie(y),y}if(ce(ne)==="RegExp")return ae(oe,ne,te);throw re("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,me,de){"use strict";var le=E("../internals/function-call"),ae=E("../internals/function-uncurry-this"),ie=E("../internals/to-string"),se=E("../internals/regexp-flags"),ce=E("../internals/regexp-sticky-helpers"),oe=E("../internals/shared"),re=E("../internals/object-create"),ne=E("../internals/internal-state").get,te=E("../internals/regexp-unsupported-dot-all"),a=E("../internals/regexp-unsupported-ncg"),y=oe("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,b=x,ee=ae("".charAt),z=ae("".indexOf),ue=ae("".replace),fe=ae("".slice),ge=function(){var ve=/a/,Pe=/b*/g;return le(x,ve,"a"),le(x,Pe,"a"),ve.lastIndex!==0||Pe.lastIndex!==0}(),he=ce.BROKEN_CARET,pe=/()??/.exec("")[1]!==void 0,ye=ge||pe||he||te||a;ye&&(b=function(Pe){var we=this,Ae=ne(we),_e=ie(Pe),xe=Ae.raw,Ee,Oe,Ie,Ne,Te,Je,Qe;if(xe)return xe.lastIndex=we.lastIndex,Ee=le(b,xe,_e),we.lastIndex=xe.lastIndex,Ee;var Ze=Ae.groups,Ke=he&&we.sticky,Ue=le(se,we),ke=we.source,Re=0,He=_e;if(Ke&&(Ue=ue(Ue,"y",""),z(Ue,"g")===-1&&(Ue+="g"),He=fe(_e,we.lastIndex),we.lastIndex>0&&(!we.multiline||we.multiline&&ee(_e,we.lastIndex-1)!==`
|
|
|
`)&&(ke="(?: "+ke+")",He=" "+He,Re++),Oe=new RegExp("^(?:"+ke+")",Ue)),pe&&(Oe=new RegExp("^"+ke+"$(?!\\s)",Ue)),ge&&(Ie=we.lastIndex),Ne=le(x,Ke?Oe:we,He),Ke?Ne?(Ne.input=fe(Ne.input,Re),Ne[0]=fe(Ne[0],Re),Ne.index=we.lastIndex,we.lastIndex+=Ne[0].length):we.lastIndex=0:ge&&Ne&&(we.lastIndex=we.global?Ne.index+Ne[0].length:Ie),pe&&Ne&&Ne.length>1&&le(y,Ne[0],Oe,function(){for(Te=1;Te<arguments.length-2;Te++)arguments[Te]===void 0&&(Ne[Te]=void 0)}),Ne&&Ze)for(Ne.groups=Je=re(null),Te=0;Te<Ze.length;Te++)Qe=Ze[Te],Je[Qe[0]]=Ne[Qe[1]];return Ne}),me.exports=b},{"../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,me,de){"use strict";var le=E("../internals/an-object");me.exports=function(){var ae=le(this),ie="";return ae.hasIndices&&(ie+="d"),ae.global&&(ie+="g"),ae.ignoreCase&&(ie+="i"),ae.multiline&&(ie+="m"),ae.dotAll&&(ie+="s"),ae.unicode&&(ie+="u"),ae.sticky&&(ie+="y"),ie}},{"../internals/an-object":101}],226:[function(E,me,de){var le=E("../internals/function-call"),ae=E("../internals/has-own-property"),ie=E("../internals/object-is-prototype-of"),se=E("../internals/regexp-flags"),ce=RegExp.prototype;me.exports=function(oe){var re=oe.flags;return re===void 0&&!("flags"in ce)&&!ae(oe,"flags")&&ie(ce,oe)?le(se,oe):re}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(E,me,de){var le=E("../internals/fails"),ae=E("../internals/global"),ie=ae.RegExp,se=le(function(){var re=ie("a","y");return re.lastIndex=2,re.exec("abcd")!=null}),ce=se||le(function(){return!ie("a","y").sticky}),oe=se||le(function(){var re=ie("^r","gy");return re.lastIndex=2,re.exec("str")!=null});me.exports={BROKEN_CARET:oe,MISSED_STICKY:ce,UNSUPPORTED_Y:se}},{"../internals/fails":150,"../internals/global":163}],228:[function(E,me,de){var le=E("../internals/fails"),ae=E("../internals/global"),ie=ae.RegExp;me.exports=le(function(){var se=ie(".","s");return!(se.dotAll&&se.exec(`
|
|
|
`)&&se.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(E,me,de){var le=E("../internals/fails"),ae=E("../internals/global"),ie=ae.RegExp;me.exports=le(function(){var se=ie("(?<a>b)","g");return se.exec("b").groups.a!=="b"||"b".replace(se,"$<a>c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,me,de){var le=E("../internals/global"),ae=le.TypeError;me.exports=function(ie){if(ie==null)throw ae("Can't call method on "+ie);return ie}},{"../internals/global":163}],231:[function(E,me,de){me.exports=Object.is||function(ae,ie){return ae===ie?ae!==0||1/ae===1/ie:ae!=ae&&ie!=ie}},{}],232:[function(E,me,de){var le=E("../internals/global"),ae=Object.defineProperty;me.exports=function(ie,se){try{ae(le,ie,{value:se,configurable:!0,writable:!0})}catch(ce){le[ie]=se}return se}},{"../internals/global":163}],233:[function(E,me,de){"use strict";var le=E("../internals/get-built-in"),ae=E("../internals/object-define-property"),ie=E("../internals/well-known-symbol"),se=E("../internals/descriptors"),ce=ie("species");me.exports=function(oe){var re=le(oe),ne=ae.f;se&&re&&!re[ce]&&ne(re,ce,{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,me,de){var le=E("../internals/object-define-property").f,ae=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol"),se=ie("toStringTag");me.exports=function(ce,oe,re){ce&&!re&&(ce=ce.prototype),ce&&!ae(ce,se)&&le(ce,se,{configurable:!0,value:oe})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,me,de){var le=E("../internals/shared"),ae=E("../internals/uid"),ie=le("keys");me.exports=function(se){return ie[se]||(ie[se]=ae(se))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/set-global"),ie="__core-js_shared__",se=le[ie]||ae(ie,{});me.exports=se},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,me,de){var le=E("../internals/is-pure"),ae=E("../internals/shared-store");(me.exports=function(ie,se){return ae[ie]||(ae[ie]=se!==void 0?se:{})})("versions",[]).push({version:"3.22.1",mode:le?"pure":"global",copyright:"\xA9 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,me,de){var le=E("../internals/an-object"),ae=E("../internals/a-constructor"),ie=E("../internals/well-known-symbol"),se=ie("species");me.exports=function(ce,oe){var re=le(ce).constructor,ne;return re===void 0||(ne=le(re)[se])==null?oe:ae(ne)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,me,de){var le=E("../internals/function-uncurry-this"),ae=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-string"),se=E("../internals/require-object-coercible"),ce=le("".charAt),oe=le("".charCodeAt),re=le("".slice),ne=function(te){return function(a,y){var x=ie(se(a)),b=ae(y),ee=x.length,z,ue;return b<0||b>=ee?te?"":void 0:(z=oe(x,b),z<55296||z>56319||b+1===ee||(ue=oe(x,b+1))<56320||ue>57343?te?ce(x,b):z:te?re(x,b,b+2):(z-55296<<10)+(ue-56320)+65536)}};me.exports={codeAt:ne(!1),charAt:ne(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,me,de){var le=E("../internals/function-name").PROPER,ae=E("../internals/fails"),ie=E("../internals/whitespaces"),se="\u200B\x85\u180E";me.exports=function(ce){return ae(function(){return!!ie[ce]()||se[ce]()!==se||le&&ie[ce].name!==ce})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,me,de){var le=E("../internals/function-uncurry-this"),ae=E("../internals/require-object-coercible"),ie=E("../internals/to-string"),se=E("../internals/whitespaces"),ce=le("".replace),oe="["+se+"]",re=RegExp("^"+oe+oe+"*"),ne=RegExp(oe+oe+"*$"),te=function(a){return function(y){var x=ie(ae(y));return a&1&&(x=ce(x,re,"")),a&2&&(x=ce(x,ne,"")),x}};me.exports={start:te(1),end:te(2),trim:te(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,me,de){var le=E("../internals/function-call"),ae=E("../internals/get-built-in"),ie=E("../internals/well-known-symbol"),se=E("../internals/redefine");me.exports=function(){var ce=ae("Symbol"),oe=ce&&ce.prototype,re=oe&&oe.valueOf,ne=ie("toPrimitive");oe&&!oe[ne]&&se(oe,ne,function(te){return le(re,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/function-apply"),ie=E("../internals/function-bind-context"),se=E("../internals/is-callable"),ce=E("../internals/has-own-property"),oe=E("../internals/fails"),re=E("../internals/html"),ne=E("../internals/array-slice"),te=E("../internals/document-create-element"),a=E("../internals/validate-arguments-length"),y=E("../internals/engine-is-ios"),x=E("../internals/engine-is-node"),b=le.setImmediate,ee=le.clearImmediate,z=le.process,ue=le.Dispatch,fe=le.Function,ge=le.MessageChannel,he=le.String,pe=0,ye={},ve="onreadystatechange",Pe,we,Ae,_e;try{Pe=le.location}catch(Ne){}var xe=function(Ne){if(ce(ye,Ne)){var Te=ye[Ne];delete ye[Ne],Te()}},Ee=function(Ne){return function(){xe(Ne)}},Oe=function(Ne){xe(Ne.data)},Ie=function(Ne){le.postMessage(he(Ne),Pe.protocol+"//"+Pe.host)};(!b||!ee)&&(b=function(Te){a(arguments.length,1);var Je=se(Te)?Te:fe(Te),Qe=ne(arguments,1);return ye[++pe]=function(){ae(Je,void 0,Qe)},we(pe),pe},ee=function(Te){delete ye[Te]},x?we=function(Ne){z.nextTick(Ee(Ne))}:ue&&ue.now?we=function(Ne){ue.now(Ee(Ne))}:ge&&!y?(Ae=new ge,_e=Ae.port2,Ae.port1.onmessage=Oe,we=ie(_e.postMessage,_e)):le.addEventListener&&se(le.postMessage)&&!le.importScripts&&Pe&&Pe.protocol!=="file:"&&!oe(Ie)?(we=Ie,le.addEventListener("message",Oe,!1)):ve in te("script")?we=function(Ne){re.appendChild(te("script"))[ve]=function(){re.removeChild(this),xe(Ne)}}:we=function(Ne){setTimeout(Ee(Ne),0)}),me.exports={set:b,clear:ee}},{"../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,me,de){var le=E("../internals/function-uncurry-this");me.exports=le(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,me,de){var le=E("../internals/to-integer-or-infinity"),ae=Math.max,ie=Math.min;me.exports=function(se,ce){var oe=le(se);return oe<0?ae(oe+ce,0):ie(oe,ce)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-length"),se=le.RangeError;me.exports=function(ce){if(ce===void 0)return 0;var oe=ae(ce),re=ie(oe);if(oe!==re)throw se("Wrong length or index");return re}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,me,de){var le=E("../internals/indexed-object"),ae=E("../internals/require-object-coercible");me.exports=function(ie){return le(ae(ie))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,me,de){var le=Math.ceil,ae=Math.floor;me.exports=function(ie){var se=+ie;return se!==se||se===0?0:(se>0?ae:le)(se)}},{}],249:[function(E,me,de){var le=E("../internals/to-integer-or-infinity"),ae=Math.min;me.exports=function(ie){return ie>0?ae(le(ie),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/require-object-coercible"),ie=le.Object;me.exports=function(se){return ie(ae(se))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/to-positive-integer"),ie=le.RangeError;me.exports=function(se,ce){var oe=ae(se);if(oe%ce)throw ie("Wrong offset");return oe}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/to-integer-or-infinity"),ie=le.RangeError;me.exports=function(se){var ce=ae(se);if(ce<0)throw ie("The argument can't be less than 0");return ce}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/function-call"),ie=E("../internals/is-object"),se=E("../internals/is-symbol"),ce=E("../internals/get-method"),oe=E("../internals/ordinary-to-primitive"),re=E("../internals/well-known-symbol"),ne=le.TypeError,te=re("toPrimitive");me.exports=function(a,y){if(!ie(a)||se(a))return a;var x=ce(a,te),b;if(x){if(y===void 0&&(y="default"),b=ae(x,a,y),!ie(b)||se(b))return b;throw ne("Can't convert object to primitive value")}return y===void 0&&(y="number"),oe(a,y)}},{"../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,me,de){var le=E("../internals/to-primitive"),ae=E("../internals/is-symbol");me.exports=function(ie){var se=le(ie,"string");return ae(se)?se:se+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,me,de){var le=E("../internals/well-known-symbol"),ae=le("toStringTag"),ie={};ie[ae]="z",me.exports=String(ie)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/classof"),ie=le.String;me.exports=function(se){if(ae(se)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ie(se)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,me,de){var le=E("../internals/global"),ae=le.String;me.exports=function(ie){try{return ae(ie)}catch(se){return"Object"}}},{"../internals/global":163}],258:[function(E,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/global"),ie=E("../internals/function-call"),se=E("../internals/descriptors"),ce=E("../internals/typed-array-constructors-require-wrappers"),oe=E("../internals/array-buffer-view-core"),re=E("../internals/array-buffer"),ne=E("../internals/an-instance"),te=E("../internals/create-property-descriptor"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/is-integral-number"),x=E("../internals/to-length"),b=E("../internals/to-index"),ee=E("../internals/to-offset"),z=E("../internals/to-property-key"),ue=E("../internals/has-own-property"),fe=E("../internals/classof"),ge=E("../internals/is-object"),he=E("../internals/is-symbol"),pe=E("../internals/object-create"),ye=E("../internals/object-is-prototype-of"),ve=E("../internals/object-set-prototype-of"),Pe=E("../internals/object-get-own-property-names").f,we=E("../internals/typed-array-from"),Ae=E("../internals/array-iteration").forEach,_e=E("../internals/set-species"),xe=E("../internals/object-define-property"),Ee=E("../internals/object-get-own-property-descriptor"),Oe=E("../internals/internal-state"),Ie=E("../internals/inherit-if-required"),Ne=Oe.get,Te=Oe.set,Je=xe.f,Qe=Ee.f,Ze=Math.round,Ke=ae.RangeError,Ue=re.ArrayBuffer,ke=Ue.prototype,Re=re.DataView,He=oe.NATIVE_ARRAY_BUFFER_VIEWS,qe=oe.TYPED_ARRAY_CONSTRUCTOR,rt=oe.TYPED_ARRAY_TAG,We=oe.TypedArray,ze=oe.TypedArrayPrototype,Me=oe.aTypedArrayConstructor,Ge=oe.isTypedArray,Le="BYTES_PER_ELEMENT",Ve="Wrong length",ot=function(Fe,Ye){Me(Fe);for(var nt=0,$e=Ye.length,tt=new Fe($e);$e>nt;)tt[nt]=Ye[nt++];return tt},et=function(Fe,Ye){Je(Fe,Ye,{get:function(){return Ne(this)[Ye]}})},Xe=function(Fe){var Ye;return ye(ke,Fe)||(Ye=fe(Fe))=="ArrayBuffer"||Ye=="SharedArrayBuffer"},je=function(Fe,Ye){return Ge(Fe)&&!he(Ye)&&Ye in Fe&&y(+Ye)&&Ye>=0},Ce=function(Ye,nt){return nt=z(nt),je(Ye,nt)?te(2,Ye[nt]):Qe(Ye,nt)},De=function(Ye,nt,$e){return nt=z(nt),je(Ye,nt)&&ge($e)&&ue($e,"value")&&!ue($e,"get")&&!ue($e,"set")&&!$e.configurable&&(!ue($e,"writable")||$e.writable)&&(!ue($e,"enumerable")||$e.enumerable)?(Ye[nt]=$e.value,Ye):Je(Ye,nt,$e)};se?(He||(Ee.f=Ce,xe.f=De,et(ze,"buffer"),et(ze,"byteOffset"),et(ze,"byteLength"),et(ze,"length")),le({target:"Object",stat:!0,forced:!He},{getOwnPropertyDescriptor:Ce,defineProperty:De}),me.exports=function(Fe,Ye,nt){var $e=Fe.match(/\d+$/)[0]/8,tt=Fe+(nt?"Clamped":"")+"Array",lt="get"+Fe,at="set"+Fe,ut=ae[tt],st=ut,vt=st&&st.prototype,mt={},pt=function(At,kt){var $t=Ne(At);return $t.view[lt](kt*$e+$t.byteOffset,!0)},yt=function(At,kt,$t){var rn=Ne(At);nt&&($t=($t=Ze($t))<0?0:$t>255?255:$t&255),rn.view[at](kt*$e+rn.byteOffset,$t,!0)},Et=function(At,kt){Je(At,kt,{get:function(){return pt(this,kt)},set:function($t){return yt(this,kt,$t)},enumerable:!0})};He?ce&&(st=Ye(function(At,kt,$t,rn){return ne(At,vt),Ie(function(){return ge(kt)?Xe(kt)?rn!==void 0?new ut(kt,ee($t,$e),rn):$t!==void 0?new ut(kt,ee($t,$e)):new ut(kt):Ge(kt)?ot(st,kt):ie(we,st,kt):new ut(b(kt))}(),At,st)}),ve&&ve(st,We),Ae(Pe(ut),function(At){At in st||a(st,At,ut[At])}),st.prototype=vt):(st=Ye(function(At,kt,$t,rn){ne(At,vt);var Pn=0,In=0,En,gn,Gn;if(!ge(kt))Gn=b(kt),gn=Gn*$e,En=new Ue(gn);else if(Xe(kt)){En=kt,In=ee($t,$e);var On=kt.byteLength;if(rn===void 0){if(On%$e||(gn=On-In,gn<0))throw Ke(Ve)}else if(gn=x(rn)*$e,gn+In>On)throw Ke(Ve);Gn=gn/$e}else return Ge(kt)?ot(st,kt):ie(we,st,kt);for(Te(At,{buffer:En,byteOffset:In,byteLength:gn,length:Gn,view:new Re(En)});Pn<Gn;)Et(At,Pn++)}),ve&&ve(st,We),vt=st.prototype=pe(ze)),vt.constructor!==st&&a(vt,"constructor",st),a(vt,qe,st),rt&&a(vt,rt,tt),mt[tt]=st,le({global:!0,forced:st!=ut,sham:!He},mt),Le in st||a(st,Le,$e),Le in vt||a(vt,Le,$e),_e(tt)}):me.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,me,de){var le=E("../internals/global"),ae=E("../internals/fails"),ie=E("../internals/check-correctness-of-iteration"),se=E("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,ce=le.ArrayBuffer,oe=le.Int8Array;me.exports=!se||!ae(function(){oe(1)})||!ae(function(){new oe(-1)})||!ie(function(re){new oe,new oe(null),new oe(1.5),new oe(re)},!0)||ae(function(){return new oe(new ce(2),1,void 0).length!==1})},{"../internals/array-buffer-view-core":103,"../internals/check-correctness-of-iteration":122,"../internals/fails":150,"../internals/global":163}],260:[function(E,me,de){var le=E("../internals/array-from-constructor-and-list"),ae=E("../internals/typed-array-species-constructor");me.exports=function(ie,se){return le(ae(ie),se)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(E,me,de){var le=E("../internals/function-bind-context"),ae=E("../internals/function-call"),ie=E("../internals/a-constructor"),se=E("../internals/to-object"),ce=E("../internals/length-of-array-like"),oe=E("../internals/get-iterator"),re=E("../internals/get-iterator-method"),ne=E("../internals/is-array-iterator-method"),te=E("../internals/array-buffer-view-core").aTypedArrayConstructor;me.exports=function(y){var x=ie(this),b=se(y),ee=arguments.length,z=ee>1?arguments[1]:void 0,ue=z!==void 0,fe=re(b),ge,he,pe,ye,ve,Pe;if(fe&&!ne(fe))for(ve=oe(b,fe),Pe=ve.next,b=[];!(ye=ae(Pe,ve)).done;)b.push(ye.value);for(ue&&ee>2&&(z=le(z,arguments[2])),he=ce(b),pe=new(te(x))(he),ge=0;he>ge;ge++)pe[ge]=ue?z(b[ge],ge):b[ge];return pe}},{"../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,me,de){var le=E("../internals/array-buffer-view-core"),ae=E("../internals/species-constructor"),ie=le.TYPED_ARRAY_CONSTRUCTOR,se=le.aTypedArrayConstructor;me.exports=function(ce){return se(ae(ce,ce[ie]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,me,de){var le=E("../internals/function-uncurry-this"),ae=0,ie=Math.random(),se=le(1 .toString);me.exports=function(ce){return"Symbol("+(ce===void 0?"":ce)+")_"+se(++ae+ie,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,me,de){var le=E("../internals/native-symbol");me.exports=le&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,me,de){var le=E("../internals/descriptors"),ae=E("../internals/fails");me.exports=le&&ae(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,me,de){var le=E("../internals/global"),ae=le.TypeError;me.exports=function(ie,se){if(ie<se)throw ae("Not enough arguments");return ie}},{"../internals/global":163}],267:[function(E,me,de){var le=E("../internals/well-known-symbol");de.f=le},{"../internals/well-known-symbol":268}],268:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/shared"),ie=E("../internals/has-own-property"),se=E("../internals/uid"),ce=E("../internals/native-symbol"),oe=E("../internals/use-symbol-as-uid"),re=ae("wks"),ne=le.Symbol,te=ne&&ne.for,a=oe?ne:ne&&ne.withoutSetter||se;me.exports=function(y){if(!ie(re,y)||!(ce||typeof re[y]=="string")){var x="Symbol."+y;ce&&ie(ne,y)?re[y]=ne[y]:oe&&te?re[y]=te(x):re[y]=a(x)}return re[y]}},{"../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,me,de){me.exports=`
|
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},{}],270:[function(E,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/global"),ie=E("../internals/array-buffer"),se=E("../internals/set-species"),ce="ArrayBuffer",oe=ie[ce],re=ae[ce];le({global:!0,forced:re!==oe},{ArrayBuffer:oe}),se(ce)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(E,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),se=E("../internals/array-buffer"),ce=E("../internals/an-object"),oe=E("../internals/to-absolute-index"),re=E("../internals/to-length"),ne=E("../internals/species-constructor"),te=se.ArrayBuffer,a=se.DataView,y=a.prototype,x=ae(te.prototype.slice),b=ae(y.getUint8),ee=ae(y.setUint8),z=ie(function(){return!new te(2).slice(1,void 0).byteLength});le({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:z},{slice:function(fe,ge){if(x&&ge===void 0)return x(ce(this),fe);for(var he=ce(this).byteLength,pe=oe(fe,he),ye=oe(ge===void 0?he:ge,he),ve=new(ne(this,te))(re(ye-pe)),Pe=new a(this),we=new a(ve),Ae=0;pe<ye;)ee(we,Ae++,b(Pe,pe++));return ve}})},{"../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,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/global"),ie=E("../internals/fails"),se=E("../internals/is-array"),ce=E("../internals/is-object"),oe=E("../internals/to-object"),re=E("../internals/length-of-array-like"),ne=E("../internals/create-property"),te=E("../internals/array-species-create"),a=E("../internals/array-method-has-species-support"),y=E("../internals/well-known-symbol"),x=E("../internals/engine-v8-version"),b=y("isConcatSpreadable"),ee=9007199254740991,z="Maximum allowed index exceeded",ue=ae.TypeError,fe=x>=51||!ie(function(){var ye=[];return ye[b]=!1,ye.concat()[0]!==ye}),ge=a("concat"),he=function(ye){if(!ce(ye))return!1;var ve=ye[b];return ve!==void 0?!!ve:se(ye)},pe=!fe||!ge;le({target:"Array",proto:!0,forced:pe},{concat:function(ve){var Pe=oe(this),we=te(Pe,0),Ae=0,_e,xe,Ee,Oe,Ie;for(_e=-1,Ee=arguments.length;_e<Ee;_e++)if(Ie=_e===-1?Pe:arguments[_e],he(Ie)){if(Oe=re(Ie),Ae+Oe>ee)throw ue(z);for(xe=0;xe<Oe;xe++,Ae++)xe in Ie&&ne(we,Ae,Ie[xe])}else{if(Ae>=ee)throw ue(z);ne(we,Ae++,Ie)}return we.length=Ae,we}})},{"../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,me,de){var le=E("../internals/export"),ae=E("../internals/array-fill"),ie=E("../internals/add-to-unscopables");le({target:"Array",proto:!0},{fill:ae}),ie("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/array-iteration").filter,ie=E("../internals/array-method-has-species-support"),se=ie("filter");le({target:"Array",proto:!0,forced:!se},{filter:function(oe){return ae(this,oe,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/array-iteration").find,ie=E("../internals/add-to-unscopables"),se="find",ce=!0;se in[]&&Array(1)[se](function(){ce=!1}),le({target:"Array",proto:!0,forced:ce},{find:function(re){return ae(this,re,arguments.length>1?arguments[1]:void 0)}}),ie(se)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,me,de){var le=E("../internals/export"),ae=E("../internals/array-from"),ie=E("../internals/check-correctness-of-iteration"),se=!ie(function(ce){Array.from(ce)});le({target:"Array",stat:!0,forced:se},{from:ae})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/array-includes").includes,ie=E("../internals/add-to-unscopables");le({target:"Array",proto:!0},{includes:function(ce){return ae(this,ce,arguments.length>1?arguments[1]:void 0)}}),ie("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,me,de){"use strict";var le=E("../internals/to-indexed-object"),ae=E("../internals/add-to-unscopables"),ie=E("../internals/iterators"),se=E("../internals/internal-state"),ce=E("../internals/object-define-property").f,oe=E("../internals/define-iterator"),re=E("../internals/is-pure"),ne=E("../internals/descriptors"),te="Array Iterator",a=se.set,y=se.getterFor(te);me.exports=oe(Array,"Array",function(b,ee){a(this,{type:te,target:le(b),index:0,kind:ee})},function(){var b=y(this),ee=b.target,z=b.kind,ue=b.index++;return!ee||ue>=ee.length?(b.target=void 0,{value:void 0,done:!0}):z=="keys"?{value:ue,done:!1}:z=="values"?{value:ee[ue],done:!1}:{value:[ue,ee[ue]],done:!1}},"values");var x=ie.Arguments=ie.Array;if(ae("keys"),ae("values"),ae("entries"),!re&&ne&&x.name!=="values")try{ce(x,"name",{value:"values"})}catch(b){}},{"../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,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),se=E("../internals/to-indexed-object"),ce=E("../internals/array-method-is-strict"),oe=ae([].join),re=ie!=Object,ne=ce("join",",");le({target:"Array",proto:!0,forced:re||!ne},{join:function(a){return oe(se(this),a===void 0?",":a)}})},{"../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,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/array-iteration").map,ie=E("../internals/array-method-has-species-support"),se=ie("map");le({target:"Array",proto:!0,forced:!se},{map:function(oe){return ae(this,oe,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/global"),ie=E("../internals/is-array"),se=E("../internals/is-constructor"),ce=E("../internals/is-object"),oe=E("../internals/to-absolute-index"),re=E("../internals/length-of-array-like"),ne=E("../internals/to-indexed-object"),te=E("../internals/create-property"),a=E("../internals/well-known-symbol"),y=E("../internals/array-method-has-species-support"),x=E("../internals/array-slice"),b=y("slice"),ee=a("species"),z=ae.Array,ue=Math.max;le({target:"Array",proto:!0,forced:!b},{slice:function(ge,he){var pe=ne(this),ye=re(pe),ve=oe(ge,ye),Pe=oe(he===void 0?ye:he,ye),we,Ae,_e;if(ie(pe)&&(we=pe.constructor,se(we)&&(we===z||ie(we.prototype))?we=void 0:ce(we)&&(we=we[ee],we===null&&(we=void 0)),we===z||we===void 0))return x(pe,ve,Pe);for(Ae=new(we===void 0?z:we)(ue(Pe-ve,0)),_e=0;ve<Pe;ve++,_e++)ve in pe&&te(Ae,_e,pe[ve]);return Ae.length=_e,Ae}})},{"../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,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/function-uncurry-this"),ie=E("../internals/a-callable"),se=E("../internals/to-object"),ce=E("../internals/length-of-array-like"),oe=E("../internals/to-string"),re=E("../internals/fails"),ne=E("../internals/array-sort"),te=E("../internals/array-method-is-strict"),a=E("../internals/engine-ff-version"),y=E("../internals/engine-is-ie-or-edge"),x=E("../internals/engine-v8-version"),b=E("../internals/engine-webkit-version"),ee=[],z=ae(ee.sort),ue=ae(ee.push),fe=re(function(){ee.sort(void 0)}),ge=re(function(){ee.sort(null)}),he=te("sort"),pe=!re(function(){if(x)return x<70;if(!(a&&a>3)){if(y)return!0;if(b)return b<603;var Pe="",we,Ae,_e,xe;for(we=65;we<76;we++){switch(Ae=String.fromCharCode(we),we){case 66:case 69:case 70:case 72:_e=3;break;case 68:case 71:_e=4;break;default:_e=2}for(xe=0;xe<47;xe++)ee.push({k:Ae+xe,v:_e})}for(ee.sort(function(Ee,Oe){return Oe.v-Ee.v}),xe=0;xe<ee.length;xe++)Ae=ee[xe].k.charAt(0),Pe.charAt(Pe.length-1)!==Ae&&(Pe+=Ae);return Pe!=="DGBEFHACIJK"}}),ye=fe||!ge||!he||!pe,ve=function(Pe){return function(we,Ae){return Ae===void 0?-1:we===void 0?1:Pe!==void 0?+Pe(we,Ae)||0:oe(we)>oe(Ae)?1:-1}};le({target:"Array",proto:!0,forced:ye},{sort:function(we){we!==void 0&&ie(we);var Ae=se(this);if(pe)return we===void 0?z(Ae):z(Ae,we);var _e=[],xe=ce(Ae),Ee,Oe;for(Oe=0;Oe<xe;Oe++)Oe in Ae&&ue(_e,Ae[Oe]);for(ne(_e,ve(we)),Ee=_e.length,Oe=0;Oe<Ee;)Ae[Oe]=_e[Oe++];for(;Oe<xe;)delete Ae[Oe++];return Ae}})},{"../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,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/global"),ie=E("../internals/to-absolute-index"),se=E("../internals/to-integer-or-infinity"),ce=E("../internals/length-of-array-like"),oe=E("../internals/to-object"),re=E("../internals/array-species-create"),ne=E("../internals/create-property"),te=E("../internals/array-method-has-species-support"),a=te("splice"),y=ae.TypeError,x=Math.max,b=Math.min,ee=9007199254740991,z="Maximum allowed length exceeded";le({target:"Array",proto:!0,forced:!a},{splice:function(fe,ge){var he=oe(this),pe=ce(he),ye=ie(fe,pe),ve=arguments.length,Pe,we,Ae,_e,xe,Ee;if(ve===0?Pe=we=0:ve===1?(Pe=0,we=pe-ye):(Pe=ve-2,we=b(x(se(ge),0),pe-ye)),pe+Pe-we>ee)throw y(z);for(Ae=re(he,we),_e=0;_e<we;_e++)xe=ye+_e,xe in he&&ne(Ae,_e,he[xe]);if(Ae.length=we,Pe<we){for(_e=ye;_e<pe-we;_e++)xe=_e+we,Ee=_e+Pe,xe in he?he[Ee]=he[xe]:delete he[Ee];for(_e=pe;_e>pe-we+Pe;_e--)delete he[_e-1]}else if(Pe>we)for(_e=pe-we;_e>ye;_e--)xe=_e+we-1,Ee=_e+Pe-1,xe in he?he[Ee]=he[xe]:delete he[Ee];for(_e=0;_e<Pe;_e++)he[_e+ye]=arguments[_e+2];return he.length=pe-we+Pe,Ae}})},{"../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,me,de){var le=E("../internals/descriptors"),ae=E("../internals/function-name").EXISTS,ie=E("../internals/function-uncurry-this"),se=E("../internals/object-define-property").f,ce=Function.prototype,oe=ie(ce.toString),re=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ne=ie(re.exec),te="name";le&&!ae&&se(ce,te,{configurable:!0,get:function(){try{return ne(re,oe(this))[1]}catch(a){return""}}})},{"../internals/descriptors":134,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/object-define-property":198}],285:[function(E,me,de){var le=E("../internals/export"),ae=E("../internals/get-built-in"),ie=E("../internals/function-apply"),se=E("../internals/function-call"),ce=E("../internals/function-uncurry-this"),oe=E("../internals/fails"),re=E("../internals/is-array"),ne=E("../internals/is-callable"),te=E("../internals/is-object"),a=E("../internals/is-symbol"),y=E("../internals/array-slice"),x=E("../internals/native-symbol"),b=ae("JSON","stringify"),ee=ce(/./.exec),z=ce("".charAt),ue=ce("".charCodeAt),fe=ce("".replace),ge=ce(1 .toString),he=/[\uD800-\uDFFF]/g,pe=/^[\uD800-\uDBFF]$/,ye=/^[\uDC00-\uDFFF]$/,ve=!x||oe(function(){var _e=ae("Symbol")();return b([_e])!="[null]"||b({a:_e})!="{}"||b(Object(_e))!="{}"}),Pe=oe(function(){return b("\uDF06\uD834")!=='"\\udf06\\ud834"'||b("\uDEAD")!=='"\\udead"'}),we=function(_e,xe){var Ee=y(arguments),Oe=xe;if(!(!te(xe)&&_e===void 0||a(_e)))return re(xe)||(xe=function(Ie,Ne){if(ne(Oe)&&(Ne=se(Oe,this,Ie,Ne)),!a(Ne))return Ne}),Ee[1]=xe,ie(b,null,Ee)},Ae=function(_e,xe,Ee){var Oe=z(Ee,xe-1),Ie=z(Ee,xe+1);return ee(pe,_e)&&!ee(ye,Ie)||ee(ye,_e)&&!ee(pe,Oe)?"\\u"+ge(ue(_e,0),16):_e};b&&le({target:"JSON",stat:!0,forced:ve||Pe},{stringify:function(xe,Ee,Oe){var Ie=y(arguments),Ne=ie(ve?we:b,null,Ie);return Pe&&typeof Ne=="string"?fe(Ne,he,Ae):Ne}})},{"../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,me,de){"use strict";var le=E("../internals/descriptors"),ae=E("../internals/global"),ie=E("../internals/function-uncurry-this"),se=E("../internals/is-forced"),ce=E("../internals/redefine"),oe=E("../internals/has-own-property"),re=E("../internals/inherit-if-required"),ne=E("../internals/object-is-prototype-of"),te=E("../internals/is-symbol"),a=E("../internals/to-primitive"),y=E("../internals/fails"),x=E("../internals/object-get-own-property-names").f,b=E("../internals/object-get-own-property-descriptor").f,ee=E("../internals/object-define-property").f,z=E("../internals/this-number-value"),ue=E("../internals/string-trim").trim,fe="Number",ge=ae[fe],he=ge.prototype,pe=ae.TypeError,ye=ie("".slice),ve=ie("".charCodeAt),Pe=function(Oe){var Ie=a(Oe,"number");return typeof Ie=="bigint"?Ie:we(Ie)},we=function(Oe){var Ie=a(Oe,"number"),Ne,Te,Je,Qe,Ze,Ke,Ue,ke;if(te(Ie))throw pe("Cannot convert a Symbol value to a number");if(typeof Ie=="string"&&Ie.length>2){if(Ie=ue(Ie),Ne=ve(Ie,0),Ne===43||Ne===45){if(Te=ve(Ie,2),Te===88||Te===120)return NaN}else if(Ne===48){switch(ve(Ie,1)){case 66:case 98:Je=2,Qe=49;break;case 79:case 111:Je=8,Qe=55;break;default:return+Ie}for(Ze=ye(Ie,2),Ke=Ze.length,Ue=0;Ue<Ke;Ue++)if(ke=ve(Ze,Ue),ke<48||ke>Qe)return NaN;return parseInt(Ze,Je)}}return+Ie};if(se(fe,!ge(" 0o1")||!ge("0b1")||ge("+0x1"))){for(var Ae=function(Ie){var Ne=arguments.length<1?0:ge(Pe(Ie)),Te=this;return ne(he,Te)&&y(function(){z(Te)})?re(Object(Ne),Te,Ae):Ne},_e=le?x(ge):"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(","),xe=0,Ee;_e.length>xe;xe++)oe(ge,Ee=_e[xe])&&!oe(Ae,Ee)&&ee(Ae,Ee,b(ge,Ee));Ae.prototype=he,he.constructor=Ae,ce(ae,fe,Ae)}},{"../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,me,de){var le=E("../internals/export"),ae=E("../internals/object-assign");le({target:"Object",stat:!0,forced:Object.assign!==ae},{assign:ae})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,me,de){var le=E("../internals/export"),ae=E("../internals/object-to-array").entries;le({target:"Object",stat:!0},{entries:function(se){return ae(se)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,me,de){var le=E("../internals/export"),ae=E("../internals/native-symbol"),ie=E("../internals/fails"),se=E("../internals/object-get-own-property-symbols"),ce=E("../internals/to-object"),oe=!ae||ie(function(){se.f(1)});le({target:"Object",stat:!0,forced:oe},{getOwnPropertySymbols:function(ne){var te=se.f;return te?te(ce(ne)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,me,de){var le=E("../internals/export"),ae=E("../internals/to-object"),ie=E("../internals/object-keys"),se=E("../internals/fails"),ce=se(function(){ie(1)});le({target:"Object",stat:!0,forced:ce},{keys:function(re){return ie(ae(re))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,me,de){var le=E("../internals/to-string-tag-support"),ae=E("../internals/redefine"),ie=E("../internals/object-to-string");le||ae(Object.prototype,"toString",ie,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/function-call"),ie=E("../internals/a-callable"),se=E("../internals/new-promise-capability"),ce=E("../internals/perform"),oe=E("../internals/iterate"),re=E("../internals/promise-statics-incorrect-iteration");le({target:"Promise",stat:!0,forced:re},{all:function(te){var a=this,y=se.f(a),x=y.resolve,b=y.reject,ee=ce(function(){var z=ie(a.resolve),ue=[],fe=0,ge=1;oe(te,function(he){var pe=fe++,ye=!1;ge++,ae(z,a,he).then(function(ve){ye||(ye=!0,ue[pe]=ve,--ge||x(ue))},b)}),--ge||x(ue)});return ee.error&&b(ee.value),y.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,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/is-pure"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR,se=E("../internals/promise-native-constructor"),ce=E("../internals/get-built-in"),oe=E("../internals/is-callable"),re=E("../internals/redefine"),ne=se&&se.prototype;if(le({target:"Promise",proto:!0,forced:ie,real:!0},{catch:function(a){return this.then(void 0,a)}}),!ae&&oe(se)){var te=ce("Promise").prototype.catch;ne.catch!==te&&re(ne,"catch",te,{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,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/is-pure"),ie=E("../internals/engine-is-node"),se=E("../internals/global"),ce=E("../internals/function-call"),oe=E("../internals/redefine"),re=E("../internals/redefine-all"),ne=E("../internals/object-set-prototype-of"),te=E("../internals/set-to-string-tag"),a=E("../internals/set-species"),y=E("../internals/a-callable"),x=E("../internals/is-callable"),b=E("../internals/is-object"),ee=E("../internals/an-instance"),z=E("../internals/species-constructor"),ue=E("../internals/task").set,fe=E("../internals/microtask"),ge=E("../internals/host-report-errors"),he=E("../internals/perform"),pe=E("../internals/queue"),ye=E("../internals/internal-state"),ve=E("../internals/promise-native-constructor"),Pe=E("../internals/promise-constructor-detection"),we=E("../internals/new-promise-capability"),Ae="Promise",_e=Pe.CONSTRUCTOR,xe=Pe.REJECTION_EVENT,Ee=Pe.SUBCLASSING,Oe=ye.getterFor(Ae),Ie=ye.set,Ne=ve&&ve.prototype,Te=ve,Je=Ne,Qe=se.TypeError,Ze=se.document,Ke=se.process,Ue=we.f,ke=Ue,Re=!!(Ze&&Ze.createEvent&&se.dispatchEvent),He="unhandledrejection",qe="rejectionhandled",rt=0,We=1,ze=2,Me=1,Ge=2,Le,Ve,ot,et,Xe=function(at){var ut;return b(at)&&x(ut=at.then)?ut:!1},je=function(at,ut){var st=ut.value,vt=ut.state==We,mt=vt?at.ok:at.fail,pt=at.resolve,yt=at.reject,Et=at.domain,At,kt,$t;try{mt?(vt||(ut.rejection===Ge&&nt(ut),ut.rejection=Me),mt===!0?At=st:(Et&&Et.enter(),At=mt(st),Et&&(Et.exit(),$t=!0)),At===at.promise?yt(Qe("Promise-chain cycle")):(kt=Xe(At))?ce(kt,At,pt,yt):pt(At)):yt(st)}catch(rn){Et&&!$t&&Et.exit(),yt(rn)}},Ce=function(at,ut){at.notified||(at.notified=!0,fe(function(){for(var st=at.reactions,vt;vt=st.get();)je(vt,at);at.notified=!1,ut&&!at.rejection&&Fe(at)}))},De=function(at,ut,st){var vt,mt;Re?(vt=Ze.createEvent("Event"),vt.promise=ut,vt.reason=st,vt.initEvent(at,!1,!0),se.dispatchEvent(vt)):vt={promise:ut,reason:st},!xe&&(mt=se["on"+at])?mt(vt):at===He&&ge("Unhandled promise rejection",st)},Fe=function(at){ce(ue,se,function(){var ut=at.facade,st=at.value,vt=Ye(at),mt;if(vt&&(mt=he(function(){ie?Ke.emit("unhandledRejection",st,ut):De(He,ut,st)}),at.rejection=ie||Ye(at)?Ge:Me,mt.error))throw mt.value})},Ye=function(at){return at.rejection!==Me&&!at.parent},nt=function(at){ce(ue,se,function(){var ut=at.facade;ie?Ke.emit("rejectionHandled",ut):De(qe,ut,at.value)})},$e=function(at,ut,st){return function(vt){at(ut,vt,st)}},tt=function(at,ut,st){at.done||(at.done=!0,st&&(at=st),at.value=ut,at.state=ze,Ce(at,!0))},lt=function(at,ut,st){if(!at.done){at.done=!0,st&&(at=st);try{if(at.facade===ut)throw Qe("Promise can't be resolved itself");var vt=Xe(ut);vt?fe(function(){var mt={done:!1};try{ce(vt,ut,$e(lt,mt,at),$e(tt,mt,at))}catch(pt){tt(mt,pt,at)}}):(at.value=ut,at.state=We,Ce(at,!1))}catch(mt){tt({done:!1},mt,at)}}};if(_e&&(Te=function(ut){ee(this,Je),y(ut),ce(Le,this);var st=Oe(this);try{ut($e(lt,st),$e(tt,st))}catch(vt){tt(st,vt)}},Je=Te.prototype,Le=function(ut){Ie(this,{type:Ae,done:!1,notified:!1,parent:!1,reactions:new pe,rejection:!1,state:rt,value:void 0})},Le.prototype=re(Je,{then:function(ut,st){var vt=Oe(this),mt=Ue(z(this,Te));return vt.parent=!0,mt.ok=x(ut)?ut:!0,mt.fail=x(st)&&st,mt.domain=ie?Ke.domain:void 0,vt.state==rt?vt.reactions.add(mt):fe(function(){je(mt,vt)}),mt.promise}}),Ve=function(){var at=new Le,ut=Oe(at);this.promise=at,this.resolve=$e(lt,ut),this.reject=$e(tt,ut)},we.f=Ue=function(at){return at===Te||at===ot?new Ve(at):ke(at)},!ae&&x(ve)&&Ne!==Object.prototype)){et=Ne.then,Ee||oe(Ne,"then",function(ut,st){var vt=this;return new Te(function(mt,pt){ce(et,vt,mt,pt)}).then(ut,st)},{unsafe:!0});try{delete Ne.constructor}catch(at){}ne&&ne(Ne,Je)}le({global:!0,wrap:!0,forced:_e},{Promise:Te}),te(Te,Ae,!1,!0),a(Ae)},{"../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,me,de){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,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/function-call"),ie=E("../internals/a-callable"),se=E("../internals/new-promise-capability"),ce=E("../internals/perform"),oe=E("../internals/iterate"),re=E("../internals/promise-statics-incorrect-iteration");le({target:"Promise",stat:!0,forced:re},{race:function(te){var a=this,y=se.f(a),x=y.reject,b=ce(function(){var ee=ie(a.resolve);oe(te,function(z){ae(ee,a,z).then(y.resolve,x)})});return b.error&&x(b.value),y.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,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/function-call"),ie=E("../internals/new-promise-capability"),se=E("../internals/promise-constructor-detection").CONSTRUCTOR;le({target:"Promise",stat:!0,forced:se},{reject:function(oe){var re=ie.f(this);return ae(re.reject,void 0,oe),re.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/get-built-in"),ie=E("../internals/is-pure"),se=E("../internals/promise-native-constructor"),ce=E("../internals/promise-constructor-detection").CONSTRUCTOR,oe=E("../internals/promise-resolve"),re=ae("Promise"),ne=ie&&!ce;le({target:"Promise",stat:!0,forced:ie||ce},{resolve:function(a){return oe(ne&&this===re?se:this,a)}})},{"../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,me,de){var le=E("../internals/descriptors"),ae=E("../internals/global"),ie=E("../internals/function-uncurry-this"),se=E("../internals/is-forced"),ce=E("../internals/inherit-if-required"),oe=E("../internals/create-non-enumerable-property"),re=E("../internals/object-get-own-property-names").f,ne=E("../internals/object-is-prototype-of"),te=E("../internals/is-regexp"),a=E("../internals/to-string"),y=E("../internals/regexp-get-flags"),x=E("../internals/regexp-sticky-helpers"),b=E("../internals/proxy-accessor"),ee=E("../internals/redefine"),z=E("../internals/fails"),ue=E("../internals/has-own-property"),fe=E("../internals/internal-state").enforce,ge=E("../internals/set-species"),he=E("../internals/well-known-symbol"),pe=E("../internals/regexp-unsupported-dot-all"),ye=E("../internals/regexp-unsupported-ncg"),ve=he("match"),Pe=ae.RegExp,we=Pe.prototype,Ae=ae.SyntaxError,_e=ie(we.exec),xe=ie("".charAt),Ee=ie("".replace),Oe=ie("".indexOf),Ie=ie("".slice),Ne=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Te=/a/g,Je=/a/g,Qe=new Pe(Te)!==Te,Ze=x.MISSED_STICKY,Ke=x.UNSUPPORTED_Y,Ue=le&&(!Qe||Ze||pe||ye||z(function(){return Je[ve]=!1,Pe(Te)!=Te||Pe(Je)==Je||Pe(Te,"i")!="/a/i"})),ke=function(We){for(var ze=We.length,Me=0,Ge="",Le=!1,Ve;Me<=ze;Me++){if(Ve=xe(We,Me),Ve==="\\"){Ge+=Ve+xe(We,++Me);continue}!Le&&Ve==="."?Ge+="[\\s\\S]":(Ve==="["?Le=!0:Ve==="]"&&(Le=!1),Ge+=Ve)}return Ge},Re=function(We){for(var ze=We.length,Me=0,Ge="",Le=[],Ve={},ot=!1,et=!1,Xe=0,je="",Ce;Me<=ze;Me++){if(Ce=xe(We,Me),Ce==="\\")Ce=Ce+xe(We,++Me);else if(Ce==="]")ot=!1;else if(!ot)switch(!0){case Ce==="[":ot=!0;break;case Ce==="(":_e(Ne,Ie(We,Me+1))&&(Me+=2,et=!0),Ge+=Ce,Xe++;continue;case(Ce===">"&&et):if(je===""||ue(Ve,je))throw new Ae("Invalid capture group name");Ve[je]=!0,Le[Le.length]=[je,Xe],et=!1,je="";continue}et?je+=Ce:Ge+=Ce}return[Ge,Le]};if(se("RegExp",Ue)){for(var He=function(ze,Me){var Ge=ne(we,this),Le=te(ze),Ve=Me===void 0,ot=[],et=ze,Xe,je,Ce,De,Fe,Ye;if(!Ge&&Le&&Ve&&ze.constructor===He)return ze;if((Le||ne(we,ze))&&(ze=ze.source,Ve&&(Me=y(et))),ze=ze===void 0?"":a(ze),Me=Me===void 0?"":a(Me),et=ze,pe&&"dotAll"in Te&&(je=!!Me&&Oe(Me,"s")>-1,je&&(Me=Ee(Me,/s/g,""))),Xe=Me,Ze&&"sticky"in Te&&(Ce=!!Me&&Oe(Me,"y")>-1,Ce&&Ke&&(Me=Ee(Me,/y/g,""))),ye&&(De=Re(ze),ze=De[0],ot=De[1]),Fe=ce(Pe(ze,Me),Ge?this:we,He),(je||Ce||ot.length)&&(Ye=fe(Fe),je&&(Ye.dotAll=!0,Ye.raw=He(ke(ze),Xe)),Ce&&(Ye.sticky=!0),ot.length&&(Ye.groups=ot)),ze!==et)try{oe(Fe,"source",et===""?"(?:)":et)}catch(nt){}return Fe},qe=re(Pe),rt=0;qe.length>rt;)b(He,Pe,qe[rt++]);we.constructor=He,He.prototype=we,ee(ae,"RegExp",He)}ge("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,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/regexp-exec");le({target:"RegExp",proto:!0,forced:/./.exec!==ae},{exec:ae})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,me,de){"use strict";var le=E("../internals/function-name").PROPER,ae=E("../internals/redefine"),ie=E("../internals/an-object"),se=E("../internals/to-string"),ce=E("../internals/fails"),oe=E("../internals/regexp-get-flags"),re="toString",ne=RegExp.prototype,te=ne[re],a=ce(function(){return te.call({source:"a",flags:"b"})!="/a/b"}),y=le&&te.name!=re;(a||y)&&ae(RegExp.prototype,re,function(){var b=ie(this),ee=se(b.source),z=se(oe(b));return"/"+ee+"/"+z},{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,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/function-uncurry-this"),ie=E("../internals/not-a-regexp"),se=E("../internals/require-object-coercible"),ce=E("../internals/to-string"),oe=E("../internals/correct-is-regexp-logic"),re=ae("".indexOf);le({target:"String",proto:!0,forced:!oe("includes")},{includes:function(te){return!!~re(ce(se(this)),ce(ie(te)),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,me,de){"use strict";var le=E("../internals/string-multibyte").charAt,ae=E("../internals/to-string"),ie=E("../internals/internal-state"),se=E("../internals/define-iterator"),ce="String Iterator",oe=ie.set,re=ie.getterFor(ce);se(String,"String",function(ne){oe(this,{type:ce,string:ae(ne),index:0})},function(){var te=re(this),a=te.string,y=te.index,x;return y>=a.length?{value:void 0,done:!0}:(x=le(a,y),te.index+=x.length,{value:x,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(E,me,de){"use strict";var le=E("../internals/function-call"),ae=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),se=E("../internals/to-length"),ce=E("../internals/to-string"),oe=E("../internals/require-object-coercible"),re=E("../internals/get-method"),ne=E("../internals/advance-string-index"),te=E("../internals/regexp-exec-abstract");ae("match",function(a,y,x){return[function(ee){var z=oe(this),ue=ee==null?void 0:re(ee,a);return ue?le(ue,ee,z):new RegExp(ee)[a](ce(z))},function(b){var ee=ie(this),z=ce(b),ue=x(y,ee,z);if(ue.done)return ue.value;if(!ee.global)return te(ee,z);var fe=ee.unicode;ee.lastIndex=0;for(var ge=[],he=0,pe;(pe=te(ee,z))!==null;){var ye=ce(pe[0]);ge[he]=ye,ye===""&&(ee.lastIndex=ne(z,se(ee.lastIndex),fe)),he++}return he===0?null:ge}]})},{"../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,me,de){"use strict";var le=E("../internals/function-apply"),ae=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),se=E("../internals/fix-regexp-well-known-symbol-logic"),ce=E("../internals/fails"),oe=E("../internals/an-object"),re=E("../internals/is-callable"),ne=E("../internals/to-integer-or-infinity"),te=E("../internals/to-length"),a=E("../internals/to-string"),y=E("../internals/require-object-coercible"),x=E("../internals/advance-string-index"),b=E("../internals/get-method"),ee=E("../internals/get-substitution"),z=E("../internals/regexp-exec-abstract"),ue=E("../internals/well-known-symbol"),fe=ue("replace"),ge=Math.max,he=Math.min,pe=ie([].concat),ye=ie([].push),ve=ie("".indexOf),Pe=ie("".slice),we=function(Ee){return Ee===void 0?Ee:String(Ee)},Ae=function(){return"a".replace(/./,"$0")==="$0"}(),_e=function(){return/./[fe]?/./[fe]("a","$0")==="":!1}(),xe=!ce(function(){var Ee=/./;return Ee.exec=function(){var Oe=[];return Oe.groups={a:"7"},Oe},"".replace(Ee,"$<a>")!=="7"});se("replace",function(Ee,Oe,Ie){var Ne=_e?"$":"$0";return[function(Je,Qe){var Ze=y(this),Ke=Je==null?void 0:b(Je,fe);return Ke?ae(Ke,Je,Ze,Qe):ae(Oe,a(Ze),Je,Qe)},function(Te,Je){var Qe=oe(this),Ze=a(Te);if(typeof Je=="string"&&ve(Je,Ne)===-1&&ve(Je,"$<")===-1){var Ke=Ie(Oe,Qe,Ze,Je);if(Ke.done)return Ke.value}var Ue=re(Je);Ue||(Je=a(Je));var ke=Qe.global;if(ke){var Re=Qe.unicode;Qe.lastIndex=0}for(var He=[];;){var qe=z(Qe,Ze);if(qe===null||(ye(He,qe),!ke))break;var rt=a(qe[0]);rt===""&&(Qe.lastIndex=x(Ze,te(Qe.lastIndex),Re))}for(var We="",ze=0,Me=0;Me<He.length;Me++){qe=He[Me];for(var Ge=a(qe[0]),Le=ge(he(ne(qe.index),Ze.length),0),Ve=[],ot=1;ot<qe.length;ot++)ye(Ve,we(qe[ot]));var et=qe.groups;if(Ue){var Xe=pe([Ge],Ve,Le,Ze);et!==void 0&&ye(Xe,et);var je=a(le(Je,void 0,Xe))}else je=ee(Ge,Ze,Le,Ve,et,Je);Le>=ze&&(We+=Pe(Ze,ze,Le)+je,ze=Le+Ge.length)}return We+Pe(Ze,ze)}]},!xe||!Ae||_e)},{"../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,me,de){"use strict";var le=E("../internals/function-call"),ae=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),se=E("../internals/require-object-coercible"),ce=E("../internals/same-value"),oe=E("../internals/to-string"),re=E("../internals/get-method"),ne=E("../internals/regexp-exec-abstract");ae("search",function(te,a,y){return[function(b){var ee=se(this),z=b==null?void 0:re(b,te);return z?le(z,b,ee):new RegExp(b)[te](oe(ee))},function(x){var b=ie(this),ee=oe(x),z=y(a,b,ee);if(z.done)return z.value;var ue=b.lastIndex;ce(ue,0)||(b.lastIndex=0);var fe=ne(b,ee);return ce(b.lastIndex,ue)||(b.lastIndex=ue),fe===null?-1:fe.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,me,de){"use strict";var le=E("../internals/function-apply"),ae=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),se=E("../internals/fix-regexp-well-known-symbol-logic"),ce=E("../internals/is-regexp"),oe=E("../internals/an-object"),re=E("../internals/require-object-coercible"),ne=E("../internals/species-constructor"),te=E("../internals/advance-string-index"),a=E("../internals/to-length"),y=E("../internals/to-string"),x=E("../internals/get-method"),b=E("../internals/array-slice-simple"),ee=E("../internals/regexp-exec-abstract"),z=E("../internals/regexp-exec"),ue=E("../internals/regexp-sticky-helpers"),fe=E("../internals/fails"),ge=ue.UNSUPPORTED_Y,he=4294967295,pe=Math.min,ye=[].push,ve=ie(/./.exec),Pe=ie(ye),we=ie("".slice),Ae=!fe(function(){var _e=/(?:)/,xe=_e.exec;_e.exec=function(){return xe.apply(this,arguments)};var Ee="ab".split(_e);return Ee.length!==2||Ee[0]!=="a"||Ee[1]!=="b"});se("split",function(_e,xe,Ee){var Oe;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Oe=function(Ie,Ne){var Te=y(re(this)),Je=Ne===void 0?he:Ne>>>0;if(Je===0)return[];if(Ie===void 0)return[Te];if(!ce(Ie))return ae(xe,Te,Ie,Je);for(var Qe=[],Ze=(Ie.ignoreCase?"i":"")+(Ie.multiline?"m":"")+(Ie.unicode?"u":"")+(Ie.sticky?"y":""),Ke=0,Ue=new RegExp(Ie.source,Ze+"g"),ke,Re,He;(ke=ae(z,Ue,Te))&&(Re=Ue.lastIndex,!(Re>Ke&&(Pe(Qe,we(Te,Ke,ke.index)),ke.length>1&&ke.index<Te.length&&le(ye,Qe,b(ke,1)),He=ke[0].length,Ke=Re,Qe.length>=Je)));)Ue.lastIndex===ke.index&&Ue.lastIndex++;return Ke===Te.length?(He||!ve(Ue,""))&&Pe(Qe,""):Pe(Qe,we(Te,Ke)),Qe.length>Je?b(Qe,0,Je):Qe}:"0".split(void 0,0).length?Oe=function(Ie,Ne){return Ie===void 0&&Ne===0?[]:ae(xe,this,Ie,Ne)}:Oe=xe,[function(Ne,Te){var Je=re(this),Qe=Ne==null?void 0:x(Ne,_e);return Qe?ae(Qe,Ne,Je,Te):ae(Oe,y(Je),Ne,Te)},function(Ie,Ne){var Te=oe(this),Je=y(Ie),Qe=Ee(Oe,Te,Je,Ne,Oe!==xe);if(Qe.done)return Qe.value;var Ze=ne(Te,RegExp),Ke=Te.unicode,Ue=(Te.ignoreCase?"i":"")+(Te.multiline?"m":"")+(Te.unicode?"u":"")+(ge?"g":"y"),ke=new Ze(ge?"^(?:"+Te.source+")":Te,Ue),Re=Ne===void 0?he:Ne>>>0;if(Re===0)return[];if(Je.length===0)return ee(ke,Je)===null?[Je]:[];for(var He=0,qe=0,rt=[];qe<Je.length;){ke.lastIndex=ge?0:qe;var We=ee(ke,ge?we(Je,qe):Je),ze;if(We===null||(ze=pe(a(ke.lastIndex+(ge?qe:0)),Je.length))===He)qe=te(Je,qe,Ke);else{if(Pe(rt,we(Je,He,qe)),rt.length===Re)return rt;for(var Me=1;Me<=We.length-1;Me++)if(Pe(rt,We[Me]),rt.length===Re)return rt;qe=He=ze}}return Pe(rt,we(Je,He)),rt}]},!Ae,ge)},{"../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,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/string-trim").trim,ie=E("../internals/string-trim-forced");le({target:"String",proto:!0,forced:ie("trim")},{trim:function(){return ae(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(E,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/global"),ie=E("../internals/function-call"),se=E("../internals/function-uncurry-this"),ce=E("../internals/is-pure"),oe=E("../internals/descriptors"),re=E("../internals/native-symbol"),ne=E("../internals/fails"),te=E("../internals/has-own-property"),a=E("../internals/object-is-prototype-of"),y=E("../internals/an-object"),x=E("../internals/to-indexed-object"),b=E("../internals/to-property-key"),ee=E("../internals/to-string"),z=E("../internals/create-property-descriptor"),ue=E("../internals/object-create"),fe=E("../internals/object-keys"),ge=E("../internals/object-get-own-property-names"),he=E("../internals/object-get-own-property-names-external"),pe=E("../internals/object-get-own-property-symbols"),ye=E("../internals/object-get-own-property-descriptor"),ve=E("../internals/object-define-property"),Pe=E("../internals/object-define-properties"),we=E("../internals/object-property-is-enumerable"),Ae=E("../internals/redefine"),_e=E("../internals/shared"),xe=E("../internals/shared-key"),Ee=E("../internals/hidden-keys"),Oe=E("../internals/uid"),Ie=E("../internals/well-known-symbol"),Ne=E("../internals/well-known-symbol-wrapped"),Te=E("../internals/define-well-known-symbol"),Je=E("../internals/symbol-define-to-primitive"),Qe=E("../internals/set-to-string-tag"),Ze=E("../internals/internal-state"),Ke=E("../internals/array-iteration").forEach,Ue=xe("hidden"),ke="Symbol",Re="prototype",He=Ze.set,qe=Ze.getterFor(ke),rt=Object[Re],We=ae.Symbol,ze=We&&We[Re],Me=ae.TypeError,Ge=ae.QObject,Le=ye.f,Ve=ve.f,ot=he.f,et=we.f,Xe=se([].push),je=_e("symbols"),Ce=_e("op-symbols"),De=_e("wks"),Fe=!Ge||!Ge[Re]||!Ge[Re].findChild,Ye=oe&&ne(function(){return ue(Ve({},"a",{get:function(){return Ve(this,"a",{value:7}).a}})).a!=7})?function(mt,pt,yt){var Et=Le(rt,pt);Et&&delete rt[pt],Ve(mt,pt,yt),Et&&mt!==rt&&Ve(rt,pt,Et)}:Ve,nt=function(mt,pt){var yt=je[mt]=ue(ze);return He(yt,{type:ke,tag:mt,description:pt}),oe||(yt.description=pt),yt},$e=function(pt,yt,Et){pt===rt&&$e(Ce,yt,Et),y(pt);var At=b(yt);return y(Et),te(je,At)?(Et.enumerable?(te(pt,Ue)&&pt[Ue][At]&&(pt[Ue][At]=!1),Et=ue(Et,{enumerable:z(0,!1)})):(te(pt,Ue)||Ve(pt,Ue,z(1,{})),pt[Ue][At]=!0),Ye(pt,At,Et)):Ve(pt,At,Et)},tt=function(pt,yt){y(pt);var Et=x(yt),At=fe(Et).concat(vt(Et));return Ke(At,function(kt){(!oe||ie(at,Et,kt))&&$e(pt,kt,Et[kt])}),pt},lt=function(pt,yt){return yt===void 0?ue(pt):tt(ue(pt),yt)},at=function(pt){var yt=b(pt),Et=ie(et,this,yt);return this===rt&&te(je,yt)&&!te(Ce,yt)?!1:Et||!te(this,yt)||!te(je,yt)||te(this,Ue)&&this[Ue][yt]?Et:!0},ut=function(pt,yt){var Et=x(pt),At=b(yt);if(!(Et===rt&&te(je,At)&&!te(Ce,At))){var kt=Le(Et,At);return kt&&te(je,At)&&!(te(Et,Ue)&&Et[Ue][At])&&(kt.enumerable=!0),kt}},st=function(pt){var yt=ot(x(pt)),Et=[];return Ke(yt,function(At){!te(je,At)&&!te(Ee,At)&&Xe(Et,At)}),Et},vt=function(mt){var pt=mt===rt,yt=ot(pt?Ce:x(mt)),Et=[];return Ke(yt,function(At){te(je,At)&&(!pt||te(rt,At))&&Xe(Et,je[At])}),Et};re||(We=function(){if(a(ze,this))throw Me("Symbol is not a constructor");var pt=!arguments.length||arguments[0]===void 0?void 0:ee(arguments[0]),yt=Oe(pt),Et=function(At){this===rt&&ie(Et,Ce,At),te(this,Ue)&&te(this[Ue],yt)&&(this[Ue][yt]=!1),Ye(this,yt,z(1,At))};return oe&&Fe&&Ye(rt,yt,{configurable:!0,set:Et}),nt(yt,pt)},ze=We[Re],Ae(ze,"toString",function(){return qe(this).tag}),Ae(We,"withoutSetter",function(mt){return nt(Oe(mt),mt)}),we.f=at,ve.f=$e,Pe.f=tt,ye.f=ut,ge.f=he.f=st,pe.f=vt,Ne.f=function(mt){return nt(Ie(mt),mt)},oe&&(Ve(ze,"description",{configurable:!0,get:function(){return qe(this).description}}),ce||Ae(rt,"propertyIsEnumerable",at,{unsafe:!0}))),le({global:!0,wrap:!0,forced:!re,sham:!re},{Symbol:We}),Ke(fe(De),function(mt){Te(mt)}),le({target:ke,stat:!0,forced:!re},{useSetter:function(){Fe=!0},useSimple:function(){Fe=!1}}),le({target:"Object",stat:!0,forced:!re,sham:!oe},{create:lt,defineProperty:$e,defineProperties:tt,getOwnPropertyDescriptor:ut}),le({target:"Object",stat:!0,forced:!re},{getOwnPropertyNames:st}),Je(),Qe(We,ke),Ee[Ue]=!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,me,de){"use strict";var le=E("../internals/export"),ae=E("../internals/descriptors"),ie=E("../internals/global"),se=E("../internals/function-uncurry-this"),ce=E("../internals/has-own-property"),oe=E("../internals/is-callable"),re=E("../internals/object-is-prototype-of"),ne=E("../internals/to-string"),te=E("../internals/object-define-property").f,a=E("../internals/copy-constructor-properties"),y=ie.Symbol,x=y&&y.prototype;if(ae&&oe(y)&&(!("description"in x)||y().description!==void 0)){var b={},ee=function(){var ve=arguments.length<1||arguments[0]===void 0?void 0:ne(arguments[0]),Pe=re(x,this)?new y(ve):ve===void 0?y():y(ve);return ve===""&&(b[Pe]=!0),Pe};a(ee,y),ee.prototype=x,x.constructor=ee;var z=String(y("test"))=="Symbol(test)",ue=se(x.toString),fe=se(x.valueOf),ge=/^Symbol\((.*)\)[^)]+$/,he=se("".replace),pe=se("".slice);te(x,"description",{configurable:!0,get:function(){var ve=fe(this),Pe=ue(ve);if(ce(b,ve))return"";var we=z?pe(Pe,7,-1):he(Pe,ge,"$1");return we===""?void 0:we}}),le({global:!0,forced:!0},{Symbol:ee})}},{"../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,me,de){var le=E("../internals/export"),ae=E("../internals/get-built-in"),ie=E("../internals/has-own-property"),se=E("../internals/to-string"),ce=E("../internals/shared"),oe=E("../internals/native-symbol-registry"),re=ce("string-to-symbol-registry"),ne=ce("symbol-to-string-registry");le({target:"Symbol",stat:!0,forced:!oe},{for:function(te){var a=se(te);if(ie(re,a))return re[a];var y=ae("Symbol")(a);return re[a]=y,ne[y]=a,y}})},{"../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,me,de){var le=E("../internals/define-well-known-symbol");le("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(E,me,de){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,me,de){var le=E("../internals/export"),ae=E("../internals/has-own-property"),ie=E("../internals/is-symbol"),se=E("../internals/try-to-string"),ce=E("../internals/shared"),oe=E("../internals/native-symbol-registry"),re=ce("symbol-to-string-registry");le({target:"Symbol",stat:!0,forced:!oe},{keyFor:function(te){if(!ie(te))throw TypeError(se(te)+" is not a symbol");if(ae(re,te))return re[te]}})},{"../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,me,de){"use strict";var le=E("../internals/function-uncurry-this"),ae=E("../internals/array-buffer-view-core"),ie=E("../internals/array-copy-within"),se=le(ie),ce=ae.aTypedArray,oe=ae.exportTypedArrayMethod;oe("copyWithin",function(ne,te){return se(ce(this),ne,te,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,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/array-iteration").every,ie=le.aTypedArray,se=le.exportTypedArrayMethod;se("every",function(oe){return ae(ie(this),oe,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/function-call"),ie=E("../internals/array-fill"),se=le.aTypedArray,ce=le.exportTypedArrayMethod;ce("fill",function(re){var ne=arguments.length;return ae(ie,se(this),re,ne>1?arguments[1]:void 0,ne>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/array-iteration").filter,ie=E("../internals/typed-array-from-species-and-list"),se=le.aTypedArray,ce=le.exportTypedArrayMethod;ce("filter",function(re){var ne=ae(se(this),re,arguments.length>1?arguments[1]:void 0);return ie(this,ne)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/array-iteration").findIndex,ie=le.aTypedArray,se=le.exportTypedArrayMethod;se("findIndex",function(oe){return ae(ie(this),oe,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/array-iteration").find,ie=le.aTypedArray,se=le.exportTypedArrayMethod;se("find",function(oe){return ae(ie(this),oe,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/array-iteration").forEach,ie=le.aTypedArray,se=le.exportTypedArrayMethod;se("forEach",function(oe){ae(ie(this),oe,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/array-includes").includes,ie=le.aTypedArray,se=le.exportTypedArrayMethod;se("includes",function(oe){return ae(ie(this),oe,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/array-includes").indexOf,ie=le.aTypedArray,se=le.exportTypedArrayMethod;se("indexOf",function(oe){return ae(ie(this),oe,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,me,de){"use strict";var le=E("../internals/global"),ae=E("../internals/fails"),ie=E("../internals/function-uncurry-this"),se=E("../internals/array-buffer-view-core"),ce=E("../modules/es.array.iterator"),oe=E("../internals/well-known-symbol"),re=oe("iterator"),ne=le.Uint8Array,te=ie(ce.values),a=ie(ce.keys),y=ie(ce.entries),x=se.aTypedArray,b=se.exportTypedArrayMethod,ee=ne&&ne.prototype,z=!ae(function(){ee[re].call([1])}),ue=!!ee&&ee.values&&ee[re]===ee.values&&ee.values.name==="values",fe=function(){return te(x(this))};b("entries",function(){return y(x(this))},z),b("keys",function(){return a(x(this))},z),b("values",fe,z||!ue,{name:"values"}),b(re,fe,z||!ue,{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,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/function-uncurry-this"),ie=le.aTypedArray,se=le.exportTypedArrayMethod,ce=ae([].join);se("join",function(re){return ce(ie(this),re)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/function-apply"),ie=E("../internals/array-last-index-of"),se=le.aTypedArray,ce=le.exportTypedArrayMethod;ce("lastIndexOf",function(re){var ne=arguments.length;return ae(ie,se(this),ne>1?[re,arguments[1]]:[re])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/array-iteration").map,ie=E("../internals/typed-array-species-constructor"),se=le.aTypedArray,ce=le.exportTypedArrayMethod;ce("map",function(re){return ae(se(this),re,arguments.length>1?arguments[1]:void 0,function(ne,te){return new(ie(ne))(te)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/array-reduce").right,ie=le.aTypedArray,se=le.exportTypedArrayMethod;se("reduceRight",function(oe){var re=arguments.length;return ae(ie(this),oe,re,re>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/array-reduce").left,ie=le.aTypedArray,se=le.exportTypedArrayMethod;se("reduce",function(oe){var re=arguments.length;return ae(ie(this),oe,re,re>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=le.aTypedArray,ie=le.exportTypedArrayMethod,se=Math.floor;ie("reverse",function(){for(var oe=this,re=ae(oe).length,ne=se(re/2),te=0,a;te<ne;)a=oe[te],oe[te++]=oe[--re],oe[re]=a;return oe})},{"../internals/array-buffer-view-core":103}],331:[function(E,me,de){"use strict";var le=E("../internals/global"),ae=E("../internals/function-call"),ie=E("../internals/array-buffer-view-core"),se=E("../internals/length-of-array-like"),ce=E("../internals/to-offset"),oe=E("../internals/to-object"),re=E("../internals/fails"),ne=le.RangeError,te=le.Int8Array,a=te&&te.prototype,y=a&&a.set,x=ie.aTypedArray,b=ie.exportTypedArrayMethod,ee=!re(function(){var ue=new Uint8ClampedArray(2);return ae(y,ue,{length:1,0:3},1),ue[1]!==3}),z=ee&&ie.NATIVE_ARRAY_BUFFER_VIEWS&&re(function(){var ue=new te(2);return ue.set(1),ue.set("2",1),ue[0]!==0||ue[1]!==2});b("set",function(fe){x(this);var ge=ce(arguments.length>1?arguments[1]:void 0,1),he=oe(fe);if(ee)return ae(y,this,he,ge);var pe=this.length,ye=se(he),ve=0;if(ye+ge>pe)throw ne("Wrong length");for(;ve<ye;)this[ge+ve]=he[ve++]},!ee||z)},{"../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,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/typed-array-species-constructor"),ie=E("../internals/fails"),se=E("../internals/array-slice"),ce=le.aTypedArray,oe=le.exportTypedArrayMethod,re=ie(function(){new Int8Array(1).slice()});oe("slice",function(te,a){for(var y=se(ce(this),te,a),x=ae(this),b=0,ee=y.length,z=new x(ee);ee>b;)z[b]=y[b++];return z},re)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/array-iteration").some,ie=le.aTypedArray,se=le.exportTypedArrayMethod;se("some",function(oe){return ae(ie(this),oe,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,me,de){"use strict";var le=E("../internals/global"),ae=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),se=E("../internals/a-callable"),ce=E("../internals/array-sort"),oe=E("../internals/array-buffer-view-core"),re=E("../internals/engine-ff-version"),ne=E("../internals/engine-is-ie-or-edge"),te=E("../internals/engine-v8-version"),a=E("../internals/engine-webkit-version"),y=oe.aTypedArray,x=oe.exportTypedArrayMethod,b=le.Uint16Array,ee=b&&ae(b.prototype.sort),z=!!ee&&!(ie(function(){ee(new b(2),null)})&&ie(function(){ee(new b(2),{})})),ue=!!ee&&!ie(function(){if(te)return te<74;if(re)return re<67;if(ne)return!0;if(a)return a<602;var ge=new b(516),he=Array(516),pe,ye;for(pe=0;pe<516;pe++)ye=pe%4,ge[pe]=515-pe,he[pe]=pe-2*ye+3;for(ee(ge,function(ve,Pe){return(ve/4|0)-(Pe/4|0)}),pe=0;pe<516;pe++)if(ge[pe]!==he[pe])return!0}),fe=function(ge){return function(he,pe){return ge!==void 0?+ge(he,pe)||0:pe!==pe?-1:he!==he?1:he===0&&pe===0?1/he>0&&1/pe<0?1:-1:he>pe}};x("sort",function(he){return he!==void 0&&se(he),ue?ee(this,he):ce(y(this),fe(he))},!ue||z)},{"../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,me,de){"use strict";var le=E("../internals/array-buffer-view-core"),ae=E("../internals/to-length"),ie=E("../internals/to-absolute-index"),se=E("../internals/typed-array-species-constructor"),ce=le.aTypedArray,oe=le.exportTypedArrayMethod;oe("subarray",function(ne,te){var a=ce(this),y=a.length,x=ie(ne,y),b=se(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,ae((te===void 0?y:ie(te,y))-x))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(E,me,de){"use strict";var le=E("../internals/global"),ae=E("../internals/function-apply"),ie=E("../internals/array-buffer-view-core"),se=E("../internals/fails"),ce=E("../internals/array-slice"),oe=le.Int8Array,re=ie.aTypedArray,ne=ie.exportTypedArrayMethod,te=[].toLocaleString,a=!!oe&&se(function(){te.call(new oe(1))}),y=se(function(){return[1,2].toLocaleString()!=new oe([1,2]).toLocaleString()})||!se(function(){oe.prototype.toLocaleString.call([1,2])});ne("toLocaleString",function(){return ae(te,a?ce(re(this)):re(this),ce(arguments))},y)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(E,me,de){"use strict";var le=E("../internals/array-buffer-view-core").exportTypedArrayMethod,ae=E("../internals/fails"),ie=E("../internals/global"),se=E("../internals/function-uncurry-this"),ce=ie.Uint8Array,oe=ce&&ce.prototype||{},re=[].toString,ne=se([].join);ae(function(){re.call({})})&&(re=function(){return ne(this)});var te=oe.toString!=re;le("toString",re,te)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,me,de){var le=E("../internals/typed-array-constructor");le("Uint8",function(ae){return function(se,ce,oe){return ae(this,se,ce,oe)}})},{"../internals/typed-array-constructor":258}],339:[function(E,me,de){var le=E("../internals/global"),ae=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),se=E("../internals/array-for-each"),ce=E("../internals/create-non-enumerable-property"),oe=function(ne){if(ne&&ne.forEach!==se)try{ce(ne,"forEach",se)}catch(te){ne.forEach=se}};for(var re in ae)ae[re]&&oe(le[re]&&le[re].prototype);oe(ie)},{"../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,me,de){var le=E("../internals/global"),ae=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),se=E("../modules/es.array.iterator"),ce=E("../internals/create-non-enumerable-property"),oe=E("../internals/well-known-symbol"),re=oe("iterator"),ne=oe("toStringTag"),te=se.values,a=function(x,b){if(x){if(x[re]!==te)try{ce(x,re,te)}catch(z){x[re]=te}if(x[ne]||ce(x,ne,b),ae[b]){for(var ee in se)if(x[ee]!==se[ee])try{ce(x,ee,se[ee])}catch(z){x[ee]=se[ee]}}}};for(var y in ae)a(le[y]&&le[y].prototype,y);a(ie,"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,me,de){function le(ue){return Array.isArray?Array.isArray(ue):z(ue)==="[object Array]"}de.isArray=le;function ae(ue){return typeof ue=="boolean"}de.isBoolean=ae;function ie(ue){return ue===null}de.isNull=ie;function se(ue){return ue==null}de.isNullOrUndefined=se;function ce(ue){return typeof ue=="number"}de.isNumber=ce;function oe(ue){return typeof ue=="string"}de.isString=oe;function re(ue){return typeof ue=="symbol"}de.isSymbol=re;function ne(ue){return ue===void 0}de.isUndefined=ne;function te(ue){return z(ue)==="[object RegExp]"}de.isRegExp=te;function a(ue){return typeof ue=="object"&&ue!==null}de.isObject=a;function y(ue){return z(ue)==="[object Date]"}de.isDate=y;function x(ue){return z(ue)==="[object Error]"||ue instanceof Error}de.isError=x;function b(ue){return typeof ue=="function"}de.isFunction=b;function ee(ue){return ue===null||typeof ue=="boolean"||typeof ue=="number"||typeof ue=="string"||typeof ue=="symbol"||typeof ue=="undefined"}de.isPrimitive=ee,de.isBuffer=E("buffer").Buffer.isBuffer;function z(ue){return Object.prototype.toString.call(ue)}},{buffer:90}],342:[function(E,me,de){(function(le){"use strict";var ae=function(){var re=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,ne=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,te=/[^-+\dA-Z]/g;return function(a,y,x,b){if(arguments.length===1&&oe(a)==="string"&&!/\d/.test(a)&&(y=a,a=void 0),a=a||new Date,a instanceof Date||(a=new Date(a)),isNaN(a))throw TypeError("Invalid date");y=String(ae.masks[y]||y||ae.masks.default);var ee=y.slice(0,4);(ee==="UTC:"||ee==="GMT:")&&(y=y.slice(4),x=!0,ee==="GMT:"&&(b=!0));var z=x?"getUTC":"get",ue=a[z+"Date"](),fe=a[z+"Day"](),ge=a[z+"Month"](),he=a[z+"FullYear"](),pe=a[z+"Hours"](),ye=a[z+"Minutes"](),ve=a[z+"Seconds"](),Pe=a[z+"Milliseconds"](),we=x?0:a.getTimezoneOffset(),Ae=se(a),_e=ce(a),xe={d:ue,dd:ie(ue),ddd:ae.i18n.dayNames[fe],dddd:ae.i18n.dayNames[fe+7],m:ge+1,mm:ie(ge+1),mmm:ae.i18n.monthNames[ge],mmmm:ae.i18n.monthNames[ge+12],yy:String(he).slice(2),yyyy:he,h:pe%12||12,hh:ie(pe%12||12),H:pe,HH:ie(pe),M:ye,MM:ie(ye),s:ve,ss:ie(ve),l:ie(Pe,3),L:ie(Math.round(Pe/10)),t:pe<12?"a":"p",tt:pe<12?"am":"pm",T:pe<12?"A":"P",TT:pe<12?"AM":"PM",Z:b?"GMT":x?"UTC":(String(a).match(ne)||[""]).pop().replace(te,""),o:(we>0?"-":"+")+ie(Math.floor(Math.abs(we)/60)*100+Math.abs(we)%60,4),S:["th","st","nd","rd"][ue%10>3?0:(ue%100-ue%10!=10)*ue%10],W:Ae,N:_e};return y.replace(re,function(Ee){return Ee in xe?xe[Ee]:Ee.slice(1,Ee.length-1)})}}();ae.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"},ae.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 ie(re,ne){for(re=String(re),ne=ne||2;re.length<ne;)re="0"+re;return re}function se(re){var ne=new Date(re.getFullYear(),re.getMonth(),re.getDate());ne.setDate(ne.getDate()-(ne.getDay()+6)%7+3);var te=new Date(ne.getFullYear(),0,4);te.setDate(te.getDate()-(te.getDay()+6)%7+3);var a=ne.getTimezoneOffset()-te.getTimezoneOffset();ne.setHours(ne.getHours()-a);var y=(ne-te)/(864e5*7);return 1+Math.floor(y)}function ce(re){var ne=re.getDay();return ne===0&&(ne=7),ne}function oe(re){return re===null?"null":re===void 0?"undefined":typeof re!="object"?typeof re:Array.isArray(re)?"array":{}.toString.call(re).slice(8,-1).toLowerCase()}typeof Se=="function"&&Se.amd?Se(function(){return ae}):typeof de=="object"?me.exports=ae:le.dateFormat=ae})(this)},{}],343:[function(E,me,de){"use strict";var le=/["'&<>]/;me.exports=ae;function ae(ie){var se=""+ie,ce=le.exec(se);if(!ce)return se;var oe,re="",ne=0,te=0;for(ne=ce.index;ne<se.length;ne++){switch(se.charCodeAt(ne)){case 34:oe=""";break;case 38:oe="&";break;case 39:oe="'";break;case 60:oe="<";break;case 62:oe=">";break;default:continue}te!==ne&&(re+=se.substring(te,ne)),te=ne+1,re+=oe}return te!==ne?re+se.substring(te,ne):re}},{}],344:[function(E,me,de){"use strict";var le=typeof Reflect=="object"?Reflect:null,ae=le&&typeof le.apply=="function"?le.apply:function(ve,Pe,we){return Function.prototype.apply.call(ve,Pe,we)},ie;le&&typeof le.ownKeys=="function"?ie=le.ownKeys:Object.getOwnPropertySymbols?ie=function(ve){return Object.getOwnPropertyNames(ve).concat(Object.getOwnPropertySymbols(ve))}:ie=function(ve){return Object.getOwnPropertyNames(ve)};function se(ye){console&&console.warn&&console.warn(ye)}var ce=Number.isNaN||function(ve){return ve!==ve};function oe(){oe.init.call(this)}me.exports=oe,me.exports.once=ge,oe.EventEmitter=oe,oe.prototype._events=void 0,oe.prototype._eventsCount=0,oe.prototype._maxListeners=void 0;var re=10;function ne(ye){if(typeof ye!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof ye)}Object.defineProperty(oe,"defaultMaxListeners",{enumerable:!0,get:function(){return re},set:function(ye){if(typeof ye!="number"||ye<0||ce(ye))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+ye+".");re=ye}}),oe.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},oe.prototype.setMaxListeners=function(ve){if(typeof ve!="number"||ve<0||ce(ve))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ve+".");return this._maxListeners=ve,this};function te(ye){return ye._maxListeners===void 0?oe.defaultMaxListeners:ye._maxListeners}oe.prototype.getMaxListeners=function(){return te(this)},oe.prototype.emit=function(ve){for(var Pe=[],we=1;we<arguments.length;we++)Pe.push(arguments[we]);var Ae=ve==="error",_e=this._events;if(_e!==void 0)Ae=Ae&&_e.error===void 0;else if(!Ae)return!1;if(Ae){var xe;if(Pe.length>0&&(xe=Pe[0]),xe instanceof Error)throw xe;var Ee=new Error("Unhandled error."+(xe?" ("+xe.message+")":""));throw Ee.context=xe,Ee}var Oe=_e[ve];if(Oe===void 0)return!1;if(typeof Oe=="function")ae(Oe,this,Pe);else for(var Ie=Oe.length,Ne=z(Oe,Ie),we=0;we<Ie;++we)ae(Ne[we],this,Pe);return!0};function a(ye,ve,Pe,we){var Ae,_e,xe;if(ne(Pe),_e=ye._events,_e===void 0?(_e=ye._events=Object.create(null),ye._eventsCount=0):(_e.newListener!==void 0&&(ye.emit("newListener",ve,Pe.listener?Pe.listener:Pe),_e=ye._events),xe=_e[ve]),xe===void 0)xe=_e[ve]=Pe,++ye._eventsCount;else if(typeof xe=="function"?xe=_e[ve]=we?[Pe,xe]:[xe,Pe]:we?xe.unshift(Pe):xe.push(Pe),Ae=te(ye),Ae>0&&xe.length>Ae&&!xe.warned){xe.warned=!0;var Ee=new Error("Possible EventEmitter memory leak detected. "+xe.length+" "+String(ve)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ee.name="MaxListenersExceededWarning",Ee.emitter=ye,Ee.type=ve,Ee.count=xe.length,se(Ee)}return ye}oe.prototype.addListener=function(ve,Pe){return a(this,ve,Pe,!1)},oe.prototype.on=oe.prototype.addListener,oe.prototype.prependListener=function(ve,Pe){return a(this,ve,Pe,!0)};function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function x(ye,ve,Pe){var we={fired:!1,wrapFn:void 0,target:ye,type:ve,listener:Pe},Ae=y.bind(we);return Ae.listener=Pe,we.wrapFn=Ae,Ae}oe.prototype.once=function(ve,Pe){return ne(Pe),this.on(ve,x(this,ve,Pe)),this},oe.prototype.prependOnceListener=function(ve,Pe){return ne(Pe),this.prependListener(ve,x(this,ve,Pe)),this},oe.prototype.removeListener=function(ve,Pe){var we,Ae,_e,xe,Ee;if(ne(Pe),Ae=this._events,Ae===void 0)return this;if(we=Ae[ve],we===void 0)return this;if(we===Pe||we.listener===Pe)--this._eventsCount===0?this._events=Object.create(null):(delete Ae[ve],Ae.removeListener&&this.emit("removeListener",ve,we.listener||Pe));else if(typeof we!="function"){for(_e=-1,xe=we.length-1;xe>=0;xe--)if(we[xe]===Pe||we[xe].listener===Pe){Ee=we[xe].listener,_e=xe;break}if(_e<0)return this;_e===0?we.shift():ue(we,_e),we.length===1&&(Ae[ve]=we[0]),Ae.removeListener!==void 0&&this.emit("removeListener",ve,Ee||Pe)}return this},oe.prototype.off=oe.prototype.removeListener,oe.prototype.removeAllListeners=function(ve){var Pe,we,Ae;if(we=this._events,we===void 0)return this;if(we.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):we[ve]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete we[ve]),this;if(arguments.length===0){var _e=Object.keys(we),xe;for(Ae=0;Ae<_e.length;++Ae)xe=_e[Ae],xe!=="removeListener"&&this.removeAllListeners(xe);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Pe=we[ve],typeof Pe=="function")this.removeListener(ve,Pe);else if(Pe!==void 0)for(Ae=Pe.length-1;Ae>=0;Ae--)this.removeListener(ve,Pe[Ae]);return this};function b(ye,ve,Pe){var we=ye._events;if(we===void 0)return[];var Ae=we[ve];return Ae===void 0?[]:typeof Ae=="function"?Pe?[Ae.listener||Ae]:[Ae]:Pe?fe(Ae):z(Ae,Ae.length)}oe.prototype.listeners=function(ve){return b(this,ve,!0)},oe.prototype.rawListeners=function(ve){return b(this,ve,!1)},oe.listenerCount=function(ye,ve){return typeof ye.listenerCount=="function"?ye.listenerCount(ve):ee.call(ye,ve)},oe.prototype.listenerCount=ee;function ee(ye){var ve=this._events;if(ve!==void 0){var Pe=ve[ye];if(typeof Pe=="function")return 1;if(Pe!==void 0)return Pe.length}return 0}oe.prototype.eventNames=function(){return this._eventsCount>0?ie(this._events):[]};function z(ye,ve){for(var Pe=new Array(ve),we=0;we<ve;++we)Pe[we]=ye[we];return Pe}function ue(ye,ve){for(;ve+1<ye.length;ve++)ye[ve]=ye[ve+1];ye.pop()}function fe(ye){for(var ve=new Array(ye.length),Pe=0;Pe<ve.length;++Pe)ve[Pe]=ye[Pe].listener||ye[Pe];return ve}function ge(ye,ve){return new Promise(function(Pe,we){function Ae(xe){ye.removeListener(ve,_e),we(xe)}function _e(){typeof ye.removeListener=="function"&&ye.removeListener("error",Ae),Pe([].slice.call(arguments))}pe(ye,ve,_e,{once:!0}),ve!=="error"&&he(ye,Ae,{once:!0})})}function he(ye,ve,Pe){typeof ye.on=="function"&&pe(ye,"error",ve,Pe)}function pe(ye,ve,Pe,we){if(typeof ye.on=="function")we.once?ye.once(ve,Pe):ye.on(ve,Pe);else if(typeof ye.addEventListener=="function")ye.addEventListener(ve,function Ae(_e){we.once&&ye.removeEventListener(ve,Ae),Pe(_e)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof ye)}},{}],345:[function(E,me,de){"use strict";var le=E("is-callable"),ae=Object.prototype.toString,ie=Object.prototype.hasOwnProperty,se=function(te,a,y){for(var x=0,b=te.length;x<b;x++)ie.call(te,x)&&(y==null?a(te[x],x,te):a.call(y,te[x],x,te))},ce=function(te,a,y){for(var x=0,b=te.length;x<b;x++)y==null?a(te.charAt(x),x,te):a.call(y,te.charAt(x),x,te)},oe=function(te,a,y){for(var x in te)ie.call(te,x)&&(y==null?a(te[x],x,te):a.call(y,te[x],x,te))},re=function(te,a,y){if(!le(a))throw new TypeError("iterator must be a function");var x;arguments.length>=3&&(x=y),ae.call(te)==="[object Array]"?se(te,a,x):typeof te=="string"?ce(te,a,x):oe(te,a,x)};me.exports=re},{"is-callable":367}],346:[function(E,me,de){"use strict";var le="Function.prototype.bind called on incompatible ",ae=Array.prototype.slice,ie=Object.prototype.toString,se="[object Function]";me.exports=function(oe){var re=this;if(typeof re!="function"||ie.call(re)!==se)throw new TypeError(le+re);for(var ne=ae.call(arguments,1),te,a=function(){if(this instanceof te){var z=re.apply(this,ne.concat(ae.call(arguments)));return Object(z)===z?z:this}else return re.apply(oe,ne.concat(ae.call(arguments)))},y=Math.max(0,re.length-ne.length),x=[],b=0;b<y;b++)x.push("$"+b);if(te=Function("binder","return function ("+x.join(",")+"){ return binder.apply(this,arguments); }")(a),re.prototype){var ee=function(){};ee.prototype=re.prototype,te.prototype=new ee,ee.prototype=null}return te}},{}],347:[function(E,me,de){"use strict";var le=E("./implementation");me.exports=Function.prototype.bind||le},{"./implementation":346}],348:[function(E,me,de){"use strict";var le,ae=SyntaxError,ie=Function,se=TypeError,ce=function(Oe){try{return ie('"use strict"; return ('+Oe+").constructor;")()}catch(Ie){}},oe=Object.getOwnPropertyDescriptor;if(oe)try{oe({},"")}catch(Oe){oe=null}var re=function(){throw new se},ne=oe?function(){try{return arguments.callee,re}catch(Oe){try{return oe(arguments,"callee").get}catch(Ie){return re}}}():re,te=E("has-symbols")(),a=E("has-proto")(),y=Object.getPrototypeOf||(a?function(Oe){return Oe.__proto__}:null),x={},b=typeof Uint8Array=="undefined"||!y?le:y(Uint8Array),ee={"%AggregateError%":typeof AggregateError=="undefined"?le:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?le:ArrayBuffer,"%ArrayIteratorPrototype%":te&&y?y([][Symbol.iterator]()):le,"%AsyncFromSyncIteratorPrototype%":le,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":typeof Atomics=="undefined"?le:Atomics,"%BigInt%":typeof BigInt=="undefined"?le:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?le:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?le:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?le:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?le:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?le:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?le:FinalizationRegistry,"%Function%":ie,"%GeneratorFunction%":x,"%Int8Array%":typeof Int8Array=="undefined"?le:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?le:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?le:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":te&&y?y(y([][Symbol.iterator]())):le,"%JSON%":typeof JSON=="object"?JSON:le,"%Map%":typeof Map=="undefined"?le:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!te||!y?le:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?le:Promise,"%Proxy%":typeof Proxy=="undefined"?le:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?le:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?le:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!te||!y?le:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?le:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":te&&y?y(""[Symbol.iterator]()):le,"%Symbol%":te?Symbol:le,"%SyntaxError%":ae,"%ThrowTypeError%":ne,"%TypedArray%":b,"%TypeError%":se,"%Uint8Array%":typeof Uint8Array=="undefined"?le:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?le:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?le:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?le:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?le:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?le:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?le:WeakSet};if(y)try{null.error}catch(Oe){var z=y(y(Oe));ee["%Error.prototype%"]=z}var ue=function Oe(Ie){var Ne;if(Ie==="%AsyncFunction%")Ne=ce("async function () {}");else if(Ie==="%GeneratorFunction%")Ne=ce("function* () {}");else if(Ie==="%AsyncGeneratorFunction%")Ne=ce("async function* () {}");else if(Ie==="%AsyncGenerator%"){var Te=Oe("%AsyncGeneratorFunction%");Te&&(Ne=Te.prototype)}else if(Ie==="%AsyncIteratorPrototype%"){var Je=Oe("%AsyncGenerator%");Je&&y&&(Ne=y(Je.prototype))}return ee[Ie]=Ne,Ne},fe={"%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"]},ge=E("function-bind"),he=E("has"),pe=ge.call(Function.call,Array.prototype.concat),ye=ge.call(Function.apply,Array.prototype.splice),ve=ge.call(Function.call,String.prototype.replace),Pe=ge.call(Function.call,String.prototype.slice),we=ge.call(Function.call,RegExp.prototype.exec),Ae=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_e=/\\(\\)?/g,xe=function(Ie){var Ne=Pe(Ie,0,1),Te=Pe(Ie,-1);if(Ne==="%"&&Te!=="%")throw new ae("invalid intrinsic syntax, expected closing `%`");if(Te==="%"&&Ne!=="%")throw new ae("invalid intrinsic syntax, expected opening `%`");var Je=[];return ve(Ie,Ae,function(Qe,Ze,Ke,Ue){Je[Je.length]=Ke?ve(Ue,_e,"$1"):Ze||Qe}),Je},Ee=function(Ie,Ne){var Te=Ie,Je;if(he(fe,Te)&&(Je=fe[Te],Te="%"+Je[0]+"%"),he(ee,Te)){var Qe=ee[Te];if(Qe===x&&(Qe=ue(Te)),typeof Qe=="undefined"&&!Ne)throw new se("intrinsic "+Ie+" exists, but is not available. Please file an issue!");return{alias:Je,name:Te,value:Qe}}throw new ae("intrinsic "+Ie+" does not exist!")};me.exports=function(Ie,Ne){if(typeof Ie!="string"||Ie.length===0)throw new se("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ne!="boolean")throw new se('"allowMissing" argument must be a boolean');if(we(/^%?[^%]*%?$/,Ie)===null)throw new ae("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Te=xe(Ie),Je=Te.length>0?Te[0]:"",Qe=Ee("%"+Je+"%",Ne),Ze=Qe.name,Ke=Qe.value,Ue=!1,ke=Qe.alias;ke&&(Je=ke[0],ye(Te,pe([0,1],ke)));for(var Re=1,He=!0;Re<Te.length;Re+=1){var qe=Te[Re],rt=Pe(qe,0,1),We=Pe(qe,-1);if((rt==='"'||rt==="'"||rt==="`"||We==='"'||We==="'"||We==="`")&&rt!==We)throw new ae("property names with quotes must have matching quotes");if((qe==="constructor"||!He)&&(Ue=!0),Je+="."+qe,Ze="%"+Je+"%",he(ee,Ze))Ke=ee[Ze];else if(Ke!=null){if(!(qe in Ke)){if(!Ne)throw new se("base intrinsic for "+Ie+" exists, but the property is not available.");return}if(oe&&Re+1>=Te.length){var ze=oe(Ke,qe);He=!!ze,He&&"get"in ze&&!("originalValue"in ze.get)?Ke=ze.get:Ke=Ke[qe]}else He=he(Ke,qe),Ke=Ke[qe];He&&!Ue&&(ee[Ze]=Ke)}}return Ke}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,me,de){"use strict";var le=E("get-intrinsic"),ae=le("%Object.getOwnPropertyDescriptor%",!0);if(ae)try{ae([],"length")}catch(ie){ae=null}me.exports=ae},{"get-intrinsic":348}],350:[function(E,me,de){"use strict";var le={foo:{}},ae=Object;me.exports=function(){return{__proto__:le}.foo===le.foo&&!({__proto__:null}instanceof ae)}},{}],351:[function(E,me,de){"use strict";var le=typeof Symbol!="undefined"&&Symbol,ae=E("./shams");me.exports=function(){return typeof le!="function"||typeof Symbol!="function"||typeof le("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ae()}},{"./shams":352}],352:[function(E,me,de){"use strict";me.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var ae={},ie=Symbol("test"),se=Object(ie);if(typeof ie=="string"||Object.prototype.toString.call(ie)!=="[object Symbol]"||Object.prototype.toString.call(se)!=="[object Symbol]")return!1;var ce=42;ae[ie]=ce;for(ie in ae)return!1;if(typeof Object.keys=="function"&&Object.keys(ae).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(ae).length!==0)return!1;var oe=Object.getOwnPropertySymbols(ae);if(oe.length!==1||oe[0]!==ie||!Object.prototype.propertyIsEnumerable.call(ae,ie))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var re=Object.getOwnPropertyDescriptor(ae,ie);if(re.value!==ce||re.enumerable!==!0)return!1}return!0}},{}],353:[function(E,me,de){"use strict";var le=E("has-symbols/shams");me.exports=function(){return le()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,me,de){"use strict";var le=E("function-bind");me.exports=le.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,me,de){var le=E("http"),ae=E("url"),ie=me.exports;for(var se in le)le.hasOwnProperty(se)&&(ie[se]=le[se]);ie.request=function(oe,re){return oe=ce(oe),le.request.call(this,oe,re)},ie.get=function(oe,re){return oe=ce(oe),le.get.call(this,oe,re)};function ce(oe){if(typeof oe=="string"&&(oe=ae.parse(oe)),oe.protocol||(oe.protocol="https:"),oe.protocol!=="https:")throw new Error('Protocol "'+oe.protocol+'" not supported. Expected "https:"');return oe}},{http:468,url:472}],356:[function(E,me,de){"use strict";var le=E("util"),ae=E("ms");me.exports=function(ie){if(typeof ie=="number")return ie;var se=ae(ie);if(se===void 0){var ce=new Error(le.format("humanize-ms(%j) result undefined",ie));console.warn(ce.stack)}return se}},{ms:376,util:419}],357:[function(E,me,de){de.read=function(le,ae,ie,se,ce){var oe,re,ne=ce*8-se-1,te=(1<<ne)-1,a=te>>1,y=-7,x=ie?ce-1:0,b=ie?-1:1,ee=le[ae+x];for(x+=b,oe=ee&(1<<-y)-1,ee>>=-y,y+=ne;y>0;oe=oe*256+le[ae+x],x+=b,y-=8);for(re=oe&(1<<-y)-1,oe>>=-y,y+=se;y>0;re=re*256+le[ae+x],x+=b,y-=8);if(oe===0)oe=1-a;else{if(oe===te)return re?NaN:(ee?-1:1)*(1/0);re=re+Math.pow(2,se),oe=oe-a}return(ee?-1:1)*re*Math.pow(2,oe-se)},de.write=function(le,ae,ie,se,ce,oe){var re,ne,te,a=oe*8-ce-1,y=(1<<a)-1,x=y>>1,b=ce===23?Math.pow(2,-24)-Math.pow(2,-77):0,ee=se?0:oe-1,z=se?1:-1,ue=ae<0||ae===0&&1/ae<0?1:0;for(ae=Math.abs(ae),isNaN(ae)||ae===1/0?(ne=isNaN(ae)?1:0,re=y):(re=Math.floor(Math.log(ae)/Math.LN2),ae*(te=Math.pow(2,-re))<1&&(re--,te*=2),re+x>=1?ae+=b/te:ae+=b*Math.pow(2,1-x),ae*te>=2&&(re++,te/=2),re+x>=y?(ne=0,re=y):re+x>=1?(ne=(ae*te-1)*Math.pow(2,ce),re=re+x):(ne=ae*Math.pow(2,x-1)*Math.pow(2,ce),re=0));ce>=8;le[ie+ee]=ne&255,ee+=z,ne/=256,ce-=8);for(re=re<<ce|ne,a+=ce;a>0;le[ie+ee]=re&255,ee+=z,re/=256,a-=8);le[ie+ee-z]|=ue*128}},{}],358:[function(E,me,de){"use strict";var le=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],ae,ie,se=-1,ce=[],oe=!1;function re(){!ae||!ie||(ae=!1,ie.length?ce=ie.concat(ce):se=-1,ce.length&&ne())}function ne(){if(!ae){oe=!1,ae=!0;for(var ee=ce.length,z=setTimeout(re);ee;){for(ie=ce,ce=[];ie&&++se<ee;)ie[se].run();se=-1,ee=ce.length}ie=null,se=-1,ae=!1,clearTimeout(z)}}for(var te,a=-1,y=le.length;++a<y;)if(le[a]&&le[a].test&&le[a].test()){te=le[a].install(ne);break}function x(ee,z){this.fun=ee,this.array=z}x.prototype.run=function(){var ee=this.fun,z=this.array;switch(z.length){case 0:return ee();case 1:return ee(z[0]);case 2:return ee(z[0],z[1]);case 3:return ee(z[0],z[1],z[2]);default:return ee.apply(null,z)}},me.exports=b;function b(ee){var z=new Array(arguments.length-1);if(arguments.length>1)for(var ue=1;ue<arguments.length;ue++)z[ue-1]=arguments[ue];ce.push(new x(ee,z)),!oe&&!ae&&(oe=!0,te())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(E,me,de){(function(le){(function(){"use strict";de.test=function(){return le.setImmediate?!1:typeof le.MessageChannel!="undefined"},de.install=function(ae){var ie=new le.MessageChannel;return ie.port1.onmessage=ae,function(){ie.port2.postMessage(0)}}}).call(this)}).call(this,typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(E,me,de){(function(le){(function(){"use strict";var ae=le.MutationObserver||le.WebKitMutationObserver;de.test=function(){return ae},de.install=function(ie){var se=0,ce=new ae(ie),oe=le.document.createTextNode("");return ce.observe(oe,{characterData:!0}),function(){oe.data=se=++se%2}}}).call(this)}).call(this,typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(E,me,de){(function(le){(function(){"use strict";de.test=function(){return typeof le.queueMicrotask=="function"},de.install=function(ae){return function(){le.queueMicrotask(ae)}}}).call(this)}).call(this,typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(E,me,de){(function(le){(function(){"use strict";de.test=function(){return"document"in le&&"onreadystatechange"in le.document.createElement("script")},de.install=function(ae){return function(){var ie=le.document.createElement("script");return ie.onreadystatechange=function(){ae(),ie.onreadystatechange=null,ie.parentNode.removeChild(ie),ie=null},le.document.documentElement.appendChild(ie),ae}}}).call(this)}).call(this,typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(E,me,de){"use strict";de.test=function(){return!0},de.install=function(le){return function(){setTimeout(le,0)}}},{}],364:[function(E,me,de){typeof Object.create=="function"?me.exports=function(ae,ie){ie&&(ae.super_=ie,ae.prototype=Object.create(ie.prototype,{constructor:{value:ae,enumerable:!1,writable:!0,configurable:!0}}))}:me.exports=function(ae,ie){if(ie){ae.super_=ie;var se=function(){};se.prototype=ie.prototype,ae.prototype=new se,ae.prototype.constructor=ae}}},{}],365:[function(E,me,de){"use strict";var le=E("has-tostringtag/shams")(),ae=E("call-bind/callBound"),ie=ae("Object.prototype.toString"),se=function(ne){return le&&ne&&typeof ne=="object"&&Symbol.toStringTag in ne?!1:ie(ne)==="[object Arguments]"},ce=function(ne){return se(ne)?!0:ne!==null&&typeof ne=="object"&&typeof ne.length=="number"&&ne.length>=0&&ie(ne)!=="[object Array]"&&ie(ne.callee)==="[object Function]"},oe=function(){return se(arguments)}();se.isLegacyArguments=ce,me.exports=oe?se:ce},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,me,de){me.exports=function(ie){return ie!=null&&(le(ie)||ae(ie)||!!ie._isBuffer)};function le(ie){return!!ie.constructor&&typeof ie.constructor.isBuffer=="function"&&ie.constructor.isBuffer(ie)}function ae(ie){return typeof ie.readFloatLE=="function"&&typeof ie.slice=="function"&&le(ie.slice(0,0))}},{}],367:[function(E,me,de){"use strict";var le=Function.prototype.toString,ae=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ie,se;if(typeof ae=="function"&&typeof Object.defineProperty=="function")try{ie=Object.defineProperty({},"length",{get:function(){throw se}}),se={},ae(function(){throw 42},null,ie)}catch(he){he!==se&&(ae=null)}else ae=null;var ce=/^\s*class\b/,oe=function(pe){try{var ye=le.call(pe);return ce.test(ye)}catch(ve){return!1}},re=function(pe){try{return oe(pe)?!1:(le.call(pe),!0)}catch(ye){return!1}},ne=Object.prototype.toString,te="[object Object]",a="[object Function]",y="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",ee="[object HTMLCollection]",z=typeof Symbol=="function"&&!!Symbol.toStringTag,ue=!(0 in[,]),fe=function(){return!1};if(typeof document=="object"){var ge=document.all;ne.call(ge)===ne.call(document.all)&&(fe=function(pe){if((ue||!pe)&&(typeof pe=="undefined"||typeof pe=="object"))try{var ye=ne.call(pe);return(ye===x||ye===b||ye===ee||ye===te)&&pe("")==null}catch(ve){}return!1})}me.exports=ae?function(pe){if(fe(pe))return!0;if(!pe||typeof pe!="function"&&typeof pe!="object")return!1;try{ae(pe,null,ie)}catch(ye){if(ye!==se)return!1}return!oe(pe)&&re(pe)}:function(pe){if(fe(pe))return!0;if(!pe||typeof pe!="function"&&typeof pe!="object")return!1;if(z)return re(pe);if(oe(pe))return!1;var ye=ne.call(pe);return ye!==a&&ye!==y&&!/^\[object HTML/.test(ye)?!1:re(pe)}},{}],368:[function(E,me,de){"use strict";var le=Object.prototype.toString,ae=Function.prototype.toString,ie=/^\s*(?:function)?\*/,se=E("has-tostringtag/shams")(),ce=Object.getPrototypeOf,oe=function(){if(!se)return!1;try{return Function("return function*() {}")()}catch(ne){}},re;me.exports=function(te){if(typeof te!="function")return!1;if(ie.test(ae.call(te)))return!0;if(!se){var a=le.call(te);return a==="[object GeneratorFunction]"}if(!ce)return!1;if(typeof re=="undefined"){var y=oe();re=y?ce(y):!1}return ce(te)===re}},{"has-tostringtag/shams":353}],369:[function(E,me,de){"use strict";var le=E("which-typed-array");me.exports=function(ie){return!!le(ie)}},{"which-typed-array":420}],370:[function(E,me,de){var le={}.toString;me.exports=Array.isArray||function(ae){return le.call(ae)=="[object Array]"}},{}],371:[function(E,me,de){(function(le){(function(){(function(ae,ie){typeof de=="object"&&typeof me!="undefined"?me.exports=ie(ae):typeof Se=="function"&&Se.amd?Se(ie):ie(ae)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof le!="undefined"?le:this,function(ae){"use strict";ae=ae||{};var ie=ae.Base64,se="2.6.4",ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oe=function(Ie){for(var Ne={},Te=0,Je=Ie.length;Te<Je;Te++)Ne[Ie.charAt(Te)]=Te;return Ne}(ce),re=String.fromCharCode,ne=function(Ie){if(Ie.length<2){var Ne=Ie.charCodeAt(0);return Ne<128?Ie:Ne<2048?re(192|Ne>>>6)+re(128|Ne&63):re(224|Ne>>>12&15)+re(128|Ne>>>6&63)+re(128|Ne&63)}else{var Ne=65536+(Ie.charCodeAt(0)-55296)*1024+(Ie.charCodeAt(1)-56320);return re(240|Ne>>>18&7)+re(128|Ne>>>12&63)+re(128|Ne>>>6&63)+re(128|Ne&63)}},te=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(Ie){return Ie.replace(te,ne)},y=function(Ie){var Ne=[0,2,1][Ie.length%3],Te=Ie.charCodeAt(0)<<16|(Ie.length>1?Ie.charCodeAt(1):0)<<8|(Ie.length>2?Ie.charCodeAt(2):0),Je=[ce.charAt(Te>>>18),ce.charAt(Te>>>12&63),Ne>=2?"=":ce.charAt(Te>>>6&63),Ne>=1?"=":ce.charAt(Te&63)];return Je.join("")},x=ae.btoa&&typeof ae.btoa=="function"?function(Ie){return ae.btoa(Ie)}:function(Ie){if(Ie.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ie.replace(/[\s\S]{1,3}/g,y)},b=function(Ie){return x(a(String(Ie)))},ee=function(Ie){return Ie.replace(/[+\/]/g,function(Ne){return Ne=="+"?"-":"_"}).replace(/=/g,"")},z=function(Ie,Ne){return Ne?ee(b(Ie)):b(Ie)},ue=function(Ie){return z(Ie,!0)},fe;ae.Uint8Array&&(fe=function(Ie,Ne){for(var Te="",Je=0,Qe=Ie.length;Je<Qe;Je+=3){var Ze=Ie[Je],Ke=Ie[Je+1],Ue=Ie[Je+2],ke=Ze<<16|Ke<<8|Ue;Te+=ce.charAt(ke>>>18)+ce.charAt(ke>>>12&63)+(typeof Ke!="undefined"?ce.charAt(ke>>>6&63):"=")+(typeof Ue!="undefined"?ce.charAt(ke&63):"=")}return Ne?ee(Te):Te});var ge=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,he=function(Ie){switch(Ie.length){case 4:var Ne=(7&Ie.charCodeAt(0))<<18|(63&Ie.charCodeAt(1))<<12|(63&Ie.charCodeAt(2))<<6|63&Ie.charCodeAt(3),Te=Ne-65536;return re((Te>>>10)+55296)+re((Te&1023)+56320);case 3:return re((15&Ie.charCodeAt(0))<<12|(63&Ie.charCodeAt(1))<<6|63&Ie.charCodeAt(2));default:return re((31&Ie.charCodeAt(0))<<6|63&Ie.charCodeAt(1))}},pe=function(Ie){return Ie.replace(ge,he)},ye=function(Ie){var Ne=Ie.length,Te=Ne%4,Je=(Ne>0?oe[Ie.charAt(0)]<<18:0)|(Ne>1?oe[Ie.charAt(1)]<<12:0)|(Ne>2?oe[Ie.charAt(2)]<<6:0)|(Ne>3?oe[Ie.charAt(3)]:0),Qe=[re(Je>>>16),re(Je>>>8&255),re(Je&255)];return Qe.length-=[0,0,2,1][Te],Qe.join("")},ve=ae.atob&&typeof ae.atob=="function"?function(Ie){return ae.atob(Ie)}:function(Ie){return Ie.replace(/\S{1,4}/g,ye)},Pe=function(Ie){return ve(String(Ie).replace(/[^A-Za-z0-9\+\/]/g,""))},we=function(Ie){return pe(ve(Ie))},Ae=function(Ie){return String(Ie).replace(/[-_]/g,function(Ne){return Ne=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},_e=function(Ie){return we(Ae(Ie))},xe;ae.Uint8Array&&(xe=function(Ie){return Uint8Array.from(Pe(Ae(Ie)),function(Ne){return Ne.charCodeAt(0)})});var Ee=function(){var Ie=ae.Base64;return ae.Base64=ie,Ie};if(ae.Base64={VERSION:se,atob:Pe,btoa:x,fromBase64:_e,toBase64:z,utob:a,encode:z,encodeURI:ue,btou:pe,decode:_e,noConflict:Ee,fromUint8Array:fe,toUint8Array:xe},typeof Object.defineProperty=="function"){var Oe=function(Ie){return{value:Ie,enumerable:!1,writable:!0,configurable:!0}};ae.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Oe(function(){return _e(this)})),Object.defineProperty(String.prototype,"toBase64",Oe(function(Ie){return z(this,Ie)})),Object.defineProperty(String.prototype,"toBase64URI",Oe(function(){return z(this,!0)}))}}return ae.Meteor&&(Base64=ae.Base64),typeof me!="undefined"&&me.exports?me.exports.Base64=ae.Base64:typeof Se=="function"&&Se.amd&&Se([],function(){return ae.Base64}),{Base64:ae.Base64}})}).call(this)}).call(this,typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,me,de){"use strict";me.exports=ae;var le=Object.prototype.hasOwnProperty;function ae(ie,se,ce){if(!ie)throw new TypeError("argument dest is required");if(!se)throw new TypeError("argument src is required");return ce===void 0&&(ce=!0),Object.getOwnPropertyNames(se).forEach(function(re){if(!(!ce&&le.call(ie,re))){var ne=Object.getOwnPropertyDescriptor(se,re);Object.defineProperty(ie,re,ne)}}),ie}},{}],373:[function(E,me,de){"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"),E("core-js/modules/es.regexp.constructor.js"),E("core-js/modules/es.regexp.to-string.js");function le(){this._types=Object.create(null),this._extensions=Object.create(null);for(var ae=0;ae<arguments.length;ae++)this.define(arguments[ae]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}le.prototype.define=function(ae,ie){for(var se in ae){var ce=ae[se].map(function(te){return te.toLowerCase()});se=se.toLowerCase();for(var oe=0;oe<ce.length;oe++){var re=ce[oe];if(re[0]!=="*"){if(!ie&&re in this._types)throw new Error('Attempt to change mapping for "'+re+'" extension from "'+this._types[re]+'" to "'+se+'". Pass `force=true` to allow this, otherwise remove "'+re+'" from the list of extensions for "'+se+'".');this._types[re]=se}}if(ie||!this._extensions[se]){var ne=ce[0];this._extensions[se]=ne[0]!=="*"?ne:ne.substr(1)}}},le.prototype.getType=function(ae){ae=String(ae);var ie=ae.replace(/^.*[/\\]/,"").toLowerCase(),se=ie.replace(/^.*\./,"").toLowerCase(),ce=ie.length<ae.length,oe=se.length<ie.length-1;return(oe||!ce)&&this._types[se]||null},le.prototype.getExtension=function(ae){return ae=/^\s*([^;\s]*)/.test(ae)&&RegExp.$1,ae&&this._extensions[ae.toLowerCase()]||null},me.exports=le},{"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,me,de){"use strict";var le=E("./Mime");me.exports=new le(E("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(E,me,de){"use strict";me.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,me,de){var le=1e3,ae=le*60,ie=ae*60,se=ie*24,ce=se*7,oe=se*365.25;me.exports=function(y,x){x=x||{};var b=typeof y;if(b==="string"&&y.length>0)return re(y);if(b==="number"&&isFinite(y))return x.long?te(y):ne(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function re(y){if(y=String(y),!(y.length>100)){var x=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(x){var b=parseFloat(x[1]),ee=(x[2]||"ms").toLowerCase();switch(ee){case"years":case"year":case"yrs":case"yr":case"y":return b*oe;case"weeks":case"week":case"w":return b*ce;case"days":case"day":case"d":return b*se;case"hours":case"hour":case"hrs":case"hr":case"h":return b*ie;case"minutes":case"minute":case"mins":case"min":case"m":return b*ae;case"seconds":case"second":case"secs":case"sec":case"s":return b*le;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function ne(y){var x=Math.abs(y);return x>=se?Math.round(y/se)+"d":x>=ie?Math.round(y/ie)+"h":x>=ae?Math.round(y/ae)+"m":x>=le?Math.round(y/le)+"s":y+"ms"}function te(y){var x=Math.abs(y);return x>=se?a(y,x,se,"day"):x>=ie?a(y,x,ie,"hour"):x>=ae?a(y,x,ae,"minute"):x>=le?a(y,x,le,"second"):y+" ms"}function a(y,x,b,ee){var z=x>=b*1.5;return Math.round(y/b)+" "+ee+(z?"s":"")}},{}],377:[function(E,me,de){"use strict";var le=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;function se(oe){if(oe==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(oe)}function ce(){try{if(!Object.assign)return!1;var oe=new String("abc");if(oe[5]="de",Object.getOwnPropertyNames(oe)[0]==="5")return!1;for(var re={},ne=0;ne<10;ne++)re["_"+String.fromCharCode(ne)]=ne;var te=Object.getOwnPropertyNames(re).map(function(y){return re[y]});if(te.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(y){a[y]=y}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch(y){return!1}}me.exports=ce()?Object.assign:function(oe,re){for(var ne,te=se(oe),a,y=1;y<arguments.length;y++){ne=Object(arguments[y]);for(var x in ne)ae.call(ne,x)&&(te[x]=ne[x]);if(le){a=le(ne);for(var b=0;b<a.length;b++)ie.call(ne,a[b])&&(te[a[b]]=ne[a[b]])}}return te}},{}],378:[function(E,me,de){(function(le){(function(){"use strict";function ae(oe){if(typeof oe!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(oe))}function ie(oe,re){for(var ne="",te=0,a=-1,y=0,x,b=0;b<=oe.length;++b){if(b<oe.length)x=oe.charCodeAt(b);else{if(x===47)break;x=47}if(x===47){if(!(a===b-1||y===1))if(a!==b-1&&y===2){if(ne.length<2||te!==2||ne.charCodeAt(ne.length-1)!==46||ne.charCodeAt(ne.length-2)!==46){if(ne.length>2){var ee=ne.lastIndexOf("/");if(ee!==ne.length-1){ee===-1?(ne="",te=0):(ne=ne.slice(0,ee),te=ne.length-1-ne.lastIndexOf("/")),a=b,y=0;continue}}else if(ne.length===2||ne.length===1){ne="",te=0,a=b,y=0;continue}}re&&(ne.length>0?ne+="/..":ne="..",te=2)}else ne.length>0?ne+="/"+oe.slice(a+1,b):ne=oe.slice(a+1,b),te=b-a-1;a=b,y=0}else x===46&&y!==-1?++y:y=-1}return ne}function se(oe,re){var ne=re.dir||re.root,te=re.base||(re.name||"")+(re.ext||"");return ne?ne===re.root?ne+te:ne+oe+te:te}var ce={resolve:function(){for(var re="",ne=!1,te,a=arguments.length-1;a>=-1&&!ne;a--){var y;a>=0?y=arguments[a]:(te===void 0&&(te=le.cwd()),y=te),ae(y),y.length!==0&&(re=y+"/"+re,ne=y.charCodeAt(0)===47)}return re=ie(re,!ne),ne?re.length>0?"/"+re:"/":re.length>0?re:"."},normalize:function(re){if(ae(re),re.length===0)return".";var ne=re.charCodeAt(0)===47,te=re.charCodeAt(re.length-1)===47;return re=ie(re,!ne),re.length===0&&!ne&&(re="."),re.length>0&&te&&(re+="/"),ne?"/"+re:re},isAbsolute:function(re){return ae(re),re.length>0&&re.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var re,ne=0;ne<arguments.length;++ne){var te=arguments[ne];ae(te),te.length>0&&(re===void 0?re=te:re+="/"+te)}return re===void 0?".":ce.normalize(re)},relative:function(re,ne){if(ae(re),ae(ne),re===ne||(re=ce.resolve(re),ne=ce.resolve(ne),re===ne))return"";for(var te=1;te<re.length&&re.charCodeAt(te)===47;++te);for(var a=re.length,y=a-te,x=1;x<ne.length&&ne.charCodeAt(x)===47;++x);for(var b=ne.length,ee=b-x,z=y<ee?y:ee,ue=-1,fe=0;fe<=z;++fe){if(fe===z){if(ee>z){if(ne.charCodeAt(x+fe)===47)return ne.slice(x+fe+1);if(fe===0)return ne.slice(x+fe)}else y>z&&(re.charCodeAt(te+fe)===47?ue=fe:fe===0&&(ue=0));break}var ge=re.charCodeAt(te+fe),he=ne.charCodeAt(x+fe);if(ge!==he)break;ge===47&&(ue=fe)}var pe="";for(fe=te+ue+1;fe<=a;++fe)(fe===a||re.charCodeAt(fe)===47)&&(pe.length===0?pe+="..":pe+="/..");return pe.length>0?pe+ne.slice(x+ue):(x+=ue,ne.charCodeAt(x)===47&&++x,ne.slice(x))},_makeLong:function(re){return re},dirname:function(re){if(ae(re),re.length===0)return".";for(var ne=re.charCodeAt(0),te=ne===47,a=-1,y=!0,x=re.length-1;x>=1;--x)if(ne=re.charCodeAt(x),ne===47){if(!y){a=x;break}}else y=!1;return a===-1?te?"/":".":te&&a===1?"//":re.slice(0,a)},basename:function(re,ne){if(ne!==void 0&&typeof ne!="string")throw new TypeError('"ext" argument must be a string');ae(re);var te=0,a=-1,y=!0,x;if(ne!==void 0&&ne.length>0&&ne.length<=re.length){if(ne.length===re.length&&ne===re)return"";var b=ne.length-1,ee=-1;for(x=re.length-1;x>=0;--x){var z=re.charCodeAt(x);if(z===47){if(!y){te=x+1;break}}else ee===-1&&(y=!1,ee=x+1),b>=0&&(z===ne.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=ee))}return te===a?a=ee:a===-1&&(a=re.length),re.slice(te,a)}else{for(x=re.length-1;x>=0;--x)if(re.charCodeAt(x)===47){if(!y){te=x+1;break}}else a===-1&&(y=!1,a=x+1);return a===-1?"":re.slice(te,a)}},extname:function(re){ae(re);for(var ne=-1,te=0,a=-1,y=!0,x=0,b=re.length-1;b>=0;--b){var ee=re.charCodeAt(b);if(ee===47){if(!y){te=b+1;break}continue}a===-1&&(y=!1,a=b+1),ee===46?ne===-1?ne=b:x!==1&&(x=1):ne!==-1&&(x=-1)}return ne===-1||a===-1||x===0||x===1&&ne===a-1&&ne===te+1?"":re.slice(ne,a)},format:function(re){if(re===null||typeof re!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof re);return se("/",re)},parse:function(re){ae(re);var ne={root:"",dir:"",base:"",ext:"",name:""};if(re.length===0)return ne;var te=re.charCodeAt(0),a=te===47,y;a?(ne.root="/",y=1):y=0;for(var x=-1,b=0,ee=-1,z=!0,ue=re.length-1,fe=0;ue>=y;--ue){if(te=re.charCodeAt(ue),te===47){if(!z){b=ue+1;break}continue}ee===-1&&(z=!1,ee=ue+1),te===46?x===-1?x=ue:fe!==1&&(fe=1):x!==-1&&(fe=-1)}return x===-1||ee===-1||fe===0||fe===1&&x===ee-1&&x===b+1?ee!==-1&&(b===0&&a?ne.base=ne.name=re.slice(1,ee):ne.base=ne.name=re.slice(b,ee)):(b===0&&a?(ne.name=re.slice(1,x),ne.base=re.slice(1,ee)):(ne.name=re.slice(b,x),ne.base=re.slice(b,ee)),ne.ext=re.slice(x,ee)),b>0?ne.dir=re.slice(0,b-1):a&&(ne.dir="/"),ne},sep:"/",delimiter:":",win32:null,posix:null};ce.posix=ce,me.exports=ce}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,me,de){(function(le){(function(){(function(){"use strict";var ae={function:!0,object:!0},ie=ae[typeof window]&&window||this,se=ie,ce=ae[typeof de]&&de,oe=ae[typeof me]&&me&&!me.nodeType&&me,re=ce&&oe&&typeof le=="object"&≤re&&(re.global===re||re.window===re||re.self===re)&&(ie=re);var ne=Math.pow(2,53)-1,te=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function ee(_e){return _e=String(_e),_e.charAt(0).toUpperCase()+_e.slice(1)}function z(_e,xe,Ee){var Oe={"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 xe&&Ee&&/^Win/i.test(_e)&&!/^Windows Phone /i.test(_e)&&(Oe=Oe[/[\d.]+$/.exec(_e)])&&(_e="Windows "+Oe),_e=String(_e),xe&&Ee&&(_e=_e.replace(RegExp(xe,"i"),Ee)),_e=fe(_e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),_e}function ue(_e,xe){var Ee=-1,Oe=_e?_e.length:0;if(typeof Oe=="number"&&Oe>-1&&Oe<=ne)for(;++Ee<Oe;)xe(_e[Ee],Ee,_e);else ge(_e,xe)}function fe(_e){return _e=Pe(_e),/^(?:webOS|i(?:OS|P))/.test(_e)?_e:ee(_e)}function ge(_e,xe){for(var Ee in _e)x.call(_e,Ee)&&xe(_e[Ee],Ee,_e)}function he(_e){return _e==null?ee(_e):b.call(_e).slice(8,-1)}function pe(_e,xe){var Ee=_e!=null?typeof _e[xe]:"number";return!/^(?:boolean|number|string|undefined)$/.test(Ee)&&(Ee=="object"?!!_e[xe]:!0)}function ye(_e){return String(_e).replace(/([ -])(?!$)/g,"$1?")}function ve(_e,xe){var Ee=null;return ue(_e,function(Oe,Ie){Ee=xe(Ee,Oe,Ie,_e)}),Ee}function Pe(_e){return String(_e).replace(/^ +| +$/g,"")}function we(_e){var xe=ie,Ee=_e&&typeof _e=="object"&&he(_e)!="String";Ee&&(xe=_e,_e=null);var Oe=xe.navigator||{},Ie=Oe.userAgent||"";_e||(_e=Ie);var Ne=Ee||a==se,Te=Ee?!!Oe.likeChrome:/\bChrome\b/.test(_e)&&!/internal|\n/i.test(b.toString()),Je="Object",Qe=Ee?Je:"ScriptBridgingProxyObject",Ze=Ee?Je:"Environment",Ke=Ee&&xe.java?"JavaPackage":he(xe.java),Ue=Ee?Je:"RuntimeObject",ke=/\bJava/.test(Ke)&&xe.java,Re=ke&&he(xe.environment)==Ze,He=ke?"a":"\u03B1",qe=ke?"b":"\u03B2",rt=xe.document||{},We=xe.operamini||xe.opera,ze=te.test(ze=Ee&&We?We["[[Class]]"]:he(We))?ze:We=null,Me,Ge=_e,Le=[],Ve=null,ot=_e==Ie,et=ot&&We&&typeof We.version=="function"&&We.version(),Xe,je=nt([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Ce=tt(["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"]),De=at([{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"]),Fe=$e({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}}),Ye=lt(["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 nt(mt){return ve(mt,function(pt,yt){return pt||RegExp("\\b"+(yt.pattern||ye(yt))+"\\b","i").exec(_e)&&(yt.label||yt)})}function $e(mt){return ve(mt,function(pt,yt,Et){return pt||(yt[De]||yt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(De)]||RegExp("\\b"+ye(Et)+"(?:\\b|\\w*\\d)","i").exec(_e))&&Et})}function tt(mt){return ve(mt,function(pt,yt){return pt||RegExp("\\b"+(yt.pattern||ye(yt))+"\\b","i").exec(_e)&&(yt.label||yt)})}function lt(mt){return ve(mt,function(pt,yt){var Et=yt.pattern||ye(yt);return!pt&&(pt=RegExp("\\b"+Et+"(?:/[\\d.]+|[ \\w.]*)","i").exec(_e))&&(pt=z(pt,Et,yt.label||yt)),pt})}function at(mt){return ve(mt,function(pt,yt){var Et=yt.pattern||ye(yt);return!pt&&(pt=RegExp("\\b"+Et+" *\\d+[.\\w_]*","i").exec(_e)||RegExp("\\b"+Et+" *\\w+-[\\w]*","i").exec(_e)||RegExp("\\b"+Et+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(_e))&&((pt=String(yt.label&&!RegExp(Et,"i").test(yt.label)?yt.label:pt).split("/"))[1]&&!/[\d.]+/.test(pt[0])&&(pt[0]+=" "+pt[1]),yt=yt.label||yt,pt=fe(pt[0].replace(RegExp(Et,"i"),yt).replace(RegExp("; *(?:"+yt+"[_-])?","i")," ").replace(RegExp("("+yt+")[-_.]?(\\w)","i"),"$1 $2"))),pt})}function ut(mt){return ve(mt,function(pt,yt){return pt||(RegExp(yt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(_e)||0)[1]||null})}function st(){return this.description||""}if(je&&(je=[je]),/\bAndroid\b/.test(Ye)&&!De&&(Me=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(_e))&&(De=Pe(Me[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),Fe&&!De?De=at([Fe]):Fe&&De&&(De=De.replace(RegExp("^("+ye(Fe)+")[-_.\\s]","i"),Fe+" ").replace(RegExp("^("+ye(Fe)+")[-_.]?(\\w)","i"),Fe+" $2")),(Me=/\bGoogle TV\b/.exec(De))&&(De=Me[0]),/\bSimulator\b/i.test(_e)&&(De=(De?De+" ":"")+"Simulator"),Ce=="Opera Mini"&&/\bOPiOS\b/.test(_e)&&Le.push("running in Turbo/Uncompressed mode"),Ce=="IE"&&/\blike iPhone OS\b/.test(_e)?(Me=we(_e.replace(/like iPhone OS/,"")),Fe=Me.manufacturer,De=Me.product):/^iP/.test(De)?(Ce||(Ce="Safari"),Ye="iOS"+((Me=/ OS ([\d_]+)/i.exec(_e))?" "+Me[1].replace(/_/g,"."):"")):Ce=="Konqueror"&&/^Linux\b/i.test(Ye)?Ye="Kubuntu":Fe&&Fe!="Google"&&(/Chrome/.test(Ce)&&!/\bMobile Safari\b/i.test(_e)||/\bVita\b/.test(De))||/\bAndroid\b/.test(Ye)&&/^Chrome/.test(Ce)&&/\bVersion\//i.test(_e)?(Ce="Android Browser",Ye=/\bAndroid\b/.test(Ye)?Ye:"Android"):Ce=="Silk"?(/\bMobi/i.test(_e)||(Ye="Android",Le.unshift("desktop mode")),/Accelerated *= *true/i.test(_e)&&Le.unshift("accelerated")):Ce=="UC Browser"&&/\bUCWEB\b/.test(_e)?Le.push("speed mode"):Ce=="PaleMoon"&&(Me=/\bFirefox\/([\d.]+)\b/.exec(_e))?Le.push("identifying as Firefox "+Me[1]):Ce=="Firefox"&&(Me=/\b(Mobile|Tablet|TV)\b/i.exec(_e))?(Ye||(Ye="Firefox OS"),De||(De=Me[1])):!Ce||(Me=!/\bMinefield\b/i.test(_e)&&/\b(?:Firefox|Safari)\b/.exec(Ce))?(Ce&&!De&&/[\/,]|^[^(]+?\)/.test(_e.slice(_e.indexOf(Me+"/")+8))&&(Ce=null),(Me=De||Fe||Ye)&&(De||Fe||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Ye))&&(Ce=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Ye)?Ye:Me)+" Browser")):Ce=="Electron"&&(Me=(/\bChrome\/([\d.]+)\b/.exec(_e)||0)[1])&&Le.push("Chromium "+Me),et||(et=ut(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",ye(Ce),"(?:Firefox|Minefield|NetFront)"])),(Me=je=="iCab"&&parseFloat(et)>3&&"WebKit"||/\bOpera\b/.test(Ce)&&(/\bOPR\b/.test(_e)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(_e)&&!/^(?:Trident|EdgeHTML)$/.test(je)&&"WebKit"||!je&&/\bMSIE\b/i.test(_e)&&(Ye=="Mac OS"?"Tasman":"Trident")||je=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Ce)&&"NetFront")&&(je=[Me]),Ce=="IE"&&(Me=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(_e)||0)[1])?(Ce+=" Mobile",Ye="Windows Phone "+(/\+$/.test(Me)?Me:Me+".x"),Le.unshift("desktop mode")):/\bWPDesktop\b/i.test(_e)?(Ce="IE Mobile",Ye="Windows Phone 8.x",Le.unshift("desktop mode"),et||(et=(/\brv:([\d.]+)/.exec(_e)||0)[1])):Ce!="IE"&&je=="Trident"&&(Me=/\brv:([\d.]+)/.exec(_e))&&(Ce&&Le.push("identifying as "+Ce+(et?" "+et:"")),Ce="IE",et=Me[1]),ot){if(pe(xe,"global"))if(ke&&(Me=ke.lang.System,Ge=Me.getProperty("os.arch"),Ye=Ye||Me.getProperty("os.name")+" "+Me.getProperty("os.version")),Re){try{et=xe.require("ringo/engine").version.join("."),Ce="RingoJS"}catch(mt){(Me=xe.system)&&Me.global.system==xe.system&&(Ce="Narwhal",Ye||(Ye=Me[0].os||null))}Ce||(Ce="Rhino")}else typeof xe.process=="object"&&!xe.process.browser&&(Me=xe.process)&&(typeof Me.versions=="object"&&(typeof Me.versions.electron=="string"?(Le.push("Node "+Me.versions.node),Ce="Electron",et=Me.versions.electron):typeof Me.versions.nw=="string"&&(Le.push("Chromium "+et,"Node "+Me.versions.node),Ce="NW.js",et=Me.versions.nw)),Ce||(Ce="Node.js",Ge=Me.arch,Ye=Me.platform,et=/[\d.]+/.exec(Me.version),et=et?et[0]:null));else he(Me=xe.runtime)==Qe?(Ce="Adobe AIR",Ye=Me.flash.system.Capabilities.os):he(Me=xe.phantom)==Ue?(Ce="PhantomJS",et=(Me=Me.version||null)&&Me.major+"."+Me.minor+"."+Me.patch):typeof rt.documentMode=="number"&&(Me=/\bTrident\/(\d+)/i.exec(_e))?(et=[et,rt.documentMode],(Me=+Me[1]+4)!=et[1]&&(Le.push("IE "+et[1]+" mode"),je&&(je[1]=""),et[1]=Me),et=Ce=="IE"?String(et[1].toFixed(1)):et[0]):typeof rt.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Ce)&&(Le.push("masking as "+Ce+" "+et),Ce="IE",et="11.0",je=["Trident"],Ye="Windows");Ye=Ye&&fe(Ye)}if(et&&(Me=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(et)||/(?:alpha|beta)(?: ?\d)?/i.exec(_e+";"+(ot&&Oe.appMinorVersion))||/\bMinefield\b/i.test(_e)&&"a")&&(Ve=/b/i.test(Me)?"beta":"alpha",et=et.replace(RegExp(Me+"\\+?$"),"")+(Ve=="beta"?qe:He)+(/\d+\+?/.exec(Me)||"")),Ce=="Fennec"||Ce=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(Ye))Ce="Firefox Mobile";else if(Ce=="Maxthon"&&et)et=et.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(De))De=="Xbox 360"&&(Ye=null),De=="Xbox 360"&&/\bIEMobile\b/.test(_e)&&Le.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Ce)||Ce&&!De&&!/Browser|Mobi/.test(Ce))&&(Ye=="Windows CE"||/Mobi/i.test(_e)))Ce+=" Mobile";else if(Ce=="IE"&&ot)try{xe.external===null&&Le.unshift("platform preview")}catch(mt){Le.unshift("embedded")}else(/\bBlackBerry\b/.test(De)||/\bBB10\b/.test(_e))&&(Me=(RegExp(De.replace(/ +/g," *")+"/([.\\d]+)","i").exec(_e)||0)[1]||et)?(Me=[Me,/BB10/.test(_e)],Ye=(Me[1]?(De=null,Fe="BlackBerry"):"Device Software")+" "+Me[0],et=null):this!=ge&&De!="Wii"&&(ot&&We||/Opera/.test(Ce)&&/\b(?:MSIE|Firefox)\b/i.test(_e)||Ce=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Ye)||Ce=="IE"&&(Ye&&!/^Win/.test(Ye)&&et>5.5||/\bWindows XP\b/.test(Ye)&&et>8||et==8&&!/\bTrident\b/.test(_e)))&&!te.test(Me=we.call(ge,_e.replace(te,"")+";"))&&Me.name&&(Me="ing as "+Me.name+((Me=Me.version)?" "+Me:""),te.test(Ce)?(/\bIE\b/.test(Me)&&Ye=="Mac OS"&&(Ye=null),Me="identify"+Me):(Me="mask"+Me,ze?Ce=fe(ze.replace(/([a-z])([A-Z])/g,"$1 $2")):Ce="Opera",/\bIE\b/.test(Me)&&(Ye=null),ot||(et=null)),je=["Presto"],Le.push(Me));(Me=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(_e)||0)[1])&&(Me=[parseFloat(Me.replace(/\.(\d)$/,".0$1")),Me],Ce=="Safari"&&Me[1].slice(-1)=="+"?(Ce="WebKit Nightly",Ve="alpha",et=Me[1].slice(0,-1)):(et==Me[1]||et==(Me[2]=(/\bSafari\/([\d.]+\+?)/i.exec(_e)||0)[1]))&&(et=null),Me[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(_e)||0)[1],Me[0]==537.36&&Me[2]==537.36&&parseFloat(Me[1])>=28&&je=="WebKit"&&(je=["Blink"]),!ot||!Te&&!Me[1]?(je&&(je[1]="like Safari"),Me=(Me=Me[0],Me<400?1:Me<500?2:Me<526?3:Me<533?4:Me<534?"4+":Me<535?5:Me<537?6:Me<538?7:Me<601?8:Me<602?9:Me<604?10:Me<606?11:Me<608?12:"12")):(je&&(je[1]="like Chrome"),Me=Me[1]||(Me=Me[0],Me<530?1:Me<532?2:Me<532.05?3:Me<533?4:Me<534.03?5:Me<534.07?6:Me<534.1?7:Me<534.13?8:Me<534.16?9:Me<534.24?10:Me<534.3?11:Me<535.01?12:Me<535.02?"13+":Me<535.07?15:Me<535.11?16:Me<535.19?17:Me<536.05?18:Me<536.1?19:Me<537.01?20:Me<537.11?"21+":Me<537.13?23:Me<537.18?24:Me<537.24?25:Me<537.36?26:je!="Blink"?"27":"28")),je&&(je[1]+=" "+(Me+=typeof Me=="number"?".x":/[.+]/.test(Me)?"":"+")),Ce=="Safari"&&(!et||parseInt(et)>45)?et=Me:Ce=="Chrome"&&/\bHeadlessChrome/i.test(_e)&&Le.unshift("headless")),Ce=="Opera"&&(Me=/\bzbov|zvav$/.exec(Ye))?(Ce+=" ",Le.unshift("desktop mode"),Me=="zvav"?(Ce+="Mini",et=null):Ce+="Mobile",Ye=Ye.replace(RegExp(" *"+Me+"$"),"")):Ce=="Safari"&&/\bChrome\b/.exec(je&&je[1])?(Le.unshift("desktop mode"),Ce="Chrome Mobile",et=null,/\bOS X\b/.test(Ye)?(Fe="Apple",Ye="iOS 4.3+"):Ye=null):/\bSRWare Iron\b/.test(Ce)&&!et&&(et=ut("Chrome")),et&&et.indexOf(Me=/[\d.]+$/.exec(Ye))==0&&_e.indexOf("/"+Me+"-")>-1&&(Ye=Pe(Ye.replace(Me,""))),Ye&&Ye.indexOf(Ce)!=-1&&!RegExp(Ce+" OS").test(Ye)&&(Ye=Ye.replace(RegExp(" *"+ye(Ce)+" *"),"")),je&&!/\b(?:Avant|Nook)\b/.test(Ce)&&(/Browser|Lunascape|Maxthon/.test(Ce)||Ce!="Safari"&&/^iOS/.test(Ye)&&/\bSafari\b/.test(je[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Ce)&&je[1])&&(Me=je[je.length-1])&&Le.push(Me),Le.length&&(Le=["("+Le.join("; ")+")"]),Fe&&De&&De.indexOf(Fe)<0&&Le.push("on "+Fe),De&&Le.push((/^on /.test(Le[Le.length-1])?"":"on ")+De),Ye&&(Me=/ ([\d.+]+)$/.exec(Ye),Xe=Me&&Ye.charAt(Ye.length-Me[0].length-1)=="/",Ye={architecture:32,family:Me&&!Xe?Ye.replace(Me[0],""):Ye,version:Me?Me[1]:null,toString:function(){var mt=this.version;return this.family+(mt&&!Xe?" "+mt:"")+(this.architecture==64?" 64-bit":"")}}),(Me=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ge))&&!/\bi686\b/i.test(Ge)?(Ye&&(Ye.architecture=64,Ye.family=Ye.family.replace(RegExp(" *"+Me),"")),Ce&&(/\bWOW64\b/i.test(_e)||ot&&/\w(?:86|32)$/.test(Oe.cpuClass||Oe.platform)&&!/\bWin64; x64\b/i.test(_e))&&Le.unshift("32-bit")):Ye&&/^OS X/.test(Ye.family)&&Ce=="Chrome"&&parseFloat(et)>=39&&(Ye.architecture=64),_e||(_e=null);var vt={};return vt.description=_e,vt.layout=je&&je[0],vt.manufacturer=Fe,vt.name=Ce,vt.prerelease=Ve,vt.product=De,vt.ua=_e,vt.version=Ce&&et,vt.os=Ye||{architecture:null,family:null,version:null,toString:function(){return"null"}},vt.parse=we,vt.toString=st,vt.version&&Le.unshift(et),vt.name&&Le.unshift(Ce),Ye&&Ce&&!(Ye==String(Ye).split(" ")[0]&&(Ye==Ce.split(" ")[0]||De))&&Le.push(De?"("+Ye+")":"on "+Ye),Le.length&&(vt.description=Le.join(" ")),vt}var Ae=we();typeof Se=="function"&&typeof Se.amd=="object"&&Se.amd?(ie.platform=Ae,Se(function(){return Ae})):ce&&oe?ge(Ae,function(_e,xe){ce[xe]=_e}):ie.platform=Ae}).call(this)}).call(this)}).call(this,typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,me,de){(function(le){(function(){"use strict";typeof le=="undefined"||!le.version||le.version.indexOf("v0.")===0||le.version.indexOf("v1.")===0&&le.version.indexOf("v1.8.")!==0?me.exports={nextTick:ae}:me.exports=le;function ae(ie,se,ce,oe){if(typeof ie!="function")throw new TypeError('"callback" argument must be a function');var re=arguments.length,ne,te;switch(re){case 0:case 1:return le.nextTick(ie);case 2:return le.nextTick(function(){ie.call(null,se)});case 3:return le.nextTick(function(){ie.call(null,se,ce)});case 4:return le.nextTick(function(){ie.call(null,se,ce,oe)});default:for(ne=new Array(re-1),te=0;te<ne.length;)ne[te++]=arguments[te];return le.nextTick(function(){ie.apply(null,ne)})}}}).call(this)}).call(this,E("_process"))},{_process:467}],381:[function(E,me,de){var le=me.exports={},ae,ie;function se(){throw new Error("setTimeout has not been defined")}function ce(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ae=setTimeout:ae=se}catch(ue){ae=se}try{typeof clearTimeout=="function"?ie=clearTimeout:ie=ce}catch(ue){ie=ce}})();function oe(ue){if(ae===setTimeout)return setTimeout(ue,0);if((ae===se||!ae)&&setTimeout)return ae=setTimeout,setTimeout(ue,0);try{return ae(ue,0)}catch(fe){try{return ae.call(null,ue,0)}catch(ge){return ae.call(this,ue,0)}}}function re(ue){if(ie===clearTimeout)return clearTimeout(ue);if((ie===ce||!ie)&&clearTimeout)return ie=clearTimeout,clearTimeout(ue);try{return ie(ue)}catch(fe){try{return ie.call(null,ue)}catch(ge){return ie.call(this,ue)}}}var ne=[],te=!1,a,y=-1;function x(){!te||!a||(te=!1,a.length?ne=a.concat(ne):y=-1,ne.length&&b())}function b(){if(!te){var ue=oe(x);te=!0;for(var fe=ne.length;fe;){for(a=ne,ne=[];++y<fe;)a&&a[y].run();y=-1,fe=ne.length}a=null,te=!1,re(ue)}}le.nextTick=function(ue){var fe=new Array(arguments.length-1);if(arguments.length>1)for(var ge=1;ge<arguments.length;ge++)fe[ge-1]=arguments[ge];ne.push(new ee(ue,fe)),ne.length===1&&!te&&oe(b)};function ee(ue,fe){this.fun=ue,this.array=fe}ee.prototype.run=function(){this.fun.apply(null,this.array)},le.title="browser",le.browser=!0,le.env={},le.argv=[],le.version="",le.versions={};function z(){}le.on=z,le.addListener=z,le.once=z,le.off=z,le.removeListener=z,le.removeAllListeners=z,le.emit=z,le.prependListener=z,le.prependOnceListener=z,le.listeners=function(ue){return[]},le.binding=function(ue){throw new Error("process.binding is not supported")},le.cwd=function(){return"/"},le.chdir=function(ue){throw new Error("process.chdir is not supported")},le.umask=function(){return 0}},{}],382:[function(E,me,de){(function(le){(function(){(function(ae){var ie=typeof de=="object"&&de&&!de.nodeType&&de,se=typeof me=="object"&&me&&!me.nodeType&&me,ce=typeof le=="object"&≤(ce.global===ce||ce.window===ce||ce.self===ce)&&(ae=ce);var oe,re=2147483647,ne=36,te=1,a=26,y=38,x=700,b=72,ee=128,z="-",ue=/^xn--/,fe=/[^\x20-\x7E]/,ge=/[\x2E\u3002\uFF0E\uFF61]/g,he={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},pe=ne-te,ye=Math.floor,ve=String.fromCharCode,Pe;function we(Ke){throw new RangeError(he[Ke])}function Ae(Ke,Ue){for(var ke=Ke.length,Re=[];ke--;)Re[ke]=Ue(Ke[ke]);return Re}function _e(Ke,Ue){var ke=Ke.split("@"),Re="";ke.length>1&&(Re=ke[0]+"@",Ke=ke[1]),Ke=Ke.replace(ge,".");var He=Ke.split("."),qe=Ae(He,Ue).join(".");return Re+qe}function xe(Ke){for(var Ue=[],ke=0,Re=Ke.length,He,qe;ke<Re;)He=Ke.charCodeAt(ke++),He>=55296&&He<=56319&&ke<Re?(qe=Ke.charCodeAt(ke++),(qe&64512)==56320?Ue.push(((He&1023)<<10)+(qe&1023)+65536):(Ue.push(He),ke--)):Ue.push(He);return Ue}function Ee(Ke){return Ae(Ke,function(Ue){var ke="";return Ue>65535&&(Ue-=65536,ke+=ve(Ue>>>10&1023|55296),Ue=56320|Ue&1023),ke+=ve(Ue),ke}).join("")}function Oe(Ke){return Ke-48<10?Ke-22:Ke-65<26?Ke-65:Ke-97<26?Ke-97:ne}function Ie(Ke,Ue){return Ke+22+75*(Ke<26)-((Ue!=0)<<5)}function Ne(Ke,Ue,ke){var Re=0;for(Ke=ke?ye(Ke/x):Ke>>1,Ke+=ye(Ke/Ue);Ke>pe*a>>1;Re+=ne)Ke=ye(Ke/pe);return ye(Re+(pe+1)*Ke/(Ke+y))}function Te(Ke){var Ue=[],ke=Ke.length,Re,He=0,qe=ee,rt=b,We,ze,Me,Ge,Le,Ve,ot,et,Xe;for(We=Ke.lastIndexOf(z),We<0&&(We=0),ze=0;ze<We;++ze)Ke.charCodeAt(ze)>=128&&we("not-basic"),Ue.push(Ke.charCodeAt(ze));for(Me=We>0?We+1:0;Me<ke;){for(Ge=He,Le=1,Ve=ne;Me>=ke&&we("invalid-input"),ot=Oe(Ke.charCodeAt(Me++)),(ot>=ne||ot>ye((re-He)/Le))&&we("overflow"),He+=ot*Le,et=Ve<=rt?te:Ve>=rt+a?a:Ve-rt,!(ot<et);Ve+=ne)Xe=ne-et,Le>ye(re/Xe)&&we("overflow"),Le*=Xe;Re=Ue.length+1,rt=Ne(He-Ge,Re,Ge==0),ye(He/Re)>re-qe&&we("overflow"),qe+=ye(He/Re),He%=Re,Ue.splice(He++,0,qe)}return Ee(Ue)}function Je(Ke){var Ue,ke,Re,He,qe,rt,We,ze,Me,Ge,Le,Ve=[],ot,et,Xe,je;for(Ke=xe(Ke),ot=Ke.length,Ue=ee,ke=0,qe=b,rt=0;rt<ot;++rt)Le=Ke[rt],Le<128&&Ve.push(ve(Le));for(Re=He=Ve.length,He&&Ve.push(z);Re<ot;){for(We=re,rt=0;rt<ot;++rt)Le=Ke[rt],Le>=Ue&&Le<We&&(We=Le);for(et=Re+1,We-Ue>ye((re-ke)/et)&&we("overflow"),ke+=(We-Ue)*et,Ue=We,rt=0;rt<ot;++rt)if(Le=Ke[rt],Le<Ue&&++ke>re&&we("overflow"),Le==Ue){for(ze=ke,Me=ne;Ge=Me<=qe?te:Me>=qe+a?a:Me-qe,!(ze<Ge);Me+=ne)je=ze-Ge,Xe=ne-Ge,Ve.push(ve(Ie(Ge+je%Xe,0))),ze=ye(je/Xe);Ve.push(ve(Ie(ze,0))),qe=Ne(ke,et,Re==He),ke=0,++Re}++ke,++Ue}return Ve.join("")}function Qe(Ke){return _e(Ke,function(Ue){return ue.test(Ue)?Te(Ue.slice(4).toLowerCase()):Ue})}function Ze(Ke){return _e(Ke,function(Ue){return fe.test(Ue)?"xn--"+Je(Ue):Ue})}if(oe={version:"1.4.1",ucs2:{decode:xe,encode:Ee},decode:Te,encode:Je,toASCII:Ze,toUnicode:Qe},typeof Se=="function"&&typeof Se.amd=="object"&&Se.amd)Se("punycode",function(){return oe});else if(ie&&se)if(me.exports==ie)se.exports=oe;else for(Pe in oe)oe.hasOwnProperty(Pe)&&(ie[Pe]=oe[Pe]);else ae.punycode=oe})(this)}).call(this)}).call(this,typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(E,me,de){"use strict";function le(ie,se){return Object.prototype.hasOwnProperty.call(ie,se)}me.exports=function(ie,se,ce,oe){se=se||"&",ce=ce||"=";var re={};if(typeof ie!="string"||ie.length===0)return re;var ne=/\+/g;ie=ie.split(se);var te=1e3;oe&&typeof oe.maxKeys=="number"&&(te=oe.maxKeys);var a=ie.length;te>0&&a>te&&(a=te);for(var y=0;y<a;++y){var x=ie[y].replace(ne,"%20"),b=x.indexOf(ce),ee,z,ue,fe;b>=0?(ee=x.substr(0,b),z=x.substr(b+1)):(ee=x,z=""),ue=decodeURIComponent(ee),fe=decodeURIComponent(z),le(re,ue)?ae(re[ue])?re[ue].push(fe):re[ue]=[re[ue],fe]:re[ue]=fe}return re};var ae=Array.isArray||function(ie){return Object.prototype.toString.call(ie)==="[object Array]"}},{}],384:[function(E,me,de){"use strict";var le=function(ce){switch(typeof ce){case"string":return ce;case"boolean":return ce?"true":"false";case"number":return isFinite(ce)?ce:"";default:return""}};me.exports=function(ce,oe,re,ne){return oe=oe||"&",re=re||"=",ce===null&&(ce=void 0),typeof ce=="object"?ie(se(ce),function(te){var a=encodeURIComponent(le(te))+re;return ae(ce[te])?ie(ce[te],function(y){return a+encodeURIComponent(le(y))}).join(oe):a+encodeURIComponent(le(ce[te]))}).join(oe):ne?encodeURIComponent(le(ne))+re+encodeURIComponent(le(ce)):""};var ae=Array.isArray||function(ce){return Object.prototype.toString.call(ce)==="[object Array]"};function ie(ce,oe){if(ce.map)return ce.map(oe);for(var re=[],ne=0;ne<ce.length;ne++)re.push(oe(ce[ne],ne));return re}var se=Object.keys||function(ce){var oe=[];for(var re in ce)Object.prototype.hasOwnProperty.call(ce,re)&&oe.push(re);return oe}},{}],385:[function(E,me,de){"use strict";de.decode=de.parse=E("./decode"),de.encode=de.stringify=E("./encode")},{"./decode":383,"./encode":384}],386:[function(E,me,de){"use strict";var le=E("process-nextick-args"),ae=Object.keys||function(x){var b=[];for(var ee in x)b.push(ee);return b};me.exports=te;var ie=Object.create(E("core-util-is"));ie.inherits=E("inherits");var se=E("./_stream_readable"),ce=E("./_stream_writable");ie.inherits(te,se);for(var oe=ae(ce.prototype),re=0;re<oe.length;re++){var ne=oe[re];te.prototype[ne]||(te.prototype[ne]=ce.prototype[ne])}function te(x){if(!(this instanceof te))return new te(x);se.call(this,x),ce.call(this,x),x&&x.readable===!1&&(this.readable=!1),x&&x.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,x&&x.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",a)}Object.defineProperty(te.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function a(){this.allowHalfOpen||this._writableState.ended||le.nextTick(y,this)}function y(x){x.end()}Object.defineProperty(te.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(x){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=x,this._writableState.destroyed=x)}}),te.prototype._destroy=function(x,b){this.push(null),this.end(),le.nextTick(b,x)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(E,me,de){"use strict";me.exports=ie;var le=E("./_stream_transform"),ae=Object.create(E("core-util-is"));ae.inherits=E("inherits"),ae.inherits(ie,le);function ie(se){if(!(this instanceof ie))return new ie(se);le.call(this,se)}ie.prototype._transform=function(se,ce,oe){oe(null,se)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(E,me,de){(function(le,ae){(function(){"use strict";var ie=E("process-nextick-args");me.exports=ve;var se=E("isarray"),ce;ve.ReadableState=ye;var oe=E("events").EventEmitter,re=function(Le,Ve){return Le.listeners(Ve).length},ne=E("./internal/streams/stream"),te=E("safe-buffer").Buffer,a=ae.Uint8Array||function(){};function y(Le){return te.from(Le)}function x(Le){return te.isBuffer(Le)||Le instanceof a}var b=Object.create(E("core-util-is"));b.inherits=E("inherits");var ee=E("util"),z=void 0;ee&&ee.debuglog?z=ee.debuglog("stream"):z=function(){};var ue=E("./internal/streams/BufferList"),fe=E("./internal/streams/destroy"),ge;b.inherits(ve,ne);var he=["error","close","destroy","pause","resume"];function pe(Le,Ve,ot){if(typeof Le.prependListener=="function")return Le.prependListener(Ve,ot);!Le._events||!Le._events[Ve]?Le.on(Ve,ot):se(Le._events[Ve])?Le._events[Ve].unshift(ot):Le._events[Ve]=[ot,Le._events[Ve]]}function ye(Le,Ve){ce=ce||E("./_stream_duplex"),Le=Le||{};var ot=Ve instanceof ce;this.objectMode=!!Le.objectMode,ot&&(this.objectMode=this.objectMode||!!Le.readableObjectMode);var et=Le.highWaterMark,Xe=Le.readableHighWaterMark,je=this.objectMode?16:16*1024;et||et===0?this.highWaterMark=et:ot&&(Xe||Xe===0)?this.highWaterMark=Xe:this.highWaterMark=je,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new ue,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=Le.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Le.encoding&&(ge||(ge=E("string_decoder/").StringDecoder),this.decoder=new ge(Le.encoding),this.encoding=Le.encoding)}function ve(Le){if(ce=ce||E("./_stream_duplex"),!(this instanceof ve))return new ve(Le);this._readableState=new ye(Le,this),this.readable=!0,Le&&(typeof Le.read=="function"&&(this._read=Le.read),typeof Le.destroy=="function"&&(this._destroy=Le.destroy)),ne.call(this)}Object.defineProperty(ve.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Le){this._readableState&&(this._readableState.destroyed=Le)}}),ve.prototype.destroy=fe.destroy,ve.prototype._undestroy=fe.undestroy,ve.prototype._destroy=function(Le,Ve){this.push(null),Ve(Le)},ve.prototype.push=function(Le,Ve){var ot=this._readableState,et;return ot.objectMode?et=!0:typeof Le=="string"&&(Ve=Ve||ot.defaultEncoding,Ve!==ot.encoding&&(Le=te.from(Le,Ve),Ve=""),et=!0),Pe(this,Le,Ve,!1,et)},ve.prototype.unshift=function(Le){return Pe(this,Le,null,!0,!1)};function Pe(Le,Ve,ot,et,Xe){var je=Le._readableState;if(Ve===null)je.reading=!1,Ie(Le,je);else{var Ce;Xe||(Ce=Ae(je,Ve)),Ce?Le.emit("error",Ce):je.objectMode||Ve&&Ve.length>0?(typeof Ve!="string"&&!je.objectMode&&Object.getPrototypeOf(Ve)!==te.prototype&&(Ve=y(Ve)),et?je.endEmitted?Le.emit("error",new Error("stream.unshift() after end event")):we(Le,je,Ve,!0):je.ended?Le.emit("error",new Error("stream.push() after EOF")):(je.reading=!1,je.decoder&&!ot?(Ve=je.decoder.write(Ve),je.objectMode||Ve.length!==0?we(Le,je,Ve,!1):Je(Le,je)):we(Le,je,Ve,!1))):et||(je.reading=!1)}return _e(je)}function we(Le,Ve,ot,et){Ve.flowing&&Ve.length===0&&!Ve.sync?(Le.emit("data",ot),Le.read(0)):(Ve.length+=Ve.objectMode?1:ot.length,et?Ve.buffer.unshift(ot):Ve.buffer.push(ot),Ve.needReadable&&Ne(Le)),Je(Le,Ve)}function Ae(Le,Ve){var ot;return!x(Ve)&&typeof Ve!="string"&&Ve!==void 0&&!Le.objectMode&&(ot=new TypeError("Invalid non-string/buffer chunk")),ot}function _e(Le){return!Le.ended&&(Le.needReadable||Le.length<Le.highWaterMark||Le.length===0)}ve.prototype.isPaused=function(){return this._readableState.flowing===!1},ve.prototype.setEncoding=function(Le){return ge||(ge=E("string_decoder/").StringDecoder),this._readableState.decoder=new ge(Le),this._readableState.encoding=Le,this};var xe=8388608;function Ee(Le){return Le>=xe?Le=xe:(Le--,Le|=Le>>>1,Le|=Le>>>2,Le|=Le>>>4,Le|=Le>>>8,Le|=Le>>>16,Le++),Le}function Oe(Le,Ve){return Le<=0||Ve.length===0&&Ve.ended?0:Ve.objectMode?1:Le!==Le?Ve.flowing&&Ve.length?Ve.buffer.head.data.length:Ve.length:(Le>Ve.highWaterMark&&(Ve.highWaterMark=Ee(Le)),Le<=Ve.length?Le:Ve.ended?Ve.length:(Ve.needReadable=!0,0))}ve.prototype.read=function(Le){z("read",Le),Le=parseInt(Le,10);var Ve=this._readableState,ot=Le;if(Le!==0&&(Ve.emittedReadable=!1),Le===0&&Ve.needReadable&&(Ve.length>=Ve.highWaterMark||Ve.ended))return z("read: emitReadable",Ve.length,Ve.ended),Ve.length===0&&Ve.ended?ze(this):Ne(this),null;if(Le=Oe(Le,Ve),Le===0&&Ve.ended)return Ve.length===0&&ze(this),null;var et=Ve.needReadable;z("need readable",et),(Ve.length===0||Ve.length-Le<Ve.highWaterMark)&&(et=!0,z("length less than watermark",et)),Ve.ended||Ve.reading?(et=!1,z("reading or ended",et)):et&&(z("do read"),Ve.reading=!0,Ve.sync=!0,Ve.length===0&&(Ve.needReadable=!0),this._read(Ve.highWaterMark),Ve.sync=!1,Ve.reading||(Le=Oe(ot,Ve)));var Xe;return Le>0?Xe=He(Le,Ve):Xe=null,Xe===null?(Ve.needReadable=!0,Le=0):Ve.length-=Le,Ve.length===0&&(Ve.ended||(Ve.needReadable=!0),ot!==Le&&Ve.ended&&ze(this)),Xe!==null&&this.emit("data",Xe),Xe};function Ie(Le,Ve){if(!Ve.ended){if(Ve.decoder){var ot=Ve.decoder.end();ot&&ot.length&&(Ve.buffer.push(ot),Ve.length+=Ve.objectMode?1:ot.length)}Ve.ended=!0,Ne(Le)}}function Ne(Le){var Ve=Le._readableState;Ve.needReadable=!1,Ve.emittedReadable||(z("emitReadable",Ve.flowing),Ve.emittedReadable=!0,Ve.sync?ie.nextTick(Te,Le):Te(Le))}function Te(Le){z("emit readable"),Le.emit("readable"),Re(Le)}function Je(Le,Ve){Ve.readingMore||(Ve.readingMore=!0,ie.nextTick(Qe,Le,Ve))}function Qe(Le,Ve){for(var ot=Ve.length;!Ve.reading&&!Ve.flowing&&!Ve.ended&&Ve.length<Ve.highWaterMark&&(z("maybeReadMore read 0"),Le.read(0),ot!==Ve.length);)ot=Ve.length;Ve.readingMore=!1}ve.prototype._read=function(Le){this.emit("error",new Error("_read() is not implemented"))},ve.prototype.pipe=function(Le,Ve){var ot=this,et=this._readableState;switch(et.pipesCount){case 0:et.pipes=Le;break;case 1:et.pipes=[et.pipes,Le];break;default:et.pipes.push(Le);break}et.pipesCount+=1,z("pipe count=%d opts=%j",et.pipesCount,Ve);var Xe=(!Ve||Ve.end!==!1)&&Le!==le.stdout&&Le!==le.stderr,je=Xe?De:st;et.endEmitted?ie.nextTick(je):ot.once("end",je),Le.on("unpipe",Ce);function Ce(vt,mt){z("onunpipe"),vt===ot&&mt&&mt.hasUnpiped===!1&&(mt.hasUnpiped=!0,nt())}function De(){z("onend"),Le.end()}var Fe=Ze(ot);Le.on("drain",Fe);var Ye=!1;function nt(){z("cleanup"),Le.removeListener("close",at),Le.removeListener("finish",ut),Le.removeListener("drain",Fe),Le.removeListener("error",lt),Le.removeListener("unpipe",Ce),ot.removeListener("end",De),ot.removeListener("end",st),ot.removeListener("data",tt),Ye=!0,et.awaitDrain&&(!Le._writableState||Le._writableState.needDrain)&&Fe()}var $e=!1;ot.on("data",tt);function tt(vt){z("ondata"),$e=!1;var mt=Le.write(vt);mt===!1&&!$e&&((et.pipesCount===1&&et.pipes===Le||et.pipesCount>1&&Ge(et.pipes,Le)!==-1)&&!Ye&&(z("false write response, pause",ot._readableState.awaitDrain),ot._readableState.awaitDrain++,$e=!0),ot.pause())}function lt(vt){z("onerror",vt),st(),Le.removeListener("error",lt),re(Le,"error")===0&&Le.emit("error",vt)}pe(Le,"error",lt);function at(){Le.removeListener("finish",ut),st()}Le.once("close",at);function ut(){z("onfinish"),Le.removeListener("close",at),st()}Le.once("finish",ut);function st(){z("unpipe"),ot.unpipe(Le)}return Le.emit("pipe",ot),et.flowing||(z("pipe resume"),ot.resume()),Le};function Ze(Le){return function(){var Ve=Le._readableState;z("pipeOnDrain",Ve.awaitDrain),Ve.awaitDrain&&Ve.awaitDrain--,Ve.awaitDrain===0&&re(Le,"data")&&(Ve.flowing=!0,Re(Le))}}ve.prototype.unpipe=function(Le){var Ve=this._readableState,ot={hasUnpiped:!1};if(Ve.pipesCount===0)return this;if(Ve.pipesCount===1)return Le&&Le!==Ve.pipes?this:(Le||(Le=Ve.pipes),Ve.pipes=null,Ve.pipesCount=0,Ve.flowing=!1,Le&&Le.emit("unpipe",this,ot),this);if(!Le){var et=Ve.pipes,Xe=Ve.pipesCount;Ve.pipes=null,Ve.pipesCount=0,Ve.flowing=!1;for(var je=0;je<Xe;je++)et[je].emit("unpipe",this,ot);return this}var Ce=Ge(Ve.pipes,Le);return Ce===-1?this:(Ve.pipes.splice(Ce,1),Ve.pipesCount-=1,Ve.pipesCount===1&&(Ve.pipes=Ve.pipes[0]),Le.emit("unpipe",this,ot),this)},ve.prototype.on=function(Le,Ve){var ot=ne.prototype.on.call(this,Le,Ve);if(Le==="data")this._readableState.flowing!==!1&&this.resume();else if(Le==="readable"){var et=this._readableState;!et.endEmitted&&!et.readableListening&&(et.readableListening=et.needReadable=!0,et.emittedReadable=!1,et.reading?et.length&&Ne(this):ie.nextTick(Ke,this))}return ot},ve.prototype.addListener=ve.prototype.on;function Ke(Le){z("readable nexttick read 0"),Le.read(0)}ve.prototype.resume=function(){var Le=this._readableState;return Le.flowing||(z("resume"),Le.flowing=!0,Ue(this,Le)),this};function Ue(Le,Ve){Ve.resumeScheduled||(Ve.resumeScheduled=!0,ie.nextTick(ke,Le,Ve))}function ke(Le,Ve){Ve.reading||(z("resume read 0"),Le.read(0)),Ve.resumeScheduled=!1,Ve.awaitDrain=0,Le.emit("resume"),Re(Le),Ve.flowing&&!Ve.reading&&Le.read(0)}ve.prototype.pause=function(){return z("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(z("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Re(Le){var Ve=Le._readableState;for(z("flow",Ve.flowing);Ve.flowing&&Le.read()!==null;);}ve.prototype.wrap=function(Le){var Ve=this,ot=this._readableState,et=!1;Le.on("end",function(){if(z("wrapped end"),ot.decoder&&!ot.ended){var Ce=ot.decoder.end();Ce&&Ce.length&&Ve.push(Ce)}Ve.push(null)}),Le.on("data",function(Ce){if(z("wrapped data"),ot.decoder&&(Ce=ot.decoder.write(Ce)),!(ot.objectMode&&Ce==null)&&!(!ot.objectMode&&(!Ce||!Ce.length))){var De=Ve.push(Ce);De||(et=!0,Le.pause())}});for(var Xe in Le)this[Xe]===void 0&&typeof Le[Xe]=="function"&&(this[Xe]=function(Ce){return function(){return Le[Ce].apply(Le,arguments)}}(Xe));for(var je=0;je<he.length;je++)Le.on(he[je],this.emit.bind(this,he[je]));return this._read=function(Ce){z("wrapped _read",Ce),et&&(et=!1,Le.resume())},this},Object.defineProperty(ve.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),ve._fromList=He;function He(Le,Ve){if(Ve.length===0)return null;var ot;return Ve.objectMode?ot=Ve.buffer.shift():!Le||Le>=Ve.length?(Ve.decoder?ot=Ve.buffer.join(""):Ve.buffer.length===1?ot=Ve.buffer.head.data:ot=Ve.buffer.concat(Ve.length),Ve.buffer.clear()):ot=qe(Le,Ve.buffer,Ve.decoder),ot}function qe(Le,Ve,ot){var et;return Le<Ve.head.data.length?(et=Ve.head.data.slice(0,Le),Ve.head.data=Ve.head.data.slice(Le)):Le===Ve.head.data.length?et=Ve.shift():et=ot?rt(Le,Ve):We(Le,Ve),et}function rt(Le,Ve){var ot=Ve.head,et=1,Xe=ot.data;for(Le-=Xe.length;ot=ot.next;){var je=ot.data,Ce=Le>je.length?je.length:Le;if(Ce===je.length?Xe+=je:Xe+=je.slice(0,Le),Le-=Ce,Le===0){Ce===je.length?(++et,ot.next?Ve.head=ot.next:Ve.head=Ve.tail=null):(Ve.head=ot,ot.data=je.slice(Ce));break}++et}return Ve.length-=et,Xe}function We(Le,Ve){var ot=te.allocUnsafe(Le),et=Ve.head,Xe=1;for(et.data.copy(ot),Le-=et.data.length;et=et.next;){var je=et.data,Ce=Le>je.length?je.length:Le;if(je.copy(ot,ot.length-Le,0,Ce),Le-=Ce,Le===0){Ce===je.length?(++Xe,et.next?Ve.head=et.next:Ve.head=Ve.tail=null):(Ve.head=et,et.data=je.slice(Ce));break}++Xe}return Ve.length-=Xe,ot}function ze(Le){var Ve=Le._readableState;if(Ve.length>0)throw new Error('"endReadable()" called on non-empty stream');Ve.endEmitted||(Ve.ended=!0,ie.nextTick(Me,Ve,Le))}function Me(Le,Ve){!Le.endEmitted&&Le.length===0&&(Le.endEmitted=!0,Ve.readable=!1,Ve.emit("end"))}function Ge(Le,Ve){for(var ot=0,et=Le.length;ot<et;ot++)if(Le[ot]===Ve)return ot;return-1}}).call(this)}).call(this,E("_process"),typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?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,me,de){"use strict";me.exports=se;var le=E("./_stream_duplex"),ae=Object.create(E("core-util-is"));ae.inherits=E("inherits"),ae.inherits(se,le);function ie(re,ne){var te=this._transformState;te.transforming=!1;var a=te.writecb;if(!a)return this.emit("error",new Error("write callback called multiple times"));te.writechunk=null,te.writecb=null,ne!=null&&this.push(ne),a(re);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function se(re){if(!(this instanceof se))return new se(re);le.call(this,re),this._transformState={afterTransform:ie.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,re&&(typeof re.transform=="function"&&(this._transform=re.transform),typeof re.flush=="function"&&(this._flush=re.flush)),this.on("prefinish",ce)}function ce(){var re=this;typeof this._flush=="function"?this._flush(function(ne,te){oe(re,ne,te)}):oe(this,null,null)}se.prototype.push=function(re,ne){return this._transformState.needTransform=!1,le.prototype.push.call(this,re,ne)},se.prototype._transform=function(re,ne,te){throw new Error("_transform() is not implemented")},se.prototype._write=function(re,ne,te){var a=this._transformState;if(a.writecb=te,a.writechunk=re,a.writeencoding=ne,!a.transforming){var y=this._readableState;(a.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},se.prototype._read=function(re){var ne=this._transformState;ne.writechunk!==null&&ne.writecb&&!ne.transforming?(ne.transforming=!0,this._transform(ne.writechunk,ne.writeencoding,ne.afterTransform)):ne.needTransform=!0},se.prototype._destroy=function(re,ne){var te=this;le.prototype._destroy.call(this,re,function(a){ne(a),te.emit("close")})};function oe(re,ne,te){if(ne)return re.emit("error",ne);if(te!=null&&re.push(te),re._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(re._transformState.transforming)throw new Error("Calling transform done when still transforming");return re.push(null)}},{"./_stream_duplex":386,"core-util-is":341,inherits:364}],390:[function(E,me,de){(function(le,ae,ie){(function(){"use strict";var se=E("process-nextick-args");me.exports=pe;function ce(ke,Re,He){this.chunk=ke,this.encoding=Re,this.callback=He,this.next=null}function oe(ke){var Re=this;this.next=null,this.entry=null,this.finish=function(){Ue(Re,ke)}}var re=!le.browser&&["v0.10","v0.9."].indexOf(le.version.slice(0,5))>-1?ie:se.nextTick,ne;pe.WritableState=ge;var te=Object.create(E("core-util-is"));te.inherits=E("inherits");var a={deprecate:E("util-deprecate")},y=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=ae.Uint8Array||function(){};function ee(ke){return x.from(ke)}function z(ke){return x.isBuffer(ke)||ke instanceof b}var ue=E("./internal/streams/destroy");te.inherits(pe,y);function fe(){}function ge(ke,Re){ne=ne||E("./_stream_duplex"),ke=ke||{};var He=Re instanceof ne;this.objectMode=!!ke.objectMode,He&&(this.objectMode=this.objectMode||!!ke.writableObjectMode);var qe=ke.highWaterMark,rt=ke.writableHighWaterMark,We=this.objectMode?16:16*1024;qe||qe===0?this.highWaterMark=qe:He&&(rt||rt===0)?this.highWaterMark=rt:this.highWaterMark=We,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ze=ke.decodeStrings===!1;this.decodeStrings=!ze,this.defaultEncoding=ke.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Me){Ee(Re,Me)},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 oe(this)}ge.prototype.getBuffer=function(){for(var Re=this.bufferedRequest,He=[];Re;)He.push(Re),Re=Re.next;return He},function(){try{Object.defineProperty(ge.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(ke){}}();var he;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(he=Function.prototype[Symbol.hasInstance],Object.defineProperty(pe,Symbol.hasInstance,{value:function(ke){return he.call(this,ke)?!0:this!==pe?!1:ke&&ke._writableState instanceof ge}})):he=function(ke){return ke instanceof this};function pe(ke){if(ne=ne||E("./_stream_duplex"),!he.call(pe,this)&&!(this instanceof ne))return new pe(ke);this._writableState=new ge(ke,this),this.writable=!0,ke&&(typeof ke.write=="function"&&(this._write=ke.write),typeof ke.writev=="function"&&(this._writev=ke.writev),typeof ke.destroy=="function"&&(this._destroy=ke.destroy),typeof ke.final=="function"&&(this._final=ke.final)),y.call(this)}pe.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function ye(ke,Re){var He=new Error("write after end");ke.emit("error",He),se.nextTick(Re,He)}function ve(ke,Re,He,qe){var rt=!0,We=!1;return He===null?We=new TypeError("May not write null values to stream"):typeof He!="string"&&He!==void 0&&!Re.objectMode&&(We=new TypeError("Invalid non-string/buffer chunk")),We&&(ke.emit("error",We),se.nextTick(qe,We),rt=!1),rt}pe.prototype.write=function(ke,Re,He){var qe=this._writableState,rt=!1,We=!qe.objectMode&&z(ke);return We&&!x.isBuffer(ke)&&(ke=ee(ke)),typeof Re=="function"&&(He=Re,Re=null),We?Re="buffer":Re||(Re=qe.defaultEncoding),typeof He!="function"&&(He=fe),qe.ended?ye(this,He):(We||ve(this,qe,ke,He))&&(qe.pendingcb++,rt=we(this,qe,We,ke,Re,He)),rt},pe.prototype.cork=function(){var ke=this._writableState;ke.corked++},pe.prototype.uncork=function(){var ke=this._writableState;ke.corked&&(ke.corked--,!ke.writing&&!ke.corked&&!ke.finished&&!ke.bufferProcessing&&ke.bufferedRequest&&Ne(this,ke))},pe.prototype.setDefaultEncoding=function(Re){if(typeof Re=="string"&&(Re=Re.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Re+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Re);return this._writableState.defaultEncoding=Re,this};function Pe(ke,Re,He){return!ke.objectMode&&ke.decodeStrings!==!1&&typeof Re=="string"&&(Re=x.from(Re,He)),Re}Object.defineProperty(pe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function we(ke,Re,He,qe,rt,We){if(!He){var ze=Pe(Re,qe,rt);qe!==ze&&(He=!0,rt="buffer",qe=ze)}var Me=Re.objectMode?1:qe.length;Re.length+=Me;var Ge=Re.length<Re.highWaterMark;if(Ge||(Re.needDrain=!0),Re.writing||Re.corked){var Le=Re.lastBufferedRequest;Re.lastBufferedRequest={chunk:qe,encoding:rt,isBuf:He,callback:We,next:null},Le?Le.next=Re.lastBufferedRequest:Re.bufferedRequest=Re.lastBufferedRequest,Re.bufferedRequestCount+=1}else Ae(ke,Re,!1,Me,qe,rt,We);return Ge}function Ae(ke,Re,He,qe,rt,We,ze){Re.writelen=qe,Re.writecb=ze,Re.writing=!0,Re.sync=!0,He?ke._writev(rt,Re.onwrite):ke._write(rt,We,Re.onwrite),Re.sync=!1}function _e(ke,Re,He,qe,rt){--Re.pendingcb,He?(se.nextTick(rt,qe),se.nextTick(Ze,ke,Re),ke._writableState.errorEmitted=!0,ke.emit("error",qe)):(rt(qe),ke._writableState.errorEmitted=!0,ke.emit("error",qe),Ze(ke,Re))}function xe(ke){ke.writing=!1,ke.writecb=null,ke.length-=ke.writelen,ke.writelen=0}function Ee(ke,Re){var He=ke._writableState,qe=He.sync,rt=He.writecb;if(xe(He),Re)_e(ke,He,qe,Re,rt);else{var We=Te(He);!We&&!He.corked&&!He.bufferProcessing&&He.bufferedRequest&&Ne(ke,He),qe?re(Oe,ke,He,We,rt):Oe(ke,He,We,rt)}}function Oe(ke,Re,He,qe){He||Ie(ke,Re),Re.pendingcb--,qe(),Ze(ke,Re)}function Ie(ke,Re){Re.length===0&&Re.needDrain&&(Re.needDrain=!1,ke.emit("drain"))}function Ne(ke,Re){Re.bufferProcessing=!0;var He=Re.bufferedRequest;if(ke._writev&&He&&He.next){var qe=Re.bufferedRequestCount,rt=new Array(qe),We=Re.corkedRequestsFree;We.entry=He;for(var ze=0,Me=!0;He;)rt[ze]=He,He.isBuf||(Me=!1),He=He.next,ze+=1;rt.allBuffers=Me,Ae(ke,Re,!0,Re.length,rt,"",We.finish),Re.pendingcb++,Re.lastBufferedRequest=null,We.next?(Re.corkedRequestsFree=We.next,We.next=null):Re.corkedRequestsFree=new oe(Re),Re.bufferedRequestCount=0}else{for(;He;){var Ge=He.chunk,Le=He.encoding,Ve=He.callback,ot=Re.objectMode?1:Ge.length;if(Ae(ke,Re,!1,ot,Ge,Le,Ve),He=He.next,Re.bufferedRequestCount--,Re.writing)break}He===null&&(Re.lastBufferedRequest=null)}Re.bufferedRequest=He,Re.bufferProcessing=!1}pe.prototype._write=function(ke,Re,He){He(new Error("_write() is not implemented"))},pe.prototype._writev=null,pe.prototype.end=function(ke,Re,He){var qe=this._writableState;typeof ke=="function"?(He=ke,ke=null,Re=null):typeof Re=="function"&&(He=Re,Re=null),ke!=null&&this.write(ke,Re),qe.corked&&(qe.corked=1,this.uncork()),!qe.ending&&!qe.finished&&Ke(this,qe,He)};function Te(ke){return ke.ending&&ke.length===0&&ke.bufferedRequest===null&&!ke.finished&&!ke.writing}function Je(ke,Re){ke._final(function(He){Re.pendingcb--,He&&ke.emit("error",He),Re.prefinished=!0,ke.emit("prefinish"),Ze(ke,Re)})}function Qe(ke,Re){!Re.prefinished&&!Re.finalCalled&&(typeof ke._final=="function"?(Re.pendingcb++,Re.finalCalled=!0,se.nextTick(Je,ke,Re)):(Re.prefinished=!0,ke.emit("prefinish")))}function Ze(ke,Re){var He=Te(Re);return He&&(Qe(ke,Re),Re.pendingcb===0&&(Re.finished=!0,ke.emit("finish"))),He}function Ke(ke,Re,He){Re.ending=!0,Ze(ke,Re),He&&(Re.finished?se.nextTick(He):ke.once("finish",He)),Re.ended=!0,ke.writable=!1}function Ue(ke,Re,He){var qe=ke.entry;for(ke.entry=null;qe;){var rt=qe.callback;Re.pendingcb--,rt(He),qe=qe.next}Re.corkedRequestsFree?Re.corkedRequestsFree.next=ke:Re.corkedRequestsFree=ke}Object.defineProperty(pe.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(ke){this._writableState&&(this._writableState.destroyed=ke)}}),pe.prototype.destroy=ue.destroy,pe.prototype._undestroy=ue.undestroy,pe.prototype._destroy=function(ke,Re){this.end(),Re(ke)}}).call(this)}).call(this,E("_process"),typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?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,me,de){"use strict";function le(ce,oe){if(!(ce instanceof oe))throw new TypeError("Cannot call a class as a function")}var ae=E("safe-buffer").Buffer,ie=E("util");function se(ce,oe,re){ce.copy(oe,re)}me.exports=function(){function ce(){le(this,ce),this.head=null,this.tail=null,this.length=0}return ce.prototype.push=function(re){var ne={data:re,next:null};this.length>0?this.tail.next=ne:this.head=ne,this.tail=ne,++this.length},ce.prototype.unshift=function(re){var ne={data:re,next:this.head};this.length===0&&(this.tail=ne),this.head=ne,++this.length},ce.prototype.shift=function(){if(this.length!==0){var re=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,re}},ce.prototype.clear=function(){this.head=this.tail=null,this.length=0},ce.prototype.join=function(re){if(this.length===0)return"";for(var ne=this.head,te=""+ne.data;ne=ne.next;)te+=re+ne.data;return te},ce.prototype.concat=function(re){if(this.length===0)return ae.alloc(0);if(this.length===1)return this.head.data;for(var ne=ae.allocUnsafe(re>>>0),te=this.head,a=0;te;)se(te.data,ne,a),a+=te.data.length,te=te.next;return ne},ce}(),ie&&ie.inspect&&ie.inspect.custom&&(me.exports.prototype[ie.inspect.custom]=function(){var ce=ie.inspect({length:this.length});return this.constructor.name+" "+ce})},{"safe-buffer":396,util:89}],392:[function(E,me,de){"use strict";var le=E("process-nextick-args");function ae(ce,oe){var re=this,ne=this._readableState&&this._readableState.destroyed,te=this._writableState&&this._writableState.destroyed;return ne||te?(oe?oe(ce):ce&&(!this._writableState||!this._writableState.errorEmitted)&&le.nextTick(se,this,ce),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ce||null,function(a){!oe&&a?(le.nextTick(se,re,a),re._writableState&&(re._writableState.errorEmitted=!0)):oe&&oe(a)}),this)}function ie(){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 se(ce,oe){ce.emit("error",oe)}me.exports={destroy:ae,undestroy:ie}},{"process-nextick-args":380}],393:[function(E,me,de){me.exports=E("events").EventEmitter},{events:344}],394:[function(E,me,de){de=me.exports=E("./lib/_stream_readable.js"),de.Stream=de,de.Readable=de,de.Writable=E("./lib/_stream_writable.js"),de.Duplex=E("./lib/_stream_duplex.js"),de.Transform=E("./lib/_stream_transform.js"),de.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,me,de){var le=function(ae){"use strict";var ie=Object.prototype,se=ie.hasOwnProperty,ce,oe=typeof Symbol=="function"?Symbol:{},re=oe.iterator||"@@iterator",ne=oe.asyncIterator||"@@asyncIterator",te=oe.toStringTag||"@@toStringTag";function a(Qe,Ze,Ke){return Object.defineProperty(Qe,Ze,{value:Ke,enumerable:!0,configurable:!0,writable:!0}),Qe[Ze]}try{a({},"")}catch(Qe){a=function(Ze,Ke,Ue){return Ze[Ke]=Ue}}function y(Qe,Ze,Ke,Ue){var ke=Ze&&Ze.prototype instanceof ge?Ze:ge,Re=Object.create(ke.prototype),He=new Ne(Ue||[]);return Re._invoke=xe(Qe,Ke,He),Re}ae.wrap=y;function x(Qe,Ze,Ke){try{return{type:"normal",arg:Qe.call(Ze,Ke)}}catch(Ue){return{type:"throw",arg:Ue}}}var b="suspendedStart",ee="suspendedYield",z="executing",ue="completed",fe={};function ge(){}function he(){}function pe(){}var ye={};a(ye,re,function(){return this});var ve=Object.getPrototypeOf,Pe=ve&&ve(ve(Te([])));Pe&&Pe!==ie&&se.call(Pe,re)&&(ye=Pe);var we=pe.prototype=ge.prototype=Object.create(ye);he.prototype=pe,a(we,"constructor",pe),a(pe,"constructor",he),he.displayName=a(pe,te,"GeneratorFunction");function Ae(Qe){["next","throw","return"].forEach(function(Ze){a(Qe,Ze,function(Ke){return this._invoke(Ze,Ke)})})}ae.isGeneratorFunction=function(Qe){var Ze=typeof Qe=="function"&&Qe.constructor;return Ze?Ze===he||(Ze.displayName||Ze.name)==="GeneratorFunction":!1},ae.mark=function(Qe){return Object.setPrototypeOf?Object.setPrototypeOf(Qe,pe):(Qe.__proto__=pe,a(Qe,te,"GeneratorFunction")),Qe.prototype=Object.create(we),Qe},ae.awrap=function(Qe){return{__await:Qe}};function _e(Qe,Ze){function Ke(Re,He,qe,rt){var We=x(Qe[Re],Qe,He);if(We.type==="throw")rt(We.arg);else{var ze=We.arg,Me=ze.value;return Me&&typeof Me=="object"&&se.call(Me,"__await")?Ze.resolve(Me.__await).then(function(Ge){Ke("next",Ge,qe,rt)},function(Ge){Ke("throw",Ge,qe,rt)}):Ze.resolve(Me).then(function(Ge){ze.value=Ge,qe(ze)},function(Ge){return Ke("throw",Ge,qe,rt)})}}var Ue;function ke(Re,He){function qe(){return new Ze(function(rt,We){Ke(Re,He,rt,We)})}return Ue=Ue?Ue.then(qe,qe):qe()}this._invoke=ke}Ae(_e.prototype),a(_e.prototype,ne,function(){return this}),ae.AsyncIterator=_e,ae.async=function(Qe,Ze,Ke,Ue,ke){ke===void 0&&(ke=Promise);var Re=new _e(y(Qe,Ze,Ke,Ue),ke);return ae.isGeneratorFunction(Ze)?Re:Re.next().then(function(He){return He.done?He.value:Re.next()})};function xe(Qe,Ze,Ke){var Ue=b;return function(Re,He){if(Ue===z)throw new Error("Generator is already running");if(Ue===ue){if(Re==="throw")throw He;return Je()}for(Ke.method=Re,Ke.arg=He;;){var qe=Ke.delegate;if(qe){var rt=Ee(qe,Ke);if(rt){if(rt===fe)continue;return rt}}if(Ke.method==="next")Ke.sent=Ke._sent=Ke.arg;else if(Ke.method==="throw"){if(Ue===b)throw Ue=ue,Ke.arg;Ke.dispatchException(Ke.arg)}else Ke.method==="return"&&Ke.abrupt("return",Ke.arg);Ue=z;var We=x(Qe,Ze,Ke);if(We.type==="normal"){if(Ue=Ke.done?ue:ee,We.arg===fe)continue;return{value:We.arg,done:Ke.done}}else We.type==="throw"&&(Ue=ue,Ke.method="throw",Ke.arg=We.arg)}}}function Ee(Qe,Ze){var Ke=Qe.iterator[Ze.method];if(Ke===ce){if(Ze.delegate=null,Ze.method==="throw"){if(Qe.iterator.return&&(Ze.method="return",Ze.arg=ce,Ee(Qe,Ze),Ze.method==="throw"))return fe;Ze.method="throw",Ze.arg=new TypeError("The iterator does not provide a 'throw' method")}return fe}var Ue=x(Ke,Qe.iterator,Ze.arg);if(Ue.type==="throw")return Ze.method="throw",Ze.arg=Ue.arg,Ze.delegate=null,fe;var ke=Ue.arg;if(!ke)return Ze.method="throw",Ze.arg=new TypeError("iterator result is not an object"),Ze.delegate=null,fe;if(ke.done)Ze[Qe.resultName]=ke.value,Ze.next=Qe.nextLoc,Ze.method!=="return"&&(Ze.method="next",Ze.arg=ce);else return ke;return Ze.delegate=null,fe}Ae(we),a(we,te,"Generator"),a(we,re,function(){return this}),a(we,"toString",function(){return"[object Generator]"});function Oe(Qe){var Ze={tryLoc:Qe[0]};1 in Qe&&(Ze.catchLoc=Qe[1]),2 in Qe&&(Ze.finallyLoc=Qe[2],Ze.afterLoc=Qe[3]),this.tryEntries.push(Ze)}function Ie(Qe){var Ze=Qe.completion||{};Ze.type="normal",delete Ze.arg,Qe.completion=Ze}function Ne(Qe){this.tryEntries=[{tryLoc:"root"}],Qe.forEach(Oe,this),this.reset(!0)}ae.keys=function(Qe){var Ze=[];for(var Ke in Qe)Ze.push(Ke);return Ze.reverse(),function Ue(){for(;Ze.length;){var ke=Ze.pop();if(ke in Qe)return Ue.value=ke,Ue.done=!1,Ue}return Ue.done=!0,Ue}};function Te(Qe){if(Qe){var Ze=Qe[re];if(Ze)return Ze.call(Qe);if(typeof Qe.next=="function")return Qe;if(!isNaN(Qe.length)){var Ke=-1,Ue=function ke(){for(;++Ke<Qe.length;)if(se.call(Qe,Ke))return ke.value=Qe[Ke],ke.done=!1,ke;return ke.value=ce,ke.done=!0,ke};return Ue.next=Ue}}return{next:Je}}ae.values=Te;function Je(){return{value:ce,done:!0}}return Ne.prototype={constructor:Ne,reset:function(Qe){if(this.prev=0,this.next=0,this.sent=this._sent=ce,this.done=!1,this.delegate=null,this.method="next",this.arg=ce,this.tryEntries.forEach(Ie),!Qe)for(var Ze in this)Ze.charAt(0)==="t"&&se.call(this,Ze)&&!isNaN(+Ze.slice(1))&&(this[Ze]=ce)},stop:function(){this.done=!0;var Qe=this.tryEntries[0],Ze=Qe.completion;if(Ze.type==="throw")throw Ze.arg;return this.rval},dispatchException:function(Qe){if(this.done)throw Qe;var Ze=this;function Ke(rt,We){return Re.type="throw",Re.arg=Qe,Ze.next=rt,We&&(Ze.method="next",Ze.arg=ce),!!We}for(var Ue=this.tryEntries.length-1;Ue>=0;--Ue){var ke=this.tryEntries[Ue],Re=ke.completion;if(ke.tryLoc==="root")return Ke("end");if(ke.tryLoc<=this.prev){var He=se.call(ke,"catchLoc"),qe=se.call(ke,"finallyLoc");if(He&&qe){if(this.prev<ke.catchLoc)return Ke(ke.catchLoc,!0);if(this.prev<ke.finallyLoc)return Ke(ke.finallyLoc)}else if(He){if(this.prev<ke.catchLoc)return Ke(ke.catchLoc,!0)}else if(qe){if(this.prev<ke.finallyLoc)return Ke(ke.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(Qe,Ze){for(var Ke=this.tryEntries.length-1;Ke>=0;--Ke){var Ue=this.tryEntries[Ke];if(Ue.tryLoc<=this.prev&&se.call(Ue,"finallyLoc")&&this.prev<Ue.finallyLoc){var ke=Ue;break}}ke&&(Qe==="break"||Qe==="continue")&&ke.tryLoc<=Ze&&Ze<=ke.finallyLoc&&(ke=null);var Re=ke?ke.completion:{};return Re.type=Qe,Re.arg=Ze,ke?(this.method="next",this.next=ke.finallyLoc,fe):this.complete(Re)},complete:function(Qe,Ze){if(Qe.type==="throw")throw Qe.arg;return Qe.type==="break"||Qe.type==="continue"?this.next=Qe.arg:Qe.type==="return"?(this.rval=this.arg=Qe.arg,this.method="return",this.next="end"):Qe.type==="normal"&&Ze&&(this.next=Ze),fe},finish:function(Qe){for(var Ze=this.tryEntries.length-1;Ze>=0;--Ze){var Ke=this.tryEntries[Ze];if(Ke.finallyLoc===Qe)return this.complete(Ke.completion,Ke.afterLoc),Ie(Ke),fe}},catch:function(Qe){for(var Ze=this.tryEntries.length-1;Ze>=0;--Ze){var Ke=this.tryEntries[Ze];if(Ke.tryLoc===Qe){var Ue=Ke.completion;if(Ue.type==="throw"){var ke=Ue.arg;Ie(Ke)}return ke}}throw new Error("illegal catch attempt")},delegateYield:function(Qe,Ze,Ke){return this.delegate={iterator:Te(Qe),resultName:Ze,nextLoc:Ke},this.method==="next"&&(this.arg=ce),fe}},ae}(typeof me=="object"?me.exports:{});try{regeneratorRuntime=le}catch(ae){typeof globalThis=="object"?globalThis.regeneratorRuntime=le:Function("r","regeneratorRuntime = r")(le)}},{}],396:[function(E,me,de){var le=E("buffer"),ae=le.Buffer;function ie(ce,oe){for(var re in ce)oe[re]=ce[re]}ae.from&&ae.alloc&&ae.allocUnsafe&&ae.allocUnsafeSlow?me.exports=le:(ie(le,de),de.Buffer=se);function se(ce,oe,re){return ae(ce,oe,re)}ie(ae,se),se.from=function(ce,oe,re){if(typeof ce=="number")throw new TypeError("Argument must not be a number");return ae(ce,oe,re)},se.alloc=function(ce,oe,re){if(typeof ce!="number")throw new TypeError("Argument must be a number");var ne=ae(ce);return oe!==void 0?typeof re=="string"?ne.fill(oe,re):ne.fill(oe):ne.fill(0),ne},se.allocUnsafe=function(ce){if(typeof ce!="number")throw new TypeError("Argument must be a number");return ae(ce)},se.allocUnsafeSlow=function(ce){if(typeof ce!="number")throw new TypeError("Argument must be a number");return le.SlowBuffer(ce)}},{buffer:90}],397:[function(E,me,de){(function(le){(function(){(function(ae){ae.parser=function(ze,Me){return new se(ze,Me)},ae.SAXParser=se,ae.SAXStream=y,ae.createStream=a,ae.MAX_BUFFER_LENGTH=64*1024;var ie=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];ae.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function se(ze,Me){if(!(this instanceof se))return new se(ze,Me);var Ge=this;oe(Ge),Ge.q=Ge.c="",Ge.bufferCheckPosition=ae.MAX_BUFFER_LENGTH,Ge.opt=Me||{},Ge.opt.lowercase=Ge.opt.lowercase||Ge.opt.lowercasetags,Ge.looseCase=Ge.opt.lowercase?"toLowerCase":"toUpperCase",Ge.tags=[],Ge.closed=Ge.closedRoot=Ge.sawRoot=!1,Ge.tag=Ge.error=null,Ge.strict=!!ze,Ge.noscript=!!(ze||Ge.opt.noscript),Ge.state=_e.BEGIN,Ge.strictEntities=Ge.opt.strictEntities,Ge.ENTITIES=Ge.strictEntities?Object.create(ae.XML_ENTITIES):Object.create(ae.ENTITIES),Ge.attribList=[],Ge.opt.xmlns&&(Ge.ns=Object.create(ue)),Ge.trackPosition=Ge.opt.position!==!1,Ge.trackPosition&&(Ge.position=Ge.line=Ge.column=0),Ee(Ge,"onready")}Object.create||(Object.create=function(ze){function Me(){}Me.prototype=ze;var Ge=new Me;return Ge}),Object.keys||(Object.keys=function(ze){var Me=[];for(var Ge in ze)ze.hasOwnProperty(Ge)&&Me.push(Ge);return Me});function ce(ze){for(var Me=Math.max(ae.MAX_BUFFER_LENGTH,10),Ge=0,Le=0,Ve=ie.length;Le<Ve;Le++){var ot=ze[ie[Le]].length;if(ot>Me)switch(ie[Le]){case"textNode":Ie(ze);break;case"cdata":Oe(ze,"oncdata",ze.cdata),ze.cdata="";break;case"script":Oe(ze,"onscript",ze.script),ze.script="";break;default:Te(ze,"Max buffer length exceeded: "+ie[Le])}Ge=Math.max(Ge,ot)}var et=ae.MAX_BUFFER_LENGTH-Ge;ze.bufferCheckPosition=et+ze.position}function oe(ze){for(var Me=0,Ge=ie.length;Me<Ge;Me++)ze[ie[Me]]=""}function re(ze){Ie(ze),ze.cdata!==""&&(Oe(ze,"oncdata",ze.cdata),ze.cdata=""),ze.script!==""&&(Oe(ze,"onscript",ze.script),ze.script="")}se.prototype={end:function(){Je(this)},write:We,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){re(this)}};var ne;try{ne=E("stream").Stream}catch(ze){ne=function(){}}var te=ae.EVENTS.filter(function(ze){return ze!=="error"&&ze!=="end"});function a(ze,Me){return new y(ze,Me)}function y(ze,Me){if(!(this instanceof y))return new y(ze,Me);ne.apply(this),this._parser=new se(ze,Me),this.writable=!0,this.readable=!0;var Ge=this;this._parser.onend=function(){Ge.emit("end")},this._parser.onerror=function(Le){Ge.emit("error",Le),Ge._parser.error=null},this._decoder=null,te.forEach(function(Le){Object.defineProperty(Ge,"on"+Le,{get:function(){return Ge._parser["on"+Le]},set:function(Ve){if(!Ve)return Ge.removeAllListeners(Le),Ge._parser["on"+Le]=Ve,Ve;Ge.on(Le,Ve)},enumerable:!0,configurable:!1})})}y.prototype=Object.create(ne.prototype,{constructor:{value:y}}),y.prototype.write=function(ze){if(typeof le=="function"&&typeof le.isBuffer=="function"&&le.isBuffer(ze)){if(!this._decoder){var Me=E("string_decoder").StringDecoder;this._decoder=new Me("utf8")}ze=this._decoder.write(ze)}return this._parser.write(ze.toString()),this.emit("data",ze),!0},y.prototype.end=function(ze){return ze&&ze.length&&this.write(ze),this._parser.end(),!0},y.prototype.on=function(ze,Me){var Ge=this;return!Ge._parser["on"+ze]&&te.indexOf(ze)!==-1&&(Ge._parser["on"+ze]=function(){var Le=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Le.splice(0,0,ze),Ge.emit.apply(Ge,Le)}),ne.prototype.on.call(Ge,ze,Me)};var x="[CDATA[",b="DOCTYPE",ee="http://www.w3.org/XML/1998/namespace",z="http://www.w3.org/2000/xmlns/",ue={xml:ee,xmlns:z},fe=/[:_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]/,ge=/[:_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-]/,he=/[#:_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]/,pe=/[#:_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 ye(ze){return ze===" "||ze===`
|
|
|
`||ze==="\r"||ze===" "}function ve(ze){return ze==='"'||ze==="'"}function Pe(ze){return ze===">"||ye(ze)}function we(ze,Me){return ze.test(Me)}function Ae(ze,Me){return!we(ze,Me)}var _e=0;ae.STATE={BEGIN:_e++,BEGIN_WHITESPACE:_e++,TEXT:_e++,TEXT_ENTITY:_e++,OPEN_WAKA:_e++,SGML_DECL:_e++,SGML_DECL_QUOTED:_e++,DOCTYPE:_e++,DOCTYPE_QUOTED:_e++,DOCTYPE_DTD:_e++,DOCTYPE_DTD_QUOTED:_e++,COMMENT_STARTING:_e++,COMMENT:_e++,COMMENT_ENDING:_e++,COMMENT_ENDED:_e++,CDATA:_e++,CDATA_ENDING:_e++,CDATA_ENDING_2:_e++,PROC_INST:_e++,PROC_INST_BODY:_e++,PROC_INST_ENDING:_e++,OPEN_TAG:_e++,OPEN_TAG_SLASH:_e++,ATTRIB:_e++,ATTRIB_NAME:_e++,ATTRIB_NAME_SAW_WHITE:_e++,ATTRIB_VALUE:_e++,ATTRIB_VALUE_QUOTED:_e++,ATTRIB_VALUE_CLOSED:_e++,ATTRIB_VALUE_UNQUOTED:_e++,ATTRIB_VALUE_ENTITY_Q:_e++,ATTRIB_VALUE_ENTITY_U:_e++,CLOSE_TAG:_e++,CLOSE_TAG_SAW_WHITE:_e++,SCRIPT:_e++,SCRIPT_ENDING:_e++},ae.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},ae.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(ae.ENTITIES).forEach(function(ze){var Me=ae.ENTITIES[ze],Ge=typeof Me=="number"?String.fromCharCode(Me):Me;ae.ENTITIES[ze]=Ge});for(var xe in ae.STATE)ae.STATE[ae.STATE[xe]]=xe;_e=ae.STATE;function Ee(ze,Me,Ge){ze[Me]&&ze[Me](Ge)}function Oe(ze,Me,Ge){ze.textNode&&Ie(ze),Ee(ze,Me,Ge)}function Ie(ze){ze.textNode=Ne(ze.opt,ze.textNode),ze.textNode&&Ee(ze,"ontext",ze.textNode),ze.textNode=""}function Ne(ze,Me){return ze.trim&&(Me=Me.trim()),ze.normalize&&(Me=Me.replace(/\s+/g," ")),Me}function Te(ze,Me){return Ie(ze),ze.trackPosition&&(Me+=`
|
|
|
Line: `+ze.line+`
|
|
|
Column: `+ze.column+`
|
|
|
Char: `+ze.c),Me=new Error(Me),ze.error=Me,Ee(ze,"onerror",Me),ze}function Je(ze){return ze.sawRoot&&!ze.closedRoot&&Qe(ze,"Unclosed root tag"),ze.state!==_e.BEGIN&&ze.state!==_e.BEGIN_WHITESPACE&&ze.state!==_e.TEXT&&Te(ze,"Unexpected end"),Ie(ze),ze.c="",ze.closed=!0,Ee(ze,"onend"),se.call(ze,ze.strict,ze.opt),ze}function Qe(ze,Me){if(typeof ze!="object"||!(ze instanceof se))throw new Error("bad call to strictFail");ze.strict&&Te(ze,Me)}function Ze(ze){ze.strict||(ze.tagName=ze.tagName[ze.looseCase]());var Me=ze.tags[ze.tags.length-1]||ze,Ge=ze.tag={name:ze.tagName,attributes:{}};ze.opt.xmlns&&(Ge.ns=Me.ns),ze.attribList.length=0,Oe(ze,"onopentagstart",Ge)}function Ke(ze,Me){var Ge=ze.indexOf(":"),Le=Ge<0?["",ze]:ze.split(":"),Ve=Le[0],ot=Le[1];return Me&&ze==="xmlns"&&(Ve="xmlns",ot=""),{prefix:Ve,local:ot}}function Ue(ze){if(ze.strict||(ze.attribName=ze.attribName[ze.looseCase]()),ze.attribList.indexOf(ze.attribName)!==-1||ze.tag.attributes.hasOwnProperty(ze.attribName)){ze.attribName=ze.attribValue="";return}if(ze.opt.xmlns){var Me=Ke(ze.attribName,!0),Ge=Me.prefix,Le=Me.local;if(Ge==="xmlns")if(Le==="xml"&&ze.attribValue!==ee)Qe(ze,"xml: prefix must be bound to "+ee+`
|
|
|
Actual: `+ze.attribValue);else if(Le==="xmlns"&&ze.attribValue!==z)Qe(ze,"xmlns: prefix must be bound to "+z+`
|
|
|
Actual: `+ze.attribValue);else{var Ve=ze.tag,ot=ze.tags[ze.tags.length-1]||ze;Ve.ns===ot.ns&&(Ve.ns=Object.create(ot.ns)),Ve.ns[Le]=ze.attribValue}ze.attribList.push([ze.attribName,ze.attribValue])}else ze.tag.attributes[ze.attribName]=ze.attribValue,Oe(ze,"onattribute",{name:ze.attribName,value:ze.attribValue});ze.attribName=ze.attribValue=""}function ke(ze,Me){if(ze.opt.xmlns){var Ge=ze.tag,Le=Ke(ze.tagName);Ge.prefix=Le.prefix,Ge.local=Le.local,Ge.uri=Ge.ns[Le.prefix]||"",Ge.prefix&&!Ge.uri&&(Qe(ze,"Unbound namespace prefix: "+JSON.stringify(ze.tagName)),Ge.uri=Le.prefix);var Ve=ze.tags[ze.tags.length-1]||ze;Ge.ns&&Ve.ns!==Ge.ns&&Object.keys(Ge.ns).forEach(function(tt){Oe(ze,"onopennamespace",{prefix:tt,uri:Ge.ns[tt]})});for(var ot=0,et=ze.attribList.length;ot<et;ot++){var Xe=ze.attribList[ot],je=Xe[0],Ce=Xe[1],De=Ke(je,!0),Fe=De.prefix,Ye=De.local,nt=Fe===""?"":Ge.ns[Fe]||"",$e={name:je,value:Ce,prefix:Fe,local:Ye,uri:nt};Fe&&Fe!=="xmlns"&&!nt&&(Qe(ze,"Unbound namespace prefix: "+JSON.stringify(Fe)),$e.uri=Fe),ze.tag.attributes[je]=$e,Oe(ze,"onattribute",$e)}ze.attribList.length=0}ze.tag.isSelfClosing=!!Me,ze.sawRoot=!0,ze.tags.push(ze.tag),Oe(ze,"onopentag",ze.tag),Me||(!ze.noscript&&ze.tagName.toLowerCase()==="script"?ze.state=_e.SCRIPT:ze.state=_e.TEXT,ze.tag=null,ze.tagName=""),ze.attribName=ze.attribValue="",ze.attribList.length=0}function Re(ze){if(!ze.tagName){Qe(ze,"Weird empty close tag."),ze.textNode+="</>",ze.state=_e.TEXT;return}if(ze.script){if(ze.tagName!=="script"){ze.script+="</"+ze.tagName+">",ze.tagName="",ze.state=_e.SCRIPT;return}Oe(ze,"onscript",ze.script),ze.script=""}var Me=ze.tags.length,Ge=ze.tagName;ze.strict||(Ge=Ge[ze.looseCase]());for(var Le=Ge;Me--;){var Ve=ze.tags[Me];if(Ve.name!==Le)Qe(ze,"Unexpected close tag");else break}if(Me<0){Qe(ze,"Unmatched closing tag: "+ze.tagName),ze.textNode+="</"+ze.tagName+">",ze.state=_e.TEXT;return}ze.tagName=Ge;for(var ot=ze.tags.length;ot-- >Me;){var et=ze.tag=ze.tags.pop();ze.tagName=ze.tag.name,Oe(ze,"onclosetag",ze.tagName);var Xe={};for(var je in et.ns)Xe[je]=et.ns[je];var Ce=ze.tags[ze.tags.length-1]||ze;ze.opt.xmlns&&et.ns!==Ce.ns&&Object.keys(et.ns).forEach(function(De){var Fe=et.ns[De];Oe(ze,"onclosenamespace",{prefix:De,uri:Fe})})}Me===0&&(ze.closedRoot=!0),ze.tagName=ze.attribValue=ze.attribName="",ze.attribList.length=0,ze.state=_e.TEXT}function He(ze){var Me=ze.entity,Ge=Me.toLowerCase(),Le,Ve="";return ze.ENTITIES[Me]?ze.ENTITIES[Me]:ze.ENTITIES[Ge]?ze.ENTITIES[Ge]:(Me=Ge,Me.charAt(0)==="#"&&(Me.charAt(1)==="x"?(Me=Me.slice(2),Le=parseInt(Me,16),Ve=Le.toString(16)):(Me=Me.slice(1),Le=parseInt(Me,10),Ve=Le.toString(10))),Me=Me.replace(/^0+/,""),isNaN(Le)||Ve.toLowerCase()!==Me?(Qe(ze,"Invalid character entity"),"&"+ze.entity+";"):String.fromCodePoint(Le))}function qe(ze,Me){Me==="<"?(ze.state=_e.OPEN_WAKA,ze.startTagPosition=ze.position):ye(Me)||(Qe(ze,"Non-whitespace before first tag."),ze.textNode=Me,ze.state=_e.TEXT)}function rt(ze,Me){var Ge="";return Me<ze.length&&(Ge=ze.charAt(Me)),Ge}function We(ze){var Me=this;if(this.error)throw this.error;if(Me.closed)return Te(Me,"Cannot write after close. Assign an onready handler.");if(ze===null)return Je(Me);typeof ze=="object"&&(ze=ze.toString());for(var Ge=0,Le="";Le=rt(ze,Ge++),Me.c=Le,!!Le;)switch(Me.trackPosition&&(Me.position++,Le===`
|
|
|
`?(Me.line++,Me.column=0):Me.column++),Me.state){case _e.BEGIN:if(Me.state=_e.BEGIN_WHITESPACE,Le==="\uFEFF")continue;qe(Me,Le);continue;case _e.BEGIN_WHITESPACE:qe(Me,Le);continue;case _e.TEXT:if(Me.sawRoot&&!Me.closedRoot){for(var Ve=Ge-1;Le&&Le!=="<"&&Le!=="&";)Le=rt(ze,Ge++),Le&&Me.trackPosition&&(Me.position++,Le===`
|
|
|
`?(Me.line++,Me.column=0):Me.column++);Me.textNode+=ze.substring(Ve,Ge-1)}Le==="<"&&!(Me.sawRoot&&Me.closedRoot&&!Me.strict)?(Me.state=_e.OPEN_WAKA,Me.startTagPosition=Me.position):(!ye(Le)&&(!Me.sawRoot||Me.closedRoot)&&Qe(Me,"Text data outside of root node."),Le==="&"?Me.state=_e.TEXT_ENTITY:Me.textNode+=Le);continue;case _e.SCRIPT:Le==="<"?Me.state=_e.SCRIPT_ENDING:Me.script+=Le;continue;case _e.SCRIPT_ENDING:Le==="/"?Me.state=_e.CLOSE_TAG:(Me.script+="<"+Le,Me.state=_e.SCRIPT);continue;case _e.OPEN_WAKA:if(Le==="!")Me.state=_e.SGML_DECL,Me.sgmlDecl="";else if(!ye(Le))if(we(fe,Le))Me.state=_e.OPEN_TAG,Me.tagName=Le;else if(Le==="/")Me.state=_e.CLOSE_TAG,Me.tagName="";else if(Le==="?")Me.state=_e.PROC_INST,Me.procInstName=Me.procInstBody="";else{if(Qe(Me,"Unencoded <"),Me.startTagPosition+1<Me.position){var ot=Me.position-Me.startTagPosition;Le=new Array(ot).join(" ")+Le}Me.textNode+="<"+Le,Me.state=_e.TEXT}continue;case _e.SGML_DECL:(Me.sgmlDecl+Le).toUpperCase()===x?(Oe(Me,"onopencdata"),Me.state=_e.CDATA,Me.sgmlDecl="",Me.cdata=""):Me.sgmlDecl+Le==="--"?(Me.state=_e.COMMENT,Me.comment="",Me.sgmlDecl=""):(Me.sgmlDecl+Le).toUpperCase()===b?(Me.state=_e.DOCTYPE,(Me.doctype||Me.sawRoot)&&Qe(Me,"Inappropriately located doctype declaration"),Me.doctype="",Me.sgmlDecl=""):Le===">"?(Oe(Me,"onsgmldeclaration",Me.sgmlDecl),Me.sgmlDecl="",Me.state=_e.TEXT):(ve(Le)&&(Me.state=_e.SGML_DECL_QUOTED),Me.sgmlDecl+=Le);continue;case _e.SGML_DECL_QUOTED:Le===Me.q&&(Me.state=_e.SGML_DECL,Me.q=""),Me.sgmlDecl+=Le;continue;case _e.DOCTYPE:Le===">"?(Me.state=_e.TEXT,Oe(Me,"ondoctype",Me.doctype),Me.doctype=!0):(Me.doctype+=Le,Le==="["?Me.state=_e.DOCTYPE_DTD:ve(Le)&&(Me.state=_e.DOCTYPE_QUOTED,Me.q=Le));continue;case _e.DOCTYPE_QUOTED:Me.doctype+=Le,Le===Me.q&&(Me.q="",Me.state=_e.DOCTYPE);continue;case _e.DOCTYPE_DTD:Me.doctype+=Le,Le==="]"?Me.state=_e.DOCTYPE:ve(Le)&&(Me.state=_e.DOCTYPE_DTD_QUOTED,Me.q=Le);continue;case _e.DOCTYPE_DTD_QUOTED:Me.doctype+=Le,Le===Me.q&&(Me.state=_e.DOCTYPE_DTD,Me.q="");continue;case _e.COMMENT:Le==="-"?Me.state=_e.COMMENT_ENDING:Me.comment+=Le;continue;case _e.COMMENT_ENDING:Le==="-"?(Me.state=_e.COMMENT_ENDED,Me.comment=Ne(Me.opt,Me.comment),Me.comment&&Oe(Me,"oncomment",Me.comment),Me.comment=""):(Me.comment+="-"+Le,Me.state=_e.COMMENT);continue;case _e.COMMENT_ENDED:Le!==">"?(Qe(Me,"Malformed comment"),Me.comment+="--"+Le,Me.state=_e.COMMENT):Me.state=_e.TEXT;continue;case _e.CDATA:Le==="]"?Me.state=_e.CDATA_ENDING:Me.cdata+=Le;continue;case _e.CDATA_ENDING:Le==="]"?Me.state=_e.CDATA_ENDING_2:(Me.cdata+="]"+Le,Me.state=_e.CDATA);continue;case _e.CDATA_ENDING_2:Le===">"?(Me.cdata&&Oe(Me,"oncdata",Me.cdata),Oe(Me,"onclosecdata"),Me.cdata="",Me.state=_e.TEXT):Le==="]"?Me.cdata+="]":(Me.cdata+="]]"+Le,Me.state=_e.CDATA);continue;case _e.PROC_INST:Le==="?"?Me.state=_e.PROC_INST_ENDING:ye(Le)?Me.state=_e.PROC_INST_BODY:Me.procInstName+=Le;continue;case _e.PROC_INST_BODY:if(!Me.procInstBody&&ye(Le))continue;Le==="?"?Me.state=_e.PROC_INST_ENDING:Me.procInstBody+=Le;continue;case _e.PROC_INST_ENDING:Le===">"?(Oe(Me,"onprocessinginstruction",{name:Me.procInstName,body:Me.procInstBody}),Me.procInstName=Me.procInstBody="",Me.state=_e.TEXT):(Me.procInstBody+="?"+Le,Me.state=_e.PROC_INST_BODY);continue;case _e.OPEN_TAG:we(ge,Le)?Me.tagName+=Le:(Ze(Me),Le===">"?ke(Me):Le==="/"?Me.state=_e.OPEN_TAG_SLASH:(ye(Le)||Qe(Me,"Invalid character in tag name"),Me.state=_e.ATTRIB));continue;case _e.OPEN_TAG_SLASH:Le===">"?(ke(Me,!0),Re(Me)):(Qe(Me,"Forward-slash in opening tag not followed by >"),Me.state=_e.ATTRIB);continue;case _e.ATTRIB:if(ye(Le))continue;Le===">"?ke(Me):Le==="/"?Me.state=_e.OPEN_TAG_SLASH:we(fe,Le)?(Me.attribName=Le,Me.attribValue="",Me.state=_e.ATTRIB_NAME):Qe(Me,"Invalid attribute name");continue;case _e.ATTRIB_NAME:Le==="="?Me.state=_e.ATTRIB_VALUE:Le===">"?(Qe(Me,"Attribute without value"),Me.attribValue=Me.attribName,Ue(Me),ke(Me)):ye(Le)?Me.state=_e.ATTRIB_NAME_SAW_WHITE:we(ge,Le)?Me.attribName+=Le:Qe(Me,"Invalid attribute name");continue;case _e.ATTRIB_NAME_SAW_WHITE:if(Le==="=")Me.state=_e.ATTRIB_VALUE;else{if(ye(Le))continue;Qe(Me,"Attribute without value"),Me.tag.attributes[Me.attribName]="",Me.attribValue="",Oe(Me,"onattribute",{name:Me.attribName,value:""}),Me.attribName="",Le===">"?ke(Me):we(fe,Le)?(Me.attribName=Le,Me.state=_e.ATTRIB_NAME):(Qe(Me,"Invalid attribute name"),Me.state=_e.ATTRIB)}continue;case _e.ATTRIB_VALUE:if(ye(Le))continue;ve(Le)?(Me.q=Le,Me.state=_e.ATTRIB_VALUE_QUOTED):(Qe(Me,"Unquoted attribute value"),Me.state=_e.ATTRIB_VALUE_UNQUOTED,Me.attribValue=Le);continue;case _e.ATTRIB_VALUE_QUOTED:if(Le!==Me.q){Le==="&"?Me.state=_e.ATTRIB_VALUE_ENTITY_Q:Me.attribValue+=Le;continue}Ue(Me),Me.q="",Me.state=_e.ATTRIB_VALUE_CLOSED;continue;case _e.ATTRIB_VALUE_CLOSED:ye(Le)?Me.state=_e.ATTRIB:Le===">"?ke(Me):Le==="/"?Me.state=_e.OPEN_TAG_SLASH:we(fe,Le)?(Qe(Me,"No whitespace between attributes"),Me.attribName=Le,Me.attribValue="",Me.state=_e.ATTRIB_NAME):Qe(Me,"Invalid attribute name");continue;case _e.ATTRIB_VALUE_UNQUOTED:if(!Pe(Le)){Le==="&"?Me.state=_e.ATTRIB_VALUE_ENTITY_U:Me.attribValue+=Le;continue}Ue(Me),Le===">"?ke(Me):Me.state=_e.ATTRIB;continue;case _e.CLOSE_TAG:if(Me.tagName)Le===">"?Re(Me):we(ge,Le)?Me.tagName+=Le:Me.script?(Me.script+="</"+Me.tagName,Me.tagName="",Me.state=_e.SCRIPT):(ye(Le)||Qe(Me,"Invalid tagname in closing tag"),Me.state=_e.CLOSE_TAG_SAW_WHITE);else{if(ye(Le))continue;Ae(fe,Le)?Me.script?(Me.script+="</"+Le,Me.state=_e.SCRIPT):Qe(Me,"Invalid tagname in closing tag."):Me.tagName=Le}continue;case _e.CLOSE_TAG_SAW_WHITE:if(ye(Le))continue;Le===">"?Re(Me):Qe(Me,"Invalid characters in closing tag");continue;case _e.TEXT_ENTITY:case _e.ATTRIB_VALUE_ENTITY_Q:case _e.ATTRIB_VALUE_ENTITY_U:var et,Xe;switch(Me.state){case _e.TEXT_ENTITY:et=_e.TEXT,Xe="textNode";break;case _e.ATTRIB_VALUE_ENTITY_Q:et=_e.ATTRIB_VALUE_QUOTED,Xe="attribValue";break;case _e.ATTRIB_VALUE_ENTITY_U:et=_e.ATTRIB_VALUE_UNQUOTED,Xe="attribValue";break}Le===";"?(Me[Xe]+=He(Me),Me.entity="",Me.state=et):we(Me.entity.length?pe:he,Le)?Me.entity+=Le:(Qe(Me,"Invalid character in entity name"),Me[Xe]+="&"+Me.entity+Le,Me.entity="",Me.state=et);continue;default:throw new Error(Me,"Unknown state: "+Me.state)}return Me.position>=Me.bufferCheckPosition&&ce(Me),Me}String.fromCodePoint||function(){var ze=String.fromCharCode,Me=Math.floor,Ge=function(){var Le=16384,Ve=[],ot,et,Xe=-1,je=arguments.length;if(!je)return"";for(var Ce="";++Xe<je;){var De=Number(arguments[Xe]);if(!isFinite(De)||De<0||De>1114111||Me(De)!==De)throw RangeError("Invalid code point: "+De);De<=65535?Ve.push(De):(De-=65536,ot=(De>>10)+55296,et=De%1024+56320,Ve.push(ot,et)),(Xe+1===je||Ve.length>Le)&&(Ce+=ze.apply(null,Ve),Ve.length=0)}return Ce};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ge,configurable:!0,writable:!0}):String.fromCodePoint=Ge}()})(typeof de=="undefined"?this.sax={}:de)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,me,de){me.exports=ie;var le=E("events").EventEmitter,ae=E("inherits");ae(ie,le),ie.Readable=E("readable-stream/lib/_stream_readable.js"),ie.Writable=E("readable-stream/lib/_stream_writable.js"),ie.Duplex=E("readable-stream/lib/_stream_duplex.js"),ie.Transform=E("readable-stream/lib/_stream_transform.js"),ie.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),ie.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),ie.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),ie.Stream=ie;function ie(){le.call(this)}ie.prototype.pipe=function(se,ce){var oe=this;function re(ee){se.writable&&se.write(ee)===!1&&oe.pause&&oe.pause()}oe.on("data",re);function ne(){oe.readable&&oe.resume&&oe.resume()}se.on("drain",ne),!se._isStdio&&(!ce||ce.end!==!1)&&(oe.on("end",a),oe.on("close",y));var te=!1;function a(){te||(te=!0,se.end())}function y(){te||(te=!0,typeof se.destroy=="function"&&se.destroy())}function x(ee){if(b(),le.listenerCount(this,"error")===0)throw ee}oe.on("error",x),se.on("error",x);function b(){oe.removeListener("data",re),se.removeListener("drain",ne),oe.removeListener("end",a),oe.removeListener("close",y),oe.removeListener("error",x),se.removeListener("error",x),oe.removeListener("end",b),oe.removeListener("close",b),se.removeListener("close",b)}return oe.on("end",b),oe.on("close",b),se.on("close",b),se.emit("pipe",oe),se}},{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,me,de){"use strict";function le(ne,te){ne.prototype=Object.create(te.prototype),ne.prototype.constructor=ne,ne.__proto__=te}var ae={};function ie(ne,te,a){a||(a=Error);function y(b,ee,z){return typeof te=="string"?te:te(b,ee,z)}var x=function(b){le(ee,b);function ee(z,ue,fe){return b.call(this,y(z,ue,fe))||this}return ee}(a);x.prototype.name=a.name,x.prototype.code=ne,ae[ne]=x}function se(ne,te){if(Array.isArray(ne)){var a=ne.length;return ne=ne.map(function(y){return String(y)}),a>2?"one of ".concat(te," ").concat(ne.slice(0,a-1).join(", "),", or ")+ne[a-1]:a===2?"one of ".concat(te," ").concat(ne[0]," or ").concat(ne[1]):"of ".concat(te," ").concat(ne[0])}else return"of ".concat(te," ").concat(String(ne))}function ce(ne,te,a){return ne.substr(!a||a<0?0:+a,te.length)===te}function oe(ne,te,a){return(a===void 0||a>ne.length)&&(a=ne.length),ne.substring(a-te.length,a)===te}function re(ne,te,a){return typeof a!="number"&&(a=0),a+te.length>ne.length?!1:ne.indexOf(te,a)!==-1}ie("ERR_INVALID_OPT_VALUE",function(ne,te){return'The value "'+te+'" is invalid for option "'+ne+'"'},TypeError),ie("ERR_INVALID_ARG_TYPE",function(ne,te,a){var y;typeof te=="string"&&ce(te,"not ")?(y="must not be",te=te.replace(/^not /,"")):y="must be";var x;if(oe(ne," argument"))x="The ".concat(ne," ").concat(y," ").concat(se(te,"type"));else{var b=re(ne,".")?"property":"argument";x='The "'.concat(ne,'" ').concat(b," ").concat(y," ").concat(se(te,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),ie("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),ie("ERR_METHOD_NOT_IMPLEMENTED",function(ne){return"The "+ne+" method is not implemented"}),ie("ERR_STREAM_PREMATURE_CLOSE","Premature close"),ie("ERR_STREAM_DESTROYED",function(ne){return"Cannot call "+ne+" after a stream was destroyed"}),ie("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),ie("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),ie("ERR_STREAM_WRITE_AFTER_END","write after end"),ie("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),ie("ERR_UNKNOWN_ENCODING",function(ne){return"Unknown encoding: "+ne},TypeError),ie("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),me.exports.codes=ae},{}],400:[function(E,me,de){(function(le){(function(){"use strict";var ae=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};me.exports=ne;var ie=E("./_stream_readable"),se=E("./_stream_writable");E("inherits")(ne,ie);for(var ce=ae(se.prototype),oe=0;oe<ce.length;oe++){var re=ce[oe];ne.prototype[re]||(ne.prototype[re]=se.prototype[re])}function ne(y){if(!(this instanceof ne))return new ne(y);ie.call(this,y),se.call(this,y),this.allowHalfOpen=!0,y&&(y.readable===!1&&(this.readable=!1),y.writable===!1&&(this.writable=!1),y.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",te)))}Object.defineProperty(ne.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(ne.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(ne.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function te(){this._writableState.ended||le.nextTick(a,this)}function a(y){y.end()}Object.defineProperty(ne.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(x){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=x,this._writableState.destroyed=x)}})}).call(this)}).call(this,E("_process"))},{"./_stream_readable":402,"./_stream_writable":404,_process:467,inherits:364}],401:[function(E,me,de){"use strict";me.exports=ae;var le=E("./_stream_transform");E("inherits")(ae,le);function ae(ie){if(!(this instanceof ae))return new ae(ie);le.call(this,ie)}ae.prototype._transform=function(ie,se,ce){ce(null,ie)}},{"./_stream_transform":403,inherits:364}],402:[function(E,me,de){(function(le,ae){(function(){"use strict";me.exports=Oe;var ie;Oe.ReadableState=Ee;var se=E("events").EventEmitter,ce=function(je,Ce){return je.listeners(Ce).length},oe=E("./internal/streams/stream"),re=E("buffer").Buffer,ne=(typeof ae!="undefined"?ae:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function te(Xe){return re.from(Xe)}function a(Xe){return re.isBuffer(Xe)||Xe instanceof ne}var y=E("util"),x;y&&y.debuglog?x=y.debuglog("stream"):x=function(){};var b=E("./internal/streams/buffer_list"),ee=E("./internal/streams/destroy"),z=E("./internal/streams/state"),ue=z.getHighWaterMark,fe=E("../errors").codes,ge=fe.ERR_INVALID_ARG_TYPE,he=fe.ERR_STREAM_PUSH_AFTER_EOF,pe=fe.ERR_METHOD_NOT_IMPLEMENTED,ye=fe.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ve,Pe,we;E("inherits")(Oe,oe);var Ae=ee.errorOrDestroy,_e=["error","close","destroy","pause","resume"];function xe(Xe,je,Ce){if(typeof Xe.prependListener=="function")return Xe.prependListener(je,Ce);!Xe._events||!Xe._events[je]?Xe.on(je,Ce):Array.isArray(Xe._events[je])?Xe._events[je].unshift(Ce):Xe._events[je]=[Ce,Xe._events[je]]}function Ee(Xe,je,Ce){ie=ie||E("./_stream_duplex"),Xe=Xe||{},typeof Ce!="boolean"&&(Ce=je instanceof ie),this.objectMode=!!Xe.objectMode,Ce&&(this.objectMode=this.objectMode||!!Xe.readableObjectMode),this.highWaterMark=ue(this,Xe,"readableHighWaterMark",Ce),this.buffer=new b,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=Xe.emitClose!==!1,this.autoDestroy=!!Xe.autoDestroy,this.destroyed=!1,this.defaultEncoding=Xe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Xe.encoding&&(ve||(ve=E("string_decoder/").StringDecoder),this.decoder=new ve(Xe.encoding),this.encoding=Xe.encoding)}function Oe(Xe){if(ie=ie||E("./_stream_duplex"),!(this instanceof Oe))return new Oe(Xe);var je=this instanceof ie;this._readableState=new Ee(Xe,this,je),this.readable=!0,Xe&&(typeof Xe.read=="function"&&(this._read=Xe.read),typeof Xe.destroy=="function"&&(this._destroy=Xe.destroy)),oe.call(this)}Object.defineProperty(Oe.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(je){this._readableState&&(this._readableState.destroyed=je)}}),Oe.prototype.destroy=ee.destroy,Oe.prototype._undestroy=ee.undestroy,Oe.prototype._destroy=function(Xe,je){je(Xe)},Oe.prototype.push=function(Xe,je){var Ce=this._readableState,De;return Ce.objectMode?De=!0:typeof Xe=="string"&&(je=je||Ce.defaultEncoding,je!==Ce.encoding&&(Xe=re.from(Xe,je),je=""),De=!0),Ie(this,Xe,je,!1,De)},Oe.prototype.unshift=function(Xe){return Ie(this,Xe,null,!0,!1)};function Ie(Xe,je,Ce,De,Fe){x("readableAddChunk",je);var Ye=Xe._readableState;if(je===null)Ye.reading=!1,Ke(Xe,Ye);else{var nt;if(Fe||(nt=Te(Ye,je)),nt)Ae(Xe,nt);else if(Ye.objectMode||je&&je.length>0)if(typeof je!="string"&&!Ye.objectMode&&Object.getPrototypeOf(je)!==re.prototype&&(je=te(je)),De)Ye.endEmitted?Ae(Xe,new ye):Ne(Xe,Ye,je,!0);else if(Ye.ended)Ae(Xe,new he);else{if(Ye.destroyed)return!1;Ye.reading=!1,Ye.decoder&&!Ce?(je=Ye.decoder.write(je),Ye.objectMode||je.length!==0?Ne(Xe,Ye,je,!1):Re(Xe,Ye)):Ne(Xe,Ye,je,!1)}else De||(Ye.reading=!1,Re(Xe,Ye))}return!Ye.ended&&(Ye.length<Ye.highWaterMark||Ye.length===0)}function Ne(Xe,je,Ce,De){je.flowing&&je.length===0&&!je.sync?(je.awaitDrain=0,Xe.emit("data",Ce)):(je.length+=je.objectMode?1:Ce.length,De?je.buffer.unshift(Ce):je.buffer.push(Ce),je.needReadable&&Ue(Xe)),Re(Xe,je)}function Te(Xe,je){var Ce;return!a(je)&&typeof je!="string"&&je!==void 0&&!Xe.objectMode&&(Ce=new ge("chunk",["string","Buffer","Uint8Array"],je)),Ce}Oe.prototype.isPaused=function(){return this._readableState.flowing===!1},Oe.prototype.setEncoding=function(Xe){ve||(ve=E("string_decoder/").StringDecoder);var je=new ve(Xe);this._readableState.decoder=je,this._readableState.encoding=this._readableState.decoder.encoding;for(var Ce=this._readableState.buffer.head,De="";Ce!==null;)De+=je.write(Ce.data),Ce=Ce.next;return this._readableState.buffer.clear(),De!==""&&this._readableState.buffer.push(De),this._readableState.length=De.length,this};var Je=1073741824;function Qe(Xe){return Xe>=Je?Xe=Je:(Xe--,Xe|=Xe>>>1,Xe|=Xe>>>2,Xe|=Xe>>>4,Xe|=Xe>>>8,Xe|=Xe>>>16,Xe++),Xe}function Ze(Xe,je){return Xe<=0||je.length===0&&je.ended?0:je.objectMode?1:Xe!==Xe?je.flowing&&je.length?je.buffer.head.data.length:je.length:(Xe>je.highWaterMark&&(je.highWaterMark=Qe(Xe)),Xe<=je.length?Xe:je.ended?je.length:(je.needReadable=!0,0))}Oe.prototype.read=function(Xe){x("read",Xe),Xe=parseInt(Xe,10);var je=this._readableState,Ce=Xe;if(Xe!==0&&(je.emittedReadable=!1),Xe===0&&je.needReadable&&((je.highWaterMark!==0?je.length>=je.highWaterMark:je.length>0)||je.ended))return x("read: emitReadable",je.length,je.ended),je.length===0&&je.ended?Ve(this):Ue(this),null;if(Xe=Ze(Xe,je),Xe===0&&je.ended)return je.length===0&&Ve(this),null;var De=je.needReadable;x("need readable",De),(je.length===0||je.length-Xe<je.highWaterMark)&&(De=!0,x("length less than watermark",De)),je.ended||je.reading?(De=!1,x("reading or ended",De)):De&&(x("do read"),je.reading=!0,je.sync=!0,je.length===0&&(je.needReadable=!0),this._read(je.highWaterMark),je.sync=!1,je.reading||(Xe=Ze(Ce,je)));var Fe;return Xe>0?Fe=Le(Xe,je):Fe=null,Fe===null?(je.needReadable=je.length<=je.highWaterMark,Xe=0):(je.length-=Xe,je.awaitDrain=0),je.length===0&&(je.ended||(je.needReadable=!0),Ce!==Xe&&je.ended&&Ve(this)),Fe!==null&&this.emit("data",Fe),Fe};function Ke(Xe,je){if(x("onEofChunk"),!je.ended){if(je.decoder){var Ce=je.decoder.end();Ce&&Ce.length&&(je.buffer.push(Ce),je.length+=je.objectMode?1:Ce.length)}je.ended=!0,je.sync?Ue(Xe):(je.needReadable=!1,je.emittedReadable||(je.emittedReadable=!0,ke(Xe)))}}function Ue(Xe){var je=Xe._readableState;x("emitReadable",je.needReadable,je.emittedReadable),je.needReadable=!1,je.emittedReadable||(x("emitReadable",je.flowing),je.emittedReadable=!0,le.nextTick(ke,Xe))}function ke(Xe){var je=Xe._readableState;x("emitReadable_",je.destroyed,je.length,je.ended),!je.destroyed&&(je.length||je.ended)&&(Xe.emit("readable"),je.emittedReadable=!1),je.needReadable=!je.flowing&&!je.ended&&je.length<=je.highWaterMark,Ge(Xe)}function Re(Xe,je){je.readingMore||(je.readingMore=!0,le.nextTick(He,Xe,je))}function He(Xe,je){for(;!je.reading&&!je.ended&&(je.length<je.highWaterMark||je.flowing&&je.length===0);){var Ce=je.length;if(x("maybeReadMore read 0"),Xe.read(0),Ce===je.length)break}je.readingMore=!1}Oe.prototype._read=function(Xe){Ae(this,new pe("_read()"))},Oe.prototype.pipe=function(Xe,je){var Ce=this,De=this._readableState;switch(De.pipesCount){case 0:De.pipes=Xe;break;case 1:De.pipes=[De.pipes,Xe];break;default:De.pipes.push(Xe);break}De.pipesCount+=1,x("pipe count=%d opts=%j",De.pipesCount,je);var Fe=(!je||je.end!==!1)&&Xe!==le.stdout&&Xe!==le.stderr,Ye=Fe?$e:pt;De.endEmitted?le.nextTick(Ye):Ce.once("end",Ye),Xe.on("unpipe",nt);function nt(yt,Et){x("onunpipe"),yt===Ce&&Et&&Et.hasUnpiped===!1&&(Et.hasUnpiped=!0,at())}function $e(){x("onend"),Xe.end()}var tt=qe(Ce);Xe.on("drain",tt);var lt=!1;function at(){x("cleanup"),Xe.removeListener("close",vt),Xe.removeListener("finish",mt),Xe.removeListener("drain",tt),Xe.removeListener("error",st),Xe.removeListener("unpipe",nt),Ce.removeListener("end",$e),Ce.removeListener("end",pt),Ce.removeListener("data",ut),lt=!0,De.awaitDrain&&(!Xe._writableState||Xe._writableState.needDrain)&&tt()}Ce.on("data",ut);function ut(yt){x("ondata");var Et=Xe.write(yt);x("dest.write",Et),Et===!1&&((De.pipesCount===1&&De.pipes===Xe||De.pipesCount>1&&et(De.pipes,Xe)!==-1)&&!lt&&(x("false write response, pause",De.awaitDrain),De.awaitDrain++),Ce.pause())}function st(yt){x("onerror",yt),pt(),Xe.removeListener("error",st),ce(Xe,"error")===0&&Ae(Xe,yt)}xe(Xe,"error",st);function vt(){Xe.removeListener("finish",mt),pt()}Xe.once("close",vt);function mt(){x("onfinish"),Xe.removeListener("close",vt),pt()}Xe.once("finish",mt);function pt(){x("unpipe"),Ce.unpipe(Xe)}return Xe.emit("pipe",Ce),De.flowing||(x("pipe resume"),Ce.resume()),Xe};function qe(Xe){return function(){var Ce=Xe._readableState;x("pipeOnDrain",Ce.awaitDrain),Ce.awaitDrain&&Ce.awaitDrain--,Ce.awaitDrain===0&&ce(Xe,"data")&&(Ce.flowing=!0,Ge(Xe))}}Oe.prototype.unpipe=function(Xe){var je=this._readableState,Ce={hasUnpiped:!1};if(je.pipesCount===0)return this;if(je.pipesCount===1)return Xe&&Xe!==je.pipes?this:(Xe||(Xe=je.pipes),je.pipes=null,je.pipesCount=0,je.flowing=!1,Xe&&Xe.emit("unpipe",this,Ce),this);if(!Xe){var De=je.pipes,Fe=je.pipesCount;je.pipes=null,je.pipesCount=0,je.flowing=!1;for(var Ye=0;Ye<Fe;Ye++)De[Ye].emit("unpipe",this,{hasUnpiped:!1});return this}var nt=et(je.pipes,Xe);return nt===-1?this:(je.pipes.splice(nt,1),je.pipesCount-=1,je.pipesCount===1&&(je.pipes=je.pipes[0]),Xe.emit("unpipe",this,Ce),this)},Oe.prototype.on=function(Xe,je){var Ce=oe.prototype.on.call(this,Xe,je),De=this._readableState;return Xe==="data"?(De.readableListening=this.listenerCount("readable")>0,De.flowing!==!1&&this.resume()):Xe==="readable"&&!De.endEmitted&&!De.readableListening&&(De.readableListening=De.needReadable=!0,De.flowing=!1,De.emittedReadable=!1,x("on readable",De.length,De.reading),De.length?Ue(this):De.reading||le.nextTick(We,this)),Ce},Oe.prototype.addListener=Oe.prototype.on,Oe.prototype.removeListener=function(Xe,je){var Ce=oe.prototype.removeListener.call(this,Xe,je);return Xe==="readable"&&le.nextTick(rt,this),Ce},Oe.prototype.removeAllListeners=function(Xe){var je=oe.prototype.removeAllListeners.apply(this,arguments);return(Xe==="readable"||Xe===void 0)&&le.nextTick(rt,this),je};function rt(Xe){var je=Xe._readableState;je.readableListening=Xe.listenerCount("readable")>0,je.resumeScheduled&&!je.paused?je.flowing=!0:Xe.listenerCount("data")>0&&Xe.resume()}function We(Xe){x("readable nexttick read 0"),Xe.read(0)}Oe.prototype.resume=function(){var Xe=this._readableState;return Xe.flowing||(x("resume"),Xe.flowing=!Xe.readableListening,ze(this,Xe)),Xe.paused=!1,this};function ze(Xe,je){je.resumeScheduled||(je.resumeScheduled=!0,le.nextTick(Me,Xe,je))}function Me(Xe,je){x("resume",je.reading),je.reading||Xe.read(0),je.resumeScheduled=!1,Xe.emit("resume"),Ge(Xe),je.flowing&&!je.reading&&Xe.read(0)}Oe.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Ge(Xe){var je=Xe._readableState;for(x("flow",je.flowing);je.flowing&&Xe.read()!==null;);}Oe.prototype.wrap=function(Xe){var je=this,Ce=this._readableState,De=!1;Xe.on("end",function(){if(x("wrapped end"),Ce.decoder&&!Ce.ended){var nt=Ce.decoder.end();nt&&nt.length&&je.push(nt)}je.push(null)}),Xe.on("data",function(nt){if(x("wrapped data"),Ce.decoder&&(nt=Ce.decoder.write(nt)),!(Ce.objectMode&&nt==null)&&!(!Ce.objectMode&&(!nt||!nt.length))){var $e=je.push(nt);$e||(De=!0,Xe.pause())}});for(var Fe in Xe)this[Fe]===void 0&&typeof Xe[Fe]=="function"&&(this[Fe]=function($e){return function(){return Xe[$e].apply(Xe,arguments)}}(Fe));for(var Ye=0;Ye<_e.length;Ye++)Xe.on(_e[Ye],this.emit.bind(this,_e[Ye]));return this._read=function(nt){x("wrapped _read",nt),De&&(De=!1,Xe.resume())},this},typeof Symbol=="function"&&(Oe.prototype[Symbol.asyncIterator]=function(){return Pe===void 0&&(Pe=E("./internal/streams/async_iterator")),Pe(this)}),Object.defineProperty(Oe.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Oe.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Oe.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(je){this._readableState&&(this._readableState.flowing=je)}}),Oe._fromList=Le,Object.defineProperty(Oe.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Le(Xe,je){if(je.length===0)return null;var Ce;return je.objectMode?Ce=je.buffer.shift():!Xe||Xe>=je.length?(je.decoder?Ce=je.buffer.join(""):je.buffer.length===1?Ce=je.buffer.first():Ce=je.buffer.concat(je.length),je.buffer.clear()):Ce=je.buffer.consume(Xe,je.decoder),Ce}function Ve(Xe){var je=Xe._readableState;x("endReadable",je.endEmitted),je.endEmitted||(je.ended=!0,le.nextTick(ot,je,Xe))}function ot(Xe,je){if(x("endReadableNT",Xe.endEmitted,Xe.length),!Xe.endEmitted&&Xe.length===0&&(Xe.endEmitted=!0,je.readable=!1,je.emit("end"),Xe.autoDestroy)){var Ce=je._writableState;(!Ce||Ce.autoDestroy&&Ce.finished)&&je.destroy()}}typeof Symbol=="function"&&(Oe.from=function(Xe,je){return we===void 0&&(we=E("./internal/streams/from")),we(Oe,Xe,je)});function et(Xe,je){for(var Ce=0,De=Xe.length;Ce<De;Ce++)if(Xe[Ce]===je)return Ce;return-1}}).call(this)}).call(this,E("_process"),typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?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,me,de){"use strict";me.exports=ne;var le=E("../errors").codes,ae=le.ERR_METHOD_NOT_IMPLEMENTED,ie=le.ERR_MULTIPLE_CALLBACK,se=le.ERR_TRANSFORM_ALREADY_TRANSFORMING,ce=le.ERR_TRANSFORM_WITH_LENGTH_0,oe=E("./_stream_duplex");E("inherits")(ne,oe);function re(y,x){var b=this._transformState;b.transforming=!1;var ee=b.writecb;if(ee===null)return this.emit("error",new ie);b.writechunk=null,b.writecb=null,x!=null&&this.push(x),ee(y);var z=this._readableState;z.reading=!1,(z.needReadable||z.length<z.highWaterMark)&&this._read(z.highWaterMark)}function ne(y){if(!(this instanceof ne))return new ne(y);oe.call(this,y),this._transformState={afterTransform:re.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,y&&(typeof y.transform=="function"&&(this._transform=y.transform),typeof y.flush=="function"&&(this._flush=y.flush)),this.on("prefinish",te)}function te(){var y=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(x,b){a(y,x,b)}):a(this,null,null)}ne.prototype.push=function(y,x){return this._transformState.needTransform=!1,oe.prototype.push.call(this,y,x)},ne.prototype._transform=function(y,x,b){b(new ae("_transform()"))},ne.prototype._write=function(y,x,b){var ee=this._transformState;if(ee.writecb=b,ee.writechunk=y,ee.writeencoding=x,!ee.transforming){var z=this._readableState;(ee.needTransform||z.needReadable||z.length<z.highWaterMark)&&this._read(z.highWaterMark)}},ne.prototype._read=function(y){var x=this._transformState;x.writechunk!==null&&!x.transforming?(x.transforming=!0,this._transform(x.writechunk,x.writeencoding,x.afterTransform)):x.needTransform=!0},ne.prototype._destroy=function(y,x){oe.prototype._destroy.call(this,y,function(b){x(b)})};function a(y,x,b){if(x)return y.emit("error",x);if(b!=null&&y.push(b),y._writableState.length)throw new ce;if(y._transformState.transforming)throw new se;return y.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(E,me,de){(function(le,ae){(function(){"use strict";me.exports=Ee;function ie(Ge,Le,Ve){this.chunk=Ge,this.encoding=Le,this.callback=Ve,this.next=null}function se(Ge){var Le=this;this.next=null,this.entry=null,this.finish=function(){Me(Le,Ge)}}var ce;Ee.WritableState=_e;var oe={deprecate:E("util-deprecate")},re=E("./internal/streams/stream"),ne=E("buffer").Buffer,te=(typeof ae!="undefined"?ae:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function a(Ge){return ne.from(Ge)}function y(Ge){return ne.isBuffer(Ge)||Ge instanceof te}var x=E("./internal/streams/destroy"),b=E("./internal/streams/state"),ee=b.getHighWaterMark,z=E("../errors").codes,ue=z.ERR_INVALID_ARG_TYPE,fe=z.ERR_METHOD_NOT_IMPLEMENTED,ge=z.ERR_MULTIPLE_CALLBACK,he=z.ERR_STREAM_CANNOT_PIPE,pe=z.ERR_STREAM_DESTROYED,ye=z.ERR_STREAM_NULL_VALUES,ve=z.ERR_STREAM_WRITE_AFTER_END,Pe=z.ERR_UNKNOWN_ENCODING,we=x.errorOrDestroy;E("inherits")(Ee,re);function Ae(){}function _e(Ge,Le,Ve){ce=ce||E("./_stream_duplex"),Ge=Ge||{},typeof Ve!="boolean"&&(Ve=Le instanceof ce),this.objectMode=!!Ge.objectMode,Ve&&(this.objectMode=this.objectMode||!!Ge.writableObjectMode),this.highWaterMark=ee(this,Ge,"writableHighWaterMark",Ve),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ot=Ge.decodeStrings===!1;this.decodeStrings=!ot,this.defaultEncoding=Ge.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(et){Ke(Le,et)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Ge.emitClose!==!1,this.autoDestroy=!!Ge.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new se(this)}_e.prototype.getBuffer=function(){for(var Le=this.bufferedRequest,Ve=[];Le;)Ve.push(Le),Le=Le.next;return Ve},function(){try{Object.defineProperty(_e.prototype,"buffer",{get:oe.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ge){}}();var xe;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(xe=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ee,Symbol.hasInstance,{value:function(Le){return xe.call(this,Le)?!0:this!==Ee?!1:Le&&Le._writableState instanceof _e}})):xe=function(Le){return Le instanceof this};function Ee(Ge){ce=ce||E("./_stream_duplex");var Le=this instanceof ce;if(!Le&&!xe.call(Ee,this))return new Ee(Ge);this._writableState=new _e(Ge,this,Le),this.writable=!0,Ge&&(typeof Ge.write=="function"&&(this._write=Ge.write),typeof Ge.writev=="function"&&(this._writev=Ge.writev),typeof Ge.destroy=="function"&&(this._destroy=Ge.destroy),typeof Ge.final=="function"&&(this._final=Ge.final)),re.call(this)}Ee.prototype.pipe=function(){we(this,new he)};function Oe(Ge,Le){var Ve=new ve;we(Ge,Ve),le.nextTick(Le,Ve)}function Ie(Ge,Le,Ve,ot){var et;return Ve===null?et=new ye:typeof Ve!="string"&&!Le.objectMode&&(et=new ue("chunk",["string","Buffer"],Ve)),et?(we(Ge,et),le.nextTick(ot,et),!1):!0}Ee.prototype.write=function(Ge,Le,Ve){var ot=this._writableState,et=!1,Xe=!ot.objectMode&&y(Ge);return Xe&&!ne.isBuffer(Ge)&&(Ge=a(Ge)),typeof Le=="function"&&(Ve=Le,Le=null),Xe?Le="buffer":Le||(Le=ot.defaultEncoding),typeof Ve!="function"&&(Ve=Ae),ot.ending?Oe(this,Ve):(Xe||Ie(this,ot,Ge,Ve))&&(ot.pendingcb++,et=Te(this,ot,Xe,Ge,Le,Ve)),et},Ee.prototype.cork=function(){this._writableState.corked++},Ee.prototype.uncork=function(){var Ge=this._writableState;Ge.corked&&(Ge.corked--,!Ge.writing&&!Ge.corked&&!Ge.bufferProcessing&&Ge.bufferedRequest&&Re(this,Ge))},Ee.prototype.setDefaultEncoding=function(Le){if(typeof Le=="string"&&(Le=Le.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Le+"").toLowerCase())>-1))throw new Pe(Le);return this._writableState.defaultEncoding=Le,this},Object.defineProperty(Ee.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Ne(Ge,Le,Ve){return!Ge.objectMode&&Ge.decodeStrings!==!1&&typeof Le=="string"&&(Le=ne.from(Le,Ve)),Le}Object.defineProperty(Ee.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Te(Ge,Le,Ve,ot,et,Xe){if(!Ve){var je=Ne(Le,ot,et);ot!==je&&(Ve=!0,et="buffer",ot=je)}var Ce=Le.objectMode?1:ot.length;Le.length+=Ce;var De=Le.length<Le.highWaterMark;if(De||(Le.needDrain=!0),Le.writing||Le.corked){var Fe=Le.lastBufferedRequest;Le.lastBufferedRequest={chunk:ot,encoding:et,isBuf:Ve,callback:Xe,next:null},Fe?Fe.next=Le.lastBufferedRequest:Le.bufferedRequest=Le.lastBufferedRequest,Le.bufferedRequestCount+=1}else Je(Ge,Le,!1,Ce,ot,et,Xe);return De}function Je(Ge,Le,Ve,ot,et,Xe,je){Le.writelen=ot,Le.writecb=je,Le.writing=!0,Le.sync=!0,Le.destroyed?Le.onwrite(new pe("write")):Ve?Ge._writev(et,Le.onwrite):Ge._write(et,Xe,Le.onwrite),Le.sync=!1}function Qe(Ge,Le,Ve,ot,et){--Le.pendingcb,Ve?(le.nextTick(et,ot),le.nextTick(We,Ge,Le),Ge._writableState.errorEmitted=!0,we(Ge,ot)):(et(ot),Ge._writableState.errorEmitted=!0,we(Ge,ot),We(Ge,Le))}function Ze(Ge){Ge.writing=!1,Ge.writecb=null,Ge.length-=Ge.writelen,Ge.writelen=0}function Ke(Ge,Le){var Ve=Ge._writableState,ot=Ve.sync,et=Ve.writecb;if(typeof et!="function")throw new ge;if(Ze(Ve),Le)Qe(Ge,Ve,ot,Le,et);else{var Xe=He(Ve)||Ge.destroyed;!Xe&&!Ve.corked&&!Ve.bufferProcessing&&Ve.bufferedRequest&&Re(Ge,Ve),ot?le.nextTick(Ue,Ge,Ve,Xe,et):Ue(Ge,Ve,Xe,et)}}function Ue(Ge,Le,Ve,ot){Ve||ke(Ge,Le),Le.pendingcb--,ot(),We(Ge,Le)}function ke(Ge,Le){Le.length===0&&Le.needDrain&&(Le.needDrain=!1,Ge.emit("drain"))}function Re(Ge,Le){Le.bufferProcessing=!0;var Ve=Le.bufferedRequest;if(Ge._writev&&Ve&&Ve.next){var ot=Le.bufferedRequestCount,et=new Array(ot),Xe=Le.corkedRequestsFree;Xe.entry=Ve;for(var je=0,Ce=!0;Ve;)et[je]=Ve,Ve.isBuf||(Ce=!1),Ve=Ve.next,je+=1;et.allBuffers=Ce,Je(Ge,Le,!0,Le.length,et,"",Xe.finish),Le.pendingcb++,Le.lastBufferedRequest=null,Xe.next?(Le.corkedRequestsFree=Xe.next,Xe.next=null):Le.corkedRequestsFree=new se(Le),Le.bufferedRequestCount=0}else{for(;Ve;){var De=Ve.chunk,Fe=Ve.encoding,Ye=Ve.callback,nt=Le.objectMode?1:De.length;if(Je(Ge,Le,!1,nt,De,Fe,Ye),Ve=Ve.next,Le.bufferedRequestCount--,Le.writing)break}Ve===null&&(Le.lastBufferedRequest=null)}Le.bufferedRequest=Ve,Le.bufferProcessing=!1}Ee.prototype._write=function(Ge,Le,Ve){Ve(new fe("_write()"))},Ee.prototype._writev=null,Ee.prototype.end=function(Ge,Le,Ve){var ot=this._writableState;return typeof Ge=="function"?(Ve=Ge,Ge=null,Le=null):typeof Le=="function"&&(Ve=Le,Le=null),Ge!=null&&this.write(Ge,Le),ot.corked&&(ot.corked=1,this.uncork()),ot.ending||ze(this,ot,Ve),this},Object.defineProperty(Ee.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function He(Ge){return Ge.ending&&Ge.length===0&&Ge.bufferedRequest===null&&!Ge.finished&&!Ge.writing}function qe(Ge,Le){Ge._final(function(Ve){Le.pendingcb--,Ve&&we(Ge,Ve),Le.prefinished=!0,Ge.emit("prefinish"),We(Ge,Le)})}function rt(Ge,Le){!Le.prefinished&&!Le.finalCalled&&(typeof Ge._final=="function"&&!Le.destroyed?(Le.pendingcb++,Le.finalCalled=!0,le.nextTick(qe,Ge,Le)):(Le.prefinished=!0,Ge.emit("prefinish")))}function We(Ge,Le){var Ve=He(Le);if(Ve&&(rt(Ge,Le),Le.pendingcb===0&&(Le.finished=!0,Ge.emit("finish"),Le.autoDestroy))){var ot=Ge._readableState;(!ot||ot.autoDestroy&&ot.endEmitted)&&Ge.destroy()}return Ve}function ze(Ge,Le,Ve){Le.ending=!0,We(Ge,Le),Ve&&(Le.finished?le.nextTick(Ve):Ge.once("finish",Ve)),Le.ended=!0,Ge.writable=!1}function Me(Ge,Le,Ve){var ot=Ge.entry;for(Ge.entry=null;ot;){var et=ot.callback;Le.pendingcb--,et(Ve),ot=ot.next}Le.corkedRequestsFree.next=Ge}Object.defineProperty(Ee.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Le){this._writableState&&(this._writableState.destroyed=Le)}}),Ee.prototype.destroy=x.destroy,Ee.prototype._undestroy=x.undestroy,Ee.prototype._destroy=function(Ge,Le){Le(Ge)}}).call(this)}).call(this,E("_process"),typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?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,me,de){(function(le){(function(){"use strict";var ae;function ie(ye,ve,Pe){return ve=se(ve),ve in ye?Object.defineProperty(ye,ve,{value:Pe,enumerable:!0,configurable:!0,writable:!0}):ye[ve]=Pe,ye}function se(ye){var ve=ce(ye,"string");return typeof ve=="symbol"?ve:String(ve)}function ce(ye,ve){if(typeof ye!="object"||ye===null)return ye;var Pe=ye[Symbol.toPrimitive];if(Pe!==void 0){var we=Pe.call(ye,ve||"default");if(typeof we!="object")return we;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ve==="string"?String:Number)(ye)}var oe=E("./end-of-stream"),re=Symbol("lastResolve"),ne=Symbol("lastReject"),te=Symbol("error"),a=Symbol("ended"),y=Symbol("lastPromise"),x=Symbol("handlePromise"),b=Symbol("stream");function ee(ye,ve){return{value:ye,done:ve}}function z(ye){var ve=ye[re];if(ve!==null){var Pe=ye[b].read();Pe!==null&&(ye[y]=null,ye[re]=null,ye[ne]=null,ve(ee(Pe,!1)))}}function ue(ye){le.nextTick(z,ye)}function fe(ye,ve){return function(Pe,we){ye.then(function(){if(ve[a]){Pe(ee(void 0,!0));return}ve[x](Pe,we)},we)}}var ge=Object.getPrototypeOf(function(){}),he=Object.setPrototypeOf((ae={get stream(){return this[b]},next:function(){var ve=this,Pe=this[te];if(Pe!==null)return Promise.reject(Pe);if(this[a])return Promise.resolve(ee(void 0,!0));if(this[b].destroyed)return new Promise(function(xe,Ee){le.nextTick(function(){ve[te]?Ee(ve[te]):xe(ee(void 0,!0))})});var we=this[y],Ae;if(we)Ae=new Promise(fe(we,this));else{var _e=this[b].read();if(_e!==null)return Promise.resolve(ee(_e,!1));Ae=new Promise(this[x])}return this[y]=Ae,Ae}},ie(ae,Symbol.asyncIterator,function(){return this}),ie(ae,"return",function(){var ve=this;return new Promise(function(Pe,we){ve[b].destroy(null,function(Ae){if(Ae){we(Ae);return}Pe(ee(void 0,!0))})})}),ae),ge),pe=function(ve){var Pe,we=Object.create(he,(Pe={},ie(Pe,b,{value:ve,writable:!0}),ie(Pe,re,{value:null,writable:!0}),ie(Pe,ne,{value:null,writable:!0}),ie(Pe,te,{value:null,writable:!0}),ie(Pe,a,{value:ve._readableState.endEmitted,writable:!0}),ie(Pe,x,{value:function(_e,xe){var Ee=we[b].read();Ee?(we[y]=null,we[re]=null,we[ne]=null,_e(ee(Ee,!1))):(we[re]=_e,we[ne]=xe)},writable:!0}),Pe));return we[y]=null,oe(ve,function(Ae){if(Ae&&Ae.code!=="ERR_STREAM_PREMATURE_CLOSE"){var _e=we[ne];_e!==null&&(we[y]=null,we[re]=null,we[ne]=null,_e(Ae)),we[te]=Ae;return}var xe=we[re];xe!==null&&(we[y]=null,we[re]=null,we[ne]=null,xe(ee(void 0,!0))),we[a]=!0}),ve.on("readable",ue.bind(null,we)),we};me.exports=pe}).call(this)}).call(this,E("_process"))},{"./end-of-stream":408,_process:467}],406:[function(E,me,de){"use strict";function le(z,ue){var fe=Object.keys(z);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(z);ue&&(ge=ge.filter(function(he){return Object.getOwnPropertyDescriptor(z,he).enumerable})),fe.push.apply(fe,ge)}return fe}function ae(z){for(var ue=1;ue<arguments.length;ue++){var fe=arguments[ue]!=null?arguments[ue]:{};ue%2?le(Object(fe),!0).forEach(function(ge){ie(z,ge,fe[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(fe)):le(Object(fe)).forEach(function(ge){Object.defineProperty(z,ge,Object.getOwnPropertyDescriptor(fe,ge))})}return z}function ie(z,ue,fe){return ue=re(ue),ue in z?Object.defineProperty(z,ue,{value:fe,enumerable:!0,configurable:!0,writable:!0}):z[ue]=fe,z}function se(z,ue){if(!(z instanceof ue))throw new TypeError("Cannot call a class as a function")}function ce(z,ue){for(var fe=0;fe<ue.length;fe++){var ge=ue[fe];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(z,re(ge.key),ge)}}function oe(z,ue,fe){return ue&&ce(z.prototype,ue),fe&&ce(z,fe),Object.defineProperty(z,"prototype",{writable:!1}),z}function re(z){var ue=ne(z,"string");return typeof ue=="symbol"?ue:String(ue)}function ne(z,ue){if(typeof z!="object"||z===null)return z;var fe=z[Symbol.toPrimitive];if(fe!==void 0){var ge=fe.call(z,ue||"default");if(typeof ge!="object")return ge;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ue==="string"?String:Number)(z)}var te=E("buffer"),a=te.Buffer,y=E("util"),x=y.inspect,b=x&&x.custom||"inspect";function ee(z,ue,fe){a.prototype.copy.call(z,ue,fe)}me.exports=function(){function z(){se(this,z),this.head=null,this.tail=null,this.length=0}return oe(z,[{key:"push",value:function(fe){var ge={data:fe,next:null};this.length>0?this.tail.next=ge:this.head=ge,this.tail=ge,++this.length}},{key:"unshift",value:function(fe){var ge={data:fe,next:this.head};this.length===0&&(this.tail=ge),this.head=ge,++this.length}},{key:"shift",value:function(){if(this.length!==0){var fe=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,fe}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(fe){if(this.length===0)return"";for(var ge=this.head,he=""+ge.data;ge=ge.next;)he+=fe+ge.data;return he}},{key:"concat",value:function(fe){if(this.length===0)return a.alloc(0);for(var ge=a.allocUnsafe(fe>>>0),he=this.head,pe=0;he;)ee(he.data,ge,pe),pe+=he.data.length,he=he.next;return ge}},{key:"consume",value:function(fe,ge){var he;return fe<this.head.data.length?(he=this.head.data.slice(0,fe),this.head.data=this.head.data.slice(fe)):fe===this.head.data.length?he=this.shift():he=ge?this._getString(fe):this._getBuffer(fe),he}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(fe){var ge=this.head,he=1,pe=ge.data;for(fe-=pe.length;ge=ge.next;){var ye=ge.data,ve=fe>ye.length?ye.length:fe;if(ve===ye.length?pe+=ye:pe+=ye.slice(0,fe),fe-=ve,fe===0){ve===ye.length?(++he,ge.next?this.head=ge.next:this.head=this.tail=null):(this.head=ge,ge.data=ye.slice(ve));break}++he}return this.length-=he,pe}},{key:"_getBuffer",value:function(fe){var ge=a.allocUnsafe(fe),he=this.head,pe=1;for(he.data.copy(ge),fe-=he.data.length;he=he.next;){var ye=he.data,ve=fe>ye.length?ye.length:fe;if(ye.copy(ge,ge.length-fe,0,ve),fe-=ve,fe===0){ve===ye.length?(++pe,he.next?this.head=he.next:this.head=this.tail=null):(this.head=he,he.data=ye.slice(ve));break}++pe}return this.length-=pe,ge}},{key:b,value:function(fe,ge){return x(this,ae(ae({},ge),{},{depth:0,customInspect:!1}))}}]),z}()},{buffer:90,util:89}],407:[function(E,me,de){(function(le){(function(){"use strict";function ae(ne,te){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(te?te(ne):ne&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,le.nextTick(oe,this,ne)):le.nextTick(oe,this,ne)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ne||null,function(b){!te&&b?a._writableState?a._writableState.errorEmitted?le.nextTick(se,a):(a._writableState.errorEmitted=!0,le.nextTick(ie,a,b)):le.nextTick(ie,a,b):te?(le.nextTick(se,a),te(b)):le.nextTick(se,a)}),this)}function ie(ne,te){oe(ne,te),se(ne)}function se(ne){ne._writableState&&!ne._writableState.emitClose||ne._readableState&&!ne._readableState.emitClose||ne.emit("close")}function ce(){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 oe(ne,te){ne.emit("error",te)}function re(ne,te){var a=ne._readableState,y=ne._writableState;a&&a.autoDestroy||y&&y.autoDestroy?ne.destroy(te):ne.emit("error",te)}me.exports={destroy:ae,undestroy:ce,errorOrDestroy:re}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,me,de){"use strict";var le=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function ae(oe){var re=!1;return function(){if(!re){re=!0;for(var ne=arguments.length,te=new Array(ne),a=0;a<ne;a++)te[a]=arguments[a];oe.apply(this,te)}}}function ie(){}function se(oe){return oe.setHeader&&typeof oe.abort=="function"}function ce(oe,re,ne){if(typeof re=="function")return ce(oe,null,re);re||(re={}),ne=ae(ne||ie);var te=re.readable||re.readable!==!1&&oe.readable,a=re.writable||re.writable!==!1&&oe.writable,y=function(){oe.writable||b()},x=oe._writableState&&oe._writableState.finished,b=function(){a=!1,x=!0,te||ne.call(oe)},ee=oe._readableState&&oe._readableState.endEmitted,z=function(){te=!1,ee=!0,a||ne.call(oe)},ue=function(pe){ne.call(oe,pe)},fe=function(){var pe;if(te&&!ee)return(!oe._readableState||!oe._readableState.ended)&&(pe=new le),ne.call(oe,pe);if(a&&!x)return(!oe._writableState||!oe._writableState.ended)&&(pe=new le),ne.call(oe,pe)},ge=function(){oe.req.on("finish",b)};return se(oe)?(oe.on("complete",b),oe.on("abort",fe),oe.req?ge():oe.on("request",ge)):a&&!oe._writableState&&(oe.on("end",y),oe.on("close",y)),oe.on("end",z),oe.on("finish",b),re.error!==!1&&oe.on("error",ue),oe.on("close",fe),function(){oe.removeListener("complete",b),oe.removeListener("abort",fe),oe.removeListener("request",ge),oe.req&&oe.req.removeListener("finish",b),oe.removeListener("end",y),oe.removeListener("close",y),oe.removeListener("finish",b),oe.removeListener("end",z),oe.removeListener("error",ue),oe.removeListener("close",fe)}}me.exports=ce},{"../../../errors":399}],409:[function(E,me,de){me.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(E,me,de){"use strict";var le;function ae(b){var ee=!1;return function(){ee||(ee=!0,b.apply(void 0,arguments))}}var ie=E("../../../errors").codes,se=ie.ERR_MISSING_ARGS,ce=ie.ERR_STREAM_DESTROYED;function oe(b){if(b)throw b}function re(b){return b.setHeader&&typeof b.abort=="function"}function ne(b,ee,z,ue){ue=ae(ue);var fe=!1;b.on("close",function(){fe=!0}),le===void 0&&(le=E("./end-of-stream")),le(b,{readable:ee,writable:z},function(he){if(he)return ue(he);fe=!0,ue()});var ge=!1;return function(he){if(!fe&&!ge){if(ge=!0,re(b))return b.abort();if(typeof b.destroy=="function")return b.destroy();ue(he||new ce("pipe"))}}}function te(b){b()}function a(b,ee){return b.pipe(ee)}function y(b){return!b.length||typeof b[b.length-1]!="function"?oe:b.pop()}function x(){for(var b=arguments.length,ee=new Array(b),z=0;z<b;z++)ee[z]=arguments[z];var ue=y(ee);if(Array.isArray(ee[0])&&(ee=ee[0]),ee.length<2)throw new se("streams");var fe,ge=ee.map(function(he,pe){var ye=pe<ee.length-1,ve=pe>0;return ne(he,ye,ve,function(Pe){fe||(fe=Pe),Pe&&ge.forEach(te),!ye&&(ge.forEach(te),ue(fe))})});return ee.reduce(a)}me.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,me,de){"use strict";var le=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function ae(se,ce,oe){return se.highWaterMark!=null?se.highWaterMark:ce?se[oe]:null}function ie(se,ce,oe,re){var ne=ae(ce,re,oe);if(ne!=null){if(!(isFinite(ne)&&Math.floor(ne)===ne)||ne<0){var te=re?oe:"highWaterMark";throw new le(te,ne)}return Math.floor(ne)}return se.objectMode?16:16*1024}me.exports={getHighWaterMark:ie}},{"../../../errors":399}],412:[function(E,me,de){arguments[4][393][0].apply(de,arguments)},{dup:393,events:344}],413:[function(E,me,de){"use strict";var le=E("safe-buffer").Buffer,ae=le.isEncoding||function(ge){switch(ge=""+ge,ge&&ge.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 ie(ge){if(!ge)return"utf8";for(var he;;)switch(ge){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 ge;default:if(he)return;ge=(""+ge).toLowerCase(),he=!0}}function se(ge){var he=ie(ge);if(typeof he!="string"&&(le.isEncoding===ae||!ae(ge)))throw new Error("Unknown encoding: "+ge);return he||ge}de.StringDecoder=ce;function ce(ge){this.encoding=se(ge);var he;switch(this.encoding){case"utf16le":this.text=x,this.end=b,he=4;break;case"utf8":this.fillLast=te,he=4;break;case"base64":this.text=ee,this.end=z,he=3;break;default:this.write=ue,this.end=fe;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=le.allocUnsafe(he)}ce.prototype.write=function(ge){if(ge.length===0)return"";var he,pe;if(this.lastNeed){if(he=this.fillLast(ge),he===void 0)return"";pe=this.lastNeed,this.lastNeed=0}else pe=0;return pe<ge.length?he?he+this.text(ge,pe):this.text(ge,pe):he||""},ce.prototype.end=y,ce.prototype.text=a,ce.prototype.fillLast=function(ge){if(this.lastNeed<=ge.length)return ge.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ge.copy(this.lastChar,this.lastTotal-this.lastNeed,0,ge.length),this.lastNeed-=ge.length};function oe(ge){return ge<=127?0:ge>>5===6?2:ge>>4===14?3:ge>>3===30?4:ge>>6===2?-1:-2}function re(ge,he,pe){var ye=he.length-1;if(ye<pe)return 0;var ve=oe(he[ye]);return ve>=0?(ve>0&&(ge.lastNeed=ve-1),ve):--ye<pe||ve===-2?0:(ve=oe(he[ye]),ve>=0?(ve>0&&(ge.lastNeed=ve-2),ve):--ye<pe||ve===-2?0:(ve=oe(he[ye]),ve>=0?(ve>0&&(ve===2?ve=0:ge.lastNeed=ve-3),ve):0))}function ne(ge,he,pe){if((he[0]&192)!==128)return ge.lastNeed=0,"\uFFFD";if(ge.lastNeed>1&&he.length>1){if((he[1]&192)!==128)return ge.lastNeed=1,"\uFFFD";if(ge.lastNeed>2&&he.length>2&&(he[2]&192)!==128)return ge.lastNeed=2,"\uFFFD"}}function te(ge){var he=this.lastTotal-this.lastNeed,pe=ne(this,ge,he);if(pe!==void 0)return pe;if(this.lastNeed<=ge.length)return ge.copy(this.lastChar,he,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ge.copy(this.lastChar,he,0,ge.length),this.lastNeed-=ge.length}function a(ge,he){var pe=re(this,ge,he);if(!this.lastNeed)return ge.toString("utf8",he);this.lastTotal=pe;var ye=ge.length-(pe-this.lastNeed);return ge.copy(this.lastChar,0,ye),ge.toString("utf8",he,ye)}function y(ge){var he=ge&&ge.length?this.write(ge):"";return this.lastNeed?he+"\uFFFD":he}function x(ge,he){if((ge.length-he)%2===0){var pe=ge.toString("utf16le",he);if(pe){var ye=pe.charCodeAt(pe.length-1);if(ye>=55296&&ye<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ge[ge.length-2],this.lastChar[1]=ge[ge.length-1],pe.slice(0,-1)}return pe}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ge[ge.length-1],ge.toString("utf16le",he,ge.length-1)}function b(ge){var he=ge&&ge.length?this.write(ge):"";if(this.lastNeed){var pe=this.lastTotal-this.lastNeed;return he+this.lastChar.toString("utf16le",0,pe)}return he}function ee(ge,he){var pe=(ge.length-he)%3;return pe===0?ge.toString("base64",he):(this.lastNeed=3-pe,this.lastTotal=3,pe===1?this.lastChar[0]=ge[ge.length-1]:(this.lastChar[0]=ge[ge.length-2],this.lastChar[1]=ge[ge.length-1]),ge.toString("base64",he,ge.length-pe))}function z(ge){var he=ge&&ge.length?this.write(ge):"";return this.lastNeed?he+this.lastChar.toString("base64",0,3-this.lastNeed):he}function ue(ge){return ge.toString(this.encoding)}function fe(ge){return ge&&ge.length?this.write(ge):""}},{"safe-buffer":396}],414:[function(E,me,de){(function(le,ae){(function(){var ie=E("process/browser.js").nextTick,se=Function.prototype.apply,ce=Array.prototype.slice,oe={},re=0;de.setTimeout=function(){return new ne(se.call(setTimeout,window,arguments),clearTimeout)},de.setInterval=function(){return new ne(se.call(setInterval,window,arguments),clearInterval)},de.clearTimeout=de.clearInterval=function(te){te.close()};function ne(te,a){this._id=te,this._clearFn=a}ne.prototype.unref=ne.prototype.ref=function(){},ne.prototype.close=function(){this._clearFn.call(window,this._id)},de.enroll=function(te,a){clearTimeout(te._idleTimeoutId),te._idleTimeout=a},de.unenroll=function(te){clearTimeout(te._idleTimeoutId),te._idleTimeout=-1},de._unrefActive=de.active=function(te){clearTimeout(te._idleTimeoutId);var a=te._idleTimeout;a>=0&&(te._idleTimeoutId=setTimeout(function(){te._onTimeout&&te._onTimeout()},a))},de.setImmediate=typeof le=="function"?le:function(te){var a=re++,y=arguments.length<2?!1:ce.call(arguments,1);return oe[a]=!0,ie(function(){oe[a]&&(y?te.apply(null,y):te.call(null),de.clearImmediate(a))}),a},de.clearImmediate=typeof ae=="function"?ae:function(te){delete oe[te]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,me,de){var le=E("buffer").Buffer;me.exports=function(ae){if(ae instanceof Uint8Array){if(ae.byteOffset===0&&ae.byteLength===ae.buffer.byteLength)return ae.buffer;if(typeof ae.buffer.slice=="function")return ae.buffer.slice(ae.byteOffset,ae.byteOffset+ae.byteLength)}if(le.isBuffer(ae)){for(var ie=new Uint8Array(ae.length),se=ae.length,ce=0;ce<se;ce++)ie[ce]=ae[ce];return ie.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(E,me,de){(function(le){(function(){me.exports=ae;function ae(se,ce){if(ie("noDeprecation"))return se;var oe=!1;function re(){if(!oe){if(ie("throwDeprecation"))throw new Error(ce);ie("traceDeprecation")?console.trace(ce):console.warn(ce),oe=!0}return se.apply(this,arguments)}return re}function ie(se){try{if(!le.localStorage)return!1}catch(oe){return!1}var ce=le.localStorage[se];return ce==null?!1:String(ce).toLowerCase()==="true"}}).call(this)}).call(this,typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(E,me,de){arguments[4][84][0].apply(de,arguments)},{dup:84}],418:[function(E,me,de){"use strict";var le=E("is-arguments"),ae=E("is-generator-function"),ie=E("which-typed-array"),se=E("is-typed-array");function ce(Fe){return Fe.call.bind(Fe)}var oe=typeof BigInt!="undefined",re=typeof Symbol!="undefined",ne=ce(Object.prototype.toString),te=ce(Number.prototype.valueOf),a=ce(String.prototype.valueOf),y=ce(Boolean.prototype.valueOf);if(oe)var x=ce(BigInt.prototype.valueOf);if(re)var b=ce(Symbol.prototype.valueOf);function ee(Fe,Ye){if(typeof Fe!="object")return!1;try{return Ye(Fe),!0}catch(nt){return!1}}de.isArgumentsObject=le,de.isGeneratorFunction=ae,de.isTypedArray=se;function z(Fe){return typeof Promise!="undefined"&&Fe instanceof Promise||Fe!==null&&typeof Fe=="object"&&typeof Fe.then=="function"&&typeof Fe.catch=="function"}de.isPromise=z;function ue(Fe){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(Fe):se(Fe)||Re(Fe)}de.isArrayBufferView=ue;function fe(Fe){return ie(Fe)==="Uint8Array"}de.isUint8Array=fe;function ge(Fe){return ie(Fe)==="Uint8ClampedArray"}de.isUint8ClampedArray=ge;function he(Fe){return ie(Fe)==="Uint16Array"}de.isUint16Array=he;function pe(Fe){return ie(Fe)==="Uint32Array"}de.isUint32Array=pe;function ye(Fe){return ie(Fe)==="Int8Array"}de.isInt8Array=ye;function ve(Fe){return ie(Fe)==="Int16Array"}de.isInt16Array=ve;function Pe(Fe){return ie(Fe)==="Int32Array"}de.isInt32Array=Pe;function we(Fe){return ie(Fe)==="Float32Array"}de.isFloat32Array=we;function Ae(Fe){return ie(Fe)==="Float64Array"}de.isFloat64Array=Ae;function _e(Fe){return ie(Fe)==="BigInt64Array"}de.isBigInt64Array=_e;function xe(Fe){return ie(Fe)==="BigUint64Array"}de.isBigUint64Array=xe;function Ee(Fe){return ne(Fe)==="[object Map]"}Ee.working=typeof Map!="undefined"&&Ee(new Map);function Oe(Fe){return typeof Map=="undefined"?!1:Ee.working?Ee(Fe):Fe instanceof Map}de.isMap=Oe;function Ie(Fe){return ne(Fe)==="[object Set]"}Ie.working=typeof Set!="undefined"&&Ie(new Set);function Ne(Fe){return typeof Set=="undefined"?!1:Ie.working?Ie(Fe):Fe instanceof Set}de.isSet=Ne;function Te(Fe){return ne(Fe)==="[object WeakMap]"}Te.working=typeof WeakMap!="undefined"&&Te(new WeakMap);function Je(Fe){return typeof WeakMap=="undefined"?!1:Te.working?Te(Fe):Fe instanceof WeakMap}de.isWeakMap=Je;function Qe(Fe){return ne(Fe)==="[object WeakSet]"}Qe.working=typeof WeakSet!="undefined"&&Qe(new WeakSet);function Ze(Fe){return Qe(Fe)}de.isWeakSet=Ze;function Ke(Fe){return ne(Fe)==="[object ArrayBuffer]"}Ke.working=typeof ArrayBuffer!="undefined"&&Ke(new ArrayBuffer);function Ue(Fe){return typeof ArrayBuffer=="undefined"?!1:Ke.working?Ke(Fe):Fe instanceof ArrayBuffer}de.isArrayBuffer=Ue;function ke(Fe){return ne(Fe)==="[object DataView]"}ke.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&ke(new DataView(new ArrayBuffer(1),0,1));function Re(Fe){return typeof DataView=="undefined"?!1:ke.working?ke(Fe):Fe instanceof DataView}de.isDataView=Re;var He=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function qe(Fe){return ne(Fe)==="[object SharedArrayBuffer]"}function rt(Fe){return typeof He=="undefined"?!1:(typeof qe.working=="undefined"&&(qe.working=qe(new He)),qe.working?qe(Fe):Fe instanceof He)}de.isSharedArrayBuffer=rt;function We(Fe){return ne(Fe)==="[object AsyncFunction]"}de.isAsyncFunction=We;function ze(Fe){return ne(Fe)==="[object Map Iterator]"}de.isMapIterator=ze;function Me(Fe){return ne(Fe)==="[object Set Iterator]"}de.isSetIterator=Me;function Ge(Fe){return ne(Fe)==="[object Generator]"}de.isGeneratorObject=Ge;function Le(Fe){return ne(Fe)==="[object WebAssembly.Module]"}de.isWebAssemblyCompiledModule=Le;function Ve(Fe){return ee(Fe,te)}de.isNumberObject=Ve;function ot(Fe){return ee(Fe,a)}de.isStringObject=ot;function et(Fe){return ee(Fe,y)}de.isBooleanObject=et;function Xe(Fe){return oe&&ee(Fe,x)}de.isBigIntObject=Xe;function je(Fe){return re&&ee(Fe,b)}de.isSymbolObject=je;function Ce(Fe){return Ve(Fe)||ot(Fe)||et(Fe)||Xe(Fe)||je(Fe)}de.isBoxedPrimitive=Ce;function De(Fe){return typeof Uint8Array!="undefined"&&(Ue(Fe)||rt(Fe))}de.isAnyArrayBuffer=De,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Fe){Object.defineProperty(de,Fe,{enumerable:!1,value:function(){throw new Error(Fe+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(E,me,de){(function(le){(function(){var ae=Object.getOwnPropertyDescriptors||function(He){for(var qe=Object.keys(He),rt={},We=0;We<qe.length;We++)rt[qe[We]]=Object.getOwnPropertyDescriptor(He,qe[We]);return rt},ie=/%[sdj%]/g;de.format=function(Re){if(!ve(Re)){for(var He=[],qe=0;qe<arguments.length;qe++)He.push(re(arguments[qe]));return He.join(" ")}for(var qe=1,rt=arguments,We=rt.length,ze=String(Re).replace(ie,function(Ge){if(Ge==="%%")return"%";if(qe>=We)return Ge;switch(Ge){case"%s":return String(rt[qe++]);case"%d":return Number(rt[qe++]);case"%j":try{return JSON.stringify(rt[qe++])}catch(Le){return"[Circular]"}default:return Ge}}),Me=rt[qe];qe<We;Me=rt[++qe])he(Me)||!_e(Me)?ze+=" "+Me:ze+=" "+re(Me);return ze},de.deprecate=function(Re,He){if(typeof le!="undefined"&&le.noDeprecation===!0)return Re;if(typeof le=="undefined")return function(){return de.deprecate(Re,He).apply(this,arguments)};var qe=!1;function rt(){if(!qe){if(le.throwDeprecation)throw new Error(He);le.traceDeprecation?console.trace(He):console.error(He),qe=!0}return Re.apply(this,arguments)}return rt};var se={},ce=/^$/;if(le.env.NODE_DEBUG){var oe=le.env.NODE_DEBUG;oe=oe.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),ce=new RegExp("^"+oe+"$","i")}de.debuglog=function(Re){if(Re=Re.toUpperCase(),!se[Re])if(ce.test(Re)){var He=le.pid;se[Re]=function(){var qe=de.format.apply(de,arguments);console.error("%s %d: %s",Re,He,qe)}}else se[Re]=function(){};return se[Re]};function re(Re,He){var qe={seen:[],stylize:te};return arguments.length>=3&&(qe.depth=arguments[2]),arguments.length>=4&&(qe.colors=arguments[3]),ge(He)?qe.showHidden=He:He&&de._extend(qe,He),we(qe.showHidden)&&(qe.showHidden=!1),we(qe.depth)&&(qe.depth=2),we(qe.colors)&&(qe.colors=!1),we(qe.customInspect)&&(qe.customInspect=!0),qe.colors&&(qe.stylize=ne),y(qe,Re,qe.depth)}de.inspect=re,re.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]},re.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ne(Re,He){var qe=re.styles[He];return qe?"\x1B["+re.colors[qe][0]+"m"+Re+"\x1B["+re.colors[qe][1]+"m":Re}function te(Re,He){return Re}function a(Re){var He={};return Re.forEach(function(qe,rt){He[qe]=!0}),He}function y(Re,He,qe){if(Re.customInspect&&He&&Oe(He.inspect)&&He.inspect!==de.inspect&&!(He.constructor&&He.constructor.prototype===He)){var rt=He.inspect(qe,Re);return ve(rt)||(rt=y(Re,rt,qe)),rt}var We=x(Re,He);if(We)return We;var ze=Object.keys(He),Me=a(ze);if(Re.showHidden&&(ze=Object.getOwnPropertyNames(He)),Ee(He)&&(ze.indexOf("message")>=0||ze.indexOf("description")>=0))return b(He);if(ze.length===0){if(Oe(He)){var Ge=He.name?": "+He.name:"";return Re.stylize("[Function"+Ge+"]","special")}if(Ae(He))return Re.stylize(RegExp.prototype.toString.call(He),"regexp");if(xe(He))return Re.stylize(Date.prototype.toString.call(He),"date");if(Ee(He))return b(He)}var Le="",Ve=!1,ot=["{","}"];if(fe(He)&&(Ve=!0,ot=["[","]"]),Oe(He)){var et=He.name?": "+He.name:"";Le=" [Function"+et+"]"}if(Ae(He)&&(Le=" "+RegExp.prototype.toString.call(He)),xe(He)&&(Le=" "+Date.prototype.toUTCString.call(He)),Ee(He)&&(Le=" "+b(He)),ze.length===0&&(!Ve||He.length==0))return ot[0]+Le+ot[1];if(qe<0)return Ae(He)?Re.stylize(RegExp.prototype.toString.call(He),"regexp"):Re.stylize("[Object]","special");Re.seen.push(He);var Xe;return Ve?Xe=ee(Re,He,qe,Me,ze):Xe=ze.map(function(je){return z(Re,He,qe,Me,je,Ve)}),Re.seen.pop(),ue(Xe,Le,ot)}function x(Re,He){if(we(He))return Re.stylize("undefined","undefined");if(ve(He)){var qe="'"+JSON.stringify(He).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Re.stylize(qe,"string")}if(ye(He))return Re.stylize(""+He,"number");if(ge(He))return Re.stylize(""+He,"boolean");if(he(He))return Re.stylize("null","null")}function b(Re){return"["+Error.prototype.toString.call(Re)+"]"}function ee(Re,He,qe,rt,We){for(var ze=[],Me=0,Ge=He.length;Me<Ge;++Me)Ze(He,String(Me))?ze.push(z(Re,He,qe,rt,String(Me),!0)):ze.push("");return We.forEach(function(Le){Le.match(/^\d+$/)||ze.push(z(Re,He,qe,rt,Le,!0))}),ze}function z(Re,He,qe,rt,We,ze){var Me,Ge,Le;if(Le=Object.getOwnPropertyDescriptor(He,We)||{value:He[We]},Le.get?Le.set?Ge=Re.stylize("[Getter/Setter]","special"):Ge=Re.stylize("[Getter]","special"):Le.set&&(Ge=Re.stylize("[Setter]","special")),Ze(rt,We)||(Me="["+We+"]"),Ge||(Re.seen.indexOf(Le.value)<0?(he(qe)?Ge=y(Re,Le.value,null):Ge=y(Re,Le.value,qe-1),Ge.indexOf(`
|
|
|
`)>-1&&(ze?Ge=Ge.split(`
|
|
|
`).map(function(Ve){return" "+Ve}).join(`
|
|
|
`).slice(2):Ge=`
|
|
|
`+Ge.split(`
|
|
|
`).map(function(Ve){return" "+Ve}).join(`
|
|
|
`))):Ge=Re.stylize("[Circular]","special")),we(Me)){if(ze&&We.match(/^\d+$/))return Ge;Me=JSON.stringify(""+We),Me.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Me=Me.slice(1,-1),Me=Re.stylize(Me,"name")):(Me=Me.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Me=Re.stylize(Me,"string"))}return Me+": "+Ge}function ue(Re,He,qe){var rt=0,We=Re.reduce(function(ze,Me){return rt++,Me.indexOf(`
|
|
|
`)>=0&&rt++,ze+Me.replace(/\u001b\[\d\d?m/g,"").length+1},0);return We>60?qe[0]+(He===""?"":He+`
|
|
|
`)+" "+Re.join(`,
|
|
|
`)+" "+qe[1]:qe[0]+He+" "+Re.join(", ")+" "+qe[1]}de.types=E("./support/types");function fe(Re){return Array.isArray(Re)}de.isArray=fe;function ge(Re){return typeof Re=="boolean"}de.isBoolean=ge;function he(Re){return Re===null}de.isNull=he;function pe(Re){return Re==null}de.isNullOrUndefined=pe;function ye(Re){return typeof Re=="number"}de.isNumber=ye;function ve(Re){return typeof Re=="string"}de.isString=ve;function Pe(Re){return typeof Re=="symbol"}de.isSymbol=Pe;function we(Re){return Re===void 0}de.isUndefined=we;function Ae(Re){return _e(Re)&&Ne(Re)==="[object RegExp]"}de.isRegExp=Ae,de.types.isRegExp=Ae;function _e(Re){return typeof Re=="object"&&Re!==null}de.isObject=_e;function xe(Re){return _e(Re)&&Ne(Re)==="[object Date]"}de.isDate=xe,de.types.isDate=xe;function Ee(Re){return _e(Re)&&(Ne(Re)==="[object Error]"||Re instanceof Error)}de.isError=Ee,de.types.isNativeError=Ee;function Oe(Re){return typeof Re=="function"}de.isFunction=Oe;function Ie(Re){return Re===null||typeof Re=="boolean"||typeof Re=="number"||typeof Re=="string"||typeof Re=="symbol"||typeof Re=="undefined"}de.isPrimitive=Ie,de.isBuffer=E("./support/isBuffer");function Ne(Re){return Object.prototype.toString.call(Re)}function Te(Re){return Re<10?"0"+Re.toString(10):Re.toString(10)}var Je=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Qe(){var Re=new Date,He=[Te(Re.getHours()),Te(Re.getMinutes()),Te(Re.getSeconds())].join(":");return[Re.getDate(),Je[Re.getMonth()],He].join(" ")}de.log=function(){console.log("%s - %s",Qe(),de.format.apply(de,arguments))},de.inherits=E("inherits"),de._extend=function(Re,He){if(!He||!_e(He))return Re;for(var qe=Object.keys(He),rt=qe.length;rt--;)Re[qe[rt]]=He[qe[rt]];return Re};function Ze(Re,He){return Object.prototype.hasOwnProperty.call(Re,He)}var Ke=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;de.promisify=function(He){if(typeof He!="function")throw new TypeError('The "original" argument must be of type Function');if(Ke&&He[Ke]){var qe=He[Ke];if(typeof qe!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(qe,Ke,{value:qe,enumerable:!1,writable:!1,configurable:!0}),qe}function qe(){for(var rt,We,ze=new Promise(function(Le,Ve){rt=Le,We=Ve}),Me=[],Ge=0;Ge<arguments.length;Ge++)Me.push(arguments[Ge]);Me.push(function(Le,Ve){Le?We(Le):rt(Ve)});try{He.apply(this,Me)}catch(Le){We(Le)}return ze}return Object.setPrototypeOf(qe,Object.getPrototypeOf(He)),Ke&&Object.defineProperty(qe,Ke,{value:qe,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(qe,ae(He))},de.promisify.custom=Ke;function Ue(Re,He){if(!Re){var qe=new Error("Promise was rejected with a falsy value");qe.reason=Re,Re=qe}return He(Re)}function ke(Re){if(typeof Re!="function")throw new TypeError('The "original" argument must be of type Function');function He(){for(var qe=[],rt=0;rt<arguments.length;rt++)qe.push(arguments[rt]);var We=qe.pop();if(typeof We!="function")throw new TypeError("The last argument must be of type Function");var ze=this,Me=function(){return We.apply(ze,arguments)};Re.apply(this,qe).then(function(Ge){le.nextTick(Me.bind(null,null,Ge))},function(Ge){le.nextTick(Ue.bind(null,Ge,Me))})}return Object.setPrototypeOf(He,Object.getPrototypeOf(Re)),Object.defineProperties(He,ae(Re)),He}de.callbackify=ke}).call(this)}).call(this,E("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(E,me,de){(function(le){(function(){"use strict";var ae=E("for-each"),ie=E("available-typed-arrays"),se=E("call-bind"),ce=E("call-bind/callBound"),oe=E("gopd"),re=ce("Object.prototype.toString"),ne=E("has-tostringtag/shams")(),te=typeof globalThis=="undefined"?le:globalThis,a=ie(),y=ce("String.prototype.slice"),x=Object.getPrototypeOf,b=ce("Array.prototype.indexOf",!0)||function(ge,he){for(var pe=0;pe<ge.length;pe+=1)if(ge[pe]===he)return pe;return-1},ee={__proto__:null};ne&&oe&&x?ae(a,function(fe){var ge=new te[fe];if(Symbol.toStringTag in ge){var he=x(ge),pe=oe(he,Symbol.toStringTag);if(!pe){var ye=x(he);pe=oe(ye,Symbol.toStringTag)}ee["$"+fe]=se(pe.get)}}):ae(a,function(fe){var ge=new te[fe];ee["$"+fe]=se(ge.slice)});var z=function(ge){var he=!1;return ae(ee,function(pe,ye){if(!he)try{"$"+pe(ge)===ye&&(he=y(ye,1))}catch(ve){}}),he},ue=function(ge){var he=!1;return ae(ee,function(pe,ye){if(!he)try{pe(ge),he=y(ye,1)}catch(ve){}}),he};me.exports=function(ge){if(!ge||typeof ge!="object")return!1;if(!ne){var he=y(re(ge),8,-1);return b(a,he)>-1?he:he!=="Object"?!1:ue(ge)}return oe?z(ge):null}}).call(this)}).call(this,typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(E,me,de){(function(){"use strict";de.stripBOM=function(le){return le[0]==="\uFEFF"?le.substring(1):le}}).call(this)},{}],422:[function(E,me,de){(function(){"use strict";var le,ae,ie,se,ce,oe={}.hasOwnProperty;le=E("xmlbuilder"),ae=E("./defaults").defaults,se=function(re){return typeof re=="string"&&(re.indexOf("&")>=0||re.indexOf(">")>=0||re.indexOf("<")>=0)},ce=function(re){return"<![CDATA["+ie(re)+"]]>"},ie=function(re){return re.replace("]]>","]]]]><![CDATA[>")},de.Builder=function(){function re(ne){var te,a,y;this.options={},a=ae["0.2"];for(te in a)oe.call(a,te)&&(y=a[te],this.options[te]=y);for(te in ne)oe.call(ne,te)&&(y=ne[te],this.options[te]=y)}return re.prototype.buildObject=function(ne){var te,a,y,x,b;return te=this.options.attrkey,a=this.options.charkey,Object.keys(ne).length===1&&this.options.rootName===ae["0.2"].rootName?(b=Object.keys(ne)[0],ne=ne[b]):b=this.options.rootName,y=function(ee){return function(z,ue){var fe,ge,he,pe,ye,ve;if(typeof ue!="object")ee.options.cdata&&se(ue)?z.raw(ce(ue)):z.txt(ue);else if(Array.isArray(ue)){for(pe in ue)if(oe.call(ue,pe)){ge=ue[pe];for(ye in ge)he=ge[ye],z=y(z.ele(ye),he).up()}}else for(ye in ue)if(oe.call(ue,ye))if(ge=ue[ye],ye===te){if(typeof ge=="object")for(fe in ge)ve=ge[fe],z=z.att(fe,ve)}else if(ye===a)ee.options.cdata&&se(ge)?z=z.raw(ce(ge)):z=z.txt(ge);else if(Array.isArray(ge))for(pe in ge)oe.call(ge,pe)&&(he=ge[pe],typeof he=="string"?ee.options.cdata&&se(he)?z=z.ele(ye).raw(ce(he)).up():z=z.ele(ye,he).up():z=y(z.ele(ye),he).up());else typeof ge=="object"?z=y(z.ele(ye),ge).up():typeof ge=="string"&&ee.options.cdata&&se(ge)?z=z.ele(ye).raw(ce(ge)).up():(ge==null&&(ge=""),z=z.ele(ye,ge.toString()).up());return z}}(this),x=le.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,ne).end(this.options.renderOpts)},re}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,me,de){(function(){de.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
|
|
|
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(E,me,de){(function(){"use strict";var le,ae,ie,se,ce,oe,re,ne,te,a=function(b,ee){return function(){return b.apply(ee,arguments)}},y=function(b,ee){for(var z in ee)x.call(ee,z)&&(b[z]=ee[z]);function ue(){this.constructor=b}return ue.prototype=ee.prototype,b.prototype=new ue,b.__super__=ee.prototype,b},x={}.hasOwnProperty;ne=E("sax"),se=E("events"),le=E("./bom"),re=E("./processors"),te=E("timers").setImmediate,ae=E("./defaults").defaults,ce=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},oe=function(b,ee,z){var ue,fe,ge;for(ue=0,fe=b.length;ue<fe;ue++)ge=b[ue],ee=ge(ee,z);return ee},ie=function(b,ee,z){var ue;return ue=Object.create(null),ue.value=z,ue.writable=!0,ue.enumerable=!0,ue.configurable=!0,Object.defineProperty(b,ee,ue)},de.Parser=function(b){y(ee,b);function ee(z){this.parseStringPromise=a(this.parseStringPromise,this),this.parseString=a(this.parseString,this),this.reset=a(this.reset,this),this.assignOrPush=a(this.assignOrPush,this),this.processAsync=a(this.processAsync,this);var ue,fe,ge;if(!(this instanceof de.Parser))return new de.Parser(z);this.options={},fe=ae["0.2"];for(ue in fe)x.call(fe,ue)&&(ge=fe[ue],this.options[ue]=ge);for(ue in z)x.call(z,ue)&&(ge=z[ue],this.options[ue]=ge);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(re.normalize)),this.reset()}return ee.prototype.processAsync=function(){var z,ue;try{return this.remaining.length<=this.options.chunkSize?(z=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(z),this.saxParser.close()):(z=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(z),te(this.processAsync))}catch(fe){if(ue=fe,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(ue)}},ee.prototype.assignOrPush=function(z,ue,fe){return ue in z?(z[ue]instanceof Array||ie(z,ue,[z[ue]]),z[ue].push(fe)):this.options.explicitArray?ie(z,ue,[fe]):ie(z,ue,fe)},ee.prototype.reset=function(){var z,ue,fe,ge;return this.removeAllListeners(),this.saxParser=ne.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(he){return function(pe){if(he.saxParser.resume(),!he.saxParser.errThrown)return he.saxParser.errThrown=!0,he.emit("error",pe)}}(this),this.saxParser.onend=function(he){return function(){if(!he.saxParser.ended)return he.saxParser.ended=!0,he.emit("end",he.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,ge=[],z=this.options.attrkey,ue=this.options.charkey,this.saxParser.onopentag=function(he){return function(pe){var ye,ve,Pe,we,Ae;if(Pe={},Pe[ue]="",!he.options.ignoreAttrs){Ae=pe.attributes;for(ye in Ae)x.call(Ae,ye)&&(!(z in Pe)&&!he.options.mergeAttrs&&(Pe[z]={}),ve=he.options.attrValueProcessors?oe(he.options.attrValueProcessors,pe.attributes[ye],ye):pe.attributes[ye],we=he.options.attrNameProcessors?oe(he.options.attrNameProcessors,ye):ye,he.options.mergeAttrs?he.assignOrPush(Pe,we,ve):ie(Pe[z],we,ve))}return Pe["#name"]=he.options.tagNameProcessors?oe(he.options.tagNameProcessors,pe.name):pe.name,he.options.xmlns&&(Pe[he.options.xmlnskey]={uri:pe.uri,local:pe.local}),ge.push(Pe)}}(this),this.saxParser.onclosetag=function(he){return function(){var pe,ye,ve,Pe,we,Ae,_e,xe,Ee,Oe;if(Ae=ge.pop(),we=Ae["#name"],(!he.options.explicitChildren||!he.options.preserveChildrenOrder)&&delete Ae["#name"],Ae.cdata===!0&&(pe=Ae.cdata,delete Ae.cdata),Ee=ge[ge.length-1],Ae[ue].match(/^\s*$/)&&!pe?(ye=Ae[ue],delete Ae[ue]):(he.options.trim&&(Ae[ue]=Ae[ue].trim()),he.options.normalize&&(Ae[ue]=Ae[ue].replace(/\s{2,}/g," ").trim()),Ae[ue]=he.options.valueProcessors?oe(he.options.valueProcessors,Ae[ue],we):Ae[ue],Object.keys(Ae).length===1&&ue in Ae&&!he.EXPLICIT_CHARKEY&&(Ae=Ae[ue])),ce(Ae)&&(typeof he.options.emptyTag=="function"?Ae=he.options.emptyTag():Ae=he.options.emptyTag!==""?he.options.emptyTag:ye),he.options.validator!=null&&(Oe="/"+function(){var Ie,Ne,Te;for(Te=[],Ie=0,Ne=ge.length;Ie<Ne;Ie++)Pe=ge[Ie],Te.push(Pe["#name"]);return Te}().concat(we).join("/"),function(){var Ie;try{return Ae=he.options.validator(Oe,Ee&&Ee[we],Ae)}catch(Ne){return Ie=Ne,he.emit("error",Ie)}}()),he.options.explicitChildren&&!he.options.mergeAttrs&&typeof Ae=="object"){if(!he.options.preserveChildrenOrder)Pe={},he.options.attrkey in Ae&&(Pe[he.options.attrkey]=Ae[he.options.attrkey],delete Ae[he.options.attrkey]),!he.options.charsAsChildren&&he.options.charkey in Ae&&(Pe[he.options.charkey]=Ae[he.options.charkey],delete Ae[he.options.charkey]),Object.getOwnPropertyNames(Ae).length>0&&(Pe[he.options.childkey]=Ae),Ae=Pe;else if(Ee){Ee[he.options.childkey]=Ee[he.options.childkey]||[],_e={};for(ve in Ae)x.call(Ae,ve)&&ie(_e,ve,Ae[ve]);Ee[he.options.childkey].push(_e),delete Ae["#name"],Object.keys(Ae).length===1&&ue in Ae&&!he.EXPLICIT_CHARKEY&&(Ae=Ae[ue])}}return ge.length>0?he.assignOrPush(Ee,we,Ae):(he.options.explicitRoot&&(xe=Ae,Ae={},ie(Ae,we,xe)),he.resultObject=Ae,he.saxParser.ended=!0,he.emit("end",he.resultObject))}}(this),fe=function(he){return function(pe){var ye,ve;if(ve=ge[ge.length-1],ve)return ve[ue]+=pe,he.options.explicitChildren&&he.options.preserveChildrenOrder&&he.options.charsAsChildren&&(he.options.includeWhiteChars||pe.replace(/\\n/g,"").trim()!=="")&&(ve[he.options.childkey]=ve[he.options.childkey]||[],ye={"#name":"__text__"},ye[ue]=pe,he.options.normalize&&(ye[ue]=ye[ue].replace(/\s{2,}/g," ").trim()),ve[he.options.childkey].push(ye)),ve}}(this),this.saxParser.ontext=fe,this.saxParser.oncdata=function(he){return function(pe){var ye;if(ye=fe(pe),ye)return ye.cdata=!0}}(this)},ee.prototype.parseString=function(z,ue){var fe;ue!=null&&typeof ue=="function"&&(this.on("end",function(ge){return this.reset(),ue(null,ge)}),this.on("error",function(ge){return this.reset(),ue(ge)}));try{return z=z.toString(),z.trim()===""?(this.emit("end",null),!0):(z=le.stripBOM(z),this.options.async?(this.remaining=z,te(this.processAsync),this.saxParser):this.saxParser.write(z).close())}catch(ge){if(fe=ge,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw fe}else return this.emit("error",fe),this.saxParser.errThrown=!0}},ee.prototype.parseStringPromise=function(z){return new Promise(function(ue){return function(fe,ge){return ue.parseString(z,function(he,pe){return he?ge(he):fe(pe)})}}(this))},ee}(se),de.parseString=function(b,ee,z){var ue,fe,ge;return z!=null?(typeof z=="function"&&(ue=z),typeof ee=="object"&&(fe=ee)):(typeof ee=="function"&&(ue=ee),fe={}),ge=new de.Parser(fe),ge.parseString(b,ue)},de.parseStringPromise=function(b,ee){var z,ue;return typeof ee=="object"&&(z=ee),ue=new de.Parser(z),ue.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,me,de){(function(){"use strict";var le;le=new RegExp(/(?!xmlns)^.*:/),de.normalize=function(ae){return ae.toLowerCase()},de.firstCharLowerCase=function(ae){return ae.charAt(0).toLowerCase()+ae.slice(1)},de.stripPrefix=function(ae){return ae.replace(le,"")},de.parseNumbers=function(ae){return isNaN(ae)||(ae=ae%1===0?parseInt(ae,10):parseFloat(ae)),ae},de.parseBooleans=function(ae){return/^(?:true|false)$/i.test(ae)&&(ae=ae.toLowerCase()==="true"),ae}}).call(this)},{}],426:[function(E,me,de){(function(){"use strict";var le,ae,ie,se,ce=function(re,ne){for(var te in ne)oe.call(ne,te)&&(re[te]=ne[te]);function a(){this.constructor=re}return a.prototype=ne.prototype,re.prototype=new a,re.__super__=ne.prototype,re},oe={}.hasOwnProperty;ae=E("./defaults"),le=E("./builder"),ie=E("./parser"),se=E("./processors"),de.defaults=ae.defaults,de.processors=se,de.ValidationError=function(re){ce(ne,re);function ne(te){this.message=te}return ne}(Error),de.Builder=le.Builder,de.Parser=ie.Parser,de.parseString=ie.parseString,de.parseStringPromise=ie.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,me,de){(function(){me.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,me,de){(function(){me.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,me,de){(function(){var le,ae,ie,se,ce,oe,re,ne=[].slice,te={}.hasOwnProperty;le=function(){var a,y,x,b,ee,z;if(z=arguments[0],ee=2<=arguments.length?ne.call(arguments,1):[],ce(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=ee.length;a<x;a++)if(b=ee[a],b!=null)for(y in b)te.call(b,y)&&(z[y]=b[y]);return z},ce=function(a){return!!a&&Object.prototype.toString.call(a)==="[object Function]"},oe=function(a){var y;return!!a&&((y=typeof a)=="function"||y==="object")},ie=function(a){return ce(Array.isArray)?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"},se=function(a){var y;if(ie(a))return!a.length;for(y in a)if(te.call(a,y))return!1;return!0},re=function(a){var y,x;return oe(a)&&(x=Object.getPrototypeOf(a))&&(y=x.constructor)&&typeof y=="function"&&y instanceof y&&Function.prototype.toString.call(y)===Function.prototype.toString.call(Object)},ae=function(a){return ce(a.valueOf)?a.valueOf():a},me.exports.assign=le,me.exports.isFunction=ce,me.exports.isObject=oe,me.exports.isArray=ie,me.exports.isEmpty=se,me.exports.isPlainObject=re,me.exports.getValue=ae}).call(this)},{}],430:[function(E,me,de){(function(){me.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(E,me,de){(function(){var le,ae,ie;le=E("./NodeType"),ie=E("./XMLNode"),me.exports=ae=function(){function se(ce,oe,re){if(this.parent=ce,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),oe==null)throw new Error("Missing attribute name. "+this.debugInfo(oe));this.name=this.stringify.name(oe),this.value=this.stringify.attValue(re),this.type=le.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(se.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(se.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(se.prototype,"textContent",{get:function(){return this.value},set:function(ce){return this.value=ce||""}}),Object.defineProperty(se.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(se.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(se.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(se.prototype,"specified",{get:function(){return!0}}),se.prototype.clone=function(){return Object.create(this)},se.prototype.toString=function(ce){return this.options.writer.attribute(this,this.options.writer.filterOptions(ce))},se.prototype.debugInfo=function(ce){return ce=ce||this.name,ce==null?"parent: <"+this.parent.name+">":"attribute: {"+ce+"}, parent: <"+this.parent.name+">"},se.prototype.isEqualNode=function(ce){return!(ce.namespaceURI!==this.namespaceURI||ce.prefix!==this.prefix||ce.localName!==this.localName||ce.value!==this.value)},se}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,me,de){(function(){var le,ae,ie,se=function(oe,re){for(var ne in re)ce.call(re,ne)&&(oe[ne]=re[ne]);function te(){this.constructor=oe}return te.prototype=re.prototype,oe.prototype=new te,oe.__super__=re.prototype,oe},ce={}.hasOwnProperty;le=E("./NodeType"),ie=E("./XMLCharacterData"),me.exports=ae=function(oe){se(re,oe);function re(ne,te){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=le.CData,this.value=this.stringify.cdata(te)}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ne){return this.options.writer.cdata(this,this.options.writer.filterOptions(ne))},re}(ie)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,me,de){(function(){var le,ae,ie=function(ce,oe){for(var re in oe)se.call(oe,re)&&(ce[re]=oe[re]);function ne(){this.constructor=ce}return ne.prototype=oe.prototype,ce.prototype=new ne,ce.__super__=oe.prototype,ce},se={}.hasOwnProperty;ae=E("./XMLNode"),me.exports=le=function(ce){ie(oe,ce);function oe(re){oe.__super__.constructor.call(this,re),this.value=""}return Object.defineProperty(oe.prototype,"data",{get:function(){return this.value},set:function(re){return this.value=re||""}}),Object.defineProperty(oe.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(oe.prototype,"textContent",{get:function(){return this.value},set:function(re){return this.value=re||""}}),oe.prototype.clone=function(){return Object.create(this)},oe.prototype.substringData=function(re,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe.prototype.appendData=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe.prototype.insertData=function(re,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe.prototype.deleteData=function(re,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe.prototype.replaceData=function(re,ne,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe.prototype.isEqualNode=function(re){return!(!oe.__super__.isEqualNode.apply(this,arguments).isEqualNode(re)||re.data!==this.data)},oe}(ae)}).call(this)},{"./XMLNode":450}],434:[function(E,me,de){(function(){var le,ae,ie,se=function(oe,re){for(var ne in re)ce.call(re,ne)&&(oe[ne]=re[ne]);function te(){this.constructor=oe}return te.prototype=re.prototype,oe.prototype=new te,oe.__super__=re.prototype,oe},ce={}.hasOwnProperty;le=E("./NodeType"),ae=E("./XMLCharacterData"),me.exports=ie=function(oe){se(re,oe);function re(ne,te){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=le.Comment,this.value=this.stringify.comment(te)}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ne){return this.options.writer.comment(this,this.options.writer.filterOptions(ne))},re}(ae)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,me,de){(function(){var le,ae,ie;ae=E("./XMLDOMErrorHandler"),ie=E("./XMLDOMStringList"),me.exports=le=function(){function se(){var ce;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new ae,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=ce=Object.create(this.defaultParams)}return Object.defineProperty(se.prototype,"parameterNames",{get:function(){return new ie(Object.keys(this.defaultParams))}}),se.prototype.getParameter=function(ce){return this.params.hasOwnProperty(ce)?this.params[ce]:null},se.prototype.canSetParameter=function(ce,oe){return!0},se.prototype.setParameter=function(ce,oe){return oe!=null?this.params[ce]=oe:delete this.params[ce]},se}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,me,de){(function(){var le;me.exports=le=function(){function ae(){}return ae.prototype.handleError=function(ie){throw new Error(ie)},ae}()}).call(this)},{}],437:[function(E,me,de){(function(){var le;me.exports=le=function(){function ae(){}return ae.prototype.hasFeature=function(ie,se){return!0},ae.prototype.createDocumentType=function(ie,se,ce){throw new Error("This DOM method is not implemented.")},ae.prototype.createDocument=function(ie,se,ce){throw new Error("This DOM method is not implemented.")},ae.prototype.createHTMLDocument=function(ie){throw new Error("This DOM method is not implemented.")},ae.prototype.getFeature=function(ie,se){throw new Error("This DOM method is not implemented.")},ae}()}).call(this)},{}],438:[function(E,me,de){(function(){var le;me.exports=le=function(){function ae(ie){this.arr=ie||[]}return Object.defineProperty(ae.prototype,"length",{get:function(){return this.arr.length}}),ae.prototype.item=function(ie){return this.arr[ie]||null},ae.prototype.contains=function(ie){return this.arr.indexOf(ie)!==-1},ae}()}).call(this)},{}],439:[function(E,me,de){(function(){var le,ae,ie,se=function(oe,re){for(var ne in re)ce.call(re,ne)&&(oe[ne]=re[ne]);function te(){this.constructor=oe}return te.prototype=re.prototype,oe.prototype=new te,oe.__super__=re.prototype,oe},ce={}.hasOwnProperty;ie=E("./XMLNode"),le=E("./NodeType"),me.exports=ae=function(oe){se(re,oe);function re(ne,te,a,y,x,b){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(te));if(!y)throw new Error("Missing DTD attribute type. "+this.debugInfo(te));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(te));if(x.indexOf("#")!==0&&(x="#"+x),!x.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(te));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(te));this.elementName=this.stringify.name(te),this.type=le.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return re.prototype.toString=function(ne){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ne))},re}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,me,de){(function(){var le,ae,ie,se=function(oe,re){for(var ne in re)ce.call(re,ne)&&(oe[ne]=re[ne]);function te(){this.constructor=oe}return te.prototype=re.prototype,oe.prototype=new te,oe.__super__=re.prototype,oe},ce={}.hasOwnProperty;ie=E("./XMLNode"),le=E("./NodeType"),me.exports=ae=function(oe){se(re,oe);function re(ne,te,a){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.name(te),this.type=le.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return re.prototype.toString=function(ne){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(ne))},re}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,me,de){(function(){var le,ae,ie,se,ce=function(re,ne){for(var te in ne)oe.call(ne,te)&&(re[te]=ne[te]);function a(){this.constructor=re}return a.prototype=ne.prototype,re.prototype=new a,re.__super__=ne.prototype,re},oe={}.hasOwnProperty;se=E("./Utility").isObject,ie=E("./XMLNode"),le=E("./NodeType"),me.exports=ae=function(re){ce(ne,re);function ne(te,a,y,x){if(ne.__super__.constructor.call(this,te),y==null)throw new Error("Missing DTD entity name. "+this.debugInfo(y));if(x==null)throw new Error("Missing DTD entity value. "+this.debugInfo(y));if(this.pe=!!a,this.name=this.stringify.name(y),this.type=le.EntityDeclaration,!se(x))this.value=this.stringify.dtdEntityValue(x),this.internal=!0;else{if(!x.pubID&&!x.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(y));if(x.pubID&&!x.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(y));if(this.internal=!1,x.pubID!=null&&(this.pubID=this.stringify.dtdPubID(x.pubID)),x.sysID!=null&&(this.sysID=this.stringify.dtdSysID(x.sysID)),x.nData!=null&&(this.nData=this.stringify.dtdNData(x.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(y))}}return Object.defineProperty(ne.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ne.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(ne.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(ne.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(ne.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(ne.prototype,"xmlVersion",{get:function(){return null}}),ne.prototype.toString=function(te){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(te))},ne}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,me,de){(function(){var le,ae,ie,se=function(oe,re){for(var ne in re)ce.call(re,ne)&&(oe[ne]=re[ne]);function te(){this.constructor=oe}return te.prototype=re.prototype,oe.prototype=new te,oe.__super__=re.prototype,oe},ce={}.hasOwnProperty;ie=E("./XMLNode"),le=E("./NodeType"),me.exports=ae=function(oe){se(re,oe);function re(ne,te,a){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing DTD notation name. "+this.debugInfo(te));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(te));this.name=this.stringify.name(te),this.type=le.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(re.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(re.prototype,"systemId",{get:function(){return this.sysID}}),re.prototype.toString=function(ne){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ne))},re}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,me,de){(function(){var le,ae,ie,se,ce=function(re,ne){for(var te in ne)oe.call(ne,te)&&(re[te]=ne[te]);function a(){this.constructor=re}return a.prototype=ne.prototype,re.prototype=new a,re.__super__=ne.prototype,re},oe={}.hasOwnProperty;se=E("./Utility").isObject,ie=E("./XMLNode"),le=E("./NodeType"),me.exports=ae=function(re){ce(ne,re);function ne(te,a,y,x){var b;ne.__super__.constructor.call(this,te),se(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=le.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return ne.prototype.toString=function(te){return this.options.writer.declaration(this,this.options.writer.filterOptions(te))},ne}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,me,de){(function(){var le,ae,ie,se,ce,oe,re,ne,te,a=function(x,b){for(var ee in b)y.call(b,ee)&&(x[ee]=b[ee]);function z(){this.constructor=x}return z.prototype=b.prototype,x.prototype=new z,x.__super__=b.prototype,x},y={}.hasOwnProperty;te=E("./Utility").isObject,ne=E("./XMLNode"),le=E("./NodeType"),ae=E("./XMLDTDAttList"),se=E("./XMLDTDEntity"),ie=E("./XMLDTDElement"),ce=E("./XMLDTDNotation"),re=E("./XMLNamedNodeMap"),me.exports=oe=function(x){a(b,x);function b(ee,z,ue){var fe,ge,he,pe,ye,ve;if(b.__super__.constructor.call(this,ee),this.type=le.DocType,ee.children){for(pe=ee.children,ge=0,he=pe.length;ge<he;ge++)if(fe=pe[ge],fe.type===le.Element){this.name=fe.name;break}}this.documentObject=ee,te(z)&&(ye=z,z=ye.pubID,ue=ye.sysID),ue==null&&(ve=[z,ue],ue=ve[0],z=ve[1]),z!=null&&(this.pubID=this.stringify.dtdPubID(z)),ue!=null&&(this.sysID=this.stringify.dtdSysID(ue))}return Object.defineProperty(b.prototype,"entities",{get:function(){var ee,z,ue,fe,ge;for(fe={},ge=this.children,z=0,ue=ge.length;z<ue;z++)ee=ge[z],ee.type===le.EntityDeclaration&&!ee.pe&&(fe[ee.name]=ee);return new re(fe)}}),Object.defineProperty(b.prototype,"notations",{get:function(){var ee,z,ue,fe,ge;for(fe={},ge=this.children,z=0,ue=ge.length;z<ue;z++)ee=ge[z],ee.type===le.NotationDeclaration&&(fe[ee.name]=ee);return new re(fe)}}),Object.defineProperty(b.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(b.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(b.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),b.prototype.element=function(ee,z){var ue;return ue=new ie(this,ee,z),this.children.push(ue),this},b.prototype.attList=function(ee,z,ue,fe,ge){var he;return he=new ae(this,ee,z,ue,fe,ge),this.children.push(he),this},b.prototype.entity=function(ee,z){var ue;return ue=new se(this,!1,ee,z),this.children.push(ue),this},b.prototype.pEntity=function(ee,z){var ue;return ue=new se(this,!0,ee,z),this.children.push(ue),this},b.prototype.notation=function(ee,z){var ue;return ue=new ce(this,ee,z),this.children.push(ue),this},b.prototype.toString=function(ee){return this.options.writer.docType(this,this.options.writer.filterOptions(ee))},b.prototype.ele=function(ee,z){return this.element(ee,z)},b.prototype.att=function(ee,z,ue,fe,ge){return this.attList(ee,z,ue,fe,ge)},b.prototype.ent=function(ee,z){return this.entity(ee,z)},b.prototype.pent=function(ee,z){return this.pEntity(ee,z)},b.prototype.not=function(ee,z){return this.notation(ee,z)},b.prototype.up=function(){return this.root()||this.documentObject},b.prototype.isEqualNode=function(ee){return!(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(ee)||ee.name!==this.name||ee.publicId!==this.publicId||ee.systemId!==this.systemId)},b}(ne)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(E,me,de){(function(){var le,ae,ie,se,ce,oe,re,ne,te=function(y,x){for(var b in x)a.call(x,b)&&(y[b]=x[b]);function ee(){this.constructor=y}return ee.prototype=x.prototype,y.prototype=new ee,y.__super__=x.prototype,y},a={}.hasOwnProperty;ne=E("./Utility").isPlainObject,ie=E("./XMLDOMImplementation"),ae=E("./XMLDOMConfiguration"),ce=E("./XMLNode"),le=E("./NodeType"),re=E("./XMLStringifier"),oe=E("./XMLStringWriter"),me.exports=se=function(y){te(x,y);function x(b){x.__super__.constructor.call(this,null),this.name="#document",this.type=le.Document,this.documentURI=null,this.domConfig=new ae,b||(b={}),b.writer||(b.writer=new oe),this.options=b,this.stringify=new re(b)}return Object.defineProperty(x.prototype,"implementation",{value:new ie}),Object.defineProperty(x.prototype,"doctype",{get:function(){var b,ee,z,ue;for(ue=this.children,ee=0,z=ue.length;ee<z;ee++)if(b=ue[ee],b.type===le.DocType)return b;return null}}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(x.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(x.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===le.Declaration?this.children[0].encoding:null}}),Object.defineProperty(x.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===le.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(x.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===le.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(x.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(x.prototype,"origin",{get:function(){return null}}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(x.prototype,"contentType",{get:function(){return null}}),x.prototype.end=function(b){var ee;return ee={},b?ne(b)&&(ee=b,b=this.options.writer):b=this.options.writer,b.document(this,b.filterOptions(ee))},x.prototype.toString=function(b){return this.options.writer.document(this,this.options.writer.filterOptions(b))},x.prototype.createElement=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createTextNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createComment=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createCDATASection=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createProcessingInstruction=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createAttribute=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createEntityReference=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByTagName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.importNode=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createElementNS=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createAttributeNS=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByTagNameNS=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementById=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.adoptNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.renameNode=function(b,ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByClassName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createEvent=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createNodeIterator=function(b,ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createTreeWalker=function(b,ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x}(ce)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(E,me,de){(function(){var le,ae,ie,se,ce,oe,re,ne,te,a,y,x,b,ee,z,ue,fe,ge,he,pe,ye,ve,Pe,we,Ae={}.hasOwnProperty;we=E("./Utility"),ve=we.isObject,ye=we.isFunction,Pe=we.isPlainObject,pe=we.getValue,le=E("./NodeType"),x=E("./XMLDocument"),ee=E("./XMLElement"),se=E("./XMLCData"),ce=E("./XMLComment"),ue=E("./XMLRaw"),he=E("./XMLText"),z=E("./XMLProcessingInstruction"),a=E("./XMLDeclaration"),y=E("./XMLDocType"),oe=E("./XMLDTDAttList"),ne=E("./XMLDTDEntity"),re=E("./XMLDTDElement"),te=E("./XMLDTDNotation"),ie=E("./XMLAttribute"),ge=E("./XMLStringifier"),fe=E("./XMLStringWriter"),ae=E("./WriterState"),me.exports=b=function(){function _e(xe,Ee,Oe){var Ie;this.name="?xml",this.type=le.Document,xe||(xe={}),Ie={},xe.writer?Pe(xe.writer)&&(Ie=xe.writer,xe.writer=new fe):xe.writer=new fe,this.options=xe,this.writer=xe.writer,this.writerOptions=this.writer.filterOptions(Ie),this.stringify=new ge(xe),this.onDataCallback=Ee||function(){},this.onEndCallback=Oe||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return _e.prototype.createChildNode=function(xe){var Ee,Oe,Ie,Ne,Te,Je,Qe,Ze;switch(xe.type){case le.CData:this.cdata(xe.value);break;case le.Comment:this.comment(xe.value);break;case le.Element:Ie={},Qe=xe.attribs;for(Oe in Qe)Ae.call(Qe,Oe)&&(Ee=Qe[Oe],Ie[Oe]=Ee.value);this.node(xe.name,Ie);break;case le.Dummy:this.dummy();break;case le.Raw:this.raw(xe.value);break;case le.Text:this.text(xe.value);break;case le.ProcessingInstruction:this.instruction(xe.target,xe.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+xe.constructor.name)}for(Ze=xe.children,Te=0,Je=Ze.length;Te<Je;Te++)Ne=Ze[Te],this.createChildNode(Ne),Ne.type===le.Element&&this.up();return this},_e.prototype.dummy=function(){return this},_e.prototype.node=function(xe,Ee,Oe){var Ie;if(xe==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(xe));return this.openCurrent(),xe=pe(xe),Ee==null&&(Ee={}),Ee=pe(Ee),ve(Ee)||(Ie=[Ee,Oe],Oe=Ie[0],Ee=Ie[1]),this.currentNode=new ee(this,xe,Ee),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,Oe!=null&&this.text(Oe),this},_e.prototype.element=function(xe,Ee,Oe){var Ie,Ne,Te,Je,Qe,Ze;if(this.currentNode&&this.currentNode.type===le.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(xe)||ve(xe)||ye(xe))for(Je=this.options.noValidation,this.options.noValidation=!0,Ze=new x(this.options).element("TEMP_ROOT"),Ze.element(xe),this.options.noValidation=Je,Qe=Ze.children,Ne=0,Te=Qe.length;Ne<Te;Ne++)Ie=Qe[Ne],this.createChildNode(Ie),Ie.type===le.Element&&this.up();else this.node(xe,Ee,Oe);return this},_e.prototype.attribute=function(xe,Ee){var Oe,Ie;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(xe));if(xe!=null&&(xe=pe(xe)),ve(xe))for(Oe in xe)Ae.call(xe,Oe)&&(Ie=xe[Oe],this.attribute(Oe,Ie));else ye(Ee)&&(Ee=Ee.apply()),this.options.keepNullAttributes&&Ee==null?this.currentNode.attribs[xe]=new ie(this,xe,""):Ee!=null&&(this.currentNode.attribs[xe]=new ie(this,xe,Ee));return this},_e.prototype.text=function(xe){var Ee;return this.openCurrent(),Ee=new he(this,xe),this.onData(this.writer.text(Ee,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.cdata=function(xe){var Ee;return this.openCurrent(),Ee=new se(this,xe),this.onData(this.writer.cdata(Ee,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.comment=function(xe){var Ee;return this.openCurrent(),Ee=new ce(this,xe),this.onData(this.writer.comment(Ee,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.raw=function(xe){var Ee;return this.openCurrent(),Ee=new ue(this,xe),this.onData(this.writer.raw(Ee,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.instruction=function(xe,Ee){var Oe,Ie,Ne,Te,Je;if(this.openCurrent(),xe!=null&&(xe=pe(xe)),Ee!=null&&(Ee=pe(Ee)),Array.isArray(xe))for(Oe=0,Te=xe.length;Oe<Te;Oe++)Ie=xe[Oe],this.instruction(Ie);else if(ve(xe))for(Ie in xe)Ae.call(xe,Ie)&&(Ne=xe[Ie],this.instruction(Ie,Ne));else ye(Ee)&&(Ee=Ee.apply()),Je=new z(this,xe,Ee),this.onData(this.writer.processingInstruction(Je,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},_e.prototype.declaration=function(xe,Ee,Oe){var Ie;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return Ie=new a(this,xe,Ee,Oe),this.onData(this.writer.declaration(Ie,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.doctype=function(xe,Ee,Oe){if(this.openCurrent(),xe==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new y(this,Ee,Oe),this.currentNode.rootNodeName=xe,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},_e.prototype.dtdElement=function(xe,Ee){var Oe;return this.openCurrent(),Oe=new re(this,xe,Ee),this.onData(this.writer.dtdElement(Oe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.attList=function(xe,Ee,Oe,Ie,Ne){var Te;return this.openCurrent(),Te=new oe(this,xe,Ee,Oe,Ie,Ne),this.onData(this.writer.dtdAttList(Te,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.entity=function(xe,Ee){var Oe;return this.openCurrent(),Oe=new ne(this,!1,xe,Ee),this.onData(this.writer.dtdEntity(Oe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.pEntity=function(xe,Ee){var Oe;return this.openCurrent(),Oe=new ne(this,!0,xe,Ee),this.onData(this.writer.dtdEntity(Oe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.notation=function(xe,Ee){var Oe;return this.openCurrent(),Oe=new te(this,xe,Ee),this.onData(this.writer.dtdNotation(Oe,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(xe){var Ee,Oe,Ie,Ne;if(!xe.isOpen){if(!this.root&&this.currentLevel===0&&xe.type===le.Element&&(this.root=xe),Oe="",xe.type===le.Element){this.writerOptions.state=ae.OpenTag,Oe=this.writer.indent(xe,this.writerOptions,this.currentLevel)+"<"+xe.name,Ne=xe.attribs;for(Ie in Ne)Ae.call(Ne,Ie)&&(Ee=Ne[Ie],Oe+=this.writer.attribute(Ee,this.writerOptions,this.currentLevel));Oe+=(xe.children?">":"/>")+this.writer.endline(xe,this.writerOptions,this.currentLevel),this.writerOptions.state=ae.InsideTag}else this.writerOptions.state=ae.OpenTag,Oe=this.writer.indent(xe,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+xe.rootNodeName,xe.pubID&&xe.sysID?Oe+=' PUBLIC "'+xe.pubID+'" "'+xe.sysID+'"':xe.sysID&&(Oe+=' SYSTEM "'+xe.sysID+'"'),xe.children?(Oe+=" [",this.writerOptions.state=ae.InsideTag):(this.writerOptions.state=ae.CloseTag,Oe+=">"),Oe+=this.writer.endline(xe,this.writerOptions,this.currentLevel);return this.onData(Oe,this.currentLevel),xe.isOpen=!0}},_e.prototype.closeNode=function(xe){var Ee;if(!xe.isClosed)return Ee="",this.writerOptions.state=ae.CloseTag,xe.type===le.Element?Ee=this.writer.indent(xe,this.writerOptions,this.currentLevel)+"</"+xe.name+">"+this.writer.endline(xe,this.writerOptions,this.currentLevel):Ee=this.writer.indent(xe,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(xe,this.writerOptions,this.currentLevel),this.writerOptions.state=ae.None,this.onData(Ee,this.currentLevel),xe.isClosed=!0},_e.prototype.onData=function(xe,Ee){return this.documentStarted=!0,this.onDataCallback(xe,Ee+1)},_e.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},_e.prototype.debugInfo=function(xe){return xe==null?"":"node: <"+xe+">"},_e.prototype.ele=function(){return this.element.apply(this,arguments)},_e.prototype.nod=function(xe,Ee,Oe){return this.node(xe,Ee,Oe)},_e.prototype.txt=function(xe){return this.text(xe)},_e.prototype.dat=function(xe){return this.cdata(xe)},_e.prototype.com=function(xe){return this.comment(xe)},_e.prototype.ins=function(xe,Ee){return this.instruction(xe,Ee)},_e.prototype.dec=function(xe,Ee,Oe){return this.declaration(xe,Ee,Oe)},_e.prototype.dtd=function(xe,Ee,Oe){return this.doctype(xe,Ee,Oe)},_e.prototype.e=function(xe,Ee,Oe){return this.element(xe,Ee,Oe)},_e.prototype.n=function(xe,Ee,Oe){return this.node(xe,Ee,Oe)},_e.prototype.t=function(xe){return this.text(xe)},_e.prototype.d=function(xe){return this.cdata(xe)},_e.prototype.c=function(xe){return this.comment(xe)},_e.prototype.r=function(xe){return this.raw(xe)},_e.prototype.i=function(xe,Ee){return this.instruction(xe,Ee)},_e.prototype.att=function(){return this.currentNode&&this.currentNode.type===le.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_e.prototype.a=function(){return this.currentNode&&this.currentNode.type===le.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_e.prototype.ent=function(xe,Ee){return this.entity(xe,Ee)},_e.prototype.pent=function(xe,Ee){return this.pEntity(xe,Ee)},_e.prototype.not=function(xe,Ee){return this.notation(xe,Ee)},_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,me,de){(function(){var le,ae,ie,se=function(oe,re){for(var ne in re)ce.call(re,ne)&&(oe[ne]=re[ne]);function te(){this.constructor=oe}return te.prototype=re.prototype,oe.prototype=new te,oe.__super__=re.prototype,oe},ce={}.hasOwnProperty;ie=E("./XMLNode"),le=E("./NodeType"),me.exports=ae=function(oe){se(re,oe);function re(ne){re.__super__.constructor.call(this,ne),this.type=le.Dummy}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ne){return""},re}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,me,de){(function(){var le,ae,ie,se,ce,oe,re,ne,te,a=function(x,b){for(var ee in b)y.call(b,ee)&&(x[ee]=b[ee]);function z(){this.constructor=x}return z.prototype=b.prototype,x.prototype=new z,x.__super__=b.prototype,x},y={}.hasOwnProperty;te=E("./Utility"),ne=te.isObject,re=te.isFunction,oe=te.getValue,ce=E("./XMLNode"),le=E("./NodeType"),ae=E("./XMLAttribute"),se=E("./XMLNamedNodeMap"),me.exports=ie=function(x){a(b,x);function b(ee,z,ue){var fe,ge,he,pe;if(b.__super__.constructor.call(this,ee),z==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(z),this.type=le.Element,this.attribs={},this.schemaTypeInfo=null,ue!=null&&this.attribute(ue),ee.type===le.Document&&(this.isRoot=!0,this.documentObject=ee,ee.rootObject=this,ee.children)){for(pe=ee.children,ge=0,he=pe.length;ge<he;ge++)if(fe=pe[ge],fe.type===le.DocType){fe.name=this.name;break}}}return Object.defineProperty(b.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(b.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(b.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(b.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(b.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new se(this.attribs)),this.attributeMap}}),b.prototype.clone=function(){var ee,z,ue,fe;ue=Object.create(this),ue.isRoot&&(ue.documentObject=null),ue.attribs={},fe=this.attribs;for(z in fe)y.call(fe,z)&&(ee=fe[z],ue.attribs[z]=ee.clone());return ue.children=[],this.children.forEach(function(ge){var he;return he=ge.clone(),he.parent=ue,ue.children.push(he)}),ue},b.prototype.attribute=function(ee,z){var ue,fe;if(ee!=null&&(ee=oe(ee)),ne(ee))for(ue in ee)y.call(ee,ue)&&(fe=ee[ue],this.attribute(ue,fe));else re(z)&&(z=z.apply()),this.options.keepNullAttributes&&z==null?this.attribs[ee]=new ae(this,ee,""):z!=null&&(this.attribs[ee]=new ae(this,ee,z));return this},b.prototype.removeAttribute=function(ee){var z,ue,fe;if(ee==null)throw new Error("Missing attribute name. "+this.debugInfo());if(ee=oe(ee),Array.isArray(ee))for(ue=0,fe=ee.length;ue<fe;ue++)z=ee[ue],delete this.attribs[z];else delete this.attribs[ee];return this},b.prototype.toString=function(ee){return this.options.writer.element(this,this.options.writer.filterOptions(ee))},b.prototype.att=function(ee,z){return this.attribute(ee,z)},b.prototype.a=function(ee,z){return this.attribute(ee,z)},b.prototype.getAttribute=function(ee){return this.attribs.hasOwnProperty(ee)?this.attribs[ee].value:null},b.prototype.setAttribute=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNode=function(ee){return this.attribs.hasOwnProperty(ee)?this.attribs[ee]:null},b.prototype.setAttributeNode=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNode=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNS=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNS=function(ee,z,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNS=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNodeNS=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNodeNS=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.hasAttribute=function(ee){return this.attribs.hasOwnProperty(ee)},b.prototype.hasAttributeNS=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttribute=function(ee,z){return this.attribs.hasOwnProperty(ee)?this.attribs[ee].isId:z},b.prototype.setIdAttributeNS=function(ee,z,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttributeNode=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByClassName=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(ee){var z,ue,fe;if(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(ee)||ee.namespaceURI!==this.namespaceURI||ee.prefix!==this.prefix||ee.localName!==this.localName||ee.attribs.length!==this.attribs.length)return!1;for(z=ue=0,fe=this.attribs.length-1;0<=fe?ue<=fe:ue>=fe;z=0<=fe?++ue:--ue)if(!this.attribs[z].isEqualNode(ee.attribs[z]))return!1;return!0},b}(ce)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,me,de){(function(){var le;me.exports=le=function(){function ae(ie){this.nodes=ie}return Object.defineProperty(ae.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),ae.prototype.clone=function(){return this.nodes=null},ae.prototype.getNamedItem=function(ie){return this.nodes[ie]},ae.prototype.setNamedItem=function(ie){var se;return se=this.nodes[ie.nodeName],this.nodes[ie.nodeName]=ie,se||null},ae.prototype.removeNamedItem=function(ie){var se;return se=this.nodes[ie],delete this.nodes[ie],se||null},ae.prototype.item=function(ie){return this.nodes[Object.keys(this.nodes)[ie]]||null},ae.prototype.getNamedItemNS=function(ie,se){throw new Error("This DOM method is not implemented.")},ae.prototype.setNamedItemNS=function(ie){throw new Error("This DOM method is not implemented.")},ae.prototype.removeNamedItemNS=function(ie,se){throw new Error("This DOM method is not implemented.")},ae}()}).call(this)},{}],450:[function(E,me,de){(function(){var le,ae,ie,se,ce,oe,re,ne,te,a,y,x,b,ee,z,ue,fe,ge,he,pe={}.hasOwnProperty;he=E("./Utility"),ge=he.isObject,fe=he.isFunction,ue=he.isEmpty,z=he.getValue,ne=null,ie=null,se=null,ce=null,oe=null,b=null,ee=null,x=null,re=null,ae=null,y=null,te=null,le=null,me.exports=a=function(){function ye(ve){this.parent=ve,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ne||(ne=E("./XMLElement"),ie=E("./XMLCData"),se=E("./XMLComment"),ce=E("./XMLDeclaration"),oe=E("./XMLDocType"),b=E("./XMLRaw"),ee=E("./XMLText"),x=E("./XMLProcessingInstruction"),re=E("./XMLDummy"),ae=E("./NodeType"),y=E("./XMLNodeList"),te=E("./XMLNamedNodeMap"),le=E("./DocumentPosition"))}return Object.defineProperty(ye.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(ye.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(ye.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(ye.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(ye.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(ye.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(ye.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(ye.prototype,"previousSibling",{get:function(){var ve;return ve=this.parent.children.indexOf(this),this.parent.children[ve-1]||null}}),Object.defineProperty(ye.prototype,"nextSibling",{get:function(){var ve;return ve=this.parent.children.indexOf(this),this.parent.children[ve+1]||null}}),Object.defineProperty(ye.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(ye.prototype,"textContent",{get:function(){var ve,Pe,we,Ae,_e;if(this.nodeType===ae.Element||this.nodeType===ae.DocumentFragment){for(_e="",Ae=this.children,Pe=0,we=Ae.length;Pe<we;Pe++)ve=Ae[Pe],ve.textContent&&(_e+=ve.textContent);return _e}else return null},set:function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),ye.prototype.setParent=function(ve){var Pe,we,Ae,_e,xe;for(this.parent=ve,ve&&(this.options=ve.options,this.stringify=ve.stringify),_e=this.children,xe=[],we=0,Ae=_e.length;we<Ae;we++)Pe=_e[we],xe.push(Pe.setParent(this));return xe},ye.prototype.element=function(ve,Pe,we){var Ae,_e,xe,Ee,Oe,Ie,Ne,Te,Je,Qe,Ze;if(Ie=null,Pe===null&&we==null&&(Je=[{},null],Pe=Je[0],we=Je[1]),Pe==null&&(Pe={}),Pe=z(Pe),ge(Pe)||(Qe=[Pe,we],we=Qe[0],Pe=Qe[1]),ve!=null&&(ve=z(ve)),Array.isArray(ve))for(xe=0,Ne=ve.length;xe<Ne;xe++)_e=ve[xe],Ie=this.element(_e);else if(fe(ve))Ie=this.element(ve.apply());else if(ge(ve)){for(Oe in ve)if(pe.call(ve,Oe))if(Ze=ve[Oe],fe(Ze)&&(Ze=Ze.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&Oe.indexOf(this.stringify.convertAttKey)===0)Ie=this.attribute(Oe.substr(this.stringify.convertAttKey.length),Ze);else if(!this.options.separateArrayItems&&Array.isArray(Ze)&&ue(Ze))Ie=this.dummy();else if(ge(Ze)&&ue(Ze))Ie=this.element(Oe);else if(!this.options.keepNullNodes&&Ze==null)Ie=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(Ze))for(Ee=0,Te=Ze.length;Ee<Te;Ee++)_e=Ze[Ee],Ae={},Ae[Oe]=_e,Ie=this.element(Ae);else ge(Ze)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Oe.indexOf(this.stringify.convertTextKey)===0?Ie=this.element(Ze):(Ie=this.element(Oe),Ie.element(Ze)):Ie=this.element(Oe,Ze)}else!this.options.keepNullNodes&&we===null?Ie=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&ve.indexOf(this.stringify.convertTextKey)===0?Ie=this.text(we):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&ve.indexOf(this.stringify.convertCDataKey)===0?Ie=this.cdata(we):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&ve.indexOf(this.stringify.convertCommentKey)===0?Ie=this.comment(we):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&ve.indexOf(this.stringify.convertRawKey)===0?Ie=this.raw(we):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&ve.indexOf(this.stringify.convertPIKey)===0?Ie=this.instruction(ve.substr(this.stringify.convertPIKey.length),we):Ie=this.node(ve,Pe,we);if(Ie==null)throw new Error("Could not create any elements with: "+ve+". "+this.debugInfo());return Ie},ye.prototype.insertBefore=function(ve,Pe,we){var Ae,_e,xe,Ee,Oe;if(ve!=null&&ve.type)return xe=ve,Ee=Pe,xe.setParent(this),Ee?(_e=children.indexOf(Ee),Oe=children.splice(_e),children.push(xe),Array.prototype.push.apply(children,Oe)):children.push(xe),xe;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(ve));return _e=this.parent.children.indexOf(this),Oe=this.parent.children.splice(_e),Ae=this.parent.element(ve,Pe,we),Array.prototype.push.apply(this.parent.children,Oe),Ae},ye.prototype.insertAfter=function(ve,Pe,we){var Ae,_e,xe;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(ve));return _e=this.parent.children.indexOf(this),xe=this.parent.children.splice(_e+1),Ae=this.parent.element(ve,Pe,we),Array.prototype.push.apply(this.parent.children,xe),Ae},ye.prototype.remove=function(){var ve,Pe;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return ve=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[ve,ve-ve+1].concat(Pe=[])),this.parent},ye.prototype.node=function(ve,Pe,we){var Ae,_e;return ve!=null&&(ve=z(ve)),Pe||(Pe={}),Pe=z(Pe),ge(Pe)||(_e=[Pe,we],we=_e[0],Pe=_e[1]),Ae=new ne(this,ve,Pe),we!=null&&Ae.text(we),this.children.push(Ae),Ae},ye.prototype.text=function(ve){var Pe;return ge(ve)&&this.element(ve),Pe=new ee(this,ve),this.children.push(Pe),this},ye.prototype.cdata=function(ve){var Pe;return Pe=new ie(this,ve),this.children.push(Pe),this},ye.prototype.comment=function(ve){var Pe;return Pe=new se(this,ve),this.children.push(Pe),this},ye.prototype.commentBefore=function(ve){var Pe,we,Ae;return we=this.parent.children.indexOf(this),Ae=this.parent.children.splice(we),Pe=this.parent.comment(ve),Array.prototype.push.apply(this.parent.children,Ae),this},ye.prototype.commentAfter=function(ve){var Pe,we,Ae;return we=this.parent.children.indexOf(this),Ae=this.parent.children.splice(we+1),Pe=this.parent.comment(ve),Array.prototype.push.apply(this.parent.children,Ae),this},ye.prototype.raw=function(ve){var Pe;return Pe=new b(this,ve),this.children.push(Pe),this},ye.prototype.dummy=function(){var ve;return ve=new re(this),ve},ye.prototype.instruction=function(ve,Pe){var we,Ae,_e,xe,Ee;if(ve!=null&&(ve=z(ve)),Pe!=null&&(Pe=z(Pe)),Array.isArray(ve))for(xe=0,Ee=ve.length;xe<Ee;xe++)we=ve[xe],this.instruction(we);else if(ge(ve))for(we in ve)pe.call(ve,we)&&(Ae=ve[we],this.instruction(we,Ae));else fe(Pe)&&(Pe=Pe.apply()),_e=new x(this,ve,Pe),this.children.push(_e);return this},ye.prototype.instructionBefore=function(ve,Pe){var we,Ae,_e;return Ae=this.parent.children.indexOf(this),_e=this.parent.children.splice(Ae),we=this.parent.instruction(ve,Pe),Array.prototype.push.apply(this.parent.children,_e),this},ye.prototype.instructionAfter=function(ve,Pe){var we,Ae,_e;return Ae=this.parent.children.indexOf(this),_e=this.parent.children.splice(Ae+1),we=this.parent.instruction(ve,Pe),Array.prototype.push.apply(this.parent.children,_e),this},ye.prototype.declaration=function(ve,Pe,we){var Ae,_e;return Ae=this.document(),_e=new ce(Ae,ve,Pe,we),Ae.children.length===0?Ae.children.unshift(_e):Ae.children[0].type===ae.Declaration?Ae.children[0]=_e:Ae.children.unshift(_e),Ae.root()||Ae},ye.prototype.dtd=function(ve,Pe){var we,Ae,_e,xe,Ee,Oe,Ie,Ne,Te,Je;for(Ae=this.document(),_e=new oe(Ae,ve,Pe),Te=Ae.children,xe=Ee=0,Ie=Te.length;Ee<Ie;xe=++Ee)if(we=Te[xe],we.type===ae.DocType)return Ae.children[xe]=_e,_e;for(Je=Ae.children,xe=Oe=0,Ne=Je.length;Oe<Ne;xe=++Oe)if(we=Je[xe],we.isRoot)return Ae.children.splice(xe,0,_e),_e;return Ae.children.push(_e),_e},ye.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},ye.prototype.root=function(){var ve;for(ve=this;ve;){if(ve.type===ae.Document)return ve.rootObject;if(ve.isRoot)return ve;ve=ve.parent}},ye.prototype.document=function(){var ve;for(ve=this;ve;){if(ve.type===ae.Document)return ve;ve=ve.parent}},ye.prototype.end=function(ve){return this.document().end(ve)},ye.prototype.prev=function(){var ve;if(ve=this.parent.children.indexOf(this),ve<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[ve-1]},ye.prototype.next=function(){var ve;if(ve=this.parent.children.indexOf(this),ve===-1||ve===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[ve+1]},ye.prototype.importDocument=function(ve){var Pe;return Pe=ve.root().clone(),Pe.parent=this,Pe.isRoot=!1,this.children.push(Pe),this},ye.prototype.debugInfo=function(ve){var Pe,we;return ve=ve||this.name,ve==null&&!((Pe=this.parent)!=null&&Pe.name)?"":ve==null?"parent: <"+this.parent.name+">":(we=this.parent)!=null&&we.name?"node: <"+ve+">, parent: <"+this.parent.name+">":"node: <"+ve+">"},ye.prototype.ele=function(ve,Pe,we){return this.element(ve,Pe,we)},ye.prototype.nod=function(ve,Pe,we){return this.node(ve,Pe,we)},ye.prototype.txt=function(ve){return this.text(ve)},ye.prototype.dat=function(ve){return this.cdata(ve)},ye.prototype.com=function(ve){return this.comment(ve)},ye.prototype.ins=function(ve,Pe){return this.instruction(ve,Pe)},ye.prototype.doc=function(){return this.document()},ye.prototype.dec=function(ve,Pe,we){return this.declaration(ve,Pe,we)},ye.prototype.e=function(ve,Pe,we){return this.element(ve,Pe,we)},ye.prototype.n=function(ve,Pe,we){return this.node(ve,Pe,we)},ye.prototype.t=function(ve){return this.text(ve)},ye.prototype.d=function(ve){return this.cdata(ve)},ye.prototype.c=function(ve){return this.comment(ve)},ye.prototype.r=function(ve){return this.raw(ve)},ye.prototype.i=function(ve,Pe){return this.instruction(ve,Pe)},ye.prototype.u=function(){return this.up()},ye.prototype.importXMLBuilder=function(ve){return this.importDocument(ve)},ye.prototype.replaceChild=function(ve,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},ye.prototype.removeChild=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},ye.prototype.appendChild=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},ye.prototype.hasChildNodes=function(){return this.children.length!==0},ye.prototype.cloneNode=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},ye.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},ye.prototype.isSupported=function(ve,Pe){return!0},ye.prototype.hasAttributes=function(){return this.attribs.length!==0},ye.prototype.compareDocumentPosition=function(ve){var Pe,we;return Pe=this,Pe===ve?0:this.document()!==ve.document()?(we=le.Disconnected|le.ImplementationSpecific,Math.random()<.5?we|=le.Preceding:we|=le.Following,we):Pe.isAncestor(ve)?le.Contains|le.Preceding:Pe.isDescendant(ve)?le.Contains|le.Following:Pe.isPreceding(ve)?le.Preceding:le.Following},ye.prototype.isSameNode=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},ye.prototype.lookupPrefix=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},ye.prototype.isDefaultNamespace=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},ye.prototype.lookupNamespaceURI=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},ye.prototype.isEqualNode=function(ve){var Pe,we,Ae;if(ve.nodeType!==this.nodeType||ve.children.length!==this.children.length)return!1;for(Pe=we=0,Ae=this.children.length-1;0<=Ae?we<=Ae:we>=Ae;Pe=0<=Ae?++we:--we)if(!this.children[Pe].isEqualNode(ve.children[Pe]))return!1;return!0},ye.prototype.getFeature=function(ve,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},ye.prototype.setUserData=function(ve,Pe,we){throw new Error("This DOM method is not implemented."+this.debugInfo())},ye.prototype.getUserData=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},ye.prototype.contains=function(ve){return ve?ve===this||this.isDescendant(ve):!1},ye.prototype.isDescendant=function(ve){var Pe,we,Ae,_e,xe;for(xe=this.children,Ae=0,_e=xe.length;Ae<_e;Ae++)if(Pe=xe[Ae],ve===Pe||(we=Pe.isDescendant(ve),we))return!0;return!1},ye.prototype.isAncestor=function(ve){return ve.isDescendant(this)},ye.prototype.isPreceding=function(ve){var Pe,we;return Pe=this.treePosition(ve),we=this.treePosition(this),Pe===-1||we===-1?!1:Pe<we},ye.prototype.isFollowing=function(ve){var Pe,we;return Pe=this.treePosition(ve),we=this.treePosition(this),Pe===-1||we===-1?!1:Pe>we},ye.prototype.treePosition=function(ve){var Pe,we;return we=0,Pe=!1,this.foreachTreeNode(this.document(),function(Ae){if(we++,!Pe&&Ae===ve)return Pe=!0}),Pe?we:-1},ye.prototype.foreachTreeNode=function(ve,Pe){var we,Ae,_e,xe,Ee;for(ve||(ve=this.document()),xe=ve.children,Ae=0,_e=xe.length;Ae<_e;Ae++){if(we=xe[Ae],Ee=Pe(we))return Ee;if(Ee=this.foreachTreeNode(we,Pe),Ee)return Ee}},ye}()}).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,me,de){(function(){var le;me.exports=le=function(){function ae(ie){this.nodes=ie}return Object.defineProperty(ae.prototype,"length",{get:function(){return this.nodes.length||0}}),ae.prototype.clone=function(){return this.nodes=null},ae.prototype.item=function(ie){return this.nodes[ie]||null},ae}()}).call(this)},{}],452:[function(E,me,de){(function(){var le,ae,ie,se=function(oe,re){for(var ne in re)ce.call(re,ne)&&(oe[ne]=re[ne]);function te(){this.constructor=oe}return te.prototype=re.prototype,oe.prototype=new te,oe.__super__=re.prototype,oe},ce={}.hasOwnProperty;le=E("./NodeType"),ae=E("./XMLCharacterData"),me.exports=ie=function(oe){se(re,oe);function re(ne,te,a){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=le.ProcessingInstruction,this.target=this.stringify.insTarget(te),this.name=this.target,a&&(this.value=this.stringify.insValue(a))}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ne){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(ne))},re.prototype.isEqualNode=function(ne){return!(!re.__super__.isEqualNode.apply(this,arguments).isEqualNode(ne)||ne.target!==this.target)},re}(ae)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(E,me,de){(function(){var le,ae,ie,se=function(oe,re){for(var ne in re)ce.call(re,ne)&&(oe[ne]=re[ne]);function te(){this.constructor=oe}return te.prototype=re.prototype,oe.prototype=new te,oe.__super__=re.prototype,oe},ce={}.hasOwnProperty;le=E("./NodeType"),ae=E("./XMLNode"),me.exports=ie=function(oe){se(re,oe);function re(ne,te){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=le.Raw,this.value=this.stringify.raw(te)}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ne){return this.options.writer.raw(this,this.options.writer.filterOptions(ne))},re}(ae)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(E,me,de){(function(){var le,ae,ie,se,ce=function(re,ne){for(var te in ne)oe.call(ne,te)&&(re[te]=ne[te]);function a(){this.constructor=re}return a.prototype=ne.prototype,re.prototype=new a,re.__super__=ne.prototype,re},oe={}.hasOwnProperty;le=E("./NodeType"),se=E("./XMLWriterBase"),ae=E("./WriterState"),me.exports=ie=function(re){ce(ne,re);function ne(te,a){this.stream=te,ne.__super__.constructor.call(this,a)}return ne.prototype.endline=function(te,a,y){return te.isLastRootNode&&a.state===ae.CloseTag?"":ne.__super__.endline.call(this,te,a,y)},ne.prototype.document=function(te,a){var y,x,b,ee,z,ue,fe,ge,he;for(fe=te.children,x=b=0,z=fe.length;b<z;x=++b)y=fe[x],y.isLastRootNode=x===te.children.length-1;for(a=this.filterOptions(a),ge=te.children,he=[],ee=0,ue=ge.length;ee<ue;ee++)y=ge[ee],he.push(this.writeChildNode(y,a,0));return he},ne.prototype.attribute=function(te,a,y){return this.stream.write(ne.__super__.attribute.call(this,te,a,y))},ne.prototype.cdata=function(te,a,y){return this.stream.write(ne.__super__.cdata.call(this,te,a,y))},ne.prototype.comment=function(te,a,y){return this.stream.write(ne.__super__.comment.call(this,te,a,y))},ne.prototype.declaration=function(te,a,y){return this.stream.write(ne.__super__.declaration.call(this,te,a,y))},ne.prototype.docType=function(te,a,y){var x,b,ee,z;if(y||(y=0),this.openNode(te,a,y),a.state=ae.OpenTag,this.stream.write(this.indent(te,a,y)),this.stream.write("<!DOCTYPE "+te.root().name),te.pubID&&te.sysID?this.stream.write(' PUBLIC "'+te.pubID+'" "'+te.sysID+'"'):te.sysID&&this.stream.write(' SYSTEM "'+te.sysID+'"'),te.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(te,a,y)),a.state=ae.InsideTag,z=te.children,b=0,ee=z.length;b<ee;b++)x=z[b],this.writeChildNode(x,a,y+1);a.state=ae.CloseTag,this.stream.write("]")}return a.state=ae.CloseTag,this.stream.write(a.spaceBeforeSlash+">"),this.stream.write(this.endline(te,a,y)),a.state=ae.None,this.closeNode(te,a,y)},ne.prototype.element=function(te,a,y){var x,b,ee,z,ue,fe,ge,he,pe,ye;y||(y=0),this.openNode(te,a,y),a.state=ae.OpenTag,this.stream.write(this.indent(te,a,y)+"<"+te.name),pe=te.attribs;for(ge in pe)oe.call(pe,ge)&&(x=pe[ge],this.attribute(x,a,y));if(ee=te.children.length,z=ee===0?null:te.children[0],ee===0||te.children.every(function(ve){return(ve.type===le.Text||ve.type===le.Raw)&&ve.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=ae.CloseTag,this.stream.write("</"+te.name+">")):(a.state=ae.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&ee===1&&(z.type===le.Text||z.type===le.Raw)&&z.value!=null)this.stream.write(">"),a.state=ae.InsideTag,a.suppressPrettyCount++,he=!0,this.writeChildNode(z,a,y+1),a.suppressPrettyCount--,he=!1,a.state=ae.CloseTag,this.stream.write("</"+te.name+">");else{for(this.stream.write(">"+this.endline(te,a,y)),a.state=ae.InsideTag,ye=te.children,ue=0,fe=ye.length;ue<fe;ue++)b=ye[ue],this.writeChildNode(b,a,y+1);a.state=ae.CloseTag,this.stream.write(this.indent(te,a,y)+"</"+te.name+">")}return this.stream.write(this.endline(te,a,y)),a.state=ae.None,this.closeNode(te,a,y)},ne.prototype.processingInstruction=function(te,a,y){return this.stream.write(ne.__super__.processingInstruction.call(this,te,a,y))},ne.prototype.raw=function(te,a,y){return this.stream.write(ne.__super__.raw.call(this,te,a,y))},ne.prototype.text=function(te,a,y){return this.stream.write(ne.__super__.text.call(this,te,a,y))},ne.prototype.dtdAttList=function(te,a,y){return this.stream.write(ne.__super__.dtdAttList.call(this,te,a,y))},ne.prototype.dtdElement=function(te,a,y){return this.stream.write(ne.__super__.dtdElement.call(this,te,a,y))},ne.prototype.dtdEntity=function(te,a,y){return this.stream.write(ne.__super__.dtdEntity.call(this,te,a,y))},ne.prototype.dtdNotation=function(te,a,y){return this.stream.write(ne.__super__.dtdNotation.call(this,te,a,y))},ne}(se)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,me,de){(function(){var le,ae,ie=function(ce,oe){for(var re in oe)se.call(oe,re)&&(ce[re]=oe[re]);function ne(){this.constructor=ce}return ne.prototype=oe.prototype,ce.prototype=new ne,ce.__super__=oe.prototype,ce},se={}.hasOwnProperty;ae=E("./XMLWriterBase"),me.exports=le=function(ce){ie(oe,ce);function oe(re){oe.__super__.constructor.call(this,re)}return oe.prototype.document=function(re,ne){var te,a,y,x,b;for(ne=this.filterOptions(ne),x="",b=re.children,a=0,y=b.length;a<y;a++)te=b[a],x+=this.writeChildNode(te,ne,0);return ne.pretty&&x.slice(-ne.newline.length)===ne.newline&&(x=x.slice(0,-ne.newline.length)),x},oe}(ae)}).call(this)},{"./XMLWriterBase":458}],456:[function(E,me,de){(function(){var le,ae=function(se,ce){return function(){return se.apply(ce,arguments)}},ie={}.hasOwnProperty;me.exports=le=function(){function se(ce){this.assertLegalName=ae(this.assertLegalName,this),this.assertLegalChar=ae(this.assertLegalChar,this);var oe,re,ne;ce||(ce={}),this.options=ce,this.options.version||(this.options.version="1.0"),re=ce.stringify||{};for(oe in re)ie.call(re,oe)&&(ne=re[oe],this[oe]=ne)}return se.prototype.name=function(ce){return this.options.noValidation?ce:this.assertLegalName(""+ce||"")},se.prototype.text=function(ce){return this.options.noValidation?ce:this.assertLegalChar(this.textEscape(""+ce||""))},se.prototype.cdata=function(ce){return this.options.noValidation?ce:(ce=""+ce||"",ce=ce.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(ce))},se.prototype.comment=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",ce.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+ce);return this.assertLegalChar(ce)},se.prototype.raw=function(ce){return this.options.noValidation?ce:""+ce||""},se.prototype.attValue=function(ce){return this.options.noValidation?ce:this.assertLegalChar(this.attEscape(ce=""+ce||""))},se.prototype.insTarget=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},se.prototype.insValue=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",ce.match(/\?>/))throw new Error("Invalid processing instruction value: "+ce);return this.assertLegalChar(ce)},se.prototype.xmlVersion=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",!ce.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+ce);return ce},se.prototype.xmlEncoding=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",!ce.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+ce);return this.assertLegalChar(ce)},se.prototype.xmlStandalone=function(ce){return this.options.noValidation?ce:ce?"yes":"no"},se.prototype.dtdPubID=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},se.prototype.dtdSysID=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},se.prototype.dtdElementValue=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},se.prototype.dtdAttType=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},se.prototype.dtdAttDefault=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},se.prototype.dtdEntityValue=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},se.prototype.dtdNData=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},se.prototype.convertAttKey="@",se.prototype.convertPIKey="?",se.prototype.convertTextKey="#text",se.prototype.convertCDataKey="#cdata",se.prototype.convertCommentKey="#comment",se.prototype.convertRawKey="#raw",se.prototype.assertLegalChar=function(ce){var oe,re;if(this.options.noValidation)return ce;if(oe="",this.options.version==="1.0"){if(oe=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,re=ce.match(oe))throw new Error("Invalid character in string: "+ce+" at index "+re.index)}else if(this.options.version==="1.1"&&(oe=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,re=ce.match(oe)))throw new Error("Invalid character in string: "+ce+" at index "+re.index);return ce},se.prototype.assertLegalName=function(ce){var oe;if(this.options.noValidation)return ce;if(this.assertLegalChar(ce),oe=/^([: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])*$/,!ce.match(oe))throw new Error("Invalid character in name");return ce},se.prototype.textEscape=function(ce){var oe;return this.options.noValidation?ce:(oe=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ce.replace(oe,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},se.prototype.attEscape=function(ce){var oe;return this.options.noValidation?ce:(oe=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ce.replace(oe,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},se}()}).call(this)},{}],457:[function(E,me,de){(function(){var le,ae,ie,se=function(oe,re){for(var ne in re)ce.call(re,ne)&&(oe[ne]=re[ne]);function te(){this.constructor=oe}return te.prototype=re.prototype,oe.prototype=new te,oe.__super__=re.prototype,oe},ce={}.hasOwnProperty;le=E("./NodeType"),ae=E("./XMLCharacterData"),me.exports=ie=function(oe){se(re,oe);function re(ne,te){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=le.Text,this.value=this.stringify.text(te)}return Object.defineProperty(re.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(re.prototype,"wholeText",{get:function(){var ne,te,a;for(a="",te=this.previousSibling;te;)a=te.data+a,te=te.previousSibling;for(a+=this.data,ne=this.nextSibling;ne;)a=a+ne.data,ne=ne.nextSibling;return a}}),re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ne){return this.options.writer.text(this,this.options.writer.filterOptions(ne))},re.prototype.splitText=function(ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.replaceWholeText=function(ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},re}(ae)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(E,me,de){(function(){var le,ae,ie,se,ce,oe,re,ne,te,a,y,x,b,ee,z,ue,fe,ge={}.hasOwnProperty;fe=E("./Utility").assign,le=E("./NodeType"),te=E("./XMLDeclaration"),a=E("./XMLDocType"),ie=E("./XMLCData"),se=E("./XMLComment"),x=E("./XMLElement"),ee=E("./XMLRaw"),z=E("./XMLText"),b=E("./XMLProcessingInstruction"),y=E("./XMLDummy"),ce=E("./XMLDTDAttList"),oe=E("./XMLDTDElement"),re=E("./XMLDTDEntity"),ne=E("./XMLDTDNotation"),ae=E("./WriterState"),me.exports=ue=function(){function he(pe){var ye,ve,Pe;pe||(pe={}),this.options=pe,ve=pe.writer||{};for(ye in ve)ge.call(ve,ye)&&(Pe=ve[ye],this["_"+ye]=this[ye],this[ye]=Pe)}return he.prototype.filterOptions=function(pe){var ye,ve,Pe,we,Ae,_e,xe,Ee;return pe||(pe={}),pe=fe({},this.options,pe),ye={writer:this},ye.pretty=pe.pretty||!1,ye.allowEmpty=pe.allowEmpty||!1,ye.indent=(ve=pe.indent)!=null?ve:" ",ye.newline=(Pe=pe.newline)!=null?Pe:`
|
|
|
`,ye.offset=(we=pe.offset)!=null?we:0,ye.dontPrettyTextNodes=(Ae=(_e=pe.dontPrettyTextNodes)!=null?_e:pe.dontprettytextnodes)!=null?Ae:0,ye.spaceBeforeSlash=(xe=(Ee=pe.spaceBeforeSlash)!=null?Ee:pe.spacebeforeslash)!=null?xe:"",ye.spaceBeforeSlash===!0&&(ye.spaceBeforeSlash=" "),ye.suppressPrettyCount=0,ye.user={},ye.state=ae.None,ye},he.prototype.indent=function(pe,ye,ve){var Pe;return!ye.pretty||ye.suppressPrettyCount?"":ye.pretty&&(Pe=(ve||0)+ye.offset+1,Pe>0)?new Array(Pe).join(ye.indent):""},he.prototype.endline=function(pe,ye,ve){return!ye.pretty||ye.suppressPrettyCount?"":ye.newline},he.prototype.attribute=function(pe,ye,ve){var Pe;return this.openAttribute(pe,ye,ve),Pe=" "+pe.name+'="'+pe.value+'"',this.closeAttribute(pe,ye,ve),Pe},he.prototype.cdata=function(pe,ye,ve){var Pe;return this.openNode(pe,ye,ve),ye.state=ae.OpenTag,Pe=this.indent(pe,ye,ve)+"<![CDATA[",ye.state=ae.InsideTag,Pe+=pe.value,ye.state=ae.CloseTag,Pe+="]]>"+this.endline(pe,ye,ve),ye.state=ae.None,this.closeNode(pe,ye,ve),Pe},he.prototype.comment=function(pe,ye,ve){var Pe;return this.openNode(pe,ye,ve),ye.state=ae.OpenTag,Pe=this.indent(pe,ye,ve)+"<!-- ",ye.state=ae.InsideTag,Pe+=pe.value,ye.state=ae.CloseTag,Pe+=" -->"+this.endline(pe,ye,ve),ye.state=ae.None,this.closeNode(pe,ye,ve),Pe},he.prototype.declaration=function(pe,ye,ve){var Pe;return this.openNode(pe,ye,ve),ye.state=ae.OpenTag,Pe=this.indent(pe,ye,ve)+"<?xml",ye.state=ae.InsideTag,Pe+=' version="'+pe.version+'"',pe.encoding!=null&&(Pe+=' encoding="'+pe.encoding+'"'),pe.standalone!=null&&(Pe+=' standalone="'+pe.standalone+'"'),ye.state=ae.CloseTag,Pe+=ye.spaceBeforeSlash+"?>",Pe+=this.endline(pe,ye,ve),ye.state=ae.None,this.closeNode(pe,ye,ve),Pe},he.prototype.docType=function(pe,ye,ve){var Pe,we,Ae,_e,xe;if(ve||(ve=0),this.openNode(pe,ye,ve),ye.state=ae.OpenTag,_e=this.indent(pe,ye,ve),_e+="<!DOCTYPE "+pe.root().name,pe.pubID&&pe.sysID?_e+=' PUBLIC "'+pe.pubID+'" "'+pe.sysID+'"':pe.sysID&&(_e+=' SYSTEM "'+pe.sysID+'"'),pe.children.length>0){for(_e+=" [",_e+=this.endline(pe,ye,ve),ye.state=ae.InsideTag,xe=pe.children,we=0,Ae=xe.length;we<Ae;we++)Pe=xe[we],_e+=this.writeChildNode(Pe,ye,ve+1);ye.state=ae.CloseTag,_e+="]"}return ye.state=ae.CloseTag,_e+=ye.spaceBeforeSlash+">",_e+=this.endline(pe,ye,ve),ye.state=ae.None,this.closeNode(pe,ye,ve),_e},he.prototype.element=function(pe,ye,ve){var Pe,we,Ae,_e,xe,Ee,Oe,Ie,Ne,Te,Je,Qe,Ze,Ke;ve||(ve=0),Te=!1,Je="",this.openNode(pe,ye,ve),ye.state=ae.OpenTag,Je+=this.indent(pe,ye,ve)+"<"+pe.name,Qe=pe.attribs;for(Ne in Qe)ge.call(Qe,Ne)&&(Pe=Qe[Ne],Je+=this.attribute(Pe,ye,ve));if(Ae=pe.children.length,_e=Ae===0?null:pe.children[0],Ae===0||pe.children.every(function(Ue){return(Ue.type===le.Text||Ue.type===le.Raw)&&Ue.value===""}))ye.allowEmpty?(Je+=">",ye.state=ae.CloseTag,Je+="</"+pe.name+">"+this.endline(pe,ye,ve)):(ye.state=ae.CloseTag,Je+=ye.spaceBeforeSlash+"/>"+this.endline(pe,ye,ve));else if(ye.pretty&&Ae===1&&(_e.type===le.Text||_e.type===le.Raw)&&_e.value!=null)Je+=">",ye.state=ae.InsideTag,ye.suppressPrettyCount++,Te=!0,Je+=this.writeChildNode(_e,ye,ve+1),ye.suppressPrettyCount--,Te=!1,ye.state=ae.CloseTag,Je+="</"+pe.name+">"+this.endline(pe,ye,ve);else{if(ye.dontPrettyTextNodes){for(Ze=pe.children,xe=0,Oe=Ze.length;xe<Oe;xe++)if(we=Ze[xe],(we.type===le.Text||we.type===le.Raw)&&we.value!=null){ye.suppressPrettyCount++,Te=!0;break}}for(Je+=">"+this.endline(pe,ye,ve),ye.state=ae.InsideTag,Ke=pe.children,Ee=0,Ie=Ke.length;Ee<Ie;Ee++)we=Ke[Ee],Je+=this.writeChildNode(we,ye,ve+1);ye.state=ae.CloseTag,Je+=this.indent(pe,ye,ve)+"</"+pe.name+">",Te&&ye.suppressPrettyCount--,Je+=this.endline(pe,ye,ve),ye.state=ae.None}return this.closeNode(pe,ye,ve),Je},he.prototype.writeChildNode=function(pe,ye,ve){switch(pe.type){case le.CData:return this.cdata(pe,ye,ve);case le.Comment:return this.comment(pe,ye,ve);case le.Element:return this.element(pe,ye,ve);case le.Raw:return this.raw(pe,ye,ve);case le.Text:return this.text(pe,ye,ve);case le.ProcessingInstruction:return this.processingInstruction(pe,ye,ve);case le.Dummy:return"";case le.Declaration:return this.declaration(pe,ye,ve);case le.DocType:return this.docType(pe,ye,ve);case le.AttributeDeclaration:return this.dtdAttList(pe,ye,ve);case le.ElementDeclaration:return this.dtdElement(pe,ye,ve);case le.EntityDeclaration:return this.dtdEntity(pe,ye,ve);case le.NotationDeclaration:return this.dtdNotation(pe,ye,ve);default:throw new Error("Unknown XML node type: "+pe.constructor.name)}},he.prototype.processingInstruction=function(pe,ye,ve){var Pe;return this.openNode(pe,ye,ve),ye.state=ae.OpenTag,Pe=this.indent(pe,ye,ve)+"<?",ye.state=ae.InsideTag,Pe+=pe.target,pe.value&&(Pe+=" "+pe.value),ye.state=ae.CloseTag,Pe+=ye.spaceBeforeSlash+"?>",Pe+=this.endline(pe,ye,ve),ye.state=ae.None,this.closeNode(pe,ye,ve),Pe},he.prototype.raw=function(pe,ye,ve){var Pe;return this.openNode(pe,ye,ve),ye.state=ae.OpenTag,Pe=this.indent(pe,ye,ve),ye.state=ae.InsideTag,Pe+=pe.value,ye.state=ae.CloseTag,Pe+=this.endline(pe,ye,ve),ye.state=ae.None,this.closeNode(pe,ye,ve),Pe},he.prototype.text=function(pe,ye,ve){var Pe;return this.openNode(pe,ye,ve),ye.state=ae.OpenTag,Pe=this.indent(pe,ye,ve),ye.state=ae.InsideTag,Pe+=pe.value,ye.state=ae.CloseTag,Pe+=this.endline(pe,ye,ve),ye.state=ae.None,this.closeNode(pe,ye,ve),Pe},he.prototype.dtdAttList=function(pe,ye,ve){var Pe;return this.openNode(pe,ye,ve),ye.state=ae.OpenTag,Pe=this.indent(pe,ye,ve)+"<!ATTLIST",ye.state=ae.InsideTag,Pe+=" "+pe.elementName+" "+pe.attributeName+" "+pe.attributeType,pe.defaultValueType!=="#DEFAULT"&&(Pe+=" "+pe.defaultValueType),pe.defaultValue&&(Pe+=' "'+pe.defaultValue+'"'),ye.state=ae.CloseTag,Pe+=ye.spaceBeforeSlash+">"+this.endline(pe,ye,ve),ye.state=ae.None,this.closeNode(pe,ye,ve),Pe},he.prototype.dtdElement=function(pe,ye,ve){var Pe;return this.openNode(pe,ye,ve),ye.state=ae.OpenTag,Pe=this.indent(pe,ye,ve)+"<!ELEMENT",ye.state=ae.InsideTag,Pe+=" "+pe.name+" "+pe.value,ye.state=ae.CloseTag,Pe+=ye.spaceBeforeSlash+">"+this.endline(pe,ye,ve),ye.state=ae.None,this.closeNode(pe,ye,ve),Pe},he.prototype.dtdEntity=function(pe,ye,ve){var Pe;return this.openNode(pe,ye,ve),ye.state=ae.OpenTag,Pe=this.indent(pe,ye,ve)+"<!ENTITY",ye.state=ae.InsideTag,pe.pe&&(Pe+=" %"),Pe+=" "+pe.name,pe.value?Pe+=' "'+pe.value+'"':(pe.pubID&&pe.sysID?Pe+=' PUBLIC "'+pe.pubID+'" "'+pe.sysID+'"':pe.sysID&&(Pe+=' SYSTEM "'+pe.sysID+'"'),pe.nData&&(Pe+=" NDATA "+pe.nData)),ye.state=ae.CloseTag,Pe+=ye.spaceBeforeSlash+">"+this.endline(pe,ye,ve),ye.state=ae.None,this.closeNode(pe,ye,ve),Pe},he.prototype.dtdNotation=function(pe,ye,ve){var Pe;return this.openNode(pe,ye,ve),ye.state=ae.OpenTag,Pe=this.indent(pe,ye,ve)+"<!NOTATION",ye.state=ae.InsideTag,Pe+=" "+pe.name,pe.pubID&&pe.sysID?Pe+=' PUBLIC "'+pe.pubID+'" "'+pe.sysID+'"':pe.pubID?Pe+=' PUBLIC "'+pe.pubID+'"':pe.sysID&&(Pe+=' SYSTEM "'+pe.sysID+'"'),ye.state=ae.CloseTag,Pe+=ye.spaceBeforeSlash+">"+this.endline(pe,ye,ve),ye.state=ae.None,this.closeNode(pe,ye,ve),Pe},he.prototype.openNode=function(pe,ye,ve){},he.prototype.closeNode=function(pe,ye,ve){},he.prototype.openAttribute=function(pe,ye,ve){},he.prototype.closeAttribute=function(pe,ye,ve){},he}()}).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,me,de){(function(){var le,ae,ie,se,ce,oe,re,ne,te,a;a=E("./Utility"),ne=a.assign,te=a.isFunction,ie=E("./XMLDOMImplementation"),se=E("./XMLDocument"),ce=E("./XMLDocumentCB"),re=E("./XMLStringWriter"),oe=E("./XMLStreamWriter"),le=E("./NodeType"),ae=E("./WriterState"),me.exports.create=function(y,x,b,ee){var z,ue;if(y==null)throw new Error("Root element needs a name.");return ee=ne({},x,b,ee),z=new se(ee),ue=z.element(y),ee.headless||(z.declaration(ee),(ee.pubID!=null||ee.sysID!=null)&&z.dtd(ee)),ue},me.exports.begin=function(y,x,b){var ee;return te(y)&&(ee=[y,x],x=ee[0],b=ee[1],y={}),x?new ce(y,x,b):new se(y)},me.exports.stringWriter=function(y){return new re(y)},me.exports.streamWriter=function(y,x){return new oe(y,x)},me.exports.implementation=new ie,me.exports.nodeType=le,me.exports.writerState=ae}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,me,de){me.exports=ae;var le=Object.prototype.hasOwnProperty;function ae(){for(var ie={},se=0;se<arguments.length;se++){var ce=arguments[se];for(var oe in ce)le.call(ce,oe)&&(ie[oe]=ce[oe])}return ie}},{}],461:[function(E,me,de){"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 le=E("buffer").Buffer,ae=E("./sha"),ie=E("./md5"),se={sha1:ae,md5:ie},ce=64,oe=le.alloc(ce);oe.fill(0);function re(a,y,x){le.isBuffer(y)||(y=le.from(y)),le.isBuffer(x)||(x=le.from(x)),y.length>ce?y=a(y):y.length<ce&&(y=le.concat([y,oe],ce));for(var b=le.alloc(ce),ee=le.alloc(ce),z=0;z<ce;z++)b[z]=y[z]^54,ee[z]=y[z]^92;var ue=a(le.concat([b,x]));return a(le.concat([ee,ue]))}function ne(a,y){a=a||"sha1";var x=se[a],b=[],ee=0;return x||te("algorithm:",a,"is not yet supported"),{update:function(ue){return le.isBuffer(ue)||(ue=le.from(ue)),b.push(ue),ee+=ue.length,this},digest:function(ue){var fe=le.concat(b),ge=y?re(x,y,fe):x(fe);return b=null,ue?ge.toString(ue):ge}}}function te(){var a=[].slice.call(arguments).join(" ");throw new Error([a,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
|
`))}de.createHash=function(a){return ne(a)},de.createHmac=function(a,y){return ne(a,y)},de.createCredentials=function(){te("sorry,createCredentials is not implemented yet")},de.createCipher=function(){te("sorry,createCipher is not implemented yet")},de.createCipheriv=function(){te("sorry,createCipheriv is not implemented yet")},de.createDecipher=function(){te("sorry,createDecipher is not implemented yet")},de.createDecipheriv=function(){te("sorry,createDecipheriv is not implemented yet")},de.createSign=function(){te("sorry,createSign is not implemented yet")},de.createVerify=function(){te("sorry,createVerify is not implemented yet")},de.createDiffieHellman=function(){te("sorry,createDiffieHellman is not implemented yet")},de.pbkdf2=function(){te("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,me,de){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js");var le=E("buffer").Buffer,ae=4,ie=le.alloc(ae);ie.fill(0);var se=8;function ce(ne,te){if(ne.length%ae!==0){var a=ne.length+(ae-ne.length%ae);ne=le.concat([ne,ie],a)}for(var y=[],x=te?ne.readInt32BE:ne.readInt32LE,b=0;b<ne.length;b+=ae)y.push(x.call(ne,b));return y}function oe(ne,te,a){for(var y=le.alloc(te),x=a?y.writeInt32BE:y.writeInt32LE,b=0;b<ne.length;b++)x.call(y,ne[b],b*4,!0);return y}function re(ne,te,a,y){le.isBuffer(ne)||(ne=le.from(ne));var x=te(ce(ne,y),ne.length*se);return oe(x,a,y)}me.exports={hash:re}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(E,me,de){"use strict";var le=E("./helpers");function ae(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function ie(y,x){y[x>>5]|=128<<x%32,y[(x+64>>>9<<4)+14]=x;for(var b=1732584193,ee=-271733879,z=-1732584194,ue=271733878,fe=0;fe<y.length;fe+=16){var ge=b,he=ee,pe=z,ye=ue;b=ce(b,ee,z,ue,y[fe+0],7,-680876936),ue=ce(ue,b,ee,z,y[fe+1],12,-389564586),z=ce(z,ue,b,ee,y[fe+2],17,606105819),ee=ce(ee,z,ue,b,y[fe+3],22,-1044525330),b=ce(b,ee,z,ue,y[fe+4],7,-176418897),ue=ce(ue,b,ee,z,y[fe+5],12,1200080426),z=ce(z,ue,b,ee,y[fe+6],17,-1473231341),ee=ce(ee,z,ue,b,y[fe+7],22,-45705983),b=ce(b,ee,z,ue,y[fe+8],7,1770035416),ue=ce(ue,b,ee,z,y[fe+9],12,-1958414417),z=ce(z,ue,b,ee,y[fe+10],17,-42063),ee=ce(ee,z,ue,b,y[fe+11],22,-1990404162),b=ce(b,ee,z,ue,y[fe+12],7,1804603682),ue=ce(ue,b,ee,z,y[fe+13],12,-40341101),z=ce(z,ue,b,ee,y[fe+14],17,-1502002290),ee=ce(ee,z,ue,b,y[fe+15],22,1236535329),b=oe(b,ee,z,ue,y[fe+1],5,-165796510),ue=oe(ue,b,ee,z,y[fe+6],9,-1069501632),z=oe(z,ue,b,ee,y[fe+11],14,643717713),ee=oe(ee,z,ue,b,y[fe+0],20,-373897302),b=oe(b,ee,z,ue,y[fe+5],5,-701558691),ue=oe(ue,b,ee,z,y[fe+10],9,38016083),z=oe(z,ue,b,ee,y[fe+15],14,-660478335),ee=oe(ee,z,ue,b,y[fe+4],20,-405537848),b=oe(b,ee,z,ue,y[fe+9],5,568446438),ue=oe(ue,b,ee,z,y[fe+14],9,-1019803690),z=oe(z,ue,b,ee,y[fe+3],14,-187363961),ee=oe(ee,z,ue,b,y[fe+8],20,1163531501),b=oe(b,ee,z,ue,y[fe+13],5,-1444681467),ue=oe(ue,b,ee,z,y[fe+2],9,-51403784),z=oe(z,ue,b,ee,y[fe+7],14,1735328473),ee=oe(ee,z,ue,b,y[fe+12],20,-1926607734),b=re(b,ee,z,ue,y[fe+5],4,-378558),ue=re(ue,b,ee,z,y[fe+8],11,-2022574463),z=re(z,ue,b,ee,y[fe+11],16,1839030562),ee=re(ee,z,ue,b,y[fe+14],23,-35309556),b=re(b,ee,z,ue,y[fe+1],4,-1530992060),ue=re(ue,b,ee,z,y[fe+4],11,1272893353),z=re(z,ue,b,ee,y[fe+7],16,-155497632),ee=re(ee,z,ue,b,y[fe+10],23,-1094730640),b=re(b,ee,z,ue,y[fe+13],4,681279174),ue=re(ue,b,ee,z,y[fe+0],11,-358537222),z=re(z,ue,b,ee,y[fe+3],16,-722521979),ee=re(ee,z,ue,b,y[fe+6],23,76029189),b=re(b,ee,z,ue,y[fe+9],4,-640364487),ue=re(ue,b,ee,z,y[fe+12],11,-421815835),z=re(z,ue,b,ee,y[fe+15],16,530742520),ee=re(ee,z,ue,b,y[fe+2],23,-995338651),b=ne(b,ee,z,ue,y[fe+0],6,-198630844),ue=ne(ue,b,ee,z,y[fe+7],10,1126891415),z=ne(z,ue,b,ee,y[fe+14],15,-1416354905),ee=ne(ee,z,ue,b,y[fe+5],21,-57434055),b=ne(b,ee,z,ue,y[fe+12],6,1700485571),ue=ne(ue,b,ee,z,y[fe+3],10,-1894986606),z=ne(z,ue,b,ee,y[fe+10],15,-1051523),ee=ne(ee,z,ue,b,y[fe+1],21,-2054922799),b=ne(b,ee,z,ue,y[fe+8],6,1873313359),ue=ne(ue,b,ee,z,y[fe+15],10,-30611744),z=ne(z,ue,b,ee,y[fe+6],15,-1560198380),ee=ne(ee,z,ue,b,y[fe+13],21,1309151649),b=ne(b,ee,z,ue,y[fe+4],6,-145523070),ue=ne(ue,b,ee,z,y[fe+11],10,-1120210379),z=ne(z,ue,b,ee,y[fe+2],15,718787259),ee=ne(ee,z,ue,b,y[fe+9],21,-343485551),b=te(b,ge),ee=te(ee,he),z=te(z,pe),ue=te(ue,ye)}return Array(b,ee,z,ue)}function se(y,x,b,ee,z,ue){return te(a(te(te(x,y),te(ee,ue)),z),b)}function ce(y,x,b,ee,z,ue,fe){return se(x&b|~x&ee,y,x,z,ue,fe)}function oe(y,x,b,ee,z,ue,fe){return se(x&ee|b&~ee,y,x,z,ue,fe)}function re(y,x,b,ee,z,ue,fe){return se(x^b^ee,y,x,z,ue,fe)}function ne(y,x,b,ee,z,ue,fe){return se(b^(x|~ee),y,x,z,ue,fe)}function te(y,x){var b=(y&65535)+(x&65535),ee=(y>>16)+(x>>16)+(b>>16);return ee<<16|b&65535}function a(y,x){return y<<x|y>>>32-x}me.exports=function(x){return le.hash(x,ie,16)}},{"./helpers":462}],464:[function(E,me,de){"use strict";var le=E("./helpers");function ae(re,ne){re[ne>>5]|=128<<24-ne%32,re[(ne+64>>9<<4)+15]=ne;for(var te=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,ee=-1009589776,z=0;z<re.length;z+=16){for(var ue=a,fe=y,ge=x,he=b,pe=ee,ye=0;ye<80;ye++){ye<16?te[ye]=re[z+ye]:te[ye]=oe(te[ye-3]^te[ye-8]^te[ye-14]^te[ye-16],1);var ve=ce(ce(oe(a,5),ie(ye,y,x,b)),ce(ce(ee,te[ye]),se(ye)));ee=b,b=x,x=oe(y,30),y=a,a=ve}a=ce(a,ue),y=ce(y,fe),x=ce(x,ge),b=ce(b,he),ee=ce(ee,pe)}return Array(a,y,x,b,ee)}function ie(re,ne,te,a){return re<20?ne&te|~ne&a:re<40?ne^te^a:re<60?ne&te|ne&a|te&a:ne^te^a}function se(re){return re<20?1518500249:re<40?1859775393:re<60?-1894007588:-899497514}function ce(re,ne){var te=(re&65535)+(ne&65535),a=(re>>16)+(ne>>16)+(te>>16);return a<<16|te&65535}function oe(re,ne){return re<<ne|re>>>32-ne}me.exports=function(ne){return le.hash(ne,ae,20,!0)}},{"./helpers":462}],465:[function(E,me,de){"use strict";me.exports=function(){return function(){}}},{}],466:[function(E,me,de){(function(le){(function(){"use strict";var ae=E("@babel/runtime/helpers/interopRequireDefault"),ie=ae(E("@babel/runtime/helpers/typeof")),se=E("stream"),ce=se.Stream,oe=E("../lib/common/utils/isArray"),re=oe.isArray;me.exports.string=function(a){return typeof a=="string"},me.exports.array=re,me.exports.buffer=le.isBuffer;function ne(te){return te instanceof ce}me.exports.writableStream=function(a){return ne(a)&&typeof a._write=="function"&&(0,ie.default)(a._writableState)==="object"}}).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,me,de){"use strict";var le=E("immediate"),ae=me.exports={};ae.nextTick=le,ae.title="browser",ae.browser=!0,ae.env={},ae.argv=[],ae.version="",ae.versions={};function ie(){}ae.on=ie,ae.addListener=ie,ae.once=ie,ae.off=ie,ae.removeListener=ie,ae.removeAllListeners=ie,ae.emit=ie,ae.prependListener=ie,ae.prependOnceListener=ie,ae.listeners=function(se){return[]},ae.binding=function(se){throw new Error("process.binding is not supported")},ae.cwd=function(){return"/"},ae.chdir=function(se){throw new Error("process.chdir is not supported")},ae.umask=function(){return 0}},{immediate:358}],468:[function(E,me,de){(function(le){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var ae=E("./lib/request"),ie=E("./lib/response"),se=E("xtend"),ce=E("builtin-status-codes"),oe=E("url"),re=de;re.request=function(ne,te){typeof ne=="string"?ne=oe.parse(ne):ne=se(ne);var a=le.location.protocol.search(/^https?:$/)===-1?"http:":"",y=ne.protocol||a,x=ne.hostname||ne.host,b=ne.port,ee=ne.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),ne.url=(x?y+"//"+x:"")+(b?":"+b:"")+ee,ne.method=(ne.method||"GET").toUpperCase(),ne.headers=ne.headers||{};var z=new ae(ne);return te&&z.on("response",te),z},re.get=function(te,a){var y=re.request(te,a);return y.end(),y},re.ClientRequest=ae,re.IncomingMessage=ie.IncomingMessage,re.Agent=function(){},re.Agent.defaultMaxSockets=4,re.globalAgent=new re.Agent,re.STATUS_CODES=ce,re.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,typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?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,me,de){(function(le){(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"),de.fetch=re(le.fetch)&&re(le.ReadableStream),de.writableStream=re(le.WritableStream),de.abortController=re(le.AbortController),de.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),de.blobConstructor=!0}catch(ne){}var ae;function ie(){if(ae!==void 0)return ae;if(le.XMLHttpRequest){ae=new le.XMLHttpRequest;try{ae.open("GET",le.XDomainRequest?"/":"https://example.com")}catch(ne){ae=null}}else ae=null;return ae}function se(ne){var te=ie();if(!te)return!1;try{return te.responseType=ne,te.responseType===ne}catch(a){}return!1}var ce=typeof le.ArrayBuffer!="undefined",oe=ce&&re(le.ArrayBuffer.prototype.slice);de.arraybuffer=de.fetch||ce&&se("arraybuffer"),de.msstream=!de.fetch&&oe&&se("ms-stream"),de.mozchunkedarraybuffer=!de.fetch&&ce&&se("moz-chunked-arraybuffer"),de.overrideMimeType=de.fetch||(ie()?re(ie().overrideMimeType):!1),de.vbArray=re(le.VBArray);function re(ne){return typeof ne=="function"}ae=null}).call(this)}).call(this,typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?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,me,de){(function(le,ae,ie){(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 se=E("./capability"),ce=E("inherits"),oe=E("./response"),re=E("readable-stream"),ne=E("to-arraybuffer"),te=oe.IncomingMessage,a=oe.readyStates;function y(z,ue){return se.fetch&&ue?"fetch":se.mozchunkedarraybuffer?"moz-chunked-arraybuffer":se.msstream?"ms-stream":se.arraybuffer&&z?"arraybuffer":se.vbArray&&z?"text:vbarray":"text"}var x=me.exports=function(z){var ue=this;re.Writable.call(ue),ue._opts=z,ue._body=[],ue._headers={},z.auth&&ue.setHeader("Authorization","Basic "+new ie(z.auth).toString("base64")),Object.keys(z.headers).forEach(function(he){ue.setHeader(he,z.headers[he])});var fe,ge=!0;if(z.mode==="disable-fetch"||"requestTimeout"in z&&!se.abortController)ge=!1,fe=!0;else if(z.mode==="prefer-streaming")fe=!1;else if(z.mode==="allow-wrong-content-type")fe=!se.overrideMimeType;else if(!z.mode||z.mode==="default"||z.mode==="prefer-fast")fe=!0;else throw new Error("Invalid value for opts.mode");ue._mode=y(fe,ge),ue._fetchTimer=null,ue.on("finish",function(){ue._onFinish()})};ce(x,re.Writable),x.prototype.setHeader=function(z,ue){var fe=this,ge=z.toLowerCase();ee.indexOf(ge)===-1&&(fe._headers[ge]={name:z,value:ue})},x.prototype.getHeader=function(z){var ue=this._headers[z.toLowerCase()];return ue?ue.value:null},x.prototype.removeHeader=function(z){var ue=this;delete ue._headers[z.toLowerCase()]},x.prototype._onFinish=function(){var z=this;if(!z._destroyed){var ue=z._opts,fe=z._headers,ge=null;ue.method!=="GET"&&ue.method!=="HEAD"&&(se.arraybuffer?ge=ne(ie.concat(z._body)):se.blobConstructor?ge=new ae.Blob(z._body.map(function(we){return ne(we)}),{type:(fe["content-type"]||{}).value||""}):ge=ie.concat(z._body).toString());var he=[];if(Object.keys(fe).forEach(function(we){var Ae=fe[we].name,_e=fe[we].value;Array.isArray(_e)?_e.forEach(function(xe){he.push([Ae,xe])}):he.push([Ae,_e])}),z._mode==="fetch"){var pe=null,ye=null;if(se.abortController){var ve=new AbortController;pe=ve.signal,z._fetchAbortController=ve,"requestTimeout"in ue&&ue.requestTimeout!==0&&(z._fetchTimer=ae.setTimeout(function(){z.emit("requestTimeout"),z._fetchAbortController&&z._fetchAbortController.abort()},ue.requestTimeout))}ae.fetch(z._opts.url,{method:z._opts.method,headers:he,body:ge||void 0,mode:"cors",credentials:ue.withCredentials?"include":"same-origin",signal:pe}).then(function(we){z._fetchResponse=we,z._connect()},function(we){ae.clearTimeout(z._fetchTimer),z._destroyed||z.emit("error",we)})}else{var Pe=z._xhr=new ae.XMLHttpRequest;try{Pe.open(z._opts.method,z._opts.url,!0)}catch(we){le.nextTick(function(){z.emit("error",we)});return}"responseType"in Pe&&(Pe.responseType=z._mode.split(":")[0]),"withCredentials"in Pe&&(Pe.withCredentials=!!ue.withCredentials),z._mode==="text"&&"overrideMimeType"in Pe&&Pe.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in ue&&(Pe.timeout=ue.requestTimeout,Pe.ontimeout=function(){z.emit("requestTimeout")}),he.forEach(function(we){Pe.setRequestHeader(we[0],we[1])}),z._response=null,Pe.onreadystatechange=function(){switch(Pe.readyState){case a.LOADING:case a.DONE:z._onXHRProgress();break}},z._mode==="moz-chunked-arraybuffer"&&(Pe.onprogress=function(){z._onXHRProgress()}),Pe.onerror=function(){z._destroyed||z.emit("error",new Error("XHR error"))};try{Pe.send(ge)}catch(we){le.nextTick(function(){z.emit("error",we)});return}}}};function b(z){try{var ue=z.status;return ue!==null&&ue!==0}catch(fe){return!1}}x.prototype._onXHRProgress=function(){var z=this;!b(z._xhr)||z._destroyed||(z._response||z._connect(),z._response._onXHRProgress())},x.prototype._connect=function(){var z=this;z._destroyed||(z._response=new te(z._xhr,z._fetchResponse,z._mode,z._fetchTimer),z._response.on("error",function(ue){z.emit("error",ue)}),z.emit("response",z._response))},x.prototype._write=function(z,ue,fe){var ge=this;ge._body.push(z),fe()},x.prototype.abort=x.prototype.destroy=function(){var z=this;z._destroyed=!0,ae.clearTimeout(z._fetchTimer),z._response&&(z._response._destroyed=!0),z._xhr?z._xhr.abort():z._fetchAbortController&&z._fetchAbortController.abort()},x.prototype.end=function(z,ue,fe){var ge=this;typeof z=="function"&&(fe=z,z=void 0),re.Writable.prototype.end.call(ge,z,ue,fe)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var ee=["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"),typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?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,me,de){(function(le,ae,ie){(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 se=E("./capability"),ce=E("inherits"),oe=E("readable-stream"),re=de.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ne=de.IncomingMessage=function(te,a,y,x){var b=this;if(oe.Readable.call(b),b._mode=y,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){le.nextTick(function(){b.emit("close")})}),y==="fetch"){var ee=function pe(){ue.read().then(function(ye){if(!b._destroyed){if(ye.done){ae.clearTimeout(x),b.push(null);return}b.push(new ie(ye.value)),pe()}}).catch(function(ye){ae.clearTimeout(x),b._destroyed||b.emit("error",ye)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(pe,ye){b.headers[ye.toLowerCase()]=pe,b.rawHeaders.push(ye,pe)}),se.writableStream){var z=new WritableStream({write:function(ye){return new Promise(function(ve,Pe){b._destroyed?Pe():b.push(new ie(ye))?ve():b._resumeFetch=ve})},close:function(){ae.clearTimeout(x),b._destroyed||b.push(null)},abort:function(ye){b._destroyed||b.emit("error",ye)}});try{a.body.pipeTo(z).catch(function(pe){ae.clearTimeout(x),b._destroyed||b.emit("error",pe)});return}catch(pe){}}var ue=a.body.getReader();ee()}else{b._xhr=te,b._pos=0,b.url=te.responseURL,b.statusCode=te.status,b.statusMessage=te.statusText;var fe=te.getAllResponseHeaders().split(/\r?\n/);if(fe.forEach(function(pe){var ye=pe.match(/^([^:]+):\s*(.*)/);if(ye){var ve=ye[1].toLowerCase();ve==="set-cookie"?(b.headers[ve]===void 0&&(b.headers[ve]=[]),b.headers[ve].push(ye[2])):b.headers[ve]!==void 0?b.headers[ve]+=", "+ye[2]:b.headers[ve]=ye[2],b.rawHeaders.push(ye[1],ye[2])}}),b._charset="x-user-defined",!se.overrideMimeType){var ge=b.rawHeaders["mime-type"];if(ge){var he=ge.match(/;\s*charset=([^;])(;|$)/);he&&(b._charset=he[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};ce(ne,oe.Readable),ne.prototype._read=function(){var te=this,a=te._resumeFetch;a&&(te._resumeFetch=null,a())},ne.prototype._onXHRProgress=function(){var te=this,a=te._xhr,y=null;switch(te._mode){case"text:vbarray":if(a.readyState!==re.DONE)break;try{y=new ae.VBArray(a.responseBody).toArray()}catch(ue){}if(y!==null){te.push(new ie(y));break}case"text":try{y=a.responseText}catch(ue){te._mode="text:vbarray";break}if(y.length>te._pos){var x=y.substr(te._pos);if(te._charset==="x-user-defined"){for(var b=new ie(x.length),ee=0;ee<x.length;ee++)b[ee]=x.charCodeAt(ee)&255;te.push(b)}else te.push(x,te._charset);te._pos=y.length}break;case"arraybuffer":if(a.readyState!==re.DONE||!a.response)break;y=a.response,te.push(new ie(new Uint8Array(y)));break;case"moz-chunked-arraybuffer":if(y=a.response,a.readyState!==re.LOADING||!y)break;te.push(new ie(new Uint8Array(y)));break;case"ms-stream":if(y=a.response,a.readyState!==re.LOADING)break;var z=new ae.MSStreamReader;z.onprogress=function(){z.result.byteLength>te._pos&&(te.push(new ie(new Uint8Array(z.result.slice(te._pos)))),te._pos=z.result.byteLength)},z.onload=function(){te.push(null)},z.readAsArrayBuffer(y);break}te._xhr.readyState===re.DONE&&te._mode!=="ms-stream"&&te.push(null)}}).call(this)}).call(this,E("_process"),typeof it!="undefined"?it:typeof self!="undefined"?self:typeof window!="undefined"?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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(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 ie=E("punycode"),se=E("./util");de.parse=ye,de.resolve=Pe,de.resolveObject=we,de.format=ve,de.Url=ce;function ce(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var oe=/^([a-z0-9.+-]+:)/i,re=/:[0-9]*$/,ne=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,te=["<",">",'"',"`"," ","\r",`
|
|
|
`," "],a=["{","}","|","\\","^","`"].concat(te),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],ee=255,z=/^[+a-z0-9A-Z_-]{0,63}$/,ue=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,fe={javascript:!0,"javascript:":!0},ge={javascript:!0,"javascript:":!0},he={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},pe=E("querystring");function ye(Ae,_e,xe){if(Ae&&se.isObject(Ae)&&Ae instanceof ce)return Ae;var Ee=new ce;return Ee.parse(Ae,_e,xe),Ee}ce.prototype.parse=function(Ae,_e,xe){if(!se.isString(Ae))throw new TypeError("Parameter 'url' must be a string, not "+(0,ae.default)(Ae));var Ee=Ae.indexOf("?"),Oe=Ee!==-1&&Ee<Ae.indexOf("#")?"?":"#",Ie=Ae.split(Oe),Ne=/\\/g;Ie[0]=Ie[0].replace(Ne,"/"),Ae=Ie.join(Oe);var Te=Ae;if(Te=Te.trim(),!xe&&Ae.split("#").length===1){var Je=ne.exec(Te);if(Je)return this.path=Te,this.href=Te,this.pathname=Je[1],Je[2]?(this.search=Je[2],_e?this.query=pe.parse(this.search.substr(1)):this.query=this.search.substr(1)):_e&&(this.search="",this.query={}),this}var Qe=oe.exec(Te);if(Qe){Qe=Qe[0];var Ze=Qe.toLowerCase();this.protocol=Ze,Te=Te.substr(Qe.length)}if(xe||Qe||Te.match(/^\/\/[^@\/]+@[^@\/]+/)){var Ke=Te.substr(0,2)==="//";Ke&&!(Qe&&ge[Qe])&&(Te=Te.substr(2),this.slashes=!0)}if(!ge[Qe]&&(Ke||Qe&&!he[Qe])){for(var Ue=-1,ke=0;ke<b.length;ke++){var Re=Te.indexOf(b[ke]);Re!==-1&&(Ue===-1||Re<Ue)&&(Ue=Re)}var He,qe;Ue===-1?qe=Te.lastIndexOf("@"):qe=Te.lastIndexOf("@",Ue),qe!==-1&&(He=Te.slice(0,qe),Te=Te.slice(qe+1),this.auth=decodeURIComponent(He)),Ue=-1;for(var ke=0;ke<x.length;ke++){var Re=Te.indexOf(x[ke]);Re!==-1&&(Ue===-1||Re<Ue)&&(Ue=Re)}Ue===-1&&(Ue=Te.length),this.host=Te.slice(0,Ue),Te=Te.slice(Ue),this.parseHost(),this.hostname=this.hostname||"";var rt=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!rt)for(var We=this.hostname.split("."),ke=0,ze=We.length;ke<ze;ke++){var Me=We[ke];if(Me&&!Me.match(z)){for(var Ge="",Le=0,Ve=Me.length;Le<Ve;Le++)Me.charCodeAt(Le)>127?Ge+="x":Ge+=Me[Le];if(!Ge.match(z)){var ot=We.slice(0,ke),et=We.slice(ke+1),Xe=Me.match(ue);Xe&&(ot.push(Xe[1]),et.unshift(Xe[2])),et.length&&(Te="/"+et.join(".")+Te),this.hostname=ot.join(".");break}}}this.hostname.length>ee?this.hostname="":this.hostname=this.hostname.toLowerCase(),rt||(this.hostname=ie.toASCII(this.hostname));var je=this.port?":"+this.port:"",Ce=this.hostname||"";this.host=Ce+je,this.href+=this.host,rt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Te[0]!=="/"&&(Te="/"+Te))}if(!fe[Ze])for(var ke=0,ze=y.length;ke<ze;ke++){var De=y[ke];if(Te.indexOf(De)!==-1){var Fe=encodeURIComponent(De);Fe===De&&(Fe=escape(De)),Te=Te.split(De).join(Fe)}}var Ye=Te.indexOf("#");Ye!==-1&&(this.hash=Te.substr(Ye),Te=Te.slice(0,Ye));var nt=Te.indexOf("?");if(nt!==-1?(this.search=Te.substr(nt),this.query=Te.substr(nt+1),_e&&(this.query=pe.parse(this.query)),Te=Te.slice(0,nt)):_e&&(this.search="",this.query={}),Te&&(this.pathname=Te),he[Ze]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var je=this.pathname||"",$e=this.search||"";this.path=je+$e}return this.href=this.format(),this};function ve(Ae){return se.isString(Ae)&&(Ae=ye(Ae)),Ae instanceof ce?Ae.format():ce.prototype.format.call(Ae)}ce.prototype.format=function(){var Ae=this.auth||"";Ae&&(Ae=encodeURIComponent(Ae),Ae=Ae.replace(/%3A/i,":"),Ae+="@");var _e=this.protocol||"",xe=this.pathname||"",Ee=this.hash||"",Oe=!1,Ie="";this.host?Oe=Ae+this.host:this.hostname&&(Oe=Ae+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(Oe+=":"+this.port)),this.query&&se.isObject(this.query)&&Object.keys(this.query).length&&(Ie=pe.stringify(this.query));var Ne=this.search||Ie&&"?"+Ie||"";return _e&&_e.substr(-1)!==":"&&(_e+=":"),this.slashes||(!_e||he[_e])&&Oe!==!1?(Oe="//"+(Oe||""),xe&&xe.charAt(0)!=="/"&&(xe="/"+xe)):Oe||(Oe=""),Ee&&Ee.charAt(0)!=="#"&&(Ee="#"+Ee),Ne&&Ne.charAt(0)!=="?"&&(Ne="?"+Ne),xe=xe.replace(/[?#]/g,function(Te){return encodeURIComponent(Te)}),Ne=Ne.replace("#","%23"),_e+Oe+xe+Ne+Ee};function Pe(Ae,_e){return ye(Ae,!1,!0).resolve(_e)}ce.prototype.resolve=function(Ae){return this.resolveObject(ye(Ae,!1,!0)).format()};function we(Ae,_e){return Ae?ye(Ae,!1,!0).resolveObject(_e):_e}ce.prototype.resolveObject=function(Ae){if(se.isString(Ae)){var _e=new ce;_e.parse(Ae,!1,!0),Ae=_e}for(var xe=new ce,Ee=Object.keys(this),Oe=0;Oe<Ee.length;Oe++){var Ie=Ee[Oe];xe[Ie]=this[Ie]}if(xe.hash=Ae.hash,Ae.href==="")return xe.href=xe.format(),xe;if(Ae.slashes&&!Ae.protocol){for(var Ne=Object.keys(Ae),Te=0;Te<Ne.length;Te++){var Je=Ne[Te];Je!=="protocol"&&(xe[Je]=Ae[Je])}return he[xe.protocol]&&xe.hostname&&!xe.pathname&&(xe.path=xe.pathname="/"),xe.href=xe.format(),xe}if(Ae.protocol&&Ae.protocol!==xe.protocol){if(!he[Ae.protocol]){for(var Qe=Object.keys(Ae),Ze=0;Ze<Qe.length;Ze++){var Ke=Qe[Ze];xe[Ke]=Ae[Ke]}return xe.href=xe.format(),xe}if(xe.protocol=Ae.protocol,!Ae.host&&!ge[Ae.protocol]){for(var ze=(Ae.pathname||"").split("/");ze.length&&!(Ae.host=ze.shift()););Ae.host||(Ae.host=""),Ae.hostname||(Ae.hostname=""),ze[0]!==""&&ze.unshift(""),ze.length<2&&ze.unshift(""),xe.pathname=ze.join("/")}else xe.pathname=Ae.pathname;if(xe.search=Ae.search,xe.query=Ae.query,xe.host=Ae.host||"",xe.auth=Ae.auth,xe.hostname=Ae.hostname||Ae.host,xe.port=Ae.port,xe.pathname||xe.search){var Ue=xe.pathname||"",ke=xe.search||"";xe.path=Ue+ke}return xe.slashes=xe.slashes||Ae.slashes,xe.href=xe.format(),xe}var Re=xe.pathname&&xe.pathname.charAt(0)==="/",He=Ae.host||Ae.pathname&&Ae.pathname.charAt(0)==="/",qe=He||Re||xe.host&&Ae.pathname,rt=qe,We=xe.pathname&&xe.pathname.split("/")||[],ze=Ae.pathname&&Ae.pathname.split("/")||[],Me=xe.protocol&&!he[xe.protocol];if(Me&&(xe.hostname="",xe.port=null,xe.host&&(We[0]===""?We[0]=xe.host:We.unshift(xe.host)),xe.host="",Ae.protocol&&(Ae.hostname=null,Ae.port=null,Ae.host&&(ze[0]===""?ze[0]=Ae.host:ze.unshift(Ae.host)),Ae.host=null),qe=qe&&(ze[0]===""||We[0]==="")),He)xe.host=Ae.host||Ae.host===""?Ae.host:xe.host,xe.hostname=Ae.hostname||Ae.hostname===""?Ae.hostname:xe.hostname,xe.search=Ae.search,xe.query=Ae.query,We=ze;else if(ze.length)We||(We=[]),We.pop(),We=We.concat(ze),xe.search=Ae.search,xe.query=Ae.query;else if(!se.isNullOrUndefined(Ae.search)){if(Me){xe.hostname=xe.host=We.shift();var Ge=xe.host&&xe.host.indexOf("@")>0?xe.host.split("@"):!1;Ge&&(xe.auth=Ge.shift(),xe.host=xe.hostname=Ge.shift())}return xe.search=Ae.search,xe.query=Ae.query,(!se.isNull(xe.pathname)||!se.isNull(xe.search))&&(xe.path=(xe.pathname?xe.pathname:"")+(xe.search?xe.search:"")),xe.href=xe.format(),xe}if(!We.length)return xe.pathname=null,xe.search?xe.path="/"+xe.search:xe.path=null,xe.href=xe.format(),xe;for(var Le=We.slice(-1)[0],Ve=(xe.host||Ae.host||We.length>1)&&(Le==="."||Le==="..")||Le==="",ot=0,et=We.length;et>=0;et--)Le=We[et],Le==="."?We.splice(et,1):Le===".."?(We.splice(et,1),ot++):ot&&(We.splice(et,1),ot--);if(!qe&&!rt)for(;ot--;ot)We.unshift("..");qe&&We[0]!==""&&(!We[0]||We[0].charAt(0)!=="/")&&We.unshift(""),Ve&&We.join("/").substr(-1)!=="/"&&We.push("");var Xe=We[0]===""||We[0]&&We[0].charAt(0)==="/";if(Me){xe.hostname=xe.host=Xe?"":We.length?We.shift():"";var Ge=xe.host&&xe.host.indexOf("@")>0?xe.host.split("@"):!1;Ge&&(xe.auth=Ge.shift(),xe.host=xe.hostname=Ge.shift())}return qe=qe||xe.host&&We.length,qe&&!Xe&&We.unshift(""),We.length?xe.pathname=We.join("/"):(xe.pathname=null,xe.path=null),(!se.isNull(xe.pathname)||!se.isNull(xe.search))&&(xe.path=(xe.pathname?xe.pathname:"")+(xe.search?xe.search:"")),xe.auth=Ae.auth||xe.auth,xe.slashes=xe.slashes||Ae.slashes,xe.href=xe.format(),xe},ce.prototype.parseHost=function(){var Ae=this.host,_e=re.exec(Ae);_e&&(_e=_e[0],_e!==":"&&(this.port=_e.substr(1)),Ae=Ae.substr(0,Ae.length-_e.length)),Ae&&(this.hostname=Ae)}},{"./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,me,de){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ae=le(E("@babel/runtime/helpers/typeof"));me.exports={isString:function(se){return typeof se=="string"},isObject:function(se){return(0,ae.default)(se)==="object"&&se!==null},isNull:function(se){return se===null},isNullOrUndefined:function(se){return se==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,me,de){"use strict";E("core-js/modules/es.number.constructor.js"),de.encodeURIComponent=function(le){try{return encodeURIComponent(le)}catch(ae){return le}},de.escape=E("escape-html"),de.timestamp=function(ae){if(ae){var ie=ae;return typeof ie=="string"&&(ie=Number(ie)),String(ae).length===10&&(ie*=1e3),new Date(ie)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,me,de){(function(le,ae){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),se=ie(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 ce=E("util"),oe=E("url"),re=E("http"),ne=E("https"),te=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function ee(ge,he){return ge===void 0?he:ge}function z(ge){return ge?ge.split(";")[0].trim().toLowerCase():""}function ue(ge,he){return function(pe,ye,ve){if(pe)return he(pe);ge({data:ye,status:ve.statusCode,headers:ve.headers,res:ve})}}de.TIMEOUTS=[a("300s"),a("300s")];var fe=["json","text"];de.request=function(he,pe,ye){return arguments.length===2&&typeof pe=="function"&&(ye=pe,pe=null),typeof ye=="function"?de.requestWithCallback(he,pe,ye):new Promise(function(ve,Pe){de.requestWithCallback(he,pe,ue(ve,Pe))})},de.requestWithCallback=function(he,pe,ye){if(!he||typeof he!="string"&&(0,se.default)(he)!=="object"){var ve=ce.format("expect request url to be a string or a http request options, but got %j",he);throw new Error(ve)}arguments.length===2&&typeof pe=="function"&&(ye=pe,pe=null),pe=pe||{},y>=x&&(y=0);var Pe=++y;pe.requestUrls=pe.requestUrls||[];var we={requestId:Pe,url:he,args:pe,ctx:pe.ctx};pe.emitter&&pe.emitter.emit("request",we),pe.timeout=pe.timeout||de.TIMEOUTS,pe.maxRedirects=pe.maxRedirects||10,pe.streaming=pe.streaming||pe.customResponse;var Ae=Date.now(),_e;typeof he=="string"?(b.test(he)||(he="https://"+he),_e=oe.parse(he)):_e=he;var xe=(pe.type||pe.method||_e.method||"GET").toUpperCase(),Ee=_e.port||80,Oe=re,Ie=ee(pe.agent,de.agent),Ne=pe.fixJSONCtlChars;_e.protocol==="https:"&&(Oe=ne,Ie=ee(pe.httpsAgent,de.httpsAgent),_e.port||(Ee=443));var Te={host:_e.hostname||_e.host||"localhost",path:_e.path||"/",method:xe,port:Ee,agent:Ie,headers:pe.headers||{},lookup:pe.lookup};Array.isArray(pe.timeout)?Te.requestTimeout=pe.timeout[pe.timeout.length-1]:typeof pe.timeout!="undefined"&&(Te.requestTimeout=pe.timeout);var Je=pe.auth||_e.auth;Je&&(Te.auth=Je);var Qe=pe.content||pe.data,Ze=xe==="GET"||xe==="HEAD"||pe.dataAsQueryString;if(!pe.content&&Qe&&!(typeof Qe=="string"||ae.isBuffer(Qe)))if(Ze)Qe=pe.nestedQuerystring?qs.stringify(Qe):querystring.stringify(Qe);else{var Ke=Te.headers["Content-Type"]||Te.headers["content-type"];Ke||(pe.contentType==="json"?Ke="application/json":Ke="application/x-www-form-urlencoded",Te.headers["Content-Type"]=Ke),z(Ke)==="application/json"?Qe=JSON.stringify(Qe):Qe=pe.nestedQuerystring?qs.stringify(Qe):querystring.stringify(Qe)}Ze&&Qe&&(Te.path+=(_e.query?"&":"?")+Qe,Qe=null);var Ue=0;if(Qe){var ke=Qe.length;ae.isBuffer(Qe)||(ke=ae.byteLength(Qe)),Ue=Te.headers["Content-Length"]=ke}pe.dataType==="json"&&(Te.headers.Accept="application/json"),typeof pe.beforeRequest=="function"&&pe.beforeRequest(Te);var Re=null,He=null,qe=null,rt=!1,We=!1,ze=0,Me=-1,Ge=!1,Le="",Ve="",ot=null;pe.timing&&(ot={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function et(){Re&&(clearTimeout(Re),Re=null)}function Xe(){He&&(clearTimeout(He),He=null)}function je(st,vt,mt){if(Xe(),!ye){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Pe,le.pid,Te.method,he),st&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),Pe,le.pid,st.name,st.message,st.stack);return}var pt=ye;ye=null;var yt={};mt&&(Me=mt.statusCode,yt=mt.headers);var Et=Date.now()-Ae;ot&&(ot.contentDownload=Et),te("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Et,ze,Me,Te.method,Te.host,Te.path,We,ot);var At={status:Me,statusCode:Me,headers:yt,size:ze,aborted:Ge,rt:Et,keepAliveSocket:We,data:vt,requestUrls:pe.requestUrls,timing:ot,remoteAddress:Le,remotePort:Ve};if(st){var kt="";Ie&&typeof Ie.getCurrentStatus=="function"&&(kt=", agent status: "+JSON.stringify(Ie.getCurrentStatus())),st.message+=", "+Te.method+" "+he+" "+Me+" (connected: "+rt+", keepalive socket: "+We+kt+`)
|
|
|
headers: `+JSON.stringify(yt),st.data=vt,st.path=Te.path,st.status=Me,st.headers=yt,st.res=At}pt(st,vt,pe.streaming?mt:At),pe.emitter&&(we.url=he,we.socket=at&&at.connection,we.options=Te,we.size=Ue,pe.emitter.emit("response",{requestId:Pe,error:st,ctx:pe.ctx,req:we,res:At}))}function Ce(st){var vt=null;if(pe.followRedirect&&statuses.redirect[st.statusCode]){pe._followRedirectCount=(pe._followRedirectCount||0)+1;var mt=st.headers.location;if(!mt)vt=new Error("Got statusCode "+st.statusCode+" but cannot resolve next location from headers"),vt.name="FollowRedirectError";else if(pe._followRedirectCount>pe.maxRedirects)vt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+he),vt.name="MaxRedirectError";else{var pt=pe.formatRedirectUrl?pe.formatRedirectUrl(he,mt):oe.resolve(he,mt);te("Request#%d %s: `redirected` from %s to %s",Pe,Te.path,he,pt),Xe(),pe.headers&&pe.headers.Host&&b.test(mt)&&(pe.headers.Host=null);var yt=ye;return ye=null,de.requestWithCallback(pt,pe,yt),{redirect:!0,error:null}}}return{redirect:!1,error:vt}}pe.gzip&&!Te.headers["Accept-Encoding"]&&!Te.headers["accept-encoding"]&&(Te.headers["Accept-Encoding"]="gzip");function De(st,vt,mt){var pt=st.headers["content-encoding"];return mt(null,vt,pt)}var Fe=pe.writeStream;te("Request#%d %s %s with headers %j, options.path: %s",Pe,xe,he,Te.headers,Te.path),pe.requestUrls.push(he);function Ye(st){if(ot&&(ot.waiting=Date.now()-Ae),te("Request#%d %s `req response` event emit: status %d, headers: %j",Pe,he,st.statusCode,st.headers),pe.streaming){var vt=Ce(st);if(vt.redirect){st.resume();return}return vt.error?(st.resume(),je(vt.error,null,st)):je(null,null,st)}if(st.on("close",function(){te("Request#%d %s: `res close` event emit, total size %d",Pe,he,ze)}),st.on("error",function(){te("Request#%d %s: `res error` event emit, total size %d",Pe,he,ze)}),st.on("aborted",function(){Ge=!0,te("Request#%d %s: `res aborted` event emit, total size %d",Pe,he,ze)}),Fe){var mt=Ce(st);if(mt.redirect){st.resume();return}return mt.error?(st.resume(),Fe.end(),je(mt.error,null,st)):(pe.consumeWriteStream===!1?st.on("end",je.bind(null,null,null,st)):Fe.on("close",function(){te("Request#%d %s: writeStream close event emitted",Pe,he),je(qe||null,null,st)}),st.pipe(Fe))}var pt=[];st.on("data",function(yt){te("Request#%d %s: `res data` event emit, size %d",Pe,he,yt.length),ze+=yt.length,pt.push(yt)}),st.on("end",function(){var yt=ae.concat(pt,ze);if(te("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Pe,he,ze,st._dumped),qe)return je(qe,yt,st);var Et=Ce(st);if(Et.error)return je(Et.error,yt,st);Et.redirect||De(st,yt,function(At,kt,$t){if(At)return je(At,yt,st);if(!$t&&fe.indexOf(pe.dataType)>=0){try{kt=decodeBodyByCharset(kt,st)}catch(Pn){return te("decodeBodyByCharset error: %s",Pn),je(null,kt,st)}if(pe.dataType==="json")if(ze===0)kt=null;else{var rn=parseJSON(kt,Ne);rn.error?At=rn.error:kt=rn.data}}Ge&&te("Request#%d %s: Remote socket was terminated before `response.end()` was called",Pe,he),je(At,kt,st)})})}var nt,$e;Array.isArray(pe.timeout)?(nt=a(pe.timeout[0]),$e=a(pe.timeout[1])):nt=$e=a(pe.timeout),te("ConnectTimeout: %d, ResponseTimeout: %d",nt,$e);function tt(){te("Connect timer ticking, timeout: %d",nt),Re=setTimeout(function(){Re=null,Me===-1&&(Me=-2);var st="Connect timeout for "+nt+"ms",vt="ConnectionTimeoutError";at.socket||(vt="SocketAssignTimeoutError",st+=", working sockets is full"),qe=new Error(st),qe.name=vt,qe.requestId=Pe,te("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Pe,he,qe.name,st,rt),ut()},nt)}function lt(){te("Response timer ticking, timeout: %d",$e),He=setTimeout(function(){He=null;var st="Response timeout for "+$e+"ms",vt="ResponseTimeoutError";qe=new Error(st),qe.name=vt,qe.requestId=Pe,te("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Pe,he,qe.name,st,rt),ut()},$e)}var at;Te.mode=pe.mode?pe.mode:"";try{at=Oe.request(Te,Ye)}catch(st){return je(st)}typeof window=="undefined"?tt():at.on("requestTimeout",function(){Me===-1&&(Me=-2);var st="Connect timeout for "+nt+"ms",vt="ConnectionTimeoutError";qe=new Error(st),qe.name=vt,qe.requestId=Pe,ut()});function ut(){te("Request#%d %s abort, connected: %s",Pe,he,rt),at.socket||(qe.noSocket=!0,je(qe)),at.abort()}return ot&&at.on("finish",function(){ot.requestSent=Date.now()-Ae}),at.once("socket",function(st){ot&&(ot.queuing=Date.now()-Ae);var vt=st.readyState;if(vt==="opening"){st.once("lookup",function(mt,pt,yt){te("Request#%d %s lookup: %s, %s, %s",Pe,he,mt,pt,yt),ot&&(ot.dnslookup=Date.now()-Ae),pt&&(Le=pt)}),st.once("connect",function(){ot&&(ot.connected=Date.now()-Ae),et(),lt(),te("Request#%d %s new socket connected",Pe,he),rt=!0,Le||(Le=st.remoteAddress),Ve=st.remotePort});return}te("Request#%d %s reuse socket connected, readyState: %s",Pe,he,vt),rt=!0,We=!0,Le||(Le=st.remoteAddress),Ve=st.remotePort,et(),lt()}),at.on("error",function(st){(st.name==="Error"||st.name==="TypeError")&&(st.name=rt?"ResponseError":"RequestError"),st.message+=' (req "error")',te("Request#%d %s `req error` event emit, %s: %s",Pe,he,st.name,st.message),je(qe||st)}),Fe&&Fe.once("error",function(st){st.message+=' (writeStream "error")',qe=st,te("Request#%d %s `writeStream error` event emit, %s: %s",Pe,he,st.name,st.message),ut()}),pe.stream?(pe.stream.pipe(at),pe.stream.once("error",function(st){st.message+=' (stream "error")',qe=st,te("Request#%d %s `readStream error` event emit, %s: %s",Pe,he,st.name,st.message),ut()})):at.end(Qe),at.requestId=Pe,at}}).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)})})(window)},77578:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return be}});const be=Be=>Be?typeof Be=="function"?Be():Be:null},36381:function(ct,it,Se){"use strict";Se.d(it,{default:function(){return Me}});var be=Se(38819),Be=Se(92310),E=Se.n(Be),me=Se(92413),de=Se(26407),le=Se(33606),ae=Se(39559),ie=Se(18929),se=Se(48736),ce=Se(59301),oe=Se(37061),re=Se(11592),ne=Se(400),te=Se(77900),a=Se(10228),y=ce.forwardRef(function(Ge,Le){var Ve=Ge.prefixCls,ot=Ge.forceRender,et=Ge.className,Xe=Ge.style,je=Ge.children,Ce=Ge.isActive,De=Ge.role,Fe=ce.useState(Ce||ot),Ye=(0,le.Z)(Fe,2),nt=Ye[0],$e=Ye[1];return ce.useEffect(function(){(ot||Ce)&&$e(!0)},[ot,Ce]),nt?ce.createElement("div",{ref:Le,className:E()("".concat(Ve,"-content"),(0,ne.Z)((0,ne.Z)({},"".concat(Ve,"-content-active"),Ce),"".concat(Ve,"-content-inactive"),!Ce),et),style:Xe,role:De},ce.createElement("div",{className:"".concat(Ve,"-content-box")},je)):null});y.displayName="PanelContent";var x=y,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],ee=ce.forwardRef(function(Ge,Le){var Ve=Ge.showArrow,ot=Ve===void 0?!0:Ve,et=Ge.headerClass,Xe=Ge.isActive,je=Ge.onItemClick,Ce=Ge.forceRender,De=Ge.className,Fe=Ge.prefixCls,Ye=Ge.collapsible,nt=Ge.accordion,$e=Ge.panelKey,tt=Ge.extra,lt=Ge.header,at=Ge.expandIcon,ut=Ge.openMotion,st=Ge.destroyInactivePanel,vt=Ge.children,mt=(0,oe.Z)(Ge,b),pt=Ye==="disabled",yt=Ye==="header",Et=Ye==="icon",At=tt!=null&&typeof tt!="boolean",kt=function(){je==null||je($e)},$t=function(Gn){(Gn.key==="Enter"||Gn.keyCode===a.Z.ENTER||Gn.which===a.Z.ENTER)&&kt()},rn=typeof at=="function"?at(Ge):ce.createElement("i",{className:"arrow"});rn&&(rn=ce.createElement("div",{className:"".concat(Fe,"-expand-icon"),onClick:["header","icon"].includes(Ye)?kt:void 0},rn));var Pn=E()((0,ne.Z)((0,ne.Z)((0,ne.Z)({},"".concat(Fe,"-item"),!0),"".concat(Fe,"-item-active"),Xe),"".concat(Fe,"-item-disabled"),pt),De),In=E()(et,(0,ne.Z)((0,ne.Z)((0,ne.Z)({},"".concat(Fe,"-header"),!0),"".concat(Fe,"-header-collapsible-only"),yt),"".concat(Fe,"-icon-collapsible-only"),Et)),En={className:In,"aria-expanded":Xe,"aria-disabled":pt,onKeyDown:$t};return!yt&&!Et&&(En.onClick=kt,En.role=nt?"tab":"button",En.tabIndex=pt?-1:0),ce.createElement("div",(0,me.Z)({},mt,{ref:Le,className:Pn}),ce.createElement("div",En,ot&&rn,ce.createElement("span",{className:"".concat(Fe,"-header-text"),onClick:Ye==="header"?kt:void 0},lt),At&&ce.createElement("div",{className:"".concat(Fe,"-extra")},tt)),ce.createElement(te.default,(0,me.Z)({visible:Xe,leavedClassName:"".concat(Fe,"-content-hidden")},ut,{forceRender:Ce,removeOnLeave:st}),function(gn,Gn){var On=gn.className,Zn=gn.style;return ce.createElement(x,{ref:Gn,prefixCls:Fe,className:On,style:Zn,isActive:Xe,forceRender:Ce,role:nt?"tabpanel":void 0},vt)}))}),z=ee,ue=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],fe=function(Le,Ve){var ot=Ve.prefixCls,et=Ve.accordion,Xe=Ve.collapsible,je=Ve.destroyInactivePanel,Ce=Ve.onItemClick,De=Ve.activeKey,Fe=Ve.openMotion,Ye=Ve.expandIcon;return Le.map(function(nt,$e){var tt=nt.children,lt=nt.label,at=nt.key,ut=nt.collapsible,st=nt.onItemClick,vt=nt.destroyInactivePanel,mt=(0,oe.Z)(nt,ue),pt=String(at!=null?at:$e),yt=ut!=null?ut:Xe,Et=vt!=null?vt:je,At=function(rn){yt!=="disabled"&&(Ce(rn),st==null||st(rn))},kt=!1;return et?kt=De[0]===pt:kt=De.indexOf(pt)>-1,ce.createElement(z,(0,me.Z)({},mt,{prefixCls:ot,key:pt,panelKey:pt,isActive:kt,accordion:et,openMotion:Fe,expandIcon:Ye,header:lt,collapsible:yt,onItemClick:At,destroyInactivePanel:Et}),tt)})},ge=function(Le,Ve,ot){if(!Le)return null;var et=ot.prefixCls,Xe=ot.accordion,je=ot.collapsible,Ce=ot.destroyInactivePanel,De=ot.onItemClick,Fe=ot.activeKey,Ye=ot.openMotion,nt=ot.expandIcon,$e=Le.key||String(Ve),tt=Le.props,lt=tt.header,at=tt.headerClass,ut=tt.destroyInactivePanel,st=tt.collapsible,vt=tt.onItemClick,mt=!1;Xe?mt=Fe[0]===$e:mt=Fe.indexOf($e)>-1;var pt=st!=null?st:je,yt=function(kt){pt!=="disabled"&&(De(kt),vt==null||vt(kt))},Et={key:$e,panelKey:$e,header:lt,headerClass:at,isActive:mt,prefixCls:et,destroyInactivePanel:ut!=null?ut:Ce,openMotion:Ye,accordion:Xe,children:Le.props.children,onItemClick:yt,expandIcon:nt,collapsible:pt};return typeof Le.type=="string"?Le:(Object.keys(Et).forEach(function(At){typeof Et[At]=="undefined"&&delete Et[At]}),ce.cloneElement(Le,Et))};function he(Ge,Le,Ve){return Array.isArray(Ge)?fe(Ge,Ve):(0,re.Z)(Le).map(function(ot,et){return ge(ot,et,Ve)})}var pe=he,ye=Se(26112);function ve(Ge){var Le=Ge;if(!Array.isArray(Le)){var Ve=(0,ae.Z)(Le);Le=Ve==="number"||Ve==="string"?[Le]:[]}return Le.map(function(ot){return String(ot)})}var Pe=ce.forwardRef(function(Ge,Le){var Ve=Ge.prefixCls,ot=Ve===void 0?"rc-collapse":Ve,et=Ge.destroyInactivePanel,Xe=et===void 0?!1:et,je=Ge.style,Ce=Ge.accordion,De=Ge.className,Fe=Ge.children,Ye=Ge.collapsible,nt=Ge.openMotion,$e=Ge.expandIcon,tt=Ge.activeKey,lt=Ge.defaultActiveKey,at=Ge.onChange,ut=Ge.items,st=E()(ot,De),vt=(0,ie.Z)([],{value:tt,onChange:function($t){return at==null?void 0:at($t)},defaultValue:lt,postState:ve}),mt=(0,le.Z)(vt,2),pt=mt[0],yt=mt[1],Et=function($t){return yt(function(){if(Ce)return pt[0]===$t?[]:[$t];var rn=pt.indexOf($t),Pn=rn>-1;return Pn?pt.filter(function(In){return In!==$t}):[].concat((0,de.Z)(pt),[$t])})};(0,se.ZP)(!Fe,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var At=pe(ut,Fe,{prefixCls:ot,accordion:Ce,openMotion:nt,expandIcon:$e,collapsible:Ye,destroyInactivePanel:Xe,onItemClick:Et,activeKey:pt});return ce.createElement("div",(0,me.Z)({ref:Le,className:st,style:je,role:Ce?"tablist":void 0},(0,ye.Z)(Ge,{aria:!0,data:!0})),At)}),we=Object.assign(Pe,{Panel:z}),Ae=we,_e=we.Panel,xe=Se(2738),Ee=Se(62892),Oe=Se(92343),Ie=Se(36355),Ne=Se(19716),Je=ce.forwardRef((Ge,Le)=>{const{getPrefixCls:Ve}=ce.useContext(Ie.E_),{prefixCls:ot,className:et,showArrow:Xe=!0}=Ge,je=Ve("collapse",ot),Ce=E()({[`${je}-no-arrow`]:!Xe},et);return ce.createElement(Ae.Panel,Object.assign({ref:Le},Ge,{prefixCls:je,className:Ce}))}),Qe=Se(17313),Ze=Se(8378),Ke=Se(83116),Ue=Se(37613);const ke=Ge=>{const{componentCls:Le,contentBg:Ve,padding:ot,headerBg:et,headerPadding:Xe,collapseHeaderPaddingSM:je,collapseHeaderPaddingLG:Ce,collapsePanelBorderRadius:De,lineWidth:Fe,lineType:Ye,colorBorder:nt,colorText:$e,colorTextHeading:tt,colorTextDisabled:lt,fontSize:at,fontSizeLG:ut,lineHeight:st,marginSM:vt,paddingSM:mt,paddingLG:pt,paddingXS:yt,motionDurationSlow:Et,fontSizeIcon:At,contentPadding:kt}=Ge,$t=`${Fe}px ${Ye} ${nt}`;return{[Le]:Object.assign(Object.assign({},(0,Qe.Wf)(Ge)),{backgroundColor:et,border:$t,borderBottom:0,borderRadius:`${De}px`,"&-rtl":{direction:"rtl"},[`& > ${Le}-item`]:{borderBottom:$t,"&:last-child":{[`
|
|
|
&,
|
|
|
& > ${Le}-header`]:{borderRadius:`0 0 ${De}px ${De}px`}},[`> ${Le}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Xe,color:tt,lineHeight:st,cursor:"pointer",transition:`all ${Et}, visibility 0s`,[`> ${Le}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Le}-expand-icon`]:{height:at*st,display:"flex",alignItems:"center",paddingInlineEnd:vt},[`${Le}-arrow`]:Object.assign(Object.assign({},(0,Qe.Ro)()),{fontSize:At,svg:{transition:`transform ${Et}`}}),[`${Le}-header-text`]:{marginInlineEnd:"auto"}},[`${Le}-header-collapsible-only`]:{cursor:"default",[`${Le}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Le}-icon-collapsible-only`]:{cursor:"default",[`${Le}-expand-icon`]:{cursor:"pointer"}}},[`${Le}-content`]:{color:$e,backgroundColor:Ve,borderTop:$t,[`& > ${Le}-content-box`]:{padding:kt},"&-hidden":{display:"none"}},"&-small":{[`> ${Le}-item`]:{[`> ${Le}-header`]:{padding:je,paddingInlineStart:yt,[`> ${Le}-expand-icon`]:{marginInlineStart:mt-yt}},[`> ${Le}-content > ${Le}-content-box`]:{padding:mt}}},"&-large":{[`> ${Le}-item`]:{fontSize:ut,[`> ${Le}-header`]:{padding:Ce,paddingInlineStart:ot,[`> ${Le}-expand-icon`]:{height:ut*st,marginInlineStart:pt-ot}},[`> ${Le}-content > ${Le}-content-box`]:{padding:pt}}},[`${Le}-item:last-child`]:{[`> ${Le}-content`]:{borderRadius:`0 0 ${De}px ${De}px`}},[`& ${Le}-item-disabled > ${Le}-header`]:{"\n &,\n & > .arrow\n ":{color:lt,cursor:"not-allowed"}},[`&${Le}-icon-position-end`]:{[`& > ${Le}-item`]:{[`> ${Le}-header`]:{[`${Le}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:vt}}}}})}},Re=Ge=>{const{componentCls:Le}=Ge,Ve=`> ${Le}-item > ${Le}-header ${Le}-arrow svg`;return{[`${Le}-rtl`]:{[Ve]:{transform:"rotate(180deg)"}}}},He=Ge=>{const{componentCls:Le,headerBg:Ve,paddingXXS:ot,colorBorder:et}=Ge;return{[`${Le}-borderless`]:{backgroundColor:Ve,border:0,[`> ${Le}-item`]:{borderBottom:`1px solid ${et}`},[`
|
|
|
> ${Le}-item:last-child,
|
|
|
> ${Le}-item:last-child ${Le}-header
|
|
|
`]:{borderRadius:0},[`> ${Le}-item:last-child`]:{borderBottom:0},[`> ${Le}-item > ${Le}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Le}-item > ${Le}-content > ${Le}-content-box`]:{paddingTop:ot}}}},qe=Ge=>{const{componentCls:Le,paddingSM:Ve}=Ge;return{[`${Le}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Le}-item`]:{borderBottom:0,[`> ${Le}-content`]:{backgroundColor:"transparent",border:0,[`> ${Le}-content-box`]:{paddingBlock:Ve}}}}}};var rt=(0,Ke.Z)("Collapse",Ge=>{const Le=(0,Ue.TS)(Ge,{collapseHeaderPaddingSM:`${Ge.paddingXS}px ${Ge.paddingSM}px`,collapseHeaderPaddingLG:`${Ge.padding}px ${Ge.paddingLG}px`,collapsePanelBorderRadius:Ge.borderRadiusLG});return[ke(Le),He(Le),qe(Le),Re(Le),(0,Ze.Z)(Le)]},Ge=>({headerPadding:`${Ge.paddingSM}px ${Ge.padding}px`,headerBg:Ge.colorFillAlter,contentPadding:`${Ge.padding}px 16px`,contentBg:Ge.colorBgContainer})),ze=Object.assign(ce.forwardRef((Ge,Le)=>{const{getPrefixCls:Ve,direction:ot,collapse:et}=ce.useContext(Ie.E_),{prefixCls:Xe,className:je,rootClassName:Ce,style:De,bordered:Fe=!0,ghost:Ye,size:nt,expandIconPosition:$e="start",children:tt,expandIcon:lt}=Ge,at=(0,Ne.Z)($t=>{var rn;return(rn=nt!=null?nt:$t)!==null&&rn!==void 0?rn:"middle"}),ut=Ve("collapse",Xe),st=Ve(),[vt,mt]=rt(ut),pt=ce.useMemo(()=>$e==="left"?"start":$e==="right"?"end":$e,[$e]),yt=function(){let $t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const rn=lt?lt($t):ce.createElement(be.Z,{rotate:$t.isActive?90:void 0});return(0,Oe.Tm)(rn,()=>({className:E()(rn.props.className,`${ut}-arrow`)}))},Et=E()(`${ut}-icon-position-${pt}`,{[`${ut}-borderless`]:!Fe,[`${ut}-rtl`]:ot==="rtl",[`${ut}-ghost`]:!!Ye,[`${ut}-${at}`]:at!=="middle"},et==null?void 0:et.className,je,Ce,mt),At=Object.assign(Object.assign({},(0,Ee.Z)(st)),{motionAppear:!1,leavedClassName:`${ut}-content-hidden`}),kt=ce.useMemo(()=>tt?(0,re.Z)(tt).map(($t,rn)=>{var Pn,In;if(!((Pn=$t.props)===null||Pn===void 0)&&Pn.disabled){const En=(In=$t.key)!==null&&In!==void 0?In:String(rn),{disabled:gn,collapsible:Gn}=$t.props,On=Object.assign(Object.assign({},(0,xe.Z)($t.props,["disabled"])),{key:En,collapsible:Gn!=null?Gn:gn?"disabled":void 0});return(0,Oe.Tm)($t,On)}return $t}):null,[tt]);return vt(ce.createElement(Ae,Object.assign({ref:Le,openMotion:At},(0,xe.Z)(Ge,["rootClassName"]),{expandIcon:yt,prefixCls:ut,className:Et,style:Object.assign(Object.assign({},et==null?void 0:et.style),De)}),kt))}),{Panel:Je}),Me=ze},39722:function(ct,it,Se){"use strict";Se.d(it,{t5:function(){return ce}});var be=Se(92310),Be=Se.n(be),E=Se(55477),me=Se(59301),de=Se(36355),le=Se(77578),ae=Se(17356),ie=function(re,ne){var te={};for(var a in re)Object.prototype.hasOwnProperty.call(re,a)&&ne.indexOf(a)<0&&(te[a]=re[a]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(re);y<a.length;y++)ne.indexOf(a[y])<0&&Object.prototype.propertyIsEnumerable.call(re,a[y])&&(te[a[y]]=re[a[y]]);return te};const se=(re,ne,te)=>{if(!(!ne&&!te))return me.createElement(me.Fragment,null,ne&&me.createElement("div",{className:`${re}-title`},(0,le.Z)(ne)),me.createElement("div",{className:`${re}-inner-content`},(0,le.Z)(te)))},ce=re=>{const{hashId:ne,prefixCls:te,className:a,style:y,placement:x="top",title:b,content:ee,children:z}=re;return me.createElement("div",{className:Be()(ne,te,`${te}-pure`,`${te}-placement-${x}`,a),style:y},me.createElement("div",{className:`${te}-arrow`}),me.createElement(E.G,Object.assign({},re,{className:ne,prefixCls:te}),z||se(te,b,ee)))},oe=re=>{const{prefixCls:ne}=re,te=ie(re,["prefixCls"]),{getPrefixCls:a}=me.useContext(de.E_),y=a("popover",ne),[x,b]=(0,ae.Z)(y);return x(me.createElement(ce,Object.assign({},te,{prefixCls:y,hashId:b})))};it.ZP=oe},17356:function(ct,it,Se){"use strict";var be=Se(17313),Be=Se(29878),E=Se(19447),me=Se(33166),de=Se(83116),le=Se(37613);const ae=ce=>{const{componentCls:oe,popoverColor:re,minWidth:ne,fontWeightStrong:te,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:ee,marginXS:z,colorBgElevated:ue,popoverBg:fe}=ce;return[{[oe]:Object.assign(Object.assign({},(0,be.Wf)(ce)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:ee,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ue,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${oe}-content`]:{position:"relative"},[`${oe}-inner`]:{backgroundColor:fe,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${oe}-title`]:{minWidth:ne,marginBottom:z,color:x,fontWeight:te},[`${oe}-inner-content`]:{color:re}})},(0,E.ZP)(ce,{colorBg:"var(--antd-arrow-background-color)"}),{[`${oe}-pure`]:{position:"relative",maxWidth:"none",margin:ce.sizePopupArrow,display:"inline-block",[`${oe}-content`]:{display:"inline-block"}}}]},ie=ce=>{const{componentCls:oe}=ce;return{[oe]:me.i.map(re=>{const ne=ce[`${re}6`];return{[`&${oe}-${re}`]:{"--antd-arrow-background-color":ne,[`${oe}-inner`]:{backgroundColor:ne},[`${oe}-arrow`]:{background:"transparent"}}}})}},se=ce=>{const{componentCls:oe,lineWidth:re,lineType:ne,colorSplit:te,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:ee}=ce,z=y-Math.round(x*b),ue=z/2,fe=z/2-re,ge=ee;return{[oe]:{[`${oe}-inner`]:{padding:0},[`${oe}-title`]:{margin:0,padding:`${ue}px ${ge}px ${fe}px`,borderBottom:`${re}px ${ne} ${te}`},[`${oe}-inner-content`]:{padding:`${a}px ${ge}px`}}}};it.Z=(0,de.Z)("Popover",ce=>{const{colorBgElevated:oe,colorText:re,wireframe:ne}=ce,te=(0,le.TS)(ce,{popoverPadding:12,popoverBg:oe,popoverColor:re});return[ae(te),ie(te),ne&&se(te),(0,Be._y)(te,"zoom-big")]},ce=>({width:177,minWidth:177,zIndexPopup:ce.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},61621:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return ot}});var be=Se(92310),Be=Se.n(be),E=Se(59301),me=Se(36355),de=Se(2738),ae=et=>{const{prefixCls:Xe,className:je,style:Ce,size:De,shape:Fe}=et,Ye=Be()({[`${Xe}-lg`]:De==="large",[`${Xe}-sm`]:De==="small"}),nt=Be()({[`${Xe}-circle`]:Fe==="circle",[`${Xe}-square`]:Fe==="square",[`${Xe}-round`]:Fe==="round"}),$e=E.useMemo(()=>typeof De=="number"?{width:De,height:De,lineHeight:`${De}px`}:{},[De]);return E.createElement("span",{className:Be()(Xe,Ye,nt,je),style:Object.assign(Object.assign({},$e),Ce)})},ie=Se(93083),se=Se(83116),ce=Se(37613);const oe=new ie.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),re=et=>({height:et,lineHeight:`${et}px`}),ne=et=>Object.assign({width:et},re(et)),te=et=>({background:et.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:oe,animationDuration:et.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=et=>Object.assign({width:et*5,minWidth:et*5},re(et)),y=et=>{const{skeletonAvatarCls:Xe,gradientFromColor:je,controlHeight:Ce,controlHeightLG:De,controlHeightSM:Fe}=et;return{[`${Xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:je},ne(Ce)),[`${Xe}${Xe}-circle`]:{borderRadius:"50%"},[`${Xe}${Xe}-lg`]:Object.assign({},ne(De)),[`${Xe}${Xe}-sm`]:Object.assign({},ne(Fe))}},x=et=>{const{controlHeight:Xe,borderRadiusSM:je,skeletonInputCls:Ce,controlHeightLG:De,controlHeightSM:Fe,gradientFromColor:Ye}=et;return{[`${Ce}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ye,borderRadius:je},a(Xe)),[`${Ce}-lg`]:Object.assign({},a(De)),[`${Ce}-sm`]:Object.assign({},a(Fe))}},b=et=>Object.assign({width:et},re(et)),ee=et=>{const{skeletonImageCls:Xe,imageSizeBase:je,gradientFromColor:Ce,borderRadiusSM:De}=et;return{[`${Xe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Ce,borderRadius:De},b(je*2)),{[`${Xe}-path`]:{fill:"#bfbfbf"},[`${Xe}-svg`]:Object.assign(Object.assign({},b(je)),{maxWidth:je*4,maxHeight:je*4}),[`${Xe}-svg${Xe}-svg-circle`]:{borderRadius:"50%"}}),[`${Xe}${Xe}-circle`]:{borderRadius:"50%"}}},z=(et,Xe,je)=>{const{skeletonButtonCls:Ce}=et;return{[`${je}${Ce}-circle`]:{width:Xe,minWidth:Xe,borderRadius:"50%"},[`${je}${Ce}-round`]:{borderRadius:Xe}}},ue=et=>Object.assign({width:et*2,minWidth:et*2},re(et)),fe=et=>{const{borderRadiusSM:Xe,skeletonButtonCls:je,controlHeight:Ce,controlHeightLG:De,controlHeightSM:Fe,gradientFromColor:Ye}=et;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ye,borderRadius:Xe,width:Ce*2,minWidth:Ce*2},ue(Ce))},z(et,Ce,je)),{[`${je}-lg`]:Object.assign({},ue(De))}),z(et,De,`${je}-lg`)),{[`${je}-sm`]:Object.assign({},ue(Fe))}),z(et,Fe,`${je}-sm`))},ge=et=>{const{componentCls:Xe,skeletonAvatarCls:je,skeletonTitleCls:Ce,skeletonParagraphCls:De,skeletonButtonCls:Fe,skeletonInputCls:Ye,skeletonImageCls:nt,controlHeight:$e,controlHeightLG:tt,controlHeightSM:lt,gradientFromColor:at,padding:ut,marginSM:st,borderRadius:vt,titleHeight:mt,blockRadius:pt,paragraphLiHeight:yt,controlHeightXS:Et,paragraphMarginTop:At}=et;return{[`${Xe}`]:{display:"table",width:"100%",[`${Xe}-header`]:{display:"table-cell",paddingInlineEnd:ut,verticalAlign:"top",[`${je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:at},ne($e)),[`${je}-circle`]:{borderRadius:"50%"},[`${je}-lg`]:Object.assign({},ne(tt)),[`${je}-sm`]:Object.assign({},ne(lt))},[`${Xe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Ce}`]:{width:"100%",height:mt,background:at,borderRadius:pt,[`+ ${De}`]:{marginBlockStart:lt}},[`${De}`]:{padding:0,"> li":{width:"100%",height:yt,listStyle:"none",background:at,borderRadius:pt,"+ li":{marginBlockStart:Et}}},[`${De}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Xe}-content`]:{[`${Ce}, ${De} > li`]:{borderRadius:vt}}},[`${Xe}-with-avatar ${Xe}-content`]:{[`${Ce}`]:{marginBlockStart:st,[`+ ${De}`]:{marginBlockStart:At}}},[`${Xe}${Xe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},fe(et)),y(et)),x(et)),ee(et)),[`${Xe}${Xe}-block`]:{width:"100%",[`${Fe}`]:{width:"100%"},[`${Ye}`]:{width:"100%"}},[`${Xe}${Xe}-active`]:{[`
|
|
|
${Ce},
|
|
|
${De} > li,
|
|
|
${je},
|
|
|
${Fe},
|
|
|
${Ye},
|
|
|
${nt}
|
|
|
`]:Object.assign({},te(et))}}};var he=(0,se.Z)("Skeleton",et=>{const{componentCls:Xe}=et,je=(0,ce.TS)(et,{skeletonAvatarCls:`${Xe}-avatar`,skeletonTitleCls:`${Xe}-title`,skeletonParagraphCls:`${Xe}-paragraph`,skeletonButtonCls:`${Xe}-button`,skeletonInputCls:`${Xe}-input`,skeletonImageCls:`${Xe}-image`,imageSizeBase:et.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${et.gradientFromColor} 25%, ${et.gradientToColor} 37%, ${et.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ge(je)]},et=>{const{colorFillContent:Xe,colorFill:je}=et,Ce=Xe,De=je;return{color:Ce,colorGradientEnd:De,gradientFromColor:Ce,gradientToColor:De,titleHeight:et.controlHeight/2,blockRadius:et.borderRadiusSM,paragraphMarginTop:et.marginLG+et.marginXXS,paragraphLiHeight:et.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ye=et=>{const{prefixCls:Xe,className:je,rootClassName:Ce,active:De,shape:Fe="circle",size:Ye="default"}=et,{getPrefixCls:nt}=E.useContext(me.E_),$e=nt("skeleton",Xe),[tt,lt]=he($e),at=(0,de.Z)(et,["prefixCls","className"]),ut=Be()($e,`${$e}-element`,{[`${$e}-active`]:De},je,Ce,lt);return tt(E.createElement("div",{className:ut},E.createElement(ae,Object.assign({prefixCls:`${$e}-avatar`,shape:Fe,size:Ye},at))))},Pe=et=>{const{prefixCls:Xe,className:je,rootClassName:Ce,active:De,block:Fe=!1,size:Ye="default"}=et,{getPrefixCls:nt}=E.useContext(me.E_),$e=nt("skeleton",Xe),[tt,lt]=he($e),at=(0,de.Z)(et,["prefixCls"]),ut=Be()($e,`${$e}-element`,{[`${$e}-active`]:De,[`${$e}-block`]:Fe},je,Ce,lt);return tt(E.createElement("div",{className:ut},E.createElement(ae,Object.assign({prefixCls:`${$e}-button`,size:Ye},at))))};const we="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var _e=et=>{const{prefixCls:Xe,className:je,rootClassName:Ce,style:De,active:Fe}=et,{getPrefixCls:Ye}=E.useContext(me.E_),nt=Ye("skeleton",Xe),[$e,tt]=he(nt),lt=Be()(nt,`${nt}-element`,{[`${nt}-active`]:Fe},je,Ce,tt);return $e(E.createElement("div",{className:lt},E.createElement("div",{className:Be()(`${nt}-image`,je),style:De},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${nt}-image-svg`},E.createElement("path",{d:we,className:`${nt}-image-path`})))))},Ee=et=>{const{prefixCls:Xe,className:je,rootClassName:Ce,active:De,block:Fe,size:Ye="default"}=et,{getPrefixCls:nt}=E.useContext(me.E_),$e=nt("skeleton",Xe),[tt,lt]=he($e),at=(0,de.Z)(et,["prefixCls"]),ut=Be()($e,`${$e}-element`,{[`${$e}-active`]:De,[`${$e}-block`]:Fe},je,Ce,lt);return tt(E.createElement("div",{className:ut},E.createElement(ae,Object.assign({prefixCls:`${$e}-input`,size:Ye},at))))},Oe=Se(92413),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Ne=Ie,Te=Se(7657),Je=function(Xe,je){return E.createElement(Te.Z,(0,Oe.Z)({},Xe,{ref:je,icon:Ne}))},Qe=E.forwardRef(Je),Ze=Qe,Ue=et=>{const{prefixCls:Xe,className:je,rootClassName:Ce,style:De,active:Fe,children:Ye}=et,{getPrefixCls:nt}=E.useContext(me.E_),$e=nt("skeleton",Xe),[tt,lt]=he($e),at=Be()($e,`${$e}-element`,{[`${$e}-active`]:Fe},lt,je,Ce),ut=Ye!=null?Ye:E.createElement(Ze,null);return tt(E.createElement("div",{className:at},E.createElement("div",{className:Be()(`${$e}-image`,je),style:De},ut)))},ke=Se(26407),He=et=>{const Xe=nt=>{const{width:$e,rows:tt=2}=et;if(Array.isArray($e))return $e[nt];if(tt-1===nt)return $e},{prefixCls:je,className:Ce,style:De,rows:Fe}=et,Ye=(0,ke.Z)(Array(Fe)).map((nt,$e)=>E.createElement("li",{key:$e,style:{width:Xe($e)}}));return E.createElement("ul",{className:Be()(je,Ce),style:De},Ye)},rt=et=>{let{prefixCls:Xe,className:je,width:Ce,style:De}=et;return E.createElement("h3",{className:Be()(Xe,je),style:Object.assign({width:Ce},De)})};function We(et){return et&&typeof et=="object"?et:{}}function ze(et,Xe){return et&&!Xe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Me(et,Xe){return!et&&Xe?{width:"38%"}:et&&Xe?{width:"50%"}:{}}function Ge(et,Xe){const je={};return(!et||!Xe)&&(je.width="61%"),!et&&Xe?je.rows=3:je.rows=2,je}const Le=et=>{const{prefixCls:Xe,loading:je,className:Ce,rootClassName:De,style:Fe,children:Ye,avatar:nt=!1,title:$e=!0,paragraph:tt=!0,active:lt,round:at}=et,{getPrefixCls:ut,direction:st,skeleton:vt}=E.useContext(me.E_),mt=ut("skeleton",Xe),[pt,yt]=he(mt);if(je||!("loading"in et)){const Et=!!nt,At=!!$e,kt=!!tt;let $t;if(Et){const In=Object.assign(Object.assign({prefixCls:`${mt}-avatar`},ze(At,kt)),We(nt));$t=E.createElement("div",{className:`${mt}-header`},E.createElement(ae,Object.assign({},In)))}let rn;if(At||kt){let In;if(At){const gn=Object.assign(Object.assign({prefixCls:`${mt}-title`},Me(Et,kt)),We($e));In=E.createElement(rt,Object.assign({},gn))}let En;if(kt){const gn=Object.assign(Object.assign({prefixCls:`${mt}-paragraph`},Ge(Et,At)),We(tt));En=E.createElement(He,Object.assign({},gn))}rn=E.createElement("div",{className:`${mt}-content`},In,En)}const Pn=Be()(mt,{[`${mt}-with-avatar`]:Et,[`${mt}-active`]:lt,[`${mt}-rtl`]:st==="rtl",[`${mt}-round`]:at},vt==null?void 0:vt.className,Ce,De,yt);return pt(E.createElement("div",{className:Pn,style:Object.assign(Object.assign({},vt==null?void 0:vt.style),Fe)},$t,rn))}return typeof Ye!="undefined"?Ye:null};Le.Button=Pe,Le.Avatar=ye,Le.Input=Ee,Le.Image=_e,Le.Node=Ue;var Ve=Le,ot=Ve},31797:function(ct,it,Se){"use strict";Se.d(it,{default:function(){return he}});var be=Se(59301),Be=Se(56762),E=Se(92343),me=Se(92310),de=Se.n(me),le=Se(36355),ae=Se(61621),se=pe=>{const{value:ye,formatter:ve,precision:Pe,decimalSeparator:we,groupSeparator:Ae="",prefixCls:_e}=pe;let xe;if(typeof ve=="function")xe=ve(ye);else{const Ee=String(ye),Oe=Ee.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Oe||Ee==="-")xe=Ee;else{const Ie=Oe[1];let Ne=Oe[2]||"0",Te=Oe[4]||"";Ne=Ne.replace(/\B(?=(\d{3})+(?!\d))/g,Ae),typeof Pe=="number"&&(Te=Te.padEnd(Pe,"0").slice(0,Pe>0?Pe:0)),Te&&(Te=`${we}${Te}`),xe=[be.createElement("span",{key:"int",className:`${_e}-content-value-int`},Ie,Ne),Te&&be.createElement("span",{key:"decimal",className:`${_e}-content-value-decimal`},Te)]}}return be.createElement("span",{className:`${_e}-content-value`},xe)},ce=Se(17313),oe=Se(83116),re=Se(37613);const ne=pe=>{const{componentCls:ye,marginXXS:ve,padding:Pe,colorTextDescription:we,titleFontSize:Ae,colorTextHeading:_e,contentFontSize:xe,fontFamily:Ee}=pe;return{[`${ye}`]:Object.assign(Object.assign({},(0,ce.Wf)(pe)),{[`${ye}-title`]:{marginBottom:ve,color:we,fontSize:Ae},[`${ye}-skeleton`]:{paddingTop:Pe},[`${ye}-content`]:{color:_e,fontSize:xe,fontFamily:Ee,[`${ye}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ye}-content-prefix, ${ye}-content-suffix`]:{display:"inline-block"},[`${ye}-content-prefix`]:{marginInlineEnd:ve},[`${ye}-content-suffix`]:{marginInlineStart:ve}}})}};var te=(0,oe.Z)("Statistic",pe=>{const ye=(0,re.TS)(pe,{});return[ne(ye)]},pe=>{const{fontSizeHeading3:ye,fontSize:ve}=pe;return{titleFontSize:ve,contentFontSize:ye}}),y=pe=>{const{prefixCls:ye,className:ve,rootClassName:Pe,style:we,valueStyle:Ae,value:_e=0,title:xe,valueRender:Ee,prefix:Oe,suffix:Ie,loading:Ne=!1,onMouseEnter:Te,onMouseLeave:Je,decimalSeparator:Qe=".",groupSeparator:Ze=","}=pe,{getPrefixCls:Ke,direction:Ue,statistic:ke}=be.useContext(le.E_),Re=Ke("statistic",ye),[He,qe]=te(Re),rt=be.createElement(se,Object.assign({decimalSeparator:Qe,groupSeparator:Ze,prefixCls:Re},pe,{value:_e})),We=de()(Re,{[`${Re}-rtl`]:Ue==="rtl"},ke==null?void 0:ke.className,ve,Pe,qe);return He(be.createElement("div",{className:We,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),we),onMouseEnter:Te,onMouseLeave:Je},xe&&be.createElement("div",{className:`${Re}-title`},xe),be.createElement(ae.Z,{paragraph:!1,loading:Ne,className:`${Re}-skeleton`},be.createElement("div",{style:Ae,className:`${Re}-content`},Oe&&be.createElement("span",{className:`${Re}-content-prefix`},Oe),Ee?Ee(rt):rt,Ie&&be.createElement("span",{className:`${Re}-content-suffix`},Ie)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(pe,ye){let ve=pe;const Pe=/\[[^\]]*]/g,we=(ye.match(Pe)||[]).map(Ee=>Ee.slice(1,-1)),Ae=ye.replace(Pe,"[]"),_e=x.reduce((Ee,Oe)=>{let[Ie,Ne]=Oe;if(Ee.includes(Ie)){const Te=Math.floor(ve/Ne);return ve-=Te*Ne,Ee.replace(new RegExp(`${Ie}+`,"g"),Je=>{const Qe=Je.length;return Te.toString().padStart(Qe,"0")})}return Ee},Ae);let xe=0;return _e.replace(Pe,()=>{const Ee=we[xe];return xe+=1,Ee})}function ee(pe,ye){const{format:ve=""}=ye,Pe=new Date(pe).getTime(),we=Date.now(),Ae=Math.max(Pe-we,0);return b(Ae,ve)}const z=1e3/30;function ue(pe){return new Date(pe).getTime()}const fe=pe=>{const{value:ye,format:ve="HH:mm:ss",onChange:Pe,onFinish:we}=pe,Ae=(0,Be.Z)(),_e=be.useRef(null),xe=()=>{we==null||we(),_e.current&&(clearInterval(_e.current),_e.current=null)},Ee=()=>{const Ne=ue(ye);Ne>=Date.now()&&(_e.current=setInterval(()=>{Ae(),Pe==null||Pe(Ne-Date.now()),Ne<Date.now()&&xe()},z))};be.useEffect(()=>(Ee(),()=>{_e.current&&(clearInterval(_e.current),_e.current=null)}),[ye]);const Oe=(Ne,Te)=>ee(Ne,Object.assign(Object.assign({},Te),{format:ve})),Ie=Ne=>(0,E.Tm)(Ne,{title:void 0});return be.createElement(y,Object.assign({},pe,{valueRender:Ie,formatter:Oe}))};var ge=be.memo(fe);y.Countdown=ge;var he=y},12563:function(ct,it,Se){"use strict";Se.d(it,{default:function(){return Pe}});var be=Se(59301),Be=Se(99267),E=Se(92310),me=Se.n(E),de=Se(36785),le=Se(47729),ae=Se(14088),ie=Se(36355),se=Se(17313),ce=Se(37613),oe=Se(83116);const re=we=>{const{paddingXXS:Ae,lineWidth:_e,tagPaddingHorizontal:xe,componentCls:Ee}=we,Oe=xe-_e,Ie=Ae-_e;return{[Ee]:Object.assign(Object.assign({},(0,se.Wf)(we)),{display:"inline-block",height:"auto",marginInlineEnd:we.marginXS,paddingInline:Oe,fontSize:we.tagFontSize,lineHeight:we.tagLineHeight,whiteSpace:"nowrap",background:we.defaultBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadiusSM,opacity:1,transition:`all ${we.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ee}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:we.defaultColor},[`${Ee}-close-icon`]:{marginInlineStart:Ie,color:we.colorTextDescription,fontSize:we.tagIconSize,cursor:"pointer",transition:`all ${we.motionDurationMid}`,"&:hover":{color:we.colorTextHeading}},[`&${Ee}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${we.iconCls}-close, ${we.iconCls}-close:hover`]:{color:we.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ee}-checkable-checked):hover`]:{color:we.colorPrimary,backgroundColor:we.colorFillSecondary},"&:active, &-checked":{color:we.colorTextLightSolid},"&-checked":{backgroundColor:we.colorPrimary,"&:hover":{backgroundColor:we.colorPrimaryHover}},"&:active":{backgroundColor:we.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${we.iconCls} + span, > span + ${we.iconCls}`]:{marginInlineStart:Oe}}),[`${Ee}-borderless`]:{borderColor:"transparent",background:we.tagBorderlessBg}}},ne=we=>{const{lineWidth:Ae,fontSizeIcon:_e}=we,xe=we.fontSizeSM,Ee=`${we.lineHeightSM*xe}px`;return(0,ce.TS)(we,{tagFontSize:xe,tagLineHeight:Ee,tagIconSize:_e-2*Ae,tagPaddingHorizontal:8,tagBorderlessBg:we.colorFillTertiary})},te=we=>({defaultBg:we.colorFillQuaternary,defaultColor:we.colorText});var a=(0,oe.Z)("Tag",we=>{const Ae=ne(we);return re(Ae)},te),y=function(we,Ae){var _e={};for(var xe in we)Object.prototype.hasOwnProperty.call(we,xe)&&Ae.indexOf(xe)<0&&(_e[xe]=we[xe]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,xe=Object.getOwnPropertySymbols(we);Ee<xe.length;Ee++)Ae.indexOf(xe[Ee])<0&&Object.prototype.propertyIsEnumerable.call(we,xe[Ee])&&(_e[xe[Ee]]=we[xe[Ee]]);return _e},b=we=>{const{prefixCls:Ae,style:_e,className:xe,checked:Ee,onChange:Oe,onClick:Ie}=we,Ne=y(we,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Te,tag:Je}=be.useContext(ie.E_),Qe=Re=>{Oe==null||Oe(!Ee),Ie==null||Ie(Re)},Ze=Te("tag",Ae),[Ke,Ue]=a(Ze),ke=me()(Ze,`${Ze}-checkable`,{[`${Ze}-checkable-checked`]:Ee},Je==null?void 0:Je.className,xe,Ue);return Ke(be.createElement("span",Object.assign({},Ne,{style:Object.assign(Object.assign({},_e),Je==null?void 0:Je.style),className:ke,onClick:Qe})))},ee=Se(45157);const z=we=>(0,ee.Z)(we,(Ae,_e)=>{let{textColor:xe,lightBorderColor:Ee,lightColor:Oe,darkColor:Ie}=_e;return{[`${we.componentCls}-${Ae}`]:{color:xe,background:Oe,borderColor:Ee,"&-inverse":{color:we.colorTextLightSolid,background:Ie,borderColor:Ie},[`&${we.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ue=(0,oe.b)(["Tag","preset"],we=>{const Ae=ne(we);return z(Ae)},te);function fe(we){return typeof we!="string"?we:we.charAt(0).toUpperCase()+we.slice(1)}const ge=(we,Ae,_e)=>{const xe=fe(_e);return{[`${we.componentCls}-${Ae}`]:{color:we[`color${_e}`],background:we[`color${xe}Bg`],borderColor:we[`color${xe}Border`],[`&${we.componentCls}-borderless`]:{borderColor:"transparent"}}}};var he=(0,oe.b)(["Tag","status"],we=>{const Ae=ne(we);return[ge(Ae,"success","Success"),ge(Ae,"processing","Info"),ge(Ae,"error","Error"),ge(Ae,"warning","Warning")]},te),pe=function(we,Ae){var _e={};for(var xe in we)Object.prototype.hasOwnProperty.call(we,xe)&&Ae.indexOf(xe)<0&&(_e[xe]=we[xe]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,xe=Object.getOwnPropertySymbols(we);Ee<xe.length;Ee++)Ae.indexOf(xe[Ee])<0&&Object.prototype.propertyIsEnumerable.call(we,xe[Ee])&&(_e[xe[Ee]]=we[xe[Ee]]);return _e};const ye=(we,Ae)=>{const{prefixCls:_e,className:xe,rootClassName:Ee,style:Oe,children:Ie,icon:Ne,color:Te,onClose:Je,closeIcon:Qe,closable:Ze,bordered:Ke=!0}=we,Ue=pe(we,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:ke,direction:Re,tag:He}=be.useContext(ie.E_),[qe,rt]=be.useState(!0);be.useEffect(()=>{"visible"in Ue&&rt(Ue.visible)},[Ue.visible]);const We=(0,de.o2)(Te),ze=(0,de.yT)(Te),Me=We||ze,Ge=Object.assign(Object.assign({backgroundColor:Te&&!Me?Te:void 0},He==null?void 0:He.style),Oe),Le=ke("tag",_e),[Ve,ot]=a(Le),et=me()(Le,He==null?void 0:He.className,{[`${Le}-${Te}`]:Me,[`${Le}-has-color`]:Te&&!Me,[`${Le}-hidden`]:!qe,[`${Le}-rtl`]:Re==="rtl",[`${Le}-borderless`]:!Ke},xe,Ee,ot),Xe=nt=>{nt.stopPropagation(),Je==null||Je(nt),!nt.defaultPrevented&&rt(!1)},[,je]=(0,le.Z)(Ze,Qe,nt=>nt===null?be.createElement(Be.Z,{className:`${Le}-close-icon`,onClick:Xe}):be.createElement("span",{className:`${Le}-close-icon`,onClick:Xe},nt),null,!1),Ce=typeof Ue.onClick=="function"||Ie&&Ie.type==="a",De=Ne||null,Fe=De?be.createElement(be.Fragment,null,De,Ie&&be.createElement("span",null,Ie)):Ie,Ye=be.createElement("span",Object.assign({},Ue,{ref:Ae,className:et,style:Ge}),Fe,je,We&&be.createElement(ue,{key:"preset",prefixCls:Le}),ze&&be.createElement(he,{key:"status",prefixCls:Le}));return Ve(Ce?be.createElement(ae.Z,{component:"Tag"},Ye):Ye)},ve=be.forwardRef(ye);ve.CheckableTag=b;var Pe=ve},65615:function(ct,it,Se){"use strict";Se.d(it,{Z:function(){return nt}});var be=Se(59301),Be=Se(33708),E=Se(92413),me=Se(39559),de=Se(33606),le=Se(37061),ae=Se(43403),ie=Se(35593),se=Se(92310),ce=Se.n(se),oe=Se(34280),re=Se(18929),ne=Se(6089);function te($e){var tt=window.innerWidth||document.documentElement.clientWidth,lt=window.innerHeight||document.documentElement.clientHeight,at=$e.getBoundingClientRect(),ut=at.top,st=at.right,vt=at.bottom,mt=at.left;return ut>=0&&mt>=0&&st<=tt&&vt<=lt}function a($e,tt,lt){var at;return(at=lt!=null?lt:tt)!==null&&at!==void 0?at:$e===null?"center":"bottom"}function y($e,tt,lt,at){var ut=(0,be.useState)(void 0),st=(0,de.Z)(ut,2),vt=st[0],mt=st[1];(0,oe.Z)(function(){var Pn=typeof $e=="function"?$e():$e;mt(Pn||null)});var pt=(0,be.useState)(null),yt=(0,de.Z)(pt,2),Et=yt[0],At=yt[1],kt=(0,ne.Z)(function(){if(vt){!te(vt)&&tt&&vt.scrollIntoView(at);var Pn=vt.getBoundingClientRect(),In=Pn.left,En=Pn.top,gn=Pn.width,Gn=Pn.height,On={left:In,top:En,width:gn,height:Gn,radius:0};At(function(Zn){return JSON.stringify(Zn)!==JSON.stringify(On)?On:Zn})}else At(null)}),$t=function(In){var En;return(En=Array.isArray(lt==null?void 0:lt.offset)?lt==null?void 0:lt.offset[In]:lt==null?void 0:lt.offset)!==null&&En!==void 0?En:6};(0,oe.Z)(function(){return kt(),window.addEventListener("resize",kt),function(){window.removeEventListener("resize",kt)}},[vt,tt,kt]);var rn=(0,be.useMemo)(function(){if(!Et)return Et;var Pn=$t(0),In=$t(1),En=(lt==null?void 0:lt.radius)||2;return{left:Et.left-Pn,top:Et.top-In,width:Et.width+Pn*2,height:Et.height+In*2,radius:En}},[Et,lt]);return[rn,vt]}var x=Se(80402),b={fill:"transparent",pointerEvents:"auto"},ee=function(tt){var lt=tt.prefixCls,at=tt.rootClassName,ut=tt.pos,st=tt.showMask,vt=tt.style,mt=vt===void 0?{}:vt,pt=tt.fill,yt=pt===void 0?"rgba(0,0,0,0.5)":pt,Et=tt.open,At=tt.animated,kt=tt.zIndex,$t=(0,x.Z)(),rn="".concat(lt,"-mask-").concat($t),Pn=(0,me.Z)(At)==="object"?At==null?void 0:At.placeholder:At;return be.createElement(ae.Z,{open:Et,autoLock:!0},be.createElement("div",{className:ce()("".concat(lt,"-mask"),at),style:(0,Be.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:kt,pointerEvents:"none"},mt)},st?be.createElement("svg",{style:{width:"100%",height:"100%"}},be.createElement("defs",null,be.createElement("mask",{id:rn},be.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),ut&&be.createElement("rect",{x:ut.left,y:ut.top,rx:ut.radius,width:ut.width,height:ut.height,fill:"black",className:Pn?"".concat(lt,"-placeholder-animated"):""}))),be.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:yt,mask:"url(#".concat(rn,")")}),ut&&be.createElement(be.Fragment,null,be.createElement("rect",(0,E.Z)({},b,{x:"0",y:"0",width:"100%",height:ut.top})),be.createElement("rect",(0,E.Z)({},b,{x:"0",y:"0",width:ut.left,height:"100%"})),be.createElement("rect",(0,E.Z)({},b,{x:"0",y:ut.top+ut.height,width:"100%",height:"calc(100vh - ".concat(ut.top+ut.height,"px)")})),be.createElement("rect",(0,E.Z)({},b,{x:ut.left+ut.width,y:"0",width:"calc(100vw - ".concat(ut.left+ut.width,"px)"),height:"100%"})))):null))},z=ee,ue={adjustX:1,adjustY:1},fe=[0,0],ge={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 he(){var $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,tt={};return Object.keys(ge).forEach(function(lt){tt[lt]=(0,Be.Z)((0,Be.Z)({},ge[lt]),{},{autoArrow:$e,targetOffset:fe})}),tt}var pe=he(),ye=Se(26407);function ve($e){var tt=$e.prefixCls,lt=$e.current,at=$e.total,ut=$e.title,st=$e.description,vt=$e.onClose,mt=$e.onPrev,pt=$e.onNext,yt=$e.onFinish,Et=$e.className,At=$e.closeIcon,kt=At!==!1&&At!==null,$t=At!==void 0&&At!==!0?At:be.createElement("span",{className:"".concat(tt,"-close-x")},"\xD7");return be.createElement("div",{className:ce()("".concat(tt,"-content"),Et)},be.createElement("div",{className:"".concat(tt,"-inner")},kt&&be.createElement("button",{type:"button",onClick:vt,"aria-label":"Close",className:"".concat(tt,"-close")},$t),be.createElement("div",{className:"".concat(tt,"-header")},be.createElement("div",{className:"".concat(tt,"-title")},ut)),be.createElement("div",{className:"".concat(tt,"-description")},st),be.createElement("div",{className:"".concat(tt,"-footer")},be.createElement("div",{className:"".concat(tt,"-sliders")},at>1?(0,ye.Z)(Array.from({length:at}).keys()).map(function(rn,Pn){return be.createElement("span",{key:rn,className:Pn===lt?"active":""})}):null),be.createElement("div",{className:"".concat(tt,"-buttons")},lt!==0?be.createElement("button",{className:"".concat(tt,"-prev-btn"),onClick:mt},"Prev"):null,lt===at-1?be.createElement("button",{className:"".concat(tt,"-finish-btn"),onClick:yt},"Finish"):be.createElement("button",{className:"".concat(tt,"-next-btn"),onClick:pt},"Next")))))}var Pe=function(tt){var lt=tt.current,at=tt.renderPanel;return be.createElement(be.Fragment,null,typeof at=="function"?at(tt,lt):be.createElement(ve,tt))},we=Pe,Ae=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon"],_e={left:"50%",top:"50%",width:1,height:1},xe=function(tt){var lt=tt.prefixCls,at=lt===void 0?"rc-tour":lt,ut=tt.steps,st=ut===void 0?[]:ut,vt=tt.defaultCurrent,mt=tt.current,pt=tt.onChange,yt=tt.onClose,Et=tt.onFinish,At=tt.open,kt=tt.mask,$t=kt===void 0?!0:kt,rn=tt.arrow,Pn=rn===void 0?!0:rn,In=tt.rootClassName,En=tt.placement,gn=tt.renderPanel,Gn=tt.gap,On=tt.animated,Zn=tt.scrollIntoViewOptions,Xn=Zn===void 0?!0:Zn,_n=tt.zIndex,wr=_n===void 0?1001:_n,Ft=tt.closeIcon,It=(0,le.Z)(tt,Ae),Dt=be.useRef(),vn=(0,re.Z)(0,{value:mt,defaultValue:vt}),Dn=(0,de.Z)(vn,2),xn=Dn[0],pn=Dn[1],ft=(0,re.Z)(void 0,{value:At,postState:function(wt){return xn<0||xn>=st.length?!1:wt!=null?wt:!0}}),dt=(0,de.Z)(ft,2),gt=dt[0],zt=dt[1],qt=be.useRef(gt);(0,oe.Z)(function(){gt&&!qt.current&&pn(0),qt.current=gt},[gt]);var Ht=st[xn]||{},Rn=Ht.target,nn=Ht.placement,Bn=Ht.style,Ln=Ht.arrow,$n=Ht.className,Rt=Ht.mask,_t=Ht.scrollIntoViewOptions,St=Ht.closeIcon,Nt=gt&&(Rt!=null?Rt:$t),Pt=St!=null?St:Ft,xt=_t!=null?_t:Xn,jt=y(Rn,At,Gn,xt),Qt=(0,de.Z)(jt,2),Xt=Qt[0],an=Qt[1],cn=a(an,En,nn),fn=an?typeof Ln=="undefined"?Pn:Ln:!1,sn=(0,me.Z)(fn)==="object"?fn.pointAtCenter:!1;(0,oe.Z)(function(){var on;(on=Dt.current)===null||on===void 0||on.forceAlign()},[sn,xn]);var yn=function(wt){pn(wt),pt==null||pt(wt)};if(an===void 0)return null;var bn=function(){zt(!1),yt==null||yt(xn)},Tt=function(){return be.createElement(we,(0,E.Z)({arrow:fn,key:"content",prefixCls:at,total:st.length,renderPanel:gn,onPrev:function(){yn(xn-1)},onNext:function(){yn(xn+1)},onClose:bn,current:xn,onFinish:function(){bn(),Et==null||Et()},closeIcon:Pt},st[xn]))},Jn=typeof Nt=="boolean"?Nt:!!Nt,kn=typeof Nt=="boolean"?void 0:Nt,Wn=function(wt){return wt||an||document.body};return be.createElement(be.Fragment,null,be.createElement(z,{zIndex:wr,prefixCls:at,pos:Xt,showMask:Jn,style:kn==null?void 0:kn.style,fill:kn==null?void 0:kn.color,open:gt,animated:On,rootClassName:In}),be.createElement(ie.Z,(0,E.Z)({builtinPlacements:he(sn)},It,{ref:Dt,popupStyle:Bn,popupPlacement:cn,popupVisible:gt,popupClassName:ce()(In,$n),prefixCls:at,popup:Tt,forceRender:!1,destroyPopupOnHide:!0,zIndex:wr,getTriggerDOMNode:Wn,arrow:!!fn}),be.createElement(ae.Z,{open:gt,autoLock:!0},be.createElement("div",{className:ce()(In,"".concat(at,"-target-placeholder")),style:(0,Be.Z)((0,Be.Z)({},Xt||_e),{},{position:"fixed",pointerEvents:"none"})}))))},Ee=xe,Oe=Ee,Ie=Se(79676),Ne=Se(36355),Te=Se(88088),Je=Se(99267),Qe=Se(3113),Ze=Se(9763),Ke=Se(31724),Ue=Se(47729);function ke($e){return $e!=null}var He=$e=>{let{stepProps:tt,current:lt,type:at,indicatorsRender:ut,closeIcon:st}=$e;var vt,mt;const{prefixCls:pt,total:yt=1,title:Et,onClose:At,onPrev:kt,onNext:$t,onFinish:rn,cover:Pn,description:In,nextButtonProps:En,prevButtonProps:gn,type:Gn,className:On,closeIcon:Zn}=tt,Xn=Gn!=null?Gn:at,_n=Zn!=null?Zn:st,wr=_n!==!1&&_n!==null,[Ft,It]=(0,Ue.Z)(wr,_n,Ht=>be.createElement("span",{onClick:At,"aria-label":"Close",className:`${pt}-close`},Ht),be.createElement(Je.Z,{className:`${pt}-close-icon`}),!0),Dt=lt===yt-1,vn=()=>{var Ht;kt==null||kt(),(Ht=gn==null?void 0:gn.onClick)===null||Ht===void 0||Ht.call(gn)},Dn=()=>{var Ht;Dt?rn==null||rn():$t==null||$t(),(Ht=En==null?void 0:En.onClick)===null||Ht===void 0||Ht.call(En)},xn=ke(Et)?be.createElement("div",{className:`${pt}-header`},be.createElement("div",{className:`${pt}-title`},Et)):null,pn=ke(In)?be.createElement("div",{className:`${pt}-description`},In):null,ft=ke(Pn)?be.createElement("div",{className:`${pt}-cover`},Pn):null;let dt;ut?dt=ut(lt,yt):dt=(0,ye.Z)(Array.from({length:yt}).keys()).map((Ht,Rn)=>be.createElement("span",{key:Ht,className:ce()(Rn===lt&&`${pt}-indicator-active`,`${pt}-indicator`)}));const gt=Xn==="primary"?"default":"primary",zt={type:"default",ghost:Xn==="primary"},[qt]=(0,Ze.Z)("Tour",Ke.Z.Tour);return be.createElement("div",{className:ce()(On,`${pt}-content`)},be.createElement("div",{className:`${pt}-inner`},Ft&&It,ft,xn,pn,be.createElement("div",{className:`${pt}-footer`},yt>1&&be.createElement("div",{className:`${pt}-indicators`},dt),be.createElement("div",{className:`${pt}-buttons`},lt!==0?be.createElement(Qe.ZP,Object.assign({},zt,gn,{onClick:vn,size:"small",className:ce()(`${pt}-prev-btn`,gn==null?void 0:gn.className)}),(vt=gn==null?void 0:gn.children)!==null&&vt!==void 0?vt:qt==null?void 0:qt.Previous):null,be.createElement(Qe.ZP,Object.assign({type:gt},En,{onClick:Dn,size:"small",className:ce()(`${pt}-next-btn`,En==null?void 0:En.className)}),(mt=En==null?void 0:En.children)!==null&&mt!==void 0?mt:Dt?qt==null?void 0:qt.Finish:qt==null?void 0:qt.Next)))))},qe=Se(39722),rt=Se(64993),We=Se(17313),ze=Se(19447),Me=Se(83116),Ge=Se(37613);const Le=$e=>{const{componentCls:tt,lineHeight:lt,padding:at,paddingXS:ut,borderRadius:st,borderRadiusXS:vt,colorPrimary:mt,colorText:pt,colorFill:yt,indicatorHeight:Et,indicatorWidth:At,boxShadowTertiary:kt,tourZIndexPopup:$t,fontSize:rn,colorBgElevated:Pn,fontWeightStrong:In,marginXS:En,colorTextLightSolid:gn,tourBorderRadius:Gn,colorWhite:On,colorBgTextHover:Zn,tourCloseSize:Xn,motionDurationSlow:_n,antCls:wr}=$e;return[{[tt]:Object.assign(Object.assign({},(0,We.Wf)($e)),{color:pt,position:"absolute",zIndex:$t,display:"block",visibility:"visible",fontSize:rn,lineHeight:lt,width:520,"--antd-arrow-background-color":Pn,"&-pure":{maxWidth:"100%",position:"relative"},[`&${tt}-hidden`]:{display:"none"},[`${tt}-content`]:{position:"relative"},[`${tt}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:Gn,boxShadow:kt,position:"relative",backgroundColor:Pn,border:"none",backgroundClip:"padding-box",[`${tt}-close`]:{position:"absolute",top:at,insetInlineEnd:at,color:$e.colorIcon,outline:"none",width:Xn,height:Xn,borderRadius:$e.borderRadiusSM,transition:`background-color ${$e.motionDurationMid}, color ${$e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:$e.colorIconHover,backgroundColor:$e.wireframe?"transparent":$e.colorFillContent}},[`${tt}-cover`]:{textAlign:"center",padding:`${at+Xn+ut}px ${at}px 0`,img:{width:"100%"}},[`${tt}-header`]:{padding:`${at}px ${at}px ${ut}px`,[`${tt}-title`]:{lineHeight:lt,fontSize:rn,fontWeight:In}},[`${tt}-description`]:{padding:`0 ${at}px`,lineHeight:lt,wordWrap:"break-word"},[`${tt}-footer`]:{padding:`${ut}px ${at}px ${at}px`,textAlign:"end",borderRadius:`0 0 ${vt}px ${vt}px`,display:"flex",[`${tt}-indicators`]:{display:"inline-block",[`${tt}-indicator`]:{width:At,height:Et,display:"inline-block",borderRadius:"50%",background:yt,"&:not(:last-child)":{marginInlineEnd:Et},"&-active":{background:mt}}},[`${tt}-buttons`]:{marginInlineStart:"auto",[`${wr}-btn`]:{marginInlineStart:En}}}},[`${tt}-primary, &${tt}-primary`]:{"--antd-arrow-background-color":mt,[`${tt}-inner`]:{color:gn,textAlign:"start",textDecoration:"none",backgroundColor:mt,borderRadius:st,boxShadow:kt,[`${tt}-close`]:{color:gn},[`${tt}-indicators`]:{[`${tt}-indicator`]:{background:new rt.C(gn).setAlpha(.15).toRgbString(),"&-active":{background:gn}}},[`${tt}-prev-btn`]:{color:gn,borderColor:new rt.C(gn).setAlpha(.15).toRgbString(),backgroundColor:mt,"&:hover":{backgroundColor:new rt.C(gn).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${tt}-next-btn`]:{color:mt,borderColor:"transparent",background:On,"&:hover":{background:new rt.C(Zn).onBackground(On).toRgbString()}}}}}),[`${tt}-mask`]:{[`${tt}-placeholder-animated`]:{transition:`all ${_n}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${tt}-inner`]:{borderRadius:Math.min(Gn,ze.qN)}}},(0,ze.ZP)($e,{colorBg:"var(--antd-arrow-background-color)",contentRadius:Gn,limitVerticalRadius:!0})]};var Ve=(0,Me.Z)("Tour",$e=>{const{borderRadiusLG:tt,fontSize:lt,lineHeight:at}=$e,ut=(0,Ge.TS)($e,{tourZIndexPopup:$e.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:tt,tourCloseSize:lt*at});return[Le(ut)]}),ot=Se(53487),et=function($e,tt){var lt={};for(var at in $e)Object.prototype.hasOwnProperty.call($e,at)&&tt.indexOf(at)<0&&(lt[at]=$e[at]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,at=Object.getOwnPropertySymbols($e);ut<at.length;ut++)tt.indexOf(at[ut])<0&&Object.prototype.propertyIsEnumerable.call($e,at[ut])&&(lt[at[ut]]=$e[at[ut]]);return lt};const Xe=$e=>{const{prefixCls:tt,current:lt=0,total:at=6,className:ut,style:st,type:vt}=$e,mt=et($e,["prefixCls","current","total","className","style","type"]),{getPrefixCls:pt}=be.useContext(Ne.E_),yt=pt("tour",tt),[Et,At]=Ve(yt);return Et(be.createElement(qe.t5,{prefixCls:yt,hashId:At,className:ce()(ut,`${yt}-pure`,vt&&`${yt}-${vt}`),style:st},be.createElement(He,{stepProps:Object.assign(Object.assign({},mt),{prefixCls:yt,total:at}),current:lt,type:vt})))};var je=(0,ot.i)(Xe),De=$e=>{let{defaultType:tt,steps:lt=[],current:at,defaultCurrent:ut}=$e;var st;const[vt,mt]=(0,re.Z)(ut,{value:at});(0,be.useLayoutEffect)(()=>{at!==void 0&&mt(at)},[at]);const pt=typeof vt=="number"?(st=lt[vt])===null||st===void 0?void 0:st.type:tt;return{currentMergedType:pt!=null?pt:tt,updateInnerCurrent:mt}},Fe=function($e,tt){var lt={};for(var at in $e)Object.prototype.hasOwnProperty.call($e,at)&&tt.indexOf(at)<0&&(lt[at]=$e[at]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,at=Object.getOwnPropertySymbols($e);ut<at.length;ut++)tt.indexOf(at[ut])<0&&Object.prototype.propertyIsEnumerable.call($e,at[ut])&&(lt[at[ut]]=$e[at[ut]]);return lt};const Ye=$e=>{const{prefixCls:tt,current:lt,defaultCurrent:at,type:ut,rootClassName:st,indicatorsRender:vt,steps:mt}=$e,pt=Fe($e,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:yt,direction:Et}=(0,be.useContext)(Ne.E_),At=yt("tour",tt),[kt,$t]=Ve(At),[,rn]=(0,Te.Z)(),{currentMergedType:Pn,updateInnerCurrent:In}=De({defaultType:ut,steps:mt,current:lt,defaultCurrent:at}),En=(0,Ie.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:rn.marginXXS,arrowWidth:rn.sizePopupArrow,borderRadius:rn.borderRadius}),gn=ce()({[`${At}-primary`]:Pn==="primary",[`${At}-rtl`]:Et==="rtl"},$t,st),Gn=(Zn,Xn)=>be.createElement(He,{type:ut,stepProps:Zn,current:Xn,indicatorsRender:vt}),On=Zn=>{var Xn;In(Zn),(Xn=$e.onChange)===null||Xn===void 0||Xn.call($e,Zn)};return kt(be.createElement(Oe,Object.assign({},pt,{rootClassName:gn,prefixCls:At,current:lt,defaultCurrent:at,animated:!0,renderPanel:Gn,builtinPlacements:En,onChange:On,steps:mt})))};Ye._InternalPanelDoNotUseOrYouWillBeFired=je;var nt=Ye},24334:function(ct,it,Se){var be,Be;(function(E,me){ct.exports=me(E)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof Se.g!="undefined"?Se.g:this,function(E){"use strict";E=E||{};var me=E.Base64,de="2.6.4",le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ae=function(_e){for(var xe={},Ee=0,Oe=_e.length;Ee<Oe;Ee++)xe[_e.charAt(Ee)]=Ee;return xe}(le),ie=String.fromCharCode,se=function(_e){if(_e.length<2){var xe=_e.charCodeAt(0);return xe<128?_e:xe<2048?ie(192|xe>>>6)+ie(128|xe&63):ie(224|xe>>>12&15)+ie(128|xe>>>6&63)+ie(128|xe&63)}else{var xe=65536+(_e.charCodeAt(0)-55296)*1024+(_e.charCodeAt(1)-56320);return ie(240|xe>>>18&7)+ie(128|xe>>>12&63)+ie(128|xe>>>6&63)+ie(128|xe&63)}},ce=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,oe=function(_e){return _e.replace(ce,se)},re=function(_e){var xe=[0,2,1][_e.length%3],Ee=_e.charCodeAt(0)<<16|(_e.length>1?_e.charCodeAt(1):0)<<8|(_e.length>2?_e.charCodeAt(2):0),Oe=[le.charAt(Ee>>>18),le.charAt(Ee>>>12&63),xe>=2?"=":le.charAt(Ee>>>6&63),xe>=1?"=":le.charAt(Ee&63)];return Oe.join("")},ne=E.btoa&&typeof E.btoa=="function"?function(_e){return E.btoa(_e)}:function(_e){if(_e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return _e.replace(/[\s\S]{1,3}/g,re)},te=function(_e){return ne(oe(String(_e)))},a=function(_e){return _e.replace(/[+\/]/g,function(xe){return xe=="+"?"-":"_"}).replace(/=/g,"")},y=function(_e,xe){return xe?a(te(_e)):te(_e)},x=function(_e){return y(_e,!0)},b;E.Uint8Array&&(b=function(_e,xe){for(var Ee="",Oe=0,Ie=_e.length;Oe<Ie;Oe+=3){var Ne=_e[Oe],Te=_e[Oe+1],Je=_e[Oe+2],Qe=Ne<<16|Te<<8|Je;Ee+=le.charAt(Qe>>>18)+le.charAt(Qe>>>12&63)+(typeof Te!="undefined"?le.charAt(Qe>>>6&63):"=")+(typeof Je!="undefined"?le.charAt(Qe&63):"=")}return xe?a(Ee):Ee});var ee=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,z=function(_e){switch(_e.length){case 4:var xe=(7&_e.charCodeAt(0))<<18|(63&_e.charCodeAt(1))<<12|(63&_e.charCodeAt(2))<<6|63&_e.charCodeAt(3),Ee=xe-65536;return ie((Ee>>>10)+55296)+ie((Ee&1023)+56320);case 3:return ie((15&_e.charCodeAt(0))<<12|(63&_e.charCodeAt(1))<<6|63&_e.charCodeAt(2));default:return ie((31&_e.charCodeAt(0))<<6|63&_e.charCodeAt(1))}},ue=function(_e){return _e.replace(ee,z)},fe=function(_e){var xe=_e.length,Ee=xe%4,Oe=(xe>0?ae[_e.charAt(0)]<<18:0)|(xe>1?ae[_e.charAt(1)]<<12:0)|(xe>2?ae[_e.charAt(2)]<<6:0)|(xe>3?ae[_e.charAt(3)]:0),Ie=[ie(Oe>>>16),ie(Oe>>>8&255),ie(Oe&255)];return Ie.length-=[0,0,2,1][Ee],Ie.join("")},ge=E.atob&&typeof E.atob=="function"?function(_e){return E.atob(_e)}:function(_e){return _e.replace(/\S{1,4}/g,fe)},he=function(_e){return ge(String(_e).replace(/[^A-Za-z0-9\+\/]/g,""))},pe=function(_e){return ue(ge(_e))},ye=function(_e){return String(_e).replace(/[-_]/g,function(xe){return xe=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ve=function(_e){return pe(ye(_e))},Pe;E.Uint8Array&&(Pe=function(_e){return Uint8Array.from(he(ye(_e)),function(xe){return xe.charCodeAt(0)})});var we=function(){var _e=E.Base64;return E.Base64=me,_e};if(E.Base64={VERSION:de,atob:he,btoa:ne,fromBase64:ve,toBase64:y,utob:oe,encode:y,encodeURI:x,btou:ue,decode:ve,noConflict:we,fromUint8Array:b,toUint8Array:Pe},typeof Object.defineProperty=="function"){var Ae=function(_e){return{value:_e,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ae(function(){return ve(this)})),Object.defineProperty(String.prototype,"toBase64",Ae(function(_e){return y(this,_e)})),Object.defineProperty(String.prototype,"toBase64URI",Ae(function(){return y(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),ct.exports?ct.exports.Base64=E.Base64:(be=[],Be=function(){return E.Base64}.apply(it,be),Be!==void 0&&(ct.exports=Be)),{Base64:E.Base64}})},7062:function(ct,it,Se){var be=Se(19637),Be=Se(97573),E=[Se(96627)];ct.exports=be.createStore(Be,E)},96627:function(ct,it,Se){ct.exports=be;function be(){return Se(42424),{}}},42424:function(){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(ct){return ct<10?"0"+ct:ct}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(ct){return rx_escapable.lastIndex=0,rx_escapable.test(ct)?'"'+ct.replace(rx_escapable,function(it){var Se=meta[it];return typeof Se=="string"?Se:"\\u"+("0000"+it.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+ct+'"'}function str(ct,it){var Se,be,Be,E,me=gap,de,le=it[ct];switch(le&&typeof le=="object"&&typeof le.toJSON=="function"&&(le=le.toJSON(ct)),typeof rep=="function"&&(le=rep.call(it,ct,le)),typeof le){case"string":return quote(le);case"number":return isFinite(le)?String(le):"null";case"boolean":case"null":return String(le);case"object":if(!le)return"null";if(gap+=indent,de=[],Object.prototype.toString.apply(le)==="[object Array]"){for(E=le.length,Se=0;Se<E;Se+=1)de[Se]=str(Se,le)||"null";return Be=de.length===0?"[]":gap?`[
|
|
|
`+gap+de.join(`,
|
|
|
`+gap)+`
|
|
|
`+me+"]":"["+de.join(",")+"]",gap=me,Be}if(rep&&typeof rep=="object")for(E=rep.length,Se=0;Se<E;Se+=1)typeof rep[Se]=="string"&&(be=rep[Se],Be=str(be,le),Be&&de.push(quote(be)+(gap?": ":":")+Be));else for(be in le)Object.prototype.hasOwnProperty.call(le,be)&&(Be=str(be,le),Be&&de.push(quote(be)+(gap?": ":":")+Be));return Be=de.length===0?"{}":gap?`{
|
|
|
`+gap+de.join(`,
|
|
|
`+gap)+`
|
|
|
`+me+"}":"{"+de.join(",")+"}",gap=me,Be}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(ct,it,Se){var be;if(gap="",indent="",typeof Se=="number")for(be=0;be<Se;be+=1)indent+=" ";else typeof Se=="string"&&(indent=Se);if(rep=it,it&&typeof it!="function"&&(typeof it!="object"||typeof it.length!="number"))throw new Error("JSON.stringify");return str("",{"":ct})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(ct,it){var Se,be,Be=ct[it];if(Be&&typeof Be=="object")for(Se in Be)Object.prototype.hasOwnProperty.call(Be,Se)&&(be=walk(Be,Se),be!==void 0?Be[Se]=be:delete Be[Se]);return reviver.call(ct,it,Be)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(ct){return"\\u"+("0000"+ct.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},19637:function(ct,it,Se){var be=Se(67039),Be=be.slice,E=be.pluck,me=be.each,de=be.bind,le=be.create,ae=be.isList,ie=be.isFunction,se=be.isObject;ct.exports={createStore:re};var ce={version:"2.0.12",enabled:!1,get:function(ne,te){var a=this.storage.read(this._namespacePrefix+ne);return this._deserialize(a,te)},set:function(ne,te){return te===void 0?this.remove(ne):(this.storage.write(this._namespacePrefix+ne,this._serialize(te)),te)},remove:function(ne){this.storage.remove(this._namespacePrefix+ne)},each:function(ne){var te=this;this.storage.each(function(a,y){ne.call(te,te._deserialize(a),(y||"").replace(te._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(ne){return this._namespacePrefix=="__storejs_"+ne+"_"},createStore:function(){return re.apply(this,arguments)},addPlugin:function(ne){this._addPlugin(ne)},namespace:function(ne){return re(this.storage,this.plugins,ne)}};function oe(){var ne=typeof console=="undefined"?null:console;if(ne){var te=ne.warn?ne.warn:ne.log;te.apply(ne,arguments)}}function re(ne,te,a){a||(a=""),ne&&!ae(ne)&&(ne=[ne]),te&&!ae(te)&&(te=[te]);var y=a?"__storejs_"+a+"_":"",x=a?new RegExp("^"+y):null,b=/^[a-zA-Z0-9_\-]*$/;if(!b.test(a))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var ee={_namespacePrefix:y,_namespaceRegexp:x,_testStorage:function(ue){try{var fe="__storejs__test__";ue.write(fe,fe);var ge=ue.read(fe)===fe;return ue.remove(fe),ge}catch(he){return!1}},_assignPluginFnProp:function(ue,fe){var ge=this[fe];this[fe]=function(){var pe=Be(arguments,0),ye=this;function ve(){if(ge)return me(arguments,function(we,Ae){pe[Ae]=we}),ge.apply(ye,pe)}var Pe=[ve].concat(pe);return ue.apply(ye,Pe)}},_serialize:function(ue){return JSON.stringify(ue)},_deserialize:function(ue,fe){if(!ue)return fe;var ge="";try{ge=JSON.parse(ue)}catch(he){ge=ue}return ge!==void 0?ge:fe},_addStorage:function(ue){this.enabled||this._testStorage(ue)&&(this.storage=ue,this.enabled=!0)},_addPlugin:function(ue){var fe=this;if(ae(ue)){me(ue,function(pe){fe._addPlugin(pe)});return}var ge=E(this.plugins,function(pe){return ue===pe});if(!ge){if(this.plugins.push(ue),!ie(ue))throw new Error("Plugins must be function values that return objects");var he=ue.call(this);if(!se(he))throw new Error("Plugins must return an object of function properties");me(he,function(pe,ye){if(!ie(pe))throw new Error("Bad plugin property: "+ye+" from plugin "+ue.name+". Plugins should only return functions.");fe._assignPluginFnProp(pe,ye)})}},addStorage:function(ue){oe("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(ue)}},z=le(ee,ce,{plugins:[]});return z.raw={},me(z,function(ue,fe){ie(ue)&&(z.raw[fe]=de(z,ue))}),me(ne,function(ue){z._addStorage(ue)}),me(te,function(ue){z._addPlugin(ue)}),z}},67039:function(ct,it,Se){var be=de(),Be=le(),E=ae(),me=typeof window!="undefined"?window:Se.g;ct.exports={assign:be,create:Be,trim:E,bind:ie,slice:se,each:ce,map:oe,pluck:re,isList:ne,isFunction:te,isObject:a,Global:me};function de(){return Object.assign?Object.assign:function(x,b,ee,z){for(var ue=1;ue<arguments.length;ue++)ce(Object(arguments[ue]),function(fe,ge){x[ge]=fe});return x}}function le(){if(Object.create)return function(b,ee,z,ue){var fe=se(arguments,1);return be.apply(this,[Object.create(b)].concat(fe))};{let x=function(){};var y=x;return function(ee,z,ue,fe){var ge=se(arguments,1);return x.prototype=ee,be.apply(this,[new x].concat(ge))}}}function ae(){return String.prototype.trim?function(x){return String.prototype.trim.call(x)}:function(x){return x.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function ie(y,x){return function(){return x.apply(y,Array.prototype.slice.call(arguments,0))}}function se(y,x){return Array.prototype.slice.call(y,x||0)}function ce(y,x){re(y,function(b,ee){return x(b,ee),!1})}function oe(y,x){var b=ne(y)?[]:{};return re(y,function(ee,z){return b[z]=x(ee,z),!1}),b}function re(y,x){if(ne(y)){for(var b=0;b<y.length;b++)if(x(y[b],b))return y[b]}else for(var ee in y)if(y.hasOwnProperty(ee)&&x(y[ee],ee))return y[ee]}function ne(y){return y!=null&&typeof y!="function"&&typeof y.length=="number"}function te(y){return y&&{}.toString.call(y)==="[object Function]"}function a(y){return y&&{}.toString.call(y)==="[object Object]"}},97573:function(ct,it,Se){ct.exports=[Se(52496),Se(16436),Se(76673),Se(35701),Se(65578),Se(65300)]},35701:function(ct,it,Se){var be=Se(67039),Be=be.Global,E=be.trim;ct.exports={name:"cookieStorage",read:de,write:ae,each:le,remove:ie,clearAll:se};var me=Be.document;function de(oe){if(!oe||!ce(oe))return null;var re="(?:^|.*;\\s*)"+escape(oe).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(me.cookie.replace(new RegExp(re),"$1"))}function le(oe){for(var re=me.cookie.split(/; ?/g),ne=re.length-1;ne>=0;ne--)if(E(re[ne])){var te=re[ne].split("="),a=unescape(te[0]),y=unescape(te[1]);oe(y,a)}}function ae(oe,re){oe&&(me.cookie=escape(oe)+"="+escape(re)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function ie(oe){!oe||!ce(oe)||(me.cookie=escape(oe)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function se(){le(function(oe,re){ie(re)})}function ce(oe){return new RegExp("(?:^|;\\s*)"+escape(oe).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(me.cookie)}},52496:function(ct,it,Se){var be=Se(67039),Be=be.Global;ct.exports={name:"localStorage",read:me,write:de,each:le,remove:ae,clearAll:ie};function E(){return Be.localStorage}function me(se){return E().getItem(se)}function de(se,ce){return E().setItem(se,ce)}function le(se){for(var ce=E().length-1;ce>=0;ce--){var oe=E().key(ce);se(me(oe),oe)}}function ae(se){return E().removeItem(se)}function ie(){return E().clear()}},65300:function(ct){ct.exports={name:"memoryStorage",read:Se,write:be,each:Be,remove:E,clearAll:me};var it={};function Se(de){return it[de]}function be(de,le){it[de]=le}function Be(de){for(var le in it)it.hasOwnProperty(le)&&de(it[le],le)}function E(de){delete it[de]}function me(de){it={}}},16436:function(ct,it,Se){var be=Se(67039),Be=be.Global;ct.exports={name:"oldFF-globalStorage",read:me,write:de,each:le,remove:ae,clearAll:ie};var E=Be.globalStorage;function me(se){return E[se]}function de(se,ce){E[se]=ce}function le(se){for(var ce=E.length-1;ce>=0;ce--){var oe=E.key(ce);se(E[oe],oe)}}function ae(se){return E.removeItem(se)}function ie(){le(function(se,ce){delete E[se]})}},76673:function(ct,it,Se){var be=Se(67039),Be=be.Global;ct.exports={name:"oldIE-userDataStorage",write:ae,read:ie,each:se,remove:ce,clearAll:oe};var E="storejs",me=Be.document,de=te(),le=(Be.navigator?Be.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function ae(a,y){if(!le){var x=ne(a);de(function(b){b.setAttribute(x,y),b.save(E)})}}function ie(a){if(!le){var y=ne(a),x=null;return de(function(b){x=b.getAttribute(y)}),x}}function se(a){de(function(y){for(var x=y.XMLDocument.documentElement.attributes,b=x.length-1;b>=0;b--){var ee=x[b];a(y.getAttribute(ee.name),ee.name)}})}function ce(a){var y=ne(a);de(function(x){x.removeAttribute(y),x.save(E)})}function oe(){de(function(a){var y=a.XMLDocument.documentElement.attributes;a.load(E);for(var x=y.length-1;x>=0;x--)a.removeAttribute(y[x].name);a.save(E)})}var re=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function ne(a){return a.replace(/^\d/,"___$&").replace(re,"___")}function te(){if(!me||!me.documentElement||!me.documentElement.addBehavior)return null;var a="script",y,x,b;try{x=new ActiveXObject("htmlfile"),x.open(),x.write("<"+a+">document.w=window</"+a+'><iframe src="/favicon.ico"></iframe>'),x.close(),y=x.w.frames[0].document,b=y.createElement("div")}catch(ee){b=me.createElement("div"),y=me.body}return function(ee){var z=[].slice.call(arguments,0);z.unshift(b),y.appendChild(b),b.addBehavior("#default#userData"),b.load(E),ee.apply(this,z),y.removeChild(b)}}},65578:function(ct,it,Se){var be=Se(67039),Be=be.Global;ct.exports={name:"sessionStorage",read:me,write:de,each:le,remove:ae,clearAll:ie};function E(){return Be.sessionStorage}function me(se){return E().getItem(se)}function de(se,ce){return E().setItem(se,ce)}function le(se){for(var ce=E().length-1;ce>=0;ce--){var oe=E().key(ce);se(me(oe),oe)}}function ae(se){return E().removeItem(se)}function ie(){return E().clear()}},34376:function(ct){(function(it,Se){if(1)ct.exports=Se();else var be,Be})(window,function(){return function(it){var Se={};function be(Be){if(Se[Be])return Se[Be].exports;var E=Se[Be]={i:Be,l:!1,exports:{}};return it[Be].call(E.exports,E,E.exports,be),E.l=!0,E.exports}return be.m=it,be.c=Se,be.d=function(Be,E,me){be.o(Be,E)||Object.defineProperty(Be,E,{enumerable:!0,get:me})},be.r=function(Be){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(Be,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Be,"__esModule",{value:!0})},be.t=function(Be,E){if(1&E&&(Be=be(Be)),8&E||4&E&&typeof Be=="object"&&Be&&Be.__esModule)return Be;var me=Object.create(null);if(be.r(me),Object.defineProperty(me,"default",{enumerable:!0,value:Be}),2&E&&typeof Be!="string")for(var de in Be)be.d(me,de,function(le){return Be[le]}.bind(null,de));return me},be.n=function(Be){var E=Be&&Be.__esModule?function(){return Be.default}:function(){return Be};return be.d(E,"a",E),E},be.o=function(Be,E){return Object.prototype.hasOwnProperty.call(Be,E)},be.p="",be(be.s=34)}([function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.forwardEvent=Se.EventEmitter=void 0;var Be=function(){function E(){this._listeners=[],this._disposed=!1}return Object.defineProperty(E.prototype,"event",{get:function(){var me=this;return this._event||(this._event=function(de){return me._listeners.push(de),{dispose:function(){if(!me._disposed){for(var le=0;le<me._listeners.length;le++)if(me._listeners[le]===de)return void me._listeners.splice(le,1)}}}}),this._event},enumerable:!1,configurable:!0}),E.prototype.fire=function(me,de){for(var le=[],ae=0;ae<this._listeners.length;ae++)le.push(this._listeners[ae]);for(ae=0;ae<le.length;ae++)le[ae].call(void 0,me,de)},E.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},E}();Se.EventEmitter=Be,Se.forwardEvent=function(E,me){return E(function(de){return me.fire(de)})}},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.IUnicodeService=Se.IOptionsService=Se.ILogService=Se.IInstantiationService=Se.IDirtyRowService=Se.ICharsetService=Se.ICoreService=Se.ICoreMouseService=Se.IBufferService=void 0;var Be=be(14);Se.IBufferService=Be.createDecorator("BufferService"),Se.ICoreMouseService=Be.createDecorator("CoreMouseService"),Se.ICoreService=Be.createDecorator("CoreService"),Se.ICharsetService=Be.createDecorator("CharsetService"),Se.IDirtyRowService=Be.createDecorator("DirtyRowService"),Se.IInstantiationService=Be.createDecorator("InstantiationService"),Se.ILogService=Be.createDecorator("LogService"),Se.IOptionsService=Be.createDecorator("OptionsService"),Se.IUnicodeService=Be.createDecorator("UnicodeService")},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.getDisposeArrayDisposable=Se.disposeArray=Se.Disposable=void 0;var Be=function(){function me(){this._disposables=[],this._isDisposed=!1}return me.prototype.dispose=function(){this._isDisposed=!0;for(var de=0,le=this._disposables;de<le.length;de++)le[de].dispose();this._disposables.length=0},me.prototype.register=function(de){return this._disposables.push(de),de},me.prototype.unregister=function(de){var le=this._disposables.indexOf(de);le!==-1&&this._disposables.splice(le,1)},me}();function E(me){for(var de=0,le=me;de<le.length;de++)le[de].dispose();me.length=0}Se.Disposable=Be,Se.disposeArray=E,Se.getDisposeArrayDisposable=function(me){return{dispose:function(){return E(me)}}}},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.WHITESPACE_CELL_CODE=Se.WHITESPACE_CELL_WIDTH=Se.WHITESPACE_CELL_CHAR=Se.NULL_CELL_CODE=Se.NULL_CELL_WIDTH=Se.NULL_CELL_CHAR=Se.CHAR_DATA_CODE_INDEX=Se.CHAR_DATA_WIDTH_INDEX=Se.CHAR_DATA_CHAR_INDEX=Se.CHAR_DATA_ATTR_INDEX=Se.DEFAULT_ATTR=Se.DEFAULT_COLOR=void 0,Se.DEFAULT_COLOR=256,Se.DEFAULT_ATTR=256|Se.DEFAULT_COLOR<<9,Se.CHAR_DATA_ATTR_INDEX=0,Se.CHAR_DATA_CHAR_INDEX=1,Se.CHAR_DATA_WIDTH_INDEX=2,Se.CHAR_DATA_CODE_INDEX=3,Se.NULL_CELL_CHAR="",Se.NULL_CELL_WIDTH=1,Se.NULL_CELL_CODE=0,Se.WHITESPACE_CELL_CHAR=" ",Se.WHITESPACE_CELL_WIDTH=1,Se.WHITESPACE_CELL_CODE=32},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(ie,se){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,oe){ce.__proto__=oe}||function(ce,oe){for(var re in oe)oe.hasOwnProperty(re)&&(ce[re]=oe[re])})(ie,se)},function(ie,se){function ce(){this.constructor=ie}Be(ie,se),ie.prototype=se===null?Object.create(se):(ce.prototype=se.prototype,new ce)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.CellData=void 0;var me=be(8),de=be(3),le=be(6),ae=function(ie){function se(){var ce=ie!==null&&ie.apply(this,arguments)||this;return ce.content=0,ce.fg=0,ce.bg=0,ce.extended=new le.ExtendedAttrs,ce.combinedData="",ce}return E(se,ie),se.fromCharData=function(ce){var oe=new se;return oe.setFromCharData(ce),oe},se.prototype.isCombined=function(){return 2097152&this.content},se.prototype.getWidth=function(){return this.content>>22},se.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?me.stringFromCodePoint(2097151&this.content):""},se.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},se.prototype.setFromCharData=function(ce){this.fg=ce[de.CHAR_DATA_ATTR_INDEX],this.bg=0;var oe=!1;if(ce[de.CHAR_DATA_CHAR_INDEX].length>2)oe=!0;else if(ce[de.CHAR_DATA_CHAR_INDEX].length===2){var re=ce[de.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=re&&re<=56319){var ne=ce[de.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=ne&&ne<=57343?this.content=1024*(re-55296)+ne-56320+65536|ce[de.CHAR_DATA_WIDTH_INDEX]<<22:oe=!0}else oe=!0}else this.content=ce[de.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|ce[de.CHAR_DATA_WIDTH_INDEX]<<22;oe&&(this.combinedData=ce[de.CHAR_DATA_CHAR_INDEX],this.content=2097152|ce[de.CHAR_DATA_WIDTH_INDEX]<<22)},se.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},se}(le.AttributeData);Se.CellData=ae},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.ISoundService=Se.ISelectionService=Se.IRenderService=Se.IMouseService=Se.ICoreBrowserService=Se.ICharSizeService=void 0;var Be=be(14);Se.ICharSizeService=Be.createDecorator("CharSizeService"),Se.ICoreBrowserService=Be.createDecorator("CoreBrowserService"),Se.IMouseService=Be.createDecorator("MouseService"),Se.IRenderService=Be.createDecorator("RenderService"),Se.ISelectionService=Be.createDecorator("SelectionService"),Se.ISoundService=Be.createDecorator("SoundService")},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.ExtendedAttrs=Se.AttributeData=void 0;var Be=function(){function me(){this.fg=0,this.bg=0,this.extended=new E}return me.toColorRGB=function(de){return[de>>>16&255,de>>>8&255,255&de]},me.fromColorRGB=function(de){return(255&de[0])<<16|(255&de[1])<<8|255&de[2]},me.prototype.clone=function(){var de=new me;return de.fg=this.fg,de.bg=this.bg,de.extended=this.extended.clone(),de},me.prototype.isInverse=function(){return 67108864&this.fg},me.prototype.isBold=function(){return 134217728&this.fg},me.prototype.isUnderline=function(){return 268435456&this.fg},me.prototype.isBlink=function(){return 536870912&this.fg},me.prototype.isInvisible=function(){return 1073741824&this.fg},me.prototype.isItalic=function(){return 67108864&this.bg},me.prototype.isDim=function(){return 134217728&this.bg},me.prototype.getFgColorMode=function(){return 50331648&this.fg},me.prototype.getBgColorMode=function(){return 50331648&this.bg},me.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},me.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},me.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},me.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},me.prototype.isFgDefault=function(){return(50331648&this.fg)==0},me.prototype.isBgDefault=function(){return(50331648&this.bg)==0},me.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},me.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},me.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},me.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},me.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},me.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()},me.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},me.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},me.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},me.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},me.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},me}();Se.AttributeData=Be;var E=function(){function me(de,le){de===void 0&&(de=0),le===void 0&&(le=-1),this.underlineStyle=de,this.underlineColor=le}return me.prototype.clone=function(){return new me(this.underlineStyle,this.underlineColor)},me.prototype.isEmpty=function(){return this.underlineStyle===0},me}();Se.ExtendedAttrs=E},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.addDisposableDomListener=void 0,Se.addDisposableDomListener=function(Be,E,me,de){Be.addEventListener(E,me,de);var le=!1;return{dispose:function(){le||(le=!0,Be.removeEventListener(E,me,de))}}}},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.Utf8ToUtf32=Se.StringToUtf32=Se.utf32ToString=Se.stringFromCodePoint=void 0,Se.stringFromCodePoint=function(me){return me>65535?(me-=65536,String.fromCharCode(55296+(me>>10))+String.fromCharCode(me%1024+56320)):String.fromCharCode(me)},Se.utf32ToString=function(me,de,le){de===void 0&&(de=0),le===void 0&&(le=me.length);for(var ae="",ie=de;ie<le;++ie){var se=me[ie];se>65535?(se-=65536,ae+=String.fromCharCode(55296+(se>>10))+String.fromCharCode(se%1024+56320)):ae+=String.fromCharCode(se)}return ae};var Be=function(){function me(){this._interim=0}return me.prototype.clear=function(){this._interim=0},me.prototype.decode=function(de,le){var ae=de.length;if(!ae)return 0;var ie=0,se=0;this._interim&&(56320<=(re=de.charCodeAt(se++))&&re<=57343?le[ie++]=1024*(this._interim-55296)+re-56320+65536:(le[ie++]=this._interim,le[ie++]=re),this._interim=0);for(var ce=se;ce<ae;++ce){var oe=de.charCodeAt(ce);if(55296<=oe&&oe<=56319){if(++ce>=ae)return this._interim=oe,ie;var re;56320<=(re=de.charCodeAt(ce))&&re<=57343?le[ie++]=1024*(oe-55296)+re-56320+65536:(le[ie++]=oe,le[ie++]=re)}else le[ie++]=oe}return ie},me}();Se.StringToUtf32=Be;var E=function(){function me(){this.interim=new Uint8Array(3)}return me.prototype.clear=function(){this.interim.fill(0)},me.prototype.decode=function(de,le){var ae=de.length;if(!ae)return 0;var ie,se,ce,oe,re=0,ne=0,te=0;if(this.interim[0]){var a=!1,y=this.interim[0];y&=(224&y)==192?31:(240&y)==224?15:7;for(var x=0,b=void 0;(b=63&this.interim[++x])&&x<4;)y<<=6,y|=b;for(var ee=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,z=ee-x;te<z;){if(te>=ae)return 0;if((192&(b=de[te++]))!=128){te--,a=!0;break}this.interim[x++]=b,y<<=6,y|=63&b}a||(ee===2?y<128?te--:le[re++]=y:ee===3?y<2048||y>=55296&&y<=57343||(le[re++]=y):y<65536||y>1114111||(le[re++]=y)),this.interim.fill(0)}for(var ue=ae-4,fe=te;fe<ae;){for(;!(!(fe<ue)||128&(ie=de[fe])||128&(se=de[fe+1])||128&(ce=de[fe+2])||128&(oe=de[fe+3]));)le[re++]=ie,le[re++]=se,le[re++]=ce,le[re++]=oe,fe+=4;if((ie=de[fe++])<128)le[re++]=ie;else if((224&ie)==192){if(fe>=ae)return this.interim[0]=ie,re;if((192&(se=de[fe++]))!=128){fe--;continue}if((ne=(31&ie)<<6|63&se)<128){fe--;continue}le[re++]=ne}else if((240&ie)==224){if(fe>=ae)return this.interim[0]=ie,re;if((192&(se=de[fe++]))!=128){fe--;continue}if(fe>=ae)return this.interim[0]=ie,this.interim[1]=se,re;if((192&(ce=de[fe++]))!=128){fe--;continue}if((ne=(15&ie)<<12|(63&se)<<6|63&ce)<2048||ne>=55296&&ne<=57343)continue;le[re++]=ne}else if((248&ie)==240){if(fe>=ae)return this.interim[0]=ie,re;if((192&(se=de[fe++]))!=128){fe--;continue}if(fe>=ae)return this.interim[0]=ie,this.interim[1]=se,re;if((192&(ce=de[fe++]))!=128){fe--;continue}if(fe>=ae)return this.interim[0]=ie,this.interim[1]=se,this.interim[2]=ce,re;if((192&(oe=de[fe++]))!=128){fe--;continue}if((ne=(7&ie)<<18|(63&se)<<12|(63&ce)<<6|63&oe)<65536||ne>1114111)continue;le[re++]=ne}}return re},me}();Se.Utf8ToUtf32=E},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.CHAR_ATLAS_CELL_SPACING=Se.DIM_OPACITY=Se.INVERTED_DEFAULT_COLOR=void 0,Se.INVERTED_DEFAULT_COLOR=257,Se.DIM_OPACITY=.5,Se.CHAR_ATLAS_CELL_SPACING=1},function(it,Se,be){"use strict";var Be,E,me,de;function le(ie){var se=ie.toString(16);return se.length<2?"0"+se:se}function ae(ie,se){return ie<se?(se+.05)/(ie+.05):(ie+.05)/(se+.05)}Object.defineProperty(Se,"__esModule",{value:!0}),Se.contrastRatio=Se.toPaddedHex=Se.rgba=Se.rgb=Se.css=Se.color=Se.channels=void 0,function(ie){ie.toCss=function(se,ce,oe,re){return re!==void 0?"#"+le(se)+le(ce)+le(oe)+le(re):"#"+le(se)+le(ce)+le(oe)},ie.toRgba=function(se,ce,oe,re){return re===void 0&&(re=255),(se<<24|ce<<16|oe<<8|re)>>>0}}(Be=Se.channels||(Se.channels={})),(E=Se.color||(Se.color={})).blend=function(ie,se){var ce=(255&se.rgba)/255;if(ce===1)return{css:se.css,rgba:se.rgba};var oe=se.rgba>>24&255,re=se.rgba>>16&255,ne=se.rgba>>8&255,te=ie.rgba>>24&255,a=ie.rgba>>16&255,y=ie.rgba>>8&255,x=te+Math.round((oe-te)*ce),b=a+Math.round((re-a)*ce),ee=y+Math.round((ne-y)*ce);return{css:Be.toCss(x,b,ee),rgba:Be.toRgba(x,b,ee)}},E.isOpaque=function(ie){return(255&ie.rgba)==255},E.ensureContrastRatio=function(ie,se,ce){var oe=de.ensureContrastRatio(ie.rgba,se.rgba,ce);if(oe)return de.toColor(oe>>24&255,oe>>16&255,oe>>8&255)},E.opaque=function(ie){var se=(255|ie.rgba)>>>0,ce=de.toChannels(se),oe=ce[0],re=ce[1],ne=ce[2];return{css:Be.toCss(oe,re,ne),rgba:se}},E.opacity=function(ie,se){var ce=Math.round(255*se),oe=de.toChannels(ie.rgba),re=oe[0],ne=oe[1],te=oe[2];return{css:Be.toCss(re,ne,te,ce),rgba:Be.toRgba(re,ne,te,ce)}},(Se.css||(Se.css={})).toColor=function(ie){switch(ie.length){case 7:return{css:ie,rgba:(parseInt(ie.slice(1),16)<<8|255)>>>0};case 9:return{css:ie,rgba:parseInt(ie.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(ie){function se(ce,oe,re){var ne=ce/255,te=oe/255,a=re/255;return .2126*(ne<=.03928?ne/12.92:Math.pow((ne+.055)/1.055,2.4))+.7152*(te<=.03928?te/12.92:Math.pow((te+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))}ie.relativeLuminance=function(ce){return se(ce>>16&255,ce>>8&255,255&ce)},ie.relativeLuminance2=se}(me=Se.rgb||(Se.rgb={})),function(ie){function se(oe,re,ne){for(var te=oe>>24&255,a=oe>>16&255,y=oe>>8&255,x=re>>24&255,b=re>>16&255,ee=re>>8&255,z=ae(me.relativeLuminance2(x,ee,b),me.relativeLuminance2(te,a,y));z<ne&&(x>0||b>0||ee>0);)x-=Math.max(0,Math.ceil(.1*x)),b-=Math.max(0,Math.ceil(.1*b)),ee-=Math.max(0,Math.ceil(.1*ee)),z=ae(me.relativeLuminance2(x,ee,b),me.relativeLuminance2(te,a,y));return(x<<24|b<<16|ee<<8|255)>>>0}function ce(oe,re,ne){for(var te=oe>>24&255,a=oe>>16&255,y=oe>>8&255,x=re>>24&255,b=re>>16&255,ee=re>>8&255,z=ae(me.relativeLuminance2(x,ee,b),me.relativeLuminance2(te,a,y));z<ne&&(x<255||b<255||ee<255);)x=Math.min(255,x+Math.ceil(.1*(255-x))),b=Math.min(255,b+Math.ceil(.1*(255-b))),ee=Math.min(255,ee+Math.ceil(.1*(255-ee))),z=ae(me.relativeLuminance2(x,ee,b),me.relativeLuminance2(te,a,y));return(x<<24|b<<16|ee<<8|255)>>>0}ie.ensureContrastRatio=function(oe,re,ne){var te=me.relativeLuminance(oe>>8),a=me.relativeLuminance(re>>8);if(ae(te,a)<ne)return a<te?se(oe,re,ne):ce(oe,re,ne)},ie.reduceLuminance=se,ie.increaseLuminance=ce,ie.toChannels=function(oe){return[oe>>24&255,oe>>16&255,oe>>8&255,255&oe]},ie.toColor=function(oe,re,ne){return{css:Be.toCss(oe,re,ne),rgba:Be.toRgba(oe,re,ne)}}}(de=Se.rgba||(Se.rgba={})),Se.toPaddedHex=le,Se.contrastRatio=ae},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.isLinux=Se.isWindows=Se.isIphone=Se.isIpad=Se.isMac=Se.isSafari=Se.isFirefox=void 0;var Be=typeof navigator=="undefined",E=Be?"node":navigator.userAgent,me=Be?"node":navigator.platform;function de(le,ae){return le.indexOf(ae)>=0}Se.isFirefox=!!~E.indexOf("Firefox"),Se.isSafari=/^((?!chrome|android).)*safari/i.test(E),Se.isMac=de(["Macintosh","MacIntel","MacPPC","Mac68K"],me),Se.isIpad=me==="iPad",Se.isIphone=me==="iPhone",Se.isWindows=de(["Windows","Win16","Win32","WinCE"],me),Se.isLinux=me.indexOf("Linux")>=0},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.C1=Se.C0=void 0,function(Be){Be.NUL="\0",Be.SOH="",Be.STX="",Be.ETX="",Be.EOT="",Be.ENQ="",Be.ACK="",Be.BEL="\x07",Be.BS="\b",Be.HT=" ",Be.LF=`
|
|
|
`,Be.VT="\v",Be.FF="\f",Be.CR="\r",Be.SO="",Be.SI="",Be.DLE="",Be.DC1="",Be.DC2="",Be.DC3="",Be.DC4="",Be.NAK="",Be.SYN="",Be.ETB="",Be.CAN="",Be.EM="",Be.SUB="",Be.ESC="\x1B",Be.FS="",Be.GS="",Be.RS="",Be.US="",Be.SP=" ",Be.DEL="\x7F"}(Se.C0||(Se.C0={})),function(Be){Be.PAD="\x80",Be.HOP="\x81",Be.BPH="\x82",Be.NBH="\x83",Be.IND="\x84",Be.NEL="\x85",Be.SSA="\x86",Be.ESA="\x87",Be.HTS="\x88",Be.HTJ="\x89",Be.VTS="\x8A",Be.PLD="\x8B",Be.PLU="\x8C",Be.RI="\x8D",Be.SS2="\x8E",Be.SS3="\x8F",Be.DCS="\x90",Be.PU1="\x91",Be.PU2="\x92",Be.STS="\x93",Be.CCH="\x94",Be.MW="\x95",Be.SPA="\x96",Be.EPA="\x97",Be.SOS="\x98",Be.SGCI="\x99",Be.SCI="\x9A",Be.CSI="\x9B",Be.ST="\x9C",Be.OSC="\x9D",Be.PM="\x9E",Be.APC="\x9F"}(Se.C1||(Se.C1={}))},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.BaseRenderLayer=void 0;var Be=be(3),E=be(9),me=be(25),de=be(6),le=be(28),ae=be(10),ie=be(17),se=function(){function ce(oe,re,ne,te,a,y,x,b){this._container=oe,this._alpha=te,this._colors=a,this._rendererId=y,this._bufferService=x,this._optionsService=b,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+re+"-layer"),this._canvas.style.zIndex=ne.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return ce.prototype.dispose=function(){var oe;ie.removeElementFromParent(this._canvas),(oe=this._charAtlas)===null||oe===void 0||oe.dispose()},ce.prototype._initCanvas=function(){this._ctx=le.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},ce.prototype.onOptionsChanged=function(){},ce.prototype.onBlur=function(){},ce.prototype.onFocus=function(){},ce.prototype.onCursorMove=function(){},ce.prototype.onGridChanged=function(oe,re){},ce.prototype.onSelectionChanged=function(oe,re,ne){ne===void 0&&(ne=!1)},ce.prototype.setColors=function(oe){this._refreshCharAtlas(oe)},ce.prototype._setTransparency=function(oe){if(oe!==this._alpha){var re=this._canvas;this._alpha=oe,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,re),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},ce.prototype._refreshCharAtlas=function(oe){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=me.acquireCharAtlas(this._optionsService.options,this._rendererId,oe,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},ce.prototype.resize=function(oe){this._scaledCellWidth=oe.scaledCellWidth,this._scaledCellHeight=oe.scaledCellHeight,this._scaledCharWidth=oe.scaledCharWidth,this._scaledCharHeight=oe.scaledCharHeight,this._scaledCharLeft=oe.scaledCharLeft,this._scaledCharTop=oe.scaledCharTop,this._canvas.width=oe.scaledCanvasWidth,this._canvas.height=oe.scaledCanvasHeight,this._canvas.style.width=oe.canvasWidth+"px",this._canvas.style.height=oe.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},ce.prototype._fillCells=function(oe,re,ne,te){this._ctx.fillRect(oe*this._scaledCellWidth,re*this._scaledCellHeight,ne*this._scaledCellWidth,te*this._scaledCellHeight)},ce.prototype._fillBottomLineAtCells=function(oe,re,ne){ne===void 0&&(ne=1),this._ctx.fillRect(oe*this._scaledCellWidth,(re+1)*this._scaledCellHeight-window.devicePixelRatio-1,ne*this._scaledCellWidth,window.devicePixelRatio)},ce.prototype._fillLeftLineAtCell=function(oe,re,ne){this._ctx.fillRect(oe*this._scaledCellWidth,re*this._scaledCellHeight,window.devicePixelRatio*ne,this._scaledCellHeight)},ce.prototype._strokeRectAtCell=function(oe,re,ne,te){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(oe*this._scaledCellWidth+window.devicePixelRatio/2,re*this._scaledCellHeight+window.devicePixelRatio/2,ne*this._scaledCellWidth-window.devicePixelRatio,te*this._scaledCellHeight-window.devicePixelRatio)},ce.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))},ce.prototype._clearCells=function(oe,re,ne,te){this._alpha?this._ctx.clearRect(oe*this._scaledCellWidth,re*this._scaledCellHeight,ne*this._scaledCellWidth,te*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(oe*this._scaledCellWidth,re*this._scaledCellHeight,ne*this._scaledCellWidth,te*this._scaledCellHeight))},ce.prototype._fillCharTrueColor=function(oe,re,ne){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(ne),this._ctx.fillText(oe.getChars(),re*this._scaledCellWidth+this._scaledCharLeft,ne*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},ce.prototype._drawChars=function(oe,re,ne){var te,a,y=this._getContrastColor(oe);y||oe.isFgRGB()||oe.isBgRGB()?this._drawUncachedChars(oe,re,ne,y):(oe.isInverse()?(te=oe.isBgDefault()?E.INVERTED_DEFAULT_COLOR:oe.getBgColor(),a=oe.isFgDefault()?E.INVERTED_DEFAULT_COLOR:oe.getFgColor()):(a=oe.isBgDefault()?Be.DEFAULT_COLOR:oe.getBgColor(),te=oe.isFgDefault()?Be.DEFAULT_COLOR:oe.getFgColor()),te+=this._optionsService.options.drawBoldTextInBrightColors&&oe.isBold()&&te<8?8:0,this._currentGlyphIdentifier.chars=oe.getChars()||Be.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=oe.getCode()||Be.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=a,this._currentGlyphIdentifier.fg=te,this._currentGlyphIdentifier.bold=!!oe.isBold(),this._currentGlyphIdentifier.dim=!!oe.isDim(),this._currentGlyphIdentifier.italic=!!oe.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,re*this._scaledCellWidth+this._scaledCharLeft,ne*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(oe,re,ne))},ce.prototype._drawUncachedChars=function(oe,re,ne,te){if(this._ctx.save(),this._ctx.font=this._getFont(!!oe.isBold(),!!oe.isItalic()),this._ctx.textBaseline="middle",oe.isInverse())if(te)this._ctx.fillStyle=te.css;else if(oe.isBgDefault())this._ctx.fillStyle=ae.color.opaque(this._colors.background).css;else if(oe.isBgRGB())this._ctx.fillStyle="rgb("+de.AttributeData.toColorRGB(oe.getBgColor()).join(",")+")";else{var a=oe.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&oe.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].css}else if(te)this._ctx.fillStyle=te.css;else if(oe.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(oe.isFgRGB())this._ctx.fillStyle="rgb("+de.AttributeData.toColorRGB(oe.getFgColor()).join(",")+")";else{var y=oe.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&oe.isBold()&&y<8&&(y+=8),this._ctx.fillStyle=this._colors.ansi[y].css}this._clipRow(ne),oe.isDim()&&(this._ctx.globalAlpha=E.DIM_OPACITY),this._ctx.fillText(oe.getChars(),re*this._scaledCellWidth+this._scaledCharLeft,ne*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},ce.prototype._clipRow=function(oe){this._ctx.beginPath(),this._ctx.rect(0,oe*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},ce.prototype._getFont=function(oe,re){return(re?"italic":"")+" "+(oe?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},ce.prototype._getContrastColor=function(oe){if(this._optionsService.options.minimumContrastRatio!==1){var re=this._colors.contrastCache.getColor(oe.bg,oe.fg);if(re!==void 0)return re||void 0;var ne=oe.getFgColor(),te=oe.getFgColorMode(),a=oe.getBgColor(),y=oe.getBgColorMode(),x=!!oe.isInverse(),b=!!oe.isInverse();if(x){var ee=ne;ne=a,a=ee;var z=te;te=y,y=z}var ue=this._resolveBackgroundRgba(y,a,x),fe=this._resolveForegroundRgba(te,ne,x,b),ge=ae.rgba.ensureContrastRatio(ue,fe,this._optionsService.options.minimumContrastRatio);if(ge){var he={css:ae.channels.toCss(ge>>24&255,ge>>16&255,ge>>8&255),rgba:ge};return this._colors.contrastCache.setColor(oe.bg,oe.fg,he),he}this._colors.contrastCache.setColor(oe.bg,oe.fg,null)}},ce.prototype._resolveBackgroundRgba=function(oe,re,ne){switch(oe){case 16777216:case 33554432:return this._colors.ansi[re].rgba;case 50331648:return re<<8;case 0:default:return ne?this._colors.foreground.rgba:this._colors.background.rgba}},ce.prototype._resolveForegroundRgba=function(oe,re,ne,te){switch(oe){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&te&&re<8&&(re+=8),this._colors.ansi[re].rgba;case 50331648:return re<<8;case 0:default:return ne?this._colors.background.rgba:this._colors.foreground.rgba}},ce}();Se.BaseRenderLayer=se},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.createDecorator=Se.getServiceDependencies=Se.serviceRegistry=void 0;function Be(E,me,de){me.di$target===me?me.di$dependencies.push({id:E,index:de}):(me.di$dependencies=[{id:E,index:de}],me.di$target=me)}Se.serviceRegistry=new Map,Se.getServiceDependencies=function(E){return E.di$dependencies||[]},Se.createDecorator=function(E){if(Se.serviceRegistry.has(E))return Se.serviceRegistry.get(E);var me=function(de,le,ae){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");Be(me,de,ae)};return me.toString=function(){return E},Se.serviceRegistry.set(E,me),me}},function(it,Se,be){"use strict";function Be(E,me,de,le){if(de===void 0&&(de=0),le===void 0&&(le=E.length),de>=E.length)return E;de=(E.length+de)%E.length,le=le>=E.length?E.length:(E.length+le)%E.length;for(var ae=de;ae<le;++ae)E[ae]=me;return E}Object.defineProperty(Se,"__esModule",{value:!0}),Se.concat=Se.fillFallback=Se.fill=void 0,Se.fill=function(E,me,de,le){return E.fill?E.fill(me,de,le):Be(E,me,de,le)},Se.fillFallback=Be,Se.concat=function(E,me){var de=new E.constructor(E.length+me.length);return de.set(E),de.set(me,E.length),de}},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.BufferLine=Se.DEFAULT_ATTR_DATA=void 0;var Be=be(8),E=be(3),me=be(4),de=be(6);Se.DEFAULT_ATTR_DATA=Object.freeze(new de.AttributeData);var le=function(){function ae(ie,se,ce){ce===void 0&&(ce=!1),this.isWrapped=ce,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*ie);for(var oe=se||me.CellData.fromCharData([0,E.NULL_CELL_CHAR,E.NULL_CELL_WIDTH,E.NULL_CELL_CODE]),re=0;re<ie;++re)this.setCell(re,oe);this.length=ie}return ae.prototype.get=function(ie){var se=this._data[3*ie+0],ce=2097151&se;return[this._data[3*ie+1],2097152&se?this._combined[ie]:ce?Be.stringFromCodePoint(ce):"",se>>22,2097152&se?this._combined[ie].charCodeAt(this._combined[ie].length-1):ce]},ae.prototype.set=function(ie,se){this._data[3*ie+1]=se[E.CHAR_DATA_ATTR_INDEX],se[E.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[ie]=se[1],this._data[3*ie+0]=2097152|ie|se[E.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*ie+0]=se[E.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|se[E.CHAR_DATA_WIDTH_INDEX]<<22},ae.prototype.getWidth=function(ie){return this._data[3*ie+0]>>22},ae.prototype.hasWidth=function(ie){return 12582912&this._data[3*ie+0]},ae.prototype.getFg=function(ie){return this._data[3*ie+1]},ae.prototype.getBg=function(ie){return this._data[3*ie+2]},ae.prototype.hasContent=function(ie){return 4194303&this._data[3*ie+0]},ae.prototype.getCodePoint=function(ie){var se=this._data[3*ie+0];return 2097152&se?this._combined[ie].charCodeAt(this._combined[ie].length-1):2097151&se},ae.prototype.isCombined=function(ie){return 2097152&this._data[3*ie+0]},ae.prototype.getString=function(ie){var se=this._data[3*ie+0];return 2097152&se?this._combined[ie]:2097151&se?Be.stringFromCodePoint(2097151&se):""},ae.prototype.loadCell=function(ie,se){var ce=3*ie;return se.content=this._data[ce+0],se.fg=this._data[ce+1],se.bg=this._data[ce+2],2097152&se.content&&(se.combinedData=this._combined[ie]),268435456&se.bg&&(se.extended=this._extendedAttrs[ie]),se},ae.prototype.setCell=function(ie,se){2097152&se.content&&(this._combined[ie]=se.combinedData),268435456&se.bg&&(this._extendedAttrs[ie]=se.extended),this._data[3*ie+0]=se.content,this._data[3*ie+1]=se.fg,this._data[3*ie+2]=se.bg},ae.prototype.setCellFromCodePoint=function(ie,se,ce,oe,re,ne){268435456&re&&(this._extendedAttrs[ie]=ne),this._data[3*ie+0]=se|ce<<22,this._data[3*ie+1]=oe,this._data[3*ie+2]=re},ae.prototype.addCodepointToCell=function(ie,se){var ce=this._data[3*ie+0];2097152&ce?this._combined[ie]+=Be.stringFromCodePoint(se):(2097151&ce?(this._combined[ie]=Be.stringFromCodePoint(2097151&ce)+Be.stringFromCodePoint(se),ce&=-2097152,ce|=2097152):ce=se|1<<22,this._data[3*ie+0]=ce)},ae.prototype.insertCells=function(ie,se,ce,oe){if((ie%=this.length)&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(oe==null?void 0:oe.fg)||0,(oe==null?void 0:oe.bg)||0,(oe==null?void 0:oe.extended)||new de.ExtendedAttrs),se<this.length-ie){for(var re=new me.CellData,ne=this.length-ie-se-1;ne>=0;--ne)this.setCell(ie+se+ne,this.loadCell(ie+ne,re));for(ne=0;ne<se;++ne)this.setCell(ie+ne,ce)}else for(ne=ie;ne<this.length;++ne)this.setCell(ne,ce);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(oe==null?void 0:oe.fg)||0,(oe==null?void 0:oe.bg)||0,(oe==null?void 0:oe.extended)||new de.ExtendedAttrs)},ae.prototype.deleteCells=function(ie,se,ce,oe){if(ie%=this.length,se<this.length-ie){for(var re=new me.CellData,ne=0;ne<this.length-ie-se;++ne)this.setCell(ie+ne,this.loadCell(ie+se+ne,re));for(ne=this.length-se;ne<this.length;++ne)this.setCell(ne,ce)}else for(ne=ie;ne<this.length;++ne)this.setCell(ne,ce);ie&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(oe==null?void 0:oe.fg)||0,(oe==null?void 0:oe.bg)||0,(oe==null?void 0:oe.extended)||new de.ExtendedAttrs),this.getWidth(ie)!==0||this.hasContent(ie)||this.setCellFromCodePoint(ie,0,1,(oe==null?void 0:oe.fg)||0,(oe==null?void 0:oe.bg)||0,(oe==null?void 0:oe.extended)||new de.ExtendedAttrs)},ae.prototype.replaceCells=function(ie,se,ce,oe){for(ie&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(oe==null?void 0:oe.fg)||0,(oe==null?void 0:oe.bg)||0,(oe==null?void 0:oe.extended)||new de.ExtendedAttrs),se<this.length&&this.getWidth(se-1)===2&&this.setCellFromCodePoint(se,0,1,(oe==null?void 0:oe.fg)||0,(oe==null?void 0:oe.bg)||0,(oe==null?void 0:oe.extended)||new de.ExtendedAttrs);ie<se&&ie<this.length;)this.setCell(ie++,ce)},ae.prototype.resize=function(ie,se){if(ie!==this.length){if(ie>this.length){var ce=new Uint32Array(3*ie);this.length&&(3*ie<this._data.length?ce.set(this._data.subarray(0,3*ie)):ce.set(this._data)),this._data=ce;for(var oe=this.length;oe<ie;++oe)this.setCell(oe,se)}else if(ie){(ce=new Uint32Array(3*ie)).set(this._data.subarray(0,3*ie)),this._data=ce;var re=Object.keys(this._combined);for(oe=0;oe<re.length;oe++){var ne=parseInt(re[oe],10);ne>=ie&&delete this._combined[ne]}}else this._data=new Uint32Array(0),this._combined={};this.length=ie}},ae.prototype.fill=function(ie){this._combined={},this._extendedAttrs={};for(var se=0;se<this.length;++se)this.setCell(se,ie)},ae.prototype.copyFrom=function(ie){for(var se in this.length!==ie.length?this._data=new Uint32Array(ie._data):this._data.set(ie._data),this.length=ie.length,this._combined={},ie._combined)this._combined[se]=ie._combined[se];for(var se in this._extendedAttrs={},ie._extendedAttrs)this._extendedAttrs[se]=ie._extendedAttrs[se];this.isWrapped=ie.isWrapped},ae.prototype.clone=function(){var ie=new ae(0);for(var se in ie._data=new Uint32Array(this._data),ie.length=this.length,this._combined)ie._combined[se]=this._combined[se];for(var se in this._extendedAttrs)ie._extendedAttrs[se]=this._extendedAttrs[se];return ie.isWrapped=this.isWrapped,ie},ae.prototype.getTrimmedLength=function(){for(var ie=this.length-1;ie>=0;--ie)if(4194303&this._data[3*ie+0])return ie+(this._data[3*ie+0]>>22);return 0},ae.prototype.copyCellsFrom=function(ie,se,ce,oe,re){var ne=ie._data;if(re)for(var te=oe-1;te>=0;te--)for(var a=0;a<3;a++)this._data[3*(ce+te)+a]=ne[3*(se+te)+a];else for(te=0;te<oe;te++)for(a=0;a<3;a++)this._data[3*(ce+te)+a]=ne[3*(se+te)+a];var y=Object.keys(ie._combined);for(a=0;a<y.length;a++){var x=parseInt(y[a],10);x>=se&&(this._combined[x-se+ce]=ie._combined[x])}},ae.prototype.translateToString=function(ie,se,ce){ie===void 0&&(ie=!1),se===void 0&&(se=0),ce===void 0&&(ce=this.length),ie&&(ce=Math.min(ce,this.getTrimmedLength()));for(var oe="";se<ce;){var re=this._data[3*se+0],ne=2097151&re;oe+=2097152&re?this._combined[se]:ne?Be.stringFromCodePoint(ne):E.WHITESPACE_CELL_CHAR,se+=re>>22||1}return oe},ae}();Se.BufferLine=le},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.removeElementFromParent=void 0,Se.removeElementFromParent=function(){for(var Be,E=[],me=0;me<arguments.length;me++)E[me]=arguments[me];for(var de=0,le=E;de<le.length;de++){var ae=le[de];(Be=ae==null?void 0:ae.parentElement)===null||Be===void 0||Be.removeChild(ae)}}},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.tooMuchOutput=Se.promptLabel=void 0,Se.promptLabel="Terminal input",Se.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(fe,ge){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(he,pe){he.__proto__=pe}||function(he,pe){for(var ye in pe)pe.hasOwnProperty(ye)&&(he[ye]=pe[ye])})(fe,ge)},function(fe,ge){function he(){this.constructor=fe}Be(fe,ge),fe.prototype=ge===null?Object.create(ge):(he.prototype=ge.prototype,new he)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.InputHandler=Se.WindowsOptionsReportType=void 0;var me,de=be(12),le=be(20),ae=be(39),ie=be(2),se=be(15),ce=be(8),oe=be(16),re=be(0),ne=be(3),te=be(4),a=be(6),y=be(22),x=be(24),b={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function ee(fe,ge){if(fe>24)return ge.setWinLines||!1;switch(fe){case 1:return!!ge.restoreWin;case 2:return!!ge.minimizeWin;case 3:return!!ge.setWinPosition;case 4:return!!ge.setWinSizePixels;case 5:return!!ge.raiseWin;case 6:return!!ge.lowerWin;case 7:return!!ge.refreshWin;case 8:return!!ge.setWinSizeChars;case 9:return!!ge.maximizeWin;case 10:return!!ge.fullscreenWin;case 11:return!!ge.getWinState;case 13:return!!ge.getWinPosition;case 14:return!!ge.getWinSizePixels;case 15:return!!ge.getScreenSizePixels;case 16:return!!ge.getCellSizePixels;case 18:return!!ge.getWinSizeChars;case 19:return!!ge.getScreenSizeChars;case 20:return!!ge.getIconTitle;case 21:return!!ge.getWinTitle;case 22:return!!ge.pushTitle;case 23:return!!ge.popTitle;case 24:return!!ge.setWinLines}return!1}(function(fe){fe[fe.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",fe[fe.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"})(me=Se.WindowsOptionsReportType||(Se.WindowsOptionsReportType={}));var z=function(){function fe(ge,he,pe,ye){this._bufferService=ge,this._coreService=he,this._logService=pe,this._optionsService=ye,this._data=new Uint32Array(0)}return fe.prototype.hook=function(ge){this._data=new Uint32Array(0)},fe.prototype.put=function(ge,he,pe){this._data=se.concat(this._data,ge.subarray(he,pe))},fe.prototype.unhook=function(ge){if(ge){var he=ce.utf32ToString(this._data);switch(this._data=new Uint32Array(0),he){case'"q':return this._coreService.triggerDataEvent(de.C0.ESC+'P1$r0"q'+de.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(de.C0.ESC+'P1$r61;1"p'+de.C0.ESC+"\\");case"r":var pe=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(de.C0.ESC+"P1$r"+pe+de.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(de.C0.ESC+"P1$r0m"+de.C0.ESC+"\\");case" q":var ye={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return ye-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(de.C0.ESC+"P1$r"+ye+" q"+de.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",he),this._coreService.triggerDataEvent(de.C0.ESC+"P0$r"+de.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},fe}(),ue=function(fe){function ge(he,pe,ye,ve,Pe,we,Ae,_e,xe){xe===void 0&&(xe=new ae.EscapeSequenceParser);var Ee=fe.call(this)||this;Ee._bufferService=he,Ee._charsetService=pe,Ee._coreService=ye,Ee._dirtyRowService=ve,Ee._logService=Pe,Ee._optionsService=we,Ee._coreMouseService=Ae,Ee._unicodeService=_e,Ee._parser=xe,Ee._parseBuffer=new Uint32Array(4096),Ee._stringDecoder=new ce.StringToUtf32,Ee._utf8Decoder=new ce.Utf8ToUtf32,Ee._workCell=new te.CellData,Ee._windowTitle="",Ee._iconName="",Ee._windowTitleStack=[],Ee._iconNameStack=[],Ee._curAttrData=oe.DEFAULT_ATTR_DATA.clone(),Ee._eraseAttrDataInternal=oe.DEFAULT_ATTR_DATA.clone(),Ee._onRequestBell=new re.EventEmitter,Ee._onRequestRefreshRows=new re.EventEmitter,Ee._onRequestReset=new re.EventEmitter,Ee._onRequestScroll=new re.EventEmitter,Ee._onRequestSyncScrollBar=new re.EventEmitter,Ee._onRequestWindowsOptionsReport=new re.EventEmitter,Ee._onA11yChar=new re.EventEmitter,Ee._onA11yTab=new re.EventEmitter,Ee._onCursorMove=new re.EventEmitter,Ee._onLineFeed=new re.EventEmitter,Ee._onScroll=new re.EventEmitter,Ee._onTitleChange=new re.EventEmitter,Ee.register(Ee._parser),Ee._parser.setCsiHandlerFallback(function(Te,Je){Ee._logService.debug("Unknown CSI code: ",{identifier:Ee._parser.identToString(Te),params:Je.toArray()})}),Ee._parser.setEscHandlerFallback(function(Te){Ee._logService.debug("Unknown ESC code: ",{identifier:Ee._parser.identToString(Te)})}),Ee._parser.setExecuteHandlerFallback(function(Te){Ee._logService.debug("Unknown EXECUTE code: ",{code:Te})}),Ee._parser.setOscHandlerFallback(function(Te,Je,Qe){Ee._logService.debug("Unknown OSC code: ",{identifier:Te,action:Je,data:Qe})}),Ee._parser.setDcsHandlerFallback(function(Te,Je,Qe){Je==="HOOK"&&(Qe=Qe.toArray()),Ee._logService.debug("Unknown DCS code: ",{identifier:Ee._parser.identToString(Te),action:Je,payload:Qe})}),Ee._parser.setPrintHandler(function(Te,Je,Qe){return Ee.print(Te,Je,Qe)}),Ee._parser.setCsiHandler({final:"@"},function(Te){return Ee.insertChars(Te)}),Ee._parser.setCsiHandler({intermediates:" ",final:"@"},function(Te){return Ee.scrollLeft(Te)}),Ee._parser.setCsiHandler({final:"A"},function(Te){return Ee.cursorUp(Te)}),Ee._parser.setCsiHandler({intermediates:" ",final:"A"},function(Te){return Ee.scrollRight(Te)}),Ee._parser.setCsiHandler({final:"B"},function(Te){return Ee.cursorDown(Te)}),Ee._parser.setCsiHandler({final:"C"},function(Te){return Ee.cursorForward(Te)}),Ee._parser.setCsiHandler({final:"D"},function(Te){return Ee.cursorBackward(Te)}),Ee._parser.setCsiHandler({final:"E"},function(Te){return Ee.cursorNextLine(Te)}),Ee._parser.setCsiHandler({final:"F"},function(Te){return Ee.cursorPrecedingLine(Te)}),Ee._parser.setCsiHandler({final:"G"},function(Te){return Ee.cursorCharAbsolute(Te)}),Ee._parser.setCsiHandler({final:"H"},function(Te){return Ee.cursorPosition(Te)}),Ee._parser.setCsiHandler({final:"I"},function(Te){return Ee.cursorForwardTab(Te)}),Ee._parser.setCsiHandler({final:"J"},function(Te){return Ee.eraseInDisplay(Te)}),Ee._parser.setCsiHandler({prefix:"?",final:"J"},function(Te){return Ee.eraseInDisplay(Te)}),Ee._parser.setCsiHandler({final:"K"},function(Te){return Ee.eraseInLine(Te)}),Ee._parser.setCsiHandler({prefix:"?",final:"K"},function(Te){return Ee.eraseInLine(Te)}),Ee._parser.setCsiHandler({final:"L"},function(Te){return Ee.insertLines(Te)}),Ee._parser.setCsiHandler({final:"M"},function(Te){return Ee.deleteLines(Te)}),Ee._parser.setCsiHandler({final:"P"},function(Te){return Ee.deleteChars(Te)}),Ee._parser.setCsiHandler({final:"S"},function(Te){return Ee.scrollUp(Te)}),Ee._parser.setCsiHandler({final:"T"},function(Te){return Ee.scrollDown(Te)}),Ee._parser.setCsiHandler({final:"X"},function(Te){return Ee.eraseChars(Te)}),Ee._parser.setCsiHandler({final:"Z"},function(Te){return Ee.cursorBackwardTab(Te)}),Ee._parser.setCsiHandler({final:"`"},function(Te){return Ee.charPosAbsolute(Te)}),Ee._parser.setCsiHandler({final:"a"},function(Te){return Ee.hPositionRelative(Te)}),Ee._parser.setCsiHandler({final:"b"},function(Te){return Ee.repeatPrecedingCharacter(Te)}),Ee._parser.setCsiHandler({final:"c"},function(Te){return Ee.sendDeviceAttributesPrimary(Te)}),Ee._parser.setCsiHandler({prefix:">",final:"c"},function(Te){return Ee.sendDeviceAttributesSecondary(Te)}),Ee._parser.setCsiHandler({final:"d"},function(Te){return Ee.linePosAbsolute(Te)}),Ee._parser.setCsiHandler({final:"e"},function(Te){return Ee.vPositionRelative(Te)}),Ee._parser.setCsiHandler({final:"f"},function(Te){return Ee.hVPosition(Te)}),Ee._parser.setCsiHandler({final:"g"},function(Te){return Ee.tabClear(Te)}),Ee._parser.setCsiHandler({final:"h"},function(Te){return Ee.setMode(Te)}),Ee._parser.setCsiHandler({prefix:"?",final:"h"},function(Te){return Ee.setModePrivate(Te)}),Ee._parser.setCsiHandler({final:"l"},function(Te){return Ee.resetMode(Te)}),Ee._parser.setCsiHandler({prefix:"?",final:"l"},function(Te){return Ee.resetModePrivate(Te)}),Ee._parser.setCsiHandler({final:"m"},function(Te){return Ee.charAttributes(Te)}),Ee._parser.setCsiHandler({final:"n"},function(Te){return Ee.deviceStatus(Te)}),Ee._parser.setCsiHandler({prefix:"?",final:"n"},function(Te){return Ee.deviceStatusPrivate(Te)}),Ee._parser.setCsiHandler({intermediates:"!",final:"p"},function(Te){return Ee.softReset(Te)}),Ee._parser.setCsiHandler({intermediates:" ",final:"q"},function(Te){return Ee.setCursorStyle(Te)}),Ee._parser.setCsiHandler({final:"r"},function(Te){return Ee.setScrollRegion(Te)}),Ee._parser.setCsiHandler({final:"s"},function(Te){return Ee.saveCursor(Te)}),Ee._parser.setCsiHandler({final:"t"},function(Te){return Ee.windowOptions(Te)}),Ee._parser.setCsiHandler({final:"u"},function(Te){return Ee.restoreCursor(Te)}),Ee._parser.setCsiHandler({intermediates:"'",final:"}"},function(Te){return Ee.insertColumns(Te)}),Ee._parser.setCsiHandler({intermediates:"'",final:"~"},function(Te){return Ee.deleteColumns(Te)}),Ee._parser.setExecuteHandler(de.C0.BEL,function(){return Ee.bell()}),Ee._parser.setExecuteHandler(de.C0.LF,function(){return Ee.lineFeed()}),Ee._parser.setExecuteHandler(de.C0.VT,function(){return Ee.lineFeed()}),Ee._parser.setExecuteHandler(de.C0.FF,function(){return Ee.lineFeed()}),Ee._parser.setExecuteHandler(de.C0.CR,function(){return Ee.carriageReturn()}),Ee._parser.setExecuteHandler(de.C0.BS,function(){return Ee.backspace()}),Ee._parser.setExecuteHandler(de.C0.HT,function(){return Ee.tab()}),Ee._parser.setExecuteHandler(de.C0.SO,function(){return Ee.shiftOut()}),Ee._parser.setExecuteHandler(de.C0.SI,function(){return Ee.shiftIn()}),Ee._parser.setExecuteHandler(de.C1.IND,function(){return Ee.index()}),Ee._parser.setExecuteHandler(de.C1.NEL,function(){return Ee.nextLine()}),Ee._parser.setExecuteHandler(de.C1.HTS,function(){return Ee.tabSet()}),Ee._parser.setOscHandler(0,new y.OscHandler(function(Te){Ee.setTitle(Te),Ee.setIconName(Te)})),Ee._parser.setOscHandler(1,new y.OscHandler(function(Te){return Ee.setIconName(Te)})),Ee._parser.setOscHandler(2,new y.OscHandler(function(Te){return Ee.setTitle(Te)})),Ee._parser.setEscHandler({final:"7"},function(){return Ee.saveCursor()}),Ee._parser.setEscHandler({final:"8"},function(){return Ee.restoreCursor()}),Ee._parser.setEscHandler({final:"D"},function(){return Ee.index()}),Ee._parser.setEscHandler({final:"E"},function(){return Ee.nextLine()}),Ee._parser.setEscHandler({final:"H"},function(){return Ee.tabSet()}),Ee._parser.setEscHandler({final:"M"},function(){return Ee.reverseIndex()}),Ee._parser.setEscHandler({final:"="},function(){return Ee.keypadApplicationMode()}),Ee._parser.setEscHandler({final:">"},function(){return Ee.keypadNumericMode()}),Ee._parser.setEscHandler({final:"c"},function(){return Ee.fullReset()}),Ee._parser.setEscHandler({final:"n"},function(){return Ee.setgLevel(2)}),Ee._parser.setEscHandler({final:"o"},function(){return Ee.setgLevel(3)}),Ee._parser.setEscHandler({final:"|"},function(){return Ee.setgLevel(3)}),Ee._parser.setEscHandler({final:"}"},function(){return Ee.setgLevel(2)}),Ee._parser.setEscHandler({final:"~"},function(){return Ee.setgLevel(1)}),Ee._parser.setEscHandler({intermediates:"%",final:"@"},function(){return Ee.selectDefaultCharset()}),Ee._parser.setEscHandler({intermediates:"%",final:"G"},function(){return Ee.selectDefaultCharset()});var Oe=function(Te){Ie._parser.setEscHandler({intermediates:"(",final:Te},function(){return Ee.selectCharset("("+Te)}),Ie._parser.setEscHandler({intermediates:")",final:Te},function(){return Ee.selectCharset(")"+Te)}),Ie._parser.setEscHandler({intermediates:"*",final:Te},function(){return Ee.selectCharset("*"+Te)}),Ie._parser.setEscHandler({intermediates:"+",final:Te},function(){return Ee.selectCharset("+"+Te)}),Ie._parser.setEscHandler({intermediates:"-",final:Te},function(){return Ee.selectCharset("-"+Te)}),Ie._parser.setEscHandler({intermediates:".",final:Te},function(){return Ee.selectCharset("."+Te)}),Ie._parser.setEscHandler({intermediates:"/",final:Te},function(){return Ee.selectCharset("/"+Te)})},Ie=this;for(var Ne in le.CHARSETS)Oe(Ne);return Ee._parser.setEscHandler({intermediates:"#",final:"8"},function(){return Ee.screenAlignmentPattern()}),Ee._parser.setErrorHandler(function(Te){return Ee._logService.error("Parsing error: ",Te),Te}),Ee._parser.setDcsHandler({intermediates:"$",final:"q"},new z(Ee._bufferService,Ee._coreService,Ee._logService,Ee._optionsService)),Ee}return E(ge,fe),Object.defineProperty(ge.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),ge.prototype.dispose=function(){fe.prototype.dispose.call(this)},ge.prototype.parse=function(he){var pe=this._bufferService.buffer,ye=pe.x,ve=pe.y;if(this._logService.debug("parsing data",he),this._parseBuffer.length<he.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(he.length,131072))),this._dirtyRowService.clearRange(),he.length>131072)for(var Pe=0;Pe<he.length;Pe+=131072){var we=Pe+131072<he.length?Pe+131072:he.length,Ae=typeof he=="string"?this._stringDecoder.decode(he.substring(Pe,we),this._parseBuffer):this._utf8Decoder.decode(he.subarray(Pe,we),this._parseBuffer);this._parser.parse(this._parseBuffer,Ae)}else Ae=typeof he=="string"?this._stringDecoder.decode(he,this._parseBuffer):this._utf8Decoder.decode(he,this._parseBuffer),this._parser.parse(this._parseBuffer,Ae);(pe=this._bufferService.buffer).x===ye&&pe.y===ve||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},ge.prototype.print=function(he,pe,ye){var ve,Pe,we=this._bufferService.buffer,Ae=this._charsetService.charset,_e=this._optionsService.options.screenReaderMode,xe=this._bufferService.cols,Ee=this._coreService.decPrivateModes.wraparound,Oe=this._coreService.modes.insertMode,Ie=this._curAttrData,Ne=we.lines.get(we.ybase+we.y);this._dirtyRowService.markDirty(we.y),we.x&&ye-pe>0&&Ne.getWidth(we.x-1)===2&&Ne.setCellFromCodePoint(we.x-1,0,1,Ie.fg,Ie.bg,Ie.extended);for(var Te=pe;Te<ye;++Te){if(ve=he[Te],Pe=this._unicodeService.wcwidth(ve),ve<127&&Ae){var Je=Ae[String.fromCharCode(ve)];Je&&(ve=Je.charCodeAt(0))}if(_e&&this._onA11yChar.fire(ce.stringFromCodePoint(ve)),Pe||!we.x){if(we.x+Pe-1>=xe){if(Ee){for(;we.x<xe;)Ne.setCellFromCodePoint(we.x++,0,1,Ie.fg,Ie.bg,Ie.extended);we.x=0,we.y++,we.y===we.scrollBottom+1?(we.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(we.y>=this._bufferService.rows&&(we.y=this._bufferService.rows-1),we.lines.get(we.ybase+we.y).isWrapped=!0),Ne=we.lines.get(we.ybase+we.y)}else if(we.x=xe-1,Pe===2)continue}if(Oe&&(Ne.insertCells(we.x,Pe,we.getNullCell(Ie),Ie),Ne.getWidth(xe-1)===2&&Ne.setCellFromCodePoint(xe-1,ne.NULL_CELL_CODE,ne.NULL_CELL_WIDTH,Ie.fg,Ie.bg,Ie.extended)),Ne.setCellFromCodePoint(we.x++,ve,Pe,Ie.fg,Ie.bg,Ie.extended),Pe>0)for(;--Pe;)Ne.setCellFromCodePoint(we.x++,0,0,Ie.fg,Ie.bg,Ie.extended)}else Ne.getWidth(we.x-1)?Ne.addCodepointToCell(we.x-1,ve):Ne.addCodepointToCell(we.x-2,ve)}ye-pe>0&&(Ne.loadCell(we.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),we.x<xe&&ye-pe>0&&Ne.getWidth(we.x)===0&&!Ne.hasContent(we.x)&&Ne.setCellFromCodePoint(we.x,0,1,Ie.fg,Ie.bg,Ie.extended),this._dirtyRowService.markDirty(we.y)},ge.prototype.addCsiHandler=function(he,pe){var ye=this;return he.final!=="t"||he.prefix||he.intermediates?this._parser.addCsiHandler(he,pe):this._parser.addCsiHandler(he,function(ve){return!ee(ve.params[0],ye._optionsService.options.windowOptions)||pe(ve)})},ge.prototype.addDcsHandler=function(he,pe){return this._parser.addDcsHandler(he,new x.DcsHandler(pe))},ge.prototype.addEscHandler=function(he,pe){return this._parser.addEscHandler(he,pe)},ge.prototype.addOscHandler=function(he,pe){return this._parser.addOscHandler(he,new y.OscHandler(pe))},ge.prototype.bell=function(){this._onRequestBell.fire()},ge.prototype.lineFeed=function(){var he=this._bufferService.buffer;this._dirtyRowService.markDirty(he.y),this._optionsService.options.convertEol&&(he.x=0),he.y++,he.y===he.scrollBottom+1?(he.y--,this._onRequestScroll.fire(this._eraseAttrData())):he.y>=this._bufferService.rows&&(he.y=this._bufferService.rows-1),he.x>=this._bufferService.cols&&he.x--,this._dirtyRowService.markDirty(he.y),this._onLineFeed.fire()},ge.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},ge.prototype.backspace=function(){var he,pe=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(pe.x>0&&pe.x--);if(this._restrictCursor(this._bufferService.cols),pe.x>0)pe.x--;else if(pe.x===0&&pe.y>pe.scrollTop&&pe.y<=pe.scrollBottom&&(!((he=pe.lines.get(pe.ybase+pe.y))===null||he===void 0)&&he.isWrapped)){pe.lines.get(pe.ybase+pe.y).isWrapped=!1,pe.y--,pe.x=this._bufferService.cols-1;var ye=pe.lines.get(pe.ybase+pe.y);ye.hasWidth(pe.x)&&!ye.hasContent(pe.x)&&pe.x--}this._restrictCursor()},ge.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var he=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-he)}},ge.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},ge.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},ge.prototype._restrictCursor=function(he){he===void 0&&(he=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(he,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)},ge.prototype._setCursor=function(he,pe){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=he,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+pe):(this._bufferService.buffer.x=he,this._bufferService.buffer.y=pe),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ge.prototype._moveCursor=function(he,pe){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+he,this._bufferService.buffer.y+pe)},ge.prototype.cursorUp=function(he){var pe=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;pe>=0?this._moveCursor(0,-Math.min(pe,he.params[0]||1)):this._moveCursor(0,-(he.params[0]||1))},ge.prototype.cursorDown=function(he){var pe=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;pe>=0?this._moveCursor(0,Math.min(pe,he.params[0]||1)):this._moveCursor(0,he.params[0]||1)},ge.prototype.cursorForward=function(he){this._moveCursor(he.params[0]||1,0)},ge.prototype.cursorBackward=function(he){this._moveCursor(-(he.params[0]||1),0)},ge.prototype.cursorNextLine=function(he){this.cursorDown(he),this._bufferService.buffer.x=0},ge.prototype.cursorPrecedingLine=function(he){this.cursorUp(he),this._bufferService.buffer.x=0},ge.prototype.cursorCharAbsolute=function(he){this._setCursor((he.params[0]||1)-1,this._bufferService.buffer.y)},ge.prototype.cursorPosition=function(he){this._setCursor(he.length>=2?(he.params[1]||1)-1:0,(he.params[0]||1)-1)},ge.prototype.charPosAbsolute=function(he){this._setCursor((he.params[0]||1)-1,this._bufferService.buffer.y)},ge.prototype.hPositionRelative=function(he){this._moveCursor(he.params[0]||1,0)},ge.prototype.linePosAbsolute=function(he){this._setCursor(this._bufferService.buffer.x,(he.params[0]||1)-1)},ge.prototype.vPositionRelative=function(he){this._moveCursor(0,he.params[0]||1)},ge.prototype.hVPosition=function(he){this.cursorPosition(he)},ge.prototype.tabClear=function(he){var pe=he.params[0];pe===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:pe===3&&(this._bufferService.buffer.tabs={})},ge.prototype.cursorForwardTab=function(he){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var pe=he.params[0]||1;pe--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},ge.prototype.cursorBackwardTab=function(he){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var pe=he.params[0]||1,ye=this._bufferService.buffer;pe--;)ye.x=ye.prevStop()},ge.prototype._eraseInBufferLine=function(he,pe,ye,ve){ve===void 0&&(ve=!1);var Pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+he);Pe.replaceCells(pe,ye,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),ve&&(Pe.isWrapped=!1)},ge.prototype._resetBufferLine=function(he){var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+he);pe.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),pe.isWrapped=!1},ge.prototype.eraseInDisplay=function(he){var pe;switch(this._restrictCursor(),he.params[0]){case 0:for(pe=this._bufferService.buffer.y,this._dirtyRowService.markDirty(pe),this._eraseInBufferLine(pe++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);pe<this._bufferService.rows;pe++)this._resetBufferLine(pe);this._dirtyRowService.markDirty(pe);break;case 1:for(pe=this._bufferService.buffer.y,this._dirtyRowService.markDirty(pe),this._eraseInBufferLine(pe,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(pe+1).isWrapped=!1);pe--;)this._resetBufferLine(pe);this._dirtyRowService.markDirty(0);break;case 2:for(pe=this._bufferService.rows,this._dirtyRowService.markDirty(pe-1);pe--;)this._resetBufferLine(pe);this._dirtyRowService.markDirty(0);break;case 3:var ye=this._bufferService.buffer.lines.length-this._bufferService.rows;ye>0&&(this._bufferService.buffer.lines.trimStart(ye),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-ye,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-ye,0),this._onScroll.fire(0))}},ge.prototype.eraseInLine=function(he){switch(this._restrictCursor(),he.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)},ge.prototype.insertLines=function(he){this._restrictCursor();var pe=he.params[0]||1,ye=this._bufferService.buffer;if(!(ye.y>ye.scrollBottom||ye.y<ye.scrollTop)){for(var ve=ye.ybase+ye.y,Pe=this._bufferService.rows-1-ye.scrollBottom,we=this._bufferService.rows-1+ye.ybase-Pe+1;pe--;)ye.lines.splice(we-1,1),ye.lines.splice(ve,0,ye.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(ye.y,ye.scrollBottom),ye.x=0}},ge.prototype.deleteLines=function(he){this._restrictCursor();var pe=he.params[0]||1,ye=this._bufferService.buffer;if(!(ye.y>ye.scrollBottom||ye.y<ye.scrollTop)){var ve,Pe=ye.ybase+ye.y;for(ve=this._bufferService.rows-1-ye.scrollBottom,ve=this._bufferService.rows-1+ye.ybase-ve;pe--;)ye.lines.splice(Pe,1),ye.lines.splice(ve,0,ye.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(ye.y,ye.scrollBottom),ye.x=0}},ge.prototype.insertChars=function(he){this._restrictCursor();var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);pe&&(pe.insertCells(this._bufferService.buffer.x,he.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},ge.prototype.deleteChars=function(he){this._restrictCursor();var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);pe&&(pe.deleteCells(this._bufferService.buffer.x,he.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},ge.prototype.scrollUp=function(he){for(var pe=he.params[0]||1,ye=this._bufferService.buffer;pe--;)ye.lines.splice(ye.ybase+ye.scrollTop,1),ye.lines.splice(ye.ybase+ye.scrollBottom,0,ye.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(ye.scrollTop,ye.scrollBottom)},ge.prototype.scrollDown=function(he){for(var pe=he.params[0]||1,ye=this._bufferService.buffer;pe--;)ye.lines.splice(ye.ybase+ye.scrollBottom,1),ye.lines.splice(ye.ybase+ye.scrollTop,0,ye.getBlankLine(oe.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(ye.scrollTop,ye.scrollBottom)},ge.prototype.scrollLeft=function(he){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var ye=he.params[0]||1,ve=pe.scrollTop;ve<=pe.scrollBottom;++ve){var Pe=pe.lines.get(pe.ybase+ve);Pe.deleteCells(0,ye,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},ge.prototype.scrollRight=function(he){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var ye=he.params[0]||1,ve=pe.scrollTop;ve<=pe.scrollBottom;++ve){var Pe=pe.lines.get(pe.ybase+ve);Pe.insertCells(0,ye,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},ge.prototype.insertColumns=function(he){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var ye=he.params[0]||1,ve=pe.scrollTop;ve<=pe.scrollBottom;++ve){var Pe=this._bufferService.buffer.lines.get(pe.ybase+ve);Pe.insertCells(pe.x,ye,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},ge.prototype.deleteColumns=function(he){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var ye=he.params[0]||1,ve=pe.scrollTop;ve<=pe.scrollBottom;++ve){var Pe=pe.lines.get(pe.ybase+ve);Pe.deleteCells(pe.x,ye,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},ge.prototype.eraseChars=function(he){this._restrictCursor();var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);pe&&(pe.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(he.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},ge.prototype.repeatPrecedingCharacter=function(he){if(this._parser.precedingCodepoint){for(var pe=he.params[0]||1,ye=new Uint32Array(pe),ve=0;ve<pe;++ve)ye[ve]=this._parser.precedingCodepoint;this.print(ye,0,ye.length)}},ge.prototype.sendDeviceAttributesPrimary=function(he){he.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(de.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(de.C0.ESC+"[?6c"))},ge.prototype.sendDeviceAttributesSecondary=function(he){he.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(de.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(de.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(he.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(de.C0.ESC+"[>83;40003;0c"))},ge.prototype._is=function(he){return(this._optionsService.options.termName+"").indexOf(he)===0},ge.prototype.setMode=function(he){for(var pe=0;pe<he.length;pe++)switch(he.params[pe]){case 4:this._coreService.modes.insertMode=!0}},ge.prototype.setModePrivate=function(he){for(var pe=0;pe<he.length;pe++)switch(he.params[pe]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,le.DEFAULT_CHARSET),this._charsetService.setgCharset(1,le.DEFAULT_CHARSET),this._charsetService.setgCharset(2,le.DEFAULT_CHARSET),this._charsetService.setgCharset(3,le.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}},ge.prototype.resetMode=function(he){for(var pe=0;pe<he.length;pe++)switch(he.params[pe]){case 4:this._coreService.modes.insertMode=!1}},ge.prototype.resetModePrivate=function(he){for(var pe=0;pe<he.length;pe++)switch(he.params[pe]){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(),he.params[pe]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},ge.prototype._updateAttrColor=function(he,pe,ye,ve,Pe){return pe===2?(he|=50331648,he&=-16777216,he|=a.AttributeData.fromColorRGB([ye,ve,Pe])):pe===5&&(he&=-50331904,he|=33554432|255&ye),he},ge.prototype._extractColor=function(he,pe,ye){var ve=[0,0,-1,0,0,0],Pe=0,we=0;do{if(ve[we+Pe]=he.params[pe+we],he.hasSubParams(pe+we)){var Ae=he.getSubParams(pe+we),_e=0;do ve[1]===5&&(Pe=1),ve[we+_e+1+Pe]=Ae[_e];while(++_e<Ae.length&&_e+we+1+Pe<ve.length);break}if(ve[1]===5&&we+Pe>=2||ve[1]===2&&we+Pe>=5)break;ve[1]&&(Pe=1)}while(++we+pe<he.length&&we+Pe<ve.length);for(_e=2;_e<ve.length;++_e)ve[_e]===-1&&(ve[_e]=0);switch(ve[0]){case 38:ye.fg=this._updateAttrColor(ye.fg,ve[1],ve[3],ve[4],ve[5]);break;case 48:ye.bg=this._updateAttrColor(ye.bg,ve[1],ve[3],ve[4],ve[5]);break;case 58:ye.extended=ye.extended.clone(),ye.extended.underlineColor=this._updateAttrColor(ye.extended.underlineColor,ve[1],ve[3],ve[4],ve[5])}return we},ge.prototype._processUnderline=function(he,pe){pe.extended=pe.extended.clone(),(!~he||he>5)&&(he=1),pe.extended.underlineStyle=he,pe.fg|=268435456,he===0&&(pe.fg&=-268435457),pe.updateExtended()},ge.prototype.charAttributes=function(he){if(he.length===1&&he.params[0]===0)return this._curAttrData.fg=oe.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=oe.DEFAULT_ATTR_DATA.bg);for(var pe,ye=he.length,ve=this._curAttrData,Pe=0;Pe<ye;Pe++)(pe=he.params[Pe])>=30&&pe<=37?(ve.fg&=-50331904,ve.fg|=16777216|pe-30):pe>=40&&pe<=47?(ve.bg&=-50331904,ve.bg|=16777216|pe-40):pe>=90&&pe<=97?(ve.fg&=-50331904,ve.fg|=16777224|pe-90):pe>=100&&pe<=107?(ve.bg&=-50331904,ve.bg|=16777224|pe-100):pe===0?(ve.fg=oe.DEFAULT_ATTR_DATA.fg,ve.bg=oe.DEFAULT_ATTR_DATA.bg):pe===1?ve.fg|=134217728:pe===3?ve.bg|=67108864:pe===4?(ve.fg|=268435456,this._processUnderline(he.hasSubParams(Pe)?he.getSubParams(Pe)[0]:1,ve)):pe===5?ve.fg|=536870912:pe===7?ve.fg|=67108864:pe===8?ve.fg|=1073741824:pe===2?ve.bg|=134217728:pe===21?this._processUnderline(2,ve):pe===22?(ve.fg&=-134217729,ve.bg&=-134217729):pe===23?ve.bg&=-67108865:pe===24?ve.fg&=-268435457:pe===25?ve.fg&=-536870913:pe===27?ve.fg&=-67108865:pe===28?ve.fg&=-1073741825:pe===39?(ve.fg&=-67108864,ve.fg|=16777215&oe.DEFAULT_ATTR_DATA.fg):pe===49?(ve.bg&=-67108864,ve.bg|=16777215&oe.DEFAULT_ATTR_DATA.bg):pe===38||pe===48||pe===58?Pe+=this._extractColor(he,Pe,ve):pe===59?(ve.extended=ve.extended.clone(),ve.extended.underlineColor=-1,ve.updateExtended()):pe===100?(ve.fg&=-67108864,ve.fg|=16777215&oe.DEFAULT_ATTR_DATA.fg,ve.bg&=-67108864,ve.bg|=16777215&oe.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",pe)},ge.prototype.deviceStatus=function(he){switch(he.params[0]){case 5:this._coreService.triggerDataEvent(de.C0.ESC+"[0n");break;case 6:var pe=this._bufferService.buffer.y+1,ye=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(de.C0.ESC+"["+pe+";"+ye+"R")}},ge.prototype.deviceStatusPrivate=function(he){switch(he.params[0]){case 6:var pe=this._bufferService.buffer.y+1,ye=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(de.C0.ESC+"[?"+pe+";"+ye+"R")}},ge.prototype.softReset=function(he){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=oe.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},ge.prototype.setCursorStyle=function(he){var pe=he.params[0]||1;switch(pe){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 ye=pe%2==1;this._optionsService.options.cursorBlink=ye},ge.prototype.setScrollRegion=function(he){var pe,ye=he.params[0]||1;(he.length<2||(pe=he.params[1])>this._bufferService.rows||pe===0)&&(pe=this._bufferService.rows),pe>ye&&(this._bufferService.buffer.scrollTop=ye-1,this._bufferService.buffer.scrollBottom=pe-1,this._setCursor(0,0))},ge.prototype.windowOptions=function(he){if(ee(he.params[0],this._optionsService.options.windowOptions)){var pe=he.length>1?he.params[1]:0;switch(he.params[0]){case 14:pe!==2&&this._onRequestWindowsOptionsReport.fire(me.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(me.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(de.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:pe!==0&&pe!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),pe!==0&&pe!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:pe!==0&&pe!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),pe!==0&&pe!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},ge.prototype.saveCursor=function(he){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},ge.prototype.restoreCursor=function(he){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()},ge.prototype.setTitle=function(he){this._windowTitle=he,this._onTitleChange.fire(he)},ge.prototype.setIconName=function(he){this._iconName=he},ge.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},ge.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},ge.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},ge.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,le.DEFAULT_CHARSET)},ge.prototype.selectCharset=function(he){he.length===2?he[0]!=="/"&&this._charsetService.setgCharset(b[he[0]],le.CHARSETS[he[1]]||le.DEFAULT_CHARSET):this.selectDefaultCharset()},ge.prototype.index=function(){this._restrictCursor();var he=this._bufferService.buffer;this._bufferService.buffer.y++,he.y===he.scrollBottom+1?(he.y--,this._onRequestScroll.fire(this._eraseAttrData())):he.y>=this._bufferService.rows&&(he.y=this._bufferService.rows-1),this._restrictCursor()},ge.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},ge.prototype.reverseIndex=function(){this._restrictCursor();var he=this._bufferService.buffer;if(he.y===he.scrollTop){var pe=he.scrollBottom-he.scrollTop;he.lines.shiftElements(he.ybase+he.y,pe,1),he.lines.set(he.ybase+he.y,he.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(he.scrollTop,he.scrollBottom)}else he.y--,this._restrictCursor()},ge.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},ge.prototype.reset=function(){this._curAttrData=oe.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=oe.DEFAULT_ATTR_DATA.clone()},ge.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},ge.prototype.setgLevel=function(he){this._charsetService.setgLevel(he)},ge.prototype.screenAlignmentPattern=function(){var he=new te.CellData;he.content=1<<22|69,he.fg=this._curAttrData.fg,he.bg=this._curAttrData.bg;var pe=this._bufferService.buffer;this._setCursor(0,0);for(var ye=0;ye<this._bufferService.rows;++ye){var ve=pe.ybase+pe.y+ye,Pe=pe.lines.get(ve);Pe&&(Pe.fill(he),Pe.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},ge}(ie.Disposable);Se.InputHandler=ue},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.DEFAULT_CHARSET=Se.CHARSETS=void 0,Se.CHARSETS={},Se.DEFAULT_CHARSET=Se.CHARSETS.B,Se.CHARSETS[0]={"`":"\u25C6",a:"\u2592",b:"\u2409",c:"\u240C",d:"\u240D",e:"\u240A",f:"\xB0",g:"\xB1",h:"\u2424",i:"\u240B",j:"\u2518",k:"\u2510",l:"\u250C",m:"\u2514",n:"\u253C",o:"\u23BA",p:"\u23BB",q:"\u2500",r:"\u23BC",s:"\u23BD",t:"\u251C",u:"\u2524",v:"\u2534",w:"\u252C",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03C0","|":"\u2260","}":"\xA3","~":"\xB7"},Se.CHARSETS.A={"#":"\xA3"},Se.CHARSETS.B=void 0,Se.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},Se.CHARSETS.C=Se.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},Se.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},Se.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},Se.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},Se.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},Se.CHARSETS.E=Se.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},Se.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},Se.CHARSETS.H=Se.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},Se.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.Params=void 0;var Be=function(){function E(me,de){if(me===void 0&&(me=32),de===void 0&&(de=32),this.maxLength=me,this.maxSubParamsLength=de,de>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(me),this.length=0,this._subParams=new Int32Array(de),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(me),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return E.fromArray=function(me){var de=new E;if(!me.length)return de;for(var le=me[0]instanceof Array?1:0;le<me.length;++le){var ae=me[le];if(ae instanceof Array)for(var ie=0;ie<ae.length;++ie)de.addSubParam(ae[ie]);else de.addParam(ae)}return de},E.prototype.clone=function(){var me=new E(this.maxLength,this.maxSubParamsLength);return me.params.set(this.params),me.length=this.length,me._subParams.set(this._subParams),me._subParamsLength=this._subParamsLength,me._subParamsIdx.set(this._subParamsIdx),me._rejectDigits=this._rejectDigits,me._rejectSubDigits=this._rejectSubDigits,me._digitIsSub=this._digitIsSub,me},E.prototype.toArray=function(){for(var me=[],de=0;de<this.length;++de){me.push(this.params[de]);var le=this._subParamsIdx[de]>>8,ae=255&this._subParamsIdx[de];ae-le>0&&me.push(Array.prototype.slice.call(this._subParams,le,ae))}return me},E.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},E.prototype.addParam=function(me){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(me<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=me>2147483647?2147483647:me}},E.prototype.addSubParam=function(me){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(me<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=me>2147483647?2147483647:me,this._subParamsIdx[this.length-1]++}},E.prototype.hasSubParams=function(me){return(255&this._subParamsIdx[me])-(this._subParamsIdx[me]>>8)>0},E.prototype.getSubParams=function(me){var de=this._subParamsIdx[me]>>8,le=255&this._subParamsIdx[me];return le-de>0?this._subParams.subarray(de,le):null},E.prototype.getSubParamsAll=function(){for(var me={},de=0;de<this.length;++de){var le=this._subParamsIdx[de]>>8,ae=255&this._subParamsIdx[de];ae-le>0&&(me[de]=this._subParams.slice(le,ae))}return me},E.prototype.addDigit=function(me){var de;if(!(this._rejectDigits||!(de=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var le=this._digitIsSub?this._subParams:this.params,ae=le[de-1];le[de-1]=~ae?Math.min(10*ae+me,2147483647):me}},E}();Se.Params=Be},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.OscHandler=Se.OscParser=void 0;var Be=be(23),E=be(8),me=function(){function le(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return le.prototype.addHandler=function(ae,ie){this._handlers[ae]===void 0&&(this._handlers[ae]=[]);var se=this._handlers[ae];return se.push(ie),{dispose:function(){var ce=se.indexOf(ie);ce!==-1&&se.splice(ce,1)}}},le.prototype.setHandler=function(ae,ie){this._handlers[ae]=[ie]},le.prototype.clearHandler=function(ae){this._handlers[ae]&&delete this._handlers[ae]},le.prototype.setHandlerFallback=function(ae){this._handlerFb=ae},le.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},le.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},le.prototype._start=function(){var ae=this._handlers[this._id];if(ae)for(var ie=ae.length-1;ie>=0;ie--)ae[ie].start();else this._handlerFb(this._id,"START")},le.prototype._put=function(ae,ie,se){var ce=this._handlers[this._id];if(ce)for(var oe=ce.length-1;oe>=0;oe--)ce[oe].put(ae,ie,se);else this._handlerFb(this._id,"PUT",E.utf32ToString(ae,ie,se))},le.prototype._end=function(ae){var ie=this._handlers[this._id];if(ie){for(var se=ie.length-1;se>=0&&ie[se].end(ae)===!1;se--);for(se--;se>=0;se--)ie[se].end(!1)}else this._handlerFb(this._id,"END",ae)},le.prototype.start=function(){this.reset(),this._id=-1,this._state=1},le.prototype.put=function(ae,ie,se){if(this._state!==3){if(this._state===1)for(;ie<se;){var ce=ae[ie++];if(ce===59){this._state=2,this._start();break}if(ce<48||57<ce)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+ce-48}this._state===2&&se-ie>0&&this._put(ae,ie,se)}},le.prototype.end=function(ae){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(ae)),this._id=-1,this._state=0)},le}();Se.OscParser=me;var de=function(){function le(ae){this._handler=ae,this._data="",this._hitLimit=!1}return le.prototype.start=function(){this._data="",this._hitLimit=!1},le.prototype.put=function(ae,ie,se){this._hitLimit||(this._data+=E.utf32ToString(ae,ie,se),this._data.length>Be.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},le.prototype.end=function(ae){var ie;return this._hitLimit?ie=!1:ae&&(ie=this._handler(this._data)),this._data="",this._hitLimit=!1,ie},le}();Se.OscHandler=de},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.PAYLOAD_LIMIT=void 0,Se.PAYLOAD_LIMIT=1e7},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.DcsHandler=Se.DcsParser=void 0;var Be=be(8),E=be(21),me=be(23),de=[],le=function(){function ie(){this._handlers=Object.create(null),this._active=de,this._ident=0,this._handlerFb=function(){}}return ie.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},ie.prototype.addHandler=function(se,ce){this._handlers[se]===void 0&&(this._handlers[se]=[]);var oe=this._handlers[se];return oe.push(ce),{dispose:function(){var re=oe.indexOf(ce);re!==-1&&oe.splice(re,1)}}},ie.prototype.setHandler=function(se,ce){this._handlers[se]=[ce]},ie.prototype.clearHandler=function(se){this._handlers[se]&&delete this._handlers[se]},ie.prototype.setHandlerFallback=function(se){this._handlerFb=se},ie.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=de,this._ident=0},ie.prototype.hook=function(se,ce){if(this.reset(),this._ident=se,this._active=this._handlers[se]||de,this._active.length)for(var oe=this._active.length-1;oe>=0;oe--)this._active[oe].hook(ce);else this._handlerFb(this._ident,"HOOK",ce)},ie.prototype.put=function(se,ce,oe){if(this._active.length)for(var re=this._active.length-1;re>=0;re--)this._active[re].put(se,ce,oe);else this._handlerFb(this._ident,"PUT",Be.utf32ToString(se,ce,oe))},ie.prototype.unhook=function(se){if(this._active.length){for(var ce=this._active.length-1;ce>=0&&this._active[ce].unhook(se)===!1;ce--);for(ce--;ce>=0;ce--)this._active[ce].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",se);this._active=de,this._ident=0},ie}();Se.DcsParser=le;var ae=function(){function ie(se){this._handler=se,this._data="",this._hitLimit=!1}return ie.prototype.hook=function(se){this._params=se.clone(),this._data="",this._hitLimit=!1},ie.prototype.put=function(se,ce,oe){this._hitLimit||(this._data+=Be.utf32ToString(se,ce,oe),this._data.length>me.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},ie.prototype.unhook=function(se){var ce;return this._hitLimit?ce=!1:se&&(ce=this._handler(this._data,this._params||new E.Params)),this._params=void 0,this._data="",this._hitLimit=!1,ce},ie}();Se.DcsHandler=ae},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.removeTerminalFromCache=Se.acquireCharAtlas=void 0;var Be=be(26),E=be(43),me=[];Se.acquireCharAtlas=function(de,le,ae,ie,se){for(var ce=Be.generateConfig(ie,se,de,ae),oe=0;oe<me.length;oe++){var re=(ne=me[oe]).ownedBy.indexOf(le);if(re>=0){if(Be.configEquals(ne.config,ce))return ne.atlas;ne.ownedBy.length===1?(ne.atlas.dispose(),me.splice(oe,1)):ne.ownedBy.splice(re,1);break}}for(oe=0;oe<me.length;oe++){var ne=me[oe];if(Be.configEquals(ne.config,ce))return ne.ownedBy.push(le),ne.atlas}var te={atlas:new E.DynamicCharAtlas(document,ce),config:ce,ownedBy:[le]};return me.push(te),te.atlas},Se.removeTerminalFromCache=function(de){for(var le=0;le<me.length;le++){var ae=me[le].ownedBy.indexOf(de);if(ae!==-1){me[le].ownedBy.length===1?(me[le].atlas.dispose(),me.splice(le,1)):me[le].ownedBy.splice(ae,1);break}}}},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.is256Color=Se.configEquals=Se.generateConfig=void 0;var Be=be(3);Se.generateConfig=function(E,me,de,le){var ae={foreground:le.foreground,background:le.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:le.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:E,scaledCharHeight:me,fontFamily:de.fontFamily,fontSize:de.fontSize,fontWeight:de.fontWeight,fontWeightBold:de.fontWeightBold,allowTransparency:de.allowTransparency,colors:ae}},Se.configEquals=function(E,me){for(var de=0;de<E.colors.ansi.length;de++)if(E.colors.ansi[de].rgba!==me.colors.ansi[de].rgba)return!1;return E.devicePixelRatio===me.devicePixelRatio&&E.fontFamily===me.fontFamily&&E.fontSize===me.fontSize&&E.fontWeight===me.fontWeight&&E.fontWeightBold===me.fontWeightBold&&E.allowTransparency===me.allowTransparency&&E.scaledCharWidth===me.scaledCharWidth&&E.scaledCharHeight===me.scaledCharHeight&&E.colors.foreground===me.colors.foreground&&E.colors.background===me.colors.background},Se.is256Color=function(E){return E<Be.DEFAULT_COLOR}},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.ColorManager=Se.DEFAULT_ANSI_COLORS=void 0;var Be=be(10),E=be(45),me=Be.css.toColor("#ffffff"),de=Be.css.toColor("#000000"),le=Be.css.toColor("#ffffff"),ae=Be.css.toColor("#000000"),ie={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};Se.DEFAULT_ANSI_COLORS=function(){for(var ce=[Be.css.toColor("#2e3436"),Be.css.toColor("#cc0000"),Be.css.toColor("#4e9a06"),Be.css.toColor("#c4a000"),Be.css.toColor("#3465a4"),Be.css.toColor("#75507b"),Be.css.toColor("#06989a"),Be.css.toColor("#d3d7cf"),Be.css.toColor("#555753"),Be.css.toColor("#ef2929"),Be.css.toColor("#8ae234"),Be.css.toColor("#fce94f"),Be.css.toColor("#729fcf"),Be.css.toColor("#ad7fa8"),Be.css.toColor("#34e2e2"),Be.css.toColor("#eeeeec")],oe=[0,95,135,175,215,255],re=0;re<216;re++){var ne=oe[re/36%6|0],te=oe[re/6%6|0],a=oe[re%6];ce.push({css:Be.channels.toCss(ne,te,a),rgba:Be.channels.toRgba(ne,te,a)})}for(re=0;re<24;re++){var y=8+10*re;ce.push({css:Be.channels.toCss(y,y,y),rgba:Be.channels.toRgba(y,y,y)})}return ce}();var se=function(){function ce(oe,re){this.allowTransparency=re;var ne=oe.createElement("canvas");ne.width=1,ne.height=1;var te=ne.getContext("2d");if(!te)throw new Error("Could not get rendering context");this._ctx=te,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new E.ColorContrastCache,this.colors={foreground:me,background:de,cursor:le,cursorAccent:ae,selectionTransparent:ie,selectionOpaque:Be.color.blend(de,ie),ansi:Se.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return ce.prototype.onOptionsChange=function(oe){oe==="minimumContrastRatio"&&this._contrastCache.clear()},ce.prototype.setTheme=function(oe){oe===void 0&&(oe={}),this.colors.foreground=this._parseColor(oe.foreground,me),this.colors.background=this._parseColor(oe.background,de),this.colors.cursor=this._parseColor(oe.cursor,le,!0),this.colors.cursorAccent=this._parseColor(oe.cursorAccent,ae,!0),this.colors.selectionTransparent=this._parseColor(oe.selection,ie,!0),this.colors.selectionOpaque=Be.color.blend(this.colors.background,this.colors.selectionTransparent),Be.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=Be.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(oe.black,Se.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(oe.red,Se.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(oe.green,Se.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(oe.yellow,Se.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(oe.blue,Se.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(oe.magenta,Se.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(oe.cyan,Se.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(oe.white,Se.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(oe.brightBlack,Se.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(oe.brightRed,Se.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(oe.brightGreen,Se.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(oe.brightYellow,Se.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(oe.brightBlue,Se.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(oe.brightMagenta,Se.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(oe.brightCyan,Se.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(oe.brightWhite,Se.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},ce.prototype._parseColor=function(oe,re,ne){if(ne===void 0&&(ne=this.allowTransparency),oe===void 0)return re;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=oe,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+oe+" is invalid using fallback "+re.css),re;this._ctx.fillRect(0,0,1,1);var te=this._ctx.getImageData(0,0,1,1).data;if(te[3]!==255){if(!ne)return console.warn("Color: "+oe+" is using transparency, but allowTransparency is false. Using fallback "+re.css+"."),re;var a=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(ue){return Number(ue)}),y=a[0],x=a[1],b=a[2],ee=a[3],z=Math.round(255*ee);return{rgba:Be.channels.toRgba(y,x,b,z),css:oe}}return{css:this._ctx.fillStyle,rgba:Be.channels.toRgba(te[0],te[1],te[2],te[3])}},ce}();Se.ColorManager=se},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.throwIfFalsy=void 0,Se.throwIfFalsy=function(Be){if(!Be)throw new Error("value must not be falsy");return Be}},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(se,ce){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,re){oe.__proto__=re}||function(oe,re){for(var ne in re)re.hasOwnProperty(ne)&&(oe[ne]=re[ne])})(se,ce)},function(se,ce){function oe(){this.constructor=se}Be(se,ce),se.prototype=ce===null?Object.create(ce):(oe.prototype=ce.prototype,new oe)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.CharacterJoinerRegistry=Se.JoinedCellData=void 0;var me=be(6),de=be(3),le=be(4),ae=function(se){function ce(oe,re,ne){var te=se.call(this)||this;return te.content=0,te.combinedData="",te.fg=oe.fg,te.bg=oe.bg,te.combinedData=re,te._width=ne,te}return E(ce,se),ce.prototype.isCombined=function(){return 2097152},ce.prototype.getWidth=function(){return this._width},ce.prototype.getChars=function(){return this.combinedData},ce.prototype.getCode=function(){return 2097151},ce.prototype.setFromCharData=function(oe){throw new Error("not implemented")},ce.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},ce}(me.AttributeData);Se.JoinedCellData=ae;var ie=function(){function se(ce){this._bufferService=ce,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new le.CellData}return se.prototype.registerCharacterJoiner=function(ce){var oe={id:this._nextCharacterJoinerId++,handler:ce};return this._characterJoiners.push(oe),oe.id},se.prototype.deregisterCharacterJoiner=function(ce){for(var oe=0;oe<this._characterJoiners.length;oe++)if(this._characterJoiners[oe].id===ce)return this._characterJoiners.splice(oe,1),!0;return!1},se.prototype.getJoinedCharacters=function(ce){if(this._characterJoiners.length===0)return[];var oe=this._bufferService.buffer.lines.get(ce);if(!oe||oe.length===0)return[];for(var re=[],ne=oe.translateToString(!0),te=0,a=0,y=0,x=oe.getFg(0),b=oe.getBg(0),ee=0;ee<oe.getTrimmedLength();ee++)if(oe.loadCell(ee,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==x||this._workCell.bg!==b){if(ee-te>1)for(var z=this._getJoinedRanges(ne,y,a,oe,te),ue=0;ue<z.length;ue++)re.push(z[ue]);te=ee,y=a,x=this._workCell.fg,b=this._workCell.bg}a+=this._workCell.getChars().length||de.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-te>1)for(z=this._getJoinedRanges(ne,y,a,oe,te),ue=0;ue<z.length;ue++)re.push(z[ue]);return re},se.prototype._getJoinedRanges=function(ce,oe,re,ne,te){for(var a=ce.substring(oe,re),y=this._characterJoiners[0].handler(a),x=1;x<this._characterJoiners.length;x++)for(var b=this._characterJoiners[x].handler(a),ee=0;ee<b.length;ee++)se._mergeRanges(y,b[ee]);return this._stringRangesToCellRanges(y,ne,te),y},se.prototype._stringRangesToCellRanges=function(ce,oe,re){var ne=0,te=!1,a=0,y=ce[ne];if(y){for(var x=re;x<this._bufferService.cols;x++){var b=oe.getWidth(x),ee=oe.getString(x).length||de.WHITESPACE_CELL_CHAR.length;if(b!==0){if(!te&&y[0]<=a&&(y[0]=x,te=!0),y[1]<=a){if(y[1]=x,!(y=ce[++ne]))break;y[0]<=a?(y[0]=x,te=!0):te=!1}a+=ee}}y&&(y[1]=this._bufferService.cols)}},se._mergeRanges=function(ce,oe){for(var re=!1,ne=0;ne<ce.length;ne++){var te=ce[ne];if(re){if(oe[1]<=te[0])return ce[ne-1][1]=oe[1],ce;if(oe[1]<=te[1])return ce[ne-1][1]=Math.max(oe[1],te[1]),ce.splice(ne,1),ce;ce.splice(ne,1),ne--}else{if(oe[1]<=te[0])return ce.splice(ne,0,oe),ce;if(oe[1]<=te[1])return te[0]=Math.min(oe[0],te[0]),ce;oe[0]<te[1]&&(te[0]=Math.min(oe[0],te[0]),re=!0)}}return re?ce[ce.length-1][1]=oe[1]:ce.push(oe),ce},se}();Se.CharacterJoinerRegistry=ie},function(it,Se,be){"use strict";function Be(E,me){var de=me.getBoundingClientRect();return[E.clientX-de.left,E.clientY-de.top]}Object.defineProperty(Se,"__esModule",{value:!0}),Se.getRawByteCoords=Se.getCoords=Se.getCoordsRelativeToElement=void 0,Se.getCoordsRelativeToElement=Be,Se.getCoords=function(E,me,de,le,ae,ie,se,ce){if(ae){var oe=Be(E,me);if(oe)return oe[0]=Math.ceil((oe[0]+(ce?ie/2:0))/ie),oe[1]=Math.ceil(oe[1]/se),oe[0]=Math.min(Math.max(oe[0],1),de+(ce?1:0)),oe[1]=Math.min(Math.max(oe[1],1),le),oe}},Se.getRawByteCoords=function(E){if(E)return{x:E[0]+32,y:E[1]+32}}},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.RenderDebouncer=void 0;var Be=function(){function E(me){this._renderCallback=me}return E.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},E.prototype.refresh=function(me,de,le){var ae=this;this._rowCount=le,me=me!==void 0?me:0,de=de!==void 0?de:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,me):me,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,de):de,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return ae._innerRefresh()}))},E.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var me=Math.max(this._rowStart,0),de=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(me,de)}},E}();Se.RenderDebouncer=Be},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(de,le){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,ie){ae.__proto__=ie}||function(ae,ie){for(var se in ie)ie.hasOwnProperty(se)&&(ae[se]=ie[se])})(de,le)},function(de,le){function ae(){this.constructor=de}Be(de,le),de.prototype=le===null?Object.create(le):(ae.prototype=le.prototype,new ae)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.ScreenDprMonitor=void 0;var me=function(de){function le(){var ae=de!==null&&de.apply(this,arguments)||this;return ae._currentDevicePixelRatio=window.devicePixelRatio,ae}return E(le,de),le.prototype.setListener=function(ae){var ie=this;this._listener&&this.clearListener(),this._listener=ae,this._outerListener=function(){ie._listener&&(ie._listener(window.devicePixelRatio,ie._currentDevicePixelRatio),ie._updateDpr())},this._updateDpr()},le.prototype.dispose=function(){de.prototype.dispose.call(this),this.clearListener()},le.prototype._updateDpr=function(){var ae;this._outerListener&&((ae=this._resolutionMediaMatchList)===null||ae===void 0||ae.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},le.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)},le}(be(2).Disposable);Se.ScreenDprMonitor=me},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.clone=void 0,Se.clone=function Be(E,me){if(me===void 0&&(me=5),typeof E!="object")return E;var de=Array.isArray(E)?[]:{};for(var le in E)de[le]=me<=1?E[le]:E[le]?Be(E[le],me-1):E[le];return de}},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.Terminal=void 0;var Be=be(4),E=be(35),me=be(18),de=be(0),le=be(83),ae=function(){function ne(te){this._core=new E.Terminal(te),this._addonManager=new le.AddonManager}return ne.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(ne.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new oe(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"unicode",{get:function(){return this._checkProposedApi(),new re(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"buffer",{get:function(){return this._checkProposedApi(),new se(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),ne.prototype.blur=function(){this._core.blur()},ne.prototype.focus=function(){this._core.focus()},ne.prototype.resize=function(te,a){this._verifyIntegers(te,a),this._core.resize(te,a)},ne.prototype.open=function(te){this._core.open(te)},ne.prototype.attachCustomKeyEventHandler=function(te){this._core.attachCustomKeyEventHandler(te)},ne.prototype.registerLinkMatcher=function(te,a,y){return this._checkProposedApi(),this._core.registerLinkMatcher(te,a,y)},ne.prototype.deregisterLinkMatcher=function(te){this._checkProposedApi(),this._core.deregisterLinkMatcher(te)},ne.prototype.registerLinkProvider=function(te){return this._checkProposedApi(),this._core.registerLinkProvider(te)},ne.prototype.registerCharacterJoiner=function(te){return this._checkProposedApi(),this._core.registerCharacterJoiner(te)},ne.prototype.deregisterCharacterJoiner=function(te){this._checkProposedApi(),this._core.deregisterCharacterJoiner(te)},ne.prototype.registerMarker=function(te){return this._checkProposedApi(),this._verifyIntegers(te),this._core.addMarker(te)},ne.prototype.addMarker=function(te){return this.registerMarker(te)},ne.prototype.hasSelection=function(){return this._core.hasSelection()},ne.prototype.select=function(te,a,y){this._verifyIntegers(te,a,y),this._core.select(te,a,y)},ne.prototype.getSelection=function(){return this._core.getSelection()},ne.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},ne.prototype.clearSelection=function(){this._core.clearSelection()},ne.prototype.selectAll=function(){this._core.selectAll()},ne.prototype.selectLines=function(te,a){this._verifyIntegers(te,a),this._core.selectLines(te,a)},ne.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},ne.prototype.scrollLines=function(te){this._verifyIntegers(te),this._core.scrollLines(te)},ne.prototype.scrollPages=function(te){this._verifyIntegers(te),this._core.scrollPages(te)},ne.prototype.scrollToTop=function(){this._core.scrollToTop()},ne.prototype.scrollToBottom=function(){this._core.scrollToBottom()},ne.prototype.scrollToLine=function(te){this._verifyIntegers(te),this._core.scrollToLine(te)},ne.prototype.clear=function(){this._core.clear()},ne.prototype.write=function(te,a){this._core.write(te,a)},ne.prototype.writeUtf8=function(te,a){this._core.write(te,a)},ne.prototype.writeln=function(te,a){this._core.write(te),this._core.write(`\r
|
|
|
`,a)},ne.prototype.paste=function(te){this._core.paste(te)},ne.prototype.getOption=function(te){return this._core.optionsService.getOption(te)},ne.prototype.setOption=function(te,a){this._core.optionsService.setOption(te,a)},ne.prototype.refresh=function(te,a){this._verifyIntegers(te,a),this._core.refresh(te,a)},ne.prototype.reset=function(){this._core.reset()},ne.prototype.loadAddon=function(te){return this._addonManager.loadAddon(this,te)},Object.defineProperty(ne,"strings",{get:function(){return me},enumerable:!1,configurable:!0}),ne.prototype._verifyIntegers=function(){for(var te=[],a=0;a<arguments.length;a++)te[a]=arguments[a];for(var y=0,x=te;y<x.length;y++){var b=x[y];if(b===1/0||isNaN(b)||b%1!=0)throw new Error("This API only accepts integers")}},ne}();Se.Terminal=ae;var ie=function(){function ne(te,a){this._buffer=te,this.type=a}return ne.prototype.init=function(te){return this._buffer=te,this},Object.defineProperty(ne.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),ne.prototype.getLine=function(te){var a=this._buffer.lines.get(te);if(a)return new ce(a)},ne.prototype.getNullCell=function(){return new Be.CellData},ne}(),se=function(){function ne(te){var a=this;this._buffers=te,this._onBufferChange=new de.EventEmitter,this._normal=new ie(this._buffers.normal,"normal"),this._alternate=new ie(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return a._onBufferChange.fire(a.active)})}return Object.defineProperty(ne.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(ne.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(ne.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),ne}(),ce=function(){function ne(te){this._line=te}return Object.defineProperty(ne.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),ne.prototype.getCell=function(te,a){if(!(te<0||te>=this._line.length))return a?(this._line.loadCell(te,a),a):this._line.loadCell(te,new Be.CellData)},ne.prototype.translateToString=function(te,a,y){return this._line.translateToString(te,a,y)},ne}(),oe=function(){function ne(te){this._core=te}return ne.prototype.registerCsiHandler=function(te,a){return this._core.addCsiHandler(te,function(y){return a(y.toArray())})},ne.prototype.addCsiHandler=function(te,a){return this.registerCsiHandler(te,a)},ne.prototype.registerDcsHandler=function(te,a){return this._core.addDcsHandler(te,function(y,x){return a(y,x.toArray())})},ne.prototype.addDcsHandler=function(te,a){return this.registerDcsHandler(te,a)},ne.prototype.registerEscHandler=function(te,a){return this._core.addEscHandler(te,a)},ne.prototype.addEscHandler=function(te,a){return this.registerEscHandler(te,a)},ne.prototype.registerOscHandler=function(te,a){return this._core.addOscHandler(te,a)},ne.prototype.addOscHandler=function(te,a){return this.registerOscHandler(te,a)},ne}(),re=function(){function ne(te){this._core=te}return ne.prototype.register=function(te){this._core.unicodeService.register(te)},Object.defineProperty(ne.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(te){this._core.unicodeService.activeVersion=te},enumerable:!1,configurable:!0}),ne}()},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(xe,Ee){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Oe,Ie){Oe.__proto__=Ie}||function(Oe,Ie){for(var Ne in Ie)Ie.hasOwnProperty(Ne)&&(Oe[Ne]=Ie[Ne])})(xe,Ee)},function(xe,Ee){function Oe(){this.constructor=xe}Be(xe,Ee),xe.prototype=Ee===null?Object.create(Ee):(Oe.prototype=Ee.prototype,new Oe)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.Terminal=void 0;var me=be(36),de=be(37),le=be(38),ae=be(12),ie=be(19),se=be(40),ce=be(50),oe=be(51),re=be(11),ne=be(7),te=be(18),a=be(54),y=be(55),x=be(56),b=be(57),ee=be(59),z=be(0),ue=be(16),fe=be(27),ge=be(60),he=be(5),pe=be(61),ye=be(62),ve=be(63),Pe=be(64),we=be(65),Ae=typeof window!="undefined"?window.document:null,_e=function(xe){function Ee(Oe){Oe===void 0&&(Oe={});var Ie=xe.call(this,Oe)||this;return Ie.browser=re,Ie._keyDownHandled=!1,Ie._onCursorMove=new z.EventEmitter,Ie._onKey=new z.EventEmitter,Ie._onRender=new z.EventEmitter,Ie._onSelectionChange=new z.EventEmitter,Ie._onTitleChange=new z.EventEmitter,Ie._onFocus=new z.EventEmitter,Ie._onBlur=new z.EventEmitter,Ie._onA11yCharEmitter=new z.EventEmitter,Ie._onA11yTabEmitter=new z.EventEmitter,Ie._setup(),Ie.linkifier=Ie._instantiationService.createInstance(ce.Linkifier),Ie.linkifier2=Ie.register(Ie._instantiationService.createInstance(ve.Linkifier2)),Ie.register(Ie._inputHandler.onRequestBell(function(){return Ie.bell()})),Ie.register(Ie._inputHandler.onRequestRefreshRows(function(Ne,Te){return Ie.refresh(Ne,Te)})),Ie.register(Ie._inputHandler.onRequestReset(function(){return Ie.reset()})),Ie.register(Ie._inputHandler.onRequestScroll(function(Ne,Te){return Ie.scroll(Ne,Te||void 0)})),Ie.register(Ie._inputHandler.onRequestWindowsOptionsReport(function(Ne){return Ie._reportWindowsOptions(Ne)})),Ie.register(z.forwardEvent(Ie._inputHandler.onCursorMove,Ie._onCursorMove)),Ie.register(z.forwardEvent(Ie._inputHandler.onTitleChange,Ie._onTitleChange)),Ie.register(z.forwardEvent(Ie._inputHandler.onA11yChar,Ie._onA11yCharEmitter)),Ie.register(z.forwardEvent(Ie._inputHandler.onA11yTab,Ie._onA11yTabEmitter)),Ie.register(Ie._bufferService.onResize(function(Ne){return Ie._afterResize(Ne.cols,Ne.rows)})),Ie}return E(Ee,xe),Object.defineProperty(Ee.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),Ee.prototype.dispose=function(){var Oe,Ie,Ne;this._isDisposed||(xe.prototype.dispose.call(this),(Oe=this._renderService)===null||Oe===void 0||Oe.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(Ne=(Ie=this.element)===null||Ie===void 0?void 0:Ie.parentNode)===null||Ne===void 0||Ne.removeChild(this.element))},Ee.prototype._setup=function(){xe.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(Ee.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),Ee.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},Ee.prototype._updateOptions=function(Oe){var Ie,Ne,Te,Je;switch(xe.prototype._updateOptions.call(this,Oe),Oe){case"fontFamily":case"fontSize":(Ie=this._renderService)===null||Ie===void 0||Ie.clear(),(Ne=this._charSizeService)===null||Ne===void 0||Ne.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":(Te=this.viewport)===null||Te===void 0||Te.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)):((Je=this._accessibilityManager)===null||Je===void 0||Je.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},Ee.prototype._onTextAreaFocus=function(Oe){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(ae.C0.ESC+"[I"),this.updateCursorStyle(Oe),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},Ee.prototype.blur=function(){var Oe;return(Oe=this.textarea)===null||Oe===void 0?void 0:Oe.blur()},Ee.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(ae.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},Ee.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var Oe=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),Ie=this._bufferService.buffer.y*Oe,Ne=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=Ne+"px",this.textarea.style.top=Ie+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=Oe+"px",this.textarea.style.lineHeight=Oe+"px",this.textarea.style.zIndex="-5"}},Ee.prototype._initGlobal=function(){var Oe=this;this._bindKeys(),this.register(ne.addDisposableDomListener(this.element,"copy",function(Ne){Oe.hasSelection()&&le.copyHandler(Ne,Oe._selectionService)}));var Ie=function(Ne){return le.handlePasteEvent(Ne,Oe.textarea,Oe._coreService)};this.register(ne.addDisposableDomListener(this.textarea,"paste",Ie)),this.register(ne.addDisposableDomListener(this.element,"paste",Ie)),re.isFirefox?this.register(ne.addDisposableDomListener(this.element,"mousedown",function(Ne){Ne.button===2&&le.rightClickHandler(Ne,Oe.textarea,Oe.screenElement,Oe._selectionService,Oe.options.rightClickSelectsWord)})):this.register(ne.addDisposableDomListener(this.element,"contextmenu",function(Ne){le.rightClickHandler(Ne,Oe.textarea,Oe.screenElement,Oe._selectionService,Oe.options.rightClickSelectsWord)})),re.isLinux&&this.register(ne.addDisposableDomListener(this.element,"auxclick",function(Ne){Ne.button===1&&le.moveTextAreaUnderMouseCursor(Ne,Oe.textarea,Oe.screenElement)}))},Ee.prototype._bindKeys=function(){var Oe=this;this.register(ne.addDisposableDomListener(this.textarea,"keyup",function(Ie){return Oe._keyUp(Ie)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"keydown",function(Ie){return Oe._keyDown(Ie)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"keypress",function(Ie){return Oe._keyPress(Ie)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"compositionstart",function(){return Oe._compositionHelper.compositionstart()})),this.register(ne.addDisposableDomListener(this.textarea,"compositionupdate",function(Ie){return Oe._compositionHelper.compositionupdate(Ie)})),this.register(ne.addDisposableDomListener(this.textarea,"compositionend",function(){return Oe._compositionHelper.compositionend()})),this.register(this.onRender(function(){return Oe._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(Ie){return Oe._queueLinkification(Ie.start,Ie.end)}))},Ee.prototype.open=function(Oe){var Ie=this;if(!Oe)throw new Error("Terminal requires a parent element.");Ae.body.contains(Oe)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=Oe.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"),Oe.appendChild(this.element);var Ne=Ae.createDocumentFragment();this._viewportElement=Ae.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),Ne.appendChild(this._viewportElement),this._viewportScrollArea=Ae.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=Ae.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=Ae.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),Ne.appendChild(this.screenElement),this.textarea=Ae.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",te.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(ne.addDisposableDomListener(this.textarea,"focus",function(Qe){return Ie._onTextAreaFocus(Qe)})),this.register(ne.addDisposableDomListener(this.textarea,"blur",function(){return Ie._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var Te=this._instantiationService.createInstance(Pe.CoreBrowserService,this.textarea);this._instantiationService.setService(he.ICoreBrowserService,Te),this._charSizeService=this._instantiationService.createInstance(pe.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(he.ICharSizeService,this._charSizeService),this._compositionView=Ae.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(me.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(Ne),this._theme=this.options.theme||this._theme,this._colorManager=new fe.ColorManager(Ae,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(Qe){return Ie._colorManager.onOptionsChange(Qe)})),this._colorManager.setTheme(this._theme);var Je=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(ge.RenderService,Je,this.rows,this.screenElement)),this._instantiationService.setService(he.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(Qe){return Ie._onRender.fire(Qe)})),this.onResize(function(Qe){return Ie._renderService.resize(Qe.cols,Qe.rows)}),this._soundService=this._instantiationService.createInstance(a.SoundService),this._instantiationService.setService(he.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(ye.MouseService),this._instantiationService.setService(he.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(de.Viewport,function(Qe,Ze){return Ie.scrollLines(Qe,Ze)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return Ie.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){Ie._renderService.onCursorMove(),Ie._syncTextArea()})),this.register(this.onResize(function(){return Ie._renderService.onResize(Ie.cols,Ie.rows)})),this.register(this.onBlur(function(){return Ie._renderService.onBlur()})),this.register(this.onFocus(function(){return Ie._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return Ie.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(oe.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(he.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(Qe){return Ie.scrollLines(Qe.amount,Qe.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return Ie._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(Qe){return Ie._renderService.onSelectionChanged(Qe.start,Qe.end,Qe.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(Qe){Ie.textarea.value=Qe,Ie.textarea.focus(),Ie.textarea.select()})),this.register(this.onScroll(function(){Ie.viewport.syncScrollArea(),Ie._selectionService.refresh()})),this.register(ne.addDisposableDomListener(this._viewportElement,"scroll",function(){return Ie._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(y.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return Ie._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(ne.addDisposableDomListener(this.element,"mousedown",function(Qe){return Ie._selectionService.onMouseDown(Qe)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},Ee.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(se.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+'"')}},Ee.prototype._setTheme=function(Oe){var Ie,Ne,Te;this._theme=Oe,(Ie=this._colorManager)===null||Ie===void 0||Ie.setTheme(Oe),(Ne=this._renderService)===null||Ne===void 0||Ne.setColors(this._colorManager.colors),(Te=this.viewport)===null||Te===void 0||Te.onThemeChange(this._colorManager.colors)},Ee.prototype.bindMouse=function(){var Oe=this,Ie=this,Ne=this.element;function Te(ke){var Re,He,qe=Ie._mouseService.getRawByteCoords(ke,Ie.screenElement,Ie.cols,Ie.rows);if(!qe)return!1;switch(ke.overrideType||ke.type){case"mousemove":He=32,ke.buttons===void 0?(Re=3,ke.button!==void 0&&(Re=ke.button<3?ke.button:3)):Re=1&ke.buttons?0:4&ke.buttons?1:2&ke.buttons?2:3;break;case"mouseup":He=0,Re=ke.button<3?ke.button:3;break;case"mousedown":He=1,Re=ke.button<3?ke.button:3;break;case"wheel":ke.deltaY!==0&&(He=ke.deltaY<0?0:1),Re=4;break;default:return!1}return!(He===void 0||Re===void 0||Re>4)&&Ie._coreMouseService.triggerMouseEvent({col:qe.x-33,row:qe.y-33,button:Re,action:He,ctrl:ke.ctrlKey,alt:ke.altKey,shift:ke.shiftKey})}var Je={mouseup:null,wheel:null,mousedrag:null,mousemove:null},Qe=function(ke){return Te(ke),ke.buttons||(Oe._document.removeEventListener("mouseup",Je.mouseup),Je.mousedrag&&Oe._document.removeEventListener("mousemove",Je.mousedrag)),Oe.cancel(ke)},Ze=function(ke){return Te(ke),ke.preventDefault(),Oe.cancel(ke)},Ke=function(ke){ke.buttons&&Te(ke)},Ue=function(ke){ke.buttons||Te(ke)};this.register(this._coreMouseService.onProtocolChange(function(ke){ke?(Oe.optionsService.options.logLevel==="debug"&&Oe._logService.debug("Binding to mouse events:",Oe._coreMouseService.explainEvents(ke)),Oe.element.classList.add("enable-mouse-events"),Oe._selectionService.disable()):(Oe._logService.debug("Unbinding from mouse events."),Oe.element.classList.remove("enable-mouse-events"),Oe._selectionService.enable()),8&ke?Je.mousemove||(Ne.addEventListener("mousemove",Ue),Je.mousemove=Ue):(Ne.removeEventListener("mousemove",Je.mousemove),Je.mousemove=null),16&ke?Je.wheel||(Ne.addEventListener("wheel",Ze,{passive:!1}),Je.wheel=Ze):(Ne.removeEventListener("wheel",Je.wheel),Je.wheel=null),2&ke?Je.mouseup||(Je.mouseup=Qe):(Oe._document.removeEventListener("mouseup",Je.mouseup),Je.mouseup=null),4&ke?Je.mousedrag||(Je.mousedrag=Ke):(Oe._document.removeEventListener("mousemove",Je.mousedrag),Je.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(ne.addDisposableDomListener(Ne,"mousedown",function(ke){if(ke.preventDefault(),Oe.focus(),Oe._coreMouseService.areMouseEventsActive&&!Oe._selectionService.shouldForceSelection(ke))return Te(ke),Je.mouseup&&Oe._document.addEventListener("mouseup",Je.mouseup),Je.mousedrag&&Oe._document.addEventListener("mousemove",Je.mousedrag),Oe.cancel(ke)})),this.register(ne.addDisposableDomListener(Ne,"wheel",function(ke){if(!Je.wheel){if(!Oe.buffer.hasScrollback){var Re=Oe.viewport.getLinesScrolled(ke);if(Re===0)return;for(var He=ae.C0.ESC+(Oe._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(ke.deltaY<0?"A":"B"),qe="",rt=0;rt<Math.abs(Re);rt++)qe+=He;Oe._coreService.triggerDataEvent(qe,!0)}}},{passive:!0})),this.register(ne.addDisposableDomListener(Ne,"wheel",function(ke){if(!Je.wheel)return Oe.viewport.onWheel(ke)?void 0:Oe.cancel(ke)},{passive:!1})),this.register(ne.addDisposableDomListener(Ne,"touchstart",function(ke){if(!Oe._coreMouseService.areMouseEventsActive)return Oe.viewport.onTouchStart(ke),Oe.cancel(ke)},{passive:!0})),this.register(ne.addDisposableDomListener(Ne,"touchmove",function(ke){if(!Oe._coreMouseService.areMouseEventsActive)return Oe.viewport.onTouchMove(ke)?void 0:Oe.cancel(ke)},{passive:!1}))},Ee.prototype.refresh=function(Oe,Ie){var Ne;(Ne=this._renderService)===null||Ne===void 0||Ne.refreshRows(Oe,Ie)},Ee.prototype._queueLinkification=function(Oe,Ie){var Ne;(Ne=this.linkifier)===null||Ne===void 0||Ne.linkifyRows(Oe,Ie)},Ee.prototype.updateCursorStyle=function(Oe){this._selectionService&&this._selectionService.shouldColumnSelect(Oe)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},Ee.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},Ee.prototype.scrollLines=function(Oe,Ie){xe.prototype.scrollLines.call(this,Oe,Ie),this.refresh(0,this.rows-1)},Ee.prototype.paste=function(Oe){le.paste(Oe,this.textarea,this._coreService)},Ee.prototype.attachCustomKeyEventHandler=function(Oe){this._customKeyEventHandler=Oe},Ee.prototype.registerLinkMatcher=function(Oe,Ie,Ne){var Te=this.linkifier.registerLinkMatcher(Oe,Ie,Ne);return this.refresh(0,this.rows-1),Te},Ee.prototype.deregisterLinkMatcher=function(Oe){this.linkifier.deregisterLinkMatcher(Oe)&&this.refresh(0,this.rows-1)},Ee.prototype.registerLinkProvider=function(Oe){return this.linkifier2.registerLinkProvider(Oe)},Ee.prototype.registerCharacterJoiner=function(Oe){var Ie=this._renderService.registerCharacterJoiner(Oe);return this.refresh(0,this.rows-1),Ie},Ee.prototype.deregisterCharacterJoiner=function(Oe){this._renderService.deregisterCharacterJoiner(Oe)&&this.refresh(0,this.rows-1)},Object.defineProperty(Ee.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),Ee.prototype.addMarker=function(Oe){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+Oe)},Ee.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},Ee.prototype.select=function(Oe,Ie,Ne){this._selectionService.setSelection(Oe,Ie,Ne)},Ee.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},Ee.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]}},Ee.prototype.clearSelection=function(){var Oe;(Oe=this._selectionService)===null||Oe===void 0||Oe.clearSelection()},Ee.prototype.selectAll=function(){var Oe;(Oe=this._selectionService)===null||Oe===void 0||Oe.selectAll()},Ee.prototype.selectLines=function(Oe,Ie){var Ne;(Ne=this._selectionService)===null||Ne===void 0||Ne.selectLines(Oe,Ie)},Ee.prototype._keyDown=function(Oe){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(Oe)===!1)return!1;if(!this._compositionHelper.keydown(Oe))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var Ie=ee.evaluateKeyboardEvent(Oe,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(Oe),Ie.type===3||Ie.type===2){var Ne=this.rows-1;return this.scrollLines(Ie.type===2?-Ne:Ne),this.cancel(Oe,!0)}return Ie.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,Oe)||(Ie.cancel&&this.cancel(Oe,!0),!Ie.key||(Ie.key!==ae.C0.ETX&&Ie.key!==ae.C0.CR||(this.textarea.value=""),this._onKey.fire({key:Ie.key,domEvent:Oe}),this._showCursor(),this._coreService.triggerDataEvent(Ie.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(Oe,!0)))},Ee.prototype._isThirdLevelShift=function(Oe,Ie){var Ne=Oe.isMac&&!this.options.macOptionIsMeta&&Ie.altKey&&!Ie.ctrlKey&&!Ie.metaKey||Oe.isWindows&&Ie.altKey&&Ie.ctrlKey&&!Ie.metaKey;return Ie.type==="keypress"?Ne:Ne&&(!Ie.keyCode||Ie.keyCode>47)},Ee.prototype._keyUp=function(Oe){this._customKeyEventHandler&&this._customKeyEventHandler(Oe)===!1||(function(Ie){return Ie.keyCode===16||Ie.keyCode===17||Ie.keyCode===18}(Oe)||this.focus(),this.updateCursorStyle(Oe))},Ee.prototype._keyPress=function(Oe){var Ie;if(this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(Oe)===!1)return!1;if(this.cancel(Oe),Oe.charCode)Ie=Oe.charCode;else if(Oe.which===null||Oe.which===void 0)Ie=Oe.keyCode;else{if(Oe.which===0||Oe.charCode===0)return!1;Ie=Oe.which}return!(!Ie||(Oe.altKey||Oe.ctrlKey||Oe.metaKey)&&!this._isThirdLevelShift(this.browser,Oe))&&(Ie=String.fromCharCode(Ie),this._onKey.fire({key:Ie,domEvent:Oe}),this._showCursor(),this._coreService.triggerDataEvent(Ie,!0),!0)},Ee.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},Ee.prototype.resize=function(Oe,Ie){Oe!==this.cols||Ie!==this.rows?xe.prototype.resize.call(this,Oe,Ie):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},Ee.prototype._afterResize=function(Oe,Ie){var Ne,Te;(Ne=this._charSizeService)===null||Ne===void 0||Ne.measure(),(Te=this.viewport)===null||Te===void 0||Te.syncScrollArea(!0)},Ee.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var Oe=1;Oe<this.rows;Oe++)this.buffer.lines.push(this.buffer.getBlankLine(ue.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},Ee.prototype.reset=function(){var Oe,Ie;this.options.rows=this.rows,this.options.cols=this.cols;var Ne=this._customKeyEventHandler;this._setup(),xe.prototype.reset.call(this),(Oe=this._selectionService)===null||Oe===void 0||Oe.reset(),this._customKeyEventHandler=Ne,this.refresh(0,this.rows-1),(Ie=this.viewport)===null||Ie===void 0||Ie.syncScrollArea()},Ee.prototype._reportWindowsOptions=function(Oe){if(this._renderService)switch(Oe){case ie.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var Ie=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),Ne=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(ae.C0.ESC+"[4;"+Ne+";"+Ie+"t");break;case ie.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var Te=this._renderService.dimensions.scaledCellWidth.toFixed(0),Je=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(ae.C0.ESC+"[6;"+Je+";"+Te+"t")}},Ee.prototype.cancel=function(Oe,Ie){if(this.options.cancelEvents||Ie)return Oe.preventDefault(),Oe.stopPropagation(),!1},Ee.prototype._visualBell=function(){return!1},Ee.prototype._soundBell=function(){return this.options.bellStyle==="sound"},Ee}(we.CoreTerminal);Se.Terminal=_e},function(it,Se,be){"use strict";var Be=this&&this.__decorate||function(ae,ie,se,ce){var oe,re=arguments.length,ne=re<3?ie:ce===null?ce=Object.getOwnPropertyDescriptor(ie,se):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ne=Reflect.decorate(ae,ie,se,ce);else for(var te=ae.length-1;te>=0;te--)(oe=ae[te])&&(ne=(re<3?oe(ne):re>3?oe(ie,se,ne):oe(ie,se))||ne);return re>3&&ne&&Object.defineProperty(ie,se,ne),ne},E=this&&this.__param||function(ae,ie){return function(se,ce){ie(se,ce,ae)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.CompositionHelper=void 0;var me=be(5),de=be(1),le=function(){function ae(ie,se,ce,oe,re,ne){this._textarea=ie,this._compositionView=se,this._bufferService=ce,this._optionsService=oe,this._charSizeService=re,this._coreService=ne,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(ae.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),ae.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},ae.prototype.compositionupdate=function(ie){var se=this;this._compositionView.textContent=ie.data,this.updateCompositionElements(),setTimeout(function(){se._compositionPosition.end=se._textarea.value.length},0)},ae.prototype.compositionend=function(){this._finalizeComposition(!0)},ae.prototype.keydown=function(ie){if(this._isComposing||this._isSendingComposition){if(ie.keyCode===229||ie.keyCode===16||ie.keyCode===17||ie.keyCode===18)return!1;this._finalizeComposition(!1)}return ie.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},ae.prototype._finalizeComposition=function(ie){var se=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,ie){var ce={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(se._isSendingComposition){se._isSendingComposition=!1;var re=void 0;re=se._isComposing?se._textarea.value.substring(ce.start,ce.end):se._textarea.value.substring(ce.start),se._coreService.triggerDataEvent(re,!0)}},0)}else{this._isSendingComposition=!1;var oe=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(oe,!0)}},ae.prototype._handleAnyTextareaChanges=function(){var ie=this,se=this._textarea.value;setTimeout(function(){if(!ie._isComposing){var ce=ie._textarea.value.replace(se,"");ce.length>0&&ie._coreService.triggerDataEvent(ce,!0)}},0)},ae.prototype.updateCompositionElements=function(ie){var se=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var ce=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),oe=this._bufferService.buffer.y*ce,re=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=re+"px",this._compositionView.style.top=oe+"px",this._compositionView.style.height=ce+"px",this._compositionView.style.lineHeight=ce+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var ne=this._compositionView.getBoundingClientRect();this._textarea.style.left=re+"px",this._textarea.style.top=oe+"px",this._textarea.style.width=ne.width+"px",this._textarea.style.height=ne.height+"px",this._textarea.style.lineHeight=ne.height+"px"}ie||setTimeout(function(){return se.updateCompositionElements(!0)},0)}},ae=Be([E(2,de.IBufferService),E(3,de.IOptionsService),E(4,me.ICharSizeService),E(5,de.ICoreService)],ae)}();Se.CompositionHelper=le},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(oe,re){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,te){ne.__proto__=te}||function(ne,te){for(var a in te)te.hasOwnProperty(a)&&(ne[a]=te[a])})(oe,re)},function(oe,re){function ne(){this.constructor=oe}Be(oe,re),oe.prototype=re===null?Object.create(re):(ne.prototype=re.prototype,new ne)}),me=this&&this.__decorate||function(oe,re,ne,te){var a,y=arguments.length,x=y<3?re:te===null?te=Object.getOwnPropertyDescriptor(re,ne):te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(oe,re,ne,te);else for(var b=oe.length-1;b>=0;b--)(a=oe[b])&&(x=(y<3?a(x):y>3?a(re,ne,x):a(re,ne))||x);return y>3&&x&&Object.defineProperty(re,ne,x),x},de=this&&this.__param||function(oe,re){return function(ne,te){re(ne,te,oe)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.Viewport=void 0;var le=be(2),ae=be(7),ie=be(5),se=be(1),ce=function(oe){function re(ne,te,a,y,x,b,ee){var z=oe.call(this)||this;return z._scrollLines=ne,z._viewportElement=te,z._scrollArea=a,z._bufferService=y,z._optionsService=x,z._charSizeService=b,z._renderService=ee,z.scrollBarWidth=0,z._currentRowHeight=0,z._lastRecordedBufferLength=0,z._lastRecordedViewportHeight=0,z._lastRecordedBufferHeight=0,z._lastTouchY=0,z._lastScrollTop=0,z._wheelPartialScroll=0,z._refreshAnimationFrame=null,z._ignoreNextScrollEvent=!1,z.scrollBarWidth=z._viewportElement.offsetWidth-z._scrollArea.offsetWidth||15,z.register(ae.addDisposableDomListener(z._viewportElement,"scroll",z._onScroll.bind(z))),setTimeout(function(){return z.syncScrollArea()},0),z}return E(re,oe),re.prototype.onThemeChange=function(ne){this._viewportElement.style.backgroundColor=ne.background.css},re.prototype._refresh=function(ne){var te=this;if(ne)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return te._innerRefresh()}))},re.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var ne=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==ne&&(this._lastRecordedBufferHeight=ne,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var te=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==te&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=te),this._refreshAnimationFrame=null},re.prototype.syncScrollArea=function(ne){if(ne===void 0&&(ne=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(ne);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var te=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===te&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(ne)}else this._refresh(ne)},re.prototype._onScroll=function(ne){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var te=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(te,!0)}},re.prototype._bubbleScroll=function(ne,te){var a=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(te<0&&this._viewportElement.scrollTop!==0||te>0&&a<this._lastRecordedBufferHeight)||(ne.cancelable&&ne.preventDefault(),!1)},re.prototype.onWheel=function(ne){var te=this._getPixelsScrolled(ne);return te!==0&&(this._viewportElement.scrollTop+=te,this._bubbleScroll(ne,te))},re.prototype._getPixelsScrolled=function(ne){if(ne.deltaY===0)return 0;var te=this._applyScrollModifier(ne.deltaY,ne);return ne.deltaMode===WheelEvent.DOM_DELTA_LINE?te*=this._currentRowHeight:ne.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(te*=this._currentRowHeight*this._bufferService.rows),te},re.prototype.getLinesScrolled=function(ne){if(ne.deltaY===0)return 0;var te=this._applyScrollModifier(ne.deltaY,ne);return ne.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(te/=this._currentRowHeight+0,this._wheelPartialScroll+=te,te=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):ne.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(te*=this._bufferService.rows),te},re.prototype._applyScrollModifier=function(ne,te){var a=this._optionsService.options.fastScrollModifier;return a==="alt"&&te.altKey||a==="ctrl"&&te.ctrlKey||a==="shift"&&te.shiftKey?ne*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:ne*this._optionsService.options.scrollSensitivity},re.prototype.onTouchStart=function(ne){this._lastTouchY=ne.touches[0].pageY},re.prototype.onTouchMove=function(ne){var te=this._lastTouchY-ne.touches[0].pageY;return this._lastTouchY=ne.touches[0].pageY,te!==0&&(this._viewportElement.scrollTop+=te,this._bubbleScroll(ne,te))},re=me([de(3,se.IBufferService),de(4,se.IOptionsService),de(5,ie.ICharSizeService),de(6,ie.IRenderService)],re)}(le.Disposable);Se.Viewport=ce},function(it,Se,be){"use strict";function Be(le){return le.replace(/\r?\n/g,"\r")}function E(le,ae){return ae?"\x1B[200~"+le+"\x1B[201~":le}function me(le,ae,ie){le=E(le=Be(le),ie.decPrivateModes.bracketedPasteMode),ie.triggerDataEvent(le,!0),ae.value=""}function de(le,ae,ie){var se=ie.getBoundingClientRect(),ce=le.clientX-se.left-10,oe=le.clientY-se.top-10;ae.style.width="20px",ae.style.height="20px",ae.style.left=ce+"px",ae.style.top=oe+"px",ae.style.zIndex="1000",ae.focus()}Object.defineProperty(Se,"__esModule",{value:!0}),Se.rightClickHandler=Se.moveTextAreaUnderMouseCursor=Se.paste=Se.handlePasteEvent=Se.copyHandler=Se.bracketTextForPaste=Se.prepareTextForTerminal=void 0,Se.prepareTextForTerminal=Be,Se.bracketTextForPaste=E,Se.copyHandler=function(le,ae){le.clipboardData&&le.clipboardData.setData("text/plain",ae.selectionText),le.preventDefault()},Se.handlePasteEvent=function(le,ae,ie){le.stopPropagation(),le.clipboardData&&me(le.clipboardData.getData("text/plain"),ae,ie)},Se.paste=me,Se.moveTextAreaUnderMouseCursor=de,Se.rightClickHandler=function(le,ae,ie,se,ce){de(le,ae,ie),ce&&!se.isClickInSelection(le)&&se.selectWordAtCursor(le),ae.value=se.selectionText,ae.select()}},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(oe,re){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,te){ne.__proto__=te}||function(ne,te){for(var a in te)te.hasOwnProperty(a)&&(ne[a]=te[a])})(oe,re)},function(oe,re){function ne(){this.constructor=oe}Be(oe,re),oe.prototype=re===null?Object.create(re):(ne.prototype=re.prototype,new ne)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.EscapeSequenceParser=Se.VT500_TRANSITION_TABLE=Se.TransitionTable=void 0;var me=be(2),de=be(15),le=be(21),ae=be(22),ie=be(24),se=function(){function oe(re){this.table=new Uint8Array(re)}return oe.prototype.setDefault=function(re,ne){de.fill(this.table,re<<4|ne)},oe.prototype.add=function(re,ne,te,a){this.table[ne<<8|re]=te<<4|a},oe.prototype.addMany=function(re,ne,te,a){for(var y=0;y<re.length;y++)this.table[ne<<8|re[y]]=te<<4|a},oe}();Se.TransitionTable=se,Se.VT500_TRANSITION_TABLE=function(){var oe=new se(4095),re=Array.apply(null,Array(256)).map(function(b,ee){return ee}),ne=function(b,ee){return re.slice(b,ee)},te=ne(32,127),a=ne(0,24);a.push(25),a.push.apply(a,ne(28,32));var y,x=ne(0,14);for(y in oe.setDefault(1,0),oe.addMany(te,0,2,0),x)oe.addMany([24,26,153,154],y,3,0),oe.addMany(ne(128,144),y,3,0),oe.addMany(ne(144,152),y,3,0),oe.add(156,y,0,0),oe.add(27,y,11,1),oe.add(157,y,4,8),oe.addMany([152,158,159],y,0,7),oe.add(155,y,11,3),oe.add(144,y,11,9);return oe.addMany(a,0,3,0),oe.addMany(a,1,3,1),oe.add(127,1,0,1),oe.addMany(a,8,0,8),oe.addMany(a,3,3,3),oe.add(127,3,0,3),oe.addMany(a,4,3,4),oe.add(127,4,0,4),oe.addMany(a,6,3,6),oe.addMany(a,5,3,5),oe.add(127,5,0,5),oe.addMany(a,2,3,2),oe.add(127,2,0,2),oe.add(93,1,4,8),oe.addMany(te,8,5,8),oe.add(127,8,5,8),oe.addMany([156,27,24,26,7],8,6,0),oe.addMany(ne(28,32),8,0,8),oe.addMany([88,94,95],1,0,7),oe.addMany(te,7,0,7),oe.addMany(a,7,0,7),oe.add(156,7,0,0),oe.add(127,7,0,7),oe.add(91,1,11,3),oe.addMany(ne(64,127),3,7,0),oe.addMany(ne(48,60),3,8,4),oe.addMany([60,61,62,63],3,9,4),oe.addMany(ne(48,60),4,8,4),oe.addMany(ne(64,127),4,7,0),oe.addMany([60,61,62,63],4,0,6),oe.addMany(ne(32,64),6,0,6),oe.add(127,6,0,6),oe.addMany(ne(64,127),6,0,0),oe.addMany(ne(32,48),3,9,5),oe.addMany(ne(32,48),5,9,5),oe.addMany(ne(48,64),5,0,6),oe.addMany(ne(64,127),5,7,0),oe.addMany(ne(32,48),4,9,5),oe.addMany(ne(32,48),1,9,2),oe.addMany(ne(32,48),2,9,2),oe.addMany(ne(48,127),2,10,0),oe.addMany(ne(48,80),1,10,0),oe.addMany(ne(81,88),1,10,0),oe.addMany([89,90,92],1,10,0),oe.addMany(ne(96,127),1,10,0),oe.add(80,1,11,9),oe.addMany(a,9,0,9),oe.add(127,9,0,9),oe.addMany(ne(28,32),9,0,9),oe.addMany(ne(32,48),9,9,12),oe.addMany(ne(48,60),9,8,10),oe.addMany([60,61,62,63],9,9,10),oe.addMany(a,11,0,11),oe.addMany(ne(32,128),11,0,11),oe.addMany(ne(28,32),11,0,11),oe.addMany(a,10,0,10),oe.add(127,10,0,10),oe.addMany(ne(28,32),10,0,10),oe.addMany(ne(48,60),10,8,10),oe.addMany([60,61,62,63],10,0,11),oe.addMany(ne(32,48),10,9,12),oe.addMany(a,12,0,12),oe.add(127,12,0,12),oe.addMany(ne(28,32),12,0,12),oe.addMany(ne(32,48),12,9,12),oe.addMany(ne(48,64),12,0,11),oe.addMany(ne(64,127),12,12,13),oe.addMany(ne(64,127),10,12,13),oe.addMany(ne(64,127),9,12,13),oe.addMany(a,13,13,13),oe.addMany(te,13,13,13),oe.add(127,13,0,13),oe.addMany([27,156,24,26],13,14,0),oe.add(160,0,2,0),oe.add(160,8,5,8),oe.add(160,6,0,6),oe.add(160,11,0,11),oe.add(160,13,13,13),oe}();var ce=function(oe){function re(ne){ne===void 0&&(ne=Se.VT500_TRANSITION_TABLE);var te=oe.call(this)||this;return te._transitions=ne,te.initialState=0,te.currentState=te.initialState,te._params=new le.Params,te._params.addParam(0),te._collect=0,te.precedingCodepoint=0,te._printHandlerFb=function(a,y,x){},te._executeHandlerFb=function(a){},te._csiHandlerFb=function(a,y){},te._escHandlerFb=function(a){},te._errorHandlerFb=function(a){return a},te._printHandler=te._printHandlerFb,te._executeHandlers=Object.create(null),te._csiHandlers=Object.create(null),te._escHandlers=Object.create(null),te._oscParser=new ae.OscParser,te._dcsParser=new ie.DcsParser,te._errorHandler=te._errorHandlerFb,te.setEscHandler({final:"\\"},function(){}),te}return E(re,oe),re.prototype._identifier=function(ne,te){te===void 0&&(te=[64,126]);var a=0;if(ne.prefix){if(ne.prefix.length>1)throw new Error("only one byte as prefix supported");if((a=ne.prefix.charCodeAt(0))&&60>a||a>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(ne.intermediates){if(ne.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var y=0;y<ne.intermediates.length;++y){var x=ne.intermediates.charCodeAt(y);if(32>x||x>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");a<<=8,a|=x}}if(ne.final.length!==1)throw new Error("final must be a single byte");var b=ne.final.charCodeAt(0);if(te[0]>b||b>te[1])throw new Error("final must be in range "+te[0]+" .. "+te[1]);return a<<=8,a|=b},re.prototype.identToString=function(ne){for(var te=[];ne;)te.push(String.fromCharCode(255&ne)),ne>>=8;return te.reverse().join("")},re.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},re.prototype.setPrintHandler=function(ne){this._printHandler=ne},re.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},re.prototype.addEscHandler=function(ne,te){var a=this._identifier(ne,[48,126]);this._escHandlers[a]===void 0&&(this._escHandlers[a]=[]);var y=this._escHandlers[a];return y.push(te),{dispose:function(){var x=y.indexOf(te);x!==-1&&y.splice(x,1)}}},re.prototype.setEscHandler=function(ne,te){this._escHandlers[this._identifier(ne,[48,126])]=[te]},re.prototype.clearEscHandler=function(ne){this._escHandlers[this._identifier(ne,[48,126])]&&delete this._escHandlers[this._identifier(ne,[48,126])]},re.prototype.setEscHandlerFallback=function(ne){this._escHandlerFb=ne},re.prototype.setExecuteHandler=function(ne,te){this._executeHandlers[ne.charCodeAt(0)]=te},re.prototype.clearExecuteHandler=function(ne){this._executeHandlers[ne.charCodeAt(0)]&&delete this._executeHandlers[ne.charCodeAt(0)]},re.prototype.setExecuteHandlerFallback=function(ne){this._executeHandlerFb=ne},re.prototype.addCsiHandler=function(ne,te){var a=this._identifier(ne);this._csiHandlers[a]===void 0&&(this._csiHandlers[a]=[]);var y=this._csiHandlers[a];return y.push(te),{dispose:function(){var x=y.indexOf(te);x!==-1&&y.splice(x,1)}}},re.prototype.setCsiHandler=function(ne,te){this._csiHandlers[this._identifier(ne)]=[te]},re.prototype.clearCsiHandler=function(ne){this._csiHandlers[this._identifier(ne)]&&delete this._csiHandlers[this._identifier(ne)]},re.prototype.setCsiHandlerFallback=function(ne){this._csiHandlerFb=ne},re.prototype.addDcsHandler=function(ne,te){return this._dcsParser.addHandler(this._identifier(ne),te)},re.prototype.setDcsHandler=function(ne,te){this._dcsParser.setHandler(this._identifier(ne),te)},re.prototype.clearDcsHandler=function(ne){this._dcsParser.clearHandler(this._identifier(ne))},re.prototype.setDcsHandlerFallback=function(ne){this._dcsParser.setHandlerFallback(ne)},re.prototype.addOscHandler=function(ne,te){return this._oscParser.addHandler(ne,te)},re.prototype.setOscHandler=function(ne,te){this._oscParser.setHandler(ne,te)},re.prototype.clearOscHandler=function(ne){this._oscParser.clearHandler(ne)},re.prototype.setOscHandlerFallback=function(ne){this._oscParser.setHandlerFallback(ne)},re.prototype.setErrorHandler=function(ne){this._errorHandler=ne},re.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},re.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},re.prototype.parse=function(ne,te){for(var a=0,y=0,x=this.currentState,b=this._oscParser,ee=this._dcsParser,z=this._collect,ue=this._params,fe=this._transitions.table,ge=0;ge<te;++ge){switch((y=fe[x<<8|((a=ne[ge])<160?a:160)])>>4){case 2:for(var he=ge+1;;++he){if(he>=te||(a=ne[he])<32||a>126&&a<160){this._printHandler(ne,ge,he),ge=he-1;break}if(++he>=te||(a=ne[he])<32||a>126&&a<160){this._printHandler(ne,ge,he),ge=he-1;break}if(++he>=te||(a=ne[he])<32||a>126&&a<160){this._printHandler(ne,ge,he),ge=he-1;break}if(++he>=te||(a=ne[he])<32||a>126&&a<160){this._printHandler(ne,ge,he),ge=he-1;break}}break;case 3:this._executeHandlers[a]?this._executeHandlers[a]():this._executeHandlerFb(a),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:ge,code:a,currentState:x,collect:z,params:ue,abort:!1}).abort)return;break;case 7:for(var pe=this._csiHandlers[z<<8|a],ye=pe?pe.length-1:-1;ye>=0&&pe[ye](ue)===!1;ye--);ye<0&&this._csiHandlerFb(z<<8|a,ue),this.precedingCodepoint=0;break;case 8:do switch(a){case 59:ue.addParam(0);break;case 58:ue.addSubParam(-1);break;default:ue.addDigit(a-48)}while(++ge<te&&(a=ne[ge])>47&&a<60);ge--;break;case 9:z<<=8,z|=a;break;case 10:for(var ve=this._escHandlers[z<<8|a],Pe=ve?ve.length-1:-1;Pe>=0&&ve[Pe]()===!1;Pe--);Pe<0&&this._escHandlerFb(z<<8|a),this.precedingCodepoint=0;break;case 11:ue.reset(),ue.addParam(0),z=0;break;case 12:ee.hook(z<<8|a,ue);break;case 13:for(var we=ge+1;;++we)if(we>=te||(a=ne[we])===24||a===26||a===27||a>127&&a<160){ee.put(ne,ge,we),ge=we-1;break}break;case 14:ee.unhook(a!==24&&a!==26),a===27&&(y|=1),ue.reset(),ue.addParam(0),z=0,this.precedingCodepoint=0;break;case 4:b.start();break;case 5:for(var Ae=ge+1;;Ae++)if(Ae>=te||(a=ne[Ae])<32||a>127&&a<=159){b.put(ne,ge,Ae),ge=Ae-1;break}break;case 6:b.end(a!==24&&a!==26),a===27&&(y|=1),ue.reset(),ue.addParam(0),z=0,this.precedingCodepoint=0}x=15&y}this._collect=z,this.currentState=x},re}(me.Disposable);Se.EscapeSequenceParser=ce},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(b,ee){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,ue){z.__proto__=ue}||function(z,ue){for(var fe in ue)ue.hasOwnProperty(fe)&&(z[fe]=ue[fe])})(b,ee)},function(b,ee){function z(){this.constructor=b}Be(b,ee),b.prototype=ee===null?Object.create(ee):(z.prototype=ee.prototype,new z)}),me=this&&this.__decorate||function(b,ee,z,ue){var fe,ge=arguments.length,he=ge<3?ee:ue===null?ue=Object.getOwnPropertyDescriptor(ee,z):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")he=Reflect.decorate(b,ee,z,ue);else for(var pe=b.length-1;pe>=0;pe--)(fe=b[pe])&&(he=(ge<3?fe(he):ge>3?fe(ee,z,he):fe(ee,z))||he);return ge>3&&he&&Object.defineProperty(ee,z,he),he},de=this&&this.__param||function(b,ee){return function(z,ue){ee(z,ue,b)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.Renderer=void 0;var le=be(41),ae=be(47),ie=be(48),se=be(49),ce=be(29),oe=be(2),re=be(5),ne=be(1),te=be(25),a=be(0),y=1,x=function(b){function ee(z,ue,fe,ge,he,pe,ye,ve,Pe){var we=b.call(this)||this;we._colors=z,we._screenElement=ue,we._bufferService=he,we._charSizeService=pe,we._optionsService=ye,we._id=y++,we._onRequestRedraw=new a.EventEmitter;var Ae=we._optionsService.options.allowTransparency;return we._characterJoinerRegistry=new ce.CharacterJoinerRegistry(we._bufferService),we._renderLayers=[new le.TextRenderLayer(we._screenElement,0,we._colors,we._characterJoinerRegistry,Ae,we._id,we._bufferService,ye),new ae.SelectionRenderLayer(we._screenElement,1,we._colors,we._id,we._bufferService,ye),new se.LinkRenderLayer(we._screenElement,2,we._colors,we._id,fe,ge,we._bufferService,ye),new ie.CursorRenderLayer(we._screenElement,3,we._colors,we._id,we._onRequestRedraw,we._bufferService,ye,ve,Pe)],we.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},we._devicePixelRatio=window.devicePixelRatio,we._updateDimensions(),we.onOptionsChanged(),we}return E(ee,b),Object.defineProperty(ee.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),ee.prototype.dispose=function(){for(var z=0,ue=this._renderLayers;z<ue.length;z++)ue[z].dispose();b.prototype.dispose.call(this),te.removeTerminalFromCache(this._id)},ee.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},ee.prototype.setColors=function(z){this._colors=z;for(var ue=0,fe=this._renderLayers;ue<fe.length;ue++){var ge=fe[ue];ge.setColors(this._colors),ge.reset()}},ee.prototype.onResize=function(z,ue){this._updateDimensions();for(var fe=0,ge=this._renderLayers;fe<ge.length;fe++)ge[fe].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},ee.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},ee.prototype.onBlur=function(){this._runOperation(function(z){return z.onBlur()})},ee.prototype.onFocus=function(){this._runOperation(function(z){return z.onFocus()})},ee.prototype.onSelectionChanged=function(z,ue,fe){fe===void 0&&(fe=!1),this._runOperation(function(ge){return ge.onSelectionChanged(z,ue,fe)})},ee.prototype.onCursorMove=function(){this._runOperation(function(z){return z.onCursorMove()})},ee.prototype.onOptionsChanged=function(){this._runOperation(function(z){return z.onOptionsChanged()})},ee.prototype.clear=function(){this._runOperation(function(z){return z.reset()})},ee.prototype._runOperation=function(z){for(var ue=0,fe=this._renderLayers;ue<fe.length;ue++)z(fe[ue])},ee.prototype.renderRows=function(z,ue){for(var fe=0,ge=this._renderLayers;fe<ge.length;fe++)ge[fe].onGridChanged(z,ue)},ee.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=this._optionsService.options.lineHeight===1?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},ee.prototype.registerCharacterJoiner=function(z){return this._characterJoinerRegistry.registerCharacterJoiner(z)},ee.prototype.deregisterCharacterJoiner=function(z){return this._characterJoinerRegistry.deregisterCharacterJoiner(z)},ee=me([de(4,ne.IBufferService),de(5,re.ICharSizeService),de(6,ne.IOptionsService),de(7,ne.ICoreService),de(8,re.ICoreBrowserService)],ee)}(oe.Disposable);Se.Renderer=x},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(oe,re){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,te){ne.__proto__=te}||function(ne,te){for(var a in te)te.hasOwnProperty(a)&&(ne[a]=te[a])})(oe,re)},function(oe,re){function ne(){this.constructor=oe}Be(oe,re),oe.prototype=re===null?Object.create(re):(ne.prototype=re.prototype,new ne)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.TextRenderLayer=void 0;var me=be(42),de=be(13),le=be(6),ae=be(3),ie=be(29),se=be(4),ce=function(oe){function re(ne,te,a,y,x,b,ee,z){var ue=oe.call(this,ne,"text",te,x,a,b,ee,z)||this;return ue._characterWidth=0,ue._characterFont="",ue._characterOverlapCache={},ue._workCell=new se.CellData,ue._state=new me.GridCache,ue._characterJoinerRegistry=y,ue}return E(re,oe),re.prototype.resize=function(ne){oe.prototype.resize.call(this,ne);var te=this._getFont(!1,!1);this._characterWidth===ne.scaledCharWidth&&this._characterFont===te||(this._characterWidth=ne.scaledCharWidth,this._characterFont=te,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},re.prototype.reset=function(){this._state.clear(),this._clearAll()},re.prototype._forEachCell=function(ne,te,a,y){for(var x=ne;x<=te;x++)for(var b=x+this._bufferService.buffer.ydisp,ee=this._bufferService.buffer.lines.get(b),z=a?a.getJoinedCharacters(b):[],ue=0;ue<this._bufferService.cols;ue++){ee.loadCell(ue,this._workCell);var fe=this._workCell,ge=!1,he=ue;if(fe.getWidth()!==0){if(z.length>0&&ue===z[0][0]){ge=!0;var pe=z.shift();fe=new ie.JoinedCellData(this._workCell,ee.translateToString(!0,pe[0],pe[1]),pe[1]-pe[0]),he=pe[1]-1}!ge&&this._isOverlapping(fe)&&he<ee.length-1&&ee.getCodePoint(he+1)===ae.NULL_CELL_CODE&&(fe.content&=-12582913,fe.content|=2<<22),y(fe,ue,x),ue=he}}},re.prototype._drawBackground=function(ne,te){var a=this,y=this._ctx,x=this._bufferService.cols,b=0,ee=0,z=null;y.save(),this._forEachCell(ne,te,null,function(ue,fe,ge){var he=null;ue.isInverse()?he=ue.isFgDefault()?a._colors.foreground.css:ue.isFgRGB()?"rgb("+le.AttributeData.toColorRGB(ue.getFgColor()).join(",")+")":a._colors.ansi[ue.getFgColor()].css:ue.isBgRGB()?he="rgb("+le.AttributeData.toColorRGB(ue.getBgColor()).join(",")+")":ue.isBgPalette()&&(he=a._colors.ansi[ue.getBgColor()].css),z===null&&(b=fe,ee=ge),ge!==ee?(y.fillStyle=z||"",a._fillCells(b,ee,x-b,1),b=fe,ee=ge):z!==he&&(y.fillStyle=z||"",a._fillCells(b,ee,fe-b,1),b=fe,ee=ge),z=he}),z!==null&&(y.fillStyle=z,this._fillCells(b,ee,x-b,1)),y.restore()},re.prototype._drawForeground=function(ne,te){var a=this;this._forEachCell(ne,te,this._characterJoinerRegistry,function(y,x,b){if(!y.isInvisible()&&(a._drawChars(y,x,b),y.isUnderline())){if(a._ctx.save(),y.isInverse())if(y.isBgDefault())a._ctx.fillStyle=a._colors.background.css;else if(y.isBgRGB())a._ctx.fillStyle="rgb("+le.AttributeData.toColorRGB(y.getBgColor()).join(",")+")";else{var ee=y.getBgColor();a._optionsService.options.drawBoldTextInBrightColors&&y.isBold()&&ee<8&&(ee+=8),a._ctx.fillStyle=a._colors.ansi[ee].css}else if(y.isFgDefault())a._ctx.fillStyle=a._colors.foreground.css;else if(y.isFgRGB())a._ctx.fillStyle="rgb("+le.AttributeData.toColorRGB(y.getFgColor()).join(",")+")";else{var z=y.getFgColor();a._optionsService.options.drawBoldTextInBrightColors&&y.isBold()&&z<8&&(z+=8),a._ctx.fillStyle=a._colors.ansi[z].css}a._fillBottomLineAtCells(x,b,y.getWidth()),a._ctx.restore()}})},re.prototype.onGridChanged=function(ne,te){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,ne,this._bufferService.cols,te-ne+1),this._drawBackground(ne,te),this._drawForeground(ne,te))},re.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},re.prototype._isOverlapping=function(ne){if(ne.getWidth()!==1||ne.getCode()<256)return!1;var te=ne.getChars();if(this._characterOverlapCache.hasOwnProperty(te))return this._characterOverlapCache[te];this._ctx.save(),this._ctx.font=this._characterFont;var a=Math.floor(this._ctx.measureText(te).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[te]=a,a},re}(de.BaseRenderLayer);Se.TextRenderLayer=ce},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.GridCache=void 0;var Be=function(){function E(){this.cache=[]}return E.prototype.resize=function(me,de){for(var le=0;le<me;le++){this.cache.length<=le&&this.cache.push([]);for(var ae=this.cache[le].length;ae<de;ae++)this.cache[le].push(void 0);this.cache[le].length=de}this.cache.length=me},E.prototype.clear=function(){for(var me=0;me<this.cache.length;me++)for(var de=0;de<this.cache[me].length;de++)this.cache[me][de]=void 0},E}();Se.GridCache=Be},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(a,y){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,b){x.__proto__=b}||function(x,b){for(var ee in b)b.hasOwnProperty(ee)&&(x[ee]=b[ee])})(a,y)},function(a,y){function x(){this.constructor=a}Be(a,y),a.prototype=y===null?Object.create(y):(x.prototype=y.prototype,new x)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.NoneCharAtlas=Se.DynamicCharAtlas=Se.getGlyphCacheKey=void 0;var me=be(9),de=be(44),le=be(27),ae=be(46),ie=be(11),se=be(28),ce=be(10),oe={css:"rgba(0, 0, 0, 0)",rgba:0};function re(a){return a.code<<21|a.bg<<12|a.fg<<3|(a.bold?0:4)+(a.dim?0:2)+(a.italic?0:1)}Se.getGlyphCacheKey=re;var ne=function(a){function y(x,b){var ee=a.call(this)||this;ee._config=b,ee._drawToCacheCount=0,ee._glyphsWaitingOnBitmap=[],ee._bitmapCommitTimeout=null,ee._bitmap=null,ee._cacheCanvas=x.createElement("canvas"),ee._cacheCanvas.width=1024,ee._cacheCanvas.height=1024,ee._cacheCtx=se.throwIfFalsy(ee._cacheCanvas.getContext("2d",{alpha:!0}));var z=x.createElement("canvas");z.width=ee._config.scaledCharWidth,z.height=ee._config.scaledCharHeight,ee._tmpCtx=se.throwIfFalsy(z.getContext("2d",{alpha:ee._config.allowTransparency})),ee._width=Math.floor(1024/ee._config.scaledCharWidth),ee._height=Math.floor(1024/ee._config.scaledCharHeight);var ue=ee._width*ee._height;return ee._cacheMap=new ae.LRUMap(ue),ee._cacheMap.prealloc(ue),ee}return E(y,a),y.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},y.prototype.beginFrame=function(){this._drawToCacheCount=0},y.prototype.draw=function(x,b,ee,z){if(b.code===32)return!0;if(!this._canCache(b))return!1;var ue=re(b),fe=this._cacheMap.get(ue);if(fe!=null)return this._drawFromCache(x,fe,ee,z),!0;if(this._drawToCacheCount<100){var ge=void 0;ge=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var he=this._drawToCache(b,ge);return this._cacheMap.set(ue,he),this._drawFromCache(x,he,ee,z),!0}return!1},y.prototype._canCache=function(x){return x.code<256},y.prototype._toCoordinateX=function(x){return x%this._width*this._config.scaledCharWidth},y.prototype._toCoordinateY=function(x){return Math.floor(x/this._width)*this._config.scaledCharHeight},y.prototype._drawFromCache=function(x,b,ee,z){if(!b.isEmpty){var ue=this._toCoordinateX(b.index),fe=this._toCoordinateY(b.index);x.drawImage(b.inBitmap?this._bitmap:this._cacheCanvas,ue,fe,this._config.scaledCharWidth,this._config.scaledCharHeight,ee,z,this._config.scaledCharWidth,this._config.scaledCharHeight)}},y.prototype._getColorFromAnsiIndex=function(x){return x<this._config.colors.ansi.length?this._config.colors.ansi[x]:le.DEFAULT_ANSI_COLORS[x]},y.prototype._getBackgroundColor=function(x){return this._config.allowTransparency?oe:x.bg===me.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:x.bg<256?this._getColorFromAnsiIndex(x.bg):this._config.colors.background},y.prototype._getForegroundColor=function(x){return x.fg===me.INVERTED_DEFAULT_COLOR?ce.color.opaque(this._config.colors.background):x.fg<256?this._getColorFromAnsiIndex(x.fg):this._config.colors.foreground},y.prototype._drawToCache=function(x,b){this._drawToCacheCount++,this._tmpCtx.save();var ee=this._getBackgroundColor(x);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=ee.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var z=x.bold?this._config.fontWeightBold:this._config.fontWeight,ue=x.italic?"italic":"";this._tmpCtx.font=ue+" "+z+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(x).css,x.dim&&(this._tmpCtx.globalAlpha=me.DIM_OPACITY),this._tmpCtx.fillText(x.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var fe=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),ge=!1;this._config.allowTransparency||(ge=function(ve,Pe){for(var we=!0,Ae=Pe.rgba>>>24,_e=Pe.rgba>>>16&255,xe=Pe.rgba>>>8&255,Ee=0;Ee<ve.data.length;Ee+=4)ve.data[Ee]===Ae&&ve.data[Ee+1]===_e&&ve.data[Ee+2]===xe?ve.data[Ee+3]=0:we=!1;return we}(fe,ee));var he=this._toCoordinateX(b),pe=this._toCoordinateY(b);this._cacheCtx.putImageData(fe,he,pe);var ye={index:b,isEmpty:ge,inBitmap:!1};return this._addGlyphToBitmap(ye),ye},y.prototype._addGlyphToBitmap=function(x){var b=this;!("createImageBitmap"in window)||ie.isFirefox||ie.isSafari||(this._glyphsWaitingOnBitmap.push(x),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return b._generateBitmap()},100)))},y.prototype._generateBitmap=function(){var x=this,b=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(ee){x._bitmap=ee;for(var z=0;z<b.length;z++)b[z].inBitmap=!0}),this._bitmapCommitTimeout=null},y}(de.BaseCharAtlas);Se.DynamicCharAtlas=ne;var te=function(a){function y(x,b){return a.call(this)||this}return E(y,a),y.prototype.draw=function(x,b,ee,z){return!1},y}(de.BaseCharAtlas);Se.NoneCharAtlas=te},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.BaseCharAtlas=void 0;var Be=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}();Se.BaseCharAtlas=Be},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.ColorContrastCache=void 0;var Be=function(){function E(){this._color={},this._rgba={}}return E.prototype.clear=function(){this._color={},this._rgba={}},E.prototype.setCss=function(me,de,le){this._rgba[me]||(this._rgba[me]={}),this._rgba[me][de]=le},E.prototype.getCss=function(me,de){return this._rgba[me]?this._rgba[me][de]:void 0},E.prototype.setColor=function(me,de,le){this._color[me]||(this._color[me]={}),this._color[me][de]=le},E.prototype.getColor=function(me,de){return this._color[me]?this._color[me][de]:void 0},E}();Se.ColorContrastCache=Be},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.LRUMap=void 0;var Be=function(){function E(me){this.capacity=me,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return E.prototype._unlinkNode=function(me){var de=me.prev,le=me.next;me===this._head&&(this._head=le),me===this._tail&&(this._tail=de),de!==null&&(de.next=le),le!==null&&(le.prev=de)},E.prototype._appendNode=function(me){var de=this._tail;de!==null&&(de.next=me),me.prev=de,me.next=null,this._tail=me,this._head===null&&(this._head=me)},E.prototype.prealloc=function(me){for(var de=this._nodePool,le=0;le<me;le++)de.push({prev:null,next:null,key:null,value:null})},E.prototype.get=function(me){var de=this._map[me];return de!==void 0?(this._unlinkNode(de),this._appendNode(de),de.value):null},E.prototype.peekValue=function(me){var de=this._map[me];return de!==void 0?de.value:null},E.prototype.peek=function(){var me=this._head;return me===null?null:me.value},E.prototype.set=function(me,de){var le=this._map[me];if(le!==void 0)le=this._map[me],this._unlinkNode(le),le.value=de;else if(this.size>=this.capacity)le=this._head,this._unlinkNode(le),delete this._map[le.key],le.key=me,le.value=de,this._map[me]=le;else{var ae=this._nodePool;ae.length>0?((le=ae.pop()).key=me,le.value=de):le={prev:null,next:null,key:me,value:de},this._map[me]=le,this.size++}this._appendNode(le)},E}();Se.LRUMap=Be},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(de,le){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,ie){ae.__proto__=ie}||function(ae,ie){for(var se in ie)ie.hasOwnProperty(se)&&(ae[se]=ie[se])})(de,le)},function(de,le){function ae(){this.constructor=de}Be(de,le),de.prototype=le===null?Object.create(le):(ae.prototype=le.prototype,new ae)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.SelectionRenderLayer=void 0;var me=function(de){function le(ae,ie,se,ce,oe,re){var ne=de.call(this,ae,"selection",ie,!0,se,ce,oe,re)||this;return ne._clearState(),ne}return E(le,de),le.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},le.prototype.resize=function(ae){de.prototype.resize.call(this,ae),this._clearState()},le.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},le.prototype.onSelectionChanged=function(ae,ie,se){if(this._didStateChange(ae,ie,se,this._bufferService.buffer.ydisp))if(this._clearAll(),ae&&ie){var ce=ae[1]-this._bufferService.buffer.ydisp,oe=ie[1]-this._bufferService.buffer.ydisp,re=Math.max(ce,0),ne=Math.min(oe,this._bufferService.rows-1);if(!(re>=this._bufferService.rows||ne<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,se){var te=ae[0],a=ie[0]-te,y=ne-re+1;this._fillCells(te,re,a,y)}else{te=ce===re?ae[0]:0;var x=re===ne?ie[0]:this._bufferService.cols;this._fillCells(te,re,x-te,1);var b=Math.max(ne-re-1,0);if(this._fillCells(0,re+1,this._bufferService.cols,b),re!==ne){var ee=oe===ne?ie[0]:this._bufferService.cols;this._fillCells(0,ne,ee,1)}}this._state.start=[ae[0],ae[1]],this._state.end=[ie[0],ie[1]],this._state.columnSelectMode=se,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},le.prototype._didStateChange=function(ae,ie,se,ce){return!this._areCoordinatesEqual(ae,this._state.start)||!this._areCoordinatesEqual(ie,this._state.end)||se!==this._state.columnSelectMode||ce!==this._state.ydisp},le.prototype._areCoordinatesEqual=function(ae,ie){return!(!ae||!ie)&&ae[0]===ie[0]&&ae[1]===ie[1]},le}(be(13).BaseRenderLayer);Se.SelectionRenderLayer=me},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(ie,se){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,oe){ce.__proto__=oe}||function(ce,oe){for(var re in oe)oe.hasOwnProperty(re)&&(ce[re]=oe[re])})(ie,se)},function(ie,se){function ce(){this.constructor=ie}Be(ie,se),ie.prototype=se===null?Object.create(se):(ce.prototype=se.prototype,new ce)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.CursorRenderLayer=void 0;var me=be(13),de=be(4),le=function(ie){function se(ce,oe,re,ne,te,a,y,x,b){var ee=ie.call(this,ce,"cursor",oe,!0,re,ne,a,y)||this;return ee._onRequestRedraw=te,ee._coreService=x,ee._coreBrowserService=b,ee._cell=new de.CellData,ee._state={x:0,y:0,isFocused:!1,style:"",width:0},ee._cursorRenderers={bar:ee._renderBarCursor.bind(ee),block:ee._renderBlockCursor.bind(ee),underline:ee._renderUnderlineCursor.bind(ee)},ee}return E(se,ie),se.prototype.resize=function(ce){ie.prototype.resize.call(this,ce),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},se.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},se.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},se.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},se.prototype.onOptionsChanged=function(){var ce,oe=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new ae(this._coreBrowserService.isFocused,function(){oe._render(!0)})):((ce=this._cursorBlinkStateManager)===null||ce===void 0||ce.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},se.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},se.prototype.onGridChanged=function(ce,oe){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},se.prototype._render=function(ce){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var oe=this._bufferService.buffer.ybase+this._bufferService.buffer.y,re=oe-this._bufferService.buffer.ydisp;if(re<0||re>=this._bufferService.rows)this._clearCursor();else{var ne=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(oe).loadCell(ne,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var te=this._optionsService.options.cursorStyle;return te&&te!=="block"?this._cursorRenderers[te](ne,re,this._cell):this._renderBlurCursor(ne,re,this._cell),this._ctx.restore(),this._state.x=ne,this._state.y=re,this._state.isFocused=!1,this._state.style=te,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===ne&&this._state.y===re&&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"](ne,re,this._cell),this._ctx.restore(),this._state.x=ne,this._state.y=re,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},se.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})},se.prototype._renderBarCursor=function(ce,oe,re){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(ce,oe,this._optionsService.options.cursorWidth),this._ctx.restore()},se.prototype._renderBlockCursor=function(ce,oe,re){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(ce,oe,re.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(re,ce,oe),this._ctx.restore()},se.prototype._renderUnderlineCursor=function(ce,oe,re){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(ce,oe),this._ctx.restore()},se.prototype._renderBlurCursor=function(ce,oe,re){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(ce,oe,re.getWidth(),1),this._ctx.restore()},se}(me.BaseRenderLayer);Se.CursorRenderLayer=le;var ae=function(){function ie(se,ce){this._renderCallback=ce,this.isCursorVisible=!0,se&&this._restartInterval()}return Object.defineProperty(ie.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),ie.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)},ie.prototype.restartBlinkAnimation=function(){var se=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){se._renderCallback(),se._animationFrame=void 0})))},ie.prototype._restartInterval=function(se){var ce=this;se===void 0&&(se=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(ce._animationTimeRestarted){var oe=600-(Date.now()-ce._animationTimeRestarted);if(ce._animationTimeRestarted=void 0,oe>0)return void ce._restartInterval(oe)}ce.isCursorVisible=!1,ce._animationFrame=window.requestAnimationFrame(function(){ce._renderCallback(),ce._animationFrame=void 0}),ce._blinkInterval=window.setInterval(function(){if(ce._animationTimeRestarted){var re=600-(Date.now()-ce._animationTimeRestarted);return ce._animationTimeRestarted=void 0,void ce._restartInterval(re)}ce.isCursorVisible=!ce.isCursorVisible,ce._animationFrame=window.requestAnimationFrame(function(){ce._renderCallback(),ce._animationFrame=void 0})},600)},se)},ie.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)},ie.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},ie}()},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(ie,se){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,oe){ce.__proto__=oe}||function(ce,oe){for(var re in oe)oe.hasOwnProperty(re)&&(ce[re]=oe[re])})(ie,se)},function(ie,se){function ce(){this.constructor=ie}Be(ie,se),ie.prototype=se===null?Object.create(se):(ce.prototype=se.prototype,new ce)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.LinkRenderLayer=void 0;var me=be(13),de=be(9),le=be(26),ae=function(ie){function se(ce,oe,re,ne,te,a,y,x){var b=ie.call(this,ce,"link",oe,!0,re,ne,y,x)||this;return te.onShowLinkUnderline(function(ee){return b._onShowLinkUnderline(ee)}),te.onHideLinkUnderline(function(ee){return b._onHideLinkUnderline(ee)}),a.onShowLinkUnderline(function(ee){return b._onShowLinkUnderline(ee)}),a.onHideLinkUnderline(function(ee){return b._onHideLinkUnderline(ee)}),b}return E(se,ie),se.prototype.resize=function(ce){ie.prototype.resize.call(this,ce),this._state=void 0},se.prototype.reset=function(){this._clearCurrentLink()},se.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var ce=this._state.y2-this._state.y1-1;ce>0&&this._clearCells(0,this._state.y1+1,this._state.cols,ce),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},se.prototype._onShowLinkUnderline=function(ce){if(ce.fg===de.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:ce.fg&&le.is256Color(ce.fg)?this._ctx.fillStyle=this._colors.ansi[ce.fg].css:this._ctx.fillStyle=this._colors.foreground.css,ce.y1===ce.y2)this._fillBottomLineAtCells(ce.x1,ce.y1,ce.x2-ce.x1);else{this._fillBottomLineAtCells(ce.x1,ce.y1,ce.cols-ce.x1);for(var oe=ce.y1+1;oe<ce.y2;oe++)this._fillBottomLineAtCells(0,oe,ce.cols);this._fillBottomLineAtCells(0,ce.y2,ce.x2)}this._state=ce},se.prototype._onHideLinkUnderline=function(ce){this._clearCurrentLink()},se}(me.BaseRenderLayer);Se.LinkRenderLayer=ae},function(it,Se,be){"use strict";var Be=this&&this.__decorate||function(ie,se,ce,oe){var re,ne=arguments.length,te=ne<3?se:oe===null?oe=Object.getOwnPropertyDescriptor(se,ce):oe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")te=Reflect.decorate(ie,se,ce,oe);else for(var a=ie.length-1;a>=0;a--)(re=ie[a])&&(te=(ne<3?re(te):ne>3?re(se,ce,te):re(se,ce))||te);return ne>3&&te&&Object.defineProperty(se,ce,te),te},E=this&&this.__param||function(ie,se){return function(ce,oe){se(ce,oe,ie)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.MouseZone=Se.Linkifier=void 0;var me=be(0),de=be(1),le=function(){function ie(se,ce,oe){this._bufferService=se,this._logService=ce,this._unicodeService=oe,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new me.EventEmitter,this._onHideLinkUnderline=new me.EventEmitter,this._onLinkTooltip=new me.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(ie.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),ie.prototype.attachToDom=function(se,ce){this._element=se,this._mouseZoneManager=ce},ie.prototype.linkifyRows=function(se,ce){var oe=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=se,this._rowsToLinkify.end=ce):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,se),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,ce)),this._mouseZoneManager.clearAll(se,ce),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return oe._linkifyRows()},ie._timeBeforeLatency))},ie.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var se=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var ce=se.ydisp+this._rowsToLinkify.start;if(!(ce>=se.lines.length)){for(var oe=se.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,re=Math.ceil(2e3/this._bufferService.cols),ne=this._bufferService.buffer.iterator(!1,ce,oe,re,re);ne.hasNext();)for(var te=ne.next(),a=0;a<this._linkMatchers.length;a++)this._doLinkifyRow(te.range.first,te.content,this._linkMatchers[a]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},ie.prototype.registerLinkMatcher=function(se,ce,oe){if(oe===void 0&&(oe={}),!ce)throw new Error("handler must be defined");var re={id:this._nextLinkMatcherId++,regex:se,handler:ce,matchIndex:oe.matchIndex,validationCallback:oe.validationCallback,hoverTooltipCallback:oe.tooltipCallback,hoverLeaveCallback:oe.leaveCallback,willLinkActivate:oe.willLinkActivate,priority:oe.priority||0};return this._addLinkMatcherToList(re),re.id},ie.prototype._addLinkMatcherToList=function(se){if(this._linkMatchers.length!==0){for(var ce=this._linkMatchers.length-1;ce>=0;ce--)if(se.priority<=this._linkMatchers[ce].priority)return void this._linkMatchers.splice(ce+1,0,se);this._linkMatchers.splice(0,0,se)}else this._linkMatchers.push(se)},ie.prototype.deregisterLinkMatcher=function(se){for(var ce=0;ce<this._linkMatchers.length;ce++)if(this._linkMatchers[ce].id===se)return this._linkMatchers.splice(ce,1),!0;return!1},ie.prototype._doLinkifyRow=function(se,ce,oe){for(var re,ne=this,te=new RegExp(oe.regex.source,(oe.regex.flags||"")+"g"),a=-1,y=function(){var b=re[typeof oe.matchIndex!="number"?0:oe.matchIndex];if(!b)return x._logService.debug("match found without corresponding matchIndex",re,oe),"break";if(a=ce.indexOf(b,a+1),te.lastIndex=a+b.length,a<0)return"break";var ee=x._bufferService.buffer.stringIndexToBufferIndex(se,a);if(ee[0]<0)return"break";var z=x._bufferService.buffer.lines.get(ee[0]);if(!z)return"break";var ue=z.getFg(ee[1]),fe=ue?ue>>9&511:void 0;oe.validationCallback?oe.validationCallback(b,function(ge){ne._rowsTimeoutId||ge&&ne._addLink(ee[1],ee[0]-ne._bufferService.buffer.ydisp,b,oe,fe)}):x._addLink(ee[1],ee[0]-x._bufferService.buffer.ydisp,b,oe,fe)},x=this;(re=te.exec(ce))!==null&&y()!=="break";);},ie.prototype._addLink=function(se,ce,oe,re,ne){var te=this;if(this._mouseZoneManager&&this._element){var a=this._unicodeService.getStringCellWidth(oe),y=se%this._bufferService.cols,x=ce+Math.floor(se/this._bufferService.cols),b=(y+a)%this._bufferService.cols,ee=x+Math.floor((y+a)/this._bufferService.cols);b===0&&(b=this._bufferService.cols,ee--),this._mouseZoneManager.add(new ae(y+1,x+1,b+1,ee+1,function(z){if(re.handler)return re.handler(z,oe);var ue=window.open();ue?(ue.opener=null,ue.location.href=oe):console.warn("Opening link blocked as opener could not be cleared")},function(){te._onShowLinkUnderline.fire(te._createLinkHoverEvent(y,x,b,ee,ne)),te._element.classList.add("xterm-cursor-pointer")},function(z){te._onLinkTooltip.fire(te._createLinkHoverEvent(y,x,b,ee,ne)),re.hoverTooltipCallback&&re.hoverTooltipCallback(z,oe,{start:{x:y,y:x},end:{x:b,y:ee}})},function(){te._onHideLinkUnderline.fire(te._createLinkHoverEvent(y,x,b,ee,ne)),te._element.classList.remove("xterm-cursor-pointer"),re.hoverLeaveCallback&&re.hoverLeaveCallback()},function(z){return!re.willLinkActivate||re.willLinkActivate(z,oe)}))}},ie.prototype._createLinkHoverEvent=function(se,ce,oe,re,ne){return{x1:se,y1:ce,x2:oe,y2:re,cols:this._bufferService.cols,fg:ne}},ie._timeBeforeLatency=200,ie=Be([E(0,de.IBufferService),E(1,de.ILogService),E(2,de.IUnicodeService)],ie)}();Se.Linkifier=le;var ae=function(ie,se,ce,oe,re,ne,te,a,y){this.x1=ie,this.y1=se,this.x2=ce,this.y2=oe,this.clickCallback=re,this.hoverCallback=ne,this.tooltipCallback=te,this.leaveCallback=a,this.willLinkActivate=y};Se.MouseZone=ae},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(b,ee){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,ue){z.__proto__=ue}||function(z,ue){for(var fe in ue)ue.hasOwnProperty(fe)&&(z[fe]=ue[fe])})(b,ee)},function(b,ee){function z(){this.constructor=b}Be(b,ee),b.prototype=ee===null?Object.create(ee):(z.prototype=ee.prototype,new z)}),me=this&&this.__decorate||function(b,ee,z,ue){var fe,ge=arguments.length,he=ge<3?ee:ue===null?ue=Object.getOwnPropertyDescriptor(ee,z):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")he=Reflect.decorate(b,ee,z,ue);else for(var pe=b.length-1;pe>=0;pe--)(fe=b[pe])&&(he=(ge<3?fe(he):ge>3?fe(ee,z,he):fe(ee,z))||he);return ge>3&&he&&Object.defineProperty(ee,z,he),he},de=this&&this.__param||function(b,ee){return function(z,ue){ee(z,ue,b)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.SelectionService=void 0;var le=be(11),ae=be(52),ie=be(4),se=be(0),ce=be(5),oe=be(1),re=be(30),ne=be(53),te=be(2),a="\xA0",y=new RegExp(a,"g"),x=function(b){function ee(z,ue,fe,ge,he,pe,ye){var ve=b.call(this)||this;return ve._element=z,ve._screenElement=ue,ve._bufferService=fe,ve._coreService=ge,ve._mouseService=he,ve._optionsService=pe,ve._renderService=ye,ve._dragScrollAmount=0,ve._enabled=!0,ve._workCell=new ie.CellData,ve._mouseDownTimeStamp=0,ve._onLinuxMouseSelection=ve.register(new se.EventEmitter),ve._onRedrawRequest=ve.register(new se.EventEmitter),ve._onSelectionChange=ve.register(new se.EventEmitter),ve._onRequestScrollLines=ve.register(new se.EventEmitter),ve._mouseMoveListener=function(Pe){return ve._onMouseMove(Pe)},ve._mouseUpListener=function(Pe){return ve._onMouseUp(Pe)},ve._coreService.onUserInput(function(){ve.hasSelection&&ve.clearSelection()}),ve._trimListener=ve._bufferService.buffer.lines.onTrim(function(Pe){return ve._onTrim(Pe)}),ve.register(ve._bufferService.buffers.onBufferActivate(function(Pe){return ve._onBufferActivate(Pe)})),ve.enable(),ve._model=new ae.SelectionModel(ve._bufferService),ve._activeSelectionMode=0,ve}return E(ee,b),Object.defineProperty(ee.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),ee.prototype.dispose=function(){this._removeMouseDownListeners()},ee.prototype.reset=function(){this.clearSelection()},ee.prototype.disable=function(){this.clearSelection(),this._enabled=!1},ee.prototype.enable=function(){this._enabled=!0},Object.defineProperty(ee.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"hasSelection",{get:function(){var z=this._model.finalSelectionStart,ue=this._model.finalSelectionEnd;return!(!z||!ue)&&(z[0]!==ue[0]||z[1]!==ue[1])},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"selectionText",{get:function(){var z=this._model.finalSelectionStart,ue=this._model.finalSelectionEnd;if(!z||!ue)return"";var fe=this._bufferService.buffer,ge=[];if(this._activeSelectionMode===3){if(z[0]===ue[0])return"";for(var he=z[1];he<=ue[1];he++){var pe=fe.translateBufferLineToString(he,!0,z[0],ue[0]);ge.push(pe)}}else{var ye=z[1]===ue[1]?ue[0]:void 0;for(ge.push(fe.translateBufferLineToString(z[1],!0,z[0],ye)),he=z[1]+1;he<=ue[1]-1;he++){var ve=fe.lines.get(he);pe=fe.translateBufferLineToString(he,!0),ve&&ve.isWrapped?ge[ge.length-1]+=pe:ge.push(pe)}z[1]!==ue[1]&&(ve=fe.lines.get(ue[1]),pe=fe.translateBufferLineToString(ue[1],!0,0,ue[0]),ve&&ve.isWrapped?ge[ge.length-1]+=pe:ge.push(pe))}return ge.map(function(Pe){return Pe.replace(y," ")}).join(le.isWindows?`\r
|
|
|
`:`
|
|
|
`)},enumerable:!1,configurable:!0}),ee.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},ee.prototype.refresh=function(z){var ue=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return ue._refresh()})),le.isLinux&&z&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},ee.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},ee.prototype.isClickInSelection=function(z){var ue=this._getMouseBufferCoords(z),fe=this._model.finalSelectionStart,ge=this._model.finalSelectionEnd;return!!(fe&&ge&&ue)&&this._areCoordsInSelection(ue,fe,ge)},ee.prototype._areCoordsInSelection=function(z,ue,fe){return z[1]>ue[1]&&z[1]<fe[1]||ue[1]===fe[1]&&z[1]===ue[1]&&z[0]>=ue[0]&&z[0]<fe[0]||ue[1]<fe[1]&&z[1]===fe[1]&&z[0]<fe[0]||ue[1]<fe[1]&&z[1]===ue[1]&&z[0]>=ue[0]},ee.prototype.selectWordAtCursor=function(z){var ue=this._getMouseBufferCoords(z);ue&&(this._selectWordAt(ue,!1),this._model.selectionEnd=void 0,this.refresh(!0))},ee.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},ee.prototype.selectLines=function(z,ue){this._model.clearSelection(),z=Math.max(z,0),ue=Math.min(ue,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,z],this._model.selectionEnd=[this._bufferService.cols,ue],this.refresh(),this._onSelectionChange.fire()},ee.prototype._onTrim=function(z){this._model.onTrim(z)&&this.refresh()},ee.prototype._getMouseBufferCoords=function(z){var ue=this._mouseService.getCoords(z,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(ue)return ue[0]--,ue[1]--,ue[1]+=this._bufferService.buffer.ydisp,ue},ee.prototype._getMouseEventScrollAmount=function(z){var ue=re.getCoordsRelativeToElement(z,this._screenElement)[1],fe=this._renderService.dimensions.canvasHeight;return ue>=0&&ue<=fe?0:(ue>fe&&(ue-=fe),ue=Math.min(Math.max(ue,-50),50),(ue/=50)/Math.abs(ue)+Math.round(14*ue))},ee.prototype.shouldForceSelection=function(z){return le.isMac?z.altKey&&this._optionsService.options.macOptionClickForcesSelection:z.shiftKey},ee.prototype.onMouseDown=function(z){if(this._mouseDownTimeStamp=z.timeStamp,(z.button!==2||!this.hasSelection)&&z.button===0){if(!this._enabled){if(!this.shouldForceSelection(z))return;z.stopPropagation()}z.preventDefault(),this._dragScrollAmount=0,this._enabled&&z.shiftKey?this._onIncrementalClick(z):z.detail===1?this._onSingleClick(z):z.detail===2?this._onDoubleClick(z):z.detail===3&&this._onTripleClick(z),this._addMouseDownListeners(),this.refresh(!0)}},ee.prototype._addMouseDownListeners=function(){var z=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return z._dragScroll()},50)},ee.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},ee.prototype._onIncrementalClick=function(z){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(z))},ee.prototype._onSingleClick=function(z){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(z)?3:0,this._model.selectionStart=this._getMouseBufferCoords(z),this._model.selectionStart){this._model.selectionEnd=void 0;var ue=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);ue&&ue.length!==this._model.selectionStart[0]&&ue.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},ee.prototype._onDoubleClick=function(z){var ue=this._getMouseBufferCoords(z);ue&&(this._activeSelectionMode=1,this._selectWordAt(ue,!0))},ee.prototype._onTripleClick=function(z){var ue=this._getMouseBufferCoords(z);ue&&(this._activeSelectionMode=2,this._selectLineAt(ue[1]))},ee.prototype.shouldColumnSelect=function(z){return z.altKey&&!(le.isMac&&this._optionsService.options.macOptionClickForcesSelection)},ee.prototype._onMouseMove=function(z){if(z.stopImmediatePropagation(),this._model.selectionStart){var ue=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(z),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:this._activeSelectionMode===1&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(z),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var fe=this._bufferService.buffer;if(this._model.selectionEnd[1]<fe.lines.length){var ge=fe.lines.get(this._model.selectionEnd[1]);ge&&ge.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}ue&&ue[0]===this._model.selectionEnd[0]&&ue[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},ee.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var z=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(z.ydisp+this._bufferService.rows,z.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=z.ydisp),this.refresh()}},ee.prototype._onMouseUp=function(z){var ue=z.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&ue<500&&z.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var fe=this._mouseService.getCoords(z,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(fe&&fe[0]!==void 0&&fe[1]!==void 0){var ge=ne.moveToCellSequence(fe[0]-1,fe[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(ge,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},ee.prototype._onBufferActivate=function(z){var ue=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=z.activeBuffer.lines.onTrim(function(fe){return ue._onTrim(fe)})},ee.prototype._convertViewportColToCharacterIndex=function(z,ue){for(var fe=ue[0],ge=0;ue[0]>=ge;ge++){var he=z.loadCell(ge,this._workCell).getChars().length;this._workCell.getWidth()===0?fe--:he>1&&ue[0]!==ge&&(fe+=he-1)}return fe},ee.prototype.setSelection=function(z,ue,fe){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[z,ue],this._model.selectionStartLength=fe,this.refresh()},ee.prototype._getWordAt=function(z,ue,fe,ge){if(fe===void 0&&(fe=!0),ge===void 0&&(ge=!0),!(z[0]>=this._bufferService.cols)){var he=this._bufferService.buffer,pe=he.lines.get(z[1]);if(pe){var ye=he.translateBufferLineToString(z[1],!1),ve=this._convertViewportColToCharacterIndex(pe,z),Pe=ve,we=z[0]-ve,Ae=0,_e=0,xe=0,Ee=0;if(ye.charAt(ve)===" "){for(;ve>0&&ye.charAt(ve-1)===" ";)ve--;for(;Pe<ye.length&&ye.charAt(Pe+1)===" ";)Pe++}else{var Oe=z[0],Ie=z[0];pe.getWidth(Oe)===0&&(Ae++,Oe--),pe.getWidth(Ie)===2&&(_e++,Ie++);var Ne=pe.getString(Ie).length;for(Ne>1&&(Ee+=Ne-1,Pe+=Ne-1);Oe>0&&ve>0&&!this._isCharWordSeparator(pe.loadCell(Oe-1,this._workCell));){pe.loadCell(Oe-1,this._workCell);var Te=this._workCell.getChars().length;this._workCell.getWidth()===0?(Ae++,Oe--):Te>1&&(xe+=Te-1,ve-=Te-1),ve--,Oe--}for(;Ie<pe.length&&Pe+1<ye.length&&!this._isCharWordSeparator(pe.loadCell(Ie+1,this._workCell));){pe.loadCell(Ie+1,this._workCell);var Je=this._workCell.getChars().length;this._workCell.getWidth()===2?(_e++,Ie++):Je>1&&(Ee+=Je-1,Pe+=Je-1),Pe++,Ie++}}Pe++;var Qe=ve+we-Ae+xe,Ze=Math.min(this._bufferService.cols,Pe-ve+Ae+_e-xe-Ee);if(ue||ye.slice(ve,Pe).trim()!==""){if(fe&&Qe===0&&pe.getCodePoint(0)!==32){var Ke=he.lines.get(z[1]-1);if(Ke&&pe.isWrapped&&Ke.getCodePoint(this._bufferService.cols-1)!==32){var Ue=this._getWordAt([this._bufferService.cols-1,z[1]-1],!1,!0,!1);if(Ue){var ke=this._bufferService.cols-Ue.start;Qe-=ke,Ze+=ke}}}if(ge&&Qe+Ze===this._bufferService.cols&&pe.getCodePoint(this._bufferService.cols-1)!==32){var Re=he.lines.get(z[1]+1);if(Re&&Re.isWrapped&&Re.getCodePoint(0)!==32){var He=this._getWordAt([0,z[1]+1],!1,!1,!0);He&&(Ze+=He.length)}}return{start:Qe,length:Ze}}}}},ee.prototype._selectWordAt=function(z,ue){var fe=this._getWordAt(z,ue);if(fe){for(;fe.start<0;)fe.start+=this._bufferService.cols,z[1]--;this._model.selectionStart=[fe.start,z[1]],this._model.selectionStartLength=fe.length}},ee.prototype._selectToWordAt=function(z){var ue=this._getWordAt(z,!0);if(ue){for(var fe=z[1];ue.start<0;)ue.start+=this._bufferService.cols,fe--;if(!this._model.areSelectionValuesReversed())for(;ue.start+ue.length>this._bufferService.cols;)ue.length-=this._bufferService.cols,fe++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?ue.start:ue.start+ue.length,fe]}},ee.prototype._isCharWordSeparator=function(z){return z.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(z.getChars())>=0},ee.prototype._selectLineAt=function(z){var ue=this._bufferService.buffer.getWrappedRangeForLine(z);this._model.selectionStart=[0,ue.first],this._model.selectionEnd=[this._bufferService.cols,ue.last],this._model.selectionStartLength=0},ee=me([de(2,oe.IBufferService),de(3,oe.ICoreService),de(4,ce.IMouseService),de(5,oe.IOptionsService),de(6,ce.IRenderService)],ee)}(te.Disposable);Se.SelectionService=x},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.SelectionModel=void 0;var Be=function(){function E(me){this._bufferService=me,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 me=this.selectionStart[0]+this.selectionStartLength;return me>this._bufferService.cols?[me%this._bufferService.cols,this.selectionStart[1]+Math.floor(me/this._bufferService.cols)]:[me,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 me=this.selectionStart,de=this.selectionEnd;return!(!me||!de)&&(me[1]>de[1]||me[1]===de[1]&&me[0]>de[0])},E.prototype.onTrim=function(me){return this.selectionStart&&(this.selectionStart[1]-=me),this.selectionEnd&&(this.selectionEnd[1]-=me),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},E}();Se.SelectionModel=Be},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.moveToCellSequence=void 0;var Be=be(12);function E(se,ce,oe,re){var ne=se-me(oe,se),te=ce-me(oe,ce);return ie(Math.abs(ne-te)-function(a,y,x){for(var b=0,ee=a-me(x,a),z=y-me(x,y),ue=0;ue<Math.abs(ee-z);ue++){var fe=de(a,y)==="A"?-1:1,ge=x.buffer.lines.get(ee+fe*ue);ge&&ge.isWrapped&&b++}return b}(se,ce,oe),ae(de(se,ce),re))}function me(se,ce){for(var oe=0,re=se.buffer.lines.get(ce),ne=re&&re.isWrapped;ne&&ce>=0&&ce<se.rows;)oe++,ne=(re=se.buffer.lines.get(--ce))&&re.isWrapped;return oe}function de(se,ce){return se>ce?"A":"B"}function le(se,ce,oe,re,ne,te){for(var a=se,y=ce,x="";a!==oe||y!==re;)a+=ne?1:-1,ne&&a>te.cols-1?(x+=te.buffer.translateBufferLineToString(y,!1,se,a),a=0,se=0,y++):!ne&&a<0&&(x+=te.buffer.translateBufferLineToString(y,!1,0,se+1),se=a=te.cols-1,y--);return x+te.buffer.translateBufferLineToString(y,!1,se,a)}function ae(se,ce){var oe=ce?"O":"[";return Be.C0.ESC+oe+se}function ie(se,ce){se=Math.floor(se);for(var oe="",re=0;re<se;re++)oe+=ce;return oe}Se.moveToCellSequence=function(se,ce,oe,re){var ne,te=oe.buffer.x,a=oe.buffer.y;if(!oe.buffer.hasScrollback)return function(x,b,ee,z,ue,fe){return E(b,z,ue,fe).length===0?"":ie(le(x,b,x,b-me(ue,b),!1,ue).length,ae("D",fe))}(te,a,0,ce,oe,re)+E(a,ce,oe,re)+function(x,b,ee,z,ue,fe){var ge;ge=E(b,z,ue,fe).length>0?z-me(ue,z):b;var he=z,pe=function(ye,ve,Pe,we,Ae,_e){var xe;return xe=E(Pe,we,Ae,_e).length>0?we-me(Ae,we):ve,ye<Pe&&xe<=we||ye>=Pe&&xe<we?"C":"D"}(x,b,ee,z,ue,fe);return ie(le(x,ge,ee,he,pe==="C",ue).length,ae(pe,fe))}(te,a,se,ce,oe,re);if(a===ce)return ne=te>se?"D":"C",ie(Math.abs(te-se),ae(ne,re));ne=a>ce?"D":"C";var y=Math.abs(a-ce);return ie(function(x,b){return b.cols-x}(a>ce?se:te,oe)+(y-1)*oe.cols+1+((a>ce?te:se)-1),ae(ne,re))}},function(it,Se,be){"use strict";var Be=this&&this.__decorate||function(le,ae,ie,se){var ce,oe=arguments.length,re=oe<3?ae:se===null?se=Object.getOwnPropertyDescriptor(ae,ie):se;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")re=Reflect.decorate(le,ae,ie,se);else for(var ne=le.length-1;ne>=0;ne--)(ce=le[ne])&&(re=(oe<3?ce(re):oe>3?ce(ae,ie,re):ce(ae,ie))||re);return oe>3&&re&&Object.defineProperty(ae,ie,re),re},E=this&&this.__param||function(le,ae){return function(ie,se){ae(ie,se,le)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.SoundService=void 0;var me=be(1),de=function(){function le(ae){this._optionsService=ae}return Object.defineProperty(le,"audioContext",{get:function(){if(!le._audioContext){var ae=window.AudioContext||window.webkitAudioContext;if(!ae)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;le._audioContext=new ae}return le._audioContext},enumerable:!1,configurable:!0}),le.prototype.playBellSound=function(){var ae=le.audioContext;if(ae){var ie=ae.createBufferSource();ae.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(se){ie.buffer=se,ie.connect(ae.destination),ie.start(0)})}},le.prototype._base64ToArrayBuffer=function(ae){for(var ie=window.atob(ae),se=ie.length,ce=new Uint8Array(se),oe=0;oe<se;oe++)ce[oe]=ie.charCodeAt(oe);return ce.buffer},le.prototype._removeMimeType=function(ae){return ae.split(",")[1]},le=Be([E(0,me.IOptionsService)],le)}();Se.SoundService=de},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(oe,re){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,te){ne.__proto__=te}||function(ne,te){for(var a in te)te.hasOwnProperty(a)&&(ne[a]=te[a])})(oe,re)},function(oe,re){function ne(){this.constructor=oe}Be(oe,re),oe.prototype=re===null?Object.create(re):(ne.prototype=re.prototype,new ne)}),me=this&&this.__decorate||function(oe,re,ne,te){var a,y=arguments.length,x=y<3?re:te===null?te=Object.getOwnPropertyDescriptor(re,ne):te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(oe,re,ne,te);else for(var b=oe.length-1;b>=0;b--)(a=oe[b])&&(x=(y<3?a(x):y>3?a(re,ne,x):a(re,ne))||x);return y>3&&x&&Object.defineProperty(re,ne,x),x},de=this&&this.__param||function(oe,re){return function(ne,te){re(ne,te,oe)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.MouseZoneManager=void 0;var le=be(2),ae=be(7),ie=be(5),se=be(1),ce=function(oe){function re(ne,te,a,y,x,b){var ee=oe.call(this)||this;return ee._element=ne,ee._screenElement=te,ee._bufferService=a,ee._mouseService=y,ee._selectionService=x,ee._optionsService=b,ee._zones=[],ee._areZonesActive=!1,ee._lastHoverCoords=[void 0,void 0],ee._initialSelectionLength=0,ee.register(ae.addDisposableDomListener(ee._element,"mousedown",function(z){return ee._onMouseDown(z)})),ee._mouseMoveListener=function(z){return ee._onMouseMove(z)},ee._mouseLeaveListener=function(z){return ee._onMouseLeave(z)},ee._clickListener=function(z){return ee._onClick(z)},ee}return E(re,oe),re.prototype.dispose=function(){oe.prototype.dispose.call(this),this._deactivate()},re.prototype.add=function(ne){this._zones.push(ne),this._zones.length===1&&this._activate()},re.prototype.clearAll=function(ne,te){if(this._zones.length!==0){ne&&te||(ne=0,te=this._bufferService.rows-1);for(var a=0;a<this._zones.length;a++){var y=this._zones[a];(y.y1>ne&&y.y1<=te+1||y.y2>ne&&y.y2<=te+1||y.y1<ne&&y.y2>te+1)&&(this._currentZone&&this._currentZone===y&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(a--,1))}this._zones.length===0&&this._deactivate()}},re.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))},re.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))},re.prototype._onMouseMove=function(ne){this._lastHoverCoords[0]===ne.pageX&&this._lastHoverCoords[1]===ne.pageY||(this._onHover(ne),this._lastHoverCoords=[ne.pageX,ne.pageY])},re.prototype._onHover=function(ne){var te=this,a=this._findZoneEventAt(ne);a!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),a&&(this._currentZone=a,a.hoverCallback&&a.hoverCallback(ne),this._tooltipTimeout=window.setTimeout(function(){return te._onTooltip(ne)},this._optionsService.options.linkTooltipHoverDuration)))},re.prototype._onTooltip=function(ne){this._tooltipTimeout=void 0;var te=this._findZoneEventAt(ne);te&&te.tooltipCallback&&te.tooltipCallback(ne)},re.prototype._onMouseDown=function(ne){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var te=this._findZoneEventAt(ne);te!=null&&te.willLinkActivate(ne)&&(ne.preventDefault(),ne.stopImmediatePropagation())}},re.prototype._onMouseLeave=function(ne){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},re.prototype._onClick=function(ne){var te=this._findZoneEventAt(ne),a=this._getSelectionLength();te&&a===this._initialSelectionLength&&(te.clickCallback(ne),ne.preventDefault(),ne.stopImmediatePropagation())},re.prototype._getSelectionLength=function(){var ne=this._selectionService.selectionText;return ne?ne.length:0},re.prototype._findZoneEventAt=function(ne){var te=this._mouseService.getCoords(ne,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(te)for(var a=te[0],y=te[1],x=0;x<this._zones.length;x++){var b=this._zones[x];if(b.y1===b.y2){if(y===b.y1&&a>=b.x1&&a<b.x2)return b}else if(y===b.y1&&a>=b.x1||y===b.y2&&a<b.x2||y>b.y1&&y<b.y2)return b}},re=me([de(2,se.IBufferService),de(3,ie.IMouseService),de(4,ie.ISelectionService),de(5,se.IOptionsService)],re)}(le.Disposable);Se.MouseZoneManager=ce},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(re,ne){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,a){te.__proto__=a}||function(te,a){for(var y in a)a.hasOwnProperty(y)&&(te[y]=a[y])})(re,ne)},function(re,ne){function te(){this.constructor=re}Be(re,ne),re.prototype=ne===null?Object.create(ne):(te.prototype=ne.prototype,new te)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.AccessibilityManager=void 0;var me=be(18),de=be(11),le=be(31),ae=be(7),ie=be(2),se=be(32),ce=be(17),oe=function(re){function ne(te,a){var y=re.call(this)||this;y._terminal=te,y._renderService=a,y._liveRegionLineCount=0,y._charsToConsume=[],y._charsToAnnounce="",y._accessibilityTreeRoot=document.createElement("div"),y._accessibilityTreeRoot.classList.add("xterm-accessibility"),y._rowContainer=document.createElement("div"),y._rowContainer.classList.add("xterm-accessibility-tree"),y._rowContainer.setAttribute("role","list"),y._rowElements=[];for(var x=0;x<y._terminal.rows;x++)y._rowElements[x]=y._createAccessibilityTreeNode(),y._rowContainer.appendChild(y._rowElements[x]);if(y._topBoundaryFocusListener=function(b){return y._onBoundaryFocus(b,0)},y._bottomBoundaryFocusListener=function(b){return y._onBoundaryFocus(b,1)},y._rowElements[0].addEventListener("focus",y._topBoundaryFocusListener),y._rowElements[y._rowElements.length-1].addEventListener("focus",y._bottomBoundaryFocusListener),y._refreshRowsDimensions(),y._accessibilityTreeRoot.appendChild(y._rowContainer),y._renderRowsDebouncer=new le.RenderDebouncer(y._renderRows.bind(y)),y._refreshRows(),y._liveRegion=document.createElement("div"),y._liveRegion.classList.add("live-region"),y._liveRegion.setAttribute("aria-live","assertive"),y._accessibilityTreeRoot.appendChild(y._liveRegion),!y._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return y._terminal.element.insertAdjacentElement("afterbegin",y._accessibilityTreeRoot),y.register(y._renderRowsDebouncer),y.register(y._terminal.onResize(function(b){return y._onResize(b.rows)})),y.register(y._terminal.onRender(function(b){return y._refreshRows(b.start,b.end)})),y.register(y._terminal.onScroll(function(){return y._refreshRows()})),y.register(y._terminal.onA11yChar(function(b){return y._onChar(b)})),y.register(y._terminal.onLineFeed(function(){return y._onChar(`
|
|
|
`)})),y.register(y._terminal.onA11yTab(function(b){return y._onTab(b)})),y.register(y._terminal.onKey(function(b){return y._onKey(b.key)})),y.register(y._terminal.onBlur(function(){return y._clearLiveRegion()})),y.register(y._renderService.onDimensionsChange(function(){return y._refreshRowsDimensions()})),y._screenDprMonitor=new se.ScreenDprMonitor,y.register(y._screenDprMonitor),y._screenDprMonitor.setListener(function(){return y._refreshRowsDimensions()}),y.register(ae.addDisposableDomListener(window,"resize",function(){return y._refreshRowsDimensions()})),y}return E(ne,re),ne.prototype.dispose=function(){re.prototype.dispose.call(this),ce.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},ne.prototype._onBoundaryFocus=function(te,a){var y=te.target,x=this._rowElements[a===0?1:this._rowElements.length-2];if(y.getAttribute("aria-posinset")!==(a===0?"1":""+this._terminal.buffer.lines.length)&&te.relatedTarget===x){var b,ee;if(a===0?(b=y,ee=this._rowElements.pop(),this._rowContainer.removeChild(ee)):(b=this._rowElements.shift(),ee=y,this._rowContainer.removeChild(b)),b.removeEventListener("focus",this._topBoundaryFocusListener),ee.removeEventListener("focus",this._bottomBoundaryFocusListener),a===0){var z=this._createAccessibilityTreeNode();this._rowElements.unshift(z),this._rowContainer.insertAdjacentElement("afterbegin",z)}else z=this._createAccessibilityTreeNode(),this._rowElements.push(z),this._rowContainer.appendChild(z);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(a===0?-1:1),this._rowElements[a===0?1:this._rowElements.length-2].focus(),te.preventDefault(),te.stopImmediatePropagation()}},ne.prototype._onResize=function(te){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var a=this._rowContainer.children.length;a<this._terminal.rows;a++)this._rowElements[a]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[a]);for(;this._rowElements.length>te;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},ne.prototype._createAccessibilityTreeNode=function(){var te=document.createElement("div");return te.setAttribute("role","listitem"),te.tabIndex=-1,this._refreshRowDimensions(te),te},ne.prototype._onTab=function(te){for(var a=0;a<te;a++)this._onChar(" ")},ne.prototype._onChar=function(te){var a=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==te&&(this._charsToAnnounce+=te):this._charsToAnnounce+=te,te===`
|
|
|
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=me.tooMuchOutput)),de.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){a._accessibilityTreeRoot.appendChild(a._liveRegion)},0))},ne.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,de.isMac&&ce.removeElementFromParent(this._liveRegion)},ne.prototype._onKey=function(te){this._clearLiveRegion(),this._charsToConsume.push(te)},ne.prototype._refreshRows=function(te,a){this._renderRowsDebouncer.refresh(te,a,this._terminal.rows)},ne.prototype._renderRows=function(te,a){for(var y=this._terminal.buffer,x=y.lines.length.toString(),b=te;b<=a;b++){var ee=y.translateBufferLineToString(y.ydisp+b,!0),z=(y.ydisp+b+1).toString(),ue=this._rowElements[b];ue&&(ee.length===0?ue.innerHTML=" ":ue.textContent=ee,ue.setAttribute("aria-posinset",z),ue.setAttribute("aria-setsize",x))}this._announceCharacters()},ne.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var te=0;te<this._terminal.rows;te++)this._refreshRowDimensions(this._rowElements[te])}},ne.prototype._refreshRowDimensions=function(te){te.style.height=this._renderService.dimensions.actualCellHeight+"px"},ne.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},ne}(ie.Disposable);Se.AccessibilityManager=oe},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(y,x){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,ee){b.__proto__=ee}||function(b,ee){for(var z in ee)ee.hasOwnProperty(z)&&(b[z]=ee[z])})(y,x)},function(y,x){function b(){this.constructor=y}Be(y,x),y.prototype=x===null?Object.create(x):(b.prototype=x.prototype,new b)}),me=this&&this.__decorate||function(y,x,b,ee){var z,ue=arguments.length,fe=ue<3?x:ee===null?ee=Object.getOwnPropertyDescriptor(x,b):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")fe=Reflect.decorate(y,x,b,ee);else for(var ge=y.length-1;ge>=0;ge--)(z=y[ge])&&(fe=(ue<3?z(fe):ue>3?z(x,b,fe):z(x,b))||fe);return ue>3&&fe&&Object.defineProperty(x,b,fe),fe},de=this&&this.__param||function(y,x){return function(b,ee){x(b,ee,y)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.DomRenderer=void 0;var le=be(58),ae=be(9),ie=be(2),se=be(5),ce=be(1),oe=be(0),re=be(10),ne=be(17),te=1,a=function(y){function x(b,ee,z,ue,fe,ge,he,pe,ye){var ve=y.call(this)||this;return ve._colors=b,ve._element=ee,ve._screenElement=z,ve._viewportElement=ue,ve._linkifier=fe,ve._linkifier2=ge,ve._charSizeService=he,ve._optionsService=pe,ve._bufferService=ye,ve._terminalClass=te++,ve._rowElements=[],ve._rowContainer=document.createElement("div"),ve._rowContainer.classList.add("xterm-rows"),ve._rowContainer.style.lineHeight="normal",ve._rowContainer.setAttribute("aria-hidden","true"),ve._refreshRowElements(ve._bufferService.cols,ve._bufferService.rows),ve._selectionContainer=document.createElement("div"),ve._selectionContainer.classList.add("xterm-selection"),ve._selectionContainer.setAttribute("aria-hidden","true"),ve.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},ve._updateDimensions(),ve._injectCss(),ve._rowFactory=new le.DomRendererRowFactory(document,ve._optionsService,ve._colors),ve._element.classList.add("xterm-dom-renderer-owner-"+ve._terminalClass),ve._screenElement.appendChild(ve._rowContainer),ve._screenElement.appendChild(ve._selectionContainer),ve._linkifier.onShowLinkUnderline(function(Pe){return ve._onLinkHover(Pe)}),ve._linkifier.onHideLinkUnderline(function(Pe){return ve._onLinkLeave(Pe)}),ve._linkifier2.onShowLinkUnderline(function(Pe){return ve._onLinkHover(Pe)}),ve._linkifier2.onHideLinkUnderline(function(Pe){return ve._onLinkLeave(Pe)}),ve}return E(x,y),Object.defineProperty(x.prototype,"onRequestRedraw",{get:function(){return new oe.EventEmitter().event},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),ne.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),y.prototype.dispose.call(this)},x.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var b=0,ee=this._rowElements;b<ee.length;b++){var z=ee[b];z.style.width=this.dimensions.canvasWidth+"px",z.style.height=this.dimensions.actualCellHeight+"px",z.style.lineHeight=this.dimensions.actualCellHeight+"px",z.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var ue=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=ue,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},x.prototype.setColors=function(b){this._colors=b,this._injectCss()},x.prototype._injectCss=function(){var b=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var ee=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";ee+=this._terminalSelector+" span:not(."+le.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+le.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+le.ITALIC_CLASS+" { font-style: italic;}",ee+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",ee+="@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+"; }}",ee+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+le.CURSOR_CLASS+"."+le.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+le.CURSOR_CLASS+"."+le.CURSOR_BLINK_CLASS+":not(."+le.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+le.CURSOR_CLASS+"."+le.CURSOR_BLINK_CLASS+"."+le.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+le.CURSOR_CLASS+"."+le.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+le.CURSOR_CLASS+"."+le.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+le.CURSOR_CLASS+"."+le.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",ee+=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(z,ue){ee+=b._terminalSelector+" .xterm-fg-"+ue+" { color: "+z.css+"; }"+b._terminalSelector+" .xterm-bg-"+ue+" { background-color: "+z.css+"; }"}),ee+=this._terminalSelector+" .xterm-fg-"+ae.INVERTED_DEFAULT_COLOR+" { color: "+re.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+ae.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=ee},x.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},x.prototype._refreshRowElements=function(b,ee){for(var z=this._rowElements.length;z<=ee;z++){var ue=document.createElement("div");this._rowContainer.appendChild(ue),this._rowElements.push(ue)}for(;this._rowElements.length>ee;)this._rowContainer.removeChild(this._rowElements.pop())},x.prototype.onResize=function(b,ee){this._refreshRowElements(b,ee),this._updateDimensions()},x.prototype.onCharSizeChanged=function(){this._updateDimensions()},x.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},x.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},x.prototype.onSelectionChanged=function(b,ee,z){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(b&&ee){var ue=b[1]-this._bufferService.buffer.ydisp,fe=ee[1]-this._bufferService.buffer.ydisp,ge=Math.max(ue,0),he=Math.min(fe,this._bufferService.rows-1);if(!(ge>=this._bufferService.rows||he<0)){var pe=document.createDocumentFragment();if(z)pe.appendChild(this._createSelectionElement(ge,b[0],ee[0],he-ge+1));else{var ye=ue===ge?b[0]:0,ve=ge===he?ee[0]:this._bufferService.cols;pe.appendChild(this._createSelectionElement(ge,ye,ve));var Pe=he-ge-1;if(pe.appendChild(this._createSelectionElement(ge+1,0,this._bufferService.cols,Pe)),ge!==he){var we=fe===he?ee[0]:this._bufferService.cols;pe.appendChild(this._createSelectionElement(he,0,we))}}this._selectionContainer.appendChild(pe)}}},x.prototype._createSelectionElement=function(b,ee,z,ue){ue===void 0&&(ue=1);var fe=document.createElement("div");return fe.style.height=ue*this.dimensions.actualCellHeight+"px",fe.style.top=b*this.dimensions.actualCellHeight+"px",fe.style.left=ee*this.dimensions.actualCellWidth+"px",fe.style.width=this.dimensions.actualCellWidth*(z-ee)+"px",fe},x.prototype.onCursorMove=function(){},x.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},x.prototype.clear=function(){for(var b=0,ee=this._rowElements;b<ee.length;b++)ee[b].innerHTML=""},x.prototype.renderRows=function(b,ee){for(var z=this._bufferService.buffer.ybase+this._bufferService.buffer.y,ue=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),fe=this._optionsService.options.cursorBlink,ge=b;ge<=ee;ge++){var he=this._rowElements[ge];he.innerHTML="";var pe=ge+this._bufferService.buffer.ydisp,ye=this._bufferService.buffer.lines.get(pe),ve=this._optionsService.options.cursorStyle;he.appendChild(this._rowFactory.createRow(ye,pe===z,ve,ue,fe,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(x.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),x.prototype.registerCharacterJoiner=function(b){return-1},x.prototype.deregisterCharacterJoiner=function(b){return!1},x.prototype._onLinkHover=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!0)},x.prototype._onLinkLeave=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!1)},x.prototype._setCellUnderline=function(b,ee,z,ue,fe,ge){for(;b!==ee||z!==ue;){var he=this._rowElements[z];if(!he)return;var pe=he.children[b];pe&&(pe.style.textDecoration=ge?"underline":"none"),++b>=fe&&(b=0,z++)}},x=me([de(6,se.ICharSizeService),de(7,ce.IOptionsService),de(8,ce.IBufferService)],x)}(ie.Disposable);Se.DomRenderer=a},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.DomRendererRowFactory=Se.CURSOR_STYLE_UNDERLINE_CLASS=Se.CURSOR_STYLE_BAR_CLASS=Se.CURSOR_STYLE_BLOCK_CLASS=Se.CURSOR_BLINK_CLASS=Se.CURSOR_CLASS=Se.UNDERLINE_CLASS=Se.ITALIC_CLASS=Se.DIM_CLASS=Se.BOLD_CLASS=void 0;var Be=be(9),E=be(3),me=be(4),de=be(10);Se.BOLD_CLASS="xterm-bold",Se.DIM_CLASS="xterm-dim",Se.ITALIC_CLASS="xterm-italic",Se.UNDERLINE_CLASS="xterm-underline",Se.CURSOR_CLASS="xterm-cursor",Se.CURSOR_BLINK_CLASS="xterm-cursor-blink",Se.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",Se.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",Se.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var le=function(){function ie(se,ce,oe){this._document=se,this._optionsService=ce,this._colors=oe,this._workCell=new me.CellData}return ie.prototype.setColors=function(se){this._colors=se},ie.prototype.createRow=function(se,ce,oe,re,ne,te,a){for(var y=this._document.createDocumentFragment(),x=0,b=Math.min(se.length,a)-1;b>=0;b--)if(se.loadCell(b,this._workCell).getCode()!==E.NULL_CELL_CODE||ce&&b===re){x=b+1;break}for(b=0;b<x;b++){se.loadCell(b,this._workCell);var ee=this._workCell.getWidth();if(ee!==0){var z=this._document.createElement("span");if(ee>1&&(z.style.width=te*ee+"px"),ce&&b===re)switch(z.classList.add(Se.CURSOR_CLASS),ne&&z.classList.add(Se.CURSOR_BLINK_CLASS),oe){case"bar":z.classList.add(Se.CURSOR_STYLE_BAR_CLASS);break;case"underline":z.classList.add(Se.CURSOR_STYLE_UNDERLINE_CLASS);break;default:z.classList.add(Se.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&z.classList.add(Se.BOLD_CLASS),this._workCell.isItalic()&&z.classList.add(Se.ITALIC_CLASS),this._workCell.isDim()&&z.classList.add(Se.DIM_CLASS),this._workCell.isUnderline()&&z.classList.add(Se.UNDERLINE_CLASS),this._workCell.isInvisible()?z.textContent=E.WHITESPACE_CELL_CHAR:z.textContent=this._workCell.getChars()||E.WHITESPACE_CELL_CHAR;var ue=this._workCell.getFgColor(),fe=this._workCell.getFgColorMode(),ge=this._workCell.getBgColor(),he=this._workCell.getBgColorMode(),pe=!!this._workCell.isInverse();if(pe){var ye=ue;ue=ge,ge=ye;var ve=fe;fe=he,he=ve}switch(fe){case 16777216:case 33554432:this._workCell.isBold()&&ue<8&&this._optionsService.options.drawBoldTextInBrightColors&&(ue+=8),this._applyMinimumContrast(z,this._colors.background,this._colors.ansi[ue])||z.classList.add("xterm-fg-"+ue);break;case 50331648:var Pe=de.rgba.toColor(ue>>16&255,ue>>8&255,255&ue);this._applyMinimumContrast(z,this._colors.background,Pe)||this._addStyle(z,"color:#"+ae(ue.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(z,this._colors.background,this._colors.foreground)||pe&&z.classList.add("xterm-fg-"+Be.INVERTED_DEFAULT_COLOR)}switch(he){case 16777216:case 33554432:z.classList.add("xterm-bg-"+ge);break;case 50331648:this._addStyle(z,"background-color:#"+ae(ge.toString(16),"0",6));break;case 0:default:pe&&z.classList.add("xterm-bg-"+Be.INVERTED_DEFAULT_COLOR)}y.appendChild(z)}}return y},ie.prototype._applyMinimumContrast=function(se,ce,oe){if(this._optionsService.options.minimumContrastRatio===1)return!1;var re=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return re===void 0&&(re=de.color.ensureContrastRatio(ce,oe,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,re!=null?re:null)),!!re&&(this._addStyle(se,"color:"+re.css),!0)},ie.prototype._addStyle=function(se,ce){se.setAttribute("style",""+(se.getAttribute("style")||"")+ce+";")},ie}();function ae(ie,se,ce){for(;ie.length<ce;)ie=se+ie;return ie}Se.DomRendererRowFactory=le},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.evaluateKeyboardEvent=void 0;var Be=be(12),E={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:["'",'"']};Se.evaluateKeyboardEvent=function(me,de,le,ae){var ie={type:0,cancel:!1,key:void 0},se=(me.shiftKey?1:0)|(me.altKey?2:0)|(me.ctrlKey?4:0)|(me.metaKey?8:0);switch(me.keyCode){case 0:me.key==="UIKeyInputUpArrow"?ie.key=de?Be.C0.ESC+"OA":Be.C0.ESC+"[A":me.key==="UIKeyInputLeftArrow"?ie.key=de?Be.C0.ESC+"OD":Be.C0.ESC+"[D":me.key==="UIKeyInputRightArrow"?ie.key=de?Be.C0.ESC+"OC":Be.C0.ESC+"[C":me.key==="UIKeyInputDownArrow"&&(ie.key=de?Be.C0.ESC+"OB":Be.C0.ESC+"[B");break;case 8:if(me.shiftKey){ie.key=Be.C0.BS;break}if(me.altKey){ie.key=Be.C0.ESC+Be.C0.DEL;break}ie.key=Be.C0.DEL;break;case 9:if(me.shiftKey){ie.key=Be.C0.ESC+"[Z";break}ie.key=Be.C0.HT,ie.cancel=!0;break;case 13:ie.key=me.altKey?Be.C0.ESC+Be.C0.CR:Be.C0.CR,ie.cancel=!0;break;case 27:ie.key=Be.C0.ESC,me.altKey&&(ie.key=Be.C0.ESC+Be.C0.ESC),ie.cancel=!0;break;case 37:if(me.metaKey)break;se?(ie.key=Be.C0.ESC+"[1;"+(se+1)+"D",ie.key===Be.C0.ESC+"[1;3D"&&(ie.key=Be.C0.ESC+(le?"b":"[1;5D"))):ie.key=de?Be.C0.ESC+"OD":Be.C0.ESC+"[D";break;case 39:if(me.metaKey)break;se?(ie.key=Be.C0.ESC+"[1;"+(se+1)+"C",ie.key===Be.C0.ESC+"[1;3C"&&(ie.key=Be.C0.ESC+(le?"f":"[1;5C"))):ie.key=de?Be.C0.ESC+"OC":Be.C0.ESC+"[C";break;case 38:if(me.metaKey)break;se?(ie.key=Be.C0.ESC+"[1;"+(se+1)+"A",le||ie.key!==Be.C0.ESC+"[1;3A"||(ie.key=Be.C0.ESC+"[1;5A")):ie.key=de?Be.C0.ESC+"OA":Be.C0.ESC+"[A";break;case 40:if(me.metaKey)break;se?(ie.key=Be.C0.ESC+"[1;"+(se+1)+"B",le||ie.key!==Be.C0.ESC+"[1;3B"||(ie.key=Be.C0.ESC+"[1;5B")):ie.key=de?Be.C0.ESC+"OB":Be.C0.ESC+"[B";break;case 45:me.shiftKey||me.ctrlKey||(ie.key=Be.C0.ESC+"[2~");break;case 46:ie.key=se?Be.C0.ESC+"[3;"+(se+1)+"~":Be.C0.ESC+"[3~";break;case 36:ie.key=se?Be.C0.ESC+"[1;"+(se+1)+"H":de?Be.C0.ESC+"OH":Be.C0.ESC+"[H";break;case 35:ie.key=se?Be.C0.ESC+"[1;"+(se+1)+"F":de?Be.C0.ESC+"OF":Be.C0.ESC+"[F";break;case 33:me.shiftKey?ie.type=2:ie.key=Be.C0.ESC+"[5~";break;case 34:me.shiftKey?ie.type=3:ie.key=Be.C0.ESC+"[6~";break;case 112:ie.key=se?Be.C0.ESC+"[1;"+(se+1)+"P":Be.C0.ESC+"OP";break;case 113:ie.key=se?Be.C0.ESC+"[1;"+(se+1)+"Q":Be.C0.ESC+"OQ";break;case 114:ie.key=se?Be.C0.ESC+"[1;"+(se+1)+"R":Be.C0.ESC+"OR";break;case 115:ie.key=se?Be.C0.ESC+"[1;"+(se+1)+"S":Be.C0.ESC+"OS";break;case 116:ie.key=se?Be.C0.ESC+"[15;"+(se+1)+"~":Be.C0.ESC+"[15~";break;case 117:ie.key=se?Be.C0.ESC+"[17;"+(se+1)+"~":Be.C0.ESC+"[17~";break;case 118:ie.key=se?Be.C0.ESC+"[18;"+(se+1)+"~":Be.C0.ESC+"[18~";break;case 119:ie.key=se?Be.C0.ESC+"[19;"+(se+1)+"~":Be.C0.ESC+"[19~";break;case 120:ie.key=se?Be.C0.ESC+"[20;"+(se+1)+"~":Be.C0.ESC+"[20~";break;case 121:ie.key=se?Be.C0.ESC+"[21;"+(se+1)+"~":Be.C0.ESC+"[21~";break;case 122:ie.key=se?Be.C0.ESC+"[23;"+(se+1)+"~":Be.C0.ESC+"[23~";break;case 123:ie.key=se?Be.C0.ESC+"[24;"+(se+1)+"~":Be.C0.ESC+"[24~";break;default:if(!me.ctrlKey||me.shiftKey||me.altKey||me.metaKey)if(le&&!ae||!me.altKey||me.metaKey)le&&!me.altKey&&!me.ctrlKey&&me.metaKey?me.keyCode===65&&(ie.type=1):me.key&&!me.ctrlKey&&!me.altKey&&!me.metaKey&&me.keyCode>=48&&me.key.length===1?ie.key=me.key:me.key&&me.ctrlKey&&me.key==="_"&&(ie.key=Be.C0.US);else{var ce=E[me.keyCode],oe=ce&&ce[me.shiftKey?1:0];if(oe)ie.key=Be.C0.ESC+oe;else if(me.keyCode>=65&&me.keyCode<=90){var re=me.ctrlKey?me.keyCode-64:me.keyCode+32;ie.key=Be.C0.ESC+String.fromCharCode(re)}}else me.keyCode>=65&&me.keyCode<=90?ie.key=String.fromCharCode(me.keyCode-64):me.keyCode===32?ie.key=Be.C0.NUL:me.keyCode>=51&&me.keyCode<=55?ie.key=String.fromCharCode(me.keyCode-51+27):me.keyCode===56?ie.key=Be.C0.DEL:me.keyCode===219?ie.key=Be.C0.ESC:me.keyCode===220?ie.key=Be.C0.FS:me.keyCode===221&&(ie.key=Be.C0.GS)}return ie}},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(te,a){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,x){y.__proto__=x}||function(y,x){for(var b in x)x.hasOwnProperty(b)&&(y[b]=x[b])})(te,a)},function(te,a){function y(){this.constructor=te}Be(te,a),te.prototype=a===null?Object.create(a):(y.prototype=a.prototype,new y)}),me=this&&this.__decorate||function(te,a,y,x){var b,ee=arguments.length,z=ee<3?a:x===null?x=Object.getOwnPropertyDescriptor(a,y):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")z=Reflect.decorate(te,a,y,x);else for(var ue=te.length-1;ue>=0;ue--)(b=te[ue])&&(z=(ee<3?b(z):ee>3?b(a,y,z):b(a,y))||z);return ee>3&&z&&Object.defineProperty(a,y,z),z},de=this&&this.__param||function(te,a){return function(y,x){a(y,x,te)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.RenderService=void 0;var le=be(31),ae=be(0),ie=be(2),se=be(32),ce=be(7),oe=be(1),re=be(5),ne=function(te){function a(y,x,b,ee,z,ue){var fe=te.call(this)||this;if(fe._renderer=y,fe._rowCount=x,fe._isPaused=!1,fe._needsFullRefresh=!1,fe._isNextRenderRedrawOnly=!0,fe._needsSelectionRefresh=!1,fe._canvasWidth=0,fe._canvasHeight=0,fe._selectionState={start:void 0,end:void 0,columnSelectMode:!1},fe._onDimensionsChange=new ae.EventEmitter,fe._onRender=new ae.EventEmitter,fe._onRefreshRequest=new ae.EventEmitter,fe.register({dispose:function(){return fe._renderer.dispose()}}),fe._renderDebouncer=new le.RenderDebouncer(function(he,pe){return fe._renderRows(he,pe)}),fe.register(fe._renderDebouncer),fe._screenDprMonitor=new se.ScreenDprMonitor,fe._screenDprMonitor.setListener(function(){return fe.onDevicePixelRatioChange()}),fe.register(fe._screenDprMonitor),fe.register(ue.onResize(function(he){return fe._fullRefresh()})),fe.register(ee.onOptionChange(function(){return fe._renderer.onOptionsChanged()})),fe.register(z.onCharSizeChange(function(){return fe.onCharSizeChanged()})),fe._renderer.onRequestRedraw(function(he){return fe.refreshRows(he.start,he.end,!0)}),fe.register(ce.addDisposableDomListener(window,"resize",function(){return fe.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var ge=new IntersectionObserver(function(he){return fe._onIntersectionChange(he[he.length-1])},{threshold:0});ge.observe(b),fe.register({dispose:function(){return ge.disconnect()}})}return fe}return E(a,te),Object.defineProperty(a.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),a.prototype._onIntersectionChange=function(y){this._isPaused=y.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},a.prototype.refreshRows=function(y,x,b){b===void 0&&(b=!1),this._isPaused?this._needsFullRefresh=!0:(b||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(y,x,this._rowCount))},a.prototype._renderRows=function(y,x){this._renderer.renderRows(y,x),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:y,end:x}),this._isNextRenderRedrawOnly=!0},a.prototype.resize=function(y,x){this._rowCount=x,this._fireOnCanvasResize()},a.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},a.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},a.prototype.dispose=function(){te.prototype.dispose.call(this)},a.prototype.setRenderer=function(y){var x=this;this._renderer.dispose(),this._renderer=y,this._renderer.onRequestRedraw(function(b){return x.refreshRows(b.start,b.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},a.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},a.prototype.setColors=function(y){this._renderer.setColors(y),this._fullRefresh()},a.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},a.prototype.onResize=function(y,x){this._renderer.onResize(y,x),this._fullRefresh()},a.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},a.prototype.onBlur=function(){this._renderer.onBlur()},a.prototype.onFocus=function(){this._renderer.onFocus()},a.prototype.onSelectionChanged=function(y,x,b){this._selectionState.start=y,this._selectionState.end=x,this._selectionState.columnSelectMode=b,this._renderer.onSelectionChanged(y,x,b)},a.prototype.onCursorMove=function(){this._renderer.onCursorMove()},a.prototype.clear=function(){this._renderer.clear()},a.prototype.registerCharacterJoiner=function(y){return this._renderer.registerCharacterJoiner(y)},a.prototype.deregisterCharacterJoiner=function(y){return this._renderer.deregisterCharacterJoiner(y)},a=me([de(3,oe.IOptionsService),de(4,re.ICharSizeService),de(5,oe.IBufferService)],a)}(ie.Disposable);Se.RenderService=ne},function(it,Se,be){"use strict";var Be=this&&this.__decorate||function(ie,se,ce,oe){var re,ne=arguments.length,te=ne<3?se:oe===null?oe=Object.getOwnPropertyDescriptor(se,ce):oe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")te=Reflect.decorate(ie,se,ce,oe);else for(var a=ie.length-1;a>=0;a--)(re=ie[a])&&(te=(ne<3?re(te):ne>3?re(se,ce,te):re(se,ce))||te);return ne>3&&te&&Object.defineProperty(se,ce,te),te},E=this&&this.__param||function(ie,se){return function(ce,oe){se(ce,oe,ie)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.CharSizeService=void 0;var me=be(1),de=be(0),le=function(){function ie(se,ce,oe){this._optionsService=oe,this.width=0,this.height=0,this._onCharSizeChange=new de.EventEmitter,this._measureStrategy=new ae(se,ce,this._optionsService)}return Object.defineProperty(ie.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),ie.prototype.measure=function(){var se=this._measureStrategy.measure();se.width===this.width&&se.height===this.height||(this.width=se.width,this.height=se.height,this._onCharSizeChange.fire())},ie=Be([E(2,me.IOptionsService)],ie)}();Se.CharSizeService=le;var ae=function(){function ie(se,ce,oe){this._document=se,this._parentElement=ce,this._optionsService=oe,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 ie.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var se=this._measureElement.getBoundingClientRect();return se.width!==0&&se.height!==0&&(this._result.width=se.width,this._result.height=Math.ceil(se.height)),this._result},ie}()},function(it,Se,be){"use strict";var Be=this&&this.__decorate||function(ae,ie,se,ce){var oe,re=arguments.length,ne=re<3?ie:ce===null?ce=Object.getOwnPropertyDescriptor(ie,se):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ne=Reflect.decorate(ae,ie,se,ce);else for(var te=ae.length-1;te>=0;te--)(oe=ae[te])&&(ne=(re<3?oe(ne):re>3?oe(ie,se,ne):oe(ie,se))||ne);return re>3&&ne&&Object.defineProperty(ie,se,ne),ne},E=this&&this.__param||function(ae,ie){return function(se,ce){ie(se,ce,ae)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.MouseService=void 0;var me=be(5),de=be(30),le=function(){function ae(ie,se){this._renderService=ie,this._charSizeService=se}return ae.prototype.getCoords=function(ie,se,ce,oe,re){return de.getCoords(ie,se,ce,oe,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,re)},ae.prototype.getRawByteCoords=function(ie,se,ce,oe){var re=this.getCoords(ie,se,ce,oe);return de.getRawByteCoords(re)},ae=Be([E(0,me.IRenderService),E(1,me.ICharSizeService)],ae)}();Se.MouseService=le},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(oe,re){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,te){ne.__proto__=te}||function(ne,te){for(var a in te)te.hasOwnProperty(a)&&(ne[a]=te[a])})(oe,re)},function(oe,re){function ne(){this.constructor=oe}Be(oe,re),oe.prototype=re===null?Object.create(re):(ne.prototype=re.prototype,new ne)}),me=this&&this.__decorate||function(oe,re,ne,te){var a,y=arguments.length,x=y<3?re:te===null?te=Object.getOwnPropertyDescriptor(re,ne):te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(oe,re,ne,te);else for(var b=oe.length-1;b>=0;b--)(a=oe[b])&&(x=(y<3?a(x):y>3?a(re,ne,x):a(re,ne))||x);return y>3&&x&&Object.defineProperty(re,ne,x),x},de=this&&this.__param||function(oe,re){return function(ne,te){re(ne,te,oe)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.Linkifier2=void 0;var le=be(1),ae=be(0),ie=be(2),se=be(7),ce=function(oe){function re(ne){var te=oe.call(this)||this;return te._bufferService=ne,te._linkProviders=[],te._linkCacheDisposables=[],te._isMouseOut=!0,te._activeLine=-1,te._onShowLinkUnderline=te.register(new ae.EventEmitter),te._onHideLinkUnderline=te.register(new ae.EventEmitter),te.register(ie.getDisposeArrayDisposable(te._linkCacheDisposables)),te}return E(re,oe),Object.defineProperty(re.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),re.prototype.registerLinkProvider=function(ne){var te=this;return this._linkProviders.push(ne),{dispose:function(){var a=te._linkProviders.indexOf(ne);a!==-1&&te._linkProviders.splice(a,1)}}},re.prototype.attachToDom=function(ne,te,a){var y=this;this._element=ne,this._mouseService=te,this._renderService=a,this.register(se.addDisposableDomListener(this._element,"mouseleave",function(){y._isMouseOut=!0,y._clearCurrentLink()})),this.register(se.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(se.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},re.prototype._onMouseMove=function(ne){if(this._lastMouseEvent=ne,this._element&&this._mouseService){var te=this._positionFromMouseEvent(ne,this._element,this._mouseService);if(te){this._isMouseOut=!1;for(var a=ne.composedPath(),y=0;y<a.length;y++){var x=a[y];if(x.classList.contains("xterm"))break;if(x.classList.contains("xterm-hover"))return}this._lastBufferCell&&te.x===this._lastBufferCell.x&&te.y===this._lastBufferCell.y||(this._onHover(te),this._lastBufferCell=te)}}},re.prototype._onHover=function(ne){if(this._activeLine!==ne.y)return this._clearCurrentLink(),void this._askForLink(ne,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,ne)||(this._clearCurrentLink(),this._askForLink(ne,!0))},re.prototype._askForLink=function(ne,te){var a=this;this._activeProviderReplies&&te||(this._activeProviderReplies=new Map,this._activeLine=ne.y);var y=!1;this._linkProviders.forEach(function(x,b){var ee;te?!((ee=a._activeProviderReplies)===null||ee===void 0)&&ee.get(b)&&(y=a._checkLinkProviderResult(b,ne,y)):x.provideLinks(ne.y,function(z){var ue,fe;if(!a._isMouseOut){var ge=z==null?void 0:z.map(function(he){return{link:he}});(ue=a._activeProviderReplies)===null||ue===void 0||ue.set(b,ge),y=a._checkLinkProviderResult(b,ne,y),((fe=a._activeProviderReplies)===null||fe===void 0?void 0:fe.size)===a._linkProviders.length&&a._removeIntersectingLinks(ne.y,a._activeProviderReplies)}})})},re.prototype._removeIntersectingLinks=function(ne,te){for(var a=new Set,y=0;y<te.size;y++){var x=te.get(y);if(x)for(var b=0;b<x.length;b++)for(var ee=x[b],z=ee.link.range.start.y<ne?0:ee.link.range.start.x,ue=ee.link.range.end.y>ne?this._bufferService.cols:ee.link.range.end.x,fe=z;fe<=ue;fe++){if(a.has(fe)){x.splice(b--,1);break}a.add(fe)}}},re.prototype._checkLinkProviderResult=function(ne,te,a){var y,x=this;if(!this._activeProviderReplies)return a;for(var b=this._activeProviderReplies.get(ne),ee=!1,z=0;z<ne;z++)this._activeProviderReplies.has(z)&&!this._activeProviderReplies.get(z)||(ee=!0);if(!ee&&b){var ue=b.find(function(ge){return x._linkAtPosition(ge.link,te)});ue&&(a=!0,this._handleNewLink(ue))}if(this._activeProviderReplies.size===this._linkProviders.length&&!a)for(z=0;z<this._activeProviderReplies.size;z++){var fe=(y=this._activeProviderReplies.get(z))===null||y===void 0?void 0:y.find(function(ge){return x._linkAtPosition(ge.link,te)});if(fe){a=!0,this._handleNewLink(fe);break}}return a},re.prototype._onClick=function(ne){if(this._element&&this._mouseService&&this._currentLink){var te=this._positionFromMouseEvent(ne,this._element,this._mouseService);te&&this._linkAtPosition(this._currentLink.link,te)&&this._currentLink.link.activate(ne,this._currentLink.link.text)}},re.prototype._clearCurrentLink=function(ne,te){this._element&&this._currentLink&&this._lastMouseEvent&&(!ne||!te||this._currentLink.link.range.start.y>=ne&&this._currentLink.link.range.end.y<=te)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,ie.disposeArray(this._linkCacheDisposables))},re.prototype._handleNewLink=function(ne){var te=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var a=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);a&&this._linkAtPosition(ne.link,a)&&(this._currentLink=ne,this._currentLink.state={decorations:{underline:ne.link.decorations===void 0||ne.link.decorations.underline,pointerCursor:ne.link.decorations===void 0||ne.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,ne.link,this._lastMouseEvent),ne.link.decorations={},Object.defineProperties(ne.link.decorations,{pointerCursor:{get:function(){var y,x;return(x=(y=te._currentLink)===null||y===void 0?void 0:y.state)===null||x===void 0?void 0:x.decorations.pointerCursor},set:function(y){var x,b;!((x=te._currentLink)===null||x===void 0)&&x.state&&te._currentLink.state.decorations.pointerCursor!==y&&(te._currentLink.state.decorations.pointerCursor=y,te._currentLink.state.isHovered&&((b=te._element)===null||b===void 0||b.classList.toggle("xterm-cursor-pointer",y)))}},underline:{get:function(){var y,x;return(x=(y=te._currentLink)===null||y===void 0?void 0:y.state)===null||x===void 0?void 0:x.decorations.underline},set:function(y){var x,b,ee;!((x=te._currentLink)===null||x===void 0)&&x.state&&((ee=(b=te._currentLink)===null||b===void 0?void 0:b.state)===null||ee===void 0?void 0:ee.decorations.underline)!==y&&(te._currentLink.state.decorations.underline=y,te._currentLink.state.isHovered&&te._fireUnderlineEvent(ne.link,y))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(y){var x=y.start===0?0:y.start+1+te._bufferService.buffer.ydisp;te._clearCurrentLink(x,y.end+1+te._bufferService.buffer.ydisp)})))}},re.prototype._linkHover=function(ne,te,a){var y;!((y=this._currentLink)===null||y===void 0)&&y.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(te,!0),this._currentLink.state.decorations.pointerCursor&&ne.classList.add("xterm-cursor-pointer")),te.hover&&te.hover(a,te.text)},re.prototype._fireUnderlineEvent=function(ne,te){var a=ne.range,y=this._bufferService.buffer.ydisp,x=this._createLinkUnderlineEvent(a.start.x-1,a.start.y-y-1,a.end.x,a.end.y-y-1,void 0);(te?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(x)},re.prototype._linkLeave=function(ne,te,a){var y;!((y=this._currentLink)===null||y===void 0)&&y.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(te,!1),this._currentLink.state.decorations.pointerCursor&&ne.classList.remove("xterm-cursor-pointer")),te.leave&&te.leave(a,te.text)},re.prototype._linkAtPosition=function(ne,te){var a=ne.range.start.y===ne.range.end.y,y=ne.range.start.y<te.y,x=ne.range.end.y>te.y;return(a&&ne.range.start.x<=te.x&&ne.range.end.x>=te.x||y&&ne.range.end.x>=te.x||x&&ne.range.start.x<=te.x||y&&x)&&ne.range.start.y<=te.y&&ne.range.end.y>=te.y},re.prototype._positionFromMouseEvent=function(ne,te,a){var y=a.getCoords(ne,te,this._bufferService.cols,this._bufferService.rows);if(y)return{x:y[0],y:y[1]+this._bufferService.buffer.ydisp}},re.prototype._createLinkUnderlineEvent=function(ne,te,a,y,x){return{x1:ne,y1:te,x2:a,y2:y,cols:this._bufferService.cols,fg:x}},re=me([de(0,le.IBufferService)],re)}(ie.Disposable);Se.Linkifier2=ce},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.CoreBrowserService=void 0;var Be=function(){function E(me){this._textarea=me}return Object.defineProperty(E.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),E}();Se.CoreBrowserService=Be},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(z,ue){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,ge){fe.__proto__=ge}||function(fe,ge){for(var he in ge)ge.hasOwnProperty(he)&&(fe[he]=ge[he])})(z,ue)},function(z,ue){function fe(){this.constructor=z}Be(z,ue),z.prototype=ue===null?Object.create(ue):(fe.prototype=ue.prototype,new fe)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.CoreTerminal=void 0;var me=be(2),de=be(1),le=be(66),ae=be(67),ie=be(68),se=be(74),ce=be(75),oe=be(0),re=be(76),ne=be(77),te=be(78),a=be(80),y=be(81),x=be(19),b=be(82),ee=function(z){function ue(fe){var ge=z.call(this)||this;return ge._onBinary=new oe.EventEmitter,ge._onData=new oe.EventEmitter,ge._onLineFeed=new oe.EventEmitter,ge._onResize=new oe.EventEmitter,ge._onScroll=new oe.EventEmitter,ge._instantiationService=new le.InstantiationService,ge.optionsService=new se.OptionsService(fe),ge._instantiationService.setService(de.IOptionsService,ge.optionsService),ge._bufferService=ge.register(ge._instantiationService.createInstance(ie.BufferService)),ge._instantiationService.setService(de.IBufferService,ge._bufferService),ge._logService=ge._instantiationService.createInstance(ae.LogService),ge._instantiationService.setService(de.ILogService,ge._logService),ge._coreService=ge.register(ge._instantiationService.createInstance(ce.CoreService,function(){return ge.scrollToBottom()})),ge._instantiationService.setService(de.ICoreService,ge._coreService),ge._coreMouseService=ge._instantiationService.createInstance(re.CoreMouseService),ge._instantiationService.setService(de.ICoreMouseService,ge._coreMouseService),ge._dirtyRowService=ge._instantiationService.createInstance(ne.DirtyRowService),ge._instantiationService.setService(de.IDirtyRowService,ge._dirtyRowService),ge.unicodeService=ge._instantiationService.createInstance(te.UnicodeService),ge._instantiationService.setService(de.IUnicodeService,ge.unicodeService),ge._charsetService=ge._instantiationService.createInstance(a.CharsetService),ge._instantiationService.setService(de.ICharsetService,ge._charsetService),ge._inputHandler=new x.InputHandler(ge._bufferService,ge._charsetService,ge._coreService,ge._dirtyRowService,ge._logService,ge.optionsService,ge._coreMouseService,ge.unicodeService),ge.register(oe.forwardEvent(ge._inputHandler.onLineFeed,ge._onLineFeed)),ge.register(ge._inputHandler),ge.register(oe.forwardEvent(ge._bufferService.onResize,ge._onResize)),ge.register(oe.forwardEvent(ge._coreService.onData,ge._onData)),ge.register(oe.forwardEvent(ge._coreService.onBinary,ge._onBinary)),ge.register(ge.optionsService.onOptionChange(function(he){return ge._updateOptions(he)})),ge._writeBuffer=new b.WriteBuffer(function(he){return ge._inputHandler.parse(he)}),ge}return E(ue,z),Object.defineProperty(ue.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),ue.prototype.dispose=function(){var fe;this._isDisposed||(z.prototype.dispose.call(this),(fe=this._windowsMode)===null||fe===void 0||fe.dispose(),this._windowsMode=void 0)},ue.prototype.write=function(fe,ge){this._writeBuffer.write(fe,ge)},ue.prototype.writeSync=function(fe){this._writeBuffer.writeSync(fe)},ue.prototype.resize=function(fe,ge){isNaN(fe)||isNaN(ge)||(fe=Math.max(fe,ie.MINIMUM_COLS),ge=Math.max(ge,ie.MINIMUM_ROWS),this._bufferService.resize(fe,ge))},ue.prototype.scroll=function(fe,ge){ge===void 0&&(ge=!1);var he,pe=this._bufferService.buffer;(he=this._cachedBlankLine)&&he.length===this.cols&&he.getFg(0)===fe.fg&&he.getBg(0)===fe.bg||(he=pe.getBlankLine(fe,ge),this._cachedBlankLine=he),he.isWrapped=ge;var ye=pe.ybase+pe.scrollTop,ve=pe.ybase+pe.scrollBottom;if(pe.scrollTop===0){var Pe=pe.lines.isFull;ve===pe.lines.length-1?Pe?pe.lines.recycle().copyFrom(he):pe.lines.push(he.clone()):pe.lines.splice(ve+1,0,he.clone()),Pe?this._bufferService.isUserScrolling&&(pe.ydisp=Math.max(pe.ydisp-1,0)):(pe.ybase++,this._bufferService.isUserScrolling||pe.ydisp++)}else{var we=ve-ye+1;pe.lines.shiftElements(ye+1,we-1,-1),pe.lines.set(ve,he.clone())}this._bufferService.isUserScrolling||(pe.ydisp=pe.ybase),this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom),this._onScroll.fire(pe.ydisp)},ue.prototype.scrollLines=function(fe,ge){var he=this._bufferService.buffer;if(fe<0){if(he.ydisp===0)return;this._bufferService.isUserScrolling=!0}else fe+he.ydisp>=he.ybase&&(this._bufferService.isUserScrolling=!1);var pe=he.ydisp;he.ydisp=Math.max(Math.min(he.ydisp+fe,he.ybase),0),pe!==he.ydisp&&(ge||this._onScroll.fire(he.ydisp))},ue.prototype.scrollPages=function(fe){this.scrollLines(fe*(this.rows-1))},ue.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},ue.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},ue.prototype.scrollToLine=function(fe){var ge=fe-this._bufferService.buffer.ydisp;ge!==0&&this.scrollLines(ge)},ue.prototype.addEscHandler=function(fe,ge){return this._inputHandler.addEscHandler(fe,ge)},ue.prototype.addDcsHandler=function(fe,ge){return this._inputHandler.addDcsHandler(fe,ge)},ue.prototype.addCsiHandler=function(fe,ge){return this._inputHandler.addCsiHandler(fe,ge)},ue.prototype.addOscHandler=function(fe,ge){return this._inputHandler.addOscHandler(fe,ge)},ue.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},ue.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},ue.prototype._updateOptions=function(fe){var ge;switch(fe){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((ge=this._windowsMode)===null||ge===void 0||ge.dispose(),this._windowsMode=void 0)}},ue.prototype._enableWindowsMode=function(){var fe=this;if(!this._windowsMode){var ge=[];ge.push(this.onLineFeed(y.updateWindowsModeWrappedState.bind(null,this._bufferService))),ge.push(this.addCsiHandler({final:"H"},function(){return y.updateWindowsModeWrappedState(fe._bufferService),!1})),this._windowsMode={dispose:function(){for(var he=0,pe=ge;he<pe.length;he++)pe[he].dispose()}}}},ue}(me.Disposable);Se.CoreTerminal=ee},function(it,Se,be){"use strict";var Be=this&&this.__spreadArrays||function(){for(var ae=0,ie=0,se=arguments.length;ie<se;ie++)ae+=arguments[ie].length;var ce=Array(ae),oe=0;for(ie=0;ie<se;ie++)for(var re=arguments[ie],ne=0,te=re.length;ne<te;ne++,oe++)ce[oe]=re[ne];return ce};Object.defineProperty(Se,"__esModule",{value:!0}),Se.InstantiationService=Se.ServiceCollection=void 0;var E=be(1),me=be(14),de=function(){function ae(){for(var ie=[],se=0;se<arguments.length;se++)ie[se]=arguments[se];this._entries=new Map;for(var ce=0,oe=ie;ce<oe.length;ce++){var re=oe[ce],ne=re[0],te=re[1];this.set(ne,te)}}return ae.prototype.set=function(ie,se){var ce=this._entries.get(ie);return this._entries.set(ie,se),ce},ae.prototype.forEach=function(ie){this._entries.forEach(function(se,ce){return ie(ce,se)})},ae.prototype.has=function(ie){return this._entries.has(ie)},ae.prototype.get=function(ie){return this._entries.get(ie)},ae}();Se.ServiceCollection=de;var le=function(){function ae(){this._services=new de,this._services.set(E.IInstantiationService,this)}return ae.prototype.setService=function(ie,se){this._services.set(ie,se)},ae.prototype.getService=function(ie){return this._services.get(ie)},ae.prototype.createInstance=function(ie){for(var se=[],ce=1;ce<arguments.length;ce++)se[ce-1]=arguments[ce];for(var oe=me.getServiceDependencies(ie).sort(function(b,ee){return b.index-ee.index}),re=[],ne=0,te=oe;ne<te.length;ne++){var a=te[ne],y=this._services.get(a.id);if(!y)throw new Error("[createInstance] "+ie.name+" depends on UNKNOWN service "+a.id+".");re.push(y)}var x=oe.length>0?oe[0].index:se.length;if(se.length!==x)throw new Error("[createInstance] First service dependency of "+ie.name+" at position "+(x+1)+" conflicts with "+se.length+" static arguments");return new(ie.bind.apply(ie,Be([void 0],Be(se,re))))},ae}();Se.InstantiationService=le},function(it,Se,be){"use strict";var Be=this&&this.__decorate||function(se,ce,oe,re){var ne,te=arguments.length,a=te<3?ce:re===null?re=Object.getOwnPropertyDescriptor(ce,oe):re;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(se,ce,oe,re);else for(var y=se.length-1;y>=0;y--)(ne=se[y])&&(a=(te<3?ne(a):te>3?ne(ce,oe,a):ne(ce,oe))||a);return te>3&&a&&Object.defineProperty(ce,oe,a),a},E=this&&this.__param||function(se,ce){return function(oe,re){ce(oe,re,se)}},me=this&&this.__spreadArrays||function(){for(var se=0,ce=0,oe=arguments.length;ce<oe;ce++)se+=arguments[ce].length;var re=Array(se),ne=0;for(ce=0;ce<oe;ce++)for(var te=arguments[ce],a=0,y=te.length;a<y;a++,ne++)re[ne]=te[a];return re};Object.defineProperty(Se,"__esModule",{value:!0}),Se.LogService=Se.LogLevel=void 0;var de,le=be(1);(function(se){se[se.DEBUG=0]="DEBUG",se[se.INFO=1]="INFO",se[se.WARN=2]="WARN",se[se.ERROR=3]="ERROR",se[se.OFF=4]="OFF"})(de=Se.LogLevel||(Se.LogLevel={}));var ae={debug:de.DEBUG,info:de.INFO,warn:de.WARN,error:de.ERROR,off:de.OFF},ie=function(){function se(ce){var oe=this;this._optionsService=ce,this._updateLogLevel(),this._optionsService.onOptionChange(function(re){re==="logLevel"&&oe._updateLogLevel()})}return se.prototype._updateLogLevel=function(){this._logLevel=ae[this._optionsService.options.logLevel]},se.prototype._evalLazyOptionalParams=function(ce){for(var oe=0;oe<ce.length;oe++)typeof ce[oe]=="function"&&(ce[oe]=ce[oe]())},se.prototype._log=function(ce,oe,re){this._evalLazyOptionalParams(re),ce.call.apply(ce,me([console,"xterm.js: "+oe],re))},se.prototype.debug=function(ce){for(var oe=[],re=1;re<arguments.length;re++)oe[re-1]=arguments[re];this._logLevel<=de.DEBUG&&this._log(console.log,ce,oe)},se.prototype.info=function(ce){for(var oe=[],re=1;re<arguments.length;re++)oe[re-1]=arguments[re];this._logLevel<=de.INFO&&this._log(console.info,ce,oe)},se.prototype.warn=function(ce){for(var oe=[],re=1;re<arguments.length;re++)oe[re-1]=arguments[re];this._logLevel<=de.WARN&&this._log(console.warn,ce,oe)},se.prototype.error=function(ce){for(var oe=[],re=1;re<arguments.length;re++)oe[re-1]=arguments[re];this._logLevel<=de.ERROR&&this._log(console.error,ce,oe)},se=Be([E(0,le.IOptionsService)],se)}();Se.LogService=ie},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(oe,re){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,te){ne.__proto__=te}||function(ne,te){for(var a in te)te.hasOwnProperty(a)&&(ne[a]=te[a])})(oe,re)},function(oe,re){function ne(){this.constructor=oe}Be(oe,re),oe.prototype=re===null?Object.create(re):(ne.prototype=re.prototype,new ne)}),me=this&&this.__decorate||function(oe,re,ne,te){var a,y=arguments.length,x=y<3?re:te===null?te=Object.getOwnPropertyDescriptor(re,ne):te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(oe,re,ne,te);else for(var b=oe.length-1;b>=0;b--)(a=oe[b])&&(x=(y<3?a(x):y>3?a(re,ne,x):a(re,ne))||x);return y>3&&x&&Object.defineProperty(re,ne,x),x},de=this&&this.__param||function(oe,re){return function(ne,te){re(ne,te,oe)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.BufferService=Se.MINIMUM_ROWS=Se.MINIMUM_COLS=void 0;var le=be(1),ae=be(69),ie=be(0),se=be(2);Se.MINIMUM_COLS=2,Se.MINIMUM_ROWS=1;var ce=function(oe){function re(ne){var te=oe.call(this)||this;return te._optionsService=ne,te.isUserScrolling=!1,te._onResize=new ie.EventEmitter,te.cols=Math.max(ne.options.cols,Se.MINIMUM_COLS),te.rows=Math.max(ne.options.rows,Se.MINIMUM_ROWS),te.buffers=new ae.BufferSet(ne,te),te}return E(re,oe),Object.defineProperty(re.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),re.prototype.dispose=function(){oe.prototype.dispose.call(this),this.buffers.dispose()},re.prototype.resize=function(ne,te){this.cols=ne,this.rows=te,this.buffers.resize(ne,te),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:ne,rows:te})},re.prototype.reset=function(){this.buffers.dispose(),this.buffers=new ae.BufferSet(this._optionsService,this),this.isUserScrolling=!1},re=me([de(0,le.IOptionsService)],re)}(se.Disposable);Se.BufferService=ce},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(ae,ie){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,ce){se.__proto__=ce}||function(se,ce){for(var oe in ce)ce.hasOwnProperty(oe)&&(se[oe]=ce[oe])})(ae,ie)},function(ae,ie){function se(){this.constructor=ae}Be(ae,ie),ae.prototype=ie===null?Object.create(ie):(se.prototype=ie.prototype,new se)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.BufferSet=void 0;var me=be(70),de=be(0),le=function(ae){function ie(se,ce){var oe=ae.call(this)||this;return oe._onBufferActivate=oe.register(new de.EventEmitter),oe._normal=new me.Buffer(!0,se,ce),oe._normal.fillViewportRows(),oe._alt=new me.Buffer(!1,se,ce),oe._activeBuffer=oe._normal,oe.setupTabStops(),oe}return E(ie,ae),Object.defineProperty(ie.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),ie.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}))},ie.prototype.activateAltBuffer=function(se){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(se),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}))},ie.prototype.resize=function(se,ce){this._normal.resize(se,ce),this._alt.resize(se,ce)},ie.prototype.setupTabStops=function(se){this._normal.setupTabStops(se),this._alt.setupTabStops(se)},ie}(be(2).Disposable);Se.BufferSet=le},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.BufferStringIterator=Se.Buffer=Se.MAX_BUFFER_SIZE=void 0;var Be=be(71),E=be(16),me=be(4),de=be(3),le=be(72),ae=be(73),ie=be(20),se=be(6);Se.MAX_BUFFER_SIZE=4294967295;var ce=function(){function re(ne,te,a){this._hasScrollback=ne,this._optionsService=te,this._bufferService=a,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=E.DEFAULT_ATTR_DATA.clone(),this.savedCharset=ie.DEFAULT_CHARSET,this.markers=[],this._nullCell=me.CellData.fromCharData([0,de.NULL_CELL_CHAR,de.NULL_CELL_WIDTH,de.NULL_CELL_CODE]),this._whitespaceCell=me.CellData.fromCharData([0,de.WHITESPACE_CELL_CHAR,de.WHITESPACE_CELL_WIDTH,de.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new Be.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return re.prototype.getNullCell=function(ne){return ne?(this._nullCell.fg=ne.fg,this._nullCell.bg=ne.bg,this._nullCell.extended=ne.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new se.ExtendedAttrs),this._nullCell},re.prototype.getWhitespaceCell=function(ne){return ne?(this._whitespaceCell.fg=ne.fg,this._whitespaceCell.bg=ne.bg,this._whitespaceCell.extended=ne.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new se.ExtendedAttrs),this._whitespaceCell},re.prototype.getBlankLine=function(ne,te){return new E.BufferLine(this._bufferService.cols,this.getNullCell(ne),te)},Object.defineProperty(re.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"isCursorInViewport",{get:function(){var ne=this.ybase+this.y-this.ydisp;return ne>=0&&ne<this._rows},enumerable:!1,configurable:!0}),re.prototype._getCorrectBufferLength=function(ne){if(!this._hasScrollback)return ne;var te=ne+this._optionsService.options.scrollback;return te>Se.MAX_BUFFER_SIZE?Se.MAX_BUFFER_SIZE:te},re.prototype.fillViewportRows=function(ne){if(this.lines.length===0){ne===void 0&&(ne=E.DEFAULT_ATTR_DATA);for(var te=this._rows;te--;)this.lines.push(this.getBlankLine(ne))}},re.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new Be.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},re.prototype.resize=function(ne,te){var a=this.getNullCell(E.DEFAULT_ATTR_DATA),y=this._getCorrectBufferLength(te);if(y>this.lines.maxLength&&(this.lines.maxLength=y),this.lines.length>0){if(this._cols<ne)for(var x=0;x<this.lines.length;x++)this.lines.get(x).resize(ne,a);var b=0;if(this._rows<te)for(var ee=this._rows;ee<te;ee++)this.lines.length<te+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new E.BufferLine(ne,a)):this.ybase>0&&this.lines.length<=this.ybase+this.y+b+1?(this.ybase--,b++,this.ydisp>0&&this.ydisp--):this.lines.push(new E.BufferLine(ne,a)));else for(ee=this._rows;ee>te;ee--)this.lines.length>te+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(y<this.lines.maxLength){var z=this.lines.length-y;z>0&&(this.lines.trimStart(z),this.ybase=Math.max(this.ybase-z,0),this.ydisp=Math.max(this.ydisp-z,0),this.savedY=Math.max(this.savedY-z,0)),this.lines.maxLength=y}this.x=Math.min(this.x,ne-1),this.y=Math.min(this.y,te-1),b&&(this.y+=b),this.savedX=Math.min(this.savedX,ne-1),this.scrollTop=0}if(this.scrollBottom=te-1,this._isReflowEnabled&&(this._reflow(ne,te),this._cols>ne))for(x=0;x<this.lines.length;x++)this.lines.get(x).resize(ne,a);this._cols=ne,this._rows=te},Object.defineProperty(re.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),re.prototype._reflow=function(ne,te){this._cols!==ne&&(ne>this._cols?this._reflowLarger(ne,te):this._reflowSmaller(ne,te))},re.prototype._reflowLarger=function(ne,te){var a=le.reflowLargerGetLinesToRemove(this.lines,this._cols,ne,this.ybase+this.y,this.getNullCell(E.DEFAULT_ATTR_DATA));if(a.length>0){var y=le.reflowLargerCreateNewLayout(this.lines,a);le.reflowLargerApplyNewLayout(this.lines,y.layout),this._reflowLargerAdjustViewport(ne,te,y.countRemoved)}},re.prototype._reflowLargerAdjustViewport=function(ne,te,a){for(var y=this.getNullCell(E.DEFAULT_ATTR_DATA),x=a;x-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<te&&this.lines.push(new E.BufferLine(ne,y))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-a,0)},re.prototype._reflowSmaller=function(ne,te){for(var a=this.getNullCell(E.DEFAULT_ATTR_DATA),y=[],x=0,b=this.lines.length-1;b>=0;b--){var ee=this.lines.get(b);if(!(!ee||!ee.isWrapped&&ee.getTrimmedLength()<=ne)){for(var z=[ee];ee.isWrapped&&b>0;)ee=this.lines.get(--b),z.unshift(ee);var ue=this.ybase+this.y;if(!(ue>=b&&ue<b+z.length)){var fe=z[z.length-1].getTrimmedLength(),ge=le.reflowSmallerGetNewLineLengths(z,this._cols,ne),he=ge.length-z.length,pe=void 0;pe=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+he):Math.max(0,this.lines.length-this.lines.maxLength+he);for(var ye=[],ve=0;ve<he;ve++){var Pe=this.getBlankLine(E.DEFAULT_ATTR_DATA,!0);ye.push(Pe)}ye.length>0&&(y.push({start:b+z.length+x,newLines:ye}),x+=ye.length),z.push.apply(z,ye);var we=ge.length-1,Ae=ge[we];Ae===0&&(Ae=ge[--we]);for(var _e=z.length-he-1,xe=fe;_e>=0;){var Ee=Math.min(xe,Ae);if(z[we].copyCellsFrom(z[_e],xe-Ee,Ae-Ee,Ee,!0),(Ae-=Ee)===0&&(Ae=ge[--we]),(xe-=Ee)===0){_e--;var Oe=Math.max(_e,0);xe=le.getWrappedLineTrimmedLength(z,Oe,this._cols)}}for(ve=0;ve<z.length;ve++)ge[ve]<ne&&z[ve].setCell(ge[ve],a);for(var Ie=he-pe;Ie-- >0;)this.ybase===0?this.y<te-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+x)-te&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+he,this.ybase+te-1)}}}if(y.length>0){var Ne=[],Te=[];for(ve=0;ve<this.lines.length;ve++)Te.push(this.lines.get(ve));var Je=this.lines.length,Qe=Je-1,Ze=0,Ke=y[Ze];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+x);var Ue=0;for(ve=Math.min(this.lines.maxLength-1,Je+x-1);ve>=0;ve--)if(Ke&&Ke.start>Qe+Ue){for(var ke=Ke.newLines.length-1;ke>=0;ke--)this.lines.set(ve--,Ke.newLines[ke]);ve++,Ne.push({index:Qe+1,amount:Ke.newLines.length}),Ue+=Ke.newLines.length,Ke=y[++Ze]}else this.lines.set(ve,Te[Qe--]);var Re=0;for(ve=Ne.length-1;ve>=0;ve--)Ne[ve].index+=Re,this.lines.onInsertEmitter.fire(Ne[ve]),Re+=Ne[ve].amount;var He=Math.max(0,Je+x-this.lines.maxLength);He>0&&this.lines.onTrimEmitter.fire(He)}},re.prototype.stringIndexToBufferIndex=function(ne,te,a){for(a===void 0&&(a=!1);te;){var y=this.lines.get(ne);if(!y)return[-1,-1];for(var x=a?y.getTrimmedLength():y.length,b=0;b<x;++b)if(y.get(b)[de.CHAR_DATA_WIDTH_INDEX]&&(te-=y.get(b)[de.CHAR_DATA_CHAR_INDEX].length||1),te<0)return[ne,b];ne++}return[ne,0]},re.prototype.translateBufferLineToString=function(ne,te,a,y){a===void 0&&(a=0);var x=this.lines.get(ne);return x?x.translateToString(te,a,y):""},re.prototype.getWrappedRangeForLine=function(ne){for(var te=ne,a=ne;te>0&&this.lines.get(te).isWrapped;)te--;for(;a+1<this.lines.length&&this.lines.get(a+1).isWrapped;)a++;return{first:te,last:a}},re.prototype.setupTabStops=function(ne){for(ne!=null?this.tabs[ne]||(ne=this.prevStop(ne)):(this.tabs={},ne=0);ne<this._cols;ne+=this._optionsService.options.tabStopWidth)this.tabs[ne]=!0},re.prototype.prevStop=function(ne){for(ne==null&&(ne=this.x);!this.tabs[--ne]&&ne>0;);return ne>=this._cols?this._cols-1:ne<0?0:ne},re.prototype.nextStop=function(ne){for(ne==null&&(ne=this.x);!this.tabs[++ne]&&ne<this._cols;);return ne>=this._cols?this._cols-1:ne<0?0:ne},re.prototype.addMarker=function(ne){var te=this,a=new ae.Marker(ne);return this.markers.push(a),a.register(this.lines.onTrim(function(y){a.line-=y,a.line<0&&a.dispose()})),a.register(this.lines.onInsert(function(y){a.line>=y.index&&(a.line+=y.amount)})),a.register(this.lines.onDelete(function(y){a.line>=y.index&&a.line<y.index+y.amount&&a.dispose(),a.line>y.index&&(a.line-=y.amount)})),a.register(a.onDispose(function(){return te._removeMarker(a)})),a},re.prototype._removeMarker=function(ne){this.markers.splice(this.markers.indexOf(ne),1)},re.prototype.iterator=function(ne,te,a,y,x){return new oe(this,ne,te,a,y,x)},re}();Se.Buffer=ce;var oe=function(){function re(ne,te,a,y,x,b){a===void 0&&(a=0),y===void 0&&(y=ne.lines.length),x===void 0&&(x=0),b===void 0&&(b=0),this._buffer=ne,this._trimRight=te,this._startIndex=a,this._endIndex=y,this._startOverscan=x,this._endOverscan=b,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return re.prototype.hasNext=function(){return this._current<this._endIndex},re.prototype.next=function(){var ne=this._buffer.getWrappedRangeForLine(this._current);ne.first<this._startIndex-this._startOverscan&&(ne.first=this._startIndex-this._startOverscan),ne.last>this._endIndex+this._endOverscan&&(ne.last=this._endIndex+this._endOverscan),ne.first=Math.max(ne.first,0),ne.last=Math.min(ne.last,this._buffer.lines.length);for(var te="",a=ne.first;a<=ne.last;++a)te+=this._buffer.translateBufferLineToString(a,this._trimRight);return this._current=ne.last+1,{range:ne,content:te}},re}();Se.BufferStringIterator=oe},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.CircularList=void 0;var Be=be(0),E=function(){function me(de){this._maxLength=de,this.onDeleteEmitter=new Be.EventEmitter,this.onInsertEmitter=new Be.EventEmitter,this.onTrimEmitter=new Be.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(me.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"maxLength",{get:function(){return this._maxLength},set:function(de){if(this._maxLength!==de){for(var le=new Array(de),ae=0;ae<Math.min(de,this.length);ae++)le[ae]=this._array[this._getCyclicIndex(ae)];this._array=le,this._maxLength=de,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"length",{get:function(){return this._length},set:function(de){if(de>this._length)for(var le=this._length;le<de;le++)this._array[le]=void 0;this._length=de},enumerable:!1,configurable:!0}),me.prototype.get=function(de){return this._array[this._getCyclicIndex(de)]},me.prototype.set=function(de,le){this._array[this._getCyclicIndex(de)]=le},me.prototype.push=function(de){this._array[this._getCyclicIndex(this._length)]=de,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},me.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(me.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),me.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},me.prototype.splice=function(de,le){for(var ae=[],ie=2;ie<arguments.length;ie++)ae[ie-2]=arguments[ie];if(le){for(var se=de;se<this._length-le;se++)this._array[this._getCyclicIndex(se)]=this._array[this._getCyclicIndex(se+le)];this._length-=le}for(se=this._length-1;se>=de;se--)this._array[this._getCyclicIndex(se+ae.length)]=this._array[this._getCyclicIndex(se)];for(se=0;se<ae.length;se++)this._array[this._getCyclicIndex(de+se)]=ae[se];if(this._length+ae.length>this._maxLength){var ce=this._length+ae.length-this._maxLength;this._startIndex+=ce,this._length=this._maxLength,this.onTrimEmitter.fire(ce)}else this._length+=ae.length},me.prototype.trimStart=function(de){de>this._length&&(de=this._length),this._startIndex+=de,this._length-=de,this.onTrimEmitter.fire(de)},me.prototype.shiftElements=function(de,le,ae){if(!(le<=0)){if(de<0||de>=this._length)throw new Error("start argument out of range");if(de+ae<0)throw new Error("Cannot shift elements in list beyond index 0");if(ae>0){for(var ie=le-1;ie>=0;ie--)this.set(de+ie+ae,this.get(de+ie));var se=de+le+ae-this._length;if(se>0)for(this._length+=se;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(ie=0;ie<le;ie++)this.set(de+ie+ae,this.get(de+ie))}},me.prototype._getCyclicIndex=function(de){return(this._startIndex+de)%this._maxLength},me}();Se.CircularList=E},function(it,Se,be){"use strict";function Be(E,me,de){if(me===E.length-1)return E[me].getTrimmedLength();var le=!E[me].hasContent(de-1)&&E[me].getWidth(de-1)===1,ae=E[me+1].getWidth(0)===2;return le&&ae?de-1:de}Object.defineProperty(Se,"__esModule",{value:!0}),Se.getWrappedLineTrimmedLength=Se.reflowSmallerGetNewLineLengths=Se.reflowLargerApplyNewLayout=Se.reflowLargerCreateNewLayout=Se.reflowLargerGetLinesToRemove=void 0,Se.reflowLargerGetLinesToRemove=function(E,me,de,le,ae){for(var ie=[],se=0;se<E.length-1;se++){var ce=se,oe=E.get(++ce);if(oe.isWrapped){for(var re=[E.get(se)];ce<E.length&&oe.isWrapped;)re.push(oe),oe=E.get(++ce);if(le>=se&&le<ce)se+=re.length-1;else{for(var ne=0,te=Be(re,ne,me),a=1,y=0;a<re.length;){var x=Be(re,a,me),b=x-y,ee=de-te,z=Math.min(b,ee);re[ne].copyCellsFrom(re[a],y,te,z,!1),(te+=z)===de&&(ne++,te=0),(y+=z)===x&&(a++,y=0),te===0&&ne!==0&&re[ne-1].getWidth(de-1)===2&&(re[ne].copyCellsFrom(re[ne-1],de-1,te++,1,!1),re[ne-1].setCell(de-1,ae))}re[ne].replaceCells(te,de,ae);for(var ue=0,fe=re.length-1;fe>0&&(fe>ne||re[fe].getTrimmedLength()===0);fe--)ue++;ue>0&&(ie.push(se+re.length-ue),ie.push(ue)),se+=re.length-1}}}return ie},Se.reflowLargerCreateNewLayout=function(E,me){for(var de=[],le=0,ae=me[le],ie=0,se=0;se<E.length;se++)if(ae===se){var ce=me[++le];E.onDeleteEmitter.fire({index:se-ie,amount:ce}),se+=ce-1,ie+=ce,ae=me[++le]}else de.push(se);return{layout:de,countRemoved:ie}},Se.reflowLargerApplyNewLayout=function(E,me){for(var de=[],le=0;le<me.length;le++)de.push(E.get(me[le]));for(le=0;le<de.length;le++)E.set(le,de[le]);E.length=me.length},Se.reflowSmallerGetNewLineLengths=function(E,me,de){for(var le=[],ae=E.map(function(te,a){return Be(E,a,me)}).reduce(function(te,a){return te+a}),ie=0,se=0,ce=0;ce<ae;){if(ae-ce<de){le.push(ae-ce);break}ie+=de;var oe=Be(E,se,me);ie>oe&&(ie-=oe,se++);var re=E[se].getWidth(ie-1)===2;re&&ie--;var ne=re?de-1:de;le.push(ne),ce+=ne}return le},Se.getWrappedLineTrimmedLength=Be},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(le,ae){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,se){ie.__proto__=se}||function(ie,se){for(var ce in se)se.hasOwnProperty(ce)&&(ie[ce]=se[ce])})(le,ae)},function(le,ae){function ie(){this.constructor=le}Be(le,ae),le.prototype=ae===null?Object.create(ae):(ie.prototype=ae.prototype,new ie)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.Marker=void 0;var me=be(0),de=function(le){function ae(ie){var se=le.call(this)||this;return se.line=ie,se._id=ae._nextId++,se.isDisposed=!1,se._onDispose=new me.EventEmitter,se}return E(ae,le),Object.defineProperty(ae.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),ae.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},ae._nextId=1,ae}(be(2).Disposable);Se.Marker=de},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.OptionsService=Se.DEFAULT_OPTIONS=Se.DEFAULT_BELL_SOUND=void 0;var Be=be(0),E=be(11),me=be(33);Se.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",Se.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:Se.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:E.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var de=["cols","rows"],le=function(){function ae(ie){this._onOptionChange=new Be.EventEmitter,this.options=me.clone(Se.DEFAULT_OPTIONS);for(var se=0,ce=Object.keys(ie);se<ce.length;se++){var oe=ce[se];if(oe in this.options){var re=ie[oe];this.options[oe]=re}}}return Object.defineProperty(ae.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),ae.prototype.setOption=function(ie,se){if(!(ie in Se.DEFAULT_OPTIONS))throw new Error('No option with key "'+ie+'"');if(de.indexOf(ie)!==-1)throw new Error('Option "'+ie+'" can only be set in the constructor');this.options[ie]!==se&&(se=this._sanitizeAndValidateOption(ie,se),this.options[ie]!==se&&(this.options[ie]=se,this._onOptionChange.fire(ie)))},ae.prototype._sanitizeAndValidateOption=function(ie,se){switch(ie){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":se||(se=Se.DEFAULT_OPTIONS[ie]);break;case"cursorWidth":se=Math.floor(se);case"lineHeight":case"tabStopWidth":if(se<1)throw new Error(ie+" cannot be less than 1, value: "+se);break;case"minimumContrastRatio":se=Math.max(1,Math.min(21,Math.round(10*se)/10));break;case"scrollback":if((se=Math.min(se,4294967295))<0)throw new Error(ie+" cannot be less than 0, value: "+se);break;case"fastScrollSensitivity":case"scrollSensitivity":if(se<=0)throw new Error(ie+" cannot be less than or equal to 0, value: "+se)}return se},ae.prototype.getOption=function(ie){if(!(ie in Se.DEFAULT_OPTIONS))throw new Error('No option with key "'+ie+'"');return this.options[ie]},ae}();Se.OptionsService=le},function(it,Se,be){"use strict";var Be,E=this&&this.__extends||(Be=function(ne,te){return(Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,y){a.__proto__=y}||function(a,y){for(var x in y)y.hasOwnProperty(x)&&(a[x]=y[x])})(ne,te)},function(ne,te){function a(){this.constructor=ne}Be(ne,te),ne.prototype=te===null?Object.create(te):(a.prototype=te.prototype,new a)}),me=this&&this.__decorate||function(ne,te,a,y){var x,b=arguments.length,ee=b<3?te:y===null?y=Object.getOwnPropertyDescriptor(te,a):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ee=Reflect.decorate(ne,te,a,y);else for(var z=ne.length-1;z>=0;z--)(x=ne[z])&&(ee=(b<3?x(ee):b>3?x(te,a,ee):x(te,a))||ee);return b>3&&ee&&Object.defineProperty(te,a,ee),ee},de=this&&this.__param||function(ne,te){return function(a,y){te(a,y,ne)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.CoreService=void 0;var le=be(1),ae=be(0),ie=be(33),se=be(2),ce=Object.freeze({insertMode:!1}),oe=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),re=function(ne){function te(a,y,x,b){var ee=ne.call(this)||this;return ee._bufferService=y,ee._logService=x,ee._optionsService=b,ee.isCursorInitialized=!1,ee.isCursorHidden=!1,ee._onData=ee.register(new ae.EventEmitter),ee._onUserInput=ee.register(new ae.EventEmitter),ee._onBinary=ee.register(new ae.EventEmitter),ee._scrollToBottom=a,ee.register({dispose:function(){return ee._scrollToBottom=void 0}}),ee.modes=ie.clone(ce),ee.decPrivateModes=ie.clone(oe),ee}return E(te,ne),Object.defineProperty(te.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),te.prototype.reset=function(){this.modes=ie.clone(ce),this.decPrivateModes=ie.clone(oe)},te.prototype.triggerDataEvent=function(a,y){if(y===void 0&&(y=!1),!this._optionsService.options.disableStdin){var x=this._bufferService.buffer;x.ybase!==x.ydisp&&this._scrollToBottom(),y&&this._onUserInput.fire(),this._logService.debug('sending data "'+a+'"',function(){return a.split("").map(function(b){return b.charCodeAt(0)})}),this._onData.fire(a)}},te.prototype.triggerBinaryEvent=function(a){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+a+'"',function(){return a.split("").map(function(y){return y.charCodeAt(0)})}),this._onBinary.fire(a))},te=me([de(1,le.IBufferService),de(2,le.ILogService),de(3,le.IOptionsService)],te)}(se.Disposable);Se.CoreService=re},function(it,Se,be){"use strict";var Be=this&&this.__decorate||function(oe,re,ne,te){var a,y=arguments.length,x=y<3?re:te===null?te=Object.getOwnPropertyDescriptor(re,ne):te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(oe,re,ne,te);else for(var b=oe.length-1;b>=0;b--)(a=oe[b])&&(x=(y<3?a(x):y>3?a(re,ne,x):a(re,ne))||x);return y>3&&x&&Object.defineProperty(re,ne,x),x},E=this&&this.__param||function(oe,re){return function(ne,te){re(ne,te,oe)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.CoreMouseService=void 0;var me=be(1),de=be(0),le={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(oe){return oe.button!==4&&oe.action===1&&(oe.ctrl=!1,oe.alt=!1,oe.shift=!1,!0)}},VT200:{events:19,restrict:function(oe){return oe.action!==32}},DRAG:{events:23,restrict:function(oe){return oe.action!==32||oe.button!==3}},ANY:{events:31,restrict:function(oe){return!0}}};function ae(oe,re){var ne=(oe.ctrl?16:0)|(oe.shift?4:0)|(oe.alt?8:0);return oe.button===4?(ne|=64,ne|=oe.action):(ne|=3&oe.button,4&oe.button&&(ne|=64),8&oe.button&&(ne|=128),oe.action===32?ne|=32:oe.action!==0||re||(ne|=3)),ne}var ie=String.fromCharCode,se={DEFAULT:function(oe){var re=[ae(oe,!1)+32,oe.col+32,oe.row+32];return re[0]>255||re[1]>255||re[2]>255?"":"\x1B[M"+ie(re[0])+ie(re[1])+ie(re[2])},SGR:function(oe){var re=oe.action===0&&oe.button!==4?"m":"M";return"\x1B[<"+ae(oe,!0)+";"+oe.col+";"+oe.row+re}},ce=function(){function oe(re,ne){this._bufferService=re,this._coreService=ne,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new de.EventEmitter,this._lastEvent=null;for(var te=0,a=Object.keys(le);te<a.length;te++){var y=a[te];this.addProtocol(y,le[y])}for(var x=0,b=Object.keys(se);x<b.length;x++){var ee=b[x];this.addEncoding(ee,se[ee])}this.reset()}return oe.prototype.addProtocol=function(re,ne){this._protocols[re]=ne},oe.prototype.addEncoding=function(re,ne){this._encodings[re]=ne},Object.defineProperty(oe.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(re){if(!this._protocols[re])throw new Error('unknown protocol "'+re+'"');this._activeProtocol=re,this._onProtocolChange.fire(this._protocols[re].events)},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(re){if(!this._encodings[re])throw new Error('unknown encoding "'+re+'"');this._activeEncoding=re},enumerable:!1,configurable:!0}),oe.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(oe.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),oe.prototype.triggerMouseEvent=function(re){if(re.col<0||re.col>=this._bufferService.cols||re.row<0||re.row>=this._bufferService.rows||re.button===4&&re.action===32||re.button===3&&re.action!==32||re.button!==4&&(re.action===2||re.action===3)||(re.col++,re.row++,re.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,re))||!this._protocols[this._activeProtocol].restrict(re))return!1;var ne=this._encodings[this._activeEncoding](re);return ne&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(ne):this._coreService.triggerDataEvent(ne,!0)),this._lastEvent=re,!0},oe.prototype.explainEvents=function(re){return{down:!!(1&re),up:!!(2&re),drag:!!(4&re),move:!!(8&re),wheel:!!(16&re)}},oe.prototype._compareEvents=function(re,ne){return re.col===ne.col&&re.row===ne.row&&re.button===ne.button&&re.action===ne.action&&re.ctrl===ne.ctrl&&re.alt===ne.alt&&re.shift===ne.shift},oe=Be([E(0,me.IBufferService),E(1,me.ICoreService)],oe)}();Se.CoreMouseService=ce},function(it,Se,be){"use strict";var Be=this&&this.__decorate||function(le,ae,ie,se){var ce,oe=arguments.length,re=oe<3?ae:se===null?se=Object.getOwnPropertyDescriptor(ae,ie):se;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")re=Reflect.decorate(le,ae,ie,se);else for(var ne=le.length-1;ne>=0;ne--)(ce=le[ne])&&(re=(oe<3?ce(re):oe>3?ce(ae,ie,re):ce(ae,ie))||re);return oe>3&&re&&Object.defineProperty(ae,ie,re),re},E=this&&this.__param||function(le,ae){return function(ie,se){ae(ie,se,le)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.DirtyRowService=void 0;var me=be(1),de=function(){function le(ae){this._bufferService=ae,this.clearRange()}return Object.defineProperty(le.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),le.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},le.prototype.markDirty=function(ae){ae<this._start?this._start=ae:ae>this._end&&(this._end=ae)},le.prototype.markRangeDirty=function(ae,ie){if(ae>ie){var se=ae;ae=ie,ie=se}ae<this._start&&(this._start=ae),ie>this._end&&(this._end=ie)},le.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},le=Be([E(0,me.IBufferService)],le)}();Se.DirtyRowService=de},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.UnicodeService=void 0;var Be=be(0),E=be(79),me=function(){function de(){this._providers=Object.create(null),this._active="",this._onChange=new Be.EventEmitter;var le=new E.UnicodeV6;this.register(le),this._active=le.version,this._activeProvider=le}return Object.defineProperty(de.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"activeVersion",{get:function(){return this._active},set:function(le){if(!this._providers[le])throw new Error('unknown Unicode version "'+le+'"');this._active=le,this._activeProvider=this._providers[le],this._onChange.fire(le)},enumerable:!1,configurable:!0}),de.prototype.register=function(le){this._providers[le.version]=le},de.prototype.wcwidth=function(le){return this._activeProvider.wcwidth(le)},de.prototype.getStringCellWidth=function(le){for(var ae=0,ie=le.length,se=0;se<ie;++se){var ce=le.charCodeAt(se);if(55296<=ce&&ce<=56319){if(++se>=ie)return ae+this.wcwidth(ce);var oe=le.charCodeAt(se);56320<=oe&&oe<=57343?ce=1024*(ce-55296)+oe-56320+65536:ae+=this.wcwidth(oe)}ae+=this.wcwidth(ce)}return ae},de}();Se.UnicodeService=me},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.UnicodeV6=void 0;var Be,E=be(15),me=[[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]],de=[[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]],le=function(){function ae(){if(this.version="6",!Be){Be=new Uint8Array(65536),E.fill(Be,1),Be[0]=0,E.fill(Be,0,1,32),E.fill(Be,0,127,160),E.fill(Be,2,4352,4448),Be[9001]=2,Be[9002]=2,E.fill(Be,2,11904,42192),Be[12351]=1,E.fill(Be,2,44032,55204),E.fill(Be,2,63744,64256),E.fill(Be,2,65040,65050),E.fill(Be,2,65072,65136),E.fill(Be,2,65280,65377),E.fill(Be,2,65504,65511);for(var ie=0;ie<me.length;++ie)E.fill(Be,0,me[ie][0],me[ie][1]+1)}}return ae.prototype.wcwidth=function(ie){return ie<32?0:ie<127?1:ie<65536?Be[ie]:function(se,ce){var oe,re=0,ne=ce.length-1;if(se<ce[0][0]||se>ce[ne][1])return!1;for(;ne>=re;)if(se>ce[oe=re+ne>>1][1])re=oe+1;else{if(!(se<ce[oe][0]))return!0;ne=oe-1}return!1}(ie,de)?0:ie>=131072&&ie<=196605||ie>=196608&&ie<=262141?2:1},ae}();Se.UnicodeV6=le},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.CharsetService=void 0;var Be=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(me){this.glevel=me,this.charset=this._charsets[me]},E.prototype.setgCharset=function(me,de){this._charsets[me]=de,this.glevel===me&&(this.charset=de)},E}();Se.CharsetService=Be},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.updateWindowsModeWrappedState=void 0;var Be=be(3);Se.updateWindowsModeWrappedState=function(E){var me=E.buffer.lines.get(E.buffer.ybase+E.buffer.y-1),de=me==null?void 0:me.get(E.cols-1),le=E.buffer.lines.get(E.buffer.ybase+E.buffer.y);le&&de&&(le.isWrapped=de[Be.CHAR_DATA_CODE_INDEX]!==Be.NULL_CELL_CODE&&de[Be.CHAR_DATA_CODE_INDEX]!==Be.WHITESPACE_CELL_CODE)}},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.WriteBuffer=void 0;var Be=function(){function E(me){this._action=me,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return E.prototype.writeSync=function(me){if(this._writeBuffer.length){for(var de=this._bufferOffset;de<this._writeBuffer.length;++de){var le=this._writeBuffer[de],ae=this._callbacks[de];this._action(le),ae&&ae()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(me)},E.prototype.write=function(me,de){var le=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 le._innerWrite()})),this._pendingData+=me.length,this._writeBuffer.push(me),this._callbacks.push(de)},E.prototype._innerWrite=function(){for(var me=this,de=Date.now();this._writeBuffer.length>this._bufferOffset;){var le=this._writeBuffer[this._bufferOffset],ae=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(le),this._pendingData-=le.length,ae&&ae(),Date.now()-de>=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 me._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},E}();Se.WriteBuffer=Be},function(it,Se,be){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.AddonManager=void 0;var Be=function(){function E(){this._addons=[]}return E.prototype.dispose=function(){for(var me=this._addons.length-1;me>=0;me--)this._addons[me].instance.dispose()},E.prototype.loadAddon=function(me,de){var le=this,ae={instance:de,dispose:de.dispose,isDisposed:!1};this._addons.push(ae),de.dispose=function(){return le._wrappedAddonDispose(ae)},de.activate(me)},E.prototype._wrappedAddonDispose=function(me){if(!me.isDisposed){for(var de=-1,le=0;le<this._addons.length;le++)if(this._addons[le]===me){de=le;break}if(de===-1)throw new Error("Could not dispose an addon that has not been loaded");me.isDisposed=!0,me.dispose.apply(me.instance),this._addons.splice(de,1)}},E}();Se.AddonManager=Be}])})},90034:function(ct,it,Se){var be={"./doc.png":63604,"./docx.png":30045,"./jpg.png":13740,"./md.png":58881,"./pdf.png":28982,"./png.png":2487,"./txt.png":3164};function Be(me){var de=E(me);return Se(de)}function E(me){if(!Se.o(be,me)){var de=new Error("Cannot find module '"+me+"'");throw de.code="MODULE_NOT_FOUND",de}return be[me]}Be.keys=function(){return Object.keys(be)},Be.resolve=E,ct.exports=Be,Be.id=90034},93314:function(ct){"use strict";ct.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5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IdX6IPIKe/FMaJxTEoEYyDw7kqyKLvFk516SOQEnfgPdHXJbo0jr4eR9Osqo6H0aygjGsqIHsKQPojS4oBO9ryXkfEVnTKmYUxKBfR77Jmenh3WdWy/Dons8LwdfX3rx8USBkLpxkCIDBgIkQEDITJgIEQGDITIgIEQGTAQIgMGQmTAQIgMGAiRAQMhMmAgRAYMhMiAgRAZMBAiAwZCZMBAiAwYCFG0l195bcdnBgfGxRKrgfzjYG74uqs3MRCyJvWBbO7f+FhXZ+dGPSSK1alTpyemTrxxV6oDWbt2zX0bLu0bFqKYvX785IHT75y5P9WBFCUzdt2VH5W2tjb+E6YUm4XFxakjk8fWtok3kvZA9q/s6nxm8xUbPq2fIorFkcmp5xcWlz6pgaT7PQgC0aH0XbL+mb4P9DASqtvkMd1anT47pENxJhDo7l55oH/DpUM6JKrJq0ePPXN2YfH8H7ROBfKujEz1faB3Uh/nf5NEJsVice7N/Py/p9/K94snG/VT57kXyPvm2tvbX1uxonOuo63d02OiCywsLHQsFoprCoVCVg9DdbR7AzffNDChQyusBvLsC7nsUiGT0yGRFUODWatz2OqTw4GDE1wdyApPvKPDgwP9YpH9QJ7LjUkmc5sOiWLm7R0aHBgVi6wH8vfncyNeMbNPh0Sxsv0GHawHAgcO5sb1pYaEKDb2Vw9IJJCDB3P950QmMpLp0UOiuuh7jxd7VsrwwMBAXg+tSiQQwBmtxYKMMxKqB+LobJdRm6d2yyUWCORyud75s7JbX3anHhJVydu7bqV8L4mVoyTRQEqwmiwtyai+elb43oQi6GoxpxN0QofjXSJ7BgcHJiVh/wemziNQhWOwlgAAAABJRU5ErkJggg=="},60141:function(ct){"use strict";ct.exports="data:image/gif;base64,R0lGODlh6QDIAPf/APrMTf789vrMUPvdi/zfkfi4CvvYef713fnKSfzosP7wyvrSZfjAKPzmqf3wzP767fnHPv7xzf3wzvjFOfe2BP767vi8F/i8GPvagfnGO/jDMv3uxv3svfrNUvzkov724fvWcfzinPvbhPi5DfrTZv734vi6EPzglfnKSP3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