You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
384 lines
1.4 MiB
384 lines
1.4 MiB
(self.webpackChunk=self.webpackChunk||[]).push([[6913],{97309:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return te}});var Te=Pe(87462),He=Pe(67294),E={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},ye=E,me=Pe(43387),oe=function(de,le){return He.createElement(me.Z,(0,Te.Z)({},de,{ref:le,icon:ye}))},te=He.forwardRef(oe)},32693:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return te}});var Te=Pe(87462),He=Pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},ye=E,me=Pe(43387),oe=function(de,le){return He.createElement(me.Z,(0,Te.Z)({},de,{ref:le,icon:ye}))},te=He.forwardRef(oe)},71736:function(At,Ct){"use strict";Ct.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},12867:function(){"use strict"},18023:function(){"use strict";function At(ne,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ne,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(At.prototype,"name",{get:function(){return this._name},set:function(ne){if(typeof ne!="string"||ne==="")throw new Error("Shape name must be a valid string.");this._name=ne}}),Object.defineProperty(At.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("The default value must be a real number, not: "+ne);this._defaultValue=ne}}),Object.defineProperty(At.prototype,"minimum",{get:function(){return this._minimum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Minimum must be a real number, not: "+ne);this._minimum=ne}}),Object.defineProperty(At.prototype,"maximum",{get:function(){return this._maximum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Maximum must be a real number, not: "+ne);this._maximum=ne}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ne,a){var y=go.Shape._FigureParameters[ne];return y?y[a]:null},go.Shape.setFigureParameter=function(ne,a,y){if(!(y instanceof At))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[ne];x||(x=[],go.Shape._FigureParameters[ne]=x),x[a]=y};var Ct=[];function Pe(ne,a){var y=Ct.pop();return y===void 0?new go.Point(ne,a):(y.x=ne,y.y=a,y)}function Te(){var ne=Ct.pop();return ne===void 0?new go.Point:ne}function He(ne){Ct.push(ne)}function E(ne,a,y,x,b,z,ee,re,se){se||(se=new go.Point);var fe=ne-y,ve=b-ee,ge=NaN,he=NaN;if(fe===0)if(ve===0)ne===y&&(ge=ne,he=a);else{var pe=(z-re)/ve,Se=z-pe*b;ge=ne,he=pe*ge+Se}else if(ve===0){var be=(a-x)/fe,je=a-be*ne;ge=b,he=be*ge+je}else{var be=(a-x)/fe,pe=(z-re)/ve,je=a-be*ne,Se=z-pe*b;ge=(Se-je)/(be-pe),he=be*ge+je}return se.x=ge,se.y=he,se}function ye(ne,a,y,x,b,z,ee,re,se,fe,ve,ge,he,pe){var Se=1-se,be=se,je=ne*Se+y*be,we=a*Se+x*be,Oe=y*Se+b*be,Ae=x*Se+z*be,Fe=b*Se+ee*be,ke=z*Se+re*be,Ve=je*Se+Oe*be,De=we*Se+Ae*be,ut=Oe*Se+Fe*be,nt=Ae*Se+ke*be,qe=Ve*Se+ut*be,Xe=De*Se+nt*be;fe.x=je,fe.y=we,ve.x=Ve,ve.y=De,ge.x=qe,ge.y=Xe,he.x=ut,he.y=nt,pe.x=Fe,pe.y=ke}var me=new go.Spot(.156,.156),oe=new go.Spot(.844,.844),te=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new At("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*te,z=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&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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=me,b.spot2=oe,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ne,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(ne,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(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,te*a,0,a,(1-te)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,te*y,(1-te)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,te*y,te*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-te)*a,0,0,(1-te)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ne,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(ne,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(ne,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(ne,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 At("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new At("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a:x>a&&(x=a);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.setFigureParameter("Trapezoid1",0,new At("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new At("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ne,a,y){var x=ne?ne.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.setFigureParameter("ManualOperation",0,new At("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ne,a,y){var x=ne?ne.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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&&z.setSpots(b/a,0,(a-b)/a,1),z}});var ue=[];function de(){var ne=ue.pop();return ne===void 0?[]:ne}function le(ne){ne.length=0,ue.push(ne)}function ce(ne){for(var a=de(),y=.5,x=.5,b=Math.PI*1.5,z=0,ee=0;ee<ne;ee++)z=2*Math.PI/ne*ee+b,a[ee]=new go.Point(x+y*Math.cos(z),x+y*Math.sin(z));return a.push(a[0]),a}function ae(ne){var a=ie(ne),y=de();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 le(a),y}function ie(ne){for(var a=ce(ne),y=de(),x=Math.floor(a.length/2),b=a.length-1,z=ne%2===0?2:1,ee=0;ee<b;ee++){var re=a[ee],se=a[ee+1],fe=a[(x+ee-1)%b],ve=a[(x+ee+z)%b];y[ee*2]=re,y[ee*2+1]=E(re.x,re.y,fe.x,fe.y,se.x,se.y,ve.x,ve.y,new go.Point)}return y[y.length]=y[0],le(a),y}go.Shape.defineFigureGenerator("Pentagon",function(ne,a,y){var x=ce(5),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<5;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(ne,a,y){var x=ce(6),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<6;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(ne,a,y){var x=ce(7),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<7;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(ne,a,y){var x=ce(8),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<8;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(ne,a,y){var x=ce(9),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<9;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(ne,a,y){var x=ce(10),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<10;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(ne,a,y){var x=ce(12),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<12;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(ne,a,y){var x=ie(5),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<10;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(ne,a,y){var x=ie(6),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<12;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ne,a,y){var x=ie(7),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<14;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(ne,a,y){var x=ie(8),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<16;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(ne,a,y){var x=ie(9),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<18;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(ne,a,y){var x=ie(10),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<20;ee++)z.add(new go.PathSegment(go.PathSegment.Line,x[ee].x*a,x[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),le(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ne,a,y){var x=ae(5),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<x.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ee+2].x*a,x[ee+2].y*y,x[ee].x*a,x[ee].y*y,x[ee+1].x*a,x[ee+1].y*y));return z.segments.last().close(),le(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ne,a,y){var x=ae(6),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<x.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ee+2].x*a,x[ee+2].y*y,x[ee].x*a,x[ee].y*y,x[ee+1].x*a,x[ee+1].y*y));return z.segments.last().close(),le(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ne,a,y){var x=ae(7),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<x.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ee+2].x*a,x[ee+2].y*y,x[ee].x*a,x[ee].y*y,x[ee+1].x*a,x[ee+1].y*y));return z.segments.last().close(),le(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ne,a,y){var x=ae(8),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<x.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ee+2].x*a,x[ee+2].y*y,x[ee].x*a,x[ee].y*y,x[ee+1].x*a,x[ee+1].y*y));return z.segments.last().close(),le(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ne,a,y){var x=ae(9),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<x.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ee+2].x*a,x[ee+2].y*y,x[ee].x*a,x[ee].y*y,x[ee+1].x*a,x[ee+1].y*y));return z.segments.last().close(),le(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ne,a,y){var x=ae(10),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var ee=1;ee<x.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ee+2].x*a,x[ee+2].y*y,x[ee].x*a,x[ee].y*y,x[ee+1].x*a,x[ee+1].y*y));return z.segments.last().close(),le(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new At("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new At("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ne,a,y){var x=ne?ne.parameter1:NaN,b=ne?ne.parameter2:NaN;isNaN(x)&&(x=8),isNaN(b)&&(b=8);var z=new go.Geometry,ee=new go.PathFigure(0,0,!0);return z.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()),x<a/2&&b<y/2&&(ee.add(new go.PathSegment(go.PathSegment.Move,x,b)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y-b)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,y-b)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,b).close())),z.setSpots(0,0,1,1,x,b,-x,-b),z}),go.Shape.setFigureParameter("Ring",0,new At("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var b=a/2,z=new go.Geometry,ee=new go.PathFigure(a,a/2,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var re=Math.max(b-x,0);return re>0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+re,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,re,re).close())),z.spot1=me,z.spot2=oe,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ne,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(ne,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 At("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new At("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ne,a,y){var x=ne?ne.parameter1:NaN,b=ne?ne.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var z=x%360;z<0&&(z+=360);var ee=b%360,re=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,z,ee,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ne,a,y){var x=te/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,z*y,a,(1-x)*y,(b+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new At("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new At("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new At("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ne,a,y){var x=ne?ne.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 z=a/2,ee=y/2,re=Math.atan2(y,a),se=x-Math.min(Math.cos(re)*x/2,z),fe=x-Math.min(Math.sin(re)*x/2,ee),b=new go.Geometry,ve=new go.PathFigure(se,0,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a-se,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,fe)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,a,y-fe)),ve.add(new go.PathSegment(go.PathSegment.Line,a-se,y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,se,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y-fe)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,fe).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new At("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new At("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new At("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,te*a,0,a,(.5-te/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+te/2)*y,te*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ne,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(ne,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(ne,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(ne,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 z=.2,ee=.3,re=0,se=z*te;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+se+re)*y,(.5-se+ee)*a,(.5+z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+re)*y,(.5+se+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+se+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee)*a,(.5-se+re)*y,(.5+se+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-se+ee)*a,(.5-z+re)*y,(.5-z+ee+.05)*a,(.5-se+re-.02)*y)),z=.2,ee=0,re=-.3,se=z*te,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+re)*y,(.5+se+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+se+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee)*a,(.5-se+re)*y,(.5+se+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+re)*y,(.5-se+ee)*a,(.5-z+re)*y,(.5-z+ee)*a,(.5-se+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+se+re)*y,(.5-se+ee)*a,(.5+z+re)*y)),z=.2,ee=-.3,re=0,se=z*te,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee-.05)*a,(.5-se+re-.02)*y,(.5+se+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+re)*y,(.5-se+ee)*a,(.5-z+re)*y,(.5-z+ee)*a,(.5-se+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+se+re)*y,(.5-se+ee)*a,(.5+z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+se+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+se+re)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ne,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 z=.1,ee=.5,re=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ee+z)*a,re*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*re,z*a,z*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)),re=.75,b=new go.PathFigure((ee+z)*a,re*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*re,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ne,a,y){var x=.8535533905932737,b=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=.5,re=.5,se=new go.PathFigure(ee*a,(re-z)*y);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),z=.4,b=te*.4;var fe=Te(),ve=Te(),ge=Te(),he=Te();ye(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.42,fe,ve,ge,he,he);var pe=Te(),Se=Te(),be=Te();ye(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.58,he,he,be,pe,Se);var je=Te(),we=Te(),Oe=Te();ye(ee,re+z,ee-b,re+z,ee-z,re+b,ee-z,re,.42,je,we,Oe,he,he);var Ae=Te(),Fe=Te(),ke=Te();return ye(ee,re+z,ee-b,re+z,ee-z,re+b,ee-z,re,.58,he,he,ke,Ae,Fe),se.add(new go.PathSegment(go.PathSegment.Move,ke.x*a,ke.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,Ae.x*a,Ae.y*y,Fe.x*a,Fe.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,fe.x*a,fe.y*y,ve.x*a,ve.y*y)),se.add(new go.PathSegment(go.PathSegment.Line,ke.x*a,ke.y*y).close()),se.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),se.add(new go.PathSegment(go.PathSegment.Line,be.x*a,be.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,pe.x*a,pe.y*y,Se.x*a,Se.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,Oe.x*a,Oe.y*y,je.x*a,je.y*y,we.x*a,we.y*y).close()),He(fe),He(ve),He(ge),He(he),He(pe),He(Se),He(be),He(je),He(we),He(Oe),He(Ae),He(Fe),He(ke),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ne,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 At("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.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(ne,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(ne,a,y){var x=new go.Geometry,b=te*.4,z=.4,ee=.5,re=.5,se=Te(),fe=Te(),ve=Te(),ge=Te(),he=new go.PathFigure((ee-z)*a,re*y,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),ye(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.44,ve,ge,fe,se,se),he.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*a,fe.y*y,ve.x*a,ve.y*y,ge.x*a,ge.y*y));var pe=Pe(fe.x,fe.y);ye(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.56,se,se,fe,ve,ge);var Se=Pe(fe.x,fe.y);he.add(new go.PathSegment(go.PathSegment.Line,(pe.x*.1+.95*.9)*a,pe.y*.1*y)),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,pe.y*.1*y)),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),he.add(new go.PathSegment(go.PathSegment.Line,(Se.x*.1+.9)*a,.15*y)),he.add(new go.PathSegment(go.PathSegment.Line,(Se.x*.1+.9)*a,(Se.y*.1+.05*.9)*y)),he.add(new go.PathSegment(go.PathSegment.Line,Se.x*a,Se.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,ve.x*a,ve.y*y,ge.x*a,ge.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),z=.35,b=te*.35;var be=new go.PathFigure(ee*a,(re-z)*y,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y));var je=new go.PathFigure((ee-z)*a,re*y,!1);return x.add(je),He(se),He(fe),He(ve),He(ge),He(pe),He(Se),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(ne,a,y){var x=new go.Geometry,b=.375,z=0,ee=-.125,re=b*te,se=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+re+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+re+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-re+ee)*y,(.5+re+z)*a,(.5-b+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+re+ee)*y,(.5-re+z)*a,(.5+b+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),se.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),se.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),se.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),se.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),se.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),se.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),se.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,ee=-.125,re=b*te;var se=new go.PathFigure((1-.5+b+z)*a,(.5+ee)*y,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+re+ee)*y,(.5+re+z)*a,(.5+b+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+re+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y,(.5-re+z)*a,(.5-b+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+re+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-re+ee)*y));var se=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);return x.add(se),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(ne,a,y){var x=ne?ne.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(ne,a,y){var x=ne?ne.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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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 At("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new At("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-x)*a,ee=(.5-b/2)*y,re=(.5+b/2)*y,se=new go.Geometry,fe=new go.PathFigure(0,ee,!0);se.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,z,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,z,y)),fe.add(new go.PathSegment(go.PathSegment.Line,z,re)),fe.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),se.spot1=new go.Spot(0,ee/y);var ve=E(0,re/y,1,re/y,z/a,1,1,.5,Te());return se.spot2=new go.Spot(ve.x,ve.y),He(ve),se}),go.Shape.setFigureParameter("Arrow2",0,new At("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new At("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var z=a-x,ee=(y-b)/2,re=ee+b,se=new go.Geometry,fe=new go.PathFigure(0,ee,!0);se.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,z,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,z,y)),fe.add(new go.PathSegment(go.PathSegment.Line,z,re)),fe.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),se.spot1=new go.Spot(0,ee/y);var ve=E(0,re/y,1,re/y,z/a,1,1,.5,Te());return se.spot2=new go.Spot(ve.x,ve.y),He(ve),se}),go.Shape.defineFigureGenerator("Chevron",function(ne,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(ne,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 At("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var se=E(0,.5,.3,0,0,b/y,.1,b/y,Te());return ee.spot1=new go.Spot(se.x,se.y),se=E(.7,1,1,.5,0,z/y,1,z/y,se),ee.spot2=new go.Spot(se.x,se.y),He(se),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new At("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new At("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,ee=z+x,re=(y-b)/2,se=re+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,re=0,se=y):(z=0,ee=y,re=0,se=y));var fe=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);fe.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,se)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,se)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close());var ge=E(0,.5,.3,re/y,0,z/y,1,z/y,Te());return fe.spot1=new go.Spot(ge.x,ge.y),ge=E(.7,se/y,1,.5,0,ee/y,1,ee/y,ge),fe.spot2=new go.Spot(ge.x,ge.y),He(ge),fe}),go.Shape.setFigureParameter("IBeamArrow",0,new At("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,b/y);var se=E(.7,1,1,.5,0,z/y,1,z/y,Te());return ee.spot2=new go.Spot(se.x,se.y),He(se),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new At("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new At("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,ee=z+x,re=(y-b)/2,se=re+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,re=0,se=y):(z=0,ee=y,re=0,se=y));var fe=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);fe.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,se)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,se)),ve.add(new go.PathSegment(go.PathSegment.Line,0,se)),ve.add(new go.PathSegment(go.PathSegment.Line,0,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close()),fe.spot1=new go.Spot(0,z/y);var ge=E(.7,se/y,1,.5,0,ee/y,1,ee/y,Te());return fe.spot2=new go.Spot(ge.x,ge.y),He(ge),fe}),go.Shape.setFigureParameter("Pointer",0,new At("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var ee=E(.2,.65,1,.65,0,1,1,.5,Te());return b.spot2=new go.Spot(ee.x,ee.y),He(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new At("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.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 ee=E(0,.65,1,.65,0,1,1,.5,Te());return b.spot2=new go.Spot(ee.x,ee.y),He(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new At("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var se=E(.7,1,1,.5,0,z/y,1,z/y,Te());return ee.spot2=new go.Spot(se.x,se.y),He(se),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new At("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,z=b+x;x>y&&(b=0,z=y);var ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,b/y);var se=E(.7,1,1,.5,0,z/y,1,z/y,Te());return ee.spot2=new go.Spot(se.x,se.y),He(se),ee}),go.Shape.setFigureParameter("SquareArrow",0,new At("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.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(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(0,.9*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ne,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 z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.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(ne,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 z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.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(ne,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 z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.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(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(0,x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,te*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-te*x,(.5+z)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(a,x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-te*x,(.5+z)*a,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-te*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(0,y-x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,te*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-te*x,(.5+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-te*x));var re=new go.PathFigure(0,y-x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-te*x,(.5-z)*a,y-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*a,y-2*x,a,y-x-te*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-te*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-te*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,te*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,te*x,0));var re=new go.PathFigure(x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+te*x,0,2*x,(.5-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*y,x+te*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(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(a-x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-te*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-te*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,te*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,te*x,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var re=new go.PathFigure(a-x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-te*x,0,a-2*x,(.5-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*y,a-x-te*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(ne,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 z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.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(ne,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 z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.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(ne,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 z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.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(ne,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 z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.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(ne,a,y){var x=new go.Geometry,b=.2,z=.1,ee=te*b,re=te*z,se=.5,fe=.1,ve=new go.PathFigure(se*a,(fe+z)*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se-b)*a,fe*y,(se-ee)*a,(fe+z)*y,(se-b)*a,(fe+re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-z)*y,(se-b)*a,(fe-re)*y,(se-ee)*a,(fe-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se+b)*a,fe*y,(se+ee)*a,(fe-z)*y,(se+b)*a,(fe-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe+z)*y,(se+b)*a,(fe+re)*y,(se+ee)*a,(fe+z)*y));var ge=.05,he=te*ge;se=.05,fe=.25;var pe=new go.PathFigure(.5*a,.2*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),se=.95,fe=.25,pe.add(new go.PathSegment(go.PathSegment.Bezier,(se+ge)*a,fe*y,(se+he)*a,(fe-ge)*y,(se+ge)*a,(fe-he)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ge=.025,he=te*ge,se=.825,fe=.35,pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-ge)*y,(se+ge)*a,(fe-he)*y,(se+he)*a,(fe-ge)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se-ge)*a,fe*y,(se-he)*a,(fe-ge)*y,(se-ge)*a,(fe-he)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ge=.05,he=te*ge,se=.5,fe=.7,pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-ge)*y,(se+ge)*a,(fe-he)*y,(se+he)*a,(fe-ge)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se-ge)*a,fe*y,(se-he)*a,(fe-ge)*y,(se-ge)*a,(fe-he)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ge=.025,he=te*ge,se=.175,fe=.35,pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-ge)*y,(se+ge)*a,(fe-he)*y,(se+he)*a,(fe-ge)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se-ge)*a,fe*y,(se-he)*a,(fe-ge)*y,(se-ge)*a,(fe-he)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ge=.05,he=te*ge,se=.05,fe=.25,pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-ge)*y,(se-ge)*a,(fe-he)*y,(se-he)*a,(fe-ge)*y)),pe.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 At("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.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(ne,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 z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.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 ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var re=new go.PathFigure(a,.1*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+z)*y,(.5+b)*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+z)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ne,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(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var re=new go.PathFigure(a,.1*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ne,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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var z=te*.2,ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var re=new go.PathFigure(0,b*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.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 ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(ne,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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);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 ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ne,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 z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.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(ne,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 z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.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(ne,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 z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.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 re=new go.PathFigure(b*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ne,a,y){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ee=te*.5,re=.5,se=new go.PathFigure(a,re*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,a,(re+ee)*y,(re+ee)*a,y)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,re*y,(re-ee)*a,y,0,(re+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,re*a,0,0,(re-ee)*y,(re-ee)*a,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,a,re*y,(re+ee)*a,0,a,(re-ee)*y));var fe=new go.PathFigure((z+b)*a,(z+b)*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),fe.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(z+b)*a,z*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ne,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 z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.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(ne,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(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(.5*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+b)*y,(z+b)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.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(ne,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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.7);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,b*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.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),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,.5*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ne,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(ne,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 z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.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(ne,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 z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=1-b,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,.5*a,y).close());var re=new go.PathFigure(.5*b*a,b*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ne,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(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var re=new go.PathFigure(a,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ne,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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);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,(1-z)*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}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.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 ee=new go.PathFigure((1-b)*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.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 ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ne,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 z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),ee.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(ne,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(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);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,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),z.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(ne,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(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var re=new go.PathFigure(a,z*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var se=new go.PathFigure(.8*a,.75*y,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),se.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),se.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ne,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(ne,a,y){var x=new go.Geometry,b=te*.1,z=.1,ee=.9,re=.5,se=new go.PathFigure(.8*a,.5*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,y)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var fe=new go.PathFigure((ee+z)*a,re*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re-z)*y,(ee+z)*a,(re-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.4,ee=te*.1,re=.1,se=.9,fe=.5,ve=new go.PathFigure(.8*a,.5*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+b)*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-z)*y));var ge=new go.PathFigure((se+re)*a,fe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe+re)*y,(se+re)*a,(fe+ee)*y,(se+ee)*a,(fe+re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a,fe*y,(se-ee)*a,(fe+re)*y,(se-re)*a,(fe+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-re)*y,(se-re)*a,(fe-ee)*y,(se-ee)*a,(fe-re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a,fe*y,(se+ee)*a,(fe-re)*y,(se+re)*a,(fe-ee)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=0,re=.5,se=new go.PathFigure(.8*a,.5*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(re-b)*y,.7*a,(re-z)*y)),b=.1,z=te*.1,ee=.9,re=.5;var fe=new go.PathFigure((ee-b)*a,re*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=0,re=.5,se=new go.PathFigure(0,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z+z)*a,(re-b)*y,.8*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(re+z)*y,(ee+z+z)*a,(re+b)*y)),se.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(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=.2,re=.5,se=new go.PathFigure(.1*a,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(re+z)*y,(ee+z)*a,(re+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(re-b)*y,.7*a,(re-z)*y)),b=.1,z=te*.1,ee=.9,re=.5;var ve=new go.PathFigure((ee-b)*a,re*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=.2,re=.5,se=new go.PathFigure(.1*a,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var fe=new go.PathFigure(.2*a,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z)*a,(re-b)*y,.9*a,(re-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(re+z)*y,(ee+z)*a,(re+b)*y)),fe.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(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=te*.1,z=.1,ee=.1,re=.5,se=new go.PathFigure((ee-b*.5)*a,y,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.3,se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.5,se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.7,se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.9,se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b*.5)*a,y,(ee+z)*a,0,(ee+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=.5,re=.5,se=new go.PathFigure((ee-z)*a,re*y,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re-z)*y,(ee+z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Move,(ee-z+.1)*a,re*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z-.1)*a,re*y,ee*a,(re-z)*y,ee*a,(re+z)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=a,z=y;a=a*.38,y=y*.6;var ee=te*.8,re=.8,se=0,fe=.5,ve=(b-a)/2,ge=(z-y)/2,he=new go.PathFigure(se*a+ve,(fe+re)*y+ge,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a+ve,fe*y+ge,(se-ee)*a+ve,(fe+re)*y+ge,(se-re)*a+ve,(fe+ee)*y+ge)),he.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+ge,(se-re)*a+ve,(fe-ee)*y+ge,(se-ee)*a+ve,(fe-re)*y+ge)),he.add(new go.PathSegment(go.PathSegment.Bezier,(se-re+ee*.5)*a+ve,fe*y+ge,se*a+ve,(fe-re)*y+ge,(se-re+ee*.5)*a+ve,(fe-ee)*y+ge)),he.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+ge,(se-re+ee*.5)*a+ve,(fe+ee)*y+ge,se*a+ve,(fe+re)*y+ge).close()),ee=te*.4,re=.4,se=.2,fe=.5;var pe=new go.PathFigure(se*a+ve,(fe+re)*y+ge,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a+ve,fe*y+ge,(se-ee)*a+ve,(fe+re)*y+ge,(se-re)*a+ve,(fe+ee)*y+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+ge,(se-re)*a+ve,(fe-ee)*y+ge,(se-ee)*a+ve,(fe-re)*y+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se-re+ee*.5)*a+ve,fe*y+ge,se*a+ve,(fe-re)*y+ge,(se-re+ee*.5)*a+ve,(fe-ee)*y+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+ge,(se-re+ee*.5)*a+ve,(fe+ee)*y+ge,se*a+ve,(fe+re)*y+ge).close()),ee=te*.2,re=.2,se=.5,fe=.5;var Se=new go.PathFigure((se-re)*a+ve,fe*y+ge,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+ge,(se-re)*a+ve,(fe-ee)*y+ge,(se-ee)*a+ve,(fe-re)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a+ve,fe*y+ge,(se+ee)*a+ve,(fe-re)*y+ge,(se+re)*a+ve,(fe-ee)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+ge,(se+re)*a+ve,(fe+ee)*y+ge,(se+ee)*a+ve,(fe+re)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a+ve,fe*y+ge,(se-ee)*a+ve,(fe+re)*y+ge,(se-re)*a+ve,(fe+ee)*y+ge)),ee=te*.4,re=.4,se=.8,fe=.5;var be=new go.PathFigure(se*a+ve,(fe-re)*y+ge,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a+ve,fe*y+ge,(se+ee)*a+ve,(fe-re)*y+ge,(se+re)*a+ve,(fe-ee)*y+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+ge,(se+re)*a+ve,(fe+ee)*y+ge,(se+ee)*a+ve,(fe+re)*y+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,(se+re-ee*.5)*a+ve,fe*y+ge,se*a+ve,(fe+re)*y+ge,(se+re-ee*.5)*a+ve,(fe+ee)*y+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+ge,(se+re-ee*.5)*a+ve,(fe-ee)*y+ge,se*a+ve,(fe-re)*y+ge).close()),ee=te*.8,re=.8,se=1,fe=.5;var je=new go.PathFigure(se*a+ve,(fe-re)*y+ge,!0);return x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a+ve,fe*y+ge,(se+ee)*a+ve,(fe-re)*y+ge,(se+re)*a+ve,(fe-ee)*y+ge)),je.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+ge,(se+re)*a+ve,(fe+ee)*y+ge,(se+ee)*a+ve,(fe+re)*y+ge)),je.add(new go.PathSegment(go.PathSegment.Bezier,(se+re-ee*.5)*a+ve,fe*y+ge,se*a+ve,(fe+re)*y+ge,(se+re-ee*.5)*a+ve,(fe+ee)*y+ge)),je.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+ge,(se+re-ee*.5)*a+ve,(fe-ee)*y+ge,se*a+ve,(fe-re)*y+ge).close()),x}),go.Shape.defineFigureGenerator("Email",function(ne,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 z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ne,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 z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var re=new go.PathFigure(0,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ne,a,y){var x=new go.Geometry,b=te*.4,z=.4,ee=.5,re=.5,se=Te(),fe=Te(),ve=Te(),ge=Te();ye(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.5,se,se,fe,ve,ge);var he=Pe(fe.x,fe.y),pe=new go.PathFigure(fe.x*a,fe.y*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,ve.x*a,ve.y*y,ge.x*a,ge.y*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),ye(ee-z,re,ee-z,re-b,ee-b,re-z,ee,re-z,.5,ve,ge,fe,se,se),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*a,fe.y*y,ve.x*a,ve.y*y,ge.x*a,ge.y*y)),b=te*.3,z=.3,ye(ee-z,re,ee-z,re-b,ee-b,re-z,ee,re-z,.5,ve,ge,fe,se,se),pe.add(new go.PathSegment(go.PathSegment.Line,fe.x*a,fe.y*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,ge.x*a,ge.y*y,ve.x*a,ve.y*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ye(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.5,se,se,fe,ve,ge),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*a,fe.y*y,ge.x*a,ge.y*y,ve.x*a,ve.y*y).close());var pe=new go.PathFigure(.45*a,0,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),He(se),He(fe),He(ve),He(ge),He(he),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ne,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 z(ee,re,se){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*a,(.8+se)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*a,(.5+se)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*a,(.5+se)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*a,(.8+se)*y).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ne,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(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=.5,z=0,ee=0,re=b*te,se=.4*Math.SQRT2/2+.5,fe=.5-.5*Math.SQRT2/2,ve=1,ge=.5,he=.5,pe=0,Se=new go.PathFigure(se*a,(1-fe)*y,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,ge*y,ve*a,.7*y,ve*a,ge*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(he+z)*a,(pe+z)*y,(.5+b+z)*a,(.5-re+z)*y,(.5+re+z)*a,(.5-b+z)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-b+z)*a,(.5+re+ee)*y,(.5-re+z)*a,.9*y)),Se.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ne,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(ne,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(ne,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 z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,re=.5,se=ee,fe=Math.PI/4,ve=4*(1-Math.cos(fe))/(3*Math.sin(fe)),ge=ve*.5,he=ee,pe=ee,Se=ve*he,be=ve*pe;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-he)*a,se*y,(re-(Se+he)/2)*a,(se+(pe+be)/2)*y,(re-he)*a,(se+be)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(se-pe)*y,(re-he)*a,(se-be)*y,(re-Se)*a,(se-pe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+he)*a,se*y,(re+Se)*a,(se-pe)*y,(re+he)*a,(se-be)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(re+he)*a,(se+be)*y,(re+(Se+he)/2)*a,(se+(pe+be)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var je=new go.PathFigure(.2*a,y,!1);x.add(je),je.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var we=new go.PathFigure(.8*a,y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ne,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 z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ne,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(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(.1*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ne,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 z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*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(ne,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 z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=new go.PathFigure(a,b*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+z)*y,(b+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-z)*a,y,0,(b+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-z)*y,(b-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+z)*a,0,a,(b-z)*y));var re=new go.PathFigure(b*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ne,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 z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.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(ne,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 z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*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).close()),x}),go.Shape.defineFigureGenerator("Component",function(ne,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 z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ne,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 z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ne,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(ne,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(ne,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(ne,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 z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,re=te*.1,se=.2,fe=.9,ve=new go.PathFigure((se-ee)*a,fe*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-ee)*y,(se-ee)*a,(fe-re)*y,(se-re)*a,(fe-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se+ee)*a,fe*y,(se+re)*a,(fe-ee)*y,(se+ee)*a,(fe-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe+ee)*y,(se+ee)*a,(fe+re)*y,(se+re)*a,(fe+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se-ee)*a,fe*y,(se-re)*a,(fe+ee)*y,(se-ee)*a,(fe+re)*y).close()),ee=.1,re=te*.1,se=.8,fe=.9;var ge=new go.PathFigure((se-ee)*a,fe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-ee)*y,(se-ee)*a,(fe-re)*y,(se-re)*a,(fe-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(se+ee)*a,fe*y,(se+re)*a,(fe-ee)*y,(se+ee)*a,(fe-re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe+ee)*y,(se+ee)*a,(fe+re)*y,(se+re)*a,(fe+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(se-ee)*a,fe*y,(se-re)*a,(fe+ee)*y,(se-ee)*a,(fe+re)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ne,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(ne,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 z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var re=new go.PathFigure(.5*a,.7*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var se=.1,fe=te*.1,ve=.1,ge=.9,he=new go.PathFigure((ve-se)*a,ge*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge-se)*y,(ve-se)*a,(ge-fe)*y,(ve-fe)*a,(ge-se)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*a,ge*y,(ve+fe)*a,(ge-se)*y,(ve+se)*a,(ge-fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge+se)*y,(ve+se)*a,(ge+fe)*y,(ve+fe)*a,(ge+se)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*a,ge*y,(ve-fe)*a,(ge+se)*y,(ve-se)*a,(ge+fe)*y)),se=.1,fe=te*.1,ve=.4,ge=.9;var pe=new go.PathFigure((ve-se)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge-se)*y,(ve-se)*a,(ge-fe)*y,(ve-fe)*a,(ge-se)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*a,ge*y,(ve+fe)*a,(ge-se)*y,(ve+se)*a,(ge-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge+se)*y,(ve+se)*a,(ge+fe)*y,(ve+fe)*a,(ge+se)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*a,ge*y,(ve-fe)*a,(ge+se)*y,(ve-se)*a,(ge+fe)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ne,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 z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ve=.05,ge=te*.05,he=.175,pe=.95,re=new go.PathFigure((he-ve)*a,pe*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ve)*y,(he-ve)*a,(pe-ge)*y,(he-ge)*a,(pe-ve)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(he+ve)*a,pe*y,(he+ge)*a,(pe-ve)*y,(he+ve)*a,(pe-ge)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ve)*y,(he+ve)*a,(pe+ge)*y,(he+ge)*a,(pe+ve)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(he-ve)*a,pe*y,(he-ge)*a,(pe+ve)*y,(he-ve)*a,(pe+ge)*y));var ve=.05,ge=te*.05,he=.375,pe=.95,se=new go.PathFigure((he-ve)*a,pe*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ve)*y,(he-ve)*a,(pe-ge)*y,(he-ge)*a,(pe-ve)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(he+ve)*a,pe*y,(he+ge)*a,(pe-ve)*y,(he+ve)*a,(pe-ge)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ve)*y,(he+ve)*a,(pe+ge)*y,(he+ge)*a,(pe+ve)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(he-ve)*a,pe*y,(he-ge)*a,(pe+ve)*y,(he-ve)*a,(pe+ge)*y));var ve=.05,ge=te*.05,he=.625,pe=.95,fe=new go.PathFigure((he-ve)*a,pe*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ve)*y,(he-ve)*a,(pe-ge)*y,(he-ge)*a,(pe-ve)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ve)*a,pe*y,(he+ge)*a,(pe-ve)*y,(he+ve)*a,(pe-ge)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ve)*y,(he+ve)*a,(pe+ge)*y,(he+ge)*a,(pe+ve)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ve)*a,pe*y,(he-ge)*a,(pe+ve)*y,(he-ve)*a,(pe+ge)*y));var ve=.05,ge=te*.05,he=.825,pe=.95,Se=new go.PathFigure((he-ve)*a,pe*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ve)*y,(he-ve)*a,(pe-ge)*y,(he-ge)*a,(pe-ve)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(he+ve)*a,pe*y,(he+ge)*a,(pe-ve)*y,(he+ve)*a,(pe-ge)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ve)*y,(he+ve)*a,(pe+ge)*y,(he+ge)*a,(pe+ve)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(he-ve)*a,pe*y,(he-ge)*a,(pe+ve)*y,(he-ve)*a,(pe+ge)*y).close());var be=new go.PathFigure(0,y,!1);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ne,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 z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var re=.05,se=te*.05,fe=.35,ve=.775,ge=new go.PathFigure((fe-re)*a,ve*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ve-re)*y,(fe-re)*a,(ve-se)*y,(fe-se)*a,(ve-re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(fe+re)*a,ve*y,(fe+se)*a,(ve-re)*y,(fe+re)*a,(ve-se)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ve+re)*y,(fe+re)*a,(ve+se)*y,(fe+se)*a,(ve+re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(fe-re)*a,ve*y,(fe-se)*a,(ve+re)*y,(fe-re)*a,(ve+se)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ne,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(ne,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(ne,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(ne,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(ne,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(ne,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(ne,a,y){var x=new go.Geometry,b=.3,z=te*.3,ee=.5,re=.7,se=new go.PathFigure((ee-b)*a,re*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y));var fe=new go.PathFigure(0,.7*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ne,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(ne,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(ne,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 z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=.5,re=.5,se=new go.PathFigure((ee-b)*a,re*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y));var fe=new go.PathFigure(.15*a,.5*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(ne,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(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=.5,re=.5,se=new go.PathFigure((ee-b)*a,re*y,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y).close()),b=.05,z=te*.05,ee=.5,re=.8;var fe=new go.PathFigure((ee-b)*a,re*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),fe.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(ne,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(ne,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 z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ne,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 z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ne,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(ne,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(ne,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(ne,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 z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ne,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(ne,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 z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var re=new go.PathFigure(.678*a,.85*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var se=new go.PathFigure(.5*a,.1*y,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),se.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ne,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(ne,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 z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var re=new go.PathFigure(a*.612,y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var se=new go.PathFigure(a*.816,y,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),se.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),se.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ne,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 z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var re=new go.PathFigure(a*.055,.18*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),re.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var se=new go.PathFigure(a*1,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),se.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),se.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ne,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(ne,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(ne,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 z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var re=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var se=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ne,a,y){var x=new go.Geometry,b=8,z=b*te,ee=new go.PathFigure(b,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var re=new go.PathFigure(a*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var se=new go.PathFigure(a*.83,y*1,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),se.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),se.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var fe=new go.PathFigure(a*.78,y*.05,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*te,z=y*.8,ee=new go.Geometry,re=new go.PathFigure(x,0,!0);return ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),re.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-b,a-b,z)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),re.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,x,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,.8,-b,-b)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(ne,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 z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ne,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(ne,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 z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ne,a,y){var x=new go.Geometry,b=15,z=b*te,ee=new go.PathFigure(a*.62,y*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ne,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(ne,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 z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ne,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")},61016: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 At={},Ct="5.0",Pe={},Te=null,He=!1,E=!1,ye=null,me=!1,oe=null,te=null,ue=0;ue<arguments.length;ue++){var de=arguments[ue];if(de!==null)switch(typeof de){case"number":Ct=de.toFixed(1);break;case"string":de.match(new RegExp("^[0-9]\\.[0-9]+$"))?Ct=de:ye=de;break;case"object":typeof de.is3D!="undefined"?Te=de:Pe=de;break;case"boolean":He=de,E=!0;break}}Te===null&&(Te={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},Pe.material_id!==void 0&&!E&&(He=!0)),ye!==null&&Pe.id===void 0&&(Pe.id=ye);var le="",ce="",ae=!1,ie=null,ne=null,a=null,y=!1,x=null,b=null,z=null,ee=null,re=null;Pe.height!==void 0&&(Pe.height=Math.round(Pe.height)),Pe.width!==void 0&&(Pe.width=Math.round(Pe.width));var se=function($e){return parseFloat($e)>4?parseFloat($e):5};At.setHTML5Codebase=function($e,Ue){te=$e,nt($e,Ue)},At.setJavaCodebase=At.setJavaCodebaseVersion=At.isCompiledInstalled=At.setPreCompiledScriptPath=At.setPreCompiledResourcePath=function(){},At.setHTML5CodebaseVersion=function($e,Ue){var Be=parseFloat($e);if(Be!==NaN&&Be<5){console.log("The GeoGebra HTML5 codebase version "+Be+" is deprecated. Using version latest instead.");return}oe=$e,ut($e,Ue)},At.getHTML5CodebaseVersion=function(){return ne},At.getParameters=function(){return Pe},At.setFontsCSSURL=function($e){ee=$e},At.setGiacJSURL=function($e){},At.setJNLPFile=function($e){le=$e},At.setJNLPBaseDir=function($e){},At.inject=function(){function $e(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ue="auto",Be=Pe.id,tt,Je=!1,ft=0;ft<arguments.length;ft++){var Ze=arguments[ft];typeof Ze=="string"?(Ze=Ze.toLowerCase(),Ze.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Ue=Ze:Be=arguments[ft]):typeof Ze=="boolean"?Je=Ze:Ze instanceof HTMLElement&&(tt=Ze)}Ge();function Ge(){if(!me){setTimeout(Ge,200);return}Ue=Ve(Ue);var Le=tt||document.getElementById(Be);if(!Le){console.log("possibly bug on ajax loading? ");return}if(At.removeExistingApplet(Le,!1),Pe.width===void 0&&Le.clientWidth&&(Pe.width=Le.clientWidth),Pe.height===void 0&&Le.clientHeight&&(Pe.height=Le.clientHeight),!(Pe.width&&Pe.height)&&Ue==="html5"&&(delete Pe.width,delete Pe.height),ie=Ue,Ue==="screenshot")we(Le,Pe);else{var Ke=!1;Pe.hasOwnProperty("playButton")&&Pe.playButton||Pe.hasOwnProperty("clickToLoad")&&Pe.clickToLoad?Ke=!0:Pe.hasOwnProperty("playButtonAutoDecide")&&Pe.playButtonAutoDecide&&(Ke=(!fe()||$e())&&ve()),Ke?(ie="screenshot",Ae(Le,Pe,Je,Ue)):je(Le,Pe,Je)}}};function fe(){try{return window.self!==window.top}catch($e){return!0}}function ve(){return Pe.hasOwnProperty("screenshotGenerator")&&Pe.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}At.getViews=function(){return Te},At.isJavaInstalled=function(){return!1};var ge=function($e){var Ue=function(ft){var Ze=JSON.parse(ft),Ge=function(Ee){return Ee.type=="G"||Ee.type=="E"},Le=Ze.elements?Ze.elements.filter(Ge)[0]:Ze;if(!Le||!Le.url){Be();return}Pe.fileName=Le.url,he(Le.settings||{}),Te.is3D=!0;var Ke="https://www.geogebra.org/images/";At.setPreviewImage(x||Le.previewUrl,Ke+"GeoGebra_loading.png",Ke+"applet_play.png"),$e()},Be=function(){Pe.onError&&Pe.onError(),qe("Error: Fetching material (id "+Pe.material_id+") failed.",Pe)},tt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Je="/materials/"+Pe.material_id+"?scope=basic";pe("https://"+tt+"/api/proxy.php?path="+encodeURIComponent(Je),Ue,Be)};function he($e){var Ue=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Be){$e[Be]=!!$e[Be]}),Ue.forEach(function(Be){Pe[Be]===void 0&&$e[Be]!==void 0&&(Pe[Be]=$e[Be])}),Pe.showToolBarHelp===void 0&&(Pe.showToolBarHelp=Pe.showToolBar)}function pe($e,Ue,Be){var tt=new XMLHttpRequest;tt.open("GET",$e),tt.onload=function(){Ue(tt.responseText)},tt.onerror=Be,tt.send()}At.isHTML5Installed=function(){return!0},At.getLoadedAppletType=function(){return ie},At.setPreviewImage=function($e,Ue,Be){x=$e,b=Ue,z=Be},At.removeExistingApplet=function($e,Ue){var Be;typeof $e=="string"&&($e=document.getElementById($e)),ie=null;var tt=null;for(Be=0;Be<$e.childNodes.length;Be++){var Je=$e.childNodes[Be],ft=Je.className;ft==="applet_screenshot"?Ue?(Je.style.display="block",ie="screenshot"):Je.style.display="none":ft!=="applet_scaler prerender"&&($e.removeChild(Je),tt=ft&&ft.indexOf("appletParameters")!=-1?Je.id:null,Be--)}var Ze=Pe.id!==void 0?Pe.id:tt,Ge=window[Ze];Ge&&typeof Ge.getBase64=="function"&&(Ge.remove(),window[Ze]=null)},At.refreshHitPoints=function(){if(se(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var $e=At.getAppletObject();return $e&&typeof $e.recalculateEnvironments=="function"?($e.recalculateEnvironments(),!0):!1},At.startAnimation=function(){var $e=At.getAppletObject();return $e&&typeof $e.startAnimation=="function"?($e.startAnimation(),!0):!1},At.stopAnimation=function(){var $e=At.getAppletObject();return $e&&typeof $e.stopAnimation=="function"?($e.stopAnimation(),!0):!1},At.getAppletObject=function(){var $e=Pe.id!==void 0?Pe.id:"ggbApplet";return window[$e]},At.resize=function(){};var Se=function($e,Ue,Be){var tt=document.createElement("param");tt.setAttribute("name",Ue),tt.setAttribute("value",Be),$e.appendChild(tt)},be=function($e){return $e&&$e!=="false"},je=function($e,Ue,Be){se(ne)<=4.2&&(Be=!0);var tt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ne||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(tt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Je=document.createElement("div");Je.classList.add("appletParameters","notranslate");var ft=Ue.width,Ze=Ue.height;if(Ue.disableAutoScale=Ue.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ue.disableAutoScale,Ue.width!==void 0)if(se(ne)<=4.4)be(Ue.showToolBar)&&(Ue.height-=7),be(Ue.showAlgebraInput)&&(Ue.height-=37),Ue.width<605&&be(Ue.showToolBar)&&(Ue.width=605,ft=605);else{var Ge=100;(be(Ue.showToolBar)||be(Ue.showMenuBar))&&(Ue.hasOwnProperty("customToolBar")&&(Ue.customToolbar=Ue.customToolBar),Ge=be(Ue.showMenuBar)?245:155),ft<Ge&&(Ue.width=Ge,ft=Ge)}Je.style.border="none",Je.style.display="inline-block";for(var Le in Ue)Ue.hasOwnProperty(Le)&&Le!=="appletOnLoad"&&Je.setAttribute("data-param-"+Le,Ue[Le]);ee&&Je.setAttribute("data-param-fontscssurl",ee),At.resize=function(){GGBAppletUtils.responsiveResize($e,Ue)},window.addEventListener("resize",function(dt){At.resize()});var Ke=typeof Ue.appletOnLoad=="function"?Ue.appletOnLoad:function(){};if(!Be&&Ue.width!==void 0){Ue.hasOwnProperty("showSplash")||Je.setAttribute("data-param-showSplash","false");var Ee=$e.querySelector(".applet_scaler.prerender"),Re=Ee!==null;if(Re)var Qe=Ee.querySelector(".ggb_preview");else{var Qe=ke(ft,Ze,Ue.borderColor,!1);Ee=document.createElement("div"),Ee.className="applet_scaler",Ee.style.position="relative",Ee.style.display="block",Ee.style.width=ft+"px",Ee.style.height=Ze+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Ee,"66%"),se(ne)>=5?(Ue.appletOnLoad=function(dt){var bt=$e.querySelector(".ggb_preview");bt&&bt.parentNode.removeChild(bt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ee),window.GGBT_wsf_view&&$(window).trigger("resize"),Ke(dt)},Re||Ee.appendChild(Qe)):Je.appendChild(Qe),Ee.appendChild(Je),Re||$e.appendChild(Ee),setTimeout(function(){At.resize()},1)}else{var Ye=document.createElement("div");Ye.className="applet_scaler",Ye.style.position="relative",Ye.style.display="block",Ye.appendChild(Je),$e.appendChild(Ye),Ue.appletOnLoad=function(dt){At.resize(),Ke(dt)}}function We(dt,bt){bt&&typeof bt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(dt,bt.appletOnLoad):renderGGBElement(dt),qe("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",bt)}function Ce(dt,bt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:dt,params:bt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(an){We(an.article,an.params)}),html5AppletsToProcess=null)},se(ne)<5&&(dt.className+=" geogebraweb")):We(dt,bt)}if(tt){scriptLoadStarted=!0;for(var xe=0;xe<Je.childNodes.length;xe++){var Ne=Je.childNodes[xe].tagName;Ne==="TABLE"&&(Je.removeChild(Je.childNodes[xe]),xe--)}if(ggbHTML5LoadedScript!==null){var ze=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ze!=null&&ze.parentNode.removeChild(ze)}var it=document.createElement("script"),St=function(){Ce(Je,Ue)};it.src=ce+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=ne,ggbHTML5LoadedScript=it.src,qe("GeoGebra HTML5 codebase loaded: '"+ce+"'.",Ue),!te&&(!oe||oe=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),St()):ce.requirejs?__webpack_require__.e(12).then(function(){var dt=[__webpack_require__(12)];St.apply(null,dt)}.bind(this)).catch(__webpack_require__.oe):(it.onload=St,$e.appendChild(it))}else Ce(Je,Ue);Ue.height=Ze,Ue.width=ft},we=function($e,Ue,Be){var tt=ke(Ue.width,Ue.height,Ue.borderColor,Be),Je=document.createElement("div");Je.style.position="relative",Je.style.display="block",Je.style.width=Ue.width+"px",Je.style.height=Ue.height+"px",Je.className="applet_screenshot applet_scaler"+(Be?" applet_screenshot_play":""),Je.appendChild(tt);var ft=GGBAppletUtils.getScale(Ue,$e,Be);Be?($e.appendChild(Fe()),window.GGBT_wsf_view||($e.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Je,"66%"),$e.appendChild(Je),ft!==1&&!isNaN(ft)&&(GGBAppletUtils.scaleElement(Je,ft),Je.style.width=Ue.width+"px",Je.style.height=Ue.height+"px",Je.parentNode.style.width=Ue.width*ft+"px",Je.parentNode.style.height=Ue.height*ft+"px"),At.resize=function(){Oe($e,tt,Je,Be)},window.addEventListener("resize",function(Ze){At.resize()}),At.resize()};function Oe($e,Ue,Be,tt){if($e.contains(Ue)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if($e.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition($e)}var Je=GGBAppletUtils.getScale(Pe,$e,tt);Be.parentNode!==null&&(!isNaN(Je)&&Je!==1?(GGBAppletUtils.scaleElement(Be,Je),Be.parentNode.style.width=Pe.width*Je+"px",Be.parentNode.style.height=Pe.height*Je+"px"):(GGBAppletUtils.scaleElement(Be,1),Be.parentNode.style.width=Pe.width+"px",Be.parentNode.style.height=Pe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter($e),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}At.onExitFullscreen=function($e,Ue){Ue.appendChild($e)};var Ae=function($e,Ue,Be,tt){we($e,Ue,!0);for(var Je=function(){var Ge=[];for(Ze=0;Ze<$e.childNodes.length;Ze++)Ge.push($e.childNodes[Ze]);if(window.GGBT_wsf_view){var Le=window.GGBT_wsf_view.renderFullScreen($e,Ue.id),Ke=document.getElementById("fullscreencontainer"),Ee=jQuery($e).find(".fullscreencontent");Ee.length>0?(Le.remove(),Ee.attr("id","fullscreencontent").show(),jQuery(Ke).append(Ee),window.dispatchEvent(new Event("resize"))):je(Le,Ue,!1),window.GGBT_wsf_view.launchFullScreen(Ke)}else ie=tt,je($e,Ue,!1);if(!window.GGBT_wsf_view)for(Ze=0;Ze<Ge.length;Ze++)$e.removeChild(Ge[Ze])},ft=$e.getElementsByClassName("ggb_preview_play"),Ze=0;Ze<ft.length;Ze++)ft[Ze].addEventListener("click",Je,!1),ft[Ze].addEventListener("ontouchstart",Je,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload($e),ve()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Fe=function(){var $e=document.createElement("div");if($e.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Ue='.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");}',Be=document.createElement("style");Be.styleSheet?Be.styleSheet.cssText=Ue:Be.appendChild(document.createTextNode(Ue)),document.getElementsByTagName("head")[0].appendChild(Be)}return $e},ke=function($e,Ue,Be,tt){var Je=document.createElement("div");Je.className="ggb_preview",Je.style.position="absolute",Je.style.zIndex="90",Je.style.width=$e-2+"px",Je.style.height=Ue-2+"px",Je.style.top="0px",Je.style.left="0px",Je.style.overflow="hidden",Je.style.backgroundColor="white";var ft="lightgrey";Be!==void 0&&(Be==="none"?ft="transparent":ft=Be),Je.style.border="1px solid "+ft;var Ze=document.createElement("img");if(Ze.style.position="relative",Ze.style.zIndex="1000",Ze.style.top="-1px",Ze.style.left="-1px",x!==null&&Ze.setAttribute("src",x),Ze.style.opacity=.7,b!==null){var Ge,Le,Ke;if(!tt){Ge=document.createElement("img"),Ge.style.position="absolute",Ge.style.zIndex="1001",Ge.style.opacity=1,Ze.style.opacity=.3,Le=360,Le>$e/4*3&&(Le=$e/4*3),Ke=Le/5.8,Ge.setAttribute("src",b),Ge.setAttribute("width",Le),Ge.setAttribute("height",Ke);var Ee=($e-Le)/2,Re=(Ue-Ke)/2;Ge.style.left=Ee+"px",Ge.style.top=Re+"px",Je.appendChild(Ge)}}return Je.appendChild(Ze),Je},Ve=function($e){return $e=$e.toLowerCase(),$e==="html5"||$e==="screenshot"?$e:"html5"},De=["web","webSimple","web3d","tablet","tablet3d","phone"],ut=function($e,Ue){if(ne=$e,Ue){nt(ne,!0);return}var Be=!He;if(Be){var tt=se(ne);!isNaN(tt)&&tt<4.4&&(Be=!1)}var Je,ft;window.location.protocol.substr(0,4)==="http"?Je=window.location.protocol:Je="http:";var Ze=ne.indexOf("//");Ze>0?ft=ne:Ze===0?ft=Je+ne:ft="https://www.geogebra.org/apps/5.2.814.0/";for(var Ge in De)if(ne.slice(De[Ge].length*-1)===De[Ge]||ne.slice((De[Ge].length+1)*-1)===De[Ge]+"/"){nt(ft,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Be&&!Te.is3D&&!Te.AV&&!Te.SV&&!Te.CV&&!Te.EV2&&!Te.CP&&!Te.PC&&!Te.DA&&!Te.FI&&!Te.PV&&!be(Pe.showToolBar)&&!be(Pe.showMenuBar)&&!be(Pe.showAlgebraInput)&&!be(Pe.enableRightClick)&&(!Pe.appName||Pe.appName=="classic")?ft+="webSimple/":ft+="web3d/",nt(ft,!1)},nt=function($e,Ue){if($e.requirejs){ce=$e;return}$e.slice(-1)!=="/"&&($e+="/"),ce=$e,Ue===null&&(Ue=$e.indexOf("http")===-1),ae=Ue,a="web.nocache.js",y=!1;var Be=ce.split("/");Be.length>1&&(!Ue&&Be[Be.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):De.indexOf(Be[Be.length-2])>=0&&(a=Be[Be.length-2]+".nocache.js")),Be=$e.split("/"),ne=Be[Be.length-3],ne.substr(0,4)==="test"?ne=ne.substr(4,1)+"."+ne.substr(5,1):(ne.substr(0,3)==="war"||ne.substr(0,4)==="beta")&&(ne="5.0");var tt=parseFloat(ne);tt!==NaN&&tt<5&&$e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+tt+" is deprecated. Using version latest instead."),ut("5.0",Ue))},qe=function($e,Ue){window.console&&window.console.log&&(!Ue||typeof Ue.showLogging=="undefined"||Ue.showLogging&&Ue.showLogging!=="false")&&console.log($e)};Pe.material_id!==void 0?ge(Xe):Xe();function Xe(){var $e=Ct;oe!==null?$e=oe:parseFloat($e)<5&&($e="5.0"),ut($e,!1),te!==null&&nt(te,ae),me=!0}return At},GGBAppletUtils=function(){"use strict";function At(){return window.GGBT_wsf_edit!==void 0}function Ct(me,oe){oe!=1?(me.style.transformOrigin="0% 0% 0px",me.style.webkitTransformOrigin="0% 0% 0px",me.style.transform="scale("+oe+","+oe+")",me.style.webkitTransform="scale("+oe+","+oe+")",me.style.maxWidth="initial",me.querySelector(".ggb_preview")!==null&&(me.querySelector(".ggb_preview").style.maxWidth="initial"),me.querySelectorAll(".ggb_preview img")[0]!==void 0&&(me.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),me.querySelectorAll(".ggb_preview img")[1]!==void 0&&(me.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(me.style.transform="none",me.style.webkitTransform="none")}function Pe(me,oe,te,ue,de,le){var ce=null;if(le!=null&&le!="")for(var ae=me.parentNode;ae!=null;)if((" "+ae.className+" ").indexOf(" "+le+" ")>-1){ce=ae;break}else ae=ae.parentNode;var ie=0,ne=0,a=0,y=0,x=0,b=0,z=0;if(ce)ie=ce.offsetWidth,ne=Math.max(ue?ce.offsetWidth:0,ce.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ie=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ie):(ie=window.innerWidth,ne=window.innerHeight,a=window.innerWidth),me){var ee=me.getBoundingClientRect();ee.left>0&&ee.left<=ie&&(de===void 0||!de)&&(document.dir==="rtl"?(x=ie-ee.width-ee.left,b=a<=480?10:30):(b=ee.left,x=a<=480?10:30),y=b+x)}if(me&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=me.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return me&&((te===void 0||!te)&&oe>0&&oe+y<ie?ie=oe:ie-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(te===void 0||!te)&&(ne-=z)),{width:ie,height:ne}}function Te(me,oe,te,ue,de){if(me.isScreenshoGenerator)return 1;var le=ue!==void 0&&ue,ce=me.noScaleMargin!=null&&me.noScaleMargin,ae=function(re){return re&&re!=="false"},ie=ae(me.autoHeight),ne=Pe(oe,me.width,te,ie,le&&window.GGBT_wsf_view||ce,de),a=parseInt(ne.width),y=me.width,x=me.height;if(y===void 0){var b=oe.querySelector(".appletParameters");b&&(y=b.offsetWidth,x=b.offsetHeight)}var z=a/y,ee=le?1:ne.height/x;return te!==void 0&&!te&&(z=Math.min(1,z),ee=Math.min(1,ee)),Math.min(z,ee)}function He(me,oe,te){var ue=1,de,le=!1;if(me.hasOwnProperty("allowUpscale")&&(le=me.allowUpscale),me.hasOwnProperty("scale")&&(ue=parseFloat(me.scale),(isNaN(ue)||ue===null||ue===0)&&(ue=1),ue>1&&(le=!0)),oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(le=!0),!(me.hasOwnProperty("disableAutoScale")&&me.disableAutoScale))de=Te(me,oe,le,te,me.scaleContainerClass);else return ue;return le&&(!me.hasOwnProperty("scale")||ue===1)?de:Math.min(ue,de)}function E(me){var oe=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),ue=me.getBoundingClientRect(),de=(oe-ue.width)/2,le=(te-ue.height)/2;le<0&&(le=0),me.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(de<40?me.style.left="40px":me.style.left=de+"px",me.style.top=le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(le<40?me.style.top="40px":me.style.top=le+"px",me.style.left=de+"px")}function ye(me,oe){var te=me.querySelector(".appletParameters");if(te){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(oe.id!==te.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(me)}if(te.parentElement&&/fullscreen/.test(te.parentElement.className))return;var ue=He(oe,me);At()&&te.setAttribute("data-param-scale",ue);for(var de=null,le=0;le<me.childNodes.length;le++)if(me.childNodes[le].className!==void 0&&me.childNodes[le].className.match(/^applet_scaler/)){de=me.childNodes[le];break}if(de!==null&&de.querySelector(".noscale")!==null)return;var ce=oe.id!==void 0?oe.id:"ggbApplet",ae=window[ce];(ae==null||!ae.recalculateEnvironments)&&de!==null&&!de.className.match(/fullscreen/)&&(de.parentNode.style.transform="",!isNaN(ue)&&ue!==1?(de.parentNode.style.width=oe.width*ue+"px",de.parentNode.style.height=oe.height*ue+"px",Ct(de,ue)):(Ct(de,1),de.parentNode.style.width=oe.width+"px",de.parentNode.style.height=oe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&E(me),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(te).parents(".content-added-content"))}}return{responsiveResize:ye,isFlexibleWorksheetEditor:At,positionCenter:E,getScale:He,scaleElement:Ct}}();__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 At=n.location.search;return At.indexOf(J)!=-1||At.indexOf(K)!=-1}function q(At,Ct){}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(At){var Ct=s[L].bindings;s[L].bindings=function(){for(var Pe=Ct?Ct():{},Te=At[webModule.__softPermutationId],He=O;He<Te.length;He++){var E=Te[He];Pe[E[O]]=E[P]}return Pe}};var t;function u(){return v(),t}function v(){if(!t){var At=o.createElement(Q);if(At.id=L,At.style.cssText=R+S,At.tabIndex=-1,o.body.appendChild(At),t=At.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Ct=document.compatMode==U?V:W;t.write(Ct+X),t.close()}}}function w(At){function Ct(Te){function He(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var E=He();if(E){Te();return}function ye(){if(!E){if(!He())return;E=!0,Te(),o.removeEventListener&&o.removeEventListener(Z,ye,!1),me&&clearInterval(me)}}o.addEventListener&&o.addEventListener(Z,ye,!1);var me=setInterval(function(){ye()},$)}function Pe(Te){var He=u(),E=He.body,ye=He.createElement(_);ye.language=ab,ye.crossOrigin=W,ye.src=Te,webModule.__errFn&&(ye.onerror=function(){webModule.__errFn(L,new Error(bb+Te))}),E.appendChild(ye)}Ct(function(){Pe(At)})}webModule.__startLoadingFragment=function(At){return C(At)},webModule.__installRunAsyncCode=function(At){var Ct=u(),Pe=Ct.body,Te=Ct.createElement(_);Te.language=ab,Te.text=At,Pe.appendChild(Te),Pe.removeChild(Te)};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(At){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(At){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(At){var Ct=c[At];return Ct==null?null:Ct},r=d,webModule.__errFn=e}function B(){function At(me){var oe=me.lastIndexOf(rb);oe==-1&&(oe=me.length);var te=me.indexOf(sb);te==-1&&(te=me.length);var ue=me.lastIndexOf(tb,Math.min(te,oe));return ue>=O?me.substring(O,ue+P):W}function Ct(me){if(!me.match(/^\w+:\/\//)){var oe=o.createElement(ub);oe.src=me+vb,me=At(oe.src)}return me}function Pe(){var me=__gwt_getMetaProperty(wb);return me!=null?me:W}function Te(){for(var me=o.getElementsByTagName(_),oe=O;oe<me.length;++oe)if(me[oe].src.indexOf(xb)!=-1)return At(me[oe].src);return W}function He(){var me=o.getElementsByTagName(yb);return me.length>O?me[me.length-P].href:W}function E(){var me=o.location;return me.href==me.protocol+zb+me.host+me.pathname+me.search+me.hash}var ye=Pe();return ye==W&&(ye=Te()),ye==W&&(ye=He()),ye==W&&E()&&(ye=At(o.location.href)),ye=Ct(ye),ye}function C(At){return At.match(/^\//)||At.match(/^[a-zA-Z]+:\/\//)?At:webModule.__moduleBase+At}function D(){var At=[],Ct=O,Pe=[],Te=[];function He(me){var oe=Te[me](),te=Pe[me];if(oe in te)return oe;var ue=[];for(var de in te)ue[te[de]]=de;throw r&&r(me,ue,oe),null}if(__gwt_isKnownPropertyValue=function(me,oe){return oe in Pe[me]},webModule.__getPropMap=function(){var me={};for(var oe in Pe)Pe.hasOwnProperty(oe)&&(me[oe]=He(oe));return me},webModule.__computePropValue=He,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var ye=E.indexOf(Db);ye!=-1&&(Ct=parseInt(E.substring(ye+P),$),E=E.substring(O,ye))}catch(me){}return webModule.__softPermutationId=Ct,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/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})()},15476:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Ax:function(){return ye},Ds:function(){return me},KI:function(){return te},SI:function(){return E},f1:function(){return He}});var Te=Pe(11320);function He(ue){let de=!0;if(ue.length>0){for(let le=0;le<ue.length;le++)if(ue[le].compile_success==0||!ue[le].compile_success){de=!1;break}}else de=!1;return de}function E(ue,de=""){let le=[];for(let ce=0;ce<ue.length;ce++){let ae=ue[ce],ie=de?`${de}/${ae.name}`:`${ae.name}`;le.push({title:ae.name,type:ae.type,isLeaf:ae.type!=="tree",key:ie})}return le}function ye(ue,de,le){for(let ce=0;ce<ue.length;ce++){let ae=ue[ce];if(ae.key===de){ae.children=le;break}ae.children&&ye(ae.children,de,le)}return ue}function me(ue,de,le){let ce;return function(){let ae=this,ie=arguments,ne=function(){ce=null,le||ue.apply(ae,ie)},a=le&&!ce;clearTimeout(ce),ce=setTimeout(ne,de),a&&ue.apply(ae,ie)}}const oe=!0,te=Te.Z.API_SERVER},63205:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return ce}});var Te=Pe(67294),He={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=Pe(94184),ye=Pe.n(E),me=Pe(57953),oe=Pe(15979),te=Pe(33170),ue=Pe(28706),de=(ae,ie,ne)=>new Promise((a,y)=>{var x=ee=>{try{z(ne.next(ee))}catch(re){y(re)}},b=ee=>{try{z(ne.throw(ee))}catch(re){y(re)}},z=ee=>ee.done?a(ee.value):Promise.resolve(ee.value).then(x,b);z((ne=ne.apply(ae,ie)).next())}),ce=({data:ae,className:ie,fullWidth:ne,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:z})=>{const ee=(0,Te.useRef)(null),re=(0,Te.useRef)(null),se=(0,Te.useRef)(null),fe=(0,Te.useRef)(null),[ve,ge]=(0,Te.useState)(!1),[he,pe]=(0,Te.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Te.useEffect)(()=>{se.current||(se.current=document.createElement("style"),document.head.appendChild(se.current)),ae!=null&&ae.visible?(document.body.setAttribute("data-custom","y-hidden"),se.current.innerHTML=" html { overflow-y: hidden; }",ae!=null&&ae.src&&Se()):(document.body.removeAttribute("data-custom"),se.current&&(document.head.removeChild(se.current),se.current=null))},[ae==null?void 0:ae.visible]);const Se=()=>de(void 0,null,function*(){ge(!0),pe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ae=yield(0,ue.ZJ)(ae==null?void 0:ae.src);ee.current.src="",ee.current.src=Ae,ee.current.onload=function(){Oe()},ge(!1),pe("")}),be=()=>{document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",y()},je=Ae=>de(void 0,null,function*(){ge(!0),pe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Fe=yield(0,te.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ae.title,file:Ae.dataUrl}});Fe!=null&&Fe.id&&!z?(yield(0,te.ZP)(`/api/attachments/${ae.id}/add_subitem.json`,{method:"post",body:{subitem_id:Fe==null?void 0:Fe.id,settings:JSON.stringify(Ae.state)}})).status===0&&x():Fe!=null&&Fe.id&&x(Fe),document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",ge(!1),pe("")}),we=()=>{const Ae=document.querySelector('a[href="https://markerjs.com/"]');Ae&&Ae.parentNode&&(Ae.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(ke=>{const Ve=document.querySelector(ke.name);Ve&&Ve.setAttribute("title",ke.title)})},Oe=()=>{re.current=new oe.hP(ee.current),re.current.targetRoot=fe.current,re.current.addEventListener("render",je),re.current.addEventListener("beforeclose",be),b&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),ae!=null&&ae.snapshotData&&re.current.restoreState(ae.snapshotData),setTimeout(()=>{window.scrollTo(0,0),we()},300)};return Te.createElement(Te.Fragment,null,(ae==null?void 0:ae.visible)&&Te.createElement(me.Z,{spinning:ve,tip:he,style:{position:"absolute"}},Te.createElement("div",{ref:fe,className:ye()(He.imageDimensions,ie,ne?He.fullWidth:""),style:a},Te.createElement("img",{className:He.img,ref:ee}))))}},36527:function(At,Ct,Pe){"use strict";var Te=Pe(67294),He=Pe(71230),E=Pe(15746),ye=Pe(36182),me=Pe(71577),oe=Pe(85725),te=Pe(71736),ue=Pe(84279),de=Pe(67294);const le=(0,Te.forwardRef)(({callback:ce,showSaveButton:ae,value:ie=""},ne)=>{const a=(0,Te.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=re=>{a.current.setValue(a.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:de.createElement(He.Z,{className:te.Z.lists,gutter:[10,10]},y.map((re,se)=>de.createElement(E.Z,{flex:"110px",className:te.Z.item},de.createElement("div",null,de.createElement(oe.Z,{value:`$$${re.value}$$`}),re.name),de.createElement("div",{className:te.Z.children},re.children.map((fe,ve)=>de.createElement("div",{key:ve},de.createElement("h1",null,fe.name),de.createElement(He.Z,{gutter:[10,10]},fe.data.map((ge,he)=>de.createElement(E.Z,{key:he,onClick:()=>b(ge),className:te.Z.diamond},de.createElement(oe.Z,{value:"`$$"+ge.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:de.createElement(He.Z,{className:te.Z.lists,gutter:[10,10]},x.map((re,se)=>de.createElement(E.Z,{flex:"110px",className:te.Z.item},de.createElement("div",null,de.createElement(oe.Z,{value:"`$$"+re.value+"$$`"}),re.name),de.createElement("div",{className:te.Z.children},re.children.map((fe,ve)=>de.createElement("div",{key:ve},fe.name&&de.createElement("h1",null,fe.name),de.createElement(He.Z,{gutter:[10,10]},fe.data.map((ge,he)=>de.createElement(E.Z,{key:he,onClick:()=>b(ge),className:te.Z.diamond},de.createElement(oe.Z,{value:"`$$"+ge.value+"$$`"}))))))))))}],ee=()=>{var re=document.createElement("div");re.innerHTML=a.current.getValue();var se=re.innerText;return ce&&ce(se),se};return(0,Te.useImperativeHandle)(ne,()=>({getData:ee})),de.createElement("div",{className:te.Z.mathWrap},de.createElement(ye.default,{defaultActiveKey:"1",items:z}),de.createElement("math-field",{locale:"zh_cn",className:te.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ie||""),ae&&de.createElement("div",{className:te.Z.button},de.createElement(me.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ct.Z=le},60076:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return ye}});var Te=Pe(67294),He=Pe(33054),E=Pe(67294),ye=({defaultX:me="40%",leftChild:oe,rightChild:te,className:ue,hideResize:de=!1})=>{const[le,ce]=(0,Te.useState)(me),ae=(0,Te.useRef)();function ie(){ae.current=!0}(0,Te.useEffect)(()=>{function y(b){ae.current&&(He.Z.publish("resize-move-bar",b),ce(b.pageX))}function x(){ae.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",x),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",x)}},[]);const ne=typeof le=="number"&&le!==.01?`${le}px`:me,a=`calc(100% - ${de?"0px":"4px"} - ${ne})`;return E.createElement("div",{className:`split-panel-container ${ue}`},E.createElement("section",{style:{width:ne,display:le===.01?"none":""}},oe),E.createElement("section",{className:"resize-x-bar",onMouseDown:ie},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}},te))}},57444:function(At,Ct,Pe){"use strict";Pe.d(Ct,{h:function(){return re}});var Te=Pe(67294),He=Pe(42563),E=Pe(91773),ye=Pe(71577),me=Pe(4631),oe=Pe.n(me),te=Pe(71749),ue=Pe(30483),de=Object.defineProperty,le=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,a=(se,fe,ve)=>fe in se?de(se,fe,{enumerable:!0,configurable:!0,writable:!0,value:ve}):se[fe]=ve,y=(se,fe)=>{for(var ve in fe||(fe={}))ie.call(fe,ve)&&a(se,ve,fe[ve]);if(ae)for(var ve of ae(fe))ne.call(fe,ve)&&a(se,ve,fe[ve]);return se},x=(se,fe)=>le(se,ce(fe));const b=He.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},ee={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"]};Ct.Z=({callback:se,onCancel:fe})=>{const[ve,ge]=(0,Te.useState)("python");function he(Se){ge(ee[Se][1])}function pe(Se){se(Se)}return Te.createElement(E.default,x(y({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:pe,style:{width:500}}),Te.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Te.createElement(He.default,{getPopupContainer:Se=>Se.parentNode,onChange:he},Object.keys(ee).map(Se=>Te.createElement(b,{key:Se,value:Se},ee[Se][0])))),Te.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Te.createElement(re,{mode:ve})),Te.createElement("div",{className:"flex-container flex-end"},Te.createElement(ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Te.createElement(ye.ZP,{type:"ghost",onClick:fe},"\u53D6\u6D88")))};function re({value:se,onChange:fe,mode:ve,options:ge={}}){const he=(0,Te.useRef)(),[pe,Se]=(0,Te.useState)();return(0,Te.useEffect)(()=>{if(pe){let be=function(je){const we=je.getValue();fe&&fe(we)};return pe.on("change",be),()=>{pe.off("change",be)}}},[pe,fe]),(0,Te.useEffect)(()=>{pe&&pe.setOption("mode",ve)},[pe,ve]),(0,Te.useEffect)(()=>{pe&&(se!==pe.getValue()||se==="")&&setTimeout(()=>{pe.setValue(se||"")},300)},[pe,se]),(0,Te.useEffect)(()=>{if(he.current&&!pe){const be=oe().fromTextArea(he.current,y({mode:ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ge));Se(be)}},[he.current,pe]),Te.createElement("div",{className:"my-codemirror-container"},Te.createElement("textarea",{ref:he}))}},35567:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return _n}});var Te=Pe(67294),He=Pe(4631),E=Pe.n(He),ye=Pe(91033),me=Pe(71749),oe=Pe(57341),te=Pe(82801),ue=Pe(88386),de=Pe(49047),le=Pe(80785),ce=Pe(85725),ae=({value:Rt="",className:Mt,showTextOnly:Lt,showLines:Pn,style:zn={}})=>{const $n=(0,Te.useMemo)(()=>"",[Rt]);return Te.createElement(Te.Fragment,null,Te.createElement("div",{dangerouslySetInnerHTML:{__html:$n}}))},ie=Pe(67294),ne=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ee=(Rt,Mt,Lt)=>Mt in Rt?ne(Rt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Rt[Mt]=Lt,re=(Rt,Mt)=>{for(var Lt in Mt||(Mt={}))b.call(Mt,Lt)&&ee(Rt,Lt,Mt[Lt]);if(x)for(var Lt of x(Mt))z.call(Mt,Lt)&&ee(Rt,Lt,Mt[Lt]);return Rt},se=(Rt,Mt)=>a(Rt,y(Mt));let fe=[{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 ve({onActionCallback:Rt,title:Mt,icon:Lt,actionName:Pn,className:zn="",children:$n}){function _r(){Rt(Pn)}return ie.createElement("a",{title:Mt,className:zn,onClick:_r},ie.createElement("i",{className:`${Lt}`}),$n)}var ge=({watch:Rt,showNullButton:Mt,showNullProgramButton:Lt,onActionCallback:Pn,fullScreen:zn,insertTemp:$n,hidetoolBar:_r,extraUse:Vr})=>{const Xr=[...fe,{title:`${Rt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Rt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ie.createElement("ul",{className:"markdown-toolbar-container"},!_r&&Xr.map((aa,sa)=>ie.createElement("li",{key:sa},aa.actionName?ie.createElement(ve,se(re({},aa),{onActionCallback:Pn})):ie.createElement("span",{className:"v-line"}))),Mt?ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Pn},ie.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Lt?ie.createElement(ie.Fragment,null,ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Pn},ie.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Pn},ie.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,$n&&ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${$n}`,onActionCallback:Pn},ie.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Vr&&ie.createElement("li",null,Vr),ie.createElement("li",{className:"btn-full-screen"},ie.createElement(ve,{icon:`${zn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:zn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Pn})))},he=Pe(76621),pe=Pe(91773),Se=Pe(11486),be=Pe(71577),je=Object.defineProperty,we=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ve=(Rt,Mt,Lt)=>Mt in Rt?je(Rt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Rt[Mt]=Lt,De=(Rt,Mt)=>{for(var Lt in Mt||(Mt={}))Fe.call(Mt,Lt)&&Ve(Rt,Lt,Mt[Lt]);if(Ae)for(var Lt of Ae(Mt))ke.call(Mt,Lt)&&Ve(Rt,Lt,Mt[Lt]);return Rt},ut=(Rt,Mt)=>we(Rt,Oe(Mt));const nt={labelCol:{span:4},wrapperCol:{span:20}};var qe=({callback:Rt,onCancel:Mt})=>{function Lt(Pn){Rt(Pn)}return Te.createElement(pe.default,ut(De({},nt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Lt,style:{width:500}}),Te.createElement(pe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Te.createElement(Se.default,null)),Te.createElement(pe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Te.createElement(Se.default,null)),Te.createElement("div",{className:"flex-container flex-end"},Te.createElement(be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Te.createElement(be.ZP,{type:"ghost",onClick:Mt},"\u53D6\u6D88")))},Xe=Pe(57444),$e=Pe(70859),Ue=Pe(14446),Be=Pe(71230),tt=Pe(63205),Je=Pe(67294),ft=({callback:Rt,onCancel:Mt})=>{const Lt=document.createElement("canvas"),Pn=Lt.getContext("2d");Lt.width=1e3,Lt.height=800,Pn.fillStyle="#ffffff",Pn.fillRect(0,0,Lt.width,Lt.height);const zn=Lt.toDataURL("image/png");return Je.createElement(Ue.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Je.createElement(Be.Z,{style:{height:"100vh"}},Je.createElement(tt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:zn,visible:!0,title:String(Date.now())},onOk:$n=>{Rt({src:$n.url})},onClose:Mt})))},Ze=Pe(23495);function Ge(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ge,go.CommandHandler),Ge.prototype.canAlignSelection=function(){var Rt=this.diagram;return!(Rt===null||Rt.isReadOnly||Rt.isModelReadOnly||Rt.selection.count<2)},Ge.prototype.alignLeft=function(){var Rt=this.diagram;Rt.startTransaction("aligning left");var Mt=1/0;Rt.selection.each(function(Lt){Lt instanceof go.Link||(Mt=Math.min(Lt.position.x,Mt))}),Rt.selection.each(function(Lt){Lt instanceof go.Link||Lt.move(new go.Point(Mt,Lt.position.y))}),Rt.commitTransaction("aligning left")},Ge.prototype.alignRight=function(){var Rt=this.diagram;Rt.startTransaction("aligning right");var Mt=-1/0;Rt.selection.each(function(Lt){if(!(Lt instanceof go.Link)){var Pn=Lt.actualBounds.x+Lt.actualBounds.width;Mt=Math.max(Pn,Mt)}}),Rt.selection.each(function(Lt){Lt instanceof go.Link||Lt.move(new go.Point(Mt-Lt.actualBounds.width,Lt.position.y))}),Rt.commitTransaction("aligning right")},Ge.prototype.alignTop=function(){var Rt=this.diagram;Rt.startTransaction("alignTop");var Mt=1/0;Rt.selection.each(function(Lt){Lt instanceof go.Link||(Mt=Math.min(Lt.position.y,Mt))}),Rt.selection.each(function(Lt){Lt instanceof go.Link||Lt.move(new go.Point(Lt.position.x,Mt))}),Rt.commitTransaction("alignTop")},Ge.prototype.alignBottom=function(){var Rt=this.diagram;Rt.startTransaction("aligning bottom");var Mt=-1/0;Rt.selection.each(function(Lt){if(!(Lt instanceof go.Link)){var Pn=Lt.actualBounds.y+Lt.actualBounds.height;Mt=Math.max(Pn,Mt)}}),Rt.selection.each(function(Lt){Lt instanceof go.Link||Lt.move(new go.Point(Lt.actualBounds.x,Mt-Lt.actualBounds.height))}),Rt.commitTransaction("aligning bottom")},Ge.prototype.alignCenterX=function(){var Rt=this.diagram,Mt=Rt.selection.first();if(Mt){Rt.startTransaction("aligning Center X");var Lt=Mt.actualBounds.x+Mt.actualBounds.width/2;Rt.selection.each(function(Pn){Pn instanceof go.Link||Pn.move(new go.Point(Lt-Pn.actualBounds.width/2,Pn.actualBounds.y))}),Rt.commitTransaction("aligning Center X")}},Ge.prototype.alignCenterY=function(){var Rt=this.diagram,Mt=Rt.selection.first();if(Mt){Rt.startTransaction("aligning Center Y");var Lt=Mt.actualBounds.y+Mt.actualBounds.height/2;Rt.selection.each(function(Pn){Pn instanceof go.Link||Pn.move(new go.Point(Pn.actualBounds.x,Lt-Pn.actualBounds.height/2))}),Rt.commitTransaction("aligning Center Y")}},Ge.prototype.alignColumn=function(Rt){var Mt=this.diagram;Mt.startTransaction("align Column"),Rt===void 0&&(Rt=0),Rt=parseFloat(Rt);var Lt=new Array;Mt.selection.each(function(Vr){Vr instanceof go.Link||Lt.push(Vr)});for(var Pn=0;Pn<Lt.length-1;Pn++){var zn=Lt[Pn],$n=zn.actualBounds.y+zn.actualBounds.height+Rt,_r=Lt[Pn+1];_r.move(new go.Point(zn.actualBounds.x,$n))}Mt.commitTransaction("align Column")},Ge.prototype.alignRow=function(Rt){Rt===void 0&&(Rt=0),Rt=parseFloat(Rt);var Mt=this.diagram;Mt.startTransaction("align Row");var Lt=new Array;Mt.selection.each(function(Vr){Vr instanceof go.Link||Lt.push(Vr)});for(var Pn=0;Pn<Lt.length-1;Pn++){var zn=Lt[Pn],$n=zn.actualBounds.x+zn.actualBounds.width+Rt,_r=Lt[Pn+1];_r.move(new go.Point($n,zn.actualBounds.y))}Mt.commitTransaction("align Row")},Ge.prototype.canRotate=function(Rt){var Mt=this.diagram;return!(Mt===null||Mt.isReadOnly||Mt.isModelReadOnly||Mt.selection.count<1)},Ge.prototype.rotate=function(Rt){Rt===void 0&&(Rt=90);var Mt=this.diagram;Mt.startTransaction("rotate "+Rt.toString());var Mt=this.diagram;Mt.selection.each(function(Lt){Lt instanceof go.Link||Lt instanceof go.Group||(Lt.angle+=Rt)}),Mt.commitTransaction("rotate "+Rt.toString())},Ge.prototype.pullToFront=function(){var Rt=this.diagram;Rt.startTransaction("pullToFront");var Mt=new go.Map;Rt.selection.each(function(Lt){Mt.set(Lt.layer,0)}),Mt.iteratorKeys.each(function(Lt){var Pn=0;Lt.parts.each(function(zn){if(!zn.isSelected){var $n=zn.zOrder;isNaN($n)?zn.zOrder=0:Pn=Math.max(Pn,$n)}}),Mt.set(Lt,Pn)}),Rt.selection.each(function(Lt){Ge._assignZOrder(Lt,Mt.get(Lt.layer)+1)}),Rt.commitTransaction("pullToFront")},Ge.prototype.pushToBack=function(){var Rt=this.diagram;Rt.startTransaction("pushToBack");var Mt=new go.Map;Rt.selection.each(function(Lt){Mt.set(Lt.layer,0)}),Mt.iteratorKeys.each(function(Lt){var Pn=0;Lt.parts.each(function(zn){if(!zn.isSelected){var $n=zn.zOrder;isNaN($n)?zn.zOrder=0:Pn=Math.min(Pn,$n)}}),Mt.set(Lt,Pn)}),Rt.selection.each(function(Lt){Ge._assignZOrder(Lt,Mt.get(Lt.layer)-1-Ge._findGroupDepth(Lt))}),Rt.commitTransaction("pushToBack")},Ge._assignZOrder=function(Rt,Mt,Lt){Lt===void 0&&(Lt=Rt),Rt.layer===Lt.layer&&(Rt.zOrder=Mt),Rt instanceof go.Group&&Rt.memberParts.each(function(Pn){Ge._assignZOrder(Pn,Mt+1,Lt)})},Ge._findGroupDepth=function(Rt){if(Rt instanceof go.Group){var Mt=0;return Rt.memberParts.each(function(Lt){Mt=Math.max(Mt,Ge._findGroupDepth(Lt))}),Mt+1}else return 0},Ge.prototype.doKeyDown=function(){var Rt=this.diagram;if(Rt!==null){var Mt=Rt.lastInput;if(Mt.key==="Up"||Mt.key==="Down"||Mt.key==="Left"||Mt.key==="Right"){var Lt=this.arrowKeyBehavior;if(Lt==="none")return;if(Lt==="select"){this._arrowKeySelect();return}else if(Lt==="move"){this._arrowKeyMove();return}else if(Lt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Ge.prototype._getAllParts=function(){var Rt=new Array;return this.diagram.nodes.each(function(Mt){Rt.push(Mt)}),this.diagram.parts.each(function(Mt){Rt.push(Mt)}),Rt},Ge.prototype._arrowKeyMove=function(){var Rt=this.diagram,Mt=Rt.lastInput,Lt=0,Pn=0;if(Mt.control||Mt.meta)Lt=1,Pn=1;else if(Rt.grid!==null){var zn=Rt.grid.gridCellSize;Pn=zn.width,Lt=zn.height}Rt.startTransaction("arrowKeyMove"),Rt.selection.each(function($n){Mt.key==="Up"?$n.move(new go.Point($n.actualBounds.x,$n.actualBounds.y-Lt)):Mt.key==="Down"?$n.move(new go.Point($n.actualBounds.x,$n.actualBounds.y+Lt)):Mt.key==="Left"?$n.move(new go.Point($n.actualBounds.x-Pn,$n.actualBounds.y)):Mt.key==="Right"&&$n.move(new go.Point($n.actualBounds.x+Pn,$n.actualBounds.y))}),Rt.commitTransaction("arrowKeyMove")},Ge.prototype._arrowKeySelect=function(){var Rt=this.diagram,Mt=Rt.lastInput,Lt=null;Mt.key==="Up"?Lt=this._findNearestPartTowards(270):Mt.key==="Down"?Lt=this._findNearestPartTowards(90):Mt.key==="Left"?Lt=this._findNearestPartTowards(180):Mt.key==="Right"&&(Lt=this._findNearestPartTowards(0)),Lt!==null&&(Mt.shift?Lt.isSelected=!0:Mt.control||Mt.meta?Lt.isSelected=!Lt.isSelected:Rt.select(Lt))},Ge.prototype._findNearestPartTowards=function(Rt){var Mt=this.diagram.selection.first();if(Mt===null)return null;for(var Lt=Mt.actualBounds.center,Pn=this._getAllParts(),zn=1/0,$n=Mt,_r=0;_r<Pn.length;_r++){var Vr=Pn[_r];if(Vr!==Mt&&Vr.canSelect()){var Xr=Vr.actualBounds.center,aa=Lt.directionPoint(Xr),sa=this._angleCloseness(aa,Rt);if(sa<=45){var Cn=Lt.distanceSquaredPoint(Xr);Cn*=1+Math.sin(sa*Math.PI/180),Cn<zn&&(zn=Cn,$n=Vr)}}}return $n},Ge.prototype._angleCloseness=function(Rt,Mt){return Math.min(Math.abs(Mt-Rt),Math.min(Math.abs(Mt+360-Rt),Math.abs(Mt-360-Rt)))},Ge.prototype._arrowKeyTree=function(){var Rt=this.diagram,Mt=Rt.selection.first();if(Mt instanceof go.Node){var Lt=Rt.lastInput;if(Lt.key==="Right"){if(!Mt.isTreeLeaf)if(!Mt.isTreeExpanded)Rt.commandHandler.canExpandTree(Mt)&&Rt.commandHandler.expandTree(Mt);else{var Pn=this._sortTreeChildrenByY(Mt).first();Pn!==null&&Rt.select(Pn)}}else if(Lt.key==="Left")if(!Mt.isTreeLeaf&&Mt.isTreeExpanded)Rt.commandHandler.canCollapseTree(Mt)&&Rt.commandHandler.collapseTree(Mt);else{var zn=Mt.findTreeParentNode();zn!==null&&Rt.select(zn)}else if(Lt.key==="Up"){var zn=Mt.findTreeParentNode();if(zn!==null){var $n=this._sortTreeChildrenByY(zn),_r=$n.indexOf(Mt);if(_r>0){for(var Vr=$n.elt(_r-1);Vr!==null&&Vr.isTreeExpanded&&!Vr.isTreeLeaf;){var Xr=this._sortTreeChildrenByY(Vr);Vr=Xr.last()}Vr!==null&&Rt.select(Vr)}else Rt.select(zn)}}else if(Lt.key==="Down")if(Mt.isTreeExpanded&&!Mt.isTreeLeaf){var Pn=this._sortTreeChildrenByY(Mt).first();Pn!==null&&Rt.select(Pn)}else for(;Mt!==null;){var zn=Mt.findTreeParentNode();if(zn===null)break;var $n=this._sortTreeChildrenByY(zn),_r=$n.indexOf(Mt);if(_r<$n.length-1){Rt.select($n.elt(_r+1));break}else Mt=zn}var aa=Rt.selection.first();aa!==null&&Rt.scrollToRect(aa.actualBounds)}},Ge.prototype._sortTreeChildrenByY=function(Rt){var Mt=new go.List().addAll(Rt.findTreeChildrenNodes());return Mt.sort(function(Lt,Pn){var zn=Lt.location,$n=Pn.location;return zn.y<$n.y?-1:zn.y>$n.y?1:zn.x<$n.x?-1:zn.x>$n.x?1:0}),Mt},Ge.prototype.copyToClipboard=function(Rt){go.CommandHandler.prototype.copyToClipboard.call(this,Rt),this._lastPasteOffset.set(this.pasteOffset)},Ge.prototype.pasteFromClipboard=function(){var Rt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Rt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Rt},Object.defineProperty(Ge.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Rt){if(Rt!=="move"&&Rt!=="select"&&Rt!=="scroll"&&Rt!=="tree"&&Rt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Rt);this._arrowKeyBehavior=Rt}}),Object.defineProperty(Ge.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Rt){if(!(Rt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Rt);this._pasteOffset.set(Rt)}});var Le=Ge,Ke=Pe(18023),Ee=Pe(15746),Re=Pe(33170),Qe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ye=Pe(67294),We=(Rt,Mt,Lt)=>new Promise((Pn,zn)=>{var $n=Xr=>{try{Vr(Lt.next(Xr))}catch(aa){zn(aa)}},_r=Xr=>{try{Vr(Lt.throw(Xr))}catch(aa){zn(aa)}},Vr=Xr=>Xr.done?Pn(Xr.value):Promise.resolve(Xr.value).then($n,_r);Vr((Lt=Lt.apply(Rt,Mt)).next())});function Ce({onCancel:Rt,callback:Mt}){let Lt=(0,Te.useRef)(),Pn=(0,Te.useRef)(),zn=(0,Te.useRef)(),$n=(0,Te.useRef)(!1);const _r=(0,Te.useRef)(!1),[Vr,Xr]=(0,Te.useState)(0);function aa(){const Cn=Ze.bx.make,Mr={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"};Lt.current=new Ze.S0(Pn.current,{padding:20,grid:Cn(Ze.s_,"Grid",Cn(Ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Cn(Ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:cn=>{var On=cn.diagram.commandHandler.addTopLevelParts(cn.diagram.selection,!0);On||cn.diagram.currentTool.doCancel()},commandHandler:Cn(Le),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:cn=>{var On=cn.subject;On.location=On.location.copy().snapToGridPoint(cn.diagram.grid.gridOrigin,cn.diagram.grid.gridCellSize),setTimeout(()=>{cn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:cn=>{var On=cn.subject;setTimeout(()=>{cn.diagram.commandHandler.editTextBlock()})},LinkRelinked:cn=>{var On=cn.parameter.part;On.invalidateConnectedLinks();var Er=cn.subject;cn.diagram.toolManager.linkingTool.isForwards?Er.toNode.invalidateConnectedLinks():Er.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Lt.current.nodeTemplate=Cn(Ze.NB,"Auto",{locationSpot:Ze.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ze.$u(120,60),minSize:new Ze.$u(40,40),resizable:!0,resizeCellSize:new Ze.$u(10,10),rotatable:!0},new Ze.KX("location","loc",Ze.E9.parse).makeTwoWay(Ze.E9.stringify),new Ze.KX("desiredSize","size",Ze.$u.parse).makeTwoWay(Ze.$u.stringify),Cn(Ze.bn,{name:"SHAPE",fill:Mr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ze.z6.AllSides,toSpot:Ze.z6.AllSides},new Ze.KX("figure"),new Ze.KX("fill"),new Ze.KX("stroke","borderColor"),new Ze.KX("strokeWidth","thickness"),new Ze.KX("strokeDashArray","dash")),Cn(Ze.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Cn(Ze.al,{margin:1,textAlign:"center",overflow:Ze.al.OverflowEllipsis,editable:!0},new Ze.KX("text").makeTwoWay(),new Ze.KX("stroke","color"))),Lt.current.nodeTemplate.toolTip=Cn("ToolTip",Cn(Ze.s_,"Vertical",{maxSize:new Ze.$u(200,NaN)},Cn(Ze.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ze.KX("text")),Cn(Ze.al,{font:"10pt sans-serif",textAlign:"center"},new Ze.KX("text","details"))));function Nr(cn,On){var Er=(Vn,Sa)=>{Vn.handled=!0,Vn.diagram.model.commit(pa=>{var Ia=Sa.part.adornedPart,Ba=new Ze.E9().setRectSpot(Ia.actualBounds,cn);Ba.subtract(Ia.location),Ba.scale(2,2),Ba.x+=Math.sign(Ba.x)*130,Ba.y+=Math.sign(Ba.y)*130,Ba.add(Ia.location),Ba.snapToGridPoint(Vn.diagram.grid.gridOrigin,Vn.diagram.grid.gridCellSize);var Ra=pa.copyNodeData(Ia.data);pa.setGroupKeyForNodeData(Ra,pa.getGroupKeyForNodeData(Ia.data)),pa.addNodeData(Ra);var yt={from:Ia.key,to:pa.getKeyForNodeData(Ra)};pa.addLinkData(yt);var Pt=Vn.diagram.findNodeForData(Ra);Pt.location=Ba,Vn.diagram.select(Pt),setTimeout(()=>{Vn.diagram.commandHandler.editTextBlock()},20)})};return Cn(Ze.bn,{figure:On,alignment:cn,alignmentFocus:cn.opposite(),width:cn.equals(Ze.z6.Top)||cn.equals(Ze.z6.Bottom)?25:18,height:cn.equals(Ze.z6.Top)||cn.equals(Ze.z6.Bottom)?18:25,fill:"orange",stroke:Mr.white,strokeWidth:4,mouseEnter:(Vn,Sa)=>Sa.fill="dodgerblue",mouseLeave:(Vn,Sa)=>Sa.fill="orange",isActionable:!0,click:Er,contextClick:Er})}function La(cn){return Cn(Ze.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:(On,Er)=>Er.fill="dodgerblue",mouseLeave:(On,Er)=>Er.fill="orange",click:(On,Er)=>{On.diagram.commandHandler.showContextMenu(Er.part.adornedPart)}},cn||{})}Lt.current.nodeTemplate.selectionAdornmentTemplate=Cn(Ze.uz,"Spot",Cn(Ze.Vm,{padding:10}),Nr(Ze.z6.Top,"TriangleUp"),Nr(Ze.z6.Left,"TriangleLeft"),Nr(Ze.z6.Right,"TriangleRight"),Nr(Ze.z6.Bottom,"TriangleDown"),La({alignment:new Ze.z6(.75,0)}));function Na(cn,On){return(Er,Vn)=>{Er.handled=!0,Er.diagram.model.commit(Sa=>{Sa.set(Vn.part.adornedPart.data,cn,On)})}}function Ca(cn,On){return On||(On="color"),Cn(Ze.bn,{width:16,height:16,stroke:"lightgray",fill:cn,margin:1,background:"transparent",mouseEnter:(Er,Vn)=>Vn.stroke="dodgerblue",mouseLeave:(Er,Vn)=>Vn.stroke="lightgray",click:Na(On,cn),contextClick:Na(On,cn)})}function Wa(){return[Cn("ContextMenuButton",Cn(Ze.s_,"Horizontal",Ca(Mr.white,"fill"),Ca(Mr.beige,"fill"),Ca(Mr.extralightblue,"fill"),Ca(Mr.extralightred,"fill"))),Cn("ContextMenuButton",Cn(Ze.s_,"Horizontal",Ca(Mr.lightgray,"fill"),Ca(Mr.lightgreen,"fill"),Ca(Mr.lightblue,"fill"),Ca(Mr.lightred,"fill")))]}function ia(){return[Cn("ContextMenuButton",Cn(Ze.s_,"Horizontal",Ca(Mr.black),Ca(Mr.green),Ca(Mr.blue),Ca(Mr.red))),Cn("ContextMenuButton",Cn(Ze.s_,"Horizontal",Ca(Mr.white),Ca(Mr.magenta),Ca(Mr.purple),Ca(Mr.orange)))]}function jt(cn,On){return On||(On="thickness"),Cn(Ze.bn,"LineH",{width:16,height:16,strokeWidth:cn,margin:1,background:"transparent",mouseEnter:(Er,Vn)=>Vn.background="dodgerblue",mouseLeave:(Er,Vn)=>Vn.background="transparent",click:Na(On,cn),contextClick:Na(On,cn)})}function en(cn,On){return On||(On="dash"),Cn(Ze.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:cn,margin:1,background:"transparent",mouseEnter:(Er,Vn)=>Vn.background="dodgerblue",mouseLeave:(Er,Vn)=>Vn.background="transparent",click:Na(On,cn),contextClick:Na(On,cn)})}function tn(){return[Cn("ContextMenuButton",Cn(Ze.s_,"Horizontal",jt(1),jt(2),jt(3),jt(4))),Cn("ContextMenuButton",Cn(Ze.s_,"Horizontal",en(null),en([2,4]),en([4,4])))]}function sn(cn,On){return On||(On="figure"),Cn(Ze.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:cn,margin:1,background:"transparent",mouseEnter:(Er,Vn)=>Vn.fill="dodgerblue",mouseLeave:(Er,Vn)=>Vn.fill="lightgray",click:Na(On,cn),contextClick:Na(On,cn)})}Lt.current.nodeTemplate.contextMenu=Cn("ContextMenu",Cn("ContextMenuButton",Cn(Ze.s_,"Horizontal",sn("Rectangle"),sn("RoundedRectangle"),sn("Ellipse"),sn("Diamond"))),Cn("ContextMenuButton",Cn(Ze.s_,"Horizontal",sn("Parallelogram2"),sn("ManualOperation"),sn("Procedure"),sn("Cylinder1"))),Cn("ContextMenuButton",Cn(Ze.s_,"Horizontal",sn("Terminator"),sn("CreateRequest"),sn("Document"),sn("TriangleDown"))),Wa(),ia(),tn()),Lt.current.groupTemplate=Cn(Ze.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ze.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(cn,On)=>{var Er=On.addMembers(On.diagram.selection,!0);Er||On.diagram.currentTool.doCancel()},avoidable:!1},new Ze.KX("location","loc",Ze.E9.parse).makeTwoWay(Ze.E9.stringify),Cn(Ze.s_,"Auto",{name:"BODY"},Cn(Ze.bn,{parameter1:10,fill:Mr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ze.z6.AllSides,toSpot:Ze.z6.AllSides},new Ze.KX("fill"),new Ze.KX("stroke","color"),new Ze.KX("strokeWidth","thickness"),new Ze.KX("strokeDashArray","dash")),Cn(Ze.Vm,{background:"transparent",margin:20})),Cn(Ze.al,{alignment:Ze.z6.Top,alignmentFocus:Ze.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ze.KX("text"),new Ze.KX("stroke","color"))),Lt.current.groupTemplate.selectionAdornmentTemplate=Cn(Ze.uz,"Spot",Cn(Ze.s_,"Auto",Cn(Ze.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Cn(Ze.Vm,{margin:1.5})),La({alignment:Ze.z6.TopRight,alignmentFocus:Ze.z6.BottomRight})),Lt.current.groupTemplate.contextMenu=Cn("ContextMenu",Wa(),ia(),tn()),Lt.current.linkTemplate=Cn(Ze.rU,{layerName:"Foreground",routing:Ze.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ze.KX("fromSpot","fromSpot",Ze.z6.parse),new Ze.KX("toSpot","toSpot",Ze.z6.parse),new Ze.KX("fromShortLength","dir",cn=>cn>=1?10:0),new Ze.KX("toShortLength","dir",cn=>cn>=1?10:0),new Ze.KX("points").makeTwoWay(),Cn(Ze.bn,{strokeWidth:2},new Ze.KX("stroke","color"),new Ze.KX("strokeWidth","thickness"),new Ze.KX("strokeDashArray","dash")),Cn(Ze.bn,{segmentIndex:0,segmentOffset:new Ze.E9(15,0),segmentOrientation:Ze.rU.OrientAlong,alignmentFocus:Ze.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ze.KX("fill","color"),new Ze.KX("visible","dir",cn=>cn===1)),Cn(Ze.bn,{segmentIndex:-1,segmentOffset:new Ze.E9(-10,6),segmentOrientation:Ze.rU.OrientPlus90,alignmentFocus:Ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ze.KX("fill","color"),new Ze.KX("visible","dir",cn=>cn>=1),new Ze.KX("width","thickness",cn=>7+3*cn),new Ze.KX("height","thickness",cn=>7+3*cn),new Ze.KX("segmentOffset","thickness",cn=>new Ze.E9(-15,4+1.5*cn))),Cn(Ze.bn,{segmentIndex:0,segmentOffset:new Ze.E9(15,-6),segmentOrientation:Ze.rU.OrientMinus90,alignmentFocus:Ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ze.KX("fill","color"),new Ze.KX("visible","dir",cn=>cn===2),new Ze.KX("width","thickness",cn=>7+3*cn),new Ze.KX("height","thickness",cn=>7+3*cn),new Ze.KX("segmentOffset","thickness",cn=>new Ze.E9(-15,4+1.5*cn))),Cn(Ze.al,{alignmentFocus:new Ze.z6(0,1,-4,0),editable:!0},new Ze.KX("text").makeTwoWay(),new Ze.KX("stroke","color"))),Lt.current.linkTemplate.selectionAdornmentTemplate=Cn(Ze.uz,Cn(Ze.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:un(2)},new Ze.KX("pathPattern","thickness",un)),La({alignmentFocus:new Ze.z6(0,0,-6,-4)}));function un(cn){return Cn(Ze.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(cn+4).toString()+" H3"})}function nn(cn){var On="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return cn===0?On="M0 0 M16 16 M0 8 L16 8":cn===2&&(On="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Cn(Ze.bn,{geometryString:On,margin:2,background:"transparent",mouseEnter:(Er,Vn)=>Vn.background="dodgerblue",mouseLeave:(Er,Vn)=>Vn.background="transparent",click:Na("dir",cn),contextClick:Na("dir",cn)})}function bn(cn){var On=(Er,Vn)=>{Er.handled=!0,Er.diagram.model.commit(Sa=>{var pa=Vn.part.adornedPart;Sa.set(pa.data,cn?"toSpot":"fromSpot",Ze.z6.stringify(Ze.z6.AllSides)),(cn?pa.toNode:pa.fromNode).invalidateConnectedLinks()})};return Cn(Ze.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Er,Vn)=>Vn.background="dodgerblue",mouseLeave:(Er,Vn)=>Vn.background="transparent",click:On,contextClick:On})}function Tt(cn,On){var Er=0,Vn=Ze.z6.RightSide;cn.equals(Ze.z6.Top)?(Er=270,Vn=Ze.z6.TopSide):cn.equals(Ze.z6.Left)?(Er=180,Vn=Ze.z6.LeftSide):cn.equals(Ze.z6.Bottom)&&(Er=90,Vn=Ze.z6.BottomSide),On||(Er-=180);var Sa=(pa,Ia)=>{pa.handled=!0,pa.diagram.model.commit(Ba=>{var Ra=Ia.part.adornedPart;Ba.set(Ra.data,On?"toSpot":"fromSpot",Ze.z6.stringify(Vn)),(On?Ra.toNode:Ra.fromNode).invalidateConnectedLinks()})};return Cn(Ze.bn,{alignment:cn,alignmentFocus:cn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Er,background:"transparent",mouseEnter:(pa,Ia)=>Ia.background="dodgerblue",mouseLeave:(pa,Ia)=>Ia.background="transparent",click:Sa,contextClick:Sa})}Lt.current.linkTemplate.contextMenu=Cn("ContextMenu",ia(),tn(),Cn("ContextMenuButton",Cn(Ze.s_,"Horizontal",nn(0),nn(1),nn(2))),Cn("ContextMenuButton",Cn(Ze.s_,"Horizontal",Cn(Ze.s_,"Spot",bn(!1),Tt(Ze.z6.Top,!1),Tt(Ze.z6.Left,!1),Tt(Ze.z6.Right,!1),Tt(Ze.z6.Bottom,!1)),Cn(Ze.s_,"Spot",{margin:new Ze.Zt(0,0,0,2)},bn(!0),Tt(Ze.z6.Top,!0),Tt(Ze.z6.Left,!0),Tt(Ze.z6.Right,!0),Tt(Ze.z6.Bottom,!0)))));const Ir=`{ "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 hr=["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 er(cn){return console.log("shapeName:",cn),hr.indexOf(cn)>=0}var la=new Ze.YI(zn.current,{maxSelectionCount:1,linkTemplate:Cn(Ze.rU,{locationSpot:Ze.z6.Center,selectionAdornmentTemplate:Cn(Ze.uz,"Link",{locationSpot:Ze.z6.Center},Cn(Ze.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Cn(Ze.bn,{toArrow:"Standard",stroke:null}))},{routing:Ze.rU.AvoidsNodes,curve:Ze.rU.JumpOver,corner:5,toShortLength:4},new Ze.KX("points"),Cn(Ze.bn,{isPanelMain:!0,strokeWidth:2}),Cn(Ze.bn,{toArrow:"Standard",stroke:null})),model:new Ze.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ze.bn.getFigureGenerators().toArray().map(cn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:cn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Lt.current.addDiagramListener("TextEdited",function(cn){var On;const Er=cn.subject.part;var Vn=(On=document.activeElement)==null?void 0:On.value;typeof Vn=="string"&&Vn.trim()===""&&Lt.current.model.commit(function(Sa){Sa.set(Er.data,"text","\u672A\u547D\u540D"),Lt.current.commandHandler.stopCommand()},"increment")}),la.nodeTemplate=Cn(Ze.NB,"Auto",{locationSpot:Ze.z6.Center},new Ze.KX("location","location",Ze.E9.parse).makeTwoWay(Ze.E9.stringify),Cn(Ze.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 Ze.KX("stroke").makeTwoWay(),new Ze.KX("fill").makeTwoWay(),new Ze.KX("figure")),Cn(Ze.al,{margin:new Ze.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ze.$u(16,16),maxSize:new Ze.$u(10,NaN),textAlign:"center",editable:!0},new Ze.KX("key").makeTwoWay())),setTimeout(()=>{Lt.current.grid=Cn(Ze.s_,"Grid",Cn(Ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Cn(Ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Lt.current.grid.visible=!0,Lt.current.grid.gridCellStroke="darkgray",Lt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Lt.current,Lt.current}const sa=()=>We(this,null,function*(){var Cn=Lt.current.makeImage();const Mr=yield(0,Re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Cn.src}});Mt({src:Mr.url})});return(0,Te.useEffect)(()=>(setTimeout(()=>{aa()},500),Xr(Vr+1),()=>{Lt.current=null}),[]),Ye.createElement("div",{ref:_r,className:$n.current?`${Qe.maxH60} body-overflow-initial`:"body-overflow-initial"},Ye.createElement(Ue.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Vr,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ye.createElement(Be.Z,null,Ye.createElement(Ee.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ye.createElement(Ee.Z,{onClick:()=>{var Cn,Mr,Nr=Lt.current.selection.first();if($n.current=!$n.current,document.activeElement&&Nr){let La=(Mr=(Cn=document.activeElement)==null?void 0:Cn.value)==null?void 0:Mr.trim();typeof La=="string"&&Lt.current.model.commit(function(Na){Na.set(Nr.data,"text",La||"\u672A\u547D\u540D"),Lt.current.commandHandler.stopCommand()},"increment")}Xr(Vr+1)}},Ye.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Rt},Ye.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Qe.flowChartWrp},Ye.createElement("div",{style:{display:"flex",height:"100%"}},Ye.createElement("div",{style:{width:"300px",height:"100%"}},Ye.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ye.createElement("div",{style:{height:"calc(100% - 50px)"},className:Qe.myPaletteDiv,ref:zn})),Ye.createElement("div",{style:{flex:1,position:"relative"}},Ye.createElement("div",{ref:Pn,style:{height:"80vh"}}))),Ye.createElement("div",{className:"tr"},Ye.createElement(be.ZP,{size:"large",onClick:sa,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var xe=Ce,Ne=Pe(78045),ze=Pe(42405);const it=Ne.ZP.Group,St={margin:"0 8px"};var dt=({callback:Rt,onCancel:Mt})=>{function Lt(Pn){Rt(Pn)}return Te.createElement(pe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Lt},Te.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Te.createElement("span",{style:St},"\u5355\u5143\u683C\u6570\uFF1A"),Te.createElement("span",{style:St},"\u884C\u6570"),Te.createElement(pe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Te.createElement(ze.Z,null)),Te.createElement("span",{style:St},"\u5217\u6570"),Te.createElement(pe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Te.createElement(ze.Z,null))),Te.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Te.createElement("span",{style:St},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),Te.createElement(pe.default.Item,{name:"align"},Te.createElement(it,null,Te.createElement(Ne.ZP,{value:"default"},Te.createElement("i",{className:"fa fa-align-justify"})),Te.createElement(Ne.ZP,{value:"left"},Te.createElement("i",{className:"fa fa-align-left"})),Te.createElement(Ne.ZP,{value:"center"},Te.createElement("i",{className:"fa fa-align-center"})),Te.createElement(Ne.ZP,{value:"right"},Te.createElement("i",{className:"fa fa-align-right"}))))),Te.createElement("div",{className:"flex-container flex-end"},Te.createElement(be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Te.createElement(be.ZP,{type:"ghost",onClick:Mt},"\u53D6\u6D88")))},bt=Pe(47897),an=Pe(61016),kt=Pe.n(an),at=(0,Te.forwardRef)(({use3d:Rt,width:Mt,height:Lt,callback:Pn,showSaveButton:zn},$n)=>{const _r=(0,Te.useRef)(),Vr=(0,Te.useRef)(),[Xr,aa]=(0,Te.useState)(!1),sa=(0,Te.useRef)({id:_r,appName:"graphing",width:Mt||1e3,height:Lt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Te.useEffect)(()=>{Vr.current=new(kt())(sa.current,!0),window.onload=function(){Vr.current.inject("applet_container")}},[]);const Cn=()=>{var Mr=window.ggbApplet.getPNGBase64(1,!0,72);return Pn&&Pn(Mr),Mr};return(0,Te.useEffect)(()=>{sa.current.appName=Xr?"3D":"graphing",Vr.current.inject("applet_container")},[Xr]),(0,Te.useEffect)(()=>{aa(Rt)},[Rt]),(0,Te.useImperativeHandle)($n,()=>({getImgData:Cn})),Te.createElement(Te.Fragment,null,Te.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:_r}),Te.createElement(Be.Z,{align:"middle"},Te.createElement(Ee.Z,{flex:1},Te.createElement(bt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Xr,onChange:Mr=>aa(Mr)})),Te.createElement(Ee.Z,null,Te.createElement(be.ZP,{size:"large",onClick:Cn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Dt=Pe(36527),rt=Pe(25934),_e=Pe(2453);const mt="link",Ot="upload-image",xt="add-flowchart",Ut="draw-image",Wt="add-flowchart",qt="code-block",hn="add-table",jn="------------",Tn={default:jn,left:`:${jn}`,center:`:${jn}:`,right:`${jn}:`};var Fn=Pe(99914),pr=(Rt,Mt,Lt)=>new Promise((Pn,zn)=>{var $n=Xr=>{try{Vr(Lt.next(Xr))}catch(aa){zn(aa)}},_r=Xr=>{try{Vr(Lt.throw(Xr))}catch(aa){zn(aa)}},Vr=Xr=>Xr.done?Pn(Xr.value):Promise.resolve(Xr.value).then($n,_r);Vr((Lt=Lt.apply(Rt,Mt)).next())});function yr(){}let Cr=0;const Ur=1e4,Hr="\u2581",ma="@\u2581\u2581@",Da="@\u2581@",ya=`
|
|
**\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`,da=["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 fn(Rt){return/^\d+$/.test(Rt)?`${Rt}px`:Rt}const Rn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",oa={[Rn+"-B"]:"bold",[Rn+"-I"]:"italic"},ar={[mt]:"\u6DFB\u52A0\u94FE\u63A5",[qt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ot]:"\u6DFB\u52A0\u56FE\u7247",[Ut]:"\u6DFB\u52A0\u753B\u56FE",[xt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[hn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var _n=({defaultValue:Rt="",onChange:Mt,width:Lt="100%",height:Pn=400,miniToolbar:zn=!1,isFocus:$n=!1,watch:_r,insertTemp:Vr,mode:Xr="markdown",id:aa="markdown-editor-id",showResizeBar:sa=!1,noStorage:Cn=!1,showNullButton:Mr=!1,showNullProgramButton:Nr=!1,hidetoolBar:La=!1,fullScreen:Na=!1,onBlur:Ca,onCMBeforeChange:Wa,onFullScreen:ia,className:jt="",disablePaste:en=!1,disabled:tn=!1,disabledFill:sn=!1,placeholder:un="",values:nn="",extraUse:bn})=>{const[Tt,Ir]=(0,Te.useState)(null),[hr,er]=(0,Te.useState)(Rt),[la,cn]=(0,Te.useState)(_r),[On,Er]=(0,Te.useState)(Na),[Vn,Sa]=(0,Te.useState)(""),[pa,Ia]=(0,Te.useState)(0),[Ba,Ra]=(0,Te.useState)(Pn),[yt,Pt]=(0,Te.useState)(!1),Gt=(0,Te.useRef)((0,rt.Z)()),ln=(0,Te.useRef)(!1),wn=(0,Te.useRef)(),[Yn,cr]=(0,Te.useState)(0),[vr,Gr]=(0,Te.useState)(0),ta=(0,Te.useRef)(),qr=(0,Te.useRef)(),Yr=(0,Te.useRef)(),Fa=(0,Te.useRef)(),Ha=()=>pr(void 0,null,function*(){var Yt;const Zt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Gt.current}});(Yt=Zt==null?void 0:Zt.attachments)!=null&&Yt.length&&(console.log("cm:",Tt,ta),Zt.attachments.map(rn=>{rn.content_type.indexOf("image")>-1?Tt.replaceSelection(``):rn.content_type.indexOf("video")>-1?Tt.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):rn.content_type.indexOf("pdf")>-1?Tt.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${rn.id}?type=${rn.content_type}&disposition=inline" target="_blank">${rn.name}</a>`):Tt.replaceSelection(`[${rn.name}](${ENV.API_SERVER}/api/attachments/${rn.id}?type=${rn.content_type})`)}))});(0,Te.useEffect)(()=>{const Yt=window.scrollY||window.pageYOffset;er(nn),Tt==null||Tt.setValue(nn),window.scrollTo(0,Yt)},[nn]),(0,Te.useEffect)(()=>{ia==null||ia(On)},[On]),(0,Te.useEffect)(()=>{if(ta.current){let Yt=function(rn,on){var In;if(en){on.preventDefault();return}const Un=on.clipboardData;if(Un){const dr=Un.types.toString(),En=Un.items;if(dr==="Files"||Un.types.indexOf("Files")>-1){if(on.preventDefault(),Xr=="stex")return;try{let Jn=En[1];((In=En[0])==null?void 0:In.kind)==="file"&&(Jn=En[0]);const tr=Jn.getAsFile(),ir=tr.name.split(".").pop();(0,$e.I)(tr,br=>{var Zr,Pa,ea;br.id?((Zr=tr==null?void 0:tr.type)==null?void 0:Zr.indexOf("image"))>-1?Zt.replaceSelection(`<img width="100%" src="/api/attachments/${br.id}?type=${br.content_type})" alt="" />`):((Pa=tr==null?void 0:tr.type)==null?void 0:Pa.indexOf("video"))>-1?Zt.replaceSelection(`<video width="100%" controls src="/api/attachments/${br.id}"></video>`):((ea=tr==null?void 0:tr.type)==null?void 0:ea.indexOf("pdf"))>-1?Zt.replaceSelection(`<a href="/api/attachments/${br.id}?type=${tr.type}&disposition=inline" target="_blank">${tr.name}</a>`):da.includes(ir)?Zt.replaceSelection(`<a href="/api/attachments/${br.id}?type=office&disposition=inline" target="_blank">${tr.name}</a>`):Zt.replaceSelection(`[${tr.name}](/api/attachments/${br.id}?type=${br.content_type})`):(br==null?void 0:br.status)===401&&(_e.ZP.warning((br==null?void 0:br.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Jn){_e.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Zt=E().fromTextArea(ta.current,{mode:Xr,lineNumbers:!zn,lineWrapping:!0,value:Rt,autoCloseTags:!Nr,autoCloseBrackets:!0});return Zt.on("keyup",function(rn,on){on.keyCode===8&&(rn.getValue()==""?Zt.setOption("placeholder",un):Zt.setOption("placeholder",null))}),Zt.on("keydown",function(rn,on){if(on.keyCode===8){var In=or(rn);In&&on.preventDefault()}}),$n&&Zt.focus(),Zt.on("paste",Yt),Zt.on("dragleave",function(rn,on){qr.current.classList.remove("mouse-hover-md")}),tn&&Zt.on("beforeChange",function(rn,on){(on.origin==="paste"||on.origin==="+input")&&on.cancel()}),Ir(Zt),()=>{Zt.off("paste",Yt)}}},[]);const Ln=(0,Te.useCallback)(()=>{if(qr.current)try{}catch(Yt){console.log(Yt,"---- to set md editor body height")}},[Ba,qr,On]);(0,Te.useEffect)(()=>{function Yt(){let Zt=new ye.Z(rn=>{for(let on of rn)(on.target.offsetHeight>0||on.target.offsetWidth>0)&&(Ln(),Tt.setSize("100%","100%"),Tt.refresh())});return Zt.observe(ta.current.parentElement),Zt}if(Tt){const Zt=Yt();return()=>{var rn,on;(rn=ta.current)!=null&&rn.parentElement&&Zt.unobserve((on=ta.current)==null?void 0:on.parentElement)}}},[Tt,Ln]),(0,Te.useEffect)(()=>{if(Tt){let Yt=[];for(const[Zt,rn]of Object.entries(oa)){let on={[Zt]:()=>{Rr(rn)}};Yt.push(on),Tt.addKeyMap(on)}return wn.current=setInterval(()=>{ln.current&&Ha()},4e3),()=>{clearInterval(wn.current);for(let Zt of Yt)Tt.removeKeyMap(Zt)}}},[Tt]),(0,Te.useEffect)(()=>{Na!==On&&Er(Na)},[Na]),(0,Fn.Z)(()=>{if(!Cn&&pa>0){let Yt=new Date().getTime(),Zt=window.sessionStorage.getItem(aa);Yt>=pa+Ur&&(!Zt||Zt!==hr)&&(window.sessionStorage.setItem(aa,hr),Pt(!0))}},Ur),(0,Te.useEffect)(()=>{cn(_r)},[Tt,_r]),(0,Te.useEffect)(()=>{Tt&&$n&&Tt.focus()},[Tt,$n]),(0,Te.useEffect)(()=>{if(la&&Tt){let Yt=function(rn){let on=rn.target;if(Fa.current){let In=on.scrollTop/on.scrollHeight;Fa.current.scrollTop=Fa.current.scrollHeight*In}};const Zt=Tt.getScrollerElement();return Zt.addEventListener("scroll",Yt),()=>{Zt.removeEventListener("scroll",Yt)}}},[Tt,la]),(0,Te.useEffect)(()=>{if(Tt&&Wa){let Yt=function(Zt,rn){Wa(Zt,rn)};return Tt.on("beforeChange",Yt),()=>{Tt.off("beforeChange",Yt)}}},[Tt,Wa]),(0,Te.useEffect)(()=>{if(Tt&&Ca){let Yt=function(){Ca(Tt.getValue())};return Tt.on("blur",Yt),()=>{Tt.off("blur",Yt)}}},[Tt,Ca]);function or(Yt,Zt){var rn=Yt.getDoc(),on=rn.getCursor(),In=rn.getLine(on.line),Un=In.charAt(on.ch-1),dr=In.lastIndexOf("@\u2581@",on.ch),En=In.lastIndexOf("@\u2581\u2581@",on.ch),Jn=dr>En?dr:En,tr=dr>En?3:4;if(ma.indexOf(Un)===-1)return null;if(console.log("change1:",Zt,Yt,In,on,Jn,dr,En,Un),Jn>=0&&on.ch-Jn<5){var ir=Jn+tr;return rn.replaceRange("",{line:on.line,ch:Jn},{line:on.line,ch:ir}),{line:on.line,ch:ir}}return null}(0,Te.useEffect)(()=>{if(Tt){let Yt=function(Zt,rn){const on=Zt.getValue();er(on),Ia(new Date().getTime()),Zt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Mt&&(Nr?Mt(on,vn(on)):Mt(on))};return Tt.on("change",Yt),()=>{Tt.off("change",Yt)}}},[Tt,Mt]),(0,Te.useEffect)(()=>{if(Tt)if(Rt==null)Tt.setValue(""),er("");else{const Yt=window.scrollY||window.pageYOffset;Rt!==Tt.getValue()&&(Tt.setValue(Rt),er(Rt),Tt.setCursor(tn?1:Tt.lineCount(),0),window.scrollTo(0,Yt))}},[Tt,Rt]);const Rr=(0,Te.useCallback)(Yt=>{const Zt=Tt.getCursor(),rn=Tt.getSelection();let on=rn.split(`
|
|
`);switch(Yt){case"bold":return Tt.replaceSelection("**"+rn+"**"),rn===""&&Tt.setCursor(Zt.line,Zt.ch+2),Tt.focus();case"italic":return Tt.replaceSelection("*"+rn+"*"),rn===""&&Tt.setCursor(Zt.line,Zt.ch+1),Tt.focus();case"code":return Tt.replaceSelection("`"+rn+"`"),rn===""&&Tt.setCursor(Zt.line,Zt.ch+1),Tt.focus();case"inline-latex":return Sa("inline-latex"),Tt.focus();case"latex":return Tt.replaceSelection("```latex\n"+rn+"\n```"),Tt.setCursor(Zt.line+1,rn.length+1),Tt.focus();case"line-break":return Tt.replaceSelection(`<br/>
|
|
`),Tt.focus();case"list-ul":return rn===""?Tt.replaceSelection("- "+rn):Tt.replaceSelection(on.map(In=>In===""?"":`- ${In}`).join(`
|
|
`)),Tt.focus();case"list-ol":return rn===""?Tt.replaceSelection("1. "+rn):Tt.replaceSelection(on.map((In,Un)=>In===""?"":`${Un+1}. ${In}`).join(`
|
|
`)),Tt.focus();case"add-null-ch":return rn===""&&Tt.setCursor(Zt.line,Zt.ch),Tt.replaceSelection(Hr),Tt.focus();case"add-signal":return rn===""&&Tt.setCursor(Zt.line,Zt.ch),Tt.replaceSelection(Da),Tt.focus();case"add-multiple":return rn===""&&Tt.setCursor(Zt.line,Zt.ch),Tt.replaceSelection(ma),Tt.focus();case"inster-template-1":return rn===""&&Tt.setCursor(Zt.line,Zt.ch),Tt.replaceSelection(ya),Tt.focus();case"eraser":return Tt.setValue(""),Tt.focus();case"trigger-watch":return cn(!la),Tt.focus();case"trigger-full-screen":return Er(!On),Tt.focus();case mt:Sa(mt);return;case qt:Sa(qt);return;case Ot:Sa(Ot);return;case Ut:Sa(Ut);return;case"maths-latex":Sa("maths-latex");return;case xt:Sa(xt);return;case hn:Sa(hn);return;default:throw new Error}},[Tt,la,On]),$r=(0,Te.useCallback)((Yt,Zt)=>{var rn,on,In,Un,dr,En;switch(Sa(""),Vn){case mt:const{title:Zr,link:Pa}=Yt;return Tt.replaceSelection(`[${Zr}](${Pa})`),Tt.focus();case qt:const{language:ea,content:Qn}=Yt;return Tt.replaceSelection(["```"+ea,Qn,"```"].join(`
|
|
`)),Tt.focus();case"maths-latex":for(var Jn=atob(Yt),tr=new Uint8Array(Jn.length),ir=0;ir<Jn.length;ir++)tr[ir]=Jn.charCodeAt(ir);var br=new Blob([tr],{type:"image/png"});(0,$e.I)(br,ao=>{ao.id?Tt.replaceSelection(``):(ao==null?void 0:ao.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Tt.replaceSelection("`$$"+Yt+"$$`");break;case Ot:case Ut:case Wt:const{src:nr,alt:Zn}=Yt,kn=Zt,wr=(In=(on=(rn=kn==null?void 0:kn.name)==null?void 0:rn.split("."))==null?void 0:on.pop)==null?void 0:In.call(on);return((Un=kn==null?void 0:kn.type)==null?void 0:Un.indexOf("image"))>-1||!(kn!=null&&kn.type)?kn.align||kn.width?Tt.replaceSelection(`<p style="text-align:${kn.align||"initial"}"><img width="${kn.width?kn.width+"%":"initial"}" src="${nr}" alt="${Zn||""}" /></p>`):Tt.replaceSelection(`<img width="100%" src="${nr}" alt="${Zn||""}" />`):((dr=kn==null?void 0:kn.type)==null?void 0:dr.indexOf("video"))>-1?Tt.replaceSelection(`<video width="100%" controls src="${nr}"></video>`):((En=kn==null?void 0:kn.type)==null?void 0:En.indexOf("pdf"))>-1?Tt.replaceSelection(`<a href="${nr}?type=${kn.type}&disposition=inline" target="_blank">${kn.name}</a>`):da.includes(wr)?Tt.replaceSelection(`<a href="${nr}?type=office&disposition=inline" target="_blank">${kn.name}</a>`):Tt.replaceSelection(`[${kn.name}](${nr})`),Tt.focus();case hn:const{row:ua,col:wa,align:Xa}=Yt;let Oa=`
|
|
`;for(let ao=0;ao<ua;ao++){let To=[],Vo=[];for(let Ya=0;Ya<wa;Ya++)ao===1&&Vo.push(Tn[Xa]),To.push(" ");ao===1&&(Oa+=`| ${Vo.join(" | ")} |
|
|
`),Oa+=`| ${To.join(wa===1?"":" | ")} |
|
|
`}return Tt.replaceSelection(Oa+`
|
|
`),Tt.focus();default:throw new Error}},[Tt,Vn]),Hn=(0,Te.useMemo)(()=>{switch(Vn){case mt:return Te.createElement(qe,{callback:$r,onCancel:wt});case qt:return Te.createElement(Xe.Z,{callback:$r,onCancel:wt});case Ot:return Te.createElement($e.Z,{callback:$r,onCancel:wt});case xt:return Te.createElement(xe,{callback:$r,onCancel:wt});case hn:return Te.createElement(dt,{callback:$r,onCancel:wt});case"maths-latex":return Te.createElement(at,{showSaveButton:!0,callback:$r});case"inline-latex":return Te.createElement(Dt.Z,{showSaveButton:!0,callback:$r});default:return null}},[Vn]);function wt(){Sa("")}(0,Te.useEffect)(()=>{if(Yr.current){let Yt=function(dr){In=!0,Un=dr.pageY},Zt=function(){In=!1},rn=function(dr){if(In){let En=dr.pageY-Un;En<0&&(En=0),En>300&&(En=300);let Jn=Pn+En+"px";Ra(Jn)}},on=Yr.current,In=!1,Un=0;return on.addEventListener("mousedown",Yt),document.addEventListener("mousemove",rn),document.addEventListener("mouseup",Zt),()=>{on.removeEventListener("mousedown",Yt),document.removeEventListener("mousemove",rn),document.removeEventListener("mouseup",Zt)}}},[Tt,Yr]),(0,Te.useEffect)(()=>{Ra(Pn)},[Pn]);const Bt=fn(Lt),zt=fn(Ba),ct={width:Bt,height:zt},Xt=(0,Te.useMemo)(()=>{if(pa){let Yt=new Date(pa),Zt=Yt.getHours(),rn=Yt.getMinutes(),on=Yt.getSeconds();return Zt=Zt<10?"0"+Zt:Zt,rn=rn<10?"0"+rn:rn,on=on<10?"0"+on:on,`${Zt}:${rn}:${on}`}return 0},[pa]),vn=Yt=>{const Zt=[];if(Nr){let rn=-1;Yt=Yt.replace(/(@▁▁@|@▁@)/g,function(on,In,Un){Zt.push({multiLine:on!==Da})})}return Zt};function dn(){window.sessionStorage.removeItem(aa),Pt(!1),Ia(0)}function _t(){Pt(!1),Ia(0),Tt.setValue(window.sessionStorage.getItem(aa))}(0,Te.useEffect)(()=>{ar[Vn]&&Vn!==Ut&&Vn!==xt&&setTimeout(()=>{const Yt=document.getElementsByClassName("markdown-popup-form")[0],Zt=window.innerWidth/2-Yt.offsetWidth/2,rn=window.innerHeight/2-Yt.offsetHeight/2;cr(Zt),Gr(rn)},0)},[Vn]);const Vt=Yt=>{Yt.preventDefault();const Zt=Yt.clientX-Yn,rn=Yt.clientY-vr;document.body.onmousemove=on=>{let In=on.clientX-Zt,Un=on.clientY-rn;const dr=document.getElementsByClassName("markdown-popup-form")[0],En=window.innerWidth-dr.offsetWidth,Jn=window.innerHeight-dr.offsetHeight;In=Math.max(0,Math.min(In,En)),Un=Math.max(0,Math.min(Un,Jn)),Kt(on.clientX,on.clientY,Zt,rn)&&(cr(In),Gr(Un))},document.body.onmouseup=function(){document.body.onmousemove=null}},Kt=(Yt,Zt,rn,on)=>{const In=document.body.clientHeight,Un=document.body.clientWidth;return Yt<20&&rn>Yt||Yt>Un-20&&rn<Yt||Zt<20&&on>Zt||Zt>In-20&&on<Zt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return Te.createElement(Te.Fragment,null,Te.createElement("div",{className:"markdown-editor-wrapper",ref:qr},Te.createElement("div",{className:`markdown-editor-container ${jt} ${la?"on-preview":""} ${zn?"mini":""} ${On?"full-screen":""}`,style:ct},Te.createElement(ge,{insertTemp:Vr,watch:la,fullScreen:On,showNullButton:Mr,showNullProgramButton:Nr,onActionCallback:Rr,hidetoolBar:La,extraUse:bn}),Te.createElement("div",{className:"markdown-editor-body"},Te.createElement("div",{className:"codemirror-container"},Te.createElement("textarea",{ref:ta,placeholder:un})),la?Te.createElement("div",{ref:Fa,className:"preview-container"},Xr==="stex"&&Te.createElement(ae,{value:hr}),Xr!=="stex"&&Te.createElement(ce.Z,{disabledFill:sn,showProgramFill:Nr,value:hr})):null))),sa?Te.createElement("a",{ref:Yr,className:"editor-resize"}):null,Vn===Ut&&Te.createElement(ft,{callback:$r,onCancel:wt}),Vn===xt&&Te.createElement(xe,{callback:$r,onCancel:wt}),Te.createElement(he.Z,null,ar[Vn]&&Vn!==Ut&&Vn!==xt?Te.createElement(Ue.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Yn,top:vr},title:Te.createElement("div",{style:{cursor:"move"},onMouseDown:Vt},ar[Vn]),open:!0,onCancel:wt,footer:null,destroyOnClose:!0,width:Vn===xt?"1200px":null,height:Vn===xt?"80vh":null,className:"markdown-popup-form"},Hn):null))}},70859:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return ve},I:function(){return he}});var Te=Pe(91773),He=Pe(2453),E=Pe(11486),ye=Pe(93421),me=Pe(42405),oe=Pe(78045),te=Pe(71577),ue=Pe(15476),de=Pe(67294),le=Pe(52262),ce=Pe(67294),ae=Object.defineProperty,ie=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(pe,Se,be)=>Se in pe?ae(pe,Se,{enumerable:!0,configurable:!0,writable:!0,value:be}):pe[Se]=be,z=(pe,Se)=>{for(var be in Se||(Se={}))y.call(Se,be)&&b(pe,be,Se[be]);if(a)for(var be of a(Se))x.call(Se,be)&&b(pe,be,Se[be]);return pe},ee=(pe,Se)=>ie(pe,ne(Se));const{useForm:re}=Te.default,se={width:280,marginRight:10},fe={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:pe,onCancel:Se})=>{const[be]=re();let je=(0,de.useRef)();function we(Fe){je.current.width=be.getFieldValue("width"),je.current.align=be.getFieldValue("align"),pe(Fe,je.current)}function Oe(Fe,ke){if(Fe.status===-1){He.ZP.error(Fe.message);return}be.setFieldsValue({src:`/api/attachments/${Fe.id}`,type:ke.type})}function Ae(Fe){let ke=Fe.target.files[0];je.current=ke,he(ke,Oe)}return ce.createElement(Te.default,ee(z({form:be},fe),{className:"upload-image-panel",onFinish:we,style:{width:470,overflow:"hidden"}}),ce.createElement(Te.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ce.createElement("div",{className:"flex-container"},ce.createElement(Te.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ce.createElement(E.default,{style:se})),ce.createElement(ge,{onFileChange:Ae}))),ce.createElement(Te.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ce.createElement(E.default,{style:{width:264}})),ce.createElement(Te.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ce.createElement(ye.Z,null,ce.createElement(Te.default.Item,{name:"width",style:{margin:0}},ce.createElement(me.Z,{style:{width:264}})),ce.createElement("span",{className:"ml8"},"%"))),ce.createElement(Te.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ce.createElement(oe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ce.createElement("aside",null,ce.createElement(Te.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ce.createElement(te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ce.createElement(te.ZP,{type:"default",onClick:Se},"\u53D6\u6D88"))))};function ge({onFileChange:pe}){return ce.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ce.createElement("input",{type:"file",onChange:pe}))}function he(pe,Se){if(!pe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,le.bg)())throw He.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let be=new FormData;be.append("editormd-image-file",pe),be.append("file_param_name","editormd-image-file"),be.append("byxhr","true");var je=new window.XMLHttpRequest;je.withCredentials=!0,je.addEventListener("load",function(we){Se(JSON.parse(we.target.responseText),pe)},!1),je.addEventListener("error",function(we){console.error(we)},!1),je.open("POST",`${ue.KI}/api/attachments.json`),je.send(be)}},76621:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return E}});var Te=Pe(67294),He=Pe(73935);class E extends Te.Component{constructor(me){super(me);const oe=window.document;this.node=oe.createElement("div"),oe.body.appendChild(this.node)}render(){const{children:me}=this.props;return(0,He.createPortal)(me,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},21434:function(At,Ct,Pe){"use strict";var Te=Pe(12867),He=Pe(42563),E=Pe(47897),ye=Pe(67294);const me=He.default.Option;Ct.Z=({isTheoretical:oe,onFontSizeChange:te,cmFontSize:ue,cmCodeMode:de,autoFormat:le,onCodeModeChange:ce,onTabToSpace:ae,onAutoFormat:ie,formatDocument:ne,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:z})=>{const ee={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return ye.createElement("div",{className:`tpi-code-setting ${a}`},ye.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),ye.createElement("section",null,ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),ye.createElement(He.default,{bordered:!1,size:"small",value:de,onChange:ce},ye.createElement(me,{value:"vs"},"\u767D\u8272\u80CC\u666F"),ye.createElement(me,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!oe&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),ye.createElement(He.default,{bordered:!1,size:"small",value:ue,onChange:te},ye.createElement(me,{value:12},"12px"),ye.createElement(me,{value:14},"14px"),ye.createElement(me,{value:16},"16px"),ye.createElement(me,{value:18},"18px"),ye.createElement(me,{value:20},"20px"),ye.createElement(me,{value:22},"22px"))),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"Tab\u8F6C\u6362"),ye.createElement(E.Z,{checked:y,onChange:ae})),ye.createElement("div",{className:"file-item",onClick:ne},ye.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!oe&&ye.createElement(ye.Fragment,null,ye.createElement("h3",null,"\u5FEB\u6377\u952E"),ye.createElement("section",null,ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),ye.createElement("span",null,"Ctrl + S")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),ye.createElement("span",null,"F1 / Alt + F1")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),ye.createElement("span",null,"Ctrl + ]/[")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),ye.createElement("span",null,"Ctrl + Shift + \\")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),ye.createElement("span",null,"Home")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),ye.createElement("span",null,"End"))),x),!oe&&ye.createElement(ye.Fragment,null,ye.createElement("h3",null,"\u5FEB\u6377\u952E"),ye.createElement("section",null,ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),ye.createElement("span",null,ee[z==null?void 0:z.difficulty])),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),ye.createElement("span",null,b==null?void 0:b.name)),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),ye.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},99914:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return He}});var Te=Pe(67294);function He(E,ye){const me=(0,Te.useRef)();(0,Te.useEffect)(()=>{me.current=E}),(0,Te.useEffect)(()=>{function oe(){me.current()}if(ye!==null){let te=setInterval(oe,ye);return()=>clearInterval(te)}},[ye])}},7644:function(At,Ct,Pe){"use strict";Pe.r(Ct),Pe.d(Ct,{Types:function(){return Hr},default:function(){return ya}});var Te=Pe(67294),He={header:"header___N_IdR",field:"field___XG_dh","oj-form-container":"oj-form-container___syYzK","oj-left-panel":"oj-left-panel___L082x","oj-form-info":"oj-form-info___q0IU5",footer:"footer___pGCM2",result:"result___LM9Ms",passText:"passText___nUoL4",noPassText:"noPassText___ECHHG",pass:"pass___tDubp",noPass:"noPass___ilYvg","test-case-name":"test-case-name___MI_KD","btn-remove-case":"btn-remove-case___OiaTQ","icon-tag":"icon-tag___D86WO",btn_back:"btn_back___FyaSY",testJi:"testJi___NDviK",upBtn:"upBtn___FiZX4","oj-problems":"oj-problems___xb70g",row:"row___v036E",a:"a___yRaYH",b:"b___gWQyu",inputTwo:"inputTwo___IZ9og",inputOne:"inputOne____NmcT",cusModal:"cusModal___fJ5gm","oj-custom-large-spin":"oj-custom-large-spin___Aar0g",MdEditor:"MdEditor___hgoes"},E=Pe(11486),ye=Pe(14446),me=Pe(47221),oe=Pe(91773),te=Pe(2453),ue=Pe(71230),de=Pe(15746),le=Pe(57953),ce=Pe(71577),ae=Pe(86129),ie=Pe(42563),ne=Pe(42405),a=Pe(78045),y=Pe(84567),x=Pe(93421),b=Pe(86738),z=Pe(67294);const{Option:ee}=ie.default;var re=(fn=>(fn[fn.language=0]="language",fn[fn.difficulty=1]="difficulty",fn[fn.category=2]="category",fn[fn.openOrNot=3]="openOrNot",fn))(re||{});const se={0:[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],1:[{title:"\u7B80\u5355",key:1},{title:"\u9002\u4E2D",key:2},{title:"\u56F0\u96BE",key:3}],2:[{title:"\u7A0B\u5E8F\u8BBE\u8BA1",key:1},{title:"\u7B97\u6CD5",key:2}],3:[{title:"\u516C\u5F00",key:1},{title:"\u79C1\u6709",key:0}]};function fe(fn){return se[fn].map(xn=>z.createElement(ee,{key:xn.title,value:xn.key}," ",xn.title," "))}function ve(fn,xn){fn.map(Rn=>{const{id:oa,name:ar,sub_disciplines:_n}=Rn;let Rt={value:oa,label:ar};xn.push(Rt),_n&&_n.length>0&&(Rt.children=[],ve(_n,Rt.children))})}function ge(fn,xn){var Rn;let oa=[];for(let ar=0;ar<fn.length;ar++){const _n=fn[ar];if(((Rn=_n.sub_disciplines)==null?void 0:Rn.length)>0){oa[0]=_n.id;for(let Rt=0;Rt<_n.sub_disciplines.length;Rt++){const Mt=_n.sub_disciplines[Rt];if(Mt.id===xn)return oa[1]=Mt.id,[oa,Mt.tag_disciplines||Mt.sub_disciplines||[]]}}}return[oa,[]]}var he=Pe(35973),pe=Pe(19575),Se=Pe(32693),be=Pe(97309),je=Pe(35567),we=Pe(33170);function Oe(fn){return(0,we.v_)("practices.json",fn)}function Ae(){return(0,we.U2)("problems/new.json")}function Fe(fn){return(0,we.U2)(`practices/${fn}/edit.json`)}function ke(fn,xn){return(0,we.gz)(`practices/${fn}`,xn)}function Ve(fn,xn){return post(`exercises/${fn}/exercise_questions.json`,xn)}function De(fn,xn){return put(`exercise_questions/${fn}.json`,xn)}var ut=Pe(60076),nt=Pe(72565),qe=Pe(36295),Xe=Pe(21434),$e=Pe(76621),Ue=Pe(40471),Be={"code-panel-container":"code-panel-container___BZjjl","action-oj-bar":"action-oj-bar___xbXpK",active:"active___EMVKI"},tt=Object.defineProperty,Je=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Ke=(fn,xn,Rn)=>xn in fn?tt(fn,xn,{enumerable:!0,configurable:!0,writable:!0,value:Rn}):fn[xn]=Rn,Ee=(fn,xn)=>{for(var Rn in xn||(xn={}))Ge.call(xn,Rn)&&Ke(fn,Rn,xn[Rn]);if(Ze)for(var Rn of Ze(xn))Le.call(xn,Rn)&&Ke(fn,Rn,xn[Rn]);return fn},Re=(fn,xn)=>Je(fn,ft(xn));const Qe={theme:(0,Ue.G)("cmCodeMode","vs-dark"),fontSize:(0,Ue.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,Ue.G)("cmTabToSpace",!0)};var Ye=(fn=>(fn[fn.set_font_size=0]="set_font_size",fn[fn.set_theme=1]="set_theme",fn[fn.on_tab_to_space=2]="on_tab_to_space",fn[fn.set_show_editor_setting=3]="set_show_editor_setting",fn))(Ye||{});function We(fn,xn){switch(xn.type){case 3:return Re(Ee({},fn),{showEditorSetting:xn.payload});case 1:return Re(Ee({},fn),{theme:xn.payload});case 0:return Re(Ee({},fn),{fontSize:xn.payload});case 2:return Re(Ee({},fn),{tabToSpace:xn.payload});default:throw new Error}}var Ce=({value:fn,onChange:xn,language:Rn,onLanguage:oa,languageItems:ar,ActionBarRender:_n=Rt=>Te.createElement(xe,{languageItems:ar,onLanguage:oa,language:Rn,onShowCodeSetting:Rt})})=>{const[Rt,Mt]=(0,Te.useReducer)(We,Qe),{theme:Lt,fontSize:Pn,showEditorSetting:zn,tabToSpace:$n}=Rt;console.log(fn,Rn,"value");const _r={onFontSizeChange:sa=>{Mt({type:0,payload:sa}),(0,Ue.t)("cmFontSize",sa)},tabToSpace:$n,cmFontSize:Pn,className:"oj",cmCodeMode:Lt,onTabToSpace:sa=>{Mt({type:2,payload:sa}),(0,Ue.t)("cmTabToSpace",sa)},onCodeModeChange:sa=>{Mt({type:1,payload:sa}),(0,Ue.t)("cmCodeMode",sa)}};function Vr(){Mt({type:3,payload:!1})}function Xr(){Mt({type:3,payload:!0})}const aa={value:fn,language:Rn,onChange:xn,theme:Lt,height:"calc(100% - 56px)",options:{fontSize:Pn,insertSpaces:$n}};return Te.createElement(Te.Fragment,null,Te.createElement("div",{className:Be["code-panel-container"]},_n(Xr),Te.createElement(qe.ZP,Ee({key:Rn},aa))),Te.createElement($e.Z,null,Te.createElement(nt.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:zn,onClose:Vr},Te.createElement(Xe.Z,Ee({},_r)))))};function xe({languageItems:fn,language:xn,onShowCodeSetting:Rn,onLanguage:oa}){return Te.createElement("div",{className:Be["action-oj-bar"]},fn==null?void 0:fn.map(ar=>Te.createElement("div",{className:xn===(ar==null?void 0:ar.language)?Be.active:"",onClick:()=>oa(ar==null?void 0:ar.language),key:ar==null?void 0:ar.language},ar==null?void 0:ar.language)),Te.createElement("a",{onClick:Rn},Te.createElement("i",{className:"iconfont icon-shezhi"})))}var Ne=Pe(36182),ze={flex_box_center:"flex_box_center___4yAaY",flex_space_between:"flex_space_between___YaUgM",flex_box_vertical_center:"flex_box_vertical_center___zR3dp",flex_box_center_end:"flex_box_center_end___rwgS5",flex_box_column:"flex_box_column___LhFeP",wrap:"wrap___xTL91",in:"in___eSY86",btns:"btns___UdEGI",customModal:"customModal___CL0OL"},it=(fn,xn,Rn)=>new Promise((oa,ar)=>{var _n=Lt=>{try{Mt(Rn.next(Lt))}catch(Pn){ar(Pn)}},Rt=Lt=>{try{Mt(Rn.throw(Lt))}catch(Pn){ar(Pn)}},Mt=Lt=>Lt.done?oa(Lt.value):Promise.resolve(Lt.value).then(_n,Rt);Mt((Rn=Rn.apply(fn,xn)).next())}),dt=({visible:fn,onOK:xn,onCancel:Rn})=>{const[oa,ar]=(0,Te.useState)(!1),[_n,Rt]=(0,Te.useState)(!1),[Mt,Lt]=(0,Te.useState)("1"),[Pn,zn]=(0,Te.useState)(""),[$n,_r]=(0,Te.useState)([]),Vr=()=>it(void 0,null,function*(){if(!Pn){te.ZP.warning(`\u9898\u76EE${Mr}\u4E0D\u80FD\u4E3A\u7A7A`);return}Rt(!0);const Nr=yield(0,we.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:fn,name:Pn}});if((Nr==null?void 0:Nr.status)===0){xn();return}Rt(!1)}),Xr=(Nr="")=>it(void 0,null,function*(){ar(!0);let La=yield(0,we.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:fn,search:Nr}});_r(La.tag_disciplines||[]),ar(!1)}),aa=Nr=>{let La=Nr.name;ye.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u91CD\u547D\u540D",content:Te.createElement("div",null,Te.createElement(E.default,{defaultValue:La,placeholder:`\u8BF7\u8F93\u5165${Mr}\u540D\u79F0\uFF0C\u4E0D\u8D85\u8FC720\u4E2A\u5B57`,maxLength:20,onChange:Na=>{La=Na.target.value}})),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>it(void 0,null,function*(){if(!La)return te.ZP.warning(`\u9898\u76EE${Mr}\u4E0D\u80FD\u4E3A\u7A7A`),Promise.reject();const Na=yield(0,we.ZP)(`/api/tag_disciplines/${Nr.id}/rename.json`,{method:"post",body:{id:Nr.id,name:La}});(Na==null?void 0:Na.status)===0&&Xr()})})},sa=Nr=>{ye.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:570,title:"\u5220\u9664",content:fn==="practice"?Te.createElement("div",null,"\u786E\u8BA4\u5C06\u9898\u76EE\u6765\u6E90\u201C",Te.createElement("span",{className:"c-light-primary"},Nr.name),"\u201D\u5220\u9664\u5417\uFF1F",Te.createElement("br",null),"\u5220\u9664\u540E\uFF0C\u4F1A\u5C06\u76F8\u5173\u9898\u76EE\u4E2D\u7684\u6765\u6E90\u8FDB\u884C\u6E05\u9664\u3002"):Te.createElement("div",null,"\u786E\u8BA4\u5C06\u9898\u76EE\u77E5\u8BC6\u70B9\u201C",Te.createElement("span",{className:"c-light-primary"},Nr.name),"\u201D\u5220\u9664\u5417\uFF1F",Te.createElement("br",null),"\u5220\u9664\u540E\uFF0C\u4F1A\u5C06\u76F8\u5173\u9898\u76EE\u4E2D\u7684\u77E5\u8BC6\u70B9\u8FDB\u884C\u6E05\u9664\u3002"),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>it(void 0,null,function*(){const La=yield(0,we.ZP)(`/api/tag_disciplines/${Nr.id}.json`,{method:"delete",body:{id:Nr.id}});(La==null?void 0:La.status)===0&&Xr()})})},Cn=Nr=>{Xr(Nr)},Mr=fn==="practice"?"\u77E5\u8BC6\u70B9":"\u6765\u6E90";return Te.createElement(ye.default,{afterClose:()=>{Rt(!1),ar(!1),zn(""),Lt("1"),_r([])},centered:!0,keyboard:!1,width:600,title:`${Mr}\u7BA1\u7406`,open:!!fn,className:ze.customModal,footer:null,onCancel:Rn},Te.createElement("section",{className:ze.wrap},Te.createElement(Ne.default,{activeKey:Mt,onChange:Nr=>{zn(""),Lt(Nr),Xr()}},Te.createElement(Ne.default.TabPane,{tab:`\u65B0\u589E${Mr}`,key:"1"},Te.createElement(E.default,{value:Pn,onChange:Nr=>zn(Nr.target.value),className:ze.in,placeholder:`\u8F93\u5165${Mr}\u540D\u79F0\uFF0C\u4E0D\u8D85\u8FC720\u4E2A\u5B57`,maxLength:20}),Te.createElement("div",{className:ze.btns},Te.createElement(ce.ZP,{onClick:Rn,className:"mr20"},"\u53D6\u6D88 "),Te.createElement(ce.ZP,{loading:_n,onClick:Vr,type:"primary"},"\u786E\u8BA4\u65B0\u5EFA"))),Te.createElement(Ne.default.TabPane,{tab:`\u5DF2\u6709${Mr}`,key:"2"},Te.createElement(E.default.Search,{allowClear:!0,onSearch:Cn,value:Pn,onChange:Nr=>zn(Nr.target.value),className:ze.in,placeholder:`\u8F93\u5165${Mr}\u540D\u79F0\u8FDB\u884C\u67E5\u8BE2`}),Te.createElement(ae.default,{dataSource:$n,bordered:!1,loading:oa,scroll:$n.length>7?{y:300}:{},style:{padding:"0 0px 20px 0px"},columns:[{title:`${Mr}\u540D\u79F0`,dataIndex:"name",ellipsis:!0},{title:"\u64CD\u4F5C",dataIndex:"action",width:120,render:(Nr,La)=>Te.createElement("span",null,Te.createElement("span",{onClick:()=>aa(La),className:"current mr10 c-light-primary"},"\u91CD\u547D\u540D"),Te.createElement("span",{onClick:()=>sa(La),className:"current c-grey-666"},"\u5220\u9664"))}],pagination:!1})))))},bt=Pe(11320),an=Pe(32259),kt=Pe(27484),lt=Pe.n(kt),at=Pe(28706),Dt=Pe(85725),rt=Pe(52262),_e=Pe(67294),mt=Object.defineProperty,Ot=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,Ut=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable,hn=(fn,xn,Rn)=>xn in fn?mt(fn,xn,{enumerable:!0,configurable:!0,writable:!0,value:Rn}):fn[xn]=Rn,jn=(fn,xn)=>{for(var Rn in xn||(xn={}))Wt.call(xn,Rn)&&hn(fn,Rn,xn[Rn]);if(Ut)for(var Rn of Ut(xn))qt.call(xn,Rn)&&hn(fn,Rn,xn[Rn]);return fn},Tn=(fn,xn)=>Ot(fn,xt(xn)),Fn=(fn,xn,Rn)=>new Promise((oa,ar)=>{var _n=Lt=>{try{Mt(Rn.next(Lt))}catch(Pn){ar(Pn)}},Rt=Lt=>{try{Mt(Rn.throw(Lt))}catch(Pn){ar(Pn)}},Mt=Lt=>Lt.done?oa(Lt.value):Promise.resolve(Lt.value).then(_n,Rt);Mt((Rn=Rn.apply(fn,xn)).next())});const{TextArea:pr}=E.default,{confirm:yr}=ye.default,{Panel:Cr}=me.default,Ur={loading:!0,user:null,status:0,data:void 0,lastedUpdateTime:0};var Hr=(fn=>(fn[fn.SET_INITAL_DATA=0]="SET_INITAL_DATA",fn[fn.SET_LOADING=1]="SET_LOADING",fn[fn.SET_STATUS=2]="SET_STATUS",fn))(Hr||{});const ma="#### \u9898\u76EE\u63CF\u8FF0\n\u73B0\u6709\u4E00\u4E2A\u6574\u578B\u6570\u7EC4 `nums`\uFF0C\u8BF7\u7F16\u5199\u7A0B\u5E8F\u5C06\u6570\u7EC4 `nums` \u4E2D\u7684\u6240\u6709 `$$0$$` \u79FB\u52A8\u5230\u6570\u7EC4\u7684\u672B\u5C3E\uFF0C\u4F46\u4E0D\u6539\u53D8\u975E\u96F6\u5143\u7D20\u5728\u6570\u7EC4\u4E2D\u7684\u76F8\u5BF9\u4F4D\u7F6E\u3002\u8BF7\u5728\u539F\u6570\u7EC4 `nums` \u4E0A\u8FDB\u884C\u64CD\u4F5C\u3002\n#### \u8F93\u5165\u8F93\u51FA\u683C\u5F0F\n**\u8F93\u5165\u683C\u5F0F**\n\u7B2C\u4E00\u884C\u6709\u4E00\u4E2A\u6574\u6570 `numsSize`\uFF0C\u8868\u793A\u6570\u7EC4 `nums` \u7684\u5927\u5C0F\uFF1B\n\u7B2C\u4E8C\u884C\u6709 `numsSize` \u4E2A\u6574\u6570\uFF0C\u8868\u793A\u6570\u7EC4 `nums` \u7684\u6240\u6709\u5143\u7D20\uFF0C\u6BCF\u4E2A\u6574\u6570\u7528\u4E00\u4E2A\u7A7A\u683C\u9694\u5F00\u3002\n**\u8F93\u51FA\u683C\u5F0F**\n\u4E00\u884C\u8F93\u51FA\u6570\u7EC4 `nums` \u7684\u6240\u6709\u5143\u7D20\uFF0C\u6709 `numsSize` \u4E2A\u6574\u6570\uFF0C\u6BCF\u4E2A\u6574\u6570\u7528\u4E00\u4E2A\u7A7A\u683C\u9694\u5F00\u3002\n#### \u8F93\u5165\u8F93\u51FA\u6837\u4F8B1\n**\u8F93\u5165**\n`4`\n`0 1 2 3`\n**\u8F93\u51FA**\n`1 2 3 0`\n**\u89E3\u91CA\uFF08\u53EF\u9009\uFF09**\nXXXXX\n#### \u8F93\u5165\u8F93\u51FA\u6837\u4F8B2\n**\u8F93\u5165**\n`5`\n`1 1 0 1 0`\n**\u8F93\u51FA**\n`1 1 1 0 0`\n**\u89E3\u91CA\uFF08\u53EF\u9009\uFF09**\nXXXXX\n#### \u8BF4\u660E\u63D0\u793A\n-`1\u2264n\u2264100`";function Da(fn,xn){switch(xn.type){case 0:return jn(jn({},fn),xn.payload);case 1:return Tn(jn({},fn),{loading:xn.payload});case 2:return Tn(jn({},fn),{status:xn.payload});default:throw new Error}}var ya=()=>{var fn,xn,Rn;const oa=(0,he.useLocation)(),{id:ar}=(0,he.useParams)(),[_n]=oe.default.useForm(),[Rt,Mt]=(0,Te.useState)(),[Lt,Pn]=(0,Te.useState)(!1),[zn,$n]=(0,Te.useState)([]),[_r,Vr]=(0,Te.useState)([]),[Xr,aa]=(0,Te.useState)([]),[sa,Cn]=(0,Te.useState)([]),[Mr,Nr]=(0,Te.useState)([]),[La,Na]=(0,Te.useState)("C"),[Ca,Wa]=(0,Te.useReducer)(Da,Ur),{loading:ia,data:jt,user:en,status:tn}=Ca,sn=jt==null?void 0:jt.hack_sets,un=(fn=jt==null?void 0:jt.hack)==null?void 0:fn.test_set_average,[nn,bn]=(0,Te.useState)(!1),Tt=(0,Te.useRef)([]),[Ir,hr]=(0,Te.useState)(!1),[er,la]=(0,Te.useState)(!1),cn=(0,Te.useRef)(!0),[On,Er]=(0,Te.useState)({});(0,Te.useEffect)(()=>((0,he.getDvaApp)()._store.dispatch({type:"globalSetting/headerFooterToggle",payload:!1}),(0,he.getDvaApp)()._store.dispatch({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),()=>{(0,he.getDvaApp)()._store.dispatch({type:"globalSetting/headerFooterToggle",payload:!0}),(0,he.getDvaApp)()._store.dispatch({type:"globalSetting/onlyShowBackTopToggle",payload:!1})}),[]),(0,Te.useEffect)(()=>{setTimeout(()=>{document.title="\u5728\u7EBF\u5237\u9898"},400)});const Vn=()=>Fn(void 0,null,function*(){const Ln=yield(0,we.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:"practice"}}),or=yield(0,we.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:"practice_source"}});Vr(Ln.tag_disciplines||[]),aa(or.tag_disciplines||[])});var Sa=[{language:"C",code:""},{language:"C++",code:""},{language:"Java",code:""},{language:"Python",code:""}];const pa=(0,Te.useCallback)(()=>Fn(void 0,null,function*(){if(Wa({type:1,payload:!0}),ar){const Ln=yield Fe(ar),{user:or,language:Rr,practice_sets:$r,practice_codes:Hn,description:wt,difficulty:Bt,name:zt,open_or_not:ct,time_limit:Xt,test_set_average:vn,test_set_score:dn,status:_t,tag_discipline_ids:Vt,source_discipline_ids:Kt,item_banks_group_id:Yt,is_file:Zt=!1,hide_actual_output:rn,review_privilege:on,review_description:In,submit_rule:Un}=Ln;Er({review_privilege:on,status:_t,review_description:In,name:zt}),bn(rn);const En=Zt?[{input:"",output:"",score:100,position:1}]:$r;Zt?($n($r),_n.setFieldsValue({hack_sets:En})):$n([]),Wa({type:0,payload:{loading:!0,user:or,status:_t,data:{hack:{difficulty:Bt,name:zt,description:wt,open_or_not:ct,time_limit:Xt,test_set_average:vn,test_set_score:dn,tag_discipline_ids:Vt,source_discipline_ids:Kt,is_file:Zt,submit_rule:Un},hack_sets:En}}}),Mt({hack:{difficulty:Bt,name:zt,description:wt,open_or_not:ct,time_limit:Xt,test_set_average:vn,test_set_score:dn,tag_discipline_ids:Vt,source_discipline_ids:Kt,is_file:Zt}});const tr=Hn==null?void 0:Hn.map(ir=>Tn(jn({},ir),{code:pe.Base64.decode(ir==null?void 0:ir.code)}));Nr(tr),Tt.current=tr}else{const{user:Ln}=yield Ae();Wa({type:0,payload:{loading:!0,status:0,user:Ln,data:{hack:{difficulty:"",time_limit:3,description:ma,test_set_score:!0,test_set_average:!0,open_or_not:!0,name:"",is_file:!1,submit_rule:1},hack_sets:[{input:"",output:"",score:100,position:1}]}}}),Mt({hack:{difficulty:"",time_limit:3,description:"",test_set_average:!0,open_or_not:!0,name:"",is_file:!1}}),Nr(Sa),Tt.current=Sa}Wa({type:1,payload:!1})}),[ar]);(0,Te.useEffect)(()=>{try{pa(),Vn()}catch(Ln){console.log(Ln,"----")}},[]);function Ia(Ln,or){return Fn(this,null,function*(){var Rr;const{hack_sets:$r,hack:Hn}=jn({},Ln);Hn.hide_actual_output=nn;let wt=[],Bt=[],zt=0;const ct=Hn!=null&&Hn.is_file?zn.map((dn,_t)=>Tn(jn({},dn),{position:_t+1})):$r.map(dn=>Tn(jn({},dn),{is_file:!1}));for(let dn of ct)zt+=dn.score,dn.id&&dn.id>=0?wt.push(dn):Bt.push(dn);if(!(ct!=null&&ct.length)){te.ZP.error("\u6D4B\u8BD5\u96C6\u4E0D\u80FD\u4E3A\u7A7A");return}if(zt!==100&&!Hn.test_set_score){te.ZP.error("\u6D4B\u8BD5\u96C6\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}if(ct!=null&&ct.some(dn=>!dn.output)){te.ZP.error("\u6D4B\u8BD5\u96C6\u8F93\u51FA\u4E0D\u80FD\u4E3A\u7A7A");return}cn.current?hr(!0):la(!0);let Xt;const vn=Mr==null?void 0:Mr.map(dn=>Tn(jn({},dn),{code:pe.Base64.encode(dn==null?void 0:dn.code)}));if(ar?Xt=yield ke(ar,{practice:Hn,practice_codes:vn,practice_sets:Bt,update_practice_sets:wt}):Xt=yield Oe({practice:Hn,practice_codes:vn,practice_sets:ct,publish:!cn.current}),hr(!1),la(!1),(Xt==null?void 0:Xt.status)===0){if((Rr=Xt==null?void 0:Xt.similar_practice)!=null&&Rr.length){Pn(!0),Cn(Xt==null?void 0:Xt.similar_practice);return}if(ar){if(te.ZP.success("\u4FDD\u5B58\u6210\u529F"),!cn.current){const dn=yield(0,we.ZP)(`/api/practices/${ar}/start`,{method:"get"});(dn==null?void 0:dn.status)===0&&he.history.push(`/problems/${dn==null?void 0:dn.identifier}/oj/${ar}`)}}else te.ZP.success("\u65B0\u5EFA\u6210\u529F"),he.history.replace(`/problems/${Xt==null?void 0:Xt.identifier}/ojedit`)}})}function Ba(){he.history.replace("/problems")}const Ra=Ln=>{const or=Math.floor(100/Ln.length),Rr=or+100%Ln.length;Ln=Ln.map(($r,Hn)=>Hn===Ln.length-1?Tn(jn({},$r),{score:Rr}):Tn(jn({},$r),{score:or})),$n(Ln)};function yt(Ln){Ln.target.value||Ra(zn),Wa({type:0,payload:{data:Tn(jn({},jt),{hack:Tn(jn({},jt.hack),{test_set_score:Ln.target.value})})}})}function Pt(Ln){Wa({type:0,payload:{data:Tn(jn({},jt),{hack:Tn(jn({},jt.hack),{is_file:Ln.target.value})})}})}function Gt(Ln){bn(Ln.target.checked)}function ln(Ln){const or=Ln.target.value;or&&Ra(zn),Wa({type:0,payload:{data:Tn(jn({},jt),{hack:Tn(jn({},jt.hack),{test_set_average:or})})}})}function wn(){let Ln=_n.getFieldValue("hack_sets");const or=Ln.length+1,Rr=Math.floor(100/or),$r=100%or;Ln.map((Hn,wt)=>(un&&(Hn.score=Rr),Hn.position=wt+1,Hn)),Ln.push({input:"",output:"",position:or,score:un?Rr+$r:0}),_n.setFieldsValue({hack_sets:Ln}),Wa({type:0,payload:{data:Tn(jn({},jt),{hack_sets:Ln})}})}(0,Te.useEffect)(()=>{if(un){const Ln=sn==null?void 0:sn.length,or=Math.floor(100/Ln),Rr=100%Ln;sn==null||sn.map(($r,Hn)=>($r.score=or,$r.position=Hn+1,Hn===Ln-1&&($r.score=or+Rr),$r)),Wa({type:0,payload:{data:Tn(jn({},jt),{hack_sets:sn})}}),_n.setFieldsValue({hack_sets:sn})}},[un]);function Yn(Ln){let or=_n.getFieldValue("hack_sets");const Rr=(or==null?void 0:or.length)-1,$r=Math.ceil(100/Rr),Hn=100%Rr;or.splice(Ln,1),or==null||or.map((wt,Bt)=>(un&&(wt.score=$r,Bt===Rr-1&&(wt.score=$r+Hn)),wt.position=Bt+1,wt)),Wa({type:0,payload:{data:Tn(jn({},jt),{hack_sets:or})}}),_n.setFieldsValue({hack_sets:or})}function cr(Ln){Na(Ln)}const vr=Ln=>{var or;const Rr=(or=Tt.current)==null?void 0:or.findIndex($r=>$r.language===La);Tt.current[Rr].code=Ln,Nr(Tt.current)},Gr=Ln=>{Mt(jn({},_n.getFieldsValue()))},ta=Ln=>Fn(void 0,null,function*(){const or=yield(0,we.ZP)(`/api/practices/${Ln}/start`,{method:"get"});(or==null?void 0:or.status)===0&&(0,at.xg)(`/problems/${or==null?void 0:or.identifier}/oj/${Ln}`)}),qr=()=>Fn(void 0,null,function*(){const Ln=yield Fe(ar),{name:or,status:Rr,review_privilege:$r,review_description:Hn}=Ln;Er({review_privilege:$r,status:Rr,review_description:Hn,name:or})}),Yr=()=>{let Ln="";ye.default.confirm({icon:null,width:700,className:"custom-modal-divider",centered:!0,title:"\u4E0D\u901A\u8FC7\u539F\u56E0",content:_e.createElement("div",{className:"mt20"},_e.createElement(je.Z,{className:He.MdEditor,defaultValue:Ln,onChange:or=>{Ln=or}})),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Fn(void 0,null,function*(){if(!Ln)return te.ZP.warning("\u4E0D\u901A\u8FC7\u539F\u56E0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const or=yield(0,we.ZP)(`/api/practices/${ar}/review.json`,{method:"post",body:{op:"fail",description:Ln}});(or==null?void 0:or.status)===0&&(te.ZP.success("\u63D0\u4EA4\u6210\u529F"),qr())})})},Fa=()=>Fn(void 0,null,function*(){ye.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u63D0\u793A",content:`\u786E\u8BA4\u5C06\u9898\u76EE\u300A${On==null?void 0:On.name}\u300B\u7684\u5BA1\u6838\u901A\u8FC7\u5417\uFF1F`,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Fn(void 0,null,function*(){const Ln=yield(0,we.ZP)(`/api/practices/${ar}/review.json`,{method:"post",body:{op:"pass"}});(Ln==null?void 0:Ln.status)===0&&(te.ZP.success("\u63D0\u4EA4\u6210\u529F"),qr())})})}),Ha=()=>{const Ln=ye.default.confirm({icon:null,width:700,className:`${He.cusModal} custom-modal-divider`,centered:!0,title:_e.createElement(ue.Z,null,_e.createElement(de.Z,{flex:"1"},"\u4E0D\u901A\u8FC7\u539F\u56E0"),_e.createElement(de.Z,null,_e.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>Ln.destroy()}))),content:_e.createElement("div",null,_e.createElement(Dt.Z,{className:"mt20",value:(On==null?void 0:On.review_description)||""}))})};return _e.createElement(le.Z,{spinning:ia,size:"large",className:He["oj-custom-large-spin"]},jt?_e.createElement(Te.Fragment,null,_e.createElement("header",{className:He.header},_e.createElement("div",null,_e.createElement("img",{src:`${bt.Z.IMG_SERVER}/images/${en==null?void 0:en.image_url}`,alt:"user",width:30}),_e.createElement("span",null,en==null?void 0:en.name)),_e.createElement("h2",null," ",(xn=jt==null?void 0:jt.hack)==null?void 0:xn.name," "),ar?_e.createElement("a",{className:He.btn_back,onClick:Ba}," ",_e.createElement(Se.Z,null),"\u9000\u51FA"):null),_e.createElement(oe.default,{form:_n,initialValues:jt,layout:"vertical",className:He["oj-form-container"],onValuesChange:Gr,onFinish:Ia},_e.createElement(ut.Z,{hideResize:!0,className:He["oj-problems"],leftChild:_e.createElement(da,{formValue:Rt,onRemoveTestCase:Yn,onAddTestCase:wn,hack:jt.hack,onChangeScore:yt,onChangehide:Gt,onChangeAverage:ln,onChangeFile:Pt,uploadData:zn,setUploadData:$n,handleUploadRatio:Ra,ischecked:nn,pointData:_r,sourceData:Xr,getPointData:Vn}),rightChild:_e.createElement(Ce,{value:(Rn=Mr==null?void 0:Mr.find(Ln=>Ln.language===La))==null?void 0:Rn.code,onChange:vr,onLanguage:cr,languageItems:Mr,language:La})}),_e.createElement("div",{className:He.footer},!!ar&&_e.createElement("div",{className:He.result},_e.createElement("span",null,"\u5BA1\u6838\u7ED3\u679C:"),On!=null&&On.review_privilege?_e.createElement(_e.Fragment,null,_e.createElement("div",{onClick:Fa,className:He.pass},"\u901A\u8FC7"),_e.createElement("div",{onClick:Yr,className:He.noPass},"\u4E0D\u901A\u8FC7")):_e.createElement(_e.Fragment,null,(On==null?void 0:On.status)===0&&_e.createElement("div",{className:He.passText},_e.createElement("i",{className:"iconfont icon-tongguo"}),"\u672A\u53D1\u5E03"),(On==null?void 0:On.status)===1&&_e.createElement("div",{className:He.passText},_e.createElement("i",{className:"iconfont icon-tongguo"}),"\u5DF2\u516C\u5F00"),(On==null?void 0:On.status)===2&&_e.createElement("div",{className:He.passText},_e.createElement("i",{className:"iconfont icon-tongguo"}),"\u672A\u5BA1\u6279"),(On==null?void 0:On.status)===3&&_e.createElement("div",{className:He.passText},_e.createElement("i",{className:"iconfont icon-tongguo"}),"\u5BA1\u6838\u4E2D"),(On==null?void 0:On.status)===4&&_e.createElement("div",{className:He.passText},_e.createElement("i",{className:"iconfont icon-tongguo"}),"\u5BA1\u6838\u5B8C\u6210\u5F85\u516C\u5F00"),(On==null?void 0:On.status)===5&&_e.createElement("div",{className:He.noPassText},_e.createElement("i",{className:"iconfont icon-weitongguo1"}),"\u5BA1\u6838\u4E0D\u901A\u8FC7",_e.createElement("span",{onClick:Ha},"\u67E5\u770B\u539F\u56E0")))),_e.createElement(ce.ZP,{type:"primary",ghost:!0,onClick:Ba},"\u9000\u51FA\u7F16\u8F91"),_e.createElement(ce.ZP,{disabled:er,loading:Ir,type:"primary",onClick:()=>{cn.current=!0,_n.submit()}},"\u4FDD\u5B58 "),ar?_e.createElement(ce.ZP,{disabled:Ir,loading:er,style:{background:"#2FC25B",border:0},type:"primary",onClick:()=>{cn.current=!1,_n.submit()}},"\u7ACB\u5373\u4F53\u9A8C"):_e.createElement(ce.ZP,{disabled:Ir,loading:er,type:"primary",onClick:()=>{cn.current=!1,_n.submit()}},"\u4FDD\u5B58\u5E76\u53D1\u5E03\u5BA1\u6838")))):null,_e.createElement(ye.default,{centered:!0,destroyOnClose:!0,footer:null,open:Lt,onCancel:()=>Pn(!1),title:"\u76F8\u4F3C\u6027\u68C0\u6D4B",width:"600px"},_e.createElement("div",null,_e.createElement("p",{className:"font14"},"\u7ECF\u7CFB\u7EDF\u68C0\u6D4B\u53D1\u73B0\uFF0C\u672C\u9898\u76EE\u4E0E\u7CFB\u7EDF\u4E2D\u5DF2\u521B\u5EFA\u7684\u9898\u76EE\u9AD8\u5EA6\u96F7\u540C\uFF0C\u8BF7\u8C03\u6574\u9898\u76EE\u540E\u518D\u8FDB\u884C\u4FDD\u5B58"),_e.createElement(ae.default,{dataSource:sa,bordered:!1,scroll:sa.length>7?{y:300}:{},columns:[{title:"\u76F8\u4F3C\u9898\u9898\u76EE",dataIndex:"name",ellipsis:!0,render:(Ln,or)=>_e.createElement("span",{onClick:()=>ta(or==null?void 0:or.identifier),style:{textDecorationLine:"underline"},className:"current c-light-primary"},Ln)},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"create_time",width:170,render:Ln=>{var or;return(or=lt()(Ln))==null?void 0:or.format("YYYY-MM-DD HH:mm")}}],pagination:!1}))))};function da({ischecked:fn,formValue:xn,hack:Rn,onChangeAverage:oa,onChangeScore:ar,onChangehide:_n,onChangeFile:Rt,onAddTestCase:Mt,onRemoveTestCase:Lt,uploadData:Pn,setUploadData:zn,handleUploadRatio:$n,pointData:_r,sourceData:Vr,getPointData:Xr}){var aa,sa;const{test_set_average:Cn,test_set_score:Mr}=Rn,[Nr,La]=(0,Te.useState)(!1),[Na,Ca]=(0,Te.useState)(!1),Wa=(un,nn)=>{const bn=[...Pn];bn.splice(nn,1),Cn?$n(bn):zn(bn)},ia=(un,nn)=>{console.log(un,nn);const bn=Pn.map((Tt,Ir)=>Ir===nn?Tn(jn({},Tt),{score:un.target.value?Number(un.target.value):0}):Tt);zn(bn)},jt=un=>{const nn=Pn.concat(un);Rn.test_set_average?$n(nn):zn(nn)};function en(un){un.stopPropagation()}function tn(){if((0,rt.Ny)()){Ca("practice");return}let un="";ye.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u65B0\u5EFA\u77E5\u8BC6\u70B9",content:_e.createElement("div",null,_e.createElement(E.default,{placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0\uFF0C\u4E0D\u8D85\u8FC720\u4E2A\u5B57",maxLength:20,onChange:nn=>{un=nn.target.value}})),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Fn(this,null,function*(){const nn=yield(0,we.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:"practice",name:un}});(nn==null?void 0:nn.status)===0&&Xr()})})}function sn(){if((0,rt.Ny)()){Ca("practice_source");return}let un="";ye.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u65B0\u5EFA\u6765\u6E90",content:_e.createElement("div",null,_e.createElement(E.default,{placeholder:"\u8BF7\u8F93\u5165\u6765\u6E90\u540D\u79F0\uFF0C\u4E0D\u8D85\u8FC720\u4E2A\u5B57",maxLength:20,onChange:nn=>{un=nn.target.value}})),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Fn(this,null,function*(){const nn=yield(0,we.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:"practice_source",name:un}});(nn==null?void 0:nn.status)===0&&Xr()})})}return _e.createElement("div",{className:He["oj-left-panel"]},_e.createElement("div",{className:He["oj-form-info"]},_e.createElement(oe.default.Item,{label:"\u9898\u76EE\u540D\u79F0",name:["hack","name"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0"}],className:He.inputOne},_e.createElement(E.default,{bordered:!1,maxLength:60,placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0",suffix:_e.createElement("span",null,((sa=(aa=xn==null?void 0:xn.hack)==null?void 0:aa.name)==null?void 0:sa.length)||0,"/",_e.createElement("span",{className:"c-grey-999"},"60"))})),_e.createElement(oe.default.Item,{name:["hack","description"],valuePropName:"defaultValue",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63CF\u8FF0\u5185\u5BB9"}]},_e.createElement(je.Z,{placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u63CF\u8FF0\u2026",miniToolbar:!0,id:"moop_cases_content",noStorage:!0,height:200})),_e.createElement("div",{className:He.row},_e.createElement("div",{className:He.a},_e.createElement(oe.default.Item,{label:"\u96BE\u6613\u5EA6",name:["hack","difficulty"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u6613\u5EA6"}]},_e.createElement(ie.default,null,fe(re.difficulty)))),_e.createElement("div",{className:He.b},_e.createElement(oe.default.Item,{label:"\u9898\u76EE\u6765\u6E90",name:["hack","source_discipline_ids"]},_e.createElement(ie.default,{placeholder:"\u9009\u62E9\u9898\u76EE\u6765\u6E90",showSearch:!1,mode:"multiple",showArrow:!0,getPopupContainer:un=>un.parentNode},Vr.map(un=>_e.createElement(ie.default.Option,{key:un.id,value:un.id},un.name)))),_e.createElement(ce.ZP,{style:{padding:"0 18px"},type:"primary",ghost:!0,onClick:()=>sn()},(0,rt.Ny)()?"\u6765\u6E90\u7BA1\u7406":"\u65B0\u5EFA\u6765\u6E90"))),_e.createElement("div",{className:He.row},_e.createElement("div",{className:He.b,style:{width:"100%",marginLeft:0}},_e.createElement(oe.default.Item,{label:"\u77E5\u8BC6\u70B9",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"}],name:["hack","tag_discipline_ids"]},_e.createElement(ie.default,{placeholder:"\u9009\u62E9\u77E5\u8BC6\u70B9",showSearch:!1,mode:"multiple",showArrow:!0,getPopupContainer:un=>un.parentNode},_r.map(un=>_e.createElement(ie.default.Option,{key:un.id,value:un.id},un.name)))),_e.createElement(ce.ZP,{type:"primary",ghost:!0,onClick:()=>tn()},(0,rt.Ny)()?"\u77E5\u8BC6\u70B9\u7BA1\u7406":"\u65B0\u5EFA\u77E5\u8BC6\u70B9"))),_e.createElement("div",{className:He.field},_e.createElement(oe.default.Item,{label:"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236",name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:1,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F1\u79D2"}],className:He.inputTwo,extra:_e.createElement("span",{style:{position:"absolute",left:200,top:11,color:"#333"}},"\u79D2",_e.createElement("span",{className:"ml5 c-grey-999"},"(\u4EE3\u7801\u6267\u884C\u6240\u5141\u8BB8\u7684\u6700\u5927\u65F6\u957F)"))},_e.createElement(ne.Z,{style:{width:185},min:1}))),_e.createElement("div",{className:"tst-case-info"},_e.createElement("h3",{className:"flex-container",style:{justifyContent:"space-between"}}," ","\u6D4B\u8BD5\u7528\u4F8B\u4E0E\u7CFB\u7EDF\u8BC4\u5206\u89C4\u5219",!Rn.is_file&&_e.createElement(ce.ZP,{style:{height:40},type:"primary",ghost:!0,onClick:Mt},"\u6DFB\u52A0\u6D4B\u8BD5\u7528\u4F8B")),_e.createElement(oe.default.Item,{name:["hack","test_set_score"]},_e.createElement(a.ZP.Group,{onChange:ar},_e.createElement(a.ZP,{value:!0},"\u901A\u8FC7\u5168\u90E8\u6D4B\u8BD5\u96C6",_e.createElement("span",{className:"tip"}," ","\uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u4EC5\u5F53\u6240\u6709\u6D4B\u8BD5\u96C6\u90FD\u6B63\u786E\u65F6\uFF0C\u624D\u83B7\u5F97\u4E00\u6B21\u6027\u5956\u52B1\uFF09")),_e.createElement(a.ZP,{value:!1},"\u901A\u8FC7\u90E8\u5206\u6D4B\u8BD5\u96C6",_e.createElement("span",{className:"tip"}," ","\uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u901A\u8FC7\u6D4B\u8BD5\u96C6\u5373\u53EF\u83B7\u5F97\u5BF9\u5E94\u5956\u52B1\uFF09")))),_e.createElement(y.default,{style:{marginBottom:"5px"},checked:fn,onChange:_n},"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA \uFF08\u9009\u4E2D\uFF0C\u5219\u5728\u5B66\u751F\u505A\u9898\u8FC7\u7A0B\u4E2D\u65E0\u6CD5\u770B\u5230\u5B9E\u9645\u8F93\u51FA\u7ED3\u679C\uFF0C\u4EC5\u5C55\u793A\u662F\u5426\u8BC4\u6D4B\u662F\u5426\u901A\u8FC7\uFF09"),_e.createElement(oe.default.Item,{className:He.testJi,name:["hack","is_file"],label:"\u7528\u4F8B\u7C7B\u578B:"},_e.createElement(a.ZP.Group,{onChange:Rt},_e.createElement(x.Z,{direction:"horizontal"},_e.createElement(a.ZP,{value:!1},"\u6587\u672C"),_e.createElement(a.ZP,{value:!0},"\u6587\u4EF6")))),_e.createElement(oe.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",name:["hack","submit_rule"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},_e.createElement(a.ZP.Group,null,_e.createElement(a.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),_e.createElement(a.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),_e.createElement(a.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),!Rn.test_set_score&&_e.createElement(oe.default.Item,{name:["hack","test_set_average"],label:"\u7CFB\u7EDF\u8BC4\u5206\u5360\u6BD4"},_e.createElement(a.ZP.Group,{onChange:oa},_e.createElement(a.ZP,{value:!0},"\u5747\u5206\u6BD4\u4F8B"),_e.createElement(a.ZP,{value:!1},"\u81EA\u5B9A\u4E49\u6BD4\u4F8B"))),Rn.is_file&&_e.createElement("div",{className:He.upBtn},_e.createElement(ce.ZP,{ghost:!0,type:"primary",className:"mb20",onClick:()=>La(!0)},"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"),_e.createElement(an.Y2,{disabled:Rn==null?void 0:Rn.test_set_average,inputChange:ia,showScore:!Rn.test_set_score,data:Pn,onRemove:Wa})),!Rn.is_file&&_e.createElement(oe.default.List,{name:"hack_sets"},(un,{})=>_e.createElement(me.default,{accordion:!0},un.map((nn,bn)=>_e.createElement(Cr,{key:`${nn.key}--${bn}`,header:_e.createElement("a",{className:He["test-case-name"]},_e.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",bn+1),Mr?null:_e.createElement(_e.Fragment,null,_e.createElement(oe.default.Item,{name:[nn.name,"score"],fieldKey:[nn.fieldKey,"score"],rules:[{required:!0,message:`\u8BF7\u8F93\u5165\u6D4B\u8BD5\u96C6${bn+1}\u8BC4\u5206`}]},_e.createElement(ne.Z,{onClick:en,min:0,max:100,disabled:Cn})),_e.createElement("span",null,"%"))),extra:bn>0?_e.createElement("div",{onClick:en},_e.createElement(b.Z,{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u5B9A\u5220\u9664\u6D4B\u8BD5\u96C6\b"+(bn+1),onConfirm:()=>{Lt(bn)}},_e.createElement(be.Z,{className:He["btn-remove-case"]}))):null},_e.createElement(oe.default.Item,{label:"\u8F93\u5165",name:[nn.name,"input"],fieldKey:[nn.fieldKey,"input"]},_e.createElement(pr,null)),_e.createElement(oe.default.Item,{label:"\u8F93\u51FA",name:[nn.name,"output"],fieldKey:[nn.fieldKey,"output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},_e.createElement(pr,null)))))))),_e.createElement(an.ZP,{rootIdentifier:null,visible:Nr,onClose:()=>La(!1),onOK:jt}),_e.createElement(dt,{visible:Na,onCancel:()=>{Ca(!1),Xr()},onOK:()=>{Ca(!1),Xr()}}))}},32259:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Y2:function(){return Ae},ZP:function(){return Fe}});var Te=Pe(67294),He=Pe(92421),E=Pe(2453),ye=Pe(14446),me=Pe(71230),oe=Pe(78045),te=Pe(71577),ue=Pe(84567),de=Pe(83062),le=Pe(11486),ce={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"},ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8ZUq4FZqnIr/YBYQTEZ6lKBDreNshQYxvf9v6+He298khUAYsnS0fGeAsBLmBvj+JWnmULNFs2BWLp29LxSYL4qMczXJLa4Se9Nf7aYiY4CsUTh6MbWsUoOsMUUywrExJLRYakAW8cq+UBVJpAViAnEoinV16Y5QFUWJTcQi5KJRtcKUIFtlBOA7KnQQOypRDS42D5yeN8iIdhePlAdiLVISaNzUn01No6rGKsGALHGeWllegCmxCm2lzdGADEluak5DACmzB1AdmEIEFOWn9rCAWDaHDnGA8jOxgAxpTmqIayXt/0vbt9rcOJODIBsFgaIKc7RlqFRgbVUXzA3IANignTppikAM2Z15yCjEjOWr7XDBWC1Fa40fscgA2KVcsrisADMomuLmDsFGRAznrelwj++Rmc6yOdjWYEOL8QCMcsJWyh2AFZISCXD7P976ernuqvFKskxVWEAMFV2lAmms20lECuTNmZH4S6YWeseB94RyICY0xyOWRYH+TEqGW7TCciAmOEczQmdbWSOenb69nA+BsTs5GPRSNlGFpVT72AdVGNATG/6VYuMbWQ1aXUO7BxkQExn2lWN6uVtP1adgMHVKeB5WwnE1KVb3YDYRtbVV+3ojqsxIKY268oHxmF+eU0tjei1GgNilrIwM1a2kZkCWu/utBoDYtYTMzJ+tpGRQnlv5hBkQMx70h7XRxXWidHPl7nb//fy9XkzOy2AmB2vkiPlSkWydD47OqvGgJjPNL1YFVVYByZLlgjEJGrRtrUCPJFs7YDS+R2BjEpMSY7NsDl+9j9fd6XC4kC/lJLOxgFizgzdYDnzudTpMw6fj//3DK4HIRyANoy/w9+wkwCOKmwDYy1P4QRkVGIVk/AMrnH4XniaXQzUqMIKq+5tOCDmzdH89cyVz6fwJRwqrZgqK3/SEFaBRhVWQlr/Y3i4xU8lVihPlVxj2IVxfJ+2nFRhhYz1PoyDagyIZSapEnhdr2I6R9uqEsxUkO5NFQBiTeVvOrlSeDXVhMltKmB9S0klJsw74CUUjOb6FTBejQExQYoBMIFYNLWkgOnvUwKxyFTjoDxSKJqZVMDylhKIPUk5riqY/JkkaKkChreUQOyB2WwfpT8JtDerABAza93dwAGYP09Z0WMFrG4pqcRWfGULyY97jwoAMSeuAzAnRrIMuQJGt5RUYldW8xRSnvv0cKIAELNvJACz7yEryFLA5H0xKrGj5xzkZyU/nZ0oYPFcDIiFEDgHc/ITyDKyFQBi2RK2GYBtZBvdmVWhAuP4VfL2YA0r6L4SYxupIQ2JQY0CBg/3gdjbflSTQASCAq0VAGKtHZDNTxUm04vWHSgAxOyYzGG+Ha+IdFMFzF2z6HY7yWH+pj8YTGZHASBmwSuqMAsuEWMjBYBYI+FF0wIxkVw07kwBa3fFutxOspXs7KeS5YoUAGIiudo0fuFaRRvhmdWEAkBMuU1sJZUbRHjNFQBizS14HABbSeUGEV5zBYBYcwueQowb+so9Iry2CgCxtvo/nJ2tpGJzCE2NAkBMjRW3gQAxxeYQmhoFgJgaK1Yg9u3PjzAO3xWHSGgo0FoBLru2duDR/HzhW7M7xKZEASCmxIjVMHgyqdkdYlOiABBTYgQQ02wEsWlWAIhpdodKTLM7xKZCAd4npsKGu0HwdSPd/hCdAgV4x35bE+YrFNPnUzj87/IzDp9DWPnvbUNmdhTQpQAQ286P+Unj9DnAafrcgmu7cJgJBVwoYO2O2CS6mVfxXEELYLn4kWERShXYhXF8t/Kn21RDbAEuLqgqzXbCcq+AeqCpgxjgcv9DwQLtKqASaGogxm16u5lN5B0qoOgqRnOIAa8OfwBYshcFVFRmzSAGvLzkMetAgdAUZptD7Agv7myR+SjgT4EmMNsUYlRf/rKWFaHAigKbwmwTiAEvEh0FOlRgo8P/6hADYB0mL0tGgZMCG4CsGsSOr4KeLqlyu56URoG+Fai6vawCMaqvvjOW1aPAqgKVqrLiEANgJDAKoMBdBSqArCjEABjJiwIoEKFA0bfHFoMYAIuwjiYogAInBYqBrAjEeO0zmYkCKJCgQBGQZUMMgCVYRxcUQIFiFVkWxNhCkokogALZCmQe9idDDIBlW8cAKIACJwUyQJYEMQBG7qEAChRXIBFkYogdb+L/Kr4ABkQBFECBBJDJIfa2H1EaBVAABaopIASZCGI8iaxmGwOjAAosFJD86bhoiHEORo6hAApspoCgGouCGOdgm1nHRCiAAsInlnEQe9tPB/m8Uof0kiswjO/hb9jNHYeBVzPJFey6R8y28inE2EZ2nUM5i1/9Sgn5lCNph30jtpUPIcY2ssOkKbTkR79BAVkhkXsZ5gnIHkOMbWQvaVJ2neP4df/z9bCFvPMBZGUl9z7ao1+KdyFGFeY9LSqtLwJgp5m5slPJA4/DPqjG7kOMKsxjKtRdU8T5xXUAL1yeruuJo9HvVWOrEKMKc+T8VktJANgUGrm2lUEO5rmTY+sQowpz4PiGS0gE2Hlb+c+fL2EY+D7uhpaZnCoWYvxmNGlvu6AzAXYG2bc/P8I43yPjgwL3FVjJt5tKjMNWMkigQJHXCwMygeK9N42EGG+p6D1R4tZfFGCALE50WoVwfcB/UYmxlSRFohUQXKWIHvPYkDtkUsU6a39VjV1CjAP9zrIhcbkVAXauyMjFRHP66Lasxq4hxlayjxxIX+UGAANk6fZ003ORh2eIsZXsxv70hRZ6EikJgMuwErU6arvIxQ+IUb53lAEJS20AsClKfrkmeNVHl/ODpSXE2Er2Yb58lY0AxhNLuVU99Tidi80Q47ddT9aL11rlKoU0Cp5YShXroP3xlysQ68DrjCWqABgVWYaDnrteQIzzMM9Wp65NFcAAWaqNrvvNOXqoxICYa6eTFrfhVQppfGwtpYr5bT+di50gxqG+X5/lK1MMsHNFxi9eua8eewzj+8ChvkdnM9bU+EmkJHJ2EBK1nLYFYk6NTV2WIYDNxyC8hyzVaT/9ZojxHic/huasxBjAzttKQJbjuv2+M8Q4W7BvZO4KjAKMJ5a5xrvovwNiLnzMWoTKqxTSFbGjkCrmpj0Qc2Nl2kJcAIyKLM18L72oxLw4mbIOA1cppMuiIpMqZr/9BDHuiNn3Ub4ChwCjIpOngYceQMyDi9I1OAbYGWQ8sJJmhdn2QMysdYmBG38SKVk1uwyJWnbbAjG73skj7whgkzhchpWniMUeQMyiaykxdwaw87aSy7Ap2WKqD08nTdmVHKyrqxRSFXhiKVXMVnsgZsuvlGi7BhhPLFNSxlYfIGbLL2m0AGyhGBWZNH1stAdiNnxKi7KDqxRSYQCZVDH97XmLhX6P0iIEYHd146UHaSmltNcOiCl1JissAPZUPkD2VCIrDXa82dWKVbFxdnqVIlaeZTsuw6aopqzP9D6xKSTMVGZMajgATKQcl2FFculsPI7nv3bEl8B1WiSJiieRErWObTnoTxBNU5cFxH6FEL5oio1YhApwDiYU7KM5IEuWrnnHjz/Zxnv2m5uRGQBVWIaAQCxDvLZdF388l++XtbWiwOzTb6QCw3Q5BBAzavvxDPic+BzuGzXyFDbbyWQDuW6RLF3bjsecX0KMc7G2luTPDsjEGlKFiSVT0+G0+/iAGOdiaszJDGSX1X8c3/c/X/PGyAogrvMMn+kzDp/jeqy24mFWhniNu57PgT8gxrlYY09UTa/6QQHVk6pcaRPMYtdxcRjM2UAbP1TOqvTiLBdUVWbL5kEtH2RdQowt5eZmqJ0QiKm1hsDCxU7h5rE8TylJkaMCKreUVGLkZ7h6gHULMaoxsuSgABAjE1QqcH0nEoiptElFUEBMhQ0EcaXATV6u3vJmS0niUImRAyoVWLkLuQ4xtpQq/ds4KCqxjQVnuqcKrObk3e/bUY09FdR7AyDm3WFr67vzjZT7EKMas2Zx6XiBWGlFGS9Hgbv5+PDNB1RjOZqb7wvEzFvoaAEPvhf8GGJUY46yQLwUICaWjA5VFHhy8frpO6j4nloVWywMCsQsuOQ/xqd5+BRik0ZsK/1nysoKnyZPC1W4sd9C9YZzRrxeKg5ibCsbuthsaiDWTHomPioQlYNREJurMUDWW2ZFJdDWolCJba14u/liX7keDTG2le3MbDQzEGskPNNOL7scv8a+nFMGMaqxnvILiPXktqa1Cl8DJYIY20pNTlePBYhVl5gJSjxQEkMMkHWTeECsG6v1LDT2HGwZcRLEjudj/HUkPd7XiASI1VCVMe8rIDgHKwIxQOY+G4GYe4sVLTARYNMKkiuxGWL8hSRFWVA8FCBWXFIGXFVAeJB/PUYWxACZ66QEYq7tVbK4TIBlV2InGajIlCRE2TCAWFk9Ge2mhBrf9/++Hv4IcsYnuxK7Atn3EAJ/VTnDEEVdgZgiM9yFUqACO2lSDGJnmL3teWrpI+OAmA8f9a0i4xB/bTHFITafkwEyfYkjjwiIyTWjx2MFdmEc32O/ThQrZhWIzSDjK0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ie=Pe(56448),ne=Pe.n(ie),a=Pe(33170),y=Pe(25934),x=Pe(28706),b=Pe(91613),z=Pe(67294),ee=Object.defineProperty,re=Object.defineProperties,se=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,he=(ke,Ve,De)=>Ve in ke?ee(ke,Ve,{enumerable:!0,configurable:!0,writable:!0,value:De}):ke[Ve]=De,pe=(ke,Ve)=>{for(var De in Ve||(Ve={}))ve.call(Ve,De)&&he(ke,De,Ve[De]);if(fe)for(var De of fe(Ve))ge.call(Ve,De)&&he(ke,De,Ve[De]);return ke},Se=(ke,Ve)=>re(ke,se(Ve)),be=(ke,Ve,De)=>new Promise((ut,nt)=>{var qe=Ue=>{try{$e(De.next(Ue))}catch(Be){nt(Be)}},Xe=Ue=>{try{$e(De.throw(Ue))}catch(Be){nt(Be)}},$e=Ue=>Ue.done?ut(Ue.value):Promise.resolve(Ue.value).then(qe,Xe);$e((De=De.apply(ke,Ve)).next())});const{Dragger:je}=He.default,we=ke=>{const Ve=Be=>Be&&Be.substring(0,Be.lastIndexOf("."));for(var De=[...ke],ut=0,nt=[],qe=0;qe<De.length;qe++){for(var Xe="",$e=0;$e<nt.length;$e++)if(Ve(nt[$e][0].name)==Ve(De[qe].name)){ut=1,Xe=$e;break}if(ut==1)nt[Xe].push(De[qe]),ut=0;else if(ut==0){let Be=new Array;Be.push(De[qe]),nt.push(Be)}}return nt.map(Be=>{if(Be.forEach(tt=>{let Je=tt.name.split(/\.(?=[^\.]+$)/);tt.name=`${Je[0]}.${Je[1].toLowerCase()}`}),Be[0].name.includes(".in"))return Be.length===2?Be:[Be[0],{}];if(Be[0].name.includes(".out"))return Be.length===2?Be.reverse():[{},Be[0]]})},Oe=({onClose:ke,onOK:Ve,visible:De,wrapClassName:ut,rootIdentifier:nt,multiple:qe=!1,defaultMultipleValue:Xe=!0})=>{const[$e,Ue]=(0,Te.useState)([]),[Be,tt]=(0,Te.useState)({}),[Je,ft]=(0,Te.useState)(!1),[Ze,Ge]=(0,Te.useState)(!0),[Le,Ke]=(0,Te.useState)(null),Ee=(0,Te.useRef)([]),Re=(0,Te.useRef)(0),Qe=()=>{ke()};(0,Te.useEffect)(()=>{Ye()},[]),(0,Te.useEffect)(()=>{De&&(Ee.current=[],Re.current=0,Ue([]),Ge(Xe))},[De]);const Ye=()=>be(void 0,null,function*(){try{Ke(!0)}catch(dt){}}),We=dt=>dt&&dt.substring(0,dt.lastIndexOf(".")),Ce=dt=>{var bt,an;const kt=We((bt=dt[0])==null?void 0:bt.name)||We((an=dt[1])==null?void 0:an.name),lt=$e.filter(at=>We(at.name)!==kt);Ee.current=[...lt],Ue([...lt])},xe=dt=>{if(!Ze){const Dt=new FormData;Dt.append("file",dt.file),(0,a.ZP)("/api/attachments/get_file_content.json",{method:"post",body:Dt},!0).then(_e=>{if(_e.status===0){Re.current=Re.current+1;const mt=Ee.current.map(Ot=>{var xt;if(Ot.name===dt.name){const Ut=pe({},Ot);return(xt=dt==null?void 0:dt.name)!=null&&xt.includes(".in")?Ut.input=_e==null?void 0:_e.content:Ut.output=_e==null?void 0:_e.content,Ut}return Ot});if(Ee.current=[...mt],Ue([...mt]),Re.current>0&&Re.current===$e.length){ft(!1);let Ot=we(mt);Ot=Ot.filter(xt=>{var Ut,Wt;return!!((Ut=xt[0])!=null&&Ut.name&&((Wt=xt[1])!=null&&Wt.name))}),Ot=Ot.map(xt=>Se(pe(pe({},xt[0]),xt[1]),{is_file:!1})),Ve(Ot),ke()}}else ft(!1),ke()});return}if(Le){const Dt=new FormData;Dt.append("file",dt.file),nt===null?Dt.append("identifier","testsets"):Dt.append("identifier",nt),(0,a.ZP)("/api/attachments.json",{method:"post",body:Dt},!0).then(_e=>{if(_e.filename){Re.current=Re.current+1;const mt=Ee.current.map(Ot=>{var xt;if(Ot.name===(_e==null?void 0:_e.filename)){const Ut=Se(pe({},Ot),{is_oss:!Le});return(xt=_e==null?void 0:_e.filename)!=null&&xt.includes(".in")?(Ut.in_object_key=_e==null?void 0:_e.object,Ut.in_object_size=_e==null?void 0:_e.size,Ut.input=_e==null?void 0:_e.filename,Ut.in_file=dt):(Ut.out_object_key=_e==null?void 0:_e.object,Ut.out_object_size=_e==null?void 0:_e.size,Ut.output=_e==null?void 0:_e.filename,Ut.out_file=dt),Ut}return Ot});if(Ee.current=[...mt],Ue([...mt]),Re.current>0&&Re.current===$e.length){ft(!1);let Ot=we(mt);Ot=Ot.filter(xt=>{var Ut,Wt;return!!((Ut=xt[0])!=null&&Ut.name&&((Wt=xt[1])!=null&&Wt.name))}),Ot=Ot.map(xt=>Se(pe(pe({},xt[0]),xt[1]),{is_file:!0})),Ve(Ot),ke()}}else ft(!1),ke()});return}const bt=new(ne())({endpoint:Be.end_point,region:Be.region,accessKeyId:Be.access_key_id,accessKeySecret:Be.access_key_secret,bucket:Be.bucket,stsToken:Be.security_token}),an=dt.name,kt={container_type:"TestSet",file_name:an},lt=(0,y.Z)();let at=`testsets/${nt}/${lt}${an.indexOf(".")>-1?"."+an.split(".").pop():""}`;nt===null&&(at=`testsets/${lt}${an.indexOf(".")>-1?"."+an.split(".").pop():""}`),bt.multipartUpload(at,new Blob([dt.file],{type:dt.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:an+""},url:Be==null?void 0:Be.callback_url,host:Be==null?void 0:Be.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,a.rz)(kt)}}).then(function(Dt){if(Dt.data.status===0){Re.current=Re.current+1;const rt=Ee.current.map(_e=>{var mt,Ot,xt,Ut,Wt,qt,hn,jn,Tn,Fn,pr,yr,Cr,Ur,Hr,ma,Da;if(_e.name===((Ot=(mt=Dt.data)==null?void 0:mt.data)==null?void 0:Ot.file_name)){const ya=Se(pe({},_e),{is_oss:!Le});return(Wt=(Ut=(xt=Dt.data)==null?void 0:xt.data)==null?void 0:Ut.file_name)!=null&&Wt.includes(".in")?(ya.in_object_key=(hn=(qt=Dt.data)==null?void 0:qt.data)==null?void 0:hn.object,ya.in_object_size=(Tn=(jn=Dt.data)==null?void 0:jn.data)==null?void 0:Tn.size,ya.input=(pr=(Fn=Dt.data)==null?void 0:Fn.data)==null?void 0:pr.file_name,ya.in_file=dt):(ya.out_object_key=(Cr=(yr=Dt.data)==null?void 0:yr.data)==null?void 0:Cr.object,ya.out_object_size=(Hr=(Ur=Dt.data)==null?void 0:Ur.data)==null?void 0:Hr.size,ya.output=(Da=(ma=Dt.data)==null?void 0:ma.data)==null?void 0:Da.file_name,ya.out_file=dt),ya}return _e});if(Ee.current=[...rt],Ue([...rt]),Re.current>0&&Re.current===$e.length){ft(!1);let _e=we(rt);_e=_e.filter(mt=>{var Ot,xt;return!!((Ot=mt[0])!=null&&Ot.name&&((xt=mt[1])!=null&&xt.name))}),_e=_e.map(mt=>Se(pe(pe({},mt[0]),mt[1]),{is_file:!0})),Ve(_e),ke()}}})},Ne=dt=>new Promise((bt,an)=>{let kt=0,lt=[];for(let at=0;at<dt.length;at++)dt[at].file.slice(0,1).arrayBuffer().then(()=>{kt++,kt===dt.length&&(lt.length?(E.ZP.warning(`${lt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),an()):bt(dt))}).catch(Dt=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",Dt),kt++,lt.push(dt[at].name),kt===dt.length&&(lt.length?(E.ZP.warning(`${lt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),an()):bt(dt))})}),ze=()=>be(void 0,null,function*(){if($e.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Ne($e),ft(!0),we($e).some(bt=>{var an,kt;return!((an=bt[0])!=null&&an.name&&((kt=bt[1])!=null&&kt.name))})){ye.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:()=>be(void 0,null,function*(){$e.map(bt=>be(void 0,null,function*(){xe(bt)}))}),onCancel:()=>{ft(!1)}});return}$e.map(bt=>be(void 0,null,function*(){xe(bt)}))}),it={name:"file",fileList:$e,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:dt=>{if($e!=null&&$e.some(an=>an.name===dt.name))return E.ZP.info(`${dt.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(dt.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(dt.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 bt={name:dt.name,uid:dt.uid,file:dt,percent:0};return $e.push(bt),Ee.current=[...$e],Ue([...$e]),!1}},St=we($e);return console.log($e,St,"fileList"),z.createElement(ye.default,{open:De,wrapClassName:ut,onOk:ze,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:Je},onCancel:Qe,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:ce.wrap},$e.length?z.createElement("div",null,z.createElement(me.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:qe?"visible":"hidden"}},z.createElement("span",{className:ce.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(oe.ZP.Group,{className:`ml20 ${ce.testCaseRadio}`,optionType:"button",value:Ze,onChange:dt=>Ge(dt.target.value)},z.createElement(oe.ZP,{value:!1},"\u6587\u672C"),z.createElement(oe.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(He.default,pe({},it),z.createElement(te.ZP,{type:"primary",className:ce.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(Ae,{data:St,onRemove:Ce})):z.createElement("div",{className:`${ce.noData} mb30`},z.createElement(He.default.Dragger,Se(pe({},it),{className:ce.dragger}),z.createElement("img",{src:ae,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),z.createElement("span",{className:ce.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:ce.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))))},Ae=({data:ke=[],onRemove:Ve,width:De="auto",showScore:ut=!1,disabled:nt=!1,inputChange:qe,onEvaluatingChange:Xe,onSelectAll:$e,checkAll1:Ue,checkAll2:Be,checkAll3:tt,checkAll4:Je,checkAll5:ft,showEvaluatingSetting:Ze=!1,className:Ge="",isProgramHomework:Le=!1})=>{const Ke={value:"",filename:"",dataUrl:""},[Ee,Re]=(0,Te.useState)(pe({},Ke)),Qe=Ce=>{let xe=document.createElement("a");document.body.appendChild(xe);let Ne=URL.createObjectURL(Ce.file);xe.href=Ne,xe.download=Ce.name,xe.click(),URL.revokeObjectURL(Ne),document.body.removeChild(xe)},Ye=(Ce,xe)=>{(0,x.LR)(Ce,xe)},We=(Ce,xe)=>{ye.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:()=>{Ve(Ce,xe)},onCancel:()=>{}})};return ke.length?z.createElement("div",{className:Ge,style:{width:De}},z.createElement("div",{className:`${Le?ce.headProgram:ce.head}`},Ze&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(ue.default,{checked:Ue,onChange:Ce=>{$e(Ce.target.checked,"hidden")}}),z.createElement(de.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:Le?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:ut?Le?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:ut?Le?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),ut&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Ze&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ue.default,{checked:Je,onChange:Ce=>{$e(Ce.target.checked,"input_visible")}}),z.createElement(de.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(ue.default,{checked:Be,onChange:Ce=>{$e(Ce.target.checked,"is_invisible")}}),z.createElement(de.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(ue.default,{checked:ft,onChange:Ce=>{$e(Ce.target.checked,"actual_output_visible")}}),z.createElement(de.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(ue.default,{checked:tt,onChange:Ce=>{$e(Ce.target.checked,"last_match_rule")}}),z.createElement(de.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:ce.operation,style:Le?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:ce.listWrapper,style:{boxShadow:Le?"0px 2px 4px 0px #EAEEF4":"unset"}},ke.map((Ce,xe)=>{var Ne,ze,it,St;return z.createElement("div",{key:xe,className:ce.list,style:Le?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Ze&&z.createElement("div",{style:{width:"15%"}},z.createElement(ue.default,{checked:!!Ce.hidden,onChange:dt=>{Xe(dt.target.checked,xe,"hidden")}})),z.createElement("div",{style:{width:Le?"25%":"15%",paddingLeft:Le?"5px":"0px",paddingRight:Le?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",xe+1),z.createElement("div",{className:ce.info,style:{width:ut?Le?"20%":"15%":"25%"}},z.createElement("span",{title:Ce.input||((Ne=Ce[0])==null?void 0:Ne.name),onClick:()=>be(void 0,null,function*(){let dt;Ce.input?Ce.input_file_url?dt=Ce.input_file_url:dt=Ce.in_file:dt=Ce[0];let bt;typeof dt=="string"?(bt=yield fetch(dt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Re({value:yield bt.text(),filename:"",dataUrl:dt})):(bt=yield(0,x.db)(dt.file),Re({value:bt.text,filename:dt.name,dataUrl:bt.link}))})},Ce.input||((ze=Ce[0])==null?void 0:ze.name))),z.createElement("div",{className:ce.info,style:{width:ut?Le?"20%":"15%":"25%"}},z.createElement("span",{title:Ce.output||((it=Ce[1])==null?void 0:it.name),onClick:()=>be(void 0,null,function*(){let dt;Ce.input?Ce.output_file_url?dt=Ce.output_file_url:dt=Ce.out_file:dt=Ce[1];let bt;typeof dt=="string"?(bt=yield fetch(dt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Re({value:yield bt.text(),filename:"",dataUrl:dt})):(bt=yield(0,x.db)(dt.file),Re({value:bt.text,filename:dt.name,dataUrl:bt.link}))})},Ce.output||((St=Ce[1])==null?void 0:St.name))),ut&&z.createElement("div",{style:{width:"20%"}},z.createElement(le.default,{size:"large",addonAfter:Le?"%":null,disabled:nt,style:{width:"80%"},onChange:dt=>qe(dt,xe),value:Ce.score}),!Le&&z.createElement("span",null,"\xA0%")),Ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(ue.default,{checked:Ce.input_visible||!1,onChange:dt=>{Xe(dt.target.checked,xe,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(ue.default,{checked:Ce.is_invisible||!1,onChange:dt=>{Xe(dt.target.checked,xe,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(ue.default,{checked:Ce.actual_output_visible||!1,onChange:dt=>{Xe(dt.target.checked,xe,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(ue.default,{checked:Ce.last_match_rule||!1,onChange:dt=>{Xe(dt.target.checked,xe,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>We(Ce,xe),style:Le?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:ce.del},"\u5220\u9664")))})),z.createElement(b.Z,{close:!0,data:Ee.dataUrl,filename:Ee.filename,type:Ee.dataUrl.length?"txt":"",onClose:()=>Re(pe({},Ke)),monacoEditor:{value:Ee.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Fe=Oe},40471:function(At,Ct,Pe){"use strict";Pe.d(Ct,{G:function(){return me},t:function(){return ye}});var Te=Pe(58971),He=Pe.n(Te);const E=null;function ye(oe,te){let ue=He().get("__ec");ue||(ue={}),ue[oe]=te,He().set("__ec",ue)}function me(oe,te){let ue=He().get("__ec");return ue?ue[oe]===void 0?te:ue[oe]:te}},56448:function(At){(function(Ct){(function(Pe){if(1)At.exports=Pe();else var Te})(function(){var Pe,Te,He;return function(){function E(ye,me,oe){function te(le,ce){if(!me[le]){if(!ye[le]){var ae=void 0;if(!ce&&ae)return require(le,!0);if(ue)return ue(le,!0);var ie=new Error("Cannot find module '"+le+"'");throw ie.code="MODULE_NOT_FOUND",ie}var ne=me[le]={exports:{}};ye[le][0].call(ne.exports,function(a){var y=ye[le][1][a];return te(y||a)},ne,ne.exports,E,ye,me,oe)}return me[le].exports}for(var ue=void 0,de=0;de<oe.length;de++)te(oe[de]);return te}return E}()({1:[function(E,ye,me){"use strict";var oe=E("./browser/client");oe.Buffer=E("buffer").Buffer,oe.urllib=E("../shims/xhr"),oe.version=E("./browser/version").version,ye.exports=oe},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(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 de=E("assert"),le=E("../common/utils/checkBucketName"),ce=le.checkBucketName,ae=me;function ie(a){return Array.isArray?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"}function ne(a){return a?ie(a)?a:[a]:[]}ae.useBucket=function(y){return ce(y),this.options.bucket=y,this},ae.setBucket=function(y){return ce(y),this.options.bucket=y,this},ae.getBucket=function(){return this.options.bucket},ae.deleteBucket=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"",z),fe.next=3,this.request(ee);case 3:if(re=fe.sent,!(re.status===200||re.status===204)){fe.next=6;break}return fe.abrupt("return",{res:re.res});case 6:return fe.next=8,this.requestError(re);case 8:throw fe.sent;case 9:case"end":return fe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.putBucketACL=function(){var a=(0,ue.default)(te.default.mark(function x(b,z,ee){var re,se;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return re=this._bucketRequestParams("PUT",b,"acl",ee),re.headers={"x-oss-acl":z},re.successStatuses=[200],ve.next=5,this.request(re);case 5:return se=ve.sent,ve.abrupt("return",{bucket:se.headers.location&&se.headers.location.substring(1)||null,res:se.res});case 7:case"end":return ve.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),ae.getBucketACL=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ee=this._bucketRequestParams("GET",b,"acl",z),ee.successStatuses=[200],ee.xmlResponse=!0,fe.next=5,this.request(ee);case 5:return re=fe.sent,fe.abrupt("return",{acl:re.data.AccessControlList.Grant,owner:{id:re.data.Owner.ID,displayName:re.data.Owner.DisplayName},res:re.res});case 7:case"end":return fe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.putBucketLogging=function(){var a=(0,ue.default)(te.default.mark(function x(b,z,ee){var re,se,fe;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return re=this._bucketRequestParams("PUT",b,"logging",ee),se=`<?xml version="1.0" encoding="UTF-8"?>
|
|
<BucketLoggingStatus>
|
|
<LoggingEnabled>
|
|
<TargetBucket>`.concat(b,`</TargetBucket>
|
|
`),z&&(se+="<TargetPrefix>".concat(z,`</TargetPrefix>
|
|
`)),se+=`</LoggingEnabled>
|
|
</BucketLoggingStatus>`,re.content=se,re.mime="xml",re.successStatuses=[200],ge.next=9,this.request(re);case 9:return fe=ge.sent,ge.abrupt("return",{res:fe.res});case 11:case"end":return ge.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),ae.getBucketLogging=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re,se;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ee=this._bucketRequestParams("GET",b,"logging",z),ee.successStatuses=[200],ee.xmlResponse=!0,ve.next=5,this.request(ee);case 5:return re=ve.sent,se=re.data.LoggingEnabled,ve.abrupt("return",{enable:!!se,prefix:se&&se.TargetPrefix||null,res:re.res});case 8:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketLogging=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"logging",z),ee.successStatuses=[204,200],fe.next=4,this.request(ee);case 4:return re=fe.sent,fe.abrupt("return",{res:re.res});case 6:case"end":return fe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.putBucketCORS=function(){var a=(0,ue.default)(te.default.mark(function x(b,z,ee){var re,se,fe,ve,ge,he,pe,Se,be,je;return te.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:for(z=z||[],de(z.length,"rules is required"),z.forEach(function(Ae){de(Ae.allowedOrigin,"allowedOrigin is required"),de(Ae.allowedMethod,"allowedMethod is required")}),re=this._bucketRequestParams("PUT",b,"cors",ee),se=`<?xml version="1.0" encoding="UTF-8"?>
|
|
<CORSConfiguration>`,fe=function(Fe){se+="<AllowedOrigin>".concat(Fe,"</AllowedOrigin>")},ve=function(Fe){se+="<AllowedMethod>".concat(Fe,"</AllowedMethod>")},ge=function(Fe){se+="<AllowedHeader>".concat(Fe,"</AllowedHeader>")},he=function(Fe){se+="<ExposeHeader>".concat(Fe,"</ExposeHeader>")},pe=0,Se=z.length;pe<Se;pe++)be=z[pe],se+="<CORSRule>",ne(be.allowedOrigin).forEach(fe),ne(be.allowedMethod).forEach(ve),ne(be.allowedHeader).forEach(ge),ne(be.exposeHeader).forEach(he),be.maxAgeSeconds&&(se+="<MaxAgeSeconds>".concat(be.maxAgeSeconds,"</MaxAgeSeconds>")),se+="</CORSRule>";return se+="</CORSConfiguration>",re.content=se,re.mime="xml",re.successStatuses=[200],Oe.next=16,this.request(re);case 16:return je=Oe.sent,Oe.abrupt("return",{res:je.res});case 18:case"end":return Oe.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),ae.getBucketCORS=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re,se,fe;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ee=this._bucketRequestParams("GET",b,"cors",z),ee.successStatuses=[200],ee.xmlResponse=!0,ge.next=5,this.request(ee);case 5:return re=ge.sent,se=[],re.data&&re.data.CORSRule&&(fe=re.data.CORSRule,ie(fe)||(fe=[fe]),fe.forEach(function(he){var pe={};Object.keys(he).forEach(function(Se){pe[Se.slice(0,1).toLowerCase()+Se.slice(1,Se.length)]=he[Se]}),se.push(pe)})),ge.abrupt("return",{rules:se,res:re.res});case 9:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketCORS=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"cors",z),ee.successStatuses=[204],fe.next=4,this.request(ee);case 4:return re=fe.sent,fe.abrupt("return",{res:re.res});case 6:case"end":return fe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.putBucketReferer=function(){var a=(0,ue.default)(te.default.mark(function x(b,z,ee,re){var se,fe,ve,ge;return te.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(se=this._bucketRequestParams("PUT",b,"referer",re),fe=`<?xml version="1.0" encoding="UTF-8"?>
|
|
<RefererConfiguration>
|
|
`,fe+=" <AllowEmptyReferer>".concat(z?"true":"false",`</AllowEmptyReferer>
|
|
`),ee&&ee.length>0){for(fe+=` <RefererList>
|
|
`,ve=0;ve<ee.length;ve++)fe+=" <Referer>".concat(ee[ve],`</Referer>
|
|
`);fe+=` </RefererList>
|
|
`}else fe+=` <RefererList />
|
|
`;return fe+="</RefererConfiguration>",se.content=fe,se.mime="xml",se.successStatuses=[200],pe.next=10,this.request(se);case 10:return ge=pe.sent,pe.abrupt("return",{res:ge.res});case 12:case"end":return pe.stop()}},x,this)}));function y(x,b,z,ee){return a.apply(this,arguments)}return y}(),ae.getBucketReferer=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re,se;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ee=this._bucketRequestParams("GET",b,"referer",z),ee.successStatuses=[200],ee.xmlResponse=!0,ve.next=5,this.request(ee);case 5:return re=ve.sent,se=re.data.RefererList.Referer||null,se&&(ie(se)||(se=[se])),ve.abrupt("return",{allowEmpty:re.data.AllowEmptyReferer==="true",referers:se,res:re.res});case 9:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketReferer=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return re.next=2,this.putBucketReferer(b,!0,null,z);case 2:return re.abrupt("return",re.sent);case 3:case"end":return re.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae._bucketRequestParams=function(y,x,b,z){return{method:y,bucket:x,subres:b,timeout:z&&z.timeout,ctx:z&&z.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,ye,me){(function(oe,te){(function(){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),de=ue(E("@babel/runtime/regenerator")),le=ue(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 ce=E("debug")("ali-oss"),ae=E("xml2js"),ie=E("agentkeepalive"),ne=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),z=E("bowser"),ee=E("../common/signUtils"),re=E("../common/client/initOptions"),se=E("../common/utils/createRequest"),fe=se.createRequest,ve=E("../common/utils/encoder"),ge=ve.encoder,he=E("../common/client/getReqUrl"),pe=he.getReqUrl,Se=E("../common/utils/setSTSToken"),be=Se.setSTSToken,je=E("../common/utils/retry"),we=je.retry,Oe=E("../common/utils/isFunction"),Ae=Oe.isFunction,Fe=new ie;function ke(){var Xe=a.name,$e=a.version;Xe&&Xe.toLowerCase&&Xe.toLowerCase()==="ie"&&$e.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function Ve(){return location&&location.protocol==="https:"}function De(Xe,$e){if(ke(),!(this instanceof De))return new De(Xe,$e);Xe&&Xe.inited?this.options=Xe:this.options=De.initOptions(Xe),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||Fe),this.ctx=$e,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}ye.exports=De,De.initOptions=function($e){$e.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var Ue=Object.assign({secure:Ve(),useFetch:!1},$e);return re(Ue)};var ut=De.prototype;ut.debug=ce,ne(ut,E("./object")),ne(ut,E("./bucket")),ne(ut,E("../common/bucket/getBucketWebsite")),ne(ut,E("../common/bucket/putBucketWebsite")),ne(ut,E("../common/bucket/deleteBucketWebsite")),ne(ut,E("../common/bucket/getBucketLifecycle")),ne(ut,E("../common/bucket/putBucketLifecycle")),ne(ut,E("../common/bucket/deleteBucketLifecycle")),ne(ut,E("../common/bucket/putBucketVersioning")),ne(ut,E("../common/bucket/getBucketVersioning")),ne(ut,E("../common/bucket/getBucketInventory")),ne(ut,E("../common/bucket/deleteBucketInventory")),ne(ut,E("../common/bucket/listBucketInventory")),ne(ut,E("../common/bucket/putBucketInventory")),ne(ut,E("../common/bucket/abortBucketWorm")),ne(ut,E("../common/bucket/completeBucketWorm")),ne(ut,E("../common/bucket/extendBucketWorm")),ne(ut,E("../common/bucket/getBucketWorm")),ne(ut,E("../common/bucket/initiateBucketWorm")),ne(ut,E("./managed-upload")),ne(ut,E("../common/multipart-copy")),ne(ut,E("../common/multipart")),ne(ut,E("../common/parallel")),ut.signature=function($e){return this.debug("authorization stringToSign: %s",$e,"info"),ee.computeSignature(this.options.accessKeySecret,$e,this.options.headerEncoding)},ut._getReqUrl=pe,ut.authorization=function($e,Ue,Be,tt){var Je=ee.buildCanonicalString($e.toUpperCase(),Ue,{headers:tt,parameters:Be});return ee.authorization(this.options.accessKeyId,this.options.accessKeySecret,Je,this.options.headerEncoding)},ut.request=function(){var Xe=(0,le.default)(de.default.mark(function $e(Ue){var Be=this;return de.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(!this.options.retryMax){Je.next=6;break}return Je.next=3,we(nt.bind(this),this.options.retryMax,{errorHandler:function(Ze){var Ge=function(Ke){if(Ue.stream)return!1;var Ee=[-1,-2].includes(Ke.status),Re=Be.options.requestErrorRetryHandle||function(){return!0};return Ee&&Re(Ke)};return!!Ge(Ze)}})(Ue);case 3:return Je.abrupt("return",Je.sent);case 6:return Je.abrupt("return",nt.call(this,Ue));case 7:case"end":return Je.stop()}},$e,this)}));return function($e){return Xe.apply(this,arguments)}}();function nt(Xe){return qe.apply(this,arguments)}function qe(){return qe=(0,le.default)(de.default.mark(function Xe($e){var Ue,Be,tt,Je,ft,Ze;return de.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(!(this.options.stsToken&&Ae(this.options.refreshSTSToken))){Le.next=3;break}return Le.next=3,be.call(this);case 3:return Ue=fe.call(this,$e),this.options.useFetch||(Ue.params.mode="disable-fetch"),Je=!!$e.stream,Le.prev=6,Le.next=9,this.urllib.request(Ue.url,Ue.params);case 9:Be=Le.sent,this.debug("response %s %s, got %s, headers: %j",$e.method,Ue.url,Be.status,Be.headers,"info"),Le.next=16;break;case 13:Le.prev=13,Le.t0=Le.catch(6),tt=Le.t0;case 16:if(!(Be&&$e.successStatuses&&$e.successStatuses.indexOf(Be.status)===-1)){Le.next=28;break}return Le.next=19,this.requestError(Be);case 19:if(ft=Le.sent,!(ft.code==="RequestTimeTooSkewed"&&!Je)){Le.next=25;break}return this.options.amendTimeSkewed=+new Date(ft.serverTime)-new Date,Le.next=24,this.request($e);case 24:return Le.abrupt("return",Le.sent);case 25:ft.params=$e,Le.next=32;break;case 28:if(!tt){Le.next=32;break}return Le.next=31,this.requestError(tt);case 31:ft=Le.sent;case 32:if(!ft){Le.next=34;break}throw ft;case 34:if(!$e.xmlResponse){Le.next=39;break}return Le.next=37,this.parseXML(Be.data);case 37:Ze=Le.sent,Be.data=Ze;case 39:return Le.abrupt("return",Be);case 40:case"end":return Le.stop()}},Xe,this,[[6,13]])})),qe.apply(this,arguments)}ut._getResource=function($e){var Ue="/";return $e.bucket&&(Ue+="".concat($e.bucket,"/")),$e.object&&(Ue+=ge($e.object,this.options.headerEncoding)),Ue},ut._escape=function($e){return y.encodeURIComponent($e).replace(/%2F/g,"/")},ut._getUserAgent=function(){var $e=te&&te.browser?"js":"nodejs",Ue="aliyun-sdk-".concat($e,"/").concat(b.version),Be=a.description;return!Be&&te&&(Be="Node.js ".concat(te.version.slice(1)," on ").concat(te.platform," ").concat(te.arch)),this._checkUserAgent("".concat(Ue," ").concat(Be))},ut._checkUserAgent=function($e){var Ue=$e.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return Ue},ut.checkBrowserAndVersion=function($e,Ue){return z.name===$e&&z.version.split(".")[0]===Ue},ut.parseXML=function($e){return new Promise(function(Ue,Be){oe.isBuffer($e)&&($e=$e.toString()),ae.parseString($e,{explicitRoot:!1,explicitArray:!1},function(tt,Je){tt?Be(tt):Ue(Je)})})},ut.requestError=function(){var Xe=(0,le.default)(de.default.mark(function Ue(Be){var tt,Je,ft,Ze;return de.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(tt=null,!(!Be.data||!Be.data.length)){Le.next=5;break}Be.status===-1||Be.status===-2?(tt=new Error(Be.message),tt.name=Be.name,tt.status=Be.status,tt.code=Be.name):(Be.status===404?(tt=new Error("Object not exists"),tt.name="NoSuchKeyError",tt.status=404,tt.code="NoSuchKey"):Be.status===412?(tt=new Error("Pre condition failed"),tt.name="PreconditionFailedError",tt.status=412,tt.code="PreconditionFailed"):(tt=new Error("Unknow error, status: ".concat(Be.status)),tt.name="UnknownError",tt.status=Be.status),tt.requestId=Be.headers["x-oss-request-id"],tt.host=""),Le.next=32;break;case 5:return Je=String(Be.data),this.debug("request response error data: %s",Je,"error"),Le.prev=7,Le.next=10,this.parseXML(Je);case 10:if(Le.t0=Le.sent,Le.t0){Le.next=13;break}Le.t0={};case 13:ft=Le.t0,Le.next=23;break;case 16:return Le.prev=16,Le.t1=Le.catch(7),this.debug(Je,"error"),Le.t1.message+=`
|
|
raw xml: `.concat(Je),Le.t1.status=Be.status,Le.t1.requestId=Be.headers["x-oss-request-id"],Le.abrupt("return",Le.t1);case 23:Ze=ft.Message||"unknow request error, status: ".concat(Be.status),ft.Condition&&(Ze+=" (condition: ".concat(ft.Condition,")")),tt=new Error(Ze),tt.name=ft.Code?"".concat(ft.Code,"Error"):"UnknownError",tt.status=Be.status,tt.code=ft.Code,tt.requestId=ft.RequestId,tt.hostId=ft.HostId,tt.serverTime=ft.ServerTime;case 32:return this.debug("generate error %j",tt,"error"),Le.abrupt("return",tt);case 34:case"end":return Le.stop()}},Ue,this,[[7,16]])}));function $e(Ue){return Xe.apply(this,arguments)}return $e}()}).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,ye,me){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),ue=te(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 de=te(E("@babel/runtime/helpers/asyncToGenerator")),le=E("util"),ce=E("path"),ae=E("mime"),ie=E("copy-to"),ne=E("../common/utils/isBlob"),a=ne.isBlob,y=E("../common/utils/isFile"),x=y.isFile,b=E("../common/utils/isBuffer"),z=b.isBuffer,ee=me;ee.multipartUpload=function(){var ge=(0,de.default)(ue.default.mark(function pe(Se,be){var je,we,Oe,Ae,Fe,ke,Ve,De,ut,nt=arguments;return ue.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(je=nt.length>2&&nt[2]!==void 0?nt[2]:{},this.resetCancelFlag(),je.disabledMD5=je.disabledMD5===void 0?!0:!!je.disabledMD5,!(je.checkpoint&&je.checkpoint.uploadId)){Xe.next=8;break}return be&&x(be)&&(je.checkpoint.file=be),Xe.next=7,this._resumeMultipart(je.checkpoint,je);case 7:return Xe.abrupt("return",Xe.sent);case 8:return we=102400,je.mime||(x(be)?je.mime=ae.getType(ce.extname(be.name)):a(be)?je.mime=be.type:z(be)?je.mime="":je.mime=ae.getType(ce.extname(be))),je.headers=je.headers||{},this._convertMetaToHeaders(je.meta,je.headers),Xe.next=14,this._getFileSize(be);case 14:if(Oe=Xe.sent,!(Oe<we)){Xe.next=26;break}return je.contentLength=Oe,Xe.next=19,this.put(Se,be,je);case 19:if(Ae=Xe.sent,!(je&&je.progress)){Xe.next=23;break}return Xe.next=23,je.progress(1);case 23:return Fe={res:Ae.res,bucket:this.options.bucket,name:Se,etag:Ae.res.headers.etag},(je.headers&&je.headers["x-oss-callback"]||je.callback)&&(Fe.data=Ae.data),Xe.abrupt("return",Fe);case 26:if(!(je.partSize&&parseInt(je.partSize,10)!==je.partSize)){Xe.next=28;break}throw new Error("partSize must be int number");case 28:if(!(je.partSize&&je.partSize<we)){Xe.next=30;break}throw new Error("partSize must not be smaller than ".concat(we));case 30:return Xe.next=32,this.initMultipartUpload(Se,je);case 32:if(ke=Xe.sent,Ve=ke.uploadId,De=this._getPartSize(Oe,je.partSize),ut={file:be,name:Se,fileSize:Oe,partSize:De,uploadId:Ve,doneParts:[]},!(je&&je.progress)){Xe.next=39;break}return Xe.next=39,je.progress(0,ut,ke.res);case 39:return Xe.next=41,this._resumeMultipart(ut,je);case 41:return Xe.abrupt("return",Xe.sent);case 42:case"end":return Xe.stop()}},pe,this)}));function he(pe,Se){return ge.apply(this,arguments)}return he}(),ee._resumeMultipart=function(){var ge=(0,de.default)(ue.default.mark(function pe(Se,be){var je,we,Oe,Ae,Fe,ke,Ve,De,ut,nt,qe,Xe,$e,Ue,Be,tt,Je,ft,Ze;return ue.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(je=this,!this.isCancel()){Le.next=3;break}throw this._makeCancelEvent();case 3:return we=Se.file,Oe=Se.fileSize,Ae=Se.partSize,Fe=Se.uploadId,ke=Se.doneParts,Ve=Se.name,De=[],ke.length>0&&ie(ke).to(De),ut=this._divideParts(Oe,Ae),nt=ut.length,qe=!1,Xe=function(Ee,Re){return new Promise(function(){var Qe=(0,de.default)(ue.default.mark(function Ye(We,Ce){var xe,Ne,ze,it,St;return ue.default.wrap(function(bt){for(;;)switch(bt.prev=bt.next){case 0:if(bt.prev=0,Ee.isCancel()){bt.next=29;break}return xe=ut[Re-1],bt.next=5,Ee._createBuffer(we,xe.start,xe.end);case 5:return Ne=bt.sent,ze={content:Ne,size:xe.end-xe.start},bt.prev=7,bt.next=10,Ee._uploadPart(Ve,Fe,Re,ze,be);case 10:it=bt.sent,bt.next=18;break;case 13:if(bt.prev=13,bt.t0=bt.catch(7),bt.t0.status!==404){bt.next=17;break}throw Ee._makeAbortEvent();case 17:throw bt.t0;case 18:if(!(!Ee.isCancel()&&!qe)){bt.next=26;break}if(Se.doneParts.push({number:Re,etag:it.res.headers.etag}),!be.progress){bt.next=23;break}return bt.next=23,be.progress(ke.length/(nt+1),Se,it.res);case 23:We({number:Re,etag:it.res.headers.etag}),bt.next=27;break;case 26:We();case 27:bt.next=30;break;case 29:We();case 30:bt.next=41;break;case 32:bt.prev=32,bt.t1=bt.catch(0),St=new Error,St.name=bt.t1.name,St.message=bt.t1.message,St.stack=bt.t1.stack,St.partNum=Re,ie(bt.t1).to(St),Ce(St);case 41:case"end":return bt.stop()}},Ye,null,[[0,32],[7,13]])}));return function(Ye,We){return Qe.apply(this,arguments)}}())},$e=Array.from(new Array(nt),function(Ke,Ee){return Ee+1}),Ue=De.map(function(Ke){return Ke.number}),Be=$e.filter(function(Ke){return Ue.indexOf(Ke)<0}),tt=5,Je=be.parallel||tt,Le.next=17,this._parallel(Be,Je,function(Ke){return new Promise(function(Ee,Re){Xe(je,Ke).then(function(Qe){Qe&&De.push(Qe),Ee()}).catch(function(Qe){Re(Qe)})})});case 17:if(ft=Le.sent,qe=!0,Ze=ft.find(function(Ke){return Ke.name==="abort"}),!Ze){Le.next=22;break}throw Ze;case 22:if(!this.isCancel()){Le.next=25;break}throw Xe=null,this._makeCancelEvent();case 25:if(!(ft&&ft.length>0)){Le.next=28;break}throw ft[0].message="Failed to upload some parts with error: ".concat(ft[0].toString()," part_num: ").concat(ft[0].partNum),ft[0];case 28:return Le.next=30,this.completeMultipartUpload(Ve,Fe,De,be);case 30:return Le.abrupt("return",Le.sent);case 31:case"end":return Le.stop()}},pe,this)}));function he(pe,Se){return ge.apply(this,arguments)}return he}(),ee._getFileSize=function(){var ge=(0,de.default)(ue.default.mark(function pe(Se){return ue.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(!z(Se)){je.next=4;break}return je.abrupt("return",Se.length);case 4:if(!(a(Se)||x(Se))){je.next=6;break}return je.abrupt("return",Se.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return je.stop()}},pe)}));function he(pe){return ge.apply(this,arguments)}return he}();var re=E("stream"),se=re.Readable;function fe(ge,he){if(!(this instanceof fe))return new fe(ge,he);se.call(this,he),this.file=ge,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}le.inherits(fe,se),fe.prototype.readFileAndPush=function(he){if(this.fileBuffer)for(var pe=!0;pe&&this.fileBuffer&&this.start<this.fileBuffer.length;){var Se=this.start,be=Se+he;be=be>this.fileBuffer.length?this.fileBuffer.length:be,this.start=be,pe=this.push(this.fileBuffer.slice(Se,be))}},fe.prototype._read=function(he){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 pe=16*1024;he=he||pe;var Se=this;this.reader.onload=function(je){Se.fileBuffer=oe.from(new Uint8Array(je.target.result)),Se.file=null,Se.readFileAndPush(he)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(he)};function ve(ge){return ge.arrayBuffer?ge.arrayBuffer():new Promise(function(he,pe){var Se=new FileReader;Se.onload=function(be){he(be.target.result)},Se.onerror=function(be){pe(be)},Se.readAsArrayBuffer(ge)})}ee._createBuffer=function(){var ge=(0,de.default)(ue.default.mark(function pe(Se,be,je){var we,Oe;return ue.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:if(!(a(Se)||x(Se))){Fe.next=8;break}return we=Se.slice(be,je),Fe.next=4,ve(we);case 4:return Oe=Fe.sent,Fe.abrupt("return",oe.from(Oe));case 8:if(!z(Se)){Fe.next=12;break}return Fe.abrupt("return",Se.subarray(be,je));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Fe.stop()}},pe)}));function he(pe,Se,be){return ge.apply(this,arguments)}return he}(),ee._getPartSize=function(he,pe){var Se=1e4,be=1*1024*1024;pe||(pe=be);var je=Math.ceil(he/Se);return pe<je&&(pe=je,console.warn("partSize has been set to ".concat(pe,", because the partSize you provided causes partNumber to be greater than 10,000"))),pe},ee._divideParts=function(he,pe){for(var Se=Math.ceil(he/pe),be=[],je=0;je<Se;je++){var we=pe*je,Oe=Math.min(we+pe,he);be.push({start:we,end:Oe})}return be}}).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,ye,me){"use strict";var oe=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 te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("fs"),le=E("copy-to"),ce=E("path"),ae=E("mime"),ie=E("../common/callback"),ne=E("merge-descriptors"),a=E("../common/utils/isBlob"),y=a.isBlob,x=E("../common/utils/isFile"),b=x.isFile,z=E("../common/utils/isBuffer"),ee=z.isBuffer,re=E("../common/utils/obj2xml"),se=re.obj2xml,fe=me;fe.append=function(){var ve=(0,ue.default)(te.default.mark(function he(pe,Se,be){var je;return te.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return be=be||{},be.position===void 0&&(be.position="0"),be.subres={append:"",position:be.position},be.method="POST",Oe.next=6,this.put(pe,Se,be);case 6:return je=Oe.sent,je.nextAppendPosition=je.res.headers["x-oss-next-append-position"],Oe.abrupt("return",je);case 9:case"end":return Oe.stop()}},he,this)}));function ge(he,pe,Se){return ve.apply(this,arguments)}return ge}(),fe.put=function(){var ve=(0,ue.default)(te.default.mark(function he(pe,Se,be){var je,we,Oe,Ae,Fe;return te.default.wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:if(be=be||{},be.disabledMD5=be.disabledMD5===void 0?!0:!!be.disabledMD5,be.headers=be.headers||{},pe=this._objectName(pe),!ee(Se)){Ve.next=8;break}je=Se,Ve.next=19;break;case 8:if(!(y(Se)||b(Se))){Ve.next=18;break}return be.mime||(b(Se)?be.mime=ae.getType(ce.extname(Se.name)):be.mime=Se.type),Ve.next=12,this._createBuffer(Se,0,Se.size);case 12:return je=Ve.sent,Ve.next=15,this._getFileSize(Se);case 15:be.contentLength=Ve.sent,Ve.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(be.meta,be.headers),we=be.method||"PUT",Oe=this._objectRequestParams(we,pe,be),ie.encodeCallback(Oe,be),Oe.mime=be.mime,Oe.disabledMD5=be.disabledMD5,Oe.content=je,Oe.successStatuses=[200],Ve.next=29,this.request(Oe);case 29:return Ae=Ve.sent,Fe={name:pe,url:this._objectUrl(pe),res:Ae.res},Oe.headers&&Oe.headers["x-oss-callback"]&&(Fe.data=JSON.parse(Ae.data.toString())),Ve.abrupt("return",Fe);case 33:case"end":return Ve.stop()}},he,this)}));function ge(he,pe,Se){return ve.apply(this,arguments)}return ge}(),fe.putStream=function(){var ve=(0,ue.default)(te.default.mark(function he(pe,Se,be){var je,we,Oe,Ae;return te.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return be=be||{},be.headers=be.headers||{},pe=this._objectName(pe),be.contentLength?be.headers["Content-Length"]=be.contentLength:be.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(be.meta,be.headers),je=be.method||"PUT",we=this._objectRequestParams(je,pe,be),ie.encodeCallback(we,be),we.mime=be.mime,we.stream=Se,we.successStatuses=[200],ke.next=13,this.request(we);case 13:return Oe=ke.sent,Ae={name:pe,url:this._objectUrl(pe),res:Oe.res},we.headers&&we.headers["x-oss-callback"]&&(Ae.data=JSON.parse(Oe.data.toString())),ke.abrupt("return",Ae);case 17:case"end":return ke.stop()}},he,this)}));function ge(he,pe,Se){return ve.apply(this,arguments)}return ge}(),ne(fe,E("../common/object/copyObject")),ne(fe,E("../common/object/getObjectTagging")),ne(fe,E("../common/object/putObjectTagging")),ne(fe,E("../common/object/deleteObjectTagging")),ne(fe,E("../common/image")),ne(fe,E("../common/object/getBucketVersions")),ne(fe,E("../common/object/getACL")),ne(fe,E("../common/object/putACL")),ne(fe,E("../common/object/head")),ne(fe,E("../common/object/delete")),ne(fe,E("../common/object/get")),ne(fe,E("../common/object/putSymlink")),ne(fe,E("../common/object/getSymlink")),ne(fe,E("../common/object/deleteMulti")),ne(fe,E("../common/object/getObjectMeta")),ne(fe,E("../common/object/getObjectUrl")),ne(fe,E("../common/object/generateObjectUrl")),ne(fe,E("../common/object/signatureUrl")),ne(fe,E("../common/object/asyncSignatureUrl")),fe.putMeta=function(){var ve=(0,ue.default)(te.default.mark(function he(pe,Se,be){var je;return te.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.next=2,this.copy(pe,pe,{meta:Se||{},timeout:be&&be.timeout,ctx:be&&be.ctx});case 2:return je=Oe.sent,Oe.abrupt("return",je);case 4:case"end":return Oe.stop()}},he,this)}));function ge(he,pe,Se){return ve.apply(this,arguments)}return ge}(),fe.list=function(){var ve=(0,ue.default)(te.default.mark(function he(pe,Se){var be,je,we,Oe,Ae;return te.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return be=this._objectRequestParams("GET","",Se),be.query=pe,be.xmlResponse=!0,be.successStatuses=[200],ke.next=6,this.request(be);case 6:return je=ke.sent,we=je.data.Contents||[],Oe=this,we&&(Array.isArray(we)||(we=[we]),we=we.map(function(Ve){return{name:Ve.Key,url:Oe._objectUrl(Ve.Key),lastModified:Ve.LastModified,etag:Ve.ETag,type:Ve.Type,size:Number(Ve.Size),storageClass:Ve.StorageClass,owner:{id:Ve.Owner.ID,displayName:Ve.Owner.DisplayName}}})),Ae=je.data.CommonPrefixes||null,Ae&&(Array.isArray(Ae)||(Ae=[Ae]),Ae=Ae.map(function(Ve){return Ve.Prefix})),ke.abrupt("return",{res:je.res,objects:we,prefixes:Ae,nextMarker:je.data.NextMarker||null,isTruncated:je.data.IsTruncated==="true"});case 13:case"end":return ke.stop()}},he,this)}));function ge(he,pe){return ve.apply(this,arguments)}return ge}(),fe.listV2=function(){var ve=(0,ue.default)(te.default.mark(function he(pe){var Se,be,je,we,Oe,Ae,Fe,ke=arguments;return te.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return Se=ke.length>1&&ke[1]!==void 0?ke[1]:{},be=pe["continuation-token"]||pe.continuationToken,be&&(Se.subres=Object.assign({"continuation-token":be},Se.subres)),je=this._objectRequestParams("GET","",Se),je.query=Object.assign({"list-type":2},pe),delete je.query["continuation-token"],delete je.query.continuationToken,je.xmlResponse=!0,je.successStatuses=[200],De.next=11,this.request(je);case 11:return we=De.sent,Oe=we.data.Contents||[],Ae=this,Oe&&(Array.isArray(Oe)||(Oe=[Oe]),Oe=Oe.map(function(ut){var nt=null;return ut.Owner&&(nt={id:ut.Owner.ID,displayName:ut.Owner.DisplayName}),{name:ut.Key,url:Ae._objectUrl(ut.Key),lastModified:ut.LastModified,etag:ut.ETag,type:ut.Type,size:Number(ut.Size),storageClass:ut.StorageClass,owner:nt}})),Fe=we.data.CommonPrefixes||null,Fe&&(Array.isArray(Fe)||(Fe=[Fe]),Fe=Fe.map(function(ut){return ut.Prefix})),De.abrupt("return",{res:we.res,objects:Oe,prefixes:Fe,isTruncated:we.data.IsTruncated==="true",keyCount:+we.data.KeyCount,continuationToken:we.data.ContinuationToken||null,nextContinuationToken:we.data.NextContinuationToken||null});case 18:case"end":return De.stop()}},he,this)}));function ge(he){return ve.apply(this,arguments)}return ge}(),fe.restore=function(){var ve=(0,ue.default)(te.default.mark(function he(pe){var Se,be,je,we,Oe=arguments;return te.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return Se=Oe.length>1&&Oe[1]!==void 0?Oe[1]:{type:"Archive"},Se=Se||{},Se.subres=Object.assign({restore:""},Se.subres),Se.versionId&&(Se.subres.versionId=Se.versionId),be=this._objectRequestParams("POST",pe,Se),Se.type==="ColdArchive"&&(je={RestoreRequest:{Days:Se.Days?Se.Days:2,JobParameters:{Tier:Se.JobParameters?Se.JobParameters:"Standard"}}},be.content=se(je,{headers:!0}),be.mime="xml"),be.successStatuses=[202],Fe.next=9,this.request(be);case 9:return we=Fe.sent,Fe.abrupt("return",{res:we.res});case 11:case"end":return Fe.stop()}},he,this)}));function ge(he){return ve.apply(this,arguments)}return ge}(),fe._objectUrl=function(ge){return this._getReqUrl({bucket:this.options.bucket,object:ge})},fe._objectRequestParams=function(ge,he,pe){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");pe=pe||{},he=this._objectName(he);var Se={object:he,bucket:this.options.bucket,method:ge,subres:pe&&pe.subres,timeout:pe&&pe.timeout,ctx:pe&&pe.ctx};return pe.headers&&(Se.headers={},le(pe.headers).to(Se.headers)),Se},fe._objectName=function(ge){return ge.replace(/^\/+/,"")},fe._convertMetaToHeaders=function(ge,he){ge&&Object.keys(ge).forEach(function(pe){he["x-oss-meta-".concat(pe)]=ge[pe]})},fe._deleteFileSafe=function(ge){var he=this;return new Promise(function(pe){de.exists(ge,function(Se){Se?de.unlink(ge,function(be){be&&he.debug("unlink %j error: %s",ge,be,"error"),pe()}):pe()})})}},{"../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,ye,me){"use strict";me.version="6.18.1"},{}],7:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.abortBucketWorm=void 0;var de=E("../utils/checkBucketName");function le(ae,ie){return ce.apply(this,arguments)}function ce(){return ce=(0,ue.default)(te.default.mark(function ae(ie,ne){var a,y;return te.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return de.checkBucketName(ie),a=this._bucketRequestParams("DELETE",ie,"worm",ne),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()}},ae,this)})),ce.apply(this,arguments)}me.abortBucketWorm=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.completeBucketWorm=void 0;var de=E("../utils/checkBucketName");function le(ae,ie,ne){return ce.apply(this,arguments)}function ce(){return ce=(0,ue.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return de.checkBucketName(ie),y=this._bucketRequestParams("POST",ie,{wormId:ne},a),z.next=4,this.request(y);case 4:return x=z.sent,z.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return z.stop()}},ae,this)})),ce.apply(this,arguments)}me.completeBucketWorm=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.deleteBucketInventory=void 0;var de=E("../utils/checkBucketName");function le(ae,ie){return ce.apply(this,arguments)}function ce(){return ce=(0,ue.default)(te.default.mark(function ae(ie,ne){var a,y,x,b,z=arguments;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return a=z.length>2&&z[2]!==void 0?z[2]:{},y=Object.assign({inventory:"",inventoryId:ne},a.subres),de.checkBucketName(ie),x=this._bucketRequestParams("DELETE",ie,y,a),x.successStatuses=[204],re.next=7,this.request(x);case 7:return b=re.sent,re.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return re.stop()}},ae,this)})),ce.apply(this,arguments)}me.deleteBucketInventory=le},{"../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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ce=me;ce.deleteBucketLifecycle=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y){var x,b;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le(a),x=this._bucketRequestParams("DELETE",a,"lifecycle",y),x.successStatuses=[204],ee.next=5,this.request(x);case 5:return b=ee.sent,ee.abrupt("return",{res:b.res});case 7:case"end":return ee.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ce=me;ce.deleteBucketWebsite=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y){var x,b;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le(a),x=this._bucketRequestParams("DELETE",a,"website",y),x.successStatuses=[204],ee.next=5,this.request(x);case 5:return b=ee.sent,ee.abrupt("return",{res:b.res});case 7:case"end":return ee.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.extendBucketWorm=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/obj2xml");function ce(ie,ne,a,y){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a,y,x){var b,z,ee;return te.default.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return de.checkBucketName(ne),b=this._bucketRequestParams("POST",ne,{wormExtend:"",wormId:a},x),z={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=le.obj2xml(z,{headers:!0}),b.successStatuses=[200],se.next=8,this.request(b);case 8:return ee=se.sent,se.abrupt("return",{res:ee.res,status:ee.status});case 10:case"end":return se.stop()}},ie,this)})),ae.apply(this,arguments)}me.extendBucketWorm=ce},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.getBucketInventory=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/formatInventoryConfig");function ce(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a){var y,x,b,z,ee=arguments;return te.default.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return y=ee.length>2&&ee[2]!==void 0?ee[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),de.checkBucketName(ne),b=this._bucketRequestParams("GET",ne,x,y),b.successStatuses=[200],b.xmlResponse=!0,se.next=8,this.request(b);case 8:return z=se.sent,se.abrupt("return",{status:z.status,res:z.res,inventory:le.formatInventoryConfig(z.data)});case 10:case"end":return se.stop()}},ie,this)})),ae.apply(this,arguments)}me.getBucketInventory=ce},{"../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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ce=E("../utils/isArray"),ae=ce.isArray,ie=E("../utils/formatObjKey"),ne=ie.formatObjKey,a=me;a.getBucketLifecycle=function(){var y=(0,ue.default)(te.default.mark(function b(z,ee){var re,se,fe;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return le(z),re=this._bucketRequestParams("GET",z,"lifecycle",ee),re.successStatuses=[200],re.xmlResponse=!0,ge.next=6,this.request(re);case 6:return se=ge.sent,fe=se.data.Rule||null,fe&&(ae(fe)||(fe=[fe]),fe=fe.map(function(he){return he.ID&&(he.id=he.ID,delete he.ID),he.Tag&&!ae(he.Tag)&&(he.Tag=[he.Tag]),ne(he,"firstLowerCase")})),ge.abrupt("return",{rules:fe,res:se.res});case 10:case"end":return ge.stop()}},b,this)}));function x(b,z){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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ce=me;ce.getBucketVersioning=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y){var x,b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return le(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],re.next=6,this.request(x);case 6:return b=re.sent,z=b.data.Status,re.abrupt("return",{status:b.status,versionStatus:z,res:b.res});case 9:case"end":return re.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ce=E("../utils/isObject"),ae=ce.isObject,ie=me;ie.getBucketWebsite=function(){var ne=(0,ue.default)(te.default.mark(function y(x,b){var z,ee,re;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return le(x),z=this._bucketRequestParams("GET",x,"website",b),z.successStatuses=[200],z.xmlResponse=!0,fe.next=6,this.request(z);case 6:return ee=fe.sent,re=[],ee.data.RoutingRules&&ee.data.RoutingRules.RoutingRule&&(ae(ee.data.RoutingRules.RoutingRule)?re=[ee.data.RoutingRules.RoutingRule]:re=ee.data.RoutingRules.RoutingRule),fe.abrupt("return",{index:ee.data.IndexDocument&&ee.data.IndexDocument.Suffix||"",supportSubDir:ee.data.IndexDocument&&ee.data.IndexDocument.SupportSubDir||"false",type:ee.data.IndexDocument&&ee.data.IndexDocument.Type,routingRules:re,error:ee.data.ErrorDocument&&ee.data.ErrorDocument.Key||null,res:ee.res});case 10:case"end":return fe.stop()}},y,this)}));function a(y,x){return ne.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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.getBucketWorm=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/dataFix");function ce(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return de.checkBucketName(ne),y=this._bucketRequestParams("GET",ne,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,z.next=6,this.request(y);case 6:return x=z.sent,le.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),z.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return z.stop()}},ie,this)})),ae.apply(this,arguments)}me.getBucketWorm=ce},{"../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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.initiateBucketWorm=void 0;var de=E("../utils/obj2xml"),le=E("../utils/checkBucketName");function ce(ie,ne,a){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a,y){var x,b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return le.checkBucketName(ne),x=this._bucketRequestParams("POST",ne,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=de.obj2xml(b,{headers:!0}),x.successStatuses=[200],re.next=8,this.request(x);case 8:return z=re.sent,re.abrupt("return",{res:z.res,wormId:z.res.headers["x-oss-worm-id"],status:z.status});case 10:case"end":return re.stop()}},ie,this)})),ae.apply(this,arguments)}me.initiateBucketWorm=ce},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.listBucketInventory=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/formatInventoryConfig");function ce(ie){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne){var a,y,x,b,z,ee,re,se,fe=arguments;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return a=fe.length>1&&fe[1]!==void 0?fe[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),de.checkBucketName(ne),b=this._bucketRequestParams("GET",ne,x,a),b.successStatuses=[200],b.xmlResponse=!0,ge.next=9,this.request(b);case 9:return z=ge.sent,ee=z.data,re=z.res,se=z.status,ge.abrupt("return",{isTruncated:ee.IsTruncated==="true",nextContinuationToken:ee.NextContinuationToken,inventoryList:le.formatInventoryConfig(ee.InventoryConfiguration,!0),status:se,res:re});case 12:case"end":return ge.stop()}},ie,this)})),ae.apply(this,arguments)}me.listBucketInventory=ce},{"../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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.putBucketInventory=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/obj2xml");function ce(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a){var y,x,b,z,ee,re,se,fe,ve,ge,he,pe=arguments;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return y=pe.length>2&&pe[2]!==void 0?pe[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),de.checkBucketName(ne),b=a.OSSBucketDestination,z=a.optionalFields,ee=a.includedObjectVersions,re="acs:oss:::",se="acs:ram::".concat(b.accountId,":role/"),fe={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(se).concat(b.rolename),Bucket:"".concat(re).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:ee,OptionalFields:{Field:(z==null?void 0:z.field)||[]}}},ve=le.obj2xml(fe,{headers:!0,firstUpperCase:!0}),ge=this._bucketRequestParams("PUT",ne,x,y),ge.successStatuses=[200],ge.mime="xml",ge.content=ve,be.next=14,this.request(ge);case 14:return he=be.sent,be.abrupt("return",{status:he.status,res:he.res});case 16:case"end":return be.stop()}},ie,this)})),ae.apply(this,arguments)}me.putBucketInventory=ce},{"../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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ce=E("../utils/isArray"),ae=ce.isArray,ie=E("../utils/deepCopy"),ne=ie.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,z=E("../utils/checkObjectTag"),ee=z.checkObjectTag,re=E("../utils/getStrBytesCount"),se=re.getStrBytesCount,fe=me;fe.putBucketLifecycle=function(){var Se=(0,ue.default)(te.default.mark(function je(we,Oe,Ae){var Fe,ke,Ve,De,ut;return te.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(le(we),ae(Oe)){qe.next=3;break}throw new Error("rules must be Array");case 3:return Fe=this._bucketRequestParams("PUT",we,"lifecycle",Ae),ke=[],Ve={LifecycleConfiguration:{Rule:ke}},Oe.forEach(function(Xe){ve(Xe),pe(Xe),Xe.id&&(Xe.ID=Xe.id,delete Xe.id),ke.push(Xe)}),De=b(Ve,{headers:!0,firstUpperCase:!0}),Fe.content=De,Fe.mime="xml",Fe.successStatuses=[200],qe.next=13,this.request(Fe);case 13:return ut=qe.sent,qe.abrupt("return",{res:ut.res});case 15:case"end":return qe.stop()}},je,this)}));function be(je,we,Oe){return Se.apply(this,arguments)}return be}();function ve(Se){Se.days&&(Se.expiration={days:Se.days}),Se.date&&(Se.expiration={createdBeforeDate:Se.date})}function ge(Se,be){var je=Se.days,we=Se.createdBeforeDate;if(!je&&!we)throw new Error("".concat(be," must includes days or createdBeforeDate"));if(je&&!/^[1-9][0-9]*$/.test(je))throw new Error("days must be a positive integer");if(we&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(we))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function he(Se){if(!ae(Se)&&!y(Se))throw new Error("tag must be Object or Array");Se=y(Se)?[Se]:Se;var be={},je=ne(Se);je.forEach(function(we){be[we.key]=we.value}),ee(be)}function pe(Se){if(Se.id&&se(Se.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Se.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Se.status))throw new Error("Status must be Enabled or Disabled");if(Se.transition){if(!["IA","Archive"].includes(Se.transition.storageClass))throw new Error("StorageClass must be IA or Archive");ge(Se.transition,"Transition")}if(Se.expiration){if(!Se.expiration.expiredObjectDeleteMarker)ge(Se.expiration,"Expiration");else if(Se.expiration.days||Se.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Se.abortMultipartUpload&&ge(Se.abortMultipartUpload,"AbortMultipartUpload"),!Se.expiration&&!Se.abortMultipartUpload&&!Se.transition&&!Se.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Se.tag){if(Se.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");he(Se.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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ce=E("../utils/obj2xml"),ae=ce.obj2xml,ie=me;ie.putBucketVersioning=function(){var ne=(0,ue.default)(te.default.mark(function y(x,b){var z,ee,re,se,fe=arguments;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:if(z=fe.length>2&&fe[2]!==void 0?fe[2]:{},le(x),["Enabled","Suspended"].includes(b)){ge.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return ee=this._bucketRequestParams("PUT",x,"versioning",z),re={VersioningConfiguration:{Status:b}},ee.mime="xml",ee.content=ae(re,{headers:!0}),ge.next=10,this.request(ee);case 10:return se=ge.sent,ge.abrupt("return",{res:se.res,status:se.status});case 12:case"end":return ge.stop()}},y,this)}));function a(y,x){return ne.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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ce=E("../utils/obj2xml"),ae=ce.obj2xml,ie=E("../utils/isArray"),ne=ie.isArray,a=me;a.putBucketWebsite=function(){var y=(0,ue.default)(te.default.mark(function b(z){var ee,re,se,fe,ve,ge,he,pe=arguments;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:if(ee=pe.length>1&&pe[1]!==void 0?pe[1]:{},re=pe.length>2?pe[2]:void 0,le(z),se=this._bucketRequestParams("PUT",z,"website",re),fe={Suffix:ee.index||"index.html"},ve={IndexDocument:fe},ge={WebsiteConfiguration:ve},ee.supportSubDir&&(fe.SupportSubDir=ee.supportSubDir),ee.type&&(fe.Type=ee.type),ee.error&&(ve.ErrorDocument={Key:ee.error}),ee.routingRules===void 0){be.next=14;break}if(ne(ee.routingRules)){be.next=13;break}throw new Error("RoutingRules must be Array");case 13:ve.RoutingRules={RoutingRule:ee.routingRules};case 14:return ge=ae(ge),se.content=ge,se.mime="xml",se.successStatuses=[200],be.next=20,this.request(se);case 20:return he=be.sent,be.abrupt("return",{res:he.res});case 22:case"end":return be.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,ye,me){(function(oe){(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"),me.encodeCallback=function(ue,de){if(ue.headers=ue.headers||{},!Object.prototype.hasOwnProperty.call(ue.headers,"x-oss-callback")&&de.callback){var le={callbackUrl:encodeURI(de.callback.url),callbackBody:de.callback.body};de.callback.host&&(le.callbackHost=de.callback.host),de.callback.contentType&&(le.callbackBodyType=de.callback.contentType);var ce=oe.from(JSON.stringify(le)).toString("base64");if(ue.headers["x-oss-callback"]=ce,de.callback.customValue){var ae={};Object.keys(de.callback.customValue).forEach(function(ie){ae["x:".concat(ie)]=de.callback.customValue[ie].toString()}),ue.headers["x-oss-callback-var"]=oe.from(JSON.stringify(ae)).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,ye,me){"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 oe=function(ne){return ne&&ne.__esModule?ne:{default:ne}};Object.defineProperty(me,"__esModule",{value:!0}),me.getReqUrl=void 0;var te=oe(E("copy-to")),ue=oe(E("url")),de=oe(E("merge-descriptors")),le=oe(E("is-type-of")),ce=E("../utils/isIP"),ae=E("../utils/checkConfigValid");function ie(ne){var a={},y=this.options.cname;ae.checkConfigValid(this.options.endpoint,"endpoint"),te.default(this.options.endpoint,!1).to(a),ne.bucket&&!y&&!ce.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(ne.bucket,".").concat(a.host));var x="/";ne.bucket&&this.options.sldEnable&&(x+="".concat(ne.bucket,"/")),ne.object&&(x+=this._escape(ne.object).replace(/\+/g,"%2B")),a.pathname=x;var b={};if(ne.query&&de.default(b,ne.query),ne.subres){var z={};le.default.string(ne.subres)?z[ne.subres]="":le.default.array(ne.subres)?ne.subres.forEach(function(ee){z[ee]=""}):z=ne.subres,de.default(b,z)}return a.query=b,ue.default.format(a)}me.getReqUrl=ie},{"../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,ye,me){"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 oe=E("humanize-ms"),te=E("url"),ue=E("../utils/checkBucketName"),de=ue.checkBucketName,le=E("../utils/setRegion"),ce=le.setRegion,ae=E("../utils/checkConfigValid"),ie=ae.checkConfigValid;function ne(a,y){ie(a,"endpoint");var x=te.parse(a);if(x.protocol||(x=te.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}ye.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&&de(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=oe(y.timeout)),y.endpoint)y.endpoint=ne(y.endpoint,y.secure);else if(y.region)y.endpoint=ce(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,ye,me){"use strict";var oe=E("merge-descriptors"),te=me;oe(te,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ce=E("querystring"),ae=E("js-base64"),ie=ae.Base64.encode,ne=me;ne.processObjectSave=function(){var y=(0,ue.default)(te.default.mark(function b(z,ee,re,se){var fe,ve,ge,he;return te.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return a(z,"sourceObject"),a(ee,"targetObject"),a(re,"process"),ee=this._objectName(ee),se&&le(se),fe=this._objectRequestParams("POST",z,{subres:"x-oss-process"}),ve=se?",b_".concat(ie(se)):"",ee=ie(ee),ge={"x-oss-process":"".concat(re,"|sys/saveas,o_").concat(ee).concat(ve)},fe.content=ce.stringify(ge),Se.next=12,this.request(fe);case 12:return he=Se.sent,Se.abrupt("return",{res:he.res,status:he.res.status});case 14:case"end":return Se.stop()}},b,this)}));function x(b,z,ee,re){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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("debug")("ali-oss:multipart-copy"),le=E("copy-to"),ce=me;ce.uploadPartCopy=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y,x,b,z){var ee,re,se,fe,ve,ge=arguments;return te.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ee=ge.length>5&&ge[5]!==void 0?ge[5]:{},ee.headers=ee.headers||{},re=ee.versionId||ee.subres&&ee.subres.versionId||null,re?se="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey),"?versionId=").concat(re):se="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey)),ee.headers["x-oss-copy-source"]=se,b&&(ee.headers["x-oss-copy-source-range"]="bytes=".concat(b)),ee.subres={partNumber:x,uploadId:y},fe=this._objectRequestParams("PUT",a,ee),fe.mime=ee.mime,fe.successStatuses=[200],pe.next=12,this.request(fe);case 12:return ve=pe.sent,pe.abrupt("return",{name:a,etag:ve.res.headers.etag,res:ve.res});case 14:case"end":return pe.stop()}},ne,this)}));function ie(ne,a,y,x,b){return ae.apply(this,arguments)}return ie}(),ce.multipartUploadCopy=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y){var x,b,z,ee,re,se,fe,ve,ge,he,pe,Se,be=arguments;return te.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return x=be.length>2&&be[2]!==void 0?be[2]:{},this.resetCancelFlag(),b=x.versionId,z=b===void 0?null:b,ee={versionId:z},we.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,ee);case 6:if(re=we.sent,se=re.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||se,!(x.checkpoint&&x.checkpoint.uploadId)){we.next=14;break}return we.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return we.abrupt("return",we.sent);case 14:if(fe=102400,ve=y.endOffset-y.startOffset,!(ve<fe)){we.next=18;break}throw new Error("copySize must not be smaller than ".concat(fe));case 18:if(!(x.partSize&&x.partSize<fe)){we.next=20;break}throw new Error("partSize must not be smaller than ".concat(fe));case 20:return we.next=22,this.initMultipartUpload(a,x);case 22:if(ge=we.sent,he=ge.uploadId,pe=this._getPartSize(ve,x.partSize),Se={name:a,copySize:ve,partSize:pe,uploadId:he,doneParts:[]},!(x&&x.progress)){we.next=29;break}return we.next=29,x.progress(0,Se,ge.res);case 29:return we.next=31,this._resumeMultipartCopy(Se,y,x);case 31:return we.abrupt("return",we.sent);case 32:case"end":return we.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}(),ce._resumeMultipartCopy=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y,x){var b,z,ee,re,se,fe,ve,ge,he,pe,Se,be,je,we,Oe,Ae,Fe,ke,Ve,De,ut;return te.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(!this.isCancel()){qe.next=2;break}throw this._makeCancelEvent();case 2:if(b=x.versionId,z=b===void 0?null:b,ee={versionId:z},re=a.copySize,se=a.partSize,fe=a.uploadId,ve=a.doneParts,ge=a.name,he=this._divideMultipartCopyParts(re,se,y.startOffset),pe=he.length,Se={headers:{}},x.copyheaders&&le(x.copyheaders).to(Se.headers),z&&le(ee).to(Se),be=function($e,Ue,Be){return new Promise(function(){var tt=(0,ue.default)(te.default.mark(function Je(ft,Ze){var Ge,Le,Ke;return te.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(Re.prev=0,$e.isCancel()){Re.next=22;break}return Ge=he[Ue-1],Le="".concat(Ge.start,"-").concat(Ge.end-1),Re.prev=4,Re.next=7,$e.uploadPartCopy(ge,fe,Ue,Le,Be,Se);case 7:Ke=Re.sent,Re.next=15;break;case 10:if(Re.prev=10,Re.t0=Re.catch(4),Re.t0.status!==404){Re.next=14;break}throw $e._makeAbortEvent();case 14:throw Re.t0;case 15:if($e.isCancel()){Re.next=22;break}if(de("content-range ".concat(Ke.res.headers["content-range"])),ve.push({number:Ue,etag:Ke.res.headers.etag}),a.doneParts=ve,!(x&&x.progress)){Re.next=22;break}return Re.next=22,x.progress(ve.length/pe,a,Ke.res);case 22:ft(),Re.next=29;break;case 25:Re.prev=25,Re.t1=Re.catch(0),Re.t1.partNum=Ue,Ze(Re.t1);case 29:case"end":return Re.stop()}},Je,null,[[0,25],[4,10]])}));return function(Je,ft){return tt.apply(this,arguments)}}())},je=Array.from(new Array(pe),function(Xe,$e){return $e+1}),we=ve.map(function(Xe){return Xe.number}),Oe=je.filter(function(Xe){return we.indexOf(Xe)<0}),Ae=5,Fe=x.parallel||Ae,!(this.checkBrowserAndVersion("Internet Explorer","10")||Fe===1)){qe.next=28;break}ke=0;case 18:if(!(ke<Oe.length)){qe.next=26;break}if(!this.isCancel()){qe.next=21;break}throw this._makeCancelEvent();case 21:return qe.next=23,be(this,Oe[ke],y);case 23:ke++,qe.next=18;break;case 26:qe.next=40;break;case 28:return qe.next=30,this._parallelNode(Oe,Fe,be,y);case 30:if(Ve=qe.sent,De=Ve.find(function(Xe){return Xe.name==="abort"}),!De){qe.next=34;break}throw De;case 34:if(!this.isCancel()){qe.next=36;break}throw this._makeCancelEvent();case 36:if(!(Ve&&Ve.length>0)){qe.next=40;break}throw ut=Ve[0],ut.message="Failed to copy some parts with error: ".concat(ut.toString()," part_num: ").concat(ut.partNum),ut;case 40:return qe.next=42,this.completeMultipartUpload(ge,fe,ve,x);case 42:return qe.abrupt("return",qe.sent);case 43:case"end":return qe.stop()}},ne,this)}));function ie(ne,a,y){return ae.apply(this,arguments)}return ie}(),ce._divideMultipartCopyParts=function(ie,ne,a){for(var y=Math.ceil(ie/ne),x=[],b=0;b<y;b++){var z=ne*b+a,ee=Math.min(z+ne,ie+a);x.push({start:z,end:ee})}return x},ce._getObjectMeta=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y,x){var b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return b=this.getBucket(),this.setBucket(a),re.next=4,this.head(y,x);case 4:return z=re.sent,this.setBucket(b),re.abrupt("return",z);case 7:case"end":return re.stop()}},ne,this)}));function ie(ne,a,y){return ae.apply(this,arguments)}return ie}()},{"@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,ye,me){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),ue=te(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 de=te(E("@babel/runtime/helpers/asyncToGenerator")),le=E("copy-to"),ce=E("./callback"),ae=E("./utils/deepCopy"),ie=ae.deepCopyWith,ne=E("./utils/isBuffer"),a=ne.isBuffer,y=E("./utils/omit"),x=y.omit,b=me;b.listUploads=function(){var z=(0,de.default)(ue.default.mark(function re(se,fe){var ve,ge,he,pe;return ue.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return fe=fe||{},ve={},le(fe).to(ve),ve.subres="uploads",ge=this._objectRequestParams("GET","",ve),ge.query=se,ge.xmlResponse=!0,ge.successStatuses=[200],be.next=10,this.request(ge);case 10:return he=be.sent,pe=he.data.Upload||[],Array.isArray(pe)||(pe=[pe]),pe=pe.map(function(je){return{name:je.Key,uploadId:je.UploadId,initiated:je.Initiated}}),be.abrupt("return",{res:he.res,uploads:pe,bucket:he.data.Bucket,nextKeyMarker:he.data.NextKeyMarker,nextUploadIdMarker:he.data.NextUploadIdMarker,isTruncated:he.data.IsTruncated==="true"});case 15:case"end":return be.stop()}},re,this)}));function ee(re,se){return z.apply(this,arguments)}return ee}(),b.listParts=function(){var z=(0,de.default)(ue.default.mark(function re(se,fe,ve,ge){var he,pe,Se;return ue.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return ge=ge||{},he={},le(ge).to(he),he.subres={uploadId:fe},pe=this._objectRequestParams("GET",se,he),pe.query=ve,pe.xmlResponse=!0,pe.successStatuses=[200],je.next=10,this.request(pe);case 10:return Se=je.sent,je.abrupt("return",{res:Se.res,uploadId:Se.data.UploadId,bucket:Se.data.Bucket,name:Se.data.Key,partNumberMarker:Se.data.PartNumberMarker,nextPartNumberMarker:Se.data.NextPartNumberMarker,maxParts:Se.data.MaxParts,isTruncated:Se.data.IsTruncated,parts:Se.data.Part||[]});case 12:case"end":return je.stop()}},re,this)}));function ee(re,se,fe,ve){return z.apply(this,arguments)}return ee}(),b.abortMultipartUpload=function(){var z=(0,de.default)(ue.default.mark(function re(se,fe,ve){var ge,he,pe;return ue.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return this._stop(),ve=ve||{},ge={},le(ve).to(ge),ge.subres={uploadId:fe},he=this._objectRequestParams("DELETE",se,ge),he.successStatuses=[204],be.next=9,this.request(he);case 9:return pe=be.sent,be.abrupt("return",{res:pe.res});case 11:case"end":return be.stop()}},re,this)}));function ee(re,se,fe){return z.apply(this,arguments)}return ee}(),b.initMultipartUpload=function(){var z=(0,de.default)(ue.default.mark(function re(se,fe){var ve,ge,he;return ue.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return fe=fe||{},ve={},le(fe).to(ve),ve.headers=ve.headers||{},this._convertMetaToHeaders(fe.meta,ve.headers),ve.subres="uploads",ge=this._objectRequestParams("POST",se,ve),ge.mime=fe.mime,ge.xmlResponse=!0,ge.successStatuses=[200],Se.next=12,this.request(ge);case 12:return he=Se.sent,Se.abrupt("return",{res:he.res,bucket:he.data.Bucket,name:he.data.Key,uploadId:he.data.UploadId});case 14:case"end":return Se.stop()}},re,this)}));function ee(re,se){return z.apply(this,arguments)}return ee}(),b.uploadPart=function(){var z=(0,de.default)(ue.default.mark(function re(se,fe,ve,ge,he,pe,Se){var be,je;return ue.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(be={size:pe-he},je=oe&&oe.browser,!je){Oe.next=8;break}return Oe.next=5,this._createBuffer(ge,he,pe);case 5:be.content=Oe.sent,Oe.next=11;break;case 8:return Oe.next=10,this._createStream(ge,he,pe);case 10:be.stream=Oe.sent;case 11:return Oe.next=13,this._uploadPart(se,fe,ve,be,Se);case 13:return Oe.abrupt("return",Oe.sent);case 14:case"end":return Oe.stop()}},re,this)}));function ee(re,se,fe,ve,ge,he,pe){return z.apply(this,arguments)}return ee}(),b.completeMultipartUpload=function(){var z=(0,de.default)(ue.default.mark(function re(se,fe,ve,ge){var he,pe,Se,be,je,we,Oe,Ae;return ue.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:for(he=ve.concat().sort(function(Ve,De){return Ve.number-De.number}).filter(function(Ve,De,ut){return!De||Ve.number!==ut[De-1].number}),pe=`<?xml version="1.0" encoding="UTF-8"?>
|
|
<CompleteMultipartUpload>
|
|
`,Se=0;Se<he.length;Se++)be=he[Se],pe+=`<Part>
|
|
`,pe+="<PartNumber>".concat(be.number,`</PartNumber>
|
|
`),pe+="<ETag>".concat(be.etag,`</ETag>
|
|
`),pe+=`</Part>
|
|
`;return pe+="</CompleteMultipartUpload>",ge=ge||{},je={},je=ie(ge,function(Ve){if(a(Ve))return null}),je.subres={uploadId:fe},je.headers=x(je.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),we=this._objectRequestParams("POST",se,je),ce.encodeCallback(we,je),we.mime="xml",we.content=pe,we.headers&&we.headers["x-oss-callback"]||(we.xmlResponse=!0),we.successStatuses=[200],ke.next=17,this.request(we);case 17:if(Oe=ke.sent,!ge.progress){ke.next=21;break}return ke.next=21,ge.progress(1,null,Oe.res);case 21:return Ae={res:Oe.res,bucket:we.bucket,name:se,etag:Oe.res.headers.etag},we.headers&&we.headers["x-oss-callback"]&&(Ae.data=JSON.parse(Oe.data.toString())),ke.abrupt("return",Ae);case 24:case"end":return ke.stop()}},re,this)}));function ee(re,se,fe,ve){return z.apply(this,arguments)}return ee}(),b._uploadPart=function(){var z=(0,de.default)(ue.default.mark(function re(se,fe,ve,ge,he){var pe,Se,be,je;return ue.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return he=he||{},pe={},le(he).to(pe),pe.headers=pe.headers||{},pe.headers["Content-Length"]=ge.size,pe.headers=x(pe.headers,["x-oss-server-side-encryption"]),pe.subres={partNumber:ve,uploadId:fe},Se=this._objectRequestParams("PUT",se,pe),Se.mime=pe.mime,be=oe&&oe.browser,be?Se.content=ge.content:Se.stream=ge.stream,Se.successStatuses=[200],Se.disabledMD5=he.disabledMD5,Oe.next=15,this.request(Se);case 15:if(je=Oe.sent,je.res.headers.etag){Oe.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 ge.stream&&(ge.stream=null,Se.stream=null),Oe.abrupt("return",{name:se,etag:je.res.headers.etag,res:je.res});case 20:case"end":return Oe.stop()}},re,this)}));function ee(re,se,fe,ve,ge){return z.apply(this,arguments)}return ee}()}).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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("url"),le=E("utility"),ce=E("copy-to"),ae=E("../../common/signUtils"),ie=E("../utils/isIP"),ne=ie.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,z=me;z.asyncSignatureUrl=function(){var ee=(0,ue.default)(te.default.mark(function se(fe,ve){var ge,he,pe,Se,be;return te.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(!ne(this.options.endpoint.hostname)){we.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(ve=ve||{},fe=this._objectName(fe),ve.method=ve.method||"GET",ge=le.timestamp()+(ve.expires||1800),he={bucket:this.options.bucket,object:fe},pe=this._getResource(he),!(this.options.stsToken&&b(this.options.refreshSTSToken))){we.next=11;break}return we.next=11,y.call(this);case 11:return this.options.stsToken&&(ve["security-token"]=this.options.stsToken),Se=ae._signatureForURL(this.options.accessKeySecret,ve,pe,ge),be=de.parse(this._getReqUrl(he)),be.query={OSSAccessKeyId:this.options.accessKeyId,Expires:ge,Signature:Se.Signature},ce(Se.subResource).to(be.query),we.abrupt("return",be.format());case 17:case"end":return we.stop()}},se,this)}));function re(se,fe){return ee.apply(this,arguments)}return re}()},{"../../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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/typeof")),de=oe(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=me,ie=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];ae.copy=function(){var ne=(0,de.default)(te.default.mark(function y(x,b,z,ee){var re,se,fe;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return(0,ue.default)(z)==="object"&&(ee=z),ee=ee||{},ee.headers=ee.headers||{},Object.keys(ee.headers).forEach(function(he){ee.headers["x-oss-copy-source-".concat(he.toLowerCase())]=ee.headers[he]}),(ee.meta||Object.keys(ee.headers).find(function(he){return ie.includes(he.toLowerCase())}))&&(ee.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(ee.meta,ee.headers),b=this._getSourceName(b,z),ee.versionId&&(b="".concat(b,"?versionId=").concat(ee.versionId)),ee.headers["x-oss-copy-source"]=b,re=this._objectRequestParams("PUT",x,ee),re.xmlResponse=!0,re.successStatuses=[200,304],ge.next=14,this.request(re);case 14:return se=ge.sent,fe=se.data,fe&&(fe={etag:fe.ETag,lastModified:fe.LastModified}),ge.abrupt("return",{data:fe,res:se.res});case 18:case"end":return ge.stop()}},y,this)}));function a(y,x,b,z){return ne.apply(this,arguments)}return a}(),ae._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")),ce(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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=me;de.delete=function(){var le=(0,ue.default)(te.default.mark(function ae(ie){var ne,a,y,x=arguments;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ne=x.length>1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),a=this._objectRequestParams("DELETE",ie,ne),a.successStatuses=[204],z.next=7,this.request(a);case 7:return y=z.sent,z.abrupt("return",{res:y.res});case 9:case"end":return z.stop()}},ae,this)}));function ce(ae){return le.apply(this,arguments)}return ce}()},{"@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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("utility"),le=E("../utils/obj2xml"),ce=le.obj2xml,ae=me;ae.deleteMulti=function(){var ie=(0,ue.default)(te.default.mark(function a(y){var x,b,z,ee,re,se,fe,ve,ge,he,pe,Se,be,je=arguments;return te.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(x=je.length>1&&je[1]!==void 0?je[1]:{},b=[],!(!y||!y.length)){Oe.next=4;break}throw new Error("names is required");case 4:for(z=0;z<y.length;z++)ee={},typeof y[z]=="string"?ee.Key=de.escape(this._objectName(y[z])):(re=y[z],se=re.key,fe=re.versionId,ee.Key=de.escape(this._objectName(se)),ee.VersionId=fe),b.push(ee);return ve={Delete:{Quiet:!!x.quiet,Object:b}},ge=ce(ve,{headers:!0}),x.subres=Object.assign({delete:""},x.subres),x.versionId&&(x.subres.versionId=x.versionId),he=this._objectRequestParams("POST","",x),he.mime="xml",he.content=ge,he.xmlResponse=!0,he.successStatuses=[200],Oe.next=16,this.request(he);case 16:return pe=Oe.sent,Se=pe.data,be=Se&&Se.Deleted||null,be&&(Array.isArray(be)||(be=[be])),Oe.abrupt("return",{res:pe.res,deleted:be||[]});case 21:case"end":return Oe.stop()}},a,this)}));function ne(a){return ie.apply(this,arguments)}return ne}()},{"../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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=me;de.deleteObjectTagging=function(){var le=(0,ue.default)(te.default.mark(function ae(ie){var ne,a,y,x=arguments;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ne=x.length>1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({tagging:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("DELETE",ie,ne),a.successStatuses=[204],z.next=8,this.request(a);case 8:return y=z.sent,z.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return z.stop()}},ae,this)}));function ce(ae){return le.apply(this,arguments)}return ce}()},{"@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,ye,me){"use strict";E("core-js/modules/es.array.concat.js");var oe=E("url"),te=E("../utils/isIP"),ue=te.isIP,de=me;de.generateObjectUrl=function(ce,ae){if(ue(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(ae)ae[ae.length-1]!=="/"&&(ae+="/");else{ae=this.options.endpoint.format();var ie=oe.parse(ae),ne=this.options.bucket;ie.hostname="".concat(ne,".").concat(ie.hostname),ie.host="".concat(ne,".").concat(ie.host),ae=ie.format()}return ae+this._escape(this._objectName(ce))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,ye,me){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),ue=te(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var de=te(E("@babel/runtime/helpers/asyncToGenerator")),le=E("fs"),ce=E("is-type-of"),ae=me;ae.get=function(){var ie=(0,de.default)(ue.default.mark(function a(y,x){var b,z,ee,re,se,fe,ve,ge,he=arguments;return ue.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return b=he.length>2&&he[2]!==void 0?he[2]:{},z=null,ee=!1,ce.writableStream(x)?z=x:ce.string(x)?(z=le.createWriteStream(x),ee=!0):b=x,b=b||{},re=oe&&oe.browser,se=b.responseCacheControl===null?"":"no-cache",fe=re&&se?{"response-cache-control":se}:{},b.subres=Object.assign(fe,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),Se.prev=11,ge=this._objectRequestParams("GET",y,b),ge.writeStream=z,ge.successStatuses=[200,206,304],Se.next=17,this.request(ge);case 17:ve=Se.sent,ee&&z.destroy(),Se.next=28;break;case 21:if(Se.prev=21,Se.t0=Se.catch(11),!ee){Se.next=27;break}return z.destroy(),Se.next=27,this._deleteFileSafe(x);case 27:throw Se.t0;case 28:return Se.abrupt("return",{res:ve.res,content:ve.data});case 29:case"end":return Se.stop()}},a,this,[[11,21]])}));function ne(a,y){return ie.apply(this,arguments)}return ne}()}).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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=me;de.getACL=function(){var le=(0,ue.default)(te.default.mark(function ae(ie){var ne,a,y,x=arguments;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ne=x.length>1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({acl:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("GET",ie,ne),a.successStatuses=[200],a.xmlResponse=!0,z.next=9,this.request(a);case 9:return y=z.sent,z.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 z.stop()}},ae,this)}));function ce(ae){return le.apply(this,arguments)}return ce}()},{"@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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=me,le=E("../utils/isObject"),ce=le.isObject,ae=E("../utils/isArray"),ie=ae.isArray;de.getBucketVersions=ne,de.listObjectVersions=ne;function ne(){return a.apply(this,arguments)}function a(){return a=(0,ue.default)(te.default.mark(function b(){var z,ee,re,se,fe,ve,ge,he,pe=arguments;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:if(z=pe.length>0&&pe[0]!==void 0?pe[0]:{},ee=pe.length>1&&pe[1]!==void 0?pe[1]:{},!(z.versionIdMarker&&z.keyMarker===void 0)){be.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return ee.subres=Object.assign({versions:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),re=this._objectRequestParams("GET","",ee),re.xmlResponse=!0,re.successStatuses=[200],re.query=x(z),be.next=12,this.request(re);case 12:return se=be.sent,fe=se.data.Version||[],ve=se.data.DeleteMarker||[],ge=this,fe&&(Array.isArray(fe)||(fe=[fe]),fe=fe.map(function(je){return{name:je.Key,url:ge._objectUrl(je.Key),lastModified:je.LastModified,isLatest:je.IsLatest==="true",versionId:je.VersionId,etag:je.ETag,type:je.Type,size:Number(je.Size),storageClass:je.StorageClass,owner:{id:je.Owner.ID,displayName:je.Owner.DisplayName}}})),ve&&(ie(ve)||(ve=[ve]),ve=ve.map(function(je){return{name:je.Key,lastModified:je.LastModified,versionId:je.VersionId,owner:{id:je.Owner.ID,displayName:je.Owner.DisplayName}}})),he=se.data.CommonPrefixes||null,he&&(ie(he)||(he=[he]),he=he.map(function(je){return je.Prefix})),be.abrupt("return",{res:se.res,objects:fe,deleteMarker:ve,prefixes:he,nextMarker:se.data.NextKeyMarker||null,NextVersionIdMarker:se.data.NextVersionIdMarker||null,nextKeyMarker:se.data.NextKeyMarker||null,nextVersionIdMarker:se.data.NextVersionIdMarker||null,isTruncated:se.data.IsTruncated==="true"});case 21:case"end":return be.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]:{},z={};return ce(b)&&Object.keys(b).forEach(function(ee){z[y(ee)]=b[ee]}),z}},{"../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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=me;de.getObjectMeta=function(){var le=(0,ue.default)(te.default.mark(function ae(ie,ne){var a,y;return te.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ne=ne||{},ie=this._objectName(ie),ne.subres=Object.assign({objectMeta:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),a=this._objectRequestParams("HEAD",ie,ne),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()}},ae,this)}));function ce(ae,ie){return le.apply(this,arguments)}return ce}()},{"@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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=me,le=E("../utils/isObject"),ce=le.isObject;de.getObjectTagging=function(){var ae=(0,ue.default)(te.default.mark(function ne(a){var y,x,b,z,ee,re,se=arguments;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return y=se.length>1&&se[1]!==void 0?se[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],ve.next=8,this.request(x);case 8:return b=ve.sent,ve.next=11,this.parseXML(b.data);case 11:return z=ve.sent,ee=z.TagSet.Tag,ee=ee&&ce(ee)?[ee]:ee||[],re={},ee.forEach(function(ge){re[ge.Key]=ge.Value}),ve.abrupt("return",{status:b.status,res:b.res,tag:re});case 17:case"end":return ve.stop()}},ne,this)}));function ie(ne){return ae.apply(this,arguments)}return ie}()},{"../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,ye,me){"use strict";var oe=E("../utils/isIP"),te=oe.isIP,ue=me;ue.getObjectUrl=function(le,ce){if(te(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return ce?ce[ce.length-1]!=="/"&&(ce+="/"):ce=this.options.endpoint.format(),ce+this._escape(this._objectName(le))}},{"../utils/isIP":69}],43:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=me;de.getSymlink=function(){var le=(0,ue.default)(te.default.mark(function ae(ie){var ne,a,y,x,b=arguments;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ne=b.length>1&&b[1]!==void 0?b[1]:{},ne.subres=Object.assign({symlink:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("GET",ie,ne),a.successStatuses=[200],ee.next=8,this.request(a);case 8:return y=ee.sent,x=y.res.headers["x-oss-symlink-target"],ee.abrupt("return",{targetName:decodeURIComponent(x),res:y.res});case 11:case"end":return ee.stop()}},ae,this)}));function ce(ae){return le.apply(this,arguments)}return ce}()},{"@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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkEnv"),le=de.checkEnv,ce=me;ce.head=function(){var ae=(0,ue.default)(te.default.mark(function ne(a){var y,x,b,z,ee=arguments;return te.default.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return y=ee.length>1&&ee[1]!==void 0?ee[1]:{},le("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],se.next=8,this.request(x);case 8:return b=se.sent,z={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(fe){fe.indexOf("x-oss-meta-")===0&&(z.meta||(z.meta={}),z.meta[fe.substring(11)]=b.headers[fe])}),se.abrupt("return",z);case 12:case"end":return se.stop()}},ne,this)}));function ie(ne){return ae.apply(this,arguments)}return ie}()},{"../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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=me;de.putACL=function(){var le=(0,ue.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.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"]=ne,ie=this._objectName(ie),y=this._objectRequestParams("PUT",ie,a),y.successStatuses=[200],z.next=10,this.request(y);case 10:return x=z.sent,z.abrupt("return",{res:x.res});case 12:case"end":return z.stop()}},ae,this)}));function ce(ae,ie,ne){return le.apply(this,arguments)}return ce}()},{"@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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/obj2xml"),le=de.obj2xml,ce=E("../utils/checkObjectTag"),ae=ce.checkObjectTag,ie=me;ie.putObjectTagging=function(){var ne=(0,ue.default)(te.default.mark(function y(x,b){var z,ee,re,se,fe=arguments;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return z=fe.length>2&&fe[2]!==void 0?fe[2]:{},ae(b),z.subres=Object.assign({tagging:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),x=this._objectName(x),ee=this._objectRequestParams("PUT",x,z),ee.successStatuses=[200],b=Object.keys(b).map(function(he){return{Key:he,Value:b[he]}}),re={Tagging:{TagSet:{Tag:b}}},ee.mime="xml",ee.content=le(re),ge.next=13,this.request(ee);case 13:return se=ge.sent,ge.abrupt("return",{res:se.res,status:se.status});case 15:case"end":return ge.stop()}},y,this)}));function a(y,x){return ne.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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=me;de.putSymlink=function(){var le=(0,ue.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.headers=a.headers||{},ne=this._escape(this._objectName(ne)),this._convertMetaToHeaders(a.meta,a.headers),a.headers["x-oss-symlink-target"]=ne,a.subres=Object.assign({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.storageClass&&(a.headers["x-oss-storage-class"]=a.storageClass),ie=this._objectName(ie),y=this._objectRequestParams("PUT",ie,a),y.successStatuses=[200],z.next=13,this.request(y);case 13:return x=z.sent,z.abrupt("return",{res:x.res});case 15:case"end":return z.stop()}},ae,this)}));function ce(ae,ie,ne){return le.apply(this,arguments)}return ce}()},{"@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,ye,me){"use strict";var oe=E("url"),te=E("utility"),ue=E("copy-to"),de=E("../../common/signUtils"),le=E("../utils/isIP"),ce=le.isIP,ae=me;ae.signatureUrl=function(ne,a){if(ce(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},ne=this._objectName(ne),a.method=a.method||"GET";var y=te.timestamp()+(a.expires||1800),x={bucket:this.options.bucket,object:ne},b=this._getResource(x);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var z=de._signatureForURL(this.options.accessKeySecret,a,b,y),ee=oe.parse(this._getReqUrl(x));return ee.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:z.Signature},ue(z.subResource).to(ee.query),ee.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("./utils/isArray"),le=de.isArray,ce=me;ce._parallelNode=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y,x,b){var z,ee,re,se,fe,ve,ge,he;return te.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:z=this,ee=[],re=[],se=a.length/y,fe=a.length%y,ve=fe===0?se:(a.length-fe)/y+1,ge=1,he=0;case 8:if(!(he<a.length)){Se.next=26;break}if(!z.isCancel()){Se.next=11;break}return Se.abrupt("break",26);case 11:if(b?re.push(x(z,a[he],b)):re.push(x(z,a[he])),!(re.length===y||ge===ve&&he===a.length-1)){Se.next=23;break}return Se.prev=13,ge+=1,Se.next=17,Promise.all(re);case 17:Se.next=22;break;case 19:Se.prev=19,Se.t0=Se.catch(13),ee.push(Se.t0);case 22:re=[];case 23:he++,Se.next=8;break;case 26:return Se.abrupt("return",ee);case 27:case"end":return Se.stop()}},ne,this,[[13,19]])}));function ie(ne,a,y,x){return ae.apply(this,arguments)}return ie}(),ce._parallel=function(ie,ne,a){var y=this;return new Promise(function(x){var b=[];if(ne<=0||!ie){x(b);return}function z(Se){return function(){if(Se===null)throw new Error("Callback was already called.");var be=Se;Se=null;for(var je=arguments.length,we=new Array(je),Oe=0;Oe<je;Oe++)we[Oe]=arguments[Oe];be.apply(this,we)}}function ee(Se){var be=-1,je=Se.length;return function(){return++be<je&&!y.isCancel()?{value:Se[be],key:be}:null}}var re=ee(ie),se=!1,fe=0,ve=!1;function ge(Se){fe-=1,Se?(se=!0,b.push(Se),x(b)):se&&fe<=0?(se=!0,x(b)):ve||(y.isCancel()?x(b):pe())}function he(Se,be){a(Se).then(function(je){be(null,je)}).catch(function(je){be(je)})}function pe(){for(ve=!0;fe<ne&&!se&&!y.isCancel();){var Se=re();if(Se===null||b.length>0){se=!0,fe<=0&&x(b);return}fe+=1,he(Se.value,z(ge))}ve=!1}pe()})},ce.cancel=function(ie){this.options.cancelFlag=!0,le(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(ne){if(ne.destroyed===!1){var a={name:"cancel",message:"cancel"};ne.destroy(a)}}),this.multipartUploadStreams=[],ie&&this.abortMultipartUpload(ie.name,ie.uploadId,ie.options)},ce.isCancel=function(){return this.options.cancelFlag},ce.resetCancelFlag=function(){this.options.cancelFlag=!1},ce._stop=function(){this.options.cancelFlag=!0},ce._makeCancelEvent=function(){var ie={status:0,name:"cancel"};return ie},ce._makeAbortEvent=function(){var ie={status:0,name:"abort",message:"upload task has been abort"};return ie}},{"./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,ye,me){(function(oe){(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 te=E("./../../shims/crypto/crypto.js"),ue=E("is-type-of"),de=E("./utils/lowercaseKeyHeader"),le=de.lowercaseKeyHeader;me.buildCanonicalizedResource=function(ae,ie){var ne="".concat(ae),a="?";if(ue.string(ie)&&ie.trim()!=="")ne+=a+ie;else if(ue.array(ie))ie.sort(),ne+=a+ie.join("&");else if(ie){var y=function(z,ee){return z[0]>ee[0]?1:z[0]<ee[0]?-1:0},x=function(z){ne+=a+z,(ie[z]||ie[z]===0)&&(ne+="=".concat(ie[z])),a="&"};Object.keys(ie).sort(y).forEach(x)}return ne},me.buildCanonicalString=function(ae,ie,ne,a){ne=ne||{};var y=le(ne.headers),x="x-oss-",b=[],z={},ee=[ae.toUpperCase(),y["content-md5"]||"",y["content-type"],a||y["x-oss-date"]];return Object.keys(y).forEach(function(re){var se=re.toLowerCase();se.indexOf(x)===0&&(z[se]=String(y[re]).trim())}),Object.keys(z).sort().forEach(function(re){b.push("".concat(re,":").concat(z[re]))}),ee=ee.concat(b),ee.push(this.buildCanonicalizedResource(ie,ne.parameters)),ee.join(`
|
|
`)},me.computeSignature=function(ae,ie){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=te.createHmac("sha1",ae);return a.update(oe.from(ie,ne)).digest("base64")},me.authorization=function(ae,ie,ne,a){return"OSS ".concat(ae,":").concat(this.computeSignature(ie,ne,a))},me._signatureForURL=function(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ne=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=ie.subResource,z=b===void 0?{}:b;if(ie.process){var ee="x-oss-process";z[ee]=ie.process}if(ie.trafficLimit){var re="x-oss-traffic-limit";z[re]=ie.trafficLimit}if(ie.response&&Object.keys(ie.response).forEach(function(ge){var he="response-".concat(ge.toLowerCase());z[he]=ie.response[ge]}),Object.keys(ie).forEach(function(ge){var he=ge.toLowerCase(),pe=ie[ge];he.indexOf("x-oss-")===0?x[he]=pe:(he.indexOf("content-md5")===0||he.indexOf("content-type")===0)&&(x[ge]=pe)}),Object.prototype.hasOwnProperty.call(ie,"security-token")&&(z["security-token"]=ie["security-token"]),Object.prototype.hasOwnProperty.call(ie,"callback")){var se={callbackUrl:encodeURI(ie.callback.url),callbackBody:ie.callback.body};if(ie.callback.host&&(se.callbackHost=ie.callback.host),ie.callback.contentType&&(se.callbackBodyType=ie.callback.contentType),z.callback=oe.from(JSON.stringify(se)).toString("base64"),ie.callback.customValue){var fe={};Object.keys(ie.callback.customValue).forEach(function(ge){fe["x:".concat(ge)]=ie.callback.customValue[ge]}),z["callback-var"]=oe.from(JSON.stringify(fe)).toString("base64")}}var ve=this.buildCanonicalString(ie.method,ne,{headers:x,parameters:z},a.toString());return{Signature:this.computeSignature(ae,ve,y),subResource:z}}}).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,ye,me){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.checkBucketName=void 0,me.checkBucketName=function(oe){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ue=te?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!ue.test(oe))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,ye,me){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.checkConfigValid=void 0;var oe={endpoint:te,region:/^[a-zA-Z0-9\-_]+$/};function te(ue){return typeof ue=="string"?/^[a-zA-Z0-9._:/-]+$/.test(ue):ue.host?/^[a-zA-Z0-9._:/-]+$/.test(ue.host):!1}me.checkConfigValid=function(ue,de){if(oe[de]){var le=!0;if(oe[de]instanceof Function?le=oe[de](ue):le=oe[de].test(ue),!le)throw new Error("The ".concat(de," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,ye,me){(function(oe){(function(){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.checkEnv=void 0;function te(ue){oe.browser&&console.warn(ue)}me.checkEnv=te}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,ye,me){"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(me,"__esModule",{value:!0}),me.checkObjectTag=void 0;var oe=E("./checkValid"),te=oe.checkValid,ue=E("./isObject"),de=ue.isObject,le=[{validator:function(ne){if(typeof ne!="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 (/)"}],ce={key:[].concat(le,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(le,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function ae(ie){if(!de(ie))throw new Error("tag must be Object");var ne=Object.entries(ie);if(ne.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];ne.forEach(function(y){y.forEach(function(x,b){te(x,ce[a[b]])})})}me.checkObjectTag=ae},{"./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,ye,me){"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(me,"__esModule",{value:!0}),me.checkValid=void 0;function oe(te,ue){ue.forEach(function(de){if(de.validator)de.validator(te);else if(de.pattern&&!de.pattern.test(te))throw new Error(de.msg)})}me.checkValid=oe},{"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,ye,me){(function(oe){(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(me,"__esModule",{value:!0}),me.createRequest=void 0;var te=E("./../../../shims/crypto/crypto.js"),ue=E("debug")("ali-oss"),de=E("mime"),le=E("dateformat"),ce=E("copy-to"),ae=E("path"),ie=E("./encoder"),ne=ie.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,z=E("../client/getReqUrl"),ee=z.getReqUrl,re=E("./isDingTalk"),se=re.isDingTalk;function fe(he,pe){return he[pe]||he[pe.toLowerCase()]}function ve(he,pe){delete he[pe],delete he[pe.toLowerCase()]}function ge(he){var pe=new Date;this.options.amendTimeSkewed&&(pe=+new Date+this.options.amendTimeSkewed);var Se={"x-oss-date":le(pe,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Se["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Se["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Se,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Se["x-oss-security-token"]=this.options.stsToken),ce(he.headers).to(Se),fe(Se,"Content-Type")||(he.mime&&he.mime.indexOf("/")>0?Se["Content-Type"]=he.mime:se()?Se["Content-Type"]="application/octet-stream":Se["Content-Type"]=de.getType(he.mime||ae.extname(he.object||""))),fe(Se,"Content-Type")||ve(Se,"Content-Type"),he.content&&(he.disabledMD5||(!he.headers||!he.headers["Content-MD5"]?Se["Content-MD5"]=te.createHash("md5").update(oe.from(he.content,"utf8")).digest("base64"):Se["Content-MD5"]=he.headers["Content-MD5"]),Se["Content-Length"]||(Se["Content-Length"]=he.content.length));var be=Object.prototype.hasOwnProperty;for(var je in Se)Se[je]&&be.call(Se,je)&&(Se[je]=ne(String(Se[je]),this.options.headerEncoding));var we=this._getResource(he);if(Se.authorization=this.authorization(he.method,we,he.subres,Se,this.options.headerEncoding),y(this.options.endpoint.hostname)){var Oe=this.options,Ae=Oe.region,Fe=Oe.internal,ke=Oe.secure,Ve=b(Ae,Fe,ke);Se.host="".concat(he.bucket,".").concat(Ve.host)}var De=ee.bind(this)(he);ue("request %s %s, with headers %j, !!stream: %s",he.method,De,Se,!!he.stream);var ut=he.timeout||this.options.timeout,nt={method:he.method,content:he.content,stream:he.stream,headers:Se,timeout:ut,writeStream:he.writeStream,customResponse:he.customResponse,ctx:he.ctx||this.ctx};return this.agent&&(nt.agent=this.agent),this.httpsAgent&&(nt.httpsAgent=this.httpsAgent),nt.enableProxy=!!this.options.enableProxy,nt.proxy=this.options.proxy?this.options.proxy:null,{url:De,params:nt}}me.createRequest=ge}).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,ye,me){"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(me,"__esModule",{value:!0}),me.dataFix=void 0;var oe=E("./isObject"),te=["true","TRUE","1",1],ue=["false","FALSE","0",0];function de(ae,ie,ne){if(oe.isObject(ae)){var a=ie.remove,y=a===void 0?[]:a,x=ie.rename,b=x===void 0?{}:x,z=ie.camel,ee=z===void 0?[]:z,re=ie.bool,se=re===void 0?[]:re,fe=ie.lowerFirst,ve=fe===void 0?!1:fe;return y.forEach(function(ge){return delete ae[ge]}),Object.entries(b).forEach(function(ge){ae[ge[0]]&&(ae[ge[1]]||(ae[ge[1]]=ae[ge[0]],delete ae[ge[0]]))}),ee.forEach(function(ge){if(ae[ge]){var he=ge.replace(/^(.)/,function(pe){return pe.toLowerCase()}).replace(/-(\w)/g,function(pe,Se){return Se.toUpperCase()});ae[he]||(ae[he]=ae[ge])}}),se.forEach(function(ge){ae[ge]=le(ae[ge])}),typeof ne=="function"&&ne(ae),ce(ae,ve),de}}me.dataFix=de;function le(ae){return ae?te.includes(ae)?!0:ue.includes(ae)?!1:ae:!1}function ce(ae,ie){ie&&Object.keys(ae).forEach(function(ne){var a=ne.replace(/^\w/,function(y){return y.toLowerCase()});typeof ae[a]=="undefined"&&(ae[a]=ae[ne],delete ae[ne])})}},{"./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,ye,me){"use strict";var oe=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 te=oe(E("@babel/runtime/helpers/typeof"));Object.defineProperty(me,"__esModule",{value:!0}),me.deepCopyWith=me.deepCopy=void 0;var ue=E("./isBuffer");me.deepCopy=function(de){if(de===null||(0,te.default)(de)!=="object")return de;if(ue.isBuffer(de))return de.slice();var le=Array.isArray(de)?[]:{};return Object.keys(de).forEach(function(ce){le[ce]=me.deepCopy(de[ce])}),le},me.deepCopyWith=function(de,le){function ce(ae,ie,ne){var a=le(ae,ie,ne);if(a!==void 0)return a;if(ae===null||(0,te.default)(ae)!=="object")return ae;if(ue.isBuffer(ae))return ae.slice();var y=Array.isArray(ae)?[]:{};return Object.keys(ae).forEach(function(x){y[x]=ce(ae[x],x,ae)}),y}return le?ce(de,"",null):me.deepCopy(de)}},{"./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,ye,me){(function(oe){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.encoder=void 0;function te(ue){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return de==="utf-8"?ue:oe.from(ue).toString("latin1")}me.encoder=te}).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,ye,me){"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(me,"__esModule",{value:!0}),me.formatInventoryConfig=void 0;var oe=E("../utils/dataFix"),te=E("../utils/isObject"),ue=E("../utils/isArray"),de=E("../utils/formatObjKey");function le(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ie&&te.isObject(ae)&&(ae=[ae]),ue.isArray(ae)?ae=ae.map(ce):ae=ce(ae),ae}me.formatInventoryConfig=le;function ce(ae){return oe.dataFix(ae,{bool:["IsEnabled"]},function(ie){var ne,a;ie.prefix=ie.Filter.Prefix,delete ie.Filter,ie.OSSBucketDestination=ie.Destination.OSSBucketDestination,ie.OSSBucketDestination.rolename=ie.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete ie.OSSBucketDestination.RoleArn,ie.OSSBucketDestination.bucket=ie.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete ie.OSSBucketDestination.Bucket,delete ie.Destination,ie.frequency=ie.Schedule.Frequency,delete ie.Schedule.Frequency,!((ne=ie==null?void 0:ie.OptionalFields)===null||ne===void 0)&&ne.Field&&!ue.isArray((a=ie.OptionalFields)===null||a===void 0?void 0:a.Field)&&(ie.OptionalFields.Field=[ie.OptionalFields.Field])}),ae=de.formatObjKey(ae,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),ae}},{"../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,ye,me){"use strict";var oe=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 te=oe(E("@babel/runtime/helpers/typeof"));Object.defineProperty(me,"__esModule",{value:!0}),me.formatObjKey=void 0;function ue(le,ce,ae){if(le===null||(0,te.default)(le)!=="object")return le;var ie;if(Array.isArray(le)){ie=[];for(var ne=0;ne<le.length;ne++)ie.push(ue(le[ne],ce,ae))}else ie={},Object.keys(le).forEach(function(a){ie[de(a,ce,ae)]=ue(le[a],ce,ae)});return ie}me.formatObjKey=ue;function de(le,ce,ae){return ae&&ae.exclude&&ae.exclude.includes(le)||(ce==="firstUpperCase"?le=le.replace(/^./,function(ie){return ie.toUpperCase()}):ce==="firstLowerCase"&&(le=le.replace(/^./,function(ie){return ie.toLowerCase()}))),le}},{"@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,ye,me){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.getStrBytesCount=void 0;function oe(te){for(var ue=0,de=0;de<te.length;de++){var le=te.charAt(de);/^[\u00-\uff]$/.test(le)?ue+=1:ue+=2}return ue}me.getStrBytesCount=oe},{"core-js/modules/es.regexp.exec.js":300}],63:[function(E,ye,me){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.isArray=void 0,me.isArray=function(oe){return Object.prototype.toString.call(oe)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(E,ye,me){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.isBlob=void 0;function oe(te){return typeof Blob!="undefined"&&te instanceof Blob}me.isBlob=oe},{}],65:[function(E,ye,me){(function(oe){(function(){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.isBuffer=void 0;function te(ue){return oe.isBuffer(ue)}me.isBuffer=te}).call(this)}).call(this,{isBuffer:E("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(E,ye,me){(function(oe){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.isDingTalk=void 0;function te(){return!!(oe.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}me.isDingTalk=te}).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,ye,me){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.isFile=void 0,me.isFile=function(oe){return typeof File!="undefined"&&oe instanceof File}},{}],68:[function(E,ye,me){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.isFunction=void 0,me.isFunction=function(oe){return typeof oe=="function"}},{}],69:[function(E,ye,me){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.isIP=void 0,me.isIP=function(oe){var te=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,ue=/^\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 te.test(oe)||ue.test(oe)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(E,ye,me){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.isObject=void 0,me.isObject=function(oe){return Object.prototype.toString.call(oe)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(E,ye,me){"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(me,"__esModule",{value:!0}),me.lowercaseKeyHeader=void 0;var oe=E("./isObject");function te(ue){var de={};return oe.isObject(ue)&&Object.keys(ue).forEach(function(le){de[le.toLowerCase()]=ue[le]}),de}me.lowercaseKeyHeader=te},{"./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,ye,me){"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(me,"__esModule",{value:!0}),me.obj2xml=void 0;var oe=E("./formatObjKey");function te(de){return Object.prototype.toString.call(de).replace(/(.*? |])/g,"").toLowerCase()}function ue(de,le){var ce="";return le&&le.headers&&(ce=`<?xml version="1.0" encoding="UTF-8"?>
|
|
`),le&&le.firstUpperCase&&(de=oe.formatObjKey(de,"firstUpperCase")),te(de)==="object"?Object.keys(de).forEach(function(ae){te(de[ae])!=="undefined"&&te(de[ae])!=="null"&&(te(de[ae])==="string"||te(de[ae])==="number"?ce+="<".concat(ae,">").concat(de[ae],"</").concat(ae,">"):te(de[ae])==="object"?ce+="<".concat(ae,">").concat(ue(de[ae]),"</").concat(ae,">"):te(de[ae])==="array"?ce+=de[ae].map(function(ie){return"<".concat(ae,">").concat(ue(ie),"</").concat(ae,">")}).join(""):ce+="<".concat(ae,">").concat(de[ae].toString(),"</").concat(ae,">"))}):ce+=de.toString(),ce}me.obj2xml=ue},{"./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,ye,me){"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 oe(le,ce){var ae=typeof Symbol!="undefined"&&le[Symbol.iterator]||le["@@iterator"];if(!ae){if(Array.isArray(le)||(ae=te(le))||ce&&le&&typeof le.length=="number"){ae&&(le=ae);var ie=0,ne=function(){};return{s:ne,n:function(){return ie>=le.length?{done:!0}:{done:!1,value:le[ie++]}},e:function(z){throw z},f:ne}}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(){ae=ae.call(le)},n:function(){var z=ae.next();return a=z.done,z},e:function(z){y=!0,x=z},f:function(){try{!a&&ae.return!=null&&ae.return()}finally{if(y)throw x}}}}function te(le,ce){if(le){if(typeof le=="string")return ue(le,ce);var ae=Object.prototype.toString.call(le).slice(8,-1);if(ae==="Object"&&le.constructor&&(ae=le.constructor.name),ae==="Map"||ae==="Set")return Array.from(le);if(ae==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ae))return ue(le,ce)}}function ue(le,ce){(ce==null||ce>le.length)&&(ce=le.length);for(var ae=0,ie=new Array(ce);ae<ce;ae++)ie[ae]=le[ae];return ie}Object.defineProperty(me,"__esModule",{value:!0}),me.omit=void 0;function de(le,ce){var ae=Object.assign({},le),ie=oe(ce),ne;try{for(ie.s();!(ne=ie.n()).done;){var a=ne.value;delete ae[a]}}catch(y){ie.e(y)}finally{ie.f()}return ae}me.omit=de},{"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,ye,me){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.retry=void 0;function oe(te,ue){var de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},le=0,ce=de.retryDelay,ae=ce===void 0?500:ce,ie=de.errorHandler,ne=ie===void 0?function(){return!0}:ie,a=function y(){for(var x=arguments.length,b=new Array(x),z=0;z<x;z++)b[z]=arguments[z];return new Promise(function(ee,re){te.apply(void 0,b).then(function(se){le=0,ee(se)}).catch(function(se){le<ue&&ne(se)?(le++,setTimeout(function(){ee(y.apply(void 0,b))},ae)):(le=0,re(se))})})};return a}me.retry=oe},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(E,ye,me){"use strict";var oe=function(le){return le&&le.__esModule?le:{default:le}};Object.defineProperty(me,"__esModule",{value:!0}),me.setRegion=void 0;var te=oe(E("url")),ue=E("./checkConfigValid");function de(le){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ue.checkConfigValid(le,"region");var ie=ae?"https://":"http://",ne=ce?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return le.substr(0,a.length)===a&&(ne=".aliyuncs.com"),te.default.parse(ie+le+ne)}me.setRegion=de},{"./checkConfigValid":52,url:472}],76:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.checkCredentials=me.setSTSToken=void 0;var de=E("./formatObjKey");function le(){return ce.apply(this,arguments)}function ce(){return ce=(0,ue.default)(te.default.mark(function ie(){var ne,a;return te.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),ne=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+ne-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=ne,x.next=7,this.options.refreshSTSToken();case 7:a=x.sent,a=de.formatObjKey(a,"firstLowerCase"),a.securityToken&&(a.stsToken=a.securityToken),ae(a),Object.assign(this.options,a);case 12:x.next=15;break;case 14:this.stsTokenFreshTime=ne;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},ie,this)})),ce.apply(this,arguments)}me.setSTSToken=le;function ae(ie){var ne=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(ie);ne.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}me.checkCredentials=ae},{"./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,ye,me){function oe(ue,de,le,ce,ae,ie,ne){try{var a=ue[ie](ne),y=a.value}catch(x){le(x);return}a.done?de(y):Promise.resolve(y).then(ce,ae)}function te(ue){return function(){var de=this,le=arguments;return new Promise(function(ce,ae){var ie=ue.apply(de,le);function ne(y){oe(ie,ce,ae,ne,a,"next",y)}function a(y){oe(ie,ce,ae,ne,a,"throw",y)}ne(void 0)})}}ye.exports=te,ye.exports.__esModule=!0,ye.exports.default=ye.exports},{}],78:[function(E,ye,me){function oe(te){return te&&te.__esModule?te:{default:te}}ye.exports=oe,ye.exports.__esModule=!0,ye.exports.default=ye.exports},{}],79:[function(E,ye,me){function oe(te){"@babel/helpers - typeof";return ye.exports=oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ue){return typeof ue}:function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue},ye.exports.__esModule=!0,ye.exports.default=ye.exports,oe(te)}ye.exports=oe,ye.exports.__esModule=!0,ye.exports.default=ye.exports},{}],80:[function(E,ye,me){ye.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,ye,me){ye.exports=oe,ye.exports.HttpsAgent=oe;function oe(){}},{}],82:[function(E,ye,me){(function(oe){(function(){"use strict";var te=E("object-assign");function ue(Ae,Fe){if(Ae===Fe)return 0;for(var ke=Ae.length,Ve=Fe.length,De=0,ut=Math.min(ke,Ve);De<ut;++De)if(Ae[De]!==Fe[De]){ke=Ae[De],Ve=Fe[De];break}return ke<Ve?-1:Ve<ke?1:0}function de(Ae){return oe.Buffer&&typeof oe.Buffer.isBuffer=="function"?oe.Buffer.isBuffer(Ae):!!(Ae!=null&&Ae._isBuffer)}var le=E("util/"),ce=Object.prototype.hasOwnProperty,ae=Array.prototype.slice,ie=function(){return function(){}.name==="foo"}();function ne(Ae){return Object.prototype.toString.call(Ae)}function a(Ae){return de(Ae)||typeof oe.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(Ae):Ae?!!(Ae instanceof DataView||Ae.buffer&&Ae.buffer instanceof ArrayBuffer):!1}var y=ye.exports=fe,x=/\s*function\s+([^\(\s]*)\s*/;function b(Ae){if(le.isFunction(Ae)){if(ie)return Ae.name;var Fe=Ae.toString(),ke=Fe.match(x);return ke&&ke[1]}}y.AssertionError=function(Fe){this.name="AssertionError",this.actual=Fe.actual,this.expected=Fe.expected,this.operator=Fe.operator,Fe.message?(this.message=Fe.message,this.generatedMessage=!1):(this.message=re(this),this.generatedMessage=!0);var ke=Fe.stackStartFunction||se;if(Error.captureStackTrace)Error.captureStackTrace(this,ke);else{var Ve=new Error;if(Ve.stack){var De=Ve.stack,ut=b(ke),nt=De.indexOf(`
|
|
`+ut);if(nt>=0){var qe=De.indexOf(`
|
|
`,nt+1);De=De.substring(qe+1)}this.stack=De}}},le.inherits(y.AssertionError,Error);function z(Ae,Fe){return typeof Ae=="string"?Ae.length<Fe?Ae:Ae.slice(0,Fe):Ae}function ee(Ae){if(ie||!le.isFunction(Ae))return le.inspect(Ae);var Fe=b(Ae),ke=Fe?": "+Fe:"";return"[Function"+ke+"]"}function re(Ae){return z(ee(Ae.actual),128)+" "+Ae.operator+" "+z(ee(Ae.expected),128)}function se(Ae,Fe,ke,Ve,De){throw new y.AssertionError({message:ke,actual:Ae,expected:Fe,operator:Ve,stackStartFunction:De})}y.fail=se;function fe(Ae,Fe){Ae||se(Ae,!0,Fe,"==",y.ok)}y.ok=fe,y.equal=function(Fe,ke,Ve){Fe!=ke&&se(Fe,ke,Ve,"==",y.equal)},y.notEqual=function(Fe,ke,Ve){Fe==ke&&se(Fe,ke,Ve,"!=",y.notEqual)},y.deepEqual=function(Fe,ke,Ve){ve(Fe,ke,!1)||se(Fe,ke,Ve,"deepEqual",y.deepEqual)},y.deepStrictEqual=function(Fe,ke,Ve){ve(Fe,ke,!0)||se(Fe,ke,Ve,"deepStrictEqual",y.deepStrictEqual)};function ve(Ae,Fe,ke,Ve){if(Ae===Fe)return!0;if(de(Ae)&&de(Fe))return ue(Ae,Fe)===0;if(le.isDate(Ae)&&le.isDate(Fe))return Ae.getTime()===Fe.getTime();if(le.isRegExp(Ae)&&le.isRegExp(Fe))return Ae.source===Fe.source&&Ae.global===Fe.global&&Ae.multiline===Fe.multiline&&Ae.lastIndex===Fe.lastIndex&&Ae.ignoreCase===Fe.ignoreCase;if((Ae===null||typeof Ae!="object")&&(Fe===null||typeof Fe!="object"))return ke?Ae===Fe:Ae==Fe;if(a(Ae)&&a(Fe)&&ne(Ae)===ne(Fe)&&!(Ae instanceof Float32Array||Ae instanceof Float64Array))return ue(new Uint8Array(Ae.buffer),new Uint8Array(Fe.buffer))===0;if(de(Ae)!==de(Fe))return!1;Ve=Ve||{actual:[],expected:[]};var De=Ve.actual.indexOf(Ae);return De!==-1&&De===Ve.expected.indexOf(Fe)?!0:(Ve.actual.push(Ae),Ve.expected.push(Fe),he(Ae,Fe,ke,Ve))}function ge(Ae){return Object.prototype.toString.call(Ae)=="[object Arguments]"}function he(Ae,Fe,ke,Ve){if(Ae==null||Fe===null||Fe===void 0)return!1;if(le.isPrimitive(Ae)||le.isPrimitive(Fe))return Ae===Fe;if(ke&&Object.getPrototypeOf(Ae)!==Object.getPrototypeOf(Fe))return!1;var De=ge(Ae),ut=ge(Fe);if(De&&!ut||!De&&ut)return!1;if(De)return Ae=ae.call(Ae),Fe=ae.call(Fe),ve(Ae,Fe,ke);var nt=Oe(Ae),qe=Oe(Fe),Xe,$e;if(nt.length!==qe.length)return!1;for(nt.sort(),qe.sort(),$e=nt.length-1;$e>=0;$e--)if(nt[$e]!==qe[$e])return!1;for($e=nt.length-1;$e>=0;$e--)if(Xe=nt[$e],!ve(Ae[Xe],Fe[Xe],ke,Ve))return!1;return!0}y.notDeepEqual=function(Fe,ke,Ve){ve(Fe,ke,!1)&&se(Fe,ke,Ve,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=pe;function pe(Ae,Fe,ke){ve(Ae,Fe,!0)&&se(Ae,Fe,ke,"notDeepStrictEqual",pe)}y.strictEqual=function(Fe,ke,Ve){Fe!==ke&&se(Fe,ke,Ve,"===",y.strictEqual)},y.notStrictEqual=function(Fe,ke,Ve){Fe===ke&&se(Fe,ke,Ve,"!==",y.notStrictEqual)};function Se(Ae,Fe){if(!Ae||!Fe)return!1;if(Object.prototype.toString.call(Fe)=="[object RegExp]")return Fe.test(Ae);try{if(Ae instanceof Fe)return!0}catch(ke){}return Error.isPrototypeOf(Fe)?!1:Fe.call({},Ae)===!0}function be(Ae){var Fe;try{Ae()}catch(ke){Fe=ke}return Fe}function je(Ae,Fe,ke,Ve){var De;if(typeof Fe!="function")throw new TypeError('"block" argument must be a function');typeof ke=="string"&&(Ve=ke,ke=null),De=be(Fe),Ve=(ke&&ke.name?" ("+ke.name+").":".")+(Ve?" "+Ve:"."),Ae&&!De&&se(De,ke,"Missing expected exception"+Ve);var ut=typeof Ve=="string",nt=!Ae&&le.isError(De),qe=!Ae&&De&&!ke;if((nt&&ut&&Se(De,ke)||qe)&&se(De,ke,"Got unwanted exception"+Ve),Ae&&De&&ke&&!Se(De,ke)||!Ae&&De)throw De}y.throws=function(Ae,Fe,ke){je(!0,Ae,Fe,ke)},y.doesNotThrow=function(Ae,Fe,ke){je(!1,Ae,Fe,ke)},y.ifError=function(Ae){if(Ae)throw Ae};function we(Ae,Fe){Ae||se(Ae,!0,Fe,"==",we)}y.strict=te(we,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var Oe=Object.keys||function(Ae){var Fe=[];for(var ke in Ae)ce.call(Ae,ke)&&Fe.push(ke);return Fe}}).call(this)}).call(this,typeof Ct!="undefined"?Ct:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,ye,me){typeof Object.create=="function"?ye.exports=function(te,ue){te.super_=ue,te.prototype=Object.create(ue.prototype,{constructor:{value:te,enumerable:!1,writable:!0,configurable:!0}})}:ye.exports=function(te,ue){te.super_=ue;var de=function(){};de.prototype=ue.prototype,te.prototype=new de,te.prototype.constructor=te}},{}],84:[function(E,ye,me){ye.exports=function(te){return te&&typeof te=="object"&&typeof te.copy=="function"&&typeof te.fill=="function"&&typeof te.readUInt8=="function"}},{}],85:[function(E,ye,me){(function(oe,te){(function(){var ue=/%[sdj%]/g;me.format=function(qe){if(!he(qe)){for(var Xe=[],$e=0;$e<arguments.length;$e++)Xe.push(ce(arguments[$e]));return Xe.join(" ")}for(var $e=1,Ue=arguments,Be=Ue.length,tt=String(qe).replace(ue,function(ft){if(ft==="%%")return"%";if($e>=Be)return ft;switch(ft){case"%s":return String(Ue[$e++]);case"%d":return Number(Ue[$e++]);case"%j":try{return JSON.stringify(Ue[$e++])}catch(Ze){return"[Circular]"}default:return ft}}),Je=Ue[$e];$e<Be;Je=Ue[++$e])fe(Je)||!je(Je)?tt+=" "+Je:tt+=" "+ce(Je);return tt},me.deprecate=function(qe,Xe){if(Se(te.process))return function(){return me.deprecate(qe,Xe).apply(this,arguments)};if(oe.noDeprecation===!0)return qe;var $e=!1;function Ue(){if(!$e){if(oe.throwDeprecation)throw new Error(Xe);oe.traceDeprecation?console.trace(Xe):console.error(Xe),$e=!0}return qe.apply(this,arguments)}return Ue};var de={},le;me.debuglog=function(qe){if(Se(le)&&(le=oe.env.NODE_DEBUG||""),qe=qe.toUpperCase(),!de[qe])if(new RegExp("\\b"+qe+"\\b","i").test(le)){var Xe=oe.pid;de[qe]=function(){var $e=me.format.apply(me,arguments);console.error("%s %d: %s",qe,Xe,$e)}}else de[qe]=function(){};return de[qe]};function ce(qe,Xe){var $e={seen:[],stylize:ie};return arguments.length>=3&&($e.depth=arguments[2]),arguments.length>=4&&($e.colors=arguments[3]),se(Xe)?$e.showHidden=Xe:Xe&&me._extend($e,Xe),Se($e.showHidden)&&($e.showHidden=!1),Se($e.depth)&&($e.depth=2),Se($e.colors)&&($e.colors=!1),Se($e.customInspect)&&($e.customInspect=!0),$e.colors&&($e.stylize=ae),a($e,qe,$e.depth)}me.inspect=ce,ce.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]},ce.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ae(qe,Xe){var $e=ce.styles[Xe];return $e?"\x1B["+ce.colors[$e][0]+"m"+qe+"\x1B["+ce.colors[$e][1]+"m":qe}function ie(qe,Xe){return qe}function ne(qe){var Xe={};return qe.forEach(function($e,Ue){Xe[$e]=!0}),Xe}function a(qe,Xe,$e){if(qe.customInspect&&Xe&&Ae(Xe.inspect)&&Xe.inspect!==me.inspect&&!(Xe.constructor&&Xe.constructor.prototype===Xe)){var Ue=Xe.inspect($e,qe);return he(Ue)||(Ue=a(qe,Ue,$e)),Ue}var Be=y(qe,Xe);if(Be)return Be;var tt=Object.keys(Xe),Je=ne(tt);if(qe.showHidden&&(tt=Object.getOwnPropertyNames(Xe)),Oe(Xe)&&(tt.indexOf("message")>=0||tt.indexOf("description")>=0))return x(Xe);if(tt.length===0){if(Ae(Xe)){var ft=Xe.name?": "+Xe.name:"";return qe.stylize("[Function"+ft+"]","special")}if(be(Xe))return qe.stylize(RegExp.prototype.toString.call(Xe),"regexp");if(we(Xe))return qe.stylize(Date.prototype.toString.call(Xe),"date");if(Oe(Xe))return x(Xe)}var Ze="",Ge=!1,Le=["{","}"];if(re(Xe)&&(Ge=!0,Le=["[","]"]),Ae(Xe)){var Ke=Xe.name?": "+Xe.name:"";Ze=" [Function"+Ke+"]"}if(be(Xe)&&(Ze=" "+RegExp.prototype.toString.call(Xe)),we(Xe)&&(Ze=" "+Date.prototype.toUTCString.call(Xe)),Oe(Xe)&&(Ze=" "+x(Xe)),tt.length===0&&(!Ge||Xe.length==0))return Le[0]+Ze+Le[1];if($e<0)return be(Xe)?qe.stylize(RegExp.prototype.toString.call(Xe),"regexp"):qe.stylize("[Object]","special");qe.seen.push(Xe);var Ee;return Ge?Ee=b(qe,Xe,$e,Je,tt):Ee=tt.map(function(Re){return z(qe,Xe,$e,Je,Re,Ge)}),qe.seen.pop(),ee(Ee,Ze,Le)}function y(qe,Xe){if(Se(Xe))return qe.stylize("undefined","undefined");if(he(Xe)){var $e="'"+JSON.stringify(Xe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return qe.stylize($e,"string")}if(ge(Xe))return qe.stylize(""+Xe,"number");if(se(Xe))return qe.stylize(""+Xe,"boolean");if(fe(Xe))return qe.stylize("null","null")}function x(qe){return"["+Error.prototype.toString.call(qe)+"]"}function b(qe,Xe,$e,Ue,Be){for(var tt=[],Je=0,ft=Xe.length;Je<ft;++Je)nt(Xe,String(Je))?tt.push(z(qe,Xe,$e,Ue,String(Je),!0)):tt.push("");return Be.forEach(function(Ze){Ze.match(/^\d+$/)||tt.push(z(qe,Xe,$e,Ue,Ze,!0))}),tt}function z(qe,Xe,$e,Ue,Be,tt){var Je,ft,Ze;if(Ze=Object.getOwnPropertyDescriptor(Xe,Be)||{value:Xe[Be]},Ze.get?Ze.set?ft=qe.stylize("[Getter/Setter]","special"):ft=qe.stylize("[Getter]","special"):Ze.set&&(ft=qe.stylize("[Setter]","special")),nt(Ue,Be)||(Je="["+Be+"]"),ft||(qe.seen.indexOf(Ze.value)<0?(fe($e)?ft=a(qe,Ze.value,null):ft=a(qe,Ze.value,$e-1),ft.indexOf(`
|
|
`)>-1&&(tt?ft=ft.split(`
|
|
`).map(function(Ge){return" "+Ge}).join(`
|
|
`).substr(2):ft=`
|
|
`+ft.split(`
|
|
`).map(function(Ge){return" "+Ge}).join(`
|
|
`))):ft=qe.stylize("[Circular]","special")),Se(Je)){if(tt&&Be.match(/^\d+$/))return ft;Je=JSON.stringify(""+Be),Je.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Je=Je.substr(1,Je.length-2),Je=qe.stylize(Je,"name")):(Je=Je.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Je=qe.stylize(Je,"string"))}return Je+": "+ft}function ee(qe,Xe,$e){var Ue=0,Be=qe.reduce(function(tt,Je){return Ue++,Je.indexOf(`
|
|
`)>=0&&Ue++,tt+Je.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Be>60?$e[0]+(Xe===""?"":Xe+`
|
|
`)+" "+qe.join(`,
|
|
`)+" "+$e[1]:$e[0]+Xe+" "+qe.join(", ")+" "+$e[1]}function re(qe){return Array.isArray(qe)}me.isArray=re;function se(qe){return typeof qe=="boolean"}me.isBoolean=se;function fe(qe){return qe===null}me.isNull=fe;function ve(qe){return qe==null}me.isNullOrUndefined=ve;function ge(qe){return typeof qe=="number"}me.isNumber=ge;function he(qe){return typeof qe=="string"}me.isString=he;function pe(qe){return typeof qe=="symbol"}me.isSymbol=pe;function Se(qe){return qe===void 0}me.isUndefined=Se;function be(qe){return je(qe)&&ke(qe)==="[object RegExp]"}me.isRegExp=be;function je(qe){return typeof qe=="object"&&qe!==null}me.isObject=je;function we(qe){return je(qe)&&ke(qe)==="[object Date]"}me.isDate=we;function Oe(qe){return je(qe)&&(ke(qe)==="[object Error]"||qe instanceof Error)}me.isError=Oe;function Ae(qe){return typeof qe=="function"}me.isFunction=Ae;function Fe(qe){return qe===null||typeof qe=="boolean"||typeof qe=="number"||typeof qe=="string"||typeof qe=="symbol"||typeof qe=="undefined"}me.isPrimitive=Fe,me.isBuffer=E("./support/isBuffer");function ke(qe){return Object.prototype.toString.call(qe)}function Ve(qe){return qe<10?"0"+qe.toString(10):qe.toString(10)}var De=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ut(){var qe=new Date,Xe=[Ve(qe.getHours()),Ve(qe.getMinutes()),Ve(qe.getSeconds())].join(":");return[qe.getDate(),De[qe.getMonth()],Xe].join(" ")}me.log=function(){console.log("%s - %s",ut(),me.format.apply(me,arguments))},me.inherits=E("inherits"),me._extend=function(qe,Xe){if(!Xe||!je(Xe))return qe;for(var $e=Object.keys(Xe),Ue=$e.length;Ue--;)qe[$e[Ue]]=Xe[$e[Ue]];return qe};function nt(qe,Xe){return Object.prototype.hasOwnProperty.call(qe,Xe)}}).call(this)}).call(this,E("_process"),typeof Ct!="undefined"?Ct:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,ye,me){(function(oe){(function(){"use strict";var te=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ue=typeof globalThis=="undefined"?oe:globalThis;ye.exports=function(){for(var le=[],ce=0;ce<te.length;ce++)typeof ue[te[ce]]=="function"&&(le[le.length]=te[ce]);return le}}).call(this)}).call(this,typeof Ct!="undefined"?Ct:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(E,ye,me){"use strict";me.byteLength=ie,me.toByteArray=a,me.fromByteArray=b;for(var oe=[],te=[],ue=typeof Uint8Array!="undefined"?Uint8Array:Array,de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=0,ce=de.length;le<ce;++le)oe[le]=de[le],te[de.charCodeAt(le)]=le;te[45]=62,te[95]=63;function ae(z){var ee=z.length;if(ee%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var re=z.indexOf("=");re===-1&&(re=ee);var se=re===ee?0:4-re%4;return[re,se]}function ie(z){var ee=ae(z),re=ee[0],se=ee[1];return(re+se)*3/4-se}function ne(z,ee,re){return(ee+re)*3/4-re}function a(z){var ee,re=ae(z),se=re[0],fe=re[1],ve=new ue(ne(z,se,fe)),ge=0,he=fe>0?se-4:se,pe;for(pe=0;pe<he;pe+=4)ee=te[z.charCodeAt(pe)]<<18|te[z.charCodeAt(pe+1)]<<12|te[z.charCodeAt(pe+2)]<<6|te[z.charCodeAt(pe+3)],ve[ge++]=ee>>16&255,ve[ge++]=ee>>8&255,ve[ge++]=ee&255;return fe===2&&(ee=te[z.charCodeAt(pe)]<<2|te[z.charCodeAt(pe+1)]>>4,ve[ge++]=ee&255),fe===1&&(ee=te[z.charCodeAt(pe)]<<10|te[z.charCodeAt(pe+1)]<<4|te[z.charCodeAt(pe+2)]>>2,ve[ge++]=ee>>8&255,ve[ge++]=ee&255),ve}function y(z){return oe[z>>18&63]+oe[z>>12&63]+oe[z>>6&63]+oe[z&63]}function x(z,ee,re){for(var se,fe=[],ve=ee;ve<re;ve+=3)se=(z[ve]<<16&16711680)+(z[ve+1]<<8&65280)+(z[ve+2]&255),fe.push(y(se));return fe.join("")}function b(z){for(var ee,re=z.length,se=re%3,fe=[],ve=16383,ge=0,he=re-se;ge<he;ge+=ve)fe.push(x(z,ge,ge+ve>he?he:ge+ve));return se===1?(ee=z[re-1],fe.push(oe[ee>>2]+oe[ee<<4&63]+"==")):se===2&&(ee=(z[re-2]<<8)+z[re-1],fe.push(oe[ee>>10]+oe[ee>>4&63]+oe[ee<<2&63]+"=")),fe.join("")}},{}],88:[function(E,ye,me){(function(oe,te,ue){typeof ye!="undefined"&&ye.exports?ye.exports=ue():typeof Pe=="function"&&Pe.amd?Pe(te,ue):oe[te]=ue()})(this,"bowser",function(){var oe=!0;function te(ne){function a(Xe){var $e=ne.match(Xe);return $e&&$e.length>1&&$e[1]||""}function y(Xe){var $e=ne.match(Xe);return $e&&$e.length>1&&$e[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(ne),z=!b&&/android/i.test(ne),ee=/nexus\s*[0-6]\s*/i.test(ne),re=!ee&&/nexus\s*[0-9]+/i.test(ne),se=/CrOS/.test(ne),fe=/silk/i.test(ne),ve=/sailfish/i.test(ne),ge=/tizen/i.test(ne),he=/(web|hpw)(o|0)s/i.test(ne),pe=/windows phone/i.test(ne),Se=/SamsungBrowser/i.test(ne),be=!pe&&/windows/i.test(ne),je=!x&&!fe&&/macintosh/i.test(ne),we=!z&&!ve&&!ge&&!he&&/linux/i.test(ne),Oe=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Ae=a(/version\/(\d+(\.\d+)?)/i),Fe=/tablet/i.test(ne)&&!/tablet pc/i.test(ne),ke=!Fe&&/[^-]mobi/i.test(ne),Ve=/xbox/i.test(ne),De;/opera/i.test(ne)?De={name:"Opera",opera:oe,version:Ae||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ne)?De={name:"Opera",opera:oe,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Ae}:/SamsungBrowser/i.test(ne)?De={name:"Samsung Internet for Android",samsungBrowser:oe,version:Ae||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ne)?De={name:"NAVER Whale browser",whale:oe,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ne)?De={name:"MZ Browser",mzbrowser:oe,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ne)?De={name:"Opera Coast",coast:oe,version:Ae||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ne)?De={name:"Focus",focus:oe,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ne)?De={name:"Yandex Browser",yandexbrowser:oe,version:Ae||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ne)?De={name:"UC Browser",ucbrowser:oe,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ne)?De={name:"Maxthon",maxthon:oe,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ne)?De={name:"Epiphany",epiphany:oe,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ne)?De={name:"Puffin",puffin:oe,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ne)?De={name:"Sleipnir",sleipnir:oe,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ne)?De={name:"K-Meleon",kMeleon:oe,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:pe?(De={name:"Windows Phone",osname:"Windows Phone",windowsphone:oe},Oe?(De.msedge=oe,De.version=Oe):(De.msie=oe,De.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ne)?De={name:"Internet Explorer",msie:oe,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:se?De={name:"Chrome",osname:"Chrome OS",chromeos:oe,chromeBook:oe,chrome:oe,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ne)?De={name:"Microsoft Edge",msedge:oe,version:Oe}:/vivaldi/i.test(ne)?De={name:"Vivaldi",vivaldi:oe,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||Ae}:ve?De={name:"Sailfish",osname:"Sailfish OS",sailfish:oe,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ne)?De={name:"SeaMonkey",seamonkey:oe,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ne)?(De={name:"Firefox",firefox:oe,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ne)&&(De.firefoxos=oe,De.osname="Firefox OS")):fe?De={name:"Amazon Silk",silk:oe,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ne)?De={name:"PhantomJS",phantom:oe,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ne)?De={name:"SlimerJS",slimer:oe,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ne)||/rim\stablet/i.test(ne)?De={name:"BlackBerry",osname:"BlackBerry OS",blackberry:oe,version:Ae||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:he?(De={name:"WebOS",osname:"WebOS",webos:oe,version:Ae||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ne)&&(De.touchpad=oe)):/bada/i.test(ne)?De={name:"Bada",osname:"Bada",bada:oe,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:ge?De={name:"Tizen",osname:"Tizen",tizen:oe,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Ae}:/qupzilla/i.test(ne)?De={name:"QupZilla",qupzilla:oe,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Ae}:/chromium/i.test(ne)?De={name:"Chromium",chromium:oe,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Ae}:/chrome|crios|crmo/i.test(ne)?De={name:"Chrome",chrome:oe,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:z?De={name:"Android",version:Ae}:/safari|applewebkit/i.test(ne)?(De={name:"Safari",safari:oe},Ae&&(De.version=Ae)):x?(De={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},Ae&&(De.version=Ae)):/googlebot/i.test(ne)?De={name:"Googlebot",googlebot:oe,version:a(/googlebot\/(\d+(\.\d+))/i)||Ae}:De={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!De.msedge&&/(apple)?webkit/i.test(ne)?(/(apple)?webkit\/537\.36/i.test(ne)?(De.name=De.name||"Blink",De.blink=oe):(De.name=De.name||"Webkit",De.webkit=oe),!De.version&&Ae&&(De.version=Ae)):!De.opera&&/gecko\//i.test(ne)&&(De.name=De.name||"Gecko",De.gecko=oe,De.version=De.version||a(/gecko\/(\d+(\.\d+)?)/i)),!De.windowsphone&&(z||De.silk)?(De.android=oe,De.osname="Android"):!De.windowsphone&&x?(De[x]=oe,De.ios=oe,De.osname="iOS"):je?(De.mac=oe,De.osname="macOS"):Ve?(De.xbox=oe,De.osname="Xbox"):be?(De.windows=oe,De.osname="Windows"):we&&(De.linux=oe,De.osname="Linux");function ut(Xe){switch(Xe){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 nt="";De.windows?nt=ut(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):De.windowsphone?nt=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):De.mac?(nt=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),nt=nt.replace(/[_\s]/g,".")):x?(nt=a(/os (\d+([_\s]\d+)*) like mac os x/i),nt=nt.replace(/[_\s]/g,".")):z?nt=a(/android[ \/-](\d+(\.\d+)*)/i):De.webos?nt=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):De.blackberry?nt=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):De.bada?nt=a(/bada\/(\d+(\.\d+)*)/i):De.tizen&&(nt=a(/tizen[\/\s](\d+(\.\d+)*)/i)),nt&&(De.osversion=nt);var qe=!De.windows&&nt.split(".")[0];return Fe||re||x=="ipad"||z&&(qe==3||qe>=4&&!ke)||De.silk?De.tablet=oe:(ke||x=="iphone"||x=="ipod"||z||ee||De.blackberry||De.webos||De.bada)&&(De.mobile=oe),De.msedge||De.msie&&De.version>=10||De.yandexbrowser&&De.version>=15||De.vivaldi&&De.version>=1||De.chrome&&De.version>=20||De.samsungBrowser&&De.version>=4||De.whale&&ce([De.version,"1.0"])===1||De.mzbrowser&&ce([De.version,"6.0"])===1||De.focus&&ce([De.version,"1.0"])===1||De.firefox&&De.version>=20||De.safari&&De.version>=6||De.opera&&De.version>=10||De.ios&&De.osversion&&De.osversion.split(".")[0]>=6||De.blackberry&&De.version>=10.1||De.chromium&&De.version>=20?De.a=oe:De.msie&&De.version<10||De.chrome&&De.version<20||De.firefox&&De.version<20||De.safari&&De.version<6||De.opera&&De.version<10||De.ios&&De.osversion&&De.osversion.split(".")[0]<6||De.chromium&&De.version<20?De.c=oe:De.x=oe,De}var ue=te(typeof navigator!="undefined"&&navigator.userAgent||"");ue.test=function(ne){for(var a=0;a<ne.length;++a){var y=ne[a];if(typeof y=="string"&&y in ue)return!0}return!1};function de(ne){return ne.split(".").length}function le(ne,a){var y=[],x;if(Array.prototype.map)return Array.prototype.map.call(ne,a);for(x=0;x<ne.length;x++)y.push(a(ne[x]));return y}function ce(ne){for(var a=Math.max(de(ne[0]),de(ne[1])),y=le(ne,function(x){var b=a-de(x);return x=x+new Array(b+1).join(".0"),le(x.split("."),function(z){return new Array(20-z.length).join("0")+z}).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 ae(ne,a,y){var x=ue;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=te(y));var b=""+x.version;for(var z in ne)if(ne.hasOwnProperty(z)&&x[z]){if(typeof ne[z]!="string")throw new Error("Browser version in the minVersion map should be a string: "+z+": "+String(ne));return ce([b,ne[z]])<0}return a}function ie(ne,a,y){return!ae(ne,a,y)}return ue.isUnsupportedBrowser=ae,ue.compareVersions=ce,ue.check=ie,ue._detect=te,ue.detect=te,ue})},{}],89:[function(E,ye,me){},{}],90:[function(E,ye,me){(function(oe){(function(){"use strict";var te=E("base64-js"),ue=E("ieee754");me.Buffer=ae,me.SlowBuffer=se,me.INSPECT_MAX_BYTES=50;var de=2147483647;me.kMaxLength=de,ae.TYPED_ARRAY_SUPPORT=le(),!ae.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 le(){try{var Ce=new Uint8Array(1);return Ce.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Ce.foo()===42}catch(xe){return!1}}Object.defineProperty(ae.prototype,"parent",{enumerable:!0,get:function(){if(ae.isBuffer(this))return this.buffer}}),Object.defineProperty(ae.prototype,"offset",{enumerable:!0,get:function(){if(ae.isBuffer(this))return this.byteOffset}});function ce(Ce){if(Ce>de)throw new RangeError('The value "'+Ce+'" is invalid for option "size"');var xe=new Uint8Array(Ce);return xe.__proto__=ae.prototype,xe}function ae(Ce,xe,Ne){if(typeof Ce=="number"){if(typeof xe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(Ce)}return ie(Ce,xe,Ne)}typeof Symbol!="undefined"&&Symbol.species!=null&&ae[Symbol.species]===ae&&Object.defineProperty(ae,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),ae.poolSize=8192;function ie(Ce,xe,Ne){if(typeof Ce=="string")return x(Ce,xe);if(ArrayBuffer.isView(Ce))return b(Ce);if(Ce==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ce);if(Ye(Ce,ArrayBuffer)||Ce&&Ye(Ce.buffer,ArrayBuffer))return z(Ce,xe,Ne);if(typeof Ce=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ze=Ce.valueOf&&Ce.valueOf();if(ze!=null&&ze!==Ce)return ae.from(ze,xe,Ne);var it=ee(Ce);if(it)return it;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Ce[Symbol.toPrimitive]=="function")return ae.from(Ce[Symbol.toPrimitive]("string"),xe,Ne);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ce)}ae.from=function(Ce,xe,Ne){return ie(Ce,xe,Ne)},ae.prototype.__proto__=Uint8Array.prototype,ae.__proto__=Uint8Array;function ne(Ce){if(typeof Ce!="number")throw new TypeError('"size" argument must be of type number');if(Ce<0)throw new RangeError('The value "'+Ce+'" is invalid for option "size"')}function a(Ce,xe,Ne){return ne(Ce),Ce<=0?ce(Ce):xe!==void 0?typeof Ne=="string"?ce(Ce).fill(xe,Ne):ce(Ce).fill(xe):ce(Ce)}ae.alloc=function(Ce,xe,Ne){return a(Ce,xe,Ne)};function y(Ce){return ne(Ce),ce(Ce<0?0:re(Ce)|0)}ae.allocUnsafe=function(Ce){return y(Ce)},ae.allocUnsafeSlow=function(Ce){return y(Ce)};function x(Ce,xe){if((typeof xe!="string"||xe==="")&&(xe="utf8"),!ae.isEncoding(xe))throw new TypeError("Unknown encoding: "+xe);var Ne=fe(Ce,xe)|0,ze=ce(Ne),it=ze.write(Ce,xe);return it!==Ne&&(ze=ze.slice(0,it)),ze}function b(Ce){for(var xe=Ce.length<0?0:re(Ce.length)|0,Ne=ce(xe),ze=0;ze<xe;ze+=1)Ne[ze]=Ce[ze]&255;return Ne}function z(Ce,xe,Ne){if(xe<0||Ce.byteLength<xe)throw new RangeError('"offset" is outside of buffer bounds');if(Ce.byteLength<xe+(Ne||0))throw new RangeError('"length" is outside of buffer bounds');var ze;return xe===void 0&&Ne===void 0?ze=new Uint8Array(Ce):Ne===void 0?ze=new Uint8Array(Ce,xe):ze=new Uint8Array(Ce,xe,Ne),ze.__proto__=ae.prototype,ze}function ee(Ce){if(ae.isBuffer(Ce)){var xe=re(Ce.length)|0,Ne=ce(xe);return Ne.length===0||Ce.copy(Ne,0,0,xe),Ne}if(Ce.length!==void 0)return typeof Ce.length!="number"||We(Ce.length)?ce(0):b(Ce);if(Ce.type==="Buffer"&&Array.isArray(Ce.data))return b(Ce.data)}function re(Ce){if(Ce>=de)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+de.toString(16)+" bytes");return Ce|0}function se(Ce){return+Ce!=Ce&&(Ce=0),ae.alloc(+Ce)}ae.isBuffer=function(xe){return xe!=null&&xe._isBuffer===!0&&xe!==ae.prototype},ae.compare=function(xe,Ne){if(Ye(xe,Uint8Array)&&(xe=ae.from(xe,xe.offset,xe.byteLength)),Ye(Ne,Uint8Array)&&(Ne=ae.from(Ne,Ne.offset,Ne.byteLength)),!ae.isBuffer(xe)||!ae.isBuffer(Ne))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(xe===Ne)return 0;for(var ze=xe.length,it=Ne.length,St=0,dt=Math.min(ze,it);St<dt;++St)if(xe[St]!==Ne[St]){ze=xe[St],it=Ne[St];break}return ze<it?-1:it<ze?1:0},ae.isEncoding=function(xe){switch(String(xe).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}},ae.concat=function(xe,Ne){if(!Array.isArray(xe))throw new TypeError('"list" argument must be an Array of Buffers');if(xe.length===0)return ae.alloc(0);var ze;if(Ne===void 0)for(Ne=0,ze=0;ze<xe.length;++ze)Ne+=xe[ze].length;var it=ae.allocUnsafe(Ne),St=0;for(ze=0;ze<xe.length;++ze){var dt=xe[ze];if(Ye(dt,Uint8Array)&&(dt=ae.from(dt)),!ae.isBuffer(dt))throw new TypeError('"list" argument must be an Array of Buffers');dt.copy(it,St),St+=dt.length}return it};function fe(Ce,xe){if(ae.isBuffer(Ce))return Ce.length;if(ArrayBuffer.isView(Ce)||Ye(Ce,ArrayBuffer))return Ce.byteLength;if(typeof Ce!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Ce);var Ne=Ce.length,ze=arguments.length>2&&arguments[2]===!0;if(!ze&&Ne===0)return 0;for(var it=!1;;)switch(xe){case"ascii":case"latin1":case"binary":return Ne;case"utf8":case"utf-8":return Le(Ce).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ne*2;case"hex":return Ne>>>1;case"base64":return Re(Ce).length;default:if(it)return ze?-1:Le(Ce).length;xe=(""+xe).toLowerCase(),it=!0}}ae.byteLength=fe;function ve(Ce,xe,Ne){var ze=!1;if((xe===void 0||xe<0)&&(xe=0),xe>this.length||((Ne===void 0||Ne>this.length)&&(Ne=this.length),Ne<=0)||(Ne>>>=0,xe>>>=0,Ne<=xe))return"";for(Ce||(Ce="utf8");;)switch(Ce){case"hex":return qe(this,xe,Ne);case"utf8":case"utf-8":return ke(this,xe,Ne);case"ascii":return ut(this,xe,Ne);case"latin1":case"binary":return nt(this,xe,Ne);case"base64":return Fe(this,xe,Ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xe(this,xe,Ne);default:if(ze)throw new TypeError("Unknown encoding: "+Ce);Ce=(Ce+"").toLowerCase(),ze=!0}}ae.prototype._isBuffer=!0;function ge(Ce,xe,Ne){var ze=Ce[xe];Ce[xe]=Ce[Ne],Ce[Ne]=ze}ae.prototype.swap16=function(){var xe=this.length;if(xe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Ne=0;Ne<xe;Ne+=2)ge(this,Ne,Ne+1);return this},ae.prototype.swap32=function(){var xe=this.length;if(xe%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Ne=0;Ne<xe;Ne+=4)ge(this,Ne,Ne+3),ge(this,Ne+1,Ne+2);return this},ae.prototype.swap64=function(){var xe=this.length;if(xe%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Ne=0;Ne<xe;Ne+=8)ge(this,Ne,Ne+7),ge(this,Ne+1,Ne+6),ge(this,Ne+2,Ne+5),ge(this,Ne+3,Ne+4);return this},ae.prototype.toString=function(){var xe=this.length;return xe===0?"":arguments.length===0?ke(this,0,xe):ve.apply(this,arguments)},ae.prototype.toLocaleString=ae.prototype.toString,ae.prototype.equals=function(xe){if(!ae.isBuffer(xe))throw new TypeError("Argument must be a Buffer");return this===xe?!0:ae.compare(this,xe)===0},ae.prototype.inspect=function(){var xe="",Ne=me.INSPECT_MAX_BYTES;return xe=this.toString("hex",0,Ne).replace(/(.{2})/g,"$1 ").trim(),this.length>Ne&&(xe+=" ... "),"<Buffer "+xe+">"},ae.prototype.compare=function(xe,Ne,ze,it,St){if(Ye(xe,Uint8Array)&&(xe=ae.from(xe,xe.offset,xe.byteLength)),!ae.isBuffer(xe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof xe);if(Ne===void 0&&(Ne=0),ze===void 0&&(ze=xe?xe.length:0),it===void 0&&(it=0),St===void 0&&(St=this.length),Ne<0||ze>xe.length||it<0||St>this.length)throw new RangeError("out of range index");if(it>=St&&Ne>=ze)return 0;if(it>=St)return-1;if(Ne>=ze)return 1;if(Ne>>>=0,ze>>>=0,it>>>=0,St>>>=0,this===xe)return 0;for(var dt=St-it,bt=ze-Ne,an=Math.min(dt,bt),kt=this.slice(it,St),lt=xe.slice(Ne,ze),at=0;at<an;++at)if(kt[at]!==lt[at]){dt=kt[at],bt=lt[at];break}return dt<bt?-1:bt<dt?1:0};function he(Ce,xe,Ne,ze,it){if(Ce.length===0)return-1;if(typeof Ne=="string"?(ze=Ne,Ne=0):Ne>2147483647?Ne=2147483647:Ne<-2147483648&&(Ne=-2147483648),Ne=+Ne,We(Ne)&&(Ne=it?0:Ce.length-1),Ne<0&&(Ne=Ce.length+Ne),Ne>=Ce.length){if(it)return-1;Ne=Ce.length-1}else if(Ne<0)if(it)Ne=0;else return-1;if(typeof xe=="string"&&(xe=ae.from(xe,ze)),ae.isBuffer(xe))return xe.length===0?-1:pe(Ce,xe,Ne,ze,it);if(typeof xe=="number")return xe=xe&255,typeof Uint8Array.prototype.indexOf=="function"?it?Uint8Array.prototype.indexOf.call(Ce,xe,Ne):Uint8Array.prototype.lastIndexOf.call(Ce,xe,Ne):pe(Ce,[xe],Ne,ze,it);throw new TypeError("val must be string, number or Buffer")}function pe(Ce,xe,Ne,ze,it){var St=1,dt=Ce.length,bt=xe.length;if(ze!==void 0&&(ze=String(ze).toLowerCase(),ze==="ucs2"||ze==="ucs-2"||ze==="utf16le"||ze==="utf-16le")){if(Ce.length<2||xe.length<2)return-1;St=2,dt/=2,bt/=2,Ne/=2}function an(rt,_e){return St===1?rt[_e]:rt.readUInt16BE(_e*St)}var kt;if(it){var lt=-1;for(kt=Ne;kt<dt;kt++)if(an(Ce,kt)===an(xe,lt===-1?0:kt-lt)){if(lt===-1&&(lt=kt),kt-lt+1===bt)return lt*St}else lt!==-1&&(kt-=kt-lt),lt=-1}else for(Ne+bt>dt&&(Ne=dt-bt),kt=Ne;kt>=0;kt--){for(var at=!0,Dt=0;Dt<bt;Dt++)if(an(Ce,kt+Dt)!==an(xe,Dt)){at=!1;break}if(at)return kt}return-1}ae.prototype.includes=function(xe,Ne,ze){return this.indexOf(xe,Ne,ze)!==-1},ae.prototype.indexOf=function(xe,Ne,ze){return he(this,xe,Ne,ze,!0)},ae.prototype.lastIndexOf=function(xe,Ne,ze){return he(this,xe,Ne,ze,!1)};function Se(Ce,xe,Ne,ze){Ne=Number(Ne)||0;var it=Ce.length-Ne;ze?(ze=Number(ze),ze>it&&(ze=it)):ze=it;var St=xe.length;ze>St/2&&(ze=St/2);for(var dt=0;dt<ze;++dt){var bt=parseInt(xe.substr(dt*2,2),16);if(We(bt))return dt;Ce[Ne+dt]=bt}return dt}function be(Ce,xe,Ne,ze){return Qe(Le(xe,Ce.length-Ne),Ce,Ne,ze)}function je(Ce,xe,Ne,ze){return Qe(Ke(xe),Ce,Ne,ze)}function we(Ce,xe,Ne,ze){return je(Ce,xe,Ne,ze)}function Oe(Ce,xe,Ne,ze){return Qe(Re(xe),Ce,Ne,ze)}function Ae(Ce,xe,Ne,ze){return Qe(Ee(xe,Ce.length-Ne),Ce,Ne,ze)}ae.prototype.write=function(xe,Ne,ze,it){if(Ne===void 0)it="utf8",ze=this.length,Ne=0;else if(ze===void 0&&typeof Ne=="string")it=Ne,ze=this.length,Ne=0;else if(isFinite(Ne))Ne=Ne>>>0,isFinite(ze)?(ze=ze>>>0,it===void 0&&(it="utf8")):(it=ze,ze=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var St=this.length-Ne;if((ze===void 0||ze>St)&&(ze=St),xe.length>0&&(ze<0||Ne<0)||Ne>this.length)throw new RangeError("Attempt to write outside buffer bounds");it||(it="utf8");for(var dt=!1;;)switch(it){case"hex":return Se(this,xe,Ne,ze);case"utf8":case"utf-8":return be(this,xe,Ne,ze);case"ascii":return je(this,xe,Ne,ze);case"latin1":case"binary":return we(this,xe,Ne,ze);case"base64":return Oe(this,xe,Ne,ze);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ae(this,xe,Ne,ze);default:if(dt)throw new TypeError("Unknown encoding: "+it);it=(""+it).toLowerCase(),dt=!0}},ae.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Fe(Ce,xe,Ne){return xe===0&&Ne===Ce.length?te.fromByteArray(Ce):te.fromByteArray(Ce.slice(xe,Ne))}function ke(Ce,xe,Ne){Ne=Math.min(Ce.length,Ne);for(var ze=[],it=xe;it<Ne;){var St=Ce[it],dt=null,bt=St>239?4:St>223?3:St>191?2:1;if(it+bt<=Ne){var an,kt,lt,at;switch(bt){case 1:St<128&&(dt=St);break;case 2:an=Ce[it+1],(an&192)===128&&(at=(St&31)<<6|an&63,at>127&&(dt=at));break;case 3:an=Ce[it+1],kt=Ce[it+2],(an&192)===128&&(kt&192)===128&&(at=(St&15)<<12|(an&63)<<6|kt&63,at>2047&&(at<55296||at>57343)&&(dt=at));break;case 4:an=Ce[it+1],kt=Ce[it+2],lt=Ce[it+3],(an&192)===128&&(kt&192)===128&&(lt&192)===128&&(at=(St&15)<<18|(an&63)<<12|(kt&63)<<6|lt&63,at>65535&&at<1114112&&(dt=at))}}dt===null?(dt=65533,bt=1):dt>65535&&(dt-=65536,ze.push(dt>>>10&1023|55296),dt=56320|dt&1023),ze.push(dt),it+=bt}return De(ze)}var Ve=4096;function De(Ce){var xe=Ce.length;if(xe<=Ve)return String.fromCharCode.apply(String,Ce);for(var Ne="",ze=0;ze<xe;)Ne+=String.fromCharCode.apply(String,Ce.slice(ze,ze+=Ve));return Ne}function ut(Ce,xe,Ne){var ze="";Ne=Math.min(Ce.length,Ne);for(var it=xe;it<Ne;++it)ze+=String.fromCharCode(Ce[it]&127);return ze}function nt(Ce,xe,Ne){var ze="";Ne=Math.min(Ce.length,Ne);for(var it=xe;it<Ne;++it)ze+=String.fromCharCode(Ce[it]);return ze}function qe(Ce,xe,Ne){var ze=Ce.length;(!xe||xe<0)&&(xe=0),(!Ne||Ne<0||Ne>ze)&&(Ne=ze);for(var it="",St=xe;St<Ne;++St)it+=Ge(Ce[St]);return it}function Xe(Ce,xe,Ne){for(var ze=Ce.slice(xe,Ne),it="",St=0;St<ze.length;St+=2)it+=String.fromCharCode(ze[St]+ze[St+1]*256);return it}ae.prototype.slice=function(xe,Ne){var ze=this.length;xe=~~xe,Ne=Ne===void 0?ze:~~Ne,xe<0?(xe+=ze,xe<0&&(xe=0)):xe>ze&&(xe=ze),Ne<0?(Ne+=ze,Ne<0&&(Ne=0)):Ne>ze&&(Ne=ze),Ne<xe&&(Ne=xe);var it=this.subarray(xe,Ne);return it.__proto__=ae.prototype,it};function $e(Ce,xe,Ne){if(Ce%1!==0||Ce<0)throw new RangeError("offset is not uint");if(Ce+xe>Ne)throw new RangeError("Trying to access beyond buffer length")}ae.prototype.readUIntLE=function(xe,Ne,ze){xe=xe>>>0,Ne=Ne>>>0,ze||$e(xe,Ne,this.length);for(var it=this[xe],St=1,dt=0;++dt<Ne&&(St*=256);)it+=this[xe+dt]*St;return it},ae.prototype.readUIntBE=function(xe,Ne,ze){xe=xe>>>0,Ne=Ne>>>0,ze||$e(xe,Ne,this.length);for(var it=this[xe+--Ne],St=1;Ne>0&&(St*=256);)it+=this[xe+--Ne]*St;return it},ae.prototype.readUInt8=function(xe,Ne){return xe=xe>>>0,Ne||$e(xe,1,this.length),this[xe]},ae.prototype.readUInt16LE=function(xe,Ne){return xe=xe>>>0,Ne||$e(xe,2,this.length),this[xe]|this[xe+1]<<8},ae.prototype.readUInt16BE=function(xe,Ne){return xe=xe>>>0,Ne||$e(xe,2,this.length),this[xe]<<8|this[xe+1]},ae.prototype.readUInt32LE=function(xe,Ne){return xe=xe>>>0,Ne||$e(xe,4,this.length),(this[xe]|this[xe+1]<<8|this[xe+2]<<16)+this[xe+3]*16777216},ae.prototype.readUInt32BE=function(xe,Ne){return xe=xe>>>0,Ne||$e(xe,4,this.length),this[xe]*16777216+(this[xe+1]<<16|this[xe+2]<<8|this[xe+3])},ae.prototype.readIntLE=function(xe,Ne,ze){xe=xe>>>0,Ne=Ne>>>0,ze||$e(xe,Ne,this.length);for(var it=this[xe],St=1,dt=0;++dt<Ne&&(St*=256);)it+=this[xe+dt]*St;return St*=128,it>=St&&(it-=Math.pow(2,8*Ne)),it},ae.prototype.readIntBE=function(xe,Ne,ze){xe=xe>>>0,Ne=Ne>>>0,ze||$e(xe,Ne,this.length);for(var it=Ne,St=1,dt=this[xe+--it];it>0&&(St*=256);)dt+=this[xe+--it]*St;return St*=128,dt>=St&&(dt-=Math.pow(2,8*Ne)),dt},ae.prototype.readInt8=function(xe,Ne){return xe=xe>>>0,Ne||$e(xe,1,this.length),this[xe]&128?(255-this[xe]+1)*-1:this[xe]},ae.prototype.readInt16LE=function(xe,Ne){xe=xe>>>0,Ne||$e(xe,2,this.length);var ze=this[xe]|this[xe+1]<<8;return ze&32768?ze|4294901760:ze},ae.prototype.readInt16BE=function(xe,Ne){xe=xe>>>0,Ne||$e(xe,2,this.length);var ze=this[xe+1]|this[xe]<<8;return ze&32768?ze|4294901760:ze},ae.prototype.readInt32LE=function(xe,Ne){return xe=xe>>>0,Ne||$e(xe,4,this.length),this[xe]|this[xe+1]<<8|this[xe+2]<<16|this[xe+3]<<24},ae.prototype.readInt32BE=function(xe,Ne){return xe=xe>>>0,Ne||$e(xe,4,this.length),this[xe]<<24|this[xe+1]<<16|this[xe+2]<<8|this[xe+3]},ae.prototype.readFloatLE=function(xe,Ne){return xe=xe>>>0,Ne||$e(xe,4,this.length),ue.read(this,xe,!0,23,4)},ae.prototype.readFloatBE=function(xe,Ne){return xe=xe>>>0,Ne||$e(xe,4,this.length),ue.read(this,xe,!1,23,4)},ae.prototype.readDoubleLE=function(xe,Ne){return xe=xe>>>0,Ne||$e(xe,8,this.length),ue.read(this,xe,!0,52,8)},ae.prototype.readDoubleBE=function(xe,Ne){return xe=xe>>>0,Ne||$e(xe,8,this.length),ue.read(this,xe,!1,52,8)};function Ue(Ce,xe,Ne,ze,it,St){if(!ae.isBuffer(Ce))throw new TypeError('"buffer" argument must be a Buffer instance');if(xe>it||xe<St)throw new RangeError('"value" argument is out of bounds');if(Ne+ze>Ce.length)throw new RangeError("Index out of range")}ae.prototype.writeUIntLE=function(xe,Ne,ze,it){if(xe=+xe,Ne=Ne>>>0,ze=ze>>>0,!it){var St=Math.pow(2,8*ze)-1;Ue(this,xe,Ne,ze,St,0)}var dt=1,bt=0;for(this[Ne]=xe&255;++bt<ze&&(dt*=256);)this[Ne+bt]=xe/dt&255;return Ne+ze},ae.prototype.writeUIntBE=function(xe,Ne,ze,it){if(xe=+xe,Ne=Ne>>>0,ze=ze>>>0,!it){var St=Math.pow(2,8*ze)-1;Ue(this,xe,Ne,ze,St,0)}var dt=ze-1,bt=1;for(this[Ne+dt]=xe&255;--dt>=0&&(bt*=256);)this[Ne+dt]=xe/bt&255;return Ne+ze},ae.prototype.writeUInt8=function(xe,Ne,ze){return xe=+xe,Ne=Ne>>>0,ze||Ue(this,xe,Ne,1,255,0),this[Ne]=xe&255,Ne+1},ae.prototype.writeUInt16LE=function(xe,Ne,ze){return xe=+xe,Ne=Ne>>>0,ze||Ue(this,xe,Ne,2,65535,0),this[Ne]=xe&255,this[Ne+1]=xe>>>8,Ne+2},ae.prototype.writeUInt16BE=function(xe,Ne,ze){return xe=+xe,Ne=Ne>>>0,ze||Ue(this,xe,Ne,2,65535,0),this[Ne]=xe>>>8,this[Ne+1]=xe&255,Ne+2},ae.prototype.writeUInt32LE=function(xe,Ne,ze){return xe=+xe,Ne=Ne>>>0,ze||Ue(this,xe,Ne,4,4294967295,0),this[Ne+3]=xe>>>24,this[Ne+2]=xe>>>16,this[Ne+1]=xe>>>8,this[Ne]=xe&255,Ne+4},ae.prototype.writeUInt32BE=function(xe,Ne,ze){return xe=+xe,Ne=Ne>>>0,ze||Ue(this,xe,Ne,4,4294967295,0),this[Ne]=xe>>>24,this[Ne+1]=xe>>>16,this[Ne+2]=xe>>>8,this[Ne+3]=xe&255,Ne+4},ae.prototype.writeIntLE=function(xe,Ne,ze,it){if(xe=+xe,Ne=Ne>>>0,!it){var St=Math.pow(2,8*ze-1);Ue(this,xe,Ne,ze,St-1,-St)}var dt=0,bt=1,an=0;for(this[Ne]=xe&255;++dt<ze&&(bt*=256);)xe<0&&an===0&&this[Ne+dt-1]!==0&&(an=1),this[Ne+dt]=(xe/bt>>0)-an&255;return Ne+ze},ae.prototype.writeIntBE=function(xe,Ne,ze,it){if(xe=+xe,Ne=Ne>>>0,!it){var St=Math.pow(2,8*ze-1);Ue(this,xe,Ne,ze,St-1,-St)}var dt=ze-1,bt=1,an=0;for(this[Ne+dt]=xe&255;--dt>=0&&(bt*=256);)xe<0&&an===0&&this[Ne+dt+1]!==0&&(an=1),this[Ne+dt]=(xe/bt>>0)-an&255;return Ne+ze},ae.prototype.writeInt8=function(xe,Ne,ze){return xe=+xe,Ne=Ne>>>0,ze||Ue(this,xe,Ne,1,127,-128),xe<0&&(xe=255+xe+1),this[Ne]=xe&255,Ne+1},ae.prototype.writeInt16LE=function(xe,Ne,ze){return xe=+xe,Ne=Ne>>>0,ze||Ue(this,xe,Ne,2,32767,-32768),this[Ne]=xe&255,this[Ne+1]=xe>>>8,Ne+2},ae.prototype.writeInt16BE=function(xe,Ne,ze){return xe=+xe,Ne=Ne>>>0,ze||Ue(this,xe,Ne,2,32767,-32768),this[Ne]=xe>>>8,this[Ne+1]=xe&255,Ne+2},ae.prototype.writeInt32LE=function(xe,Ne,ze){return xe=+xe,Ne=Ne>>>0,ze||Ue(this,xe,Ne,4,2147483647,-2147483648),this[Ne]=xe&255,this[Ne+1]=xe>>>8,this[Ne+2]=xe>>>16,this[Ne+3]=xe>>>24,Ne+4},ae.prototype.writeInt32BE=function(xe,Ne,ze){return xe=+xe,Ne=Ne>>>0,ze||Ue(this,xe,Ne,4,2147483647,-2147483648),xe<0&&(xe=4294967295+xe+1),this[Ne]=xe>>>24,this[Ne+1]=xe>>>16,this[Ne+2]=xe>>>8,this[Ne+3]=xe&255,Ne+4};function Be(Ce,xe,Ne,ze,it,St){if(Ne+ze>Ce.length)throw new RangeError("Index out of range");if(Ne<0)throw new RangeError("Index out of range")}function tt(Ce,xe,Ne,ze,it){return xe=+xe,Ne=Ne>>>0,it||Be(Ce,xe,Ne,4,34028234663852886e22,-34028234663852886e22),ue.write(Ce,xe,Ne,ze,23,4),Ne+4}ae.prototype.writeFloatLE=function(xe,Ne,ze){return tt(this,xe,Ne,!0,ze)},ae.prototype.writeFloatBE=function(xe,Ne,ze){return tt(this,xe,Ne,!1,ze)};function Je(Ce,xe,Ne,ze,it){return xe=+xe,Ne=Ne>>>0,it||Be(Ce,xe,Ne,8,17976931348623157e292,-17976931348623157e292),ue.write(Ce,xe,Ne,ze,52,8),Ne+8}ae.prototype.writeDoubleLE=function(xe,Ne,ze){return Je(this,xe,Ne,!0,ze)},ae.prototype.writeDoubleBE=function(xe,Ne,ze){return Je(this,xe,Ne,!1,ze)},ae.prototype.copy=function(xe,Ne,ze,it){if(!ae.isBuffer(xe))throw new TypeError("argument should be a Buffer");if(ze||(ze=0),!it&&it!==0&&(it=this.length),Ne>=xe.length&&(Ne=xe.length),Ne||(Ne=0),it>0&&it<ze&&(it=ze),it===ze||xe.length===0||this.length===0)return 0;if(Ne<0)throw new RangeError("targetStart out of bounds");if(ze<0||ze>=this.length)throw new RangeError("Index out of range");if(it<0)throw new RangeError("sourceEnd out of bounds");it>this.length&&(it=this.length),xe.length-Ne<it-ze&&(it=xe.length-Ne+ze);var St=it-ze;if(this===xe&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Ne,ze,it);else if(this===xe&&ze<Ne&&Ne<it)for(var dt=St-1;dt>=0;--dt)xe[dt+Ne]=this[dt+ze];else Uint8Array.prototype.set.call(xe,this.subarray(ze,it),Ne);return St},ae.prototype.fill=function(xe,Ne,ze,it){if(typeof xe=="string"){if(typeof Ne=="string"?(it=Ne,Ne=0,ze=this.length):typeof ze=="string"&&(it=ze,ze=this.length),it!==void 0&&typeof it!="string")throw new TypeError("encoding must be a string");if(typeof it=="string"&&!ae.isEncoding(it))throw new TypeError("Unknown encoding: "+it);if(xe.length===1){var St=xe.charCodeAt(0);(it==="utf8"&&St<128||it==="latin1")&&(xe=St)}}else typeof xe=="number"&&(xe=xe&255);if(Ne<0||this.length<Ne||this.length<ze)throw new RangeError("Out of range index");if(ze<=Ne)return this;Ne=Ne>>>0,ze=ze===void 0?this.length:ze>>>0,xe||(xe=0);var dt;if(typeof xe=="number")for(dt=Ne;dt<ze;++dt)this[dt]=xe;else{var bt=ae.isBuffer(xe)?xe:ae.from(xe,it),an=bt.length;if(an===0)throw new TypeError('The value "'+xe+'" is invalid for argument "value"');for(dt=0;dt<ze-Ne;++dt)this[dt+Ne]=bt[dt%an]}return this};var ft=/[^+/0-9A-Za-z-_]/g;function Ze(Ce){if(Ce=Ce.split("=")[0],Ce=Ce.trim().replace(ft,""),Ce.length<2)return"";for(;Ce.length%4!==0;)Ce=Ce+"=";return Ce}function Ge(Ce){return Ce<16?"0"+Ce.toString(16):Ce.toString(16)}function Le(Ce,xe){xe=xe||1/0;for(var Ne,ze=Ce.length,it=null,St=[],dt=0;dt<ze;++dt){if(Ne=Ce.charCodeAt(dt),Ne>55295&&Ne<57344){if(!it){if(Ne>56319){(xe-=3)>-1&&St.push(239,191,189);continue}else if(dt+1===ze){(xe-=3)>-1&&St.push(239,191,189);continue}it=Ne;continue}if(Ne<56320){(xe-=3)>-1&&St.push(239,191,189),it=Ne;continue}Ne=(it-55296<<10|Ne-56320)+65536}else it&&(xe-=3)>-1&&St.push(239,191,189);if(it=null,Ne<128){if((xe-=1)<0)break;St.push(Ne)}else if(Ne<2048){if((xe-=2)<0)break;St.push(Ne>>6|192,Ne&63|128)}else if(Ne<65536){if((xe-=3)<0)break;St.push(Ne>>12|224,Ne>>6&63|128,Ne&63|128)}else if(Ne<1114112){if((xe-=4)<0)break;St.push(Ne>>18|240,Ne>>12&63|128,Ne>>6&63|128,Ne&63|128)}else throw new Error("Invalid code point")}return St}function Ke(Ce){for(var xe=[],Ne=0;Ne<Ce.length;++Ne)xe.push(Ce.charCodeAt(Ne)&255);return xe}function Ee(Ce,xe){for(var Ne,ze,it,St=[],dt=0;dt<Ce.length&&!((xe-=2)<0);++dt)Ne=Ce.charCodeAt(dt),ze=Ne>>8,it=Ne%256,St.push(it),St.push(ze);return St}function Re(Ce){return te.toByteArray(Ze(Ce))}function Qe(Ce,xe,Ne,ze){for(var it=0;it<ze&&!(it+Ne>=xe.length||it>=Ce.length);++it)xe[it+Ne]=Ce[it];return it}function Ye(Ce,xe){return Ce instanceof xe||Ce!=null&&Ce.constructor!=null&&Ce.constructor.name!=null&&Ce.constructor.name===xe.name}function We(Ce){return Ce!==Ce}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,ye,me){ye.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,ye,me){"use strict";var oe=E("get-intrinsic"),te=E("./"),ue=te(oe("String.prototype.indexOf"));ye.exports=function(le,ce){var ae=oe(le,!!ce);return typeof ae=="function"&&ue(le,".prototype.")>-1?te(ae):ae}},{"./":93,"get-intrinsic":348}],93:[function(E,ye,me){"use strict";var oe=E("function-bind"),te=E("get-intrinsic"),ue=te("%Function.prototype.apply%"),de=te("%Function.prototype.call%"),le=te("%Reflect.apply%",!0)||oe.call(de,ue),ce=te("%Object.getOwnPropertyDescriptor%",!0),ae=te("%Object.defineProperty%",!0),ie=te("%Math.max%");if(ae)try{ae({},"a",{value:1})}catch(a){ae=null}ye.exports=function(y){var x=le(oe,de,arguments);if(ce&&ae){var b=ce(x,"length");b.configurable&&ae(x,"length",{value:1+ie(0,y.length-(arguments.length-1))})}return x};var ne=function(){return le(oe,ue,arguments)};ae?ae(ye.exports,"apply",{value:ne}):ye.exports.apply=ne},{"function-bind":347,"get-intrinsic":348}],94:[function(E,ye,me){"use strict";var oe=Array.prototype.slice;ye.exports=te;function te(de,le){if(!(this instanceof te))return new te(de,le);this.src=de,this._withAccess=le}te.prototype.withAccess=function(de){return this._withAccess=de!==!1,this},te.prototype.pick=function(de){return Array.isArray(de)||(de=oe.call(arguments)),de.length&&(this.keys=de),this},te.prototype.to=function(de){if(de=de||{},!this.src)return de;var le=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ce=0;ce<le.length;ce++)ae=le[ce],de[ae]===void 0&&(de[ae]=this.src[ae]);return de}for(var ce=0;ce<le.length;ce++){var ae=le[ce];if(ue(de,ae)){var ie=this.src.__lookupGetter__(ae),ne=this.src.__lookupSetter__(ae);ie&&de.__defineGetter__(ae,ie),ne&&de.__defineSetter__(ae,ne),!ie&&!ne&&(de[ae]=this.src[ae])}}return de},te.prototype.toCover=function(de){for(var le=this.keys||Object.keys(this.src),ce=0;ce<le.length;ce++){var ae=le[ce];delete de[ae];var ie=this.src.__lookupGetter__(ae),ne=this.src.__lookupSetter__(ae);ie&&de.__defineGetter__(ae,ie),ne&&de.__defineSetter__(ae,ne),!ie&&!ne&&(de[ae]=this.src[ae])}},te.prototype.override=te.prototype.toCover,te.prototype.and=function(de){var le={};return this.to(le),this.src=de,this.to(le),this.src=le,this};function ue(de,le){return de[le]===void 0&&de.__lookupGetter__(le)===void 0&&de.__lookupSetter__(le)===void 0}},{}],95:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/is-callable"),ue=E("../internals/try-to-string"),de=oe.TypeError;ye.exports=function(le){if(te(le))return le;throw de(ue(le)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/is-constructor"),ue=E("../internals/try-to-string"),de=oe.TypeError;ye.exports=function(le){if(te(le))return le;throw de(ue(le)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/is-callable"),ue=oe.String,de=oe.TypeError;ye.exports=function(le){if(typeof le=="object"||te(le))return le;throw de("Can't set "+ue(le)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(E,ye,me){var oe=E("../internals/well-known-symbol"),te=E("../internals/object-create"),ue=E("../internals/object-define-property"),de=oe("unscopables"),le=Array.prototype;le[de]==null&&ue.f(le,de,{configurable:!0,value:te(null)}),ye.exports=function(ce){le[de][ce]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(E,ye,me){"use strict";var oe=E("../internals/string-multibyte").charAt;ye.exports=function(te,ue,de){return ue+(de?oe(te,ue).length:1)}},{"../internals/string-multibyte":239}],100:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/object-is-prototype-of"),ue=oe.TypeError;ye.exports=function(de,le){if(te(le,de))return de;throw ue("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/is-object"),ue=oe.String,de=oe.TypeError;ye.exports=function(le){if(te(le))return le;throw de(ue(le)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(E,ye,me){ye.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-native"),te=E("../internals/descriptors"),ue=E("../internals/global"),de=E("../internals/is-callable"),le=E("../internals/is-object"),ce=E("../internals/has-own-property"),ae=E("../internals/classof"),ie=E("../internals/try-to-string"),ne=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"),z=E("../internals/object-set-prototype-of"),ee=E("../internals/well-known-symbol"),re=E("../internals/uid"),se=ue.Int8Array,fe=se&&se.prototype,ve=ue.Uint8ClampedArray,ge=ve&&ve.prototype,he=se&&b(se),pe=fe&&b(fe),Se=Object.prototype,be=ue.TypeError,je=ee("toStringTag"),we=re("TYPED_ARRAY_TAG"),Oe=re("TYPED_ARRAY_CONSTRUCTOR"),Ae=oe&&!!z&&ae(ue.opera)!=="Opera",Fe=!1,ke,Ve,De,ut={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},nt={BigInt64Array:8,BigUint64Array:8},qe=function(ft){if(!le(ft))return!1;var Ze=ae(ft);return Ze==="DataView"||ce(ut,Ze)||ce(nt,Ze)},Xe=function(Je){if(!le(Je))return!1;var ft=ae(Je);return ce(ut,ft)||ce(nt,ft)},$e=function(Je){if(Xe(Je))return Je;throw be("Target is not a typed array")},Ue=function(Je){if(de(Je)&&(!z||x(he,Je)))return Je;throw be(ie(Je)+" is not a typed array constructor")},Be=function(Je,ft,Ze,Ge){if(te){if(Ze)for(var Le in ut){var Ke=ue[Le];if(Ke&&ce(Ke.prototype,Je))try{delete Ke.prototype[Je]}catch(Ee){try{Ke.prototype[Je]=ft}catch(Re){}}}(!pe[Je]||Ze)&&a(pe,Je,Ze?ft:Ae&&fe[Je]||ft,Ge)}},tt=function(Je,ft,Ze){var Ge,Le;if(te){if(z){if(Ze){for(Ge in ut)if(Le=ue[Ge],Le&&ce(Le,Je))try{delete Le[Je]}catch(Ke){}}if(!he[Je]||Ze)try{return a(he,Je,Ze?ft:Ae&&he[Je]||ft)}catch(Ke){}else return}for(Ge in ut)Le=ue[Ge],Le&&(!Le[Je]||Ze)&&a(Le,Je,ft)}};for(ke in ut)Ve=ue[ke],De=Ve&&Ve.prototype,De?ne(De,Oe,Ve):Ae=!1;for(ke in nt)Ve=ue[ke],De=Ve&&Ve.prototype,De&&ne(De,Oe,Ve);if((!Ae||!de(he)||he===Function.prototype)&&(he=function(){throw be("Incorrect invocation")},Ae))for(ke in ut)ue[ke]&&z(ue[ke],he);if((!Ae||!pe||pe===Se)&&(pe=he.prototype,Ae))for(ke in ut)ue[ke]&&z(ue[ke].prototype,pe);if(Ae&&b(ge)!==pe&&z(ge,pe),te&&!ce(pe,je)){Fe=!0,y(pe,je,{get:function(){return le(this)?this[we]:void 0}});for(ke in ut)ue[ke]&&ne(ue[ke],we,ke)}ye.exports={NATIVE_ARRAY_BUFFER_VIEWS:Ae,TYPED_ARRAY_CONSTRUCTOR:Oe,TYPED_ARRAY_TAG:Fe&&we,aTypedArray:$e,aTypedArrayConstructor:Ue,exportTypedArrayMethod:Be,exportTypedArrayStaticMethod:tt,isView:qe,isTypedArray:Xe,TypedArray:he,TypedArrayPrototype:pe}},{"../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,ye,me){"use strict";var oe=E("../internals/global"),te=E("../internals/function-uncurry-this"),ue=E("../internals/descriptors"),de=E("../internals/array-buffer-native"),le=E("../internals/function-name"),ce=E("../internals/create-non-enumerable-property"),ae=E("../internals/redefine-all"),ie=E("../internals/fails"),ne=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"),z=E("../internals/object-get-prototype-of"),ee=E("../internals/object-set-prototype-of"),re=E("../internals/object-get-own-property-names").f,se=E("../internals/object-define-property").f,fe=E("../internals/array-fill"),ve=E("../internals/array-slice-simple"),ge=E("../internals/set-to-string-tag"),he=E("../internals/internal-state"),pe=le.PROPER,Se=le.CONFIGURABLE,be=he.get,je=he.set,we="ArrayBuffer",Oe="DataView",Ae="prototype",Fe="Wrong length",ke="Wrong index",Ve=oe[we],De=Ve,ut=De&&De[Ae],nt=oe[Oe],qe=nt&&nt[Ae],Xe=Object.prototype,$e=oe.Array,Ue=oe.RangeError,Be=te(fe),tt=te([].reverse),Je=b.pack,ft=b.unpack,Ze=function(dt){return[dt&255]},Ge=function(dt){return[dt&255,dt>>8&255]},Le=function(dt){return[dt&255,dt>>8&255,dt>>16&255,dt>>24&255]},Ke=function(dt){return dt[3]<<24|dt[2]<<16|dt[1]<<8|dt[0]},Ee=function(dt){return Je(dt,23,4)},Re=function(dt){return Je(dt,52,8)},Qe=function(dt,bt){se(dt[Ae],bt,{get:function(){return be(this)[bt]}})},Ye=function(dt,bt,an,kt){var lt=x(an),at=be(dt);if(lt+bt>at.byteLength)throw Ue(ke);var Dt=be(at.buffer).bytes,rt=lt+at.byteOffset,_e=ve(Dt,rt,rt+bt);return kt?_e:tt(_e)},We=function(dt,bt,an,kt,lt,at){var Dt=x(an),rt=be(dt);if(Dt+bt>rt.byteLength)throw Ue(ke);for(var _e=be(rt.buffer).bytes,mt=Dt+rt.byteOffset,Ot=kt(+lt),xt=0;xt<bt;xt++)_e[mt+xt]=Ot[at?xt:bt-xt-1]};if(!de)De=function(bt){ne(this,ut);var an=x(bt);je(this,{bytes:Be($e(an),0),byteLength:an}),ue||(this.byteLength=an)},ut=De[Ae],nt=function(bt,an,kt){ne(this,qe),ne(bt,ut);var lt=be(bt).byteLength,at=a(an);if(at<0||at>lt)throw Ue("Wrong offset");if(kt=kt===void 0?lt-at:y(kt),at+kt>lt)throw Ue(Fe);je(this,{buffer:bt,byteLength:kt,byteOffset:at}),ue||(this.buffer=bt,this.byteLength=kt,this.byteOffset=at)},qe=nt[Ae],ue&&(Qe(De,"byteLength"),Qe(nt,"buffer"),Qe(nt,"byteLength"),Qe(nt,"byteOffset")),ae(qe,{getInt8:function(bt){return Ye(this,1,bt)[0]<<24>>24},getUint8:function(bt){return Ye(this,1,bt)[0]},getInt16:function(bt){var an=Ye(this,2,bt,arguments.length>1?arguments[1]:void 0);return(an[1]<<8|an[0])<<16>>16},getUint16:function(bt){var an=Ye(this,2,bt,arguments.length>1?arguments[1]:void 0);return an[1]<<8|an[0]},getInt32:function(bt){return Ke(Ye(this,4,bt,arguments.length>1?arguments[1]:void 0))},getUint32:function(bt){return Ke(Ye(this,4,bt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(bt){return ft(Ye(this,4,bt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(bt){return ft(Ye(this,8,bt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(bt,an){We(this,1,bt,Ze,an)},setUint8:function(bt,an){We(this,1,bt,Ze,an)},setInt16:function(bt,an){We(this,2,bt,Ge,an,arguments.length>2?arguments[2]:void 0)},setUint16:function(bt,an){We(this,2,bt,Ge,an,arguments.length>2?arguments[2]:void 0)},setInt32:function(bt,an){We(this,4,bt,Le,an,arguments.length>2?arguments[2]:void 0)},setUint32:function(bt,an){We(this,4,bt,Le,an,arguments.length>2?arguments[2]:void 0)},setFloat32:function(bt,an){We(this,4,bt,Ee,an,arguments.length>2?arguments[2]:void 0)},setFloat64:function(bt,an){We(this,8,bt,Re,an,arguments.length>2?arguments[2]:void 0)}});else{var Ce=pe&&Ve.name!==we;if(!ie(function(){Ve(1)})||!ie(function(){new Ve(-1)})||ie(function(){return new Ve,new Ve(1.5),new Ve(NaN),Ce&&!Se})){De=function(bt){return ne(this,ut),new Ve(x(bt))},De[Ae]=ut;for(var xe=re(Ve),Ne=0,ze;xe.length>Ne;)(ze=xe[Ne++])in De||ce(De,ze,Ve[ze]);ut.constructor=De}else Ce&&Se&&ce(Ve,"name",we);ee&&z(qe)!==Xe&&ee(qe,Xe);var it=new nt(new De(2)),St=te(qe.setInt8);it.setInt8(0,2147483648),it.setInt8(1,2147483649),(it.getInt8(0)||!it.getInt8(1))&&ae(qe,{setInt8:function(bt,an){St(this,bt,an<<24>>24)},setUint8:function(bt,an){St(this,bt,an<<24>>24)}},{unsafe:!0})}ge(De,we),ge(nt,Oe),ye.exports={ArrayBuffer:De,DataView:nt}},{"../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,ye,me){"use strict";var oe=E("../internals/to-object"),te=E("../internals/to-absolute-index"),ue=E("../internals/length-of-array-like"),de=Math.min;ye.exports=[].copyWithin||function(ce,ae){var ie=oe(this),ne=ue(ie),a=te(ce,ne),y=te(ae,ne),x=arguments.length>2?arguments[2]:void 0,b=de((x===void 0?ne:te(x,ne))-y,ne-a),z=1;for(y<a&&a<y+b&&(z=-1,y+=b-1,a+=b-1);b-- >0;)y in ie?ie[a]=ie[y]:delete ie[a],a+=z,y+=z;return ie}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,ye,me){"use strict";var oe=E("../internals/to-object"),te=E("../internals/to-absolute-index"),ue=E("../internals/length-of-array-like");ye.exports=function(le){for(var ce=oe(this),ae=ue(ce),ie=arguments.length,ne=te(ie>1?arguments[1]:void 0,ae),a=ie>2?arguments[2]:void 0,y=a===void 0?ae:te(a,ae);y>ne;)ce[ne++]=le;return ce}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,ye,me){"use strict";var oe=E("../internals/array-iteration").forEach,te=E("../internals/array-method-is-strict"),ue=te("forEach");ye.exports=ue?[].forEach:function(le){return oe(this,le,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,ye,me){var oe=E("../internals/length-of-array-like");ye.exports=function(te,ue){for(var de=0,le=oe(ue),ce=new te(le);le>de;)ce[de]=ue[de++];return ce}},{"../internals/length-of-array-like":188}],109:[function(E,ye,me){"use strict";var oe=E("../internals/global"),te=E("../internals/function-bind-context"),ue=E("../internals/function-call"),de=E("../internals/to-object"),le=E("../internals/call-with-safe-iteration-closing"),ce=E("../internals/is-array-iterator-method"),ae=E("../internals/is-constructor"),ie=E("../internals/length-of-array-like"),ne=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=oe.Array;ye.exports=function(z){var ee=de(z),re=ae(this),se=arguments.length,fe=se>1?arguments[1]:void 0,ve=fe!==void 0;ve&&(fe=te(fe,se>2?arguments[2]:void 0));var ge=y(ee),he=0,pe,Se,be,je,we,Oe;if(ge&&!(this==x&&ce(ge)))for(je=a(ee,ge),we=je.next,Se=re?new this:[];!(be=ue(we,je)).done;he++)Oe=ve?le(je,fe,[be.value,he],!0):be.value,ne(Se,he,Oe);else for(pe=ie(ee),Se=re?new this(pe):x(pe);pe>he;he++)Oe=ve?fe(ee[he],he):ee[he],ne(Se,he,Oe);return Se.length=he,Se}},{"../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,ye,me){var oe=E("../internals/to-indexed-object"),te=E("../internals/to-absolute-index"),ue=E("../internals/length-of-array-like"),de=function(le){return function(ce,ae,ie){var ne=oe(ce),a=ue(ne),y=te(ie,a),x;if(le&&ae!=ae){for(;a>y;)if(x=ne[y++],x!=x)return!0}else for(;a>y;y++)if((le||y in ne)&&ne[y]===ae)return le||y||0;return!le&&-1}};ye.exports={includes:de(!0),indexOf:de(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,ye,me){var oe=E("../internals/function-bind-context"),te=E("../internals/function-uncurry-this"),ue=E("../internals/indexed-object"),de=E("../internals/to-object"),le=E("../internals/length-of-array-like"),ce=E("../internals/array-species-create"),ae=te([].push),ie=function(ne){var a=ne==1,y=ne==2,x=ne==3,b=ne==4,z=ne==6,ee=ne==7,re=ne==5||z;return function(se,fe,ve,ge){for(var he=de(se),pe=ue(he),Se=oe(fe,ve),be=le(pe),je=0,we=ge||ce,Oe=a?we(se,be):y||ee?we(se,0):void 0,Ae,Fe;be>je;je++)if((re||je in pe)&&(Ae=pe[je],Fe=Se(Ae,je,he),ne))if(a)Oe[je]=Fe;else if(Fe)switch(ne){case 3:return!0;case 5:return Ae;case 6:return je;case 2:ae(Oe,Ae)}else switch(ne){case 4:return!1;case 7:ae(Oe,Ae)}return z?-1:x||b?b:Oe}};ye.exports={forEach:ie(0),map:ie(1),filter:ie(2),some:ie(3),every:ie(4),find:ie(5),findIndex:ie(6),filterReject:ie(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,ye,me){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/to-indexed-object"),ue=E("../internals/to-integer-or-infinity"),de=E("../internals/length-of-array-like"),le=E("../internals/array-method-is-strict"),ce=Math.min,ae=[].lastIndexOf,ie=!!ae&&1/[1].lastIndexOf(1,-0)<0,ne=le("lastIndexOf"),a=ie||!ne;ye.exports=a?function(x){if(ie)return oe(ae,this,arguments)||0;var b=te(this),z=de(b),ee=z-1;for(arguments.length>1&&(ee=ce(ee,ue(arguments[1]))),ee<0&&(ee=z+ee);ee>=0;ee--)if(ee in b&&b[ee]===x)return ee||0;return-1}:ae},{"../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,ye,me){var oe=E("../internals/fails"),te=E("../internals/well-known-symbol"),ue=E("../internals/engine-v8-version"),de=te("species");ye.exports=function(le){return ue>=51||!oe(function(){var ce=[],ae=ce.constructor={};return ae[de]=function(){return{foo:1}},ce[le](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,ye,me){"use strict";var oe=E("../internals/fails");ye.exports=function(te,ue){var de=[][te];return!!de&&oe(function(){de.call(null,ue||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/a-callable"),ue=E("../internals/to-object"),de=E("../internals/indexed-object"),le=E("../internals/length-of-array-like"),ce=oe.TypeError,ae=function(ie){return function(ne,a,y,x){te(a);var b=ue(ne),z=de(b),ee=le(b),re=ie?ee-1:0,se=ie?-1:1;if(y<2)for(;;){if(re in z){x=z[re],re+=se;break}if(re+=se,ie?re<0:ee<=re)throw ce("Reduce of empty array with no initial value")}for(;ie?re>=0:ee>re;re+=se)re in z&&(x=a(x,z[re],re,b));return x}};ye.exports={left:ae(!1),right:ae(!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,ye,me){var oe=E("../internals/global"),te=E("../internals/to-absolute-index"),ue=E("../internals/length-of-array-like"),de=E("../internals/create-property"),le=oe.Array,ce=Math.max;ye.exports=function(ae,ie,ne){for(var a=ue(ae),y=te(ie,a),x=te(ne===void 0?a:ne,a),b=le(ce(x-y,0)),z=0;y<x;y++,z++)de(b,z,ae[y]);return b.length=z,b}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(E,ye,me){var oe=E("../internals/function-uncurry-this");ye.exports=oe([].slice)},{"../internals/function-uncurry-this":157}],118:[function(E,ye,me){var oe=E("../internals/array-slice-simple"),te=Math.floor,ue=function(ce,ae){var ie=ce.length,ne=te(ie/2);return ie<8?de(ce,ae):le(ce,ue(oe(ce,0,ne),ae),ue(oe(ce,ne),ae),ae)},de=function(ce,ae){for(var ie=ce.length,ne=1,a,y;ne<ie;){for(y=ne,a=ce[ne];y&&ae(ce[y-1],a)>0;)ce[y]=ce[--y];y!==ne++&&(ce[y]=a)}return ce},le=function(ce,ae,ie,ne){for(var a=ae.length,y=ie.length,x=0,b=0;x<a||b<y;)ce[x+b]=x<a&&b<y?ne(ae[x],ie[b])<=0?ae[x++]:ie[b++]:x<a?ae[x++]:ie[b++];return ce};ye.exports=ue},{"../internals/array-slice-simple":116}],119:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/is-array"),ue=E("../internals/is-constructor"),de=E("../internals/is-object"),le=E("../internals/well-known-symbol"),ce=le("species"),ae=oe.Array;ye.exports=function(ie){var ne;return te(ie)&&(ne=ie.constructor,ue(ne)&&(ne===ae||te(ne.prototype))?ne=void 0:de(ne)&&(ne=ne[ce],ne===null&&(ne=void 0))),ne===void 0?ae:ne}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(E,ye,me){var oe=E("../internals/array-species-constructor");ye.exports=function(te,ue){return new(oe(te))(ue===0?0:ue)}},{"../internals/array-species-constructor":119}],121:[function(E,ye,me){var oe=E("../internals/an-object"),te=E("../internals/iterator-close");ye.exports=function(ue,de,le,ce){try{return ce?de(oe(le)[0],le[1]):de(le)}catch(ae){te(ue,"throw",ae)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(E,ye,me){var oe=E("../internals/well-known-symbol"),te=oe("iterator"),ue=!1;try{var de=0,le={next:function(){return{done:!!de++}},return:function(){ue=!0}};le[te]=function(){return this},Array.from(le,function(){throw 2})}catch(ce){}ye.exports=function(ce,ae){if(!ae&&!ue)return!1;var ie=!1;try{var ne={};ne[te]=function(){return{next:function(){return{done:ie=!0}}}},ce(ne)}catch(a){}return ie}},{"../internals/well-known-symbol":268}],123:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=oe({}.toString),ue=oe("".slice);ye.exports=function(de){return ue(te(de),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/to-string-tag-support"),ue=E("../internals/is-callable"),de=E("../internals/classof-raw"),le=E("../internals/well-known-symbol"),ce=le("toStringTag"),ae=oe.Object,ie=de(function(){return arguments}())=="Arguments",ne=function(a,y){try{return a[y]}catch(x){}};ye.exports=te?de:function(a){var y,x,b;return a===void 0?"Undefined":a===null?"Null":typeof(x=ne(y=ae(a),ce))=="string"?x:ie?de(y):(b=de(y))=="Object"&&ue(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,ye,me){var oe=E("../internals/has-own-property"),te=E("../internals/own-keys"),ue=E("../internals/object-get-own-property-descriptor"),de=E("../internals/object-define-property");ye.exports=function(le,ce,ae){for(var ie=te(ce),ne=de.f,a=ue.f,y=0;y<ie.length;y++){var x=ie[y];!oe(le,x)&&!(ae&&oe(ae,x))&&ne(le,x,a(ce,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,ye,me){var oe=E("../internals/well-known-symbol"),te=oe("match");ye.exports=function(ue){var de=/./;try{"/./"[ue](de)}catch(le){try{return de[te]=!1,"/./"[ue](de)}catch(ce){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(E,ye,me){var oe=E("../internals/fails");ye.exports=!oe(function(){function te(){}return te.prototype.constructor=null,Object.getPrototypeOf(new te)!==te.prototype})},{"../internals/fails":150}],128:[function(E,ye,me){"use strict";var oe=E("../internals/iterators-core").IteratorPrototype,te=E("../internals/object-create"),ue=E("../internals/create-property-descriptor"),de=E("../internals/set-to-string-tag"),le=E("../internals/iterators"),ce=function(){return this};ye.exports=function(ae,ie,ne,a){var y=ie+" Iterator";return ae.prototype=te(oe,{next:ue(+!a,ne)}),de(ae,y,!1,!0),le[y]=ce,ae}},{"../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,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/object-define-property"),ue=E("../internals/create-property-descriptor");ye.exports=oe?function(de,le,ce){return te.f(de,le,ue(1,ce))}:function(de,le,ce){return de[le]=ce,de}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(E,ye,me){ye.exports=function(oe,te){return{enumerable:!(oe&1),configurable:!(oe&2),writable:!(oe&4),value:te}}},{}],131:[function(E,ye,me){"use strict";var oe=E("../internals/to-property-key"),te=E("../internals/object-define-property"),ue=E("../internals/create-property-descriptor");ye.exports=function(de,le,ce){var ae=oe(le);ae in de?te.f(de,ae,ue(0,ce)):de[ae]=ce}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),ue=E("../internals/is-pure"),de=E("../internals/function-name"),le=E("../internals/is-callable"),ce=E("../internals/create-iterator-constructor"),ae=E("../internals/object-get-prototype-of"),ie=E("../internals/object-set-prototype-of"),ne=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"),z=E("../internals/iterators-core"),ee=de.PROPER,re=de.CONFIGURABLE,se=z.IteratorPrototype,fe=z.BUGGY_SAFARI_ITERATORS,ve=x("iterator"),ge="keys",he="values",pe="entries",Se=function(){return this};ye.exports=function(be,je,we,Oe,Ae,Fe,ke){ce(we,je,Oe);var Ve=function(Je){if(Je===Ae&&Xe)return Xe;if(!fe&&Je in nt)return nt[Je];switch(Je){case ge:return function(){return new we(this,Je)};case he:return function(){return new we(this,Je)};case pe:return function(){return new we(this,Je)}}return function(){return new we(this)}},De=je+" Iterator",ut=!1,nt=be.prototype,qe=nt[ve]||nt["@@iterator"]||Ae&&nt[Ae],Xe=!fe&&qe||Ve(Ae),$e=je=="Array"&&nt.entries||qe,Ue,Be,tt;if($e&&(Ue=ae($e.call(new be)),Ue!==Object.prototype&&Ue.next&&(!ue&&ae(Ue)!==se&&(ie?ie(Ue,se):le(Ue[ve])||y(Ue,ve,Se)),ne(Ue,De,!0,!0),ue&&(b[De]=Se))),ee&&Ae==he&&qe&&qe.name!==he&&(!ue&&re?a(nt,"name",he):(ut=!0,Xe=function(){return te(qe,this)})),Ae)if(Be={values:Ve(he),keys:Fe?Xe:Ve(ge),entries:Ve(pe)},ke)for(tt in Be)(fe||ut||!(tt in nt))&&y(nt,tt,Be[tt]);else oe({target:je,proto:!0,forced:fe||ut},Be);return(!ue||ke)&&nt[ve]!==Xe&&y(nt,ve,Xe,{name:Ae}),b[je]=Xe,Be}},{"../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,ye,me){var oe=E("../internals/path"),te=E("../internals/has-own-property"),ue=E("../internals/well-known-symbol-wrapped"),de=E("../internals/object-define-property").f;ye.exports=function(le){var ce=oe.Symbol||(oe.Symbol={});te(ce,le)||de(ce,le,{value:ue.f(le)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(E,ye,me){var oe=E("../internals/fails");ye.exports=!oe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/is-object"),ue=oe.document,de=te(ue)&&te(ue.createElement);ye.exports=function(le){return de?ue.createElement(le):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(E,ye,me){ye.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,ye,me){var oe=E("../internals/document-create-element"),te=oe("span").classList,ue=te&&te.constructor&&te.constructor.prototype;ye.exports=ue===Object.prototype?void 0:ue},{"../internals/document-create-element":135}],138:[function(E,ye,me){var oe=E("../internals/engine-user-agent"),te=oe.match(/firefox\/(\d+)/i);ye.exports=!!te&&+te[1]},{"../internals/engine-user-agent":145}],139:[function(E,ye,me){ye.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(E,ye,me){var oe=E("../internals/engine-user-agent");ye.exports=/MSIE|Trident/.test(oe)},{"../internals/engine-user-agent":145}],141:[function(E,ye,me){var oe=E("../internals/engine-user-agent"),te=E("../internals/global");ye.exports=/ipad|iphone|ipod/i.test(oe)&&te.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(E,ye,me){var oe=E("../internals/engine-user-agent");ye.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(oe)},{"../internals/engine-user-agent":145}],143:[function(E,ye,me){var oe=E("../internals/classof-raw"),te=E("../internals/global");ye.exports=oe(te.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(E,ye,me){var oe=E("../internals/engine-user-agent");ye.exports=/web0s(?!.*chrome)/i.test(oe)},{"../internals/engine-user-agent":145}],145:[function(E,ye,me){var oe=E("../internals/get-built-in");ye.exports=oe("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/engine-user-agent"),ue=oe.process,de=oe.Deno,le=ue&&ue.versions||de&&de.version,ce=le&&le.v8,ae,ie;ce&&(ae=ce.split("."),ie=ae[0]>0&&ae[0]<4?1:+(ae[0]+ae[1])),!ie&&te&&(ae=te.match(/Edge\/(\d+)/),(!ae||ae[1]>=74)&&(ae=te.match(/Chrome\/(\d+)/),ae&&(ie=+ae[1]))),ye.exports=ie},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,ye,me){var oe=E("../internals/engine-user-agent"),te=oe.match(/AppleWebKit\/(\d+)\./);ye.exports=!!te&&+te[1]},{"../internals/engine-user-agent":145}],148:[function(E,ye,me){ye.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/object-get-own-property-descriptor").f,ue=E("../internals/create-non-enumerable-property"),de=E("../internals/redefine"),le=E("../internals/set-global"),ce=E("../internals/copy-constructor-properties"),ae=E("../internals/is-forced");ye.exports=function(ie,ne){var a=ie.target,y=ie.global,x=ie.stat,b,z,ee,re,se,fe;if(y?z=oe:x?z=oe[a]||le(a,{}):z=(oe[a]||{}).prototype,z)for(ee in ne){if(se=ne[ee],ie.noTargetGet?(fe=te(z,ee),re=fe&&fe.value):re=z[ee],b=ae(y?ee:a+(x?".":"#")+ee,ie.forced),!b&&re!==void 0){if(typeof se==typeof re)continue;ce(se,re)}(ie.sham||re&&re.sham)&&ue(se,"sham",!0),de(z,ee,se,ie)}}},{"../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,ye,me){ye.exports=function(oe){try{return!!oe()}catch(te){return!0}}},{}],151:[function(E,ye,me){"use strict";E("../modules/es.regexp.exec");var oe=E("../internals/function-uncurry-this"),te=E("../internals/redefine"),ue=E("../internals/regexp-exec"),de=E("../internals/fails"),le=E("../internals/well-known-symbol"),ce=E("../internals/create-non-enumerable-property"),ae=le("species"),ie=RegExp.prototype;ye.exports=function(ne,a,y,x){var b=le(ne),z=!de(function(){var fe={};return fe[b]=function(){return 7},""[ne](fe)!=7}),ee=z&&!de(function(){var fe=!1,ve=/a/;return ne==="split"&&(ve={},ve.constructor={},ve.constructor[ae]=function(){return ve},ve.flags="",ve[b]=/./[b]),ve.exec=function(){return fe=!0,null},ve[b](""),!fe});if(!z||!ee||y){var re=oe(/./[b]),se=a(b,""[ne],function(fe,ve,ge,he,pe){var Se=oe(fe),be=ve.exec;return be===ue||be===ie.exec?z&&!pe?{done:!0,value:re(ve,ge,he)}:{done:!0,value:Se(ge,ve,he)}:{done:!1}});te(String.prototype,ne,se[0]),te(ie,b,se[1])}x&&ce(ie[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,ye,me){var oe=E("../internals/function-bind-native"),te=Function.prototype,ue=te.apply,de=te.call;ye.exports=typeof Reflect=="object"&&Reflect.apply||(oe?de.bind(ue):function(){return de.apply(ue,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/a-callable"),ue=E("../internals/function-bind-native"),de=oe(oe.bind);ye.exports=function(le,ce){return te(le),ce===void 0?le:ue?de(le,ce):function(){return le.apply(ce,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,ye,me){var oe=E("../internals/fails");ye.exports=!oe(function(){var te=function(){}.bind();return typeof te!="function"||te.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,ye,me){var oe=E("../internals/function-bind-native"),te=Function.prototype.call;ye.exports=oe?te.bind(te):function(){return te.apply(te,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/has-own-property"),ue=Function.prototype,de=oe&&Object.getOwnPropertyDescriptor,le=te(ue,"name"),ce=le&&function(){}.name==="something",ae=le&&(!oe||oe&&de(ue,"name").configurable);ye.exports={EXISTS:le,PROPER:ce,CONFIGURABLE:ae}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,ye,me){var oe=E("../internals/function-bind-native"),te=Function.prototype,ue=te.bind,de=te.call,le=oe&&ue.bind(de,de);ye.exports=oe?function(ce){return ce&&le(ce)}:function(ce){return ce&&function(){return de.apply(ce,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/is-callable"),ue=function(de){return te(de)?de:void 0};ye.exports=function(de,le){return arguments.length<2?ue(oe[de]):oe[de]&&oe[de][le]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,ye,me){var oe=E("../internals/classof"),te=E("../internals/get-method"),ue=E("../internals/iterators"),de=E("../internals/well-known-symbol"),le=de("iterator");ye.exports=function(ce){if(ce!=null)return te(ce,le)||te(ce,"@@iterator")||ue[oe(ce)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/function-call"),ue=E("../internals/a-callable"),de=E("../internals/an-object"),le=E("../internals/try-to-string"),ce=E("../internals/get-iterator-method"),ae=oe.TypeError;ye.exports=function(ie,ne){var a=arguments.length<2?ce(ie):ne;if(ue(a))return de(te(a,ie));throw ae(le(ie)+" 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,ye,me){var oe=E("../internals/a-callable");ye.exports=function(te,ue){var de=te[ue];return de==null?void 0:oe(de)}},{"../internals/a-callable":95}],162:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-object"),ue=Math.floor,de=oe("".charAt),le=oe("".replace),ce=oe("".slice),ae=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ie=/\$([$&'`]|\d{1,2})/g;ye.exports=function(ne,a,y,x,b,z){var ee=y+ne.length,re=x.length,se=ie;return b!==void 0&&(b=te(b),se=ae),le(z,se,function(fe,ve){var ge;switch(de(ve,0)){case"$":return"$";case"&":return ne;case"`":return ce(a,0,y);case"'":return ce(a,ee);case"<":ge=b[ce(ve,1,-1)];break;default:var he=+ve;if(he===0)return fe;if(he>re){var pe=ue(he/10);return pe===0?fe:pe<=re?x[pe-1]===void 0?de(ve,1):x[pe-1]+de(ve,1):fe}ge=x[he-1]}return ge===void 0?"":ge})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,ye,me){(function(oe){(function(){var te=function(ue){return ue&&ue.Math==Math&&ue};ye.exports=te(typeof globalThis=="object"&&globalThis)||te(typeof window=="object"&&window)||te(typeof self=="object"&&self)||te(typeof oe=="object"&&oe)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof Ct!="undefined"?Ct:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-object"),ue=oe({}.hasOwnProperty);ye.exports=Object.hasOwn||function(le,ce){return ue(te(le),ce)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,ye,me){ye.exports={}},{}],166:[function(E,ye,me){var oe=E("../internals/global");ye.exports=function(te,ue){var de=oe.console;de&&de.error&&(arguments.length==1?de.error(te):de.error(te,ue))}},{"../internals/global":163}],167:[function(E,ye,me){var oe=E("../internals/get-built-in");ye.exports=oe("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/fails"),ue=E("../internals/document-create-element");ye.exports=!oe&&!te(function(){return Object.defineProperty(ue("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,ye,me){var oe=E("../internals/global"),te=oe.Array,ue=Math.abs,de=Math.pow,le=Math.floor,ce=Math.log,ae=Math.LN2,ie=function(a,y,x){var b=te(x),z=x*8-y-1,ee=(1<<z)-1,re=ee>>1,se=y===23?de(2,-24)-de(2,-77):0,fe=a<0||a===0&&1/a<0?1:0,ve=0,ge,he,pe;for(a=ue(a),a!=a||a===1/0?(he=a!=a?1:0,ge=ee):(ge=le(ce(a)/ae),pe=de(2,-ge),a*pe<1&&(ge--,pe*=2),ge+re>=1?a+=se/pe:a+=se*de(2,1-re),a*pe>=2&&(ge++,pe/=2),ge+re>=ee?(he=0,ge=ee):ge+re>=1?(he=(a*pe-1)*de(2,y),ge=ge+re):(he=a*de(2,re-1)*de(2,y),ge=0));y>=8;)b[ve++]=he&255,he/=256,y-=8;for(ge=ge<<y|he,z+=y;z>0;)b[ve++]=ge&255,ge/=256,z-=8;return b[--ve]|=fe*128,b},ne=function(a,y){var x=a.length,b=x*8-y-1,z=(1<<b)-1,ee=z>>1,re=b-7,se=x-1,fe=a[se--],ve=fe&127,ge;for(fe>>=7;re>0;)ve=ve*256+a[se--],re-=8;for(ge=ve&(1<<-re)-1,ve>>=-re,re+=y;re>0;)ge=ge*256+a[se--],re-=8;if(ve===0)ve=1-ee;else{if(ve===z)return ge?NaN:fe?-1/0:1/0;ge=ge+de(2,y),ve=ve-ee}return(fe?-1:1)*ge*de(2,ve-y)};ye.exports={pack:ie,unpack:ne}},{"../internals/global":163}],170:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/function-uncurry-this"),ue=E("../internals/fails"),de=E("../internals/classof-raw"),le=oe.Object,ce=te("".split);ye.exports=ue(function(){return!le("z").propertyIsEnumerable(0)})?function(ae){return de(ae)=="String"?ce(ae,""):le(ae)}:le},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,ye,me){var oe=E("../internals/is-callable"),te=E("../internals/is-object"),ue=E("../internals/object-set-prototype-of");ye.exports=function(de,le,ce){var ae,ie;return ue&&oe(ae=le.constructor)&&ae!==ce&&te(ie=ae.prototype)&&ie!==ce.prototype&&ue(de,ie),de}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/is-callable"),ue=E("../internals/shared-store"),de=oe(Function.toString);te(ue.inspectSource)||(ue.inspectSource=function(le){return de(le)}),ye.exports=ue.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,ye,me){var oe=E("../internals/native-weak-map"),te=E("../internals/global"),ue=E("../internals/function-uncurry-this"),de=E("../internals/is-object"),le=E("../internals/create-non-enumerable-property"),ce=E("../internals/has-own-property"),ae=E("../internals/shared-store"),ie=E("../internals/shared-key"),ne=E("../internals/hidden-keys"),a="Object already initialized",y=te.TypeError,x=te.WeakMap,b,z,ee,re=function(Se){return ee(Se)?z(Se):b(Se,{})},se=function(Se){return function(be){var je;if(!de(be)||(je=z(be)).type!==Se)throw y("Incompatible receiver, "+Se+" required");return je}};if(oe||ae.state){var fe=ae.state||(ae.state=new x),ve=ue(fe.get),ge=ue(fe.has),he=ue(fe.set);b=function(Se,be){if(ge(fe,Se))throw new y(a);return be.facade=Se,he(fe,Se,be),be},z=function(Se){return ve(fe,Se)||{}},ee=function(Se){return ge(fe,Se)}}else{var pe=ie("state");ne[pe]=!0,b=function(Se,be){if(ce(Se,pe))throw new y(a);return be.facade=Se,le(Se,pe,be),be},z=function(Se){return ce(Se,pe)?Se[pe]:{}},ee=function(Se){return ce(Se,pe)}}ye.exports={set:b,get:z,has:ee,enforce:re,getterFor:se}},{"../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,ye,me){var oe=E("../internals/well-known-symbol"),te=E("../internals/iterators"),ue=oe("iterator"),de=Array.prototype;ye.exports=function(le){return le!==void 0&&(te.Array===le||de[ue]===le)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,ye,me){var oe=E("../internals/classof-raw");ye.exports=Array.isArray||function(ue){return oe(ue)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,ye,me){ye.exports=function(oe){return typeof oe=="function"}},{}],177:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/fails"),ue=E("../internals/is-callable"),de=E("../internals/classof"),le=E("../internals/get-built-in"),ce=E("../internals/inspect-source"),ae=function(){},ie=[],ne=le("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=oe(a.exec),x=!a.exec(ae),b=function(re){if(!ue(re))return!1;try{return ne(ae,ie,re),!0}catch(se){return!1}},z=function(re){if(!ue(re))return!1;switch(de(re)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,ce(re))}catch(se){return!0}};z.sham=!0,ye.exports=!ne||te(function(){var ee;return b(b.call)||!b(Object)||!b(function(){ee=!0})||ee})?z: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,ye,me){var oe=E("../internals/fails"),te=E("../internals/is-callable"),ue=/#|\.prototype\./,de=function(ne,a){var y=ce[le(ne)];return y==ie?!0:y==ae?!1:te(a)?oe(a):!!a},le=de.normalize=function(ne){return String(ne).replace(ue,".").toLowerCase()},ce=de.data={},ae=de.NATIVE="N",ie=de.POLYFILL="P";ye.exports=de},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,ye,me){var oe=E("../internals/is-object"),te=Math.floor;ye.exports=Number.isInteger||function(de){return!oe(de)&&isFinite(de)&&te(de)===de}},{"../internals/is-object":180}],180:[function(E,ye,me){var oe=E("../internals/is-callable");ye.exports=function(te){return typeof te=="object"?te!==null:oe(te)}},{"../internals/is-callable":176}],181:[function(E,ye,me){ye.exports=!1},{}],182:[function(E,ye,me){var oe=E("../internals/is-object"),te=E("../internals/classof-raw"),ue=E("../internals/well-known-symbol"),de=ue("match");ye.exports=function(le){var ce;return oe(le)&&((ce=le[de])!==void 0?!!ce:te(le)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/get-built-in"),ue=E("../internals/is-callable"),de=E("../internals/object-is-prototype-of"),le=E("../internals/use-symbol-as-uid"),ce=oe.Object;ye.exports=le?function(ae){return typeof ae=="symbol"}:function(ae){var ie=te("Symbol");return ue(ie)&&de(ie.prototype,ce(ae))}},{"../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,ye,me){var oe=E("../internals/global"),te=E("../internals/function-bind-context"),ue=E("../internals/function-call"),de=E("../internals/an-object"),le=E("../internals/try-to-string"),ce=E("../internals/is-array-iterator-method"),ae=E("../internals/length-of-array-like"),ie=E("../internals/object-is-prototype-of"),ne=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=oe.TypeError,b=function(ee,re){this.stopped=ee,this.result=re},z=b.prototype;ye.exports=function(ee,re,se){var fe=se&&se.that,ve=!!(se&&se.AS_ENTRIES),ge=!!(se&&se.IS_ITERATOR),he=!!(se&&se.INTERRUPTED),pe=te(re,fe),Se,be,je,we,Oe,Ae,Fe,ke=function(De){return Se&&y(Se,"normal",De),new b(!0,De)},Ve=function(De){return ve?(de(De),he?pe(De[0],De[1],ke):pe(De[0],De[1])):he?pe(De,ke):pe(De)};if(ge)Se=ee;else{if(be=a(ee),!be)throw x(le(ee)+" is not iterable");if(ce(be)){for(je=0,we=ae(ee);we>je;je++)if(Oe=Ve(ee[je]),Oe&&ie(z,Oe))return Oe;return new b(!1)}Se=ne(ee,be)}for(Ae=Se.next;!(Fe=ue(Ae,Se)).done;){try{Oe=Ve(Fe.value)}catch(De){y(Se,"throw",De)}if(typeof Oe=="object"&&Oe&&ie(z,Oe))return Oe}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,ye,me){var oe=E("../internals/function-call"),te=E("../internals/an-object"),ue=E("../internals/get-method");ye.exports=function(de,le,ce){var ae,ie;te(de);try{if(ae=ue(de,"return"),!ae){if(le==="throw")throw ce;return ce}ae=oe(ae,de)}catch(ne){ie=!0,ae=ne}if(le==="throw")throw ce;if(ie)throw ae;return te(ae),ce}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,ye,me){"use strict";var oe=E("../internals/fails"),te=E("../internals/is-callable"),ue=E("../internals/object-create"),de=E("../internals/object-get-prototype-of"),le=E("../internals/redefine"),ce=E("../internals/well-known-symbol"),ae=E("../internals/is-pure"),ie=ce("iterator"),ne=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=de(de(x)),y!==Object.prototype&&(a=y)):ne=!0);var b=a==null||oe(function(){var z={};return a[ie].call(z)!==z});b?a={}:ae&&(a=ue(a)),te(a[ie])||le(a,ie,function(){return this}),ye.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:ne}},{"../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,ye,me){arguments[4][165][0].apply(me,arguments)},{dup:165}],188:[function(E,ye,me){var oe=E("../internals/to-length");ye.exports=function(te){return oe(te.length)}},{"../internals/to-length":249}],189:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/function-bind-context"),ue=E("../internals/object-get-own-property-descriptor").f,de=E("../internals/task").set,le=E("../internals/engine-is-ios"),ce=E("../internals/engine-is-ios-pebble"),ae=E("../internals/engine-is-webos-webkit"),ie=E("../internals/engine-is-node"),ne=oe.MutationObserver||oe.WebKitMutationObserver,a=oe.document,y=oe.process,x=oe.Promise,b=ue(oe,"queueMicrotask"),z=b&&b.value,ee,re,se,fe,ve,ge,he,pe;z||(ee=function(){var Se,be;for(ie&&(Se=y.domain)&&Se.exit();re;){be=re.fn,re=re.next;try{be()}catch(je){throw re?fe():se=void 0,je}}se=void 0,Se&&Se.enter()},!le&&!ie&&!ae&&ne&&a?(ve=!0,ge=a.createTextNode(""),new ne(ee).observe(ge,{characterData:!0}),fe=function(){ge.data=ve=!ve}):!ce&&x&&x.resolve?(he=x.resolve(void 0),he.constructor=x,pe=te(he.then,he),fe=function(){pe(ee)}):ie?fe=function(){y.nextTick(ee)}:(de=te(de,oe),fe=function(){de(ee)})),ye.exports=z||function(Se){var be={fn:Se,next:void 0};se&&(se.next=be),re||(re=be,fe()),se=be}},{"../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,ye,me){var oe=E("../internals/native-symbol");ye.exports=oe&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,ye,me){var oe=E("../internals/engine-v8-version"),te=E("../internals/fails");ye.exports=!!Object.getOwnPropertySymbols&&!te(function(){var ue=Symbol();return!String(ue)||!(Object(ue)instanceof Symbol)||!Symbol.sham&&oe&&oe<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/is-callable"),ue=E("../internals/inspect-source"),de=oe.WeakMap;ye.exports=te(de)&&/native code/.test(ue(de))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,ye,me){"use strict";var oe=E("../internals/a-callable"),te=function(ue){var de,le;this.promise=new ue(function(ce,ae){if(de!==void 0||le!==void 0)throw TypeError("Bad Promise constructor");de=ce,le=ae}),this.resolve=oe(de),this.reject=oe(le)};ye.exports.f=function(ue){return new te(ue)}},{"../internals/a-callable":95}],194:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/is-regexp"),ue=oe.TypeError;ye.exports=function(de){if(te(de))throw ue("The method doesn't accept regular expressions");return de}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,ye,me){"use strict";var oe=E("../internals/descriptors"),te=E("../internals/function-uncurry-this"),ue=E("../internals/function-call"),de=E("../internals/fails"),le=E("../internals/object-keys"),ce=E("../internals/object-get-own-property-symbols"),ae=E("../internals/object-property-is-enumerable"),ie=E("../internals/to-object"),ne=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=te([].concat);ye.exports=!a||de(function(){if(oe&&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={},z={},ee=Symbol(),re="abcdefghijklmnopqrst";return b[ee]=7,re.split("").forEach(function(se){z[se]=se}),a({},b)[ee]!=7||le(a({},z)).join("")!=re})?function(z,ee){for(var re=ie(z),se=arguments.length,fe=1,ve=ce.f,ge=ae.f;se>fe;)for(var he=ne(arguments[fe++]),pe=ve?x(le(he),ve(he)):le(he),Se=pe.length,be=0,je;Se>be;)je=pe[be++],(!oe||ue(ge,he,je))&&(re[je]=he[je]);return re}: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,ye,me){var oe=E("../internals/an-object"),te=E("../internals/object-define-properties"),ue=E("../internals/enum-bug-keys"),de=E("../internals/hidden-keys"),le=E("../internals/html"),ce=E("../internals/document-create-element"),ae=E("../internals/shared-key"),ie=">",ne="<",a="prototype",y="script",x=ae("IE_PROTO"),b=function(){},z=function(ve){return ne+y+ie+ve+ne+"/"+y+ie},ee=function(ve){ve.write(z("")),ve.close();var ge=ve.parentWindow.Object;return ve=null,ge},re=function(){var ve=ce("iframe"),ge="java"+y+":",he;return ve.style.display="none",le.appendChild(ve),ve.src=String(ge),he=ve.contentWindow.document,he.open(),he.write(z("document.F=Object")),he.close(),he.F},se,fe=function(){try{se=new ActiveXObject("htmlfile")}catch(ge){}fe=typeof document!="undefined"?document.domain&&se?ee(se):re():ee(se);for(var ve=ue.length;ve--;)delete fe[a][ue[ve]];return fe()};de[x]=!0,ye.exports=Object.create||function(ge,he){var pe;return ge!==null?(b[a]=oe(ge),pe=new b,b[a]=null,pe[x]=ge):pe=fe(),he===void 0?pe:te.f(pe,he)}},{"../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,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/v8-prototype-define-bug"),ue=E("../internals/object-define-property"),de=E("../internals/an-object"),le=E("../internals/to-indexed-object"),ce=E("../internals/object-keys");me.f=oe&&!te?Object.defineProperties:function(ie,ne){de(ie);for(var a=le(ne),y=ce(ne),x=y.length,b=0,z;x>b;)ue.f(ie,z=y[b++],a[z]);return ie}},{"../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,ye,me){var oe=E("../internals/global"),te=E("../internals/descriptors"),ue=E("../internals/ie8-dom-define"),de=E("../internals/v8-prototype-define-bug"),le=E("../internals/an-object"),ce=E("../internals/to-property-key"),ae=oe.TypeError,ie=Object.defineProperty,ne=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";me.f=te?de?function(z,ee,re){if(le(z),ee=ce(ee),le(re),typeof z=="function"&&ee==="prototype"&&"value"in re&&x in re&&!re[x]){var se=ne(z,ee);se&&se[x]&&(z[ee]=re.value,re={configurable:y in re?re[y]:se[y],enumerable:a in re?re[a]:se[a],writable:!1})}return ie(z,ee,re)}:ie:function(z,ee,re){if(le(z),ee=ce(ee),le(re),ue)try{return ie(z,ee,re)}catch(se){}if("get"in re||"set"in re)throw ae("Accessors not supported");return"value"in re&&(z[ee]=re.value),z}},{"../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,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/function-call"),ue=E("../internals/object-property-is-enumerable"),de=E("../internals/create-property-descriptor"),le=E("../internals/to-indexed-object"),ce=E("../internals/to-property-key"),ae=E("../internals/has-own-property"),ie=E("../internals/ie8-dom-define"),ne=Object.getOwnPropertyDescriptor;me.f=oe?ne:function(y,x){if(y=le(y),x=ce(x),ie)try{return ne(y,x)}catch(b){}if(ae(y,x))return de(!te(ue.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,ye,me){var oe=E("../internals/classof-raw"),te=E("../internals/to-indexed-object"),ue=E("../internals/object-get-own-property-names").f,de=E("../internals/array-slice-simple"),le=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ce=function(ae){try{return ue(ae)}catch(ie){return de(le)}};ye.exports.f=function(ie){return le&&oe(ie)=="Window"?ce(ie):ue(te(ie))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,ye,me){var oe=E("../internals/object-keys-internal"),te=E("../internals/enum-bug-keys"),ue=te.concat("length","prototype");me.f=Object.getOwnPropertyNames||function(le){return oe(le,ue)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,ye,me){me.f=Object.getOwnPropertySymbols},{}],203:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/has-own-property"),ue=E("../internals/is-callable"),de=E("../internals/to-object"),le=E("../internals/shared-key"),ce=E("../internals/correct-prototype-getter"),ae=le("IE_PROTO"),ie=oe.Object,ne=ie.prototype;ye.exports=ce?ie.getPrototypeOf:function(a){var y=de(a);if(te(y,ae))return y[ae];var x=y.constructor;return ue(x)&&y instanceof x?x.prototype:y instanceof ie?ne: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,ye,me){var oe=E("../internals/function-uncurry-this");ye.exports=oe({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/has-own-property"),ue=E("../internals/to-indexed-object"),de=E("../internals/array-includes").indexOf,le=E("../internals/hidden-keys"),ce=oe([].push);ye.exports=function(ae,ie){var ne=ue(ae),a=0,y=[],x;for(x in ne)!te(le,x)&&te(ne,x)&&ce(y,x);for(;ie.length>a;)te(ne,x=ie[a++])&&(~de(y,x)||ce(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,ye,me){var oe=E("../internals/object-keys-internal"),te=E("../internals/enum-bug-keys");ye.exports=Object.keys||function(de){return oe(de,te)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,ye,me){"use strict";var oe={}.propertyIsEnumerable,te=Object.getOwnPropertyDescriptor,ue=te&&!oe.call({1:2},1);me.f=ue?function(le){var ce=te(this,le);return!!ce&&ce.enumerable}:oe},{}],208:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/an-object"),ue=E("../internals/a-possible-prototype");ye.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var de=!1,le={},ce;try{ce=oe(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ce(le,[]),de=le instanceof Array}catch(ae){}return function(ie,ne){return te(ie),ue(ne),de?ce(ie,ne):ie.__proto__=ne,ie}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/function-uncurry-this"),ue=E("../internals/object-keys"),de=E("../internals/to-indexed-object"),le=E("../internals/object-property-is-enumerable").f,ce=te(le),ae=te([].push),ie=function(ne){return function(a){for(var y=de(a),x=ue(y),b=x.length,z=0,ee=[],re;b>z;)re=x[z++],(!oe||ce(y,re))&&ae(ee,ne?[re,y[re]]:y[re]);return ee}};ye.exports={entries:ie(!0),values:ie(!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,ye,me){"use strict";var oe=E("../internals/to-string-tag-support"),te=E("../internals/classof");ye.exports=oe?{}.toString:function(){return"[object "+te(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/function-call"),ue=E("../internals/is-callable"),de=E("../internals/is-object"),le=oe.TypeError;ye.exports=function(ce,ae){var ie,ne;if(ae==="string"&&ue(ie=ce.toString)&&!de(ne=te(ie,ce))||ue(ie=ce.valueOf)&&!de(ne=te(ie,ce))||ae!=="string"&&ue(ie=ce.toString)&&!de(ne=te(ie,ce)))return ne;throw le("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,ye,me){var oe=E("../internals/get-built-in"),te=E("../internals/function-uncurry-this"),ue=E("../internals/object-get-own-property-names"),de=E("../internals/object-get-own-property-symbols"),le=E("../internals/an-object"),ce=te([].concat);ye.exports=oe("Reflect","ownKeys")||function(ie){var ne=ue.f(le(ie)),a=de.f;return a?ce(ne,a(ie)):ne}},{"../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,ye,me){var oe=E("../internals/global");ye.exports=oe},{"../internals/global":163}],214:[function(E,ye,me){ye.exports=function(oe){try{return{error:!1,value:oe()}}catch(te){return{error:!0,value:te}}}},{}],215:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/promise-native-constructor"),ue=E("../internals/is-callable"),de=E("../internals/is-forced"),le=E("../internals/inspect-source"),ce=E("../internals/well-known-symbol"),ae=E("../internals/engine-is-browser"),ie=E("../internals/is-pure"),ne=E("../internals/engine-v8-version"),a=te&&te.prototype,y=ce("species"),x=!1,b=ue(oe.PromiseRejectionEvent),z=de("Promise",function(){var ee=le(te),re=ee!==String(te);if(!re&&ne===66||ie&&!(a.catch&&a.finally))return!0;if(ne>=51&&/native code/.test(ee))return!1;var se=new te(function(ge){ge(1)}),fe=function(ge){ge(function(){},function(){})},ve=se.constructor={};return ve[y]=fe,x=se.then(function(){})instanceof fe,x?!re&&ae&&!b:!0});ye.exports={CONSTRUCTOR:z,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,ye,me){var oe=E("../internals/global");ye.exports=oe.Promise},{"../internals/global":163}],217:[function(E,ye,me){var oe=E("../internals/an-object"),te=E("../internals/is-object"),ue=E("../internals/new-promise-capability");ye.exports=function(de,le){if(oe(de),te(le)&&le.constructor===de)return le;var ce=ue.f(de),ae=ce.resolve;return ae(le),ce.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,ye,me){var oe=E("../internals/promise-native-constructor"),te=E("../internals/check-correctness-of-iteration"),ue=E("../internals/promise-constructor-detection").CONSTRUCTOR;ye.exports=ue||!te(function(de){oe.all(de).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,ye,me){var oe=E("../internals/object-define-property").f;ye.exports=function(te,ue,de){de in te||oe(te,de,{configurable:!0,get:function(){return ue[de]},set:function(le){ue[de]=le}})}},{"../internals/object-define-property":198}],220:[function(E,ye,me){var oe=function(){this.head=null,this.tail=null};oe.prototype={add:function(te){var ue={item:te,next:null};this.head?this.tail.next=ue:this.head=ue,this.tail=ue},get:function(){var te=this.head;if(te)return this.head=te.next,this.tail===te&&(this.tail=null),te.item}},ye.exports=oe},{}],221:[function(E,ye,me){var oe=E("../internals/redefine");ye.exports=function(te,ue,de){for(var le in ue)oe(te,le,ue[le],de);return te}},{"../internals/redefine":222}],222:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/is-callable"),ue=E("../internals/has-own-property"),de=E("../internals/create-non-enumerable-property"),le=E("../internals/set-global"),ce=E("../internals/inspect-source"),ae=E("../internals/internal-state"),ie=E("../internals/function-name").CONFIGURABLE,ne=ae.get,a=ae.enforce,y=String(String).split("String");(ye.exports=function(x,b,z,ee){var re=ee?!!ee.unsafe:!1,se=ee?!!ee.enumerable:!1,fe=ee?!!ee.noTargetGet:!1,ve=ee&&ee.name!==void 0?ee.name:b,ge;if(te(z)&&(String(ve).slice(0,7)==="Symbol("&&(ve="["+String(ve).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ue(z,"name")||ie&&z.name!==ve)&&de(z,"name",ve),ge=a(z),ge.source||(ge.source=y.join(typeof ve=="string"?ve:""))),x===oe){se?x[b]=z:le(b,z);return}else re?!fe&&x[b]&&(se=!0):delete x[b];se?x[b]=z:de(x,b,z)})(Function.prototype,"toString",function(){return te(this)&&ne(this).source||ce(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,ye,me){var oe=E("../internals/global"),te=E("../internals/function-call"),ue=E("../internals/an-object"),de=E("../internals/is-callable"),le=E("../internals/classof-raw"),ce=E("../internals/regexp-exec"),ae=oe.TypeError;ye.exports=function(ie,ne){var a=ie.exec;if(de(a)){var y=te(a,ie,ne);return y!==null&&ue(y),y}if(le(ie)==="RegExp")return te(ce,ie,ne);throw ae("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,ye,me){"use strict";var oe=E("../internals/function-call"),te=E("../internals/function-uncurry-this"),ue=E("../internals/to-string"),de=E("../internals/regexp-flags"),le=E("../internals/regexp-sticky-helpers"),ce=E("../internals/shared"),ae=E("../internals/object-create"),ie=E("../internals/internal-state").get,ne=E("../internals/regexp-unsupported-dot-all"),a=E("../internals/regexp-unsupported-ncg"),y=ce("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,b=x,z=te("".charAt),ee=te("".indexOf),re=te("".replace),se=te("".slice),fe=function(){var pe=/a/,Se=/b*/g;return oe(x,pe,"a"),oe(x,Se,"a"),pe.lastIndex!==0||Se.lastIndex!==0}(),ve=le.BROKEN_CARET,ge=/()??/.exec("")[1]!==void 0,he=fe||ge||ve||ne||a;he&&(b=function(Se){var be=this,je=ie(be),we=ue(Se),Oe=je.raw,Ae,Fe,ke,Ve,De,ut,nt;if(Oe)return Oe.lastIndex=be.lastIndex,Ae=oe(b,Oe,we),be.lastIndex=Oe.lastIndex,Ae;var qe=je.groups,Xe=ve&&be.sticky,$e=oe(de,be),Ue=be.source,Be=0,tt=we;if(Xe&&($e=re($e,"y",""),ee($e,"g")===-1&&($e+="g"),tt=se(we,be.lastIndex),be.lastIndex>0&&(!be.multiline||be.multiline&&z(we,be.lastIndex-1)!==`
|
|
`)&&(Ue="(?: "+Ue+")",tt=" "+tt,Be++),Fe=new RegExp("^(?:"+Ue+")",$e)),ge&&(Fe=new RegExp("^"+Ue+"$(?!\\s)",$e)),fe&&(ke=be.lastIndex),Ve=oe(x,Xe?Fe:be,tt),Xe?Ve?(Ve.input=se(Ve.input,Be),Ve[0]=se(Ve[0],Be),Ve.index=be.lastIndex,be.lastIndex+=Ve[0].length):be.lastIndex=0:fe&&Ve&&(be.lastIndex=be.global?Ve.index+Ve[0].length:ke),ge&&Ve&&Ve.length>1&&oe(y,Ve[0],Fe,function(){for(De=1;De<arguments.length-2;De++)arguments[De]===void 0&&(Ve[De]=void 0)}),Ve&&qe)for(Ve.groups=ut=ae(null),De=0;De<qe.length;De++)nt=qe[De],ut[nt[0]]=Ve[nt[1]];return Ve}),ye.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,ye,me){"use strict";var oe=E("../internals/an-object");ye.exports=function(){var te=oe(this),ue="";return te.hasIndices&&(ue+="d"),te.global&&(ue+="g"),te.ignoreCase&&(ue+="i"),te.multiline&&(ue+="m"),te.dotAll&&(ue+="s"),te.unicode&&(ue+="u"),te.sticky&&(ue+="y"),ue}},{"../internals/an-object":101}],226:[function(E,ye,me){var oe=E("../internals/function-call"),te=E("../internals/has-own-property"),ue=E("../internals/object-is-prototype-of"),de=E("../internals/regexp-flags"),le=RegExp.prototype;ye.exports=function(ce){var ae=ce.flags;return ae===void 0&&!("flags"in le)&&!te(ce,"flags")&&ue(le,ce)?oe(de,ce):ae}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(E,ye,me){var oe=E("../internals/fails"),te=E("../internals/global"),ue=te.RegExp,de=oe(function(){var ae=ue("a","y");return ae.lastIndex=2,ae.exec("abcd")!=null}),le=de||oe(function(){return!ue("a","y").sticky}),ce=de||oe(function(){var ae=ue("^r","gy");return ae.lastIndex=2,ae.exec("str")!=null});ye.exports={BROKEN_CARET:ce,MISSED_STICKY:le,UNSUPPORTED_Y:de}},{"../internals/fails":150,"../internals/global":163}],228:[function(E,ye,me){var oe=E("../internals/fails"),te=E("../internals/global"),ue=te.RegExp;ye.exports=oe(function(){var de=ue(".","s");return!(de.dotAll&&de.exec(`
|
|
`)&&de.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(E,ye,me){var oe=E("../internals/fails"),te=E("../internals/global"),ue=te.RegExp;ye.exports=oe(function(){var de=ue("(?<a>b)","g");return de.exec("b").groups.a!=="b"||"b".replace(de,"$<a>c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,ye,me){var oe=E("../internals/global"),te=oe.TypeError;ye.exports=function(ue){if(ue==null)throw te("Can't call method on "+ue);return ue}},{"../internals/global":163}],231:[function(E,ye,me){ye.exports=Object.is||function(te,ue){return te===ue?te!==0||1/te===1/ue:te!=te&&ue!=ue}},{}],232:[function(E,ye,me){var oe=E("../internals/global"),te=Object.defineProperty;ye.exports=function(ue,de){try{te(oe,ue,{value:de,configurable:!0,writable:!0})}catch(le){oe[ue]=de}return de}},{"../internals/global":163}],233:[function(E,ye,me){"use strict";var oe=E("../internals/get-built-in"),te=E("../internals/object-define-property"),ue=E("../internals/well-known-symbol"),de=E("../internals/descriptors"),le=ue("species");ye.exports=function(ce){var ae=oe(ce),ie=te.f;de&&ae&&!ae[le]&&ie(ae,le,{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,ye,me){var oe=E("../internals/object-define-property").f,te=E("../internals/has-own-property"),ue=E("../internals/well-known-symbol"),de=ue("toStringTag");ye.exports=function(le,ce,ae){le&&!ae&&(le=le.prototype),le&&!te(le,de)&&oe(le,de,{configurable:!0,value:ce})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,ye,me){var oe=E("../internals/shared"),te=E("../internals/uid"),ue=oe("keys");ye.exports=function(de){return ue[de]||(ue[de]=te(de))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/set-global"),ue="__core-js_shared__",de=oe[ue]||te(ue,{});ye.exports=de},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,ye,me){var oe=E("../internals/is-pure"),te=E("../internals/shared-store");(ye.exports=function(ue,de){return te[ue]||(te[ue]=de!==void 0?de:{})})("versions",[]).push({version:"3.22.1",mode:oe?"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,ye,me){var oe=E("../internals/an-object"),te=E("../internals/a-constructor"),ue=E("../internals/well-known-symbol"),de=ue("species");ye.exports=function(le,ce){var ae=oe(le).constructor,ie;return ae===void 0||(ie=oe(ae)[de])==null?ce:te(ie)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-integer-or-infinity"),ue=E("../internals/to-string"),de=E("../internals/require-object-coercible"),le=oe("".charAt),ce=oe("".charCodeAt),ae=oe("".slice),ie=function(ne){return function(a,y){var x=ue(de(a)),b=te(y),z=x.length,ee,re;return b<0||b>=z?ne?"":void 0:(ee=ce(x,b),ee<55296||ee>56319||b+1===z||(re=ce(x,b+1))<56320||re>57343?ne?le(x,b):ee:ne?ae(x,b,b+2):(ee-55296<<10)+(re-56320)+65536)}};ye.exports={codeAt:ie(!1),charAt:ie(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,ye,me){var oe=E("../internals/function-name").PROPER,te=E("../internals/fails"),ue=E("../internals/whitespaces"),de="\u200B\x85\u180E";ye.exports=function(le){return te(function(){return!!ue[le]()||de[le]()!==de||oe&&ue[le].name!==le})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/require-object-coercible"),ue=E("../internals/to-string"),de=E("../internals/whitespaces"),le=oe("".replace),ce="["+de+"]",ae=RegExp("^"+ce+ce+"*"),ie=RegExp(ce+ce+"*$"),ne=function(a){return function(y){var x=ue(te(y));return a&1&&(x=le(x,ae,"")),a&2&&(x=le(x,ie,"")),x}};ye.exports={start:ne(1),end:ne(2),trim:ne(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,ye,me){var oe=E("../internals/function-call"),te=E("../internals/get-built-in"),ue=E("../internals/well-known-symbol"),de=E("../internals/redefine");ye.exports=function(){var le=te("Symbol"),ce=le&&le.prototype,ae=ce&&ce.valueOf,ie=ue("toPrimitive");ce&&!ce[ie]&&de(ce,ie,function(ne){return oe(ae,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/function-apply"),ue=E("../internals/function-bind-context"),de=E("../internals/is-callable"),le=E("../internals/has-own-property"),ce=E("../internals/fails"),ae=E("../internals/html"),ie=E("../internals/array-slice"),ne=E("../internals/document-create-element"),a=E("../internals/validate-arguments-length"),y=E("../internals/engine-is-ios"),x=E("../internals/engine-is-node"),b=oe.setImmediate,z=oe.clearImmediate,ee=oe.process,re=oe.Dispatch,se=oe.Function,fe=oe.MessageChannel,ve=oe.String,ge=0,he={},pe="onreadystatechange",Se,be,je,we;try{Se=oe.location}catch(Ve){}var Oe=function(Ve){if(le(he,Ve)){var De=he[Ve];delete he[Ve],De()}},Ae=function(Ve){return function(){Oe(Ve)}},Fe=function(Ve){Oe(Ve.data)},ke=function(Ve){oe.postMessage(ve(Ve),Se.protocol+"//"+Se.host)};(!b||!z)&&(b=function(De){a(arguments.length,1);var ut=de(De)?De:se(De),nt=ie(arguments,1);return he[++ge]=function(){te(ut,void 0,nt)},be(ge),ge},z=function(De){delete he[De]},x?be=function(Ve){ee.nextTick(Ae(Ve))}:re&&re.now?be=function(Ve){re.now(Ae(Ve))}:fe&&!y?(je=new fe,we=je.port2,je.port1.onmessage=Fe,be=ue(we.postMessage,we)):oe.addEventListener&&de(oe.postMessage)&&!oe.importScripts&&Se&&Se.protocol!=="file:"&&!ce(ke)?(be=ke,oe.addEventListener("message",Fe,!1)):pe in ne("script")?be=function(Ve){ae.appendChild(ne("script"))[pe]=function(){ae.removeChild(this),Oe(Ve)}}:be=function(Ve){setTimeout(Ae(Ve),0)}),ye.exports={set:b,clear:z}},{"../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,ye,me){var oe=E("../internals/function-uncurry-this");ye.exports=oe(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,ye,me){var oe=E("../internals/to-integer-or-infinity"),te=Math.max,ue=Math.min;ye.exports=function(de,le){var ce=oe(de);return ce<0?te(ce+le,0):ue(ce,le)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/to-integer-or-infinity"),ue=E("../internals/to-length"),de=oe.RangeError;ye.exports=function(le){if(le===void 0)return 0;var ce=te(le),ae=ue(ce);if(ce!==ae)throw de("Wrong length or index");return ae}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,ye,me){var oe=E("../internals/indexed-object"),te=E("../internals/require-object-coercible");ye.exports=function(ue){return oe(te(ue))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,ye,me){var oe=Math.ceil,te=Math.floor;ye.exports=function(ue){var de=+ue;return de!==de||de===0?0:(de>0?te:oe)(de)}},{}],249:[function(E,ye,me){var oe=E("../internals/to-integer-or-infinity"),te=Math.min;ye.exports=function(ue){return ue>0?te(oe(ue),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/require-object-coercible"),ue=oe.Object;ye.exports=function(de){return ue(te(de))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/to-positive-integer"),ue=oe.RangeError;ye.exports=function(de,le){var ce=te(de);if(ce%le)throw ue("Wrong offset");return ce}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/to-integer-or-infinity"),ue=oe.RangeError;ye.exports=function(de){var le=te(de);if(le<0)throw ue("The argument can't be less than 0");return le}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/function-call"),ue=E("../internals/is-object"),de=E("../internals/is-symbol"),le=E("../internals/get-method"),ce=E("../internals/ordinary-to-primitive"),ae=E("../internals/well-known-symbol"),ie=oe.TypeError,ne=ae("toPrimitive");ye.exports=function(a,y){if(!ue(a)||de(a))return a;var x=le(a,ne),b;if(x){if(y===void 0&&(y="default"),b=te(x,a,y),!ue(b)||de(b))return b;throw ie("Can't convert object to primitive value")}return y===void 0&&(y="number"),ce(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,ye,me){var oe=E("../internals/to-primitive"),te=E("../internals/is-symbol");ye.exports=function(ue){var de=oe(ue,"string");return te(de)?de:de+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,ye,me){var oe=E("../internals/well-known-symbol"),te=oe("toStringTag"),ue={};ue[te]="z",ye.exports=String(ue)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/classof"),ue=oe.String;ye.exports=function(de){if(te(de)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ue(de)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,ye,me){var oe=E("../internals/global"),te=oe.String;ye.exports=function(ue){try{return te(ue)}catch(de){return"Object"}}},{"../internals/global":163}],258:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),ue=E("../internals/function-call"),de=E("../internals/descriptors"),le=E("../internals/typed-array-constructors-require-wrappers"),ce=E("../internals/array-buffer-view-core"),ae=E("../internals/array-buffer"),ie=E("../internals/an-instance"),ne=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"),z=E("../internals/to-offset"),ee=E("../internals/to-property-key"),re=E("../internals/has-own-property"),se=E("../internals/classof"),fe=E("../internals/is-object"),ve=E("../internals/is-symbol"),ge=E("../internals/object-create"),he=E("../internals/object-is-prototype-of"),pe=E("../internals/object-set-prototype-of"),Se=E("../internals/object-get-own-property-names").f,be=E("../internals/typed-array-from"),je=E("../internals/array-iteration").forEach,we=E("../internals/set-species"),Oe=E("../internals/object-define-property"),Ae=E("../internals/object-get-own-property-descriptor"),Fe=E("../internals/internal-state"),ke=E("../internals/inherit-if-required"),Ve=Fe.get,De=Fe.set,ut=Oe.f,nt=Ae.f,qe=Math.round,Xe=te.RangeError,$e=ae.ArrayBuffer,Ue=$e.prototype,Be=ae.DataView,tt=ce.NATIVE_ARRAY_BUFFER_VIEWS,Je=ce.TYPED_ARRAY_CONSTRUCTOR,ft=ce.TYPED_ARRAY_TAG,Ze=ce.TypedArray,Ge=ce.TypedArrayPrototype,Le=ce.aTypedArrayConstructor,Ke=ce.isTypedArray,Ee="BYTES_PER_ELEMENT",Re="Wrong length",Qe=function(ze,it){Le(ze);for(var St=0,dt=it.length,bt=new ze(dt);dt>St;)bt[St]=it[St++];return bt},Ye=function(ze,it){ut(ze,it,{get:function(){return Ve(this)[it]}})},We=function(ze){var it;return he(Ue,ze)||(it=se(ze))=="ArrayBuffer"||it=="SharedArrayBuffer"},Ce=function(ze,it){return Ke(ze)&&!ve(it)&&it in ze&&y(+it)&&it>=0},xe=function(it,St){return St=ee(St),Ce(it,St)?ne(2,it[St]):nt(it,St)},Ne=function(it,St,dt){return St=ee(St),Ce(it,St)&&fe(dt)&&re(dt,"value")&&!re(dt,"get")&&!re(dt,"set")&&!dt.configurable&&(!re(dt,"writable")||dt.writable)&&(!re(dt,"enumerable")||dt.enumerable)?(it[St]=dt.value,it):ut(it,St,dt)};de?(tt||(Ae.f=xe,Oe.f=Ne,Ye(Ge,"buffer"),Ye(Ge,"byteOffset"),Ye(Ge,"byteLength"),Ye(Ge,"length")),oe({target:"Object",stat:!0,forced:!tt},{getOwnPropertyDescriptor:xe,defineProperty:Ne}),ye.exports=function(ze,it,St){var dt=ze.match(/\d+$/)[0]/8,bt=ze+(St?"Clamped":"")+"Array",an="get"+ze,kt="set"+ze,lt=te[bt],at=lt,Dt=at&&at.prototype,rt={},_e=function(xt,Ut){var Wt=Ve(xt);return Wt.view[an](Ut*dt+Wt.byteOffset,!0)},mt=function(xt,Ut,Wt){var qt=Ve(xt);St&&(Wt=(Wt=qe(Wt))<0?0:Wt>255?255:Wt&255),qt.view[kt](Ut*dt+qt.byteOffset,Wt,!0)},Ot=function(xt,Ut){ut(xt,Ut,{get:function(){return _e(this,Ut)},set:function(Wt){return mt(this,Ut,Wt)},enumerable:!0})};tt?le&&(at=it(function(xt,Ut,Wt,qt){return ie(xt,Dt),ke(function(){return fe(Ut)?We(Ut)?qt!==void 0?new lt(Ut,z(Wt,dt),qt):Wt!==void 0?new lt(Ut,z(Wt,dt)):new lt(Ut):Ke(Ut)?Qe(at,Ut):ue(be,at,Ut):new lt(b(Ut))}(),xt,at)}),pe&&pe(at,Ze),je(Se(lt),function(xt){xt in at||a(at,xt,lt[xt])}),at.prototype=Dt):(at=it(function(xt,Ut,Wt,qt){ie(xt,Dt);var hn=0,jn=0,Tn,Fn,pr;if(!fe(Ut))pr=b(Ut),Fn=pr*dt,Tn=new $e(Fn);else if(We(Ut)){Tn=Ut,jn=z(Wt,dt);var yr=Ut.byteLength;if(qt===void 0){if(yr%dt||(Fn=yr-jn,Fn<0))throw Xe(Re)}else if(Fn=x(qt)*dt,Fn+jn>yr)throw Xe(Re);pr=Fn/dt}else return Ke(Ut)?Qe(at,Ut):ue(be,at,Ut);for(De(xt,{buffer:Tn,byteOffset:jn,byteLength:Fn,length:pr,view:new Be(Tn)});hn<pr;)Ot(xt,hn++)}),pe&&pe(at,Ze),Dt=at.prototype=ge(Ge)),Dt.constructor!==at&&a(Dt,"constructor",at),a(Dt,Je,at),ft&&a(Dt,ft,bt),rt[bt]=at,oe({global:!0,forced:at!=lt,sham:!tt},rt),Ee in at||a(at,Ee,dt),Ee in Dt||a(Dt,Ee,dt),we(bt)}):ye.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,ye,me){var oe=E("../internals/global"),te=E("../internals/fails"),ue=E("../internals/check-correctness-of-iteration"),de=E("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,le=oe.ArrayBuffer,ce=oe.Int8Array;ye.exports=!de||!te(function(){ce(1)})||!te(function(){new ce(-1)})||!ue(function(ae){new ce,new ce(null),new ce(1.5),new ce(ae)},!0)||te(function(){return new ce(new le(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,ye,me){var oe=E("../internals/array-from-constructor-and-list"),te=E("../internals/typed-array-species-constructor");ye.exports=function(ue,de){return oe(te(ue),de)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(E,ye,me){var oe=E("../internals/function-bind-context"),te=E("../internals/function-call"),ue=E("../internals/a-constructor"),de=E("../internals/to-object"),le=E("../internals/length-of-array-like"),ce=E("../internals/get-iterator"),ae=E("../internals/get-iterator-method"),ie=E("../internals/is-array-iterator-method"),ne=E("../internals/array-buffer-view-core").aTypedArrayConstructor;ye.exports=function(y){var x=ue(this),b=de(y),z=arguments.length,ee=z>1?arguments[1]:void 0,re=ee!==void 0,se=ae(b),fe,ve,ge,he,pe,Se;if(se&&!ie(se))for(pe=ce(b,se),Se=pe.next,b=[];!(he=te(Se,pe)).done;)b.push(he.value);for(re&&z>2&&(ee=oe(ee,arguments[2])),ve=le(b),ge=new(ne(x))(ve),fe=0;ve>fe;fe++)ge[fe]=re?ee(b[fe],fe):b[fe];return ge}},{"../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,ye,me){var oe=E("../internals/array-buffer-view-core"),te=E("../internals/species-constructor"),ue=oe.TYPED_ARRAY_CONSTRUCTOR,de=oe.aTypedArrayConstructor;ye.exports=function(le){return de(te(le,le[ue]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=0,ue=Math.random(),de=oe(1 .toString);ye.exports=function(le){return"Symbol("+(le===void 0?"":le)+")_"+de(++te+ue,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,ye,me){var oe=E("../internals/native-symbol");ye.exports=oe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/fails");ye.exports=oe&&te(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,ye,me){var oe=E("../internals/global"),te=oe.TypeError;ye.exports=function(ue,de){if(ue<de)throw te("Not enough arguments");return ue}},{"../internals/global":163}],267:[function(E,ye,me){var oe=E("../internals/well-known-symbol");me.f=oe},{"../internals/well-known-symbol":268}],268:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/shared"),ue=E("../internals/has-own-property"),de=E("../internals/uid"),le=E("../internals/native-symbol"),ce=E("../internals/use-symbol-as-uid"),ae=te("wks"),ie=oe.Symbol,ne=ie&&ie.for,a=ce?ie:ie&&ie.withoutSetter||de;ye.exports=function(y){if(!ue(ae,y)||!(le||typeof ae[y]=="string")){var x="Symbol."+y;le&&ue(ie,y)?ae[y]=ie[y]:ce&&ne?ae[y]=ne(x):ae[y]=a(x)}return ae[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,ye,me){ye.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,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),ue=E("../internals/array-buffer"),de=E("../internals/set-species"),le="ArrayBuffer",ce=ue[le],ae=te[le];oe({global:!0,forced:ae!==ce},{ArrayBuffer:ce}),de(le)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/function-uncurry-this"),ue=E("../internals/fails"),de=E("../internals/array-buffer"),le=E("../internals/an-object"),ce=E("../internals/to-absolute-index"),ae=E("../internals/to-length"),ie=E("../internals/species-constructor"),ne=de.ArrayBuffer,a=de.DataView,y=a.prototype,x=te(ne.prototype.slice),b=te(y.getUint8),z=te(y.setUint8),ee=ue(function(){return!new ne(2).slice(1,void 0).byteLength});oe({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:ee},{slice:function(se,fe){if(x&&fe===void 0)return x(le(this),se);for(var ve=le(this).byteLength,ge=ce(se,ve),he=ce(fe===void 0?ve:fe,ve),pe=new(ie(this,ne))(ae(he-ge)),Se=new a(this),be=new a(pe),je=0;ge<he;)z(be,je++,b(Se,ge++));return pe}})},{"../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,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),ue=E("../internals/fails"),de=E("../internals/is-array"),le=E("../internals/is-object"),ce=E("../internals/to-object"),ae=E("../internals/length-of-array-like"),ie=E("../internals/create-property"),ne=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"),z=9007199254740991,ee="Maximum allowed index exceeded",re=te.TypeError,se=x>=51||!ue(function(){var he=[];return he[b]=!1,he.concat()[0]!==he}),fe=a("concat"),ve=function(he){if(!le(he))return!1;var pe=he[b];return pe!==void 0?!!pe:de(he)},ge=!se||!fe;oe({target:"Array",proto:!0,forced:ge},{concat:function(pe){var Se=ce(this),be=ne(Se,0),je=0,we,Oe,Ae,Fe,ke;for(we=-1,Ae=arguments.length;we<Ae;we++)if(ke=we===-1?Se:arguments[we],ve(ke)){if(Fe=ae(ke),je+Fe>z)throw re(ee);for(Oe=0;Oe<Fe;Oe++,je++)Oe in ke&&ie(be,je,ke[Oe])}else{if(je>=z)throw re(ee);ie(be,je++,ke)}return be.length=je,be}})},{"../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,ye,me){var oe=E("../internals/export"),te=E("../internals/array-fill"),ue=E("../internals/add-to-unscopables");oe({target:"Array",proto:!0},{fill:te}),ue("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").filter,ue=E("../internals/array-method-has-species-support"),de=ue("filter");oe({target:"Array",proto:!0,forced:!de},{filter:function(ce){return te(this,ce,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").find,ue=E("../internals/add-to-unscopables"),de="find",le=!0;de in[]&&Array(1)[de](function(){le=!1}),oe({target:"Array",proto:!0,forced:le},{find:function(ae){return te(this,ae,arguments.length>1?arguments[1]:void 0)}}),ue(de)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,ye,me){var oe=E("../internals/export"),te=E("../internals/array-from"),ue=E("../internals/check-correctness-of-iteration"),de=!ue(function(le){Array.from(le)});oe({target:"Array",stat:!0,forced:de},{from:te})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/array-includes").includes,ue=E("../internals/add-to-unscopables");oe({target:"Array",proto:!0},{includes:function(le){return te(this,le,arguments.length>1?arguments[1]:void 0)}}),ue("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,ye,me){"use strict";var oe=E("../internals/to-indexed-object"),te=E("../internals/add-to-unscopables"),ue=E("../internals/iterators"),de=E("../internals/internal-state"),le=E("../internals/object-define-property").f,ce=E("../internals/define-iterator"),ae=E("../internals/is-pure"),ie=E("../internals/descriptors"),ne="Array Iterator",a=de.set,y=de.getterFor(ne);ye.exports=ce(Array,"Array",function(b,z){a(this,{type:ne,target:oe(b),index:0,kind:z})},function(){var b=y(this),z=b.target,ee=b.kind,re=b.index++;return!z||re>=z.length?(b.target=void 0,{value:void 0,done:!0}):ee=="keys"?{value:re,done:!1}:ee=="values"?{value:z[re],done:!1}:{value:[re,z[re]],done:!1}},"values");var x=ue.Arguments=ue.Array;if(te("keys"),te("values"),te("entries"),!ae&&ie&&x.name!=="values")try{le(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,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/function-uncurry-this"),ue=E("../internals/indexed-object"),de=E("../internals/to-indexed-object"),le=E("../internals/array-method-is-strict"),ce=te([].join),ae=ue!=Object,ie=le("join",",");oe({target:"Array",proto:!0,forced:ae||!ie},{join:function(a){return ce(de(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,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").map,ue=E("../internals/array-method-has-species-support"),de=ue("map");oe({target:"Array",proto:!0,forced:!de},{map:function(ce){return te(this,ce,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),ue=E("../internals/is-array"),de=E("../internals/is-constructor"),le=E("../internals/is-object"),ce=E("../internals/to-absolute-index"),ae=E("../internals/length-of-array-like"),ie=E("../internals/to-indexed-object"),ne=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"),z=a("species"),ee=te.Array,re=Math.max;oe({target:"Array",proto:!0,forced:!b},{slice:function(fe,ve){var ge=ie(this),he=ae(ge),pe=ce(fe,he),Se=ce(ve===void 0?he:ve,he),be,je,we;if(ue(ge)&&(be=ge.constructor,de(be)&&(be===ee||ue(be.prototype))?be=void 0:le(be)&&(be=be[z],be===null&&(be=void 0)),be===ee||be===void 0))return x(ge,pe,Se);for(je=new(be===void 0?ee:be)(re(Se-pe,0)),we=0;pe<Se;pe++,we++)pe in ge&&ne(je,we,ge[pe]);return je.length=we,je}})},{"../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,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/function-uncurry-this"),ue=E("../internals/a-callable"),de=E("../internals/to-object"),le=E("../internals/length-of-array-like"),ce=E("../internals/to-string"),ae=E("../internals/fails"),ie=E("../internals/array-sort"),ne=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"),z=[],ee=te(z.sort),re=te(z.push),se=ae(function(){z.sort(void 0)}),fe=ae(function(){z.sort(null)}),ve=ne("sort"),ge=!ae(function(){if(x)return x<70;if(!(a&&a>3)){if(y)return!0;if(b)return b<603;var Se="",be,je,we,Oe;for(be=65;be<76;be++){switch(je=String.fromCharCode(be),be){case 66:case 69:case 70:case 72:we=3;break;case 68:case 71:we=4;break;default:we=2}for(Oe=0;Oe<47;Oe++)z.push({k:je+Oe,v:we})}for(z.sort(function(Ae,Fe){return Fe.v-Ae.v}),Oe=0;Oe<z.length;Oe++)je=z[Oe].k.charAt(0),Se.charAt(Se.length-1)!==je&&(Se+=je);return Se!=="DGBEFHACIJK"}}),he=se||!fe||!ve||!ge,pe=function(Se){return function(be,je){return je===void 0?-1:be===void 0?1:Se!==void 0?+Se(be,je)||0:ce(be)>ce(je)?1:-1}};oe({target:"Array",proto:!0,forced:he},{sort:function(be){be!==void 0&&ue(be);var je=de(this);if(ge)return be===void 0?ee(je):ee(je,be);var we=[],Oe=le(je),Ae,Fe;for(Fe=0;Fe<Oe;Fe++)Fe in je&&re(we,je[Fe]);for(ie(we,pe(be)),Ae=we.length,Fe=0;Fe<Ae;)je[Fe]=we[Fe++];for(;Fe<Oe;)delete je[Fe++];return je}})},{"../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,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),ue=E("../internals/to-absolute-index"),de=E("../internals/to-integer-or-infinity"),le=E("../internals/length-of-array-like"),ce=E("../internals/to-object"),ae=E("../internals/array-species-create"),ie=E("../internals/create-property"),ne=E("../internals/array-method-has-species-support"),a=ne("splice"),y=te.TypeError,x=Math.max,b=Math.min,z=9007199254740991,ee="Maximum allowed length exceeded";oe({target:"Array",proto:!0,forced:!a},{splice:function(se,fe){var ve=ce(this),ge=le(ve),he=ue(se,ge),pe=arguments.length,Se,be,je,we,Oe,Ae;if(pe===0?Se=be=0:pe===1?(Se=0,be=ge-he):(Se=pe-2,be=b(x(de(fe),0),ge-he)),ge+Se-be>z)throw y(ee);for(je=ae(ve,be),we=0;we<be;we++)Oe=he+we,Oe in ve&&ie(je,we,ve[Oe]);if(je.length=be,Se<be){for(we=he;we<ge-be;we++)Oe=we+be,Ae=we+Se,Oe in ve?ve[Ae]=ve[Oe]:delete ve[Ae];for(we=ge;we>ge-be+Se;we--)delete ve[we-1]}else if(Se>be)for(we=ge-be;we>he;we--)Oe=we+be-1,Ae=we+Se-1,Oe in ve?ve[Ae]=ve[Oe]:delete ve[Ae];for(we=0;we<Se;we++)ve[we+he]=arguments[we+2];return ve.length=ge-be+Se,je}})},{"../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,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/function-name").EXISTS,ue=E("../internals/function-uncurry-this"),de=E("../internals/object-define-property").f,le=Function.prototype,ce=ue(le.toString),ae=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ie=ue(ae.exec),ne="name";oe&&!te&&de(le,ne,{configurable:!0,get:function(){try{return ie(ae,ce(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,ye,me){var oe=E("../internals/export"),te=E("../internals/get-built-in"),ue=E("../internals/function-apply"),de=E("../internals/function-call"),le=E("../internals/function-uncurry-this"),ce=E("../internals/fails"),ae=E("../internals/is-array"),ie=E("../internals/is-callable"),ne=E("../internals/is-object"),a=E("../internals/is-symbol"),y=E("../internals/array-slice"),x=E("../internals/native-symbol"),b=te("JSON","stringify"),z=le(/./.exec),ee=le("".charAt),re=le("".charCodeAt),se=le("".replace),fe=le(1 .toString),ve=/[\uD800-\uDFFF]/g,ge=/^[\uD800-\uDBFF]$/,he=/^[\uDC00-\uDFFF]$/,pe=!x||ce(function(){var we=te("Symbol")();return b([we])!="[null]"||b({a:we})!="{}"||b(Object(we))!="{}"}),Se=ce(function(){return b("\uDF06\uD834")!=='"\\udf06\\ud834"'||b("\uDEAD")!=='"\\udead"'}),be=function(we,Oe){var Ae=y(arguments),Fe=Oe;if(!(!ne(Oe)&&we===void 0||a(we)))return ae(Oe)||(Oe=function(ke,Ve){if(ie(Fe)&&(Ve=de(Fe,this,ke,Ve)),!a(Ve))return Ve}),Ae[1]=Oe,ue(b,null,Ae)},je=function(we,Oe,Ae){var Fe=ee(Ae,Oe-1),ke=ee(Ae,Oe+1);return z(ge,we)&&!z(he,ke)||z(he,we)&&!z(ge,Fe)?"\\u"+fe(re(we,0),16):we};b&&oe({target:"JSON",stat:!0,forced:pe||Se},{stringify:function(Oe,Ae,Fe){var ke=y(arguments),Ve=ue(pe?be:b,null,ke);return Se&&typeof Ve=="string"?se(Ve,ve,je):Ve}})},{"../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,ye,me){"use strict";var oe=E("../internals/descriptors"),te=E("../internals/global"),ue=E("../internals/function-uncurry-this"),de=E("../internals/is-forced"),le=E("../internals/redefine"),ce=E("../internals/has-own-property"),ae=E("../internals/inherit-if-required"),ie=E("../internals/object-is-prototype-of"),ne=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,z=E("../internals/object-define-property").f,ee=E("../internals/this-number-value"),re=E("../internals/string-trim").trim,se="Number",fe=te[se],ve=fe.prototype,ge=te.TypeError,he=ue("".slice),pe=ue("".charCodeAt),Se=function(Fe){var ke=a(Fe,"number");return typeof ke=="bigint"?ke:be(ke)},be=function(Fe){var ke=a(Fe,"number"),Ve,De,ut,nt,qe,Xe,$e,Ue;if(ne(ke))throw ge("Cannot convert a Symbol value to a number");if(typeof ke=="string"&&ke.length>2){if(ke=re(ke),Ve=pe(ke,0),Ve===43||Ve===45){if(De=pe(ke,2),De===88||De===120)return NaN}else if(Ve===48){switch(pe(ke,1)){case 66:case 98:ut=2,nt=49;break;case 79:case 111:ut=8,nt=55;break;default:return+ke}for(qe=he(ke,2),Xe=qe.length,$e=0;$e<Xe;$e++)if(Ue=pe(qe,$e),Ue<48||Ue>nt)return NaN;return parseInt(qe,ut)}}return+ke};if(de(se,!fe(" 0o1")||!fe("0b1")||fe("+0x1"))){for(var je=function(ke){var Ve=arguments.length<1?0:fe(Se(ke)),De=this;return ie(ve,De)&&y(function(){ee(De)})?ae(Object(Ve),De,je):Ve},we=oe?x(fe):"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(","),Oe=0,Ae;we.length>Oe;Oe++)ce(fe,Ae=we[Oe])&&!ce(je,Ae)&&z(je,Ae,b(fe,Ae));je.prototype=ve,ve.constructor=je,le(te,se,je)}},{"../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,ye,me){var oe=E("../internals/export"),te=E("../internals/object-assign");oe({target:"Object",stat:!0,forced:Object.assign!==te},{assign:te})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,ye,me){var oe=E("../internals/export"),te=E("../internals/object-to-array").entries;oe({target:"Object",stat:!0},{entries:function(de){return te(de)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,ye,me){var oe=E("../internals/export"),te=E("../internals/native-symbol"),ue=E("../internals/fails"),de=E("../internals/object-get-own-property-symbols"),le=E("../internals/to-object"),ce=!te||ue(function(){de.f(1)});oe({target:"Object",stat:!0,forced:ce},{getOwnPropertySymbols:function(ie){var ne=de.f;return ne?ne(le(ie)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,ye,me){var oe=E("../internals/export"),te=E("../internals/to-object"),ue=E("../internals/object-keys"),de=E("../internals/fails"),le=de(function(){ue(1)});oe({target:"Object",stat:!0,forced:le},{keys:function(ae){return ue(te(ae))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,ye,me){var oe=E("../internals/to-string-tag-support"),te=E("../internals/redefine"),ue=E("../internals/object-to-string");oe||te(Object.prototype,"toString",ue,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),ue=E("../internals/a-callable"),de=E("../internals/new-promise-capability"),le=E("../internals/perform"),ce=E("../internals/iterate"),ae=E("../internals/promise-statics-incorrect-iteration");oe({target:"Promise",stat:!0,forced:ae},{all:function(ne){var a=this,y=de.f(a),x=y.resolve,b=y.reject,z=le(function(){var ee=ue(a.resolve),re=[],se=0,fe=1;ce(ne,function(ve){var ge=se++,he=!1;fe++,te(ee,a,ve).then(function(pe){he||(he=!0,re[ge]=pe,--fe||x(re))},b)}),--fe||x(re)});return z.error&&b(z.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,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/is-pure"),ue=E("../internals/promise-constructor-detection").CONSTRUCTOR,de=E("../internals/promise-native-constructor"),le=E("../internals/get-built-in"),ce=E("../internals/is-callable"),ae=E("../internals/redefine"),ie=de&&de.prototype;if(oe({target:"Promise",proto:!0,forced:ue,real:!0},{catch:function(a){return this.then(void 0,a)}}),!te&&ce(de)){var ne=le("Promise").prototype.catch;ie.catch!==ne&&ae(ie,"catch",ne,{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,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/is-pure"),ue=E("../internals/engine-is-node"),de=E("../internals/global"),le=E("../internals/function-call"),ce=E("../internals/redefine"),ae=E("../internals/redefine-all"),ie=E("../internals/object-set-prototype-of"),ne=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"),z=E("../internals/an-instance"),ee=E("../internals/species-constructor"),re=E("../internals/task").set,se=E("../internals/microtask"),fe=E("../internals/host-report-errors"),ve=E("../internals/perform"),ge=E("../internals/queue"),he=E("../internals/internal-state"),pe=E("../internals/promise-native-constructor"),Se=E("../internals/promise-constructor-detection"),be=E("../internals/new-promise-capability"),je="Promise",we=Se.CONSTRUCTOR,Oe=Se.REJECTION_EVENT,Ae=Se.SUBCLASSING,Fe=he.getterFor(je),ke=he.set,Ve=pe&&pe.prototype,De=pe,ut=Ve,nt=de.TypeError,qe=de.document,Xe=de.process,$e=be.f,Ue=$e,Be=!!(qe&&qe.createEvent&&de.dispatchEvent),tt="unhandledrejection",Je="rejectionhandled",ft=0,Ze=1,Ge=2,Le=1,Ke=2,Ee,Re,Qe,Ye,We=function(kt){var lt;return b(kt)&&x(lt=kt.then)?lt:!1},Ce=function(kt,lt){var at=lt.value,Dt=lt.state==Ze,rt=Dt?kt.ok:kt.fail,_e=kt.resolve,mt=kt.reject,Ot=kt.domain,xt,Ut,Wt;try{rt?(Dt||(lt.rejection===Ke&&St(lt),lt.rejection=Le),rt===!0?xt=at:(Ot&&Ot.enter(),xt=rt(at),Ot&&(Ot.exit(),Wt=!0)),xt===kt.promise?mt(nt("Promise-chain cycle")):(Ut=We(xt))?le(Ut,xt,_e,mt):_e(xt)):mt(at)}catch(qt){Ot&&!Wt&&Ot.exit(),mt(qt)}},xe=function(kt,lt){kt.notified||(kt.notified=!0,se(function(){for(var at=kt.reactions,Dt;Dt=at.get();)Ce(Dt,kt);kt.notified=!1,lt&&!kt.rejection&&ze(kt)}))},Ne=function(kt,lt,at){var Dt,rt;Be?(Dt=qe.createEvent("Event"),Dt.promise=lt,Dt.reason=at,Dt.initEvent(kt,!1,!0),de.dispatchEvent(Dt)):Dt={promise:lt,reason:at},!Oe&&(rt=de["on"+kt])?rt(Dt):kt===tt&&fe("Unhandled promise rejection",at)},ze=function(kt){le(re,de,function(){var lt=kt.facade,at=kt.value,Dt=it(kt),rt;if(Dt&&(rt=ve(function(){ue?Xe.emit("unhandledRejection",at,lt):Ne(tt,lt,at)}),kt.rejection=ue||it(kt)?Ke:Le,rt.error))throw rt.value})},it=function(kt){return kt.rejection!==Le&&!kt.parent},St=function(kt){le(re,de,function(){var lt=kt.facade;ue?Xe.emit("rejectionHandled",lt):Ne(Je,lt,kt.value)})},dt=function(kt,lt,at){return function(Dt){kt(lt,Dt,at)}},bt=function(kt,lt,at){kt.done||(kt.done=!0,at&&(kt=at),kt.value=lt,kt.state=Ge,xe(kt,!0))},an=function(kt,lt,at){if(!kt.done){kt.done=!0,at&&(kt=at);try{if(kt.facade===lt)throw nt("Promise can't be resolved itself");var Dt=We(lt);Dt?se(function(){var rt={done:!1};try{le(Dt,lt,dt(an,rt,kt),dt(bt,rt,kt))}catch(_e){bt(rt,_e,kt)}}):(kt.value=lt,kt.state=Ze,xe(kt,!1))}catch(rt){bt({done:!1},rt,kt)}}};if(we&&(De=function(lt){z(this,ut),y(lt),le(Ee,this);var at=Fe(this);try{lt(dt(an,at),dt(bt,at))}catch(Dt){bt(at,Dt)}},ut=De.prototype,Ee=function(lt){ke(this,{type:je,done:!1,notified:!1,parent:!1,reactions:new ge,rejection:!1,state:ft,value:void 0})},Ee.prototype=ae(ut,{then:function(lt,at){var Dt=Fe(this),rt=$e(ee(this,De));return Dt.parent=!0,rt.ok=x(lt)?lt:!0,rt.fail=x(at)&&at,rt.domain=ue?Xe.domain:void 0,Dt.state==ft?Dt.reactions.add(rt):se(function(){Ce(rt,Dt)}),rt.promise}}),Re=function(){var kt=new Ee,lt=Fe(kt);this.promise=kt,this.resolve=dt(an,lt),this.reject=dt(bt,lt)},be.f=$e=function(kt){return kt===De||kt===Qe?new Re(kt):Ue(kt)},!te&&x(pe)&&Ve!==Object.prototype)){Ye=Ve.then,Ae||ce(Ve,"then",function(lt,at){var Dt=this;return new De(function(rt,_e){le(Ye,Dt,rt,_e)}).then(lt,at)},{unsafe:!0});try{delete Ve.constructor}catch(kt){}ie&&ie(Ve,ut)}oe({global:!0,wrap:!0,forced:we},{Promise:De}),ne(De,je,!1,!0),a(je)},{"../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,ye,me){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,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),ue=E("../internals/a-callable"),de=E("../internals/new-promise-capability"),le=E("../internals/perform"),ce=E("../internals/iterate"),ae=E("../internals/promise-statics-incorrect-iteration");oe({target:"Promise",stat:!0,forced:ae},{race:function(ne){var a=this,y=de.f(a),x=y.reject,b=le(function(){var z=ue(a.resolve);ce(ne,function(ee){te(z,a,ee).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,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),ue=E("../internals/new-promise-capability"),de=E("../internals/promise-constructor-detection").CONSTRUCTOR;oe({target:"Promise",stat:!0,forced:de},{reject:function(ce){var ae=ue.f(this);return te(ae.reject,void 0,ce),ae.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/get-built-in"),ue=E("../internals/is-pure"),de=E("../internals/promise-native-constructor"),le=E("../internals/promise-constructor-detection").CONSTRUCTOR,ce=E("../internals/promise-resolve"),ae=te("Promise"),ie=ue&&!le;oe({target:"Promise",stat:!0,forced:ue||le},{resolve:function(a){return ce(ie&&this===ae?de: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,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/global"),ue=E("../internals/function-uncurry-this"),de=E("../internals/is-forced"),le=E("../internals/inherit-if-required"),ce=E("../internals/create-non-enumerable-property"),ae=E("../internals/object-get-own-property-names").f,ie=E("../internals/object-is-prototype-of"),ne=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"),z=E("../internals/redefine"),ee=E("../internals/fails"),re=E("../internals/has-own-property"),se=E("../internals/internal-state").enforce,fe=E("../internals/set-species"),ve=E("../internals/well-known-symbol"),ge=E("../internals/regexp-unsupported-dot-all"),he=E("../internals/regexp-unsupported-ncg"),pe=ve("match"),Se=te.RegExp,be=Se.prototype,je=te.SyntaxError,we=ue(be.exec),Oe=ue("".charAt),Ae=ue("".replace),Fe=ue("".indexOf),ke=ue("".slice),Ve=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,De=/a/g,ut=/a/g,nt=new Se(De)!==De,qe=x.MISSED_STICKY,Xe=x.UNSUPPORTED_Y,$e=oe&&(!nt||qe||ge||he||ee(function(){return ut[pe]=!1,Se(De)!=De||Se(ut)==ut||Se(De,"i")!="/a/i"})),Ue=function(Ze){for(var Ge=Ze.length,Le=0,Ke="",Ee=!1,Re;Le<=Ge;Le++){if(Re=Oe(Ze,Le),Re==="\\"){Ke+=Re+Oe(Ze,++Le);continue}!Ee&&Re==="."?Ke+="[\\s\\S]":(Re==="["?Ee=!0:Re==="]"&&(Ee=!1),Ke+=Re)}return Ke},Be=function(Ze){for(var Ge=Ze.length,Le=0,Ke="",Ee=[],Re={},Qe=!1,Ye=!1,We=0,Ce="",xe;Le<=Ge;Le++){if(xe=Oe(Ze,Le),xe==="\\")xe=xe+Oe(Ze,++Le);else if(xe==="]")Qe=!1;else if(!Qe)switch(!0){case xe==="[":Qe=!0;break;case xe==="(":we(Ve,ke(Ze,Le+1))&&(Le+=2,Ye=!0),Ke+=xe,We++;continue;case(xe===">"&&Ye):if(Ce===""||re(Re,Ce))throw new je("Invalid capture group name");Re[Ce]=!0,Ee[Ee.length]=[Ce,We],Ye=!1,Ce="";continue}Ye?Ce+=xe:Ke+=xe}return[Ke,Ee]};if(de("RegExp",$e)){for(var tt=function(Ge,Le){var Ke=ie(be,this),Ee=ne(Ge),Re=Le===void 0,Qe=[],Ye=Ge,We,Ce,xe,Ne,ze,it;if(!Ke&&Ee&&Re&&Ge.constructor===tt)return Ge;if((Ee||ie(be,Ge))&&(Ge=Ge.source,Re&&(Le=y(Ye))),Ge=Ge===void 0?"":a(Ge),Le=Le===void 0?"":a(Le),Ye=Ge,ge&&"dotAll"in De&&(Ce=!!Le&&Fe(Le,"s")>-1,Ce&&(Le=Ae(Le,/s/g,""))),We=Le,qe&&"sticky"in De&&(xe=!!Le&&Fe(Le,"y")>-1,xe&&Xe&&(Le=Ae(Le,/y/g,""))),he&&(Ne=Be(Ge),Ge=Ne[0],Qe=Ne[1]),ze=le(Se(Ge,Le),Ke?this:be,tt),(Ce||xe||Qe.length)&&(it=se(ze),Ce&&(it.dotAll=!0,it.raw=tt(Ue(Ge),We)),xe&&(it.sticky=!0),Qe.length&&(it.groups=Qe)),Ge!==Ye)try{ce(ze,"source",Ye===""?"(?:)":Ye)}catch(St){}return ze},Je=ae(Se),ft=0;Je.length>ft;)b(tt,Se,Je[ft++]);be.constructor=tt,tt.prototype=be,z(te,"RegExp",tt)}fe("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,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/regexp-exec");oe({target:"RegExp",proto:!0,forced:/./.exec!==te},{exec:te})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,ye,me){"use strict";var oe=E("../internals/function-name").PROPER,te=E("../internals/redefine"),ue=E("../internals/an-object"),de=E("../internals/to-string"),le=E("../internals/fails"),ce=E("../internals/regexp-get-flags"),ae="toString",ie=RegExp.prototype,ne=ie[ae],a=le(function(){return ne.call({source:"a",flags:"b"})!="/a/b"}),y=oe&&ne.name!=ae;(a||y)&&te(RegExp.prototype,ae,function(){var b=ue(this),z=de(b.source),ee=de(ce(b));return"/"+z+"/"+ee},{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,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/function-uncurry-this"),ue=E("../internals/not-a-regexp"),de=E("../internals/require-object-coercible"),le=E("../internals/to-string"),ce=E("../internals/correct-is-regexp-logic"),ae=te("".indexOf);oe({target:"String",proto:!0,forced:!ce("includes")},{includes:function(ne){return!!~ae(le(de(this)),le(ue(ne)),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,ye,me){"use strict";var oe=E("../internals/string-multibyte").charAt,te=E("../internals/to-string"),ue=E("../internals/internal-state"),de=E("../internals/define-iterator"),le="String Iterator",ce=ue.set,ae=ue.getterFor(le);de(String,"String",function(ie){ce(this,{type:le,string:te(ie),index:0})},function(){var ne=ae(this),a=ne.string,y=ne.index,x;return y>=a.length?{value:void 0,done:!0}:(x=oe(a,y),ne.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,ye,me){"use strict";var oe=E("../internals/function-call"),te=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/an-object"),de=E("../internals/to-length"),le=E("../internals/to-string"),ce=E("../internals/require-object-coercible"),ae=E("../internals/get-method"),ie=E("../internals/advance-string-index"),ne=E("../internals/regexp-exec-abstract");te("match",function(a,y,x){return[function(z){var ee=ce(this),re=z==null?void 0:ae(z,a);return re?oe(re,z,ee):new RegExp(z)[a](le(ee))},function(b){var z=ue(this),ee=le(b),re=x(y,z,ee);if(re.done)return re.value;if(!z.global)return ne(z,ee);var se=z.unicode;z.lastIndex=0;for(var fe=[],ve=0,ge;(ge=ne(z,ee))!==null;){var he=le(ge[0]);fe[ve]=he,he===""&&(z.lastIndex=ie(ee,de(z.lastIndex),se)),ve++}return ve===0?null:fe}]})},{"../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,ye,me){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/function-call"),ue=E("../internals/function-uncurry-this"),de=E("../internals/fix-regexp-well-known-symbol-logic"),le=E("../internals/fails"),ce=E("../internals/an-object"),ae=E("../internals/is-callable"),ie=E("../internals/to-integer-or-infinity"),ne=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"),z=E("../internals/get-substitution"),ee=E("../internals/regexp-exec-abstract"),re=E("../internals/well-known-symbol"),se=re("replace"),fe=Math.max,ve=Math.min,ge=ue([].concat),he=ue([].push),pe=ue("".indexOf),Se=ue("".slice),be=function(Ae){return Ae===void 0?Ae:String(Ae)},je=function(){return"a".replace(/./,"$0")==="$0"}(),we=function(){return/./[se]?/./[se]("a","$0")==="":!1}(),Oe=!le(function(){var Ae=/./;return Ae.exec=function(){var Fe=[];return Fe.groups={a:"7"},Fe},"".replace(Ae,"$<a>")!=="7"});de("replace",function(Ae,Fe,ke){var Ve=we?"$":"$0";return[function(ut,nt){var qe=y(this),Xe=ut==null?void 0:b(ut,se);return Xe?te(Xe,ut,qe,nt):te(Fe,a(qe),ut,nt)},function(De,ut){var nt=ce(this),qe=a(De);if(typeof ut=="string"&&pe(ut,Ve)===-1&&pe(ut,"$<")===-1){var Xe=ke(Fe,nt,qe,ut);if(Xe.done)return Xe.value}var $e=ae(ut);$e||(ut=a(ut));var Ue=nt.global;if(Ue){var Be=nt.unicode;nt.lastIndex=0}for(var tt=[];;){var Je=ee(nt,qe);if(Je===null||(he(tt,Je),!Ue))break;var ft=a(Je[0]);ft===""&&(nt.lastIndex=x(qe,ne(nt.lastIndex),Be))}for(var Ze="",Ge=0,Le=0;Le<tt.length;Le++){Je=tt[Le];for(var Ke=a(Je[0]),Ee=fe(ve(ie(Je.index),qe.length),0),Re=[],Qe=1;Qe<Je.length;Qe++)he(Re,be(Je[Qe]));var Ye=Je.groups;if($e){var We=ge([Ke],Re,Ee,qe);Ye!==void 0&&he(We,Ye);var Ce=a(oe(ut,void 0,We))}else Ce=z(Ke,qe,Ee,Re,Ye,ut);Ee>=Ge&&(Ze+=Se(qe,Ge,Ee)+Ce,Ge=Ee+Ke.length)}return Ze+Se(qe,Ge)}]},!Oe||!je||we)},{"../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,ye,me){"use strict";var oe=E("../internals/function-call"),te=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/an-object"),de=E("../internals/require-object-coercible"),le=E("../internals/same-value"),ce=E("../internals/to-string"),ae=E("../internals/get-method"),ie=E("../internals/regexp-exec-abstract");te("search",function(ne,a,y){return[function(b){var z=de(this),ee=b==null?void 0:ae(b,ne);return ee?oe(ee,b,z):new RegExp(b)[ne](ce(z))},function(x){var b=ue(this),z=ce(x),ee=y(a,b,z);if(ee.done)return ee.value;var re=b.lastIndex;le(re,0)||(b.lastIndex=0);var se=ie(b,z);return le(b.lastIndex,re)||(b.lastIndex=re),se===null?-1:se.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,ye,me){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/function-call"),ue=E("../internals/function-uncurry-this"),de=E("../internals/fix-regexp-well-known-symbol-logic"),le=E("../internals/is-regexp"),ce=E("../internals/an-object"),ae=E("../internals/require-object-coercible"),ie=E("../internals/species-constructor"),ne=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"),z=E("../internals/regexp-exec-abstract"),ee=E("../internals/regexp-exec"),re=E("../internals/regexp-sticky-helpers"),se=E("../internals/fails"),fe=re.UNSUPPORTED_Y,ve=4294967295,ge=Math.min,he=[].push,pe=ue(/./.exec),Se=ue(he),be=ue("".slice),je=!se(function(){var we=/(?:)/,Oe=we.exec;we.exec=function(){return Oe.apply(this,arguments)};var Ae="ab".split(we);return Ae.length!==2||Ae[0]!=="a"||Ae[1]!=="b"});de("split",function(we,Oe,Ae){var Fe;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Fe=function(ke,Ve){var De=y(ae(this)),ut=Ve===void 0?ve:Ve>>>0;if(ut===0)return[];if(ke===void 0)return[De];if(!le(ke))return te(Oe,De,ke,ut);for(var nt=[],qe=(ke.ignoreCase?"i":"")+(ke.multiline?"m":"")+(ke.unicode?"u":"")+(ke.sticky?"y":""),Xe=0,$e=new RegExp(ke.source,qe+"g"),Ue,Be,tt;(Ue=te(ee,$e,De))&&(Be=$e.lastIndex,!(Be>Xe&&(Se(nt,be(De,Xe,Ue.index)),Ue.length>1&&Ue.index<De.length&&oe(he,nt,b(Ue,1)),tt=Ue[0].length,Xe=Be,nt.length>=ut)));)$e.lastIndex===Ue.index&&$e.lastIndex++;return Xe===De.length?(tt||!pe($e,""))&&Se(nt,""):Se(nt,be(De,Xe)),nt.length>ut?b(nt,0,ut):nt}:"0".split(void 0,0).length?Fe=function(ke,Ve){return ke===void 0&&Ve===0?[]:te(Oe,this,ke,Ve)}:Fe=Oe,[function(Ve,De){var ut=ae(this),nt=Ve==null?void 0:x(Ve,we);return nt?te(nt,Ve,ut,De):te(Fe,y(ut),Ve,De)},function(ke,Ve){var De=ce(this),ut=y(ke),nt=Ae(Fe,De,ut,Ve,Fe!==Oe);if(nt.done)return nt.value;var qe=ie(De,RegExp),Xe=De.unicode,$e=(De.ignoreCase?"i":"")+(De.multiline?"m":"")+(De.unicode?"u":"")+(fe?"g":"y"),Ue=new qe(fe?"^(?:"+De.source+")":De,$e),Be=Ve===void 0?ve:Ve>>>0;if(Be===0)return[];if(ut.length===0)return z(Ue,ut)===null?[ut]:[];for(var tt=0,Je=0,ft=[];Je<ut.length;){Ue.lastIndex=fe?0:Je;var Ze=z(Ue,fe?be(ut,Je):ut),Ge;if(Ze===null||(Ge=ge(a(Ue.lastIndex+(fe?Je:0)),ut.length))===tt)Je=ne(ut,Je,Xe);else{if(Se(ft,be(ut,tt,Je)),ft.length===Be)return ft;for(var Le=1;Le<=Ze.length-1;Le++)if(Se(ft,Ze[Le]),ft.length===Be)return ft;Je=tt=Ge}}return Se(ft,be(ut,tt)),ft}]},!je,fe)},{"../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,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/string-trim").trim,ue=E("../internals/string-trim-forced");oe({target:"String",proto:!0,forced:ue("trim")},{trim:function(){return te(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),ue=E("../internals/function-call"),de=E("../internals/function-uncurry-this"),le=E("../internals/is-pure"),ce=E("../internals/descriptors"),ae=E("../internals/native-symbol"),ie=E("../internals/fails"),ne=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"),z=E("../internals/to-string"),ee=E("../internals/create-property-descriptor"),re=E("../internals/object-create"),se=E("../internals/object-keys"),fe=E("../internals/object-get-own-property-names"),ve=E("../internals/object-get-own-property-names-external"),ge=E("../internals/object-get-own-property-symbols"),he=E("../internals/object-get-own-property-descriptor"),pe=E("../internals/object-define-property"),Se=E("../internals/object-define-properties"),be=E("../internals/object-property-is-enumerable"),je=E("../internals/redefine"),we=E("../internals/shared"),Oe=E("../internals/shared-key"),Ae=E("../internals/hidden-keys"),Fe=E("../internals/uid"),ke=E("../internals/well-known-symbol"),Ve=E("../internals/well-known-symbol-wrapped"),De=E("../internals/define-well-known-symbol"),ut=E("../internals/symbol-define-to-primitive"),nt=E("../internals/set-to-string-tag"),qe=E("../internals/internal-state"),Xe=E("../internals/array-iteration").forEach,$e=Oe("hidden"),Ue="Symbol",Be="prototype",tt=qe.set,Je=qe.getterFor(Ue),ft=Object[Be],Ze=te.Symbol,Ge=Ze&&Ze[Be],Le=te.TypeError,Ke=te.QObject,Ee=he.f,Re=pe.f,Qe=ve.f,Ye=be.f,We=de([].push),Ce=we("symbols"),xe=we("op-symbols"),Ne=we("wks"),ze=!Ke||!Ke[Be]||!Ke[Be].findChild,it=ce&&ie(function(){return re(Re({},"a",{get:function(){return Re(this,"a",{value:7}).a}})).a!=7})?function(rt,_e,mt){var Ot=Ee(ft,_e);Ot&&delete ft[_e],Re(rt,_e,mt),Ot&&rt!==ft&&Re(ft,_e,Ot)}:Re,St=function(rt,_e){var mt=Ce[rt]=re(Ge);return tt(mt,{type:Ue,tag:rt,description:_e}),ce||(mt.description=_e),mt},dt=function(_e,mt,Ot){_e===ft&&dt(xe,mt,Ot),y(_e);var xt=b(mt);return y(Ot),ne(Ce,xt)?(Ot.enumerable?(ne(_e,$e)&&_e[$e][xt]&&(_e[$e][xt]=!1),Ot=re(Ot,{enumerable:ee(0,!1)})):(ne(_e,$e)||Re(_e,$e,ee(1,{})),_e[$e][xt]=!0),it(_e,xt,Ot)):Re(_e,xt,Ot)},bt=function(_e,mt){y(_e);var Ot=x(mt),xt=se(Ot).concat(Dt(Ot));return Xe(xt,function(Ut){(!ce||ue(kt,Ot,Ut))&&dt(_e,Ut,Ot[Ut])}),_e},an=function(_e,mt){return mt===void 0?re(_e):bt(re(_e),mt)},kt=function(_e){var mt=b(_e),Ot=ue(Ye,this,mt);return this===ft&&ne(Ce,mt)&&!ne(xe,mt)?!1:Ot||!ne(this,mt)||!ne(Ce,mt)||ne(this,$e)&&this[$e][mt]?Ot:!0},lt=function(_e,mt){var Ot=x(_e),xt=b(mt);if(!(Ot===ft&&ne(Ce,xt)&&!ne(xe,xt))){var Ut=Ee(Ot,xt);return Ut&&ne(Ce,xt)&&!(ne(Ot,$e)&&Ot[$e][xt])&&(Ut.enumerable=!0),Ut}},at=function(_e){var mt=Qe(x(_e)),Ot=[];return Xe(mt,function(xt){!ne(Ce,xt)&&!ne(Ae,xt)&&We(Ot,xt)}),Ot},Dt=function(rt){var _e=rt===ft,mt=Qe(_e?xe:x(rt)),Ot=[];return Xe(mt,function(xt){ne(Ce,xt)&&(!_e||ne(ft,xt))&&We(Ot,Ce[xt])}),Ot};ae||(Ze=function(){if(a(Ge,this))throw Le("Symbol is not a constructor");var _e=!arguments.length||arguments[0]===void 0?void 0:z(arguments[0]),mt=Fe(_e),Ot=function(xt){this===ft&&ue(Ot,xe,xt),ne(this,$e)&&ne(this[$e],mt)&&(this[$e][mt]=!1),it(this,mt,ee(1,xt))};return ce&&ze&&it(ft,mt,{configurable:!0,set:Ot}),St(mt,_e)},Ge=Ze[Be],je(Ge,"toString",function(){return Je(this).tag}),je(Ze,"withoutSetter",function(rt){return St(Fe(rt),rt)}),be.f=kt,pe.f=dt,Se.f=bt,he.f=lt,fe.f=ve.f=at,ge.f=Dt,Ve.f=function(rt){return St(ke(rt),rt)},ce&&(Re(Ge,"description",{configurable:!0,get:function(){return Je(this).description}}),le||je(ft,"propertyIsEnumerable",kt,{unsafe:!0}))),oe({global:!0,wrap:!0,forced:!ae,sham:!ae},{Symbol:Ze}),Xe(se(Ne),function(rt){De(rt)}),oe({target:Ue,stat:!0,forced:!ae},{useSetter:function(){ze=!0},useSimple:function(){ze=!1}}),oe({target:"Object",stat:!0,forced:!ae,sham:!ce},{create:an,defineProperty:dt,defineProperties:bt,getOwnPropertyDescriptor:lt}),oe({target:"Object",stat:!0,forced:!ae},{getOwnPropertyNames:at}),ut(),nt(Ze,Ue),Ae[$e]=!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,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/descriptors"),ue=E("../internals/global"),de=E("../internals/function-uncurry-this"),le=E("../internals/has-own-property"),ce=E("../internals/is-callable"),ae=E("../internals/object-is-prototype-of"),ie=E("../internals/to-string"),ne=E("../internals/object-define-property").f,a=E("../internals/copy-constructor-properties"),y=ue.Symbol,x=y&&y.prototype;if(te&&ce(y)&&(!("description"in x)||y().description!==void 0)){var b={},z=function(){var pe=arguments.length<1||arguments[0]===void 0?void 0:ie(arguments[0]),Se=ae(x,this)?new y(pe):pe===void 0?y():y(pe);return pe===""&&(b[Se]=!0),Se};a(z,y),z.prototype=x,x.constructor=z;var ee=String(y("test"))=="Symbol(test)",re=de(x.toString),se=de(x.valueOf),fe=/^Symbol\((.*)\)[^)]+$/,ve=de("".replace),ge=de("".slice);ne(x,"description",{configurable:!0,get:function(){var pe=se(this),Se=re(pe);if(le(b,pe))return"";var be=ee?ge(Se,7,-1):ve(Se,fe,"$1");return be===""?void 0:be}}),oe({global:!0,forced:!0},{Symbol:z})}},{"../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,ye,me){var oe=E("../internals/export"),te=E("../internals/get-built-in"),ue=E("../internals/has-own-property"),de=E("../internals/to-string"),le=E("../internals/shared"),ce=E("../internals/native-symbol-registry"),ae=le("string-to-symbol-registry"),ie=le("symbol-to-string-registry");oe({target:"Symbol",stat:!0,forced:!ce},{for:function(ne){var a=de(ne);if(ue(ae,a))return ae[a];var y=te("Symbol")(a);return ae[a]=y,ie[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,ye,me){var oe=E("../internals/define-well-known-symbol");oe("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(E,ye,me){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,ye,me){var oe=E("../internals/export"),te=E("../internals/has-own-property"),ue=E("../internals/is-symbol"),de=E("../internals/try-to-string"),le=E("../internals/shared"),ce=E("../internals/native-symbol-registry"),ae=le("symbol-to-string-registry");oe({target:"Symbol",stat:!0,forced:!ce},{keyFor:function(ne){if(!ue(ne))throw TypeError(de(ne)+" is not a symbol");if(te(ae,ne))return ae[ne]}})},{"../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,ye,me){"use strict";var oe=E("../internals/function-uncurry-this"),te=E("../internals/array-buffer-view-core"),ue=E("../internals/array-copy-within"),de=oe(ue),le=te.aTypedArray,ce=te.exportTypedArrayMethod;ce("copyWithin",function(ie,ne){return de(le(this),ie,ne,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,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").every,ue=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("every",function(ce){return te(ue(this),ce,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-call"),ue=E("../internals/array-fill"),de=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("fill",function(ae){var ie=arguments.length;return te(ue,de(this),ae,ie>1?arguments[1]:void 0,ie>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").filter,ue=E("../internals/typed-array-from-species-and-list"),de=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("filter",function(ae){var ie=te(de(this),ae,arguments.length>1?arguments[1]:void 0);return ue(this,ie)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").findIndex,ue=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("findIndex",function(ce){return te(ue(this),ce,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").find,ue=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("find",function(ce){return te(ue(this),ce,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").forEach,ue=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("forEach",function(ce){te(ue(this),ce,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-includes").includes,ue=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("includes",function(ce){return te(ue(this),ce,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-includes").indexOf,ue=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("indexOf",function(ce){return te(ue(this),ce,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,ye,me){"use strict";var oe=E("../internals/global"),te=E("../internals/fails"),ue=E("../internals/function-uncurry-this"),de=E("../internals/array-buffer-view-core"),le=E("../modules/es.array.iterator"),ce=E("../internals/well-known-symbol"),ae=ce("iterator"),ie=oe.Uint8Array,ne=ue(le.values),a=ue(le.keys),y=ue(le.entries),x=de.aTypedArray,b=de.exportTypedArrayMethod,z=ie&&ie.prototype,ee=!te(function(){z[ae].call([1])}),re=!!z&&z.values&&z[ae]===z.values&&z.values.name==="values",se=function(){return ne(x(this))};b("entries",function(){return y(x(this))},ee),b("keys",function(){return a(x(this))},ee),b("values",se,ee||!re,{name:"values"}),b(ae,se,ee||!re,{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,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-uncurry-this"),ue=oe.aTypedArray,de=oe.exportTypedArrayMethod,le=te([].join);de("join",function(ae){return le(ue(this),ae)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-apply"),ue=E("../internals/array-last-index-of"),de=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("lastIndexOf",function(ae){var ie=arguments.length;return te(ue,de(this),ie>1?[ae,arguments[1]]:[ae])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").map,ue=E("../internals/typed-array-species-constructor"),de=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("map",function(ae){return te(de(this),ae,arguments.length>1?arguments[1]:void 0,function(ie,ne){return new(ue(ie))(ne)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-reduce").right,ue=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("reduceRight",function(ce){var ae=arguments.length;return te(ue(this),ce,ae,ae>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-reduce").left,ue=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("reduce",function(ce){var ae=arguments.length;return te(ue(this),ce,ae,ae>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=oe.aTypedArray,ue=oe.exportTypedArrayMethod,de=Math.floor;ue("reverse",function(){for(var ce=this,ae=te(ce).length,ie=de(ae/2),ne=0,a;ne<ie;)a=ce[ne],ce[ne++]=ce[--ae],ce[ae]=a;return ce})},{"../internals/array-buffer-view-core":103}],331:[function(E,ye,me){"use strict";var oe=E("../internals/global"),te=E("../internals/function-call"),ue=E("../internals/array-buffer-view-core"),de=E("../internals/length-of-array-like"),le=E("../internals/to-offset"),ce=E("../internals/to-object"),ae=E("../internals/fails"),ie=oe.RangeError,ne=oe.Int8Array,a=ne&&ne.prototype,y=a&&a.set,x=ue.aTypedArray,b=ue.exportTypedArrayMethod,z=!ae(function(){var re=new Uint8ClampedArray(2);return te(y,re,{length:1,0:3},1),re[1]!==3}),ee=z&&ue.NATIVE_ARRAY_BUFFER_VIEWS&&ae(function(){var re=new ne(2);return re.set(1),re.set("2",1),re[0]!==0||re[1]!==2});b("set",function(se){x(this);var fe=le(arguments.length>1?arguments[1]:void 0,1),ve=ce(se);if(z)return te(y,this,ve,fe);var ge=this.length,he=de(ve),pe=0;if(he+fe>ge)throw ie("Wrong length");for(;pe<he;)this[fe+pe]=ve[pe++]},!z||ee)},{"../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,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/typed-array-species-constructor"),ue=E("../internals/fails"),de=E("../internals/array-slice"),le=oe.aTypedArray,ce=oe.exportTypedArrayMethod,ae=ue(function(){new Int8Array(1).slice()});ce("slice",function(ne,a){for(var y=de(le(this),ne,a),x=te(this),b=0,z=y.length,ee=new x(z);z>b;)ee[b]=y[b++];return ee},ae)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").some,ue=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("some",function(ce){return te(ue(this),ce,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,ye,me){"use strict";var oe=E("../internals/global"),te=E("../internals/function-uncurry-this"),ue=E("../internals/fails"),de=E("../internals/a-callable"),le=E("../internals/array-sort"),ce=E("../internals/array-buffer-view-core"),ae=E("../internals/engine-ff-version"),ie=E("../internals/engine-is-ie-or-edge"),ne=E("../internals/engine-v8-version"),a=E("../internals/engine-webkit-version"),y=ce.aTypedArray,x=ce.exportTypedArrayMethod,b=oe.Uint16Array,z=b&&te(b.prototype.sort),ee=!!z&&!(ue(function(){z(new b(2),null)})&&ue(function(){z(new b(2),{})})),re=!!z&&!ue(function(){if(ne)return ne<74;if(ae)return ae<67;if(ie)return!0;if(a)return a<602;var fe=new b(516),ve=Array(516),ge,he;for(ge=0;ge<516;ge++)he=ge%4,fe[ge]=515-ge,ve[ge]=ge-2*he+3;for(z(fe,function(pe,Se){return(pe/4|0)-(Se/4|0)}),ge=0;ge<516;ge++)if(fe[ge]!==ve[ge])return!0}),se=function(fe){return function(ve,ge){return fe!==void 0?+fe(ve,ge)||0:ge!==ge?-1:ve!==ve?1:ve===0&&ge===0?1/ve>0&&1/ge<0?1:-1:ve>ge}};x("sort",function(ve){return ve!==void 0&&de(ve),re?z(this,ve):le(y(this),se(ve))},!re||ee)},{"../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,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/to-length"),ue=E("../internals/to-absolute-index"),de=E("../internals/typed-array-species-constructor"),le=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("subarray",function(ie,ne){var a=le(this),y=a.length,x=ue(ie,y),b=de(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,te((ne===void 0?y:ue(ne,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,ye,me){"use strict";var oe=E("../internals/global"),te=E("../internals/function-apply"),ue=E("../internals/array-buffer-view-core"),de=E("../internals/fails"),le=E("../internals/array-slice"),ce=oe.Int8Array,ae=ue.aTypedArray,ie=ue.exportTypedArrayMethod,ne=[].toLocaleString,a=!!ce&&de(function(){ne.call(new ce(1))}),y=de(function(){return[1,2].toLocaleString()!=new ce([1,2]).toLocaleString()})||!de(function(){ce.prototype.toLocaleString.call([1,2])});ie("toLocaleString",function(){return te(ne,a?le(ae(this)):ae(this),le(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,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core").exportTypedArrayMethod,te=E("../internals/fails"),ue=E("../internals/global"),de=E("../internals/function-uncurry-this"),le=ue.Uint8Array,ce=le&&le.prototype||{},ae=[].toString,ie=de([].join);te(function(){ae.call({})})&&(ae=function(){return ie(this)});var ne=ce.toString!=ae;oe("toString",ae,ne)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,ye,me){var oe=E("../internals/typed-array-constructor");oe("Uint8",function(te){return function(de,le,ce){return te(this,de,le,ce)}})},{"../internals/typed-array-constructor":258}],339:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/dom-iterables"),ue=E("../internals/dom-token-list-prototype"),de=E("../internals/array-for-each"),le=E("../internals/create-non-enumerable-property"),ce=function(ie){if(ie&&ie.forEach!==de)try{le(ie,"forEach",de)}catch(ne){ie.forEach=de}};for(var ae in te)te[ae]&&ce(oe[ae]&&oe[ae].prototype);ce(ue)},{"../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,ye,me){var oe=E("../internals/global"),te=E("../internals/dom-iterables"),ue=E("../internals/dom-token-list-prototype"),de=E("../modules/es.array.iterator"),le=E("../internals/create-non-enumerable-property"),ce=E("../internals/well-known-symbol"),ae=ce("iterator"),ie=ce("toStringTag"),ne=de.values,a=function(x,b){if(x){if(x[ae]!==ne)try{le(x,ae,ne)}catch(ee){x[ae]=ne}if(x[ie]||le(x,ie,b),te[b]){for(var z in de)if(x[z]!==de[z])try{le(x,z,de[z])}catch(ee){x[z]=de[z]}}}};for(var y in te)a(oe[y]&&oe[y].prototype,y);a(ue,"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,ye,me){function oe(re){return Array.isArray?Array.isArray(re):ee(re)==="[object Array]"}me.isArray=oe;function te(re){return typeof re=="boolean"}me.isBoolean=te;function ue(re){return re===null}me.isNull=ue;function de(re){return re==null}me.isNullOrUndefined=de;function le(re){return typeof re=="number"}me.isNumber=le;function ce(re){return typeof re=="string"}me.isString=ce;function ae(re){return typeof re=="symbol"}me.isSymbol=ae;function ie(re){return re===void 0}me.isUndefined=ie;function ne(re){return ee(re)==="[object RegExp]"}me.isRegExp=ne;function a(re){return typeof re=="object"&&re!==null}me.isObject=a;function y(re){return ee(re)==="[object Date]"}me.isDate=y;function x(re){return ee(re)==="[object Error]"||re instanceof Error}me.isError=x;function b(re){return typeof re=="function"}me.isFunction=b;function z(re){return re===null||typeof re=="boolean"||typeof re=="number"||typeof re=="string"||typeof re=="symbol"||typeof re=="undefined"}me.isPrimitive=z,me.isBuffer=E("buffer").Buffer.isBuffer;function ee(re){return Object.prototype.toString.call(re)}},{buffer:90}],342:[function(E,ye,me){(function(oe){"use strict";var te=function(){var ae=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,ie=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,ne=/[^-+\dA-Z]/g;return function(a,y,x,b){if(arguments.length===1&&ce(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(te.masks[y]||y||te.masks.default);var z=y.slice(0,4);(z==="UTC:"||z==="GMT:")&&(y=y.slice(4),x=!0,z==="GMT:"&&(b=!0));var ee=x?"getUTC":"get",re=a[ee+"Date"](),se=a[ee+"Day"](),fe=a[ee+"Month"](),ve=a[ee+"FullYear"](),ge=a[ee+"Hours"](),he=a[ee+"Minutes"](),pe=a[ee+"Seconds"](),Se=a[ee+"Milliseconds"](),be=x?0:a.getTimezoneOffset(),je=de(a),we=le(a),Oe={d:re,dd:ue(re),ddd:te.i18n.dayNames[se],dddd:te.i18n.dayNames[se+7],m:fe+1,mm:ue(fe+1),mmm:te.i18n.monthNames[fe],mmmm:te.i18n.monthNames[fe+12],yy:String(ve).slice(2),yyyy:ve,h:ge%12||12,hh:ue(ge%12||12),H:ge,HH:ue(ge),M:he,MM:ue(he),s:pe,ss:ue(pe),l:ue(Se,3),L:ue(Math.round(Se/10)),t:ge<12?"a":"p",tt:ge<12?"am":"pm",T:ge<12?"A":"P",TT:ge<12?"AM":"PM",Z:b?"GMT":x?"UTC":(String(a).match(ie)||[""]).pop().replace(ne,""),o:(be>0?"-":"+")+ue(Math.floor(Math.abs(be)/60)*100+Math.abs(be)%60,4),S:["th","st","nd","rd"][re%10>3?0:(re%100-re%10!=10)*re%10],W:je,N:we};return y.replace(ae,function(Ae){return Ae in Oe?Oe[Ae]:Ae.slice(1,Ae.length-1)})}}();te.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"},te.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 ue(ae,ie){for(ae=String(ae),ie=ie||2;ae.length<ie;)ae="0"+ae;return ae}function de(ae){var ie=new Date(ae.getFullYear(),ae.getMonth(),ae.getDate());ie.setDate(ie.getDate()-(ie.getDay()+6)%7+3);var ne=new Date(ie.getFullYear(),0,4);ne.setDate(ne.getDate()-(ne.getDay()+6)%7+3);var a=ie.getTimezoneOffset()-ne.getTimezoneOffset();ie.setHours(ie.getHours()-a);var y=(ie-ne)/(864e5*7);return 1+Math.floor(y)}function le(ae){var ie=ae.getDay();return ie===0&&(ie=7),ie}function ce(ae){return ae===null?"null":ae===void 0?"undefined":typeof ae!="object"?typeof ae:Array.isArray(ae)?"array":{}.toString.call(ae).slice(8,-1).toLowerCase()}typeof Pe=="function"&&Pe.amd?Pe(function(){return te}):typeof me=="object"?ye.exports=te:oe.dateFormat=te})(this)},{}],343:[function(E,ye,me){"use strict";var oe=/["'&<>]/;ye.exports=te;function te(ue){var de=""+ue,le=oe.exec(de);if(!le)return de;var ce,ae="",ie=0,ne=0;for(ie=le.index;ie<de.length;ie++){switch(de.charCodeAt(ie)){case 34:ce=""";break;case 38:ce="&";break;case 39:ce="'";break;case 60:ce="<";break;case 62:ce=">";break;default:continue}ne!==ie&&(ae+=de.substring(ne,ie)),ne=ie+1,ae+=ce}return ne!==ie?ae+de.substring(ne,ie):ae}},{}],344:[function(E,ye,me){"use strict";var oe=typeof Reflect=="object"?Reflect:null,te=oe&&typeof oe.apply=="function"?oe.apply:function(pe,Se,be){return Function.prototype.apply.call(pe,Se,be)},ue;oe&&typeof oe.ownKeys=="function"?ue=oe.ownKeys:Object.getOwnPropertySymbols?ue=function(pe){return Object.getOwnPropertyNames(pe).concat(Object.getOwnPropertySymbols(pe))}:ue=function(pe){return Object.getOwnPropertyNames(pe)};function de(he){console&&console.warn&&console.warn(he)}var le=Number.isNaN||function(pe){return pe!==pe};function ce(){ce.init.call(this)}ye.exports=ce,ye.exports.once=fe,ce.EventEmitter=ce,ce.prototype._events=void 0,ce.prototype._eventsCount=0,ce.prototype._maxListeners=void 0;var ae=10;function ie(he){if(typeof he!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof he)}Object.defineProperty(ce,"defaultMaxListeners",{enumerable:!0,get:function(){return ae},set:function(he){if(typeof he!="number"||he<0||le(he))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+he+".");ae=he}}),ce.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},ce.prototype.setMaxListeners=function(pe){if(typeof pe!="number"||pe<0||le(pe))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+pe+".");return this._maxListeners=pe,this};function ne(he){return he._maxListeners===void 0?ce.defaultMaxListeners:he._maxListeners}ce.prototype.getMaxListeners=function(){return ne(this)},ce.prototype.emit=function(pe){for(var Se=[],be=1;be<arguments.length;be++)Se.push(arguments[be]);var je=pe==="error",we=this._events;if(we!==void 0)je=je&&we.error===void 0;else if(!je)return!1;if(je){var Oe;if(Se.length>0&&(Oe=Se[0]),Oe instanceof Error)throw Oe;var Ae=new Error("Unhandled error."+(Oe?" ("+Oe.message+")":""));throw Ae.context=Oe,Ae}var Fe=we[pe];if(Fe===void 0)return!1;if(typeof Fe=="function")te(Fe,this,Se);else for(var ke=Fe.length,Ve=ee(Fe,ke),be=0;be<ke;++be)te(Ve[be],this,Se);return!0};function a(he,pe,Se,be){var je,we,Oe;if(ie(Se),we=he._events,we===void 0?(we=he._events=Object.create(null),he._eventsCount=0):(we.newListener!==void 0&&(he.emit("newListener",pe,Se.listener?Se.listener:Se),we=he._events),Oe=we[pe]),Oe===void 0)Oe=we[pe]=Se,++he._eventsCount;else if(typeof Oe=="function"?Oe=we[pe]=be?[Se,Oe]:[Oe,Se]:be?Oe.unshift(Se):Oe.push(Se),je=ne(he),je>0&&Oe.length>je&&!Oe.warned){Oe.warned=!0;var Ae=new Error("Possible EventEmitter memory leak detected. "+Oe.length+" "+String(pe)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ae.name="MaxListenersExceededWarning",Ae.emitter=he,Ae.type=pe,Ae.count=Oe.length,de(Ae)}return he}ce.prototype.addListener=function(pe,Se){return a(this,pe,Se,!1)},ce.prototype.on=ce.prototype.addListener,ce.prototype.prependListener=function(pe,Se){return a(this,pe,Se,!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(he,pe,Se){var be={fired:!1,wrapFn:void 0,target:he,type:pe,listener:Se},je=y.bind(be);return je.listener=Se,be.wrapFn=je,je}ce.prototype.once=function(pe,Se){return ie(Se),this.on(pe,x(this,pe,Se)),this},ce.prototype.prependOnceListener=function(pe,Se){return ie(Se),this.prependListener(pe,x(this,pe,Se)),this},ce.prototype.removeListener=function(pe,Se){var be,je,we,Oe,Ae;if(ie(Se),je=this._events,je===void 0)return this;if(be=je[pe],be===void 0)return this;if(be===Se||be.listener===Se)--this._eventsCount===0?this._events=Object.create(null):(delete je[pe],je.removeListener&&this.emit("removeListener",pe,be.listener||Se));else if(typeof be!="function"){for(we=-1,Oe=be.length-1;Oe>=0;Oe--)if(be[Oe]===Se||be[Oe].listener===Se){Ae=be[Oe].listener,we=Oe;break}if(we<0)return this;we===0?be.shift():re(be,we),be.length===1&&(je[pe]=be[0]),je.removeListener!==void 0&&this.emit("removeListener",pe,Ae||Se)}return this},ce.prototype.off=ce.prototype.removeListener,ce.prototype.removeAllListeners=function(pe){var Se,be,je;if(be=this._events,be===void 0)return this;if(be.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):be[pe]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete be[pe]),this;if(arguments.length===0){var we=Object.keys(be),Oe;for(je=0;je<we.length;++je)Oe=we[je],Oe!=="removeListener"&&this.removeAllListeners(Oe);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Se=be[pe],typeof Se=="function")this.removeListener(pe,Se);else if(Se!==void 0)for(je=Se.length-1;je>=0;je--)this.removeListener(pe,Se[je]);return this};function b(he,pe,Se){var be=he._events;if(be===void 0)return[];var je=be[pe];return je===void 0?[]:typeof je=="function"?Se?[je.listener||je]:[je]:Se?se(je):ee(je,je.length)}ce.prototype.listeners=function(pe){return b(this,pe,!0)},ce.prototype.rawListeners=function(pe){return b(this,pe,!1)},ce.listenerCount=function(he,pe){return typeof he.listenerCount=="function"?he.listenerCount(pe):z.call(he,pe)},ce.prototype.listenerCount=z;function z(he){var pe=this._events;if(pe!==void 0){var Se=pe[he];if(typeof Se=="function")return 1;if(Se!==void 0)return Se.length}return 0}ce.prototype.eventNames=function(){return this._eventsCount>0?ue(this._events):[]};function ee(he,pe){for(var Se=new Array(pe),be=0;be<pe;++be)Se[be]=he[be];return Se}function re(he,pe){for(;pe+1<he.length;pe++)he[pe]=he[pe+1];he.pop()}function se(he){for(var pe=new Array(he.length),Se=0;Se<pe.length;++Se)pe[Se]=he[Se].listener||he[Se];return pe}function fe(he,pe){return new Promise(function(Se,be){function je(Oe){he.removeListener(pe,we),be(Oe)}function we(){typeof he.removeListener=="function"&&he.removeListener("error",je),Se([].slice.call(arguments))}ge(he,pe,we,{once:!0}),pe!=="error"&&ve(he,je,{once:!0})})}function ve(he,pe,Se){typeof he.on=="function"&&ge(he,"error",pe,Se)}function ge(he,pe,Se,be){if(typeof he.on=="function")be.once?he.once(pe,Se):he.on(pe,Se);else if(typeof he.addEventListener=="function")he.addEventListener(pe,function je(we){be.once&&he.removeEventListener(pe,je),Se(we)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof he)}},{}],345:[function(E,ye,me){"use strict";var oe=E("is-callable"),te=Object.prototype.toString,ue=Object.prototype.hasOwnProperty,de=function(ne,a,y){for(var x=0,b=ne.length;x<b;x++)ue.call(ne,x)&&(y==null?a(ne[x],x,ne):a.call(y,ne[x],x,ne))},le=function(ne,a,y){for(var x=0,b=ne.length;x<b;x++)y==null?a(ne.charAt(x),x,ne):a.call(y,ne.charAt(x),x,ne)},ce=function(ne,a,y){for(var x in ne)ue.call(ne,x)&&(y==null?a(ne[x],x,ne):a.call(y,ne[x],x,ne))},ae=function(ne,a,y){if(!oe(a))throw new TypeError("iterator must be a function");var x;arguments.length>=3&&(x=y),te.call(ne)==="[object Array]"?de(ne,a,x):typeof ne=="string"?le(ne,a,x):ce(ne,a,x)};ye.exports=ae},{"is-callable":367}],346:[function(E,ye,me){"use strict";var oe="Function.prototype.bind called on incompatible ",te=Array.prototype.slice,ue=Object.prototype.toString,de="[object Function]";ye.exports=function(ce){var ae=this;if(typeof ae!="function"||ue.call(ae)!==de)throw new TypeError(oe+ae);for(var ie=te.call(arguments,1),ne,a=function(){if(this instanceof ne){var ee=ae.apply(this,ie.concat(te.call(arguments)));return Object(ee)===ee?ee:this}else return ae.apply(ce,ie.concat(te.call(arguments)))},y=Math.max(0,ae.length-ie.length),x=[],b=0;b<y;b++)x.push("$"+b);if(ne=Function("binder","return function ("+x.join(",")+"){ return binder.apply(this,arguments); }")(a),ae.prototype){var z=function(){};z.prototype=ae.prototype,ne.prototype=new z,z.prototype=null}return ne}},{}],347:[function(E,ye,me){"use strict";var oe=E("./implementation");ye.exports=Function.prototype.bind||oe},{"./implementation":346}],348:[function(E,ye,me){"use strict";var oe,te=SyntaxError,ue=Function,de=TypeError,le=function(Fe){try{return ue('"use strict"; return ('+Fe+").constructor;")()}catch(ke){}},ce=Object.getOwnPropertyDescriptor;if(ce)try{ce({},"")}catch(Fe){ce=null}var ae=function(){throw new de},ie=ce?function(){try{return arguments.callee,ae}catch(Fe){try{return ce(arguments,"callee").get}catch(ke){return ae}}}():ae,ne=E("has-symbols")(),a=E("has-proto")(),y=Object.getPrototypeOf||(a?function(Fe){return Fe.__proto__}:null),x={},b=typeof Uint8Array=="undefined"||!y?oe:y(Uint8Array),z={"%AggregateError%":typeof AggregateError=="undefined"?oe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?oe:ArrayBuffer,"%ArrayIteratorPrototype%":ne&&y?y([][Symbol.iterator]()):oe,"%AsyncFromSyncIteratorPrototype%":oe,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":typeof Atomics=="undefined"?oe:Atomics,"%BigInt%":typeof BigInt=="undefined"?oe:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?oe:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?oe:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?oe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?oe:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?oe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?oe:FinalizationRegistry,"%Function%":ue,"%GeneratorFunction%":x,"%Int8Array%":typeof Int8Array=="undefined"?oe:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?oe:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?oe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ne&&y?y(y([][Symbol.iterator]())):oe,"%JSON%":typeof JSON=="object"?JSON:oe,"%Map%":typeof Map=="undefined"?oe:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!ne||!y?oe:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?oe:Promise,"%Proxy%":typeof Proxy=="undefined"?oe:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?oe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?oe:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!ne||!y?oe:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?oe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ne&&y?y(""[Symbol.iterator]()):oe,"%Symbol%":ne?Symbol:oe,"%SyntaxError%":te,"%ThrowTypeError%":ie,"%TypedArray%":b,"%TypeError%":de,"%Uint8Array%":typeof Uint8Array=="undefined"?oe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?oe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?oe:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?oe:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?oe:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?oe:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?oe:WeakSet};if(y)try{null.error}catch(Fe){var ee=y(y(Fe));z["%Error.prototype%"]=ee}var re=function Fe(ke){var Ve;if(ke==="%AsyncFunction%")Ve=le("async function () {}");else if(ke==="%GeneratorFunction%")Ve=le("function* () {}");else if(ke==="%AsyncGeneratorFunction%")Ve=le("async function* () {}");else if(ke==="%AsyncGenerator%"){var De=Fe("%AsyncGeneratorFunction%");De&&(Ve=De.prototype)}else if(ke==="%AsyncIteratorPrototype%"){var ut=Fe("%AsyncGenerator%");ut&&y&&(Ve=y(ut.prototype))}return z[ke]=Ve,Ve},se={"%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"]},fe=E("function-bind"),ve=E("has"),ge=fe.call(Function.call,Array.prototype.concat),he=fe.call(Function.apply,Array.prototype.splice),pe=fe.call(Function.call,String.prototype.replace),Se=fe.call(Function.call,String.prototype.slice),be=fe.call(Function.call,RegExp.prototype.exec),je=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,we=/\\(\\)?/g,Oe=function(ke){var Ve=Se(ke,0,1),De=Se(ke,-1);if(Ve==="%"&&De!=="%")throw new te("invalid intrinsic syntax, expected closing `%`");if(De==="%"&&Ve!=="%")throw new te("invalid intrinsic syntax, expected opening `%`");var ut=[];return pe(ke,je,function(nt,qe,Xe,$e){ut[ut.length]=Xe?pe($e,we,"$1"):qe||nt}),ut},Ae=function(ke,Ve){var De=ke,ut;if(ve(se,De)&&(ut=se[De],De="%"+ut[0]+"%"),ve(z,De)){var nt=z[De];if(nt===x&&(nt=re(De)),typeof nt=="undefined"&&!Ve)throw new de("intrinsic "+ke+" exists, but is not available. Please file an issue!");return{alias:ut,name:De,value:nt}}throw new te("intrinsic "+ke+" does not exist!")};ye.exports=function(ke,Ve){if(typeof ke!="string"||ke.length===0)throw new de("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ve!="boolean")throw new de('"allowMissing" argument must be a boolean');if(be(/^%?[^%]*%?$/,ke)===null)throw new te("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var De=Oe(ke),ut=De.length>0?De[0]:"",nt=Ae("%"+ut+"%",Ve),qe=nt.name,Xe=nt.value,$e=!1,Ue=nt.alias;Ue&&(ut=Ue[0],he(De,ge([0,1],Ue)));for(var Be=1,tt=!0;Be<De.length;Be+=1){var Je=De[Be],ft=Se(Je,0,1),Ze=Se(Je,-1);if((ft==='"'||ft==="'"||ft==="`"||Ze==='"'||Ze==="'"||Ze==="`")&&ft!==Ze)throw new te("property names with quotes must have matching quotes");if((Je==="constructor"||!tt)&&($e=!0),ut+="."+Je,qe="%"+ut+"%",ve(z,qe))Xe=z[qe];else if(Xe!=null){if(!(Je in Xe)){if(!Ve)throw new de("base intrinsic for "+ke+" exists, but the property is not available.");return}if(ce&&Be+1>=De.length){var Ge=ce(Xe,Je);tt=!!Ge,tt&&"get"in Ge&&!("originalValue"in Ge.get)?Xe=Ge.get:Xe=Xe[Je]}else tt=ve(Xe,Je),Xe=Xe[Je];tt&&!$e&&(z[qe]=Xe)}}return Xe}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,ye,me){"use strict";var oe=E("get-intrinsic"),te=oe("%Object.getOwnPropertyDescriptor%",!0);if(te)try{te([],"length")}catch(ue){te=null}ye.exports=te},{"get-intrinsic":348}],350:[function(E,ye,me){"use strict";var oe={foo:{}},te=Object;ye.exports=function(){return{__proto__:oe}.foo===oe.foo&&!({__proto__:null}instanceof te)}},{}],351:[function(E,ye,me){"use strict";var oe=typeof Symbol!="undefined"&&Symbol,te=E("./shams");ye.exports=function(){return typeof oe!="function"||typeof Symbol!="function"||typeof oe("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:te()}},{"./shams":352}],352:[function(E,ye,me){"use strict";ye.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var te={},ue=Symbol("test"),de=Object(ue);if(typeof ue=="string"||Object.prototype.toString.call(ue)!=="[object Symbol]"||Object.prototype.toString.call(de)!=="[object Symbol]")return!1;var le=42;te[ue]=le;for(ue in te)return!1;if(typeof Object.keys=="function"&&Object.keys(te).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(te).length!==0)return!1;var ce=Object.getOwnPropertySymbols(te);if(ce.length!==1||ce[0]!==ue||!Object.prototype.propertyIsEnumerable.call(te,ue))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var ae=Object.getOwnPropertyDescriptor(te,ue);if(ae.value!==le||ae.enumerable!==!0)return!1}return!0}},{}],353:[function(E,ye,me){"use strict";var oe=E("has-symbols/shams");ye.exports=function(){return oe()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,ye,me){"use strict";var oe=E("function-bind");ye.exports=oe.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,ye,me){var oe=E("http"),te=E("url"),ue=ye.exports;for(var de in oe)oe.hasOwnProperty(de)&&(ue[de]=oe[de]);ue.request=function(ce,ae){return ce=le(ce),oe.request.call(this,ce,ae)},ue.get=function(ce,ae){return ce=le(ce),oe.get.call(this,ce,ae)};function le(ce){if(typeof ce=="string"&&(ce=te.parse(ce)),ce.protocol||(ce.protocol="https:"),ce.protocol!=="https:")throw new Error('Protocol "'+ce.protocol+'" not supported. Expected "https:"');return ce}},{http:468,url:472}],356:[function(E,ye,me){"use strict";var oe=E("util"),te=E("ms");ye.exports=function(ue){if(typeof ue=="number")return ue;var de=te(ue);if(de===void 0){var le=new Error(oe.format("humanize-ms(%j) result undefined",ue));console.warn(le.stack)}return de}},{ms:376,util:419}],357:[function(E,ye,me){me.read=function(oe,te,ue,de,le){var ce,ae,ie=le*8-de-1,ne=(1<<ie)-1,a=ne>>1,y=-7,x=ue?le-1:0,b=ue?-1:1,z=oe[te+x];for(x+=b,ce=z&(1<<-y)-1,z>>=-y,y+=ie;y>0;ce=ce*256+oe[te+x],x+=b,y-=8);for(ae=ce&(1<<-y)-1,ce>>=-y,y+=de;y>0;ae=ae*256+oe[te+x],x+=b,y-=8);if(ce===0)ce=1-a;else{if(ce===ne)return ae?NaN:(z?-1:1)*(1/0);ae=ae+Math.pow(2,de),ce=ce-a}return(z?-1:1)*ae*Math.pow(2,ce-de)},me.write=function(oe,te,ue,de,le,ce){var ae,ie,ne,a=ce*8-le-1,y=(1<<a)-1,x=y>>1,b=le===23?Math.pow(2,-24)-Math.pow(2,-77):0,z=de?0:ce-1,ee=de?1:-1,re=te<0||te===0&&1/te<0?1:0;for(te=Math.abs(te),isNaN(te)||te===1/0?(ie=isNaN(te)?1:0,ae=y):(ae=Math.floor(Math.log(te)/Math.LN2),te*(ne=Math.pow(2,-ae))<1&&(ae--,ne*=2),ae+x>=1?te+=b/ne:te+=b*Math.pow(2,1-x),te*ne>=2&&(ae++,ne/=2),ae+x>=y?(ie=0,ae=y):ae+x>=1?(ie=(te*ne-1)*Math.pow(2,le),ae=ae+x):(ie=te*Math.pow(2,x-1)*Math.pow(2,le),ae=0));le>=8;oe[ue+z]=ie&255,z+=ee,ie/=256,le-=8);for(ae=ae<<le|ie,a+=le;a>0;oe[ue+z]=ae&255,z+=ee,ae/=256,a-=8);oe[ue+z-ee]|=re*128}},{}],358:[function(E,ye,me){"use strict";var oe=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],te,ue,de=-1,le=[],ce=!1;function ae(){!te||!ue||(te=!1,ue.length?le=ue.concat(le):de=-1,le.length&&ie())}function ie(){if(!te){ce=!1,te=!0;for(var z=le.length,ee=setTimeout(ae);z;){for(ue=le,le=[];ue&&++de<z;)ue[de].run();de=-1,z=le.length}ue=null,de=-1,te=!1,clearTimeout(ee)}}for(var ne,a=-1,y=oe.length;++a<y;)if(oe[a]&&oe[a].test&&oe[a].test()){ne=oe[a].install(ie);break}function x(z,ee){this.fun=z,this.array=ee}x.prototype.run=function(){var z=this.fun,ee=this.array;switch(ee.length){case 0:return z();case 1:return z(ee[0]);case 2:return z(ee[0],ee[1]);case 3:return z(ee[0],ee[1],ee[2]);default:return z.apply(null,ee)}},ye.exports=b;function b(z){var ee=new Array(arguments.length-1);if(arguments.length>1)for(var re=1;re<arguments.length;re++)ee[re-1]=arguments[re];le.push(new x(z,ee)),!ce&&!te&&(ce=!0,ne())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(E,ye,me){(function(oe){(function(){"use strict";me.test=function(){return oe.setImmediate?!1:typeof oe.MessageChannel!="undefined"},me.install=function(te){var ue=new oe.MessageChannel;return ue.port1.onmessage=te,function(){ue.port2.postMessage(0)}}}).call(this)}).call(this,typeof Ct!="undefined"?Ct:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(E,ye,me){(function(oe){(function(){"use strict";var te=oe.MutationObserver||oe.WebKitMutationObserver;me.test=function(){return te},me.install=function(ue){var de=0,le=new te(ue),ce=oe.document.createTextNode("");return le.observe(ce,{characterData:!0}),function(){ce.data=de=++de%2}}}).call(this)}).call(this,typeof Ct!="undefined"?Ct:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(E,ye,me){(function(oe){(function(){"use strict";me.test=function(){return typeof oe.queueMicrotask=="function"},me.install=function(te){return function(){oe.queueMicrotask(te)}}}).call(this)}).call(this,typeof Ct!="undefined"?Ct:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(E,ye,me){(function(oe){(function(){"use strict";me.test=function(){return"document"in oe&&"onreadystatechange"in oe.document.createElement("script")},me.install=function(te){return function(){var ue=oe.document.createElement("script");return ue.onreadystatechange=function(){te(),ue.onreadystatechange=null,ue.parentNode.removeChild(ue),ue=null},oe.document.documentElement.appendChild(ue),te}}}).call(this)}).call(this,typeof Ct!="undefined"?Ct:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(E,ye,me){"use strict";me.test=function(){return!0},me.install=function(oe){return function(){setTimeout(oe,0)}}},{}],364:[function(E,ye,me){typeof Object.create=="function"?ye.exports=function(te,ue){ue&&(te.super_=ue,te.prototype=Object.create(ue.prototype,{constructor:{value:te,enumerable:!1,writable:!0,configurable:!0}}))}:ye.exports=function(te,ue){if(ue){te.super_=ue;var de=function(){};de.prototype=ue.prototype,te.prototype=new de,te.prototype.constructor=te}}},{}],365:[function(E,ye,me){"use strict";var oe=E("has-tostringtag/shams")(),te=E("call-bind/callBound"),ue=te("Object.prototype.toString"),de=function(ie){return oe&&ie&&typeof ie=="object"&&Symbol.toStringTag in ie?!1:ue(ie)==="[object Arguments]"},le=function(ie){return de(ie)?!0:ie!==null&&typeof ie=="object"&&typeof ie.length=="number"&&ie.length>=0&&ue(ie)!=="[object Array]"&&ue(ie.callee)==="[object Function]"},ce=function(){return de(arguments)}();de.isLegacyArguments=le,ye.exports=ce?de:le},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,ye,me){ye.exports=function(ue){return ue!=null&&(oe(ue)||te(ue)||!!ue._isBuffer)};function oe(ue){return!!ue.constructor&&typeof ue.constructor.isBuffer=="function"&&ue.constructor.isBuffer(ue)}function te(ue){return typeof ue.readFloatLE=="function"&&typeof ue.slice=="function"&&oe(ue.slice(0,0))}},{}],367:[function(E,ye,me){"use strict";var oe=Function.prototype.toString,te=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ue,de;if(typeof te=="function"&&typeof Object.defineProperty=="function")try{ue=Object.defineProperty({},"length",{get:function(){throw de}}),de={},te(function(){throw 42},null,ue)}catch(ve){ve!==de&&(te=null)}else te=null;var le=/^\s*class\b/,ce=function(ge){try{var he=oe.call(ge);return le.test(he)}catch(pe){return!1}},ae=function(ge){try{return ce(ge)?!1:(oe.call(ge),!0)}catch(he){return!1}},ie=Object.prototype.toString,ne="[object Object]",a="[object Function]",y="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",z="[object HTMLCollection]",ee=typeof Symbol=="function"&&!!Symbol.toStringTag,re=!(0 in[,]),se=function(){return!1};if(typeof document=="object"){var fe=document.all;ie.call(fe)===ie.call(document.all)&&(se=function(ge){if((re||!ge)&&(typeof ge=="undefined"||typeof ge=="object"))try{var he=ie.call(ge);return(he===x||he===b||he===z||he===ne)&&ge("")==null}catch(pe){}return!1})}ye.exports=te?function(ge){if(se(ge))return!0;if(!ge||typeof ge!="function"&&typeof ge!="object")return!1;try{te(ge,null,ue)}catch(he){if(he!==de)return!1}return!ce(ge)&&ae(ge)}:function(ge){if(se(ge))return!0;if(!ge||typeof ge!="function"&&typeof ge!="object")return!1;if(ee)return ae(ge);if(ce(ge))return!1;var he=ie.call(ge);return he!==a&&he!==y&&!/^\[object HTML/.test(he)?!1:ae(ge)}},{}],368:[function(E,ye,me){"use strict";var oe=Object.prototype.toString,te=Function.prototype.toString,ue=/^\s*(?:function)?\*/,de=E("has-tostringtag/shams")(),le=Object.getPrototypeOf,ce=function(){if(!de)return!1;try{return Function("return function*() {}")()}catch(ie){}},ae;ye.exports=function(ne){if(typeof ne!="function")return!1;if(ue.test(te.call(ne)))return!0;if(!de){var a=oe.call(ne);return a==="[object GeneratorFunction]"}if(!le)return!1;if(typeof ae=="undefined"){var y=ce();ae=y?le(y):!1}return le(ne)===ae}},{"has-tostringtag/shams":353}],369:[function(E,ye,me){"use strict";var oe=E("which-typed-array");ye.exports=function(ue){return!!oe(ue)}},{"which-typed-array":420}],370:[function(E,ye,me){var oe={}.toString;ye.exports=Array.isArray||function(te){return oe.call(te)=="[object Array]"}},{}],371:[function(E,ye,me){(function(oe){(function(){(function(te,ue){typeof me=="object"&&typeof ye!="undefined"?ye.exports=ue(te):typeof Pe=="function"&&Pe.amd?Pe(ue):ue(te)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof oe!="undefined"?oe:this,function(te){"use strict";te=te||{};var ue=te.Base64,de="2.6.4",le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ce=function(ke){for(var Ve={},De=0,ut=ke.length;De<ut;De++)Ve[ke.charAt(De)]=De;return Ve}(le),ae=String.fromCharCode,ie=function(ke){if(ke.length<2){var Ve=ke.charCodeAt(0);return Ve<128?ke:Ve<2048?ae(192|Ve>>>6)+ae(128|Ve&63):ae(224|Ve>>>12&15)+ae(128|Ve>>>6&63)+ae(128|Ve&63)}else{var Ve=65536+(ke.charCodeAt(0)-55296)*1024+(ke.charCodeAt(1)-56320);return ae(240|Ve>>>18&7)+ae(128|Ve>>>12&63)+ae(128|Ve>>>6&63)+ae(128|Ve&63)}},ne=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(ke){return ke.replace(ne,ie)},y=function(ke){var Ve=[0,2,1][ke.length%3],De=ke.charCodeAt(0)<<16|(ke.length>1?ke.charCodeAt(1):0)<<8|(ke.length>2?ke.charCodeAt(2):0),ut=[le.charAt(De>>>18),le.charAt(De>>>12&63),Ve>=2?"=":le.charAt(De>>>6&63),Ve>=1?"=":le.charAt(De&63)];return ut.join("")},x=te.btoa&&typeof te.btoa=="function"?function(ke){return te.btoa(ke)}:function(ke){if(ke.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ke.replace(/[\s\S]{1,3}/g,y)},b=function(ke){return x(a(String(ke)))},z=function(ke){return ke.replace(/[+\/]/g,function(Ve){return Ve=="+"?"-":"_"}).replace(/=/g,"")},ee=function(ke,Ve){return Ve?z(b(ke)):b(ke)},re=function(ke){return ee(ke,!0)},se;te.Uint8Array&&(se=function(ke,Ve){for(var De="",ut=0,nt=ke.length;ut<nt;ut+=3){var qe=ke[ut],Xe=ke[ut+1],$e=ke[ut+2],Ue=qe<<16|Xe<<8|$e;De+=le.charAt(Ue>>>18)+le.charAt(Ue>>>12&63)+(typeof Xe!="undefined"?le.charAt(Ue>>>6&63):"=")+(typeof $e!="undefined"?le.charAt(Ue&63):"=")}return Ve?z(De):De});var fe=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ve=function(ke){switch(ke.length){case 4:var Ve=(7&ke.charCodeAt(0))<<18|(63&ke.charCodeAt(1))<<12|(63&ke.charCodeAt(2))<<6|63&ke.charCodeAt(3),De=Ve-65536;return ae((De>>>10)+55296)+ae((De&1023)+56320);case 3:return ae((15&ke.charCodeAt(0))<<12|(63&ke.charCodeAt(1))<<6|63&ke.charCodeAt(2));default:return ae((31&ke.charCodeAt(0))<<6|63&ke.charCodeAt(1))}},ge=function(ke){return ke.replace(fe,ve)},he=function(ke){var Ve=ke.length,De=Ve%4,ut=(Ve>0?ce[ke.charAt(0)]<<18:0)|(Ve>1?ce[ke.charAt(1)]<<12:0)|(Ve>2?ce[ke.charAt(2)]<<6:0)|(Ve>3?ce[ke.charAt(3)]:0),nt=[ae(ut>>>16),ae(ut>>>8&255),ae(ut&255)];return nt.length-=[0,0,2,1][De],nt.join("")},pe=te.atob&&typeof te.atob=="function"?function(ke){return te.atob(ke)}:function(ke){return ke.replace(/\S{1,4}/g,he)},Se=function(ke){return pe(String(ke).replace(/[^A-Za-z0-9\+\/]/g,""))},be=function(ke){return ge(pe(ke))},je=function(ke){return String(ke).replace(/[-_]/g,function(Ve){return Ve=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},we=function(ke){return be(je(ke))},Oe;te.Uint8Array&&(Oe=function(ke){return Uint8Array.from(Se(je(ke)),function(Ve){return Ve.charCodeAt(0)})});var Ae=function(){var ke=te.Base64;return te.Base64=ue,ke};if(te.Base64={VERSION:de,atob:Se,btoa:x,fromBase64:we,toBase64:ee,utob:a,encode:ee,encodeURI:re,btou:ge,decode:we,noConflict:Ae,fromUint8Array:se,toUint8Array:Oe},typeof Object.defineProperty=="function"){var Fe=function(ke){return{value:ke,enumerable:!1,writable:!0,configurable:!0}};te.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Fe(function(){return we(this)})),Object.defineProperty(String.prototype,"toBase64",Fe(function(ke){return ee(this,ke)})),Object.defineProperty(String.prototype,"toBase64URI",Fe(function(){return ee(this,!0)}))}}return te.Meteor&&(Base64=te.Base64),typeof ye!="undefined"&&ye.exports?ye.exports.Base64=te.Base64:typeof Pe=="function"&&Pe.amd&&Pe([],function(){return te.Base64}),{Base64:te.Base64}})}).call(this)}).call(this,typeof Ct!="undefined"?Ct:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,ye,me){"use strict";ye.exports=te;var oe=Object.prototype.hasOwnProperty;function te(ue,de,le){if(!ue)throw new TypeError("argument dest is required");if(!de)throw new TypeError("argument src is required");return le===void 0&&(le=!0),Object.getOwnPropertyNames(de).forEach(function(ae){if(!(!le&&oe.call(ue,ae))){var ie=Object.getOwnPropertyDescriptor(de,ae);Object.defineProperty(ue,ae,ie)}}),ue}},{}],373:[function(E,ye,me){"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 oe(){this._types=Object.create(null),this._extensions=Object.create(null);for(var te=0;te<arguments.length;te++)this.define(arguments[te]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}oe.prototype.define=function(te,ue){for(var de in te){var le=te[de].map(function(ne){return ne.toLowerCase()});de=de.toLowerCase();for(var ce=0;ce<le.length;ce++){var ae=le[ce];if(ae[0]!=="*"){if(!ue&&ae in this._types)throw new Error('Attempt to change mapping for "'+ae+'" extension from "'+this._types[ae]+'" to "'+de+'". Pass `force=true` to allow this, otherwise remove "'+ae+'" from the list of extensions for "'+de+'".');this._types[ae]=de}}if(ue||!this._extensions[de]){var ie=le[0];this._extensions[de]=ie[0]!=="*"?ie:ie.substr(1)}}},oe.prototype.getType=function(te){te=String(te);var ue=te.replace(/^.*[/\\]/,"").toLowerCase(),de=ue.replace(/^.*\./,"").toLowerCase(),le=ue.length<te.length,ce=de.length<ue.length-1;return(ce||!le)&&this._types[de]||null},oe.prototype.getExtension=function(te){return te=/^\s*([^;\s]*)/.test(te)&&RegExp.$1,te&&this._extensions[te.toLowerCase()]||null},ye.exports=oe},{"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,ye,me){"use strict";var oe=E("./Mime");ye.exports=new oe(E("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(E,ye,me){"use strict";ye.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,ye,me){var oe=1e3,te=oe*60,ue=te*60,de=ue*24,le=de*7,ce=de*365.25;ye.exports=function(y,x){x=x||{};var b=typeof y;if(b==="string"&&y.length>0)return ae(y);if(b==="number"&&isFinite(y))return x.long?ne(y):ie(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function ae(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]),z=(x[2]||"ms").toLowerCase();switch(z){case"years":case"year":case"yrs":case"yr":case"y":return b*ce;case"weeks":case"week":case"w":return b*le;case"days":case"day":case"d":return b*de;case"hours":case"hour":case"hrs":case"hr":case"h":return b*ue;case"minutes":case"minute":case"mins":case"min":case"m":return b*te;case"seconds":case"second":case"secs":case"sec":case"s":return b*oe;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function ie(y){var x=Math.abs(y);return x>=de?Math.round(y/de)+"d":x>=ue?Math.round(y/ue)+"h":x>=te?Math.round(y/te)+"m":x>=oe?Math.round(y/oe)+"s":y+"ms"}function ne(y){var x=Math.abs(y);return x>=de?a(y,x,de,"day"):x>=ue?a(y,x,ue,"hour"):x>=te?a(y,x,te,"minute"):x>=oe?a(y,x,oe,"second"):y+" ms"}function a(y,x,b,z){var ee=x>=b*1.5;return Math.round(y/b)+" "+z+(ee?"s":"")}},{}],377:[function(E,ye,me){"use strict";var oe=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;function de(ce){if(ce==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(ce)}function le(){try{if(!Object.assign)return!1;var ce=new String("abc");if(ce[5]="de",Object.getOwnPropertyNames(ce)[0]==="5")return!1;for(var ae={},ie=0;ie<10;ie++)ae["_"+String.fromCharCode(ie)]=ie;var ne=Object.getOwnPropertyNames(ae).map(function(y){return ae[y]});if(ne.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}}ye.exports=le()?Object.assign:function(ce,ae){for(var ie,ne=de(ce),a,y=1;y<arguments.length;y++){ie=Object(arguments[y]);for(var x in ie)te.call(ie,x)&&(ne[x]=ie[x]);if(oe){a=oe(ie);for(var b=0;b<a.length;b++)ue.call(ie,a[b])&&(ne[a[b]]=ie[a[b]])}}return ne}},{}],378:[function(E,ye,me){(function(oe){(function(){"use strict";function te(ce){if(typeof ce!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(ce))}function ue(ce,ae){for(var ie="",ne=0,a=-1,y=0,x,b=0;b<=ce.length;++b){if(b<ce.length)x=ce.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(ie.length<2||ne!==2||ie.charCodeAt(ie.length-1)!==46||ie.charCodeAt(ie.length-2)!==46){if(ie.length>2){var z=ie.lastIndexOf("/");if(z!==ie.length-1){z===-1?(ie="",ne=0):(ie=ie.slice(0,z),ne=ie.length-1-ie.lastIndexOf("/")),a=b,y=0;continue}}else if(ie.length===2||ie.length===1){ie="",ne=0,a=b,y=0;continue}}ae&&(ie.length>0?ie+="/..":ie="..",ne=2)}else ie.length>0?ie+="/"+ce.slice(a+1,b):ie=ce.slice(a+1,b),ne=b-a-1;a=b,y=0}else x===46&&y!==-1?++y:y=-1}return ie}function de(ce,ae){var ie=ae.dir||ae.root,ne=ae.base||(ae.name||"")+(ae.ext||"");return ie?ie===ae.root?ie+ne:ie+ce+ne:ne}var le={resolve:function(){for(var ae="",ie=!1,ne,a=arguments.length-1;a>=-1&&!ie;a--){var y;a>=0?y=arguments[a]:(ne===void 0&&(ne=oe.cwd()),y=ne),te(y),y.length!==0&&(ae=y+"/"+ae,ie=y.charCodeAt(0)===47)}return ae=ue(ae,!ie),ie?ae.length>0?"/"+ae:"/":ae.length>0?ae:"."},normalize:function(ae){if(te(ae),ae.length===0)return".";var ie=ae.charCodeAt(0)===47,ne=ae.charCodeAt(ae.length-1)===47;return ae=ue(ae,!ie),ae.length===0&&!ie&&(ae="."),ae.length>0&&ne&&(ae+="/"),ie?"/"+ae:ae},isAbsolute:function(ae){return te(ae),ae.length>0&&ae.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var ae,ie=0;ie<arguments.length;++ie){var ne=arguments[ie];te(ne),ne.length>0&&(ae===void 0?ae=ne:ae+="/"+ne)}return ae===void 0?".":le.normalize(ae)},relative:function(ae,ie){if(te(ae),te(ie),ae===ie||(ae=le.resolve(ae),ie=le.resolve(ie),ae===ie))return"";for(var ne=1;ne<ae.length&&ae.charCodeAt(ne)===47;++ne);for(var a=ae.length,y=a-ne,x=1;x<ie.length&&ie.charCodeAt(x)===47;++x);for(var b=ie.length,z=b-x,ee=y<z?y:z,re=-1,se=0;se<=ee;++se){if(se===ee){if(z>ee){if(ie.charCodeAt(x+se)===47)return ie.slice(x+se+1);if(se===0)return ie.slice(x+se)}else y>ee&&(ae.charCodeAt(ne+se)===47?re=se:se===0&&(re=0));break}var fe=ae.charCodeAt(ne+se),ve=ie.charCodeAt(x+se);if(fe!==ve)break;fe===47&&(re=se)}var ge="";for(se=ne+re+1;se<=a;++se)(se===a||ae.charCodeAt(se)===47)&&(ge.length===0?ge+="..":ge+="/..");return ge.length>0?ge+ie.slice(x+re):(x+=re,ie.charCodeAt(x)===47&&++x,ie.slice(x))},_makeLong:function(ae){return ae},dirname:function(ae){if(te(ae),ae.length===0)return".";for(var ie=ae.charCodeAt(0),ne=ie===47,a=-1,y=!0,x=ae.length-1;x>=1;--x)if(ie=ae.charCodeAt(x),ie===47){if(!y){a=x;break}}else y=!1;return a===-1?ne?"/":".":ne&&a===1?"//":ae.slice(0,a)},basename:function(ae,ie){if(ie!==void 0&&typeof ie!="string")throw new TypeError('"ext" argument must be a string');te(ae);var ne=0,a=-1,y=!0,x;if(ie!==void 0&&ie.length>0&&ie.length<=ae.length){if(ie.length===ae.length&&ie===ae)return"";var b=ie.length-1,z=-1;for(x=ae.length-1;x>=0;--x){var ee=ae.charCodeAt(x);if(ee===47){if(!y){ne=x+1;break}}else z===-1&&(y=!1,z=x+1),b>=0&&(ee===ie.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=z))}return ne===a?a=z:a===-1&&(a=ae.length),ae.slice(ne,a)}else{for(x=ae.length-1;x>=0;--x)if(ae.charCodeAt(x)===47){if(!y){ne=x+1;break}}else a===-1&&(y=!1,a=x+1);return a===-1?"":ae.slice(ne,a)}},extname:function(ae){te(ae);for(var ie=-1,ne=0,a=-1,y=!0,x=0,b=ae.length-1;b>=0;--b){var z=ae.charCodeAt(b);if(z===47){if(!y){ne=b+1;break}continue}a===-1&&(y=!1,a=b+1),z===46?ie===-1?ie=b:x!==1&&(x=1):ie!==-1&&(x=-1)}return ie===-1||a===-1||x===0||x===1&&ie===a-1&&ie===ne+1?"":ae.slice(ie,a)},format:function(ae){if(ae===null||typeof ae!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof ae);return de("/",ae)},parse:function(ae){te(ae);var ie={root:"",dir:"",base:"",ext:"",name:""};if(ae.length===0)return ie;var ne=ae.charCodeAt(0),a=ne===47,y;a?(ie.root="/",y=1):y=0;for(var x=-1,b=0,z=-1,ee=!0,re=ae.length-1,se=0;re>=y;--re){if(ne=ae.charCodeAt(re),ne===47){if(!ee){b=re+1;break}continue}z===-1&&(ee=!1,z=re+1),ne===46?x===-1?x=re:se!==1&&(se=1):x!==-1&&(se=-1)}return x===-1||z===-1||se===0||se===1&&x===z-1&&x===b+1?z!==-1&&(b===0&&a?ie.base=ie.name=ae.slice(1,z):ie.base=ie.name=ae.slice(b,z)):(b===0&&a?(ie.name=ae.slice(1,x),ie.base=ae.slice(1,z)):(ie.name=ae.slice(b,x),ie.base=ae.slice(b,z)),ie.ext=ae.slice(x,z)),b>0?ie.dir=ae.slice(0,b-1):a&&(ie.dir="/"),ie},sep:"/",delimiter:":",win32:null,posix:null};le.posix=le,ye.exports=le}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,ye,me){(function(oe){(function(){(function(){"use strict";var te={function:!0,object:!0},ue=te[typeof window]&&window||this,de=ue,le=te[typeof me]&&me,ce=te[typeof ye]&&ye&&!ye.nodeType&&ye,ae=le&&ce&&typeof oe=="object"&&oe;ae&&(ae.global===ae||ae.window===ae||ae.self===ae)&&(ue=ae);var ie=Math.pow(2,53)-1,ne=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function z(we){return we=String(we),we.charAt(0).toUpperCase()+we.slice(1)}function ee(we,Oe,Ae){var Fe={"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 Oe&&Ae&&/^Win/i.test(we)&&!/^Windows Phone /i.test(we)&&(Fe=Fe[/[\d.]+$/.exec(we)])&&(we="Windows "+Fe),we=String(we),Oe&&Ae&&(we=we.replace(RegExp(Oe,"i"),Ae)),we=se(we.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]),we}function re(we,Oe){var Ae=-1,Fe=we?we.length:0;if(typeof Fe=="number"&&Fe>-1&&Fe<=ie)for(;++Ae<Fe;)Oe(we[Ae],Ae,we);else fe(we,Oe)}function se(we){return we=Se(we),/^(?:webOS|i(?:OS|P))/.test(we)?we:z(we)}function fe(we,Oe){for(var Ae in we)x.call(we,Ae)&&Oe(we[Ae],Ae,we)}function ve(we){return we==null?z(we):b.call(we).slice(8,-1)}function ge(we,Oe){var Ae=we!=null?typeof we[Oe]:"number";return!/^(?:boolean|number|string|undefined)$/.test(Ae)&&(Ae=="object"?!!we[Oe]:!0)}function he(we){return String(we).replace(/([ -])(?!$)/g,"$1?")}function pe(we,Oe){var Ae=null;return re(we,function(Fe,ke){Ae=Oe(Ae,Fe,ke,we)}),Ae}function Se(we){return String(we).replace(/^ +| +$/g,"")}function be(we){var Oe=ue,Ae=we&&typeof we=="object"&&ve(we)!="String";Ae&&(Oe=we,we=null);var Fe=Oe.navigator||{},ke=Fe.userAgent||"";we||(we=ke);var Ve=Ae||a==de,De=Ae?!!Fe.likeChrome:/\bChrome\b/.test(we)&&!/internal|\n/i.test(b.toString()),ut="Object",nt=Ae?ut:"ScriptBridgingProxyObject",qe=Ae?ut:"Environment",Xe=Ae&&Oe.java?"JavaPackage":ve(Oe.java),$e=Ae?ut:"RuntimeObject",Ue=/\bJava/.test(Xe)&&Oe.java,Be=Ue&&ve(Oe.environment)==qe,tt=Ue?"a":"\u03B1",Je=Ue?"b":"\u03B2",ft=Oe.document||{},Ze=Oe.operamini||Oe.opera,Ge=ne.test(Ge=Ae&&Ze?Ze["[[Class]]"]:ve(Ze))?Ge:Ze=null,Le,Ke=we,Ee=[],Re=null,Qe=we==ke,Ye=Qe&&Ze&&typeof Ze.version=="function"&&Ze.version(),We,Ce=St([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),xe=bt(["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"]),Ne=kt([{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"]),ze=dt({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}}),it=an(["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 St(rt){return pe(rt,function(_e,mt){return _e||RegExp("\\b"+(mt.pattern||he(mt))+"\\b","i").exec(we)&&(mt.label||mt)})}function dt(rt){return pe(rt,function(_e,mt,Ot){return _e||(mt[Ne]||mt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Ne)]||RegExp("\\b"+he(Ot)+"(?:\\b|\\w*\\d)","i").exec(we))&&Ot})}function bt(rt){return pe(rt,function(_e,mt){return _e||RegExp("\\b"+(mt.pattern||he(mt))+"\\b","i").exec(we)&&(mt.label||mt)})}function an(rt){return pe(rt,function(_e,mt){var Ot=mt.pattern||he(mt);return!_e&&(_e=RegExp("\\b"+Ot+"(?:/[\\d.]+|[ \\w.]*)","i").exec(we))&&(_e=ee(_e,Ot,mt.label||mt)),_e})}function kt(rt){return pe(rt,function(_e,mt){var Ot=mt.pattern||he(mt);return!_e&&(_e=RegExp("\\b"+Ot+" *\\d+[.\\w_]*","i").exec(we)||RegExp("\\b"+Ot+" *\\w+-[\\w]*","i").exec(we)||RegExp("\\b"+Ot+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(we))&&((_e=String(mt.label&&!RegExp(Ot,"i").test(mt.label)?mt.label:_e).split("/"))[1]&&!/[\d.]+/.test(_e[0])&&(_e[0]+=" "+_e[1]),mt=mt.label||mt,_e=se(_e[0].replace(RegExp(Ot,"i"),mt).replace(RegExp("; *(?:"+mt+"[_-])?","i")," ").replace(RegExp("("+mt+")[-_.]?(\\w)","i"),"$1 $2"))),_e})}function lt(rt){return pe(rt,function(_e,mt){return _e||(RegExp(mt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(we)||0)[1]||null})}function at(){return this.description||""}if(Ce&&(Ce=[Ce]),/\bAndroid\b/.test(it)&&!Ne&&(Le=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(we))&&(Ne=Se(Le[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),ze&&!Ne?Ne=kt([ze]):ze&&Ne&&(Ne=Ne.replace(RegExp("^("+he(ze)+")[-_.\\s]","i"),ze+" ").replace(RegExp("^("+he(ze)+")[-_.]?(\\w)","i"),ze+" $2")),(Le=/\bGoogle TV\b/.exec(Ne))&&(Ne=Le[0]),/\bSimulator\b/i.test(we)&&(Ne=(Ne?Ne+" ":"")+"Simulator"),xe=="Opera Mini"&&/\bOPiOS\b/.test(we)&&Ee.push("running in Turbo/Uncompressed mode"),xe=="IE"&&/\blike iPhone OS\b/.test(we)?(Le=be(we.replace(/like iPhone OS/,"")),ze=Le.manufacturer,Ne=Le.product):/^iP/.test(Ne)?(xe||(xe="Safari"),it="iOS"+((Le=/ OS ([\d_]+)/i.exec(we))?" "+Le[1].replace(/_/g,"."):"")):xe=="Konqueror"&&/^Linux\b/i.test(it)?it="Kubuntu":ze&&ze!="Google"&&(/Chrome/.test(xe)&&!/\bMobile Safari\b/i.test(we)||/\bVita\b/.test(Ne))||/\bAndroid\b/.test(it)&&/^Chrome/.test(xe)&&/\bVersion\//i.test(we)?(xe="Android Browser",it=/\bAndroid\b/.test(it)?it:"Android"):xe=="Silk"?(/\bMobi/i.test(we)||(it="Android",Ee.unshift("desktop mode")),/Accelerated *= *true/i.test(we)&&Ee.unshift("accelerated")):xe=="UC Browser"&&/\bUCWEB\b/.test(we)?Ee.push("speed mode"):xe=="PaleMoon"&&(Le=/\bFirefox\/([\d.]+)\b/.exec(we))?Ee.push("identifying as Firefox "+Le[1]):xe=="Firefox"&&(Le=/\b(Mobile|Tablet|TV)\b/i.exec(we))?(it||(it="Firefox OS"),Ne||(Ne=Le[1])):!xe||(Le=!/\bMinefield\b/i.test(we)&&/\b(?:Firefox|Safari)\b/.exec(xe))?(xe&&!Ne&&/[\/,]|^[^(]+?\)/.test(we.slice(we.indexOf(Le+"/")+8))&&(xe=null),(Le=Ne||ze||it)&&(Ne||ze||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(it))&&(xe=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(it)?it:Le)+" Browser")):xe=="Electron"&&(Le=(/\bChrome\/([\d.]+)\b/.exec(we)||0)[1])&&Ee.push("Chromium "+Le),Ye||(Ye=lt(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",he(xe),"(?:Firefox|Minefield|NetFront)"])),(Le=Ce=="iCab"&&parseFloat(Ye)>3&&"WebKit"||/\bOpera\b/.test(xe)&&(/\bOPR\b/.test(we)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(we)&&!/^(?:Trident|EdgeHTML)$/.test(Ce)&&"WebKit"||!Ce&&/\bMSIE\b/i.test(we)&&(it=="Mac OS"?"Tasman":"Trident")||Ce=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(xe)&&"NetFront")&&(Ce=[Le]),xe=="IE"&&(Le=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(we)||0)[1])?(xe+=" Mobile",it="Windows Phone "+(/\+$/.test(Le)?Le:Le+".x"),Ee.unshift("desktop mode")):/\bWPDesktop\b/i.test(we)?(xe="IE Mobile",it="Windows Phone 8.x",Ee.unshift("desktop mode"),Ye||(Ye=(/\brv:([\d.]+)/.exec(we)||0)[1])):xe!="IE"&&Ce=="Trident"&&(Le=/\brv:([\d.]+)/.exec(we))&&(xe&&Ee.push("identifying as "+xe+(Ye?" "+Ye:"")),xe="IE",Ye=Le[1]),Qe){if(ge(Oe,"global"))if(Ue&&(Le=Ue.lang.System,Ke=Le.getProperty("os.arch"),it=it||Le.getProperty("os.name")+" "+Le.getProperty("os.version")),Be){try{Ye=Oe.require("ringo/engine").version.join("."),xe="RingoJS"}catch(rt){(Le=Oe.system)&&Le.global.system==Oe.system&&(xe="Narwhal",it||(it=Le[0].os||null))}xe||(xe="Rhino")}else typeof Oe.process=="object"&&!Oe.process.browser&&(Le=Oe.process)&&(typeof Le.versions=="object"&&(typeof Le.versions.electron=="string"?(Ee.push("Node "+Le.versions.node),xe="Electron",Ye=Le.versions.electron):typeof Le.versions.nw=="string"&&(Ee.push("Chromium "+Ye,"Node "+Le.versions.node),xe="NW.js",Ye=Le.versions.nw)),xe||(xe="Node.js",Ke=Le.arch,it=Le.platform,Ye=/[\d.]+/.exec(Le.version),Ye=Ye?Ye[0]:null));else ve(Le=Oe.runtime)==nt?(xe="Adobe AIR",it=Le.flash.system.Capabilities.os):ve(Le=Oe.phantom)==$e?(xe="PhantomJS",Ye=(Le=Le.version||null)&&Le.major+"."+Le.minor+"."+Le.patch):typeof ft.documentMode=="number"&&(Le=/\bTrident\/(\d+)/i.exec(we))?(Ye=[Ye,ft.documentMode],(Le=+Le[1]+4)!=Ye[1]&&(Ee.push("IE "+Ye[1]+" mode"),Ce&&(Ce[1]=""),Ye[1]=Le),Ye=xe=="IE"?String(Ye[1].toFixed(1)):Ye[0]):typeof ft.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(xe)&&(Ee.push("masking as "+xe+" "+Ye),xe="IE",Ye="11.0",Ce=["Trident"],it="Windows");it=it&&se(it)}if(Ye&&(Le=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ye)||/(?:alpha|beta)(?: ?\d)?/i.exec(we+";"+(Qe&&Fe.appMinorVersion))||/\bMinefield\b/i.test(we)&&"a")&&(Re=/b/i.test(Le)?"beta":"alpha",Ye=Ye.replace(RegExp(Le+"\\+?$"),"")+(Re=="beta"?Je:tt)+(/\d+\+?/.exec(Le)||"")),xe=="Fennec"||xe=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(it))xe="Firefox Mobile";else if(xe=="Maxthon"&&Ye)Ye=Ye.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ne))Ne=="Xbox 360"&&(it=null),Ne=="Xbox 360"&&/\bIEMobile\b/.test(we)&&Ee.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(xe)||xe&&!Ne&&!/Browser|Mobi/.test(xe))&&(it=="Windows CE"||/Mobi/i.test(we)))xe+=" Mobile";else if(xe=="IE"&&Qe)try{Oe.external===null&&Ee.unshift("platform preview")}catch(rt){Ee.unshift("embedded")}else(/\bBlackBerry\b/.test(Ne)||/\bBB10\b/.test(we))&&(Le=(RegExp(Ne.replace(/ +/g," *")+"/([.\\d]+)","i").exec(we)||0)[1]||Ye)?(Le=[Le,/BB10/.test(we)],it=(Le[1]?(Ne=null,ze="BlackBerry"):"Device Software")+" "+Le[0],Ye=null):this!=fe&&Ne!="Wii"&&(Qe&&Ze||/Opera/.test(xe)&&/\b(?:MSIE|Firefox)\b/i.test(we)||xe=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(it)||xe=="IE"&&(it&&!/^Win/.test(it)&&Ye>5.5||/\bWindows XP\b/.test(it)&&Ye>8||Ye==8&&!/\bTrident\b/.test(we)))&&!ne.test(Le=be.call(fe,we.replace(ne,"")+";"))&&Le.name&&(Le="ing as "+Le.name+((Le=Le.version)?" "+Le:""),ne.test(xe)?(/\bIE\b/.test(Le)&&it=="Mac OS"&&(it=null),Le="identify"+Le):(Le="mask"+Le,Ge?xe=se(Ge.replace(/([a-z])([A-Z])/g,"$1 $2")):xe="Opera",/\bIE\b/.test(Le)&&(it=null),Qe||(Ye=null)),Ce=["Presto"],Ee.push(Le));(Le=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(we)||0)[1])&&(Le=[parseFloat(Le.replace(/\.(\d)$/,".0$1")),Le],xe=="Safari"&&Le[1].slice(-1)=="+"?(xe="WebKit Nightly",Re="alpha",Ye=Le[1].slice(0,-1)):(Ye==Le[1]||Ye==(Le[2]=(/\bSafari\/([\d.]+\+?)/i.exec(we)||0)[1]))&&(Ye=null),Le[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(we)||0)[1],Le[0]==537.36&&Le[2]==537.36&&parseFloat(Le[1])>=28&&Ce=="WebKit"&&(Ce=["Blink"]),!Qe||!De&&!Le[1]?(Ce&&(Ce[1]="like Safari"),Le=(Le=Le[0],Le<400?1:Le<500?2:Le<526?3:Le<533?4:Le<534?"4+":Le<535?5:Le<537?6:Le<538?7:Le<601?8:Le<602?9:Le<604?10:Le<606?11:Le<608?12:"12")):(Ce&&(Ce[1]="like Chrome"),Le=Le[1]||(Le=Le[0],Le<530?1:Le<532?2:Le<532.05?3:Le<533?4:Le<534.03?5:Le<534.07?6:Le<534.1?7:Le<534.13?8:Le<534.16?9:Le<534.24?10:Le<534.3?11:Le<535.01?12:Le<535.02?"13+":Le<535.07?15:Le<535.11?16:Le<535.19?17:Le<536.05?18:Le<536.1?19:Le<537.01?20:Le<537.11?"21+":Le<537.13?23:Le<537.18?24:Le<537.24?25:Le<537.36?26:Ce!="Blink"?"27":"28")),Ce&&(Ce[1]+=" "+(Le+=typeof Le=="number"?".x":/[.+]/.test(Le)?"":"+")),xe=="Safari"&&(!Ye||parseInt(Ye)>45)?Ye=Le:xe=="Chrome"&&/\bHeadlessChrome/i.test(we)&&Ee.unshift("headless")),xe=="Opera"&&(Le=/\bzbov|zvav$/.exec(it))?(xe+=" ",Ee.unshift("desktop mode"),Le=="zvav"?(xe+="Mini",Ye=null):xe+="Mobile",it=it.replace(RegExp(" *"+Le+"$"),"")):xe=="Safari"&&/\bChrome\b/.exec(Ce&&Ce[1])?(Ee.unshift("desktop mode"),xe="Chrome Mobile",Ye=null,/\bOS X\b/.test(it)?(ze="Apple",it="iOS 4.3+"):it=null):/\bSRWare Iron\b/.test(xe)&&!Ye&&(Ye=lt("Chrome")),Ye&&Ye.indexOf(Le=/[\d.]+$/.exec(it))==0&&we.indexOf("/"+Le+"-")>-1&&(it=Se(it.replace(Le,""))),it&&it.indexOf(xe)!=-1&&!RegExp(xe+" OS").test(it)&&(it=it.replace(RegExp(" *"+he(xe)+" *"),"")),Ce&&!/\b(?:Avant|Nook)\b/.test(xe)&&(/Browser|Lunascape|Maxthon/.test(xe)||xe!="Safari"&&/^iOS/.test(it)&&/\bSafari\b/.test(Ce[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(xe)&&Ce[1])&&(Le=Ce[Ce.length-1])&&Ee.push(Le),Ee.length&&(Ee=["("+Ee.join("; ")+")"]),ze&&Ne&&Ne.indexOf(ze)<0&&Ee.push("on "+ze),Ne&&Ee.push((/^on /.test(Ee[Ee.length-1])?"":"on ")+Ne),it&&(Le=/ ([\d.+]+)$/.exec(it),We=Le&&it.charAt(it.length-Le[0].length-1)=="/",it={architecture:32,family:Le&&!We?it.replace(Le[0],""):it,version:Le?Le[1]:null,toString:function(){var rt=this.version;return this.family+(rt&&!We?" "+rt:"")+(this.architecture==64?" 64-bit":"")}}),(Le=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ke))&&!/\bi686\b/i.test(Ke)?(it&&(it.architecture=64,it.family=it.family.replace(RegExp(" *"+Le),"")),xe&&(/\bWOW64\b/i.test(we)||Qe&&/\w(?:86|32)$/.test(Fe.cpuClass||Fe.platform)&&!/\bWin64; x64\b/i.test(we))&&Ee.unshift("32-bit")):it&&/^OS X/.test(it.family)&&xe=="Chrome"&&parseFloat(Ye)>=39&&(it.architecture=64),we||(we=null);var Dt={};return Dt.description=we,Dt.layout=Ce&&Ce[0],Dt.manufacturer=ze,Dt.name=xe,Dt.prerelease=Re,Dt.product=Ne,Dt.ua=we,Dt.version=xe&&Ye,Dt.os=it||{architecture:null,family:null,version:null,toString:function(){return"null"}},Dt.parse=be,Dt.toString=at,Dt.version&&Ee.unshift(Ye),Dt.name&&Ee.unshift(xe),it&&xe&&!(it==String(it).split(" ")[0]&&(it==xe.split(" ")[0]||Ne))&&Ee.push(Ne?"("+it+")":"on "+it),Ee.length&&(Dt.description=Ee.join(" ")),Dt}var je=be();typeof Pe=="function"&&typeof Pe.amd=="object"&&Pe.amd?(ue.platform=je,Pe(function(){return je})):le&&ce?fe(je,function(we,Oe){le[Oe]=we}):ue.platform=je}).call(this)}).call(this)}).call(this,typeof Ct!="undefined"?Ct:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,ye,me){(function(oe){(function(){"use strict";typeof oe=="undefined"||!oe.version||oe.version.indexOf("v0.")===0||oe.version.indexOf("v1.")===0&&oe.version.indexOf("v1.8.")!==0?ye.exports={nextTick:te}:ye.exports=oe;function te(ue,de,le,ce){if(typeof ue!="function")throw new TypeError('"callback" argument must be a function');var ae=arguments.length,ie,ne;switch(ae){case 0:case 1:return oe.nextTick(ue);case 2:return oe.nextTick(function(){ue.call(null,de)});case 3:return oe.nextTick(function(){ue.call(null,de,le)});case 4:return oe.nextTick(function(){ue.call(null,de,le,ce)});default:for(ie=new Array(ae-1),ne=0;ne<ie.length;)ie[ne++]=arguments[ne];return oe.nextTick(function(){ue.apply(null,ie)})}}}).call(this)}).call(this,E("_process"))},{_process:467}],381:[function(E,ye,me){var oe=ye.exports={},te,ue;function de(){throw new Error("setTimeout has not been defined")}function le(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?te=setTimeout:te=de}catch(re){te=de}try{typeof clearTimeout=="function"?ue=clearTimeout:ue=le}catch(re){ue=le}})();function ce(re){if(te===setTimeout)return setTimeout(re,0);if((te===de||!te)&&setTimeout)return te=setTimeout,setTimeout(re,0);try{return te(re,0)}catch(se){try{return te.call(null,re,0)}catch(fe){return te.call(this,re,0)}}}function ae(re){if(ue===clearTimeout)return clearTimeout(re);if((ue===le||!ue)&&clearTimeout)return ue=clearTimeout,clearTimeout(re);try{return ue(re)}catch(se){try{return ue.call(null,re)}catch(fe){return ue.call(this,re)}}}var ie=[],ne=!1,a,y=-1;function x(){!ne||!a||(ne=!1,a.length?ie=a.concat(ie):y=-1,ie.length&&b())}function b(){if(!ne){var re=ce(x);ne=!0;for(var se=ie.length;se;){for(a=ie,ie=[];++y<se;)a&&a[y].run();y=-1,se=ie.length}a=null,ne=!1,ae(re)}}oe.nextTick=function(re){var se=new Array(arguments.length-1);if(arguments.length>1)for(var fe=1;fe<arguments.length;fe++)se[fe-1]=arguments[fe];ie.push(new z(re,se)),ie.length===1&&!ne&&ce(b)};function z(re,se){this.fun=re,this.array=se}z.prototype.run=function(){this.fun.apply(null,this.array)},oe.title="browser",oe.browser=!0,oe.env={},oe.argv=[],oe.version="",oe.versions={};function ee(){}oe.on=ee,oe.addListener=ee,oe.once=ee,oe.off=ee,oe.removeListener=ee,oe.removeAllListeners=ee,oe.emit=ee,oe.prependListener=ee,oe.prependOnceListener=ee,oe.listeners=function(re){return[]},oe.binding=function(re){throw new Error("process.binding is not supported")},oe.cwd=function(){return"/"},oe.chdir=function(re){throw new Error("process.chdir is not supported")},oe.umask=function(){return 0}},{}],382:[function(E,ye,me){(function(oe){(function(){(function(te){var ue=typeof me=="object"&&me&&!me.nodeType&&me,de=typeof ye=="object"&&ye&&!ye.nodeType&&ye,le=typeof oe=="object"&&oe;(le.global===le||le.window===le||le.self===le)&&(te=le);var ce,ae=2147483647,ie=36,ne=1,a=26,y=38,x=700,b=72,z=128,ee="-",re=/^xn--/,se=/[^\x20-\x7E]/,fe=/[\x2E\u3002\uFF0E\uFF61]/g,ve={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ge=ie-ne,he=Math.floor,pe=String.fromCharCode,Se;function be(Xe){throw new RangeError(ve[Xe])}function je(Xe,$e){for(var Ue=Xe.length,Be=[];Ue--;)Be[Ue]=$e(Xe[Ue]);return Be}function we(Xe,$e){var Ue=Xe.split("@"),Be="";Ue.length>1&&(Be=Ue[0]+"@",Xe=Ue[1]),Xe=Xe.replace(fe,".");var tt=Xe.split("."),Je=je(tt,$e).join(".");return Be+Je}function Oe(Xe){for(var $e=[],Ue=0,Be=Xe.length,tt,Je;Ue<Be;)tt=Xe.charCodeAt(Ue++),tt>=55296&&tt<=56319&&Ue<Be?(Je=Xe.charCodeAt(Ue++),(Je&64512)==56320?$e.push(((tt&1023)<<10)+(Je&1023)+65536):($e.push(tt),Ue--)):$e.push(tt);return $e}function Ae(Xe){return je(Xe,function($e){var Ue="";return $e>65535&&($e-=65536,Ue+=pe($e>>>10&1023|55296),$e=56320|$e&1023),Ue+=pe($e),Ue}).join("")}function Fe(Xe){return Xe-48<10?Xe-22:Xe-65<26?Xe-65:Xe-97<26?Xe-97:ie}function ke(Xe,$e){return Xe+22+75*(Xe<26)-(($e!=0)<<5)}function Ve(Xe,$e,Ue){var Be=0;for(Xe=Ue?he(Xe/x):Xe>>1,Xe+=he(Xe/$e);Xe>ge*a>>1;Be+=ie)Xe=he(Xe/ge);return he(Be+(ge+1)*Xe/(Xe+y))}function De(Xe){var $e=[],Ue=Xe.length,Be,tt=0,Je=z,ft=b,Ze,Ge,Le,Ke,Ee,Re,Qe,Ye,We;for(Ze=Xe.lastIndexOf(ee),Ze<0&&(Ze=0),Ge=0;Ge<Ze;++Ge)Xe.charCodeAt(Ge)>=128&&be("not-basic"),$e.push(Xe.charCodeAt(Ge));for(Le=Ze>0?Ze+1:0;Le<Ue;){for(Ke=tt,Ee=1,Re=ie;Le>=Ue&&be("invalid-input"),Qe=Fe(Xe.charCodeAt(Le++)),(Qe>=ie||Qe>he((ae-tt)/Ee))&&be("overflow"),tt+=Qe*Ee,Ye=Re<=ft?ne:Re>=ft+a?a:Re-ft,!(Qe<Ye);Re+=ie)We=ie-Ye,Ee>he(ae/We)&&be("overflow"),Ee*=We;Be=$e.length+1,ft=Ve(tt-Ke,Be,Ke==0),he(tt/Be)>ae-Je&&be("overflow"),Je+=he(tt/Be),tt%=Be,$e.splice(tt++,0,Je)}return Ae($e)}function ut(Xe){var $e,Ue,Be,tt,Je,ft,Ze,Ge,Le,Ke,Ee,Re=[],Qe,Ye,We,Ce;for(Xe=Oe(Xe),Qe=Xe.length,$e=z,Ue=0,Je=b,ft=0;ft<Qe;++ft)Ee=Xe[ft],Ee<128&&Re.push(pe(Ee));for(Be=tt=Re.length,tt&&Re.push(ee);Be<Qe;){for(Ze=ae,ft=0;ft<Qe;++ft)Ee=Xe[ft],Ee>=$e&&Ee<Ze&&(Ze=Ee);for(Ye=Be+1,Ze-$e>he((ae-Ue)/Ye)&&be("overflow"),Ue+=(Ze-$e)*Ye,$e=Ze,ft=0;ft<Qe;++ft)if(Ee=Xe[ft],Ee<$e&&++Ue>ae&&be("overflow"),Ee==$e){for(Ge=Ue,Le=ie;Ke=Le<=Je?ne:Le>=Je+a?a:Le-Je,!(Ge<Ke);Le+=ie)Ce=Ge-Ke,We=ie-Ke,Re.push(pe(ke(Ke+Ce%We,0))),Ge=he(Ce/We);Re.push(pe(ke(Ge,0))),Je=Ve(Ue,Ye,Be==tt),Ue=0,++Be}++Ue,++$e}return Re.join("")}function nt(Xe){return we(Xe,function($e){return re.test($e)?De($e.slice(4).toLowerCase()):$e})}function qe(Xe){return we(Xe,function($e){return se.test($e)?"xn--"+ut($e):$e})}if(ce={version:"1.4.1",ucs2:{decode:Oe,encode:Ae},decode:De,encode:ut,toASCII:qe,toUnicode:nt},typeof Pe=="function"&&typeof Pe.amd=="object"&&Pe.amd)Pe("punycode",function(){return ce});else if(ue&&de)if(ye.exports==ue)de.exports=ce;else for(Se in ce)ce.hasOwnProperty(Se)&&(ue[Se]=ce[Se]);else te.punycode=ce})(this)}).call(this)}).call(this,typeof Ct!="undefined"?Ct:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(E,ye,me){"use strict";function oe(ue,de){return Object.prototype.hasOwnProperty.call(ue,de)}ye.exports=function(ue,de,le,ce){de=de||"&",le=le||"=";var ae={};if(typeof ue!="string"||ue.length===0)return ae;var ie=/\+/g;ue=ue.split(de);var ne=1e3;ce&&typeof ce.maxKeys=="number"&&(ne=ce.maxKeys);var a=ue.length;ne>0&&a>ne&&(a=ne);for(var y=0;y<a;++y){var x=ue[y].replace(ie,"%20"),b=x.indexOf(le),z,ee,re,se;b>=0?(z=x.substr(0,b),ee=x.substr(b+1)):(z=x,ee=""),re=decodeURIComponent(z),se=decodeURIComponent(ee),oe(ae,re)?te(ae[re])?ae[re].push(se):ae[re]=[ae[re],se]:ae[re]=se}return ae};var te=Array.isArray||function(ue){return Object.prototype.toString.call(ue)==="[object Array]"}},{}],384:[function(E,ye,me){"use strict";var oe=function(le){switch(typeof le){case"string":return le;case"boolean":return le?"true":"false";case"number":return isFinite(le)?le:"";default:return""}};ye.exports=function(le,ce,ae,ie){return ce=ce||"&",ae=ae||"=",le===null&&(le=void 0),typeof le=="object"?ue(de(le),function(ne){var a=encodeURIComponent(oe(ne))+ae;return te(le[ne])?ue(le[ne],function(y){return a+encodeURIComponent(oe(y))}).join(ce):a+encodeURIComponent(oe(le[ne]))}).join(ce):ie?encodeURIComponent(oe(ie))+ae+encodeURIComponent(oe(le)):""};var te=Array.isArray||function(le){return Object.prototype.toString.call(le)==="[object Array]"};function ue(le,ce){if(le.map)return le.map(ce);for(var ae=[],ie=0;ie<le.length;ie++)ae.push(ce(le[ie],ie));return ae}var de=Object.keys||function(le){var ce=[];for(var ae in le)Object.prototype.hasOwnProperty.call(le,ae)&&ce.push(ae);return ce}},{}],385:[function(E,ye,me){"use strict";me.decode=me.parse=E("./decode"),me.encode=me.stringify=E("./encode")},{"./decode":383,"./encode":384}],386:[function(E,ye,me){"use strict";var oe=E("process-nextick-args"),te=Object.keys||function(x){var b=[];for(var z in x)b.push(z);return b};ye.exports=ne;var ue=Object.create(E("core-util-is"));ue.inherits=E("inherits");var de=E("./_stream_readable"),le=E("./_stream_writable");ue.inherits(ne,de);for(var ce=te(le.prototype),ae=0;ae<ce.length;ae++){var ie=ce[ae];ne.prototype[ie]||(ne.prototype[ie]=le.prototype[ie])}function ne(x){if(!(this instanceof ne))return new ne(x);de.call(this,x),le.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(ne.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function a(){this.allowHalfOpen||this._writableState.ended||oe.nextTick(y,this)}function y(x){x.end()}Object.defineProperty(ne.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)}}),ne.prototype._destroy=function(x,b){this.push(null),this.end(),oe.nextTick(b,x)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(E,ye,me){"use strict";ye.exports=ue;var oe=E("./_stream_transform"),te=Object.create(E("core-util-is"));te.inherits=E("inherits"),te.inherits(ue,oe);function ue(de){if(!(this instanceof ue))return new ue(de);oe.call(this,de)}ue.prototype._transform=function(de,le,ce){ce(null,de)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(E,ye,me){(function(oe,te){(function(){"use strict";var ue=E("process-nextick-args");ye.exports=pe;var de=E("isarray"),le;pe.ReadableState=he;var ce=E("events").EventEmitter,ae=function(Ee,Re){return Ee.listeners(Re).length},ie=E("./internal/streams/stream"),ne=E("safe-buffer").Buffer,a=te.Uint8Array||function(){};function y(Ee){return ne.from(Ee)}function x(Ee){return ne.isBuffer(Ee)||Ee instanceof a}var b=Object.create(E("core-util-is"));b.inherits=E("inherits");var z=E("util"),ee=void 0;z&&z.debuglog?ee=z.debuglog("stream"):ee=function(){};var re=E("./internal/streams/BufferList"),se=E("./internal/streams/destroy"),fe;b.inherits(pe,ie);var ve=["error","close","destroy","pause","resume"];function ge(Ee,Re,Qe){if(typeof Ee.prependListener=="function")return Ee.prependListener(Re,Qe);!Ee._events||!Ee._events[Re]?Ee.on(Re,Qe):de(Ee._events[Re])?Ee._events[Re].unshift(Qe):Ee._events[Re]=[Qe,Ee._events[Re]]}function he(Ee,Re){le=le||E("./_stream_duplex"),Ee=Ee||{};var Qe=Re instanceof le;this.objectMode=!!Ee.objectMode,Qe&&(this.objectMode=this.objectMode||!!Ee.readableObjectMode);var Ye=Ee.highWaterMark,We=Ee.readableHighWaterMark,Ce=this.objectMode?16:16*1024;Ye||Ye===0?this.highWaterMark=Ye:Qe&&(We||We===0)?this.highWaterMark=We:this.highWaterMark=Ce,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new re,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=Ee.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Ee.encoding&&(fe||(fe=E("string_decoder/").StringDecoder),this.decoder=new fe(Ee.encoding),this.encoding=Ee.encoding)}function pe(Ee){if(le=le||E("./_stream_duplex"),!(this instanceof pe))return new pe(Ee);this._readableState=new he(Ee,this),this.readable=!0,Ee&&(typeof Ee.read=="function"&&(this._read=Ee.read),typeof Ee.destroy=="function"&&(this._destroy=Ee.destroy)),ie.call(this)}Object.defineProperty(pe.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Ee){this._readableState&&(this._readableState.destroyed=Ee)}}),pe.prototype.destroy=se.destroy,pe.prototype._undestroy=se.undestroy,pe.prototype._destroy=function(Ee,Re){this.push(null),Re(Ee)},pe.prototype.push=function(Ee,Re){var Qe=this._readableState,Ye;return Qe.objectMode?Ye=!0:typeof Ee=="string"&&(Re=Re||Qe.defaultEncoding,Re!==Qe.encoding&&(Ee=ne.from(Ee,Re),Re=""),Ye=!0),Se(this,Ee,Re,!1,Ye)},pe.prototype.unshift=function(Ee){return Se(this,Ee,null,!0,!1)};function Se(Ee,Re,Qe,Ye,We){var Ce=Ee._readableState;if(Re===null)Ce.reading=!1,ke(Ee,Ce);else{var xe;We||(xe=je(Ce,Re)),xe?Ee.emit("error",xe):Ce.objectMode||Re&&Re.length>0?(typeof Re!="string"&&!Ce.objectMode&&Object.getPrototypeOf(Re)!==ne.prototype&&(Re=y(Re)),Ye?Ce.endEmitted?Ee.emit("error",new Error("stream.unshift() after end event")):be(Ee,Ce,Re,!0):Ce.ended?Ee.emit("error",new Error("stream.push() after EOF")):(Ce.reading=!1,Ce.decoder&&!Qe?(Re=Ce.decoder.write(Re),Ce.objectMode||Re.length!==0?be(Ee,Ce,Re,!1):ut(Ee,Ce)):be(Ee,Ce,Re,!1))):Ye||(Ce.reading=!1)}return we(Ce)}function be(Ee,Re,Qe,Ye){Re.flowing&&Re.length===0&&!Re.sync?(Ee.emit("data",Qe),Ee.read(0)):(Re.length+=Re.objectMode?1:Qe.length,Ye?Re.buffer.unshift(Qe):Re.buffer.push(Qe),Re.needReadable&&Ve(Ee)),ut(Ee,Re)}function je(Ee,Re){var Qe;return!x(Re)&&typeof Re!="string"&&Re!==void 0&&!Ee.objectMode&&(Qe=new TypeError("Invalid non-string/buffer chunk")),Qe}function we(Ee){return!Ee.ended&&(Ee.needReadable||Ee.length<Ee.highWaterMark||Ee.length===0)}pe.prototype.isPaused=function(){return this._readableState.flowing===!1},pe.prototype.setEncoding=function(Ee){return fe||(fe=E("string_decoder/").StringDecoder),this._readableState.decoder=new fe(Ee),this._readableState.encoding=Ee,this};var Oe=8388608;function Ae(Ee){return Ee>=Oe?Ee=Oe:(Ee--,Ee|=Ee>>>1,Ee|=Ee>>>2,Ee|=Ee>>>4,Ee|=Ee>>>8,Ee|=Ee>>>16,Ee++),Ee}function Fe(Ee,Re){return Ee<=0||Re.length===0&&Re.ended?0:Re.objectMode?1:Ee!==Ee?Re.flowing&&Re.length?Re.buffer.head.data.length:Re.length:(Ee>Re.highWaterMark&&(Re.highWaterMark=Ae(Ee)),Ee<=Re.length?Ee:Re.ended?Re.length:(Re.needReadable=!0,0))}pe.prototype.read=function(Ee){ee("read",Ee),Ee=parseInt(Ee,10);var Re=this._readableState,Qe=Ee;if(Ee!==0&&(Re.emittedReadable=!1),Ee===0&&Re.needReadable&&(Re.length>=Re.highWaterMark||Re.ended))return ee("read: emitReadable",Re.length,Re.ended),Re.length===0&&Re.ended?Ge(this):Ve(this),null;if(Ee=Fe(Ee,Re),Ee===0&&Re.ended)return Re.length===0&&Ge(this),null;var Ye=Re.needReadable;ee("need readable",Ye),(Re.length===0||Re.length-Ee<Re.highWaterMark)&&(Ye=!0,ee("length less than watermark",Ye)),Re.ended||Re.reading?(Ye=!1,ee("reading or ended",Ye)):Ye&&(ee("do read"),Re.reading=!0,Re.sync=!0,Re.length===0&&(Re.needReadable=!0),this._read(Re.highWaterMark),Re.sync=!1,Re.reading||(Ee=Fe(Qe,Re)));var We;return Ee>0?We=tt(Ee,Re):We=null,We===null?(Re.needReadable=!0,Ee=0):Re.length-=Ee,Re.length===0&&(Re.ended||(Re.needReadable=!0),Qe!==Ee&&Re.ended&&Ge(this)),We!==null&&this.emit("data",We),We};function ke(Ee,Re){if(!Re.ended){if(Re.decoder){var Qe=Re.decoder.end();Qe&&Qe.length&&(Re.buffer.push(Qe),Re.length+=Re.objectMode?1:Qe.length)}Re.ended=!0,Ve(Ee)}}function Ve(Ee){var Re=Ee._readableState;Re.needReadable=!1,Re.emittedReadable||(ee("emitReadable",Re.flowing),Re.emittedReadable=!0,Re.sync?ue.nextTick(De,Ee):De(Ee))}function De(Ee){ee("emit readable"),Ee.emit("readable"),Be(Ee)}function ut(Ee,Re){Re.readingMore||(Re.readingMore=!0,ue.nextTick(nt,Ee,Re))}function nt(Ee,Re){for(var Qe=Re.length;!Re.reading&&!Re.flowing&&!Re.ended&&Re.length<Re.highWaterMark&&(ee("maybeReadMore read 0"),Ee.read(0),Qe!==Re.length);)Qe=Re.length;Re.readingMore=!1}pe.prototype._read=function(Ee){this.emit("error",new Error("_read() is not implemented"))},pe.prototype.pipe=function(Ee,Re){var Qe=this,Ye=this._readableState;switch(Ye.pipesCount){case 0:Ye.pipes=Ee;break;case 1:Ye.pipes=[Ye.pipes,Ee];break;default:Ye.pipes.push(Ee);break}Ye.pipesCount+=1,ee("pipe count=%d opts=%j",Ye.pipesCount,Re);var We=(!Re||Re.end!==!1)&&Ee!==oe.stdout&&Ee!==oe.stderr,Ce=We?Ne:at;Ye.endEmitted?ue.nextTick(Ce):Qe.once("end",Ce),Ee.on("unpipe",xe);function xe(Dt,rt){ee("onunpipe"),Dt===Qe&&rt&&rt.hasUnpiped===!1&&(rt.hasUnpiped=!0,St())}function Ne(){ee("onend"),Ee.end()}var ze=qe(Qe);Ee.on("drain",ze);var it=!1;function St(){ee("cleanup"),Ee.removeListener("close",kt),Ee.removeListener("finish",lt),Ee.removeListener("drain",ze),Ee.removeListener("error",an),Ee.removeListener("unpipe",xe),Qe.removeListener("end",Ne),Qe.removeListener("end",at),Qe.removeListener("data",bt),it=!0,Ye.awaitDrain&&(!Ee._writableState||Ee._writableState.needDrain)&&ze()}var dt=!1;Qe.on("data",bt);function bt(Dt){ee("ondata"),dt=!1;var rt=Ee.write(Dt);rt===!1&&!dt&&((Ye.pipesCount===1&&Ye.pipes===Ee||Ye.pipesCount>1&&Ke(Ye.pipes,Ee)!==-1)&&!it&&(ee("false write response, pause",Qe._readableState.awaitDrain),Qe._readableState.awaitDrain++,dt=!0),Qe.pause())}function an(Dt){ee("onerror",Dt),at(),Ee.removeListener("error",an),ae(Ee,"error")===0&&Ee.emit("error",Dt)}ge(Ee,"error",an);function kt(){Ee.removeListener("finish",lt),at()}Ee.once("close",kt);function lt(){ee("onfinish"),Ee.removeListener("close",kt),at()}Ee.once("finish",lt);function at(){ee("unpipe"),Qe.unpipe(Ee)}return Ee.emit("pipe",Qe),Ye.flowing||(ee("pipe resume"),Qe.resume()),Ee};function qe(Ee){return function(){var Re=Ee._readableState;ee("pipeOnDrain",Re.awaitDrain),Re.awaitDrain&&Re.awaitDrain--,Re.awaitDrain===0&&ae(Ee,"data")&&(Re.flowing=!0,Be(Ee))}}pe.prototype.unpipe=function(Ee){var Re=this._readableState,Qe={hasUnpiped:!1};if(Re.pipesCount===0)return this;if(Re.pipesCount===1)return Ee&&Ee!==Re.pipes?this:(Ee||(Ee=Re.pipes),Re.pipes=null,Re.pipesCount=0,Re.flowing=!1,Ee&&Ee.emit("unpipe",this,Qe),this);if(!Ee){var Ye=Re.pipes,We=Re.pipesCount;Re.pipes=null,Re.pipesCount=0,Re.flowing=!1;for(var Ce=0;Ce<We;Ce++)Ye[Ce].emit("unpipe",this,Qe);return this}var xe=Ke(Re.pipes,Ee);return xe===-1?this:(Re.pipes.splice(xe,1),Re.pipesCount-=1,Re.pipesCount===1&&(Re.pipes=Re.pipes[0]),Ee.emit("unpipe",this,Qe),this)},pe.prototype.on=function(Ee,Re){var Qe=ie.prototype.on.call(this,Ee,Re);if(Ee==="data")this._readableState.flowing!==!1&&this.resume();else if(Ee==="readable"){var Ye=this._readableState;!Ye.endEmitted&&!Ye.readableListening&&(Ye.readableListening=Ye.needReadable=!0,Ye.emittedReadable=!1,Ye.reading?Ye.length&&Ve(this):ue.nextTick(Xe,this))}return Qe},pe.prototype.addListener=pe.prototype.on;function Xe(Ee){ee("readable nexttick read 0"),Ee.read(0)}pe.prototype.resume=function(){var Ee=this._readableState;return Ee.flowing||(ee("resume"),Ee.flowing=!0,$e(this,Ee)),this};function $e(Ee,Re){Re.resumeScheduled||(Re.resumeScheduled=!0,ue.nextTick(Ue,Ee,Re))}function Ue(Ee,Re){Re.reading||(ee("resume read 0"),Ee.read(0)),Re.resumeScheduled=!1,Re.awaitDrain=0,Ee.emit("resume"),Be(Ee),Re.flowing&&!Re.reading&&Ee.read(0)}pe.prototype.pause=function(){return ee("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(ee("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Be(Ee){var Re=Ee._readableState;for(ee("flow",Re.flowing);Re.flowing&&Ee.read()!==null;);}pe.prototype.wrap=function(Ee){var Re=this,Qe=this._readableState,Ye=!1;Ee.on("end",function(){if(ee("wrapped end"),Qe.decoder&&!Qe.ended){var xe=Qe.decoder.end();xe&&xe.length&&Re.push(xe)}Re.push(null)}),Ee.on("data",function(xe){if(ee("wrapped data"),Qe.decoder&&(xe=Qe.decoder.write(xe)),!(Qe.objectMode&&xe==null)&&!(!Qe.objectMode&&(!xe||!xe.length))){var Ne=Re.push(xe);Ne||(Ye=!0,Ee.pause())}});for(var We in Ee)this[We]===void 0&&typeof Ee[We]=="function"&&(this[We]=function(xe){return function(){return Ee[xe].apply(Ee,arguments)}}(We));for(var Ce=0;Ce<ve.length;Ce++)Ee.on(ve[Ce],this.emit.bind(this,ve[Ce]));return this._read=function(xe){ee("wrapped _read",xe),Ye&&(Ye=!1,Ee.resume())},this},Object.defineProperty(pe.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),pe._fromList=tt;function tt(Ee,Re){if(Re.length===0)return null;var Qe;return Re.objectMode?Qe=Re.buffer.shift():!Ee||Ee>=Re.length?(Re.decoder?Qe=Re.buffer.join(""):Re.buffer.length===1?Qe=Re.buffer.head.data:Qe=Re.buffer.concat(Re.length),Re.buffer.clear()):Qe=Je(Ee,Re.buffer,Re.decoder),Qe}function Je(Ee,Re,Qe){var Ye;return Ee<Re.head.data.length?(Ye=Re.head.data.slice(0,Ee),Re.head.data=Re.head.data.slice(Ee)):Ee===Re.head.data.length?Ye=Re.shift():Ye=Qe?ft(Ee,Re):Ze(Ee,Re),Ye}function ft(Ee,Re){var Qe=Re.head,Ye=1,We=Qe.data;for(Ee-=We.length;Qe=Qe.next;){var Ce=Qe.data,xe=Ee>Ce.length?Ce.length:Ee;if(xe===Ce.length?We+=Ce:We+=Ce.slice(0,Ee),Ee-=xe,Ee===0){xe===Ce.length?(++Ye,Qe.next?Re.head=Qe.next:Re.head=Re.tail=null):(Re.head=Qe,Qe.data=Ce.slice(xe));break}++Ye}return Re.length-=Ye,We}function Ze(Ee,Re){var Qe=ne.allocUnsafe(Ee),Ye=Re.head,We=1;for(Ye.data.copy(Qe),Ee-=Ye.data.length;Ye=Ye.next;){var Ce=Ye.data,xe=Ee>Ce.length?Ce.length:Ee;if(Ce.copy(Qe,Qe.length-Ee,0,xe),Ee-=xe,Ee===0){xe===Ce.length?(++We,Ye.next?Re.head=Ye.next:Re.head=Re.tail=null):(Re.head=Ye,Ye.data=Ce.slice(xe));break}++We}return Re.length-=We,Qe}function Ge(Ee){var Re=Ee._readableState;if(Re.length>0)throw new Error('"endReadable()" called on non-empty stream');Re.endEmitted||(Re.ended=!0,ue.nextTick(Le,Re,Ee))}function Le(Ee,Re){!Ee.endEmitted&&Ee.length===0&&(Ee.endEmitted=!0,Re.readable=!1,Re.emit("end"))}function Ke(Ee,Re){for(var Qe=0,Ye=Ee.length;Qe<Ye;Qe++)if(Ee[Qe]===Re)return Qe;return-1}}).call(this)}).call(this,E("_process"),typeof Ct!="undefined"?Ct: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,ye,me){"use strict";ye.exports=de;var oe=E("./_stream_duplex"),te=Object.create(E("core-util-is"));te.inherits=E("inherits"),te.inherits(de,oe);function ue(ae,ie){var ne=this._transformState;ne.transforming=!1;var a=ne.writecb;if(!a)return this.emit("error",new Error("write callback called multiple times"));ne.writechunk=null,ne.writecb=null,ie!=null&&this.push(ie),a(ae);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function de(ae){if(!(this instanceof de))return new de(ae);oe.call(this,ae),this._transformState={afterTransform:ue.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,ae&&(typeof ae.transform=="function"&&(this._transform=ae.transform),typeof ae.flush=="function"&&(this._flush=ae.flush)),this.on("prefinish",le)}function le(){var ae=this;typeof this._flush=="function"?this._flush(function(ie,ne){ce(ae,ie,ne)}):ce(this,null,null)}de.prototype.push=function(ae,ie){return this._transformState.needTransform=!1,oe.prototype.push.call(this,ae,ie)},de.prototype._transform=function(ae,ie,ne){throw new Error("_transform() is not implemented")},de.prototype._write=function(ae,ie,ne){var a=this._transformState;if(a.writecb=ne,a.writechunk=ae,a.writeencoding=ie,!a.transforming){var y=this._readableState;(a.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},de.prototype._read=function(ae){var ie=this._transformState;ie.writechunk!==null&&ie.writecb&&!ie.transforming?(ie.transforming=!0,this._transform(ie.writechunk,ie.writeencoding,ie.afterTransform)):ie.needTransform=!0},de.prototype._destroy=function(ae,ie){var ne=this;oe.prototype._destroy.call(this,ae,function(a){ie(a),ne.emit("close")})};function ce(ae,ie,ne){if(ie)return ae.emit("error",ie);if(ne!=null&&ae.push(ne),ae._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(ae._transformState.transforming)throw new Error("Calling transform done when still transforming");return ae.push(null)}},{"./_stream_duplex":386,"core-util-is":341,inherits:364}],390:[function(E,ye,me){(function(oe,te,ue){(function(){"use strict";var de=E("process-nextick-args");ye.exports=ge;function le(Ue,Be,tt){this.chunk=Ue,this.encoding=Be,this.callback=tt,this.next=null}function ce(Ue){var Be=this;this.next=null,this.entry=null,this.finish=function(){$e(Be,Ue)}}var ae=!oe.browser&&["v0.10","v0.9."].indexOf(oe.version.slice(0,5))>-1?ue:de.nextTick,ie;ge.WritableState=fe;var ne=Object.create(E("core-util-is"));ne.inherits=E("inherits");var a={deprecate:E("util-deprecate")},y=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=te.Uint8Array||function(){};function z(Ue){return x.from(Ue)}function ee(Ue){return x.isBuffer(Ue)||Ue instanceof b}var re=E("./internal/streams/destroy");ne.inherits(ge,y);function se(){}function fe(Ue,Be){ie=ie||E("./_stream_duplex"),Ue=Ue||{};var tt=Be instanceof ie;this.objectMode=!!Ue.objectMode,tt&&(this.objectMode=this.objectMode||!!Ue.writableObjectMode);var Je=Ue.highWaterMark,ft=Ue.writableHighWaterMark,Ze=this.objectMode?16:16*1024;Je||Je===0?this.highWaterMark=Je:tt&&(ft||ft===0)?this.highWaterMark=ft:this.highWaterMark=Ze,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 Ge=Ue.decodeStrings===!1;this.decodeStrings=!Ge,this.defaultEncoding=Ue.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Le){Ae(Be,Le)},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 ce(this)}fe.prototype.getBuffer=function(){for(var Be=this.bufferedRequest,tt=[];Be;)tt.push(Be),Be=Be.next;return tt},function(){try{Object.defineProperty(fe.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ue){}}();var ve;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ve=Function.prototype[Symbol.hasInstance],Object.defineProperty(ge,Symbol.hasInstance,{value:function(Ue){return ve.call(this,Ue)?!0:this!==ge?!1:Ue&&Ue._writableState instanceof fe}})):ve=function(Ue){return Ue instanceof this};function ge(Ue){if(ie=ie||E("./_stream_duplex"),!ve.call(ge,this)&&!(this instanceof ie))return new ge(Ue);this._writableState=new fe(Ue,this),this.writable=!0,Ue&&(typeof Ue.write=="function"&&(this._write=Ue.write),typeof Ue.writev=="function"&&(this._writev=Ue.writev),typeof Ue.destroy=="function"&&(this._destroy=Ue.destroy),typeof Ue.final=="function"&&(this._final=Ue.final)),y.call(this)}ge.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function he(Ue,Be){var tt=new Error("write after end");Ue.emit("error",tt),de.nextTick(Be,tt)}function pe(Ue,Be,tt,Je){var ft=!0,Ze=!1;return tt===null?Ze=new TypeError("May not write null values to stream"):typeof tt!="string"&&tt!==void 0&&!Be.objectMode&&(Ze=new TypeError("Invalid non-string/buffer chunk")),Ze&&(Ue.emit("error",Ze),de.nextTick(Je,Ze),ft=!1),ft}ge.prototype.write=function(Ue,Be,tt){var Je=this._writableState,ft=!1,Ze=!Je.objectMode&&ee(Ue);return Ze&&!x.isBuffer(Ue)&&(Ue=z(Ue)),typeof Be=="function"&&(tt=Be,Be=null),Ze?Be="buffer":Be||(Be=Je.defaultEncoding),typeof tt!="function"&&(tt=se),Je.ended?he(this,tt):(Ze||pe(this,Je,Ue,tt))&&(Je.pendingcb++,ft=be(this,Je,Ze,Ue,Be,tt)),ft},ge.prototype.cork=function(){var Ue=this._writableState;Ue.corked++},ge.prototype.uncork=function(){var Ue=this._writableState;Ue.corked&&(Ue.corked--,!Ue.writing&&!Ue.corked&&!Ue.finished&&!Ue.bufferProcessing&&Ue.bufferedRequest&&Ve(this,Ue))},ge.prototype.setDefaultEncoding=function(Be){if(typeof Be=="string"&&(Be=Be.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Be+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Be);return this._writableState.defaultEncoding=Be,this};function Se(Ue,Be,tt){return!Ue.objectMode&&Ue.decodeStrings!==!1&&typeof Be=="string"&&(Be=x.from(Be,tt)),Be}Object.defineProperty(ge.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function be(Ue,Be,tt,Je,ft,Ze){if(!tt){var Ge=Se(Be,Je,ft);Je!==Ge&&(tt=!0,ft="buffer",Je=Ge)}var Le=Be.objectMode?1:Je.length;Be.length+=Le;var Ke=Be.length<Be.highWaterMark;if(Ke||(Be.needDrain=!0),Be.writing||Be.corked){var Ee=Be.lastBufferedRequest;Be.lastBufferedRequest={chunk:Je,encoding:ft,isBuf:tt,callback:Ze,next:null},Ee?Ee.next=Be.lastBufferedRequest:Be.bufferedRequest=Be.lastBufferedRequest,Be.bufferedRequestCount+=1}else je(Ue,Be,!1,Le,Je,ft,Ze);return Ke}function je(Ue,Be,tt,Je,ft,Ze,Ge){Be.writelen=Je,Be.writecb=Ge,Be.writing=!0,Be.sync=!0,tt?Ue._writev(ft,Be.onwrite):Ue._write(ft,Ze,Be.onwrite),Be.sync=!1}function we(Ue,Be,tt,Je,ft){--Be.pendingcb,tt?(de.nextTick(ft,Je),de.nextTick(qe,Ue,Be),Ue._writableState.errorEmitted=!0,Ue.emit("error",Je)):(ft(Je),Ue._writableState.errorEmitted=!0,Ue.emit("error",Je),qe(Ue,Be))}function Oe(Ue){Ue.writing=!1,Ue.writecb=null,Ue.length-=Ue.writelen,Ue.writelen=0}function Ae(Ue,Be){var tt=Ue._writableState,Je=tt.sync,ft=tt.writecb;if(Oe(tt),Be)we(Ue,tt,Je,Be,ft);else{var Ze=De(tt);!Ze&&!tt.corked&&!tt.bufferProcessing&&tt.bufferedRequest&&Ve(Ue,tt),Je?ae(Fe,Ue,tt,Ze,ft):Fe(Ue,tt,Ze,ft)}}function Fe(Ue,Be,tt,Je){tt||ke(Ue,Be),Be.pendingcb--,Je(),qe(Ue,Be)}function ke(Ue,Be){Be.length===0&&Be.needDrain&&(Be.needDrain=!1,Ue.emit("drain"))}function Ve(Ue,Be){Be.bufferProcessing=!0;var tt=Be.bufferedRequest;if(Ue._writev&&tt&&tt.next){var Je=Be.bufferedRequestCount,ft=new Array(Je),Ze=Be.corkedRequestsFree;Ze.entry=tt;for(var Ge=0,Le=!0;tt;)ft[Ge]=tt,tt.isBuf||(Le=!1),tt=tt.next,Ge+=1;ft.allBuffers=Le,je(Ue,Be,!0,Be.length,ft,"",Ze.finish),Be.pendingcb++,Be.lastBufferedRequest=null,Ze.next?(Be.corkedRequestsFree=Ze.next,Ze.next=null):Be.corkedRequestsFree=new ce(Be),Be.bufferedRequestCount=0}else{for(;tt;){var Ke=tt.chunk,Ee=tt.encoding,Re=tt.callback,Qe=Be.objectMode?1:Ke.length;if(je(Ue,Be,!1,Qe,Ke,Ee,Re),tt=tt.next,Be.bufferedRequestCount--,Be.writing)break}tt===null&&(Be.lastBufferedRequest=null)}Be.bufferedRequest=tt,Be.bufferProcessing=!1}ge.prototype._write=function(Ue,Be,tt){tt(new Error("_write() is not implemented"))},ge.prototype._writev=null,ge.prototype.end=function(Ue,Be,tt){var Je=this._writableState;typeof Ue=="function"?(tt=Ue,Ue=null,Be=null):typeof Be=="function"&&(tt=Be,Be=null),Ue!=null&&this.write(Ue,Be),Je.corked&&(Je.corked=1,this.uncork()),!Je.ending&&!Je.finished&&Xe(this,Je,tt)};function De(Ue){return Ue.ending&&Ue.length===0&&Ue.bufferedRequest===null&&!Ue.finished&&!Ue.writing}function ut(Ue,Be){Ue._final(function(tt){Be.pendingcb--,tt&&Ue.emit("error",tt),Be.prefinished=!0,Ue.emit("prefinish"),qe(Ue,Be)})}function nt(Ue,Be){!Be.prefinished&&!Be.finalCalled&&(typeof Ue._final=="function"?(Be.pendingcb++,Be.finalCalled=!0,de.nextTick(ut,Ue,Be)):(Be.prefinished=!0,Ue.emit("prefinish")))}function qe(Ue,Be){var tt=De(Be);return tt&&(nt(Ue,Be),Be.pendingcb===0&&(Be.finished=!0,Ue.emit("finish"))),tt}function Xe(Ue,Be,tt){Be.ending=!0,qe(Ue,Be),tt&&(Be.finished?de.nextTick(tt):Ue.once("finish",tt)),Be.ended=!0,Ue.writable=!1}function $e(Ue,Be,tt){var Je=Ue.entry;for(Ue.entry=null;Je;){var ft=Je.callback;Be.pendingcb--,ft(tt),Je=Je.next}Be.corkedRequestsFree?Be.corkedRequestsFree.next=Ue:Be.corkedRequestsFree=Ue}Object.defineProperty(ge.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Ue){this._writableState&&(this._writableState.destroyed=Ue)}}),ge.prototype.destroy=re.destroy,ge.prototype._undestroy=re.undestroy,ge.prototype._destroy=function(Ue,Be){this.end(),Be(Ue)}}).call(this)}).call(this,E("_process"),typeof Ct!="undefined"?Ct: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,ye,me){"use strict";function oe(le,ce){if(!(le instanceof ce))throw new TypeError("Cannot call a class as a function")}var te=E("safe-buffer").Buffer,ue=E("util");function de(le,ce,ae){le.copy(ce,ae)}ye.exports=function(){function le(){oe(this,le),this.head=null,this.tail=null,this.length=0}return le.prototype.push=function(ae){var ie={data:ae,next:null};this.length>0?this.tail.next=ie:this.head=ie,this.tail=ie,++this.length},le.prototype.unshift=function(ae){var ie={data:ae,next:this.head};this.length===0&&(this.tail=ie),this.head=ie,++this.length},le.prototype.shift=function(){if(this.length!==0){var ae=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ae}},le.prototype.clear=function(){this.head=this.tail=null,this.length=0},le.prototype.join=function(ae){if(this.length===0)return"";for(var ie=this.head,ne=""+ie.data;ie=ie.next;)ne+=ae+ie.data;return ne},le.prototype.concat=function(ae){if(this.length===0)return te.alloc(0);if(this.length===1)return this.head.data;for(var ie=te.allocUnsafe(ae>>>0),ne=this.head,a=0;ne;)de(ne.data,ie,a),a+=ne.data.length,ne=ne.next;return ie},le}(),ue&&ue.inspect&&ue.inspect.custom&&(ye.exports.prototype[ue.inspect.custom]=function(){var le=ue.inspect({length:this.length});return this.constructor.name+" "+le})},{"safe-buffer":396,util:89}],392:[function(E,ye,me){"use strict";var oe=E("process-nextick-args");function te(le,ce){var ae=this,ie=this._readableState&&this._readableState.destroyed,ne=this._writableState&&this._writableState.destroyed;return ie||ne?(ce?ce(le):le&&(!this._writableState||!this._writableState.errorEmitted)&&oe.nextTick(de,this,le),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(le||null,function(a){!ce&&a?(oe.nextTick(de,ae,a),ae._writableState&&(ae._writableState.errorEmitted=!0)):ce&&ce(a)}),this)}function ue(){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 de(le,ce){le.emit("error",ce)}ye.exports={destroy:te,undestroy:ue}},{"process-nextick-args":380}],393:[function(E,ye,me){ye.exports=E("events").EventEmitter},{events:344}],394:[function(E,ye,me){me=ye.exports=E("./lib/_stream_readable.js"),me.Stream=me,me.Readable=me,me.Writable=E("./lib/_stream_writable.js"),me.Duplex=E("./lib/_stream_duplex.js"),me.Transform=E("./lib/_stream_transform.js"),me.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,ye,me){var oe=function(te){"use strict";var ue=Object.prototype,de=ue.hasOwnProperty,le,ce=typeof Symbol=="function"?Symbol:{},ae=ce.iterator||"@@iterator",ie=ce.asyncIterator||"@@asyncIterator",ne=ce.toStringTag||"@@toStringTag";function a(nt,qe,Xe){return Object.defineProperty(nt,qe,{value:Xe,enumerable:!0,configurable:!0,writable:!0}),nt[qe]}try{a({},"")}catch(nt){a=function(qe,Xe,$e){return qe[Xe]=$e}}function y(nt,qe,Xe,$e){var Ue=qe&&qe.prototype instanceof fe?qe:fe,Be=Object.create(Ue.prototype),tt=new Ve($e||[]);return Be._invoke=Oe(nt,Xe,tt),Be}te.wrap=y;function x(nt,qe,Xe){try{return{type:"normal",arg:nt.call(qe,Xe)}}catch($e){return{type:"throw",arg:$e}}}var b="suspendedStart",z="suspendedYield",ee="executing",re="completed",se={};function fe(){}function ve(){}function ge(){}var he={};a(he,ae,function(){return this});var pe=Object.getPrototypeOf,Se=pe&&pe(pe(De([])));Se&&Se!==ue&&de.call(Se,ae)&&(he=Se);var be=ge.prototype=fe.prototype=Object.create(he);ve.prototype=ge,a(be,"constructor",ge),a(ge,"constructor",ve),ve.displayName=a(ge,ne,"GeneratorFunction");function je(nt){["next","throw","return"].forEach(function(qe){a(nt,qe,function(Xe){return this._invoke(qe,Xe)})})}te.isGeneratorFunction=function(nt){var qe=typeof nt=="function"&&nt.constructor;return qe?qe===ve||(qe.displayName||qe.name)==="GeneratorFunction":!1},te.mark=function(nt){return Object.setPrototypeOf?Object.setPrototypeOf(nt,ge):(nt.__proto__=ge,a(nt,ne,"GeneratorFunction")),nt.prototype=Object.create(be),nt},te.awrap=function(nt){return{__await:nt}};function we(nt,qe){function Xe(Be,tt,Je,ft){var Ze=x(nt[Be],nt,tt);if(Ze.type==="throw")ft(Ze.arg);else{var Ge=Ze.arg,Le=Ge.value;return Le&&typeof Le=="object"&&de.call(Le,"__await")?qe.resolve(Le.__await).then(function(Ke){Xe("next",Ke,Je,ft)},function(Ke){Xe("throw",Ke,Je,ft)}):qe.resolve(Le).then(function(Ke){Ge.value=Ke,Je(Ge)},function(Ke){return Xe("throw",Ke,Je,ft)})}}var $e;function Ue(Be,tt){function Je(){return new qe(function(ft,Ze){Xe(Be,tt,ft,Ze)})}return $e=$e?$e.then(Je,Je):Je()}this._invoke=Ue}je(we.prototype),a(we.prototype,ie,function(){return this}),te.AsyncIterator=we,te.async=function(nt,qe,Xe,$e,Ue){Ue===void 0&&(Ue=Promise);var Be=new we(y(nt,qe,Xe,$e),Ue);return te.isGeneratorFunction(qe)?Be:Be.next().then(function(tt){return tt.done?tt.value:Be.next()})};function Oe(nt,qe,Xe){var $e=b;return function(Be,tt){if($e===ee)throw new Error("Generator is already running");if($e===re){if(Be==="throw")throw tt;return ut()}for(Xe.method=Be,Xe.arg=tt;;){var Je=Xe.delegate;if(Je){var ft=Ae(Je,Xe);if(ft){if(ft===se)continue;return ft}}if(Xe.method==="next")Xe.sent=Xe._sent=Xe.arg;else if(Xe.method==="throw"){if($e===b)throw $e=re,Xe.arg;Xe.dispatchException(Xe.arg)}else Xe.method==="return"&&Xe.abrupt("return",Xe.arg);$e=ee;var Ze=x(nt,qe,Xe);if(Ze.type==="normal"){if($e=Xe.done?re:z,Ze.arg===se)continue;return{value:Ze.arg,done:Xe.done}}else Ze.type==="throw"&&($e=re,Xe.method="throw",Xe.arg=Ze.arg)}}}function Ae(nt,qe){var Xe=nt.iterator[qe.method];if(Xe===le){if(qe.delegate=null,qe.method==="throw"){if(nt.iterator.return&&(qe.method="return",qe.arg=le,Ae(nt,qe),qe.method==="throw"))return se;qe.method="throw",qe.arg=new TypeError("The iterator does not provide a 'throw' method")}return se}var $e=x(Xe,nt.iterator,qe.arg);if($e.type==="throw")return qe.method="throw",qe.arg=$e.arg,qe.delegate=null,se;var Ue=$e.arg;if(!Ue)return qe.method="throw",qe.arg=new TypeError("iterator result is not an object"),qe.delegate=null,se;if(Ue.done)qe[nt.resultName]=Ue.value,qe.next=nt.nextLoc,qe.method!=="return"&&(qe.method="next",qe.arg=le);else return Ue;return qe.delegate=null,se}je(be),a(be,ne,"Generator"),a(be,ae,function(){return this}),a(be,"toString",function(){return"[object Generator]"});function Fe(nt){var qe={tryLoc:nt[0]};1 in nt&&(qe.catchLoc=nt[1]),2 in nt&&(qe.finallyLoc=nt[2],qe.afterLoc=nt[3]),this.tryEntries.push(qe)}function ke(nt){var qe=nt.completion||{};qe.type="normal",delete qe.arg,nt.completion=qe}function Ve(nt){this.tryEntries=[{tryLoc:"root"}],nt.forEach(Fe,this),this.reset(!0)}te.keys=function(nt){var qe=[];for(var Xe in nt)qe.push(Xe);return qe.reverse(),function $e(){for(;qe.length;){var Ue=qe.pop();if(Ue in nt)return $e.value=Ue,$e.done=!1,$e}return $e.done=!0,$e}};function De(nt){if(nt){var qe=nt[ae];if(qe)return qe.call(nt);if(typeof nt.next=="function")return nt;if(!isNaN(nt.length)){var Xe=-1,$e=function Ue(){for(;++Xe<nt.length;)if(de.call(nt,Xe))return Ue.value=nt[Xe],Ue.done=!1,Ue;return Ue.value=le,Ue.done=!0,Ue};return $e.next=$e}}return{next:ut}}te.values=De;function ut(){return{value:le,done:!0}}return Ve.prototype={constructor:Ve,reset:function(nt){if(this.prev=0,this.next=0,this.sent=this._sent=le,this.done=!1,this.delegate=null,this.method="next",this.arg=le,this.tryEntries.forEach(ke),!nt)for(var qe in this)qe.charAt(0)==="t"&&de.call(this,qe)&&!isNaN(+qe.slice(1))&&(this[qe]=le)},stop:function(){this.done=!0;var nt=this.tryEntries[0],qe=nt.completion;if(qe.type==="throw")throw qe.arg;return this.rval},dispatchException:function(nt){if(this.done)throw nt;var qe=this;function Xe(ft,Ze){return Be.type="throw",Be.arg=nt,qe.next=ft,Ze&&(qe.method="next",qe.arg=le),!!Ze}for(var $e=this.tryEntries.length-1;$e>=0;--$e){var Ue=this.tryEntries[$e],Be=Ue.completion;if(Ue.tryLoc==="root")return Xe("end");if(Ue.tryLoc<=this.prev){var tt=de.call(Ue,"catchLoc"),Je=de.call(Ue,"finallyLoc");if(tt&&Je){if(this.prev<Ue.catchLoc)return Xe(Ue.catchLoc,!0);if(this.prev<Ue.finallyLoc)return Xe(Ue.finallyLoc)}else if(tt){if(this.prev<Ue.catchLoc)return Xe(Ue.catchLoc,!0)}else if(Je){if(this.prev<Ue.finallyLoc)return Xe(Ue.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(nt,qe){for(var Xe=this.tryEntries.length-1;Xe>=0;--Xe){var $e=this.tryEntries[Xe];if($e.tryLoc<=this.prev&&de.call($e,"finallyLoc")&&this.prev<$e.finallyLoc){var Ue=$e;break}}Ue&&(nt==="break"||nt==="continue")&&Ue.tryLoc<=qe&&qe<=Ue.finallyLoc&&(Ue=null);var Be=Ue?Ue.completion:{};return Be.type=nt,Be.arg=qe,Ue?(this.method="next",this.next=Ue.finallyLoc,se):this.complete(Be)},complete:function(nt,qe){if(nt.type==="throw")throw nt.arg;return nt.type==="break"||nt.type==="continue"?this.next=nt.arg:nt.type==="return"?(this.rval=this.arg=nt.arg,this.method="return",this.next="end"):nt.type==="normal"&&qe&&(this.next=qe),se},finish:function(nt){for(var qe=this.tryEntries.length-1;qe>=0;--qe){var Xe=this.tryEntries[qe];if(Xe.finallyLoc===nt)return this.complete(Xe.completion,Xe.afterLoc),ke(Xe),se}},catch:function(nt){for(var qe=this.tryEntries.length-1;qe>=0;--qe){var Xe=this.tryEntries[qe];if(Xe.tryLoc===nt){var $e=Xe.completion;if($e.type==="throw"){var Ue=$e.arg;ke(Xe)}return Ue}}throw new Error("illegal catch attempt")},delegateYield:function(nt,qe,Xe){return this.delegate={iterator:De(nt),resultName:qe,nextLoc:Xe},this.method==="next"&&(this.arg=le),se}},te}(typeof ye=="object"?ye.exports:{});try{regeneratorRuntime=oe}catch(te){typeof globalThis=="object"?globalThis.regeneratorRuntime=oe:Function("r","regeneratorRuntime = r")(oe)}},{}],396:[function(E,ye,me){var oe=E("buffer"),te=oe.Buffer;function ue(le,ce){for(var ae in le)ce[ae]=le[ae]}te.from&&te.alloc&&te.allocUnsafe&&te.allocUnsafeSlow?ye.exports=oe:(ue(oe,me),me.Buffer=de);function de(le,ce,ae){return te(le,ce,ae)}ue(te,de),de.from=function(le,ce,ae){if(typeof le=="number")throw new TypeError("Argument must not be a number");return te(le,ce,ae)},de.alloc=function(le,ce,ae){if(typeof le!="number")throw new TypeError("Argument must be a number");var ie=te(le);return ce!==void 0?typeof ae=="string"?ie.fill(ce,ae):ie.fill(ce):ie.fill(0),ie},de.allocUnsafe=function(le){if(typeof le!="number")throw new TypeError("Argument must be a number");return te(le)},de.allocUnsafeSlow=function(le){if(typeof le!="number")throw new TypeError("Argument must be a number");return oe.SlowBuffer(le)}},{buffer:90}],397:[function(E,ye,me){(function(oe){(function(){(function(te){te.parser=function(Ge,Le){return new de(Ge,Le)},te.SAXParser=de,te.SAXStream=y,te.createStream=a,te.MAX_BUFFER_LENGTH=64*1024;var ue=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];te.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function de(Ge,Le){if(!(this instanceof de))return new de(Ge,Le);var Ke=this;ce(Ke),Ke.q=Ke.c="",Ke.bufferCheckPosition=te.MAX_BUFFER_LENGTH,Ke.opt=Le||{},Ke.opt.lowercase=Ke.opt.lowercase||Ke.opt.lowercasetags,Ke.looseCase=Ke.opt.lowercase?"toLowerCase":"toUpperCase",Ke.tags=[],Ke.closed=Ke.closedRoot=Ke.sawRoot=!1,Ke.tag=Ke.error=null,Ke.strict=!!Ge,Ke.noscript=!!(Ge||Ke.opt.noscript),Ke.state=we.BEGIN,Ke.strictEntities=Ke.opt.strictEntities,Ke.ENTITIES=Ke.strictEntities?Object.create(te.XML_ENTITIES):Object.create(te.ENTITIES),Ke.attribList=[],Ke.opt.xmlns&&(Ke.ns=Object.create(re)),Ke.trackPosition=Ke.opt.position!==!1,Ke.trackPosition&&(Ke.position=Ke.line=Ke.column=0),Ae(Ke,"onready")}Object.create||(Object.create=function(Ge){function Le(){}Le.prototype=Ge;var Ke=new Le;return Ke}),Object.keys||(Object.keys=function(Ge){var Le=[];for(var Ke in Ge)Ge.hasOwnProperty(Ke)&&Le.push(Ke);return Le});function le(Ge){for(var Le=Math.max(te.MAX_BUFFER_LENGTH,10),Ke=0,Ee=0,Re=ue.length;Ee<Re;Ee++){var Qe=Ge[ue[Ee]].length;if(Qe>Le)switch(ue[Ee]){case"textNode":ke(Ge);break;case"cdata":Fe(Ge,"oncdata",Ge.cdata),Ge.cdata="";break;case"script":Fe(Ge,"onscript",Ge.script),Ge.script="";break;default:De(Ge,"Max buffer length exceeded: "+ue[Ee])}Ke=Math.max(Ke,Qe)}var Ye=te.MAX_BUFFER_LENGTH-Ke;Ge.bufferCheckPosition=Ye+Ge.position}function ce(Ge){for(var Le=0,Ke=ue.length;Le<Ke;Le++)Ge[ue[Le]]=""}function ae(Ge){ke(Ge),Ge.cdata!==""&&(Fe(Ge,"oncdata",Ge.cdata),Ge.cdata=""),Ge.script!==""&&(Fe(Ge,"onscript",Ge.script),Ge.script="")}de.prototype={end:function(){ut(this)},write:Ze,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){ae(this)}};var ie;try{ie=E("stream").Stream}catch(Ge){ie=function(){}}var ne=te.EVENTS.filter(function(Ge){return Ge!=="error"&&Ge!=="end"});function a(Ge,Le){return new y(Ge,Le)}function y(Ge,Le){if(!(this instanceof y))return new y(Ge,Le);ie.apply(this),this._parser=new de(Ge,Le),this.writable=!0,this.readable=!0;var Ke=this;this._parser.onend=function(){Ke.emit("end")},this._parser.onerror=function(Ee){Ke.emit("error",Ee),Ke._parser.error=null},this._decoder=null,ne.forEach(function(Ee){Object.defineProperty(Ke,"on"+Ee,{get:function(){return Ke._parser["on"+Ee]},set:function(Re){if(!Re)return Ke.removeAllListeners(Ee),Ke._parser["on"+Ee]=Re,Re;Ke.on(Ee,Re)},enumerable:!0,configurable:!1})})}y.prototype=Object.create(ie.prototype,{constructor:{value:y}}),y.prototype.write=function(Ge){if(typeof oe=="function"&&typeof oe.isBuffer=="function"&&oe.isBuffer(Ge)){if(!this._decoder){var Le=E("string_decoder").StringDecoder;this._decoder=new Le("utf8")}Ge=this._decoder.write(Ge)}return this._parser.write(Ge.toString()),this.emit("data",Ge),!0},y.prototype.end=function(Ge){return Ge&&Ge.length&&this.write(Ge),this._parser.end(),!0},y.prototype.on=function(Ge,Le){var Ke=this;return!Ke._parser["on"+Ge]&&ne.indexOf(Ge)!==-1&&(Ke._parser["on"+Ge]=function(){var Ee=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Ee.splice(0,0,Ge),Ke.emit.apply(Ke,Ee)}),ie.prototype.on.call(Ke,Ge,Le)};var x="[CDATA[",b="DOCTYPE",z="http://www.w3.org/XML/1998/namespace",ee="http://www.w3.org/2000/xmlns/",re={xml:z,xmlns:ee},se=/[:_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]/,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\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,ve=/[#:_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-]/;function he(Ge){return Ge===" "||Ge===`
|
|
`||Ge==="\r"||Ge===" "}function pe(Ge){return Ge==='"'||Ge==="'"}function Se(Ge){return Ge===">"||he(Ge)}function be(Ge,Le){return Ge.test(Le)}function je(Ge,Le){return!be(Ge,Le)}var we=0;te.STATE={BEGIN:we++,BEGIN_WHITESPACE:we++,TEXT:we++,TEXT_ENTITY:we++,OPEN_WAKA:we++,SGML_DECL:we++,SGML_DECL_QUOTED:we++,DOCTYPE:we++,DOCTYPE_QUOTED:we++,DOCTYPE_DTD:we++,DOCTYPE_DTD_QUOTED:we++,COMMENT_STARTING:we++,COMMENT:we++,COMMENT_ENDING:we++,COMMENT_ENDED:we++,CDATA:we++,CDATA_ENDING:we++,CDATA_ENDING_2:we++,PROC_INST:we++,PROC_INST_BODY:we++,PROC_INST_ENDING:we++,OPEN_TAG:we++,OPEN_TAG_SLASH:we++,ATTRIB:we++,ATTRIB_NAME:we++,ATTRIB_NAME_SAW_WHITE:we++,ATTRIB_VALUE:we++,ATTRIB_VALUE_QUOTED:we++,ATTRIB_VALUE_CLOSED:we++,ATTRIB_VALUE_UNQUOTED:we++,ATTRIB_VALUE_ENTITY_Q:we++,ATTRIB_VALUE_ENTITY_U:we++,CLOSE_TAG:we++,CLOSE_TAG_SAW_WHITE:we++,SCRIPT:we++,SCRIPT_ENDING:we++},te.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},te.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(te.ENTITIES).forEach(function(Ge){var Le=te.ENTITIES[Ge],Ke=typeof Le=="number"?String.fromCharCode(Le):Le;te.ENTITIES[Ge]=Ke});for(var Oe in te.STATE)te.STATE[te.STATE[Oe]]=Oe;we=te.STATE;function Ae(Ge,Le,Ke){Ge[Le]&&Ge[Le](Ke)}function Fe(Ge,Le,Ke){Ge.textNode&&ke(Ge),Ae(Ge,Le,Ke)}function ke(Ge){Ge.textNode=Ve(Ge.opt,Ge.textNode),Ge.textNode&&Ae(Ge,"ontext",Ge.textNode),Ge.textNode=""}function Ve(Ge,Le){return Ge.trim&&(Le=Le.trim()),Ge.normalize&&(Le=Le.replace(/\s+/g," ")),Le}function De(Ge,Le){return ke(Ge),Ge.trackPosition&&(Le+=`
|
|
Line: `+Ge.line+`
|
|
Column: `+Ge.column+`
|
|
Char: `+Ge.c),Le=new Error(Le),Ge.error=Le,Ae(Ge,"onerror",Le),Ge}function ut(Ge){return Ge.sawRoot&&!Ge.closedRoot&&nt(Ge,"Unclosed root tag"),Ge.state!==we.BEGIN&&Ge.state!==we.BEGIN_WHITESPACE&&Ge.state!==we.TEXT&&De(Ge,"Unexpected end"),ke(Ge),Ge.c="",Ge.closed=!0,Ae(Ge,"onend"),de.call(Ge,Ge.strict,Ge.opt),Ge}function nt(Ge,Le){if(typeof Ge!="object"||!(Ge instanceof de))throw new Error("bad call to strictFail");Ge.strict&&De(Ge,Le)}function qe(Ge){Ge.strict||(Ge.tagName=Ge.tagName[Ge.looseCase]());var Le=Ge.tags[Ge.tags.length-1]||Ge,Ke=Ge.tag={name:Ge.tagName,attributes:{}};Ge.opt.xmlns&&(Ke.ns=Le.ns),Ge.attribList.length=0,Fe(Ge,"onopentagstart",Ke)}function Xe(Ge,Le){var Ke=Ge.indexOf(":"),Ee=Ke<0?["",Ge]:Ge.split(":"),Re=Ee[0],Qe=Ee[1];return Le&&Ge==="xmlns"&&(Re="xmlns",Qe=""),{prefix:Re,local:Qe}}function $e(Ge){if(Ge.strict||(Ge.attribName=Ge.attribName[Ge.looseCase]()),Ge.attribList.indexOf(Ge.attribName)!==-1||Ge.tag.attributes.hasOwnProperty(Ge.attribName)){Ge.attribName=Ge.attribValue="";return}if(Ge.opt.xmlns){var Le=Xe(Ge.attribName,!0),Ke=Le.prefix,Ee=Le.local;if(Ke==="xmlns")if(Ee==="xml"&&Ge.attribValue!==z)nt(Ge,"xml: prefix must be bound to "+z+`
|
|
Actual: `+Ge.attribValue);else if(Ee==="xmlns"&&Ge.attribValue!==ee)nt(Ge,"xmlns: prefix must be bound to "+ee+`
|
|
Actual: `+Ge.attribValue);else{var Re=Ge.tag,Qe=Ge.tags[Ge.tags.length-1]||Ge;Re.ns===Qe.ns&&(Re.ns=Object.create(Qe.ns)),Re.ns[Ee]=Ge.attribValue}Ge.attribList.push([Ge.attribName,Ge.attribValue])}else Ge.tag.attributes[Ge.attribName]=Ge.attribValue,Fe(Ge,"onattribute",{name:Ge.attribName,value:Ge.attribValue});Ge.attribName=Ge.attribValue=""}function Ue(Ge,Le){if(Ge.opt.xmlns){var Ke=Ge.tag,Ee=Xe(Ge.tagName);Ke.prefix=Ee.prefix,Ke.local=Ee.local,Ke.uri=Ke.ns[Ee.prefix]||"",Ke.prefix&&!Ke.uri&&(nt(Ge,"Unbound namespace prefix: "+JSON.stringify(Ge.tagName)),Ke.uri=Ee.prefix);var Re=Ge.tags[Ge.tags.length-1]||Ge;Ke.ns&&Re.ns!==Ke.ns&&Object.keys(Ke.ns).forEach(function(bt){Fe(Ge,"onopennamespace",{prefix:bt,uri:Ke.ns[bt]})});for(var Qe=0,Ye=Ge.attribList.length;Qe<Ye;Qe++){var We=Ge.attribList[Qe],Ce=We[0],xe=We[1],Ne=Xe(Ce,!0),ze=Ne.prefix,it=Ne.local,St=ze===""?"":Ke.ns[ze]||"",dt={name:Ce,value:xe,prefix:ze,local:it,uri:St};ze&&ze!=="xmlns"&&!St&&(nt(Ge,"Unbound namespace prefix: "+JSON.stringify(ze)),dt.uri=ze),Ge.tag.attributes[Ce]=dt,Fe(Ge,"onattribute",dt)}Ge.attribList.length=0}Ge.tag.isSelfClosing=!!Le,Ge.sawRoot=!0,Ge.tags.push(Ge.tag),Fe(Ge,"onopentag",Ge.tag),Le||(!Ge.noscript&&Ge.tagName.toLowerCase()==="script"?Ge.state=we.SCRIPT:Ge.state=we.TEXT,Ge.tag=null,Ge.tagName=""),Ge.attribName=Ge.attribValue="",Ge.attribList.length=0}function Be(Ge){if(!Ge.tagName){nt(Ge,"Weird empty close tag."),Ge.textNode+="</>",Ge.state=we.TEXT;return}if(Ge.script){if(Ge.tagName!=="script"){Ge.script+="</"+Ge.tagName+">",Ge.tagName="",Ge.state=we.SCRIPT;return}Fe(Ge,"onscript",Ge.script),Ge.script=""}var Le=Ge.tags.length,Ke=Ge.tagName;Ge.strict||(Ke=Ke[Ge.looseCase]());for(var Ee=Ke;Le--;){var Re=Ge.tags[Le];if(Re.name!==Ee)nt(Ge,"Unexpected close tag");else break}if(Le<0){nt(Ge,"Unmatched closing tag: "+Ge.tagName),Ge.textNode+="</"+Ge.tagName+">",Ge.state=we.TEXT;return}Ge.tagName=Ke;for(var Qe=Ge.tags.length;Qe-- >Le;){var Ye=Ge.tag=Ge.tags.pop();Ge.tagName=Ge.tag.name,Fe(Ge,"onclosetag",Ge.tagName);var We={};for(var Ce in Ye.ns)We[Ce]=Ye.ns[Ce];var xe=Ge.tags[Ge.tags.length-1]||Ge;Ge.opt.xmlns&&Ye.ns!==xe.ns&&Object.keys(Ye.ns).forEach(function(Ne){var ze=Ye.ns[Ne];Fe(Ge,"onclosenamespace",{prefix:Ne,uri:ze})})}Le===0&&(Ge.closedRoot=!0),Ge.tagName=Ge.attribValue=Ge.attribName="",Ge.attribList.length=0,Ge.state=we.TEXT}function tt(Ge){var Le=Ge.entity,Ke=Le.toLowerCase(),Ee,Re="";return Ge.ENTITIES[Le]?Ge.ENTITIES[Le]:Ge.ENTITIES[Ke]?Ge.ENTITIES[Ke]:(Le=Ke,Le.charAt(0)==="#"&&(Le.charAt(1)==="x"?(Le=Le.slice(2),Ee=parseInt(Le,16),Re=Ee.toString(16)):(Le=Le.slice(1),Ee=parseInt(Le,10),Re=Ee.toString(10))),Le=Le.replace(/^0+/,""),isNaN(Ee)||Re.toLowerCase()!==Le?(nt(Ge,"Invalid character entity"),"&"+Ge.entity+";"):String.fromCodePoint(Ee))}function Je(Ge,Le){Le==="<"?(Ge.state=we.OPEN_WAKA,Ge.startTagPosition=Ge.position):he(Le)||(nt(Ge,"Non-whitespace before first tag."),Ge.textNode=Le,Ge.state=we.TEXT)}function ft(Ge,Le){var Ke="";return Le<Ge.length&&(Ke=Ge.charAt(Le)),Ke}function Ze(Ge){var Le=this;if(this.error)throw this.error;if(Le.closed)return De(Le,"Cannot write after close. Assign an onready handler.");if(Ge===null)return ut(Le);typeof Ge=="object"&&(Ge=Ge.toString());for(var Ke=0,Ee="";Ee=ft(Ge,Ke++),Le.c=Ee,!!Ee;)switch(Le.trackPosition&&(Le.position++,Ee===`
|
|
`?(Le.line++,Le.column=0):Le.column++),Le.state){case we.BEGIN:if(Le.state=we.BEGIN_WHITESPACE,Ee==="\uFEFF")continue;Je(Le,Ee);continue;case we.BEGIN_WHITESPACE:Je(Le,Ee);continue;case we.TEXT:if(Le.sawRoot&&!Le.closedRoot){for(var Re=Ke-1;Ee&&Ee!=="<"&&Ee!=="&";)Ee=ft(Ge,Ke++),Ee&&Le.trackPosition&&(Le.position++,Ee===`
|
|
`?(Le.line++,Le.column=0):Le.column++);Le.textNode+=Ge.substring(Re,Ke-1)}Ee==="<"&&!(Le.sawRoot&&Le.closedRoot&&!Le.strict)?(Le.state=we.OPEN_WAKA,Le.startTagPosition=Le.position):(!he(Ee)&&(!Le.sawRoot||Le.closedRoot)&&nt(Le,"Text data outside of root node."),Ee==="&"?Le.state=we.TEXT_ENTITY:Le.textNode+=Ee);continue;case we.SCRIPT:Ee==="<"?Le.state=we.SCRIPT_ENDING:Le.script+=Ee;continue;case we.SCRIPT_ENDING:Ee==="/"?Le.state=we.CLOSE_TAG:(Le.script+="<"+Ee,Le.state=we.SCRIPT);continue;case we.OPEN_WAKA:if(Ee==="!")Le.state=we.SGML_DECL,Le.sgmlDecl="";else if(!he(Ee))if(be(se,Ee))Le.state=we.OPEN_TAG,Le.tagName=Ee;else if(Ee==="/")Le.state=we.CLOSE_TAG,Le.tagName="";else if(Ee==="?")Le.state=we.PROC_INST,Le.procInstName=Le.procInstBody="";else{if(nt(Le,"Unencoded <"),Le.startTagPosition+1<Le.position){var Qe=Le.position-Le.startTagPosition;Ee=new Array(Qe).join(" ")+Ee}Le.textNode+="<"+Ee,Le.state=we.TEXT}continue;case we.SGML_DECL:(Le.sgmlDecl+Ee).toUpperCase()===x?(Fe(Le,"onopencdata"),Le.state=we.CDATA,Le.sgmlDecl="",Le.cdata=""):Le.sgmlDecl+Ee==="--"?(Le.state=we.COMMENT,Le.comment="",Le.sgmlDecl=""):(Le.sgmlDecl+Ee).toUpperCase()===b?(Le.state=we.DOCTYPE,(Le.doctype||Le.sawRoot)&&nt(Le,"Inappropriately located doctype declaration"),Le.doctype="",Le.sgmlDecl=""):Ee===">"?(Fe(Le,"onsgmldeclaration",Le.sgmlDecl),Le.sgmlDecl="",Le.state=we.TEXT):(pe(Ee)&&(Le.state=we.SGML_DECL_QUOTED),Le.sgmlDecl+=Ee);continue;case we.SGML_DECL_QUOTED:Ee===Le.q&&(Le.state=we.SGML_DECL,Le.q=""),Le.sgmlDecl+=Ee;continue;case we.DOCTYPE:Ee===">"?(Le.state=we.TEXT,Fe(Le,"ondoctype",Le.doctype),Le.doctype=!0):(Le.doctype+=Ee,Ee==="["?Le.state=we.DOCTYPE_DTD:pe(Ee)&&(Le.state=we.DOCTYPE_QUOTED,Le.q=Ee));continue;case we.DOCTYPE_QUOTED:Le.doctype+=Ee,Ee===Le.q&&(Le.q="",Le.state=we.DOCTYPE);continue;case we.DOCTYPE_DTD:Le.doctype+=Ee,Ee==="]"?Le.state=we.DOCTYPE:pe(Ee)&&(Le.state=we.DOCTYPE_DTD_QUOTED,Le.q=Ee);continue;case we.DOCTYPE_DTD_QUOTED:Le.doctype+=Ee,Ee===Le.q&&(Le.state=we.DOCTYPE_DTD,Le.q="");continue;case we.COMMENT:Ee==="-"?Le.state=we.COMMENT_ENDING:Le.comment+=Ee;continue;case we.COMMENT_ENDING:Ee==="-"?(Le.state=we.COMMENT_ENDED,Le.comment=Ve(Le.opt,Le.comment),Le.comment&&Fe(Le,"oncomment",Le.comment),Le.comment=""):(Le.comment+="-"+Ee,Le.state=we.COMMENT);continue;case we.COMMENT_ENDED:Ee!==">"?(nt(Le,"Malformed comment"),Le.comment+="--"+Ee,Le.state=we.COMMENT):Le.state=we.TEXT;continue;case we.CDATA:Ee==="]"?Le.state=we.CDATA_ENDING:Le.cdata+=Ee;continue;case we.CDATA_ENDING:Ee==="]"?Le.state=we.CDATA_ENDING_2:(Le.cdata+="]"+Ee,Le.state=we.CDATA);continue;case we.CDATA_ENDING_2:Ee===">"?(Le.cdata&&Fe(Le,"oncdata",Le.cdata),Fe(Le,"onclosecdata"),Le.cdata="",Le.state=we.TEXT):Ee==="]"?Le.cdata+="]":(Le.cdata+="]]"+Ee,Le.state=we.CDATA);continue;case we.PROC_INST:Ee==="?"?Le.state=we.PROC_INST_ENDING:he(Ee)?Le.state=we.PROC_INST_BODY:Le.procInstName+=Ee;continue;case we.PROC_INST_BODY:if(!Le.procInstBody&&he(Ee))continue;Ee==="?"?Le.state=we.PROC_INST_ENDING:Le.procInstBody+=Ee;continue;case we.PROC_INST_ENDING:Ee===">"?(Fe(Le,"onprocessinginstruction",{name:Le.procInstName,body:Le.procInstBody}),Le.procInstName=Le.procInstBody="",Le.state=we.TEXT):(Le.procInstBody+="?"+Ee,Le.state=we.PROC_INST_BODY);continue;case we.OPEN_TAG:be(fe,Ee)?Le.tagName+=Ee:(qe(Le),Ee===">"?Ue(Le):Ee==="/"?Le.state=we.OPEN_TAG_SLASH:(he(Ee)||nt(Le,"Invalid character in tag name"),Le.state=we.ATTRIB));continue;case we.OPEN_TAG_SLASH:Ee===">"?(Ue(Le,!0),Be(Le)):(nt(Le,"Forward-slash in opening tag not followed by >"),Le.state=we.ATTRIB);continue;case we.ATTRIB:if(he(Ee))continue;Ee===">"?Ue(Le):Ee==="/"?Le.state=we.OPEN_TAG_SLASH:be(se,Ee)?(Le.attribName=Ee,Le.attribValue="",Le.state=we.ATTRIB_NAME):nt(Le,"Invalid attribute name");continue;case we.ATTRIB_NAME:Ee==="="?Le.state=we.ATTRIB_VALUE:Ee===">"?(nt(Le,"Attribute without value"),Le.attribValue=Le.attribName,$e(Le),Ue(Le)):he(Ee)?Le.state=we.ATTRIB_NAME_SAW_WHITE:be(fe,Ee)?Le.attribName+=Ee:nt(Le,"Invalid attribute name");continue;case we.ATTRIB_NAME_SAW_WHITE:if(Ee==="=")Le.state=we.ATTRIB_VALUE;else{if(he(Ee))continue;nt(Le,"Attribute without value"),Le.tag.attributes[Le.attribName]="",Le.attribValue="",Fe(Le,"onattribute",{name:Le.attribName,value:""}),Le.attribName="",Ee===">"?Ue(Le):be(se,Ee)?(Le.attribName=Ee,Le.state=we.ATTRIB_NAME):(nt(Le,"Invalid attribute name"),Le.state=we.ATTRIB)}continue;case we.ATTRIB_VALUE:if(he(Ee))continue;pe(Ee)?(Le.q=Ee,Le.state=we.ATTRIB_VALUE_QUOTED):(nt(Le,"Unquoted attribute value"),Le.state=we.ATTRIB_VALUE_UNQUOTED,Le.attribValue=Ee);continue;case we.ATTRIB_VALUE_QUOTED:if(Ee!==Le.q){Ee==="&"?Le.state=we.ATTRIB_VALUE_ENTITY_Q:Le.attribValue+=Ee;continue}$e(Le),Le.q="",Le.state=we.ATTRIB_VALUE_CLOSED;continue;case we.ATTRIB_VALUE_CLOSED:he(Ee)?Le.state=we.ATTRIB:Ee===">"?Ue(Le):Ee==="/"?Le.state=we.OPEN_TAG_SLASH:be(se,Ee)?(nt(Le,"No whitespace between attributes"),Le.attribName=Ee,Le.attribValue="",Le.state=we.ATTRIB_NAME):nt(Le,"Invalid attribute name");continue;case we.ATTRIB_VALUE_UNQUOTED:if(!Se(Ee)){Ee==="&"?Le.state=we.ATTRIB_VALUE_ENTITY_U:Le.attribValue+=Ee;continue}$e(Le),Ee===">"?Ue(Le):Le.state=we.ATTRIB;continue;case we.CLOSE_TAG:if(Le.tagName)Ee===">"?Be(Le):be(fe,Ee)?Le.tagName+=Ee:Le.script?(Le.script+="</"+Le.tagName,Le.tagName="",Le.state=we.SCRIPT):(he(Ee)||nt(Le,"Invalid tagname in closing tag"),Le.state=we.CLOSE_TAG_SAW_WHITE);else{if(he(Ee))continue;je(se,Ee)?Le.script?(Le.script+="</"+Ee,Le.state=we.SCRIPT):nt(Le,"Invalid tagname in closing tag."):Le.tagName=Ee}continue;case we.CLOSE_TAG_SAW_WHITE:if(he(Ee))continue;Ee===">"?Be(Le):nt(Le,"Invalid characters in closing tag");continue;case we.TEXT_ENTITY:case we.ATTRIB_VALUE_ENTITY_Q:case we.ATTRIB_VALUE_ENTITY_U:var Ye,We;switch(Le.state){case we.TEXT_ENTITY:Ye=we.TEXT,We="textNode";break;case we.ATTRIB_VALUE_ENTITY_Q:Ye=we.ATTRIB_VALUE_QUOTED,We="attribValue";break;case we.ATTRIB_VALUE_ENTITY_U:Ye=we.ATTRIB_VALUE_UNQUOTED,We="attribValue";break}Ee===";"?(Le[We]+=tt(Le),Le.entity="",Le.state=Ye):be(Le.entity.length?ge:ve,Ee)?Le.entity+=Ee:(nt(Le,"Invalid character in entity name"),Le[We]+="&"+Le.entity+Ee,Le.entity="",Le.state=Ye);continue;default:throw new Error(Le,"Unknown state: "+Le.state)}return Le.position>=Le.bufferCheckPosition&&le(Le),Le}String.fromCodePoint||function(){var Ge=String.fromCharCode,Le=Math.floor,Ke=function(){var Ee=16384,Re=[],Qe,Ye,We=-1,Ce=arguments.length;if(!Ce)return"";for(var xe="";++We<Ce;){var Ne=Number(arguments[We]);if(!isFinite(Ne)||Ne<0||Ne>1114111||Le(Ne)!==Ne)throw RangeError("Invalid code point: "+Ne);Ne<=65535?Re.push(Ne):(Ne-=65536,Qe=(Ne>>10)+55296,Ye=Ne%1024+56320,Re.push(Qe,Ye)),(We+1===Ce||Re.length>Ee)&&(xe+=Ge.apply(null,Re),Re.length=0)}return xe};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ke,configurable:!0,writable:!0}):String.fromCodePoint=Ke}()})(typeof me=="undefined"?this.sax={}:me)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,ye,me){ye.exports=ue;var oe=E("events").EventEmitter,te=E("inherits");te(ue,oe),ue.Readable=E("readable-stream/lib/_stream_readable.js"),ue.Writable=E("readable-stream/lib/_stream_writable.js"),ue.Duplex=E("readable-stream/lib/_stream_duplex.js"),ue.Transform=E("readable-stream/lib/_stream_transform.js"),ue.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),ue.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),ue.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),ue.Stream=ue;function ue(){oe.call(this)}ue.prototype.pipe=function(de,le){var ce=this;function ae(z){de.writable&&de.write(z)===!1&&ce.pause&&ce.pause()}ce.on("data",ae);function ie(){ce.readable&&ce.resume&&ce.resume()}de.on("drain",ie),!de._isStdio&&(!le||le.end!==!1)&&(ce.on("end",a),ce.on("close",y));var ne=!1;function a(){ne||(ne=!0,de.end())}function y(){ne||(ne=!0,typeof de.destroy=="function"&&de.destroy())}function x(z){if(b(),oe.listenerCount(this,"error")===0)throw z}ce.on("error",x),de.on("error",x);function b(){ce.removeListener("data",ae),de.removeListener("drain",ie),ce.removeListener("end",a),ce.removeListener("close",y),ce.removeListener("error",x),de.removeListener("error",x),ce.removeListener("end",b),ce.removeListener("close",b),de.removeListener("close",b)}return ce.on("end",b),ce.on("close",b),de.on("close",b),de.emit("pipe",ce),de}},{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,ye,me){"use strict";function oe(ie,ne){ie.prototype=Object.create(ne.prototype),ie.prototype.constructor=ie,ie.__proto__=ne}var te={};function ue(ie,ne,a){a||(a=Error);function y(b,z,ee){return typeof ne=="string"?ne:ne(b,z,ee)}var x=function(b){oe(z,b);function z(ee,re,se){return b.call(this,y(ee,re,se))||this}return z}(a);x.prototype.name=a.name,x.prototype.code=ie,te[ie]=x}function de(ie,ne){if(Array.isArray(ie)){var a=ie.length;return ie=ie.map(function(y){return String(y)}),a>2?"one of ".concat(ne," ").concat(ie.slice(0,a-1).join(", "),", or ")+ie[a-1]:a===2?"one of ".concat(ne," ").concat(ie[0]," or ").concat(ie[1]):"of ".concat(ne," ").concat(ie[0])}else return"of ".concat(ne," ").concat(String(ie))}function le(ie,ne,a){return ie.substr(!a||a<0?0:+a,ne.length)===ne}function ce(ie,ne,a){return(a===void 0||a>ie.length)&&(a=ie.length),ie.substring(a-ne.length,a)===ne}function ae(ie,ne,a){return typeof a!="number"&&(a=0),a+ne.length>ie.length?!1:ie.indexOf(ne,a)!==-1}ue("ERR_INVALID_OPT_VALUE",function(ie,ne){return'The value "'+ne+'" is invalid for option "'+ie+'"'},TypeError),ue("ERR_INVALID_ARG_TYPE",function(ie,ne,a){var y;typeof ne=="string"&&le(ne,"not ")?(y="must not be",ne=ne.replace(/^not /,"")):y="must be";var x;if(ce(ie," argument"))x="The ".concat(ie," ").concat(y," ").concat(de(ne,"type"));else{var b=ae(ie,".")?"property":"argument";x='The "'.concat(ie,'" ').concat(b," ").concat(y," ").concat(de(ne,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),ue("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),ue("ERR_METHOD_NOT_IMPLEMENTED",function(ie){return"The "+ie+" method is not implemented"}),ue("ERR_STREAM_PREMATURE_CLOSE","Premature close"),ue("ERR_STREAM_DESTROYED",function(ie){return"Cannot call "+ie+" after a stream was destroyed"}),ue("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),ue("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),ue("ERR_STREAM_WRITE_AFTER_END","write after end"),ue("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),ue("ERR_UNKNOWN_ENCODING",function(ie){return"Unknown encoding: "+ie},TypeError),ue("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),ye.exports.codes=te},{}],400:[function(E,ye,me){(function(oe){(function(){"use strict";var te=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};ye.exports=ie;var ue=E("./_stream_readable"),de=E("./_stream_writable");E("inherits")(ie,ue);for(var le=te(de.prototype),ce=0;ce<le.length;ce++){var ae=le[ce];ie.prototype[ae]||(ie.prototype[ae]=de.prototype[ae])}function ie(y){if(!(this instanceof ie))return new ie(y);ue.call(this,y),de.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",ne)))}Object.defineProperty(ie.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(ie.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(ie.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ne(){this._writableState.ended||oe.nextTick(a,this)}function a(y){y.end()}Object.defineProperty(ie.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,ye,me){"use strict";ye.exports=te;var oe=E("./_stream_transform");E("inherits")(te,oe);function te(ue){if(!(this instanceof te))return new te(ue);oe.call(this,ue)}te.prototype._transform=function(ue,de,le){le(null,ue)}},{"./_stream_transform":403,inherits:364}],402:[function(E,ye,me){(function(oe,te){(function(){"use strict";ye.exports=Fe;var ue;Fe.ReadableState=Ae;var de=E("events").EventEmitter,le=function(Ce,xe){return Ce.listeners(xe).length},ce=E("./internal/streams/stream"),ae=E("buffer").Buffer,ie=(typeof te!="undefined"?te:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function ne(We){return ae.from(We)}function a(We){return ae.isBuffer(We)||We instanceof ie}var y=E("util"),x;y&&y.debuglog?x=y.debuglog("stream"):x=function(){};var b=E("./internal/streams/buffer_list"),z=E("./internal/streams/destroy"),ee=E("./internal/streams/state"),re=ee.getHighWaterMark,se=E("../errors").codes,fe=se.ERR_INVALID_ARG_TYPE,ve=se.ERR_STREAM_PUSH_AFTER_EOF,ge=se.ERR_METHOD_NOT_IMPLEMENTED,he=se.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,pe,Se,be;E("inherits")(Fe,ce);var je=z.errorOrDestroy,we=["error","close","destroy","pause","resume"];function Oe(We,Ce,xe){if(typeof We.prependListener=="function")return We.prependListener(Ce,xe);!We._events||!We._events[Ce]?We.on(Ce,xe):Array.isArray(We._events[Ce])?We._events[Ce].unshift(xe):We._events[Ce]=[xe,We._events[Ce]]}function Ae(We,Ce,xe){ue=ue||E("./_stream_duplex"),We=We||{},typeof xe!="boolean"&&(xe=Ce instanceof ue),this.objectMode=!!We.objectMode,xe&&(this.objectMode=this.objectMode||!!We.readableObjectMode),this.highWaterMark=re(this,We,"readableHighWaterMark",xe),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=We.emitClose!==!1,this.autoDestroy=!!We.autoDestroy,this.destroyed=!1,this.defaultEncoding=We.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,We.encoding&&(pe||(pe=E("string_decoder/").StringDecoder),this.decoder=new pe(We.encoding),this.encoding=We.encoding)}function Fe(We){if(ue=ue||E("./_stream_duplex"),!(this instanceof Fe))return new Fe(We);var Ce=this instanceof ue;this._readableState=new Ae(We,this,Ce),this.readable=!0,We&&(typeof We.read=="function"&&(this._read=We.read),typeof We.destroy=="function"&&(this._destroy=We.destroy)),ce.call(this)}Object.defineProperty(Fe.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Ce){this._readableState&&(this._readableState.destroyed=Ce)}}),Fe.prototype.destroy=z.destroy,Fe.prototype._undestroy=z.undestroy,Fe.prototype._destroy=function(We,Ce){Ce(We)},Fe.prototype.push=function(We,Ce){var xe=this._readableState,Ne;return xe.objectMode?Ne=!0:typeof We=="string"&&(Ce=Ce||xe.defaultEncoding,Ce!==xe.encoding&&(We=ae.from(We,Ce),Ce=""),Ne=!0),ke(this,We,Ce,!1,Ne)},Fe.prototype.unshift=function(We){return ke(this,We,null,!0,!1)};function ke(We,Ce,xe,Ne,ze){x("readableAddChunk",Ce);var it=We._readableState;if(Ce===null)it.reading=!1,Xe(We,it);else{var St;if(ze||(St=De(it,Ce)),St)je(We,St);else if(it.objectMode||Ce&&Ce.length>0)if(typeof Ce!="string"&&!it.objectMode&&Object.getPrototypeOf(Ce)!==ae.prototype&&(Ce=ne(Ce)),Ne)it.endEmitted?je(We,new he):Ve(We,it,Ce,!0);else if(it.ended)je(We,new ve);else{if(it.destroyed)return!1;it.reading=!1,it.decoder&&!xe?(Ce=it.decoder.write(Ce),it.objectMode||Ce.length!==0?Ve(We,it,Ce,!1):Be(We,it)):Ve(We,it,Ce,!1)}else Ne||(it.reading=!1,Be(We,it))}return!it.ended&&(it.length<it.highWaterMark||it.length===0)}function Ve(We,Ce,xe,Ne){Ce.flowing&&Ce.length===0&&!Ce.sync?(Ce.awaitDrain=0,We.emit("data",xe)):(Ce.length+=Ce.objectMode?1:xe.length,Ne?Ce.buffer.unshift(xe):Ce.buffer.push(xe),Ce.needReadable&&$e(We)),Be(We,Ce)}function De(We,Ce){var xe;return!a(Ce)&&typeof Ce!="string"&&Ce!==void 0&&!We.objectMode&&(xe=new fe("chunk",["string","Buffer","Uint8Array"],Ce)),xe}Fe.prototype.isPaused=function(){return this._readableState.flowing===!1},Fe.prototype.setEncoding=function(We){pe||(pe=E("string_decoder/").StringDecoder);var Ce=new pe(We);this._readableState.decoder=Ce,this._readableState.encoding=this._readableState.decoder.encoding;for(var xe=this._readableState.buffer.head,Ne="";xe!==null;)Ne+=Ce.write(xe.data),xe=xe.next;return this._readableState.buffer.clear(),Ne!==""&&this._readableState.buffer.push(Ne),this._readableState.length=Ne.length,this};var ut=1073741824;function nt(We){return We>=ut?We=ut:(We--,We|=We>>>1,We|=We>>>2,We|=We>>>4,We|=We>>>8,We|=We>>>16,We++),We}function qe(We,Ce){return We<=0||Ce.length===0&&Ce.ended?0:Ce.objectMode?1:We!==We?Ce.flowing&&Ce.length?Ce.buffer.head.data.length:Ce.length:(We>Ce.highWaterMark&&(Ce.highWaterMark=nt(We)),We<=Ce.length?We:Ce.ended?Ce.length:(Ce.needReadable=!0,0))}Fe.prototype.read=function(We){x("read",We),We=parseInt(We,10);var Ce=this._readableState,xe=We;if(We!==0&&(Ce.emittedReadable=!1),We===0&&Ce.needReadable&&((Ce.highWaterMark!==0?Ce.length>=Ce.highWaterMark:Ce.length>0)||Ce.ended))return x("read: emitReadable",Ce.length,Ce.ended),Ce.length===0&&Ce.ended?Re(this):$e(this),null;if(We=qe(We,Ce),We===0&&Ce.ended)return Ce.length===0&&Re(this),null;var Ne=Ce.needReadable;x("need readable",Ne),(Ce.length===0||Ce.length-We<Ce.highWaterMark)&&(Ne=!0,x("length less than watermark",Ne)),Ce.ended||Ce.reading?(Ne=!1,x("reading or ended",Ne)):Ne&&(x("do read"),Ce.reading=!0,Ce.sync=!0,Ce.length===0&&(Ce.needReadable=!0),this._read(Ce.highWaterMark),Ce.sync=!1,Ce.reading||(We=qe(xe,Ce)));var ze;return We>0?ze=Ee(We,Ce):ze=null,ze===null?(Ce.needReadable=Ce.length<=Ce.highWaterMark,We=0):(Ce.length-=We,Ce.awaitDrain=0),Ce.length===0&&(Ce.ended||(Ce.needReadable=!0),xe!==We&&Ce.ended&&Re(this)),ze!==null&&this.emit("data",ze),ze};function Xe(We,Ce){if(x("onEofChunk"),!Ce.ended){if(Ce.decoder){var xe=Ce.decoder.end();xe&&xe.length&&(Ce.buffer.push(xe),Ce.length+=Ce.objectMode?1:xe.length)}Ce.ended=!0,Ce.sync?$e(We):(Ce.needReadable=!1,Ce.emittedReadable||(Ce.emittedReadable=!0,Ue(We)))}}function $e(We){var Ce=We._readableState;x("emitReadable",Ce.needReadable,Ce.emittedReadable),Ce.needReadable=!1,Ce.emittedReadable||(x("emitReadable",Ce.flowing),Ce.emittedReadable=!0,oe.nextTick(Ue,We))}function Ue(We){var Ce=We._readableState;x("emitReadable_",Ce.destroyed,Ce.length,Ce.ended),!Ce.destroyed&&(Ce.length||Ce.ended)&&(We.emit("readable"),Ce.emittedReadable=!1),Ce.needReadable=!Ce.flowing&&!Ce.ended&&Ce.length<=Ce.highWaterMark,Ke(We)}function Be(We,Ce){Ce.readingMore||(Ce.readingMore=!0,oe.nextTick(tt,We,Ce))}function tt(We,Ce){for(;!Ce.reading&&!Ce.ended&&(Ce.length<Ce.highWaterMark||Ce.flowing&&Ce.length===0);){var xe=Ce.length;if(x("maybeReadMore read 0"),We.read(0),xe===Ce.length)break}Ce.readingMore=!1}Fe.prototype._read=function(We){je(this,new ge("_read()"))},Fe.prototype.pipe=function(We,Ce){var xe=this,Ne=this._readableState;switch(Ne.pipesCount){case 0:Ne.pipes=We;break;case 1:Ne.pipes=[Ne.pipes,We];break;default:Ne.pipes.push(We);break}Ne.pipesCount+=1,x("pipe count=%d opts=%j",Ne.pipesCount,Ce);var ze=(!Ce||Ce.end!==!1)&&We!==oe.stdout&&We!==oe.stderr,it=ze?dt:_e;Ne.endEmitted?oe.nextTick(it):xe.once("end",it),We.on("unpipe",St);function St(mt,Ot){x("onunpipe"),mt===xe&&Ot&&Ot.hasUnpiped===!1&&(Ot.hasUnpiped=!0,kt())}function dt(){x("onend"),We.end()}var bt=Je(xe);We.on("drain",bt);var an=!1;function kt(){x("cleanup"),We.removeListener("close",Dt),We.removeListener("finish",rt),We.removeListener("drain",bt),We.removeListener("error",at),We.removeListener("unpipe",St),xe.removeListener("end",dt),xe.removeListener("end",_e),xe.removeListener("data",lt),an=!0,Ne.awaitDrain&&(!We._writableState||We._writableState.needDrain)&&bt()}xe.on("data",lt);function lt(mt){x("ondata");var Ot=We.write(mt);x("dest.write",Ot),Ot===!1&&((Ne.pipesCount===1&&Ne.pipes===We||Ne.pipesCount>1&&Ye(Ne.pipes,We)!==-1)&&!an&&(x("false write response, pause",Ne.awaitDrain),Ne.awaitDrain++),xe.pause())}function at(mt){x("onerror",mt),_e(),We.removeListener("error",at),le(We,"error")===0&&je(We,mt)}Oe(We,"error",at);function Dt(){We.removeListener("finish",rt),_e()}We.once("close",Dt);function rt(){x("onfinish"),We.removeListener("close",Dt),_e()}We.once("finish",rt);function _e(){x("unpipe"),xe.unpipe(We)}return We.emit("pipe",xe),Ne.flowing||(x("pipe resume"),xe.resume()),We};function Je(We){return function(){var xe=We._readableState;x("pipeOnDrain",xe.awaitDrain),xe.awaitDrain&&xe.awaitDrain--,xe.awaitDrain===0&&le(We,"data")&&(xe.flowing=!0,Ke(We))}}Fe.prototype.unpipe=function(We){var Ce=this._readableState,xe={hasUnpiped:!1};if(Ce.pipesCount===0)return this;if(Ce.pipesCount===1)return We&&We!==Ce.pipes?this:(We||(We=Ce.pipes),Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1,We&&We.emit("unpipe",this,xe),this);if(!We){var Ne=Ce.pipes,ze=Ce.pipesCount;Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1;for(var it=0;it<ze;it++)Ne[it].emit("unpipe",this,{hasUnpiped:!1});return this}var St=Ye(Ce.pipes,We);return St===-1?this:(Ce.pipes.splice(St,1),Ce.pipesCount-=1,Ce.pipesCount===1&&(Ce.pipes=Ce.pipes[0]),We.emit("unpipe",this,xe),this)},Fe.prototype.on=function(We,Ce){var xe=ce.prototype.on.call(this,We,Ce),Ne=this._readableState;return We==="data"?(Ne.readableListening=this.listenerCount("readable")>0,Ne.flowing!==!1&&this.resume()):We==="readable"&&!Ne.endEmitted&&!Ne.readableListening&&(Ne.readableListening=Ne.needReadable=!0,Ne.flowing=!1,Ne.emittedReadable=!1,x("on readable",Ne.length,Ne.reading),Ne.length?$e(this):Ne.reading||oe.nextTick(Ze,this)),xe},Fe.prototype.addListener=Fe.prototype.on,Fe.prototype.removeListener=function(We,Ce){var xe=ce.prototype.removeListener.call(this,We,Ce);return We==="readable"&&oe.nextTick(ft,this),xe},Fe.prototype.removeAllListeners=function(We){var Ce=ce.prototype.removeAllListeners.apply(this,arguments);return(We==="readable"||We===void 0)&&oe.nextTick(ft,this),Ce};function ft(We){var Ce=We._readableState;Ce.readableListening=We.listenerCount("readable")>0,Ce.resumeScheduled&&!Ce.paused?Ce.flowing=!0:We.listenerCount("data")>0&&We.resume()}function Ze(We){x("readable nexttick read 0"),We.read(0)}Fe.prototype.resume=function(){var We=this._readableState;return We.flowing||(x("resume"),We.flowing=!We.readableListening,Ge(this,We)),We.paused=!1,this};function Ge(We,Ce){Ce.resumeScheduled||(Ce.resumeScheduled=!0,oe.nextTick(Le,We,Ce))}function Le(We,Ce){x("resume",Ce.reading),Ce.reading||We.read(0),Ce.resumeScheduled=!1,We.emit("resume"),Ke(We),Ce.flowing&&!Ce.reading&&We.read(0)}Fe.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 Ke(We){var Ce=We._readableState;for(x("flow",Ce.flowing);Ce.flowing&&We.read()!==null;);}Fe.prototype.wrap=function(We){var Ce=this,xe=this._readableState,Ne=!1;We.on("end",function(){if(x("wrapped end"),xe.decoder&&!xe.ended){var St=xe.decoder.end();St&&St.length&&Ce.push(St)}Ce.push(null)}),We.on("data",function(St){if(x("wrapped data"),xe.decoder&&(St=xe.decoder.write(St)),!(xe.objectMode&&St==null)&&!(!xe.objectMode&&(!St||!St.length))){var dt=Ce.push(St);dt||(Ne=!0,We.pause())}});for(var ze in We)this[ze]===void 0&&typeof We[ze]=="function"&&(this[ze]=function(dt){return function(){return We[dt].apply(We,arguments)}}(ze));for(var it=0;it<we.length;it++)We.on(we[it],this.emit.bind(this,we[it]));return this._read=function(St){x("wrapped _read",St),Ne&&(Ne=!1,We.resume())},this},typeof Symbol=="function"&&(Fe.prototype[Symbol.asyncIterator]=function(){return Se===void 0&&(Se=E("./internal/streams/async_iterator")),Se(this)}),Object.defineProperty(Fe.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Fe.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Fe.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Ce){this._readableState&&(this._readableState.flowing=Ce)}}),Fe._fromList=Ee,Object.defineProperty(Fe.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Ee(We,Ce){if(Ce.length===0)return null;var xe;return Ce.objectMode?xe=Ce.buffer.shift():!We||We>=Ce.length?(Ce.decoder?xe=Ce.buffer.join(""):Ce.buffer.length===1?xe=Ce.buffer.first():xe=Ce.buffer.concat(Ce.length),Ce.buffer.clear()):xe=Ce.buffer.consume(We,Ce.decoder),xe}function Re(We){var Ce=We._readableState;x("endReadable",Ce.endEmitted),Ce.endEmitted||(Ce.ended=!0,oe.nextTick(Qe,Ce,We))}function Qe(We,Ce){if(x("endReadableNT",We.endEmitted,We.length),!We.endEmitted&&We.length===0&&(We.endEmitted=!0,Ce.readable=!1,Ce.emit("end"),We.autoDestroy)){var xe=Ce._writableState;(!xe||xe.autoDestroy&&xe.finished)&&Ce.destroy()}}typeof Symbol=="function"&&(Fe.from=function(We,Ce){return be===void 0&&(be=E("./internal/streams/from")),be(Fe,We,Ce)});function Ye(We,Ce){for(var xe=0,Ne=We.length;xe<Ne;xe++)if(We[xe]===Ce)return xe;return-1}}).call(this)}).call(this,E("_process"),typeof Ct!="undefined"?Ct: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,ye,me){"use strict";ye.exports=ie;var oe=E("../errors").codes,te=oe.ERR_METHOD_NOT_IMPLEMENTED,ue=oe.ERR_MULTIPLE_CALLBACK,de=oe.ERR_TRANSFORM_ALREADY_TRANSFORMING,le=oe.ERR_TRANSFORM_WITH_LENGTH_0,ce=E("./_stream_duplex");E("inherits")(ie,ce);function ae(y,x){var b=this._transformState;b.transforming=!1;var z=b.writecb;if(z===null)return this.emit("error",new ue);b.writechunk=null,b.writecb=null,x!=null&&this.push(x),z(y);var ee=this._readableState;ee.reading=!1,(ee.needReadable||ee.length<ee.highWaterMark)&&this._read(ee.highWaterMark)}function ie(y){if(!(this instanceof ie))return new ie(y);ce.call(this,y),this._transformState={afterTransform:ae.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",ne)}function ne(){var y=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(x,b){a(y,x,b)}):a(this,null,null)}ie.prototype.push=function(y,x){return this._transformState.needTransform=!1,ce.prototype.push.call(this,y,x)},ie.prototype._transform=function(y,x,b){b(new te("_transform()"))},ie.prototype._write=function(y,x,b){var z=this._transformState;if(z.writecb=b,z.writechunk=y,z.writeencoding=x,!z.transforming){var ee=this._readableState;(z.needTransform||ee.needReadable||ee.length<ee.highWaterMark)&&this._read(ee.highWaterMark)}},ie.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},ie.prototype._destroy=function(y,x){ce.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 le;if(y._transformState.transforming)throw new de;return y.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(E,ye,me){(function(oe,te){(function(){"use strict";ye.exports=Ae;function ue(Ke,Ee,Re){this.chunk=Ke,this.encoding=Ee,this.callback=Re,this.next=null}function de(Ke){var Ee=this;this.next=null,this.entry=null,this.finish=function(){Le(Ee,Ke)}}var le;Ae.WritableState=we;var ce={deprecate:E("util-deprecate")},ae=E("./internal/streams/stream"),ie=E("buffer").Buffer,ne=(typeof te!="undefined"?te:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function a(Ke){return ie.from(Ke)}function y(Ke){return ie.isBuffer(Ke)||Ke instanceof ne}var x=E("./internal/streams/destroy"),b=E("./internal/streams/state"),z=b.getHighWaterMark,ee=E("../errors").codes,re=ee.ERR_INVALID_ARG_TYPE,se=ee.ERR_METHOD_NOT_IMPLEMENTED,fe=ee.ERR_MULTIPLE_CALLBACK,ve=ee.ERR_STREAM_CANNOT_PIPE,ge=ee.ERR_STREAM_DESTROYED,he=ee.ERR_STREAM_NULL_VALUES,pe=ee.ERR_STREAM_WRITE_AFTER_END,Se=ee.ERR_UNKNOWN_ENCODING,be=x.errorOrDestroy;E("inherits")(Ae,ae);function je(){}function we(Ke,Ee,Re){le=le||E("./_stream_duplex"),Ke=Ke||{},typeof Re!="boolean"&&(Re=Ee instanceof le),this.objectMode=!!Ke.objectMode,Re&&(this.objectMode=this.objectMode||!!Ke.writableObjectMode),this.highWaterMark=z(this,Ke,"writableHighWaterMark",Re),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Qe=Ke.decodeStrings===!1;this.decodeStrings=!Qe,this.defaultEncoding=Ke.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ye){Xe(Ee,Ye)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Ke.emitClose!==!1,this.autoDestroy=!!Ke.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new de(this)}we.prototype.getBuffer=function(){for(var Ee=this.bufferedRequest,Re=[];Ee;)Re.push(Ee),Ee=Ee.next;return Re},function(){try{Object.defineProperty(we.prototype,"buffer",{get:ce.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ke){}}();var Oe;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Oe=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ae,Symbol.hasInstance,{value:function(Ee){return Oe.call(this,Ee)?!0:this!==Ae?!1:Ee&&Ee._writableState instanceof we}})):Oe=function(Ee){return Ee instanceof this};function Ae(Ke){le=le||E("./_stream_duplex");var Ee=this instanceof le;if(!Ee&&!Oe.call(Ae,this))return new Ae(Ke);this._writableState=new we(Ke,this,Ee),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)),ae.call(this)}Ae.prototype.pipe=function(){be(this,new ve)};function Fe(Ke,Ee){var Re=new pe;be(Ke,Re),oe.nextTick(Ee,Re)}function ke(Ke,Ee,Re,Qe){var Ye;return Re===null?Ye=new he:typeof Re!="string"&&!Ee.objectMode&&(Ye=new re("chunk",["string","Buffer"],Re)),Ye?(be(Ke,Ye),oe.nextTick(Qe,Ye),!1):!0}Ae.prototype.write=function(Ke,Ee,Re){var Qe=this._writableState,Ye=!1,We=!Qe.objectMode&&y(Ke);return We&&!ie.isBuffer(Ke)&&(Ke=a(Ke)),typeof Ee=="function"&&(Re=Ee,Ee=null),We?Ee="buffer":Ee||(Ee=Qe.defaultEncoding),typeof Re!="function"&&(Re=je),Qe.ending?Fe(this,Re):(We||ke(this,Qe,Ke,Re))&&(Qe.pendingcb++,Ye=De(this,Qe,We,Ke,Ee,Re)),Ye},Ae.prototype.cork=function(){this._writableState.corked++},Ae.prototype.uncork=function(){var Ke=this._writableState;Ke.corked&&(Ke.corked--,!Ke.writing&&!Ke.corked&&!Ke.bufferProcessing&&Ke.bufferedRequest&&Be(this,Ke))},Ae.prototype.setDefaultEncoding=function(Ee){if(typeof Ee=="string"&&(Ee=Ee.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ee+"").toLowerCase())>-1))throw new Se(Ee);return this._writableState.defaultEncoding=Ee,this},Object.defineProperty(Ae.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Ve(Ke,Ee,Re){return!Ke.objectMode&&Ke.decodeStrings!==!1&&typeof Ee=="string"&&(Ee=ie.from(Ee,Re)),Ee}Object.defineProperty(Ae.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function De(Ke,Ee,Re,Qe,Ye,We){if(!Re){var Ce=Ve(Ee,Qe,Ye);Qe!==Ce&&(Re=!0,Ye="buffer",Qe=Ce)}var xe=Ee.objectMode?1:Qe.length;Ee.length+=xe;var Ne=Ee.length<Ee.highWaterMark;if(Ne||(Ee.needDrain=!0),Ee.writing||Ee.corked){var ze=Ee.lastBufferedRequest;Ee.lastBufferedRequest={chunk:Qe,encoding:Ye,isBuf:Re,callback:We,next:null},ze?ze.next=Ee.lastBufferedRequest:Ee.bufferedRequest=Ee.lastBufferedRequest,Ee.bufferedRequestCount+=1}else ut(Ke,Ee,!1,xe,Qe,Ye,We);return Ne}function ut(Ke,Ee,Re,Qe,Ye,We,Ce){Ee.writelen=Qe,Ee.writecb=Ce,Ee.writing=!0,Ee.sync=!0,Ee.destroyed?Ee.onwrite(new ge("write")):Re?Ke._writev(Ye,Ee.onwrite):Ke._write(Ye,We,Ee.onwrite),Ee.sync=!1}function nt(Ke,Ee,Re,Qe,Ye){--Ee.pendingcb,Re?(oe.nextTick(Ye,Qe),oe.nextTick(Ze,Ke,Ee),Ke._writableState.errorEmitted=!0,be(Ke,Qe)):(Ye(Qe),Ke._writableState.errorEmitted=!0,be(Ke,Qe),Ze(Ke,Ee))}function qe(Ke){Ke.writing=!1,Ke.writecb=null,Ke.length-=Ke.writelen,Ke.writelen=0}function Xe(Ke,Ee){var Re=Ke._writableState,Qe=Re.sync,Ye=Re.writecb;if(typeof Ye!="function")throw new fe;if(qe(Re),Ee)nt(Ke,Re,Qe,Ee,Ye);else{var We=tt(Re)||Ke.destroyed;!We&&!Re.corked&&!Re.bufferProcessing&&Re.bufferedRequest&&Be(Ke,Re),Qe?oe.nextTick($e,Ke,Re,We,Ye):$e(Ke,Re,We,Ye)}}function $e(Ke,Ee,Re,Qe){Re||Ue(Ke,Ee),Ee.pendingcb--,Qe(),Ze(Ke,Ee)}function Ue(Ke,Ee){Ee.length===0&&Ee.needDrain&&(Ee.needDrain=!1,Ke.emit("drain"))}function Be(Ke,Ee){Ee.bufferProcessing=!0;var Re=Ee.bufferedRequest;if(Ke._writev&&Re&&Re.next){var Qe=Ee.bufferedRequestCount,Ye=new Array(Qe),We=Ee.corkedRequestsFree;We.entry=Re;for(var Ce=0,xe=!0;Re;)Ye[Ce]=Re,Re.isBuf||(xe=!1),Re=Re.next,Ce+=1;Ye.allBuffers=xe,ut(Ke,Ee,!0,Ee.length,Ye,"",We.finish),Ee.pendingcb++,Ee.lastBufferedRequest=null,We.next?(Ee.corkedRequestsFree=We.next,We.next=null):Ee.corkedRequestsFree=new de(Ee),Ee.bufferedRequestCount=0}else{for(;Re;){var Ne=Re.chunk,ze=Re.encoding,it=Re.callback,St=Ee.objectMode?1:Ne.length;if(ut(Ke,Ee,!1,St,Ne,ze,it),Re=Re.next,Ee.bufferedRequestCount--,Ee.writing)break}Re===null&&(Ee.lastBufferedRequest=null)}Ee.bufferedRequest=Re,Ee.bufferProcessing=!1}Ae.prototype._write=function(Ke,Ee,Re){Re(new se("_write()"))},Ae.prototype._writev=null,Ae.prototype.end=function(Ke,Ee,Re){var Qe=this._writableState;return typeof Ke=="function"?(Re=Ke,Ke=null,Ee=null):typeof Ee=="function"&&(Re=Ee,Ee=null),Ke!=null&&this.write(Ke,Ee),Qe.corked&&(Qe.corked=1,this.uncork()),Qe.ending||Ge(this,Qe,Re),this},Object.defineProperty(Ae.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function tt(Ke){return Ke.ending&&Ke.length===0&&Ke.bufferedRequest===null&&!Ke.finished&&!Ke.writing}function Je(Ke,Ee){Ke._final(function(Re){Ee.pendingcb--,Re&&be(Ke,Re),Ee.prefinished=!0,Ke.emit("prefinish"),Ze(Ke,Ee)})}function ft(Ke,Ee){!Ee.prefinished&&!Ee.finalCalled&&(typeof Ke._final=="function"&&!Ee.destroyed?(Ee.pendingcb++,Ee.finalCalled=!0,oe.nextTick(Je,Ke,Ee)):(Ee.prefinished=!0,Ke.emit("prefinish")))}function Ze(Ke,Ee){var Re=tt(Ee);if(Re&&(ft(Ke,Ee),Ee.pendingcb===0&&(Ee.finished=!0,Ke.emit("finish"),Ee.autoDestroy))){var Qe=Ke._readableState;(!Qe||Qe.autoDestroy&&Qe.endEmitted)&&Ke.destroy()}return Re}function Ge(Ke,Ee,Re){Ee.ending=!0,Ze(Ke,Ee),Re&&(Ee.finished?oe.nextTick(Re):Ke.once("finish",Re)),Ee.ended=!0,Ke.writable=!1}function Le(Ke,Ee,Re){var Qe=Ke.entry;for(Ke.entry=null;Qe;){var Ye=Qe.callback;Ee.pendingcb--,Ye(Re),Qe=Qe.next}Ee.corkedRequestsFree.next=Ke}Object.defineProperty(Ae.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Ee){this._writableState&&(this._writableState.destroyed=Ee)}}),Ae.prototype.destroy=x.destroy,Ae.prototype._undestroy=x.undestroy,Ae.prototype._destroy=function(Ke,Ee){Ee(Ke)}}).call(this)}).call(this,E("_process"),typeof Ct!="undefined"?Ct: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,ye,me){(function(oe){(function(){"use strict";var te;function ue(he,pe,Se){return pe=de(pe),pe in he?Object.defineProperty(he,pe,{value:Se,enumerable:!0,configurable:!0,writable:!0}):he[pe]=Se,he}function de(he){var pe=le(he,"string");return typeof pe=="symbol"?pe:String(pe)}function le(he,pe){if(typeof he!="object"||he===null)return he;var Se=he[Symbol.toPrimitive];if(Se!==void 0){var be=Se.call(he,pe||"default");if(typeof be!="object")return be;throw new TypeError("@@toPrimitive must return a primitive value.")}return(pe==="string"?String:Number)(he)}var ce=E("./end-of-stream"),ae=Symbol("lastResolve"),ie=Symbol("lastReject"),ne=Symbol("error"),a=Symbol("ended"),y=Symbol("lastPromise"),x=Symbol("handlePromise"),b=Symbol("stream");function z(he,pe){return{value:he,done:pe}}function ee(he){var pe=he[ae];if(pe!==null){var Se=he[b].read();Se!==null&&(he[y]=null,he[ae]=null,he[ie]=null,pe(z(Se,!1)))}}function re(he){oe.nextTick(ee,he)}function se(he,pe){return function(Se,be){he.then(function(){if(pe[a]){Se(z(void 0,!0));return}pe[x](Se,be)},be)}}var fe=Object.getPrototypeOf(function(){}),ve=Object.setPrototypeOf((te={get stream(){return this[b]},next:function(){var pe=this,Se=this[ne];if(Se!==null)return Promise.reject(Se);if(this[a])return Promise.resolve(z(void 0,!0));if(this[b].destroyed)return new Promise(function(Oe,Ae){oe.nextTick(function(){pe[ne]?Ae(pe[ne]):Oe(z(void 0,!0))})});var be=this[y],je;if(be)je=new Promise(se(be,this));else{var we=this[b].read();if(we!==null)return Promise.resolve(z(we,!1));je=new Promise(this[x])}return this[y]=je,je}},ue(te,Symbol.asyncIterator,function(){return this}),ue(te,"return",function(){var pe=this;return new Promise(function(Se,be){pe[b].destroy(null,function(je){if(je){be(je);return}Se(z(void 0,!0))})})}),te),fe),ge=function(pe){var Se,be=Object.create(ve,(Se={},ue(Se,b,{value:pe,writable:!0}),ue(Se,ae,{value:null,writable:!0}),ue(Se,ie,{value:null,writable:!0}),ue(Se,ne,{value:null,writable:!0}),ue(Se,a,{value:pe._readableState.endEmitted,writable:!0}),ue(Se,x,{value:function(we,Oe){var Ae=be[b].read();Ae?(be[y]=null,be[ae]=null,be[ie]=null,we(z(Ae,!1))):(be[ae]=we,be[ie]=Oe)},writable:!0}),Se));return be[y]=null,ce(pe,function(je){if(je&&je.code!=="ERR_STREAM_PREMATURE_CLOSE"){var we=be[ie];we!==null&&(be[y]=null,be[ae]=null,be[ie]=null,we(je)),be[ne]=je;return}var Oe=be[ae];Oe!==null&&(be[y]=null,be[ae]=null,be[ie]=null,Oe(z(void 0,!0))),be[a]=!0}),pe.on("readable",re.bind(null,be)),be};ye.exports=ge}).call(this)}).call(this,E("_process"))},{"./end-of-stream":408,_process:467}],406:[function(E,ye,me){"use strict";function oe(ee,re){var se=Object.keys(ee);if(Object.getOwnPropertySymbols){var fe=Object.getOwnPropertySymbols(ee);re&&(fe=fe.filter(function(ve){return Object.getOwnPropertyDescriptor(ee,ve).enumerable})),se.push.apply(se,fe)}return se}function te(ee){for(var re=1;re<arguments.length;re++){var se=arguments[re]!=null?arguments[re]:{};re%2?oe(Object(se),!0).forEach(function(fe){ue(ee,fe,se[fe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ee,Object.getOwnPropertyDescriptors(se)):oe(Object(se)).forEach(function(fe){Object.defineProperty(ee,fe,Object.getOwnPropertyDescriptor(se,fe))})}return ee}function ue(ee,re,se){return re=ae(re),re in ee?Object.defineProperty(ee,re,{value:se,enumerable:!0,configurable:!0,writable:!0}):ee[re]=se,ee}function de(ee,re){if(!(ee instanceof re))throw new TypeError("Cannot call a class as a function")}function le(ee,re){for(var se=0;se<re.length;se++){var fe=re[se];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(ee,ae(fe.key),fe)}}function ce(ee,re,se){return re&&le(ee.prototype,re),se&&le(ee,se),Object.defineProperty(ee,"prototype",{writable:!1}),ee}function ae(ee){var re=ie(ee,"string");return typeof re=="symbol"?re:String(re)}function ie(ee,re){if(typeof ee!="object"||ee===null)return ee;var se=ee[Symbol.toPrimitive];if(se!==void 0){var fe=se.call(ee,re||"default");if(typeof fe!="object")return fe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(re==="string"?String:Number)(ee)}var ne=E("buffer"),a=ne.Buffer,y=E("util"),x=y.inspect,b=x&&x.custom||"inspect";function z(ee,re,se){a.prototype.copy.call(ee,re,se)}ye.exports=function(){function ee(){de(this,ee),this.head=null,this.tail=null,this.length=0}return ce(ee,[{key:"push",value:function(se){var fe={data:se,next:null};this.length>0?this.tail.next=fe:this.head=fe,this.tail=fe,++this.length}},{key:"unshift",value:function(se){var fe={data:se,next:this.head};this.length===0&&(this.tail=fe),this.head=fe,++this.length}},{key:"shift",value:function(){if(this.length!==0){var se=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,se}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(se){if(this.length===0)return"";for(var fe=this.head,ve=""+fe.data;fe=fe.next;)ve+=se+fe.data;return ve}},{key:"concat",value:function(se){if(this.length===0)return a.alloc(0);for(var fe=a.allocUnsafe(se>>>0),ve=this.head,ge=0;ve;)z(ve.data,fe,ge),ge+=ve.data.length,ve=ve.next;return fe}},{key:"consume",value:function(se,fe){var ve;return se<this.head.data.length?(ve=this.head.data.slice(0,se),this.head.data=this.head.data.slice(se)):se===this.head.data.length?ve=this.shift():ve=fe?this._getString(se):this._getBuffer(se),ve}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(se){var fe=this.head,ve=1,ge=fe.data;for(se-=ge.length;fe=fe.next;){var he=fe.data,pe=se>he.length?he.length:se;if(pe===he.length?ge+=he:ge+=he.slice(0,se),se-=pe,se===0){pe===he.length?(++ve,fe.next?this.head=fe.next:this.head=this.tail=null):(this.head=fe,fe.data=he.slice(pe));break}++ve}return this.length-=ve,ge}},{key:"_getBuffer",value:function(se){var fe=a.allocUnsafe(se),ve=this.head,ge=1;for(ve.data.copy(fe),se-=ve.data.length;ve=ve.next;){var he=ve.data,pe=se>he.length?he.length:se;if(he.copy(fe,fe.length-se,0,pe),se-=pe,se===0){pe===he.length?(++ge,ve.next?this.head=ve.next:this.head=this.tail=null):(this.head=ve,ve.data=he.slice(pe));break}++ge}return this.length-=ge,fe}},{key:b,value:function(se,fe){return x(this,te(te({},fe),{},{depth:0,customInspect:!1}))}}]),ee}()},{buffer:90,util:89}],407:[function(E,ye,me){(function(oe){(function(){"use strict";function te(ie,ne){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(ne?ne(ie):ie&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,oe.nextTick(ce,this,ie)):oe.nextTick(ce,this,ie)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ie||null,function(b){!ne&&b?a._writableState?a._writableState.errorEmitted?oe.nextTick(de,a):(a._writableState.errorEmitted=!0,oe.nextTick(ue,a,b)):oe.nextTick(ue,a,b):ne?(oe.nextTick(de,a),ne(b)):oe.nextTick(de,a)}),this)}function ue(ie,ne){ce(ie,ne),de(ie)}function de(ie){ie._writableState&&!ie._writableState.emitClose||ie._readableState&&!ie._readableState.emitClose||ie.emit("close")}function le(){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 ce(ie,ne){ie.emit("error",ne)}function ae(ie,ne){var a=ie._readableState,y=ie._writableState;a&&a.autoDestroy||y&&y.autoDestroy?ie.destroy(ne):ie.emit("error",ne)}ye.exports={destroy:te,undestroy:le,errorOrDestroy:ae}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,ye,me){"use strict";var oe=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function te(ce){var ae=!1;return function(){if(!ae){ae=!0;for(var ie=arguments.length,ne=new Array(ie),a=0;a<ie;a++)ne[a]=arguments[a];ce.apply(this,ne)}}}function ue(){}function de(ce){return ce.setHeader&&typeof ce.abort=="function"}function le(ce,ae,ie){if(typeof ae=="function")return le(ce,null,ae);ae||(ae={}),ie=te(ie||ue);var ne=ae.readable||ae.readable!==!1&&ce.readable,a=ae.writable||ae.writable!==!1&&ce.writable,y=function(){ce.writable||b()},x=ce._writableState&&ce._writableState.finished,b=function(){a=!1,x=!0,ne||ie.call(ce)},z=ce._readableState&&ce._readableState.endEmitted,ee=function(){ne=!1,z=!0,a||ie.call(ce)},re=function(ge){ie.call(ce,ge)},se=function(){var ge;if(ne&&!z)return(!ce._readableState||!ce._readableState.ended)&&(ge=new oe),ie.call(ce,ge);if(a&&!x)return(!ce._writableState||!ce._writableState.ended)&&(ge=new oe),ie.call(ce,ge)},fe=function(){ce.req.on("finish",b)};return de(ce)?(ce.on("complete",b),ce.on("abort",se),ce.req?fe():ce.on("request",fe)):a&&!ce._writableState&&(ce.on("end",y),ce.on("close",y)),ce.on("end",ee),ce.on("finish",b),ae.error!==!1&&ce.on("error",re),ce.on("close",se),function(){ce.removeListener("complete",b),ce.removeListener("abort",se),ce.removeListener("request",fe),ce.req&&ce.req.removeListener("finish",b),ce.removeListener("end",y),ce.removeListener("close",y),ce.removeListener("finish",b),ce.removeListener("end",ee),ce.removeListener("error",re),ce.removeListener("close",se)}}ye.exports=le},{"../../../errors":399}],409:[function(E,ye,me){ye.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(E,ye,me){"use strict";var oe;function te(b){var z=!1;return function(){z||(z=!0,b.apply(void 0,arguments))}}var ue=E("../../../errors").codes,de=ue.ERR_MISSING_ARGS,le=ue.ERR_STREAM_DESTROYED;function ce(b){if(b)throw b}function ae(b){return b.setHeader&&typeof b.abort=="function"}function ie(b,z,ee,re){re=te(re);var se=!1;b.on("close",function(){se=!0}),oe===void 0&&(oe=E("./end-of-stream")),oe(b,{readable:z,writable:ee},function(ve){if(ve)return re(ve);se=!0,re()});var fe=!1;return function(ve){if(!se&&!fe){if(fe=!0,ae(b))return b.abort();if(typeof b.destroy=="function")return b.destroy();re(ve||new le("pipe"))}}}function ne(b){b()}function a(b,z){return b.pipe(z)}function y(b){return!b.length||typeof b[b.length-1]!="function"?ce:b.pop()}function x(){for(var b=arguments.length,z=new Array(b),ee=0;ee<b;ee++)z[ee]=arguments[ee];var re=y(z);if(Array.isArray(z[0])&&(z=z[0]),z.length<2)throw new de("streams");var se,fe=z.map(function(ve,ge){var he=ge<z.length-1,pe=ge>0;return ie(ve,he,pe,function(Se){se||(se=Se),Se&&fe.forEach(ne),!he&&(fe.forEach(ne),re(se))})});return z.reduce(a)}ye.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,ye,me){"use strict";var oe=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function te(de,le,ce){return de.highWaterMark!=null?de.highWaterMark:le?de[ce]:null}function ue(de,le,ce,ae){var ie=te(le,ae,ce);if(ie!=null){if(!(isFinite(ie)&&Math.floor(ie)===ie)||ie<0){var ne=ae?ce:"highWaterMark";throw new oe(ne,ie)}return Math.floor(ie)}return de.objectMode?16:16*1024}ye.exports={getHighWaterMark:ue}},{"../../../errors":399}],412:[function(E,ye,me){arguments[4][393][0].apply(me,arguments)},{dup:393,events:344}],413:[function(E,ye,me){"use strict";var oe=E("safe-buffer").Buffer,te=oe.isEncoding||function(fe){switch(fe=""+fe,fe&&fe.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 ue(fe){if(!fe)return"utf8";for(var ve;;)switch(fe){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 fe;default:if(ve)return;fe=(""+fe).toLowerCase(),ve=!0}}function de(fe){var ve=ue(fe);if(typeof ve!="string"&&(oe.isEncoding===te||!te(fe)))throw new Error("Unknown encoding: "+fe);return ve||fe}me.StringDecoder=le;function le(fe){this.encoding=de(fe);var ve;switch(this.encoding){case"utf16le":this.text=x,this.end=b,ve=4;break;case"utf8":this.fillLast=ne,ve=4;break;case"base64":this.text=z,this.end=ee,ve=3;break;default:this.write=re,this.end=se;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=oe.allocUnsafe(ve)}le.prototype.write=function(fe){if(fe.length===0)return"";var ve,ge;if(this.lastNeed){if(ve=this.fillLast(fe),ve===void 0)return"";ge=this.lastNeed,this.lastNeed=0}else ge=0;return ge<fe.length?ve?ve+this.text(fe,ge):this.text(fe,ge):ve||""},le.prototype.end=y,le.prototype.text=a,le.prototype.fillLast=function(fe){if(this.lastNeed<=fe.length)return fe.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);fe.copy(this.lastChar,this.lastTotal-this.lastNeed,0,fe.length),this.lastNeed-=fe.length};function ce(fe){return fe<=127?0:fe>>5===6?2:fe>>4===14?3:fe>>3===30?4:fe>>6===2?-1:-2}function ae(fe,ve,ge){var he=ve.length-1;if(he<ge)return 0;var pe=ce(ve[he]);return pe>=0?(pe>0&&(fe.lastNeed=pe-1),pe):--he<ge||pe===-2?0:(pe=ce(ve[he]),pe>=0?(pe>0&&(fe.lastNeed=pe-2),pe):--he<ge||pe===-2?0:(pe=ce(ve[he]),pe>=0?(pe>0&&(pe===2?pe=0:fe.lastNeed=pe-3),pe):0))}function ie(fe,ve,ge){if((ve[0]&192)!==128)return fe.lastNeed=0,"\uFFFD";if(fe.lastNeed>1&&ve.length>1){if((ve[1]&192)!==128)return fe.lastNeed=1,"\uFFFD";if(fe.lastNeed>2&&ve.length>2&&(ve[2]&192)!==128)return fe.lastNeed=2,"\uFFFD"}}function ne(fe){var ve=this.lastTotal-this.lastNeed,ge=ie(this,fe,ve);if(ge!==void 0)return ge;if(this.lastNeed<=fe.length)return fe.copy(this.lastChar,ve,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);fe.copy(this.lastChar,ve,0,fe.length),this.lastNeed-=fe.length}function a(fe,ve){var ge=ae(this,fe,ve);if(!this.lastNeed)return fe.toString("utf8",ve);this.lastTotal=ge;var he=fe.length-(ge-this.lastNeed);return fe.copy(this.lastChar,0,he),fe.toString("utf8",ve,he)}function y(fe){var ve=fe&&fe.length?this.write(fe):"";return this.lastNeed?ve+"\uFFFD":ve}function x(fe,ve){if((fe.length-ve)%2===0){var ge=fe.toString("utf16le",ve);if(ge){var he=ge.charCodeAt(ge.length-1);if(he>=55296&&he<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=fe[fe.length-2],this.lastChar[1]=fe[fe.length-1],ge.slice(0,-1)}return ge}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=fe[fe.length-1],fe.toString("utf16le",ve,fe.length-1)}function b(fe){var ve=fe&&fe.length?this.write(fe):"";if(this.lastNeed){var ge=this.lastTotal-this.lastNeed;return ve+this.lastChar.toString("utf16le",0,ge)}return ve}function z(fe,ve){var ge=(fe.length-ve)%3;return ge===0?fe.toString("base64",ve):(this.lastNeed=3-ge,this.lastTotal=3,ge===1?this.lastChar[0]=fe[fe.length-1]:(this.lastChar[0]=fe[fe.length-2],this.lastChar[1]=fe[fe.length-1]),fe.toString("base64",ve,fe.length-ge))}function ee(fe){var ve=fe&&fe.length?this.write(fe):"";return this.lastNeed?ve+this.lastChar.toString("base64",0,3-this.lastNeed):ve}function re(fe){return fe.toString(this.encoding)}function se(fe){return fe&&fe.length?this.write(fe):""}},{"safe-buffer":396}],414:[function(E,ye,me){(function(oe,te){(function(){var ue=E("process/browser.js").nextTick,de=Function.prototype.apply,le=Array.prototype.slice,ce={},ae=0;me.setTimeout=function(){return new ie(de.call(setTimeout,window,arguments),clearTimeout)},me.setInterval=function(){return new ie(de.call(setInterval,window,arguments),clearInterval)},me.clearTimeout=me.clearInterval=function(ne){ne.close()};function ie(ne,a){this._id=ne,this._clearFn=a}ie.prototype.unref=ie.prototype.ref=function(){},ie.prototype.close=function(){this._clearFn.call(window,this._id)},me.enroll=function(ne,a){clearTimeout(ne._idleTimeoutId),ne._idleTimeout=a},me.unenroll=function(ne){clearTimeout(ne._idleTimeoutId),ne._idleTimeout=-1},me._unrefActive=me.active=function(ne){clearTimeout(ne._idleTimeoutId);var a=ne._idleTimeout;a>=0&&(ne._idleTimeoutId=setTimeout(function(){ne._onTimeout&&ne._onTimeout()},a))},me.setImmediate=typeof oe=="function"?oe:function(ne){var a=ae++,y=arguments.length<2?!1:le.call(arguments,1);return ce[a]=!0,ue(function(){ce[a]&&(y?ne.apply(null,y):ne.call(null),me.clearImmediate(a))}),a},me.clearImmediate=typeof te=="function"?te:function(ne){delete ce[ne]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,ye,me){var oe=E("buffer").Buffer;ye.exports=function(te){if(te instanceof Uint8Array){if(te.byteOffset===0&&te.byteLength===te.buffer.byteLength)return te.buffer;if(typeof te.buffer.slice=="function")return te.buffer.slice(te.byteOffset,te.byteOffset+te.byteLength)}if(oe.isBuffer(te)){for(var ue=new Uint8Array(te.length),de=te.length,le=0;le<de;le++)ue[le]=te[le];return ue.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(E,ye,me){(function(oe){(function(){ye.exports=te;function te(de,le){if(ue("noDeprecation"))return de;var ce=!1;function ae(){if(!ce){if(ue("throwDeprecation"))throw new Error(le);ue("traceDeprecation")?console.trace(le):console.warn(le),ce=!0}return de.apply(this,arguments)}return ae}function ue(de){try{if(!oe.localStorage)return!1}catch(ce){return!1}var le=oe.localStorage[de];return le==null?!1:String(le).toLowerCase()==="true"}}).call(this)}).call(this,typeof Ct!="undefined"?Ct:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(E,ye,me){arguments[4][84][0].apply(me,arguments)},{dup:84}],418:[function(E,ye,me){"use strict";var oe=E("is-arguments"),te=E("is-generator-function"),ue=E("which-typed-array"),de=E("is-typed-array");function le(ze){return ze.call.bind(ze)}var ce=typeof BigInt!="undefined",ae=typeof Symbol!="undefined",ie=le(Object.prototype.toString),ne=le(Number.prototype.valueOf),a=le(String.prototype.valueOf),y=le(Boolean.prototype.valueOf);if(ce)var x=le(BigInt.prototype.valueOf);if(ae)var b=le(Symbol.prototype.valueOf);function z(ze,it){if(typeof ze!="object")return!1;try{return it(ze),!0}catch(St){return!1}}me.isArgumentsObject=oe,me.isGeneratorFunction=te,me.isTypedArray=de;function ee(ze){return typeof Promise!="undefined"&&ze instanceof Promise||ze!==null&&typeof ze=="object"&&typeof ze.then=="function"&&typeof ze.catch=="function"}me.isPromise=ee;function re(ze){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(ze):de(ze)||Be(ze)}me.isArrayBufferView=re;function se(ze){return ue(ze)==="Uint8Array"}me.isUint8Array=se;function fe(ze){return ue(ze)==="Uint8ClampedArray"}me.isUint8ClampedArray=fe;function ve(ze){return ue(ze)==="Uint16Array"}me.isUint16Array=ve;function ge(ze){return ue(ze)==="Uint32Array"}me.isUint32Array=ge;function he(ze){return ue(ze)==="Int8Array"}me.isInt8Array=he;function pe(ze){return ue(ze)==="Int16Array"}me.isInt16Array=pe;function Se(ze){return ue(ze)==="Int32Array"}me.isInt32Array=Se;function be(ze){return ue(ze)==="Float32Array"}me.isFloat32Array=be;function je(ze){return ue(ze)==="Float64Array"}me.isFloat64Array=je;function we(ze){return ue(ze)==="BigInt64Array"}me.isBigInt64Array=we;function Oe(ze){return ue(ze)==="BigUint64Array"}me.isBigUint64Array=Oe;function Ae(ze){return ie(ze)==="[object Map]"}Ae.working=typeof Map!="undefined"&&Ae(new Map);function Fe(ze){return typeof Map=="undefined"?!1:Ae.working?Ae(ze):ze instanceof Map}me.isMap=Fe;function ke(ze){return ie(ze)==="[object Set]"}ke.working=typeof Set!="undefined"&&ke(new Set);function Ve(ze){return typeof Set=="undefined"?!1:ke.working?ke(ze):ze instanceof Set}me.isSet=Ve;function De(ze){return ie(ze)==="[object WeakMap]"}De.working=typeof WeakMap!="undefined"&&De(new WeakMap);function ut(ze){return typeof WeakMap=="undefined"?!1:De.working?De(ze):ze instanceof WeakMap}me.isWeakMap=ut;function nt(ze){return ie(ze)==="[object WeakSet]"}nt.working=typeof WeakSet!="undefined"&&nt(new WeakSet);function qe(ze){return nt(ze)}me.isWeakSet=qe;function Xe(ze){return ie(ze)==="[object ArrayBuffer]"}Xe.working=typeof ArrayBuffer!="undefined"&&Xe(new ArrayBuffer);function $e(ze){return typeof ArrayBuffer=="undefined"?!1:Xe.working?Xe(ze):ze instanceof ArrayBuffer}me.isArrayBuffer=$e;function Ue(ze){return ie(ze)==="[object DataView]"}Ue.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&Ue(new DataView(new ArrayBuffer(1),0,1));function Be(ze){return typeof DataView=="undefined"?!1:Ue.working?Ue(ze):ze instanceof DataView}me.isDataView=Be;var tt=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function Je(ze){return ie(ze)==="[object SharedArrayBuffer]"}function ft(ze){return typeof tt=="undefined"?!1:(typeof Je.working=="undefined"&&(Je.working=Je(new tt)),Je.working?Je(ze):ze instanceof tt)}me.isSharedArrayBuffer=ft;function Ze(ze){return ie(ze)==="[object AsyncFunction]"}me.isAsyncFunction=Ze;function Ge(ze){return ie(ze)==="[object Map Iterator]"}me.isMapIterator=Ge;function Le(ze){return ie(ze)==="[object Set Iterator]"}me.isSetIterator=Le;function Ke(ze){return ie(ze)==="[object Generator]"}me.isGeneratorObject=Ke;function Ee(ze){return ie(ze)==="[object WebAssembly.Module]"}me.isWebAssemblyCompiledModule=Ee;function Re(ze){return z(ze,ne)}me.isNumberObject=Re;function Qe(ze){return z(ze,a)}me.isStringObject=Qe;function Ye(ze){return z(ze,y)}me.isBooleanObject=Ye;function We(ze){return ce&&z(ze,x)}me.isBigIntObject=We;function Ce(ze){return ae&&z(ze,b)}me.isSymbolObject=Ce;function xe(ze){return Re(ze)||Qe(ze)||Ye(ze)||We(ze)||Ce(ze)}me.isBoxedPrimitive=xe;function Ne(ze){return typeof Uint8Array!="undefined"&&($e(ze)||ft(ze))}me.isAnyArrayBuffer=Ne,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(ze){Object.defineProperty(me,ze,{enumerable:!1,value:function(){throw new Error(ze+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(E,ye,me){(function(oe){(function(){var te=Object.getOwnPropertyDescriptors||function(tt){for(var Je=Object.keys(tt),ft={},Ze=0;Ze<Je.length;Ze++)ft[Je[Ze]]=Object.getOwnPropertyDescriptor(tt,Je[Ze]);return ft},ue=/%[sdj%]/g;me.format=function(Be){if(!pe(Be)){for(var tt=[],Je=0;Je<arguments.length;Je++)tt.push(ae(arguments[Je]));return tt.join(" ")}for(var Je=1,ft=arguments,Ze=ft.length,Ge=String(Be).replace(ue,function(Ke){if(Ke==="%%")return"%";if(Je>=Ze)return Ke;switch(Ke){case"%s":return String(ft[Je++]);case"%d":return Number(ft[Je++]);case"%j":try{return JSON.stringify(ft[Je++])}catch(Ee){return"[Circular]"}default:return Ke}}),Le=ft[Je];Je<Ze;Le=ft[++Je])ve(Le)||!we(Le)?Ge+=" "+Le:Ge+=" "+ae(Le);return Ge},me.deprecate=function(Be,tt){if(typeof oe!="undefined"&&oe.noDeprecation===!0)return Be;if(typeof oe=="undefined")return function(){return me.deprecate(Be,tt).apply(this,arguments)};var Je=!1;function ft(){if(!Je){if(oe.throwDeprecation)throw new Error(tt);oe.traceDeprecation?console.trace(tt):console.error(tt),Je=!0}return Be.apply(this,arguments)}return ft};var de={},le=/^$/;if(oe.env.NODE_DEBUG){var ce=oe.env.NODE_DEBUG;ce=ce.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),le=new RegExp("^"+ce+"$","i")}me.debuglog=function(Be){if(Be=Be.toUpperCase(),!de[Be])if(le.test(Be)){var tt=oe.pid;de[Be]=function(){var Je=me.format.apply(me,arguments);console.error("%s %d: %s",Be,tt,Je)}}else de[Be]=function(){};return de[Be]};function ae(Be,tt){var Je={seen:[],stylize:ne};return arguments.length>=3&&(Je.depth=arguments[2]),arguments.length>=4&&(Je.colors=arguments[3]),fe(tt)?Je.showHidden=tt:tt&&me._extend(Je,tt),be(Je.showHidden)&&(Je.showHidden=!1),be(Je.depth)&&(Je.depth=2),be(Je.colors)&&(Je.colors=!1),be(Je.customInspect)&&(Je.customInspect=!0),Je.colors&&(Je.stylize=ie),y(Je,Be,Je.depth)}me.inspect=ae,ae.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]},ae.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ie(Be,tt){var Je=ae.styles[tt];return Je?"\x1B["+ae.colors[Je][0]+"m"+Be+"\x1B["+ae.colors[Je][1]+"m":Be}function ne(Be,tt){return Be}function a(Be){var tt={};return Be.forEach(function(Je,ft){tt[Je]=!0}),tt}function y(Be,tt,Je){if(Be.customInspect&&tt&&Fe(tt.inspect)&&tt.inspect!==me.inspect&&!(tt.constructor&&tt.constructor.prototype===tt)){var ft=tt.inspect(Je,Be);return pe(ft)||(ft=y(Be,ft,Je)),ft}var Ze=x(Be,tt);if(Ze)return Ze;var Ge=Object.keys(tt),Le=a(Ge);if(Be.showHidden&&(Ge=Object.getOwnPropertyNames(tt)),Ae(tt)&&(Ge.indexOf("message")>=0||Ge.indexOf("description")>=0))return b(tt);if(Ge.length===0){if(Fe(tt)){var Ke=tt.name?": "+tt.name:"";return Be.stylize("[Function"+Ke+"]","special")}if(je(tt))return Be.stylize(RegExp.prototype.toString.call(tt),"regexp");if(Oe(tt))return Be.stylize(Date.prototype.toString.call(tt),"date");if(Ae(tt))return b(tt)}var Ee="",Re=!1,Qe=["{","}"];if(se(tt)&&(Re=!0,Qe=["[","]"]),Fe(tt)){var Ye=tt.name?": "+tt.name:"";Ee=" [Function"+Ye+"]"}if(je(tt)&&(Ee=" "+RegExp.prototype.toString.call(tt)),Oe(tt)&&(Ee=" "+Date.prototype.toUTCString.call(tt)),Ae(tt)&&(Ee=" "+b(tt)),Ge.length===0&&(!Re||tt.length==0))return Qe[0]+Ee+Qe[1];if(Je<0)return je(tt)?Be.stylize(RegExp.prototype.toString.call(tt),"regexp"):Be.stylize("[Object]","special");Be.seen.push(tt);var We;return Re?We=z(Be,tt,Je,Le,Ge):We=Ge.map(function(Ce){return ee(Be,tt,Je,Le,Ce,Re)}),Be.seen.pop(),re(We,Ee,Qe)}function x(Be,tt){if(be(tt))return Be.stylize("undefined","undefined");if(pe(tt)){var Je="'"+JSON.stringify(tt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Be.stylize(Je,"string")}if(he(tt))return Be.stylize(""+tt,"number");if(fe(tt))return Be.stylize(""+tt,"boolean");if(ve(tt))return Be.stylize("null","null")}function b(Be){return"["+Error.prototype.toString.call(Be)+"]"}function z(Be,tt,Je,ft,Ze){for(var Ge=[],Le=0,Ke=tt.length;Le<Ke;++Le)qe(tt,String(Le))?Ge.push(ee(Be,tt,Je,ft,String(Le),!0)):Ge.push("");return Ze.forEach(function(Ee){Ee.match(/^\d+$/)||Ge.push(ee(Be,tt,Je,ft,Ee,!0))}),Ge}function ee(Be,tt,Je,ft,Ze,Ge){var Le,Ke,Ee;if(Ee=Object.getOwnPropertyDescriptor(tt,Ze)||{value:tt[Ze]},Ee.get?Ee.set?Ke=Be.stylize("[Getter/Setter]","special"):Ke=Be.stylize("[Getter]","special"):Ee.set&&(Ke=Be.stylize("[Setter]","special")),qe(ft,Ze)||(Le="["+Ze+"]"),Ke||(Be.seen.indexOf(Ee.value)<0?(ve(Je)?Ke=y(Be,Ee.value,null):Ke=y(Be,Ee.value,Je-1),Ke.indexOf(`
|
|
`)>-1&&(Ge?Ke=Ke.split(`
|
|
`).map(function(Re){return" "+Re}).join(`
|
|
`).slice(2):Ke=`
|
|
`+Ke.split(`
|
|
`).map(function(Re){return" "+Re}).join(`
|
|
`))):Ke=Be.stylize("[Circular]","special")),be(Le)){if(Ge&&Ze.match(/^\d+$/))return Ke;Le=JSON.stringify(""+Ze),Le.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Le=Le.slice(1,-1),Le=Be.stylize(Le,"name")):(Le=Le.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Le=Be.stylize(Le,"string"))}return Le+": "+Ke}function re(Be,tt,Je){var ft=0,Ze=Be.reduce(function(Ge,Le){return ft++,Le.indexOf(`
|
|
`)>=0&&ft++,Ge+Le.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ze>60?Je[0]+(tt===""?"":tt+`
|
|
`)+" "+Be.join(`,
|
|
`)+" "+Je[1]:Je[0]+tt+" "+Be.join(", ")+" "+Je[1]}me.types=E("./support/types");function se(Be){return Array.isArray(Be)}me.isArray=se;function fe(Be){return typeof Be=="boolean"}me.isBoolean=fe;function ve(Be){return Be===null}me.isNull=ve;function ge(Be){return Be==null}me.isNullOrUndefined=ge;function he(Be){return typeof Be=="number"}me.isNumber=he;function pe(Be){return typeof Be=="string"}me.isString=pe;function Se(Be){return typeof Be=="symbol"}me.isSymbol=Se;function be(Be){return Be===void 0}me.isUndefined=be;function je(Be){return we(Be)&&Ve(Be)==="[object RegExp]"}me.isRegExp=je,me.types.isRegExp=je;function we(Be){return typeof Be=="object"&&Be!==null}me.isObject=we;function Oe(Be){return we(Be)&&Ve(Be)==="[object Date]"}me.isDate=Oe,me.types.isDate=Oe;function Ae(Be){return we(Be)&&(Ve(Be)==="[object Error]"||Be instanceof Error)}me.isError=Ae,me.types.isNativeError=Ae;function Fe(Be){return typeof Be=="function"}me.isFunction=Fe;function ke(Be){return Be===null||typeof Be=="boolean"||typeof Be=="number"||typeof Be=="string"||typeof Be=="symbol"||typeof Be=="undefined"}me.isPrimitive=ke,me.isBuffer=E("./support/isBuffer");function Ve(Be){return Object.prototype.toString.call(Be)}function De(Be){return Be<10?"0"+Be.toString(10):Be.toString(10)}var ut=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function nt(){var Be=new Date,tt=[De(Be.getHours()),De(Be.getMinutes()),De(Be.getSeconds())].join(":");return[Be.getDate(),ut[Be.getMonth()],tt].join(" ")}me.log=function(){console.log("%s - %s",nt(),me.format.apply(me,arguments))},me.inherits=E("inherits"),me._extend=function(Be,tt){if(!tt||!we(tt))return Be;for(var Je=Object.keys(tt),ft=Je.length;ft--;)Be[Je[ft]]=tt[Je[ft]];return Be};function qe(Be,tt){return Object.prototype.hasOwnProperty.call(Be,tt)}var Xe=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;me.promisify=function(tt){if(typeof tt!="function")throw new TypeError('The "original" argument must be of type Function');if(Xe&&tt[Xe]){var Je=tt[Xe];if(typeof Je!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Je,Xe,{value:Je,enumerable:!1,writable:!1,configurable:!0}),Je}function Je(){for(var ft,Ze,Ge=new Promise(function(Ee,Re){ft=Ee,Ze=Re}),Le=[],Ke=0;Ke<arguments.length;Ke++)Le.push(arguments[Ke]);Le.push(function(Ee,Re){Ee?Ze(Ee):ft(Re)});try{tt.apply(this,Le)}catch(Ee){Ze(Ee)}return Ge}return Object.setPrototypeOf(Je,Object.getPrototypeOf(tt)),Xe&&Object.defineProperty(Je,Xe,{value:Je,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Je,te(tt))},me.promisify.custom=Xe;function $e(Be,tt){if(!Be){var Je=new Error("Promise was rejected with a falsy value");Je.reason=Be,Be=Je}return tt(Be)}function Ue(Be){if(typeof Be!="function")throw new TypeError('The "original" argument must be of type Function');function tt(){for(var Je=[],ft=0;ft<arguments.length;ft++)Je.push(arguments[ft]);var Ze=Je.pop();if(typeof Ze!="function")throw new TypeError("The last argument must be of type Function");var Ge=this,Le=function(){return Ze.apply(Ge,arguments)};Be.apply(this,Je).then(function(Ke){oe.nextTick(Le.bind(null,null,Ke))},function(Ke){oe.nextTick($e.bind(null,Ke,Le))})}return Object.setPrototypeOf(tt,Object.getPrototypeOf(Be)),Object.defineProperties(tt,te(Be)),tt}me.callbackify=Ue}).call(this)}).call(this,E("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(E,ye,me){(function(oe){(function(){"use strict";var te=E("for-each"),ue=E("available-typed-arrays"),de=E("call-bind"),le=E("call-bind/callBound"),ce=E("gopd"),ae=le("Object.prototype.toString"),ie=E("has-tostringtag/shams")(),ne=typeof globalThis=="undefined"?oe:globalThis,a=ue(),y=le("String.prototype.slice"),x=Object.getPrototypeOf,b=le("Array.prototype.indexOf",!0)||function(fe,ve){for(var ge=0;ge<fe.length;ge+=1)if(fe[ge]===ve)return ge;return-1},z={__proto__:null};ie&&ce&&x?te(a,function(se){var fe=new ne[se];if(Symbol.toStringTag in fe){var ve=x(fe),ge=ce(ve,Symbol.toStringTag);if(!ge){var he=x(ve);ge=ce(he,Symbol.toStringTag)}z["$"+se]=de(ge.get)}}):te(a,function(se){var fe=new ne[se];z["$"+se]=de(fe.slice)});var ee=function(fe){var ve=!1;return te(z,function(ge,he){if(!ve)try{"$"+ge(fe)===he&&(ve=y(he,1))}catch(pe){}}),ve},re=function(fe){var ve=!1;return te(z,function(ge,he){if(!ve)try{ge(fe),ve=y(he,1)}catch(pe){}}),ve};ye.exports=function(fe){if(!fe||typeof fe!="object")return!1;if(!ie){var ve=y(ae(fe),8,-1);return b(a,ve)>-1?ve:ve!=="Object"?!1:re(fe)}return ce?ee(fe):null}}).call(this)}).call(this,typeof Ct!="undefined"?Ct: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,ye,me){(function(){"use strict";me.stripBOM=function(oe){return oe[0]==="\uFEFF"?oe.substring(1):oe}}).call(this)},{}],422:[function(E,ye,me){(function(){"use strict";var oe,te,ue,de,le,ce={}.hasOwnProperty;oe=E("xmlbuilder"),te=E("./defaults").defaults,de=function(ae){return typeof ae=="string"&&(ae.indexOf("&")>=0||ae.indexOf(">")>=0||ae.indexOf("<")>=0)},le=function(ae){return"<![CDATA["+ue(ae)+"]]>"},ue=function(ae){return ae.replace("]]>","]]]]><![CDATA[>")},me.Builder=function(){function ae(ie){var ne,a,y;this.options={},a=te["0.2"];for(ne in a)ce.call(a,ne)&&(y=a[ne],this.options[ne]=y);for(ne in ie)ce.call(ie,ne)&&(y=ie[ne],this.options[ne]=y)}return ae.prototype.buildObject=function(ie){var ne,a,y,x,b;return ne=this.options.attrkey,a=this.options.charkey,Object.keys(ie).length===1&&this.options.rootName===te["0.2"].rootName?(b=Object.keys(ie)[0],ie=ie[b]):b=this.options.rootName,y=function(z){return function(ee,re){var se,fe,ve,ge,he,pe;if(typeof re!="object")z.options.cdata&&de(re)?ee.raw(le(re)):ee.txt(re);else if(Array.isArray(re)){for(ge in re)if(ce.call(re,ge)){fe=re[ge];for(he in fe)ve=fe[he],ee=y(ee.ele(he),ve).up()}}else for(he in re)if(ce.call(re,he))if(fe=re[he],he===ne){if(typeof fe=="object")for(se in fe)pe=fe[se],ee=ee.att(se,pe)}else if(he===a)z.options.cdata&&de(fe)?ee=ee.raw(le(fe)):ee=ee.txt(fe);else if(Array.isArray(fe))for(ge in fe)ce.call(fe,ge)&&(ve=fe[ge],typeof ve=="string"?z.options.cdata&&de(ve)?ee=ee.ele(he).raw(le(ve)).up():ee=ee.ele(he,ve).up():ee=y(ee.ele(he),ve).up());else typeof fe=="object"?ee=y(ee.ele(he),fe).up():typeof fe=="string"&&z.options.cdata&&de(fe)?ee=ee.ele(he).raw(le(fe)).up():(fe==null&&(fe=""),ee=ee.ele(he,fe.toString()).up());return ee}}(this),x=oe.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,ie).end(this.options.renderOpts)},ae}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,ye,me){(function(){me.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,ye,me){(function(){"use strict";var oe,te,ue,de,le,ce,ae,ie,ne,a=function(b,z){return function(){return b.apply(z,arguments)}},y=function(b,z){for(var ee in z)x.call(z,ee)&&(b[ee]=z[ee]);function re(){this.constructor=b}return re.prototype=z.prototype,b.prototype=new re,b.__super__=z.prototype,b},x={}.hasOwnProperty;ie=E("sax"),de=E("events"),oe=E("./bom"),ae=E("./processors"),ne=E("timers").setImmediate,te=E("./defaults").defaults,le=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ce=function(b,z,ee){var re,se,fe;for(re=0,se=b.length;re<se;re++)fe=b[re],z=fe(z,ee);return z},ue=function(b,z,ee){var re;return re=Object.create(null),re.value=ee,re.writable=!0,re.enumerable=!0,re.configurable=!0,Object.defineProperty(b,z,re)},me.Parser=function(b){y(z,b);function z(ee){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 re,se,fe;if(!(this instanceof me.Parser))return new me.Parser(ee);this.options={},se=te["0.2"];for(re in se)x.call(se,re)&&(fe=se[re],this.options[re]=fe);for(re in ee)x.call(ee,re)&&(fe=ee[re],this.options[re]=fe);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(ae.normalize)),this.reset()}return z.prototype.processAsync=function(){var ee,re;try{return this.remaining.length<=this.options.chunkSize?(ee=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(ee),this.saxParser.close()):(ee=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(ee),ne(this.processAsync))}catch(se){if(re=se,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(re)}},z.prototype.assignOrPush=function(ee,re,se){return re in ee?(ee[re]instanceof Array||ue(ee,re,[ee[re]]),ee[re].push(se)):this.options.explicitArray?ue(ee,re,[se]):ue(ee,re,se)},z.prototype.reset=function(){var ee,re,se,fe;return this.removeAllListeners(),this.saxParser=ie.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(ve){return function(ge){if(ve.saxParser.resume(),!ve.saxParser.errThrown)return ve.saxParser.errThrown=!0,ve.emit("error",ge)}}(this),this.saxParser.onend=function(ve){return function(){if(!ve.saxParser.ended)return ve.saxParser.ended=!0,ve.emit("end",ve.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,fe=[],ee=this.options.attrkey,re=this.options.charkey,this.saxParser.onopentag=function(ve){return function(ge){var he,pe,Se,be,je;if(Se={},Se[re]="",!ve.options.ignoreAttrs){je=ge.attributes;for(he in je)x.call(je,he)&&(!(ee in Se)&&!ve.options.mergeAttrs&&(Se[ee]={}),pe=ve.options.attrValueProcessors?ce(ve.options.attrValueProcessors,ge.attributes[he],he):ge.attributes[he],be=ve.options.attrNameProcessors?ce(ve.options.attrNameProcessors,he):he,ve.options.mergeAttrs?ve.assignOrPush(Se,be,pe):ue(Se[ee],be,pe))}return Se["#name"]=ve.options.tagNameProcessors?ce(ve.options.tagNameProcessors,ge.name):ge.name,ve.options.xmlns&&(Se[ve.options.xmlnskey]={uri:ge.uri,local:ge.local}),fe.push(Se)}}(this),this.saxParser.onclosetag=function(ve){return function(){var ge,he,pe,Se,be,je,we,Oe,Ae,Fe;if(je=fe.pop(),be=je["#name"],(!ve.options.explicitChildren||!ve.options.preserveChildrenOrder)&&delete je["#name"],je.cdata===!0&&(ge=je.cdata,delete je.cdata),Ae=fe[fe.length-1],je[re].match(/^\s*$/)&&!ge?(he=je[re],delete je[re]):(ve.options.trim&&(je[re]=je[re].trim()),ve.options.normalize&&(je[re]=je[re].replace(/\s{2,}/g," ").trim()),je[re]=ve.options.valueProcessors?ce(ve.options.valueProcessors,je[re],be):je[re],Object.keys(je).length===1&&re in je&&!ve.EXPLICIT_CHARKEY&&(je=je[re])),le(je)&&(typeof ve.options.emptyTag=="function"?je=ve.options.emptyTag():je=ve.options.emptyTag!==""?ve.options.emptyTag:he),ve.options.validator!=null&&(Fe="/"+function(){var ke,Ve,De;for(De=[],ke=0,Ve=fe.length;ke<Ve;ke++)Se=fe[ke],De.push(Se["#name"]);return De}().concat(be).join("/"),function(){var ke;try{return je=ve.options.validator(Fe,Ae&&Ae[be],je)}catch(Ve){return ke=Ve,ve.emit("error",ke)}}()),ve.options.explicitChildren&&!ve.options.mergeAttrs&&typeof je=="object"){if(!ve.options.preserveChildrenOrder)Se={},ve.options.attrkey in je&&(Se[ve.options.attrkey]=je[ve.options.attrkey],delete je[ve.options.attrkey]),!ve.options.charsAsChildren&&ve.options.charkey in je&&(Se[ve.options.charkey]=je[ve.options.charkey],delete je[ve.options.charkey]),Object.getOwnPropertyNames(je).length>0&&(Se[ve.options.childkey]=je),je=Se;else if(Ae){Ae[ve.options.childkey]=Ae[ve.options.childkey]||[],we={};for(pe in je)x.call(je,pe)&&ue(we,pe,je[pe]);Ae[ve.options.childkey].push(we),delete je["#name"],Object.keys(je).length===1&&re in je&&!ve.EXPLICIT_CHARKEY&&(je=je[re])}}return fe.length>0?ve.assignOrPush(Ae,be,je):(ve.options.explicitRoot&&(Oe=je,je={},ue(je,be,Oe)),ve.resultObject=je,ve.saxParser.ended=!0,ve.emit("end",ve.resultObject))}}(this),se=function(ve){return function(ge){var he,pe;if(pe=fe[fe.length-1],pe)return pe[re]+=ge,ve.options.explicitChildren&&ve.options.preserveChildrenOrder&&ve.options.charsAsChildren&&(ve.options.includeWhiteChars||ge.replace(/\\n/g,"").trim()!=="")&&(pe[ve.options.childkey]=pe[ve.options.childkey]||[],he={"#name":"__text__"},he[re]=ge,ve.options.normalize&&(he[re]=he[re].replace(/\s{2,}/g," ").trim()),pe[ve.options.childkey].push(he)),pe}}(this),this.saxParser.ontext=se,this.saxParser.oncdata=function(ve){return function(ge){var he;if(he=se(ge),he)return he.cdata=!0}}(this)},z.prototype.parseString=function(ee,re){var se;re!=null&&typeof re=="function"&&(this.on("end",function(fe){return this.reset(),re(null,fe)}),this.on("error",function(fe){return this.reset(),re(fe)}));try{return ee=ee.toString(),ee.trim()===""?(this.emit("end",null),!0):(ee=oe.stripBOM(ee),this.options.async?(this.remaining=ee,ne(this.processAsync),this.saxParser):this.saxParser.write(ee).close())}catch(fe){if(se=fe,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw se}else return this.emit("error",se),this.saxParser.errThrown=!0}},z.prototype.parseStringPromise=function(ee){return new Promise(function(re){return function(se,fe){return re.parseString(ee,function(ve,ge){return ve?fe(ve):se(ge)})}}(this))},z}(de),me.parseString=function(b,z,ee){var re,se,fe;return ee!=null?(typeof ee=="function"&&(re=ee),typeof z=="object"&&(se=z)):(typeof z=="function"&&(re=z),se={}),fe=new me.Parser(se),fe.parseString(b,re)},me.parseStringPromise=function(b,z){var ee,re;return typeof z=="object"&&(ee=z),re=new me.Parser(ee),re.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,ye,me){(function(){"use strict";var oe;oe=new RegExp(/(?!xmlns)^.*:/),me.normalize=function(te){return te.toLowerCase()},me.firstCharLowerCase=function(te){return te.charAt(0).toLowerCase()+te.slice(1)},me.stripPrefix=function(te){return te.replace(oe,"")},me.parseNumbers=function(te){return isNaN(te)||(te=te%1===0?parseInt(te,10):parseFloat(te)),te},me.parseBooleans=function(te){return/^(?:true|false)$/i.test(te)&&(te=te.toLowerCase()==="true"),te}}).call(this)},{}],426:[function(E,ye,me){(function(){"use strict";var oe,te,ue,de,le=function(ae,ie){for(var ne in ie)ce.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},ce={}.hasOwnProperty;te=E("./defaults"),oe=E("./builder"),ue=E("./parser"),de=E("./processors"),me.defaults=te.defaults,me.processors=de,me.ValidationError=function(ae){le(ie,ae);function ie(ne){this.message=ne}return ie}(Error),me.Builder=oe.Builder,me.Parser=ue.Parser,me.parseString=ue.parseString,me.parseStringPromise=ue.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,ye,me){(function(){ye.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,ye,me){(function(){ye.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,ye,me){(function(){var oe,te,ue,de,le,ce,ae,ie=[].slice,ne={}.hasOwnProperty;oe=function(){var a,y,x,b,z,ee;if(ee=arguments[0],z=2<=arguments.length?ie.call(arguments,1):[],le(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=z.length;a<x;a++)if(b=z[a],b!=null)for(y in b)ne.call(b,y)&&(ee[y]=b[y]);return ee},le=function(a){return!!a&&Object.prototype.toString.call(a)==="[object Function]"},ce=function(a){var y;return!!a&&((y=typeof a)=="function"||y==="object")},ue=function(a){return le(Array.isArray)?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"},de=function(a){var y;if(ue(a))return!a.length;for(y in a)if(ne.call(a,y))return!1;return!0},ae=function(a){var y,x;return ce(a)&&(x=Object.getPrototypeOf(a))&&(y=x.constructor)&&typeof y=="function"&&y instanceof y&&Function.prototype.toString.call(y)===Function.prototype.toString.call(Object)},te=function(a){return le(a.valueOf)?a.valueOf():a},ye.exports.assign=oe,ye.exports.isFunction=le,ye.exports.isObject=ce,ye.exports.isArray=ue,ye.exports.isEmpty=de,ye.exports.isPlainObject=ae,ye.exports.getValue=te}).call(this)},{}],430:[function(E,ye,me){(function(){ye.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(E,ye,me){(function(){var oe,te,ue;oe=E("./NodeType"),ue=E("./XMLNode"),ye.exports=te=function(){function de(le,ce,ae){if(this.parent=le,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),ce==null)throw new Error("Missing attribute name. "+this.debugInfo(ce));this.name=this.stringify.name(ce),this.value=this.stringify.attValue(ae),this.type=oe.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(de.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(de.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(de.prototype,"textContent",{get:function(){return this.value},set:function(le){return this.value=le||""}}),Object.defineProperty(de.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(de.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(de.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(de.prototype,"specified",{get:function(){return!0}}),de.prototype.clone=function(){return Object.create(this)},de.prototype.toString=function(le){return this.options.writer.attribute(this,this.options.writer.filterOptions(le))},de.prototype.debugInfo=function(le){return le=le||this.name,le==null?"parent: <"+this.parent.name+">":"attribute: {"+le+"}, parent: <"+this.parent.name+">"},de.prototype.isEqualNode=function(le){return!(le.namespaceURI!==this.namespaceURI||le.prefix!==this.prefix||le.localName!==this.localName||le.value!==this.value)},de}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,ye,me){(function(){var oe,te,ue,de=function(ce,ae){for(var ie in ae)le.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;oe=E("./NodeType"),ue=E("./XMLCharacterData"),ye.exports=te=function(ce){de(ae,ce);function ae(ie,ne){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=oe.CData,this.value=this.stringify.cdata(ne)}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.cdata(this,this.options.writer.filterOptions(ie))},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,ye,me){(function(){var oe,te,ue=function(le,ce){for(var ae in ce)de.call(ce,ae)&&(le[ae]=ce[ae]);function ie(){this.constructor=le}return ie.prototype=ce.prototype,le.prototype=new ie,le.__super__=ce.prototype,le},de={}.hasOwnProperty;te=E("./XMLNode"),ye.exports=oe=function(le){ue(ce,le);function ce(ae){ce.__super__.constructor.call(this,ae),this.value=""}return Object.defineProperty(ce.prototype,"data",{get:function(){return this.value},set:function(ae){return this.value=ae||""}}),Object.defineProperty(ce.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ce.prototype,"textContent",{get:function(){return this.value},set:function(ae){return this.value=ae||""}}),ce.prototype.clone=function(){return Object.create(this)},ce.prototype.substringData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ce.prototype.appendData=function(ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},ce.prototype.insertData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ce.prototype.deleteData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ce.prototype.replaceData=function(ae,ie,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ce.prototype.isEqualNode=function(ae){return!(!ce.__super__.isEqualNode.apply(this,arguments).isEqualNode(ae)||ae.data!==this.data)},ce}(te)}).call(this)},{"./XMLNode":450}],434:[function(E,ye,me){(function(){var oe,te,ue,de=function(ce,ae){for(var ie in ae)le.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;oe=E("./NodeType"),te=E("./XMLCharacterData"),ye.exports=ue=function(ce){de(ae,ce);function ae(ie,ne){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=oe.Comment,this.value=this.stringify.comment(ne)}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.comment(this,this.options.writer.filterOptions(ie))},ae}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,ye,me){(function(){var oe,te,ue;te=E("./XMLDOMErrorHandler"),ue=E("./XMLDOMStringList"),ye.exports=oe=function(){function de(){var le;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new te,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=le=Object.create(this.defaultParams)}return Object.defineProperty(de.prototype,"parameterNames",{get:function(){return new ue(Object.keys(this.defaultParams))}}),de.prototype.getParameter=function(le){return this.params.hasOwnProperty(le)?this.params[le]:null},de.prototype.canSetParameter=function(le,ce){return!0},de.prototype.setParameter=function(le,ce){return ce!=null?this.params[le]=ce:delete this.params[le]},de}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,ye,me){(function(){var oe;ye.exports=oe=function(){function te(){}return te.prototype.handleError=function(ue){throw new Error(ue)},te}()}).call(this)},{}],437:[function(E,ye,me){(function(){var oe;ye.exports=oe=function(){function te(){}return te.prototype.hasFeature=function(ue,de){return!0},te.prototype.createDocumentType=function(ue,de,le){throw new Error("This DOM method is not implemented.")},te.prototype.createDocument=function(ue,de,le){throw new Error("This DOM method is not implemented.")},te.prototype.createHTMLDocument=function(ue){throw new Error("This DOM method is not implemented.")},te.prototype.getFeature=function(ue,de){throw new Error("This DOM method is not implemented.")},te}()}).call(this)},{}],438:[function(E,ye,me){(function(){var oe;ye.exports=oe=function(){function te(ue){this.arr=ue||[]}return Object.defineProperty(te.prototype,"length",{get:function(){return this.arr.length}}),te.prototype.item=function(ue){return this.arr[ue]||null},te.prototype.contains=function(ue){return this.arr.indexOf(ue)!==-1},te}()}).call(this)},{}],439:[function(E,ye,me){(function(){var oe,te,ue,de=function(ce,ae){for(var ie in ae)le.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;ue=E("./XMLNode"),oe=E("./NodeType"),ye.exports=te=function(ce){de(ae,ce);function ae(ie,ne,a,y,x,b){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(ne));if(!y)throw new Error("Missing DTD attribute type. "+this.debugInfo(ne));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(ne));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(ne));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(ne));this.elementName=this.stringify.name(ne),this.type=oe.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return ae.prototype.toString=function(ie){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ie))},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,ye,me){(function(){var oe,te,ue,de=function(ce,ae){for(var ie in ae)le.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;ue=E("./XMLNode"),oe=E("./NodeType"),ye.exports=te=function(ce){de(ae,ce);function ae(ie,ne,a){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.name(ne),this.type=oe.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return ae.prototype.toString=function(ie){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(ie))},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,ye,me){(function(){var oe,te,ue,de,le=function(ae,ie){for(var ne in ie)ce.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},ce={}.hasOwnProperty;de=E("./Utility").isObject,ue=E("./XMLNode"),oe=E("./NodeType"),ye.exports=te=function(ae){le(ie,ae);function ie(ne,a,y,x){if(ie.__super__.constructor.call(this,ne),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=oe.EntityDeclaration,!de(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(ie.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ie.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(ie.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(ie.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(ie.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(ie.prototype,"xmlVersion",{get:function(){return null}}),ie.prototype.toString=function(ne){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(ne))},ie}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,ye,me){(function(){var oe,te,ue,de=function(ce,ae){for(var ie in ae)le.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;ue=E("./XMLNode"),oe=E("./NodeType"),ye.exports=te=function(ce){de(ae,ce);function ae(ie,ne,a){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD notation name. "+this.debugInfo(ne));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(ne));this.name=this.stringify.name(ne),this.type=oe.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(ae.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ae.prototype,"systemId",{get:function(){return this.sysID}}),ae.prototype.toString=function(ie){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ie))},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,ye,me){(function(){var oe,te,ue,de,le=function(ae,ie){for(var ne in ie)ce.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},ce={}.hasOwnProperty;de=E("./Utility").isObject,ue=E("./XMLNode"),oe=E("./NodeType"),ye.exports=te=function(ae){le(ie,ae);function ie(ne,a,y,x){var b;ie.__super__.constructor.call(this,ne),de(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=oe.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return ie.prototype.toString=function(ne){return this.options.writer.declaration(this,this.options.writer.filterOptions(ne))},ie}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,ye,me){(function(){var oe,te,ue,de,le,ce,ae,ie,ne,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function ee(){this.constructor=x}return ee.prototype=b.prototype,x.prototype=new ee,x.__super__=b.prototype,x},y={}.hasOwnProperty;ne=E("./Utility").isObject,ie=E("./XMLNode"),oe=E("./NodeType"),te=E("./XMLDTDAttList"),de=E("./XMLDTDEntity"),ue=E("./XMLDTDElement"),le=E("./XMLDTDNotation"),ae=E("./XMLNamedNodeMap"),ye.exports=ce=function(x){a(b,x);function b(z,ee,re){var se,fe,ve,ge,he,pe;if(b.__super__.constructor.call(this,z),this.type=oe.DocType,z.children){for(ge=z.children,fe=0,ve=ge.length;fe<ve;fe++)if(se=ge[fe],se.type===oe.Element){this.name=se.name;break}}this.documentObject=z,ne(ee)&&(he=ee,ee=he.pubID,re=he.sysID),re==null&&(pe=[ee,re],re=pe[0],ee=pe[1]),ee!=null&&(this.pubID=this.stringify.dtdPubID(ee)),re!=null&&(this.sysID=this.stringify.dtdSysID(re))}return Object.defineProperty(b.prototype,"entities",{get:function(){var z,ee,re,se,fe;for(se={},fe=this.children,ee=0,re=fe.length;ee<re;ee++)z=fe[ee],z.type===oe.EntityDeclaration&&!z.pe&&(se[z.name]=z);return new ae(se)}}),Object.defineProperty(b.prototype,"notations",{get:function(){var z,ee,re,se,fe;for(se={},fe=this.children,ee=0,re=fe.length;ee<re;ee++)z=fe[ee],z.type===oe.NotationDeclaration&&(se[z.name]=z);return new ae(se)}}),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(z,ee){var re;return re=new ue(this,z,ee),this.children.push(re),this},b.prototype.attList=function(z,ee,re,se,fe){var ve;return ve=new te(this,z,ee,re,se,fe),this.children.push(ve),this},b.prototype.entity=function(z,ee){var re;return re=new de(this,!1,z,ee),this.children.push(re),this},b.prototype.pEntity=function(z,ee){var re;return re=new de(this,!0,z,ee),this.children.push(re),this},b.prototype.notation=function(z,ee){var re;return re=new le(this,z,ee),this.children.push(re),this},b.prototype.toString=function(z){return this.options.writer.docType(this,this.options.writer.filterOptions(z))},b.prototype.ele=function(z,ee){return this.element(z,ee)},b.prototype.att=function(z,ee,re,se,fe){return this.attList(z,ee,re,se,fe)},b.prototype.ent=function(z,ee){return this.entity(z,ee)},b.prototype.pent=function(z,ee){return this.pEntity(z,ee)},b.prototype.not=function(z,ee){return this.notation(z,ee)},b.prototype.up=function(){return this.root()||this.documentObject},b.prototype.isEqualNode=function(z){return!(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(z)||z.name!==this.name||z.publicId!==this.publicId||z.systemId!==this.systemId)},b}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(E,ye,me){(function(){var oe,te,ue,de,le,ce,ae,ie,ne=function(y,x){for(var b in x)a.call(x,b)&&(y[b]=x[b]);function z(){this.constructor=y}return z.prototype=x.prototype,y.prototype=new z,y.__super__=x.prototype,y},a={}.hasOwnProperty;ie=E("./Utility").isPlainObject,ue=E("./XMLDOMImplementation"),te=E("./XMLDOMConfiguration"),le=E("./XMLNode"),oe=E("./NodeType"),ae=E("./XMLStringifier"),ce=E("./XMLStringWriter"),ye.exports=de=function(y){ne(x,y);function x(b){x.__super__.constructor.call(this,null),this.name="#document",this.type=oe.Document,this.documentURI=null,this.domConfig=new te,b||(b={}),b.writer||(b.writer=new ce),this.options=b,this.stringify=new ae(b)}return Object.defineProperty(x.prototype,"implementation",{value:new ue}),Object.defineProperty(x.prototype,"doctype",{get:function(){var b,z,ee,re;for(re=this.children,z=0,ee=re.length;z<ee;z++)if(b=re[z],b.type===oe.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===oe.Declaration?this.children[0].encoding:null}}),Object.defineProperty(x.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===oe.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(x.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===oe.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 z;return z={},b?ie(b)&&(z=b,b=this.options.writer):b=this.options.writer,b.document(this,b.filterOptions(z))},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,z){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,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createElementNS=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createAttributeNS=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByTagNameNS=function(b,z){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,z,ee){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,z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createTreeWalker=function(b,z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x}(le)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(E,ye,me){(function(){var oe,te,ue,de,le,ce,ae,ie,ne,a,y,x,b,z,ee,re,se,fe,ve,ge,he,pe,Se,be,je={}.hasOwnProperty;be=E("./Utility"),pe=be.isObject,he=be.isFunction,Se=be.isPlainObject,ge=be.getValue,oe=E("./NodeType"),x=E("./XMLDocument"),z=E("./XMLElement"),de=E("./XMLCData"),le=E("./XMLComment"),re=E("./XMLRaw"),ve=E("./XMLText"),ee=E("./XMLProcessingInstruction"),a=E("./XMLDeclaration"),y=E("./XMLDocType"),ce=E("./XMLDTDAttList"),ie=E("./XMLDTDEntity"),ae=E("./XMLDTDElement"),ne=E("./XMLDTDNotation"),ue=E("./XMLAttribute"),fe=E("./XMLStringifier"),se=E("./XMLStringWriter"),te=E("./WriterState"),ye.exports=b=function(){function we(Oe,Ae,Fe){var ke;this.name="?xml",this.type=oe.Document,Oe||(Oe={}),ke={},Oe.writer?Se(Oe.writer)&&(ke=Oe.writer,Oe.writer=new se):Oe.writer=new se,this.options=Oe,this.writer=Oe.writer,this.writerOptions=this.writer.filterOptions(ke),this.stringify=new fe(Oe),this.onDataCallback=Ae||function(){},this.onEndCallback=Fe||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return we.prototype.createChildNode=function(Oe){var Ae,Fe,ke,Ve,De,ut,nt,qe;switch(Oe.type){case oe.CData:this.cdata(Oe.value);break;case oe.Comment:this.comment(Oe.value);break;case oe.Element:ke={},nt=Oe.attribs;for(Fe in nt)je.call(nt,Fe)&&(Ae=nt[Fe],ke[Fe]=Ae.value);this.node(Oe.name,ke);break;case oe.Dummy:this.dummy();break;case oe.Raw:this.raw(Oe.value);break;case oe.Text:this.text(Oe.value);break;case oe.ProcessingInstruction:this.instruction(Oe.target,Oe.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+Oe.constructor.name)}for(qe=Oe.children,De=0,ut=qe.length;De<ut;De++)Ve=qe[De],this.createChildNode(Ve),Ve.type===oe.Element&&this.up();return this},we.prototype.dummy=function(){return this},we.prototype.node=function(Oe,Ae,Fe){var ke;if(Oe==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(Oe));return this.openCurrent(),Oe=ge(Oe),Ae==null&&(Ae={}),Ae=ge(Ae),pe(Ae)||(ke=[Ae,Fe],Fe=ke[0],Ae=ke[1]),this.currentNode=new z(this,Oe,Ae),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,Fe!=null&&this.text(Fe),this},we.prototype.element=function(Oe,Ae,Fe){var ke,Ve,De,ut,nt,qe;if(this.currentNode&&this.currentNode.type===oe.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(Oe)||pe(Oe)||he(Oe))for(ut=this.options.noValidation,this.options.noValidation=!0,qe=new x(this.options).element("TEMP_ROOT"),qe.element(Oe),this.options.noValidation=ut,nt=qe.children,Ve=0,De=nt.length;Ve<De;Ve++)ke=nt[Ve],this.createChildNode(ke),ke.type===oe.Element&&this.up();else this.node(Oe,Ae,Fe);return this},we.prototype.attribute=function(Oe,Ae){var Fe,ke;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(Oe));if(Oe!=null&&(Oe=ge(Oe)),pe(Oe))for(Fe in Oe)je.call(Oe,Fe)&&(ke=Oe[Fe],this.attribute(Fe,ke));else he(Ae)&&(Ae=Ae.apply()),this.options.keepNullAttributes&&Ae==null?this.currentNode.attribs[Oe]=new ue(this,Oe,""):Ae!=null&&(this.currentNode.attribs[Oe]=new ue(this,Oe,Ae));return this},we.prototype.text=function(Oe){var Ae;return this.openCurrent(),Ae=new ve(this,Oe),this.onData(this.writer.text(Ae,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.cdata=function(Oe){var Ae;return this.openCurrent(),Ae=new de(this,Oe),this.onData(this.writer.cdata(Ae,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.comment=function(Oe){var Ae;return this.openCurrent(),Ae=new le(this,Oe),this.onData(this.writer.comment(Ae,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.raw=function(Oe){var Ae;return this.openCurrent(),Ae=new re(this,Oe),this.onData(this.writer.raw(Ae,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.instruction=function(Oe,Ae){var Fe,ke,Ve,De,ut;if(this.openCurrent(),Oe!=null&&(Oe=ge(Oe)),Ae!=null&&(Ae=ge(Ae)),Array.isArray(Oe))for(Fe=0,De=Oe.length;Fe<De;Fe++)ke=Oe[Fe],this.instruction(ke);else if(pe(Oe))for(ke in Oe)je.call(Oe,ke)&&(Ve=Oe[ke],this.instruction(ke,Ve));else he(Ae)&&(Ae=Ae.apply()),ut=new ee(this,Oe,Ae),this.onData(this.writer.processingInstruction(ut,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},we.prototype.declaration=function(Oe,Ae,Fe){var ke;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return ke=new a(this,Oe,Ae,Fe),this.onData(this.writer.declaration(ke,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.doctype=function(Oe,Ae,Fe){if(this.openCurrent(),Oe==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,Ae,Fe),this.currentNode.rootNodeName=Oe,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},we.prototype.dtdElement=function(Oe,Ae){var Fe;return this.openCurrent(),Fe=new ae(this,Oe,Ae),this.onData(this.writer.dtdElement(Fe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.attList=function(Oe,Ae,Fe,ke,Ve){var De;return this.openCurrent(),De=new ce(this,Oe,Ae,Fe,ke,Ve),this.onData(this.writer.dtdAttList(De,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.entity=function(Oe,Ae){var Fe;return this.openCurrent(),Fe=new ie(this,!1,Oe,Ae),this.onData(this.writer.dtdEntity(Fe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.pEntity=function(Oe,Ae){var Fe;return this.openCurrent(),Fe=new ie(this,!0,Oe,Ae),this.onData(this.writer.dtdEntity(Fe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.notation=function(Oe,Ae){var Fe;return this.openCurrent(),Fe=new ne(this,Oe,Ae),this.onData(this.writer.dtdNotation(Fe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.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},we.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},we.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},we.prototype.openNode=function(Oe){var Ae,Fe,ke,Ve;if(!Oe.isOpen){if(!this.root&&this.currentLevel===0&&Oe.type===oe.Element&&(this.root=Oe),Fe="",Oe.type===oe.Element){this.writerOptions.state=te.OpenTag,Fe=this.writer.indent(Oe,this.writerOptions,this.currentLevel)+"<"+Oe.name,Ve=Oe.attribs;for(ke in Ve)je.call(Ve,ke)&&(Ae=Ve[ke],Fe+=this.writer.attribute(Ae,this.writerOptions,this.currentLevel));Fe+=(Oe.children?">":"/>")+this.writer.endline(Oe,this.writerOptions,this.currentLevel),this.writerOptions.state=te.InsideTag}else this.writerOptions.state=te.OpenTag,Fe=this.writer.indent(Oe,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+Oe.rootNodeName,Oe.pubID&&Oe.sysID?Fe+=' PUBLIC "'+Oe.pubID+'" "'+Oe.sysID+'"':Oe.sysID&&(Fe+=' SYSTEM "'+Oe.sysID+'"'),Oe.children?(Fe+=" [",this.writerOptions.state=te.InsideTag):(this.writerOptions.state=te.CloseTag,Fe+=">"),Fe+=this.writer.endline(Oe,this.writerOptions,this.currentLevel);return this.onData(Fe,this.currentLevel),Oe.isOpen=!0}},we.prototype.closeNode=function(Oe){var Ae;if(!Oe.isClosed)return Ae="",this.writerOptions.state=te.CloseTag,Oe.type===oe.Element?Ae=this.writer.indent(Oe,this.writerOptions,this.currentLevel)+"</"+Oe.name+">"+this.writer.endline(Oe,this.writerOptions,this.currentLevel):Ae=this.writer.indent(Oe,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Oe,this.writerOptions,this.currentLevel),this.writerOptions.state=te.None,this.onData(Ae,this.currentLevel),Oe.isClosed=!0},we.prototype.onData=function(Oe,Ae){return this.documentStarted=!0,this.onDataCallback(Oe,Ae+1)},we.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},we.prototype.debugInfo=function(Oe){return Oe==null?"":"node: <"+Oe+">"},we.prototype.ele=function(){return this.element.apply(this,arguments)},we.prototype.nod=function(Oe,Ae,Fe){return this.node(Oe,Ae,Fe)},we.prototype.txt=function(Oe){return this.text(Oe)},we.prototype.dat=function(Oe){return this.cdata(Oe)},we.prototype.com=function(Oe){return this.comment(Oe)},we.prototype.ins=function(Oe,Ae){return this.instruction(Oe,Ae)},we.prototype.dec=function(Oe,Ae,Fe){return this.declaration(Oe,Ae,Fe)},we.prototype.dtd=function(Oe,Ae,Fe){return this.doctype(Oe,Ae,Fe)},we.prototype.e=function(Oe,Ae,Fe){return this.element(Oe,Ae,Fe)},we.prototype.n=function(Oe,Ae,Fe){return this.node(Oe,Ae,Fe)},we.prototype.t=function(Oe){return this.text(Oe)},we.prototype.d=function(Oe){return this.cdata(Oe)},we.prototype.c=function(Oe){return this.comment(Oe)},we.prototype.r=function(Oe){return this.raw(Oe)},we.prototype.i=function(Oe,Ae){return this.instruction(Oe,Ae)},we.prototype.att=function(){return this.currentNode&&this.currentNode.type===oe.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},we.prototype.a=function(){return this.currentNode&&this.currentNode.type===oe.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},we.prototype.ent=function(Oe,Ae){return this.entity(Oe,Ae)},we.prototype.pent=function(Oe,Ae){return this.pEntity(Oe,Ae)},we.prototype.not=function(Oe,Ae){return this.notation(Oe,Ae)},we}()}).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,ye,me){(function(){var oe,te,ue,de=function(ce,ae){for(var ie in ae)le.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;ue=E("./XMLNode"),oe=E("./NodeType"),ye.exports=te=function(ce){de(ae,ce);function ae(ie){ae.__super__.constructor.call(this,ie),this.type=oe.Dummy}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return""},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,ye,me){(function(){var oe,te,ue,de,le,ce,ae,ie,ne,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function ee(){this.constructor=x}return ee.prototype=b.prototype,x.prototype=new ee,x.__super__=b.prototype,x},y={}.hasOwnProperty;ne=E("./Utility"),ie=ne.isObject,ae=ne.isFunction,ce=ne.getValue,le=E("./XMLNode"),oe=E("./NodeType"),te=E("./XMLAttribute"),de=E("./XMLNamedNodeMap"),ye.exports=ue=function(x){a(b,x);function b(z,ee,re){var se,fe,ve,ge;if(b.__super__.constructor.call(this,z),ee==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(ee),this.type=oe.Element,this.attribs={},this.schemaTypeInfo=null,re!=null&&this.attribute(re),z.type===oe.Document&&(this.isRoot=!0,this.documentObject=z,z.rootObject=this,z.children)){for(ge=z.children,fe=0,ve=ge.length;fe<ve;fe++)if(se=ge[fe],se.type===oe.DocType){se.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 de(this.attribs)),this.attributeMap}}),b.prototype.clone=function(){var z,ee,re,se;re=Object.create(this),re.isRoot&&(re.documentObject=null),re.attribs={},se=this.attribs;for(ee in se)y.call(se,ee)&&(z=se[ee],re.attribs[ee]=z.clone());return re.children=[],this.children.forEach(function(fe){var ve;return ve=fe.clone(),ve.parent=re,re.children.push(ve)}),re},b.prototype.attribute=function(z,ee){var re,se;if(z!=null&&(z=ce(z)),ie(z))for(re in z)y.call(z,re)&&(se=z[re],this.attribute(re,se));else ae(ee)&&(ee=ee.apply()),this.options.keepNullAttributes&&ee==null?this.attribs[z]=new te(this,z,""):ee!=null&&(this.attribs[z]=new te(this,z,ee));return this},b.prototype.removeAttribute=function(z){var ee,re,se;if(z==null)throw new Error("Missing attribute name. "+this.debugInfo());if(z=ce(z),Array.isArray(z))for(re=0,se=z.length;re<se;re++)ee=z[re],delete this.attribs[ee];else delete this.attribs[z];return this},b.prototype.toString=function(z){return this.options.writer.element(this,this.options.writer.filterOptions(z))},b.prototype.att=function(z,ee){return this.attribute(z,ee)},b.prototype.a=function(z,ee){return this.attribute(z,ee)},b.prototype.getAttribute=function(z){return this.attribs.hasOwnProperty(z)?this.attribs[z].value:null},b.prototype.setAttribute=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNode=function(z){return this.attribs.hasOwnProperty(z)?this.attribs[z]:null},b.prototype.setAttributeNode=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNode=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNS=function(z,ee,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNodeNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNodeNS=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.hasAttribute=function(z){return this.attribs.hasOwnProperty(z)},b.prototype.hasAttributeNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttribute=function(z,ee){return this.attribs.hasOwnProperty(z)?this.attribs[z].isId:ee},b.prototype.setIdAttributeNS=function(z,ee,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttributeNode=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByClassName=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(z){var ee,re,se;if(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(z)||z.namespaceURI!==this.namespaceURI||z.prefix!==this.prefix||z.localName!==this.localName||z.attribs.length!==this.attribs.length)return!1;for(ee=re=0,se=this.attribs.length-1;0<=se?re<=se:re>=se;ee=0<=se?++re:--re)if(!this.attribs[ee].isEqualNode(z.attribs[ee]))return!1;return!0},b}(le)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,ye,me){(function(){var oe;ye.exports=oe=function(){function te(ue){this.nodes=ue}return Object.defineProperty(te.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),te.prototype.clone=function(){return this.nodes=null},te.prototype.getNamedItem=function(ue){return this.nodes[ue]},te.prototype.setNamedItem=function(ue){var de;return de=this.nodes[ue.nodeName],this.nodes[ue.nodeName]=ue,de||null},te.prototype.removeNamedItem=function(ue){var de;return de=this.nodes[ue],delete this.nodes[ue],de||null},te.prototype.item=function(ue){return this.nodes[Object.keys(this.nodes)[ue]]||null},te.prototype.getNamedItemNS=function(ue,de){throw new Error("This DOM method is not implemented.")},te.prototype.setNamedItemNS=function(ue){throw new Error("This DOM method is not implemented.")},te.prototype.removeNamedItemNS=function(ue,de){throw new Error("This DOM method is not implemented.")},te}()}).call(this)},{}],450:[function(E,ye,me){(function(){var oe,te,ue,de,le,ce,ae,ie,ne,a,y,x,b,z,ee,re,se,fe,ve,ge={}.hasOwnProperty;ve=E("./Utility"),fe=ve.isObject,se=ve.isFunction,re=ve.isEmpty,ee=ve.getValue,ie=null,ue=null,de=null,le=null,ce=null,b=null,z=null,x=null,ae=null,te=null,y=null,ne=null,oe=null,ye.exports=a=function(){function he(pe){this.parent=pe,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ie||(ie=E("./XMLElement"),ue=E("./XMLCData"),de=E("./XMLComment"),le=E("./XMLDeclaration"),ce=E("./XMLDocType"),b=E("./XMLRaw"),z=E("./XMLText"),x=E("./XMLProcessingInstruction"),ae=E("./XMLDummy"),te=E("./NodeType"),y=E("./XMLNodeList"),ne=E("./XMLNamedNodeMap"),oe=E("./DocumentPosition"))}return Object.defineProperty(he.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(he.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(he.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(he.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(he.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(he.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(he.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(he.prototype,"previousSibling",{get:function(){var pe;return pe=this.parent.children.indexOf(this),this.parent.children[pe-1]||null}}),Object.defineProperty(he.prototype,"nextSibling",{get:function(){var pe;return pe=this.parent.children.indexOf(this),this.parent.children[pe+1]||null}}),Object.defineProperty(he.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(he.prototype,"textContent",{get:function(){var pe,Se,be,je,we;if(this.nodeType===te.Element||this.nodeType===te.DocumentFragment){for(we="",je=this.children,Se=0,be=je.length;Se<be;Se++)pe=je[Se],pe.textContent&&(we+=pe.textContent);return we}else return null},set:function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),he.prototype.setParent=function(pe){var Se,be,je,we,Oe;for(this.parent=pe,pe&&(this.options=pe.options,this.stringify=pe.stringify),we=this.children,Oe=[],be=0,je=we.length;be<je;be++)Se=we[be],Oe.push(Se.setParent(this));return Oe},he.prototype.element=function(pe,Se,be){var je,we,Oe,Ae,Fe,ke,Ve,De,ut,nt,qe;if(ke=null,Se===null&&be==null&&(ut=[{},null],Se=ut[0],be=ut[1]),Se==null&&(Se={}),Se=ee(Se),fe(Se)||(nt=[Se,be],be=nt[0],Se=nt[1]),pe!=null&&(pe=ee(pe)),Array.isArray(pe))for(Oe=0,Ve=pe.length;Oe<Ve;Oe++)we=pe[Oe],ke=this.element(we);else if(se(pe))ke=this.element(pe.apply());else if(fe(pe)){for(Fe in pe)if(ge.call(pe,Fe))if(qe=pe[Fe],se(qe)&&(qe=qe.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&Fe.indexOf(this.stringify.convertAttKey)===0)ke=this.attribute(Fe.substr(this.stringify.convertAttKey.length),qe);else if(!this.options.separateArrayItems&&Array.isArray(qe)&&re(qe))ke=this.dummy();else if(fe(qe)&&re(qe))ke=this.element(Fe);else if(!this.options.keepNullNodes&&qe==null)ke=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(qe))for(Ae=0,De=qe.length;Ae<De;Ae++)we=qe[Ae],je={},je[Fe]=we,ke=this.element(je);else fe(qe)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Fe.indexOf(this.stringify.convertTextKey)===0?ke=this.element(qe):(ke=this.element(Fe),ke.element(qe)):ke=this.element(Fe,qe)}else!this.options.keepNullNodes&&be===null?ke=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&pe.indexOf(this.stringify.convertTextKey)===0?ke=this.text(be):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&pe.indexOf(this.stringify.convertCDataKey)===0?ke=this.cdata(be):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&pe.indexOf(this.stringify.convertCommentKey)===0?ke=this.comment(be):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&pe.indexOf(this.stringify.convertRawKey)===0?ke=this.raw(be):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&pe.indexOf(this.stringify.convertPIKey)===0?ke=this.instruction(pe.substr(this.stringify.convertPIKey.length),be):ke=this.node(pe,Se,be);if(ke==null)throw new Error("Could not create any elements with: "+pe+". "+this.debugInfo());return ke},he.prototype.insertBefore=function(pe,Se,be){var je,we,Oe,Ae,Fe;if(pe!=null&&pe.type)return Oe=pe,Ae=Se,Oe.setParent(this),Ae?(we=children.indexOf(Ae),Fe=children.splice(we),children.push(Oe),Array.prototype.push.apply(children,Fe)):children.push(Oe),Oe;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(pe));return we=this.parent.children.indexOf(this),Fe=this.parent.children.splice(we),je=this.parent.element(pe,Se,be),Array.prototype.push.apply(this.parent.children,Fe),je},he.prototype.insertAfter=function(pe,Se,be){var je,we,Oe;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(pe));return we=this.parent.children.indexOf(this),Oe=this.parent.children.splice(we+1),je=this.parent.element(pe,Se,be),Array.prototype.push.apply(this.parent.children,Oe),je},he.prototype.remove=function(){var pe,Se;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return pe=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[pe,pe-pe+1].concat(Se=[])),this.parent},he.prototype.node=function(pe,Se,be){var je,we;return pe!=null&&(pe=ee(pe)),Se||(Se={}),Se=ee(Se),fe(Se)||(we=[Se,be],be=we[0],Se=we[1]),je=new ie(this,pe,Se),be!=null&&je.text(be),this.children.push(je),je},he.prototype.text=function(pe){var Se;return fe(pe)&&this.element(pe),Se=new z(this,pe),this.children.push(Se),this},he.prototype.cdata=function(pe){var Se;return Se=new ue(this,pe),this.children.push(Se),this},he.prototype.comment=function(pe){var Se;return Se=new de(this,pe),this.children.push(Se),this},he.prototype.commentBefore=function(pe){var Se,be,je;return be=this.parent.children.indexOf(this),je=this.parent.children.splice(be),Se=this.parent.comment(pe),Array.prototype.push.apply(this.parent.children,je),this},he.prototype.commentAfter=function(pe){var Se,be,je;return be=this.parent.children.indexOf(this),je=this.parent.children.splice(be+1),Se=this.parent.comment(pe),Array.prototype.push.apply(this.parent.children,je),this},he.prototype.raw=function(pe){var Se;return Se=new b(this,pe),this.children.push(Se),this},he.prototype.dummy=function(){var pe;return pe=new ae(this),pe},he.prototype.instruction=function(pe,Se){var be,je,we,Oe,Ae;if(pe!=null&&(pe=ee(pe)),Se!=null&&(Se=ee(Se)),Array.isArray(pe))for(Oe=0,Ae=pe.length;Oe<Ae;Oe++)be=pe[Oe],this.instruction(be);else if(fe(pe))for(be in pe)ge.call(pe,be)&&(je=pe[be],this.instruction(be,je));else se(Se)&&(Se=Se.apply()),we=new x(this,pe,Se),this.children.push(we);return this},he.prototype.instructionBefore=function(pe,Se){var be,je,we;return je=this.parent.children.indexOf(this),we=this.parent.children.splice(je),be=this.parent.instruction(pe,Se),Array.prototype.push.apply(this.parent.children,we),this},he.prototype.instructionAfter=function(pe,Se){var be,je,we;return je=this.parent.children.indexOf(this),we=this.parent.children.splice(je+1),be=this.parent.instruction(pe,Se),Array.prototype.push.apply(this.parent.children,we),this},he.prototype.declaration=function(pe,Se,be){var je,we;return je=this.document(),we=new le(je,pe,Se,be),je.children.length===0?je.children.unshift(we):je.children[0].type===te.Declaration?je.children[0]=we:je.children.unshift(we),je.root()||je},he.prototype.dtd=function(pe,Se){var be,je,we,Oe,Ae,Fe,ke,Ve,De,ut;for(je=this.document(),we=new ce(je,pe,Se),De=je.children,Oe=Ae=0,ke=De.length;Ae<ke;Oe=++Ae)if(be=De[Oe],be.type===te.DocType)return je.children[Oe]=we,we;for(ut=je.children,Oe=Fe=0,Ve=ut.length;Fe<Ve;Oe=++Fe)if(be=ut[Oe],be.isRoot)return je.children.splice(Oe,0,we),we;return je.children.push(we),we},he.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},he.prototype.root=function(){var pe;for(pe=this;pe;){if(pe.type===te.Document)return pe.rootObject;if(pe.isRoot)return pe;pe=pe.parent}},he.prototype.document=function(){var pe;for(pe=this;pe;){if(pe.type===te.Document)return pe;pe=pe.parent}},he.prototype.end=function(pe){return this.document().end(pe)},he.prototype.prev=function(){var pe;if(pe=this.parent.children.indexOf(this),pe<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[pe-1]},he.prototype.next=function(){var pe;if(pe=this.parent.children.indexOf(this),pe===-1||pe===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[pe+1]},he.prototype.importDocument=function(pe){var Se;return Se=pe.root().clone(),Se.parent=this,Se.isRoot=!1,this.children.push(Se),this},he.prototype.debugInfo=function(pe){var Se,be;return pe=pe||this.name,pe==null&&!((Se=this.parent)!=null&&Se.name)?"":pe==null?"parent: <"+this.parent.name+">":(be=this.parent)!=null&&be.name?"node: <"+pe+">, parent: <"+this.parent.name+">":"node: <"+pe+">"},he.prototype.ele=function(pe,Se,be){return this.element(pe,Se,be)},he.prototype.nod=function(pe,Se,be){return this.node(pe,Se,be)},he.prototype.txt=function(pe){return this.text(pe)},he.prototype.dat=function(pe){return this.cdata(pe)},he.prototype.com=function(pe){return this.comment(pe)},he.prototype.ins=function(pe,Se){return this.instruction(pe,Se)},he.prototype.doc=function(){return this.document()},he.prototype.dec=function(pe,Se,be){return this.declaration(pe,Se,be)},he.prototype.e=function(pe,Se,be){return this.element(pe,Se,be)},he.prototype.n=function(pe,Se,be){return this.node(pe,Se,be)},he.prototype.t=function(pe){return this.text(pe)},he.prototype.d=function(pe){return this.cdata(pe)},he.prototype.c=function(pe){return this.comment(pe)},he.prototype.r=function(pe){return this.raw(pe)},he.prototype.i=function(pe,Se){return this.instruction(pe,Se)},he.prototype.u=function(){return this.up()},he.prototype.importXMLBuilder=function(pe){return this.importDocument(pe)},he.prototype.replaceChild=function(pe,Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.removeChild=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.appendChild=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.hasChildNodes=function(){return this.children.length!==0},he.prototype.cloneNode=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.isSupported=function(pe,Se){return!0},he.prototype.hasAttributes=function(){return this.attribs.length!==0},he.prototype.compareDocumentPosition=function(pe){var Se,be;return Se=this,Se===pe?0:this.document()!==pe.document()?(be=oe.Disconnected|oe.ImplementationSpecific,Math.random()<.5?be|=oe.Preceding:be|=oe.Following,be):Se.isAncestor(pe)?oe.Contains|oe.Preceding:Se.isDescendant(pe)?oe.Contains|oe.Following:Se.isPreceding(pe)?oe.Preceding:oe.Following},he.prototype.isSameNode=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.lookupPrefix=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.isDefaultNamespace=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.lookupNamespaceURI=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.isEqualNode=function(pe){var Se,be,je;if(pe.nodeType!==this.nodeType||pe.children.length!==this.children.length)return!1;for(Se=be=0,je=this.children.length-1;0<=je?be<=je:be>=je;Se=0<=je?++be:--be)if(!this.children[Se].isEqualNode(pe.children[Se]))return!1;return!0},he.prototype.getFeature=function(pe,Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.setUserData=function(pe,Se,be){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.getUserData=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.contains=function(pe){return pe?pe===this||this.isDescendant(pe):!1},he.prototype.isDescendant=function(pe){var Se,be,je,we,Oe;for(Oe=this.children,je=0,we=Oe.length;je<we;je++)if(Se=Oe[je],pe===Se||(be=Se.isDescendant(pe),be))return!0;return!1},he.prototype.isAncestor=function(pe){return pe.isDescendant(this)},he.prototype.isPreceding=function(pe){var Se,be;return Se=this.treePosition(pe),be=this.treePosition(this),Se===-1||be===-1?!1:Se<be},he.prototype.isFollowing=function(pe){var Se,be;return Se=this.treePosition(pe),be=this.treePosition(this),Se===-1||be===-1?!1:Se>be},he.prototype.treePosition=function(pe){var Se,be;return be=0,Se=!1,this.foreachTreeNode(this.document(),function(je){if(be++,!Se&&je===pe)return Se=!0}),Se?be:-1},he.prototype.foreachTreeNode=function(pe,Se){var be,je,we,Oe,Ae;for(pe||(pe=this.document()),Oe=pe.children,je=0,we=Oe.length;je<we;je++){if(be=Oe[je],Ae=Se(be))return Ae;if(Ae=this.foreachTreeNode(be,Se),Ae)return Ae}},he}()}).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,ye,me){(function(){var oe;ye.exports=oe=function(){function te(ue){this.nodes=ue}return Object.defineProperty(te.prototype,"length",{get:function(){return this.nodes.length||0}}),te.prototype.clone=function(){return this.nodes=null},te.prototype.item=function(ue){return this.nodes[ue]||null},te}()}).call(this)},{}],452:[function(E,ye,me){(function(){var oe,te,ue,de=function(ce,ae){for(var ie in ae)le.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;oe=E("./NodeType"),te=E("./XMLCharacterData"),ye.exports=ue=function(ce){de(ae,ce);function ae(ie,ne,a){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=oe.ProcessingInstruction,this.target=this.stringify.insTarget(ne),this.name=this.target,a&&(this.value=this.stringify.insValue(a))}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(ie))},ae.prototype.isEqualNode=function(ie){return!(!ae.__super__.isEqualNode.apply(this,arguments).isEqualNode(ie)||ie.target!==this.target)},ae}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(E,ye,me){(function(){var oe,te,ue,de=function(ce,ae){for(var ie in ae)le.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;oe=E("./NodeType"),te=E("./XMLNode"),ye.exports=ue=function(ce){de(ae,ce);function ae(ie,ne){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=oe.Raw,this.value=this.stringify.raw(ne)}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.raw(this,this.options.writer.filterOptions(ie))},ae}(te)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(E,ye,me){(function(){var oe,te,ue,de,le=function(ae,ie){for(var ne in ie)ce.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},ce={}.hasOwnProperty;oe=E("./NodeType"),de=E("./XMLWriterBase"),te=E("./WriterState"),ye.exports=ue=function(ae){le(ie,ae);function ie(ne,a){this.stream=ne,ie.__super__.constructor.call(this,a)}return ie.prototype.endline=function(ne,a,y){return ne.isLastRootNode&&a.state===te.CloseTag?"":ie.__super__.endline.call(this,ne,a,y)},ie.prototype.document=function(ne,a){var y,x,b,z,ee,re,se,fe,ve;for(se=ne.children,x=b=0,ee=se.length;b<ee;x=++b)y=se[x],y.isLastRootNode=x===ne.children.length-1;for(a=this.filterOptions(a),fe=ne.children,ve=[],z=0,re=fe.length;z<re;z++)y=fe[z],ve.push(this.writeChildNode(y,a,0));return ve},ie.prototype.attribute=function(ne,a,y){return this.stream.write(ie.__super__.attribute.call(this,ne,a,y))},ie.prototype.cdata=function(ne,a,y){return this.stream.write(ie.__super__.cdata.call(this,ne,a,y))},ie.prototype.comment=function(ne,a,y){return this.stream.write(ie.__super__.comment.call(this,ne,a,y))},ie.prototype.declaration=function(ne,a,y){return this.stream.write(ie.__super__.declaration.call(this,ne,a,y))},ie.prototype.docType=function(ne,a,y){var x,b,z,ee;if(y||(y=0),this.openNode(ne,a,y),a.state=te.OpenTag,this.stream.write(this.indent(ne,a,y)),this.stream.write("<!DOCTYPE "+ne.root().name),ne.pubID&&ne.sysID?this.stream.write(' PUBLIC "'+ne.pubID+'" "'+ne.sysID+'"'):ne.sysID&&this.stream.write(' SYSTEM "'+ne.sysID+'"'),ne.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(ne,a,y)),a.state=te.InsideTag,ee=ne.children,b=0,z=ee.length;b<z;b++)x=ee[b],this.writeChildNode(x,a,y+1);a.state=te.CloseTag,this.stream.write("]")}return a.state=te.CloseTag,this.stream.write(a.spaceBeforeSlash+">"),this.stream.write(this.endline(ne,a,y)),a.state=te.None,this.closeNode(ne,a,y)},ie.prototype.element=function(ne,a,y){var x,b,z,ee,re,se,fe,ve,ge,he;y||(y=0),this.openNode(ne,a,y),a.state=te.OpenTag,this.stream.write(this.indent(ne,a,y)+"<"+ne.name),ge=ne.attribs;for(fe in ge)ce.call(ge,fe)&&(x=ge[fe],this.attribute(x,a,y));if(z=ne.children.length,ee=z===0?null:ne.children[0],z===0||ne.children.every(function(pe){return(pe.type===oe.Text||pe.type===oe.Raw)&&pe.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=te.CloseTag,this.stream.write("</"+ne.name+">")):(a.state=te.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&z===1&&(ee.type===oe.Text||ee.type===oe.Raw)&&ee.value!=null)this.stream.write(">"),a.state=te.InsideTag,a.suppressPrettyCount++,ve=!0,this.writeChildNode(ee,a,y+1),a.suppressPrettyCount--,ve=!1,a.state=te.CloseTag,this.stream.write("</"+ne.name+">");else{for(this.stream.write(">"+this.endline(ne,a,y)),a.state=te.InsideTag,he=ne.children,re=0,se=he.length;re<se;re++)b=he[re],this.writeChildNode(b,a,y+1);a.state=te.CloseTag,this.stream.write(this.indent(ne,a,y)+"</"+ne.name+">")}return this.stream.write(this.endline(ne,a,y)),a.state=te.None,this.closeNode(ne,a,y)},ie.prototype.processingInstruction=function(ne,a,y){return this.stream.write(ie.__super__.processingInstruction.call(this,ne,a,y))},ie.prototype.raw=function(ne,a,y){return this.stream.write(ie.__super__.raw.call(this,ne,a,y))},ie.prototype.text=function(ne,a,y){return this.stream.write(ie.__super__.text.call(this,ne,a,y))},ie.prototype.dtdAttList=function(ne,a,y){return this.stream.write(ie.__super__.dtdAttList.call(this,ne,a,y))},ie.prototype.dtdElement=function(ne,a,y){return this.stream.write(ie.__super__.dtdElement.call(this,ne,a,y))},ie.prototype.dtdEntity=function(ne,a,y){return this.stream.write(ie.__super__.dtdEntity.call(this,ne,a,y))},ie.prototype.dtdNotation=function(ne,a,y){return this.stream.write(ie.__super__.dtdNotation.call(this,ne,a,y))},ie}(de)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,ye,me){(function(){var oe,te,ue=function(le,ce){for(var ae in ce)de.call(ce,ae)&&(le[ae]=ce[ae]);function ie(){this.constructor=le}return ie.prototype=ce.prototype,le.prototype=new ie,le.__super__=ce.prototype,le},de={}.hasOwnProperty;te=E("./XMLWriterBase"),ye.exports=oe=function(le){ue(ce,le);function ce(ae){ce.__super__.constructor.call(this,ae)}return ce.prototype.document=function(ae,ie){var ne,a,y,x,b;for(ie=this.filterOptions(ie),x="",b=ae.children,a=0,y=b.length;a<y;a++)ne=b[a],x+=this.writeChildNode(ne,ie,0);return ie.pretty&&x.slice(-ie.newline.length)===ie.newline&&(x=x.slice(0,-ie.newline.length)),x},ce}(te)}).call(this)},{"./XMLWriterBase":458}],456:[function(E,ye,me){(function(){var oe,te=function(de,le){return function(){return de.apply(le,arguments)}},ue={}.hasOwnProperty;ye.exports=oe=function(){function de(le){this.assertLegalName=te(this.assertLegalName,this),this.assertLegalChar=te(this.assertLegalChar,this);var ce,ae,ie;le||(le={}),this.options=le,this.options.version||(this.options.version="1.0"),ae=le.stringify||{};for(ce in ae)ue.call(ae,ce)&&(ie=ae[ce],this[ce]=ie)}return de.prototype.name=function(le){return this.options.noValidation?le:this.assertLegalName(""+le||"")},de.prototype.text=function(le){return this.options.noValidation?le:this.assertLegalChar(this.textEscape(""+le||""))},de.prototype.cdata=function(le){return this.options.noValidation?le:(le=""+le||"",le=le.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(le))},de.prototype.comment=function(le){if(this.options.noValidation)return le;if(le=""+le||"",le.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+le);return this.assertLegalChar(le)},de.prototype.raw=function(le){return this.options.noValidation?le:""+le||""},de.prototype.attValue=function(le){return this.options.noValidation?le:this.assertLegalChar(this.attEscape(le=""+le||""))},de.prototype.insTarget=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.insValue=function(le){if(this.options.noValidation)return le;if(le=""+le||"",le.match(/\?>/))throw new Error("Invalid processing instruction value: "+le);return this.assertLegalChar(le)},de.prototype.xmlVersion=function(le){if(this.options.noValidation)return le;if(le=""+le||"",!le.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+le);return le},de.prototype.xmlEncoding=function(le){if(this.options.noValidation)return le;if(le=""+le||"",!le.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+le);return this.assertLegalChar(le)},de.prototype.xmlStandalone=function(le){return this.options.noValidation?le:le?"yes":"no"},de.prototype.dtdPubID=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdSysID=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdElementValue=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdAttType=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdAttDefault=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdEntityValue=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdNData=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.convertAttKey="@",de.prototype.convertPIKey="?",de.prototype.convertTextKey="#text",de.prototype.convertCDataKey="#cdata",de.prototype.convertCommentKey="#comment",de.prototype.convertRawKey="#raw",de.prototype.assertLegalChar=function(le){var ce,ae;if(this.options.noValidation)return le;if(ce="",this.options.version==="1.0"){if(ce=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ae=le.match(ce))throw new Error("Invalid character in string: "+le+" at index "+ae.index)}else if(this.options.version==="1.1"&&(ce=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ae=le.match(ce)))throw new Error("Invalid character in string: "+le+" at index "+ae.index);return le},de.prototype.assertLegalName=function(le){var ce;if(this.options.noValidation)return le;if(this.assertLegalChar(le),ce=/^([: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])*$/,!le.match(ce))throw new Error("Invalid character in name");return le},de.prototype.textEscape=function(le){var ce;return this.options.noValidation?le:(ce=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,le.replace(ce,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},de.prototype.attEscape=function(le){var ce;return this.options.noValidation?le:(ce=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,le.replace(ce,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},de}()}).call(this)},{}],457:[function(E,ye,me){(function(){var oe,te,ue,de=function(ce,ae){for(var ie in ae)le.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;oe=E("./NodeType"),te=E("./XMLCharacterData"),ye.exports=ue=function(ce){de(ae,ce);function ae(ie,ne){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=oe.Text,this.value=this.stringify.text(ne)}return Object.defineProperty(ae.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(ae.prototype,"wholeText",{get:function(){var ie,ne,a;for(a="",ne=this.previousSibling;ne;)a=ne.data+a,ne=ne.previousSibling;for(a+=this.data,ie=this.nextSibling;ie;)a=a+ie.data,ie=ie.nextSibling;return a}}),ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.text(this,this.options.writer.filterOptions(ie))},ae.prototype.splitText=function(ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.replaceWholeText=function(ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(E,ye,me){(function(){var oe,te,ue,de,le,ce,ae,ie,ne,a,y,x,b,z,ee,re,se,fe={}.hasOwnProperty;se=E("./Utility").assign,oe=E("./NodeType"),ne=E("./XMLDeclaration"),a=E("./XMLDocType"),ue=E("./XMLCData"),de=E("./XMLComment"),x=E("./XMLElement"),z=E("./XMLRaw"),ee=E("./XMLText"),b=E("./XMLProcessingInstruction"),y=E("./XMLDummy"),le=E("./XMLDTDAttList"),ce=E("./XMLDTDElement"),ae=E("./XMLDTDEntity"),ie=E("./XMLDTDNotation"),te=E("./WriterState"),ye.exports=re=function(){function ve(ge){var he,pe,Se;ge||(ge={}),this.options=ge,pe=ge.writer||{};for(he in pe)fe.call(pe,he)&&(Se=pe[he],this["_"+he]=this[he],this[he]=Se)}return ve.prototype.filterOptions=function(ge){var he,pe,Se,be,je,we,Oe,Ae;return ge||(ge={}),ge=se({},this.options,ge),he={writer:this},he.pretty=ge.pretty||!1,he.allowEmpty=ge.allowEmpty||!1,he.indent=(pe=ge.indent)!=null?pe:" ",he.newline=(Se=ge.newline)!=null?Se:`
|
|
`,he.offset=(be=ge.offset)!=null?be:0,he.dontPrettyTextNodes=(je=(we=ge.dontPrettyTextNodes)!=null?we:ge.dontprettytextnodes)!=null?je:0,he.spaceBeforeSlash=(Oe=(Ae=ge.spaceBeforeSlash)!=null?Ae:ge.spacebeforeslash)!=null?Oe:"",he.spaceBeforeSlash===!0&&(he.spaceBeforeSlash=" "),he.suppressPrettyCount=0,he.user={},he.state=te.None,he},ve.prototype.indent=function(ge,he,pe){var Se;return!he.pretty||he.suppressPrettyCount?"":he.pretty&&(Se=(pe||0)+he.offset+1,Se>0)?new Array(Se).join(he.indent):""},ve.prototype.endline=function(ge,he,pe){return!he.pretty||he.suppressPrettyCount?"":he.newline},ve.prototype.attribute=function(ge,he,pe){var Se;return this.openAttribute(ge,he,pe),Se=" "+ge.name+'="'+ge.value+'"',this.closeAttribute(ge,he,pe),Se},ve.prototype.cdata=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+"<![CDATA[",he.state=te.InsideTag,Se+=ge.value,he.state=te.CloseTag,Se+="]]>"+this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.comment=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+"<!-- ",he.state=te.InsideTag,Se+=ge.value,he.state=te.CloseTag,Se+=" -->"+this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.declaration=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+"<?xml",he.state=te.InsideTag,Se+=' version="'+ge.version+'"',ge.encoding!=null&&(Se+=' encoding="'+ge.encoding+'"'),ge.standalone!=null&&(Se+=' standalone="'+ge.standalone+'"'),he.state=te.CloseTag,Se+=he.spaceBeforeSlash+"?>",Se+=this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.docType=function(ge,he,pe){var Se,be,je,we,Oe;if(pe||(pe=0),this.openNode(ge,he,pe),he.state=te.OpenTag,we=this.indent(ge,he,pe),we+="<!DOCTYPE "+ge.root().name,ge.pubID&&ge.sysID?we+=' PUBLIC "'+ge.pubID+'" "'+ge.sysID+'"':ge.sysID&&(we+=' SYSTEM "'+ge.sysID+'"'),ge.children.length>0){for(we+=" [",we+=this.endline(ge,he,pe),he.state=te.InsideTag,Oe=ge.children,be=0,je=Oe.length;be<je;be++)Se=Oe[be],we+=this.writeChildNode(Se,he,pe+1);he.state=te.CloseTag,we+="]"}return he.state=te.CloseTag,we+=he.spaceBeforeSlash+">",we+=this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),we},ve.prototype.element=function(ge,he,pe){var Se,be,je,we,Oe,Ae,Fe,ke,Ve,De,ut,nt,qe,Xe;pe||(pe=0),De=!1,ut="",this.openNode(ge,he,pe),he.state=te.OpenTag,ut+=this.indent(ge,he,pe)+"<"+ge.name,nt=ge.attribs;for(Ve in nt)fe.call(nt,Ve)&&(Se=nt[Ve],ut+=this.attribute(Se,he,pe));if(je=ge.children.length,we=je===0?null:ge.children[0],je===0||ge.children.every(function($e){return($e.type===oe.Text||$e.type===oe.Raw)&&$e.value===""}))he.allowEmpty?(ut+=">",he.state=te.CloseTag,ut+="</"+ge.name+">"+this.endline(ge,he,pe)):(he.state=te.CloseTag,ut+=he.spaceBeforeSlash+"/>"+this.endline(ge,he,pe));else if(he.pretty&&je===1&&(we.type===oe.Text||we.type===oe.Raw)&&we.value!=null)ut+=">",he.state=te.InsideTag,he.suppressPrettyCount++,De=!0,ut+=this.writeChildNode(we,he,pe+1),he.suppressPrettyCount--,De=!1,he.state=te.CloseTag,ut+="</"+ge.name+">"+this.endline(ge,he,pe);else{if(he.dontPrettyTextNodes){for(qe=ge.children,Oe=0,Fe=qe.length;Oe<Fe;Oe++)if(be=qe[Oe],(be.type===oe.Text||be.type===oe.Raw)&&be.value!=null){he.suppressPrettyCount++,De=!0;break}}for(ut+=">"+this.endline(ge,he,pe),he.state=te.InsideTag,Xe=ge.children,Ae=0,ke=Xe.length;Ae<ke;Ae++)be=Xe[Ae],ut+=this.writeChildNode(be,he,pe+1);he.state=te.CloseTag,ut+=this.indent(ge,he,pe)+"</"+ge.name+">",De&&he.suppressPrettyCount--,ut+=this.endline(ge,he,pe),he.state=te.None}return this.closeNode(ge,he,pe),ut},ve.prototype.writeChildNode=function(ge,he,pe){switch(ge.type){case oe.CData:return this.cdata(ge,he,pe);case oe.Comment:return this.comment(ge,he,pe);case oe.Element:return this.element(ge,he,pe);case oe.Raw:return this.raw(ge,he,pe);case oe.Text:return this.text(ge,he,pe);case oe.ProcessingInstruction:return this.processingInstruction(ge,he,pe);case oe.Dummy:return"";case oe.Declaration:return this.declaration(ge,he,pe);case oe.DocType:return this.docType(ge,he,pe);case oe.AttributeDeclaration:return this.dtdAttList(ge,he,pe);case oe.ElementDeclaration:return this.dtdElement(ge,he,pe);case oe.EntityDeclaration:return this.dtdEntity(ge,he,pe);case oe.NotationDeclaration:return this.dtdNotation(ge,he,pe);default:throw new Error("Unknown XML node type: "+ge.constructor.name)}},ve.prototype.processingInstruction=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+"<?",he.state=te.InsideTag,Se+=ge.target,ge.value&&(Se+=" "+ge.value),he.state=te.CloseTag,Se+=he.spaceBeforeSlash+"?>",Se+=this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.raw=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe),he.state=te.InsideTag,Se+=ge.value,he.state=te.CloseTag,Se+=this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.text=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe),he.state=te.InsideTag,Se+=ge.value,he.state=te.CloseTag,Se+=this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.dtdAttList=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+"<!ATTLIST",he.state=te.InsideTag,Se+=" "+ge.elementName+" "+ge.attributeName+" "+ge.attributeType,ge.defaultValueType!=="#DEFAULT"&&(Se+=" "+ge.defaultValueType),ge.defaultValue&&(Se+=' "'+ge.defaultValue+'"'),he.state=te.CloseTag,Se+=he.spaceBeforeSlash+">"+this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.dtdElement=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+"<!ELEMENT",he.state=te.InsideTag,Se+=" "+ge.name+" "+ge.value,he.state=te.CloseTag,Se+=he.spaceBeforeSlash+">"+this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.dtdEntity=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+"<!ENTITY",he.state=te.InsideTag,ge.pe&&(Se+=" %"),Se+=" "+ge.name,ge.value?Se+=' "'+ge.value+'"':(ge.pubID&&ge.sysID?Se+=' PUBLIC "'+ge.pubID+'" "'+ge.sysID+'"':ge.sysID&&(Se+=' SYSTEM "'+ge.sysID+'"'),ge.nData&&(Se+=" NDATA "+ge.nData)),he.state=te.CloseTag,Se+=he.spaceBeforeSlash+">"+this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.dtdNotation=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+"<!NOTATION",he.state=te.InsideTag,Se+=" "+ge.name,ge.pubID&&ge.sysID?Se+=' PUBLIC "'+ge.pubID+'" "'+ge.sysID+'"':ge.pubID?Se+=' PUBLIC "'+ge.pubID+'"':ge.sysID&&(Se+=' SYSTEM "'+ge.sysID+'"'),he.state=te.CloseTag,Se+=he.spaceBeforeSlash+">"+this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.openNode=function(ge,he,pe){},ve.prototype.closeNode=function(ge,he,pe){},ve.prototype.openAttribute=function(ge,he,pe){},ve.prototype.closeAttribute=function(ge,he,pe){},ve}()}).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,ye,me){(function(){var oe,te,ue,de,le,ce,ae,ie,ne,a;a=E("./Utility"),ie=a.assign,ne=a.isFunction,ue=E("./XMLDOMImplementation"),de=E("./XMLDocument"),le=E("./XMLDocumentCB"),ae=E("./XMLStringWriter"),ce=E("./XMLStreamWriter"),oe=E("./NodeType"),te=E("./WriterState"),ye.exports.create=function(y,x,b,z){var ee,re;if(y==null)throw new Error("Root element needs a name.");return z=ie({},x,b,z),ee=new de(z),re=ee.element(y),z.headless||(ee.declaration(z),(z.pubID!=null||z.sysID!=null)&&ee.dtd(z)),re},ye.exports.begin=function(y,x,b){var z;return ne(y)&&(z=[y,x],x=z[0],b=z[1],y={}),x?new le(y,x,b):new de(y)},ye.exports.stringWriter=function(y){return new ae(y)},ye.exports.streamWriter=function(y,x){return new ce(y,x)},ye.exports.implementation=new ue,ye.exports.nodeType=oe,ye.exports.writerState=te}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,ye,me){ye.exports=te;var oe=Object.prototype.hasOwnProperty;function te(){for(var ue={},de=0;de<arguments.length;de++){var le=arguments[de];for(var ce in le)oe.call(le,ce)&&(ue[ce]=le[ce])}return ue}},{}],461:[function(E,ye,me){"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 oe=E("buffer").Buffer,te=E("./sha"),ue=E("./md5"),de={sha1:te,md5:ue},le=64,ce=oe.alloc(le);ce.fill(0);function ae(a,y,x){oe.isBuffer(y)||(y=oe.from(y)),oe.isBuffer(x)||(x=oe.from(x)),y.length>le?y=a(y):y.length<le&&(y=oe.concat([y,ce],le));for(var b=oe.alloc(le),z=oe.alloc(le),ee=0;ee<le;ee++)b[ee]=y[ee]^54,z[ee]=y[ee]^92;var re=a(oe.concat([b,x]));return a(oe.concat([z,re]))}function ie(a,y){a=a||"sha1";var x=de[a],b=[],z=0;return x||ne("algorithm:",a,"is not yet supported"),{update:function(re){return oe.isBuffer(re)||(re=oe.from(re)),b.push(re),z+=re.length,this},digest:function(re){var se=oe.concat(b),fe=y?ae(x,y,se):x(se);return b=null,re?fe.toString(re):fe}}}function ne(){var a=[].slice.call(arguments).join(" ");throw new Error([a,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
`))}me.createHash=function(a){return ie(a)},me.createHmac=function(a,y){return ie(a,y)},me.createCredentials=function(){ne("sorry,createCredentials is not implemented yet")},me.createCipher=function(){ne("sorry,createCipher is not implemented yet")},me.createCipheriv=function(){ne("sorry,createCipheriv is not implemented yet")},me.createDecipher=function(){ne("sorry,createDecipher is not implemented yet")},me.createDecipheriv=function(){ne("sorry,createDecipheriv is not implemented yet")},me.createSign=function(){ne("sorry,createSign is not implemented yet")},me.createVerify=function(){ne("sorry,createVerify is not implemented yet")},me.createDiffieHellman=function(){ne("sorry,createDiffieHellman is not implemented yet")},me.pbkdf2=function(){ne("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,ye,me){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js");var oe=E("buffer").Buffer,te=4,ue=oe.alloc(te);ue.fill(0);var de=8;function le(ie,ne){if(ie.length%te!==0){var a=ie.length+(te-ie.length%te);ie=oe.concat([ie,ue],a)}for(var y=[],x=ne?ie.readInt32BE:ie.readInt32LE,b=0;b<ie.length;b+=te)y.push(x.call(ie,b));return y}function ce(ie,ne,a){for(var y=oe.alloc(ne),x=a?y.writeInt32BE:y.writeInt32LE,b=0;b<ie.length;b++)x.call(y,ie[b],b*4,!0);return y}function ae(ie,ne,a,y){oe.isBuffer(ie)||(ie=oe.from(ie));var x=ne(le(ie,y),ie.length*de);return ce(x,a,y)}ye.exports={hash:ae}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(E,ye,me){"use strict";var oe=E("./helpers");function te(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function ue(y,x){y[x>>5]|=128<<x%32,y[(x+64>>>9<<4)+14]=x;for(var b=1732584193,z=-271733879,ee=-1732584194,re=271733878,se=0;se<y.length;se+=16){var fe=b,ve=z,ge=ee,he=re;b=le(b,z,ee,re,y[se+0],7,-680876936),re=le(re,b,z,ee,y[se+1],12,-389564586),ee=le(ee,re,b,z,y[se+2],17,606105819),z=le(z,ee,re,b,y[se+3],22,-1044525330),b=le(b,z,ee,re,y[se+4],7,-176418897),re=le(re,b,z,ee,y[se+5],12,1200080426),ee=le(ee,re,b,z,y[se+6],17,-1473231341),z=le(z,ee,re,b,y[se+7],22,-45705983),b=le(b,z,ee,re,y[se+8],7,1770035416),re=le(re,b,z,ee,y[se+9],12,-1958414417),ee=le(ee,re,b,z,y[se+10],17,-42063),z=le(z,ee,re,b,y[se+11],22,-1990404162),b=le(b,z,ee,re,y[se+12],7,1804603682),re=le(re,b,z,ee,y[se+13],12,-40341101),ee=le(ee,re,b,z,y[se+14],17,-1502002290),z=le(z,ee,re,b,y[se+15],22,1236535329),b=ce(b,z,ee,re,y[se+1],5,-165796510),re=ce(re,b,z,ee,y[se+6],9,-1069501632),ee=ce(ee,re,b,z,y[se+11],14,643717713),z=ce(z,ee,re,b,y[se+0],20,-373897302),b=ce(b,z,ee,re,y[se+5],5,-701558691),re=ce(re,b,z,ee,y[se+10],9,38016083),ee=ce(ee,re,b,z,y[se+15],14,-660478335),z=ce(z,ee,re,b,y[se+4],20,-405537848),b=ce(b,z,ee,re,y[se+9],5,568446438),re=ce(re,b,z,ee,y[se+14],9,-1019803690),ee=ce(ee,re,b,z,y[se+3],14,-187363961),z=ce(z,ee,re,b,y[se+8],20,1163531501),b=ce(b,z,ee,re,y[se+13],5,-1444681467),re=ce(re,b,z,ee,y[se+2],9,-51403784),ee=ce(ee,re,b,z,y[se+7],14,1735328473),z=ce(z,ee,re,b,y[se+12],20,-1926607734),b=ae(b,z,ee,re,y[se+5],4,-378558),re=ae(re,b,z,ee,y[se+8],11,-2022574463),ee=ae(ee,re,b,z,y[se+11],16,1839030562),z=ae(z,ee,re,b,y[se+14],23,-35309556),b=ae(b,z,ee,re,y[se+1],4,-1530992060),re=ae(re,b,z,ee,y[se+4],11,1272893353),ee=ae(ee,re,b,z,y[se+7],16,-155497632),z=ae(z,ee,re,b,y[se+10],23,-1094730640),b=ae(b,z,ee,re,y[se+13],4,681279174),re=ae(re,b,z,ee,y[se+0],11,-358537222),ee=ae(ee,re,b,z,y[se+3],16,-722521979),z=ae(z,ee,re,b,y[se+6],23,76029189),b=ae(b,z,ee,re,y[se+9],4,-640364487),re=ae(re,b,z,ee,y[se+12],11,-421815835),ee=ae(ee,re,b,z,y[se+15],16,530742520),z=ae(z,ee,re,b,y[se+2],23,-995338651),b=ie(b,z,ee,re,y[se+0],6,-198630844),re=ie(re,b,z,ee,y[se+7],10,1126891415),ee=ie(ee,re,b,z,y[se+14],15,-1416354905),z=ie(z,ee,re,b,y[se+5],21,-57434055),b=ie(b,z,ee,re,y[se+12],6,1700485571),re=ie(re,b,z,ee,y[se+3],10,-1894986606),ee=ie(ee,re,b,z,y[se+10],15,-1051523),z=ie(z,ee,re,b,y[se+1],21,-2054922799),b=ie(b,z,ee,re,y[se+8],6,1873313359),re=ie(re,b,z,ee,y[se+15],10,-30611744),ee=ie(ee,re,b,z,y[se+6],15,-1560198380),z=ie(z,ee,re,b,y[se+13],21,1309151649),b=ie(b,z,ee,re,y[se+4],6,-145523070),re=ie(re,b,z,ee,y[se+11],10,-1120210379),ee=ie(ee,re,b,z,y[se+2],15,718787259),z=ie(z,ee,re,b,y[se+9],21,-343485551),b=ne(b,fe),z=ne(z,ve),ee=ne(ee,ge),re=ne(re,he)}return Array(b,z,ee,re)}function de(y,x,b,z,ee,re){return ne(a(ne(ne(x,y),ne(z,re)),ee),b)}function le(y,x,b,z,ee,re,se){return de(x&b|~x&z,y,x,ee,re,se)}function ce(y,x,b,z,ee,re,se){return de(x&z|b&~z,y,x,ee,re,se)}function ae(y,x,b,z,ee,re,se){return de(x^b^z,y,x,ee,re,se)}function ie(y,x,b,z,ee,re,se){return de(b^(x|~z),y,x,ee,re,se)}function ne(y,x){var b=(y&65535)+(x&65535),z=(y>>16)+(x>>16)+(b>>16);return z<<16|b&65535}function a(y,x){return y<<x|y>>>32-x}ye.exports=function(x){return oe.hash(x,ue,16)}},{"./helpers":462}],464:[function(E,ye,me){"use strict";var oe=E("./helpers");function te(ae,ie){ae[ie>>5]|=128<<24-ie%32,ae[(ie+64>>9<<4)+15]=ie;for(var ne=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,z=-1009589776,ee=0;ee<ae.length;ee+=16){for(var re=a,se=y,fe=x,ve=b,ge=z,he=0;he<80;he++){he<16?ne[he]=ae[ee+he]:ne[he]=ce(ne[he-3]^ne[he-8]^ne[he-14]^ne[he-16],1);var pe=le(le(ce(a,5),ue(he,y,x,b)),le(le(z,ne[he]),de(he)));z=b,b=x,x=ce(y,30),y=a,a=pe}a=le(a,re),y=le(y,se),x=le(x,fe),b=le(b,ve),z=le(z,ge)}return Array(a,y,x,b,z)}function ue(ae,ie,ne,a){return ae<20?ie&ne|~ie&a:ae<40?ie^ne^a:ae<60?ie&ne|ie&a|ne&a:ie^ne^a}function de(ae){return ae<20?1518500249:ae<40?1859775393:ae<60?-1894007588:-899497514}function le(ae,ie){var ne=(ae&65535)+(ie&65535),a=(ae>>16)+(ie>>16)+(ne>>16);return a<<16|ne&65535}function ce(ae,ie){return ae<<ie|ae>>>32-ie}ye.exports=function(ie){return oe.hash(ie,te,20,!0)}},{"./helpers":462}],465:[function(E,ye,me){"use strict";ye.exports=function(){return function(){}}},{}],466:[function(E,ye,me){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),ue=te(E("@babel/runtime/helpers/typeof")),de=E("stream"),le=de.Stream,ce=E("../lib/common/utils/isArray"),ae=ce.isArray;ye.exports.string=function(a){return typeof a=="string"},ye.exports.array=ae,ye.exports.buffer=oe.isBuffer;function ie(ne){return ne instanceof le}ye.exports.writableStream=function(a){return ie(a)&&typeof a._write=="function"&&(0,ue.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,ye,me){"use strict";var oe=E("immediate"),te=ye.exports={};te.nextTick=oe,te.title="browser",te.browser=!0,te.env={},te.argv=[],te.version="",te.versions={};function ue(){}te.on=ue,te.addListener=ue,te.once=ue,te.off=ue,te.removeListener=ue,te.removeAllListeners=ue,te.emit=ue,te.prependListener=ue,te.prependOnceListener=ue,te.listeners=function(de){return[]},te.binding=function(de){throw new Error("process.binding is not supported")},te.cwd=function(){return"/"},te.chdir=function(de){throw new Error("process.chdir is not supported")},te.umask=function(){return 0}},{immediate:358}],468:[function(E,ye,me){(function(oe){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var te=E("./lib/request"),ue=E("./lib/response"),de=E("xtend"),le=E("builtin-status-codes"),ce=E("url"),ae=me;ae.request=function(ie,ne){typeof ie=="string"?ie=ce.parse(ie):ie=de(ie);var a=oe.location.protocol.search(/^https?:$/)===-1?"http:":"",y=ie.protocol||a,x=ie.hostname||ie.host,b=ie.port,z=ie.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),ie.url=(x?y+"//"+x:"")+(b?":"+b:"")+z,ie.method=(ie.method||"GET").toUpperCase(),ie.headers=ie.headers||{};var ee=new te(ie);return ne&&ee.on("response",ne),ee},ae.get=function(ne,a){var y=ae.request(ne,a);return y.end(),y},ae.ClientRequest=te,ae.IncomingMessage=ue.IncomingMessage,ae.Agent=function(){},ae.Agent.defaultMaxSockets=4,ae.globalAgent=new ae.Agent,ae.STATUS_CODES=le,ae.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 Ct!="undefined"?Ct: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,ye,me){(function(oe){(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"),me.fetch=ae(oe.fetch)&&ae(oe.ReadableStream),me.writableStream=ae(oe.WritableStream),me.abortController=ae(oe.AbortController),me.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),me.blobConstructor=!0}catch(ie){}var te;function ue(){if(te!==void 0)return te;if(oe.XMLHttpRequest){te=new oe.XMLHttpRequest;try{te.open("GET",oe.XDomainRequest?"/":"https://example.com")}catch(ie){te=null}}else te=null;return te}function de(ie){var ne=ue();if(!ne)return!1;try{return ne.responseType=ie,ne.responseType===ie}catch(a){}return!1}var le=typeof oe.ArrayBuffer!="undefined",ce=le&&ae(oe.ArrayBuffer.prototype.slice);me.arraybuffer=me.fetch||le&&de("arraybuffer"),me.msstream=!me.fetch&&ce&&de("ms-stream"),me.mozchunkedarraybuffer=!me.fetch&&le&&de("moz-chunked-arraybuffer"),me.overrideMimeType=me.fetch||(ue()?ae(ue().overrideMimeType):!1),me.vbArray=ae(oe.VBArray);function ae(ie){return typeof ie=="function"}te=null}).call(this)}).call(this,typeof Ct!="undefined"?Ct: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,ye,me){(function(oe,te,ue){(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 de=E("./capability"),le=E("inherits"),ce=E("./response"),ae=E("readable-stream"),ie=E("to-arraybuffer"),ne=ce.IncomingMessage,a=ce.readyStates;function y(ee,re){return de.fetch&&re?"fetch":de.mozchunkedarraybuffer?"moz-chunked-arraybuffer":de.msstream?"ms-stream":de.arraybuffer&&ee?"arraybuffer":de.vbArray&&ee?"text:vbarray":"text"}var x=ye.exports=function(ee){var re=this;ae.Writable.call(re),re._opts=ee,re._body=[],re._headers={},ee.auth&&re.setHeader("Authorization","Basic "+new ue(ee.auth).toString("base64")),Object.keys(ee.headers).forEach(function(ve){re.setHeader(ve,ee.headers[ve])});var se,fe=!0;if(ee.mode==="disable-fetch"||"requestTimeout"in ee&&!de.abortController)fe=!1,se=!0;else if(ee.mode==="prefer-streaming")se=!1;else if(ee.mode==="allow-wrong-content-type")se=!de.overrideMimeType;else if(!ee.mode||ee.mode==="default"||ee.mode==="prefer-fast")se=!0;else throw new Error("Invalid value for opts.mode");re._mode=y(se,fe),re._fetchTimer=null,re.on("finish",function(){re._onFinish()})};le(x,ae.Writable),x.prototype.setHeader=function(ee,re){var se=this,fe=ee.toLowerCase();z.indexOf(fe)===-1&&(se._headers[fe]={name:ee,value:re})},x.prototype.getHeader=function(ee){var re=this._headers[ee.toLowerCase()];return re?re.value:null},x.prototype.removeHeader=function(ee){var re=this;delete re._headers[ee.toLowerCase()]},x.prototype._onFinish=function(){var ee=this;if(!ee._destroyed){var re=ee._opts,se=ee._headers,fe=null;re.method!=="GET"&&re.method!=="HEAD"&&(de.arraybuffer?fe=ie(ue.concat(ee._body)):de.blobConstructor?fe=new te.Blob(ee._body.map(function(be){return ie(be)}),{type:(se["content-type"]||{}).value||""}):fe=ue.concat(ee._body).toString());var ve=[];if(Object.keys(se).forEach(function(be){var je=se[be].name,we=se[be].value;Array.isArray(we)?we.forEach(function(Oe){ve.push([je,Oe])}):ve.push([je,we])}),ee._mode==="fetch"){var ge=null,he=null;if(de.abortController){var pe=new AbortController;ge=pe.signal,ee._fetchAbortController=pe,"requestTimeout"in re&&re.requestTimeout!==0&&(ee._fetchTimer=te.setTimeout(function(){ee.emit("requestTimeout"),ee._fetchAbortController&&ee._fetchAbortController.abort()},re.requestTimeout))}te.fetch(ee._opts.url,{method:ee._opts.method,headers:ve,body:fe||void 0,mode:"cors",credentials:re.withCredentials?"include":"same-origin",signal:ge}).then(function(be){ee._fetchResponse=be,ee._connect()},function(be){te.clearTimeout(ee._fetchTimer),ee._destroyed||ee.emit("error",be)})}else{var Se=ee._xhr=new te.XMLHttpRequest;try{Se.open(ee._opts.method,ee._opts.url,!0)}catch(be){oe.nextTick(function(){ee.emit("error",be)});return}"responseType"in Se&&(Se.responseType=ee._mode.split(":")[0]),"withCredentials"in Se&&(Se.withCredentials=!!re.withCredentials),ee._mode==="text"&&"overrideMimeType"in Se&&Se.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in re&&(Se.timeout=re.requestTimeout,Se.ontimeout=function(){ee.emit("requestTimeout")}),ve.forEach(function(be){Se.setRequestHeader(be[0],be[1])}),ee._response=null,Se.onreadystatechange=function(){switch(Se.readyState){case a.LOADING:case a.DONE:ee._onXHRProgress();break}},ee._mode==="moz-chunked-arraybuffer"&&(Se.onprogress=function(){ee._onXHRProgress()}),Se.onerror=function(){ee._destroyed||ee.emit("error",new Error("XHR error"))};try{Se.send(fe)}catch(be){oe.nextTick(function(){ee.emit("error",be)});return}}}};function b(ee){try{var re=ee.status;return re!==null&&re!==0}catch(se){return!1}}x.prototype._onXHRProgress=function(){var ee=this;!b(ee._xhr)||ee._destroyed||(ee._response||ee._connect(),ee._response._onXHRProgress())},x.prototype._connect=function(){var ee=this;ee._destroyed||(ee._response=new ne(ee._xhr,ee._fetchResponse,ee._mode,ee._fetchTimer),ee._response.on("error",function(re){ee.emit("error",re)}),ee.emit("response",ee._response))},x.prototype._write=function(ee,re,se){var fe=this;fe._body.push(ee),se()},x.prototype.abort=x.prototype.destroy=function(){var ee=this;ee._destroyed=!0,te.clearTimeout(ee._fetchTimer),ee._response&&(ee._response._destroyed=!0),ee._xhr?ee._xhr.abort():ee._fetchAbortController&&ee._fetchAbortController.abort()},x.prototype.end=function(ee,re,se){var fe=this;typeof ee=="function"&&(se=ee,ee=void 0),ae.Writable.prototype.end.call(fe,ee,re,se)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var z=["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 Ct!="undefined"?Ct: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,ye,me){(function(oe,te,ue){(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 de=E("./capability"),le=E("inherits"),ce=E("readable-stream"),ae=me.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ie=me.IncomingMessage=function(ne,a,y,x){var b=this;if(ce.Readable.call(b),b._mode=y,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){oe.nextTick(function(){b.emit("close")})}),y==="fetch"){var z=function ge(){re.read().then(function(he){if(!b._destroyed){if(he.done){te.clearTimeout(x),b.push(null);return}b.push(new ue(he.value)),ge()}}).catch(function(he){te.clearTimeout(x),b._destroyed||b.emit("error",he)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(ge,he){b.headers[he.toLowerCase()]=ge,b.rawHeaders.push(he,ge)}),de.writableStream){var ee=new WritableStream({write:function(he){return new Promise(function(pe,Se){b._destroyed?Se():b.push(new ue(he))?pe():b._resumeFetch=pe})},close:function(){te.clearTimeout(x),b._destroyed||b.push(null)},abort:function(he){b._destroyed||b.emit("error",he)}});try{a.body.pipeTo(ee).catch(function(ge){te.clearTimeout(x),b._destroyed||b.emit("error",ge)});return}catch(ge){}}var re=a.body.getReader();z()}else{b._xhr=ne,b._pos=0,b.url=ne.responseURL,b.statusCode=ne.status,b.statusMessage=ne.statusText;var se=ne.getAllResponseHeaders().split(/\r?\n/);if(se.forEach(function(ge){var he=ge.match(/^([^:]+):\s*(.*)/);if(he){var pe=he[1].toLowerCase();pe==="set-cookie"?(b.headers[pe]===void 0&&(b.headers[pe]=[]),b.headers[pe].push(he[2])):b.headers[pe]!==void 0?b.headers[pe]+=", "+he[2]:b.headers[pe]=he[2],b.rawHeaders.push(he[1],he[2])}}),b._charset="x-user-defined",!de.overrideMimeType){var fe=b.rawHeaders["mime-type"];if(fe){var ve=fe.match(/;\s*charset=([^;])(;|$)/);ve&&(b._charset=ve[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};le(ie,ce.Readable),ie.prototype._read=function(){var ne=this,a=ne._resumeFetch;a&&(ne._resumeFetch=null,a())},ie.prototype._onXHRProgress=function(){var ne=this,a=ne._xhr,y=null;switch(ne._mode){case"text:vbarray":if(a.readyState!==ae.DONE)break;try{y=new te.VBArray(a.responseBody).toArray()}catch(re){}if(y!==null){ne.push(new ue(y));break}case"text":try{y=a.responseText}catch(re){ne._mode="text:vbarray";break}if(y.length>ne._pos){var x=y.substr(ne._pos);if(ne._charset==="x-user-defined"){for(var b=new ue(x.length),z=0;z<x.length;z++)b[z]=x.charCodeAt(z)&255;ne.push(b)}else ne.push(x,ne._charset);ne._pos=y.length}break;case"arraybuffer":if(a.readyState!==ae.DONE||!a.response)break;y=a.response,ne.push(new ue(new Uint8Array(y)));break;case"moz-chunked-arraybuffer":if(y=a.response,a.readyState!==ae.LOADING||!y)break;ne.push(new ue(new Uint8Array(y)));break;case"ms-stream":if(y=a.response,a.readyState!==ae.LOADING)break;var ee=new te.MSStreamReader;ee.onprogress=function(){ee.result.byteLength>ne._pos&&(ne.push(new ue(new Uint8Array(ee.result.slice(ne._pos)))),ne._pos=ee.result.byteLength)},ee.onload=function(){ne.push(null)},ee.readAsArrayBuffer(y);break}ne._xhr.readyState===ae.DONE&&ne._mode!=="ms-stream"&&ne.push(null)}}).call(this)}).call(this,E("_process"),typeof Ct!="undefined"?Ct: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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(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 ue=E("punycode"),de=E("./util");me.parse=he,me.resolve=Se,me.resolveObject=be,me.format=pe,me.Url=le;function le(){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 ce=/^([a-z0-9.+-]+:)/i,ae=/:[0-9]*$/,ie=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ne=["<",">",'"',"`"," ","\r",`
|
|
`," "],a=["{","}","|","\\","^","`"].concat(ne),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],z=255,ee=/^[+a-z0-9A-Z_-]{0,63}$/,re=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,se={javascript:!0,"javascript:":!0},fe={javascript:!0,"javascript:":!0},ve={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},ge=E("querystring");function he(je,we,Oe){if(je&&de.isObject(je)&&je instanceof le)return je;var Ae=new le;return Ae.parse(je,we,Oe),Ae}le.prototype.parse=function(je,we,Oe){if(!de.isString(je))throw new TypeError("Parameter 'url' must be a string, not "+(0,te.default)(je));var Ae=je.indexOf("?"),Fe=Ae!==-1&&Ae<je.indexOf("#")?"?":"#",ke=je.split(Fe),Ve=/\\/g;ke[0]=ke[0].replace(Ve,"/"),je=ke.join(Fe);var De=je;if(De=De.trim(),!Oe&&je.split("#").length===1){var ut=ie.exec(De);if(ut)return this.path=De,this.href=De,this.pathname=ut[1],ut[2]?(this.search=ut[2],we?this.query=ge.parse(this.search.substr(1)):this.query=this.search.substr(1)):we&&(this.search="",this.query={}),this}var nt=ce.exec(De);if(nt){nt=nt[0];var qe=nt.toLowerCase();this.protocol=qe,De=De.substr(nt.length)}if(Oe||nt||De.match(/^\/\/[^@\/]+@[^@\/]+/)){var Xe=De.substr(0,2)==="//";Xe&&!(nt&&fe[nt])&&(De=De.substr(2),this.slashes=!0)}if(!fe[nt]&&(Xe||nt&&!ve[nt])){for(var $e=-1,Ue=0;Ue<b.length;Ue++){var Be=De.indexOf(b[Ue]);Be!==-1&&($e===-1||Be<$e)&&($e=Be)}var tt,Je;$e===-1?Je=De.lastIndexOf("@"):Je=De.lastIndexOf("@",$e),Je!==-1&&(tt=De.slice(0,Je),De=De.slice(Je+1),this.auth=decodeURIComponent(tt)),$e=-1;for(var Ue=0;Ue<x.length;Ue++){var Be=De.indexOf(x[Ue]);Be!==-1&&($e===-1||Be<$e)&&($e=Be)}$e===-1&&($e=De.length),this.host=De.slice(0,$e),De=De.slice($e),this.parseHost(),this.hostname=this.hostname||"";var ft=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!ft)for(var Ze=this.hostname.split("."),Ue=0,Ge=Ze.length;Ue<Ge;Ue++){var Le=Ze[Ue];if(Le&&!Le.match(ee)){for(var Ke="",Ee=0,Re=Le.length;Ee<Re;Ee++)Le.charCodeAt(Ee)>127?Ke+="x":Ke+=Le[Ee];if(!Ke.match(ee)){var Qe=Ze.slice(0,Ue),Ye=Ze.slice(Ue+1),We=Le.match(re);We&&(Qe.push(We[1]),Ye.unshift(We[2])),Ye.length&&(De="/"+Ye.join(".")+De),this.hostname=Qe.join(".");break}}}this.hostname.length>z?this.hostname="":this.hostname=this.hostname.toLowerCase(),ft||(this.hostname=ue.toASCII(this.hostname));var Ce=this.port?":"+this.port:"",xe=this.hostname||"";this.host=xe+Ce,this.href+=this.host,ft&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),De[0]!=="/"&&(De="/"+De))}if(!se[qe])for(var Ue=0,Ge=y.length;Ue<Ge;Ue++){var Ne=y[Ue];if(De.indexOf(Ne)!==-1){var ze=encodeURIComponent(Ne);ze===Ne&&(ze=escape(Ne)),De=De.split(Ne).join(ze)}}var it=De.indexOf("#");it!==-1&&(this.hash=De.substr(it),De=De.slice(0,it));var St=De.indexOf("?");if(St!==-1?(this.search=De.substr(St),this.query=De.substr(St+1),we&&(this.query=ge.parse(this.query)),De=De.slice(0,St)):we&&(this.search="",this.query={}),De&&(this.pathname=De),ve[qe]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Ce=this.pathname||"",dt=this.search||"";this.path=Ce+dt}return this.href=this.format(),this};function pe(je){return de.isString(je)&&(je=he(je)),je instanceof le?je.format():le.prototype.format.call(je)}le.prototype.format=function(){var je=this.auth||"";je&&(je=encodeURIComponent(je),je=je.replace(/%3A/i,":"),je+="@");var we=this.protocol||"",Oe=this.pathname||"",Ae=this.hash||"",Fe=!1,ke="";this.host?Fe=je+this.host:this.hostname&&(Fe=je+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(Fe+=":"+this.port)),this.query&&de.isObject(this.query)&&Object.keys(this.query).length&&(ke=ge.stringify(this.query));var Ve=this.search||ke&&"?"+ke||"";return we&&we.substr(-1)!==":"&&(we+=":"),this.slashes||(!we||ve[we])&&Fe!==!1?(Fe="//"+(Fe||""),Oe&&Oe.charAt(0)!=="/"&&(Oe="/"+Oe)):Fe||(Fe=""),Ae&&Ae.charAt(0)!=="#"&&(Ae="#"+Ae),Ve&&Ve.charAt(0)!=="?"&&(Ve="?"+Ve),Oe=Oe.replace(/[?#]/g,function(De){return encodeURIComponent(De)}),Ve=Ve.replace("#","%23"),we+Fe+Oe+Ve+Ae};function Se(je,we){return he(je,!1,!0).resolve(we)}le.prototype.resolve=function(je){return this.resolveObject(he(je,!1,!0)).format()};function be(je,we){return je?he(je,!1,!0).resolveObject(we):we}le.prototype.resolveObject=function(je){if(de.isString(je)){var we=new le;we.parse(je,!1,!0),je=we}for(var Oe=new le,Ae=Object.keys(this),Fe=0;Fe<Ae.length;Fe++){var ke=Ae[Fe];Oe[ke]=this[ke]}if(Oe.hash=je.hash,je.href==="")return Oe.href=Oe.format(),Oe;if(je.slashes&&!je.protocol){for(var Ve=Object.keys(je),De=0;De<Ve.length;De++){var ut=Ve[De];ut!=="protocol"&&(Oe[ut]=je[ut])}return ve[Oe.protocol]&&Oe.hostname&&!Oe.pathname&&(Oe.path=Oe.pathname="/"),Oe.href=Oe.format(),Oe}if(je.protocol&&je.protocol!==Oe.protocol){if(!ve[je.protocol]){for(var nt=Object.keys(je),qe=0;qe<nt.length;qe++){var Xe=nt[qe];Oe[Xe]=je[Xe]}return Oe.href=Oe.format(),Oe}if(Oe.protocol=je.protocol,!je.host&&!fe[je.protocol]){for(var Ge=(je.pathname||"").split("/");Ge.length&&!(je.host=Ge.shift()););je.host||(je.host=""),je.hostname||(je.hostname=""),Ge[0]!==""&&Ge.unshift(""),Ge.length<2&&Ge.unshift(""),Oe.pathname=Ge.join("/")}else Oe.pathname=je.pathname;if(Oe.search=je.search,Oe.query=je.query,Oe.host=je.host||"",Oe.auth=je.auth,Oe.hostname=je.hostname||je.host,Oe.port=je.port,Oe.pathname||Oe.search){var $e=Oe.pathname||"",Ue=Oe.search||"";Oe.path=$e+Ue}return Oe.slashes=Oe.slashes||je.slashes,Oe.href=Oe.format(),Oe}var Be=Oe.pathname&&Oe.pathname.charAt(0)==="/",tt=je.host||je.pathname&&je.pathname.charAt(0)==="/",Je=tt||Be||Oe.host&&je.pathname,ft=Je,Ze=Oe.pathname&&Oe.pathname.split("/")||[],Ge=je.pathname&&je.pathname.split("/")||[],Le=Oe.protocol&&!ve[Oe.protocol];if(Le&&(Oe.hostname="",Oe.port=null,Oe.host&&(Ze[0]===""?Ze[0]=Oe.host:Ze.unshift(Oe.host)),Oe.host="",je.protocol&&(je.hostname=null,je.port=null,je.host&&(Ge[0]===""?Ge[0]=je.host:Ge.unshift(je.host)),je.host=null),Je=Je&&(Ge[0]===""||Ze[0]==="")),tt)Oe.host=je.host||je.host===""?je.host:Oe.host,Oe.hostname=je.hostname||je.hostname===""?je.hostname:Oe.hostname,Oe.search=je.search,Oe.query=je.query,Ze=Ge;else if(Ge.length)Ze||(Ze=[]),Ze.pop(),Ze=Ze.concat(Ge),Oe.search=je.search,Oe.query=je.query;else if(!de.isNullOrUndefined(je.search)){if(Le){Oe.hostname=Oe.host=Ze.shift();var Ke=Oe.host&&Oe.host.indexOf("@")>0?Oe.host.split("@"):!1;Ke&&(Oe.auth=Ke.shift(),Oe.host=Oe.hostname=Ke.shift())}return Oe.search=je.search,Oe.query=je.query,(!de.isNull(Oe.pathname)||!de.isNull(Oe.search))&&(Oe.path=(Oe.pathname?Oe.pathname:"")+(Oe.search?Oe.search:"")),Oe.href=Oe.format(),Oe}if(!Ze.length)return Oe.pathname=null,Oe.search?Oe.path="/"+Oe.search:Oe.path=null,Oe.href=Oe.format(),Oe;for(var Ee=Ze.slice(-1)[0],Re=(Oe.host||je.host||Ze.length>1)&&(Ee==="."||Ee==="..")||Ee==="",Qe=0,Ye=Ze.length;Ye>=0;Ye--)Ee=Ze[Ye],Ee==="."?Ze.splice(Ye,1):Ee===".."?(Ze.splice(Ye,1),Qe++):Qe&&(Ze.splice(Ye,1),Qe--);if(!Je&&!ft)for(;Qe--;Qe)Ze.unshift("..");Je&&Ze[0]!==""&&(!Ze[0]||Ze[0].charAt(0)!=="/")&&Ze.unshift(""),Re&&Ze.join("/").substr(-1)!=="/"&&Ze.push("");var We=Ze[0]===""||Ze[0]&&Ze[0].charAt(0)==="/";if(Le){Oe.hostname=Oe.host=We?"":Ze.length?Ze.shift():"";var Ke=Oe.host&&Oe.host.indexOf("@")>0?Oe.host.split("@"):!1;Ke&&(Oe.auth=Ke.shift(),Oe.host=Oe.hostname=Ke.shift())}return Je=Je||Oe.host&&Ze.length,Je&&!We&&Ze.unshift(""),Ze.length?Oe.pathname=Ze.join("/"):(Oe.pathname=null,Oe.path=null),(!de.isNull(Oe.pathname)||!de.isNull(Oe.search))&&(Oe.path=(Oe.pathname?Oe.pathname:"")+(Oe.search?Oe.search:"")),Oe.auth=je.auth||Oe.auth,Oe.slashes=Oe.slashes||je.slashes,Oe.href=Oe.format(),Oe},le.prototype.parseHost=function(){var je=this.host,we=ae.exec(je);we&&(we=we[0],we!==":"&&(this.port=we.substr(1)),je=je.substr(0,je.length-we.length)),je&&(this.hostname=je)}},{"./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,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/helpers/typeof"));ye.exports={isString:function(de){return typeof de=="string"},isObject:function(de){return(0,te.default)(de)==="object"&&de!==null},isNull:function(de){return de===null},isNullOrUndefined:function(de){return de==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,ye,me){"use strict";E("core-js/modules/es.number.constructor.js"),me.encodeURIComponent=function(oe){try{return encodeURIComponent(oe)}catch(te){return oe}},me.escape=E("escape-html"),me.timestamp=function(te){if(te){var ue=te;return typeof ue=="string"&&(ue=Number(ue)),String(te).length===10&&(ue*=1e3),new Date(ue)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,ye,me){(function(oe,te){(function(){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),de=ue(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 le=E("util"),ce=E("url"),ae=E("http"),ie=E("https"),ne=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function z(fe,ve){return fe===void 0?ve:fe}function ee(fe){return fe?fe.split(";")[0].trim().toLowerCase():""}function re(fe,ve){return function(ge,he,pe){if(ge)return ve(ge);fe({data:he,status:pe.statusCode,headers:pe.headers,res:pe})}}me.TIMEOUTS=[a("300s"),a("300s")];var se=["json","text"];me.request=function(ve,ge,he){return arguments.length===2&&typeof ge=="function"&&(he=ge,ge=null),typeof he=="function"?me.requestWithCallback(ve,ge,he):new Promise(function(pe,Se){me.requestWithCallback(ve,ge,re(pe,Se))})},me.requestWithCallback=function(ve,ge,he){if(!ve||typeof ve!="string"&&(0,de.default)(ve)!=="object"){var pe=le.format("expect request url to be a string or a http request options, but got %j",ve);throw new Error(pe)}arguments.length===2&&typeof ge=="function"&&(he=ge,ge=null),ge=ge||{},y>=x&&(y=0);var Se=++y;ge.requestUrls=ge.requestUrls||[];var be={requestId:Se,url:ve,args:ge,ctx:ge.ctx};ge.emitter&&ge.emitter.emit("request",be),ge.timeout=ge.timeout||me.TIMEOUTS,ge.maxRedirects=ge.maxRedirects||10,ge.streaming=ge.streaming||ge.customResponse;var je=Date.now(),we;typeof ve=="string"?(b.test(ve)||(ve="https://"+ve),we=ce.parse(ve)):we=ve;var Oe=(ge.type||ge.method||we.method||"GET").toUpperCase(),Ae=we.port||80,Fe=ae,ke=z(ge.agent,me.agent),Ve=ge.fixJSONCtlChars;we.protocol==="https:"&&(Fe=ie,ke=z(ge.httpsAgent,me.httpsAgent),we.port||(Ae=443));var De={host:we.hostname||we.host||"localhost",path:we.path||"/",method:Oe,port:Ae,agent:ke,headers:ge.headers||{},lookup:ge.lookup};Array.isArray(ge.timeout)?De.requestTimeout=ge.timeout[ge.timeout.length-1]:typeof ge.timeout!="undefined"&&(De.requestTimeout=ge.timeout);var ut=ge.auth||we.auth;ut&&(De.auth=ut);var nt=ge.content||ge.data,qe=Oe==="GET"||Oe==="HEAD"||ge.dataAsQueryString;if(!ge.content&&nt&&!(typeof nt=="string"||te.isBuffer(nt)))if(qe)nt=ge.nestedQuerystring?qs.stringify(nt):querystring.stringify(nt);else{var Xe=De.headers["Content-Type"]||De.headers["content-type"];Xe||(ge.contentType==="json"?Xe="application/json":Xe="application/x-www-form-urlencoded",De.headers["Content-Type"]=Xe),ee(Xe)==="application/json"?nt=JSON.stringify(nt):nt=ge.nestedQuerystring?qs.stringify(nt):querystring.stringify(nt)}qe&&nt&&(De.path+=(we.query?"&":"?")+nt,nt=null);var $e=0;if(nt){var Ue=nt.length;te.isBuffer(nt)||(Ue=te.byteLength(nt)),$e=De.headers["Content-Length"]=Ue}ge.dataType==="json"&&(De.headers.Accept="application/json"),typeof ge.beforeRequest=="function"&&ge.beforeRequest(De);var Be=null,tt=null,Je=null,ft=!1,Ze=!1,Ge=0,Le=-1,Ke=!1,Ee="",Re="",Qe=null;ge.timing&&(Qe={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Ye(){Be&&(clearTimeout(Be),Be=null)}function We(){tt&&(clearTimeout(tt),tt=null)}function Ce(at,Dt,rt){if(We(),!he){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Se,oe.pid,De.method,ve),at&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
stack: %s`,Date(),Se,oe.pid,at.name,at.message,at.stack);return}var _e=he;he=null;var mt={};rt&&(Le=rt.statusCode,mt=rt.headers);var Ot=Date.now()-je;Qe&&(Qe.contentDownload=Ot),ne("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Ot,Ge,Le,De.method,De.host,De.path,Ze,Qe);var xt={status:Le,statusCode:Le,headers:mt,size:Ge,aborted:Ke,rt:Ot,keepAliveSocket:Ze,data:Dt,requestUrls:ge.requestUrls,timing:Qe,remoteAddress:Ee,remotePort:Re};if(at){var Ut="";ke&&typeof ke.getCurrentStatus=="function"&&(Ut=", agent status: "+JSON.stringify(ke.getCurrentStatus())),at.message+=", "+De.method+" "+ve+" "+Le+" (connected: "+ft+", keepalive socket: "+Ze+Ut+`)
|
|
headers: `+JSON.stringify(mt),at.data=Dt,at.path=De.path,at.status=Le,at.headers=mt,at.res=xt}_e(at,Dt,ge.streaming?rt:xt),ge.emitter&&(be.url=ve,be.socket=kt&&kt.connection,be.options=De,be.size=$e,ge.emitter.emit("response",{requestId:Se,error:at,ctx:ge.ctx,req:be,res:xt}))}function xe(at){var Dt=null;if(ge.followRedirect&&statuses.redirect[at.statusCode]){ge._followRedirectCount=(ge._followRedirectCount||0)+1;var rt=at.headers.location;if(!rt)Dt=new Error("Got statusCode "+at.statusCode+" but cannot resolve next location from headers"),Dt.name="FollowRedirectError";else if(ge._followRedirectCount>ge.maxRedirects)Dt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ve),Dt.name="MaxRedirectError";else{var _e=ge.formatRedirectUrl?ge.formatRedirectUrl(ve,rt):ce.resolve(ve,rt);ne("Request#%d %s: `redirected` from %s to %s",Se,De.path,ve,_e),We(),ge.headers&&ge.headers.Host&&b.test(rt)&&(ge.headers.Host=null);var mt=he;return he=null,me.requestWithCallback(_e,ge,mt),{redirect:!0,error:null}}}return{redirect:!1,error:Dt}}ge.gzip&&!De.headers["Accept-Encoding"]&&!De.headers["accept-encoding"]&&(De.headers["Accept-Encoding"]="gzip");function Ne(at,Dt,rt){var _e=at.headers["content-encoding"];return rt(null,Dt,_e)}var ze=ge.writeStream;ne("Request#%d %s %s with headers %j, options.path: %s",Se,Oe,ve,De.headers,De.path),ge.requestUrls.push(ve);function it(at){if(Qe&&(Qe.waiting=Date.now()-je),ne("Request#%d %s `req response` event emit: status %d, headers: %j",Se,ve,at.statusCode,at.headers),ge.streaming){var Dt=xe(at);if(Dt.redirect){at.resume();return}return Dt.error?(at.resume(),Ce(Dt.error,null,at)):Ce(null,null,at)}if(at.on("close",function(){ne("Request#%d %s: `res close` event emit, total size %d",Se,ve,Ge)}),at.on("error",function(){ne("Request#%d %s: `res error` event emit, total size %d",Se,ve,Ge)}),at.on("aborted",function(){Ke=!0,ne("Request#%d %s: `res aborted` event emit, total size %d",Se,ve,Ge)}),ze){var rt=xe(at);if(rt.redirect){at.resume();return}return rt.error?(at.resume(),ze.end(),Ce(rt.error,null,at)):(ge.consumeWriteStream===!1?at.on("end",Ce.bind(null,null,null,at)):ze.on("close",function(){ne("Request#%d %s: writeStream close event emitted",Se,ve),Ce(Je||null,null,at)}),at.pipe(ze))}var _e=[];at.on("data",function(mt){ne("Request#%d %s: `res data` event emit, size %d",Se,ve,mt.length),Ge+=mt.length,_e.push(mt)}),at.on("end",function(){var mt=te.concat(_e,Ge);if(ne("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Se,ve,Ge,at._dumped),Je)return Ce(Je,mt,at);var Ot=xe(at);if(Ot.error)return Ce(Ot.error,mt,at);Ot.redirect||Ne(at,mt,function(xt,Ut,Wt){if(xt)return Ce(xt,mt,at);if(!Wt&&se.indexOf(ge.dataType)>=0){try{Ut=decodeBodyByCharset(Ut,at)}catch(hn){return ne("decodeBodyByCharset error: %s",hn),Ce(null,Ut,at)}if(ge.dataType==="json")if(Ge===0)Ut=null;else{var qt=parseJSON(Ut,Ve);qt.error?xt=qt.error:Ut=qt.data}}Ke&&ne("Request#%d %s: Remote socket was terminated before `response.end()` was called",Se,ve),Ce(xt,Ut,at)})})}var St,dt;Array.isArray(ge.timeout)?(St=a(ge.timeout[0]),dt=a(ge.timeout[1])):St=dt=a(ge.timeout),ne("ConnectTimeout: %d, ResponseTimeout: %d",St,dt);function bt(){ne("Connect timer ticking, timeout: %d",St),Be=setTimeout(function(){Be=null,Le===-1&&(Le=-2);var at="Connect timeout for "+St+"ms",Dt="ConnectionTimeoutError";kt.socket||(Dt="SocketAssignTimeoutError",at+=", working sockets is full"),Je=new Error(at),Je.name=Dt,Je.requestId=Se,ne("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Se,ve,Je.name,at,ft),lt()},St)}function an(){ne("Response timer ticking, timeout: %d",dt),tt=setTimeout(function(){tt=null;var at="Response timeout for "+dt+"ms",Dt="ResponseTimeoutError";Je=new Error(at),Je.name=Dt,Je.requestId=Se,ne("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Se,ve,Je.name,at,ft),lt()},dt)}var kt;De.mode=ge.mode?ge.mode:"";try{kt=Fe.request(De,it)}catch(at){return Ce(at)}typeof window=="undefined"?bt():kt.on("requestTimeout",function(){Le===-1&&(Le=-2);var at="Connect timeout for "+St+"ms",Dt="ConnectionTimeoutError";Je=new Error(at),Je.name=Dt,Je.requestId=Se,lt()});function lt(){ne("Request#%d %s abort, connected: %s",Se,ve,ft),kt.socket||(Je.noSocket=!0,Ce(Je)),kt.abort()}return Qe&&kt.on("finish",function(){Qe.requestSent=Date.now()-je}),kt.once("socket",function(at){Qe&&(Qe.queuing=Date.now()-je);var Dt=at.readyState;if(Dt==="opening"){at.once("lookup",function(rt,_e,mt){ne("Request#%d %s lookup: %s, %s, %s",Se,ve,rt,_e,mt),Qe&&(Qe.dnslookup=Date.now()-je),_e&&(Ee=_e)}),at.once("connect",function(){Qe&&(Qe.connected=Date.now()-je),Ye(),an(),ne("Request#%d %s new socket connected",Se,ve),ft=!0,Ee||(Ee=at.remoteAddress),Re=at.remotePort});return}ne("Request#%d %s reuse socket connected, readyState: %s",Se,ve,Dt),ft=!0,Ze=!0,Ee||(Ee=at.remoteAddress),Re=at.remotePort,Ye(),an()}),kt.on("error",function(at){(at.name==="Error"||at.name==="TypeError")&&(at.name=ft?"ResponseError":"RequestError"),at.message+=' (req "error")',ne("Request#%d %s `req error` event emit, %s: %s",Se,ve,at.name,at.message),Ce(Je||at)}),ze&&ze.once("error",function(at){at.message+=' (writeStream "error")',Je=at,ne("Request#%d %s `writeStream error` event emit, %s: %s",Se,ve,at.name,at.message),lt()}),ge.stream?(ge.stream.pipe(kt),ge.stream.once("error",function(at){at.message+=' (stream "error")',Je=at,ne("Request#%d %s `readStream error` event emit, %s: %s",Se,ve,at.name,at.message),lt()})):kt.end(nt),kt.requestId=Se,kt}}).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)},38780:function(At,Ct){"use strict";function Pe(){const Te=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let He=1;He<arguments.length;He++){const E=He<0||arguments.length<=He?void 0:arguments[He];E&&Object.keys(E).forEach(ye=>{const me=E[ye];me!==void 0&&(Te[ye]=me)})}return Te}Ct.Z=Pe},81643:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return Te}});const Te=He=>He?typeof He=="function"?He():He:null},66367:function(At,Ct,Pe){"use strict";Pe.d(Ct,{F:function(){return Te},Z:function(){return He}});function Te(E){return E!=null&&E===E.window}function He(E,ye){var me,oe;if(typeof window=="undefined")return 0;const te=ye?"scrollTop":"scrollLeft";let ue=0;return Te(E)?ue=E[ye?"pageYOffset":"pageXOffset"]:E instanceof Document?ue=E.documentElement[te]:(E instanceof HTMLElement||E)&&(ue=E[te]),E&&!Te(E)&&typeof ue!="number"&&(ue=(oe=((me=E.ownerDocument)!==null&&me!==void 0?me:E).documentElement)===null||oe===void 0?void 0:oe[te]),ue}},57838:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return He}});var Te=Pe(67294);function He(){const[,E]=Te.useReducer(ye=>ye+1,0);return E}},58375:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return ye}});var Te=Pe(96523);function He(me,oe,te,ue){const de=te-oe;return me/=ue/2,me<1?de/2*me*me*me+oe:de/2*((me-=2)*me*me+2)+oe}var E=Pe(66367);function ye(me){let oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:te=()=>window,callback:ue,duration:de=450}=oe,le=te(),ce=(0,E.Z)(le,!0),ae=Date.now(),ie=()=>{const a=Date.now()-ae,y=He(a>de?de:a,ce,me,de);(0,E.F)(le)?le.scrollTo(window.pageXOffset,y):le instanceof Document||le.constructor.name==="HTMLDocument"?le.documentElement.scrollTop=y:le.scrollTop=y,a<de?(0,Te.Z)(ie):typeof ue=="function"&&ue()};(0,Te.Z)(ie)}},84567:function(At,Ct,Pe){"use strict";Pe.d(Ct,{default:function(){return ve}});var Te=Pe(94184),He=Pe.n(Te),E=Pe(95860),ye=Pe(67294),me=Pe(53124),oe=Pe(98866),te=Pe(65223),de=ye.createContext(null),le=Pe(63185),ce=Pe(45353),ae=Pe(92429),ie=function(ge,he){var pe={};for(var Se in ge)Object.prototype.hasOwnProperty.call(ge,Se)&&he.indexOf(Se)<0&&(pe[Se]=ge[Se]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Se=Object.getOwnPropertySymbols(ge);be<Se.length;be++)he.indexOf(Se[be])<0&&Object.prototype.propertyIsEnumerable.call(ge,Se[be])&&(pe[Se[be]]=ge[Se[be]]);return pe};const ne=(ge,he)=>{var pe;const{prefixCls:Se,className:be,rootClassName:je,children:we,indeterminate:Oe=!1,style:Ae,onMouseEnter:Fe,onMouseLeave:ke,skipGroup:Ve=!1,disabled:De}=ge,ut=ie(ge,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:nt,direction:qe,checkbox:Xe}=ye.useContext(me.E_),$e=ye.useContext(de),{isFormItemInput:Ue}=ye.useContext(te.aM),Be=ye.useContext(oe.Z),tt=(pe=($e==null?void 0:$e.disabled)||De)!==null&&pe!==void 0?pe:Be,Je=ye.useRef(ut.value);ye.useEffect(()=>{$e==null||$e.registerValue(ut.value)},[]),ye.useEffect(()=>{if(!Ve)return ut.value!==Je.current&&($e==null||$e.cancelValue(Je.current),$e==null||$e.registerValue(ut.value),Je.current=ut.value),()=>$e==null?void 0:$e.cancelValue(ut.value)},[ut.value]);const ft=nt("checkbox",Se),[Ze,Ge]=(0,le.ZP)(ft),Le=Object.assign({},ut);$e&&!Ve&&(Le.onChange=function(){ut.onChange&&ut.onChange.apply(ut,arguments),$e.toggleOption&&$e.toggleOption({label:we,value:ut.value})},Le.name=$e.name,Le.checked=$e.value.includes(ut.value));const Ke=He()(`${ft}-wrapper`,{[`${ft}-rtl`]:qe==="rtl",[`${ft}-wrapper-checked`]:Le.checked,[`${ft}-wrapper-disabled`]:tt,[`${ft}-wrapper-in-form-item`]:Ue},Xe==null?void 0:Xe.className,be,je,Ge),Ee=He()({[`${ft}-indeterminate`]:Oe},ae.A,Ge),Re=Oe?"mixed":void 0;return Ze(ye.createElement(ce.Z,{component:"Checkbox",disabled:tt},ye.createElement("label",{className:Ke,style:Object.assign(Object.assign({},Xe==null?void 0:Xe.style),Ae),onMouseEnter:Fe,onMouseLeave:ke},ye.createElement(E.Z,Object.assign({"aria-checked":Re},Le,{prefixCls:ft,className:Ee,disabled:tt,ref:he})),we!==void 0&&ye.createElement("span",null,we))))};var y=ye.forwardRef(ne),x=Pe(74902),b=Pe(10366),z=function(ge,he){var pe={};for(var Se in ge)Object.prototype.hasOwnProperty.call(ge,Se)&&he.indexOf(Se)<0&&(pe[Se]=ge[Se]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Se=Object.getOwnPropertySymbols(ge);be<Se.length;be++)he.indexOf(Se[be])<0&&Object.prototype.propertyIsEnumerable.call(ge,Se[be])&&(pe[Se[be]]=ge[Se[be]]);return pe};const ee=(ge,he)=>{const{defaultValue:pe,children:Se,options:be=[],prefixCls:je,className:we,rootClassName:Oe,style:Ae,onChange:Fe}=ge,ke=z(ge,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ve,direction:De}=ye.useContext(me.E_),[ut,nt]=ye.useState(ke.value||pe||[]),[qe,Xe]=ye.useState([]);ye.useEffect(()=>{"value"in ke&&nt(ke.value||[])},[ke.value]);const $e=ye.useMemo(()=>be.map(Qe=>typeof Qe=="string"||typeof Qe=="number"?{label:Qe,value:Qe}:Qe),[be]),Ue=Qe=>{Xe(Ye=>Ye.filter(We=>We!==Qe))},Be=Qe=>{Xe(Ye=>[].concat((0,x.Z)(Ye),[Qe]))},tt=Qe=>{const Ye=ut.indexOf(Qe.value),We=(0,x.Z)(ut);Ye===-1?We.push(Qe.value):We.splice(Ye,1),"value"in ke||nt(We),Fe==null||Fe(We.filter(Ce=>qe.includes(Ce)).sort((Ce,xe)=>{const Ne=$e.findIndex(it=>it.value===Ce),ze=$e.findIndex(it=>it.value===xe);return Ne-ze}))},Je=Ve("checkbox",je),ft=`${Je}-group`,[Ze,Ge]=(0,le.ZP)(Je),Le=(0,b.Z)(ke,["value","disabled"]),Ke=be.length?$e.map(Qe=>ye.createElement(y,{prefixCls:Je,key:Qe.value.toString(),disabled:"disabled"in Qe?Qe.disabled:ke.disabled,value:Qe.value,checked:ut.includes(Qe.value),onChange:Qe.onChange,className:`${ft}-item`,style:Qe.style,title:Qe.title},Qe.label)):Se,Ee={toggleOption:tt,value:ut,disabled:ke.disabled,name:ke.name,registerValue:Be,cancelValue:Ue},Re=He()(ft,{[`${ft}-rtl`]:De==="rtl"},we,Oe,Ge);return Ze(ye.createElement("div",Object.assign({className:Re,style:Ae},Le,{ref:he}),ye.createElement(de.Provider,{value:Ee},Ke)))},re=ye.forwardRef(ee);var se=ye.memo(re);const fe=y;fe.Group=se,fe.__ANT_CHECKBOX=!0;var ve=fe},63185:function(At,Ct,Pe){"use strict";Pe.d(Ct,{C2:function(){return me}});var Te=Pe(14747),He=Pe(45503),E=Pe(67968);const ye=oe=>{const{checkboxCls:te}=oe,ue=`${te}-wrapper`;return[{[`${te}-group`]:Object.assign(Object.assign({},(0,Te.Wf)(oe)),{display:"inline-flex",flexWrap:"wrap",columnGap:oe.marginXS,[`> ${oe.antCls}-row`]:{flex:1}}),[ue]:Object.assign(Object.assign({},(0,Te.Wf)(oe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ue}`]:{marginInlineStart:0},[`&${ue}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[te]:Object.assign(Object.assign({},(0,Te.Wf)(oe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:oe.borderRadiusSM,alignSelf:"center",[`${te}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${te}-inner`]:Object.assign({},(0,Te.oN)(oe))},[`${te}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:oe.checkboxSize,height:oe.checkboxSize,direction:"ltr",backgroundColor:oe.colorBgContainer,border:`${oe.lineWidth}px ${oe.lineType} ${oe.colorBorder}`,borderRadius:oe.borderRadiusSM,borderCollapse:"separate",transition:`all ${oe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:oe.checkboxSize/14*5,height:oe.checkboxSize/14*8,border:`${oe.lineWidthBold}px solid ${oe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${oe.motionDurationFast} ${oe.motionEaseInBack}, opacity ${oe.motionDurationFast}`}},"& + span":{paddingInlineStart:oe.paddingXS,paddingInlineEnd:oe.paddingXS}})},{[`
|
|
${ue}:not(${ue}-disabled),
|
|
${te}:not(${te}-disabled)
|
|
`]:{[`&:hover ${te}-inner`]:{borderColor:oe.colorPrimary}},[`${ue}:not(${ue}-disabled)`]:{[`&:hover ${te}-checked:not(${te}-disabled) ${te}-inner`]:{backgroundColor:oe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${te}-checked:not(${te}-disabled):after`]:{borderColor:oe.colorPrimaryHover}}},{[`${te}-checked`]:{[`${te}-inner`]:{backgroundColor:oe.colorPrimary,borderColor:oe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${oe.motionDurationMid} ${oe.motionEaseOutBack} ${oe.motionDurationFast}`}}},[`
|
|
${ue}-checked:not(${ue}-disabled),
|
|
${te}-checked:not(${te}-disabled)
|
|
`]:{[`&:hover ${te}-inner`]:{backgroundColor:oe.colorPrimaryHover,borderColor:"transparent"}}},{[te]:{"&-indeterminate":{[`${te}-inner`]:{backgroundColor:oe.colorBgContainer,borderColor:oe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:oe.fontSizeLG/2,height:oe.fontSizeLG/2,backgroundColor:oe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ue}-disabled`]:{cursor:"not-allowed"},[`${te}-disabled`]:{[`&, ${te}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${te}-inner`]:{background:oe.colorBgContainerDisabled,borderColor:oe.colorBorder,"&:after":{borderColor:oe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:oe.colorTextDisabled},[`&${te}-indeterminate ${te}-inner::after`]:{background:oe.colorTextDisabled}}}]};function me(oe,te){const ue=(0,He.TS)(te,{checkboxCls:`.${oe}`,checkboxSize:te.controlInteractiveSize});return[ye(ue)]}Ct.ZP=(0,E.Z)("Checkbox",(oe,te)=>{let{prefixCls:ue}=te;return[me(ue,oe)]})},47221:function(At,Ct,Pe){"use strict";Pe.d(Ct,{default:function(){return Le}});var Te=Pe(79269),He=Pe(94184),E=Pe.n(He),ye=Pe(97685),me=Pe(74902),oe=Pe(71002),te=Pe(21770),ue=Pe(80334),de=Pe(67294),le=Pe(87462),ce=Pe(45987),ae=Pe(50344),ie=Pe(4942),ne=Pe(62874),a=Pe(15105),y=de.forwardRef(function(Ke,Ee){var Re,Qe=Ke.prefixCls,Ye=Ke.forceRender,We=Ke.className,Ce=Ke.style,xe=Ke.children,Ne=Ke.isActive,ze=Ke.role,it=de.useState(Ne||Ye),St=(0,ye.Z)(it,2),dt=St[0],bt=St[1];return de.useEffect(function(){(Ye||Ne)&&bt(!0)},[Ye,Ne]),dt?de.createElement("div",{ref:Ee,className:E()("".concat(Qe,"-content"),(Re={},(0,ie.Z)(Re,"".concat(Qe,"-content-active"),Ne),(0,ie.Z)(Re,"".concat(Qe,"-content-inactive"),!Ne),Re),We),style:Ce,role:ze},de.createElement("div",{className:"".concat(Qe,"-content-box")},xe)):null});y.displayName="PanelContent";var x=y,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=de.forwardRef(function(Ke,Ee){var Re,Qe,Ye=Ke.showArrow,We=Ye===void 0?!0:Ye,Ce=Ke.headerClass,xe=Ke.isActive,Ne=Ke.onItemClick,ze=Ke.forceRender,it=Ke.className,St=Ke.prefixCls,dt=Ke.collapsible,bt=Ke.accordion,an=Ke.panelKey,kt=Ke.extra,lt=Ke.header,at=Ke.expandIcon,Dt=Ke.openMotion,rt=Ke.destroyInactivePanel,_e=Ke.children,mt=(0,ce.Z)(Ke,b),Ot=dt==="disabled",xt=dt==="header",Ut=dt==="icon",Wt=kt!=null&&typeof kt!="boolean",qt=function(){Ne==null||Ne(an)},hn=function(Cr){(Cr.key==="Enter"||Cr.keyCode===a.Z.ENTER||Cr.which===a.Z.ENTER)&&qt()},jn=typeof at=="function"?at(Ke):de.createElement("i",{className:"arrow"});jn&&(jn=de.createElement("div",{className:"".concat(St,"-expand-icon"),onClick:["header","icon"].includes(dt)?qt:void 0},jn));var Tn=E()((Re={},(0,ie.Z)(Re,"".concat(St,"-item"),!0),(0,ie.Z)(Re,"".concat(St,"-item-active"),xe),(0,ie.Z)(Re,"".concat(St,"-item-disabled"),Ot),Re),it),Fn=E()(Ce,(Qe={},(0,ie.Z)(Qe,"".concat(St,"-header"),!0),(0,ie.Z)(Qe,"".concat(St,"-header-collapsible-only"),xt),(0,ie.Z)(Qe,"".concat(St,"-icon-collapsible-only"),Ut),Qe)),pr={className:Fn,"aria-expanded":xe,"aria-disabled":Ot,onKeyDown:hn};return!xt&&!Ut&&(pr.onClick=qt,pr.role=bt?"tab":"button",pr.tabIndex=Ot?-1:0),de.createElement("div",(0,le.Z)({},mt,{ref:Ee,className:Tn}),de.createElement("div",pr,We&&jn,de.createElement("span",{className:"".concat(St,"-header-text"),onClick:dt==="header"?qt:void 0},lt),Wt&&de.createElement("div",{className:"".concat(St,"-extra")},kt)),de.createElement(ne.Z,(0,le.Z)({visible:xe,leavedClassName:"".concat(St,"-content-hidden")},Dt,{forceRender:ze,removeOnLeave:rt}),function(yr,Cr){var Ur=yr.className,Hr=yr.style;return de.createElement(x,{ref:Cr,prefixCls:St,className:Ur,style:Hr,isActive:xe,forceRender:ze,role:bt?"tabpanel":void 0},_e)}))}),ee=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],se=function(Ee,Re){var Qe=Re.prefixCls,Ye=Re.accordion,We=Re.collapsible,Ce=Re.destroyInactivePanel,xe=Re.onItemClick,Ne=Re.activeKey,ze=Re.openMotion,it=Re.expandIcon;return Ee.map(function(St,dt){var bt=St.children,an=St.label,kt=St.key,lt=St.collapsible,at=St.onItemClick,Dt=St.destroyInactivePanel,rt=(0,ce.Z)(St,re),_e=String(kt!=null?kt:dt),mt=lt!=null?lt:We,Ot=Dt!=null?Dt:Ce,xt=function(qt){mt!=="disabled"&&(xe(qt),at==null||at(qt))},Ut=!1;return Ye?Ut=Ne[0]===_e:Ut=Ne.indexOf(_e)>-1,de.createElement(ee,(0,le.Z)({},rt,{prefixCls:Qe,key:_e,panelKey:_e,isActive:Ut,accordion:Ye,openMotion:ze,expandIcon:it,header:an,collapsible:mt,onItemClick:xt,destroyInactivePanel:Ot}),bt)})},fe=function(Ee,Re,Qe){if(!Ee)return null;var Ye=Qe.prefixCls,We=Qe.accordion,Ce=Qe.collapsible,xe=Qe.destroyInactivePanel,Ne=Qe.onItemClick,ze=Qe.activeKey,it=Qe.openMotion,St=Qe.expandIcon,dt=Ee.key||String(Re),bt=Ee.props,an=bt.header,kt=bt.headerClass,lt=bt.destroyInactivePanel,at=bt.collapsible,Dt=bt.onItemClick,rt=!1;We?rt=ze[0]===dt:rt=ze.indexOf(dt)>-1;var _e=at!=null?at:Ce,mt=function(Ut){_e!=="disabled"&&(Ne(Ut),Dt==null||Dt(Ut))},Ot={key:dt,panelKey:dt,header:an,headerClass:kt,isActive:rt,prefixCls:Ye,destroyInactivePanel:lt!=null?lt:xe,openMotion:it,accordion:We,children:Ee.props.children,onItemClick:mt,expandIcon:St,collapsible:_e};return typeof Ee.type=="string"?Ee:(Object.keys(Ot).forEach(function(xt){typeof Ot[xt]=="undefined"&&delete Ot[xt]}),de.cloneElement(Ee,Ot))};function ve(Ke,Ee,Re){return Array.isArray(Ke)?se(Ke,Re):(0,ae.Z)(Ee).map(function(Qe,Ye){return fe(Qe,Ye,Re)})}var ge=ve;function he(Ke){var Ee=Ke;if(!Array.isArray(Ee)){var Re=(0,oe.Z)(Ee);Ee=Re==="number"||Re==="string"?[Ee]:[]}return Ee.map(function(Qe){return String(Qe)})}var pe=de.forwardRef(function(Ke,Ee){var Re=Ke.prefixCls,Qe=Re===void 0?"rc-collapse":Re,Ye=Ke.destroyInactivePanel,We=Ye===void 0?!1:Ye,Ce=Ke.style,xe=Ke.accordion,Ne=Ke.className,ze=Ke.children,it=Ke.collapsible,St=Ke.openMotion,dt=Ke.expandIcon,bt=Ke.activeKey,an=Ke.defaultActiveKey,kt=Ke.onChange,lt=Ke.items,at=E()(Qe,Ne),Dt=(0,te.Z)([],{value:bt,onChange:function(Wt){return kt==null?void 0:kt(Wt)},defaultValue:an,postState:he}),rt=(0,ye.Z)(Dt,2),_e=rt[0],mt=rt[1],Ot=function(Wt){return mt(function(){if(xe)return _e[0]===Wt?[]:[Wt];var qt=_e.indexOf(Wt),hn=qt>-1;return hn?_e.filter(function(jn){return jn!==Wt}):[].concat((0,me.Z)(_e),[Wt])})};(0,ue.ZP)(!ze,"`children` will be removed in next major version. Please use `items` instead.");var xt=ge(lt,ze,{prefixCls:Qe,accordion:xe,openMotion:St,expandIcon:dt,collapsible:it,destroyInactivePanel:We,onItemClick:Ot,activeKey:_e});return de.createElement("div",{ref:Ee,className:at,style:Ce,role:xe?"tablist":void 0},xt)}),Se=Object.assign(pe,{Panel:ee}),be=Se,je=Se.Panel,we=Pe(37419),Oe=Pe(10366),Ae=Pe(33603),Fe=Pe(96159),ke=Pe(53124),Ve=Pe(98675),ut=de.forwardRef((Ke,Ee)=>{const{getPrefixCls:Re}=de.useContext(ke.E_),{prefixCls:Qe,className:Ye,showArrow:We=!0}=Ke,Ce=Re("collapse",Qe),xe=E()({[`${Ce}-no-arrow`]:!We},Ye);return de.createElement(be.Panel,Object.assign({ref:Ee},Ke,{prefixCls:Ce,className:xe}))}),nt=Pe(14747),qe=Pe(33507),Xe=Pe(67968),$e=Pe(45503);const Ue=Ke=>{const{componentCls:Ee,contentBg:Re,padding:Qe,headerBg:Ye,headerPadding:We,collapseHeaderPaddingSM:Ce,collapseHeaderPaddingLG:xe,collapsePanelBorderRadius:Ne,lineWidth:ze,lineType:it,colorBorder:St,colorText:dt,colorTextHeading:bt,colorTextDisabled:an,fontSize:kt,fontSizeLG:lt,lineHeight:at,marginSM:Dt,paddingSM:rt,paddingLG:_e,paddingXS:mt,motionDurationSlow:Ot,fontSizeIcon:xt,contentPadding:Ut}=Ke,Wt=`${ze}px ${it} ${St}`;return{[Ee]:Object.assign(Object.assign({},(0,nt.Wf)(Ke)),{backgroundColor:Ye,border:Wt,borderBottom:0,borderRadius:`${Ne}px`,"&-rtl":{direction:"rtl"},[`& > ${Ee}-item`]:{borderBottom:Wt,"&:last-child":{[`
|
|
&,
|
|
& > ${Ee}-header`]:{borderRadius:`0 0 ${Ne}px ${Ne}px`}},[`> ${Ee}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:We,color:bt,lineHeight:at,cursor:"pointer",transition:`all ${Ot}, visibility 0s`,[`> ${Ee}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Ee}-expand-icon`]:{height:kt*at,display:"flex",alignItems:"center",paddingInlineEnd:Dt},[`${Ee}-arrow`]:Object.assign(Object.assign({},(0,nt.Ro)()),{fontSize:xt,svg:{transition:`transform ${Ot}`}}),[`${Ee}-header-text`]:{marginInlineEnd:"auto"}},[`${Ee}-header-collapsible-only`]:{cursor:"default",[`${Ee}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Ee}-icon-collapsible-only`]:{cursor:"default",[`${Ee}-expand-icon`]:{cursor:"pointer"}}},[`${Ee}-content`]:{color:dt,backgroundColor:Re,borderTop:Wt,[`& > ${Ee}-content-box`]:{padding:Ut},"&-hidden":{display:"none"}},"&-small":{[`> ${Ee}-item`]:{[`> ${Ee}-header`]:{padding:Ce,paddingInlineStart:mt,[`> ${Ee}-expand-icon`]:{marginInlineStart:rt-mt}},[`> ${Ee}-content > ${Ee}-content-box`]:{padding:rt}}},"&-large":{[`> ${Ee}-item`]:{fontSize:lt,[`> ${Ee}-header`]:{padding:xe,paddingInlineStart:Qe,[`> ${Ee}-expand-icon`]:{height:lt*at,marginInlineStart:_e-Qe}},[`> ${Ee}-content > ${Ee}-content-box`]:{padding:_e}}},[`${Ee}-item:last-child`]:{[`> ${Ee}-content`]:{borderRadius:`0 0 ${Ne}px ${Ne}px`}},[`& ${Ee}-item-disabled > ${Ee}-header`]:{"\n &,\n & > .arrow\n ":{color:an,cursor:"not-allowed"}},[`&${Ee}-icon-position-end`]:{[`& > ${Ee}-item`]:{[`> ${Ee}-header`]:{[`${Ee}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Dt}}}}})}},Be=Ke=>{const{componentCls:Ee}=Ke,Re=`> ${Ee}-item > ${Ee}-header ${Ee}-arrow svg`;return{[`${Ee}-rtl`]:{[Re]:{transform:"rotate(180deg)"}}}},tt=Ke=>{const{componentCls:Ee,headerBg:Re,paddingXXS:Qe,colorBorder:Ye}=Ke;return{[`${Ee}-borderless`]:{backgroundColor:Re,border:0,[`> ${Ee}-item`]:{borderBottom:`1px solid ${Ye}`},[`
|
|
> ${Ee}-item:last-child,
|
|
> ${Ee}-item:last-child ${Ee}-header
|
|
`]:{borderRadius:0},[`> ${Ee}-item:last-child`]:{borderBottom:0},[`> ${Ee}-item > ${Ee}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Ee}-item > ${Ee}-content > ${Ee}-content-box`]:{paddingTop:Qe}}}},Je=Ke=>{const{componentCls:Ee,paddingSM:Re}=Ke;return{[`${Ee}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Ee}-item`]:{borderBottom:0,[`> ${Ee}-content`]:{backgroundColor:"transparent",border:0,[`> ${Ee}-content-box`]:{paddingBlock:Re}}}}}};var ft=(0,Xe.Z)("Collapse",Ke=>{const Ee=(0,$e.TS)(Ke,{collapseHeaderPaddingSM:`${Ke.paddingXS}px ${Ke.paddingSM}px`,collapseHeaderPaddingLG:`${Ke.padding}px ${Ke.paddingLG}px`,collapsePanelBorderRadius:Ke.borderRadiusLG});return[Ue(Ee),tt(Ee),Je(Ee),Be(Ee),(0,qe.Z)(Ee)]},Ke=>({headerPadding:`${Ke.paddingSM}px ${Ke.padding}px`,headerBg:Ke.colorFillAlter,contentPadding:`${Ke.padding}px 16px`,contentBg:Ke.colorBgContainer})),Ge=Object.assign(de.forwardRef((Ke,Ee)=>{const{getPrefixCls:Re,direction:Qe,collapse:Ye}=de.useContext(ke.E_),{prefixCls:We,className:Ce,rootClassName:xe,style:Ne,bordered:ze=!0,ghost:it,size:St,expandIconPosition:dt="start",children:bt,expandIcon:an}=Ke,kt=(0,Ve.Z)(Wt=>{var qt;return(qt=St!=null?St:Wt)!==null&&qt!==void 0?qt:"middle"}),lt=Re("collapse",We),at=Re(),[Dt,rt]=ft(lt),_e=de.useMemo(()=>dt==="left"?"start":dt==="right"?"end":dt,[dt]),mt=function(){let Wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const qt=an?an(Wt):de.createElement(Te.Z,{rotate:Wt.isActive?90:void 0});return(0,Fe.Tm)(qt,()=>({className:E()(qt.props.className,`${lt}-arrow`)}))},Ot=E()(`${lt}-icon-position-${_e}`,{[`${lt}-borderless`]:!ze,[`${lt}-rtl`]:Qe==="rtl",[`${lt}-ghost`]:!!it,[`${lt}-${kt}`]:kt!=="middle"},Ye==null?void 0:Ye.className,Ce,xe,rt),xt=Object.assign(Object.assign({},(0,Ae.Z)(at)),{motionAppear:!1,leavedClassName:`${lt}-content-hidden`}),Ut=de.useMemo(()=>bt?(0,we.Z)(bt).map((Wt,qt)=>{var hn,jn;if(!((hn=Wt.props)===null||hn===void 0)&&hn.disabled){const Tn=(jn=Wt.key)!==null&&jn!==void 0?jn:String(qt),{disabled:Fn,collapsible:pr}=Wt.props,yr=Object.assign(Object.assign({},(0,Oe.Z)(Wt.props,["disabled"])),{key:Tn,collapsible:pr!=null?pr:Fn?"disabled":void 0});return(0,Fe.Tm)(Wt,yr)}return Wt}):null,[bt]);return Dt(de.createElement(be,Object.assign({ref:Ee,openMotion:xt},(0,Oe.Z)(Ke,["rootClassName"]),{expandIcon:mt,prefixCls:lt,className:Ot,style:Object.assign(Object.assign({},Ye==null?void 0:Ye.style),Ne)}),Ut))}),{Panel:ut}),Le=Ge},72565:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return Ra}});var Te=Pe(94184),He=Pe.n(Te),E=Pe(1413),ye=Pe(97685),me=Pe(67294),oe=Pe(73935);function te(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ue={};function de(yt,Pt){}function le(yt,Pt){}function ce(){ue={}}function ae(yt,Pt,Gt){!Pt&&!ue[Gt]&&(yt(!1,Gt),ue[Gt]=!0)}function ie(yt,Pt){ae(de,yt,Pt)}function ne(yt,Pt){ae(le,yt,Pt)}var a=null,y=Pe(71002),x=Pe(18459);function b(yt,Pt,Gt){var ln=me.useRef({});return(!("value"in ln.current)||Gt(ln.current.condition,Pt))&&(ln.current.value=yt(),ln.current.condition=Pt),ln.current.value}function z(yt,Pt){typeof yt=="function"?yt(Pt):(0,y.Z)(yt)==="object"&&yt&&"current"in yt&&(yt.current=Pt)}function ee(){for(var yt=arguments.length,Pt=new Array(yt),Gt=0;Gt<yt;Gt++)Pt[Gt]=arguments[Gt];var ln=Pt.filter(function(wn){return wn});return ln.length<=1?ln[0]:function(wn){Pt.forEach(function(Yn){z(Yn,wn)})}}function re(){for(var yt=arguments.length,Pt=new Array(yt),Gt=0;Gt<yt;Gt++)Pt[Gt]=arguments[Gt];return b(function(){return ee.apply(void 0,Pt)},Pt,function(ln,wn){return ln.length===wn.length&&ln.every(function(Yn,cr){return Yn===wn[cr]})})}function se(yt){var Pt,Gt,ln=(0,x.isMemo)(yt)?yt.type.type:yt.type;return!(typeof ln=="function"&&!((Pt=ln.prototype)!==null&&Pt!==void 0&&Pt.render)||typeof yt=="function"&&!((Gt=yt.prototype)!==null&&Gt!==void 0&&Gt.render))}var fe=me.createContext(null),ve=fe,ge=Pe(74902),he=te()?me.useLayoutEffect:me.useEffect,pe=he,Se=function(Pt,Gt){var ln=React.useRef(!0);he(function(){if(!ln.current)return Pt()},Gt),he(function(){return ln.current=!1,function(){ln.current=!0}},[])},be=[];function je(yt,Pt){var Gt=me.useState(function(){if(!te())return null;var Ln=document.createElement("div");return Ln}),ln=(0,ye.Z)(Gt,1),wn=ln[0],Yn=me.useRef(!1),cr=me.useContext(ve),vr=me.useState(be),Gr=(0,ye.Z)(vr,2),ta=Gr[0],qr=Gr[1],Yr=cr||(Yn.current?void 0:function(Ln){qr(function(or){var Rr=[Ln].concat((0,ge.Z)(or));return Rr})});function Fa(){wn.parentElement||document.body.appendChild(wn),Yn.current=!0}function Ha(){var Ln;(Ln=wn.parentElement)===null||Ln===void 0||Ln.removeChild(wn),Yn.current=!1}return pe(function(){return yt?cr?cr(Fa):Fa():Ha(),Ha},[yt]),pe(function(){ta.length&&(ta.forEach(function(Ln){return Ln()}),qr(be))},[ta]),[wn,Yr]}function we(yt,Pt){if(!yt)return!1;if(yt.contains)return yt.contains(Pt);for(var Gt=Pt;Gt;){if(Gt===yt)return!0;Gt=Gt.parentNode}return!1}var Oe="data-rc-order",Ae="rc-util-key",Fe=new Map;function ke(){var yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Pt=yt.mark;return Pt?Pt.startsWith("data-")?Pt:"data-".concat(Pt):Ae}function Ve(yt){if(yt.attachTo)return yt.attachTo;var Pt=document.querySelector("head");return Pt||document.body}function De(yt){return yt==="queue"?"prependQueue":yt?"prepend":"append"}function ut(yt){return Array.from((Fe.get(yt)||yt).children).filter(function(Pt){return Pt.tagName==="STYLE"})}function nt(yt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!te())return null;var Gt=Pt.csp,ln=Pt.prepend,wn=document.createElement("style");wn.setAttribute(Oe,De(ln)),Gt!=null&&Gt.nonce&&(wn.nonce=Gt==null?void 0:Gt.nonce),wn.innerHTML=yt;var Yn=Ve(Pt),cr=Yn.firstChild;if(ln){if(ln==="queue"){var vr=ut(Yn).filter(function(Gr){return["prepend","prependQueue"].includes(Gr.getAttribute(Oe))});if(vr.length)return Yn.insertBefore(wn,vr[vr.length-1].nextSibling),wn}Yn.insertBefore(wn,cr)}else Yn.appendChild(wn);return wn}function qe(yt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Gt=Ve(Pt);return ut(Gt).find(function(ln){return ln.getAttribute(ke(Pt))===yt})}function Xe(yt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Gt=qe(yt,Pt);if(Gt){var ln=Ve(Pt);ln.removeChild(Gt)}}function $e(yt,Pt){var Gt=Fe.get(yt);if(!Gt||!we(document,Gt)){var ln=nt("",Pt),wn=ln.parentNode;Fe.set(yt,wn),yt.removeChild(ln)}}function Ue(){Fe.clear()}function Be(yt,Pt){var Gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ln=Ve(Gt);$e(ln,Gt);var wn=qe(Pt,Gt);if(wn){var Yn,cr;if((Yn=Gt.csp)!==null&&Yn!==void 0&&Yn.nonce&&wn.nonce!==((cr=Gt.csp)===null||cr===void 0?void 0:cr.nonce)){var vr;wn.nonce=(vr=Gt.csp)===null||vr===void 0?void 0:vr.nonce}return wn.innerHTML!==yt&&(wn.innerHTML=yt),wn}var Gr=nt(yt,Gt);return Gr.setAttribute(ke(Gt),Pt),Gr}var tt;function Je(yt){if(typeof document=="undefined")return 0;if(yt||tt===void 0){var Pt=document.createElement("div");Pt.style.width="100%",Pt.style.height="200px";var Gt=document.createElement("div"),ln=Gt.style;ln.position="absolute",ln.top="0",ln.left="0",ln.pointerEvents="none",ln.visibility="hidden",ln.width="200px",ln.height="150px",ln.overflow="hidden",Gt.appendChild(Pt),document.body.appendChild(Gt);var wn=Pt.offsetWidth;Gt.style.overflow="scroll";var Yn=Pt.offsetWidth;wn===Yn&&(Yn=Gt.clientWidth),document.body.removeChild(Gt),tt=wn-Yn}return tt}function ft(yt){var Pt=yt.match(/^(.*)px$/),Gt=Number(Pt==null?void 0:Pt[1]);return Number.isNaN(Gt)?Je():Gt}function Ze(yt){if(typeof document=="undefined"||!yt||!(yt instanceof Element))return{width:0,height:0};var Pt=getComputedStyle(yt,"::-webkit-scrollbar"),Gt=Pt.width,ln=Pt.height;return{width:ft(Gt),height:ft(ln)}}function Ge(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Le="rc-util-locker-".concat(Date.now()),Ke=0;function Ee(yt){var Pt=!!yt,Gt=me.useState(function(){return Ke+=1,"".concat(Le,"_").concat(Ke)}),ln=(0,ye.Z)(Gt,1),wn=ln[0];pe(function(){if(Pt){var Yn=Ze(document.body).width,cr=Ge();Be(`
|
|
html body {
|
|
overflow-y: hidden;
|
|
`.concat(cr?"width: calc(100% - ".concat(Yn,"px);"):"",`
|
|
}`),wn)}else Xe(wn);return function(){Xe(wn)}},[Pt,wn])}var Re=!1;function Qe(yt){return typeof yt=="boolean"&&(Re=yt),Re}var Ye=function(Pt){return Pt===!1?!1:!te()||!Pt?null:typeof Pt=="string"?document.querySelector(Pt):typeof Pt=="function"?Pt():Pt},We=me.forwardRef(function(yt,Pt){var Gt=yt.open,ln=yt.autoLock,wn=yt.getContainer,Yn=yt.debug,cr=yt.autoDestroy,vr=cr===void 0?!0:cr,Gr=yt.children,ta=me.useState(Gt),qr=(0,ye.Z)(ta,2),Yr=qr[0],Fa=qr[1],Ha=Yr||Gt;me.useEffect(function(){(vr||Gt)&&Fa(Gt)},[Gt,vr]);var Ln=me.useState(function(){return Ye(wn)}),or=(0,ye.Z)(Ln,2),Rr=or[0],$r=or[1];me.useEffect(function(){var Kt=Ye(wn);$r(Kt!=null?Kt:null)});var Hn=je(Ha&&!Rr,Yn),wt=(0,ye.Z)(Hn,2),Bt=wt[0],zt=wt[1],ct=Rr!=null?Rr:Bt;Ee(ln&&Gt&&te()&&(ct===Bt||ct===document.body));var Xt=null;if(Gr&&se(Gr)&&Pt){var vn=Gr;Xt=vn.ref}var dn=re(Xt,Pt);if(!Ha||!te()||Rr===void 0)return null;var _t=ct===!1||Qe(),Vt=Gr;return Pt&&(Vt=me.cloneElement(Gr,{ref:dn})),me.createElement(ve.Provider,{value:zt},_t?Vt:(0,oe.createPortal)(Vt,ct))}),Ce=We,xe=Ce;function Ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ze=Ne()?me.useLayoutEffect:me.useEffect,it=function(Pt,Gt){var ln=me.useRef(!0);ze(function(){return Pt(ln.current)},Gt),ze(function(){return ln.current=!1,function(){ln.current=!0}},[])},St=function(Pt,Gt){it(function(ln){if(!ln)return Pt()},Gt)},dt=it,bt=me.createContext(null),an=me.createContext({}),kt=bt,lt=Pe(4942),at=Pe(87462),Dt=Pe(62874),rt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Pt){var Gt=Pt.keyCode;if(Pt.altKey&&!Pt.ctrlKey||Pt.metaKey||Gt>=rt.F1&&Gt<=rt.F12)return!1;switch(Gt){case rt.ALT:case rt.CAPS_LOCK:case rt.CONTEXT_MENU:case rt.CTRL:case rt.DOWN:case rt.END:case rt.ESC:case rt.HOME:case rt.INSERT:case rt.LEFT:case rt.MAC_FF_META:case rt.META:case rt.NUMLOCK:case rt.NUM_CENTER:case rt.PAGE_DOWN:case rt.PAGE_UP:case rt.PAUSE:case rt.PRINT_SCREEN:case rt.RIGHT:case rt.SHIFT:case rt.UP:case rt.WIN_KEY:case rt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Pt){if(Pt>=rt.ZERO&&Pt<=rt.NINE||Pt>=rt.NUM_ZERO&&Pt<=rt.NUM_MULTIPLY||Pt>=rt.A&&Pt<=rt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Pt===0)return!0;switch(Pt){case rt.SPACE:case rt.QUESTION_MARK:case rt.NUM_PLUS:case rt.NUM_MINUS:case rt.NUM_PERIOD:case rt.NUM_DIVISION:case rt.SEMICOLON:case rt.DASH:case rt.EQUALS:case rt.COMMA:case rt.PERIOD:case rt.SLASH:case rt.APOSTROPHE:case rt.SINGLE_QUOTE:case rt.OPEN_SQUARE_BRACKET:case rt.BACKSLASH:case rt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},_e=rt,mt=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,Ot=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,xt="".concat(mt," ").concat(Ot).split(/[\s\n]+/),Ut="aria-",Wt="data-";function qt(yt,Pt){return yt.indexOf(Pt)===0}function hn(yt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Gt;Pt===!1?Gt={aria:!0,data:!0,attr:!0}:Pt===!0?Gt={aria:!0}:Gt=(0,E.Z)({},Pt);var ln={};return Object.keys(yt).forEach(function(wn){(Gt.aria&&(wn==="role"||qt(wn,Ut))||Gt.data&&qt(wn,Wt)||Gt.attr&&xt.includes(wn))&&(ln[wn]=yt[wn])}),ln}function jn(yt){var Pt=React.useRef();Pt.current=yt;var Gt=React.useCallback(function(){for(var ln,wn=arguments.length,Yn=new Array(wn),cr=0;cr<wn;cr++)Yn[cr]=arguments[cr];return(ln=Pt.current)===null||ln===void 0?void 0:ln.call.apply(ln,[Pt].concat(Yn))},[]);return Gt}function Tn(yt){var Pt=React.useRef(!1),Gt=React.useState(yt),ln=_slicedToArray(Gt,2),wn=ln[0],Yn=ln[1];React.useEffect(function(){return Pt.current=!1,function(){Pt.current=!0}},[]);function cr(vr,Gr){Gr&&Pt.current||Yn(vr)}return[wn,cr]}function Fn(yt){return yt!==void 0}function pr(yt,Pt){var Gt=Pt||{},ln=Gt.defaultValue,wn=Gt.value,Yn=Gt.onChange,cr=Gt.postState,vr=useState(function(){return Fn(wn)?wn:Fn(ln)?typeof ln=="function"?ln():ln:typeof yt=="function"?yt():yt}),Gr=_slicedToArray(vr,2),ta=Gr[0],qr=Gr[1],Yr=wn!==void 0?wn:ta,Fa=cr?cr(Yr):Yr,Ha=useEvent(Yn),Ln=useState([Yr]),or=_slicedToArray(Ln,2),Rr=or[0],$r=or[1];useLayoutUpdateEffect(function(){var wt=Rr[0];ta!==wt&&Ha(ta,wt)},[Rr]),useLayoutUpdateEffect(function(){Fn(wn)||qr(wn)},[wn]);var Hn=useEvent(function(wt,Bt){qr(wt,Bt),$r([Yr],Bt)});return[Fa,Hn]}var yr=Pe(33993);function Cr(yt,Pt,Gt){var ln=me.useRef({});return(!("value"in ln.current)||Gt(ln.current.condition,Pt))&&(ln.current.value=yt(),ln.current.condition=Pt),ln.current.value}function Ur(yt,Pt){typeof yt=="function"?yt(Pt):(0,y.Z)(yt)==="object"&&yt&&"current"in yt&&(yt.current=Pt)}function Hr(){for(var yt=arguments.length,Pt=new Array(yt),Gt=0;Gt<yt;Gt++)Pt[Gt]=arguments[Gt];var ln=Pt.filter(function(wn){return wn});return ln.length<=1?ln[0]:function(wn){Pt.forEach(function(Yn){Ur(Yn,wn)})}}function ma(){for(var yt=arguments.length,Pt=new Array(yt),Gt=0;Gt<yt;Gt++)Pt[Gt]=arguments[Gt];return Cr(function(){return Hr.apply(void 0,Pt)},Pt,function(ln,wn){return ln.length!==wn.length||ln.every(function(Yn,cr){return Yn!==wn[cr]})})}function Da(yt){var Pt,Gt,ln=isMemo(yt)?yt.type.type:yt.type;return!(typeof ln=="function"&&!((Pt=ln.prototype)!==null&&Pt!==void 0&&Pt.render)||typeof yt=="function"&&!((Gt=yt.prototype)!==null&&Gt!==void 0&&Gt.render))}function ya(yt){return!isValidElement(yt)||isFragment(yt)?!1:Da(yt)}function da(yt,Pt,Gt,ln){if(!Pt.length)return Gt;var wn=_toArray(Pt),Yn=wn[0],cr=wn.slice(1),vr;return!yt&&typeof Yn=="number"?vr=[]:Array.isArray(yt)?vr=_toConsumableArray(yt):vr=_objectSpread({},yt),ln&&Gt===void 0&&cr.length===1?delete vr[Yn][cr[0]]:vr[Yn]=da(vr[Yn],cr,Gt,ln),vr}function fn(yt,Pt,Gt){var ln=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Pt.length&&ln&&Gt===void 0&&!get(yt,Pt.slice(0,-1))?yt:da(yt,Pt,Gt,ln)}function xn(yt){return _typeof(yt)==="object"&&yt!==null&&Object.getPrototypeOf(yt)===Object.prototype}function Rn(yt){return Array.isArray(yt)?[]:{}}var oa=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function ar(){for(var yt=arguments.length,Pt=new Array(yt),Gt=0;Gt<yt;Gt++)Pt[Gt]=arguments[Gt];var ln=Rn(Pt[0]);return Pt.forEach(function(wn){function Yn(cr,vr){var Gr=new Set(vr),ta=get(wn,cr),qr=Array.isArray(ta);if(qr||xn(ta)){if(!Gr.has(ta)){Gr.add(ta);var Yr=get(ln,cr);qr?ln=fn(ln,cr,[]):(!Yr||_typeof(Yr)!=="object")&&(ln=fn(ln,cr,Rn(ta))),oa(ta).forEach(function(Fa){Yn([].concat(_toConsumableArray(cr),[Fa]),Gr)})}}else ln=fn(ln,cr,ta)}Yn([])}),ln}var _n={},Rt=[],Mt=function(Pt){Rt.push(Pt)};function Lt(yt,Pt){if(0)var Gt}function Pn(yt,Pt){if(0)var Gt}function zn(){_n={}}function $n(yt,Pt,Gt){!Pt&&!_n[Gt]&&(yt(!1,Gt),_n[Gt]=!0)}function _r(yt,Pt){$n(Lt,yt,Pt)}function Vr(yt,Pt){$n(Pn,yt,Pt)}_r.preMessage=Mt,_r.resetWarned=zn,_r.noteOnce=Vr;var Xr=_r,aa=function(Pt){var Gt=Pt.prefixCls,ln=Pt.className,wn=Pt.style,Yn=Pt.children,cr=Pt.containerRef,vr=Pt.id,Gr=Pt.onMouseEnter,ta=Pt.onMouseOver,qr=Pt.onMouseLeave,Yr=Pt.onClick,Fa=Pt.onKeyDown,Ha=Pt.onKeyUp,Ln={onMouseEnter:Gr,onMouseOver:ta,onMouseLeave:qr,onClick:Yr,onKeyDown:Fa,onKeyUp:Ha},or=me.useContext(an),Rr=or.panel,$r=ma(Rr,cr);return me.createElement(me.Fragment,null,me.createElement("div",(0,at.Z)({id:vr,className:He()("".concat(Gt,"-content"),ln),style:(0,E.Z)({},wn),"aria-modal":"true",role:"dialog",ref:$r},Ln),Yn))},sa=aa;function Cn(yt){return typeof yt=="string"&&String(Number(yt))===yt?(Xr(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(yt)):yt}function Mr(yt){warning(!("wrapperClassName"in yt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!yt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Nr={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function La(yt,Pt){var Gt,ln,wn,Yn,cr=yt.prefixCls,vr=yt.open,Gr=yt.placement,ta=yt.inline,qr=yt.push,Yr=yt.forceRender,Fa=yt.autoFocus,Ha=yt.keyboard,Ln=yt.rootClassName,or=yt.rootStyle,Rr=yt.zIndex,$r=yt.className,Hn=yt.id,wt=yt.style,Bt=yt.motion,zt=yt.width,ct=yt.height,Xt=yt.children,vn=yt.contentWrapperStyle,dn=yt.mask,_t=yt.maskClosable,Vt=yt.maskMotion,Kt=yt.maskClassName,Yt=yt.maskStyle,Zt=yt.afterOpenChange,rn=yt.onClose,on=yt.onMouseEnter,In=yt.onMouseOver,Un=yt.onMouseLeave,dr=yt.onClick,En=yt.onKeyDown,Jn=yt.onKeyUp,tr=me.useRef(),ir=me.useRef(),br=me.useRef();me.useImperativeHandle(Pt,function(){return tr.current});var Zr=function(Oo){var Ko=Oo.keyCode,zo=Oo.shiftKey;switch(Ko){case _e.TAB:{if(Ko===_e.TAB){if(!zo&&document.activeElement===br.current){var ri;(ri=ir.current)===null||ri===void 0||ri.focus({preventScroll:!0})}else if(zo&&document.activeElement===ir.current){var Ni;(Ni=br.current)===null||Ni===void 0||Ni.focus({preventScroll:!0})}}break}case _e.ESC:{rn&&Ha&&(Oo.stopPropagation(),rn(Oo));break}}};me.useEffect(function(){if(vr&&Fa){var Ya;(Ya=tr.current)===null||Ya===void 0||Ya.focus({preventScroll:!0})}},[vr]);var Pa=me.useState(!1),ea=(0,ye.Z)(Pa,2),Qn=ea[0],nr=ea[1],Zn=me.useContext(kt),kn;qr===!1?kn={distance:0}:qr===!0?kn={}:kn=qr||{};var wr=(Gt=(ln=(wn=kn)===null||wn===void 0?void 0:wn.distance)!==null&&ln!==void 0?ln:Zn==null?void 0:Zn.pushDistance)!==null&&Gt!==void 0?Gt:180,ua=me.useMemo(function(){return{pushDistance:wr,push:function(){nr(!0)},pull:function(){nr(!1)}}},[wr]);me.useEffect(function(){if(vr){var Ya;Zn==null||(Ya=Zn.push)===null||Ya===void 0||Ya.call(Zn)}else{var Oo;Zn==null||(Oo=Zn.pull)===null||Oo===void 0||Oo.call(Zn)}},[vr]),me.useEffect(function(){return function(){var Ya;Zn==null||(Ya=Zn.pull)===null||Ya===void 0||Ya.call(Zn)}},[]);var wa=dn&&me.createElement(Dt.Z,(0,at.Z)({key:"mask"},Vt,{visible:vr}),function(Ya,Oo){var Ko=Ya.className,zo=Ya.style;return me.createElement("div",{className:He()("".concat(cr,"-mask"),Ko,Kt),style:(0,E.Z)((0,E.Z)({},zo),Yt),onClick:_t&&vr?rn:void 0,ref:Oo})}),Xa=typeof Bt=="function"?Bt(Gr):Bt,Oa={};if(Qn&&wr)switch(Gr){case"top":Oa.transform="translateY(".concat(wr,"px)");break;case"bottom":Oa.transform="translateY(".concat(-wr,"px)");break;case"left":Oa.transform="translateX(".concat(wr,"px)");break;default:Oa.transform="translateX(".concat(-wr,"px)");break}Gr==="left"||Gr==="right"?Oa.width=Cn(zt):Oa.height=Cn(ct);var ao={onMouseEnter:on,onMouseOver:In,onMouseLeave:Un,onClick:dr,onKeyDown:En,onKeyUp:Jn},To=me.createElement(Dt.Z,(0,at.Z)({key:"panel"},Xa,{visible:vr,forceRender:Yr,onVisibleChanged:function(Oo){Zt==null||Zt(Oo)},removeOnLeave:!1,leavedClassName:"".concat(cr,"-content-wrapper-hidden")}),function(Ya,Oo){var Ko=Ya.className,zo=Ya.style;return me.createElement("div",(0,at.Z)({className:He()("".concat(cr,"-content-wrapper"),Ko),style:(0,E.Z)((0,E.Z)((0,E.Z)({},Oa),zo),vn)},hn(yt,{data:!0})),me.createElement(sa,(0,at.Z)({id:Hn,containerRef:Oo,prefixCls:cr,className:$r,style:wt},ao),Xt))}),Vo=(0,E.Z)({},or);return Rr&&(Vo.zIndex=Rr),me.createElement(kt.Provider,{value:ua},me.createElement("div",{className:He()(cr,"".concat(cr,"-").concat(Gr),Ln,(Yn={},(0,lt.Z)(Yn,"".concat(cr,"-open"),vr),(0,lt.Z)(Yn,"".concat(cr,"-inline"),ta),Yn)),style:Vo,tabIndex:-1,ref:tr,onKeyDown:Zr},wa,me.createElement("div",{tabIndex:0,ref:ir,style:Nr,"aria-hidden":"true","data-sentinel":"start"}),To,me.createElement("div",{tabIndex:0,ref:br,style:Nr,"aria-hidden":"true","data-sentinel":"end"})))}var Na=me.forwardRef(La),Ca=Na,Wa=function(Pt){var Gt=Pt.open,ln=Gt===void 0?!1:Gt,wn=Pt.prefixCls,Yn=wn===void 0?"rc-drawer":wn,cr=Pt.placement,vr=cr===void 0?"right":cr,Gr=Pt.autoFocus,ta=Gr===void 0?!0:Gr,qr=Pt.keyboard,Yr=qr===void 0?!0:qr,Fa=Pt.width,Ha=Fa===void 0?378:Fa,Ln=Pt.mask,or=Ln===void 0?!0:Ln,Rr=Pt.maskClosable,$r=Rr===void 0?!0:Rr,Hn=Pt.getContainer,wt=Pt.forceRender,Bt=Pt.afterOpenChange,zt=Pt.destroyOnClose,ct=Pt.onMouseEnter,Xt=Pt.onMouseOver,vn=Pt.onMouseLeave,dn=Pt.onClick,_t=Pt.onKeyDown,Vt=Pt.onKeyUp,Kt=Pt.panelRef,Yt=me.useState(!1),Zt=(0,ye.Z)(Yt,2),rn=Zt[0],on=Zt[1],In=me.useState(!1),Un=(0,ye.Z)(In,2),dr=Un[0],En=Un[1];dt(function(){En(!0)},[]);var Jn=dr?ln:!1,tr=me.useRef(),ir=me.useRef();dt(function(){Jn&&(ir.current=document.activeElement)},[Jn]);var br=function(nr){var Zn;if(on(nr),Bt==null||Bt(nr),!nr&&ir.current&&!((Zn=tr.current)!==null&&Zn!==void 0&&Zn.contains(ir.current))){var kn;(kn=ir.current)===null||kn===void 0||kn.focus({preventScroll:!0})}},Zr=me.useMemo(function(){return{panel:Kt}},[Kt]);if(!wt&&!rn&&!Jn&&zt)return null;var Pa={onMouseEnter:ct,onMouseOver:Xt,onMouseLeave:vn,onClick:dn,onKeyDown:_t,onKeyUp:Vt},ea=(0,E.Z)((0,E.Z)({},Pt),{},{open:Jn,prefixCls:Yn,placement:vr,autoFocus:ta,keyboard:Yr,width:Ha,mask:or,maskClosable:$r,inline:Hn===!1,afterOpenChange:br,ref:tr},Pa);return me.createElement(an.Provider,{value:Zr},me.createElement(xe,{open:Jn||wt||rn,autoDestroy:!1,getContainer:Hn,autoLock:or&&(Jn||rn)},me.createElement(Ca,ea)))},ia=Wa,jt=ia,en=Pe(33603),tn=Pe(53124),sn=Pe(65223),un=Pe(69760),bn=yt=>{const{prefixCls:Pt,title:Gt,footer:ln,extra:wn,closeIcon:Yn,closable:cr,onClose:vr,headerStyle:Gr,drawerStyle:ta,bodyStyle:qr,footerStyle:Yr,children:Fa}=yt,Ha=me.useCallback(Hn=>me.createElement("button",{type:"button",onClick:vr,"aria-label":"Close",className:`${Pt}-close`},Hn),[vr]),[Ln,or]=(0,un.Z)(cr,Yn,Ha,void 0,!0),Rr=me.useMemo(()=>!Gt&&!Ln?null:me.createElement("div",{style:Gr,className:He()(`${Pt}-header`,{[`${Pt}-header-close-only`]:Ln&&!Gt&&!wn})},me.createElement("div",{className:`${Pt}-header-title`},or,Gt&&me.createElement("div",{className:`${Pt}-title`},Gt)),wn&&me.createElement("div",{className:`${Pt}-extra`},wn)),[Ln,or,wn,Gr,Pt,Gt]),$r=me.useMemo(()=>{if(!ln)return null;const Hn=`${Pt}-footer`;return me.createElement("div",{className:Hn,style:Yr},ln)},[ln,Yr,Pt]);return me.createElement("div",{className:`${Pt}-wrapper-body`,style:ta},Rr,me.createElement("div",{className:`${Pt}-body`,style:qr},Fa),$r)},Tt=Pe(4173),Ir=Pe(67968),hr=Pe(45503),la=yt=>{const{componentCls:Pt,motionDurationSlow:Gt}=yt,ln={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Gt}`}}};return{[Pt]:{[`${Pt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Gt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Pt}-panel-motion`]:{"&-left":[ln,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[ln,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[ln,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[ln,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const cn=yt=>{const{componentCls:Pt,zIndexPopup:Gt,colorBgMask:ln,colorBgElevated:wn,motionDurationSlow:Yn,motionDurationMid:cr,padding:vr,paddingLG:Gr,fontSizeLG:ta,lineHeightLG:qr,lineWidth:Yr,lineType:Fa,colorSplit:Ha,marginSM:Ln,colorIcon:or,colorIconHover:Rr,colorText:$r,fontWeightStrong:Hn,footerPaddingBlock:wt,footerPaddingInline:Bt}=yt,zt=`${Pt}-content-wrapper`;return{[Pt]:{position:"fixed",inset:0,zIndex:Gt,pointerEvents:"none","&-pure":{position:"relative",background:wn,[`&${Pt}-left`]:{boxShadow:yt.boxShadowDrawerLeft},[`&${Pt}-right`]:{boxShadow:yt.boxShadowDrawerRight},[`&${Pt}-top`]:{boxShadow:yt.boxShadowDrawerUp},[`&${Pt}-bottom`]:{boxShadow:yt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Pt}-mask`]:{position:"absolute",inset:0,zIndex:Gt,background:ln,pointerEvents:"auto"},[zt]:{position:"absolute",zIndex:Gt,maxWidth:"100vw",transition:`all ${Yn}`,"&-hidden":{display:"none"}},[`&-left > ${zt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:yt.boxShadowDrawerLeft},[`&-right > ${zt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:yt.boxShadowDrawerRight},[`&-top > ${zt}`]:{top:0,insetInline:0,boxShadow:yt.boxShadowDrawerUp},[`&-bottom > ${zt}`]:{bottom:0,insetInline:0,boxShadow:yt.boxShadowDrawerDown},[`${Pt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:wn,pointerEvents:"auto"},[`${Pt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Pt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${vr}px ${Gr}px`,fontSize:ta,lineHeight:qr,borderBottom:`${Yr}px ${Fa} ${Ha}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Pt}-extra`]:{flex:"none"},[`${Pt}-close`]:{display:"inline-block",marginInlineEnd:Ln,color:or,fontWeight:Hn,fontSize:ta,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${cr}`,textRendering:"auto","&:focus, &:hover":{color:Rr,textDecoration:"none"}},[`${Pt}-title`]:{flex:1,margin:0,color:$r,fontWeight:yt.fontWeightStrong,fontSize:ta,lineHeight:qr},[`${Pt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Gr,overflow:"auto"},[`${Pt}-footer`]:{flexShrink:0,padding:`${wt}px ${Bt}px`,borderTop:`${Yr}px ${Fa} ${Ha}`},"&-rtl":{direction:"rtl"}}}};var On=(0,Ir.Z)("Drawer",yt=>{const Pt=(0,hr.TS)(yt,{});return[cn(Pt),la(Pt)]},yt=>({zIndexPopup:yt.zIndexPopupBase,footerPaddingBlock:yt.paddingXS,footerPaddingInline:yt.padding})),Er=Pe(16569),Vn=function(yt,Pt){var Gt={};for(var ln in yt)Object.prototype.hasOwnProperty.call(yt,ln)&&Pt.indexOf(ln)<0&&(Gt[ln]=yt[ln]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wn=0,ln=Object.getOwnPropertySymbols(yt);wn<ln.length;wn++)Pt.indexOf(ln[wn])<0&&Object.prototype.propertyIsEnumerable.call(yt,ln[wn])&&(Gt[ln[wn]]=yt[ln[wn]]);return Gt};const Sa=null,pa={distance:180},Ia=yt=>{var Pt;const{rootClassName:Gt,width:ln,height:wn,size:Yn="default",mask:cr=!0,push:vr=pa,open:Gr,afterOpenChange:ta,onClose:qr,prefixCls:Yr,getContainer:Fa,style:Ha,className:Ln,visible:or,afterVisibleChange:Rr}=yt,$r=Vn(yt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Hn,getPrefixCls:wt,direction:Bt,drawer:zt}=me.useContext(tn.E_),ct=wt("drawer",Yr),[Xt,vn]=On(ct),dn=Fa===void 0&&Hn?()=>Hn(document.body):Fa,_t=He()({"no-mask":!cr,[`${ct}-rtl`]:Bt==="rtl"},Gt,vn),Vt=me.useMemo(()=>ln!=null?ln:Yn==="large"?736:378,[ln,Yn]),Kt=me.useMemo(()=>wn!=null?wn:Yn==="large"?736:378,[wn,Yn]),Yt={motionName:(0,en.m)(ct,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Zt=on=>({motionName:(0,en.m)(ct,`panel-motion-${on}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),rn=(0,Er.H)();return Xt(me.createElement(Tt.BR,null,me.createElement(sn.Ux,{status:!0,override:!0},me.createElement(jt,Object.assign({prefixCls:ct,onClose:qr,maskMotion:Yt,motion:Zt},$r,{open:Gr!=null?Gr:or,mask:cr,push:vr,width:Vt,height:Kt,style:Object.assign(Object.assign({},zt==null?void 0:zt.style),Ha),className:He()(zt==null?void 0:zt.className,Ln),rootClassName:_t,getContainer:dn,afterOpenChange:ta!=null?ta:Rr,panelRef:rn}),me.createElement(bn,Object.assign({prefixCls:ct},$r,{onClose:qr}))))))},Ba=yt=>{const{prefixCls:Pt,style:Gt,className:ln,placement:wn="right"}=yt,Yn=Vn(yt,["prefixCls","style","className","placement"]),{getPrefixCls:cr}=me.useContext(tn.E_),vr=cr("drawer",Pt),[Gr,ta]=On(vr),qr=He()(vr,`${vr}-pure`,`${vr}-${wn}`,ta,ln);return Gr(me.createElement("div",{className:qr,style:Gt},me.createElement(bn,Object.assign({prefixCls:vr},Yn))))};Ia._InternalPanelDoNotUseOrYouWillBeFired=Ba;var Ra=Ia},56153:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return wl}});var Te=Pe(67294),He=Pe.t(Te,2),E=Pe(79269),ye=Pe(94184),me=Pe.n(ye),oe=Pe(87462),te=Pe(4942),ue=Pe(97685),de=Pe(45987),le=Pe(1413),ce=Pe(73935);function ae(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ie={};function ne(ot,ht){}function a(ot,ht){}function y(){ie={}}function x(ot,ht,vt){!ht&&!ie[vt]&&(ot(!1,vt),ie[vt]=!0)}function b(ot,ht){x(ne,ot,ht)}function z(ot,ht){x(a,ot,ht)}var ee=null,re=Pe(71002),se=Pe(12060);function fe(ot,ht,vt){var Ft=Te.useRef({});return(!("value"in Ft.current)||vt(Ft.current.condition,ht))&&(Ft.current.value=ot(),Ft.current.condition=ht),Ft.current.value}function ve(ot,ht){typeof ot=="function"?ot(ht):(0,re.Z)(ot)==="object"&&ot&&"current"in ot&&(ot.current=ht)}function ge(){for(var ot=arguments.length,ht=new Array(ot),vt=0;vt<ot;vt++)ht[vt]=arguments[vt];var Ft=ht.filter(function(Jt){return Jt});return Ft.length<=1?Ft[0]:function(Jt){ht.forEach(function(gn){ve(gn,Jt)})}}function he(){for(var ot=arguments.length,ht=new Array(ot),vt=0;vt<ot;vt++)ht[vt]=arguments[vt];return fe(function(){return ge.apply(void 0,ht)},ht,function(Ft,Jt){return Ft.length===Jt.length&&Ft.every(function(gn,Sn){return gn===Jt[Sn]})})}function pe(ot){var ht,vt,Ft=(0,se.isMemo)(ot)?ot.type.type:ot.type;return!(typeof Ft=="function"&&!((ht=Ft.prototype)!==null&&ht!==void 0&&ht.render)||typeof ot=="function"&&!((vt=ot.prototype)!==null&&vt!==void 0&&vt.render))}var Se=Te.createContext(null),be=Se,je=Pe(74902),we=ae()?Te.useLayoutEffect:Te.useEffect,Oe=we,Ae=function(ht,vt){var Ft=React.useRef(!0);we(function(){if(!Ft.current)return ht()},vt),we(function(){return Ft.current=!1,function(){Ft.current=!0}},[])},Fe=[];function ke(ot,ht){var vt=Te.useState(function(){if(!ae())return null;var na=document.createElement("div");return na}),Ft=(0,ue.Z)(vt,1),Jt=Ft[0],gn=Te.useRef(!1),Sn=Te.useContext(be),Kn=Te.useState(Fe),lr=(0,ue.Z)(Kn,2),rr=lr[0],Dr=lr[1],sr=Sn||(gn.current?void 0:function(na){Dr(function(ka){var Ea=[na].concat((0,je.Z)(ka));return Ea})});function Br(){Jt.parentElement||document.body.appendChild(Jt),gn.current=!0}function Tr(){var na;(na=Jt.parentElement)===null||na===void 0||na.removeChild(Jt),gn.current=!1}return Oe(function(){return ot?Sn?Sn(Br):Br():Tr(),Tr},[ot]),Oe(function(){rr.length&&(rr.forEach(function(na){return na()}),Dr(Fe))},[rr]),[Jt,sr]}function Ve(ot,ht){if(!ot)return!1;if(ot.contains)return ot.contains(ht);for(var vt=ht;vt;){if(vt===ot)return!0;vt=vt.parentNode}return!1}var De="data-rc-order",ut="rc-util-key",nt=new Map;function qe(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ht=ot.mark;return ht?ht.startsWith("data-")?ht:"data-".concat(ht):ut}function Xe(ot){if(ot.attachTo)return ot.attachTo;var ht=document.querySelector("head");return ht||document.body}function $e(ot){return ot==="queue"?"prependQueue":ot?"prepend":"append"}function Ue(ot){return Array.from((nt.get(ot)||ot).children).filter(function(ht){return ht.tagName==="STYLE"})}function Be(ot){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ae())return null;var vt=ht.csp,Ft=ht.prepend,Jt=document.createElement("style");Jt.setAttribute(De,$e(Ft)),vt!=null&&vt.nonce&&(Jt.nonce=vt==null?void 0:vt.nonce),Jt.innerHTML=ot;var gn=Xe(ht),Sn=gn.firstChild;if(Ft){if(Ft==="queue"){var Kn=Ue(gn).filter(function(lr){return["prepend","prependQueue"].includes(lr.getAttribute(De))});if(Kn.length)return gn.insertBefore(Jt,Kn[Kn.length-1].nextSibling),Jt}gn.insertBefore(Jt,Sn)}else gn.appendChild(Jt);return Jt}function tt(ot){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vt=Xe(ht);return Ue(vt).find(function(Ft){return Ft.getAttribute(qe(ht))===ot})}function Je(ot){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vt=tt(ot,ht);if(vt){var Ft=Xe(ht);Ft.removeChild(vt)}}function ft(ot,ht){var vt=nt.get(ot);if(!vt||!Ve(document,vt)){var Ft=Be("",ht),Jt=Ft.parentNode;nt.set(ot,Jt),ot.removeChild(Ft)}}function Ze(){nt.clear()}function Ge(ot,ht){var vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ft=Xe(vt);ft(Ft,vt);var Jt=tt(ht,vt);if(Jt){var gn,Sn;if((gn=vt.csp)!==null&&gn!==void 0&&gn.nonce&&Jt.nonce!==((Sn=vt.csp)===null||Sn===void 0?void 0:Sn.nonce)){var Kn;Jt.nonce=(Kn=vt.csp)===null||Kn===void 0?void 0:Kn.nonce}return Jt.innerHTML!==ot&&(Jt.innerHTML=ot),Jt}var lr=Be(ot,vt);return lr.setAttribute(qe(vt),ht),lr}var Le;function Ke(ot){if(typeof document=="undefined")return 0;if(ot||Le===void 0){var ht=document.createElement("div");ht.style.width="100%",ht.style.height="200px";var vt=document.createElement("div"),Ft=vt.style;Ft.position="absolute",Ft.top="0",Ft.left="0",Ft.pointerEvents="none",Ft.visibility="hidden",Ft.width="200px",Ft.height="150px",Ft.overflow="hidden",vt.appendChild(ht),document.body.appendChild(vt);var Jt=ht.offsetWidth;vt.style.overflow="scroll";var gn=ht.offsetWidth;Jt===gn&&(gn=vt.clientWidth),document.body.removeChild(vt),Le=Jt-gn}return Le}function Ee(ot){var ht=ot.match(/^(.*)px$/),vt=Number(ht==null?void 0:ht[1]);return Number.isNaN(vt)?Ke():vt}function Re(ot){if(typeof document=="undefined"||!ot||!(ot instanceof Element))return{width:0,height:0};var ht=getComputedStyle(ot,"::-webkit-scrollbar"),vt=ht.width,Ft=ht.height;return{width:Ee(vt),height:Ee(Ft)}}function Qe(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Ye="rc-util-locker-".concat(Date.now()),We=0;function Ce(ot){var ht=!!ot,vt=Te.useState(function(){return We+=1,"".concat(Ye,"_").concat(We)}),Ft=(0,ue.Z)(vt,1),Jt=Ft[0];Oe(function(){if(ht){var gn=Re(document.body).width,Sn=Qe();Ge(`
|
|
html body {
|
|
overflow-y: hidden;
|
|
`.concat(Sn?"width: calc(100% - ".concat(gn,"px);"):"",`
|
|
}`),Jt)}else Je(Jt);return function(){Je(Jt)}},[ht,Jt])}var xe=!1;function Ne(ot){return typeof ot=="boolean"&&(xe=ot),xe}var ze=function(ht){return ht===!1?!1:!ae()||!ht?null:typeof ht=="string"?document.querySelector(ht):typeof ht=="function"?ht():ht},it=Te.forwardRef(function(ot,ht){var vt=ot.open,Ft=ot.autoLock,Jt=ot.getContainer,gn=ot.debug,Sn=ot.autoDestroy,Kn=Sn===void 0?!0:Sn,lr=ot.children,rr=Te.useState(vt),Dr=(0,ue.Z)(rr,2),sr=Dr[0],Br=Dr[1],Tr=sr||vt;Te.useEffect(function(){(Kn||vt)&&Br(vt)},[vt,Kn]);var na=Te.useState(function(){return ze(Jt)}),ka=(0,ue.Z)(na,2),Ea=ka[0],Ga=ka[1];Te.useEffect(function(){var yo=ze(Jt);Ga(yo!=null?yo:null)});var ja=ke(Tr&&!Ea,gn),fa=(0,ue.Z)(ja,2),Lr=fa[0],fo=fa[1],io=Ea!=null?Ea:Lr;Ce(Ft&&vt&&ae()&&(io===Lr||io===document.body));var mo=null;if(lr&&pe(lr)&&ht){var vo=lr;mo=vo.ref}var Mo=he(mo,ht);if(!Tr||!ae()||Ea===void 0)return null;var eo=io===!1||Ne(),za=lr;return ht&&(za=Te.cloneElement(lr,{ref:Mo})),Te.createElement(be.Provider,{value:fo},eo?za:(0,ce.createPortal)(za,io))}),St=it,dt=St,bt=Pe(48555);function an(ot){return ot instanceof HTMLElement||ot instanceof SVGElement}function kt(ot){return an(ot)?ot:ot instanceof React.Component?ReactDOM.findDOMNode(ot):null}function lt(ot){var ht;return ot==null||(ht=ot.getRootNode)===null||ht===void 0?void 0:ht.call(ot)}function at(ot){return lt(ot)instanceof ShadowRoot}function Dt(ot){return at(ot)?lt(ot):null}function rt(ot){var ht=Te.useRef();ht.current=ot;var vt=Te.useCallback(function(){for(var Ft,Jt=arguments.length,gn=new Array(Jt),Sn=0;Sn<Jt;Sn++)gn[Sn]=arguments[Sn];return(Ft=ht.current)===null||Ft===void 0?void 0:Ft.call.apply(Ft,[ht].concat(gn))},[]);return vt}function _e(){var ot=(0,le.Z)({},He);return ot.useId}var mt=0;function Ot(){}var xt=_e(),Ut=xt?function(ht){var vt=xt();return ht||vt}:function(ht){var vt=Te.useState("ssr-id"),Ft=(0,ue.Z)(vt,2),Jt=Ft[0],gn=Ft[1];return Te.useEffect(function(){var Sn=mt;mt+=1,gn("rc_unique_".concat(Sn))},[]),ht||Jt};function Wt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var qt=Wt()?Te.useLayoutEffect:Te.useEffect,hn=function(ht,vt){var Ft=Te.useRef(!0);qt(function(){return ht(Ft.current)},vt),qt(function(){return Ft.current=!1,function(){Ft.current=!0}},[])},jn=function(ht,vt){hn(function(Ft){if(!Ft)return ht()},vt)},Tn=hn,Fn=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var ot=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(ot)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(ot==null?void 0:ot.substr(0,4))},pr=Te.createContext(null),yr=pr;function Cr(ot){return ot?Array.isArray(ot)?ot:[ot]:[]}function Ur(ot,ht,vt,Ft){return Te.useMemo(function(){var Jt=Cr(vt!=null?vt:ht),gn=Cr(Ft!=null?Ft:ht),Sn=new Set(Jt),Kn=new Set(gn);return ot&&(Sn.has("hover")&&(Sn.delete("hover"),Sn.add("click")),Kn.has("hover")&&(Kn.delete("hover"),Kn.add("click"))),[Sn,Kn]},[ot,ht,vt,Ft])}var Hr=function(ot){if(!ot)return!1;if(ot instanceof Element){if(ot.offsetParent)return!0;if(ot.getBBox){var ht=ot.getBBox(),vt=ht.width,Ft=ht.height;if(vt||Ft)return!0}if(ot.getBoundingClientRect){var Jt=ot.getBoundingClientRect(),gn=Jt.width,Sn=Jt.height;if(gn||Sn)return!0}}return!1};function ma(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],vt=arguments.length>2?arguments[2]:void 0;return vt?ot[0]===ht[0]:ot[0]===ht[0]&&ot[1]===ht[1]}function Da(ot,ht,vt,Ft){for(var Jt=vt.points,gn=Object.keys(ot),Sn=0;Sn<gn.length;Sn+=1){var Kn,lr=gn[Sn];if(ma((Kn=ot[lr])===null||Kn===void 0?void 0:Kn.points,Jt,Ft))return"".concat(ht,"-placement-").concat(lr)}return""}function ya(ot,ht,vt,Ft){return ht||(vt?{motionName:"".concat(ot,"-").concat(vt)}:Ft?{motionName:Ft}:null)}function da(ot){return ot.ownerDocument.defaultView}function fn(ot){for(var ht=[],vt=ot==null?void 0:ot.parentElement,Ft=["hidden","scroll","clip","auto"];vt;){var Jt=da(vt).getComputedStyle(vt),gn=Jt.overflowX,Sn=Jt.overflowY,Kn=Jt.overflow;[gn,Sn,Kn].some(function(lr){return Ft.includes(lr)})&&ht.push(vt),vt=vt.parentElement}return ht}function xn(ot){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(ot)?ht:ot}function Rn(ot){return xn(parseFloat(ot),0)}function oa(ot,ht){var vt=(0,le.Z)({},ot);return(ht||[]).forEach(function(Ft){if(!(Ft instanceof HTMLBodyElement||Ft instanceof HTMLHtmlElement)){var Jt=da(Ft).getComputedStyle(Ft),gn=Jt.overflow,Sn=Jt.overflowClipMargin,Kn=Jt.borderTopWidth,lr=Jt.borderBottomWidth,rr=Jt.borderLeftWidth,Dr=Jt.borderRightWidth,sr=Ft.getBoundingClientRect(),Br=Ft.offsetHeight,Tr=Ft.clientHeight,na=Ft.offsetWidth,ka=Ft.clientWidth,Ea=Rn(Kn),Ga=Rn(lr),ja=Rn(rr),fa=Rn(Dr),Lr=xn(Math.round(sr.width/na*1e3)/1e3),fo=xn(Math.round(sr.height/Br*1e3)/1e3),io=(na-ka-ja-fa)*Lr,mo=(Br-Tr-Ea-Ga)*fo,vo=Ea*fo,Mo=Ga*fo,eo=ja*Lr,za=fa*Lr,yo=0,wo=0;if(gn==="clip"){var so=Rn(Sn);yo=so*Lr,wo=so*fo}var _a=sr.x+eo-yo,to=sr.y+vo-wo,ha=_a+sr.width+2*yo-eo-za-io,No=to+sr.height+2*wo-vo-Mo-mo;vt.left=Math.max(vt.left,_a),vt.top=Math.max(vt.top,to),vt.right=Math.min(vt.right,ha),vt.bottom=Math.min(vt.bottom,No)}}),vt}function ar(ot){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,vt="".concat(ht),Ft=vt.match(/^(.*)\%$/);return Ft?ot*(parseFloat(Ft[1])/100):parseFloat(vt)}function _n(ot,ht){var vt=ht||[],Ft=(0,ue.Z)(vt,2),Jt=Ft[0],gn=Ft[1];return[ar(ot.width,Jt),ar(ot.height,gn)]}function Rt(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[ot[0],ot[1]]}function Mt(ot,ht){var vt=ht[0],Ft=ht[1],Jt,gn;return vt==="t"?gn=ot.y:vt==="b"?gn=ot.y+ot.height:gn=ot.y+ot.height/2,Ft==="l"?Jt=ot.x:Ft==="r"?Jt=ot.x+ot.width:Jt=ot.x+ot.width/2,{x:Jt,y:gn}}function Lt(ot,ht){var vt={t:"b",b:"t",l:"r",r:"l"};return ot.map(function(Ft,Jt){return Jt===ht?vt[Ft]||"c":Ft}).join("")}function Pn(ot,ht,vt,Ft,Jt,gn,Sn){var Kn=Te.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Jt[Ft]||{}}),lr=(0,ue.Z)(Kn,2),rr=lr[0],Dr=lr[1],sr=Te.useRef(0),Br=Te.useMemo(function(){return ht?fn(ht):[]},[ht]),Tr=Te.useRef({}),na=function(){Tr.current={}};ot||na();var ka=rt(function(){if(ht&&vt&&ot){let zr=function(gr,qn){var Bn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Io,ur=Ja.x+gr,kr=Ja.y+qn,va=ur+lo,ra=kr+jo,Fr=Math.max(ur,Bn.left),ba=Math.max(kr,Bn.top),Ta=Math.min(va,Bn.right),Wn=Math.min(ra,Bn.bottom);return Math.max(0,(Ta-Fr)*(Wn-ba))},Xn=function(){Zi=Ja.y+co,Ss=Zi+jo,cs=Ja.x+Do,bs=cs+lo};var ja,fa,Lr=ht,fo=Lr.ownerDocument,io=da(Lr),mo=io.getComputedStyle(Lr),vo=mo.width,Mo=mo.height,eo=mo.position,za=Lr.style.left,yo=Lr.style.top,wo=Lr.style.right,so=Lr.style.bottom,_a=(0,le.Z)((0,le.Z)({},Jt[Ft]),gn),to=fo.createElement("div");(ja=Lr.parentElement)===null||ja===void 0||ja.appendChild(to),to.style.left="".concat(Lr.offsetLeft,"px"),to.style.top="".concat(Lr.offsetTop,"px"),to.style.position=eo,to.style.height="".concat(Lr.offsetHeight,"px"),to.style.width="".concat(Lr.offsetWidth,"px"),Lr.style.left="0",Lr.style.top="0",Lr.style.right="auto",Lr.style.bottom="auto";var ha;if(Array.isArray(vt))ha={x:vt[0],y:vt[1],width:0,height:0};else{var No=vt.getBoundingClientRect();ha={x:No.x,y:No.y,width:No.width,height:No.height}}var Ja=Lr.getBoundingClientRect(),Ro=fo.documentElement,Jo=Ro.clientWidth,_o=Ro.clientHeight,ci=Ro.scrollWidth,di=Ro.scrollHeight,Qa=Ro.scrollTop,si=Ro.scrollLeft,jo=Ja.height,lo=Ja.width,Fo=ha.height,bi=ha.width,Ui={left:0,top:0,right:Jo,bottom:_o},Ji={left:-si,top:-Qa,right:ci-si,bottom:di-Qa},Xo=_a.htmlRegion,Zo="visible",Pi="visibleFirst";Xo!=="scroll"&&Xo!==Pi&&(Xo=Zo);var Wo=Xo===Pi,uo=oa(Ji,Br),ga=oa(Ui,Br),Io=Xo===Zo?ga:uo,Qo=Wo?ga:Io;Lr.style.left="auto",Lr.style.top="auto",Lr.style.right="0",Lr.style.bottom="0";var Ti=Lr.getBoundingClientRect();Lr.style.left=za,Lr.style.top=yo,Lr.style.right=wo,Lr.style.bottom=so,(fa=Lr.parentElement)===null||fa===void 0||fa.removeChild(to);var Qi=xn(Math.round(lo/parseFloat(vo)*1e3)/1e3),Gi=xn(Math.round(jo/parseFloat(Mo)*1e3)/1e3);if(Qi===0||Gi===0||an(vt)&&!Hr(vt))return;var Xs=_a.offset,Os=_a.targetOffset,Oi=_n(Ja,Xs),ks=(0,ue.Z)(Oi,2),Li=ks[0],qo=ks[1],ls=_n(ha,Os),ji=(0,ue.Z)(ls,2),Ys=ji[0],il=ji[1];ha.x-=Ys,ha.y-=il;var vs=_a.points||[],wi=(0,ue.Z)(vs,2),qi=wi[0],sl=wi[1],zi=Rt(sl),fi=Rt(qi),Js=Mt(ha,zi),Ls=Mt(Ja,fi),us=(0,le.Z)({},_a),Do=Js.x-Ls.x+Li,co=Js.y-Ls.y+qo,Ri=zr(Do,co),Ki=zr(Do,co,ga),js=Mt(ha,["t","l"]),_s=Mt(Ja,["t","l"]),As=Mt(ha,["b","r"]),Ai=Mt(Ja,["b","r"]),ys=_a.overflow||{},Qs=ys.adjustX,Ns=ys.adjustY,$s=ys.shiftX,Us=ys.shiftY,Gs=function(qn){return typeof qn=="boolean"?qn:qn>=0},Zi,Ss,cs,bs;Xn();var Ps=Gs(Ns),el=fi[0]===zi[0];if(Ps&&fi[0]==="t"&&(Ss>Qo.bottom||Tr.current.bt)){var Fi=co;el?Fi-=jo-Fo:Fi=js.y-Ai.y-qo;var zs=zr(Do,Fi),gi=zr(Do,Fi,ga);zs>Ri||zs===Ri&&(!Wo||gi>=Ki)?(Tr.current.bt=!0,co=Fi,qo=-qo,us.points=[Lt(fi,0),Lt(zi,0)]):Tr.current.bt=!1}if(Ps&&fi[0]==="b"&&(Zi<Qo.top||Tr.current.tb)){var ds=co;el?ds+=jo-Fo:ds=As.y-_s.y-qo;var Ks=zr(Do,ds),tl=zr(Do,ds,ga);Ks>Ri||Ks===Ri&&(!Wo||tl>=Ki)?(Tr.current.tb=!0,co=ds,qo=-qo,us.points=[Lt(fi,0),Lt(zi,0)]):Tr.current.tb=!1}var Zs=Gs(Qs),Ei=fi[1]===zi[1];if(Zs&&fi[1]==="l"&&(bs>Qo.right||Tr.current.rl)){var fs=Do;Ei?fs-=lo-bi:fs=js.x-Ai.x-Li;var Ws=zr(fs,co),Ie=zr(fs,co,ga);Ws>Ri||Ws===Ri&&(!Wo||Ie>=Ki)?(Tr.current.rl=!0,Do=fs,Li=-Li,us.points=[Lt(fi,1),Lt(zi,1)]):Tr.current.rl=!1}if(Zs&&fi[1]==="r"&&(cs<Qo.left||Tr.current.lr)){var Me=Do;Ei?Me+=lo-bi:Me=As.x-_s.x-Li;var et=zr(Me,co),st=zr(Me,co,ga);et>Ri||et===Ri&&(!Wo||st>=Ki)?(Tr.current.lr=!0,Do=Me,Li=-Li,us.points=[Lt(fi,1),Lt(zi,1)]):Tr.current.lr=!1}Xn();var gt=$s===!0?0:$s;typeof gt=="number"&&(cs<ga.left&&(Do-=cs-ga.left-Li,ha.x+bi<ga.left+gt&&(Do+=ha.x-ga.left+bi-gt)),bs>ga.right&&(Do-=bs-ga.right-Li,ha.x>ga.right-gt&&(Do+=ha.x-ga.right+gt)));var pt=Us===!0?0:Us;typeof pt=="number"&&(Zi<ga.top&&(co-=Zi-ga.top-qo,ha.y+Fo<ga.top+pt&&(co+=ha.y-ga.top+Fo-pt)),Ss>ga.bottom&&(co-=Ss-ga.bottom-qo,ha.y>ga.bottom-pt&&(co+=ha.y-ga.bottom+pt)));var Et=Ja.x+Do,It=Et+lo,Nt=Ja.y+co,$t=Nt+jo,Qt=ha.x,Ht=Qt+bi,mn=ha.y,pn=mn+Fo,yn=Math.max(Et,Qt),Mn=Math.min(It,Ht),An=(yn+Mn)/2,Dn=An-Et,Nn=Math.max(Nt,mn),Gn=Math.min($t,pn),Sr=(Nn+Gn)/2,xr=Sr-Nt;Sn==null||Sn(ht,us);var fr=Ti.right-Ja.x-(Do+Ja.width),Jr=Ti.bottom-Ja.y-(co+Ja.height);Dr({ready:!0,offsetX:Do/Qi,offsetY:co/Gi,offsetR:fr/Qi,offsetB:Jr/Gi,arrowX:Dn/Qi,arrowY:xr/Gi,scaleX:Qi,scaleY:Gi,align:us})}}),Ea=function(){sr.current+=1;var fa=sr.current;Promise.resolve().then(function(){sr.current===fa&&ka()})},Ga=function(){Dr(function(fa){return(0,le.Z)((0,le.Z)({},fa),{},{ready:!1})})};return Tn(Ga,[Ft]),Tn(function(){ot||Ga()},[ot]),[rr.ready,rr.offsetX,rr.offsetY,rr.offsetR,rr.offsetB,rr.arrowX,rr.arrowY,rr.scaleX,rr.scaleY,rr.align,Ea]}function zn(ot,ht,vt,Ft,Jt){Tn(function(){if(ot&&ht&&vt){let sr=function(){Ft(),Jt()};var gn=ht,Sn=vt,Kn=fn(gn),lr=fn(Sn),rr=da(Sn),Dr=new Set([rr].concat((0,je.Z)(Kn),(0,je.Z)(lr)));return Dr.forEach(function(Br){Br.addEventListener("scroll",sr,{passive:!0})}),rr.addEventListener("resize",sr,{passive:!0}),Ft(),function(){Dr.forEach(function(Br){Br.removeEventListener("scroll",sr),rr.removeEventListener("resize",sr)})}}},[ot,ht,vt])}function $n(ot){var ht=React.useRef(!1),vt=React.useState(ot),Ft=_slicedToArray(vt,2),Jt=Ft[0],gn=Ft[1];React.useEffect(function(){return ht.current=!1,function(){ht.current=!0}},[]);function Sn(Kn,lr){lr&&ht.current||gn(Kn)}return[Jt,Sn]}function _r(ot){return ot!==void 0}function Vr(ot,ht){var vt=ht||{},Ft=vt.defaultValue,Jt=vt.value,gn=vt.onChange,Sn=vt.postState,Kn=useState(function(){return _r(Jt)?Jt:_r(Ft)?typeof Ft=="function"?Ft():Ft:typeof ot=="function"?ot():ot}),lr=_slicedToArray(Kn,2),rr=lr[0],Dr=lr[1],sr=Jt!==void 0?Jt:rr,Br=Sn?Sn(sr):sr,Tr=useEvent(gn),na=useState([sr]),ka=_slicedToArray(na,2),Ea=ka[0],Ga=ka[1];useLayoutUpdateEffect(function(){var fa=Ea[0];rr!==fa&&Tr(rr,fa)},[Ea]),useLayoutUpdateEffect(function(){_r(Jt)||Dr(Jt)},[Jt]);var ja=useEvent(function(fa,Lr){Dr(fa,Lr),Ga([sr],Lr)});return[Br,ja]}var Xr=Pe(95845);function aa(ot,ht,vt){var Ft=Te.useRef({});return(!("value"in Ft.current)||vt(Ft.current.condition,ht))&&(Ft.current.value=ot(),Ft.current.condition=ht),Ft.current.value}function sa(ot,ht){typeof ot=="function"?ot(ht):(0,re.Z)(ot)==="object"&&ot&&"current"in ot&&(ot.current=ht)}function Cn(){for(var ot=arguments.length,ht=new Array(ot),vt=0;vt<ot;vt++)ht[vt]=arguments[vt];var Ft=ht.filter(function(Jt){return Jt});return Ft.length<=1?Ft[0]:function(Jt){ht.forEach(function(gn){sa(gn,Jt)})}}function Mr(){for(var ot=arguments.length,ht=new Array(ot),vt=0;vt<ot;vt++)ht[vt]=arguments[vt];return aa(function(){return Cn.apply(void 0,ht)},ht,function(Ft,Jt){return Ft.length!==Jt.length||Ft.every(function(gn,Sn){return gn!==Jt[Sn]})})}function Nr(ot){var ht,vt,Ft=(0,Xr.isMemo)(ot)?ot.type.type:ot.type;return!(typeof Ft=="function"&&!((ht=Ft.prototype)!==null&&ht!==void 0&&ht.render)||typeof ot=="function"&&!((vt=ot.prototype)!==null&&vt!==void 0&&vt.render))}function La(ot){return!isValidElement(ot)||isFragment(ot)?!1:Nr(ot)}function Na(ot,ht,vt,Ft){if(!ht.length)return vt;var Jt=_toArray(ht),gn=Jt[0],Sn=Jt.slice(1),Kn;return!ot&&typeof gn=="number"?Kn=[]:Array.isArray(ot)?Kn=_toConsumableArray(ot):Kn=_objectSpread({},ot),Ft&&vt===void 0&&Sn.length===1?delete Kn[gn][Sn[0]]:Kn[gn]=Na(Kn[gn],Sn,vt,Ft),Kn}function Ca(ot,ht,vt){var Ft=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return ht.length&&Ft&&vt===void 0&&!get(ot,ht.slice(0,-1))?ot:Na(ot,ht,vt,Ft)}function Wa(ot){return _typeof(ot)==="object"&&ot!==null&&Object.getPrototypeOf(ot)===Object.prototype}function ia(ot){return Array.isArray(ot)?[]:{}}var jt=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function en(){for(var ot=arguments.length,ht=new Array(ot),vt=0;vt<ot;vt++)ht[vt]=arguments[vt];var Ft=ia(ht[0]);return ht.forEach(function(Jt){function gn(Sn,Kn){var lr=new Set(Kn),rr=get(Jt,Sn),Dr=Array.isArray(rr);if(Dr||Wa(rr)){if(!lr.has(rr)){lr.add(rr);var sr=get(Ft,Sn);Dr?Ft=Ca(Ft,Sn,[]):(!sr||_typeof(sr)!=="object")&&(Ft=Ca(Ft,Sn,ia(rr))),jt(rr).forEach(function(Br){gn([].concat(_toConsumableArray(Sn),[Br]),lr)})}}else Ft=Ca(Ft,Sn,rr)}gn([])}),Ft}var tn={},sn=[],un=function(ht){sn.push(ht)};function nn(ot,ht){if(0)var vt}function bn(ot,ht){if(0)var vt}function Tt(){tn={}}function Ir(ot,ht,vt){!ht&&!tn[vt]&&(ot(!1,vt),tn[vt]=!0)}function hr(ot,ht){Ir(nn,ot,ht)}function er(ot,ht){Ir(bn,ot,ht)}hr.preMessage=un,hr.resetWarned=Tt,hr.noteOnce=er;var la=null,cn=function(ht){return+setTimeout(ht,16)},On=function(ht){return clearTimeout(ht)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(cn=function(ht){return window.requestAnimationFrame(ht)},On=function(ht){return window.cancelAnimationFrame(ht)});var Er=0,Vn=new Map;function Sa(ot){Vn.delete(ot)}var pa=function(ht){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Er+=1;var Ft=Er;function Jt(gn){if(gn===0)Sa(Ft),ht();else{var Sn=cn(function(){Jt(gn-1)});Vn.set(Ft,Sn)}}return Jt(vt),Ft};pa.cancel=function(ot){var ht=Vn.get(ot);return Sa(ht),On(ht)};var Ia=pa;function Ba(ot,ht,vt,Ft,Jt,gn,Sn,Kn){var lr=Te.useRef(ot),rr=Te.useRef(!1);lr.current!==ot&&(rr.current=!0,lr.current=ot),Te.useEffect(function(){var Dr=Ia(function(){rr.current=!1});return function(){Ia.cancel(Dr)}},[ot]),Te.useEffect(function(){if(ht&&Ft&&(!Jt||gn)){var Dr=function(){var eo=!1,za=function(so){var _a=so.target;eo=Sn(_a)},yo=function(so){var _a=so.target;!rr.current&&lr.current&&!eo&&!Sn(_a)&&Kn(!1)};return[za,yo]},sr=Dr(),Br=(0,ue.Z)(sr,2),Tr=Br[0],na=Br[1],ka=Dr(),Ea=(0,ue.Z)(ka,2),Ga=Ea[0],ja=Ea[1],fa=da(Ft);fa.addEventListener("mousedown",Tr,!0),fa.addEventListener("click",na,!0),fa.addEventListener("contextmenu",na,!0);var Lr=Dt(vt);if(Lr&&(Lr.addEventListener("mousedown",Ga,!0),Lr.addEventListener("click",ja,!0),Lr.addEventListener("contextmenu",ja,!0)),0)var fo,io,mo,vo;return function(){fa.removeEventListener("mousedown",Tr,!0),fa.removeEventListener("click",na,!0),fa.removeEventListener("contextmenu",na,!0),Lr&&(Lr.removeEventListener("mousedown",Ga,!0),Lr.removeEventListener("click",ja,!0),Lr.removeEventListener("contextmenu",ja,!0))}}},[ht,vt,Ft,Jt,gn])}function Ra(ot){return ot instanceof HTMLElement||ot instanceof SVGElement}function yt(ot){return Ra(ot)?ot:ot instanceof Te.Component?ce.findDOMNode(ot):null}function Pt(ot,ht){var vt={};return vt[ot.toLowerCase()]=ht.toLowerCase(),vt["Webkit".concat(ot)]="webkit".concat(ht),vt["Moz".concat(ot)]="moz".concat(ht),vt["ms".concat(ot)]="MS".concat(ht),vt["O".concat(ot)]="o".concat(ht.toLowerCase()),vt}function Gt(ot,ht){var vt={animationend:Pt("Animation","AnimationEnd"),transitionend:Pt("Transition","TransitionEnd")};return ot&&("AnimationEvent"in ht||delete vt.animationend.animation,"TransitionEvent"in ht||delete vt.transitionend.transition),vt}var ln=Gt(ae(),typeof window!="undefined"?window:{}),wn={};if(ae()){var Yn=document.createElement("div");wn=Yn.style}var cr={};function vr(ot){if(cr[ot])return cr[ot];var ht=ln[ot];if(ht)for(var vt=Object.keys(ht),Ft=vt.length,Jt=0;Jt<Ft;Jt+=1){var gn=vt[Jt];if(Object.prototype.hasOwnProperty.call(ht,gn)&&gn in wn)return cr[ot]=ht[gn],cr[ot]}return""}var Gr=vr("animationend"),ta=vr("transitionend"),qr=!!(Gr&&ta),Yr=Gr||"animationend",Fa=ta||"transitionend";function Ha(ot,ht){if(!ot)return null;if((0,re.Z)(ot)==="object"){var vt=ht.replace(/-\w/g,function(Ft){return Ft[1].toUpperCase()});return ot[vt]}return"".concat(ot,"-").concat(ht)}var Ln="none",or="appear",Rr="enter",$r="leave",Hn="none",wt="prepare",Bt="start",zt="active",ct="end";function Xt(ot){var ht=Te.useRef(!1),vt=Te.useState(ot),Ft=(0,ue.Z)(vt,2),Jt=Ft[0],gn=Ft[1];Te.useEffect(function(){return ht.current=!1,function(){ht.current=!0}},[]);function Sn(Kn,lr){lr&&ht.current||gn(Kn)}return[Jt,Sn]}var vn=function(ht){return+setTimeout(ht,16)},dn=function(ht){return clearTimeout(ht)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(vn=function(ht){return window.requestAnimationFrame(ht)},dn=function(ht){return window.cancelAnimationFrame(ht)});var _t=0,Vt=new Map;function Kt(ot){Vt.delete(ot)}var Yt=function(ht){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;_t+=1;var Ft=_t;function Jt(gn){if(gn===0)Kt(Ft),ht();else{var Sn=vn(function(){Jt(gn-1)});Vt.set(Ft,Sn)}}return Jt(vt),Ft};Yt.cancel=function(ot){var ht=Vt.get(ot);return Kt(ht),dn(ht)};var Zt=Yt,rn=function(){var ot=Te.useRef(null);function ht(){Zt.cancel(ot.current)}function vt(Ft){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;ht();var gn=Zt(function(){Jt<=1?Ft({isCanceled:function(){return gn!==ot.current}}):vt(Ft,Jt-1)});ot.current=gn}return Te.useEffect(function(){return function(){ht()}},[]),[vt,ht]},on=ae()?Te.useLayoutEffect:Te.useEffect,In=on,Un=[wt,Bt,zt,ct],dr=!1,En=!0;function Jn(ot){return ot===zt||ot===ct}var tr=function(ot,ht){var vt=Xt(Hn),Ft=(0,ue.Z)(vt,2),Jt=Ft[0],gn=Ft[1],Sn=rn(),Kn=(0,ue.Z)(Sn,2),lr=Kn[0],rr=Kn[1];function Dr(){gn(wt,!0)}return In(function(){if(Jt!==Hn&&Jt!==ct){var sr=Un.indexOf(Jt),Br=Un[sr+1],Tr=ht(Jt);Tr===dr?gn(Br,!0):lr(function(na){function ka(){na.isCanceled()||gn(Br,!0)}Tr===!0?ka():Promise.resolve(Tr).then(ka)})}},[ot,Jt]),Te.useEffect(function(){return function(){rr()}},[]),[Dr,Jt]},ir=function(ot){var ht=(0,Te.useRef)(),vt=(0,Te.useRef)(ot);vt.current=ot;var Ft=Te.useCallback(function(Sn){vt.current(Sn)},[]);function Jt(Sn){Sn&&(Sn.removeEventListener(Fa,Ft),Sn.removeEventListener(Yr,Ft))}function gn(Sn){ht.current&&ht.current!==Sn&&Jt(ht.current),Sn&&Sn!==ht.current&&(Sn.addEventListener(Fa,Ft),Sn.addEventListener(Yr,Ft),ht.current=Sn)}return Te.useEffect(function(){return function(){Jt(ht.current)}},[]),[gn,Jt]};function br(ot,ht,vt,Ft){var Jt=Ft.motionEnter,gn=Jt===void 0?!0:Jt,Sn=Ft.motionAppear,Kn=Sn===void 0?!0:Sn,lr=Ft.motionLeave,rr=lr===void 0?!0:lr,Dr=Ft.motionDeadline,sr=Ft.motionLeaveImmediately,Br=Ft.onAppearPrepare,Tr=Ft.onEnterPrepare,na=Ft.onLeavePrepare,ka=Ft.onAppearStart,Ea=Ft.onEnterStart,Ga=Ft.onLeaveStart,ja=Ft.onAppearActive,fa=Ft.onEnterActive,Lr=Ft.onLeaveActive,fo=Ft.onAppearEnd,io=Ft.onEnterEnd,mo=Ft.onLeaveEnd,vo=Ft.onVisibleChanged,Mo=Xt(),eo=(0,ue.Z)(Mo,2),za=eo[0],yo=eo[1],wo=Xt(Ln),so=(0,ue.Z)(wo,2),_a=so[0],to=so[1],ha=Xt(null),No=(0,ue.Z)(ha,2),Ja=No[0],Ro=No[1],Jo=(0,Te.useRef)(!1),_o=(0,Te.useRef)(null);function ci(){return vt()}var di=(0,Te.useRef)(!1);function Qa(uo){var ga=ci();if(!(uo&&!uo.deadline&&uo.target!==ga)){var Io=di.current,Qo;_a===or&&Io?Qo=fo==null?void 0:fo(ga,uo):_a===Rr&&Io?Qo=io==null?void 0:io(ga,uo):_a===$r&&Io&&(Qo=mo==null?void 0:mo(ga,uo)),_a!==Ln&&Io&&Qo!==!1&&(to(Ln,!0),Ro(null,!0))}}var si=ir(Qa),jo=(0,ue.Z)(si,1),lo=jo[0],Fo=Te.useMemo(function(){var uo,ga,Io;switch(_a){case or:return uo={},(0,te.Z)(uo,wt,Br),(0,te.Z)(uo,Bt,ka),(0,te.Z)(uo,zt,ja),uo;case Rr:return ga={},(0,te.Z)(ga,wt,Tr),(0,te.Z)(ga,Bt,Ea),(0,te.Z)(ga,zt,fa),ga;case $r:return Io={},(0,te.Z)(Io,wt,na),(0,te.Z)(Io,Bt,Ga),(0,te.Z)(Io,zt,Lr),Io;default:return{}}},[_a]),bi=tr(_a,function(uo){if(uo===wt){var ga=Fo[wt];return ga?ga(ci()):dr}if(Xo in Fo){var Io;Ro(((Io=Fo[Xo])===null||Io===void 0?void 0:Io.call(Fo,ci(),null))||null)}return Xo===zt&&(lo(ci()),Dr>0&&(clearTimeout(_o.current),_o.current=setTimeout(function(){Qa({deadline:!0})},Dr))),En}),Ui=(0,ue.Z)(bi,2),Ji=Ui[0],Xo=Ui[1],Zo=Jn(Xo);di.current=Zo,In(function(){yo(ht);var uo=Jo.current;if(Jo.current=!0,!!ot){var ga;!uo&&ht&&Kn&&(ga=or),uo&&ht&&gn&&(ga=Rr),(uo&&!ht&&rr||!uo&&sr&&!ht&&rr)&&(ga=$r),ga&&(to(ga),Ji())}},[ht]),(0,Te.useEffect)(function(){(_a===or&&!Kn||_a===Rr&&!gn||_a===$r&&!rr)&&to(Ln)},[Kn,gn,rr]),(0,Te.useEffect)(function(){return function(){Jo.current=!1,clearTimeout(_o.current)}},[]);var Pi=Te.useRef(!1);(0,Te.useEffect)(function(){za&&(Pi.current=!0),za!==void 0&&_a===Ln&&((Pi.current||za)&&(vo==null||vo(za)),Pi.current=!0)},[za,_a]);var Wo=Ja;return Fo[wt]&&Xo===Bt&&(Wo=(0,le.Z)({transition:"none"},Wo)),[_a,Xo,Wo,za!=null?za:ht]}var Zr=Pe(15671),Pa=Pe(43144),ea=Pe(60136),Qn=Pe(51630),nr=function(ot){(0,ea.Z)(vt,ot);var ht=(0,Qn.Z)(vt);function vt(){return(0,Zr.Z)(this,vt),ht.apply(this,arguments)}return(0,Pa.Z)(vt,[{key:"render",value:function(){return this.props.children}}]),vt}(Te.Component),Zn=nr;function kn(ot){var ht=ot;(0,re.Z)(ot)==="object"&&(ht=ot.transitionSupport);function vt(Jt){return!!(Jt.motionName&&ht)}var Ft=Te.forwardRef(function(Jt,gn){var Sn=Jt.visible,Kn=Sn===void 0?!0:Sn,lr=Jt.removeOnLeave,rr=lr===void 0?!0:lr,Dr=Jt.forceRender,sr=Jt.children,Br=Jt.motionName,Tr=Jt.leavedClassName,na=Jt.eventProps,ka=vt(Jt),Ea=(0,Te.useRef)(),Ga=(0,Te.useRef)();function ja(){try{return Ea.current instanceof HTMLElement?Ea.current:yt(Ga.current)}catch(ha){return null}}var fa=br(ka,Kn,ja,Jt),Lr=(0,ue.Z)(fa,4),fo=Lr[0],io=Lr[1],mo=Lr[2],vo=Lr[3],Mo=Te.useRef(vo);vo&&(Mo.current=!0);var eo=Te.useCallback(function(ha){Ea.current=ha,ve(gn,ha)},[gn]),za,yo=(0,le.Z)((0,le.Z)({},na),{},{visible:Kn});if(!sr)za=null;else if(fo===Ln||!vt(Jt))vo?za=sr((0,le.Z)({},yo),eo):!rr&&Mo.current&&Tr?za=sr((0,le.Z)((0,le.Z)({},yo),{},{className:Tr}),eo):Dr||!rr&&!Tr?za=sr((0,le.Z)((0,le.Z)({},yo),{},{style:{display:"none"}}),eo):za=null;else{var wo,so;io===wt?so="prepare":Jn(io)?so="active":io===Bt&&(so="start"),za=sr((0,le.Z)((0,le.Z)({},yo),{},{className:me()(Ha(Br,fo),(wo={},(0,te.Z)(wo,Ha(Br,"".concat(fo,"-").concat(so)),so),(0,te.Z)(wo,Br,typeof Br=="string"),wo)),style:mo}),eo)}if(Te.isValidElement(za)&&pe(za)){var _a=za,to=_a.ref;to||(za=Te.cloneElement(za,{ref:eo}))}return Te.createElement(Zn,{ref:Ga},za)});return Ft.displayName="CSSMotion",Ft}var wr=kn(qr),ua=Pe(97326),wa="add",Xa="keep",Oa="remove",ao="removed";function To(ot){var ht;return ot&&(0,re.Z)(ot)==="object"&&"key"in ot?ht=ot:ht={key:ot},(0,le.Z)((0,le.Z)({},ht),{},{key:String(ht.key)})}function Vo(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return ot.map(To)}function Ya(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],vt=[],Ft=0,Jt=ht.length,gn=Vo(ot),Sn=Vo(ht);gn.forEach(function(rr){for(var Dr=!1,sr=Ft;sr<Jt;sr+=1){var Br=Sn[sr];if(Br.key===rr.key){Ft<sr&&(vt=vt.concat(Sn.slice(Ft,sr).map(function(Tr){return(0,le.Z)((0,le.Z)({},Tr),{},{status:wa})})),Ft=sr),vt.push((0,le.Z)((0,le.Z)({},Br),{},{status:Xa})),Ft+=1,Dr=!0;break}}Dr||vt.push((0,le.Z)((0,le.Z)({},rr),{},{status:Oa}))}),Ft<Jt&&(vt=vt.concat(Sn.slice(Ft).map(function(rr){return(0,le.Z)((0,le.Z)({},rr),{},{status:wa})})));var Kn={};vt.forEach(function(rr){var Dr=rr.key;Kn[Dr]=(Kn[Dr]||0)+1});var lr=Object.keys(Kn).filter(function(rr){return Kn[rr]>1});return lr.forEach(function(rr){vt=vt.filter(function(Dr){var sr=Dr.key,Br=Dr.status;return sr!==rr||Br!==Oa}),vt.forEach(function(Dr){Dr.key===rr&&(Dr.status=Xa)})}),vt}var Oo=["component","children","onVisibleChanged","onAllRemoved"],Ko=["status"],zo=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function ri(ot){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wr,vt=function(Ft){(0,ea.Z)(gn,Ft);var Jt=(0,Qn.Z)(gn);function gn(){var Sn;(0,Zr.Z)(this,gn);for(var Kn=arguments.length,lr=new Array(Kn),rr=0;rr<Kn;rr++)lr[rr]=arguments[rr];return Sn=Jt.call.apply(Jt,[this].concat(lr)),(0,te.Z)((0,ua.Z)(Sn),"state",{keyEntities:[]}),(0,te.Z)((0,ua.Z)(Sn),"removeKey",function(Dr){var sr=Sn.state.keyEntities,Br=sr.map(function(Tr){return Tr.key!==Dr?Tr:(0,le.Z)((0,le.Z)({},Tr),{},{status:ao})});return Sn.setState({keyEntities:Br}),Br.filter(function(Tr){var na=Tr.status;return na!==ao}).length}),Sn}return(0,Pa.Z)(gn,[{key:"render",value:function(){var Kn=this,lr=this.state.keyEntities,rr=this.props,Dr=rr.component,sr=rr.children,Br=rr.onVisibleChanged,Tr=rr.onAllRemoved,na=(0,de.Z)(rr,Oo),ka=Dr||Te.Fragment,Ea={};return zo.forEach(function(Ga){Ea[Ga]=na[Ga],delete na[Ga]}),delete na.keys,Te.createElement(ka,na,lr.map(function(Ga){var ja=Ga.status,fa=(0,de.Z)(Ga,Ko),Lr=ja===wa||ja===Xa;return Te.createElement(ht,(0,oe.Z)({},Ea,{key:fa.key,visible:Lr,eventProps:fa,onVisibleChanged:function(io){if(Br==null||Br(io,{key:fa.key}),!io){var mo=Kn.removeKey(fa.key);mo===0&&Tr&&Tr()}}}),sr)}))}}],[{key:"getDerivedStateFromProps",value:function(Kn,lr){var rr=Kn.keys,Dr=lr.keyEntities,sr=Vo(rr),Br=Ya(Dr,sr);return{keyEntities:Br.filter(function(Tr){var na=Dr.find(function(ka){var Ea=ka.key;return Tr.key===Ea});return!(na&&na.status===ao&&Tr.status===Oa)})}}}]),gn}(Te.Component);return(0,te.Z)(vt,"defaultProps",{component:"div"}),vt}var Ni=ri(qr),ki=wr;function rs(ot){var ht=ot.prefixCls,vt=ot.align,Ft=ot.arrow,Jt=ot.arrowPos,gn=Ft||{},Sn=gn.className,Kn=gn.content,lr=Jt.x,rr=lr===void 0?0:lr,Dr=Jt.y,sr=Dr===void 0?0:Dr,Br=Te.useRef();if(!vt||!vt.points)return null;var Tr={position:"absolute"};if(vt.autoArrow!==!1){var na=vt.points[0],ka=vt.points[1],Ea=na[0],Ga=na[1],ja=ka[0],fa=ka[1];Ea===ja||!["t","b"].includes(Ea)?Tr.top=sr:Ea==="t"?Tr.top=0:Tr.bottom=0,Ga===fa||!["l","r"].includes(Ga)?Tr.left=rr:Ga==="l"?Tr.left=0:Tr.right=0}return Te.createElement("div",{ref:Br,className:me()("".concat(ht,"-arrow"),Sn),style:Tr},Kn)}function ai(ot){var ht=ot.prefixCls,vt=ot.open,Ft=ot.zIndex,Jt=ot.mask,gn=ot.motion;return Jt?Te.createElement(ki,(0,oe.Z)({},gn,{motionAppear:!0,visible:vt,removeOnLeave:!0}),function(Sn){var Kn=Sn.className;return Te.createElement("div",{style:{zIndex:Ft},className:me()("".concat(ht,"-mask"),Kn)})}):null}var as=Te.memo(function(ot){var ht=ot.children;return ht},function(ot,ht){return ht.cache}),Si=as,ps=Te.forwardRef(function(ot,ht){var vt=ot.popup,Ft=ot.className,Jt=ot.prefixCls,gn=ot.style,Sn=ot.target,Kn=ot.onVisibleChanged,lr=ot.open,rr=ot.keepDom,Dr=ot.fresh,sr=ot.onClick,Br=ot.mask,Tr=ot.arrow,na=ot.arrowPos,ka=ot.align,Ea=ot.motion,Ga=ot.maskMotion,ja=ot.forceRender,fa=ot.getPopupContainer,Lr=ot.autoDestroy,fo=ot.portal,io=ot.zIndex,mo=ot.onMouseEnter,vo=ot.onMouseLeave,Mo=ot.onPointerEnter,eo=ot.ready,za=ot.offsetX,yo=ot.offsetY,wo=ot.offsetR,so=ot.offsetB,_a=ot.onAlign,to=ot.onPrepare,ha=ot.stretch,No=ot.targetWidth,Ja=ot.targetHeight,Ro=typeof vt=="function"?vt():vt,Jo=lr||rr,_o=(fa==null?void 0:fa.length)>0,ci=Te.useState(!fa||!_o),di=(0,ue.Z)(ci,2),Qa=di[0],si=di[1];if(Tn(function(){!Qa&&_o&&Sn&&si(!0)},[Qa,_o,Sn]),!Qa)return null;var jo="auto",lo={left:"-1000vw",top:"-1000vh",right:jo,bottom:jo};if(eo||!lr){var Fo,bi=ka.points,Ui=ka.dynamicInset||((Fo=ka._experimental)===null||Fo===void 0?void 0:Fo.dynamicInset),Ji=Ui&&bi[0][1]==="r",Xo=Ui&&bi[0][0]==="b";Ji?(lo.right=wo,lo.left=jo):(lo.left=za,lo.right=jo),Xo?(lo.bottom=so,lo.top=jo):(lo.top=yo,lo.bottom=jo)}var Zo={};return ha&&(ha.includes("height")&&Ja?Zo.height=Ja:ha.includes("minHeight")&&Ja&&(Zo.minHeight=Ja),ha.includes("width")&&No?Zo.width=No:ha.includes("minWidth")&&No&&(Zo.minWidth=No)),lr||(Zo.pointerEvents="none"),Te.createElement(fo,{open:ja||Jo,getContainer:fa&&function(){return fa(Sn)},autoDestroy:Lr},Te.createElement(ai,{prefixCls:Jt,open:lr,zIndex:io,mask:Br,motion:Ga}),Te.createElement(bt.Z,{onResize:_a,disabled:!lr},function(Pi){return Te.createElement(ki,(0,oe.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ja,leavedClassName:"".concat(Jt,"-hidden")},Ea,{onAppearPrepare:to,onEnterPrepare:to,visible:lr,onVisibleChanged:function(uo){var ga;Ea==null||(ga=Ea.onVisibleChanged)===null||ga===void 0||ga.call(Ea,uo),Kn(uo)}}),function(Wo,uo){var ga=Wo.className,Io=Wo.style,Qo=me()(Jt,ga,Ft);return Te.createElement("div",{ref:Cn(Pi,ht,uo),className:Qo,style:(0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)({"--arrow-x":"".concat(na.x||0,"px"),"--arrow-y":"".concat(na.y||0,"px")},lo),Zo),Io),{},{boxSizing:"border-box",zIndex:io},gn),onMouseEnter:mo,onMouseLeave:vo,onPointerEnter:Mo,onClick:sr},Tr&&Te.createElement(rs,{prefixCls:Jt,arrow:Tr,arrowPos:na,align:ka}),Te.createElement(Si,{cache:!lr&&!Dr},Ro))})}))}),Ci=ps,Fs=Te.forwardRef(function(ot,ht){var vt=ot.children,Ft=ot.getTriggerDOMNode,Jt=Nr(vt),gn=Te.useCallback(function(Kn){sa(ht,Ft?Ft(Kn):Kn)},[Ft]),Sn=Mr(gn,vt.ref);return Jt?Te.cloneElement(vt,{ref:Sn}):vt}),Vi=Fs,os=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Po(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:dt,ht=Te.forwardRef(function(vt,Ft){var Jt=vt.prefixCls,gn=Jt===void 0?"rc-trigger-popup":Jt,Sn=vt.children,Kn=vt.action,lr=Kn===void 0?"hover":Kn,rr=vt.showAction,Dr=vt.hideAction,sr=vt.popupVisible,Br=vt.defaultPopupVisible,Tr=vt.onPopupVisibleChange,na=vt.afterPopupVisibleChange,ka=vt.mouseEnterDelay,Ea=vt.mouseLeaveDelay,Ga=Ea===void 0?.1:Ea,ja=vt.focusDelay,fa=vt.blurDelay,Lr=vt.mask,fo=vt.maskClosable,io=fo===void 0?!0:fo,mo=vt.getPopupContainer,vo=vt.forceRender,Mo=vt.autoDestroy,eo=vt.destroyPopupOnHide,za=vt.popup,yo=vt.popupClassName,wo=vt.popupStyle,so=vt.popupPlacement,_a=vt.builtinPlacements,to=_a===void 0?{}:_a,ha=vt.popupAlign,No=vt.zIndex,Ja=vt.stretch,Ro=vt.getPopupClassNameFromAlign,Jo=vt.fresh,_o=vt.alignPoint,ci=vt.onPopupClick,di=vt.onPopupAlign,Qa=vt.arrow,si=vt.popupMotion,jo=vt.maskMotion,lo=vt.popupTransitionName,Fo=vt.popupAnimation,bi=vt.maskTransitionName,Ui=vt.maskAnimation,Ji=vt.className,Xo=vt.getTriggerDOMNode,Zo=(0,de.Z)(vt,os),Pi=Mo||eo||!1,Wo=Te.useState(!1),uo=(0,ue.Z)(Wo,2),ga=uo[0],Io=uo[1];Tn(function(){Io(Fn())},[]);var Qo=Te.useRef({}),Ti=Te.useContext(yr),Qi=Te.useMemo(function(){return{registerSubPopup:function(mr,xa){Qo.current[mr]=xa,Ti==null||Ti.registerSubPopup(mr,xa)}}},[Ti]),Gi=Ut(),Xs=Te.useState(null),Os=(0,ue.Z)(Xs,2),Oi=Os[0],ks=Os[1],Li=rt(function(Wn){an(Wn)&&Oi!==Wn&&ks(Wn),Ti==null||Ti.registerSubPopup(Gi,Wn)}),qo=Te.useState(null),ls=(0,ue.Z)(qo,2),ji=ls[0],Ys=ls[1],il=rt(function(Wn){an(Wn)&&ji!==Wn&&Ys(Wn)}),vs=Te.Children.only(Sn),wi=(vs==null?void 0:vs.props)||{},qi={},sl=rt(function(Wn){var mr,xa,Aa=ji;return(Aa==null?void 0:Aa.contains(Wn))||((mr=Dt(Aa))===null||mr===void 0?void 0:mr.host)===Wn||Wn===Aa||(Oi==null?void 0:Oi.contains(Wn))||((xa=Dt(Oi))===null||xa===void 0?void 0:xa.host)===Wn||Wn===Oi||Object.values(Qo.current).some(function(Pr){return(Pr==null?void 0:Pr.contains(Wn))||Wn===Pr})}),zi=ya(gn,si,Fo,lo),fi=ya(gn,jo,Ui,bi),Js=Te.useState(Br||!1),Ls=(0,ue.Z)(Js,2),us=Ls[0],Do=Ls[1],co=sr!=null?sr:us,Ri=rt(function(Wn){sr===void 0&&Do(Wn)});Tn(function(){Do(sr||!1)},[sr]);var Ki=Te.useRef(co);Ki.current=co;var js=rt(function(Wn){(0,ce.flushSync)(function(){co!==Wn&&(Ri(Wn),Tr==null||Tr(Wn))})}),_s=Te.useRef(),As=function(){clearTimeout(_s.current)},Ai=function(mr){var xa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;As(),xa===0?js(mr):_s.current=setTimeout(function(){js(mr)},xa*1e3)};Te.useEffect(function(){return As},[]);var ys=Te.useState(!1),Qs=(0,ue.Z)(ys,2),Ns=Qs[0],$s=Qs[1];Tn(function(Wn){(!Wn||co)&&$s(!0)},[co]);var Us=Te.useState(null),Gs=(0,ue.Z)(Us,2),Zi=Gs[0],Ss=Gs[1],cs=Te.useState([0,0]),bs=(0,ue.Z)(cs,2),Ps=bs[0],el=bs[1],Fi=function(mr){el([mr.clientX,mr.clientY])},zs=Pn(co,Oi,_o?Ps:ji,so,to,ha,di),gi=(0,ue.Z)(zs,11),ds=gi[0],Ks=gi[1],tl=gi[2],Zs=gi[3],Ei=gi[4],fs=gi[5],Ws=gi[6],Ie=gi[7],Me=gi[8],et=gi[9],st=gi[10],gt=Ur(ga,lr,rr,Dr),pt=(0,ue.Z)(gt,2),Et=pt[0],It=pt[1],Nt=Et.has("click"),$t=It.has("click")||It.has("contextMenu"),Qt=rt(function(){Ns||st()}),Ht=function(){Ki.current&&_o&&$t&&Ai(!1)};zn(co,ji,Oi,Qt,Ht),Tn(function(){Qt()},[Ps,so]),Tn(function(){co&&!(to!=null&&to[so])&&Qt()},[JSON.stringify(ha)]);var mn=Te.useMemo(function(){var Wn=Da(to,gn,et,_o);return me()(Wn,Ro==null?void 0:Ro(et))},[et,Ro,to,gn,_o]);Te.useImperativeHandle(Ft,function(){return{forceAlign:Qt}});var pn=Te.useState(0),yn=(0,ue.Z)(pn,2),Mn=yn[0],An=yn[1],Dn=Te.useState(0),Nn=(0,ue.Z)(Dn,2),Gn=Nn[0],Sr=Nn[1],xr=function(){if(Ja&&ji){var mr=ji.getBoundingClientRect();An(mr.width),Sr(mr.height)}},fr=function(){xr(),Qt()},Jr=function(mr){$s(!1),st(),na==null||na(mr)},zr=function(){return new Promise(function(mr){xr(),Ss(function(){return mr})})};Tn(function(){Zi&&(st(),Zi(),Ss(null))},[Zi]);function Xn(Wn,mr,xa,Aa){qi[Wn]=function(Pr){var So;Aa==null||Aa(Pr),Ai(mr,xa);for(var $a=arguments.length,po=new Array($a>1?$a-1:0),oo=1;oo<$a;oo++)po[oo-1]=arguments[oo];(So=wi[Wn])===null||So===void 0||So.call.apply(So,[wi,Pr].concat(po))}}(Nt||$t)&&(qi.onClick=function(Wn){var mr;Ki.current&&$t?Ai(!1):!Ki.current&&Nt&&(Fi(Wn),Ai(!0));for(var xa=arguments.length,Aa=new Array(xa>1?xa-1:0),Pr=1;Pr<xa;Pr++)Aa[Pr-1]=arguments[Pr];(mr=wi.onClick)===null||mr===void 0||mr.call.apply(mr,[wi,Wn].concat(Aa))}),Ba(co,$t,ji,Oi,Lr,io,sl,Ai);var gr=Et.has("hover"),qn=It.has("hover"),Bn,ur;gr&&(Xn("onMouseEnter",!0,ka,function(Wn){Fi(Wn)}),Xn("onPointerEnter",!0,ka,function(Wn){Fi(Wn)}),Bn=function(){(co||Ns)&&Ai(!0,ka)},_o&&(qi.onMouseMove=function(Wn){var mr;(mr=wi.onMouseMove)===null||mr===void 0||mr.call(wi,Wn)})),qn&&(Xn("onMouseLeave",!1,Ga),Xn("onPointerLeave",!1,Ga),ur=function(){Ai(!1,Ga)}),Et.has("focus")&&Xn("onFocus",!0,ja),It.has("focus")&&Xn("onBlur",!1,fa),Et.has("contextMenu")&&(qi.onContextMenu=function(Wn){var mr;Ki.current&&It.has("contextMenu")?Ai(!1):(Fi(Wn),Ai(!0)),Wn.preventDefault();for(var xa=arguments.length,Aa=new Array(xa>1?xa-1:0),Pr=1;Pr<xa;Pr++)Aa[Pr-1]=arguments[Pr];(mr=wi.onContextMenu)===null||mr===void 0||mr.call.apply(mr,[wi,Wn].concat(Aa))}),Ji&&(qi.className=me()(wi.className,Ji));var kr=(0,le.Z)((0,le.Z)({},wi),qi),va={},ra=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];ra.forEach(function(Wn){Zo[Wn]&&(va[Wn]=function(){for(var mr,xa=arguments.length,Aa=new Array(xa),Pr=0;Pr<xa;Pr++)Aa[Pr]=arguments[Pr];(mr=kr[Wn])===null||mr===void 0||mr.call.apply(mr,[kr].concat(Aa)),Zo[Wn].apply(Zo,Aa)})});var Fr=Te.cloneElement(vs,(0,le.Z)((0,le.Z)({},kr),va)),ba={x:fs,y:Ws},Ta=Qa?(0,le.Z)({},Qa!==!0?Qa:{}):null;return Te.createElement(Te.Fragment,null,Te.createElement(bt.Z,{disabled:!co,ref:il,onResize:fr},Te.createElement(Vi,{getTriggerDOMNode:Xo},Fr)),Te.createElement(yr.Provider,{value:Qi},Te.createElement(Ci,{portal:ot,ref:Li,prefixCls:gn,popup:za,className:me()(yo,mn),style:wo,target:ji,onMouseEnter:Bn,onMouseLeave:ur,onPointerEnter:Bn,zIndex:No,open:co,keepDom:Ns,fresh:Jo,onClick:ci,mask:Lr,motion:zi,maskMotion:fi,onVisibleChanged:Jr,onPrepare:zr,forceRender:vo,autoDestroy:Pi,getPopupContainer:mo,align:et,arrow:Ta,arrowPos:ba,ready:ds,offsetX:Ks,offsetY:tl,offsetR:Zs,offsetB:Ei,onAlign:Qt,stretch:Ja,targetWidth:Mn/Ie,targetHeight:Gn/Me})))});return ht}var Lo=Po(dt),Or={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(ht){var vt=ht.keyCode;if(ht.altKey&&!ht.ctrlKey||ht.metaKey||vt>=Or.F1&&vt<=Or.F12)return!1;switch(vt){case Or.ALT:case Or.CAPS_LOCK:case Or.CONTEXT_MENU:case Or.CTRL:case Or.DOWN:case Or.END:case Or.ESC:case Or.HOME:case Or.INSERT:case Or.LEFT:case Or.MAC_FF_META:case Or.META:case Or.NUMLOCK:case Or.NUM_CENTER:case Or.PAGE_DOWN:case Or.PAGE_UP:case Or.PAUSE:case Or.PRINT_SCREEN:case Or.RIGHT:case Or.SHIFT:case Or.UP:case Or.WIN_KEY:case Or.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ht){if(ht>=Or.ZERO&&ht<=Or.NINE||ht>=Or.NUM_ZERO&&ht<=Or.NUM_MULTIPLY||ht>=Or.A&&ht<=Or.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ht===0)return!0;switch(ht){case Or.SPACE:case Or.QUESTION_MARK:case Or.NUM_PLUS:case Or.NUM_MINUS:case Or.NUM_PERIOD:case Or.NUM_DIVISION:case Or.SEMICOLON:case Or.DASH:case Or.EQUALS:case Or.COMMA:case Or.PERIOD:case Or.SLASH:case Or.APOSTROPHE:case Or.SINGLE_QUOTE:case Or.OPEN_SQUARE_BRACKET:case Or.BACKSLASH:case Or.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},_i=Or,Cs=_i.ESC,Ao=_i.TAB;function Ii(ot){var ht=ot.visible,vt=ot.triggerRef,Ft=ot.onVisibleChange,Jt=ot.autoFocus,gn=ot.overlayRef,Sn=Te.useRef(!1),Kn=function(){if(ht){var sr,Br;(sr=vt.current)===null||sr===void 0||(Br=sr.focus)===null||Br===void 0||Br.call(sr),Ft==null||Ft(!1)}},lr=function(){var sr;return(sr=gn.current)!==null&&sr!==void 0&&sr.focus?(gn.current.focus(),Sn.current=!0,!0):!1},rr=function(sr){switch(sr.keyCode){case Cs:Kn();break;case Ao:{var Br=!1;Sn.current||(Br=lr()),Br?sr.preventDefault():Kn();break}}};Te.useEffect(function(){return ht?(window.addEventListener("keydown",rr),Jt&&Zt(lr,3),function(){window.removeEventListener("keydown",rr),Sn.current=!1}):function(){Sn.current=!1}},[ht])}var $i=(0,Te.forwardRef)(function(ot,ht){var vt=ot.overlay,Ft=ot.arrow,Jt=ot.prefixCls,gn=(0,Te.useMemo)(function(){var Kn;return typeof vt=="function"?Kn=vt():Kn=vt,Kn},[vt]),Sn=ge(ht,gn==null?void 0:gn.ref);return Te.createElement(Te.Fragment,null,Ft&&Te.createElement("div",{className:"".concat(Jt,"-arrow")}),Te.cloneElement(gn,{ref:pe(gn)?Sn:void 0}))}),Xi=$i,oi={adjustX:1,adjustY:1},ii=[0,0],hs={topLeft:{points:["bl","tl"],overflow:oi,offset:[0,-4],targetOffset:ii},top:{points:["bc","tc"],overflow:oi,offset:[0,-4],targetOffset:ii},topRight:{points:["br","tr"],overflow:oi,offset:[0,-4],targetOffset:ii},bottomLeft:{points:["tl","bl"],overflow:oi,offset:[0,4],targetOffset:ii},bottom:{points:["tc","bc"],overflow:oi,offset:[0,4],targetOffset:ii},bottomRight:{points:["tr","br"],overflow:oi,offset:[0,4],targetOffset:ii}},is=hs,ss=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Yi(ot,ht){var vt,Ft=ot.arrow,Jt=Ft===void 0?!1:Ft,gn=ot.prefixCls,Sn=gn===void 0?"rc-dropdown":gn,Kn=ot.transitionName,lr=ot.animation,rr=ot.align,Dr=ot.placement,sr=Dr===void 0?"bottomLeft":Dr,Br=ot.placements,Tr=Br===void 0?is:Br,na=ot.getPopupContainer,ka=ot.showAction,Ea=ot.hideAction,Ga=ot.overlayClassName,ja=ot.overlayStyle,fa=ot.visible,Lr=ot.trigger,fo=Lr===void 0?["hover"]:Lr,io=ot.autoFocus,mo=ot.overlay,vo=ot.children,Mo=ot.onVisibleChange,eo=(0,de.Z)(ot,ss),za=Te.useState(),yo=(0,ue.Z)(za,2),wo=yo[0],so=yo[1],_a="visible"in ot?fa:wo,to=Te.useRef(null),ha=Te.useRef(null),No=Te.useRef(null);Te.useImperativeHandle(ht,function(){return to.current});var Ja=function(lo){so(lo),Mo==null||Mo(lo)};Ii({visible:_a,triggerRef:No,onVisibleChange:Ja,autoFocus:io,overlayRef:ha});var Ro=function(lo){var Fo=ot.onOverlayClick;so(!1),Fo&&Fo(lo)},Jo=function(){return Te.createElement(Xi,{ref:ha,overlay:mo,prefixCls:Sn,arrow:Jt})},_o=function(){return typeof mo=="function"?Jo:Jo()},ci=function(){var lo=ot.minOverlayWidthMatchTrigger,Fo=ot.alignPoint;return"minOverlayWidthMatchTrigger"in ot?lo:!Fo},di=function(){var lo=ot.openClassName;return lo!==void 0?lo:"".concat(Sn,"-open")},Qa=Te.cloneElement(vo,{className:me()((vt=vo.props)===null||vt===void 0?void 0:vt.className,_a&&di()),ref:pe(vo)?ge(No,vo.ref):void 0}),si=Ea;return!si&&fo.indexOf("contextMenu")!==-1&&(si=["click"]),Te.createElement(Lo,(0,oe.Z)({builtinPlacements:Tr},eo,{prefixCls:Sn,ref:to,popupClassName:me()(Ga,(0,te.Z)({},"".concat(Sn,"-show-arrow"),Jt)),popupStyle:ja,action:fo,showAction:ka,hideAction:si,popupPlacement:sr,popupAlign:rr,popupTransitionName:Kn,popupAnimation:lr,popupVisible:_a,stretch:ci()?"minWidth":"",popup:_o(),onPopupVisibleChange:Ja,onPopupClick:Ro,getPopupContainer:na}),Qa)}var Ts=Te.forwardRef(Yi),Ms=Ts,fl=Pe(60276),gl=Pe(5663),ml=Pe(10366),Vs=Pe(80636),pl=Pe(8745),hl=Pe(96159),rl=Pe(53124),vl=Pe(68508),yl=Pe(76529),al=Pe(46605),Ds=Pe(66748);const Sl=null,Bs=ot=>{const{menu:ht,arrow:vt,prefixCls:Ft,children:Jt,trigger:gn,disabled:Sn,dropdownRender:Kn,getPopupContainer:lr,overlayClassName:rr,rootClassName:Dr,open:sr,onOpenChange:Br,visible:Tr,onVisibleChange:na,mouseEnterDelay:ka=.15,mouseLeaveDelay:Ea=.1,autoAdjustOverflow:Ga=!0,placement:ja="",overlay:fa,transitionName:Lr}=ot,{getPopupContainer:fo,getPrefixCls:io,direction:mo}=Te.useContext(rl.E_),vo=Te.useMemo(()=>{const Qa=io();return Lr!==void 0?Lr:ja.includes("top")?`${Qa}-slide-down`:`${Qa}-slide-up`},[io,ja,Lr]),Mo=Te.useMemo(()=>ja?ja.includes("Center")?ja.slice(0,ja.indexOf("Center")):ja:mo==="rtl"?"bottomRight":"bottomLeft",[ja,mo]),eo=io("dropdown",Ft),[za,yo]=(0,Ds.Z)(eo),[,wo]=(0,al.Z)(),so=Te.Children.only(Jt),_a=(0,hl.Tm)(so,{className:me()(`${eo}-trigger`,{[`${eo}-rtl`]:mo==="rtl"},so.props.className),disabled:Sn}),to=Sn?[]:gn;let ha;to&&to.includes("contextMenu")&&(ha=!0);const[No,Ja]=(0,gl.Z)(!1,{value:sr!=null?sr:Tr}),Ro=(0,fl.useEvent)(Qa=>{Br==null||Br(Qa),na==null||na(Qa),Ja(Qa)}),Jo=me()(rr,Dr,yo,{[`${eo}-rtl`]:mo==="rtl"}),_o=(0,Vs.Z)({arrowPointAtCenter:typeof vt=="object"&&vt.pointAtCenter,autoAdjustOverflow:Ga,offset:wo.marginXXS,arrowWidth:vt?wo.sizePopupArrow:0,borderRadius:wo.borderRadius}),ci=Te.useCallback(()=>{Ja(!1)},[]),di=()=>{let Qa;return ht!=null&&ht.items?Qa=Te.createElement(vl.default,Object.assign({},ht)):typeof fa=="function"?Qa=fa():Qa=fa,Kn&&(Qa=Kn(Qa)),Qa=Te.Children.only(typeof Qa=="string"?Te.createElement("span",null,Qa):Qa),Te.createElement(yl.J,{prefixCls:`${eo}-menu`,expandIcon:Te.createElement("span",{className:`${eo}-menu-submenu-arrow`},Te.createElement(E.Z,{className:`${eo}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ci,validator:si=>{let{mode:jo}=si}},Qa)};return za(Te.createElement(Ms,Object.assign({alignPoint:ha},(0,ml.Z)(ot,["rootClassName"]),{mouseEnterDelay:ka,mouseLeaveDelay:Ea,visible:No,builtinPlacements:_o,arrow:!!vt,overlayClassName:Jo,prefixCls:eo,getPopupContainer:lr||fo,transitionName:vo,trigger:to,overlay:di,placement:Mo,onVisibleChange:Ro}),_a))};function bl(ot){return Object.assign(Object.assign({},ot),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Pl=(0,pl.Z)(Bs,"dropdown",ot=>ot,bl),ol=ot=>Te.createElement(Pl,Object.assign({},ot),Te.createElement("span",null));Bs._InternalPanelDoNotUseOrYouWillBeFired=ol;var wl=Bs},85418:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return a}});var Te=Pe(56153),He=Pe(94184),E=Pe.n(He),ye=Pe(67294),me=Pe(64582),oe=Pe(71577),te=Pe(53124),ue=Pe(93421),de=Pe(4173),le=Pe(66748),ce=function(y,x){var b={};for(var z in y)Object.prototype.hasOwnProperty.call(y,z)&&x.indexOf(z)<0&&(b[z]=y[z]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,z=Object.getOwnPropertySymbols(y);ee<z.length;ee++)x.indexOf(z[ee])<0&&Object.prototype.propertyIsEnumerable.call(y,z[ee])&&(b[z[ee]]=y[z[ee]]);return b};const ae=y=>{const{getPopupContainer:x,getPrefixCls:b,direction:z}=ye.useContext(te.E_),{prefixCls:ee,type:re="default",danger:se,disabled:fe,loading:ve,onClick:ge,htmlType:he,children:pe,className:Se,menu:be,arrow:je,autoFocus:we,overlay:Oe,trigger:Ae,align:Fe,open:ke,onOpenChange:Ve,placement:De,getPopupContainer:ut,href:nt,icon:qe=ye.createElement(me.Z,null),title:Xe,buttonsRender:$e=St=>St,mouseEnterDelay:Ue,mouseLeaveDelay:Be,overlayClassName:tt,overlayStyle:Je,destroyPopupOnHide:ft,dropdownRender:Ze}=y,Ge=ce(y,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Le=b("dropdown",ee),Ke=`${Le}-button`,[Ee,Re]=(0,le.Z)(Le),Qe={menu:be,arrow:je,autoFocus:we,align:Fe,disabled:fe,trigger:fe?[]:Ae,onOpenChange:Ve,getPopupContainer:ut||x,mouseEnterDelay:Ue,mouseLeaveDelay:Be,overlayClassName:tt,overlayStyle:Je,destroyPopupOnHide:ft,dropdownRender:Ze},{compactSize:Ye,compactItemClassnames:We}=(0,de.ri)(Le,z),Ce=E()(Ke,We,Se,Re);"overlay"in y&&(Qe.overlay=Oe),"open"in y&&(Qe.open=ke),"placement"in y?Qe.placement=De:Qe.placement=z==="rtl"?"bottomLeft":"bottomRight";const xe=ye.createElement(oe.ZP,{type:re,danger:se,disabled:fe,loading:ve,onClick:ge,htmlType:he,href:nt,title:Xe},pe),Ne=ye.createElement(oe.ZP,{type:re,danger:se,icon:qe}),[ze,it]=$e([xe,Ne]);return Ee(ye.createElement(ue.Z.Compact,Object.assign({className:Ce,size:Ye,block:!0},Ge),ze,ye.createElement(Te.Z,Object.assign({},Qe),it)))};ae.__ANT_BUTTON=!0;var ie=ae;const ne=Te.Z;ne.Button=ie;var a=ne},66748:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return ce}});var Te=Pe(14747),He=Pe(67771),E=Pe(33297),ye=Pe(50438),me=Pe(97414),oe=Pe(67968),te=Pe(45503),de=ae=>{const{componentCls:ie,menuCls:ne,colorError:a,colorTextLightSolid:y}=ae,x=`${ne}-item`;return{[`${ie}, ${ie}-menu-submenu`]:{[`${ne} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const le=ae=>{const{componentCls:ie,menuCls:ne,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:z,motionDurationMid:ee,dropdownPaddingVertical:re,fontSize:se,dropdownEdgeChildPadding:fe,colorTextDisabled:ve,fontSizeIcon:ge,controlPaddingHorizontal:he,colorBgElevated:pe}=ae;return[{[ie]:Object.assign(Object.assign({},(0,Te.Wf)(ae)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${z}-down, & > ${b}-btn-icon > ${z}-down`]:{fontSize:ge}},[`${ie}-wrap`]:{position:"relative",[`${b}-btn > ${z}-down`]:{fontSize:ge},[`${z}-down::before`]:{transition:`transform ${ee}`}},[`${ie}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${ie}-placement-bottomLeft,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${ie}-placement-bottomLeft,
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${ie}-placement-bottom,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${ie}-placement-bottom,
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${ie}-placement-bottomRight,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${ie}-placement-bottomRight`]:{animationName:He.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${ie}-placement-topLeft,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${ie}-placement-topLeft,
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${ie}-placement-top,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${ie}-placement-top,
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${ie}-placement-topRight,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${ie}-placement-topRight`]:{animationName:He.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${ie}-placement-bottomLeft,
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${ie}-placement-bottom,
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${ie}-placement-bottomRight`]:{animationName:He.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${ie}-placement-topLeft,
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${ie}-placement-top,
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${ie}-placement-topRight`]:{animationName:He.ly}})},(0,me.ZP)(ae,{colorBg:pe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ie} ${ne}`]:{position:"relative",margin:0},[`${ne}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ie}, ${ie}-menu-submenu`]:{[ne]:Object.assign(Object.assign({padding:fe,listStyleType:"none",backgroundColor:pe,backgroundClip:"padding-box",borderRadius:ae.borderRadiusLG,outline:"none",boxShadow:ae.boxShadowSecondary},(0,Te.Qy)(ae)),{[`${ne}-item-group-title`]:{padding:`${re}px ${he}px`,color:ae.colorTextDescription,transition:`all ${ee}`},[`${ne}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ne}-item-icon`]:{minWidth:se,marginInlineEnd:ae.marginXS,fontSize:ae.fontSizeSM},[`${ne}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ee}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ne}-item, ${ne}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${he}px`,color:ae.colorText,fontWeight:"normal",fontSize:se,lineHeight:ae.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:ae.borderRadiusSM,"&:hover, &-active":{backgroundColor:ae.controlItemBgHover}},(0,Te.Qy)(ae)),{"&-selected":{color:ae.colorPrimary,backgroundColor:ae.controlItemBgActive,"&:hover, &-active":{backgroundColor:ae.controlItemBgActiveHover}},"&-disabled":{color:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${ae.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:ae.colorSplit},[`${ie}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ae.paddingXS,[`${ie}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ae.colorTextDescription,fontSize:ge,fontStyle:"normal"}}}),[`${ne}-item-group-list`]:{margin:`0 ${ae.marginXS}px`,padding:0,listStyle:"none"},[`${ne}-submenu-title`]:{paddingInlineEnd:he+ae.fontSizeSM},[`${ne}-submenu-vertical`]:{position:"relative"},[`${ne}-submenu${ne}-submenu-disabled ${ie}-menu-submenu-title`]:{[`&, ${ie}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:pe,cursor:"not-allowed"}},[`${ne}-submenu-selected ${ie}-menu-submenu-title`]:{color:ae.colorPrimary}})}},[(0,He.oN)(ae,"slide-up"),(0,He.oN)(ae,"slide-down"),(0,E.Fm)(ae,"move-up"),(0,E.Fm)(ae,"move-down"),(0,ye._y)(ae,"zoom-big")]]};var ce=(0,oe.Z)("Dropdown",(ae,ie)=>{let{rootPrefixCls:ne}=ie;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:z,paddingXXS:ee,componentCls:re,borderRadiusLG:se}=ae,fe=(x-b*z)/2,{dropdownArrowOffset:ve}=(0,me.fS)({contentRadius:se}),ge=(0,te.TS)(ae,{menuCls:`${re}-menu`,rootPrefixCls:ne,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ve,dropdownPaddingVertical:fe,dropdownEdgeChildPadding:ee});return[le(ge),de(ge)]},ae=>({zIndexPopup:ae.zIndexPopupBase+50}))},25378:function(At,Ct,Pe){"use strict";var Te=Pe(67294),He=Pe(14075),E=Pe(57838),ye=Pe(74443);function me(){let oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const te=(0,Te.useRef)({}),ue=(0,E.Z)(),de=(0,ye.ZP)();return(0,He.Z)(()=>{const le=de.subscribe(ce=>{te.current=ce,oe&&ue()});return()=>de.unsubscribe(le)},[]),te.current}Ct.Z=me},19249:function(At,Ct,Pe){"use strict";Pe.d(Ct,{D:function(){return z},Z:function(){return se}});var Te=Pe(87462),He=Pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},ye=E,me=Pe(44327),oe=function(ve,ge){return He.createElement(me.Z,(0,Te.Z)({},ve,{ref:ge,icon:ye}))},te=He.forwardRef(oe),ue=Pe(55007),de=Pe(79269),le=Pe(94184),ce=Pe.n(le),ae=Pe(10366),ne=fe=>!isNaN(parseFloat(fe))&&isFinite(fe),a=Pe(53124),y=Pe(84321),x=function(fe,ve){var ge={};for(var he in fe)Object.prototype.hasOwnProperty.call(fe,he)&&ve.indexOf(he)<0&&(ge[he]=fe[he]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,he=Object.getOwnPropertySymbols(fe);pe<he.length;pe++)ve.indexOf(he[pe])<0&&Object.prototype.propertyIsEnumerable.call(fe,he[pe])&&(ge[he[pe]]=fe[he[pe]]);return ge};const b={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},z=He.createContext({}),ee=(()=>{let fe=0;return function(){let ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return fe+=1,`${ve}${fe}`}})();var se=He.forwardRef((fe,ve)=>{const{prefixCls:ge,className:he,trigger:pe,children:Se,defaultCollapsed:be=!1,theme:je="dark",style:we={},collapsible:Oe=!1,reverseArrow:Ae=!1,width:Fe=200,collapsedWidth:ke=80,zeroWidthTriggerStyle:Ve,breakpoint:De,onCollapse:ut,onBreakpoint:nt}=fe,qe=x(fe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Xe}=(0,He.useContext)(y.Gs),[$e,Ue]=(0,He.useState)("collapsed"in fe?fe.collapsed:be),[Be,tt]=(0,He.useState)(!1);(0,He.useEffect)(()=>{"collapsed"in fe&&Ue(fe.collapsed)},[fe.collapsed]);const Je=(Ee,Re)=>{"collapsed"in fe||Ue(Ee),ut==null||ut(Ee,Re)},ft=(0,He.useRef)();ft.current=Ee=>{tt(Ee.matches),nt==null||nt(Ee.matches),$e!==Ee.matches&&Je(Ee.matches,"responsive")},(0,He.useEffect)(()=>{function Ee(Qe){return ft.current(Qe)}let Re;if(typeof window!="undefined"){const{matchMedia:Qe}=window;if(Qe&&De&&De in b){Re=Qe(`(max-width: ${b[De]})`);try{Re.addEventListener("change",Ee)}catch(Ye){Re.addListener(Ee)}Ee(Re)}}return()=>{try{Re==null||Re.removeEventListener("change",Ee)}catch(Qe){Re==null||Re.removeListener(Ee)}}},[De]),(0,He.useEffect)(()=>{const Ee=ee("ant-sider-");return Xe.addSider(Ee),()=>Xe.removeSider(Ee)},[]);const Ze=()=>{Je(!$e,"clickTrigger")},{getPrefixCls:Ge}=(0,He.useContext)(a.E_),Le=()=>{const Ee=Ge("layout-sider",ge),Re=(0,ae.Z)(qe,["collapsed"]),Qe=$e?ke:Fe,Ye=ne(Qe)?`${Qe}px`:String(Qe),We=parseFloat(String(ke||0))===0?He.createElement("span",{onClick:Ze,className:ce()(`${Ee}-zero-width-trigger`,`${Ee}-zero-width-trigger-${Ae?"right":"left"}`),style:Ve},pe||He.createElement(te,null)):null,Ne={expanded:Ae?He.createElement(de.Z,null):He.createElement(ue.Z,null),collapsed:Ae?He.createElement(ue.Z,null):He.createElement(de.Z,null)}[$e?"collapsed":"expanded"],ze=pe!==null?We||He.createElement("div",{className:`${Ee}-trigger`,onClick:Ze,style:{width:Ye}},pe||Ne):null,it=Object.assign(Object.assign({},we),{flex:`0 0 ${Ye}`,maxWidth:Ye,minWidth:Ye,width:Ye}),St=ce()(Ee,`${Ee}-${je}`,{[`${Ee}-collapsed`]:!!$e,[`${Ee}-has-trigger`]:Oe&&pe!==null&&!We,[`${Ee}-below`]:!!Be,[`${Ee}-zero-width`]:parseFloat(Ye)===0},he);return He.createElement("aside",Object.assign({className:St},Re,{style:it,ref:ve}),He.createElement("div",{className:`${Ee}-children`},Se),Oe||Be&&We?ze:null)},Ke=He.useMemo(()=>({siderCollapsed:$e}),[$e]);return He.createElement(z.Provider,{value:Ke},Le())})},84321:function(At,Ct,Pe){"use strict";Pe.d(Ct,{VY:function(){return ee},$_:function(){return z},h4:function(){return b},Gs:function(){return ie},ZP:function(){return re}});var Te=Pe(74902),He=Pe(94184),E=Pe.n(He),ye=Pe(10366),me=Pe(67294),oe=Pe(53124),te=Pe(67968),de=se=>{const{componentCls:fe,bodyBg:ve,lightSiderBg:ge,lightTriggerBg:he,lightTriggerColor:pe}=se;return{[`${fe}-sider-light`]:{background:ge,[`${fe}-sider-trigger`]:{color:pe,background:he},[`${fe}-sider-zero-width-trigger`]:{color:pe,background:he,border:`1px solid ${ve}`,borderInlineStart:0}}}};const le=se=>{const{antCls:fe,componentCls:ve,colorText:ge,triggerColor:he,footerBg:pe,triggerBg:Se,headerHeight:be,headerPadding:je,headerColor:we,footerPadding:Oe,triggerHeight:Ae,zeroTriggerHeight:Fe,zeroTriggerWidth:ke,motionDurationMid:Ve,motionDurationSlow:De,fontSize:ut,borderRadius:nt,bodyBg:qe,headerBg:Xe,siderBg:$e}=se;return{[ve]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:qe,"&, *":{boxSizing:"border-box"},[`&${ve}-has-sider`]:{flexDirection:"row",[`> ${ve}, > ${ve}-content`]:{width:0}},[`${ve}-header, &${ve}-footer`]:{flex:"0 0 auto"},[`${ve}-sider`]:{position:"relative",minWidth:0,background:$e,transition:`all ${Ve}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${fe}-menu${fe}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ae},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ae,color:he,lineHeight:`${Ae}px`,textAlign:"center",background:Se,cursor:"pointer",transition:`all ${Ve}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:be,insetInlineEnd:-ke,zIndex:1,width:ke,height:Fe,color:he,fontSize:se.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:$e,borderStartStartRadius:0,borderStartEndRadius:nt,borderEndEndRadius:nt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${De} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${De}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-ke,borderStartStartRadius:nt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:nt}}}}},de(se)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:be,padding:je,color:we,lineHeight:`${be}px`,background:Xe,[`${fe}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:Oe,color:ge,fontSize:ut,background:pe},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var ce=(0,te.Z)("Layout",se=>[le(se)],se=>{const{colorBgLayout:fe,controlHeight:ve,controlHeightLG:ge,colorText:he,controlHeightSM:pe,marginXXS:Se,colorTextLightSolid:be,colorBgContainer:je}=se,we=ge*1.25;return{colorBgHeader:"#001529",colorBgBody:fe,colorBgTrigger:"#002140",bodyBg:fe,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${we}px`,headerColor:he,footerPadding:`${pe}px ${we}px`,footerBg:fe,siderBg:"#001529",triggerHeight:ge+Se*2,triggerBg:"#002140",triggerColor:be,zeroTriggerWidth:ge,zeroTriggerHeight:ge,lightSiderBg:je,lightTriggerBg:je,lightTriggerColor:he}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),ae=function(se,fe){var ve={};for(var ge in se)Object.prototype.hasOwnProperty.call(se,ge)&&fe.indexOf(ge)<0&&(ve[ge]=se[ge]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ge=Object.getOwnPropertySymbols(se);he<ge.length;he++)fe.indexOf(ge[he])<0&&Object.prototype.propertyIsEnumerable.call(se,ge[he])&&(ve[ge[he]]=se[ge[he]]);return ve};const ie=me.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ne(se){let{suffixCls:fe,tagName:ve,displayName:ge}=se;return he=>me.forwardRef((Se,be)=>me.createElement(he,Object.assign({ref:be,suffixCls:fe,tagName:ve},Se)))}const a=me.forwardRef((se,fe)=>{const{prefixCls:ve,suffixCls:ge,className:he,tagName:pe}=se,Se=ae(se,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:be}=me.useContext(oe.E_),je=be("layout",ve),[we,Oe]=ce(je),Ae=ge?`${je}-${ge}`:je;return we(me.createElement(pe,Object.assign({className:E()(ve||Ae,he,Oe),ref:fe},Se)))}),y=me.forwardRef((se,fe)=>{const{direction:ve}=me.useContext(oe.E_),[ge,he]=me.useState([]),{prefixCls:pe,className:Se,rootClassName:be,children:je,hasSider:we,tagName:Oe,style:Ae}=se,Fe=ae(se,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ke=(0,ye.Z)(Fe,["suffixCls"]),{getPrefixCls:Ve,layout:De}=me.useContext(oe.E_),ut=Ve("layout",pe),[nt,qe]=ce(ut),Xe=E()(ut,{[`${ut}-has-sider`]:typeof we=="boolean"?we:ge.length>0,[`${ut}-rtl`]:ve==="rtl"},De==null?void 0:De.className,Se,be,qe),$e=me.useMemo(()=>({siderHook:{addSider:Ue=>{he(Be=>[].concat((0,Te.Z)(Be),[Ue]))},removeSider:Ue=>{he(Be=>Be.filter(tt=>tt!==Ue))}}}),[]);return nt(me.createElement(ie.Provider,{value:$e},me.createElement(Oe,Object.assign({ref:fe,className:Xe,style:Object.assign(Object.assign({},De==null?void 0:De.style),Ae)},ke),je)))}),x=ne({tagName:"div",displayName:"Layout"})(y),b=ne({suffixCls:"header",tagName:"header",displayName:"Header"})(a),z=ne({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),ee=ne({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var re=x},76529:function(At,Ct,Pe){"use strict";Pe.d(Ct,{J:function(){return oe}});var Te=Pe(67294),He=Pe(4173),E=Pe(60276),ye=function(te,ue){var de={};for(var le in te)Object.prototype.hasOwnProperty.call(te,le)&&ue.indexOf(le)<0&&(de[le]=te[le]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,le=Object.getOwnPropertySymbols(te);ce<le.length;ce++)ue.indexOf(le[ce])<0&&Object.prototype.propertyIsEnumerable.call(te,le[ce])&&(de[le[ce]]=te[le[ce]]);return de};const me=Te.createContext(null),oe=Te.forwardRef((te,ue)=>{const{children:de}=te,le=ye(te,["children"]),ce=Te.useContext(me),ae=Te.useMemo(()=>Object.assign(Object.assign({},ce),le),[ce,le.prefixCls,le.mode,le.selectable]);return Te.createElement(me.Provider,{value:ae},Te.createElement(He.BR,null,(0,E.supportNodeRef)(de)?Te.cloneElement(de,{ref:ue}):de))});Ct.Z=me},68508:function(At,Ct,Pe){"use strict";Pe.d(Ct,{default:function(){return Ee}});var Te=Pe(52073),He=Pe(67294),E=Pe(19249),ye=Pe(94184),me=Pe.n(ye),oe=Pe(53124),te=function(Re,Qe){var Ye={};for(var We in Re)Object.prototype.hasOwnProperty.call(Re,We)&&Qe.indexOf(We)<0&&(Ye[We]=Re[We]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,We=Object.getOwnPropertySymbols(Re);Ce<We.length;Ce++)Qe.indexOf(We[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Re,We[Ce])&&(Ye[We[Ce]]=Re[We[Ce]]);return Ye},de=Re=>{const{prefixCls:Qe,className:Ye,dashed:We}=Re,Ce=te(Re,["prefixCls","className","dashed"]),{getPrefixCls:xe}=He.useContext(oe.E_),Ne=xe("menu",Qe),ze=me()({[`${Ne}-item-divider-dashed`]:!!We},Ye);return He.createElement(Te.iz,Object.assign({className:ze},Ce))},le=Pe(37419),ce=Pe(10366),ae=Pe(83062),ie=Pe(96159),a=(0,He.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Re=>{var Qe;const{className:Ye,children:We,icon:Ce,title:xe,danger:Ne}=Re,{prefixCls:ze,firstLevel:it,direction:St,disableMenuItemTitleTooltip:dt,inlineCollapsed:bt}=He.useContext(a),an=_e=>{const mt=He.createElement("span",{className:`${ze}-title-content`},We);return(!Ce||(0,ie.l$)(We)&&We.type==="span")&&We&&_e&&it&&typeof We=="string"?He.createElement("div",{className:`${ze}-inline-collapsed-noicon`},We.charAt(0)):mt},{siderCollapsed:kt}=He.useContext(E.D);let lt=xe;typeof xe=="undefined"?lt=it?We:"":xe===!1&&(lt="");const at={title:lt};!kt&&!bt&&(at.title=null,at.open=!1);const Dt=(0,le.Z)(We).length;let rt=He.createElement(Te.ck,Object.assign({},(0,ce.Z)(Re,["title","icon","danger"]),{className:me()({[`${ze}-item-danger`]:Ne,[`${ze}-item-only-child`]:(Ce?Dt+1:Dt)===1},Ye),title:typeof xe=="string"?xe:void 0}),(0,ie.Tm)(Ce,{className:me()((0,ie.l$)(Ce)?(Qe=Ce.props)===null||Qe===void 0?void 0:Qe.className:"",`${ze}-item-icon`)}),an(bt));return dt||(rt=He.createElement(ae.Z,Object.assign({},at,{placement:St==="rtl"?"left":"right",overlayClassName:`${ze}-inline-collapsed-tooltip`}),rt)),rt},z=Re=>{var Qe;const{popupClassName:Ye,icon:We,title:Ce,theme:xe}=Re,Ne=He.useContext(a),{prefixCls:ze,inlineCollapsed:it,theme:St}=Ne,dt=(0,Te.Xl)();let bt;if(!We)bt=it&&!dt.length&&Ce&&typeof Ce=="string"?He.createElement("div",{className:`${ze}-inline-collapsed-noicon`},Ce.charAt(0)):He.createElement("span",{className:`${ze}-title-content`},Ce);else{const kt=(0,ie.l$)(Ce)&&Ce.type==="span";bt=He.createElement(He.Fragment,null,(0,ie.Tm)(We,{className:me()((0,ie.l$)(We)?(Qe=We.props)===null||Qe===void 0?void 0:Qe.className:"",`${ze}-item-icon`)}),kt?Ce:He.createElement("span",{className:`${ze}-title-content`},Ce))}const an=He.useMemo(()=>Object.assign(Object.assign({},Ne),{firstLevel:!1}),[Ne]);return He.createElement(a.Provider,{value:an},He.createElement(Te.Wd,Object.assign({},(0,ce.Z)(Re,["icon"]),{title:bt,popupClassName:me()(ze,Ye,`${ze}-${xe||St}`)})))},ee=Pe(64582),re=Pe(60276),se=Pe(33603),fe=Pe(76529),ve=function(Re,Qe){var Ye={};for(var We in Re)Object.prototype.hasOwnProperty.call(Re,We)&&Qe.indexOf(We)<0&&(Ye[We]=Re[We]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,We=Object.getOwnPropertySymbols(Re);Ce<We.length;Ce++)Qe.indexOf(We[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Re,We[Ce])&&(Ye[We[Ce]]=Re[We[Ce]]);return Ye};function ge(Re){return(Re||[]).map((Qe,Ye)=>{if(Qe&&typeof Qe=="object"){const We=Qe,{label:Ce,children:xe,key:Ne,type:ze}=We,it=ve(We,["label","children","key","type"]),St=Ne!=null?Ne:`tmp-${Ye}`;return xe||ze==="group"?ze==="group"?He.createElement(Te.BW,Object.assign({key:St},it,{title:Ce}),ge(xe)):He.createElement(z,Object.assign({key:St},it,{title:Ce}),ge(xe)):ze==="divider"?He.createElement(de,Object.assign({key:St},it)):He.createElement(x,Object.assign({key:St},it),Ce)}return null}).filter(Qe=>Qe)}function he(Re){return He.useMemo(()=>Re&&ge(Re),[Re])}var pe=Pe(84780),Se=Pe(14747),be=Pe(33507),je=Pe(67771),we=Pe(50438),Oe=Pe(67968),Ae=Pe(45503),ke=Re=>{const{componentCls:Qe,motionDurationSlow:Ye,horizontalLineHeight:We,colorSplit:Ce,lineWidth:xe,lineType:Ne,itemPaddingInline:ze}=Re;return{[`${Qe}-horizontal`]:{lineHeight:We,border:0,borderBottom:`${xe}px ${Ne} ${Ce}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Qe}-item, ${Qe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ze},[`> ${Qe}-item:hover,
|
|
> ${Qe}-item-active,
|
|
> ${Qe}-submenu ${Qe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Qe}-item, ${Qe}-submenu-title`]:{transition:[`border-color ${Ye}`,`background ${Ye}`].join(",")},[`${Qe}-submenu-arrow`]:{display:"none"}}}},De=Re=>{let{componentCls:Qe,menuArrowOffset:Ye}=Re;return{[`${Qe}-rtl`]:{direction:"rtl"},[`${Qe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Qe}-rtl${Qe}-vertical,
|
|
${Qe}-submenu-rtl ${Qe}-vertical`]:{[`${Qe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Ye})`},"&::after":{transform:`rotate(45deg) translateY(${Ye})`}}}}};const ut=Re=>Object.assign({},(0,Se.oN)(Re));var qe=(Re,Qe)=>{const{componentCls:Ye,itemColor:We,itemSelectedColor:Ce,groupTitleColor:xe,itemBg:Ne,subMenuItemBg:ze,itemSelectedBg:it,activeBarHeight:St,activeBarWidth:dt,activeBarBorderWidth:bt,motionDurationSlow:an,motionEaseInOut:kt,motionEaseOut:lt,itemPaddingInline:at,motionDurationMid:Dt,itemHoverColor:rt,lineType:_e,colorSplit:mt,itemDisabledColor:Ot,dangerItemColor:xt,dangerItemHoverColor:Ut,dangerItemSelectedColor:Wt,dangerItemActiveBg:qt,dangerItemSelectedBg:hn,itemHoverBg:jn,itemActiveBg:Tn,menuSubMenuBg:Fn,horizontalItemSelectedColor:pr,horizontalItemSelectedBg:yr,horizontalItemBorderRadius:Cr,horizontalItemHoverBg:Ur,popupBg:Hr}=Re;return{[`${Ye}-${Qe}, ${Ye}-${Qe} > ${Ye}`]:{color:We,background:Ne,[`&${Ye}-root:focus-visible`]:Object.assign({},ut(Re)),[`${Ye}-item-group-title`]:{color:xe},[`${Ye}-submenu-selected`]:{[`> ${Ye}-submenu-title`]:{color:Ce}},[`${Ye}-item-disabled, ${Ye}-submenu-disabled`]:{color:`${Ot} !important`},[`${Ye}-item:not(${Ye}-item-selected):not(${Ye}-submenu-selected)`]:{[`&:hover, > ${Ye}-submenu-title:hover`]:{color:rt}},[`&:not(${Ye}-horizontal)`]:{[`${Ye}-item:not(${Ye}-item-selected)`]:{"&:hover":{backgroundColor:jn},"&:active":{backgroundColor:Tn}},[`${Ye}-submenu-title`]:{"&:hover":{backgroundColor:jn},"&:active":{backgroundColor:Tn}}},[`${Ye}-item-danger`]:{color:xt,[`&${Ye}-item:hover`]:{[`&:not(${Ye}-item-selected):not(${Ye}-submenu-selected)`]:{color:Ut}},[`&${Ye}-item:active`]:{background:qt}},[`${Ye}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ye}-item-selected`]:{color:Ce,[`&${Ye}-item-danger`]:{color:Wt},"a, a:hover":{color:"inherit"}},[`& ${Ye}-item-selected`]:{backgroundColor:it,[`&${Ye}-item-danger`]:{backgroundColor:hn}},[`${Ye}-item, ${Ye}-submenu-title`]:{[`&:not(${Ye}-item-disabled):focus-visible`]:Object.assign({},ut(Re))},[`&${Ye}-submenu > ${Ye}`]:{backgroundColor:Fn},[`&${Ye}-popup > ${Ye}`]:{backgroundColor:Hr},[`&${Ye}-horizontal`]:Object.assign(Object.assign({},Qe==="dark"?{borderBottom:0}:{}),{[`> ${Ye}-item, > ${Ye}-submenu`]:{top:bt,marginTop:-bt,marginBottom:0,borderRadius:Cr,"&::after":{position:"absolute",insetInline:at,bottom:0,borderBottom:`${St}px solid transparent`,transition:`border-color ${an} ${kt}`,content:'""'},"&:hover, &-active, &-open":{background:Ur,"&::after":{borderBottomWidth:St,borderBottomColor:pr}},"&-selected":{color:pr,backgroundColor:yr,"&:hover":{backgroundColor:yr},"&::after":{borderBottomWidth:St,borderBottomColor:pr}}}}),[`&${Ye}-root`]:{[`&${Ye}-inline, &${Ye}-vertical`]:{borderInlineEnd:`${bt}px ${_e} ${mt}`}},[`&${Ye}-inline`]:{[`${Ye}-sub${Ye}-inline`]:{background:ze},[`${Ye}-item, ${Ye}-submenu-title`]:bt&&dt?{width:`calc(100% + ${bt}px)`}:{},[`${Ye}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${dt}px solid ${Ce}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Dt} ${lt}`,`opacity ${Dt} ${lt}`].join(","),content:'""'},[`&${Ye}-item-danger`]:{"&::after":{borderInlineEndColor:Wt}}},[`${Ye}-selected, ${Ye}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Dt} ${kt}`,`opacity ${Dt} ${kt}`].join(",")}}}}}};const Xe=Re=>{const{componentCls:Qe,itemHeight:Ye,itemMarginInline:We,padding:Ce,menuArrowSize:xe,marginXS:Ne,itemMarginBlock:ze}=Re,it=Ce+xe+Ne;return{[`${Qe}-item`]:{position:"relative",overflow:"hidden"},[`${Qe}-item, ${Qe}-submenu-title`]:{height:Ye,lineHeight:`${Ye}px`,paddingInline:Ce,overflow:"hidden",textOverflow:"ellipsis",marginInline:We,marginBlock:ze,width:`calc(100% - ${We*2}px)`},[`> ${Qe}-item,
|
|
> ${Qe}-submenu > ${Qe}-submenu-title`]:{height:Ye,lineHeight:`${Ye}px`},[`${Qe}-item-group-list ${Qe}-submenu-title,
|
|
${Qe}-submenu-title`]:{paddingInlineEnd:it}}};var Ue=Re=>{const{componentCls:Qe,iconCls:Ye,itemHeight:We,colorTextLightSolid:Ce,dropdownWidth:xe,controlHeightLG:Ne,motionDurationMid:ze,motionEaseOut:it,paddingXL:St,itemMarginInline:dt,fontSizeLG:bt,motionDurationSlow:an,paddingXS:kt,boxShadowSecondary:lt,collapsedWidth:at,collapsedIconSize:Dt}=Re,rt={height:We,lineHeight:`${We}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Qe]:{"&-inline, &-vertical":Object.assign({[`&${Qe}-root`]:{boxShadow:"none"}},Xe(Re))},[`${Qe}-submenu-popup`]:{[`${Qe}-vertical`]:Object.assign(Object.assign({},Xe(Re)),{boxShadow:lt})}},{[`${Qe}-submenu-popup ${Qe}-vertical${Qe}-sub`]:{minWidth:xe,maxHeight:`calc(100vh - ${Ne*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Qe}-inline`]:{width:"100%",[`&${Qe}-root`]:{[`${Qe}-item, ${Qe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${an}`,`background ${an}`,`padding ${ze} ${it}`].join(","),[`> ${Qe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Qe}-sub${Qe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Qe}-submenu > ${Qe}-submenu-title`]:rt,[`& ${Qe}-item-group-title`]:{paddingInlineStart:St}},[`${Qe}-item`]:rt}},{[`${Qe}-inline-collapsed`]:{width:at,[`&${Qe}-root`]:{[`${Qe}-item, ${Qe}-submenu ${Qe}-submenu-title`]:{[`> ${Qe}-inline-collapsed-noicon`]:{fontSize:bt,textAlign:"center"}}},[`> ${Qe}-item,
|
|
> ${Qe}-item-group > ${Qe}-item-group-list > ${Qe}-item,
|
|
> ${Qe}-item-group > ${Qe}-item-group-list > ${Qe}-submenu > ${Qe}-submenu-title,
|
|
> ${Qe}-submenu > ${Qe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${bt/2}px - ${dt}px)`,textOverflow:"clip",[`
|
|
${Qe}-submenu-arrow,
|
|
${Qe}-submenu-expand-icon
|
|
`]:{opacity:0},[`${Qe}-item-icon, ${Ye}`]:{margin:0,fontSize:Dt,lineHeight:`${We}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Qe}-item-icon, ${Ye}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Qe}-item-icon, ${Ye}`]:{display:"none"},"a, a:hover":{color:Ce}},[`${Qe}-item-group-title`]:Object.assign(Object.assign({},Se.vS),{paddingInline:kt})}}]};const Be=Re=>{const{componentCls:Qe,motionDurationSlow:Ye,motionDurationMid:We,motionEaseInOut:Ce,motionEaseOut:xe,iconCls:Ne,iconSize:ze,iconMarginInlineEnd:it}=Re;return{[`${Qe}-item, ${Qe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ye}`,`background ${Ye}`,`padding ${Ye} ${Ce}`].join(","),[`${Qe}-item-icon, ${Ne}`]:{minWidth:ze,fontSize:ze,transition:[`font-size ${We} ${xe}`,`margin ${Ye} ${Ce}`,`color ${Ye}`].join(","),"+ span":{marginInlineStart:it,opacity:1,transition:[`opacity ${Ye} ${Ce}`,`margin ${Ye}`,`color ${Ye}`].join(",")}},[`${Qe}-item-icon`]:Object.assign({},(0,Se.Ro)()),[`&${Qe}-item-only-child`]:{[`> ${Ne}, > ${Qe}-item-icon`]:{marginInlineEnd:0}}},[`${Qe}-item-disabled, ${Qe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Qe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},tt=Re=>{const{componentCls:Qe,motionDurationSlow:Ye,motionEaseInOut:We,borderRadius:Ce,menuArrowSize:xe,menuArrowOffset:Ne}=Re;return{[`${Qe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Re.margin,width:xe,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ye} ${We}, opacity ${Ye}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:xe*.6,height:xe*.15,backgroundColor:"currentcolor",borderRadius:Ce,transition:[`background ${Ye} ${We}`,`transform ${Ye} ${We}`,`top ${Ye} ${We}`,`color ${Ye} ${We}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Ne})`},"&::after":{transform:`rotate(-45deg) translateY(${Ne})`}}}}},Je=Re=>{const{antCls:Qe,componentCls:Ye,fontSize:We,motionDurationSlow:Ce,motionDurationMid:xe,motionEaseInOut:Ne,paddingXS:ze,padding:it,colorSplit:St,lineWidth:dt,zIndexPopup:bt,borderRadiusLG:an,subMenuItemBorderRadius:kt,menuArrowSize:lt,menuArrowOffset:at,lineType:Dt,menuPanelMaskInset:rt,groupTitleLineHeight:_e,groupTitleFontSize:mt}=Re;return[{"":{[`${Ye}`]:Object.assign(Object.assign({},(0,Se.dF)()),{"&-hidden":{display:"none"}})},[`${Ye}-submenu-hidden`]:{display:"none"}},{[Ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Se.Wf)(Re)),(0,Se.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:We,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ce} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ye}-item`]:{flex:"none"}},[`${Ye}-item, ${Ye}-submenu, ${Ye}-submenu-title`]:{borderRadius:Re.itemBorderRadius},[`${Ye}-item-group-title`]:{padding:`${ze}px ${it}px`,fontSize:mt,lineHeight:_e,transition:`all ${Ce}`},[`&-horizontal ${Ye}-submenu`]:{transition:[`border-color ${Ce} ${Ne}`,`background ${Ce} ${Ne}`].join(",")},[`${Ye}-submenu, ${Ye}-submenu-inline`]:{transition:[`border-color ${Ce} ${Ne}`,`background ${Ce} ${Ne}`,`padding ${xe} ${Ne}`].join(",")},[`${Ye}-submenu ${Ye}-sub`]:{cursor:"initial",transition:[`background ${Ce} ${Ne}`,`padding ${Ce} ${Ne}`].join(",")},[`${Ye}-title-content`]:{transition:`color ${Ce}`},[`${Ye}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ye}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:St,borderStyle:Dt,borderWidth:0,borderTopWidth:dt,marginBlock:dt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Be(Re)),{[`${Ye}-item-group`]:{[`${Ye}-item-group-list`]:{margin:0,padding:0,[`${Ye}-item, ${Ye}-submenu-title`]:{paddingInline:`${We*2}px ${it}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:bt,borderRadius:an,boxShadow:"none",transformOrigin:"0 0",[`&${Ye}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${rt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:rt},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Re.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Re.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Re.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Re.paddingXS},[`> ${Ye}`]:Object.assign(Object.assign(Object.assign({borderRadius:an},Be(Re)),tt(Re)),{[`${Ye}-item, ${Ye}-submenu > ${Ye}-submenu-title`]:{borderRadius:kt},[`${Ye}-submenu-title::after`]:{transition:`transform ${Ce} ${Ne}`}})}}),tt(Re)),{[`&-inline-collapsed ${Ye}-submenu-arrow,
|
|
&-inline ${Ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${at})`},"&::after":{transform:`rotate(45deg) translateX(-${at})`}},[`${Ye}-submenu-open${Ye}-submenu-inline > ${Ye}-submenu-title > ${Ye}-submenu-arrow`]:{transform:`translateY(-${lt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${at})`},"&::before":{transform:`rotate(45deg) translateX(${at})`}}})},{[`${Qe}-layout-header`]:{[Ye]:{lineHeight:"inherit"}}}]};var ft=(Re,Qe)=>(0,Oe.Z)("Menu",We=>{if(Qe===!1)return[];const{colorBgElevated:Ce,colorPrimary:xe,colorTextLightSolid:Ne,controlHeightLG:ze,fontSize:it,darkItemColor:St,darkDangerItemColor:dt,darkItemBg:bt,darkSubMenuItemBg:an,darkItemSelectedColor:kt,darkItemSelectedBg:lt,darkDangerItemSelectedBg:at,darkItemHoverBg:Dt,darkGroupTitleColor:rt,darkItemHoverColor:_e,darkItemDisabledColor:mt,darkDangerItemHoverColor:Ot,darkDangerItemSelectedColor:xt,darkDangerItemActiveBg:Ut}=We,Wt=it/7*5,qt=(0,Ae.TS)(We,{menuArrowSize:Wt,menuHorizontalHeight:ze*1.15,menuArrowOffset:`${Wt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ce}),hn=(0,Ae.TS)(qt,{itemColor:St,itemHoverColor:_e,groupTitleColor:rt,itemSelectedColor:kt,itemBg:bt,popupBg:bt,subMenuItemBg:an,itemActiveBg:"transparent",itemSelectedBg:lt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Dt,itemDisabledColor:mt,dangerItemColor:dt,dangerItemHoverColor:Ot,dangerItemSelectedColor:xt,dangerItemActiveBg:Ut,dangerItemSelectedBg:at,menuSubMenuBg:an,horizontalItemSelectedColor:Ne,horizontalItemSelectedBg:xe});return[Je(qt),ke(qt),Ue(qt),qe(qt,"light"),qe(hn,"dark"),De(qt),(0,be.Z)(qt),(0,je.oN)(qt,"slide-up"),(0,je.oN)(qt,"slide-down"),(0,we._y)(qt,"zoom-big")]},We=>{const{colorPrimary:Ce,colorError:xe,colorTextDisabled:Ne,colorErrorBg:ze,colorText:it,colorTextDescription:St,colorBgContainer:dt,colorFillAlter:bt,colorFillContent:an,lineWidth:kt,lineWidthBold:lt,controlItemBgActive:at,colorBgTextHover:Dt,controlHeightLG:rt,lineHeight:_e,colorBgElevated:mt,marginXXS:Ot,padding:xt,fontSize:Ut,controlHeightSM:Wt,fontSizeLG:qt,colorTextLightSolid:hn,colorErrorHover:jn}=We,Tn=new pe.C(hn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:We.zIndexPopupBase+50,radiusItem:We.borderRadiusLG,itemBorderRadius:We.borderRadiusLG,radiusSubMenuItem:We.borderRadiusSM,subMenuItemBorderRadius:We.borderRadiusSM,colorItemText:it,itemColor:it,colorItemTextHover:it,itemHoverColor:it,colorItemTextHoverHorizontal:Ce,horizontalItemHoverColor:Ce,colorGroupTitle:St,groupTitleColor:St,colorItemTextSelected:Ce,itemSelectedColor:Ce,colorItemTextSelectedHorizontal:Ce,horizontalItemSelectedColor:Ce,colorItemBg:dt,itemBg:dt,colorItemBgHover:Dt,itemHoverBg:Dt,colorItemBgActive:an,itemActiveBg:at,colorSubItemBg:bt,subMenuItemBg:bt,colorItemBgSelected:at,itemSelectedBg:at,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:lt,activeBarHeight:lt,colorActiveBarBorderSize:kt,activeBarBorderWidth:kt,colorItemTextDisabled:Ne,itemDisabledColor:Ne,colorDangerItemText:xe,dangerItemColor:xe,colorDangerItemTextHover:xe,dangerItemHoverColor:xe,colorDangerItemTextSelected:xe,dangerItemSelectedColor:xe,colorDangerItemBgActive:ze,dangerItemActiveBg:ze,colorDangerItemBgSelected:ze,dangerItemSelectedBg:ze,itemMarginInline:We.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:rt,groupTitleLineHeight:_e,collapsedWidth:rt*2,popupBg:mt,itemMarginBlock:Ot,itemPaddingInline:xt,horizontalLineHeight:`${rt*1.15}px`,iconSize:Ut,iconMarginInlineEnd:Wt-Ut,collapsedIconSize:qt,groupTitleFontSize:Ut,darkItemDisabledColor:new pe.C(hn).setAlpha(.25).toRgbString(),darkItemColor:Tn,darkDangerItemColor:xe,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:hn,darkItemSelectedBg:Ce,darkDangerItemSelectedBg:xe,darkItemHoverBg:"transparent",darkGroupTitleColor:Tn,darkItemHoverColor:hn,darkDangerItemHoverColor:jn,darkDangerItemSelectedColor:hn,darkDangerItemActiveBg:xe}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Re),Ze=function(Re,Qe){var Ye={};for(var We in Re)Object.prototype.hasOwnProperty.call(Re,We)&&Qe.indexOf(We)<0&&(Ye[We]=Re[We]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,We=Object.getOwnPropertySymbols(Re);Ce<We.length;Ce++)Qe.indexOf(We[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Re,We[Ce])&&(Ye[We[Ce]]=Re[We[Ce]]);return Ye},Le=(0,He.forwardRef)((Re,Qe)=>{var Ye,We;const Ce=He.useContext(fe.Z),xe=Ce||{},{getPrefixCls:Ne,getPopupContainer:ze,direction:it,menu:St}=He.useContext(oe.E_),dt=Ne(),{prefixCls:bt,className:an,style:kt,theme:lt="light",expandIcon:at,_internalDisableMenuItemTitleTooltip:Dt,inlineCollapsed:rt,siderCollapsed:_e,items:mt,children:Ot,rootClassName:xt,mode:Ut,selectable:Wt,onClick:qt,overflowedIndicatorPopupClassName:hn}=Re,jn=Ze(Re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Tn=(0,ce.Z)(jn,["collapsedWidth"]),Fn=he(mt)||Ot;(Ye=xe.validator)===null||Ye===void 0||Ye.call(xe,{mode:Ut});const pr=(0,re.useEvent)(function(){var Rn;qt==null||qt.apply(void 0,arguments),(Rn=xe.onClick)===null||Rn===void 0||Rn.call(xe)}),yr=xe.mode||Ut,Cr=Wt!=null?Wt:xe.selectable,Ur=He.useMemo(()=>_e!==void 0?_e:rt,[rt,_e]),Hr={horizontal:{motionName:`${dt}-slide-up`},inline:(0,se.Z)(dt),other:{motionName:`${dt}-zoom-big`}},ma=Ne("menu",bt||xe.prefixCls),[Da,ya]=ft(ma,!Ce),da=me()(`${ma}-${lt}`,St==null?void 0:St.className,an);let fn;if(typeof at=="function")fn=at;else if(at===null||at===!1)fn=null;else if(xe.expandIcon===null||xe.expandIcon===!1)fn=null;else{const Rn=at!=null?at:xe.expandIcon;fn=(0,ie.Tm)(Rn,{className:me()(`${ma}-submenu-expand-icon`,(0,ie.l$)(Rn)?(We=Rn.props)===null||We===void 0?void 0:We.className:"")})}const xn=He.useMemo(()=>({prefixCls:ma,inlineCollapsed:Ur||!1,direction:it,firstLevel:!0,theme:lt,mode:yr,disableMenuItemTitleTooltip:Dt}),[ma,Ur,it,Dt,lt]);return Da(He.createElement(fe.Z.Provider,{value:null},He.createElement(a.Provider,{value:xn},He.createElement(Te.ZP,Object.assign({getPopupContainer:ze,overflowedIndicator:He.createElement(ee.Z,null),overflowedIndicatorPopupClassName:me()(ma,`${ma}-${lt}`,hn),mode:yr,selectable:Cr,onClick:pr},Tn,{inlineCollapsed:Ur,style:Object.assign(Object.assign({},St==null?void 0:St.style),kt),className:da,prefixCls:ma,direction:it,defaultMotions:Hr,expandIcon:fn,ref:Qe,rootClassName:me()(xt,ya)}),Fn))))});const Ke=(0,He.forwardRef)((Re,Qe)=>{const Ye=(0,He.useRef)(null),We=He.useContext(E.D);return(0,He.useImperativeHandle)(Qe,()=>({menu:Ye.current,focus:Ce=>{var xe;(xe=Ye.current)===null||xe===void 0||xe.focus(Ce)}})),He.createElement(Le,Object.assign({ref:Ye},Re,We))});Ke.Item=x,Ke.SubMenu=z,Ke.Divider=de,Ke.ItemGroup=Te.BW;var Ee=Ke},34435:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return kt}});var Te=Pe(87462),He=Pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},ye=E,me=Pe(44327),oe=function(at,Dt){return He.createElement(me.Z,(0,Te.Z)({},at,{ref:Dt,icon:ye}))},te=He.forwardRef(oe),ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},de=ue,le=function(at,Dt){return He.createElement(me.Z,(0,Te.Z)({},at,{ref:Dt,icon:de}))},ce=He.forwardRef(le),ae=Pe(55007),ie=Pe(79269),ne=Pe(94184),a=Pe.n(ne),y=Pe(4942),x=Pe(1413),b=Pe(15671),z=Pe(43144),ee=Pe(60136),re=Pe(51630),se=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,fe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ve="".concat(se," ").concat(fe).split(/[\s\n]+/),ge="aria-",he="data-";function pe(lt,at){return lt.indexOf(at)===0}function Se(lt){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Dt;at===!1?Dt={aria:!0,data:!0,attr:!0}:at===!0?Dt={aria:!0}:Dt=(0,x.Z)({},at);var rt={};return Object.keys(lt).forEach(function(_e){(Dt.aria&&(_e==="role"||pe(_e,ge))||Dt.data&&pe(_e,he)||Dt.attr&&ve.includes(_e))&&(rt[_e]=lt[_e])}),rt}var be={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},je=be,we=Pe(81626),Oe=function(lt){(0,ee.Z)(Dt,lt);var at=(0,re.Z)(Dt);function Dt(){var rt;(0,b.Z)(this,Dt);for(var _e=arguments.length,mt=new Array(_e),Ot=0;Ot<_e;Ot++)mt[Ot]=arguments[Ot];return rt=at.call.apply(at,[this].concat(mt)),rt.state={goInputText:""},rt.getValidValue=function(){var xt=rt.state.goInputText;return!xt||Number.isNaN(xt)?void 0:Number(xt)},rt.buildOptionText=function(xt){return"".concat(xt," ").concat(rt.props.locale.items_per_page)},rt.changeSize=function(xt){rt.props.changeSize(Number(xt))},rt.handleChange=function(xt){rt.setState({goInputText:xt.target.value})},rt.handleBlur=function(xt){var Ut=rt.props,Wt=Ut.goButton,qt=Ut.quickGo,hn=Ut.rootPrefixCls,jn=rt.state.goInputText;Wt||jn===""||(rt.setState({goInputText:""}),!(xt.relatedTarget&&(xt.relatedTarget.className.indexOf("".concat(hn,"-item-link"))>=0||xt.relatedTarget.className.indexOf("".concat(hn,"-item"))>=0))&&qt(rt.getValidValue()))},rt.go=function(xt){var Ut=rt.state.goInputText;Ut!==""&&(xt.keyCode===je.ENTER||xt.type==="click")&&(rt.setState({goInputText:""}),rt.props.quickGo(rt.getValidValue()))},rt}return(0,z.Z)(Dt,[{key:"getPageSizeOptions",value:function(){var _e=this.props,mt=_e.pageSize,Ot=_e.pageSizeOptions;return Ot.some(function(xt){return xt.toString()===mt.toString()})?Ot:Ot.concat([mt.toString()]).sort(function(xt,Ut){var Wt=Number.isNaN(Number(xt))?0:Number(xt),qt=Number.isNaN(Number(Ut))?0:Number(Ut);return Wt-qt})}},{key:"render",value:function(){var _e=this,mt=this.props,Ot=mt.pageSize,xt=mt.locale,Ut=mt.rootPrefixCls,Wt=mt.changeSize,qt=mt.quickGo,hn=mt.goButton,jn=mt.selectComponentClass,Tn=mt.buildOptionText,Fn=mt.selectPrefixCls,pr=mt.disabled,yr=this.state.goInputText,Cr="".concat(Ut,"-options"),Ur=jn,Hr=null,ma=null,Da=null;if(!Wt&&!qt)return null;var ya=this.getPageSizeOptions();if(Wt&&Ur){var da=ya.map(function(fn,xn){return He.createElement(Ur.Option,{key:xn,value:fn.toString()},(Tn||_e.buildOptionText)(fn))});Hr=He.createElement(Ur,{disabled:pr,prefixCls:Fn,showSearch:!1,className:"".concat(Cr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Ot||ya[0]).toString(),onChange:this.changeSize,getPopupContainer:function(xn){return xn.parentNode},"aria-label":xt.page_size,defaultOpen:!1},da)}return qt&&(hn&&(Da=typeof hn=="boolean"?He.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:pr,className:"".concat(Cr,"-quick-jumper-button")},xt.jump_to_confirm):He.createElement("span",{onClick:this.go,onKeyUp:this.go},hn)),ma=He.createElement("div",{className:"".concat(Cr,"-quick-jumper")},xt.jump_to,He.createElement("input",{disabled:pr,type:"text",value:yr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":xt.page}),xt.page,Da)),He.createElement("li",{className:"".concat(Cr)},Hr,ma)}}]),Dt}(He.Component);Oe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ae=Oe,Fe=function(at){var Dt,rt=at.rootPrefixCls,_e=at.page,mt=at.active,Ot=at.className,xt=at.showTitle,Ut=at.onClick,Wt=at.onKeyPress,qt=at.itemRender,hn="".concat(rt,"-item"),jn=a()(hn,"".concat(hn,"-").concat(_e),(Dt={},(0,y.Z)(Dt,"".concat(hn,"-active"),mt),(0,y.Z)(Dt,"".concat(hn,"-disabled"),!_e),(0,y.Z)(Dt,at.className,Ot),Dt)),Tn=function(){Ut(_e)},Fn=function(Cr){Wt(Cr,Ut,_e)},pr=qt(_e,"page",He.createElement("a",{rel:"nofollow"},_e));return pr?He.createElement("li",{title:xt?_e.toString():null,className:jn,onClick:Tn,onKeyPress:Fn,tabIndex:0},pr):null},ke=Fe;function Ve(){}function De(lt){var at=Number(lt);return typeof at=="number"&&!Number.isNaN(at)&&isFinite(at)&&Math.floor(at)===at}var ut=function(at,Dt,rt){return rt};function nt(lt,at,Dt){var rt=typeof lt=="undefined"?at.pageSize:lt;return Math.floor((Dt.total-1)/rt)+1}var qe=function(lt){(0,ee.Z)(Dt,lt);var at=(0,re.Z)(Dt);function Dt(rt){var _e;(0,b.Z)(this,Dt),_e=at.call(this,rt),_e.paginationNode=He.createRef(),_e.getJumpPrevPage=function(){return Math.max(1,_e.state.current-(_e.props.showLessItems?3:5))},_e.getJumpNextPage=function(){return Math.min(nt(void 0,_e.state,_e.props),_e.state.current+(_e.props.showLessItems?3:5))},_e.getItemIcon=function(Wt,qt){var hn=_e.props.prefixCls,jn=Wt||He.createElement("button",{type:"button","aria-label":qt,className:"".concat(hn,"-item-link")});return typeof Wt=="function"&&(jn=He.createElement(Wt,(0,x.Z)({},_e.props))),jn},_e.isValid=function(Wt){var qt=_e.props.total;return De(Wt)&&Wt!==_e.state.current&&De(qt)&&qt>0},_e.shouldDisplayQuickJumper=function(){var Wt=_e.props,qt=Wt.showQuickJumper,hn=Wt.total,jn=_e.state.pageSize;return hn<=jn?!1:qt},_e.handleKeyDown=function(Wt){(Wt.keyCode===je.ARROW_UP||Wt.keyCode===je.ARROW_DOWN)&&Wt.preventDefault()},_e.handleKeyUp=function(Wt){var qt=_e.getValidValue(Wt),hn=_e.state.currentInputValue;qt!==hn&&_e.setState({currentInputValue:qt}),Wt.keyCode===je.ENTER?_e.handleChange(qt):Wt.keyCode===je.ARROW_UP?_e.handleChange(qt-1):Wt.keyCode===je.ARROW_DOWN&&_e.handleChange(qt+1)},_e.handleBlur=function(Wt){var qt=_e.getValidValue(Wt);_e.handleChange(qt)},_e.changePageSize=function(Wt){var qt=_e.state.current,hn=nt(Wt,_e.state,_e.props);qt=qt>hn?hn:qt,hn===0&&(qt=_e.state.current),typeof Wt=="number"&&("pageSize"in _e.props||_e.setState({pageSize:Wt}),"current"in _e.props||_e.setState({current:qt,currentInputValue:qt})),_e.props.onShowSizeChange(qt,Wt),"onChange"in _e.props&&_e.props.onChange&&_e.props.onChange(qt,Wt)},_e.handleChange=function(Wt){var qt=_e.props,hn=qt.disabled,jn=qt.onChange,Tn=_e.state,Fn=Tn.pageSize,pr=Tn.current,yr=Tn.currentInputValue;if(_e.isValid(Wt)&&!hn){var Cr=nt(void 0,_e.state,_e.props),Ur=Wt;return Wt>Cr?Ur=Cr:Wt<1&&(Ur=1),"current"in _e.props||_e.setState({current:Ur}),Ur!==yr&&_e.setState({currentInputValue:Ur}),jn(Ur,Fn),Ur}return pr},_e.prev=function(){_e.hasPrev()&&_e.handleChange(_e.state.current-1)},_e.next=function(){_e.hasNext()&&_e.handleChange(_e.state.current+1)},_e.jumpPrev=function(){_e.handleChange(_e.getJumpPrevPage())},_e.jumpNext=function(){_e.handleChange(_e.getJumpNextPage())},_e.hasPrev=function(){return _e.state.current>1},_e.hasNext=function(){return _e.state.current<nt(void 0,_e.state,_e.props)},_e.runIfEnter=function(Wt,qt){if(Wt.key==="Enter"||Wt.charCode===13){for(var hn=arguments.length,jn=new Array(hn>2?hn-2:0),Tn=2;Tn<hn;Tn++)jn[Tn-2]=arguments[Tn];qt.apply(void 0,jn)}},_e.runIfEnterPrev=function(Wt){_e.runIfEnter(Wt,_e.prev)},_e.runIfEnterNext=function(Wt){_e.runIfEnter(Wt,_e.next)},_e.runIfEnterJumpPrev=function(Wt){_e.runIfEnter(Wt,_e.jumpPrev)},_e.runIfEnterJumpNext=function(Wt){_e.runIfEnter(Wt,_e.jumpNext)},_e.handleGoTO=function(Wt){(Wt.keyCode===je.ENTER||Wt.type==="click")&&_e.handleChange(_e.state.currentInputValue)},_e.renderPrev=function(Wt){var qt=_e.props,hn=qt.prevIcon,jn=qt.itemRender,Tn=jn(Wt,"prev",_e.getItemIcon(hn,"prev page")),Fn=!_e.hasPrev();return(0,He.isValidElement)(Tn)?(0,He.cloneElement)(Tn,{disabled:Fn}):Tn},_e.renderNext=function(Wt){var qt=_e.props,hn=qt.nextIcon,jn=qt.itemRender,Tn=jn(Wt,"next",_e.getItemIcon(hn,"next page")),Fn=!_e.hasNext();return(0,He.isValidElement)(Tn)?(0,He.cloneElement)(Tn,{disabled:Fn}):Tn};var mt=rt.onChange!==Ve,Ot="current"in rt;Ot&&!mt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var xt=rt.defaultCurrent;"current"in rt&&(xt=rt.current);var Ut=rt.defaultPageSize;return"pageSize"in rt&&(Ut=rt.pageSize),xt=Math.min(xt,nt(Ut,void 0,rt)),_e.state={current:xt,currentInputValue:xt,pageSize:Ut},_e}return(0,z.Z)(Dt,[{key:"componentDidUpdate",value:function(_e,mt){var Ot=this.props.prefixCls;if(mt.current!==this.state.current&&this.paginationNode.current){var xt=this.paginationNode.current.querySelector(".".concat(Ot,"-item-").concat(mt.current));if(xt&&document.activeElement===xt){var Ut;xt==null||(Ut=xt.blur)===null||Ut===void 0||Ut.call(xt)}}}},{key:"getValidValue",value:function(_e){var mt=_e.target.value,Ot=nt(void 0,this.state,this.props),xt=this.state.currentInputValue,Ut;return mt===""?Ut=mt:Number.isNaN(Number(mt))?Ut=xt:mt>=Ot?Ut=Ot:Ut=Number(mt),Ut}},{key:"getShowSizeChanger",value:function(){var _e=this.props,mt=_e.showSizeChanger,Ot=_e.total,xt=_e.totalBoundaryShowSizeChanger;return typeof mt!="undefined"?mt:Ot>xt}},{key:"render",value:function(){var _e=this.props,mt=_e.prefixCls,Ot=_e.className,xt=_e.style,Ut=_e.disabled,Wt=_e.hideOnSinglePage,qt=_e.total,hn=_e.locale,jn=_e.showQuickJumper,Tn=_e.showLessItems,Fn=_e.showTitle,pr=_e.showTotal,yr=_e.simple,Cr=_e.itemRender,Ur=_e.showPrevNextJumpers,Hr=_e.jumpPrevIcon,ma=_e.jumpNextIcon,Da=_e.selectComponentClass,ya=_e.selectPrefixCls,da=_e.pageSizeOptions,fn=this.state,xn=fn.current,Rn=fn.pageSize,oa=fn.currentInputValue;if(Wt===!0&&qt<=Rn)return null;var ar=nt(void 0,this.state,this.props),_n=[],Rt=null,Mt=null,Lt=null,Pn=null,zn=null,$n=jn&&jn.goButton,_r=Tn?1:2,Vr=xn-1>0?xn-1:0,Xr=xn+1<ar?xn+1:ar,aa=Se(this.props,{aria:!0,data:!0}),sa=pr&&He.createElement("li",{className:"".concat(mt,"-total-text")},pr(qt,[qt===0?0:(xn-1)*Rn+1,xn*Rn>qt?qt:xn*Rn]));if(yr){$n&&(typeof $n=="boolean"?zn=He.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},hn.jump_to_confirm):zn=He.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},$n),zn=He.createElement("li",{title:Fn?"".concat(hn.jump_to).concat(xn,"/").concat(ar):null,className:"".concat(mt,"-simple-pager")},zn));var Cn=this.renderPrev(Vr);return He.createElement("ul",(0,Te.Z)({className:a()(mt,"".concat(mt,"-simple"),(0,y.Z)({},"".concat(mt,"-disabled"),Ut),Ot),style:xt,ref:this.paginationNode},aa),sa,Cn?He.createElement("li",{title:Fn?hn.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:a()("".concat(mt,"-prev"),(0,y.Z)({},"".concat(mt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Cn):null,He.createElement("li",{title:Fn?"".concat(xn,"/").concat(ar):null,className:"".concat(mt,"-simple-pager")},He.createElement("input",{type:"text",value:oa,disabled:Ut,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),He.createElement("span",{className:"".concat(mt,"-slash")},"/"),ar),He.createElement("li",{title:Fn?hn.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:a()("".concat(mt,"-next"),(0,y.Z)({},"".concat(mt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Xr)),zn)}if(ar<=3+_r*2){var Mr={locale:hn,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Fn,itemRender:Cr};ar||_n.push(He.createElement(ke,(0,Te.Z)({},Mr,{key:"noPager",page:1,className:"".concat(mt,"-item-disabled")})));for(var Nr=1;Nr<=ar;Nr+=1){var La=xn===Nr;_n.push(He.createElement(ke,(0,Te.Z)({},Mr,{key:Nr,page:Nr,active:La})))}}else{var Na=Tn?hn.prev_3:hn.prev_5,Ca=Tn?hn.next_3:hn.next_5,Wa=Cr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Hr,"prev page")),ia=Cr(this.getJumpNextPage(),"jump-next",this.getItemIcon(ma,"next page"));Ur&&(Rt=Wa?He.createElement("li",{title:Fn?Na:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:a()("".concat(mt,"-jump-prev"),(0,y.Z)({},"".concat(mt,"-jump-prev-custom-icon"),!!Hr))},Wa):null,Mt=ia?He.createElement("li",{title:Fn?Ca:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:a()("".concat(mt,"-jump-next"),(0,y.Z)({},"".concat(mt,"-jump-next-custom-icon"),!!ma))},ia):null),Pn=He.createElement(ke,{locale:hn,last:!0,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ar,page:ar,active:!1,showTitle:Fn,itemRender:Cr}),Lt=He.createElement(ke,{locale:hn,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Fn,itemRender:Cr});var jt=Math.max(1,xn-_r),en=Math.min(xn+_r,ar);xn-1<=_r&&(en=1+_r*2),ar-xn<=_r&&(jt=ar-_r*2);for(var tn=jt;tn<=en;tn+=1){var sn=xn===tn;_n.push(He.createElement(ke,{locale:hn,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:tn,page:tn,active:sn,showTitle:Fn,itemRender:Cr}))}xn-1>=_r*2&&xn!==3&&(_n[0]=(0,He.cloneElement)(_n[0],{className:"".concat(mt,"-item-after-jump-prev")}),_n.unshift(Rt)),ar-xn>=_r*2&&xn!==ar-2&&(_n[_n.length-1]=(0,He.cloneElement)(_n[_n.length-1],{className:"".concat(mt,"-item-before-jump-next")}),_n.push(Mt)),jt!==1&&_n.unshift(Lt),en!==ar&&_n.push(Pn)}var un=!this.hasPrev()||!ar,nn=!this.hasNext()||!ar,bn=this.renderPrev(Vr),Tt=this.renderNext(Xr);return He.createElement("ul",(0,Te.Z)({className:a()(mt,Ot,(0,y.Z)({},"".concat(mt,"-disabled"),Ut)),style:xt,ref:this.paginationNode},aa),sa,bn?He.createElement("li",{title:Fn?hn.prev_page:null,onClick:this.prev,tabIndex:un?null:0,onKeyPress:this.runIfEnterPrev,className:a()("".concat(mt,"-prev"),(0,y.Z)({},"".concat(mt,"-disabled"),un)),"aria-disabled":un},bn):null,_n,Tt?He.createElement("li",{title:Fn?hn.next_page:null,onClick:this.next,tabIndex:nn?null:0,onKeyPress:this.runIfEnterNext,className:a()("".concat(mt,"-next"),(0,y.Z)({},"".concat(mt,"-disabled"),nn)),"aria-disabled":nn},Tt):null,He.createElement(Ae,{disabled:Ut,locale:hn,rootPrefixCls:mt,selectComponentClass:Da,selectPrefixCls:ya,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:xn,pageSize:Rn,pageSizeOptions:da,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:$n}))}}],[{key:"getDerivedStateFromProps",value:function(_e,mt){var Ot={};if("current"in _e&&(Ot.current=_e.current,_e.current!==mt.current&&(Ot.currentInputValue=Ot.current)),"pageSize"in _e&&_e.pageSize!==mt.pageSize){var xt=mt.current,Ut=nt(_e.pageSize,mt,_e);xt=xt>Ut?Ut:xt,"current"in _e||(Ot.current=xt,Ot.currentInputValue=xt),Ot.pageSize=_e.pageSize}return Ot}}]),Dt}(He.Component);qe.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ve,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ve,locale:we.Z,style:{},itemRender:ut,totalBoundaryShowSizeChanger:50};var Xe=qe,$e=Pe(62906),Ue=Pe(53124),Be=Pe(98675),tt=Pe(25378),Je=Pe(10110),ft=Pe(42563);const Ze=lt=>He.createElement(ft.default,Object.assign({},lt,{showSearch:!0,size:"small"})),Ge=lt=>He.createElement(ft.default,Object.assign({},lt,{showSearch:!0,size:"middle"}));Ze.Option=ft.default.Option,Ge.Option=ft.default.Option;var Le=Pe(47673),Ke=Pe(14747),Ee=Pe(67968),Re=Pe(45503);const Qe=lt=>{const{componentCls:at}=lt;return{[`${at}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${at}-item-link`]:{color:lt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${at}-item-link`]:{color:lt.colorTextDisabled,cursor:"not-allowed"}}},[`&${at}-disabled`]:{cursor:"not-allowed",[`${at}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:lt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:lt.colorBorder,backgroundColor:lt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:lt.itemActiveBgDisabled},a:{color:lt.itemActiveColorDisabled}}},[`${at}-item-link`]:{color:lt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${at}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${at}-simple-pager`]:{color:lt.colorTextDisabled},[`${at}-jump-prev, ${at}-jump-next`]:{[`${at}-item-link-icon`]:{opacity:0},[`${at}-item-ellipsis`]:{opacity:1}}},[`&${at}-simple`]:{[`${at}-prev, ${at}-next`]:{[`&${at}-disabled ${at}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ye=lt=>{const{componentCls:at}=lt;return{[`&${at}-mini ${at}-total-text, &${at}-mini ${at}-simple-pager`]:{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`},[`&${at}-mini ${at}-item`]:{minWidth:lt.itemSizeSM,height:lt.itemSizeSM,margin:0,lineHeight:`${lt.itemSizeSM-2}px`},[`&${at}-mini:not(${at}-disabled) ${at}-item:not(${at}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:lt.colorBgTextHover},"&:active":{backgroundColor:lt.colorBgTextActive}},[`&${at}-mini ${at}-prev, &${at}-mini ${at}-next`]:{minWidth:lt.itemSizeSM,height:lt.itemSizeSM,margin:0,lineHeight:`${lt.itemSizeSM}px`},[`&${at}-mini:not(${at}-disabled)`]:{[`${at}-prev, ${at}-next`]:{[`&:hover ${at}-item-link`]:{backgroundColor:lt.colorBgTextHover},[`&:active ${at}-item-link`]:{backgroundColor:lt.colorBgTextActive},[`&${at}-disabled:hover ${at}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${at}-mini ${at}-prev ${at}-item-link,
|
|
&${at}-mini ${at}-next ${at}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`}},[`&${at}-mini ${at}-jump-prev, &${at}-mini ${at}-jump-next`]:{height:lt.itemSizeSM,marginInlineEnd:0,lineHeight:`${lt.itemSizeSM}px`},[`&${at}-mini ${at}-options`]:{marginInlineStart:lt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:lt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Le.x0)(lt)),{width:lt.paginationMiniQuickJumperInputWidth,height:lt.controlHeightSM})}}}},We=lt=>{const{componentCls:at}=lt;return{[`
|
|
&${at}-simple ${at}-prev,
|
|
&${at}-simple ${at}-next
|
|
`]:{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`,verticalAlign:"top",[`${at}-item-link`]:{height:lt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:lt.colorBgTextHover},"&:active":{backgroundColor:lt.colorBgTextActive},"&::after":{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`}}},[`&${at}-simple ${at}-simple-pager`]:{display:"inline-block",height:lt.itemSizeSM,marginInlineEnd:lt.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:lt.marginXS,padding:`0 ${lt.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:lt.itemInputBg,border:`${lt.lineWidth}px ${lt.lineType} ${lt.colorBorder}`,borderRadius:lt.borderRadius,outline:"none",transition:`border-color ${lt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:lt.colorPrimary},"&:focus":{borderColor:lt.colorPrimaryHover,boxShadow:`${lt.inputOutlineOffset}px 0 ${lt.controlOutlineWidth}px ${lt.controlOutline}`},"&[disabled]":{color:lt.colorTextDisabled,backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder,cursor:"not-allowed"}}}}},Ce=lt=>{const{componentCls:at}=lt;return{[`${at}-jump-prev, ${at}-jump-next`]:{outline:0,[`${at}-item-container`]:{position:"relative",[`${at}-item-link-icon`]:{color:lt.colorPrimary,fontSize:lt.fontSizeSM,opacity:0,transition:`all ${lt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${at}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:lt.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:lt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:lt.paginationEllipsisTextIndent,opacity:1,transition:`all ${lt.motionDurationMid}`}},"&:hover":{[`${at}-item-link-icon`]:{opacity:1},[`${at}-item-ellipsis`]:{opacity:0}}},[`
|
|
${at}-prev,
|
|
${at}-jump-prev,
|
|
${at}-jump-next
|
|
`]:{marginInlineEnd:lt.marginXS},[`
|
|
${at}-prev,
|
|
${at}-next,
|
|
${at}-jump-prev,
|
|
${at}-jump-next
|
|
`]:{display:"inline-block",minWidth:lt.itemSize,height:lt.itemSize,color:lt.colorText,fontFamily:lt.fontFamily,lineHeight:`${lt.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:lt.borderRadius,cursor:"pointer",transition:`all ${lt.motionDurationMid}`},[`${at}-prev, ${at}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:lt.colorText,cursor:"pointer",userSelect:"none"},[`${at}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:lt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${lt.lineWidth}px ${lt.lineType} transparent`,borderRadius:lt.borderRadius,outline:"none",transition:`all ${lt.motionDurationMid}`},[`&:hover ${at}-item-link`]:{backgroundColor:lt.colorBgTextHover},[`&:active ${at}-item-link`]:{backgroundColor:lt.colorBgTextActive},[`&${at}-disabled:hover`]:{[`${at}-item-link`]:{backgroundColor:"transparent"}}},[`${at}-slash`]:{marginInlineEnd:lt.paginationSlashMarginInlineEnd,marginInlineStart:lt.paginationSlashMarginInlineStart},[`${at}-options`]:{display:"inline-block",marginInlineStart:lt.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:lt.controlHeight,marginInlineStart:lt.marginXS,lineHeight:`${lt.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Le.ik)(lt)),{width:lt.controlHeightLG*1.25,height:lt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:lt.marginXS,marginInlineEnd:lt.marginXS})}}}},xe=lt=>{const{componentCls:at}=lt;return{[`${at}-item`]:{display:"inline-block",minWidth:lt.itemSize,height:lt.itemSize,marginInlineEnd:lt.marginXS,fontFamily:lt.fontFamily,lineHeight:`${lt.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${lt.lineWidth}px ${lt.lineType} transparent`,borderRadius:lt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${lt.paginationItemPaddingInline}px`,color:lt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${at}-item-active)`]:{"&:hover":{transition:`all ${lt.motionDurationMid}`,backgroundColor:lt.colorBgTextHover},"&:active":{backgroundColor:lt.colorBgTextActive}},"&-active":{fontWeight:lt.fontWeightStrong,backgroundColor:lt.itemActiveBg,borderColor:lt.colorPrimary,a:{color:lt.colorPrimary},"&:hover":{borderColor:lt.colorPrimaryHover},"&:hover a":{color:lt.colorPrimaryHover}}}}},Ne=lt=>{const{componentCls:at}=lt;return{[at]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ke.Wf)(lt)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${at}-total-text`]:{display:"inline-block",height:lt.itemSize,marginInlineEnd:lt.marginXS,lineHeight:`${lt.itemSize-2}px`,verticalAlign:"middle"}}),xe(lt)),Ce(lt)),We(lt)),Ye(lt)),Qe(lt)),{[`@media only screen and (max-width: ${lt.screenLG}px)`]:{[`${at}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${lt.screenSM}px)`]:{[`${at}-options`]:{display:"none"}}}),[`&${lt.componentCls}-rtl`]:{direction:"rtl"}}},ze=lt=>{const{componentCls:at}=lt;return{[`${at}${at}-disabled:not(${at}-mini)`]:{"&, &:hover":{[`${at}-item-link`]:{borderColor:lt.colorBorder}},"&:focus-visible":{[`${at}-item-link`]:{borderColor:lt.colorBorder}},[`${at}-item, ${at}-item-link`]:{backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder,[`&:hover:not(${at}-item-active)`]:{backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder,a:{color:lt.colorTextDisabled}},[`&${at}-item-active`]:{backgroundColor:lt.itemActiveBgDisabled}},[`${at}-prev, ${at}-next`]:{"&:hover button":{backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder,color:lt.colorTextDisabled},[`${at}-item-link`]:{backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder}}},[`${at}:not(${at}-mini)`]:{[`${at}-prev, ${at}-next`]:{"&:hover button":{borderColor:lt.colorPrimaryHover,backgroundColor:lt.itemBg},[`${at}-item-link`]:{backgroundColor:lt.itemLinkBg,borderColor:lt.colorBorder},[`&:hover ${at}-item-link`]:{borderColor:lt.colorPrimary,backgroundColor:lt.itemBg,color:lt.colorPrimary},[`&${at}-disabled`]:{[`${at}-item-link`]:{borderColor:lt.colorBorder,color:lt.colorTextDisabled}}},[`${at}-item`]:{backgroundColor:lt.itemBg,border:`${lt.lineWidth}px ${lt.lineType} ${lt.colorBorder}`,[`&:hover:not(${at}-item-active)`]:{borderColor:lt.colorPrimary,backgroundColor:lt.itemBg,a:{color:lt.colorPrimary}},"&-active":{borderColor:lt.colorPrimary}}}}},it=lt=>{const{componentCls:at}=lt;return{[`${at}:not(${at}-disabled)`]:{[`${at}-item`]:Object.assign({},(0,Ke.Qy)(lt)),[`${at}-jump-prev, ${at}-jump-next`]:{"&:focus-visible":Object.assign({[`${at}-item-link-icon`]:{opacity:1},[`${at}-item-ellipsis`]:{opacity:0}},(0,Ke.oN)(lt))},[`${at}-prev, ${at}-next`]:{[`&:focus-visible ${at}-item-link`]:Object.assign({},(0,Ke.oN)(lt))}}}};var St=(0,Ee.Z)("Pagination",lt=>{const at=(0,Re.TS)(lt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:lt.marginXXS/2,paginationMiniQuickJumperInputWidth:lt.controlHeightLG*1.1,paginationItemPaddingInline:lt.marginXXS*1.5,paginationEllipsisLetterSpacing:lt.marginXXS/2,paginationSlashMarginInlineStart:lt.marginXXS,paginationSlashMarginInlineEnd:lt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Le.e5)(lt),(0,Le.TM)(lt));return[Ne(at),it(at),lt.wireframe&&ze(at)]},lt=>({itemBg:lt.colorBgContainer,itemSize:lt.controlHeight,itemSizeSM:lt.controlHeightSM,itemActiveBg:lt.colorBgContainer,itemLinkBg:lt.colorBgContainer,itemActiveColorDisabled:lt.colorTextDisabled,itemActiveBgDisabled:lt.controlItemBgActiveDisabled,itemInputBg:lt.colorBgContainer,miniOptionsSizeChangerTop:0})),dt=function(lt,at){var Dt={};for(var rt in lt)Object.prototype.hasOwnProperty.call(lt,rt)&&at.indexOf(rt)<0&&(Dt[rt]=lt[rt]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,rt=Object.getOwnPropertySymbols(lt);_e<rt.length;_e++)at.indexOf(rt[_e])<0&&Object.prototype.propertyIsEnumerable.call(lt,rt[_e])&&(Dt[rt[_e]]=lt[rt[_e]]);return Dt},an=lt=>{const{prefixCls:at,selectPrefixCls:Dt,className:rt,rootClassName:_e,style:mt,size:Ot,locale:xt,selectComponentClass:Ut,responsive:Wt,showSizeChanger:qt}=lt,hn=dt(lt,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:jn}=(0,tt.Z)(Wt),{getPrefixCls:Tn,direction:Fn,pagination:pr={}}=He.useContext(Ue.E_),yr=Tn("pagination",at),[Cr,Ur]=St(yr),Hr=qt!=null?qt:pr.showSizeChanger,ma=He.useMemo(()=>{const ar=He.createElement("span",{className:`${yr}-item-ellipsis`},"\u2022\u2022\u2022"),_n=He.createElement("button",{className:`${yr}-item-link`,type:"button",tabIndex:-1},Fn==="rtl"?He.createElement(ie.Z,null):He.createElement(ae.Z,null)),Rt=He.createElement("button",{className:`${yr}-item-link`,type:"button",tabIndex:-1},Fn==="rtl"?He.createElement(ae.Z,null):He.createElement(ie.Z,null)),Mt=He.createElement("a",{className:`${yr}-item-link`},He.createElement("div",{className:`${yr}-item-container`},Fn==="rtl"?He.createElement(ce,{className:`${yr}-item-link-icon`}):He.createElement(te,{className:`${yr}-item-link-icon`}),ar)),Lt=He.createElement("a",{className:`${yr}-item-link`},He.createElement("div",{className:`${yr}-item-container`},Fn==="rtl"?He.createElement(te,{className:`${yr}-item-link-icon`}):He.createElement(ce,{className:`${yr}-item-link-icon`}),ar));return{prevIcon:_n,nextIcon:Rt,jumpPrevIcon:Mt,jumpNextIcon:Lt}},[Fn,yr]),[Da]=(0,Je.Z)("Pagination",$e.Z),ya=Object.assign(Object.assign({},Da),xt),da=(0,Be.Z)(Ot),fn=da==="small"||!!(jn&&!da&&Wt),xn=Tn("select",Dt),Rn=a()({[`${yr}-mini`]:fn,[`${yr}-rtl`]:Fn==="rtl"},pr==null?void 0:pr.className,rt,_e,Ur),oa=Object.assign(Object.assign({},pr==null?void 0:pr.style),mt);return Cr(He.createElement(Xe,Object.assign({},ma,hn,{style:oa,prefixCls:yr,selectPrefixCls:xn,className:Rn,selectComponentClass:Ut||(fn?Ze:Ge),locale:ya,showSizeChanger:Hr})))},kt=an},86738:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return pe}});var Te=Pe(39291),He=Pe(94184),E=Pe.n(He),ye=Pe(92389),me=Pe(5663),oe=Pe(10366),te=Pe(67294),ue=Pe(96159),de=Pe(53124),le=Pe(55241),ce=Pe(86743),ae=Pe(81643),ie=Pe(71577),ne=Pe(4026),a=Pe(10110),y=Pe(24457),x=Pe(66330),b=Pe(67968);const z=Se=>{const{componentCls:be,iconCls:je,antCls:we,zIndexPopup:Oe,colorText:Ae,colorWarning:Fe,marginXXS:ke,marginXS:Ve,fontSize:De,fontWeightStrong:ut,colorTextHeading:nt}=Se;return{[be]:{zIndex:Oe,[`&${we}-popover`]:{fontSize:De},[`${be}-message`]:{marginBottom:Ve,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${be}-message-icon ${je}`]:{color:Fe,fontSize:De,lineHeight:1,marginInlineEnd:Ve},[`${be}-title`]:{fontWeight:ut,color:nt,"&:only-child":{fontWeight:"normal"}},[`${be}-description`]:{marginTop:ke,color:Ae}},[`${be}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:Ve}}}}};var ee=(0,b.Z)("Popconfirm",Se=>z(Se),Se=>{const{zIndexPopupBase:be}=Se;return{zIndexPopup:be+60}},{resetStyle:!1}),re=function(Se,be){var je={};for(var we in Se)Object.prototype.hasOwnProperty.call(Se,we)&&be.indexOf(we)<0&&(je[we]=Se[we]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,we=Object.getOwnPropertySymbols(Se);Oe<we.length;Oe++)be.indexOf(we[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Se,we[Oe])&&(je[we[Oe]]=Se[we[Oe]]);return je};const se=Se=>{const{prefixCls:be,okButtonProps:je,cancelButtonProps:we,title:Oe,description:Ae,cancelText:Fe,okText:ke,okType:Ve="primary",icon:De=te.createElement(Te.Z,null),showCancel:ut=!0,close:nt,onConfirm:qe,onCancel:Xe,onPopupClick:$e}=Se,{getPrefixCls:Ue}=te.useContext(de.E_),[Be]=(0,a.Z)("Popconfirm",y.Z.Popconfirm),tt=(0,ae.Z)(Oe),Je=(0,ae.Z)(Ae);return te.createElement("div",{className:`${be}-inner-content`,onClick:$e},te.createElement("div",{className:`${be}-message`},De&&te.createElement("span",{className:`${be}-message-icon`},De),te.createElement("div",{className:`${be}-message-text`},tt&&te.createElement("div",{className:E()(`${be}-title`)},tt),Je&&te.createElement("div",{className:`${be}-description`},Je))),te.createElement("div",{className:`${be}-buttons`},ut&&te.createElement(ie.ZP,Object.assign({onClick:Xe,size:"small"},we),Fe!=null?Fe:Be==null?void 0:Be.cancelText),te.createElement(ce.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,ne.n)(Ve)),je),actionFn:qe,close:nt,prefixCls:Ue("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},ke!=null?ke:Be==null?void 0:Be.okText)))};var ve=Se=>{const{prefixCls:be,placement:je,className:we,style:Oe}=Se,Ae=re(Se,["prefixCls","placement","className","style"]),{getPrefixCls:Fe}=te.useContext(de.E_),ke=Fe("popconfirm",be),[Ve]=ee(ke);return Ve(te.createElement(x.ZP,{placement:je,className:E()(ke,we),style:Oe,content:te.createElement(se,Object.assign({prefixCls:ke},Ae))}))},ge=function(Se,be){var je={};for(var we in Se)Object.prototype.hasOwnProperty.call(Se,we)&&be.indexOf(we)<0&&(je[we]=Se[we]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,we=Object.getOwnPropertySymbols(Se);Oe<we.length;Oe++)be.indexOf(we[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Se,we[Oe])&&(je[we[Oe]]=Se[we[Oe]]);return je};const he=te.forwardRef((Se,be)=>{const{prefixCls:je,placement:we="top",trigger:Oe="click",okType:Ae="primary",icon:Fe=te.createElement(Te.Z,null),children:ke,overlayClassName:Ve,onOpenChange:De,onVisibleChange:ut}=Se,nt=ge(Se,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:qe}=te.useContext(de.E_),[Xe,$e]=(0,me.Z)(!1,{value:Se.open,defaultValue:Se.defaultOpen}),Ue=(Ee,Re)=>{$e(Ee,!0),ut==null||ut(Ee),De==null||De(Ee,Re)},Be=Ee=>{Ue(!1,Ee)},tt=Ee=>{var Re;return(Re=Se.onConfirm)===null||Re===void 0?void 0:Re.call(void 0,Ee)},Je=Ee=>{var Re;Ue(!1,Ee),(Re=Se.onCancel)===null||Re===void 0||Re.call(void 0,Ee)},ft=Ee=>{Ee.keyCode===ye.Z.ESC&&Xe&&Ue(!1,Ee)},Ze=Ee=>{const{disabled:Re=!1}=Se;Re||Ue(Ee)},Ge=qe("popconfirm",je),Le=E()(Ge,Ve),[Ke]=ee(Ge);return Ke(te.createElement(le.Z,Object.assign({},(0,oe.Z)(nt,["title"]),{trigger:Oe,placement:we,onOpenChange:Ze,open:Xe,ref:be,overlayClassName:Le,content:te.createElement(se,Object.assign({okType:Ae,icon:Fe},Se,{prefixCls:Ge,close:Be,onConfirm:tt,onCancel:Je})),"data-popover-inject":!0}),(0,ue.Tm)(ke,{onKeyDown:Ee=>{var Re,Qe;te.isValidElement(ke)&&((Qe=ke==null?void 0:(Re=ke.props).onKeyDown)===null||Qe===void 0||Qe.call(Re,Ee)),ft(Ee)}})))});he._InternalPanelDoNotUseOrYouWillBeFired=ve;var pe=he},66330:function(At,Ct,Pe){"use strict";Pe.d(Ct,{t5:function(){return le}});var Te=Pe(94184),He=Pe.n(Te),E=Pe(92419),ye=Pe(67294),me=Pe(53124),oe=Pe(81643),te=Pe(20136),ue=function(ae,ie){var ne={};for(var a in ae)Object.prototype.hasOwnProperty.call(ae,a)&&ie.indexOf(a)<0&&(ne[a]=ae[a]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(ae);y<a.length;y++)ie.indexOf(a[y])<0&&Object.prototype.propertyIsEnumerable.call(ae,a[y])&&(ne[a[y]]=ae[a[y]]);return ne};const de=(ae,ie,ne)=>{if(!(!ie&&!ne))return ye.createElement(ye.Fragment,null,ie&&ye.createElement("div",{className:`${ae}-title`},(0,oe.Z)(ie)),ye.createElement("div",{className:`${ae}-inner-content`},(0,oe.Z)(ne)))},le=ae=>{const{hashId:ie,prefixCls:ne,className:a,style:y,placement:x="top",title:b,content:z,children:ee}=ae;return ye.createElement("div",{className:He()(ie,ne,`${ne}-pure`,`${ne}-placement-${x}`,a),style:y},ye.createElement("div",{className:`${ne}-arrow`}),ye.createElement(E.G,Object.assign({},ae,{className:ie,prefixCls:ne}),ee||de(ne,b,z)))},ce=ae=>{const{prefixCls:ie}=ae,ne=ue(ae,["prefixCls"]),{getPrefixCls:a}=ye.useContext(me.E_),y=a("popover",ie),[x,b]=(0,te.Z)(y);return x(ye.createElement(le,Object.assign({},ne,{prefixCls:y,hashId:b})))};Ct.ZP=ce},55241:function(At,Ct,Pe){"use strict";var Te=Pe(94184),He=Pe.n(Te),E=Pe(67294),ye=Pe(81643),me=Pe(33603),oe=Pe(53124),te=Pe(83062),ue=Pe(66330),de=Pe(20136),le=function(ie,ne){var a={};for(var y in ie)Object.prototype.hasOwnProperty.call(ie,y)&&ne.indexOf(y)<0&&(a[y]=ie[y]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,y=Object.getOwnPropertySymbols(ie);x<y.length;x++)ne.indexOf(y[x])<0&&Object.prototype.propertyIsEnumerable.call(ie,y[x])&&(a[y[x]]=ie[y[x]]);return a};const ce=ie=>{let{title:ne,content:a,prefixCls:y}=ie;return E.createElement(E.Fragment,null,ne&&E.createElement("div",{className:`${y}-title`},(0,ye.Z)(ne)),E.createElement("div",{className:`${y}-inner-content`},(0,ye.Z)(a)))},ae=E.forwardRef((ie,ne)=>{const{prefixCls:a,title:y,content:x,overlayClassName:b,placement:z="top",trigger:ee="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:se=.1,overlayStyle:fe={}}=ie,ve=le(ie,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:ge}=E.useContext(oe.E_),he=ge("popover",a),[pe,Se]=(0,de.Z)(he),be=ge(),je=He()(b,Se);return pe(E.createElement(te.Z,Object.assign({placement:z,trigger:ee,mouseEnterDelay:re,mouseLeaveDelay:se,overlayStyle:fe},ve,{prefixCls:he,overlayClassName:je,ref:ne,overlay:y||x?E.createElement(ce,{prefixCls:he,title:y,content:x}):null,transitionName:(0,me.m)(be,"zoom-big",ve.transitionName),"data-popover-inject":!0})))});ae._InternalPanelDoNotUseOrYouWillBeFired=ue.ZP,Ct.Z=ae},20136:function(At,Ct,Pe){"use strict";var Te=Pe(14747),He=Pe(50438),E=Pe(97414),ye=Pe(8796),me=Pe(67968),oe=Pe(45503);const te=le=>{const{componentCls:ce,popoverColor:ae,minWidth:ie,fontWeightStrong:ne,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:z,marginXS:ee,colorBgElevated:re,popoverBg:se}=le;return[{[ce]:Object.assign(Object.assign({},(0,Te.Wf)(le)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":re,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ce}-content`]:{position:"relative"},[`${ce}-inner`]:{backgroundColor:se,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${ce}-title`]:{minWidth:ie,marginBottom:ee,color:x,fontWeight:ne},[`${ce}-inner-content`]:{color:ae}})},(0,E.ZP)(le,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ce}-pure`]:{position:"relative",maxWidth:"none",margin:le.sizePopupArrow,display:"inline-block",[`${ce}-content`]:{display:"inline-block"}}}]},ue=le=>{const{componentCls:ce}=le;return{[ce]:ye.i.map(ae=>{const ie=le[`${ae}6`];return{[`&${ce}-${ae}`]:{"--antd-arrow-background-color":ie,[`${ce}-inner`]:{backgroundColor:ie},[`${ce}-arrow`]:{background:"transparent"}}}})}},de=le=>{const{componentCls:ce,lineWidth:ae,lineType:ie,colorSplit:ne,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:z}=le,ee=y-Math.round(x*b),re=ee/2,se=ee/2-ae,fe=z;return{[ce]:{[`${ce}-inner`]:{padding:0},[`${ce}-title`]:{margin:0,padding:`${re}px ${fe}px ${se}px`,borderBottom:`${ae}px ${ie} ${ne}`},[`${ce}-inner-content`]:{padding:`${a}px ${fe}px`}}}};Ct.Z=(0,me.Z)("Popover",le=>{const{colorBgElevated:ce,colorText:ae,wireframe:ie}=le,ne=(0,oe.TS)(le,{popoverPadding:12,popoverBg:ce,popoverColor:ae});return[te(ne),ue(ne),ie&&de(ne),(0,He._y)(ne,"zoom-big")]},le=>({width:177,minWidth:177,zIndexPopup:le.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},38703:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return Dt}});var Te=Pe(67294),He=Pe(23526),E=Pe(60068),ye=Pe(30186),me=Pe(85846),oe=Pe(94184),te=Pe.n(oe),ue=Pe(10366),de=Pe(53124),le=Pe(87462),ce=Pe(1413),ae=Pe(45987),ie={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ne=function(){var _e=(0,Te.useRef)([]),mt=(0,Te.useRef)(null);return(0,Te.useEffect)(function(){var Ot=Date.now(),xt=!1;_e.current.forEach(function(Ut){if(Ut){xt=!0;var Wt=Ut.style;Wt.transitionDuration=".3s, .3s, .3s, .06s",mt.current&&Ot-mt.current<100&&(Wt.transitionDuration="0s, 0s")}}),xt&&(mt.current=Date.now())}),_e.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(_e){var mt=(0,ce.Z)((0,ce.Z)({},ie),_e),Ot=mt.className,xt=mt.percent,Ut=mt.prefixCls,Wt=mt.strokeColor,qt=mt.strokeLinecap,hn=mt.strokeWidth,jn=mt.style,Tn=mt.trailColor,Fn=mt.trailWidth,pr=mt.transition,yr=(0,ae.Z)(mt,a);delete yr.gapPosition;var Cr=Array.isArray(xt)?xt:[xt],Ur=Array.isArray(Wt)?Wt:[Wt],Hr=ne(),ma=hn/2,Da=100-hn/2,ya="M ".concat(qt==="round"?ma:0,",").concat(ma,`
|
|
L `).concat(qt==="round"?Da:100,",").concat(ma),da="0 0 100 ".concat(hn),fn=0;return Te.createElement("svg",(0,le.Z)({className:te()("".concat(Ut,"-line"),Ot),viewBox:da,preserveAspectRatio:"none",style:jn},yr),Te.createElement("path",{className:"".concat(Ut,"-line-trail"),d:ya,strokeLinecap:qt,stroke:Tn,strokeWidth:Fn||hn,fillOpacity:"0"}),Cr.map(function(xn,Rn){var oa=1;switch(qt){case"round":oa=1-hn/100;break;case"square":oa=1-hn/2/100;break;default:oa=1;break}var ar={strokeDasharray:"".concat(xn*oa,"px, 100px"),strokeDashoffset:"-".concat(fn,"px"),transition:pr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},_n=Ur[Rn]||Ur[Ur.length-1];return fn+=xn,Te.createElement("path",{key:Rn,className:"".concat(Ut,"-line-path"),d:ya,strokeLinecap:qt,stroke:_n,strokeWidth:hn,fillOpacity:"0",ref:function(Mt){Hr[Rn]=Mt},style:ar})}))},x=y,b=Pe(71002),z=Pe(97685),ee=Pe(98924),re=0,se=(0,ee.Z)();function fe(){var rt;return se?(rt=re,re+=1):rt="TEST_OR_SSR",rt}var ve=function(rt){var _e=Te.useState(),mt=(0,z.Z)(_e,2),Ot=mt[0],xt=mt[1];return Te.useEffect(function(){xt("rc_progress_".concat(fe()))},[]),rt||Ot},ge=function(_e){var mt=_e.bg,Ot=_e.children;return Te.createElement("div",{style:{width:"100%",height:"100%",background:mt}},Ot)};function he(rt,_e){return Object.keys(rt).map(function(mt){var Ot=parseFloat(mt),xt="".concat(Math.floor(Ot*_e),"%");return"".concat(rt[mt]," ").concat(xt)})}var pe=Te.forwardRef(function(rt,_e){var mt=rt.prefixCls,Ot=rt.color,xt=rt.gradientId,Ut=rt.radius,Wt=rt.style,qt=rt.ptg,hn=rt.strokeLinecap,jn=rt.strokeWidth,Tn=rt.size,Fn=rt.gapDegree,pr=Ot&&(0,b.Z)(Ot)==="object",yr=pr?"#FFF":void 0,Cr=Tn/2,Ur=Te.createElement("circle",{className:"".concat(mt,"-circle-path"),r:Ut,cx:Cr,cy:Cr,stroke:yr,strokeLinecap:hn,strokeWidth:jn,opacity:qt===0?0:1,style:Wt,ref:_e});if(!pr)return Ur;var Hr="".concat(xt,"-conic"),ma=Fn?"".concat(180+Fn/2,"deg"):"0deg",Da=he(Ot,(360-Fn)/360),ya=he(Ot,1),da="conic-gradient(from ".concat(ma,", ").concat(Da.join(", "),")"),fn="linear-gradient(to ".concat(Fn?"bottom":"top",", ").concat(ya.join(", "),")");return Te.createElement(Te.Fragment,null,Te.createElement("mask",{id:Hr},Ur),Te.createElement("foreignObject",{x:0,y:0,width:Tn,height:Tn,mask:"url(#".concat(Hr,")")},Te.createElement(ge,{bg:fn},Te.createElement(ge,{bg:da}))))}),Se=pe,be=100,je=function(_e,mt,Ot,xt,Ut,Wt,qt,hn,jn,Tn){var Fn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,pr=Ot/100*360*((360-Wt)/360),yr=Wt===0?0:{bottom:0,top:180,left:90,right:-90}[qt],Cr=(100-xt)/100*mt;jn==="round"&&xt!==100&&(Cr+=Tn/2,Cr>=mt&&(Cr=mt-.01));var Ur=be/2;return{stroke:typeof hn=="string"?hn:void 0,strokeDasharray:"".concat(mt,"px ").concat(_e),strokeDashoffset:Cr+Fn,transform:"rotate(".concat(Ut+pr+yr,"deg)"),transformOrigin:"".concat(Ur,"px ").concat(Ur,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},we=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Oe(rt){var _e=rt!=null?rt:[];return Array.isArray(_e)?_e:[_e]}var Ae=function(_e){var mt=(0,ce.Z)((0,ce.Z)({},ie),_e),Ot=mt.id,xt=mt.prefixCls,Ut=mt.steps,Wt=mt.strokeWidth,qt=mt.trailWidth,hn=mt.gapDegree,jn=hn===void 0?0:hn,Tn=mt.gapPosition,Fn=mt.trailColor,pr=mt.strokeLinecap,yr=mt.style,Cr=mt.className,Ur=mt.strokeColor,Hr=mt.percent,ma=(0,ae.Z)(mt,we),Da=be/2,ya=ve(Ot),da="".concat(ya,"-gradient"),fn=Da-Wt/2,xn=Math.PI*2*fn,Rn=jn>0?90+jn/2:-90,oa=xn*((360-jn)/360),ar=(0,b.Z)(Ut)==="object"?Ut:{count:Ut,space:2},_n=ar.count,Rt=ar.space,Mt=Oe(Hr),Lt=Oe(Ur),Pn=Lt.find(function(sa){return sa&&(0,b.Z)(sa)==="object"}),zn=Pn&&(0,b.Z)(Pn)==="object",$n=zn?"butt":pr,_r=je(xn,oa,0,100,Rn,jn,Tn,Fn,$n,Wt),Vr=ne(),Xr=function(){var Cn=0;return Mt.map(function(Mr,Nr){var La=Lt[Nr]||Lt[Lt.length-1],Na=je(xn,oa,Cn,Mr,Rn,jn,Tn,La,$n,Wt);return Cn+=Mr,Te.createElement(Se,{key:Nr,color:La,ptg:Mr,radius:fn,prefixCls:xt,gradientId:da,style:Na,strokeLinecap:$n,strokeWidth:Wt,gapDegree:jn,ref:function(Wa){Vr[Nr]=Wa},size:be})}).reverse()},aa=function(){var Cn=Math.round(_n*(Mt[0]/100)),Mr=100/_n,Nr=0;return new Array(_n).fill(null).map(function(La,Na){var Ca=Na<=Cn-1?Lt[0]:Fn,Wa=Ca&&(0,b.Z)(Ca)==="object"?"url(#".concat(da,")"):void 0,ia=je(xn,oa,Nr,Mr,Rn,jn,Tn,Ca,"butt",Wt,Rt);return Nr+=(oa-ia.strokeDashoffset+Rt)*100/oa,Te.createElement("circle",{key:Na,className:"".concat(xt,"-circle-path"),r:fn,cx:Da,cy:Da,stroke:Wa,strokeWidth:Wt,opacity:1,style:ia,ref:function(en){Vr[Na]=en}})})};return Te.createElement("svg",(0,le.Z)({className:te()("".concat(xt,"-circle"),Cr),viewBox:"0 0 ".concat(be," ").concat(be),style:yr,id:Ot,role:"presentation"},ma),!_n&&Te.createElement("circle",{className:"".concat(xt,"-circle-trail"),r:fn,cx:Da,cy:Da,stroke:Fn,strokeLinecap:$n,strokeWidth:qt||Wt,style:_r}),_n?aa():Xr())},Fe=Ae,ke={Line:x,Circle:Fe},Ve=Pe(83062),De=Pe(47448);function ut(rt){return!rt||rt<0?0:rt>100?100:rt}function nt(rt){let{success:_e,successPercent:mt}=rt,Ot=mt;return _e&&"progress"in _e&&(Ot=_e.progress),_e&&"percent"in _e&&(Ot=_e.percent),Ot}const qe=rt=>{let{percent:_e,success:mt,successPercent:Ot}=rt;const xt=ut(nt({success:mt,successPercent:Ot}));return[xt,ut(ut(_e)-xt)]},Xe=rt=>{let{success:_e={},strokeColor:mt}=rt;const{strokeColor:Ot}=_e;return[Ot||De.presetPrimaryColors.green,mt||null]},$e=(rt,_e,mt)=>{var Ot,xt,Ut,Wt;let qt=-1,hn=-1;if(_e==="step"){const jn=mt.steps,Tn=mt.strokeWidth;typeof rt=="string"||typeof rt=="undefined"?(qt=rt==="small"?2:14,hn=Tn!=null?Tn:8):typeof rt=="number"?[qt,hn]=[rt,rt]:[qt=14,hn=8]=rt,qt*=jn}else if(_e==="line"){const jn=mt==null?void 0:mt.strokeWidth;typeof rt=="string"||typeof rt=="undefined"?hn=jn||(rt==="small"?6:8):typeof rt=="number"?[qt,hn]=[rt,rt]:[qt=-1,hn=8]=rt}else(_e==="circle"||_e==="dashboard")&&(typeof rt=="string"||typeof rt=="undefined"?[qt,hn]=rt==="small"?[60,60]:[120,120]:typeof rt=="number"?[qt,hn]=[rt,rt]:(qt=(xt=(Ot=rt[0])!==null&&Ot!==void 0?Ot:rt[1])!==null&&xt!==void 0?xt:120,hn=(Wt=(Ut=rt[0])!==null&&Ut!==void 0?Ut:rt[1])!==null&&Wt!==void 0?Wt:120));return[qt,hn]},Ue=3,Be=rt=>Ue/rt*100;var Je=rt=>{const{prefixCls:_e,trailColor:mt=null,strokeLinecap:Ot="round",gapPosition:xt,gapDegree:Ut,width:Wt=120,type:qt,children:hn,success:jn,size:Tn=Wt}=rt,[Fn,pr]=$e(Tn,"circle");let{strokeWidth:yr}=rt;yr===void 0&&(yr=Math.max(Be(Fn),6));const Cr={width:Fn,height:pr,fontSize:Fn*.15+6},Ur=Te.useMemo(()=>{if(Ut||Ut===0)return Ut;if(qt==="dashboard")return 75},[Ut,qt]),Hr=xt||qt==="dashboard"&&"bottom"||void 0,ma=Object.prototype.toString.call(rt.strokeColor)==="[object Object]",Da=Xe({success:jn,strokeColor:rt.strokeColor}),ya=te()(`${_e}-inner`,{[`${_e}-circle-gradient`]:ma}),da=Te.createElement(Fe,{percent:qe(rt),strokeWidth:yr,trailWidth:yr,strokeColor:Da,strokeLinecap:Ot,trailColor:mt,prefixCls:_e,gapDegree:Ur,gapPosition:Hr});return Te.createElement("div",{className:ya,style:Cr},Fn<=20?Te.createElement(Ve.Z,{title:hn},Te.createElement("span",null,da)):Te.createElement(Te.Fragment,null,da,hn))},ft=function(rt,_e){var mt={};for(var Ot in rt)Object.prototype.hasOwnProperty.call(rt,Ot)&&_e.indexOf(Ot)<0&&(mt[Ot]=rt[Ot]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Ot=Object.getOwnPropertySymbols(rt);xt<Ot.length;xt++)_e.indexOf(Ot[xt])<0&&Object.prototype.propertyIsEnumerable.call(rt,Ot[xt])&&(mt[Ot[xt]]=rt[Ot[xt]]);return mt};const Ze=rt=>{let _e=[];return Object.keys(rt).forEach(mt=>{const Ot=parseFloat(mt.replace(/%/g,""));isNaN(Ot)||_e.push({key:Ot,value:rt[mt]})}),_e=_e.sort((mt,Ot)=>mt.key-Ot.key),_e.map(mt=>{let{key:Ot,value:xt}=mt;return`${xt} ${Ot}%`}).join(", ")},Ge=(rt,_e)=>{const{from:mt=De.presetPrimaryColors.blue,to:Ot=De.presetPrimaryColors.blue,direction:xt=_e==="rtl"?"to left":"to right"}=rt,Ut=ft(rt,["from","to","direction"]);if(Object.keys(Ut).length!==0){const Wt=Ze(Ut);return{backgroundImage:`linear-gradient(${xt}, ${Wt})`}}return{backgroundImage:`linear-gradient(${xt}, ${mt}, ${Ot})`}};var Ke=rt=>{const{prefixCls:_e,direction:mt,percent:Ot,size:xt,strokeWidth:Ut,strokeColor:Wt,strokeLinecap:qt="round",children:hn,trailColor:jn=null,success:Tn}=rt,Fn=Wt&&typeof Wt!="string"?Ge(Wt,mt):{backgroundColor:Wt},pr=qt==="square"||qt==="butt"?0:void 0,yr={backgroundColor:jn||void 0,borderRadius:pr},Cr=xt!=null?xt:[-1,Ut||(xt==="small"?6:8)],[Ur,Hr]=$e(Cr,"line",{strokeWidth:Ut}),ma=Object.assign({width:`${ut(Ot)}%`,height:Hr,borderRadius:pr},Fn),Da=nt(rt),ya={width:`${ut(Da)}%`,height:Hr,borderRadius:pr,backgroundColor:Tn==null?void 0:Tn.strokeColor},da={width:Ur<0?"100%":Ur,height:Hr};return Te.createElement(Te.Fragment,null,Te.createElement("div",{className:`${_e}-outer`,style:da},Te.createElement("div",{className:`${_e}-inner`,style:yr},Te.createElement("div",{className:`${_e}-bg`,style:ma}),Da!==void 0?Te.createElement("div",{className:`${_e}-success-bg`,style:ya}):null)),hn)},Re=rt=>{const{size:_e,steps:mt,percent:Ot=0,strokeWidth:xt=8,strokeColor:Ut,trailColor:Wt=null,prefixCls:qt,children:hn}=rt,jn=Math.round(mt*(Ot/100)),Tn=_e==="small"?2:14,Fn=_e!=null?_e:[Tn,xt],[pr,yr]=$e(Fn,"step",{steps:mt,strokeWidth:xt}),Cr=pr/mt,Ur=new Array(mt);for(let Hr=0;Hr<mt;Hr++){const ma=Array.isArray(Ut)?Ut[Hr]:Ut;Ur[Hr]=Te.createElement("div",{key:Hr,className:te()(`${qt}-steps-item`,{[`${qt}-steps-item-active`]:Hr<=jn-1}),style:{backgroundColor:Hr<=jn-1?ma:Wt,width:Cr,height:yr}})}return Te.createElement("div",{className:`${qt}-steps-outer`},Ur,hn)},Qe=Pe(45930),Ye=Pe(14747),We=Pe(67968),Ce=Pe(45503);const xe=rt=>{const _e=rt?"100%":"-100%";return new Qe.Keyframes(`antProgress${rt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${_e}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${_e}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ne=rt=>{const{componentCls:_e,iconCls:mt}=rt;return{[_e]:Object.assign(Object.assign({},(0,Ye.Wf)(rt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:rt.fontSize,marginInlineEnd:rt.marginXS,marginBottom:rt.marginXS},[`${_e}-outer`]:{display:"inline-block",width:"100%"},[`&${_e}-show-info`]:{[`${_e}-outer`]:{marginInlineEnd:`calc(-2em - ${rt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${rt.paddingXS}px)`}},[`${_e}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:rt.remainingColor,borderRadius:rt.lineBorderRadius},[`${_e}-inner:not(${_e}-circle-gradient)`]:{[`${_e}-circle-path`]:{stroke:rt.defaultColor}},[`${_e}-success-bg, ${_e}-bg`]:{position:"relative",backgroundColor:rt.defaultColor,borderRadius:rt.lineBorderRadius,transition:`all ${rt.motionDurationSlow} ${rt.motionEaseInOutCirc}`},[`${_e}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:rt.colorSuccess},[`${_e}-text`]:{display:"inline-block",width:"2em",marginInlineStart:rt.marginXS,color:rt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[mt]:{fontSize:rt.fontSize}},[`&${_e}-status-active`]:{[`${_e}-bg::before`]:{position:"absolute",inset:0,backgroundColor:rt.colorBgContainer,borderRadius:rt.lineBorderRadius,opacity:0,animationName:xe(),animationDuration:rt.progressActiveMotionDuration,animationTimingFunction:rt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${_e}-rtl${_e}-status-active`]:{[`${_e}-bg::before`]:{animationName:xe(!0)}},[`&${_e}-status-exception`]:{[`${_e}-bg`]:{backgroundColor:rt.colorError},[`${_e}-text`]:{color:rt.colorError}},[`&${_e}-status-exception ${_e}-inner:not(${_e}-circle-gradient)`]:{[`${_e}-circle-path`]:{stroke:rt.colorError}},[`&${_e}-status-success`]:{[`${_e}-bg`]:{backgroundColor:rt.colorSuccess},[`${_e}-text`]:{color:rt.colorSuccess}},[`&${_e}-status-success ${_e}-inner:not(${_e}-circle-gradient)`]:{[`${_e}-circle-path`]:{stroke:rt.colorSuccess}}})}},ze=rt=>{const{componentCls:_e,iconCls:mt}=rt;return{[_e]:{[`${_e}-circle-trail`]:{stroke:rt.remainingColor},[`&${_e}-circle ${_e}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${_e}-circle ${_e}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:rt.circleTextColor,fontSize:rt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[mt]:{fontSize:`${rt.fontSize/rt.fontSizeSM}em`}},[`${_e}-circle&-status-exception`]:{[`${_e}-text`]:{color:rt.colorError}},[`${_e}-circle&-status-success`]:{[`${_e}-text`]:{color:rt.colorSuccess}}},[`${_e}-inline-circle`]:{lineHeight:1,[`${_e}-inner`]:{verticalAlign:"bottom"}}}},it=rt=>{const{componentCls:_e}=rt;return{[_e]:{[`${_e}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:rt.progressStepMinWidth,marginInlineEnd:rt.progressStepMarginInlineEnd,backgroundColor:rt.remainingColor,transition:`all ${rt.motionDurationSlow}`,"&-active":{backgroundColor:rt.defaultColor}}}}}},St=rt=>{const{componentCls:_e,iconCls:mt}=rt;return{[_e]:{[`${_e}-small&-line, ${_e}-small&-line ${_e}-text ${mt}`]:{fontSize:rt.fontSizeSM}}}};var dt=(0,We.Z)("Progress",rt=>{const _e=rt.marginXXS/2,mt=(0,Ce.TS)(rt,{progressStepMarginInlineEnd:_e,progressStepMinWidth:_e,progressActiveMotionDuration:"2.4s"});return[Ne(mt),ze(mt),it(mt),St(mt)]},rt=>({circleTextColor:rt.colorText,defaultColor:rt.colorInfo,remainingColor:rt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),bt=function(rt,_e){var mt={};for(var Ot in rt)Object.prototype.hasOwnProperty.call(rt,Ot)&&_e.indexOf(Ot)<0&&(mt[Ot]=rt[Ot]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Ot=Object.getOwnPropertySymbols(rt);xt<Ot.length;xt++)_e.indexOf(Ot[xt])<0&&Object.prototype.propertyIsEnumerable.call(rt,Ot[xt])&&(mt[Ot[xt]]=rt[Ot[xt]]);return mt};const an=null,kt=["normal","exception","active","success"];var at=Te.forwardRef((rt,_e)=>{const{prefixCls:mt,className:Ot,rootClassName:xt,steps:Ut,strokeColor:Wt,percent:qt=0,size:hn="default",showInfo:jn=!0,type:Tn="line",status:Fn,format:pr,style:yr}=rt,Cr=bt(rt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Ur=Te.useMemo(()=>{var Mt,Lt;const Pn=nt(rt);return parseInt(Pn!==void 0?(Mt=Pn!=null?Pn:0)===null||Mt===void 0?void 0:Mt.toString():(Lt=qt!=null?qt:0)===null||Lt===void 0?void 0:Lt.toString(),10)},[qt,rt.success,rt.successPercent]),Hr=Te.useMemo(()=>!kt.includes(Fn)&&Ur>=100?"success":Fn||"normal",[Fn,Ur]),{getPrefixCls:ma,direction:Da,progress:ya}=Te.useContext(de.E_),da=ma("progress",mt),[fn,xn]=dt(da),Rn=Te.useMemo(()=>{if(!jn)return null;const Mt=nt(rt);let Lt;const Pn=pr||($n=>`${$n}%`),zn=Tn==="line";return pr||Hr!=="exception"&&Hr!=="success"?Lt=Pn(ut(qt),ut(Mt)):Hr==="exception"?Lt=zn?Te.createElement(ye.Z,null):Te.createElement(me.Z,null):Hr==="success"&&(Lt=zn?Te.createElement(He.Z,null):Te.createElement(E.Z,null)),Te.createElement("span",{className:`${da}-text`,title:typeof Lt=="string"?Lt:void 0},Lt)},[jn,qt,Ur,Hr,Tn,da,pr]),oa=Array.isArray(Wt)?Wt[0]:Wt,ar=typeof Wt=="string"||Array.isArray(Wt)?Wt:void 0;let _n;Tn==="line"?_n=Ut?Te.createElement(Re,Object.assign({},rt,{strokeColor:ar,prefixCls:da,steps:Ut}),Rn):Te.createElement(Ke,Object.assign({},rt,{strokeColor:oa,prefixCls:da,direction:Da}),Rn):(Tn==="circle"||Tn==="dashboard")&&(_n=Te.createElement(Je,Object.assign({},rt,{strokeColor:oa,prefixCls:da,progressStatus:Hr}),Rn));const Rt=te()(da,`${da}-status-${Hr}`,`${da}-${Tn==="dashboard"&&"circle"||Ut&&"steps"||Tn}`,{[`${da}-inline-circle`]:Tn==="circle"&&$e(hn,"circle")[0]<=20,[`${da}-show-info`]:jn,[`${da}-${hn}`]:typeof hn=="string",[`${da}-rtl`]:Da==="rtl"},ya==null?void 0:ya.className,Ot,xt,xn);return fn(Te.createElement("div",Object.assign({ref:_e,style:Object.assign(Object.assign({},ya==null?void 0:ya.style),yr),className:Rt,role:"progressbar","aria-valuenow":Ur},(0,ue.Z)(Cr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),_n))}),Dt=at},49867:function(At,Ct,Pe){"use strict";Pe.d(Ct,{N:function(){return Te}});const Te=He=>({color:He.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${He.motionDurationSlow}`,"&:focus, &:hover":{color:He.colorLinkHover},"&:active":{color:He.colorLinkActive}})},86129:function(At,Ct,Pe){"use strict";Pe.d(Ct,{default:function(){return Ws}});var Te={},He="rc-table-internal-hook",E=Pe(97685),ye=Pe(66680),me=Pe(8410),oe=Pe(91881),te=Pe(67294),ue=Pe(73935);function de(Ie){var Me=te.createContext(void 0),et=function(gt){var pt=gt.value,Et=gt.children,It=te.useRef(pt);It.current=pt;var Nt=te.useState(function(){return{getValue:function(){return It.current},listeners:new Set}}),$t=(0,E.Z)(Nt,1),Qt=$t[0];return(0,me.Z)(function(){(0,ue.unstable_batchedUpdates)(function(){Qt.listeners.forEach(function(Ht){Ht(pt)})})},[pt]),te.createElement(Me.Provider,{value:Qt},Et)};return{Context:Me,Provider:et,defaultValue:Ie}}function le(Ie,Me){var et=(0,ye.Z)(typeof Me=="function"?Me:function(Ht){if(Me===void 0)return Ht;if(!Array.isArray(Me))return Ht[Me];var mn={};return Me.forEach(function(pn){mn[pn]=Ht[pn]}),mn}),st=te.useContext(Ie==null?void 0:Ie.Context),gt=st||{},pt=gt.listeners,Et=gt.getValue,It=te.useRef();It.current=et(st?Et():Ie==null?void 0:Ie.defaultValue);var Nt=te.useState({}),$t=(0,E.Z)(Nt,2),Qt=$t[1];return(0,me.Z)(function(){if(!st)return;function Ht(mn){var pn=et(mn);(0,oe.Z)(It.current,pn,!0)||Qt({})}return pt.add(Ht),function(){pt.delete(Ht)}},[st]),It.current}var ce=Pe(87462),ae=Pe(42550);function ie(){var Ie=te.createContext(null);function Me(){return te.useContext(Ie)}function et(gt,pt){var Et=(0,ae.Yr)(gt),It=function($t,Qt){var Ht=Et?{ref:Qt}:{},mn=te.useRef(0),pn=te.useRef($t),yn=Me();return yn!==null?te.createElement(gt,(0,ce.Z)({},$t,Ht)):((!pt||pt(pn.current,$t))&&(mn.current+=1),pn.current=$t,te.createElement(Ie.Provider,{value:mn.current},te.createElement(gt,(0,ce.Z)({},$t,Ht))))};return Et?te.forwardRef(It):It}function st(gt,pt){var Et=(0,ae.Yr)(gt),It=function($t,Qt){var Ht=Et?{ref:Qt}:{};return Me(),te.createElement(gt,(0,ce.Z)({},$t,Ht))};return Et?te.memo(te.forwardRef(It),pt):te.memo(It,pt)}return{makeImmutable:et,responseImmutable:st,useImmutableMark:Me}}var ne=ie(),a=ne.makeImmutable,y=ne.responseImmutable,x=ne.useImmutableMark,b=ie(),z=b.makeImmutable,ee=b.responseImmutable,re=b.useImmutableMark,se=de(),fe=se;function ve(Ie,Me){var et=te.useRef(0);et.current+=1;var st=te.useRef(Ie),gt=[];Object.keys(Ie||{}).map(function(Et){var It;(Ie==null?void 0:Ie[Et])!==((It=st.current)===null||It===void 0?void 0:It[Et])&>.push(Et)}),st.current=Ie;var pt=te.useRef([]);return gt.length&&(pt.current=gt),te.useDebugValue(et.current),te.useDebugValue(pt.current.join(", ")),Me&&console.log("".concat(Me,":"),et.current,pt.current),et.current}var ge=null,he=te.memo(function(){var Ie=ve();return te.createElement("h1",null,"Render Times: ",Ie)});he.displayName="RenderBlock";var pe=Pe(71002),Se=Pe(1413),be=Pe(4942),je=Pe(94184),we=Pe.n(je);function Oe(Ie,Me,et){var st=te.useRef({});return(!("value"in st.current)||et(st.current.condition,Me))&&(st.current.value=Ie(),st.current.condition=Me),st.current.value}var Ae={},Fe=[],ke=function(Me){Fe.push(Me)};function Ve(Ie,Me){if(0)var et}function De(Ie,Me){if(0)var et}function ut(){Ae={}}function nt(Ie,Me,et){!Me&&!Ae[et]&&(Ie(!1,et),Ae[et]=!0)}function qe(Ie,Me){nt(Ve,Ie,Me)}function Xe(Ie,Me){nt(De,Ie,Me)}qe.preMessage=ke,qe.resetWarned=ut,qe.noteOnce=Xe;var $e=qe;function Ue(Ie,Me){var et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,st=new Set;function gt(pt,Et){var It=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Nt=st.has(pt);if($e(!Nt,"Warning: There may be circular references"),Nt)return!1;if(pt===Et)return!0;if(et&&It>1)return!1;st.add(pt);var $t=It+1;if(Array.isArray(pt)){if(!Array.isArray(Et)||pt.length!==Et.length)return!1;for(var Qt=0;Qt<pt.length;Qt++)if(!gt(pt[Qt],Et[Qt],$t))return!1;return!0}if(pt&&Et&&(0,pe.Z)(pt)==="object"&&(0,pe.Z)(Et)==="object"){var Ht=Object.keys(pt);return Ht.length!==Object.keys(Et).length?!1:Ht.every(function(mn){return gt(pt[mn],Et[mn],$t)})}return!1}return gt(Ie,Me)}var Be=Ue;function tt(Ie,Me){for(var et=Ie,st=0;st<Me.length;st+=1){if(et==null)return;et=et[Me[st]]}return et}var Je=te.createContext({renderWithProps:!1}),ft=Je,Ze="RC_TABLE_KEY";function Ge(Ie){return Ie==null?[]:Array.isArray(Ie)?Ie:[Ie]}function Le(Ie){var Me=[],et={};return Ie.forEach(function(st){for(var gt=st||{},pt=gt.key,Et=gt.dataIndex,It=pt||Ge(Et).join("-")||Ze;et[It];)It="".concat(It,"_next");et[It]=!0,Me.push(It)}),Me}function Ke(Ie){return Ie!=null}function Ee(Ie){return Ie&&(0,pe.Z)(Ie)==="object"&&!Array.isArray(Ie)&&!te.isValidElement(Ie)}function Re(Ie,Me,et,st,gt,pt){var Et=te.useContext(ft),It=re(),Nt=Oe(function(){if(Ke(st))return[st];var $t=Me==null||Me===""?[]:Array.isArray(Me)?Me:[Me],Qt=tt(Ie,$t),Ht=Qt,mn=void 0;if(gt){var pn=gt(Qt,Ie,et);Ee(pn)?(Ht=pn.children,mn=pn.props,Et.renderWithProps=!0):Ht=pn}return[Ht,mn]},[It,Ie,st,Me,gt,et],function($t,Qt){if(pt){var Ht=(0,E.Z)($t,2),mn=Ht[1],pn=(0,E.Z)(Qt,2),yn=pn[1];return pt(yn,mn)}return Et.renderWithProps?!0:!Be($t,Qt,!0)});return Nt}function Qe(Ie,Me,et,st){var gt=Ie+Me-1;return Ie<=st&>>=et}function Ye(Ie,Me){return le(fe,function(et){var st=Qe(Ie,Me||1,et.hoverStartRow,et.hoverEndRow);return[st,et.onHover]})}var We=function(Me){var et=Me.ellipsis,st=Me.rowType,gt=Me.children,pt,Et=et===!0?{showTitle:!0}:et;return Et&&(Et.showTitle||st==="header")&&(typeof gt=="string"||typeof gt=="number"?pt=gt.toString():te.isValidElement(gt)&&typeof gt.props.children=="string"&&(pt=gt.props.children)),pt};function Ce(Ie){var Me,et,st,gt,pt,Et,It,Nt,$t=Ie.component,Qt=Ie.children,Ht=Ie.ellipsis,mn=Ie.scope,pn=Ie.prefixCls,yn=Ie.className,Mn=Ie.align,An=Ie.record,Dn=Ie.render,Nn=Ie.dataIndex,Gn=Ie.renderIndex,Sr=Ie.shouldCellUpdate,xr=Ie.index,fr=Ie.rowType,Jr=Ie.colSpan,zr=Ie.rowSpan,Xn=Ie.fixLeft,gr=Ie.fixRight,qn=Ie.firstFixLeft,Bn=Ie.lastFixLeft,ur=Ie.firstFixRight,kr=Ie.lastFixRight,va=Ie.appendNode,ra=Ie.additionalProps,Fr=ra===void 0?{}:ra,ba=Ie.isSticky,Ta="".concat(pn,"-cell"),Wn=le(fe,["supportSticky","allColumnsFixedLeft"]),mr=Wn.supportSticky,xa=Wn.allColumnsFixedLeft,Aa=Re(An,Nn,Gn,Qt,Dn,Sr),Pr=(0,E.Z)(Aa,2),So=Pr[0],$a=Pr[1],po={},oo=typeof Xn=="number"&&mr,mi=typeof gr=="number"&&mr;oo&&(po.position="sticky",po.left=Xn),mi&&(po.position="sticky",po.right=gr);var Qr=(Me=(et=(st=$a==null?void 0:$a.colSpan)!==null&&st!==void 0?st:Fr.colSpan)!==null&&et!==void 0?et:Jr)!==null&&Me!==void 0?Me:1,Wr=(gt=(pt=(Et=$a==null?void 0:$a.rowSpan)!==null&&Et!==void 0?Et:Fr.rowSpan)!==null&&pt!==void 0?pt:zr)!==null&>!==void 0?gt:1,Kr=Ye(xr,Wr),jr=(0,E.Z)(Kr,2),Va=jr[0],Ar=jr[1],ca=function(ko){var pi;An&&Ar(xr,xr+Wr-1),Fr==null||(pi=Fr.onMouseEnter)===null||pi===void 0||pi.call(Fr,ko)},Ka=function(ko){var pi;An&&Ar(-1,-1),Fr==null||(pi=Fr.onMouseLeave)===null||pi===void 0||pi.call(Fr,ko)};if(Qr===0||Wr===0)return null;var Ua=(It=Fr.title)!==null&&It!==void 0?It:We({rowType:fr,ellipsis:Ht,children:So}),ei=we()(Ta,yn,(Nt={},(0,be.Z)(Nt,"".concat(Ta,"-fix-left"),oo&&mr),(0,be.Z)(Nt,"".concat(Ta,"-fix-left-first"),qn&&mr),(0,be.Z)(Nt,"".concat(Ta,"-fix-left-last"),Bn&&mr),(0,be.Z)(Nt,"".concat(Ta,"-fix-left-all"),Bn&&xa&&mr),(0,be.Z)(Nt,"".concat(Ta,"-fix-right"),mi&&mr),(0,be.Z)(Nt,"".concat(Ta,"-fix-right-first"),ur&&mr),(0,be.Z)(Nt,"".concat(Ta,"-fix-right-last"),kr&&mr),(0,be.Z)(Nt,"".concat(Ta,"-ellipsis"),Ht),(0,be.Z)(Nt,"".concat(Ta,"-with-append"),va),(0,be.Z)(Nt,"".concat(Ta,"-fix-sticky"),(oo||mi)&&ba&&mr),(0,be.Z)(Nt,"".concat(Ta,"-row-hover"),!$a&&Va),Nt),Fr.className,$a==null?void 0:$a.className),Ho={};Mn&&(Ho.textAlign=Mn);var Wi=(0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)({},po),Fr.style),Ho),$a==null?void 0:$a.style),Bo=So;return(0,pe.Z)(Bo)==="object"&&!Array.isArray(Bo)&&!te.isValidElement(Bo)&&(Bo=null),Ht&&(Bn||ur)&&(Bo=te.createElement("span",{className:"".concat(Ta,"-content")},Bo)),te.createElement($t,(0,ce.Z)({},$a,Fr,{className:ei,style:Wi,title:Ua,scope:mn,onMouseEnter:ca,onMouseLeave:Ka,colSpan:Qr!==1?Qr:null,rowSpan:Wr!==1?Wr:null}),va,Bo)}var xe=te.memo(Ce);function Ne(Ie,Me,et,st,gt,pt){var Et=et[Ie]||{},It=et[Me]||{},Nt,$t;Et.fixed==="left"?Nt=st.left[gt==="rtl"?Me:Ie]:It.fixed==="right"&&($t=st.right[gt==="rtl"?Ie:Me]);var Qt=!1,Ht=!1,mn=!1,pn=!1,yn=et[Me+1],Mn=et[Ie-1],An=!(pt!=null&&pt.children);if(gt==="rtl"){if(Nt!==void 0){var Dn=Mn&&Mn.fixed==="left";pn=!Dn&&An}else if($t!==void 0){var Nn=yn&&yn.fixed==="right";mn=!Nn&&An}}else if(Nt!==void 0){var Gn=yn&&yn.fixed==="left";Qt=!Gn&&An}else if($t!==void 0){var Sr=Mn&&Mn.fixed==="right";Ht=!Sr&&An}return{fixLeft:Nt,fixRight:$t,lastFixLeft:Qt,firstFixRight:Ht,lastFixRight:mn,firstFixLeft:pn,isSticky:st.isSticky}}var ze=te.createContext({}),it=ze;function St(Ie){var Me=Ie.className,et=Ie.index,st=Ie.children,gt=Ie.colSpan,pt=gt===void 0?1:gt,Et=Ie.rowSpan,It=Ie.align,Nt=le(fe,["prefixCls","direction"]),$t=Nt.prefixCls,Qt=Nt.direction,Ht=te.useContext(it),mn=Ht.scrollColumnIndex,pn=Ht.stickyOffsets,yn=Ht.flattenColumns,Mn=Ht.columns,An=et+pt-1,Dn=An+1===mn?pt+1:pt,Nn=Ne(et,et+Dn-1,yn,pn,Qt,Mn==null?void 0:Mn[et]);return te.createElement(xe,(0,ce.Z)({className:Me,index:et,component:"td",prefixCls:$t,record:null,dataIndex:null,align:It,colSpan:Dn,rowSpan:Et,render:function(){return st}},Nn))}var dt=Pe(45987),bt=["children"];function an(Ie){var Me=Ie.children,et=(0,dt.Z)(Ie,bt);return te.createElement("tr",et,Me)}function kt(Ie){var Me=Ie.children;return Me}kt.Row=an,kt.Cell=St;var lt=kt;function at(Ie){var Me=Ie.children,et=Ie.stickyOffsets,st=Ie.flattenColumns,gt=Ie.columns,pt=le(fe,"prefixCls"),Et=st.length-1,It=st[Et],Nt=te.useMemo(function(){return{stickyOffsets:et,flattenColumns:st,scrollColumnIndex:It!=null&&It.scrollbar?Et:null,columns:gt}},[It,st,Et,et,gt]);return te.createElement(it.Provider,{value:Nt},te.createElement("tfoot",{className:"".concat(pt,"-summary")},Me))}var Dt=ee(at),rt=lt;function _e(Ie){var Me=te.useRef();Me.current=Ie;var et=te.useCallback(function(){for(var st,gt=arguments.length,pt=new Array(gt),Et=0;Et<gt;Et++)pt[Et]=arguments[Et];return(st=Me.current)===null||st===void 0?void 0:st.call.apply(st,[Me].concat(pt))},[]);return et}function mt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ot=mt()?te.useLayoutEffect:te.useEffect,xt=function(Me,et){var st=React.useRef(!0);Ot(function(){return Me(st.current)},et),Ot(function(){return st.current=!1,function(){st.current=!0}},[])},Ut=function(Me,et){xt(function(st){if(!st)return Me()},et)},Wt=null;function qt(Ie){var Me=React.useRef(!1),et=React.useState(Ie),st=_slicedToArray(et,2),gt=st[0],pt=st[1];React.useEffect(function(){return Me.current=!1,function(){Me.current=!0}},[]);function Et(It,Nt){Nt&&Me.current||pt(It)}return[gt,Et]}function hn(Ie){return Ie!==void 0}function jn(Ie,Me){var et=Me||{},st=et.defaultValue,gt=et.value,pt=et.onChange,Et=et.postState,It=useState(function(){return hn(gt)?gt:hn(st)?typeof st=="function"?st():st:typeof Ie=="function"?Ie():Ie}),Nt=_slicedToArray(It,2),$t=Nt[0],Qt=Nt[1],Ht=gt!==void 0?gt:$t,mn=Et?Et(Ht):Ht,pn=useEvent(pt),yn=useState([Ht]),Mn=_slicedToArray(yn,2),An=Mn[0],Dn=Mn[1];useLayoutUpdateEffect(function(){var Gn=An[0];$t!==Gn&&pn($t,Gn)},[An]),useLayoutUpdateEffect(function(){hn(gt)||Qt(gt)},[gt]);var Nn=useEvent(function(Gn,Sr){Qt(Gn,Sr),Dn([Ht],Sr)});return[mn,Nn]}var Tn=Pe(35110);function Fn(Ie,Me){typeof Ie=="function"?Ie(Me):(0,pe.Z)(Ie)==="object"&&Ie&&"current"in Ie&&(Ie.current=Me)}function pr(){for(var Ie=arguments.length,Me=new Array(Ie),et=0;et<Ie;et++)Me[et]=arguments[et];var st=Me.filter(function(gt){return gt});return st.length<=1?st[0]:function(gt){Me.forEach(function(pt){Fn(pt,gt)})}}function yr(){for(var Ie=arguments.length,Me=new Array(Ie),et=0;et<Ie;et++)Me[et]=arguments[et];return useMemo(function(){return pr.apply(void 0,Me)},Me,function(st,gt){return st.length!==gt.length||st.every(function(pt,Et){return pt!==gt[Et]})})}function Cr(Ie){var Me,et,st=isMemo(Ie)?Ie.type.type:Ie.type;return!(typeof st=="function"&&!((Me=st.prototype)!==null&&Me!==void 0&&Me.render)||typeof Ie=="function"&&!((et=Ie.prototype)!==null&&et!==void 0&&et.render))}function Ur(Ie){return!isValidElement(Ie)||isFragment(Ie)?!1:Cr(Ie)}function Hr(Ie,Me,et,st){if(!Me.length)return et;var gt=_toArray(Me),pt=gt[0],Et=gt.slice(1),It;return!Ie&&typeof pt=="number"?It=[]:Array.isArray(Ie)?It=_toConsumableArray(Ie):It=_objectSpread({},Ie),st&&et===void 0&&Et.length===1?delete It[pt][Et[0]]:It[pt]=Hr(It[pt],Et,et,st),It}function ma(Ie,Me,et){var st=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Me.length&&st&&et===void 0&&!get(Ie,Me.slice(0,-1))?Ie:Hr(Ie,Me,et,st)}function Da(Ie){return _typeof(Ie)==="object"&&Ie!==null&&Object.getPrototypeOf(Ie)===Object.prototype}function ya(Ie){return Array.isArray(Ie)?[]:{}}var da=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function fn(){for(var Ie=arguments.length,Me=new Array(Ie),et=0;et<Ie;et++)Me[et]=arguments[et];var st=ya(Me[0]);return Me.forEach(function(gt){function pt(Et,It){var Nt=new Set(It),$t=get(gt,Et),Qt=Array.isArray($t);if(Qt||Da($t)){if(!Nt.has($t)){Nt.add($t);var Ht=get(st,Et);Qt?st=ma(st,Et,[]):(!Ht||_typeof(Ht)!=="object")&&(st=ma(st,Et,ya($t))),da($t).forEach(function(mn){pt([].concat(_toConsumableArray(Et),[mn]),Nt)})}}else st=ma(st,Et,$t)}pt([])}),st}var xn=Pe(48555),Rn=function(Ie){if(!Ie)return!1;if(Ie instanceof Element){if(Ie.offsetParent)return!0;if(Ie.getBBox){var Me=Ie.getBBox(),et=Me.width,st=Me.height;if(et||st)return!0}if(Ie.getBoundingClientRect){var gt=Ie.getBoundingClientRect(),pt=gt.width,Et=gt.height;if(pt||Et)return!0}}return!1},oa=function(Me){if(mt()&&window.document.documentElement){var et=Array.isArray(Me)?Me:[Me],st=window.document.documentElement;return et.some(function(gt){return gt in st.style})}return!1},ar=function(Me,et){if(!oa(Me))return!1;var st=document.createElement("div"),gt=st.style[Me];return st.style[Me]=et,st.style[Me]!==gt};function _n(Ie,Me){return!Array.isArray(Ie)&&Me!==void 0?ar(Ie,Me):oa(Ie)}var Rt;function Mt(Ie){if(typeof document=="undefined")return 0;if(Ie||Rt===void 0){var Me=document.createElement("div");Me.style.width="100%",Me.style.height="200px";var et=document.createElement("div"),st=et.style;st.position="absolute",st.top="0",st.left="0",st.pointerEvents="none",st.visibility="hidden",st.width="200px",st.height="150px",st.overflow="hidden",et.appendChild(Me),document.body.appendChild(et);var gt=Me.offsetWidth;et.style.overflow="scroll";var pt=Me.offsetWidth;gt===pt&&(pt=et.clientWidth),document.body.removeChild(et),Rt=gt-pt}return Rt}function Lt(Ie){var Me=Ie.match(/^(.*)px$/),et=Number(Me==null?void 0:Me[1]);return Number.isNaN(et)?Mt():et}function Pn(Ie){if(typeof document=="undefined"||!Ie||!(Ie instanceof Element))return{width:0,height:0};var Me=getComputedStyle(Ie,"::-webkit-scrollbar"),et=Me.width,st=Me.height;return{width:Lt(et),height:Lt(st)}}var zn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,$n=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,_r="".concat(zn," ").concat($n).split(/[\s\n]+/),Vr="aria-",Xr="data-";function aa(Ie,Me){return Ie.indexOf(Me)===0}function sa(Ie){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,et;Me===!1?et={aria:!0,data:!0,attr:!0}:Me===!0?et={aria:!0}:et=(0,Se.Z)({},Me);var st={};return Object.keys(Ie).forEach(function(gt){(et.aria&&(gt==="role"||aa(gt,Vr))||et.data&&aa(gt,Xr)||et.attr&&_r.includes(gt))&&(st[gt]=Ie[gt])}),st}function Cn(Ie,Me,et,st,gt,pt,Et){Ie.push({record:Me,indent:et,index:Et});var It=pt(Me),Nt=gt==null?void 0:gt.has(It);if(Me&&Array.isArray(Me[st])&&Nt)for(var $t=0;$t<Me[st].length;$t+=1)Cn(Ie,Me[st][$t],et+1,st,gt,pt,$t)}function Mr(Ie,Me,et,st){var gt=te.useMemo(function(){if(et!=null&&et.size){for(var pt=[],Et=0;Et<(Ie==null?void 0:Ie.length);Et+=1){var It=Ie[Et];Cn(pt,It,0,Me,et,st,Et)}return pt}return Ie==null?void 0:Ie.map(function(Nt,$t){return{record:Nt,indent:0,index:$t}})},[Ie,Me,et,st]);return gt}function Nr(Ie){var Me=Ie.prefixCls,et=Ie.children,st=Ie.component,gt=Ie.cellComponent,pt=Ie.className,Et=Ie.expanded,It=Ie.colSpan,Nt=Ie.isEmpty,$t=le(fe,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Qt=$t.scrollbarSize,Ht=$t.fixHeader,mn=$t.fixColumn,pn=$t.componentWidth,yn=$t.horizonScroll,Mn=et;return(Nt?yn&&pn:mn)&&(Mn=te.createElement("div",{style:{width:pn-(Ht?Qt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Me,"-expanded-row-fixed")},Mn)),te.createElement(st,{className:pt,style:{display:Et?null:"none"}},te.createElement(xe,{component:gt,prefixCls:Me,colSpan:It},Mn))}var La=Nr;function Na(Ie,Me,et,st){var gt=le(fe,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),pt=gt.flattenColumns,Et=gt.expandableType,It=gt.expandedKeys,Nt=gt.childrenColumnName,$t=gt.onTriggerExpand,Qt=gt.rowExpandable,Ht=gt.onRow,mn=gt.expandRowByClick,pn=gt.rowClassName,yn=Et==="nest",Mn=Et==="row"&&(!Qt||Qt(Ie)),An=Mn||yn,Dn=It&&It.has(Me),Nn=Nt&&Ie&&Ie[Nt],Gn=_e($t),Sr=Ht==null?void 0:Ht(Ie,et),xr=Sr==null?void 0:Sr.onClick,fr=function(gr){mn&&An&&$t(Ie,gr);for(var qn=arguments.length,Bn=new Array(qn>1?qn-1:0),ur=1;ur<qn;ur++)Bn[ur-1]=arguments[ur];xr==null||xr.apply(void 0,[gr].concat(Bn))},Jr;typeof pn=="string"?Jr=pn:typeof pn=="function"&&(Jr=pn(Ie,et,st));var zr=Le(pt);return(0,Se.Z)((0,Se.Z)({},gt),{},{columnsKey:zr,nestExpandable:yn,expanded:Dn,hasNestChildren:Nn,record:Ie,onTriggerExpand:Gn,rowSupportExpand:Mn,expandable:An,rowProps:(0,Se.Z)((0,Se.Z)({},Sr),{},{className:we()(Jr,Sr==null?void 0:Sr.className),onClick:fr})})}function Ca(Ie,Me,et,st,gt){var pt=Ie.record,Et=Ie.prefixCls,It=Ie.columnsKey,Nt=Ie.fixedInfoList,$t=Ie.expandIconColumnIndex,Qt=Ie.nestExpandable,Ht=Ie.indentSize,mn=Ie.expandIcon,pn=Ie.expanded,yn=Ie.hasNestChildren,Mn=Ie.onTriggerExpand,An=It[et],Dn=Nt[et],Nn;et===($t||0)&&Qt&&(Nn=te.createElement(te.Fragment,null,te.createElement("span",{style:{paddingLeft:"".concat(Ht*st,"px")},className:"".concat(Et,"-row-indent indent-level-").concat(st)}),mn({prefixCls:Et,expanded:pn,expandable:yn,record:pt,onExpand:Mn})));var Gn;return Me.onCell&&(Gn=Me.onCell(pt,gt)),{key:An,fixedInfo:Dn,appendCellNode:Nn,additionalCellProps:Gn||{}}}function Wa(Ie){var Me=Ie.className,et=Ie.style,st=Ie.record,gt=Ie.index,pt=Ie.renderIndex,Et=Ie.rowKey,It=Ie.indent,Nt=It===void 0?0:It,$t=Ie.rowComponent,Qt=Ie.cellComponent,Ht=Ie.scopeCellComponent,mn=Na(st,Et,gt,Nt),pn=mn.prefixCls,yn=mn.flattenColumns,Mn=mn.expandedRowClassName,An=mn.expandedRowRender,Dn=mn.rowProps,Nn=mn.expanded,Gn=mn.rowSupportExpand,Sr=te.useState(!1),xr=(0,E.Z)(Sr,2),fr=xr[0],Jr=xr[1];te.useEffect(function(){Nn&&Jr(!0)},[Nn]);var zr=te.createElement($t,(0,ce.Z)({},Dn,{"data-row-key":Et,className:we()(Me,"".concat(pn,"-row"),"".concat(pn,"-row-level-").concat(Nt),Dn==null?void 0:Dn.className),style:(0,Se.Z)((0,Se.Z)({},et),Dn==null?void 0:Dn.style)}),yn.map(function(Bn,ur){var kr=Bn.render,va=Bn.dataIndex,ra=Bn.className,Fr=Ca(mn,Bn,ur,Nt,gt),ba=Fr.key,Ta=Fr.fixedInfo,Wn=Fr.appendCellNode,mr=Fr.additionalCellProps;return te.createElement(xe,(0,ce.Z)({className:ra,ellipsis:Bn.ellipsis,align:Bn.align,scope:Bn.rowScope,component:Bn.rowScope?Ht:Qt,prefixCls:pn,key:ba,record:st,index:gt,renderIndex:pt,dataIndex:va,render:kr,shouldCellUpdate:Bn.shouldCellUpdate},Ta,{appendNode:Wn,additionalProps:mr}))})),Xn;if(Gn&&(fr||Nn)){var gr=An(st,gt,Nt+1,Nn),qn=Mn&&Mn(st,gt,Nt);Xn=te.createElement(La,{expanded:Nn,className:we()("".concat(pn,"-expanded-row"),"".concat(pn,"-expanded-row-level-").concat(Nt+1),qn),prefixCls:pn,component:$t,cellComponent:Qt,colSpan:yn.length,isEmpty:!1},gr)}return te.createElement(te.Fragment,null,zr,Xn)}Wa.displayName="BodyRow";var ia=ee(Wa);function jt(Ie){var Me=Ie.columnKey,et=Ie.onColumnResize,st=te.useRef();return te.useEffect(function(){st.current&&et(Me,st.current.offsetWidth)},[]),te.createElement(xn.Z,{data:Me},te.createElement("td",{ref:st,style:{padding:0,border:0,height:0}},te.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function en(Ie){var Me=Ie.prefixCls,et=Ie.columnsKey,st=Ie.onColumnResize;return te.createElement("tr",{"aria-hidden":"true",className:"".concat(Me,"-measure-row"),style:{height:0,fontSize:0}},te.createElement(xn.Z.Collection,{onBatchResize:function(pt){pt.forEach(function(Et){var It=Et.data,Nt=Et.size;st(It,Nt.offsetWidth)})}},et.map(function(gt){return te.createElement(jt,{key:gt,columnKey:gt,onColumnResize:st})})))}function tn(Ie){var Me=Ie.data,et=Ie.measureColumnWidth,st=le(fe,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),gt=st.prefixCls,pt=st.getComponent,Et=st.onColumnResize,It=st.flattenColumns,Nt=st.getRowKey,$t=st.expandedKeys,Qt=st.childrenColumnName,Ht=st.emptyNode,mn=Mr(Me,Qt,$t,Nt),pn=te.useRef({renderWithProps:!1}),yn=pt(["body","wrapper"],"tbody"),Mn=pt(["body","row"],"tr"),An=pt(["body","cell"],"td"),Dn=pt(["body","cell"],"th"),Nn;Me.length?Nn=mn.map(function(Sr,xr){var fr=Sr.record,Jr=Sr.indent,zr=Sr.index,Xn=Nt(fr,xr);return te.createElement(ia,{key:Xn,rowKey:Xn,record:fr,index:xr,renderIndex:zr,rowComponent:Mn,cellComponent:An,scopeCellComponent:Dn,getRowKey:Nt,indent:Jr})}):Nn=te.createElement(La,{expanded:!0,className:"".concat(gt,"-placeholder"),prefixCls:gt,component:Mn,cellComponent:An,colSpan:It.length,isEmpty:!0},Ht);var Gn=Le(It);return te.createElement(ft.Provider,{value:pn.current},te.createElement(yn,{className:"".concat(gt,"-tbody")},et&&te.createElement(en,{prefixCls:gt,columnsKey:Gn,onColumnResize:Et}),Nn))}tn.displayName="Body";var sn=ee(tn),un=["expandable"],nn="RC_TABLE_INTERNAL_COL_DEFINE";function bn(Ie){var Me=Ie.expandable,et=(0,dt.Z)(Ie,un),st;return"expandable"in Ie?st=(0,Se.Z)((0,Se.Z)({},et),Me):st=et,st.showExpandColumn===!1&&(st.expandIconColumnIndex=-1),st}var Tt=["columnType"];function Ir(Ie){for(var Me=Ie.colWidths,et=Ie.columns,st=Ie.columCount,gt=[],pt=st||et.length,Et=!1,It=pt-1;It>=0;It-=1){var Nt=Me[It],$t=et&&et[It],Qt=$t&&$t[nn];if(Nt||Qt||Et){var Ht=Qt||{},mn=Ht.columnType,pn=(0,dt.Z)(Ht,Tt);gt.unshift(te.createElement("col",(0,ce.Z)({key:It,style:{width:Nt}},pn))),Et=!0}}return te.createElement("colgroup",null,gt)}var hr=Ir,er=Pe(74902),la=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function cn(Ie,Me){return(0,te.useMemo)(function(){for(var et=[],st=0;st<Me;st+=1){var gt=Ie[st];if(gt!==void 0)et[st]=gt;else return null}return et},[Ie.join("_"),Me])}var On=te.forwardRef(function(Ie,Me){var et=Ie.className,st=Ie.noData,gt=Ie.columns,pt=Ie.flattenColumns,Et=Ie.colWidths,It=Ie.columCount,Nt=Ie.stickyOffsets,$t=Ie.direction,Qt=Ie.fixHeader,Ht=Ie.stickyTopOffset,mn=Ie.stickyBottomOffset,pn=Ie.stickyClassName,yn=Ie.onScroll,Mn=Ie.maxContentScroll,An=Ie.children,Dn=(0,dt.Z)(Ie,la),Nn=le(fe,["prefixCls","scrollbarSize","isSticky"]),Gn=Nn.prefixCls,Sr=Nn.scrollbarSize,xr=Nn.isSticky,fr=xr&&!Qt?0:Sr,Jr=te.useRef(null),zr=te.useCallback(function(ra){Fn(Me,ra),Fn(Jr,ra)},[]);te.useEffect(function(){var ra;function Fr(ba){var Ta=ba,Wn=Ta.currentTarget,mr=Ta.deltaX;mr&&(yn({currentTarget:Wn,scrollLeft:Wn.scrollLeft+mr}),ba.preventDefault())}return(ra=Jr.current)===null||ra===void 0||ra.addEventListener("wheel",Fr),function(){var ba;(ba=Jr.current)===null||ba===void 0||ba.removeEventListener("wheel",Fr)}},[]);var Xn=te.useMemo(function(){return pt.every(function(ra){return ra.width})},[pt]),gr=pt[pt.length-1],qn={fixed:gr?gr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Gn,"-cell-scrollbar")}}},Bn=(0,te.useMemo)(function(){return fr?[].concat((0,er.Z)(gt),[qn]):gt},[fr,gt]),ur=(0,te.useMemo)(function(){return fr?[].concat((0,er.Z)(pt),[qn]):pt},[fr,pt]),kr=(0,te.useMemo)(function(){var ra=Nt.right,Fr=Nt.left;return(0,Se.Z)((0,Se.Z)({},Nt),{},{left:$t==="rtl"?[].concat((0,er.Z)(Fr.map(function(ba){return ba+fr})),[0]):Fr,right:$t==="rtl"?ra:[].concat((0,er.Z)(ra.map(function(ba){return ba+fr})),[0]),isSticky:xr})},[fr,Nt,xr]),va=cn(Et,It);return te.createElement("div",{style:(0,Se.Z)({overflow:"hidden"},xr?{top:Ht,bottom:mn}:{}),ref:zr,className:we()(et,(0,be.Z)({},pn,!!pn))},te.createElement("table",{style:{tableLayout:"fixed",visibility:st||va?null:"hidden"}},(!st||!Mn||Xn)&&te.createElement(hr,{colWidths:va?[].concat((0,er.Z)(va),[fr]):[],columCount:It+1,columns:ur}),An((0,Se.Z)((0,Se.Z)({},Dn),{},{stickyOffsets:kr,columns:Bn,flattenColumns:ur}))))});On.displayName="FixedHolder";var Er=te.memo(On);function Vn(Ie){var Me=Ie.cells,et=Ie.stickyOffsets,st=Ie.flattenColumns,gt=Ie.rowComponent,pt=Ie.cellComponent,Et=Ie.tdCellComponent,It=Ie.onHeaderRow,Nt=Ie.index,$t=le(fe,["prefixCls","direction"]),Qt=$t.prefixCls,Ht=$t.direction,mn;It&&(mn=It(Me.map(function(yn){return yn.column}),Nt));var pn=Le(Me.map(function(yn){return yn.column}));return te.createElement(gt,mn,Me.map(function(yn,Mn){var An=yn.column,Dn=Ne(yn.colStart,yn.colEnd,st,et,Ht,An),Nn;return An&&An.onHeaderCell&&(Nn=yn.column.onHeaderCell(An)),te.createElement(xe,(0,ce.Z)({},yn,{scope:An.title?yn.colSpan>1?"colgroup":"col":null,ellipsis:An.ellipsis,align:An.align,component:An.title?pt:Et,prefixCls:Qt,key:pn[Mn]},Dn,{additionalProps:Nn,rowType:"header"}))}))}Vn.displayName="HeaderRow";var Sa=Vn;function pa(Ie){var Me=[];function et(Et,It){var Nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Me[Nt]=Me[Nt]||[];var $t=It,Qt=Et.filter(Boolean).map(function(Ht){var mn={key:Ht.key,className:Ht.className||"",children:Ht.title,column:Ht,colStart:$t},pn=1,yn=Ht.children;return yn&&yn.length>0&&(pn=et(yn,$t,Nt+1).reduce(function(Mn,An){return Mn+An},0),mn.hasSubColumns=!0),"colSpan"in Ht&&(pn=Ht.colSpan),"rowSpan"in Ht&&(mn.rowSpan=Ht.rowSpan),mn.colSpan=pn,mn.colEnd=mn.colStart+pn-1,Me[Nt].push(mn),$t+=pn,pn});return Qt}et(Ie,0);for(var st=Me.length,gt=function(It){Me[It].forEach(function(Nt){!("rowSpan"in Nt)&&!Nt.hasSubColumns&&(Nt.rowSpan=st-It)})},pt=0;pt<st;pt+=1)gt(pt);return Me}function Ia(Ie){var Me=Ie.stickyOffsets,et=Ie.columns,st=Ie.flattenColumns,gt=Ie.onHeaderRow,pt=le(fe,["prefixCls","getComponent"]),Et=pt.prefixCls,It=pt.getComponent,Nt=te.useMemo(function(){return pa(et)},[et]),$t=It(["header","wrapper"],"thead"),Qt=It(["header","row"],"tr"),Ht=It(["header","cell"],"th"),mn=It(["header","cell"],"td");return te.createElement($t,{className:"".concat(Et,"-thead")},Nt.map(function(pn,yn){var Mn=te.createElement(Sa,{key:yn,flattenColumns:st,cells:pn,stickyOffsets:Me,rowComponent:Qt,cellComponent:Ht,tdCellComponent:mn,onHeaderRow:gt,index:yn});return Mn}))}var Ba=ee(Ia);function Ra(Ie){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},et=[];return te.Children.forEach(Ie,function(st){st==null&&!Me.keepEmpty||(Array.isArray(st)?et=et.concat(Ra(st)):(0,Tn.isFragment)(st)&&st.props?et=et.concat(Ra(st.props.children,Me)):et.push(st))}),et}function yt(Ie){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Me=="number"?Me:Me.endsWith("%")?Ie*parseFloat(Me)/100:null}function Pt(Ie,Me){return te.useMemo(function(){if(Me&&Me>0){var et=0,st=0;Ie.forEach(function($t){var Qt=yt(Me,$t.width);Qt?et+=Qt:st+=1});var gt=Me-et,pt=st,Et=gt/st,It=0,Nt=Ie.map(function($t){var Qt=(0,Se.Z)({},$t),Ht=yt(Me,Qt.width);if(Ht)Qt.width=Ht;else{var mn=Math.floor(Et);Qt.width=pt===1?gt:mn,gt-=mn,pt-=1}return It+=Qt.width,Qt});return[Nt,It]}return[Ie,Me]},[Ie,Me])}var Gt=["children"],ln=["fixed"];function wn(Ie){return Ra(Ie).filter(function(Me){return te.isValidElement(Me)}).map(function(Me){var et=Me.key,st=Me.props,gt=st.children,pt=(0,dt.Z)(st,Gt),Et=(0,Se.Z)({key:et},pt);return gt&&(Et.children=wn(gt)),Et})}function Yn(Ie){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ie.filter(function(et){return et&&(0,pe.Z)(et)==="object"}).reduce(function(et,st,gt){var pt=st.fixed,Et=pt===!0?"left":pt,It="".concat(Me,"-").concat(gt),Nt=st.children;return Nt&&Nt.length>0?[].concat((0,er.Z)(et),(0,er.Z)(Yn(Nt,It).map(function($t){return(0,Se.Z)({fixed:Et},$t)}))):[].concat((0,er.Z)(et),[(0,Se.Z)((0,Se.Z)({key:It},st),{},{fixed:Et})])},[])}function cr(Ie){for(var Me=!0,et=0;et<Ie.length;et+=1){var st=Ie[et];if(Me&&st.fixed!=="left")Me=!1;else if(!Me&&st.fixed==="left"){warning(!1,"Index ".concat(et-1," of `columns` missing `fixed='left'` prop."));break}}for(var gt=!0,pt=Ie.length-1;pt>=0;pt-=1){var Et=Ie[pt];if(gt&&Et.fixed!=="right")gt=!1;else if(!gt&&Et.fixed==="right"){warning(!1,"Index ".concat(pt+1," of `columns` missing `fixed='right'` prop."));break}}}function vr(Ie){return Ie.map(function(Me){var et=Me.fixed,st=(0,dt.Z)(Me,ln),gt=et;return et==="left"?gt="right":et==="right"&&(gt="left"),(0,Se.Z)({fixed:gt},st)})}function Gr(Ie,Me){var et=Ie.prefixCls,st=Ie.columns,gt=Ie.children,pt=Ie.expandable,Et=Ie.expandedKeys,It=Ie.columnTitle,Nt=Ie.getRowKey,$t=Ie.onTriggerExpand,Qt=Ie.expandIcon,Ht=Ie.rowExpandable,mn=Ie.expandIconColumnIndex,pn=Ie.direction,yn=Ie.expandRowByClick,Mn=Ie.columnWidth,An=Ie.fixed,Dn=Ie.scrollWidth,Nn=te.useMemo(function(){return st||wn(gt)},[st,gt]),Gn=te.useMemo(function(){if(pt){var gr,qn=Nn.slice();if(!qn.includes(Te)){var Bn=mn||0;Bn>=0&&qn.splice(Bn,0,Te)}var ur=qn.indexOf(Te);qn=qn.filter(function(Fr,ba){return Fr!==Te||ba===ur});var kr=Nn[ur],va;(An==="left"||An)&&!mn?va="left":(An==="right"||An)&&mn===Nn.length?va="right":va=kr?kr.fixed:null;var ra=(gr={},(0,be.Z)(gr,nn,{className:"".concat(et,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,be.Z)(gr,"title",It),(0,be.Z)(gr,"fixed",va),(0,be.Z)(gr,"className","".concat(et,"-row-expand-icon-cell")),(0,be.Z)(gr,"width",Mn),(0,be.Z)(gr,"render",function(ba,Ta,Wn){var mr=Nt(Ta,Wn),xa=Et.has(mr),Aa=Ht?Ht(Ta):!0,Pr=Qt({prefixCls:et,expanded:xa,expandable:Aa,record:Ta,onExpand:$t});return yn?te.createElement("span",{onClick:function($a){return $a.stopPropagation()}},Pr):Pr}),gr);return qn.map(function(Fr){return Fr===Te?ra:Fr})}return Nn.filter(function(Fr){return Fr!==Te})},[pt,Nn,Nt,Et,Qt,pn]),Sr=te.useMemo(function(){var gr=Gn;return Me&&(gr=Me(gr)),gr.length||(gr=[{render:function(){return null}}]),gr},[Me,Gn,pn]),xr=te.useMemo(function(){return pn==="rtl"?vr(Yn(Sr)):Yn(Sr)},[Sr,pn,Dn]),fr=Pt(xr,Dn),Jr=(0,E.Z)(fr,2),zr=Jr[0],Xn=Jr[1];return[Sr,zr,Xn]}var ta=Gr;function qr(Ie){var Me,et=Ie.prefixCls,st=Ie.record,gt=Ie.onExpand,pt=Ie.expanded,Et=Ie.expandable,It="".concat(et,"-row-expand-icon");if(!Et)return te.createElement("span",{className:we()(It,"".concat(et,"-row-spaced"))});var Nt=function(Qt){gt(st,Qt),Qt.stopPropagation()};return te.createElement("span",{className:we()(It,(Me={},(0,be.Z)(Me,"".concat(et,"-row-expanded"),pt),(0,be.Z)(Me,"".concat(et,"-row-collapsed"),!pt),Me)),onClick:Nt})}function Yr(Ie,Me,et){var st=[];function gt(pt){(pt||[]).forEach(function(Et,It){st.push(Me(Et,It)),gt(Et[et])})}return gt(Ie),st}function Fa(Ie,Me,et){var st=bn(Ie),gt=st.expandIcon,pt=st.expandedRowKeys,Et=st.defaultExpandedRowKeys,It=st.defaultExpandAllRows,Nt=st.expandedRowRender,$t=st.onExpand,Qt=st.onExpandedRowsChange,Ht=st.childrenColumnName,mn=gt||qr,pn=Ht||"children",yn=te.useMemo(function(){return Nt?"row":Ie.expandable&&Ie.internalHooks===He&&Ie.expandable.__PARENT_RENDER_ICON__||Me.some(function(xr){return xr&&(0,pe.Z)(xr)==="object"&&xr[pn]})?"nest":!1},[!!Nt,Me]),Mn=te.useState(function(){return Et||(It?Yr(Me,et,pn):[])}),An=(0,E.Z)(Mn,2),Dn=An[0],Nn=An[1],Gn=te.useMemo(function(){return new Set(pt||Dn||[])},[pt,Dn]),Sr=te.useCallback(function(xr){var fr=et(xr,Me.indexOf(xr)),Jr,zr=Gn.has(fr);zr?(Gn.delete(fr),Jr=(0,er.Z)(Gn)):Jr=[].concat((0,er.Z)(Gn),[fr]),Nn(Jr),$t&&$t(!zr,xr),Qt&&Qt(Jr)},[et,Gn,Me,$t,Qt]);return[st,yn,Gn,mn,pn,Sr]}function Ha(Ie,Me,et,st){var gt=Ie.map(function(pt,Et){return Ne(Et,Et,Ie,Me,et,st==null?void 0:st[Et])});return Oe(function(){return gt},[gt],function(pt,Et){return!Be(pt,Et)})}function Ln(Ie){var Me=(0,te.useRef)(Ie),et=(0,te.useState)({}),st=(0,E.Z)(et,2),gt=st[1],pt=(0,te.useRef)(null),Et=(0,te.useRef)([]);function It(Nt){Et.current.push(Nt);var $t=Promise.resolve();pt.current=$t,$t.then(function(){if(pt.current===$t){var Qt=Et.current,Ht=Me.current;Et.current=[],Qt.forEach(function(mn){Me.current=mn(Me.current)}),pt.current=null,Ht!==Me.current&>({})}})}return(0,te.useEffect)(function(){return function(){pt.current=null}},[]),[Me.current,It]}function or(Ie){var Me=(0,te.useRef)(Ie||null),et=(0,te.useRef)();function st(){window.clearTimeout(et.current)}function gt(Et){Me.current=Et,st(),et.current=window.setTimeout(function(){Me.current=null,et.current=void 0},100)}function pt(){return Me.current}return(0,te.useEffect)(function(){return st},[]),[gt,pt]}function Rr(){var Ie=te.useState(-1),Me=(0,E.Z)(Ie,2),et=Me[0],st=Me[1],gt=te.useState(-1),pt=(0,E.Z)(gt,2),Et=pt[0],It=pt[1],Nt=te.useCallback(function($t,Qt){st($t),It(Qt)},[]);return[et,Et,Nt]}var $r=mt()?window:null;function Hn(Ie,Me){var et=(0,pe.Z)(Ie)==="object"?Ie:{},st=et.offsetHeader,gt=st===void 0?0:st,pt=et.offsetSummary,Et=pt===void 0?0:pt,It=et.offsetScroll,Nt=It===void 0?0:It,$t=et.getContainer,Qt=$t===void 0?function(){return $r}:$t,Ht=Qt()||$r;return te.useMemo(function(){var mn=!!Ie;return{isSticky:mn,stickyClassName:mn?"".concat(Me,"-sticky-holder"):"",offsetHeader:gt,offsetSummary:Et,offsetScroll:Nt,container:Ht}},[Nt,gt,Et,Me,Ht])}function wt(Ie,Me,et){var st=(0,te.useMemo)(function(){for(var gt=[],pt=[],Et=0,It=0,Nt=0;Nt<Me;Nt+=1)if(et==="rtl"){pt[Nt]=It,It+=Ie[Nt]||0;var $t=Me-Nt-1;gt[$t]=Et,Et+=Ie[$t]||0}else{gt[Nt]=Et,Et+=Ie[Nt]||0;var Qt=Me-Nt-1;pt[Qt]=It,It+=Ie[Qt]||0}return{left:gt,right:pt}},[Ie,Me,et]);return st}var Bt=wt;function zt(Ie){var Me=Ie.className,et=Ie.children;return te.createElement("div",{className:Me},et)}var ct=zt;function Xt(Ie,Me,et,st){var gt=ue.unstable_batchedUpdates?function(Et){ue.unstable_batchedUpdates(et,Et)}:et;return Ie!=null&&Ie.addEventListener&&Ie.addEventListener(Me,gt,st),{remove:function(){Ie!=null&&Ie.removeEventListener&&Ie.removeEventListener(Me,gt,st)}}}var vn=/margin|padding|width|height|max|min|offset/,dn={left:!0,top:!0},_t={cssFloat:1,styleFloat:1,float:1};function Vt(Ie){return Ie.nodeType===1?Ie.ownerDocument.defaultView.getComputedStyle(Ie,null):{}}function Kt(Ie,Me,et){if(Me=Me.toLowerCase(),et==="auto"){if(Me==="height")return Ie.offsetHeight;if(Me==="width")return Ie.offsetWidth}return Me in dn||(dn[Me]=vn.test(Me)),dn[Me]?parseFloat(et)||0:et}function Yt(Ie,Me){var et=arguments.length,st=Vt(Ie);return Me=_t[Me]?"cssFloat"in Ie.style?"cssFloat":"styleFloat":Me,et===1?st:Kt(Ie,Me,st[Me]||Ie.style[Me])}function Zt(Ie,Me,et){var st=arguments.length;if(Me=_t[Me]?"cssFloat"in Ie.style?"cssFloat":"styleFloat":Me,st===3)return typeof et=="number"&&vn.test(Me)&&(et="".concat(et,"px")),Ie.style[Me]=et,et;for(var gt in Me)Me.hasOwnProperty(gt)&&Zt(Ie,gt,Me[gt]);return Vt(Ie)}function rn(Ie){return Ie===document.body?document.documentElement.clientWidth:Ie.offsetWidth}function on(Ie){return Ie===document.body?window.innerHeight||document.documentElement.clientHeight:Ie.offsetHeight}function In(){var Ie=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Me=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Ie,height:Me}}function Un(){var Ie=document.documentElement.clientWidth,Me=window.innerHeight||document.documentElement.clientHeight;return{width:Ie,height:Me}}function dr(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function En(Ie){var Me=Ie.getBoundingClientRect(),et=document.documentElement;return{left:Me.left+(window.pageXOffset||et.scrollLeft)-(et.clientLeft||document.body.clientLeft||0),top:Me.top+(window.pageYOffset||et.scrollTop)-(et.clientTop||document.body.clientTop||0)}}var Jn=function(Me,et){var st,gt,pt=Me.scrollBodyRef,Et=Me.onScroll,It=Me.offsetScroll,Nt=Me.container,$t=le(fe,"prefixCls"),Qt=((st=pt.current)===null||st===void 0?void 0:st.scrollWidth)||0,Ht=((gt=pt.current)===null||gt===void 0?void 0:gt.clientWidth)||0,mn=Qt&&Ht*(Ht/Qt),pn=te.useRef(),yn=Ln({scrollLeft:0,isHiddenScrollBar:!1}),Mn=(0,E.Z)(yn,2),An=Mn[0],Dn=Mn[1],Nn=te.useRef({delta:0,x:0}),Gn=te.useState(!1),Sr=(0,E.Z)(Gn,2),xr=Sr[0],fr=Sr[1],Jr=function(){fr(!1)},zr=function(ur){ur.persist(),Nn.current.delta=ur.pageX-An.scrollLeft,Nn.current.x=0,fr(!0),ur.preventDefault()},Xn=function(ur){var kr,va=ur||((kr=window)===null||kr===void 0?void 0:kr.event),ra=va.buttons;if(!xr||ra===0){xr&&fr(!1);return}var Fr=Nn.current.x+ur.pageX-Nn.current.x-Nn.current.delta;Fr<=0&&(Fr=0),Fr+mn>=Ht&&(Fr=Ht-mn),Et({scrollLeft:Fr/Ht*(Qt+2)}),Nn.current.x=ur.pageX},gr=function(){if(pt.current){var ur=En(pt.current).top,kr=ur+pt.current.offsetHeight,va=Nt===window?document.documentElement.scrollTop+window.innerHeight:En(Nt).top+Nt.clientHeight;kr-Mt()<=va||ur>=va-It?Dn(function(ra){return(0,Se.Z)((0,Se.Z)({},ra),{},{isHiddenScrollBar:!0})}):Dn(function(ra){return(0,Se.Z)((0,Se.Z)({},ra),{},{isHiddenScrollBar:!1})})}},qn=function(ur){Dn(function(kr){return(0,Se.Z)((0,Se.Z)({},kr),{},{scrollLeft:ur/Qt*Ht||0})})};return te.useImperativeHandle(et,function(){return{setScrollLeft:qn}}),te.useEffect(function(){var Bn=Xt(document.body,"mouseup",Jr,!1),ur=Xt(document.body,"mousemove",Xn,!1);return gr(),function(){Bn.remove(),ur.remove()}},[mn,xr]),te.useEffect(function(){var Bn=Xt(Nt,"scroll",gr,!1),ur=Xt(window,"resize",gr,!1);return function(){Bn.remove(),ur.remove()}},[Nt]),te.useEffect(function(){An.isHiddenScrollBar||Dn(function(Bn){var ur=pt.current;return ur?(0,Se.Z)((0,Se.Z)({},Bn),{},{scrollLeft:ur.scrollLeft/ur.scrollWidth*ur.clientWidth}):Bn})},[An.isHiddenScrollBar]),Qt<=Ht||!mn||An.isHiddenScrollBar?null:te.createElement("div",{style:{height:Mt(),width:Ht,bottom:It},className:"".concat($t,"-sticky-scroll")},te.createElement("div",{onMouseDown:zr,ref:pn,className:we()("".concat($t,"-sticky-scroll-bar"),(0,be.Z)({},"".concat($t,"-sticky-scroll-bar-active"),xr)),style:{width:"".concat(mn,"px"),transform:"translate3d(".concat(An.scrollLeft,"px, 0, 0)")}}))},tr=te.forwardRef(Jn);function ir(Ie){return null}var br=ir;function Zr(Ie){return null}var Pa=Zr,ea="rc-table",Qn=[],nr={};function Zn(){return"No Data"}function kn(Ie){var Me,et=(0,Se.Z)({rowKey:"key",prefixCls:ea,emptyText:Zn},Ie),st=et.prefixCls,gt=et.className,pt=et.rowClassName,Et=et.style,It=et.data,Nt=et.rowKey,$t=et.scroll,Qt=et.tableLayout,Ht=et.direction,mn=et.title,pn=et.footer,yn=et.summary,Mn=et.caption,An=et.id,Dn=et.showHeader,Nn=et.components,Gn=et.emptyText,Sr=et.onRow,xr=et.onHeaderRow,fr=et.internalHooks,Jr=et.transformColumns,zr=et.internalRefs,Xn=et.tailor,gr=et.sticky,qn=It||Qn,Bn=!!qn.length,ur=fr===He,kr=te.useCallback(function(ro,bo){return tt(Nn,ro)||bo},[Nn]),va=te.useMemo(function(){return typeof Nt=="function"?Nt:function(ro){var bo=ro&&ro[Nt];return bo}},[Nt]),ra=kr(["body"]),Fr=Rr(),ba=(0,E.Z)(Fr,3),Ta=ba[0],Wn=ba[1],mr=ba[2],xa=Fa(et,qn,va),Aa=(0,E.Z)(xa,6),Pr=Aa[0],So=Aa[1],$a=Aa[2],po=Aa[3],oo=Aa[4],mi=Aa[5],Qr=$t==null?void 0:$t.x,Wr=te.useState(0),Kr=(0,E.Z)(Wr,2),jr=Kr[0],Va=Kr[1],Ar=ta((0,Se.Z)((0,Se.Z)((0,Se.Z)({},et),Pr),{},{expandable:!!Pr.expandedRowRender,columnTitle:Pr.columnTitle,expandedKeys:$a,getRowKey:va,onTriggerExpand:mi,expandIcon:po,expandIconColumnIndex:Pr.expandIconColumnIndex,direction:Ht,scrollWidth:ur&&Xn&&typeof Qr=="number"?Qr:null}),ur?Jr:null),ca=(0,E.Z)(Ar,3),Ka=ca[0],Ua=ca[1],ei=ca[2],Ho=ei!=null?ei:Qr,Wi=te.useMemo(function(){return{columns:Ka,flattenColumns:Ua}},[Ka,Ua]),Bo=te.useRef(),Mi=te.useRef(),ko=te.useRef(),pi=te.useRef(),Is=te.useRef(),qa=te.useState(!1),no=(0,E.Z)(qa,2),Eo=no[0],$o=no[1],Uo=te.useState(!1),Ma=(0,E.Z)(Uo,2),li=Ma[0],ti=Ma[1],xi=Ln(new Map),es=(0,E.Z)(xi,2),Hi=es[0],nl=es[1],gs=Le(Ua),Di=gs.map(function(ro){return Hi.get(ro)}),hi=te.useMemo(function(){return Di},[Di.join("_")]),ui=Bt(hi,Ua.length,Ht),Go=$t&&Ke($t.y),xo=$t&&Ke(Ho)||!!Pr.fixed,ts=xo&&Ua.some(function(ro){var bo=ro.fixed;return bo}),Rs=te.useRef(),ws=Hn(gr,st),ns=ws.isSticky,ll=ws.offsetHeader,El=ws.offsetSummary,Za=ws.offsetScroll,ho=ws.stickyClassName,Yo=ws.container,Co=te.useMemo(function(){return yn==null?void 0:yn(qn)},[yn,qn]),ni=(Go||ns)&&te.isValidElement(Co)&&Co.type===lt&&Co.props.fixed,vi,yi,ms;Go&&(yi={overflowY:"scroll",maxHeight:$t.y}),xo&&(vi={overflowX:"auto"},Go||(yi={overflowY:"hidden"}),ms={width:Ho===!0?"auto":Ho,minWidth:"100%"});var Il=te.useCallback(function(ro,bo){Rn(Bo.current)&&nl(function(Bi){if(Bi.get(ro)!==bo){var Es=new Map(Bi);return Es.set(ro,bo),Es}return Bi})},[]),Yl=or(null),Rl=(0,E.Z)(Yl,2),Jl=Rl[0],Fl=Rl[1];function ul(ro,bo){bo&&(typeof bo=="function"?bo(ro):bo.scrollLeft!==ro&&(bo.scrollLeft=ro,bo.scrollLeft!==ro&&setTimeout(function(){bo.scrollLeft=ro},0)))}var Hs=_e(function(ro){var bo=ro.currentTarget,Bi=ro.scrollLeft,Es=Ht==="rtl",xs=typeof Bi=="number"?Bi:bo.scrollLeft,Xl=bo||nr;if(!Fl()||Fl()===Xl){var Ll;Jl(Xl),ul(xs,Mi.current),ul(xs,ko.current),ul(xs,Is.current),ul(xs,(Ll=Rs.current)===null||Ll===void 0?void 0:Ll.setScrollLeft)}var jl=bo||Mi.current;if(jl){var Al=jl.scrollWidth,Nl=jl.clientWidth;if(Al===Nl){$o(!1),ti(!1);return}Es?($o(-xs<Al-Nl),ti(-xs>0)):($o(xs>0),ti(xs<Al-Nl))}}),Ml=function(){xo&&ko.current?Hs({currentTarget:ko.current}):($o(!1),ti(!1))},Ql=function(bo){var Bi=bo.width;Bi!==jr&&(Ml(),Va(Bo.current?Bo.current.offsetWidth:Bi))},Dl=te.useRef(!1);te.useEffect(function(){Dl.current&&Ml()},[xo,It,Ka.length]),te.useEffect(function(){Dl.current=!0},[]);var ql=te.useState(0),Bl=(0,E.Z)(ql,2),cl=Bl[0],kl=Bl[1],eu=te.useState(!0),_l=(0,E.Z)(eu,2),$l=_l[0],tu=_l[1];te.useEffect(function(){(!Xn||!ur)&&(ko.current instanceof Element?kl(Pn(ko.current).width):kl(Pn(pi.current).width)),tu(_n("position","sticky"))},[]),te.useEffect(function(){ur&&zr&&(zr.body.current=ko.current)});var nu=te.useCallback(function(ro){return te.createElement(te.Fragment,null,te.createElement(Ba,ro),ni==="top"&&te.createElement(Dt,ro,Co))},[ni,Co]),ru=te.useCallback(function(ro){return te.createElement(Dt,ro,Co)},[Co]),Ul=kr(["table"],"table"),dl=te.useMemo(function(){return Qt||(ts?Ho==="max-content"?"auto":"fixed":Go||ns||Ua.some(function(ro){var bo=ro.ellipsis;return bo})?"fixed":"auto")},[Go,ts,Ua,Qt,ns]),xl,Cl={colWidths:hi,columCount:Ua.length,stickyOffsets:ui,onHeaderRow:xr,fixHeader:Go,scroll:$t},Gl=te.useMemo(function(){return Bn?null:typeof Gn=="function"?Gn():Gn},[Bn,Gn]),zl=te.createElement(sn,{data:qn,measureColumnWidth:Go||xo||ns}),Kl=te.createElement(hr,{colWidths:Ua.map(function(ro){var bo=ro.width;return bo}),columns:Ua}),Zl=Mn!=null?te.createElement("caption",{className:"".concat(st,"-caption")},Mn):void 0,au=sa(et,{data:!0}),Wl=sa(et,{aria:!0});if(Go||ns){var Tl;typeof ra=="function"?(Tl=ra(qn,{scrollbarSize:cl,ref:ko,onScroll:Hs}),Cl.colWidths=Ua.map(function(ro,bo){var Bi=ro.width,Es=bo===Ua.length-1?Bi-cl:Bi;return typeof Es=="number"&&!Number.isNaN(Es)?Es:0})):Tl=te.createElement("div",{style:(0,Se.Z)((0,Se.Z)({},vi),yi),onScroll:Hs,ref:ko,className:we()("".concat(st,"-body"))},te.createElement(Ul,(0,ce.Z)({style:(0,Se.Z)((0,Se.Z)({},ms),{},{tableLayout:dl})},Wl),Zl,Kl,zl,!ni&&Co&&te.createElement(Dt,{stickyOffsets:ui,flattenColumns:Ua,columns:Ka},Co)));var Hl=(0,Se.Z)((0,Se.Z)((0,Se.Z)({noData:!qn.length,maxContentScroll:xo&&Ho==="max-content"},Cl),Wi),{},{direction:Ht,stickyClassName:ho,onScroll:Hs});xl=te.createElement(te.Fragment,null,Dn!==!1&&te.createElement(Er,(0,ce.Z)({},Hl,{stickyTopOffset:ll,className:"".concat(st,"-header"),ref:Mi}),nu),Tl,ni&&ni!=="top"&&te.createElement(Er,(0,ce.Z)({},Hl,{stickyBottomOffset:El,className:"".concat(st,"-summary"),ref:Is}),ru),ns&&te.createElement(tr,{ref:Rs,offsetScroll:Za,scrollBodyRef:ko,onScroll:Hs,container:Yo}))}else xl=te.createElement("div",{style:(0,Se.Z)((0,Se.Z)({},vi),yi),className:we()("".concat(st,"-content")),onScroll:Hs,ref:ko},te.createElement(Ul,(0,ce.Z)({style:(0,Se.Z)((0,Se.Z)({},ms),{},{tableLayout:dl})},Wl),Zl,Kl,Dn!==!1&&te.createElement(Ba,(0,ce.Z)({},Cl,Wi)),zl,Co&&te.createElement(Dt,{stickyOffsets:ui,flattenColumns:Ua,columns:Ka},Co)));var Ol=te.createElement("div",(0,ce.Z)({className:we()(st,gt,(Me={},(0,be.Z)(Me,"".concat(st,"-rtl"),Ht==="rtl"),(0,be.Z)(Me,"".concat(st,"-ping-left"),Eo),(0,be.Z)(Me,"".concat(st,"-ping-right"),li),(0,be.Z)(Me,"".concat(st,"-layout-fixed"),Qt==="fixed"),(0,be.Z)(Me,"".concat(st,"-fixed-header"),Go),(0,be.Z)(Me,"".concat(st,"-fixed-column"),ts),(0,be.Z)(Me,"".concat(st,"-scroll-horizontal"),xo),(0,be.Z)(Me,"".concat(st,"-has-fix-left"),Ua[0]&&Ua[0].fixed),(0,be.Z)(Me,"".concat(st,"-has-fix-right"),Ua[Ua.length-1]&&Ua[Ua.length-1].fixed==="right"),Me)),style:Et,id:An,ref:Bo},au),mn&&te.createElement(ct,{className:"".concat(st,"-title")},mn(qn)),te.createElement("div",{ref:pi,className:"".concat(st,"-container")},xl),pn&&te.createElement(ct,{className:"".concat(st,"-footer")},pn(qn)));xo&&(Ol=te.createElement(xn.Z,{onResize:Ql},Ol));var Vl=Ha(Ua,ui,Ht,Ka),ou=te.useMemo(function(){return{scrollX:Ho,prefixCls:st,getComponent:kr,scrollbarSize:cl,direction:Ht,fixedInfoList:Vl,isSticky:ns,supportSticky:$l,componentWidth:jr,fixHeader:Go,fixColumn:ts,horizonScroll:xo,tableLayout:dl,rowClassName:pt,expandedRowClassName:Pr.expandedRowClassName,expandIcon:po,expandableType:So,expandRowByClick:Pr.expandRowByClick,expandedRowRender:Pr.expandedRowRender,onTriggerExpand:mi,expandIconColumnIndex:Pr.expandIconColumnIndex,indentSize:Pr.indentSize,allColumnsFixedLeft:Ua.every(function(ro){return ro.fixed==="left"}),emptyNode:Gl,columns:Ka,flattenColumns:Ua,onColumnResize:Il,hoverStartRow:Ta,hoverEndRow:Wn,onHover:mr,rowExpandable:Pr.rowExpandable,onRow:Sr,getRowKey:va,expandedKeys:$a,childrenColumnName:oo}},[Ho,st,kr,cl,Ht,Vl,ns,$l,jr,Go,ts,xo,dl,pt,Pr.expandedRowClassName,po,So,Pr.expandRowByClick,Pr.expandedRowRender,mi,Pr.expandIconColumnIndex,Pr.indentSize,Gl,Ka,Ua,Il,Ta,Wn,mr,Pr.rowExpandable,Sr,va,$a,oo]);return te.createElement(fe.Provider,{value:ou},Ol)}function wr(Ie){return z(kn,Ie)}var ua=wr();ua.EXPAND_COLUMN=Te,ua.INTERNAL_HOOKS=He,ua.Column=br,ua.ColumnGroup=Pa,ua.Summary=rt;var wa=ua,Xa=Pe(73299),Oa=de(null),ao=de(null);function To(Ie,Me,et){var st=Me||1;return et[Ie+st]-(et[Ie]||0)}function Vo(Ie){var Me=Ie.rowInfo,et=Ie.column,st=Ie.colIndex,gt=Ie.indent,pt=Ie.index,Et=Ie.renderIndex,It=Ie.record,Nt=Ie.style,$t=Ie.className,Qt=Ie.inverse,Ht=Ie.getHeight,mn=et.render,pn=et.dataIndex,yn=et.className,Mn=et.width,An=le(ao,["columnsOffset"]),Dn=An.columnsOffset,Nn=Ca(Me,et,st,gt,pt),Gn=Nn.key,Sr=Nn.fixedInfo,xr=Nn.appendCellNode,fr=Nn.additionalCellProps,Jr=fr.style,zr=fr.colSpan,Xn=zr===void 0?1:zr,gr=fr.rowSpan,qn=gr===void 0?1:gr,Bn=st-1,ur=To(Bn,Xn,Dn),kr=Xn>1?Mn-ur:0,va=(0,Se.Z)((0,Se.Z)((0,Se.Z)({},Jr),Nt),{},{flex:"0 0 ".concat(ur,"px"),width:"".concat(ur,"px"),marginRight:kr,pointerEvents:"auto"}),ra=te.useMemo(function(){return Qt?qn<=1:Xn===0||qn===0||qn>1},[qn,Xn,Qt]);ra?va.visibility="hidden":Qt&&(va.height=Ht==null?void 0:Ht(qn));var Fr=ra?function(){return null}:mn,ba={};return(qn===0||Xn===0)&&(ba.rowSpan=1,ba.colSpan=1),te.createElement(xe,(0,ce.Z)({className:we()(yn,$t),ellipsis:et.ellipsis,align:et.align,scope:et.rowScope,component:"div",prefixCls:Me.prefixCls,key:Gn,record:It,index:pt,renderIndex:Et,dataIndex:pn,render:Fr,shouldCellUpdate:et.shouldCellUpdate},Sr,{appendNode:xr,additionalProps:(0,Se.Z)((0,Se.Z)({},fr),{},{style:va},ba)}))}var Ya=Vo,Oo=["data","index","className","rowKey","style","extra","getHeight"],Ko=te.forwardRef(function(Ie,Me){var et=Ie.data,st=Ie.index,gt=Ie.className,pt=Ie.rowKey,Et=Ie.style,It=Ie.extra,Nt=Ie.getHeight,$t=(0,dt.Z)(Ie,Oo),Qt=et.record,Ht=et.indent,mn=et.index,pn=le(fe,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),yn=pn.scrollX,Mn=pn.flattenColumns,An=pn.prefixCls,Dn=pn.fixColumn,Nn=pn.componentWidth,Gn=Na(Qt,pt,st,Ht),Sr=Gn.rowSupportExpand,xr=Gn.expanded,fr=Gn.rowProps,Jr=Gn.expandedRowRender,zr=Gn.expandedRowClassName,Xn;if(Sr&&xr){var gr=Jr(Qt,st,Ht+1,xr),qn=zr==null?void 0:zr(Qt,st,Ht),Bn={};Dn&&(Bn={style:(0,be.Z)({},"--virtual-width","".concat(Nn,"px"))});var ur="".concat(An,"-expanded-row-cell");Xn=te.createElement("div",{className:we()("".concat(An,"-expanded-row"),"".concat(An,"-expanded-row-level-").concat(Ht+1),qn)},te.createElement(xe,{component:"div",prefixCls:An,className:we()(ur,(0,be.Z)({},"".concat(ur,"-fixed"),Dn)),additionalProps:Bn},gr))}var kr=(0,Se.Z)((0,Se.Z)({},Et),{},{width:yn});It&&(kr.position="absolute",kr.pointerEvents="none");var va=te.createElement("div",(0,ce.Z)({},fr,$t,{ref:Sr?null:Me,className:we()(gt,"".concat(An,"-row"),fr==null?void 0:fr.className,(0,be.Z)({},"".concat(An,"-row-extra"),It)),style:(0,Se.Z)((0,Se.Z)({},kr),fr==null?void 0:fr.style)}),Mn.map(function(ra,Fr){return te.createElement(Ya,{key:Fr,rowInfo:Gn,column:ra,colIndex:Fr,indent:Ht,index:st,renderIndex:mn,record:Qt,inverse:It,getHeight:Nt})}));return Sr?te.createElement("div",{ref:Me},va,Xn):va}),zo=ee(Ko),ri=zo,Ni=te.forwardRef(function(Ie,Me){var et=Ie.data,st=Ie.onScroll,gt=le(fe,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),pt=gt.flattenColumns,Et=gt.onColumnResize,It=gt.getRowKey,Nt=gt.expandedKeys,$t=gt.prefixCls,Qt=gt.childrenColumnName,Ht=gt.emptyNode,mn=gt.scrollX,pn=le(Oa),yn=pn.scrollY,Mn=pn.listItemHeight,An=te.useRef(),Dn=Mr(et,Qt,Nt,It),Nn=te.useMemo(function(){var Xn=0;return pt.map(function(gr){var qn=gr.width,Bn=gr.key;return Xn+=qn,[Bn,qn,Xn]})},[pt]),Gn=te.useMemo(function(){return Nn.map(function(Xn){return Xn[2]})},[Nn]);te.useEffect(function(){Nn.forEach(function(Xn){var gr=(0,E.Z)(Xn,2),qn=gr[0],Bn=gr[1];Et(qn,Bn)})},[Nn]),te.useImperativeHandle(Me,function(){var Xn={};return Object.defineProperty(Xn,"scrollLeft",{get:function(){var qn;return((qn=An.current)===null||qn===void 0?void 0:qn.getScrollInfo().x)||0},set:function(qn){var Bn;(Bn=An.current)===null||Bn===void 0||Bn.scrollTo({left:qn})}}),Xn});var Sr=function(gr,qn){var Bn,ur=(Bn=Dn[qn])===null||Bn===void 0?void 0:Bn.record,kr=gr.onCell;if(kr){var va,ra=kr(ur,qn);return(va=ra==null?void 0:ra.rowSpan)!==null&&va!==void 0?va:1}return 1},xr=function(gr){var qn=gr.start,Bn=gr.end,ur=gr.getSize,kr=gr.offsetY;if(Bn<0)return null;for(var va=pt.filter(function(Qr){return Sr(Qr,qn)===0}),ra=qn,Fr=function(Wr){if(va=va.filter(function(Kr){return Sr(Kr,Wr)===0}),!va.length)return ra=Wr,"break"},ba=qn;ba>=0;ba-=1){var Ta=Fr(ba);if(Ta==="break")break}for(var Wn=pt.filter(function(Qr){return Sr(Qr,Bn)!==1}),mr=Bn,xa=function(Wr){if(Wn=Wn.filter(function(Kr){return Sr(Kr,Wr)!==1}),!Wn.length)return mr=Math.max(Wr-1,Bn),"break"},Aa=Bn;Aa<Dn.length;Aa+=1){var Pr=xa(Aa);if(Pr==="break")break}for(var So=[],$a=function(Wr){var Kr=Dn[Wr];if(!Kr)return"continue";pt.some(function(jr){return Sr(jr,Wr)>1})&&So.push(Wr)},po=ra;po<=mr;po+=1)var oo=$a(po);var mi=So.map(function(Qr){var Wr=Dn[Qr],Kr=It(Wr.record,Qr),jr=function(ca){var Ka=Qr+ca-1,Ua=It(Dn[Ka].record,Ka),ei=ur(Kr,Ua);return ei.bottom-ei.top},Va=ur(Kr);return te.createElement(ri,{key:Qr,data:Wr,rowKey:Kr,index:Qr,style:{top:-kr+Va.top},extra:!0,getHeight:jr})});return mi},fr=te.useMemo(function(){return{columnsOffset:Gn}},[Gn]),Jr="".concat($t,"-tbody"),zr;return Dn.length?zr=te.createElement(Xa.Z,{fullHeight:!1,ref:An,className:we()(Jr,"".concat(Jr,"-virtual")),height:yn,itemHeight:Mn||24,data:Dn,itemKey:function(gr){return It(gr.record)},scrollWidth:mn,onVirtualScroll:function(gr){var qn=gr.x;st({scrollLeft:qn})},extraRender:xr},function(Xn,gr,qn){var Bn=It(Xn.record,gr);return te.createElement(ri,(0,ce.Z)({data:Xn,rowKey:Bn,index:gr},qn))}):zr=te.createElement("div",{className:we()("".concat($t,"-placeholder"))},te.createElement(xe,{component:"div",prefixCls:$t},Ht)),te.createElement(ao.Provider,{value:fr},zr)}),ki=ee(Ni),rs=ki,ai=function(Me,et){var st=et.ref,gt=et.onScroll;return te.createElement(rs,{ref:st,data:Me,onScroll:gt})},as=100;function Si(Ie){var Me=Ie.columns,et=Ie.scroll,st=Ie.prefixCls,gt=st===void 0?ea:st,pt=Ie.className,Et=Ie.listItemHeight,It=et||{},Nt=It.x,$t=It.y;typeof Nt!="number"&&(Nt=((Me||[]).length+1)*as),typeof $t!="number"&&($t=500);var Qt=te.useMemo(function(){return{scrollY:$t,listItemHeight:Et}},[$t,Et]);return te.createElement(Oa.Provider,{value:Qt},te.createElement(wa,(0,ce.Z)({},Ie,{className:we()(pt,"".concat(gt,"-virtual")),scroll:(0,Se.Z)((0,Se.Z)({},et),{},{x:Nt}),components:{body:ai},columns:Me,internalHooks:He,tailor:!0})))}function ps(Ie){return z(Si,Ie)}var Ci=ps(),Fs=null;function Vi(Ie){return null}var os=Vi;function Po(Ie){return null}var Lo=Po,Or=Pe(10366),_i=Pe(58375),Cs=Pe(53124),Ao=Pe(88258),Ii=Pe(98675),$i=Pe(25378),Xi=Pe(24457),oi=Pe(34435),ii=Pe(57953),hs=Pe(46605);function is(Ie){return function(et){let{prefixCls:st,onExpand:gt,record:pt,expanded:Et,expandable:It}=et;const Nt=`${st}-row-expand-icon`;return te.createElement("button",{type:"button",onClick:$t=>{gt(pt,$t),$t.stopPropagation()},className:we()(Nt,{[`${Nt}-spaced`]:!It,[`${Nt}-expanded`]:It&&Et,[`${Nt}-collapsed`]:It&&!Et}),"aria-label":Et?Ie.collapse:Ie.expand,"aria-expanded":Et})}}var ss=is;function Yi(Ie,Me){return"key"in Ie&&Ie.key!==void 0&&Ie.key!==null?Ie.key:Ie.dataIndex?Array.isArray(Ie.dataIndex)?Ie.dataIndex.join("."):Ie.dataIndex:Me}function Ts(Ie,Me){return Me?`${Me}-${Ie}`:`${Ie}`}function Ms(Ie,Me){return typeof Ie=="function"?Ie(Me):Ie}function fl(Ie,Me){const et=Ms(Ie,Me);return Object.prototype.toString.call(et)==="[object Object]"?"":et}var gl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},ml=gl,Vs=Pe(44327),pl=function(Me,et){return te.createElement(Vs.Z,(0,ce.Z)({},Me,{ref:et,icon:ml}))},hl=te.forwardRef(pl),rl=Pe(7699),vl=Pe(57838);function yl(Ie){const Me=te.useRef(Ie),et=(0,vl.Z)();return[()=>Me.current,st=>{Me.current=st,et()}]}var al=Pe(71577),Ds=Pe(84567),Sl=Pe(85418),Bs=Pe(32983),bl=Pe(68508),Pl=Pe(76529),ol=Pe(78045),wl=Pe(86132),ot=Pe(47880),ht=Pe(11486);function vt(Ie){let{value:Me,onChange:et,filterSearch:st,tablePrefixCls:gt,locale:pt}=Ie;return st?te.createElement("div",{className:`${gt}-filter-dropdown-search`},te.createElement(ht.default,{prefix:te.createElement(ot.Z,null),placeholder:pt.filterSearchPlaceholder,onChange:et,value:Me,htmlSize:1,className:`${gt}-filter-dropdown-search-input`})):null}var Ft=vt,Jt=Pe(92389);const gn=Ie=>{const{keyCode:Me}=Ie;Me===Jt.Z.ENTER&&Ie.stopPropagation()};var Kn=te.forwardRef((Ie,Me)=>te.createElement("div",{className:Ie.className,onClick:et=>et.stopPropagation(),onKeyDown:gn,ref:Me},Ie.children));function lr(Ie){let Me=[];return(Ie||[]).forEach(et=>{let{value:st,children:gt}=et;Me.push(st),gt&&(Me=[].concat((0,er.Z)(Me),(0,er.Z)(lr(gt))))}),Me}function rr(Ie){return Ie.some(Me=>{let{children:et}=Me;return et})}function Dr(Ie,Me){return typeof Me=="string"||typeof Me=="number"?Me==null?void 0:Me.toString().toLowerCase().includes(Ie.trim().toLowerCase()):!1}function sr(Ie){let{filters:Me,prefixCls:et,filteredKeys:st,filterMultiple:gt,searchValue:pt,filterSearch:Et}=Ie;return Me.map((It,Nt)=>{const $t=String(It.value);if(It.children)return{key:$t||Nt,label:It.text,popupClassName:`${et}-dropdown-submenu`,children:sr({filters:It.children,prefixCls:et,filteredKeys:st,filterMultiple:gt,searchValue:pt,filterSearch:Et})};const Qt=gt?Ds.default:ol.ZP,Ht={key:It.value!==void 0?$t:Nt,label:te.createElement(te.Fragment,null,te.createElement(Qt,{checked:st.includes($t)}),te.createElement("span",null,It.text))};return pt.trim()?typeof Et=="function"?Et(pt,It)?Ht:null:Dr(pt,It.text)?Ht:null:Ht})}function Br(Ie){var Me,et;const{tablePrefixCls:st,prefixCls:gt,column:pt,dropdownPrefixCls:Et,columnKey:It,filterMultiple:Nt,filterMode:$t="menu",filterSearch:Qt=!1,filterState:Ht,triggerFilter:mn,locale:pn,children:yn,getPopupContainer:Mn}=Ie,{filterDropdownOpen:An,onFilterDropdownOpenChange:Dn,filterResetToDefaultFilteredValue:Nn,defaultFilteredValue:Gn,filterDropdownVisible:Sr,onFilterDropdownVisibleChange:xr}=pt,[fr,Jr]=te.useState(!1),zr=!!(Ht&&(!((Me=Ht.filteredKeys)===null||Me===void 0)&&Me.length||Ht.forceFiltered)),Xn=Ar=>{Jr(Ar),Dn==null||Dn(Ar),xr==null||xr(Ar)},gr=(et=An!=null?An:Sr)!==null&&et!==void 0?et:fr,qn=Ht==null?void 0:Ht.filteredKeys,[Bn,ur]=yl(qn||[]),kr=Ar=>{let{selectedKeys:ca}=Ar;ur(ca)},va=(Ar,ca)=>{let{node:Ka,checked:Ua}=ca;kr(Nt?{selectedKeys:Ar}:{selectedKeys:Ua&&Ka.key?[Ka.key]:[]})};te.useEffect(()=>{fr&&kr({selectedKeys:qn||[]})},[qn]);const[ra,Fr]=te.useState([]),ba=Ar=>{Fr(Ar)},[Ta,Wn]=te.useState(""),mr=Ar=>{const{value:ca}=Ar.target;Wn(ca)};te.useEffect(()=>{fr||Wn("")},[fr]);const xa=Ar=>{const ca=Ar&&Ar.length?Ar:null;if(ca===null&&(!Ht||!Ht.filteredKeys)||(0,rl.Z)(ca,Ht==null?void 0:Ht.filteredKeys,!0))return null;mn({column:pt,key:It,filteredKeys:ca})},Aa=()=>{Xn(!1),xa(Bn())},Pr=function(){let{confirm:Ar,closeDropdown:ca}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Ar&&xa([]),ca&&Xn(!1),Wn(""),ur(Nn?(Gn||[]).map(Ka=>String(Ka)):[])},So=function(){let{closeDropdown:Ar}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Ar&&Xn(!1),xa(Bn())},$a=Ar=>{Ar&&qn!==void 0&&ur(qn||[]),Xn(Ar),!Ar&&!pt.filterDropdown&&Aa()},po=we()({[`${Et}-menu-without-submenu`]:!rr(pt.filters||[])}),oo=Ar=>{if(Ar.target.checked){const ca=lr(pt==null?void 0:pt.filters).map(Ka=>String(Ka));ur(ca)}else ur([])},mi=Ar=>{let{filters:ca}=Ar;return(ca||[]).map((Ka,Ua)=>{const ei=String(Ka.value),Ho={title:Ka.text,key:Ka.value!==void 0?ei:Ua};return Ka.children&&(Ho.children=mi({filters:Ka.children})),Ho})},Qr=Ar=>{var ca;return Object.assign(Object.assign({},Ar),{text:Ar.title,value:Ar.key,children:((ca=Ar.children)===null||ca===void 0?void 0:ca.map(Ka=>Qr(Ka)))||[]})};let Wr;if(typeof pt.filterDropdown=="function")Wr=pt.filterDropdown({prefixCls:`${Et}-custom`,setSelectedKeys:Ar=>kr({selectedKeys:Ar}),selectedKeys:Bn(),confirm:So,clearFilters:Pr,filters:pt.filters,visible:gr,close:()=>{Xn(!1)}});else if(pt.filterDropdown)Wr=pt.filterDropdown;else{const Ar=Bn()||[],ca=()=>(pt.filters||[]).length===0?te.createElement(Bs.Z,{image:Bs.Z.PRESENTED_IMAGE_SIMPLE,description:pn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):$t==="tree"?te.createElement(te.Fragment,null,te.createElement(Ft,{filterSearch:Qt,value:Ta,onChange:mr,tablePrefixCls:st,locale:pn}),te.createElement("div",{className:`${st}-filter-dropdown-tree`},Nt?te.createElement(Ds.default,{checked:Ar.length===lr(pt.filters).length,indeterminate:Ar.length>0&&Ar.length<lr(pt.filters).length,className:`${st}-filter-dropdown-checkall`,onChange:oo},pn.filterCheckall):null,te.createElement(wl.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Nt,checkStrictly:!Nt,className:`${Et}-menu`,onCheck:va,checkedKeys:Ar,selectedKeys:Ar,showIcon:!1,treeData:mi({filters:pt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Ta.trim()?Ua=>typeof Qt=="function"?Qt(Ta,Qr(Ua)):Dr(Ta,Ua.title):void 0}))):te.createElement(te.Fragment,null,te.createElement(Ft,{filterSearch:Qt,value:Ta,onChange:mr,tablePrefixCls:st,locale:pn}),te.createElement(bl.default,{selectable:!0,multiple:Nt,prefixCls:`${Et}-menu`,className:po,onSelect:kr,onDeselect:kr,selectedKeys:Ar,getPopupContainer:Mn,openKeys:ra,onOpenChange:ba,items:sr({filters:pt.filters||[],filterSearch:Qt,prefixCls:gt,filteredKeys:Bn(),filterMultiple:Nt,searchValue:Ta})})),Ka=()=>Nn?(0,rl.Z)((Gn||[]).map(Ua=>String(Ua)),Ar,!0):Ar.length===0;Wr=te.createElement(te.Fragment,null,ca(),te.createElement("div",{className:`${gt}-dropdown-btns`},te.createElement(al.ZP,{type:"link",size:"small",disabled:Ka(),onClick:()=>Pr()},pn.filterReset),te.createElement(al.ZP,{type:"primary",size:"small",onClick:Aa},pn.filterConfirm)))}pt.filterDropdown&&(Wr=te.createElement(Pl.J,{selectable:void 0},Wr));const Kr=()=>te.createElement(Kn,{className:`${gt}-dropdown`},Wr);let jr;typeof pt.filterIcon=="function"?jr=pt.filterIcon(zr):pt.filterIcon?jr=pt.filterIcon:jr=te.createElement(hl,null);const{direction:Va}=te.useContext(Cs.E_);return te.createElement("div",{className:`${gt}-column`},te.createElement("span",{className:`${st}-column-title`},yn),te.createElement(Sl.Z,{dropdownRender:Kr,trigger:["click"],open:gr,onOpenChange:$a,getPopupContainer:Mn,placement:Va==="rtl"?"bottomLeft":"bottomRight"},te.createElement("span",{role:"button",tabIndex:-1,className:we()(`${gt}-trigger`,{active:zr}),onClick:Ar=>{Ar.stopPropagation()}},jr)))}var Tr=Br;function na(Ie,Me,et){let st=[];return(Ie||[]).forEach((gt,pt)=>{var Et;const It=Ts(pt,et);if(gt.filters||"filterDropdown"in gt||"onFilter"in gt)if("filteredValue"in gt){let Nt=gt.filteredValue;"filterDropdown"in gt||(Nt=(Et=Nt==null?void 0:Nt.map(String))!==null&&Et!==void 0?Et:Nt),st.push({column:gt,key:Yi(gt,It),filteredKeys:Nt,forceFiltered:gt.filtered})}else st.push({column:gt,key:Yi(gt,It),filteredKeys:Me&>.defaultFilteredValue?gt.defaultFilteredValue:void 0,forceFiltered:gt.filtered});"children"in gt&&(st=[].concat((0,er.Z)(st),(0,er.Z)(na(gt.children,Me,It))))}),st}function ka(Ie,Me,et,st,gt,pt,Et,It){return et.map((Nt,$t)=>{const Qt=Ts($t,It),{filterMultiple:Ht=!0,filterMode:mn,filterSearch:pn}=Nt;let yn=Nt;if(yn.filters||yn.filterDropdown){const Mn=Yi(yn,Qt),An=st.find(Dn=>{let{key:Nn}=Dn;return Mn===Nn});yn=Object.assign(Object.assign({},yn),{title:Dn=>te.createElement(Tr,{tablePrefixCls:Ie,prefixCls:`${Ie}-filter`,dropdownPrefixCls:Me,column:yn,columnKey:Mn,filterState:An,filterMultiple:Ht,filterMode:mn,filterSearch:pn,triggerFilter:pt,locale:gt,getPopupContainer:Et},Ms(Nt.title,Dn))})}return"children"in yn&&(yn=Object.assign(Object.assign({},yn),{children:ka(Ie,Me,yn.children,st,gt,pt,Et,Qt)})),yn})}function Ea(Ie){const Me={};return Ie.forEach(et=>{let{key:st,filteredKeys:gt,column:pt}=et;const{filters:Et,filterDropdown:It}=pt;if(It)Me[st]=gt||null;else if(Array.isArray(gt)){const Nt=lr(Et);Me[st]=Nt.filter($t=>gt.includes(String($t)))}else Me[st]=null}),Me}function Ga(Ie,Me){return Me.reduce((et,st)=>{const{column:{onFilter:gt,filters:pt},filteredKeys:Et}=st;return gt&&Et&&Et.length?et.filter(It=>Et.some(Nt=>{const $t=lr(pt),Qt=$t.findIndex(mn=>String(mn)===String(Nt)),Ht=Qt!==-1?$t[Qt]:Nt;return gt(Ht,It)})):et},Ie)}const ja=Ie=>Ie.flatMap(Me=>"children"in Me?[Me].concat((0,er.Z)(ja(Me.children||[]))):[Me]);function fa(Ie){let{prefixCls:Me,dropdownPrefixCls:et,mergedColumns:st,onFilterChange:gt,getPopupContainer:pt,locale:Et}=Ie;const It=te.useMemo(()=>ja(st||[]),[st]),[Nt,$t]=te.useState(()=>na(It,!0)),Qt=te.useMemo(()=>{const yn=na(It,!1);if(yn.length===0)return yn;let Mn=!0,An=!0;if(yn.forEach(Dn=>{let{filteredKeys:Nn}=Dn;Nn!==void 0?Mn=!1:An=!1}),Mn){const Dn=(It||[]).map((Nn,Gn)=>Yi(Nn,Ts(Gn)));return Nt.filter(Nn=>{let{key:Gn}=Nn;return Dn.includes(Gn)}).map(Nn=>{const Gn=It[Dn.findIndex(Sr=>Sr===Nn.key)];return Object.assign(Object.assign({},Nn),{column:Object.assign(Object.assign({},Nn.column),Gn),forceFiltered:Gn.filtered})})}return yn},[It,Nt]),Ht=te.useMemo(()=>Ea(Qt),[Qt]),mn=yn=>{const Mn=Qt.filter(An=>{let{key:Dn}=An;return Dn!==yn.key});Mn.push(yn),$t(Mn),gt(Ea(Mn),Mn)};return[yn=>ka(Me,et,yn,Qt,Et,mn,pt),Qt,Ht]}var Lr=fa;function fo(Ie,Me,et){const st=te.useRef({});function gt(pt){if(!st.current||st.current.data!==Ie||st.current.childrenColumnName!==Me||st.current.getRowKey!==et){let It=function(Nt){Nt.forEach(($t,Qt)=>{const Ht=et($t,Qt);Et.set(Ht,$t),$t&&typeof $t=="object"&&Me in $t&&It($t[Me]||[])})};const Et=new Map;It(Ie),st.current={data:Ie,childrenColumnName:Me,kvMap:Et,getRowKey:et}}return st.current.kvMap.get(pt)}return[gt]}var io=Pe(38780),mo=function(Ie,Me){var et={};for(var st in Ie)Object.prototype.hasOwnProperty.call(Ie,st)&&Me.indexOf(st)<0&&(et[st]=Ie[st]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,st=Object.getOwnPropertySymbols(Ie);gt<st.length;gt++)Me.indexOf(st[gt])<0&&Object.prototype.propertyIsEnumerable.call(Ie,st[gt])&&(et[st[gt]]=Ie[st[gt]]);return et};const vo=10;function Mo(Ie,Me){const et={current:Ie.current,pageSize:Ie.pageSize};return Object.keys(Me&&typeof Me=="object"?Me:{}).forEach(gt=>{const pt=Ie[gt];typeof pt!="function"&&(et[gt]=pt)}),et}function eo(Ie,Me,et){const st=et&&typeof et=="object"?et:{},{total:gt=0}=st,pt=mo(st,["total"]),[Et,It]=(0,te.useState)(()=>({current:"defaultCurrent"in pt?pt.defaultCurrent:1,pageSize:"defaultPageSize"in pt?pt.defaultPageSize:vo})),Nt=(0,io.Z)(Et,pt,{total:gt>0?gt:Ie}),$t=Math.ceil((gt||Ie)/Nt.pageSize);Nt.current>$t&&(Nt.current=$t||1);const Qt=(mn,pn)=>{It({current:mn!=null?mn:1,pageSize:pn||Nt.pageSize})},Ht=(mn,pn)=>{var yn;et&&((yn=et.onChange)===null||yn===void 0||yn.call(et,mn,pn)),Qt(mn,pn),Me(mn,pn||(Nt==null?void 0:Nt.pageSize))};return et===!1?[{},()=>{}]:[Object.assign(Object.assign({},Nt),{onChange:Ht}),Qt]}var za=eo,yo=Pe(15558),wo=Pe(29873),so=Pe(97153),_a=Pe(83898),to=Pe(5663);const ha={},No="SELECT_ALL",Ja="SELECT_INVERT",Ro="SELECT_NONE",Jo=[],_o=(Ie,Me)=>{let et=[];return(Me||[]).forEach(st=>{et.push(st),st&&typeof st=="object"&&Ie in st&&(et=[].concat((0,er.Z)(et),(0,er.Z)(_o(Ie,st[Ie]))))}),et};var di=(Ie,Me)=>{const{preserveSelectedRowKeys:et,selectedRowKeys:st,defaultSelectedRowKeys:gt,getCheckboxProps:pt,onChange:Et,onSelect:It,onSelectAll:Nt,onSelectInvert:$t,onSelectNone:Qt,onSelectMultiple:Ht,columnWidth:mn,type:pn,selections:yn,fixed:Mn,renderCell:An,hideSelectAll:Dn,checkStrictly:Nn=!0}=Me||{},{prefixCls:Gn,data:Sr,pageData:xr,getRecordByKey:fr,getRowKey:Jr,expandType:zr,childrenColumnName:Xn,locale:gr,getPopupContainer:qn}=Ie,[Bn,ur]=(0,to.Z)(st||gt||Jo,{value:st}),kr=te.useRef(new Map),va=(0,te.useCallback)(Qr=>{if(et){const Wr=new Map;Qr.forEach(Kr=>{let jr=fr(Kr);!jr&&kr.current.has(Kr)&&(jr=kr.current.get(Kr)),Wr.set(Kr,jr)}),kr.current=Wr}},[fr,et]);te.useEffect(()=>{va(Bn)},[Bn]);const{keyEntities:ra}=(0,te.useMemo)(()=>{if(Nn)return{keyEntities:null};let Qr=Sr;if(et){const Wr=new Set(Sr.map((jr,Va)=>Jr(jr,Va))),Kr=Array.from(kr.current).reduce((jr,Va)=>{let[Ar,ca]=Va;return Wr.has(Ar)?jr:jr.concat(ca)},[]);Qr=[].concat((0,er.Z)(Qr),(0,er.Z)(Kr))}return(0,_a.I8)(Qr,{externalGetKey:Jr,childrenPropName:Xn})},[Sr,Jr,Nn,Xn,et]),Fr=(0,te.useMemo)(()=>_o(Xn,xr),[Xn,xr]),ba=(0,te.useMemo)(()=>{const Qr=new Map;return Fr.forEach((Wr,Kr)=>{const jr=Jr(Wr,Kr),Va=(pt?pt(Wr):null)||{};Qr.set(jr,Va)}),Qr},[Fr,Jr,pt]),Ta=(0,te.useCallback)(Qr=>{var Wr;return!!(!((Wr=ba.get(Jr(Qr)))===null||Wr===void 0)&&Wr.disabled)},[ba,Jr]),[Wn,mr]=(0,te.useMemo)(()=>{if(Nn)return[Bn||[],[]];const{checkedKeys:Qr,halfCheckedKeys:Wr}=(0,so.S)(Bn,!0,ra,Ta);return[Qr||[],Wr]},[Bn,Nn,ra,Ta]),xa=(0,te.useMemo)(()=>{const Qr=pn==="radio"?Wn.slice(0,1):Wn;return new Set(Qr)},[Wn,pn]),Aa=(0,te.useMemo)(()=>pn==="radio"?new Set:new Set(mr),[mr,pn]),[Pr,So]=(0,te.useState)(null);te.useEffect(()=>{Me||ur(Jo)},[!!Me]);const $a=(0,te.useCallback)((Qr,Wr)=>{let Kr,jr;va(Qr),et?(Kr=Qr,jr=Qr.map(Va=>kr.current.get(Va))):(Kr=[],jr=[],Qr.forEach(Va=>{const Ar=fr(Va);Ar!==void 0&&(Kr.push(Va),jr.push(Ar))})),ur(Kr),Et==null||Et(Kr,jr,{type:Wr})},[ur,fr,Et,et]),po=(0,te.useCallback)((Qr,Wr,Kr,jr)=>{if(It){const Va=Kr.map(Ar=>fr(Ar));It(fr(Qr),Wr,Va,jr)}$a(Kr,"single")},[It,fr,$a]),oo=(0,te.useMemo)(()=>!yn||Dn?null:(yn===!0?[No,Ja,Ro]:yn).map(Wr=>Wr===No?{key:"all",text:gr.selectionAll,onSelect(){$a(Sr.map((Kr,jr)=>Jr(Kr,jr)).filter(Kr=>{const jr=ba.get(Kr);return!(jr!=null&&jr.disabled)||xa.has(Kr)}),"all")}}:Wr===Ja?{key:"invert",text:gr.selectInvert,onSelect(){const Kr=new Set(xa);xr.forEach((Va,Ar)=>{const ca=Jr(Va,Ar),Ka=ba.get(ca);Ka!=null&&Ka.disabled||(Kr.has(ca)?Kr.delete(ca):Kr.add(ca))});const jr=Array.from(Kr);$t&&$t(jr),$a(jr,"invert")}}:Wr===Ro?{key:"none",text:gr.selectNone,onSelect(){Qt==null||Qt(),$a(Array.from(xa).filter(Kr=>{const jr=ba.get(Kr);return jr==null?void 0:jr.disabled}),"none")}}:Wr).map(Wr=>Object.assign(Object.assign({},Wr),{onSelect:function(){for(var Kr,jr,Va=arguments.length,Ar=new Array(Va),ca=0;ca<Va;ca++)Ar[ca]=arguments[ca];(jr=Wr.onSelect)===null||jr===void 0||(Kr=jr).call.apply(Kr,[Wr].concat(Ar)),So(null)}})),[yn,xa,xr,Jr,$t,$a]);return[(0,te.useCallback)(Qr=>{var Wr;if(!Me)return Qr.filter(qa=>qa!==ha);let Kr=(0,er.Z)(Qr);const jr=new Set(xa),Va=Fr.map(Jr).filter(qa=>!ba.get(qa).disabled),Ar=Va.every(qa=>jr.has(qa)),ca=Va.some(qa=>jr.has(qa)),Ka=()=>{const qa=[];Ar?Va.forEach(Eo=>{jr.delete(Eo),qa.push(Eo)}):Va.forEach(Eo=>{jr.has(Eo)||(jr.add(Eo),qa.push(Eo))});const no=Array.from(jr);Nt==null||Nt(!Ar,no.map(Eo=>fr(Eo)),qa.map(Eo=>fr(Eo))),$a(no,"all"),So(null)};let Ua;if(pn!=="radio"){let qa;if(oo){const Ma={getPopupContainer:qn,items:oo.map((li,ti)=>{const{key:xi,text:es,onSelect:Hi}=li;return{key:xi!=null?xi:ti,onClick:()=>{Hi==null||Hi(Va)},label:es}})};qa=te.createElement("div",{className:`${Gn}-selection-extra`},te.createElement(Sl.Z,{menu:Ma,getPopupContainer:qn},te.createElement("span",null,te.createElement(yo.Z,null))))}const no=Fr.map((Ma,li)=>{const ti=Jr(Ma,li),xi=ba.get(ti)||{};return Object.assign({checked:jr.has(ti)},xi)}).filter(Ma=>{let{disabled:li}=Ma;return li}),Eo=!!no.length&&no.length===Fr.length,$o=Eo&&no.every(Ma=>{let{checked:li}=Ma;return li}),Uo=Eo&&no.some(Ma=>{let{checked:li}=Ma;return li});Ua=!Dn&&te.createElement("div",{className:`${Gn}-selection`},te.createElement(Ds.default,{checked:Eo?$o:!!Fr.length&&Ar,indeterminate:Eo?!$o&&Uo:!Ar&&ca,onChange:Ka,disabled:Fr.length===0||Eo,"aria-label":qa?"Custom selection":"Select all",skipGroup:!0}),qa)}let ei;pn==="radio"?ei=(qa,no,Eo)=>{const $o=Jr(no,Eo),Uo=jr.has($o);return{node:te.createElement(ol.ZP,Object.assign({},ba.get($o),{checked:Uo,onClick:Ma=>Ma.stopPropagation(),onChange:Ma=>{jr.has($o)||po($o,!0,[$o],Ma.nativeEvent)}})),checked:Uo}}:ei=(qa,no,Eo)=>{var $o;const Uo=Jr(no,Eo),Ma=jr.has(Uo),li=Aa.has(Uo),ti=ba.get(Uo);let xi;return zr==="nest"?xi=li:xi=($o=ti==null?void 0:ti.indeterminate)!==null&&$o!==void 0?$o:li,{node:te.createElement(Ds.default,Object.assign({},ti,{indeterminate:xi,checked:Ma,skipGroup:!0,onClick:es=>es.stopPropagation(),onChange:es=>{let{nativeEvent:Hi}=es;const{shiftKey:nl}=Hi;let gs=-1,Di=-1;if(nl&&Nn){const hi=new Set([Pr,Uo]);Va.some((ui,Go)=>{if(hi.has(ui))if(gs===-1)gs=Go;else return Di=Go,!0;return!1})}if(Di!==-1&&gs!==Di&&Nn){const hi=Va.slice(gs,Di+1),ui=[];Ma?hi.forEach(xo=>{jr.has(xo)&&(ui.push(xo),jr.delete(xo))}):hi.forEach(xo=>{jr.has(xo)||(ui.push(xo),jr.add(xo))});const Go=Array.from(jr);Ht==null||Ht(!Ma,Go.map(xo=>fr(xo)),ui.map(xo=>fr(xo))),$a(Go,"multiple")}else{const hi=Wn;if(Nn){const ui=Ma?(0,wo._5)(hi,Uo):(0,wo.L0)(hi,Uo);po(Uo,!Ma,ui,Hi)}else{const ui=(0,so.S)([].concat((0,er.Z)(hi),[Uo]),!0,ra,Ta),{checkedKeys:Go,halfCheckedKeys:xo}=ui;let ts=Go;if(Ma){const Rs=new Set(Go);Rs.delete(Uo),ts=(0,so.S)(Array.from(Rs),{checked:!1,halfCheckedKeys:xo},ra,Ta).checkedKeys}po(Uo,!Ma,ts,Hi)}}So(Ma?null:Uo)}})),checked:Ma}};const Ho=(qa,no,Eo)=>{const{node:$o,checked:Uo}=ei(qa,no,Eo);return An?An(Uo,no,Eo,$o):$o};if(!Kr.includes(ha))if(Kr.findIndex(qa=>{var no;return((no=qa[nn])===null||no===void 0?void 0:no.columnType)==="EXPAND_COLUMN"})===0){const[qa,...no]=Kr;Kr=[qa,ha].concat((0,er.Z)(no))}else Kr=[ha].concat((0,er.Z)(Kr));const Wi=Kr.indexOf(ha);Kr=Kr.filter((qa,no)=>qa!==ha||no===Wi);const Bo=Kr[Wi-1],Mi=Kr[Wi+1];let ko=Mn;ko===void 0&&((Mi==null?void 0:Mi.fixed)!==void 0?ko=Mi.fixed:(Bo==null?void 0:Bo.fixed)!==void 0&&(ko=Bo.fixed)),ko&&Bo&&((Wr=Bo[nn])===null||Wr===void 0?void 0:Wr.columnType)==="EXPAND_COLUMN"&&Bo.fixed===void 0&&(Bo.fixed=ko);const pi=we()(`${Gn}-selection-col`,{[`${Gn}-selection-col-with-dropdown`]:yn&&pn==="checkbox"}),Is={fixed:ko,width:mn,className:`${Gn}-selection-column`,title:Me.columnTitle||Ua,render:Ho,onCell:Me.onCell,[nn]:{className:pi}};return Kr.map(qa=>qa===ha?Is:qa)},[Jr,Fr,Me,Wn,xa,Aa,mn,oo,zr,Pr,ba,Ht,po,Ta]),xa]},Qa={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},si=Qa,jo=function(Me,et){return te.createElement(Vs.Z,(0,ce.Z)({},Me,{ref:et,icon:si}))},lo=te.forwardRef(jo),Fo={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},bi=Fo,Ui=function(Me,et){return te.createElement(Vs.Z,(0,ce.Z)({},Me,{ref:et,icon:bi}))},Ji=te.forwardRef(Ui),Xo=Pe(83062);const Zo="ascend",Pi="descend";function Wo(Ie){return typeof Ie.sorter=="object"&&typeof Ie.sorter.multiple=="number"?Ie.sorter.multiple:!1}function uo(Ie){return typeof Ie=="function"?Ie:Ie&&typeof Ie=="object"&&Ie.compare?Ie.compare:!1}function ga(Ie,Me){return Me?Ie[Ie.indexOf(Me)+1]:Ie[0]}function Io(Ie,Me,et){let st=[];function gt(pt,Et){st.push({column:pt,key:Yi(pt,Et),multiplePriority:Wo(pt),sortOrder:pt.sortOrder})}return(Ie||[]).forEach((pt,Et)=>{const It=Ts(Et,et);pt.children?("sortOrder"in pt&>(pt,It),st=[].concat((0,er.Z)(st),(0,er.Z)(Io(pt.children,Me,It)))):pt.sorter&&("sortOrder"in pt?gt(pt,It):Me&&pt.defaultSortOrder&&st.push({column:pt,key:Yi(pt,It),multiplePriority:Wo(pt),sortOrder:pt.defaultSortOrder}))}),st}function Qo(Ie,Me,et,st,gt,pt,Et,It){return(Me||[]).map((Nt,$t)=>{const Qt=Ts($t,It);let Ht=Nt;if(Ht.sorter){const mn=Ht.sortDirections||gt,pn=Ht.showSorterTooltip===void 0?Et:Ht.showSorterTooltip,yn=Yi(Ht,Qt),Mn=et.find(zr=>{let{key:Xn}=zr;return Xn===yn}),An=Mn?Mn.sortOrder:null,Dn=ga(mn,An);let Nn;if(Nt.sortIcon)Nn=Nt.sortIcon({sortOrder:An});else{const zr=mn.includes(Zo)&&te.createElement(Ji,{className:we()(`${Ie}-column-sorter-up`,{active:An===Zo})}),Xn=mn.includes(Pi)&&te.createElement(lo,{className:we()(`${Ie}-column-sorter-down`,{active:An===Pi})});Nn=te.createElement("span",{className:we()(`${Ie}-column-sorter`,{[`${Ie}-column-sorter-full`]:!!(zr&&Xn)})},te.createElement("span",{className:`${Ie}-column-sorter-inner`,"aria-hidden":"true"},zr,Xn))}const{cancelSort:Gn,triggerAsc:Sr,triggerDesc:xr}=pt||{};let fr=Gn;Dn===Pi?fr=xr:Dn===Zo&&(fr=Sr);const Jr=typeof pn=="object"?pn:{title:fr};Ht=Object.assign(Object.assign({},Ht),{className:we()(Ht.className,{[`${Ie}-column-sort`]:An}),title:zr=>{const Xn=te.createElement("div",{className:`${Ie}-column-sorters`},te.createElement("span",{className:`${Ie}-column-title`},Ms(Nt.title,zr)),Nn);return pn?te.createElement(Xo.Z,Object.assign({},Jr),Xn):Xn},onHeaderCell:zr=>{const Xn=Nt.onHeaderCell&&Nt.onHeaderCell(zr)||{},gr=Xn.onClick,qn=Xn.onKeyDown;Xn.onClick=kr=>{st({column:Nt,key:yn,sortOrder:Dn,multiplePriority:Wo(Nt)}),gr==null||gr(kr)},Xn.onKeyDown=kr=>{kr.keyCode===Jt.Z.ENTER&&(st({column:Nt,key:yn,sortOrder:Dn,multiplePriority:Wo(Nt)}),qn==null||qn(kr))};const Bn=fl(Nt.title,{}),ur=Bn==null?void 0:Bn.toString();return An?Xn["aria-sort"]=An==="ascend"?"ascending":"descending":Xn["aria-label"]=ur||"",Xn.className=we()(Xn.className,`${Ie}-column-has-sorters`),Xn.tabIndex=0,Nt.ellipsis&&(Xn.title=(Bn!=null?Bn:"").toString()),Xn}})}return"children"in Ht&&(Ht=Object.assign(Object.assign({},Ht),{children:Qo(Ie,Ht.children,et,st,gt,pt,Et,Qt)})),Ht})}function Ti(Ie){const{column:Me,sortOrder:et}=Ie;return{column:Me,order:et,field:Me.dataIndex,columnKey:Me.key}}function Qi(Ie){const Me=Ie.filter(et=>{let{sortOrder:st}=et;return st}).map(Ti);return Me.length===0&&Ie.length?Object.assign(Object.assign({},Ti(Ie[Ie.length-1])),{column:void 0}):Me.length<=1?Me[0]||{}:Me}function Gi(Ie,Me,et){const st=Me.slice().sort((Et,It)=>It.multiplePriority-Et.multiplePriority),gt=Ie.slice(),pt=st.filter(Et=>{let{column:{sorter:It},sortOrder:Nt}=Et;return uo(It)&&Nt});return pt.length?gt.sort((Et,It)=>{for(let Nt=0;Nt<pt.length;Nt+=1){const $t=pt[Nt],{column:{sorter:Qt},sortOrder:Ht}=$t,mn=uo(Qt);if(mn&&Ht){const pn=mn(Et,It,Ht);if(pn!==0)return Ht===Zo?pn:-pn}}return 0}).map(Et=>{const It=Et[et];return It?Object.assign(Object.assign({},Et),{[et]:Gi(It,Me,et)}):Et}):gt}function Xs(Ie){let{prefixCls:Me,mergedColumns:et,onSorterChange:st,sortDirections:gt,tableLocale:pt,showSorterTooltip:Et}=Ie;const[It,Nt]=te.useState(Io(et,!0)),$t=te.useMemo(()=>{let yn=!0;const Mn=Io(et,!1);if(!Mn.length)return It;const An=[];function Dn(Gn){yn?An.push(Gn):An.push(Object.assign(Object.assign({},Gn),{sortOrder:null}))}let Nn=null;return Mn.forEach(Gn=>{Nn===null?(Dn(Gn),Gn.sortOrder&&(Gn.multiplePriority===!1?yn=!1:Nn=!0)):(Nn&&Gn.multiplePriority!==!1||(yn=!1),Dn(Gn))}),An},[et,It]),Qt=te.useMemo(()=>{const yn=$t.map(Mn=>{let{column:An,sortOrder:Dn}=Mn;return{column:An,order:Dn}});return{sortColumns:yn,sortColumn:yn[0]&&yn[0].column,sortOrder:yn[0]&&yn[0].order}},[$t]);function Ht(yn){let Mn;yn.multiplePriority===!1||!$t.length||$t[0].multiplePriority===!1?Mn=[yn]:Mn=[].concat((0,er.Z)($t.filter(An=>{let{key:Dn}=An;return Dn!==yn.key})),[yn]),Nt(Mn),st(Qi(Mn),Mn)}return[yn=>Qo(Me,yn,$t,Ht,gt,pt,Et),$t,Qt,()=>Qi($t)]}function Os(Ie,Me){return Ie.map(et=>{const st=Object.assign({},et);return st.title=Ms(et.title,Me),"children"in st&&(st.children=Os(st.children,Me)),st})}function Oi(Ie){return[te.useCallback(et=>Os(et,Ie),[Ie])]}var ks=wr((Ie,Me)=>{const{_renderTimes:et}=Ie,{_renderTimes:st}=Me;return et!==st}),Li=ps((Ie,Me)=>{const{_renderTimes:et}=Ie,{_renderTimes:st}=Me;return et!==st}),qo=Pe(84780),ls=Pe(14747),ji=Pe(67968),Ys=Pe(45503),vs=Ie=>{const{componentCls:Me}=Ie,et=`${Ie.lineWidth}px ${Ie.lineType} ${Ie.tableBorderColor}`,st=(gt,pt,Et)=>({[`&${Me}-${gt}`]:{[`> ${Me}-container`]:{[`> ${Me}-content, > ${Me}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Me}-expanded-row-fixed`]:{margin:`-${pt}px -${Et+Ie.lineWidth}px`}}}}}});return{[`${Me}-wrapper`]:{[`${Me}${Me}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Me}-title`]:{border:et,borderBottom:0},[`> ${Me}-container`]:{borderInlineStart:et,borderTop:et,[`
|
|
> ${Me}-content,
|
|
> ${Me}-header,
|
|
> ${Me}-body,
|
|
> ${Me}-summary
|
|
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:et},"> thead":{"> tr:not(:last-child) > th":{borderBottom:et},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Me}-cell-fix-right-first::after`]:{borderInlineEnd:et}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Me}-expanded-row-fixed`]:{margin:`-${Ie.tablePaddingVertical}px -${Ie.tablePaddingHorizontal+Ie.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ie.lineWidth,bottom:0,borderInlineEnd:et,content:'""'}}}}}},[`&${Me}-scroll-horizontal`]:{[`> ${Me}-container > ${Me}-body`]:{"> table > tbody":{[`
|
|
> tr${Me}-expanded-row,
|
|
> tr${Me}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},st("middle",Ie.tablePaddingVerticalMiddle,Ie.tablePaddingHorizontalMiddle)),st("small",Ie.tablePaddingVerticalSmall,Ie.tablePaddingHorizontalSmall)),{[`> ${Me}-footer`]:{border:et,borderTop:0}}),[`${Me}-cell`]:{[`${Me}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ie.lineWidth}px 0 ${Ie.lineWidth}px ${Ie.tableHeaderBg}`}},[`${Me}-bordered ${Me}-cell-scrollbar`]:{borderInlineEnd:et}}}},qi=Ie=>{const{componentCls:Me}=Ie;return{[`${Me}-wrapper`]:{[`${Me}-cell-ellipsis`]:Object.assign(Object.assign({},ls.vS),{wordBreak:"keep-all",[`
|
|
&${Me}-cell-fix-left-last,
|
|
&${Me}-cell-fix-right-first
|
|
`]:{overflow:"visible",[`${Me}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Me}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},zi=Ie=>{const{componentCls:Me}=Ie;return{[`${Me}-wrapper`]:{[`${Me}-tbody > tr${Me}-placeholder`]:{textAlign:"center",color:Ie.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ie.colorBgContainer}}}}},fi=Pe(49867),Ls=Ie=>{const{componentCls:Me,antCls:et,controlInteractiveSize:st,motionDurationSlow:gt,lineWidth:pt,paddingXS:Et,lineType:It,tableBorderColor:Nt,tableExpandIconBg:$t,tableExpandColumnWidth:Qt,borderRadius:Ht,fontSize:mn,fontSizeSM:pn,lineHeight:yn,tablePaddingVertical:Mn,tablePaddingHorizontal:An,tableExpandedRowBg:Dn,paddingXXS:Nn}=Ie,Gn=st/2-pt,Sr=Gn*2+pt*3,xr=`${pt}px ${It} ${Nt}`,fr=Nn-pt;return{[`${Me}-wrapper`]:{[`${Me}-expand-icon-col`]:{width:Qt},[`${Me}-row-expand-icon-cell`]:{textAlign:"center",[`${Me}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Me}-row-indent`]:{height:1,float:"left"},[`${Me}-row-expand-icon`]:Object.assign(Object.assign({},(0,fi.N)(Ie)),{position:"relative",float:"left",boxSizing:"border-box",width:Sr,height:Sr,padding:0,color:"inherit",lineHeight:`${Sr}px`,background:$t,border:xr,borderRadius:Ht,transform:`scale(${st/Sr})`,transition:`all ${gt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${gt} ease-out`,content:'""'},"&::before":{top:Gn,insetInlineEnd:fr,insetInlineStart:fr,height:pt},"&::after":{top:fr,bottom:fr,insetInlineStart:Gn,width:pt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Me}-row-indent + ${Me}-row-expand-icon`]:{marginTop:(mn*yn-pt*3)/2-Math.ceil((pn*1.4-pt*3)/2),marginInlineEnd:Et},[`tr${Me}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Dn}},[`${et}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Me}-expanded-row-fixed`]:{position:"relative",margin:`-${Mn}px -${An}px`,padding:`${Mn}px ${An}px`}}}},Do=Ie=>{const{componentCls:Me,antCls:et,iconCls:st,tableFilterDropdownWidth:gt,tableFilterDropdownSearchWidth:pt,paddingXXS:Et,paddingXS:It,colorText:Nt,lineWidth:$t,lineType:Qt,tableBorderColor:Ht,tableHeaderIconColor:mn,fontSizeSM:pn,tablePaddingHorizontal:yn,borderRadius:Mn,motionDurationSlow:An,colorTextDescription:Dn,colorPrimary:Nn,tableHeaderFilterActiveBg:Gn,colorTextDisabled:Sr,tableFilterDropdownBg:xr,tableFilterDropdownHeight:fr,controlItemBgHover:Jr,controlItemBgActive:zr,boxShadowSecondary:Xn,filterDropdownMenuBg:gr}=Ie,qn=`${et}-dropdown`,Bn=`${Me}-filter-dropdown`,ur=`${et}-tree`,kr=`${$t}px ${Qt} ${Ht}`;return[{[`${Me}-wrapper`]:{[`${Me}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Me}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Et,marginInline:`${Et}px ${-yn/2}px`,padding:`0 ${Et}px`,color:mn,fontSize:pn,borderRadius:Mn,cursor:"pointer",transition:`all ${An}`,"&:hover":{color:Dn,background:Gn},"&.active":{color:Nn}}}},{[`${et}-dropdown`]:{[Bn]:Object.assign(Object.assign({},(0,ls.Wf)(Ie)),{minWidth:gt,backgroundColor:xr,borderRadius:Mn,boxShadow:Xn,overflow:"hidden",[`${qn}-menu`]:{maxHeight:fr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:gr,"&:empty::after":{display:"block",padding:`${It}px 0`,color:Sr,fontSize:pn,textAlign:"center",content:'"Not Found"'}},[`${Bn}-tree`]:{paddingBlock:`${It}px 0`,paddingInline:It,[ur]:{padding:0},[`${ur}-treenode ${ur}-node-content-wrapper:hover`]:{backgroundColor:Jr},[`${ur}-treenode-checkbox-checked ${ur}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:zr}}},[`${Bn}-search`]:{padding:It,borderBottom:kr,"&-input":{input:{minWidth:pt},[st]:{color:Sr}}},[`${Bn}-checkall`]:{width:"100%",marginBottom:Et,marginInlineStart:Et},[`${Bn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${It-$t}px ${It}px`,overflow:"hidden",borderTop:kr}})}},{[`${et}-dropdown ${Bn}, ${Bn}-submenu`]:{[`${et}-checkbox-wrapper + span`]:{paddingInlineStart:It,color:Nt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Ri=Ie=>{const{componentCls:Me,lineWidth:et,colorSplit:st,motionDurationSlow:gt,zIndexTableFixed:pt,tableBg:Et,zIndexTableSticky:It}=Ie,Nt=st;return{[`${Me}-wrapper`]:{[`
|
|
${Me}-cell-fix-left,
|
|
${Me}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:pt,background:Et},[`
|
|
${Me}-cell-fix-left-first::after,
|
|
${Me}-cell-fix-left-last::after
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-et,width:30,transform:"translateX(100%)",transition:`box-shadow ${gt}`,content:'""',pointerEvents:"none"},[`${Me}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
${Me}-cell-fix-right-first::after,
|
|
${Me}-cell-fix-right-last::after
|
|
`]:{position:"absolute",top:0,bottom:-et,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${gt}`,content:'""',pointerEvents:"none"},[`${Me}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:It+1,width:30,transition:`box-shadow ${gt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Me}-ping-left`]:{[`&:not(${Me}-has-fix-left) ${Me}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Nt}`}},[`
|
|
${Me}-cell-fix-left-first::after,
|
|
${Me}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Nt}`},[`${Me}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Me}-ping-right`]:{[`&:not(${Me}-has-fix-right) ${Me}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Nt}`}},[`
|
|
${Me}-cell-fix-right-first::after,
|
|
${Me}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Nt}`}}}}},js=Ie=>{const{componentCls:Me,antCls:et}=Ie;return{[`${Me}-wrapper`]:{[`${Me}-pagination${et}-pagination`]:{margin:`${Ie.margin}px 0`},[`${Me}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ie.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},As=Ie=>{const{componentCls:Me,tableRadius:et}=Ie;return{[`${Me}-wrapper`]:{[Me]:{[`${Me}-title, ${Me}-header`]:{borderRadius:`${et}px ${et}px 0 0`},[`${Me}-title + ${Me}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Me}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:et,borderStartEndRadius:et,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:et},"> *:last-child":{borderStartEndRadius:et}}},"&-footer":{borderRadius:`0 0 ${et}px ${et}px`}}}}},ys=Ie=>{const{componentCls:Me}=Ie;return{[`${Me}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Me}-pagination-left`]:{justifyContent:"flex-end"},[`${Me}-pagination-right`]:{justifyContent:"flex-start"},[`${Me}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Me}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Me}-row-indent`]:{float:"right"}}}}},Ns=Ie=>{const{componentCls:Me,antCls:et,iconCls:st,fontSizeIcon:gt,padding:pt,paddingXS:Et,tableHeaderIconColor:It,tableHeaderIconColorHover:Nt,tableSelectionColumnWidth:$t}=Ie;return{[`${Me}-wrapper`]:{[`${Me}-selection-col`]:{width:$t,[`&${Me}-selection-col-with-dropdown`]:{width:$t+gt+pt/4}},[`${Me}-bordered ${Me}-selection-col`]:{width:$t+Et*2,[`&${Me}-selection-col-with-dropdown`]:{width:$t+gt+pt/4+Et*2}},[`
|
|
table tr th${Me}-selection-column,
|
|
table tr td${Me}-selection-column
|
|
`]:{paddingInlineEnd:Ie.paddingXS,paddingInlineStart:Ie.paddingXS,textAlign:"center",[`${et}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Me}-selection-column${Me}-cell-fix-left`]:{zIndex:Ie.zIndexTableFixed+1},[`table tr th${Me}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Me}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Me}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ie.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ie.tablePaddingHorizontal/4}px`,[st]:{color:It,fontSize:gt,verticalAlign:"baseline","&:hover":{color:Nt}}}}}},Us=Ie=>{const{componentCls:Me}=Ie,et=(st,gt,pt,Et)=>({[`${Me}${Me}-${st}`]:{fontSize:Et,[`
|
|
${Me}-title,
|
|
${Me}-footer,
|
|
${Me}-cell,
|
|
${Me}-thead > tr > th,
|
|
${Me}-tbody > tr > th,
|
|
${Me}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{padding:`${gt}px ${pt}px`},[`${Me}-filter-trigger`]:{marginInlineEnd:`-${pt/2}px`},[`${Me}-expanded-row-fixed`]:{margin:`-${gt}px -${pt}px`},[`${Me}-tbody`]:{[`${Me}-wrapper:only-child ${Me}`]:{marginBlock:`-${gt}px`,marginInline:`${Ie.tableExpandColumnWidth-pt}px -${pt}px`}},[`${Me}-selection-column`]:{paddingInlineStart:`${pt/4}px`}}});return{[`${Me}-wrapper`]:Object.assign(Object.assign({},et("middle",Ie.tablePaddingVerticalMiddle,Ie.tablePaddingHorizontalMiddle,Ie.tableFontSizeMiddle)),et("small",Ie.tablePaddingVerticalSmall,Ie.tablePaddingHorizontalSmall,Ie.tableFontSizeSmall))}},Zi=Ie=>{const{componentCls:Me,marginXXS:et,fontSizeIcon:st,tableHeaderIconColor:gt,tableHeaderIconColorHover:pt}=Ie;return{[`${Me}-wrapper`]:{[`${Me}-thead th${Me}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ie.motionDurationSlow}`,"&:hover":{background:Ie.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ie.colorPrimary},[`
|
|
&${Me}-cell-fix-left:hover,
|
|
&${Me}-cell-fix-right:hover
|
|
`]:{background:Ie.tableFixedHeaderSortActiveBg}},[`${Me}-thead th${Me}-column-sort`]:{background:Ie.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Me}-column-sort`]:{background:Ie.tableBodySortBg},[`${Me}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Me}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Me}-column-sorter`]:{marginInlineStart:et,color:gt,fontSize:0,transition:`color ${Ie.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:st,"&.active":{color:Ie.colorPrimary}},[`${Me}-column-sorter-up + ${Me}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Me}-column-sorters:hover ${Me}-column-sorter`]:{color:pt}}}},cs=Ie=>{const{componentCls:Me,opacityLoading:et,tableScrollThumbBg:st,tableScrollThumbBgHover:gt,tableScrollThumbSize:pt,tableScrollBg:Et,zIndexTableSticky:It,stickyScrollBarBorderRadius:Nt}=Ie,$t=`${Ie.lineWidth}px ${Ie.lineType} ${Ie.tableBorderColor}`;return{[`${Me}-wrapper`]:{[`${Me}-sticky`]:{"&-holder":{position:"sticky",zIndex:It,background:Ie.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${pt}px !important`,zIndex:It,display:"flex",alignItems:"center",background:Et,borderTop:$t,opacity:et,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:pt,backgroundColor:st,borderRadius:Nt,transition:`all ${Ie.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:gt}}}}}}},Ps=Ie=>{const{componentCls:Me,lineWidth:et,tableBorderColor:st}=Ie,gt=`${et}px ${Ie.lineType} ${st}`;return{[`${Me}-wrapper`]:{[`${Me}-summary`]:{position:"relative",zIndex:Ie.zIndexTableFixed,background:Ie.tableBg,"> tr":{"> th, > td":{borderBottom:gt}}},[`div${Me}-summary`]:{boxShadow:`0 -${et}px 0 ${st}`}}}},Fi=Ie=>{const{componentCls:Me}=Ie,et=`${Ie.lineWidth}px ${Ie.lineType} ${Ie.tableBorderColor}`,st=`${Me}-expanded-row-cell`;return{[`${Me}-wrapper`]:{[`${Me}-tbody-virtual`]:{[`${Me}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Me}-cell`]:{borderBottom:et},[`${Me}-expanded-row`]:{[`${st}${st}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ie.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Me}-bordered`]:{[`${Me}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:et,position:"absolute"},[`${Me}-cell`]:{borderInlineEnd:et,[`&${Me}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ie.lineWidth,borderInlineStart:et}}}}}}};const zs=Ie=>{const{componentCls:Me,fontWeightStrong:et,tablePaddingVertical:st,tablePaddingHorizontal:gt,lineWidth:pt,lineType:Et,tableBorderColor:It,tableFontSize:Nt,tableBg:$t,tableRadius:Qt,tableHeaderTextColor:Ht,motionDurationMid:mn,tableHeaderBg:pn,tableHeaderCellSplitColor:yn,tableRowHoverBg:Mn,tableSelectedRowBg:An,tableSelectedRowHoverBg:Dn,tableFooterTextColor:Nn,tableFooterBg:Gn,paddingContentVerticalLG:Sr}=Ie,xr=`${pt}px ${Et} ${It}`;return{[`${Me}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ls.dF)()),{[Me]:Object.assign(Object.assign({},(0,ls.Wf)(Ie)),{fontSize:Nt,background:$t,borderRadius:`${Qt}px ${Qt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Qt}px ${Qt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
${Me}-cell,
|
|
${Me}-thead > tr > th,
|
|
${Me}-tbody > tr > th,
|
|
${Me}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{position:"relative",padding:`${Sr}px ${gt}px`,overflowWrap:"break-word"},[`${Me}-title`]:{padding:`${st}px ${gt}px`},[`${Me}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Ht,fontWeight:et,textAlign:"start",background:pn,borderBottom:xr,transition:`background ${mn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Me}-selection-column):not(${Me}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:yn,transform:"translateY(-50%)",transition:`background-color ${mn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Me}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${mn}, border-color ${mn}`,borderBottom:xr,[`
|
|
> ${Me}-wrapper:only-child,
|
|
> ${Me}-expanded-row-fixed > ${Me}-wrapper:only-child
|
|
`]:{[Me]:{marginBlock:`-${st}px`,marginInline:`${Ie.tableExpandColumnWidth-gt}px -${gt}px`,[`${Me}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Ht,fontWeight:et,textAlign:"start",background:pn,borderBottom:xr,transition:`background ${mn} ease`},[`
|
|
&${Me}-row:hover > th,
|
|
&${Me}-row:hover > td,
|
|
> th${Me}-cell-row-hover,
|
|
> td${Me}-cell-row-hover
|
|
`]:{background:Mn},[`&${Me}-row-selected`]:{"> th, > td":{background:An},"&:hover > th, &:hover > td":{background:Dn}}}},[`${Me}-footer`]:{padding:`${st}px ${gt}px`,color:Nn,background:Gn}})}};var gi=(0,ji.Z)("Table",Ie=>{const{colorTextHeading:Me,colorSplit:et,colorIcon:st,colorIconHover:gt,opacityLoading:pt,colorBgContainer:Et,controlInteractiveSize:It,headerBg:Nt,headerColor:$t,headerSortActiveBg:Qt,headerSortHoverBg:Ht,bodySortBg:mn,rowHoverBg:pn,rowSelectedBg:yn,rowSelectedHoverBg:Mn,rowExpandedBg:An,cellPaddingBlock:Dn,cellPaddingInline:Nn,cellPaddingBlockMD:Gn,cellPaddingInlineMD:Sr,cellPaddingBlockSM:xr,cellPaddingInlineSM:fr,borderColor:Jr,footerBg:zr,footerColor:Xn,headerBorderRadius:gr,cellFontSize:qn,cellFontSizeMD:Bn,cellFontSizeSM:ur,headerSplitColor:kr,fixedHeaderSortActiveBg:va,headerFilterHoverBg:ra,filterDropdownBg:Fr,expandIconBg:ba,selectionColumnWidth:Ta,stickyScrollBarBg:Wn}=Ie,mr=new qo.C(st),xa=new qo.C(gt),Aa=2,Pr=(0,Ys.TS)(Ie,{tableFontSize:qn,tableBg:Et,tableRadius:gr,tablePaddingVertical:Dn,tablePaddingHorizontal:Nn,tablePaddingVerticalMiddle:Gn,tablePaddingHorizontalMiddle:Sr,tablePaddingVerticalSmall:xr,tablePaddingHorizontalSmall:fr,tableBorderColor:Jr,tableHeaderTextColor:$t,tableHeaderBg:Nt,tableFooterTextColor:Xn,tableFooterBg:zr,tableHeaderCellSplitColor:kr,tableHeaderSortBg:Qt,tableHeaderSortHoverBg:Ht,tableHeaderIconColor:mr.clone().setAlpha(mr.getAlpha()*pt).toRgbString(),tableHeaderIconColorHover:xa.clone().setAlpha(xa.getAlpha()*pt).toRgbString(),tableBodySortBg:mn,tableFixedHeaderSortActiveBg:va,tableHeaderFilterActiveBg:ra,tableFilterDropdownBg:Fr,tableRowHoverBg:pn,tableSelectedRowBg:yn,tableSelectedRowHoverBg:Mn,zIndexTableFixed:Aa,zIndexTableSticky:Aa+1,tableFontSizeMiddle:Bn,tableFontSizeSmall:ur,tableSelectionColumnWidth:Ta,tableExpandIconBg:ba,tableExpandColumnWidth:It+2*Ie.padding,tableExpandedRowBg:An,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Wn,tableScrollThumbBgHover:Me,tableScrollBg:et});return[zs(Pr),js(Pr),Ps(Pr),Zi(Pr),Do(Pr),vs(Pr),As(Pr),Ls(Pr),Ps(Pr),zi(Pr),Ns(Pr),Ri(Pr),cs(Pr),qi(Pr),Us(Pr),ys(Pr),Fi(Pr)]},Ie=>{const{colorFillAlter:Me,colorBgContainer:et,colorTextHeading:st,colorFillSecondary:gt,colorFillContent:pt,controlItemBgActive:Et,controlItemBgActiveHover:It,padding:Nt,paddingSM:$t,paddingXS:Qt,colorBorderSecondary:Ht,borderRadiusLG:mn,fontSize:pn,controlHeight:yn,colorTextPlaceholder:Mn}=Ie,An=new qo.C(gt).onBackground(et).toHexShortString(),Dn=new qo.C(pt).onBackground(et).toHexShortString(),Nn=new qo.C(Me).onBackground(et).toHexShortString();return{headerBg:Nn,headerColor:st,headerSortActiveBg:An,headerSortHoverBg:Dn,bodySortBg:Nn,rowHoverBg:Nn,rowSelectedBg:Et,rowSelectedHoverBg:It,rowExpandedBg:Me,cellPaddingBlock:Nt,cellPaddingInline:Nt,cellPaddingBlockMD:$t,cellPaddingInlineMD:Qt,cellPaddingBlockSM:Qt,cellPaddingInlineSM:Qt,borderColor:Ht,headerBorderRadius:mn,footerBg:Nn,footerColor:st,cellFontSize:pn,cellFontSizeMD:pn,cellFontSizeSM:pn,headerSplitColor:Ht,fixedHeaderSortActiveBg:An,headerFilterHoverBg:pt,filterDropdownMenuBg:et,filterDropdownBg:et,expandIconBg:et,selectionColumnWidth:yn,stickyScrollBarBg:Mn,stickyScrollBarBorderRadius:100}});const ds=[],Ks=(Ie,Me)=>{const{prefixCls:et,className:st,rootClassName:gt,style:pt,size:Et,bordered:It,dropdownPrefixCls:Nt,dataSource:$t,pagination:Qt,rowSelection:Ht,rowKey:mn="key",rowClassName:pn,columns:yn,children:Mn,childrenColumnName:An,onChange:Dn,getPopupContainer:Nn,loading:Gn,expandIcon:Sr,expandable:xr,expandedRowRender:fr,expandIconColumnIndex:Jr,indentSize:zr,scroll:Xn,sortDirections:gr,locale:qn,showSorterTooltip:Bn=!0,virtual:ur}=Ie,kr=te.useMemo(()=>yn||wn(Mn),[yn,Mn]),va=te.useMemo(()=>kr.some(Za=>Za.responsive),[kr]),ra=(0,$i.Z)(va),Fr=te.useMemo(()=>{const Za=new Set(Object.keys(ra).filter(ho=>ra[ho]));return kr.filter(ho=>!ho.responsive||ho.responsive.some(Yo=>Za.has(Yo)))},[kr,ra]),ba=(0,Or.Z)(Ie,["className","style","columns"]),{locale:Ta=Xi.Z,direction:Wn,table:mr,renderEmpty:xa,getPrefixCls:Aa,getPopupContainer:Pr}=te.useContext(Cs.E_),So=(0,Ii.Z)(Et),$a=Object.assign(Object.assign({},Ta.Table),qn),po=$t||ds,oo=Aa("table",et),mi=Aa("dropdown",Nt),Qr=Object.assign({childrenColumnName:An,expandIconColumnIndex:Jr},xr),{childrenColumnName:Wr="children"}=Qr,Kr=te.useMemo(()=>po.some(Za=>Za==null?void 0:Za[Wr])?"nest":fr||xr&&xr.expandedRowRender?"row":null,[po]),jr={body:te.useRef()},Va=te.useMemo(()=>typeof mn=="function"?mn:Za=>Za==null?void 0:Za[mn],[mn]),[Ar]=fo(po,Wr,Va),ca={},Ka=function(Za,ho){let Yo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Co,ni,vi;const yi=Object.assign(Object.assign({},ca),Za);Yo&&((Co=ca.resetPagination)===null||Co===void 0||Co.call(ca),!((ni=yi.pagination)===null||ni===void 0)&&ni.current&&(yi.pagination.current=1),Qt&&Qt.onChange&&Qt.onChange(1,(vi=yi.pagination)===null||vi===void 0?void 0:vi.pageSize)),Xn&&Xn.scrollToFirstRowOnChange!==!1&&jr.body.current&&(0,_i.Z)(0,{getContainer:()=>jr.body.current}),Dn==null||Dn(yi.pagination,yi.filters,yi.sorter,{currentDataSource:Ga(Gi(po,yi.sorterStates,Wr),yi.filterStates),action:ho})},Ua=(Za,ho)=>{Ka({sorter:Za,sorterStates:ho},"sort",!1)},[ei,Ho,Wi,Bo]=Xs({prefixCls:oo,mergedColumns:Fr,onSorterChange:Ua,sortDirections:gr||["ascend","descend"],tableLocale:$a,showSorterTooltip:Bn}),Mi=te.useMemo(()=>Gi(po,Ho,Wr),[po,Ho]);ca.sorter=Bo(),ca.sorterStates=Ho;const ko=(Za,ho)=>{Ka({filters:Za,filterStates:ho},"filter",!0)},[pi,Is,qa]=Lr({prefixCls:oo,locale:$a,dropdownPrefixCls:mi,mergedColumns:Fr,onFilterChange:ko,getPopupContainer:Nn||Pr}),no=Ga(Mi,Is);ca.filters=qa,ca.filterStates=Is;const Eo=te.useMemo(()=>{const Za={};return Object.keys(qa).forEach(ho=>{qa[ho]!==null&&(Za[ho]=qa[ho])}),Object.assign(Object.assign({},Wi),{filters:Za})},[Wi,qa]),[$o]=Oi(Eo),Uo=(Za,ho)=>{Ka({pagination:Object.assign(Object.assign({},ca.pagination),{current:Za,pageSize:ho})},"paginate")},[Ma,li]=za(no.length,Uo,Qt);ca.pagination=Qt===!1?{}:Mo(Ma,Qt),ca.resetPagination=li;const ti=te.useMemo(()=>{if(Qt===!1||!Ma.pageSize)return no;const{current:Za=1,total:ho,pageSize:Yo=vo}=Ma;return no.length<ho?no.length>Yo?no.slice((Za-1)*Yo,Za*Yo):no:no.slice((Za-1)*Yo,Za*Yo)},[!!Qt,no,Ma&&Ma.current,Ma&&Ma.pageSize,Ma&&Ma.total]),[xi,es]=di({prefixCls:oo,data:no,pageData:ti,getRowKey:Va,getRecordByKey:Ar,expandType:Kr,childrenColumnName:Wr,locale:$a,getPopupContainer:Nn||Pr},Ht),Hi=(Za,ho,Yo)=>{let Co;return typeof pn=="function"?Co=we()(pn(Za,ho,Yo)):Co=we()(pn),we()({[`${oo}-row-selected`]:es.has(Va(Za,ho))},Co)};Qr.__PARENT_RENDER_ICON__=Qr.expandIcon,Qr.expandIcon=Qr.expandIcon||Sr||ss($a),Kr==="nest"&&Qr.expandIconColumnIndex===void 0?Qr.expandIconColumnIndex=Ht?1:0:Qr.expandIconColumnIndex>0&&Ht&&(Qr.expandIconColumnIndex-=1),typeof Qr.indentSize!="number"&&(Qr.indentSize=typeof zr=="number"?zr:15);const nl=te.useCallback(Za=>$o(xi(pi(ei(Za)))),[ei,pi,xi]);let gs,Di;if(Qt!==!1&&(Ma!=null&&Ma.total)){let Za;Ma.size?Za=Ma.size:Za=So==="small"||So==="middle"?"small":void 0;const ho=ni=>te.createElement(oi.Z,Object.assign({},Ma,{className:we()(`${oo}-pagination ${oo}-pagination-${ni}`,Ma.className),size:Za})),Yo=Wn==="rtl"?"left":"right",{position:Co}=Ma;if(Co!==null&&Array.isArray(Co)){const ni=Co.find(ms=>ms.includes("top")),vi=Co.find(ms=>ms.includes("bottom")),yi=Co.every(ms=>`${ms}`=="none");!ni&&!vi&&!yi&&(Di=ho(Yo)),ni&&(gs=ho(ni.toLowerCase().replace("top",""))),vi&&(Di=ho(vi.toLowerCase().replace("bottom","")))}else Di=ho(Yo)}let hi;typeof Gn=="boolean"?hi={spinning:Gn}:typeof Gn=="object"&&(hi=Object.assign({spinning:!0},Gn));const[ui,Go]=gi(oo),[,xo]=(0,hs.Z)(),ts=we()(`${oo}-wrapper`,mr==null?void 0:mr.className,{[`${oo}-wrapper-rtl`]:Wn==="rtl"},st,gt,Go),Rs=Object.assign(Object.assign({},mr==null?void 0:mr.style),pt),ws=qn&&qn.emptyText||(xa==null?void 0:xa("Table"))||te.createElement(Ao.Z,{componentName:"Table"}),ns=ur?Li:ks,ll={},El=te.useMemo(()=>{const{fontSize:Za,lineHeight:ho,padding:Yo,paddingXS:Co,paddingSM:ni}=xo,vi=Math.floor(Za*ho);switch(So){case"large":return Yo*2+vi;case"small":return Co*2+vi;default:return ni*2+vi}},[xo,So]);return ur&&(ll.listItemHeight=El),ui(te.createElement("div",{ref:Me,className:ts,style:Rs},te.createElement(ii.Z,Object.assign({spinning:!1},hi),gs,te.createElement(ns,Object.assign({},ll,ba,{columns:Fr,direction:Wn,expandable:Qr,prefixCls:oo,className:we()({[`${oo}-middle`]:So==="middle",[`${oo}-small`]:So==="small",[`${oo}-bordered`]:It,[`${oo}-empty`]:po.length===0}),data:ti,rowKey:Va,rowClassName:Hi,emptyText:ws,internalHooks:He,internalRefs:jr,transformColumns:nl})),Di)))};var tl=te.forwardRef(Ks);const Zs=(Ie,Me)=>{const et=te.useRef(0);return et.current+=1,te.createElement(tl,Object.assign({},Ie,{ref:Me,_renderTimes:et.current}))},Ei=te.forwardRef(Zs);Ei.SELECTION_COLUMN=ha,Ei.EXPAND_COLUMN=Te,Ei.SELECTION_ALL=No,Ei.SELECTION_INVERT=Ja,Ei.SELECTION_NONE=Ro,Ei.Column=os,Ei.ColumnGroup=Lo,Ei.Summary=rt;var fs=Ei,Ws=fs},86132:function(At,Ct,Pe){"use strict";Pe.d(Ct,{default:function(){return Hn}});var Te=Pe(87462),He=Pe(4942),E=Pe(71002),ye=Pe(1413),me=Pe(74902),oe=Pe(15671),te=Pe(43144),ue=Pe(97326),de=Pe(60136),le=Pe(51630),ce=Pe(94184),ae=Pe.n(ce),ie={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Bt){var zt=Bt.keyCode;if(Bt.altKey&&!Bt.ctrlKey||Bt.metaKey||zt>=ie.F1&&zt<=ie.F12)return!1;switch(zt){case ie.ALT:case ie.CAPS_LOCK:case ie.CONTEXT_MENU:case ie.CTRL:case ie.DOWN:case ie.END:case ie.ESC:case ie.HOME:case ie.INSERT:case ie.LEFT:case ie.MAC_FF_META:case ie.META:case ie.NUMLOCK:case ie.NUM_CENTER:case ie.PAGE_DOWN:case ie.PAGE_UP:case ie.PAUSE:case ie.PRINT_SCREEN:case ie.RIGHT:case ie.SHIFT:case ie.UP:case ie.WIN_KEY:case ie.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Bt){if(Bt>=ie.ZERO&&Bt<=ie.NINE||Bt>=ie.NUM_ZERO&&Bt<=ie.NUM_MULTIPLY||Bt>=ie.A&&Bt<=ie.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Bt===0)return!0;switch(Bt){case ie.SPACE:case ie.QUESTION_MARK:case ie.NUM_PLUS:case ie.NUM_MINUS:case ie.NUM_PERIOD:case ie.NUM_DIVISION:case ie.SEMICOLON:case ie.DASH:case ie.EQUALS:case ie.COMMA:case ie.PERIOD:case ie.SLASH:case ie.APOSTROPHE:case ie.SINGLE_QUOTE:case ie.OPEN_SQUARE_BRACKET:case ie.BACKSLASH:case ie.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ne=ie,a=Pe(34952),y=Pe(72978),x=Pe(67294),b=Pe(69610);function z(wt){var Bt=wt.dropPosition,zt=wt.dropLevelOffset,ct=wt.indent,Xt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Bt){case-1:Xt.top=0,Xt.left=-zt*ct;break;case 1:Xt.bottom=0,Xt.left=-zt*ct;break;case 0:Xt.bottom=0,Xt.left=ct;break}return x.createElement("div",{style:Xt})}var ee=Pe(36459),re=Pe(97685),se=Pe(45987);function fe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ve=fe()?x.useLayoutEffect:x.useEffect,ge=ve,he=function(Bt,zt){var ct=React.useRef(!0);ve(function(){if(!ct.current)return Bt()},zt),ve(function(){return ct.current=!1,function(){ct.current=!0}},[])},pe=Pe(73299),Se=Pe(73935);function be(wt){return wt instanceof HTMLElement||wt instanceof SVGElement}function je(wt){return be(wt)?wt:wt instanceof x.Component?Se.findDOMNode(wt):null}var we=Pe(28580);function Oe(wt,Bt,zt){var ct=React.useRef({});return(!("value"in ct.current)||zt(ct.current.condition,Bt))&&(ct.current.value=wt(),ct.current.condition=Bt),ct.current.value}function Ae(wt,Bt){typeof wt=="function"?wt(Bt):(0,E.Z)(wt)==="object"&&wt&&"current"in wt&&(wt.current=Bt)}function Fe(){for(var wt=arguments.length,Bt=new Array(wt),zt=0;zt<wt;zt++)Bt[zt]=arguments[zt];var ct=Bt.filter(function(Xt){return Xt});return ct.length<=1?ct[0]:function(Xt){Bt.forEach(function(vn){Ae(vn,Xt)})}}function ke(){for(var wt=arguments.length,Bt=new Array(wt),zt=0;zt<wt;zt++)Bt[zt]=arguments[zt];return useMemo(function(){return Fe.apply(void 0,Bt)},Bt,function(ct,Xt){return ct.length===Xt.length&&ct.every(function(vn,dn){return vn===Xt[dn]})})}function Ve(wt){var Bt,zt,ct=(0,we.isMemo)(wt)?wt.type.type:wt.type;return!(typeof ct=="function"&&!((Bt=ct.prototype)!==null&&Bt!==void 0&&Bt.render)||typeof wt=="function"&&!((zt=wt.prototype)!==null&&zt!==void 0&&zt.render))}function De(wt,Bt){var zt={};return zt[wt.toLowerCase()]=Bt.toLowerCase(),zt["Webkit".concat(wt)]="webkit".concat(Bt),zt["Moz".concat(wt)]="moz".concat(Bt),zt["ms".concat(wt)]="MS".concat(Bt),zt["O".concat(wt)]="o".concat(Bt.toLowerCase()),zt}function ut(wt,Bt){var zt={animationend:De("Animation","AnimationEnd"),transitionend:De("Transition","TransitionEnd")};return wt&&("AnimationEvent"in Bt||delete zt.animationend.animation,"TransitionEvent"in Bt||delete zt.transitionend.transition),zt}var nt=ut(fe(),typeof window!="undefined"?window:{}),qe={};if(fe()){var Xe=document.createElement("div");qe=Xe.style}var $e={};function Ue(wt){if($e[wt])return $e[wt];var Bt=nt[wt];if(Bt)for(var zt=Object.keys(Bt),ct=zt.length,Xt=0;Xt<ct;Xt+=1){var vn=zt[Xt];if(Object.prototype.hasOwnProperty.call(Bt,vn)&&vn in qe)return $e[wt]=Bt[vn],$e[wt]}return""}var Be=Ue("animationend"),tt=Ue("transitionend"),Je=!!(Be&&tt),ft=Be||"animationend",Ze=tt||"transitionend";function Ge(wt,Bt){if(!wt)return null;if((0,E.Z)(wt)==="object"){var zt=Bt.replace(/-\w/g,function(ct){return ct[1].toUpperCase()});return wt[zt]}return"".concat(wt,"-").concat(Bt)}var Le="none",Ke="appear",Ee="enter",Re="leave",Qe="none",Ye="prepare",We="start",Ce="active",xe="end";function Ne(wt){var Bt=x.useRef(!1),zt=x.useState(wt),ct=(0,re.Z)(zt,2),Xt=ct[0],vn=ct[1];x.useEffect(function(){return Bt.current=!1,function(){Bt.current=!0}},[]);function dn(_t,Vt){Vt&&Bt.current||vn(_t)}return[Xt,dn]}var ze=function(Bt){return+setTimeout(Bt,16)},it=function(Bt){return clearTimeout(Bt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ze=function(Bt){return window.requestAnimationFrame(Bt)},it=function(Bt){return window.cancelAnimationFrame(Bt)});var St=0,dt=new Map;function bt(wt){dt.delete(wt)}var an=function(Bt){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;St+=1;var ct=St;function Xt(vn){if(vn===0)bt(ct),Bt();else{var dn=ze(function(){Xt(vn-1)});dt.set(ct,dn)}}return Xt(zt),ct};an.cancel=function(wt){var Bt=dt.get(wt);return bt(Bt),it(Bt)};var kt=an,lt=function(){var wt=x.useRef(null);function Bt(){kt.cancel(wt.current)}function zt(ct){var Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Bt();var vn=kt(function(){Xt<=1?ct({isCanceled:function(){return vn!==wt.current}}):zt(ct,Xt-1)});wt.current=vn}return x.useEffect(function(){return function(){Bt()}},[]),[zt,Bt]},at=fe()?x.useLayoutEffect:x.useEffect,Dt=at,rt=[Ye,We,Ce,xe],_e=!1,mt=!0;function Ot(wt){return wt===Ce||wt===xe}var xt=function(wt,Bt){var zt=Ne(Qe),ct=(0,re.Z)(zt,2),Xt=ct[0],vn=ct[1],dn=lt(),_t=(0,re.Z)(dn,2),Vt=_t[0],Kt=_t[1];function Yt(){vn(Ye,!0)}return Dt(function(){if(Xt!==Qe&&Xt!==xe){var Zt=rt.indexOf(Xt),rn=rt[Zt+1],on=Bt(Xt);on===_e?vn(rn,!0):Vt(function(In){function Un(){In.isCanceled()||vn(rn,!0)}on===!0?Un():Promise.resolve(on).then(Un)})}},[wt,Xt]),x.useEffect(function(){return function(){Kt()}},[]),[Yt,Xt]},Ut=function(wt){var Bt=(0,x.useRef)(),zt=(0,x.useRef)(wt);zt.current=wt;var ct=x.useCallback(function(dn){zt.current(dn)},[]);function Xt(dn){dn&&(dn.removeEventListener(Ze,ct),dn.removeEventListener(ft,ct))}function vn(dn){Bt.current&&Bt.current!==dn&&Xt(Bt.current),dn&&dn!==Bt.current&&(dn.addEventListener(Ze,ct),dn.addEventListener(ft,ct),Bt.current=dn)}return x.useEffect(function(){return function(){Xt(Bt.current)}},[]),[vn,Xt]};function Wt(wt,Bt,zt,ct){var Xt=ct.motionEnter,vn=Xt===void 0?!0:Xt,dn=ct.motionAppear,_t=dn===void 0?!0:dn,Vt=ct.motionLeave,Kt=Vt===void 0?!0:Vt,Yt=ct.motionDeadline,Zt=ct.motionLeaveImmediately,rn=ct.onAppearPrepare,on=ct.onEnterPrepare,In=ct.onLeavePrepare,Un=ct.onAppearStart,dr=ct.onEnterStart,En=ct.onLeaveStart,Jn=ct.onAppearActive,tr=ct.onEnterActive,ir=ct.onLeaveActive,br=ct.onAppearEnd,Zr=ct.onEnterEnd,Pa=ct.onLeaveEnd,ea=ct.onVisibleChanged,Qn=Ne(),nr=(0,re.Z)(Qn,2),Zn=nr[0],kn=nr[1],wr=Ne(Le),ua=(0,re.Z)(wr,2),wa=ua[0],Xa=ua[1],Oa=Ne(null),ao=(0,re.Z)(Oa,2),To=ao[0],Vo=ao[1],Ya=(0,x.useRef)(!1),Oo=(0,x.useRef)(null);function Ko(){return zt()}var zo=(0,x.useRef)(!1);function ri(Po){var Lo=Ko();if(!(Po&&!Po.deadline&&Po.target!==Lo)){var Or=zo.current,_i;wa===Ke&&Or?_i=br==null?void 0:br(Lo,Po):wa===Ee&&Or?_i=Zr==null?void 0:Zr(Lo,Po):wa===Re&&Or&&(_i=Pa==null?void 0:Pa(Lo,Po)),wa!==Le&&Or&&_i!==!1&&(Xa(Le,!0),Vo(null,!0))}}var Ni=Ut(ri),ki=(0,re.Z)(Ni,1),rs=ki[0],ai=x.useMemo(function(){var Po,Lo,Or;switch(wa){case Ke:return Po={},(0,He.Z)(Po,Ye,rn),(0,He.Z)(Po,We,Un),(0,He.Z)(Po,Ce,Jn),Po;case Ee:return Lo={},(0,He.Z)(Lo,Ye,on),(0,He.Z)(Lo,We,dr),(0,He.Z)(Lo,Ce,tr),Lo;case Re:return Or={},(0,He.Z)(Or,Ye,In),(0,He.Z)(Or,We,En),(0,He.Z)(Or,Ce,ir),Or;default:return{}}},[wa]),as=xt(wa,function(Po){if(Po===Ye){var Lo=ai[Ye];return Lo?Lo(Ko()):_e}if(Ci in ai){var Or;Vo(((Or=ai[Ci])===null||Or===void 0?void 0:Or.call(ai,Ko(),null))||null)}return Ci===Ce&&(rs(Ko()),Yt>0&&(clearTimeout(Oo.current),Oo.current=setTimeout(function(){ri({deadline:!0})},Yt))),mt}),Si=(0,re.Z)(as,2),ps=Si[0],Ci=Si[1],Fs=Ot(Ci);zo.current=Fs,Dt(function(){kn(Bt);var Po=Ya.current;if(Ya.current=!0,!!wt){var Lo;!Po&&Bt&&_t&&(Lo=Ke),Po&&Bt&&vn&&(Lo=Ee),(Po&&!Bt&&Kt||!Po&&Zt&&!Bt&&Kt)&&(Lo=Re),Lo&&(Xa(Lo),ps())}},[Bt]),(0,x.useEffect)(function(){(wa===Ke&&!_t||wa===Ee&&!vn||wa===Re&&!Kt)&&Xa(Le)},[_t,vn,Kt]),(0,x.useEffect)(function(){return function(){Ya.current=!1,clearTimeout(Oo.current)}},[]);var Vi=x.useRef(!1);(0,x.useEffect)(function(){Zn&&(Vi.current=!0),Zn!==void 0&&wa===Le&&((Vi.current||Zn)&&(ea==null||ea(Zn)),Vi.current=!0)},[Zn,wa]);var os=To;return ai[Ye]&&Ci===We&&(os=(0,ye.Z)({transition:"none"},os)),[wa,Ci,os,Zn!=null?Zn:Bt]}var qt=function(wt){(0,de.Z)(zt,wt);var Bt=(0,le.Z)(zt);function zt(){return(0,oe.Z)(this,zt),Bt.apply(this,arguments)}return(0,te.Z)(zt,[{key:"render",value:function(){return this.props.children}}]),zt}(x.Component),hn=qt;function jn(wt){var Bt=wt;(0,E.Z)(wt)==="object"&&(Bt=wt.transitionSupport);function zt(Xt){return!!(Xt.motionName&&Bt)}var ct=x.forwardRef(function(Xt,vn){var dn=Xt.visible,_t=dn===void 0?!0:dn,Vt=Xt.removeOnLeave,Kt=Vt===void 0?!0:Vt,Yt=Xt.forceRender,Zt=Xt.children,rn=Xt.motionName,on=Xt.leavedClassName,In=Xt.eventProps,Un=zt(Xt),dr=(0,x.useRef)(),En=(0,x.useRef)();function Jn(){try{return dr.current instanceof HTMLElement?dr.current:je(En.current)}catch(Oa){return null}}var tr=Wt(Un,_t,Jn,Xt),ir=(0,re.Z)(tr,4),br=ir[0],Zr=ir[1],Pa=ir[2],ea=ir[3],Qn=x.useRef(ea);ea&&(Qn.current=!0);var nr=x.useCallback(function(Oa){dr.current=Oa,Ae(vn,Oa)},[vn]),Zn,kn=(0,ye.Z)((0,ye.Z)({},In),{},{visible:_t});if(!Zt)Zn=null;else if(br===Le||!zt(Xt))ea?Zn=Zt((0,ye.Z)({},kn),nr):!Kt&&Qn.current&&on?Zn=Zt((0,ye.Z)((0,ye.Z)({},kn),{},{className:on}),nr):Yt||!Kt&&!on?Zn=Zt((0,ye.Z)((0,ye.Z)({},kn),{},{style:{display:"none"}}),nr):Zn=null;else{var wr,ua;Zr===Ye?ua="prepare":Ot(Zr)?ua="active":Zr===We&&(ua="start"),Zn=Zt((0,ye.Z)((0,ye.Z)({},kn),{},{className:ae()(Ge(rn,br),(wr={},(0,He.Z)(wr,Ge(rn,"".concat(br,"-").concat(ua)),ua),(0,He.Z)(wr,rn,typeof rn=="string"),wr)),style:Pa}),nr)}if(x.isValidElement(Zn)&&Ve(Zn)){var wa=Zn,Xa=wa.ref;Xa||(Zn=x.cloneElement(Zn,{ref:nr}))}return x.createElement(hn,{ref:En},Zn)});return ct.displayName="CSSMotion",ct}var Tn=jn(Je),Fn="add",pr="keep",yr="remove",Cr="removed";function Ur(wt){var Bt;return wt&&(0,E.Z)(wt)==="object"&&"key"in wt?Bt=wt:Bt={key:wt},(0,ye.Z)((0,ye.Z)({},Bt),{},{key:String(Bt.key)})}function Hr(){var wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return wt.map(Ur)}function ma(){var wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],zt=[],ct=0,Xt=Bt.length,vn=Hr(wt),dn=Hr(Bt);vn.forEach(function(Kt){for(var Yt=!1,Zt=ct;Zt<Xt;Zt+=1){var rn=dn[Zt];if(rn.key===Kt.key){ct<Zt&&(zt=zt.concat(dn.slice(ct,Zt).map(function(on){return(0,ye.Z)((0,ye.Z)({},on),{},{status:Fn})})),ct=Zt),zt.push((0,ye.Z)((0,ye.Z)({},rn),{},{status:pr})),ct+=1,Yt=!0;break}}Yt||zt.push((0,ye.Z)((0,ye.Z)({},Kt),{},{status:yr}))}),ct<Xt&&(zt=zt.concat(dn.slice(ct).map(function(Kt){return(0,ye.Z)((0,ye.Z)({},Kt),{},{status:Fn})})));var _t={};zt.forEach(function(Kt){var Yt=Kt.key;_t[Yt]=(_t[Yt]||0)+1});var Vt=Object.keys(_t).filter(function(Kt){return _t[Kt]>1});return Vt.forEach(function(Kt){zt=zt.filter(function(Yt){var Zt=Yt.key,rn=Yt.status;return Zt!==Kt||rn!==yr}),zt.forEach(function(Yt){Yt.key===Kt&&(Yt.status=pr)})}),zt}var Da=["component","children","onVisibleChanged","onAllRemoved"],ya=["status"],da=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function fn(wt){var Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Tn,zt=function(ct){(0,de.Z)(vn,ct);var Xt=(0,le.Z)(vn);function vn(){var dn;(0,oe.Z)(this,vn);for(var _t=arguments.length,Vt=new Array(_t),Kt=0;Kt<_t;Kt++)Vt[Kt]=arguments[Kt];return dn=Xt.call.apply(Xt,[this].concat(Vt)),(0,He.Z)((0,ue.Z)(dn),"state",{keyEntities:[]}),(0,He.Z)((0,ue.Z)(dn),"removeKey",function(Yt){var Zt=dn.state.keyEntities,rn=Zt.map(function(on){return on.key!==Yt?on:(0,ye.Z)((0,ye.Z)({},on),{},{status:Cr})});return dn.setState({keyEntities:rn}),rn.filter(function(on){var In=on.status;return In!==Cr}).length}),dn}return(0,te.Z)(vn,[{key:"render",value:function(){var _t=this,Vt=this.state.keyEntities,Kt=this.props,Yt=Kt.component,Zt=Kt.children,rn=Kt.onVisibleChanged,on=Kt.onAllRemoved,In=(0,se.Z)(Kt,Da),Un=Yt||x.Fragment,dr={};return da.forEach(function(En){dr[En]=In[En],delete In[En]}),delete In.keys,x.createElement(Un,In,Vt.map(function(En){var Jn=En.status,tr=(0,se.Z)(En,ya),ir=Jn===Fn||Jn===pr;return x.createElement(Bt,(0,Te.Z)({},dr,{key:tr.key,visible:ir,eventProps:tr,onVisibleChanged:function(Zr){if(rn==null||rn(Zr,{key:tr.key}),!Zr){var Pa=_t.removeKey(tr.key);Pa===0&&on&&on()}}}),Zt)}))}}],[{key:"getDerivedStateFromProps",value:function(_t,Vt){var Kt=_t.keys,Yt=Vt.keyEntities,Zt=Hr(Kt),rn=ma(Yt,Zt);return{keyEntities:rn.filter(function(on){var In=Yt.find(function(Un){var dr=Un.key;return on.key===dr});return!(In&&In.status===Cr&&on.status===yr)})}}}]),vn}(x.Component);return(0,He.Z)(zt,"defaultProps",{component:"div"}),zt}var xn=fn(Je),Rn=Tn,oa=Pe(56261);function ar(wt,Bt){var zt=x.useState(!1),ct=(0,re.Z)(zt,2),Xt=ct[0],vn=ct[1];x.useLayoutEffect(function(){if(Xt)return wt(),function(){Bt()}},[Xt]),x.useLayoutEffect(function(){return vn(!0),function(){vn(!1)}},[])}var _n=Pe(83898),Rt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Mt=function(Bt,zt){var ct=Bt.className,Xt=Bt.style,vn=Bt.motion,dn=Bt.motionNodes,_t=Bt.motionType,Vt=Bt.onMotionStart,Kt=Bt.onMotionEnd,Yt=Bt.active,Zt=Bt.treeNodeRequiredProps,rn=(0,se.Z)(Bt,Rt),on=x.useState(!0),In=(0,re.Z)(on,2),Un=In[0],dr=In[1],En=x.useContext(b.k),Jn=En.prefixCls,tr=dn&&_t!=="hide";ge(function(){dn&&tr!==Un&&dr(tr)},[dn]);var ir=function(){dn&&Vt()},br=x.useRef(!1),Zr=function(){dn&&!br.current&&(br.current=!0,Kt())};ar(ir,Zr);var Pa=function(Qn){tr===Qn&&Zr()};return dn?x.createElement(Rn,(0,Te.Z)({ref:zt,visible:Un},vn,{motionAppear:_t==="show",onVisibleChanged:Pa}),function(ea,Qn){var nr=ea.className,Zn=ea.style;return x.createElement("div",{ref:Qn,className:ae()("".concat(Jn,"-treenode-motion"),nr),style:Zn},dn.map(function(kn){var wr=(0,Te.Z)({},((0,ee.Z)(kn.data),kn.data)),ua=kn.title,wa=kn.key,Xa=kn.isStart,Oa=kn.isEnd;delete wr.children;var ao=(0,_n.H8)(wa,Zt);return x.createElement(oa.Z,(0,Te.Z)({},wr,ao,{title:ua,active:Yt,data:kn.data,key:wa,isStart:Xa,isEnd:Oa}))}))}):x.createElement(oa.Z,(0,Te.Z)({domRef:zt,className:ct,style:Xt},rn,{active:Yt}))};Mt.displayName="MotionTreeNode";var Lt=x.forwardRef(Mt),Pn=Lt;function zn(){var wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],zt=wt.length,ct=Bt.length;if(Math.abs(zt-ct)!==1)return{add:!1,key:null};function Xt(vn,dn){var _t=new Map;vn.forEach(function(Kt){_t.set(Kt,!0)});var Vt=dn.filter(function(Kt){return!_t.has(Kt)});return Vt.length===1?Vt[0]:null}return zt<ct?{add:!0,key:Xt(wt,Bt)}:{add:!1,key:Xt(Bt,wt)}}function $n(wt,Bt,zt){var ct=wt.findIndex(function(_t){return _t.key===zt}),Xt=wt[ct+1],vn=Bt.findIndex(function(_t){return _t.key===zt});if(Xt){var dn=Bt.findIndex(function(_t){return _t.key===Xt.key});return Bt.slice(vn+1,dn)}return Bt.slice(vn+1)}var _r=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Vr={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Xr=function(){},aa="RC_TREE_MOTION_".concat(Math.random()),sa={key:aa},Cn={key:aa,level:0,index:0,pos:"0",node:sa,nodes:[sa]},Mr={parent:null,children:[],pos:Cn.pos,data:sa,title:null,key:aa,isStart:[],isEnd:[]};function Nr(wt,Bt,zt,ct){return Bt===!1||!zt?wt:wt.slice(0,Math.ceil(zt/ct)+1)}function La(wt){var Bt=wt.key,zt=wt.pos;return(0,_n.km)(Bt,zt)}function Na(wt){for(var Bt=String(wt.data.key),zt=wt;zt.parent;)zt=zt.parent,Bt="".concat(zt.data.key," > ").concat(Bt);return Bt}var Ca=x.forwardRef(function(wt,Bt){var zt=wt.prefixCls,ct=wt.data,Xt=wt.selectable,vn=wt.checkable,dn=wt.expandedKeys,_t=wt.selectedKeys,Vt=wt.checkedKeys,Kt=wt.loadedKeys,Yt=wt.loadingKeys,Zt=wt.halfCheckedKeys,rn=wt.keyEntities,on=wt.disabled,In=wt.dragging,Un=wt.dragOverNodeKey,dr=wt.dropPosition,En=wt.motion,Jn=wt.height,tr=wt.itemHeight,ir=wt.virtual,br=wt.focusable,Zr=wt.activeItem,Pa=wt.focused,ea=wt.tabIndex,Qn=wt.onKeyDown,nr=wt.onFocus,Zn=wt.onBlur,kn=wt.onActiveChange,wr=wt.onListChangeStart,ua=wt.onListChangeEnd,wa=(0,se.Z)(wt,_r),Xa=x.useRef(null),Oa=x.useRef(null);x.useImperativeHandle(Bt,function(){return{scrollTo:function(Ii){Xa.current.scrollTo(Ii)},getIndentWidth:function(){return Oa.current.offsetWidth}}});var ao=x.useState(dn),To=(0,re.Z)(ao,2),Vo=To[0],Ya=To[1],Oo=x.useState(ct),Ko=(0,re.Z)(Oo,2),zo=Ko[0],ri=Ko[1],Ni=x.useState(ct),ki=(0,re.Z)(Ni,2),rs=ki[0],ai=ki[1],as=x.useState([]),Si=(0,re.Z)(as,2),ps=Si[0],Ci=Si[1],Fs=x.useState(null),Vi=(0,re.Z)(Fs,2),os=Vi[0],Po=Vi[1],Lo=x.useRef(ct);Lo.current=ct;function Or(){var Ao=Lo.current;ri(Ao),ai(Ao),Ci([]),Po(null),ua()}ge(function(){Ya(dn);var Ao=zn(Vo,dn);if(Ao.key!==null)if(Ao.add){var Ii=zo.findIndex(function(is){var ss=is.key;return ss===Ao.key}),$i=Nr($n(zo,ct,Ao.key),ir,Jn,tr),Xi=zo.slice();Xi.splice(Ii+1,0,Mr),ai(Xi),Ci($i),Po("show")}else{var oi=ct.findIndex(function(is){var ss=is.key;return ss===Ao.key}),ii=Nr($n(ct,zo,Ao.key),ir,Jn,tr),hs=ct.slice();hs.splice(oi+1,0,Mr),ai(hs),Ci(ii),Po("hide")}else zo!==ct&&(ri(ct),ai(ct))},[dn,ct]),x.useEffect(function(){In||Or()},[In]);var _i=En?rs:ct,Cs={expandedKeys:dn,selectedKeys:_t,loadedKeys:Kt,loadingKeys:Yt,checkedKeys:Vt,halfCheckedKeys:Zt,dragOverNodeKey:Un,dropPosition:dr,keyEntities:rn};return x.createElement(x.Fragment,null,Pa&&Zr&&x.createElement("span",{style:Vr,"aria-live":"assertive"},Na(Zr)),x.createElement("div",null,x.createElement("input",{style:Vr,disabled:br===!1||on,tabIndex:br!==!1?ea:null,onKeyDown:Qn,onFocus:nr,onBlur:Zn,value:"",onChange:Xr,"aria-label":"for screen reader"})),x.createElement("div",{className:"".concat(zt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},x.createElement("div",{className:"".concat(zt,"-indent")},x.createElement("div",{ref:Oa,className:"".concat(zt,"-indent-unit")}))),x.createElement(pe.Z,(0,Te.Z)({},wa,{data:_i,itemKey:La,height:Jn,fullHeight:!1,virtual:ir,itemHeight:tr,prefixCls:"".concat(zt,"-list"),ref:Xa,onVisibleChange:function(Ii,$i){var Xi=new Set(Ii),oi=$i.filter(function(ii){return!Xi.has(ii)});oi.some(function(ii){return La(ii)===aa})&&Or()}}),function(Ao){var Ii=Ao.pos,$i=(0,Te.Z)({},((0,ee.Z)(Ao.data),Ao.data)),Xi=Ao.title,oi=Ao.key,ii=Ao.isStart,hs=Ao.isEnd,is=(0,_n.km)(oi,Ii);delete $i.key,delete $i.children;var ss=(0,_n.H8)(is,Cs);return x.createElement(Pn,(0,Te.Z)({},$i,ss,{title:Xi,active:!!Zr&&oi===Zr.key,pos:Ii,data:Ao.data,isStart:ii,isEnd:hs,motion:En,motionNodes:oi===aa?ps:null,motionType:os,onMotionStart:wr,onMotionEnd:Or,treeNodeRequiredProps:Cs,onMouseMove:function(){kn(null)}}))}))});Ca.displayName="NodeList";var Wa=Ca,ia=Pe(29873),jt=Pe(97153),en=Pe(3596),tn=10,sn=function(wt){(0,de.Z)(zt,wt);var Bt=(0,le.Z)(zt);function zt(){var ct;(0,oe.Z)(this,zt);for(var Xt=arguments.length,vn=new Array(Xt),dn=0;dn<Xt;dn++)vn[dn]=arguments[dn];return ct=Bt.call.apply(Bt,[this].concat(vn)),ct.destroyed=!1,ct.delayedDragEnterLogic=void 0,ct.loadingRetryTimes={},ct.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,_n.w$)()},ct.dragStartMousePosition=null,ct.dragNode=void 0,ct.currentMouseOverDroppableNodeKey=null,ct.listRef=x.createRef(),ct.onNodeDragStart=function(_t,Vt){var Kt=ct.state,Yt=Kt.expandedKeys,Zt=Kt.keyEntities,rn=ct.props.onDragStart,on=Vt.props.eventKey;ct.dragNode=Vt,ct.dragStartMousePosition={x:_t.clientX,y:_t.clientY};var In=(0,ia._5)(Yt,on);ct.setState({draggingNodeKey:on,dragChildrenKeys:(0,ia.wA)(on,Zt),indent:ct.listRef.current.getIndentWidth()}),ct.setExpandedKeys(In),window.addEventListener("dragend",ct.onWindowDragEnd),rn==null||rn({event:_t,node:(0,_n.F)(Vt.props)})},ct.onNodeDragEnter=function(_t,Vt){var Kt=ct.state,Yt=Kt.expandedKeys,Zt=Kt.keyEntities,rn=Kt.dragChildrenKeys,on=Kt.flattenNodes,In=Kt.indent,Un=ct.props,dr=Un.onDragEnter,En=Un.onExpand,Jn=Un.allowDrop,tr=Un.direction,ir=Vt.props,br=ir.pos,Zr=ir.eventKey,Pa=(0,ue.Z)(ct),ea=Pa.dragNode;if(ct.currentMouseOverDroppableNodeKey!==Zr&&(ct.currentMouseOverDroppableNodeKey=Zr),!ea){ct.resetDragState();return}var Qn=(0,ia.OM)(_t,ea,Vt,In,ct.dragStartMousePosition,Jn,on,Zt,Yt,tr),nr=Qn.dropPosition,Zn=Qn.dropLevelOffset,kn=Qn.dropTargetKey,wr=Qn.dropContainerKey,ua=Qn.dropTargetPos,wa=Qn.dropAllowed,Xa=Qn.dragOverNodeKey;if(rn.indexOf(kn)!==-1||!wa){ct.resetDragState();return}if(ct.delayedDragEnterLogic||(ct.delayedDragEnterLogic={}),Object.keys(ct.delayedDragEnterLogic).forEach(function(Oa){clearTimeout(ct.delayedDragEnterLogic[Oa])}),ea.props.eventKey!==Vt.props.eventKey&&(_t.persist(),ct.delayedDragEnterLogic[br]=window.setTimeout(function(){if(ct.state.draggingNodeKey!==null){var Oa=(0,me.Z)(Yt),ao=(0,en.Z)(Zt,Vt.props.eventKey);ao&&(ao.children||[]).length&&(Oa=(0,ia.L0)(Yt,Vt.props.eventKey)),"expandedKeys"in ct.props||ct.setExpandedKeys(Oa),En==null||En(Oa,{node:(0,_n.F)(Vt.props),expanded:!0,nativeEvent:_t.nativeEvent})}},800)),ea.props.eventKey===kn&&Zn===0){ct.resetDragState();return}ct.setState({dragOverNodeKey:Xa,dropPosition:nr,dropLevelOffset:Zn,dropTargetKey:kn,dropContainerKey:wr,dropTargetPos:ua,dropAllowed:wa}),dr==null||dr({event:_t,node:(0,_n.F)(Vt.props),expandedKeys:Yt})},ct.onNodeDragOver=function(_t,Vt){var Kt=ct.state,Yt=Kt.dragChildrenKeys,Zt=Kt.flattenNodes,rn=Kt.keyEntities,on=Kt.expandedKeys,In=Kt.indent,Un=ct.props,dr=Un.onDragOver,En=Un.allowDrop,Jn=Un.direction,tr=(0,ue.Z)(ct),ir=tr.dragNode;if(ir){var br=(0,ia.OM)(_t,ir,Vt,In,ct.dragStartMousePosition,En,Zt,rn,on,Jn),Zr=br.dropPosition,Pa=br.dropLevelOffset,ea=br.dropTargetKey,Qn=br.dropContainerKey,nr=br.dropAllowed,Zn=br.dropTargetPos,kn=br.dragOverNodeKey;Yt.indexOf(ea)!==-1||!nr||(ir.props.eventKey===ea&&Pa===0?ct.state.dropPosition===null&&ct.state.dropLevelOffset===null&&ct.state.dropTargetKey===null&&ct.state.dropContainerKey===null&&ct.state.dropTargetPos===null&&ct.state.dropAllowed===!1&&ct.state.dragOverNodeKey===null||ct.resetDragState():Zr===ct.state.dropPosition&&Pa===ct.state.dropLevelOffset&&ea===ct.state.dropTargetKey&&Qn===ct.state.dropContainerKey&&Zn===ct.state.dropTargetPos&&nr===ct.state.dropAllowed&&kn===ct.state.dragOverNodeKey||ct.setState({dropPosition:Zr,dropLevelOffset:Pa,dropTargetKey:ea,dropContainerKey:Qn,dropTargetPos:Zn,dropAllowed:nr,dragOverNodeKey:kn}),dr==null||dr({event:_t,node:(0,_n.F)(Vt.props)}))}},ct.onNodeDragLeave=function(_t,Vt){ct.currentMouseOverDroppableNodeKey===Vt.props.eventKey&&!_t.currentTarget.contains(_t.relatedTarget)&&(ct.resetDragState(),ct.currentMouseOverDroppableNodeKey=null);var Kt=ct.props.onDragLeave;Kt==null||Kt({event:_t,node:(0,_n.F)(Vt.props)})},ct.onWindowDragEnd=function(_t){ct.onNodeDragEnd(_t,null,!0),window.removeEventListener("dragend",ct.onWindowDragEnd)},ct.onNodeDragEnd=function(_t,Vt){var Kt=ct.props.onDragEnd;ct.setState({dragOverNodeKey:null}),ct.cleanDragState(),Kt==null||Kt({event:_t,node:(0,_n.F)(Vt.props)}),ct.dragNode=null,window.removeEventListener("dragend",ct.onWindowDragEnd)},ct.onNodeDrop=function(_t,Vt){var Kt,Yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Zt=ct.state,rn=Zt.dragChildrenKeys,on=Zt.dropPosition,In=Zt.dropTargetKey,Un=Zt.dropTargetPos,dr=Zt.dropAllowed;if(dr){var En=ct.props.onDrop;if(ct.setState({dragOverNodeKey:null}),ct.cleanDragState(),In!==null){var Jn=(0,ye.Z)((0,ye.Z)({},(0,_n.H8)(In,ct.getTreeNodeRequiredProps())),{},{active:((Kt=ct.getActiveItem())===null||Kt===void 0?void 0:Kt.key)===In,data:(0,en.Z)(ct.state.keyEntities,In).node}),tr=rn.indexOf(In)!==-1;(0,y.ZP)(!tr,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ir=(0,ia.yx)(Un),br={event:_t,node:(0,_n.F)(Jn),dragNode:ct.dragNode?(0,_n.F)(ct.dragNode.props):null,dragNodesKeys:[ct.dragNode.props.eventKey].concat(rn),dropToGap:on!==0,dropPosition:on+Number(ir[ir.length-1])};Yt||En==null||En(br),ct.dragNode=null}}},ct.cleanDragState=function(){var _t=ct.state.draggingNodeKey;_t!==null&&ct.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ct.dragStartMousePosition=null,ct.currentMouseOverDroppableNodeKey=null},ct.triggerExpandActionExpand=function(_t,Vt){var Kt=ct.state,Yt=Kt.expandedKeys,Zt=Kt.flattenNodes,rn=Vt.expanded,on=Vt.key,In=Vt.isLeaf;if(!(In||_t.shiftKey||_t.metaKey||_t.ctrlKey)){var Un=Zt.filter(function(En){return En.key===on})[0],dr=(0,_n.F)((0,ye.Z)((0,ye.Z)({},(0,_n.H8)(on,ct.getTreeNodeRequiredProps())),{},{data:Un.data}));ct.setExpandedKeys(rn?(0,ia._5)(Yt,on):(0,ia.L0)(Yt,on)),ct.onNodeExpand(_t,dr)}},ct.onNodeClick=function(_t,Vt){var Kt=ct.props,Yt=Kt.onClick,Zt=Kt.expandAction;Zt==="click"&&ct.triggerExpandActionExpand(_t,Vt),Yt==null||Yt(_t,Vt)},ct.onNodeDoubleClick=function(_t,Vt){var Kt=ct.props,Yt=Kt.onDoubleClick,Zt=Kt.expandAction;Zt==="doubleClick"&&ct.triggerExpandActionExpand(_t,Vt),Yt==null||Yt(_t,Vt)},ct.onNodeSelect=function(_t,Vt){var Kt=ct.state.selectedKeys,Yt=ct.state,Zt=Yt.keyEntities,rn=Yt.fieldNames,on=ct.props,In=on.onSelect,Un=on.multiple,dr=Vt.selected,En=Vt[rn.key],Jn=!dr;Jn?Un?Kt=(0,ia.L0)(Kt,En):Kt=[En]:Kt=(0,ia._5)(Kt,En);var tr=Kt.map(function(ir){var br=(0,en.Z)(Zt,ir);return br?br.node:null}).filter(function(ir){return ir});ct.setUncontrolledState({selectedKeys:Kt}),In==null||In(Kt,{event:"select",selected:Jn,node:Vt,selectedNodes:tr,nativeEvent:_t.nativeEvent})},ct.onNodeCheck=function(_t,Vt,Kt){var Yt=ct.state,Zt=Yt.keyEntities,rn=Yt.checkedKeys,on=Yt.halfCheckedKeys,In=ct.props,Un=In.checkStrictly,dr=In.onCheck,En=Vt.key,Jn,tr={event:"check",node:Vt,checked:Kt,nativeEvent:_t.nativeEvent};if(Un){var ir=Kt?(0,ia.L0)(rn,En):(0,ia._5)(rn,En),br=(0,ia._5)(on,En);Jn={checked:ir,halfChecked:br},tr.checkedNodes=ir.map(function(Zn){return(0,en.Z)(Zt,Zn)}).filter(function(Zn){return Zn}).map(function(Zn){return Zn.node}),ct.setUncontrolledState({checkedKeys:ir})}else{var Zr=(0,jt.S)([].concat((0,me.Z)(rn),[En]),!0,Zt),Pa=Zr.checkedKeys,ea=Zr.halfCheckedKeys;if(!Kt){var Qn=new Set(Pa);Qn.delete(En);var nr=(0,jt.S)(Array.from(Qn),{checked:!1,halfCheckedKeys:ea},Zt);Pa=nr.checkedKeys,ea=nr.halfCheckedKeys}Jn=Pa,tr.checkedNodes=[],tr.checkedNodesPositions=[],tr.halfCheckedKeys=ea,Pa.forEach(function(Zn){var kn=(0,en.Z)(Zt,Zn);if(kn){var wr=kn.node,ua=kn.pos;tr.checkedNodes.push(wr),tr.checkedNodesPositions.push({node:wr,pos:ua})}}),ct.setUncontrolledState({checkedKeys:Pa},!1,{halfCheckedKeys:ea})}dr==null||dr(Jn,tr)},ct.onNodeLoad=function(_t){var Vt=_t.key,Kt=new Promise(function(Yt,Zt){ct.setState(function(rn){var on=rn.loadedKeys,In=on===void 0?[]:on,Un=rn.loadingKeys,dr=Un===void 0?[]:Un,En=ct.props,Jn=En.loadData,tr=En.onLoad;if(!Jn||In.indexOf(Vt)!==-1||dr.indexOf(Vt)!==-1)return null;var ir=Jn(_t);return ir.then(function(){var br=ct.state.loadedKeys,Zr=(0,ia.L0)(br,Vt);tr==null||tr(Zr,{event:"load",node:_t}),ct.setUncontrolledState({loadedKeys:Zr}),ct.setState(function(Pa){return{loadingKeys:(0,ia._5)(Pa.loadingKeys,Vt)}}),Yt()}).catch(function(br){if(ct.setState(function(Pa){return{loadingKeys:(0,ia._5)(Pa.loadingKeys,Vt)}}),ct.loadingRetryTimes[Vt]=(ct.loadingRetryTimes[Vt]||0)+1,ct.loadingRetryTimes[Vt]>=tn){var Zr=ct.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ct.setUncontrolledState({loadedKeys:(0,ia.L0)(Zr,Vt)}),Yt()}Zt(br)}),{loadingKeys:(0,ia.L0)(dr,Vt)}})});return Kt.catch(function(){}),Kt},ct.onNodeMouseEnter=function(_t,Vt){var Kt=ct.props.onMouseEnter;Kt==null||Kt({event:_t,node:Vt})},ct.onNodeMouseLeave=function(_t,Vt){var Kt=ct.props.onMouseLeave;Kt==null||Kt({event:_t,node:Vt})},ct.onNodeContextMenu=function(_t,Vt){var Kt=ct.props.onRightClick;Kt&&(_t.preventDefault(),Kt({event:_t,node:Vt}))},ct.onFocus=function(){var _t=ct.props.onFocus;ct.setState({focused:!0});for(var Vt=arguments.length,Kt=new Array(Vt),Yt=0;Yt<Vt;Yt++)Kt[Yt]=arguments[Yt];_t==null||_t.apply(void 0,Kt)},ct.onBlur=function(){var _t=ct.props.onBlur;ct.setState({focused:!1}),ct.onActiveChange(null);for(var Vt=arguments.length,Kt=new Array(Vt),Yt=0;Yt<Vt;Yt++)Kt[Yt]=arguments[Yt];_t==null||_t.apply(void 0,Kt)},ct.getTreeNodeRequiredProps=function(){var _t=ct.state,Vt=_t.expandedKeys,Kt=_t.selectedKeys,Yt=_t.loadedKeys,Zt=_t.loadingKeys,rn=_t.checkedKeys,on=_t.halfCheckedKeys,In=_t.dragOverNodeKey,Un=_t.dropPosition,dr=_t.keyEntities;return{expandedKeys:Vt||[],selectedKeys:Kt||[],loadedKeys:Yt||[],loadingKeys:Zt||[],checkedKeys:rn||[],halfCheckedKeys:on||[],dragOverNodeKey:In,dropPosition:Un,keyEntities:dr}},ct.setExpandedKeys=function(_t){var Vt=ct.state,Kt=Vt.treeData,Yt=Vt.fieldNames,Zt=(0,_n.oH)(Kt,_t,Yt);ct.setUncontrolledState({expandedKeys:_t,flattenNodes:Zt},!0)},ct.onNodeExpand=function(_t,Vt){var Kt=ct.state.expandedKeys,Yt=ct.state,Zt=Yt.listChanging,rn=Yt.fieldNames,on=ct.props,In=on.onExpand,Un=on.loadData,dr=Vt.expanded,En=Vt[rn.key];if(!Zt){var Jn=Kt.indexOf(En),tr=!dr;if((0,y.ZP)(dr&&Jn!==-1||!dr&&Jn===-1,"Expand state not sync with index check"),tr?Kt=(0,ia.L0)(Kt,En):Kt=(0,ia._5)(Kt,En),ct.setExpandedKeys(Kt),In==null||In(Kt,{node:Vt,expanded:tr,nativeEvent:_t.nativeEvent}),tr&&Un){var ir=ct.onNodeLoad(Vt);ir&&ir.then(function(){var br=(0,_n.oH)(ct.state.treeData,Kt,rn);ct.setUncontrolledState({flattenNodes:br})}).catch(function(){var br=ct.state.expandedKeys,Zr=(0,ia._5)(br,En);ct.setExpandedKeys(Zr)})}}},ct.onListChangeStart=function(){ct.setUncontrolledState({listChanging:!0})},ct.onListChangeEnd=function(){setTimeout(function(){ct.setUncontrolledState({listChanging:!1})})},ct.onActiveChange=function(_t){var Vt=ct.state.activeKey,Kt=ct.props.onActiveChange;Vt!==_t&&(ct.setState({activeKey:_t}),_t!==null&&ct.scrollTo({key:_t}),Kt==null||Kt(_t))},ct.getActiveItem=function(){var _t=ct.state,Vt=_t.activeKey,Kt=_t.flattenNodes;return Vt===null?null:Kt.find(function(Yt){var Zt=Yt.key;return Zt===Vt})||null},ct.offsetActiveKey=function(_t){var Vt=ct.state,Kt=Vt.flattenNodes,Yt=Vt.activeKey,Zt=Kt.findIndex(function(In){var Un=In.key;return Un===Yt});Zt===-1&&_t<0&&(Zt=Kt.length),Zt=(Zt+_t+Kt.length)%Kt.length;var rn=Kt[Zt];if(rn){var on=rn.key;ct.onActiveChange(on)}else ct.onActiveChange(null)},ct.onKeyDown=function(_t){var Vt=ct.state,Kt=Vt.activeKey,Yt=Vt.expandedKeys,Zt=Vt.checkedKeys,rn=Vt.fieldNames,on=ct.props,In=on.onKeyDown,Un=on.checkable,dr=on.selectable;switch(_t.which){case ne.UP:{ct.offsetActiveKey(-1),_t.preventDefault();break}case ne.DOWN:{ct.offsetActiveKey(1),_t.preventDefault();break}}var En=ct.getActiveItem();if(En&&En.data){var Jn=ct.getTreeNodeRequiredProps(),tr=En.data.isLeaf===!1||!!(En.data[rn.children]||[]).length,ir=(0,_n.F)((0,ye.Z)((0,ye.Z)({},(0,_n.H8)(Kt,Jn)),{},{data:En.data,active:!0}));switch(_t.which){case ne.LEFT:{tr&&Yt.includes(Kt)?ct.onNodeExpand({},ir):En.parent&&ct.onActiveChange(En.parent.key),_t.preventDefault();break}case ne.RIGHT:{tr&&!Yt.includes(Kt)?ct.onNodeExpand({},ir):En.children&&En.children.length&&ct.onActiveChange(En.children[0].key),_t.preventDefault();break}case ne.ENTER:case ne.SPACE:{Un&&!ir.disabled&&ir.checkable!==!1&&!ir.disableCheckbox?ct.onNodeCheck({},ir,!Zt.includes(Kt)):!Un&&dr&&!ir.disabled&&ir.selectable!==!1&&ct.onNodeSelect({},ir);break}}}In==null||In(_t)},ct.setUncontrolledState=function(_t){var Vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ct.destroyed){var Yt=!1,Zt=!0,rn={};Object.keys(_t).forEach(function(on){if(on in ct.props){Zt=!1;return}Yt=!0,rn[on]=_t[on]}),Yt&&(!Vt||Zt)&&ct.setState((0,ye.Z)((0,ye.Z)({},rn),Kt))}},ct.scrollTo=function(_t){ct.listRef.current.scrollTo(_t)},ct}return(0,te.Z)(zt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Xt=this.props.activeKey;Xt!==void 0&&Xt!==this.state.activeKey&&(this.setState({activeKey:Xt}),Xt!==null&&this.scrollTo({key:Xt}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Xt,vn=this.state,dn=vn.focused,_t=vn.flattenNodes,Vt=vn.keyEntities,Kt=vn.draggingNodeKey,Yt=vn.activeKey,Zt=vn.dropLevelOffset,rn=vn.dropContainerKey,on=vn.dropTargetKey,In=vn.dropPosition,Un=vn.dragOverNodeKey,dr=vn.indent,En=this.props,Jn=En.prefixCls,tr=En.className,ir=En.style,br=En.showLine,Zr=En.focusable,Pa=En.tabIndex,ea=Pa===void 0?0:Pa,Qn=En.selectable,nr=En.showIcon,Zn=En.icon,kn=En.switcherIcon,wr=En.draggable,ua=En.checkable,wa=En.checkStrictly,Xa=En.disabled,Oa=En.motion,ao=En.loadData,To=En.filterTreeNode,Vo=En.height,Ya=En.itemHeight,Oo=En.virtual,Ko=En.titleRender,zo=En.dropIndicatorRender,ri=En.onContextMenu,Ni=En.onScroll,ki=En.direction,rs=En.rootClassName,ai=En.rootStyle,as=(0,a.Z)(this.props,{aria:!0,data:!0}),Si;return wr&&((0,E.Z)(wr)==="object"?Si=wr:typeof wr=="function"?Si={nodeDraggable:wr}:Si={}),x.createElement(b.k.Provider,{value:{prefixCls:Jn,selectable:Qn,showIcon:nr,icon:Zn,switcherIcon:kn,draggable:Si,draggingNodeKey:Kt,checkable:ua,checkStrictly:wa,disabled:Xa,keyEntities:Vt,dropLevelOffset:Zt,dropContainerKey:rn,dropTargetKey:on,dropPosition:In,dragOverNodeKey:Un,indent:dr,direction:ki,dropIndicatorRender:zo,loadData:ao,filterTreeNode:To,titleRender:Ko,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},x.createElement("div",{role:"tree",className:ae()(Jn,tr,rs,(Xt={},(0,He.Z)(Xt,"".concat(Jn,"-show-line"),br),(0,He.Z)(Xt,"".concat(Jn,"-focused"),dn),(0,He.Z)(Xt,"".concat(Jn,"-active-focused"),Yt!==null),Xt)),style:ai},x.createElement(Wa,(0,Te.Z)({ref:this.listRef,prefixCls:Jn,style:ir,data:_t,disabled:Xa,selectable:Qn,checkable:!!ua,motion:Oa,dragging:Kt!==null,height:Vo,itemHeight:Ya,virtual:Oo,focusable:Zr,focused:dn,tabIndex:ea,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ri,onScroll:Ni},this.getTreeNodeRequiredProps(),as))))}}],[{key:"getDerivedStateFromProps",value:function(Xt,vn){var dn=vn.prevProps,_t={prevProps:Xt};function Vt(Zr){return!dn&&Zr in Xt||dn&&dn[Zr]!==Xt[Zr]}var Kt,Yt=vn.fieldNames;if(Vt("fieldNames")&&(Yt=(0,_n.w$)(Xt.fieldNames),_t.fieldNames=Yt),Vt("treeData")?Kt=Xt.treeData:Vt("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Kt=(0,_n.zn)(Xt.children)),Kt){_t.treeData=Kt;var Zt=(0,_n.I8)(Kt,{fieldNames:Yt});_t.keyEntities=(0,ye.Z)((0,He.Z)({},aa,Cn),Zt.keyEntities)}var rn=_t.keyEntities||vn.keyEntities;if(Vt("expandedKeys")||dn&&Vt("autoExpandParent"))_t.expandedKeys=Xt.autoExpandParent||!dn&&Xt.defaultExpandParent?(0,ia.r7)(Xt.expandedKeys,rn):Xt.expandedKeys;else if(!dn&&Xt.defaultExpandAll){var on=(0,ye.Z)({},rn);delete on[aa],_t.expandedKeys=Object.keys(on).map(function(Zr){return on[Zr].key})}else!dn&&Xt.defaultExpandedKeys&&(_t.expandedKeys=Xt.autoExpandParent||Xt.defaultExpandParent?(0,ia.r7)(Xt.defaultExpandedKeys,rn):Xt.defaultExpandedKeys);if(_t.expandedKeys||delete _t.expandedKeys,Kt||_t.expandedKeys){var In=(0,_n.oH)(Kt||vn.treeData,_t.expandedKeys||vn.expandedKeys,Yt);_t.flattenNodes=In}if(Xt.selectable&&(Vt("selectedKeys")?_t.selectedKeys=(0,ia.BT)(Xt.selectedKeys,Xt):!dn&&Xt.defaultSelectedKeys&&(_t.selectedKeys=(0,ia.BT)(Xt.defaultSelectedKeys,Xt))),Xt.checkable){var Un;if(Vt("checkedKeys")?Un=(0,ia.E6)(Xt.checkedKeys)||{}:!dn&&Xt.defaultCheckedKeys?Un=(0,ia.E6)(Xt.defaultCheckedKeys)||{}:Kt&&(Un=(0,ia.E6)(Xt.checkedKeys)||{checkedKeys:vn.checkedKeys,halfCheckedKeys:vn.halfCheckedKeys}),Un){var dr=Un,En=dr.checkedKeys,Jn=En===void 0?[]:En,tr=dr.halfCheckedKeys,ir=tr===void 0?[]:tr;if(!Xt.checkStrictly){var br=(0,jt.S)(Jn,!0,rn);Jn=br.checkedKeys,ir=br.halfCheckedKeys}_t.checkedKeys=Jn,_t.halfCheckedKeys=ir}}return Vt("loadedKeys")&&(_t.loadedKeys=Xt.loadedKeys),_t}}]),zt}(x.Component);sn.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:z,allowDrop:function(){return!0},expandAction:!1},sn.TreeNode=oa.Z;var un=sn,nn=un,bn=Pe(46214),Tt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ir=Tt,hr=Pe(44327),er=function(Bt,zt){return x.createElement(hr.Z,(0,Te.Z)({},Bt,{ref:zt,icon:Ir}))},la=x.forwardRef(er),cn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},On=cn,Er=function(Bt,zt){return x.createElement(hr.Z,(0,Te.Z)({},Bt,{ref:zt,icon:On}))},Vn=x.forwardRef(Er),Sa=Pe(53124),pa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ia=pa,Ba=function(Bt,zt){return x.createElement(hr.Z,(0,Te.Z)({},Bt,{ref:zt,icon:Ia}))},Ra=x.forwardRef(Ba),yt=Pe(33603),Pt=Pe(32157);const Gt=4;function ln(wt){const{dropPosition:Bt,dropLevelOffset:zt,prefixCls:ct,indent:Xt,direction:vn="ltr"}=wt,dn=vn==="ltr"?"left":"right",_t=vn==="ltr"?"right":"left",Vt={[dn]:-zt*Xt+Gt,[_t]:0};switch(Bt){case-1:Vt.top=-3;break;case 1:Vt.bottom=-3;break;default:Vt.bottom=-3,Vt[dn]=Xt+Gt;break}return x.createElement("div",{style:Vt,className:`${ct}-drop-indicator`})}var wn=Pe(7349),cr=x.forwardRef((wt,Bt)=>{const{getPrefixCls:zt,direction:ct,virtual:Xt,tree:vn}=x.useContext(Sa.E_),{prefixCls:dn,className:_t,showIcon:Vt=!1,showLine:Kt,switcherIcon:Yt,blockNode:Zt=!1,children:rn,checkable:on=!1,selectable:In=!0,draggable:Un,motion:dr,style:En}=wt,Jn=zt("tree",dn),tr=zt(),ir=dr!=null?dr:Object.assign(Object.assign({},(0,yt.Z)(tr)),{motionAppear:!1}),br=Object.assign(Object.assign({},wt),{checkable:on,selectable:In,showIcon:Vt,motion:ir,blockNode:Zt,showLine:!!Kt,dropIndicatorRender:ln}),[Zr,Pa]=(0,Pt.ZP)(Jn),ea=x.useMemo(()=>{if(!Un)return!1;let nr={};switch(typeof Un){case"function":nr.nodeDraggable=Un;break;case"object":nr=Object.assign({},Un);break;default:break}return nr.icon!==!1&&(nr.icon=nr.icon||x.createElement(Ra,null)),nr},[Un]),Qn=nr=>x.createElement(wn.Z,{prefixCls:Jn,switcherIcon:Yt,treeNodeProps:nr,showLine:Kt});return Zr(x.createElement(nn,Object.assign({itemHeight:20,ref:Bt,virtual:Xt},br,{style:Object.assign(Object.assign({},vn==null?void 0:vn.style),En),prefixCls:Jn,className:ae()({[`${Jn}-icon-hide`]:!Vt,[`${Jn}-block-node`]:Zt,[`${Jn}-unselectable`]:!In,[`${Jn}-rtl`]:ct==="rtl"},vn==null?void 0:vn.className,_t,Pa),direction:ct,checkable:on&&x.createElement("span",{className:`${Jn}-checkbox-inner`}),selectable:In,switcherIcon:Qn,draggable:ea}),rn))}),vr;(function(wt){wt[wt.None=0]="None",wt[wt.Start=1]="Start",wt[wt.End=2]="End"})(vr||(vr={}));function Gr(wt,Bt){function zt(ct){const{key:Xt,children:vn}=ct;Bt(Xt,ct)!==!1&&Gr(vn||[],Bt)}wt.forEach(zt)}function ta(wt){let{treeData:Bt,expandedKeys:zt,startKey:ct,endKey:Xt}=wt;const vn=[];let dn=vr.None;if(ct&&ct===Xt)return[ct];if(!ct||!Xt)return[];function _t(Vt){return Vt===ct||Vt===Xt}return Gr(Bt,Vt=>{if(dn===vr.End)return!1;if(_t(Vt)){if(vn.push(Vt),dn===vr.None)dn=vr.Start;else if(dn===vr.Start)return dn=vr.End,!1}else dn===vr.Start&&vn.push(Vt);return zt.includes(Vt)}),vn}function qr(wt,Bt){const zt=(0,me.Z)(Bt),ct=[];return Gr(wt,(Xt,vn)=>{const dn=zt.indexOf(Xt);return dn!==-1&&(ct.push(vn),zt.splice(dn,1)),!!zt.length}),ct}var Yr=function(wt,Bt){var zt={};for(var ct in wt)Object.prototype.hasOwnProperty.call(wt,ct)&&Bt.indexOf(ct)<0&&(zt[ct]=wt[ct]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,ct=Object.getOwnPropertySymbols(wt);Xt<ct.length;Xt++)Bt.indexOf(ct[Xt])<0&&Object.prototype.propertyIsEnumerable.call(wt,ct[Xt])&&(zt[ct[Xt]]=wt[ct[Xt]]);return zt};function Fa(wt){const{isLeaf:Bt,expanded:zt}=wt;return Bt?x.createElement(bn.Z,null):zt?x.createElement(la,null):x.createElement(Vn,null)}function Ha(wt){let{treeData:Bt,children:zt}=wt;return Bt||(0,_n.zn)(zt)}const Ln=(wt,Bt)=>{var{defaultExpandAll:zt,defaultExpandParent:ct,defaultExpandedKeys:Xt}=wt,vn=Yr(wt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const dn=x.useRef(),_t=x.useRef(),Vt=()=>{const{keyEntities:ea}=(0,_n.I8)(Ha(vn));let Qn;return zt?Qn=Object.keys(ea):ct?Qn=(0,ia.r7)(vn.expandedKeys||Xt||[],ea):Qn=vn.expandedKeys||Xt,Qn},[Kt,Yt]=x.useState(vn.selectedKeys||vn.defaultSelectedKeys||[]),[Zt,rn]=x.useState(()=>Vt());x.useEffect(()=>{"selectedKeys"in vn&&Yt(vn.selectedKeys)},[vn.selectedKeys]),x.useEffect(()=>{"expandedKeys"in vn&&rn(vn.expandedKeys)},[vn.expandedKeys]);const on=(ea,Qn)=>{var nr;return"expandedKeys"in vn||rn(ea),(nr=vn.onExpand)===null||nr===void 0?void 0:nr.call(vn,ea,Qn)},In=(ea,Qn)=>{var nr;const{multiple:Zn}=vn,{node:kn,nativeEvent:wr}=Qn,{key:ua=""}=kn,wa=Ha(vn),Xa=Object.assign(Object.assign({},Qn),{selected:!0}),Oa=(wr==null?void 0:wr.ctrlKey)||(wr==null?void 0:wr.metaKey),ao=wr==null?void 0:wr.shiftKey;let To;Zn&&Oa?(To=ea,dn.current=ua,_t.current=To,Xa.selectedNodes=qr(wa,To)):Zn&&ao?(To=Array.from(new Set([].concat((0,me.Z)(_t.current||[]),(0,me.Z)(ta({treeData:wa,expandedKeys:Zt,startKey:ua,endKey:dn.current}))))),Xa.selectedNodes=qr(wa,To)):(To=[ua],dn.current=ua,_t.current=To,Xa.selectedNodes=qr(wa,To)),(nr=vn.onSelect)===null||nr===void 0||nr.call(vn,To,Xa),"selectedKeys"in vn||Yt(To)},{getPrefixCls:Un,direction:dr}=x.useContext(Sa.E_),{prefixCls:En,className:Jn,showIcon:tr=!0,expandAction:ir="click"}=vn,br=Yr(vn,["prefixCls","className","showIcon","expandAction"]),Zr=Un("tree",En),Pa=ae()(`${Zr}-directory`,{[`${Zr}-directory-rtl`]:dr==="rtl"},Jn);return x.createElement(cr,Object.assign({icon:Fa,ref:Bt,blockNode:!0},br,{showIcon:tr,expandAction:ir,prefixCls:Zr,className:Pa,expandedKeys:Zt,selectedKeys:Kt,onSelect:In,onExpand:on}))};var Rr=x.forwardRef(Ln);const $r=cr;$r.DirectoryTree=Rr,$r.TreeNode=oa.Z;var Hn=$r},32157:function(At,Ct,Pe){"use strict";Pe.d(Ct,{TM:function(){return ie},Yk:function(){return ae}});var Te=Pe(45930),He=Pe(63185),E=Pe(14747),ye=Pe(33507),me=Pe(45503),oe=Pe(67968);const te=new Te.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ue=(ne,a)=>({[`.${ne}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),de=(ne,a)=>({[`.${ne}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),le=(ne,a)=>{const{treeCls:y,treeNodeCls:x,treeNodePadding:b,titleHeight:z,nodeSelectedBg:ee,nodeHoverBg:re}=a,se=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,E.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,E.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:te,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,E.oN)(a)),[`&:not(${x}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},ue(ne,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:se},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${y}-node-selected`]:{backgroundColor:ee},[`${y}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},de(ne,a)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},ce=ne=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:z}=ne;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${ne.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ne.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${ne.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${a}-switcher`]:{color:z},[`${a}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},ae=(ne,a)=>{const y=`.${ne}`,x=`${y}-treenode`,b=a.paddingXS/2,z=(0,me.TS)(a,{treeCls:y,treeNodeCls:x,treeNodePadding:b});return[le(ne,z),ce(z)]},ie=ne=>{const{controlHeightSM:a}=ne;return{titleHeight:a,nodeHoverBg:ne.controlItemBgHover,nodeSelectedBg:ne.controlItemBgActive}};Ct.ZP=(0,oe.Z)("Tree",(ne,a)=>{let{prefixCls:y}=a;return[{[ne.componentCls]:(0,He.C2)(`${y}-checkbox`,ne)},ae(y,ne),(0,ye.Z)(ne)]},ne=>{const{colorTextLightSolid:a,colorPrimary:y}=ne;return Object.assign(Object.assign({},ie(ne)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},7349:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return se}});var Te=Pe(87462),He=Pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},ye=E,me=Pe(44327),oe=function(ve,ge){return He.createElement(me.Z,(0,Te.Z)({},ve,{ref:ge,icon:ye}))},te=He.forwardRef(oe),ue=Pe(46214),de=Pe(77322),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},ce=le,ae=function(ve,ge){return He.createElement(me.Z,(0,Te.Z)({},ve,{ref:ge,icon:ce}))},ie=He.forwardRef(ae),ne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},a=ne,y=function(ve,ge){return He.createElement(me.Z,(0,Te.Z)({},ve,{ref:ge,icon:a}))},x=He.forwardRef(y),b=Pe(94184),z=Pe.n(b),ee=Pe(96159),se=fe=>{const{prefixCls:ve,switcherIcon:ge,treeNodeProps:he,showLine:pe}=fe,{isLeaf:Se,expanded:be,loading:je}=he;if(je)return He.createElement(de.Z,{className:`${ve}-switcher-loading-icon`});let we;if(pe&&typeof pe=="object"&&(we=pe.showLeafIcon),Se){if(!pe)return null;if(typeof we!="boolean"&&we){const Fe=typeof we=="function"?we(he):we,ke=`${ve}-switcher-line-custom-icon`;return(0,ee.l$)(Fe)?(0,ee.Tm)(Fe,{className:z()(Fe.props.className||"",ke)}):Fe}return we?He.createElement(ue.Z,{className:`${ve}-switcher-line-icon`}):He.createElement("span",{className:`${ve}-switcher-leaf-line`})}const Oe=`${ve}-switcher-icon`,Ae=typeof ge=="function"?ge(he):ge;return(0,ee.l$)(Ae)?(0,ee.Tm)(Ae,{className:z()(Ae.props.className||"",Oe)}):Ae!==void 0?Ae:pe?be?He.createElement(ie,{className:`${ve}-switcher-line-icon`}):He.createElement(x,{className:`${ve}-switcher-line-icon`}):He.createElement(te,{className:Oe})}},92421:function(At,Ct,Pe){"use strict";Pe.d(Ct,{default:function(){return ia}});var Te=Pe(67294),He=Pe(74902),E=Pe(94184),ye=Pe.n(E),me=Pe(87462),oe=Pe(15671),te=Pe(43144),ue=Pe(60136),de=Pe(51630),le=Pe(4942),ce=Pe(45987),ae=Pe(74165),ie=Pe(71002),ne=Pe(15861),a=Pe(64217);function y(jt,en){var tn="cannot ".concat(jt.method," ").concat(jt.action," ").concat(en.status,"'"),sn=new Error(tn);return sn.status=en.status,sn.method=jt.method,sn.url=jt.action,sn}function x(jt){var en=jt.responseText||jt.response;if(!en)return en;try{return JSON.parse(en)}catch(tn){return en}}function b(jt){var en=new XMLHttpRequest;jt.onProgress&&en.upload&&(en.upload.onprogress=function(nn){nn.total>0&&(nn.percent=nn.loaded/nn.total*100),jt.onProgress(nn)});var tn=new FormData;jt.data&&Object.keys(jt.data).forEach(function(un){var nn=jt.data[un];if(Array.isArray(nn)){nn.forEach(function(bn){tn.append("".concat(un,"[]"),bn)});return}tn.append(un,nn)}),jt.file instanceof Blob?tn.append(jt.filename,jt.file,jt.file.name):tn.append(jt.filename,jt.file),en.onerror=function(nn){jt.onError(nn)},en.onload=function(){return en.status<200||en.status>=300?jt.onError(y(jt,en),x(en)):jt.onSuccess(x(en),en)},en.open(jt.method,jt.action,!0),jt.withCredentials&&"withCredentials"in en&&(en.withCredentials=!0);var sn=jt.headers||{};return sn["X-Requested-With"]!==null&&en.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(sn).forEach(function(un){sn[un]!==null&&en.setRequestHeader(un,sn[un])}),en.send(tn),{abort:function(){en.abort()}}}var z=+new Date,ee=0;function re(){return"rc-upload-".concat(z,"-").concat(++ee)}var se=Pe(80334),fe=function(jt,en){if(jt&&en){var tn=Array.isArray(en)?en:en.split(","),sn=jt.name||"",un=jt.type||"",nn=un.replace(/\/.*$/,"");return tn.some(function(bn){var Tt=bn.trim();if(/^\*(\/\*)?$/.test(bn))return!0;if(Tt.charAt(0)==="."){var Ir=sn.toLowerCase(),hr=Tt.toLowerCase(),er=[hr];return(hr===".jpg"||hr===".jpeg")&&(er=[".jpg",".jpeg"]),er.some(function(la){return Ir.endsWith(la)})}return/\/\*$/.test(Tt)?nn===Tt.replace(/\/.*$/,""):un===Tt?!0:/^\w+$/.test(Tt)?((0,se.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Tt,"'.Skip for check.")),!0):!1})}return!0};function ve(jt,en){var tn=jt.createReader(),sn=[];function un(){tn.readEntries(function(nn){var bn=Array.prototype.slice.apply(nn);sn=sn.concat(bn);var Tt=!bn.length;Tt?en(sn):un()})}un()}var ge=function(en,tn,sn){var un=function nn(bn,Tt){bn&&(bn.path=Tt||"",bn.isFile?bn.file(function(Ir){sn(Ir)&&(bn.fullPath&&!Ir.webkitRelativePath&&(Object.defineProperties(Ir,{webkitRelativePath:{writable:!0}}),Ir.webkitRelativePath=bn.fullPath.replace(/^\//,""),Object.defineProperties(Ir,{webkitRelativePath:{writable:!1}})),tn([Ir]))}):bn.isDirectory&&ve(bn,function(Ir){Ir.forEach(function(hr){nn(hr,"".concat(Tt).concat(bn.name,"/"))})}))};en.forEach(function(nn){un(nn.webkitGetAsEntry())})},he=ge,pe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Se=function(jt){(0,ue.Z)(tn,jt);var en=(0,de.Z)(tn);function tn(){var sn;(0,oe.Z)(this,tn);for(var un=arguments.length,nn=new Array(un),bn=0;bn<un;bn++)nn[bn]=arguments[bn];return sn=en.call.apply(en,[this].concat(nn)),sn.state={uid:re()},sn.reqs={},sn.fileInput=void 0,sn._isMounted=void 0,sn.onChange=function(Tt){var Ir=sn.props,hr=Ir.accept,er=Ir.directory,la=Tt.target.files,cn=(0,He.Z)(la).filter(function(On){return!er||fe(On,hr)});sn.uploadFiles(cn),sn.reset()},sn.onClick=function(Tt){var Ir=sn.fileInput;if(Ir){var hr=sn.props,er=hr.children,la=hr.onClick;if(er&&er.type==="button"){var cn=Ir.parentNode;cn.focus(),cn.querySelector("button").blur()}Ir.click(),la&&la(Tt)}},sn.onKeyDown=function(Tt){Tt.key==="Enter"&&sn.onClick(Tt)},sn.onFileDrop=function(Tt){var Ir=sn.props.multiple;if(Tt.preventDefault(),Tt.type!=="dragover")if(sn.props.directory)he(Array.prototype.slice.call(Tt.dataTransfer.items),sn.uploadFiles,function(er){return fe(er,sn.props.accept)});else{var hr=(0,He.Z)(Tt.dataTransfer.files).filter(function(er){return fe(er,sn.props.accept)});Ir===!1&&(hr=hr.slice(0,1)),sn.uploadFiles(hr)}},sn.uploadFiles=function(Tt){var Ir=(0,He.Z)(Tt),hr=Ir.map(function(er){return er.uid=re(),sn.processFile(er,Ir)});Promise.all(hr).then(function(er){var la=sn.props.onBatchStart;la==null||la(er.map(function(cn){var On=cn.origin,Er=cn.parsedFile;return{file:On,parsedFile:Er}})),er.filter(function(cn){return cn.parsedFile!==null}).forEach(function(cn){sn.post(cn)})})},sn.processFile=function(){var Tt=(0,ne.Z)((0,ae.Z)().mark(function Ir(hr,er){var la,cn,On,Er,Vn,Sa,pa,Ia,Ba;return(0,ae.Z)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:if(la=sn.props.beforeUpload,cn=hr,!la){yt.next=14;break}return yt.prev=3,yt.next=6,la(hr,er);case 6:cn=yt.sent,yt.next=12;break;case 9:yt.prev=9,yt.t0=yt.catch(3),cn=!1;case 12:if(cn!==!1){yt.next=14;break}return yt.abrupt("return",{origin:hr,parsedFile:null,action:null,data:null});case 14:if(On=sn.props.action,typeof On!="function"){yt.next=21;break}return yt.next=18,On(hr);case 18:Er=yt.sent,yt.next=22;break;case 21:Er=On;case 22:if(Vn=sn.props.data,typeof Vn!="function"){yt.next=29;break}return yt.next=26,Vn(hr);case 26:Sa=yt.sent,yt.next=30;break;case 29:Sa=Vn;case 30:return pa=((0,ie.Z)(cn)==="object"||typeof cn=="string")&&cn?cn:hr,pa instanceof File?Ia=pa:Ia=new File([pa],hr.name,{type:hr.type}),Ba=Ia,Ba.uid=hr.uid,yt.abrupt("return",{origin:hr,data:Sa,parsedFile:Ba,action:Er});case 35:case"end":return yt.stop()}},Ir,null,[[3,9]])}));return function(Ir,hr){return Tt.apply(this,arguments)}}(),sn.saveFileInput=function(Tt){sn.fileInput=Tt},sn}return(0,te.Z)(tn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(un){var nn=this,bn=un.data,Tt=un.origin,Ir=un.action,hr=un.parsedFile;if(this._isMounted){var er=this.props,la=er.onStart,cn=er.customRequest,On=er.name,Er=er.headers,Vn=er.withCredentials,Sa=er.method,pa=Tt.uid,Ia=cn||b,Ba={action:Ir,filename:On,data:bn,file:hr,headers:Er,withCredentials:Vn,method:Sa||"post",onProgress:function(yt){var Pt=nn.props.onProgress;Pt==null||Pt(yt,hr)},onSuccess:function(yt,Pt){var Gt=nn.props.onSuccess;Gt==null||Gt(yt,hr,Pt),delete nn.reqs[pa]},onError:function(yt,Pt){var Gt=nn.props.onError;Gt==null||Gt(yt,Pt,hr),delete nn.reqs[pa]}};la(Tt),this.reqs[pa]=Ia(Ba)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function(un){var nn=this.reqs;if(un){var bn=un.uid?un.uid:un;nn[bn]&&nn[bn].abort&&nn[bn].abort(),delete nn[bn]}else Object.keys(nn).forEach(function(Tt){nn[Tt]&&nn[Tt].abort&&nn[Tt].abort(),delete nn[Tt]})}},{key:"render",value:function(){var un,nn=this.props,bn=nn.component,Tt=nn.prefixCls,Ir=nn.className,hr=nn.disabled,er=nn.id,la=nn.style,cn=nn.multiple,On=nn.accept,Er=nn.capture,Vn=nn.children,Sa=nn.directory,pa=nn.openFileDialogOnClick,Ia=nn.onMouseEnter,Ba=nn.onMouseLeave,Ra=(0,ce.Z)(nn,pe),yt=ye()((un={},(0,le.Z)(un,Tt,!0),(0,le.Z)(un,"".concat(Tt,"-disabled"),hr),(0,le.Z)(un,Ir,Ir),un)),Pt=Sa?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Gt=hr?{}:{onClick:pa?this.onClick:function(){},onKeyDown:pa?this.onKeyDown:function(){},onMouseEnter:Ia,onMouseLeave:Ba,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return Te.createElement(bn,(0,me.Z)({},Gt,{className:yt,role:"button",style:la}),Te.createElement("input",(0,me.Z)({},(0,a.Z)(Ra,{aria:!0,data:!0}),{id:er,disabled:hr,type:"file",ref:this.saveFileInput,onClick:function(wn){return wn.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:On},Pt,{multiple:cn,onChange:this.onChange},Er!=null?{capture:Er}:{})),Vn)}}]),tn}(Te.Component),be=Se;function je(){}var we=function(jt){(0,ue.Z)(tn,jt);var en=(0,de.Z)(tn);function tn(){var sn;(0,oe.Z)(this,tn);for(var un=arguments.length,nn=new Array(un),bn=0;bn<un;bn++)nn[bn]=arguments[bn];return sn=en.call.apply(en,[this].concat(nn)),sn.uploader=void 0,sn.saveUploader=function(Tt){sn.uploader=Tt},sn}return(0,te.Z)(tn,[{key:"abort",value:function(un){this.uploader.abort(un)}},{key:"render",value:function(){return Te.createElement(be,(0,me.Z)({},this.props,{ref:this.saveUploader}))}}]),tn}(Te.Component);we.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:je,onError:je,onSuccess:je,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Oe=we,Ae=Oe,Fe=Pe(5663),ke=Pe(73935),Ve=Pe(53124),De=Pe(98866),ut=Pe(10110),nt=Pe(24457),qe={icon:function(en,tn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:tn}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:en}}]}},name:"file",theme:"twotone"},Xe=qe,$e=Pe(44327),Ue=function(en,tn){return Te.createElement($e.Z,(0,me.Z)({},en,{ref:tn,icon:Xe}))},Be=Te.forwardRef(Ue),tt=Pe(77322),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},ft=Je,Ze=function(en,tn){return Te.createElement($e.Z,(0,me.Z)({},en,{ref:tn,icon:ft}))},Ge=Te.forwardRef(Ze),Le={icon:function(en,tn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:en}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:tn}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:tn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:tn}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:en}}]}},name:"picture",theme:"twotone"},Ke=Le,Ee=function(en,tn){return Te.createElement($e.Z,(0,me.Z)({},en,{ref:tn,icon:Ke}))},Re=Te.forwardRef(Ee),Qe=Pe(38379),Ye=Pe(57838),We=Pe(33603),Ce=Pe(96159),xe=Pe(71577);function Ne(jt){return Object.assign(Object.assign({},jt),{lastModified:jt.lastModified,lastModifiedDate:jt.lastModifiedDate,name:jt.name,size:jt.size,type:jt.type,uid:jt.uid,percent:0,originFileObj:jt})}function ze(jt,en){const tn=(0,He.Z)(en),sn=tn.findIndex(un=>{let{uid:nn}=un;return nn===jt.uid});return sn===-1?tn.push(jt):tn[sn]=jt,tn}function it(jt,en){const tn=jt.uid!==void 0?"uid":"name";return en.filter(sn=>sn[tn]===jt[tn])[0]}function St(jt,en){const tn=jt.uid!==void 0?"uid":"name",sn=en.filter(un=>un[tn]!==jt[tn]);return sn.length===en.length?null:sn}const dt=function(){const en=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),sn=en[en.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(sn)||[""])[0]},bt=jt=>jt.indexOf("image/")===0,an=jt=>{if(jt.type&&!jt.thumbUrl)return bt(jt.type);const en=jt.thumbUrl||jt.url||"",tn=dt(en);return/^data:image\//.test(en)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(tn)?!0:!(/^data:/.test(en)||tn)},kt=200;function lt(jt){return new Promise(en=>{if(!jt.type||!bt(jt.type)){en("");return}const tn=document.createElement("canvas");tn.width=kt,tn.height=kt,tn.style.cssText=`position: fixed; left: 0; top: 0; width: ${kt}px; height: ${kt}px; z-index: 9999; display: none;`,document.body.appendChild(tn);const sn=tn.getContext("2d"),un=new Image;if(un.onload=()=>{const{width:nn,height:bn}=un;let Tt=kt,Ir=kt,hr=0,er=0;nn>bn?(Ir=bn*(kt/nn),er=-(Ir-Tt)/2):(Tt=nn*(kt/bn),hr=-(Tt-Ir)/2),sn.drawImage(un,hr,er,Tt,Ir);const la=tn.toDataURL();document.body.removeChild(tn),window.URL.revokeObjectURL(un.src),en(la)},un.crossOrigin="anonymous",jt.type.startsWith("image/svg+xml")){const nn=new FileReader;nn.onload=()=>{nn.result&&(un.src=nn.result)},nn.readAsDataURL(jt)}else if(jt.type.startsWith("image/gif")){const nn=new FileReader;nn.onload=()=>{nn.result&&en(nn.result)},nn.readAsDataURL(jt)}else un.src=window.URL.createObjectURL(jt)})}var at={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Dt=at,rt=function(en,tn){return Te.createElement($e.Z,(0,me.Z)({},en,{ref:tn,icon:Dt}))},_e=Te.forwardRef(rt),mt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ot=mt,xt=function(en,tn){return Te.createElement($e.Z,(0,me.Z)({},en,{ref:tn,icon:Ot}))},Ut=Te.forwardRef(xt),Wt=Pe(43481),qt=Pe(38703),hn=Pe(83062),Tn=Te.forwardRef((jt,en)=>{let{prefixCls:tn,className:sn,style:un,locale:nn,listType:bn,file:Tt,items:Ir,progress:hr,iconRender:er,actionIconRender:la,itemRender:cn,isImgUrl:On,showPreviewIcon:Er,showRemoveIcon:Vn,showDownloadIcon:Sa,previewIcon:pa,removeIcon:Ia,downloadIcon:Ba,onPreview:Ra,onDownload:yt,onClose:Pt}=jt;var Gt,ln;const{status:wn}=Tt,[Yn,cr]=Te.useState(wn);Te.useEffect(()=>{wn!=="removed"&&cr(wn)},[wn]);const[vr,Gr]=Te.useState(!1);Te.useEffect(()=>{const _t=setTimeout(()=>{Gr(!0)},300);return()=>{clearTimeout(_t)}},[]);const ta=er(Tt);let qr=Te.createElement("div",{className:`${tn}-icon`},ta);if(bn==="picture"||bn==="picture-card"||bn==="picture-circle")if(Yn==="uploading"||!Tt.thumbUrl&&!Tt.url){const _t=ye()(`${tn}-list-item-thumbnail`,{[`${tn}-list-item-file`]:Yn!=="uploading"});qr=Te.createElement("div",{className:_t},ta)}else{const _t=On!=null&&On(Tt)?Te.createElement("img",{src:Tt.thumbUrl||Tt.url,alt:Tt.name,className:`${tn}-list-item-image`,crossOrigin:Tt.crossOrigin}):ta,Vt=ye()(`${tn}-list-item-thumbnail`,{[`${tn}-list-item-file`]:On&&!On(Tt)});qr=Te.createElement("a",{className:Vt,onClick:Kt=>Ra(Tt,Kt),href:Tt.url||Tt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},_t)}const Yr=ye()(`${tn}-list-item`,`${tn}-list-item-${Yn}`),Fa=typeof Tt.linkProps=="string"?JSON.parse(Tt.linkProps):Tt.linkProps,Ha=Vn?la((typeof Ia=="function"?Ia(Tt):Ia)||Te.createElement(_e,null),()=>Pt(Tt),tn,nn.removeFile):null,Ln=Sa&&Yn==="done"?la((typeof Ba=="function"?Ba(Tt):Ba)||Te.createElement(Ut,null),()=>yt(Tt),tn,nn.downloadFile):null,or=bn!=="picture-card"&&bn!=="picture-circle"&&Te.createElement("span",{key:"download-delete",className:ye()(`${tn}-list-item-actions`,{picture:bn==="picture"})},Ln,Ha),Rr=ye()(`${tn}-list-item-name`),$r=Tt.url?[Te.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Rr,title:Tt.name},Fa,{href:Tt.url,onClick:_t=>Ra(Tt,_t)}),Tt.name),or]:[Te.createElement("span",{key:"view",className:Rr,onClick:_t=>Ra(Tt,_t),title:Tt.name},Tt.name),or],Hn={pointerEvents:"none",opacity:.5},wt=Er?Te.createElement("a",{href:Tt.url||Tt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Tt.url||Tt.thumbUrl?void 0:Hn,onClick:_t=>Ra(Tt,_t),title:nn.previewFile},typeof pa=="function"?pa(Tt):pa||Te.createElement(Wt.Z,null)):null,Bt=(bn==="picture-card"||bn==="picture-circle")&&Yn!=="uploading"&&Te.createElement("span",{className:`${tn}-list-item-actions`},wt,Yn==="done"&&Ln,Ha),{getPrefixCls:zt}=Te.useContext(Ve.E_),ct=zt(),Xt=Te.createElement("div",{className:Yr},qr,$r,Bt,vr&&Te.createElement(Qe.default,{motionName:`${ct}-fade`,visible:Yn==="uploading",motionDeadline:2e3},_t=>{let{className:Vt}=_t;const Kt="percent"in Tt?Te.createElement(qt.Z,Object.assign({},hr,{type:"line",percent:Tt.percent,"aria-label":Tt["aria-label"],"aria-labelledby":Tt["aria-labelledby"]})):null;return Te.createElement("div",{className:ye()(`${tn}-list-item-progress`,Vt)},Kt)})),vn=Tt.response&&typeof Tt.response=="string"?Tt.response:((Gt=Tt.error)===null||Gt===void 0?void 0:Gt.statusText)||((ln=Tt.error)===null||ln===void 0?void 0:ln.message)||nn.uploadError,dn=Yn==="error"?Te.createElement(hn.Z,{title:vn,getPopupContainer:_t=>_t.parentNode},Xt):Xt;return Te.createElement("div",{className:ye()(`${tn}-list-item-container`,sn),style:un,ref:en},cn?cn(dn,Tt,Ir,{download:yt.bind(null,Tt),preview:Ra.bind(null,Tt),remove:Pt.bind(null,Tt)}):dn)});const Fn=(jt,en)=>{const{listType:tn="text",previewFile:sn=lt,onPreview:un,onDownload:nn,onRemove:bn,locale:Tt,iconRender:Ir,isImageUrl:hr=an,prefixCls:er,items:la=[],showPreviewIcon:cn=!0,showRemoveIcon:On=!0,showDownloadIcon:Er=!1,removeIcon:Vn,previewIcon:Sa,downloadIcon:pa,progress:Ia={size:[-1,2],showInfo:!1},appendAction:Ba,appendActionVisible:Ra=!0,itemRender:yt,disabled:Pt}=jt,Gt=(0,Ye.Z)(),[ln,wn]=Te.useState(!1);Te.useEffect(()=>{tn!=="picture"&&tn!=="picture-card"&&tn!=="picture-circle"||(la||[]).forEach(Hn=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Hn.originFileObj instanceof File||Hn.originFileObj instanceof Blob)||Hn.thumbUrl!==void 0||(Hn.thumbUrl="",sn&&sn(Hn.originFileObj).then(wt=>{Hn.thumbUrl=wt||"",Gt()}))})},[tn,la,sn]),Te.useEffect(()=>{wn(!0)},[]);const Yn=(Hn,wt)=>{if(un)return wt==null||wt.preventDefault(),un(Hn)},cr=Hn=>{typeof nn=="function"?nn(Hn):Hn.url&&window.open(Hn.url)},vr=Hn=>{bn==null||bn(Hn)},Gr=Hn=>{if(Ir)return Ir(Hn,tn);const wt=Hn.status==="uploading",Bt=hr&&hr(Hn)?Te.createElement(Re,null):Te.createElement(Be,null);let zt=wt?Te.createElement(tt.Z,null):Te.createElement(Ge,null);return tn==="picture"?zt=wt?Te.createElement(tt.Z,null):Bt:(tn==="picture-card"||tn==="picture-circle")&&(zt=wt?Tt.uploading:Bt),zt},ta=(Hn,wt,Bt,zt)=>{const ct={type:"text",size:"small",title:zt,onClick:Xt=>{wt(),(0,Ce.l$)(Hn)&&Hn.props.onClick&&Hn.props.onClick(Xt)},className:`${Bt}-list-item-action`,disabled:Pt};if((0,Ce.l$)(Hn)){const Xt=(0,Ce.Tm)(Hn,Object.assign(Object.assign({},Hn.props),{onClick:()=>{}}));return Te.createElement(xe.ZP,Object.assign({},ct,{icon:Xt}))}return Te.createElement(xe.ZP,Object.assign({},ct),Te.createElement("span",null,Hn))};Te.useImperativeHandle(en,()=>({handlePreview:Yn,handleDownload:cr}));const{getPrefixCls:qr}=Te.useContext(Ve.E_),Yr=qr("upload",er),Fa=qr(),Ha=ye()(`${Yr}-list`,`${Yr}-list-${tn}`),Ln=(0,He.Z)(la.map(Hn=>({key:Hn.uid,file:Hn})));let Rr={motionDeadline:2e3,motionName:`${Yr}-${tn==="picture-card"||tn==="picture-circle"?"animate-inline":"animate"}`,keys:Ln,motionAppear:ln};const $r=Te.useMemo(()=>{const Hn=Object.assign({},(0,We.Z)(Fa));return delete Hn.onAppearEnd,delete Hn.onEnterEnd,delete Hn.onLeaveEnd,Hn},[Fa]);return tn!=="picture-card"&&tn!=="picture-circle"&&(Rr=Object.assign(Object.assign({},$r),Rr)),Te.createElement("div",{className:Ha},Te.createElement(Qe.CSSMotionList,Object.assign({},Rr,{component:!1}),Hn=>{let{key:wt,file:Bt,className:zt,style:ct}=Hn;return Te.createElement(Tn,{key:wt,locale:Tt,prefixCls:Yr,className:zt,style:ct,file:Bt,items:la,progress:Ia,listType:tn,isImgUrl:hr,showPreviewIcon:cn,showRemoveIcon:On,showDownloadIcon:Er,removeIcon:Vn,previewIcon:Sa,downloadIcon:pa,iconRender:Gr,actionIconRender:ta,itemRender:yt,onPreview:Yn,onDownload:cr,onClose:vr})}),Ba&&Te.createElement(Qe.default,Object.assign({},Rr,{visible:Ra,forceRender:!0}),Hn=>{let{className:wt,style:Bt}=Hn;return(0,Ce.Tm)(Ba,zt=>({className:ye()(zt.className,wt),style:Object.assign(Object.assign(Object.assign({},Bt),{pointerEvents:wt?"none":void 0}),zt.style)}))}))};var yr=Te.forwardRef(Fn),Cr=Pe(14747),Ur=Pe(33507),Hr=Pe(67968),ma=Pe(45503),ya=jt=>{const{componentCls:en,iconCls:tn}=jt;return{[`${en}-wrapper`]:{[`${en}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:jt.colorFillAlter,border:`${jt.lineWidth}px dashed ${jt.colorBorder}`,borderRadius:jt.borderRadiusLG,cursor:"pointer",transition:`border-color ${jt.motionDurationSlow}`,[en]:{padding:`${jt.padding}px 0`},[`${en}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${en}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${en}-disabled):hover`]:{borderColor:jt.colorPrimaryHover},[`p${en}-drag-icon`]:{marginBottom:jt.margin,[tn]:{color:jt.colorPrimary,fontSize:jt.uploadThumbnailSize}},[`p${en}-text`]:{margin:`0 0 ${jt.marginXXS}px`,color:jt.colorTextHeading,fontSize:jt.fontSizeLG},[`p${en}-hint`]:{color:jt.colorTextDescription,fontSize:jt.fontSize},[`&${en}-disabled`]:{cursor:"not-allowed",[`p${en}-drag-icon ${tn},
|
|
p${en}-text,
|
|
p${en}-hint
|
|
`]:{color:jt.colorTextDisabled}}}}}},fn=jt=>{const{componentCls:en,antCls:tn,iconCls:sn,fontSize:un,lineHeight:nn}=jt,bn=`${en}-list-item`,Tt=`${bn}-actions`,Ir=`${bn}-action`,hr=Math.round(un*nn);return{[`${en}-wrapper`]:{[`${en}-list`]:Object.assign(Object.assign({},(0,Cr.dF)()),{lineHeight:jt.lineHeight,[bn]:{position:"relative",height:jt.lineHeight*un,marginTop:jt.marginXS,fontSize:un,display:"flex",alignItems:"center",transition:`background-color ${jt.motionDurationSlow}`,"&:hover":{backgroundColor:jt.controlItemBgHover},[`${bn}-name`]:Object.assign(Object.assign({},Cr.vS),{padding:`0 ${jt.paddingXS}px`,lineHeight:nn,flex:"auto",transition:`all ${jt.motionDurationSlow}`}),[Tt]:{[Ir]:{opacity:0},[`${Ir}${tn}-btn-sm`]:{height:hr,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
${Ir}:focus-visible,
|
|
&.picture ${Ir}
|
|
`]:{opacity:1},[sn]:{color:jt.actionsColor,transition:`all ${jt.motionDurationSlow}`},[`&:hover ${sn}`]:{color:jt.colorText}},[`${en}-icon ${sn}`]:{color:jt.colorTextDescription,fontSize:un},[`${bn}-progress`]:{position:"absolute",bottom:-jt.uploadProgressOffset,width:"100%",paddingInlineStart:un+jt.paddingXS,fontSize:un,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${bn}:hover ${Ir}`]:{opacity:1,color:jt.colorText},[`${bn}-error`]:{color:jt.colorError,[`${bn}-name, ${en}-icon ${sn}`]:{color:jt.colorError},[Tt]:{[`${sn}, ${sn}:hover`]:{color:jt.colorError},[Ir]:{opacity:1}}},[`${en}-list-item-container`]:{transition:`opacity ${jt.motionDurationSlow}, height ${jt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},xn=Pe(45930),Rn=Pe(16932);const oa=new xn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),ar=new xn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Rt=jt=>{const{componentCls:en}=jt,tn=`${en}-animate-inline`;return[{[`${en}-wrapper`]:{[`${tn}-appear, ${tn}-enter, ${tn}-leave`]:{animationDuration:jt.motionDurationSlow,animationTimingFunction:jt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${tn}-appear, ${tn}-enter`]:{animationName:oa},[`${tn}-leave`]:{animationName:ar}}},{[`${en}-wrapper`]:(0,Rn.J$)(jt)},oa,ar]},Mt=Pe(47448),Lt=Pe(84780);const Pn=jt=>{const{componentCls:en,iconCls:tn,uploadThumbnailSize:sn,uploadProgressOffset:un}=jt,nn=`${en}-list`,bn=`${nn}-item`;return{[`${en}-wrapper`]:{[`
|
|
${nn}${nn}-picture,
|
|
${nn}${nn}-picture-card,
|
|
${nn}${nn}-picture-circle
|
|
`]:{[bn]:{position:"relative",height:sn+jt.lineWidth*2+jt.paddingXS*2,padding:jt.paddingXS,border:`${jt.lineWidth}px ${jt.lineType} ${jt.colorBorder}`,borderRadius:jt.borderRadiusLG,"&:hover":{background:"transparent"},[`${bn}-thumbnail`]:Object.assign(Object.assign({},Cr.vS),{width:sn,height:sn,lineHeight:`${sn+jt.paddingSM}px`,textAlign:"center",flex:"none",[tn]:{fontSize:jt.fontSizeHeading2,color:jt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${bn}-progress`]:{bottom:un,width:`calc(100% - ${jt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:sn+jt.paddingXS}},[`${bn}-error`]:{borderColor:jt.colorError,[`${bn}-thumbnail ${tn}`]:{[`svg path[fill='${Mt.blue[0]}']`]:{fill:jt.colorErrorBg},[`svg path[fill='${Mt.blue.primary}']`]:{fill:jt.colorError}}},[`${bn}-uploading`]:{borderStyle:"dashed",[`${bn}-name`]:{marginBottom:un}}},[`${nn}${nn}-picture-circle ${bn}`]:{[`&, &::before, ${bn}-thumbnail`]:{borderRadius:"50%"}}}}},zn=jt=>{const{componentCls:en,iconCls:tn,fontSizeLG:sn,colorTextLightSolid:un}=jt,nn=`${en}-list`,bn=`${nn}-item`,Tt=jt.uploadPicCardSize;return{[`
|
|
${en}-wrapper${en}-picture-card-wrapper,
|
|
${en}-wrapper${en}-picture-circle-wrapper
|
|
`]:Object.assign(Object.assign({},(0,Cr.dF)()),{display:"inline-block",width:"100%",[`${en}${en}-select`]:{width:Tt,height:Tt,marginInlineEnd:jt.marginXS,marginBottom:jt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:jt.colorFillAlter,border:`${jt.lineWidth}px dashed ${jt.colorBorder}`,borderRadius:jt.borderRadiusLG,cursor:"pointer",transition:`border-color ${jt.motionDurationSlow}`,[`> ${en}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${en}-disabled):hover`]:{borderColor:jt.colorPrimary}},[`${nn}${nn}-picture-card, ${nn}${nn}-picture-circle`]:{[`${nn}-item-container`]:{display:"inline-block",width:Tt,height:Tt,marginBlock:`0 ${jt.marginXS}px`,marginInline:`0 ${jt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[bn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${jt.paddingXS*2}px)`,height:`calc(100% - ${jt.paddingXS*2}px)`,backgroundColor:jt.colorBgMask,opacity:0,transition:`all ${jt.motionDurationSlow}`,content:'" "'}},[`${bn}:hover`]:{[`&::before, ${bn}-actions`]:{opacity:1}},[`${bn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${jt.motionDurationSlow}`,[`${tn}-eye, ${tn}-download, ${tn}-delete`]:{zIndex:10,width:sn,margin:`0 ${jt.marginXXS}px`,fontSize:sn,cursor:"pointer",transition:`all ${jt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${bn}-actions, ${bn}-actions:hover`]:{[`${tn}-eye, ${tn}-download, ${tn}-delete`]:{color:new Lt.C(un).setAlpha(.65).toRgbString(),"&:hover":{color:un}}},[`${bn}-thumbnail, ${bn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${bn}-name`]:{display:"none",textAlign:"center"},[`${bn}-file + ${bn}-name`]:{position:"absolute",bottom:jt.margin,display:"block",width:`calc(100% - ${jt.paddingXS*2}px)`},[`${bn}-uploading`]:{[`&${bn}`]:{backgroundColor:jt.colorFillAlter},[`&::before, ${tn}-eye, ${tn}-download, ${tn}-delete`]:{display:"none"}},[`${bn}-progress`]:{bottom:jt.marginXL,width:`calc(100% - ${jt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${en}-wrapper${en}-picture-circle-wrapper`]:{[`${en}${en}-select`]:{borderRadius:"50%"}}}};var _r=jt=>{const{componentCls:en}=jt;return{[`${en}-rtl`]:{direction:"rtl"}}};const Vr=jt=>{const{componentCls:en,colorTextDisabled:tn}=jt;return{[`${en}-wrapper`]:Object.assign(Object.assign({},(0,Cr.Wf)(jt)),{[en]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${en}-select`]:{display:"inline-block"},[`${en}-disabled`]:{color:tn,cursor:"not-allowed"}})}};var Xr=(0,Hr.Z)("Upload",jt=>{const{fontSizeHeading3:en,fontSize:tn,lineHeight:sn,lineWidth:un,controlHeightLG:nn}=jt,bn=Math.round(tn*sn),Tt=(0,ma.TS)(jt,{uploadThumbnailSize:en*2,uploadProgressOffset:bn/2+un,uploadPicCardSize:nn*2.55});return[Vr(Tt),ya(Tt),Pn(Tt),zn(Tt),fn(Tt),Rt(Tt),_r(Tt),(0,Ur.Z)(Tt)]},jt=>({actionsColor:jt.colorTextDescription})),aa=function(jt,en,tn,sn){function un(nn){return nn instanceof tn?nn:new tn(function(bn){bn(nn)})}return new(tn||(tn=Promise))(function(nn,bn){function Tt(er){try{hr(sn.next(er))}catch(la){bn(la)}}function Ir(er){try{hr(sn.throw(er))}catch(la){bn(la)}}function hr(er){er.done?nn(er.value):un(er.value).then(Tt,Ir)}hr((sn=sn.apply(jt,en||[])).next())})};const sa=`__LIST_IGNORE_${Date.now()}__`,Cn=(jt,en)=>{const{fileList:tn,defaultFileList:sn,onRemove:un,showUploadList:nn=!0,listType:bn="text",onPreview:Tt,onDownload:Ir,onChange:hr,onDrop:er,previewFile:la,disabled:cn,locale:On,iconRender:Er,isImageUrl:Vn,progress:Sa,prefixCls:pa,className:Ia,type:Ba="select",children:Ra,style:yt,itemRender:Pt,maxCount:Gt,data:ln={},multiple:wn=!1,action:Yn="",accept:cr="",supportServerRender:vr=!0,rootClassName:Gr}=jt,ta=Te.useContext(De.Z),qr=cn!=null?cn:ta,[Yr,Fa]=(0,Fe.Z)(sn||[],{value:tn,postState:Qn=>Qn!=null?Qn:[]}),[Ha,Ln]=Te.useState("drop"),or=Te.useRef(null);Te.useMemo(()=>{const Qn=Date.now();(tn||[]).forEach((nr,Zn)=>{!nr.uid&&!Object.isFrozen(nr)&&(nr.uid=`__AUTO__${Qn}_${Zn}__`)})},[tn]);const Rr=(Qn,nr,Zn)=>{let kn=(0,He.Z)(nr),wr=!1;Gt===1?kn=kn.slice(-1):Gt&&(wr=kn.length>Gt,kn=kn.slice(0,Gt)),(0,ke.flushSync)(()=>{Fa(kn)});const ua={file:Qn,fileList:kn};Zn&&(ua.event=Zn),(!wr||kn.some(wa=>wa.uid===Qn.uid))&&(0,ke.flushSync)(()=>{hr==null||hr(ua)})},$r=(Qn,nr)=>aa(void 0,void 0,void 0,function*(){const{beforeUpload:Zn,transformFile:kn}=jt;let wr=Qn;if(Zn){const ua=yield Zn(Qn,nr);if(ua===!1)return!1;if(delete Qn[sa],ua===sa)return Object.defineProperty(Qn,sa,{value:!0,configurable:!0}),!1;typeof ua=="object"&&ua&&(wr=ua)}return kn&&(wr=yield kn(wr)),wr}),Hn=Qn=>{const nr=Qn.filter(wr=>!wr.file[sa]);if(!nr.length)return;const Zn=nr.map(wr=>Ne(wr.file));let kn=(0,He.Z)(Yr);Zn.forEach(wr=>{kn=ze(wr,kn)}),Zn.forEach((wr,ua)=>{let wa=wr;if(nr[ua].parsedFile)wr.status="uploading";else{const{originFileObj:Xa}=wr;let Oa;try{Oa=new File([Xa],Xa.name,{type:Xa.type})}catch(ao){Oa=new Blob([Xa],{type:Xa.type}),Oa.name=Xa.name,Oa.lastModifiedDate=new Date,Oa.lastModified=new Date().getTime()}Oa.uid=wr.uid,wa=Oa}Rr(wa,kn)})},wt=(Qn,nr,Zn)=>{try{typeof Qn=="string"&&(Qn=JSON.parse(Qn))}catch(ua){}if(!it(nr,Yr))return;const kn=Ne(nr);kn.status="done",kn.percent=100,kn.response=Qn,kn.xhr=Zn;const wr=ze(kn,Yr);Rr(kn,wr)},Bt=(Qn,nr)=>{if(!it(nr,Yr))return;const Zn=Ne(nr);Zn.status="uploading",Zn.percent=Qn.percent;const kn=ze(Zn,Yr);Rr(Zn,kn,Qn)},zt=(Qn,nr,Zn)=>{if(!it(Zn,Yr))return;const kn=Ne(Zn);kn.error=Qn,kn.response=nr,kn.status="error";const wr=ze(kn,Yr);Rr(kn,wr)},ct=Qn=>{let nr;Promise.resolve(typeof un=="function"?un(Qn):un).then(Zn=>{var kn;if(Zn===!1)return;const wr=St(Qn,Yr);wr&&(nr=Object.assign(Object.assign({},Qn),{status:"removed"}),Yr==null||Yr.forEach(ua=>{const wa=nr.uid!==void 0?"uid":"name";ua[wa]===nr[wa]&&!Object.isFrozen(ua)&&(ua.status="removed")}),(kn=or.current)===null||kn===void 0||kn.abort(nr),Rr(nr,wr))})},Xt=Qn=>{Ln(Qn.type),Qn.type==="drop"&&(er==null||er(Qn))};Te.useImperativeHandle(en,()=>({onBatchStart:Hn,onSuccess:wt,onProgress:Bt,onError:zt,fileList:Yr,upload:or.current}));const{getPrefixCls:vn,direction:dn,upload:_t}=Te.useContext(Ve.E_),Vt=vn("upload",pa),Kt=Object.assign(Object.assign({onBatchStart:Hn,onError:zt,onProgress:Bt,onSuccess:wt},jt),{data:ln,multiple:wn,action:Yn,accept:cr,supportServerRender:vr,prefixCls:Vt,disabled:qr,beforeUpload:$r,onChange:void 0});delete Kt.className,delete Kt.style,(!Ra||qr)&&delete Kt.id;const[Yt,Zt]=Xr(Vt),[rn]=(0,ut.Z)("Upload",nt.Z.Upload),{showRemoveIcon:on,showPreviewIcon:In,showDownloadIcon:Un,removeIcon:dr,previewIcon:En,downloadIcon:Jn}=typeof nn=="boolean"?{}:nn,tr=(Qn,nr)=>nn?Te.createElement(yr,{prefixCls:Vt,listType:bn,items:Yr,previewFile:la,onPreview:Tt,onDownload:Ir,onRemove:ct,showRemoveIcon:!qr&&on,showPreviewIcon:In,showDownloadIcon:Un,removeIcon:dr,previewIcon:En,downloadIcon:Jn,iconRender:Er,locale:Object.assign(Object.assign({},rn),On),isImageUrl:Vn,progress:Sa,appendAction:Qn,appendActionVisible:nr,itemRender:Pt,disabled:qr}):Qn,ir=ye()(`${Vt}-wrapper`,Ia,Gr,Zt,_t==null?void 0:_t.className,{[`${Vt}-rtl`]:dn==="rtl",[`${Vt}-picture-card-wrapper`]:bn==="picture-card",[`${Vt}-picture-circle-wrapper`]:bn==="picture-circle"}),br=Object.assign(Object.assign({},_t==null?void 0:_t.style),yt);if(Ba==="drag"){const Qn=ye()(Zt,Vt,`${Vt}-drag`,{[`${Vt}-drag-uploading`]:Yr.some(nr=>nr.status==="uploading"),[`${Vt}-drag-hover`]:Ha==="dragover",[`${Vt}-disabled`]:qr,[`${Vt}-rtl`]:dn==="rtl"});return Yt(Te.createElement("span",{className:ir},Te.createElement("div",{className:Qn,style:br,onDrop:Xt,onDragOver:Xt,onDragLeave:Xt},Te.createElement(Ae,Object.assign({},Kt,{ref:or,className:`${Vt}-btn`}),Te.createElement("div",{className:`${Vt}-drag-container`},Ra))),tr()))}const Zr=ye()(Vt,`${Vt}-select`,{[`${Vt}-disabled`]:qr}),ea=(Qn=>Te.createElement("div",{className:Zr,style:Qn},Te.createElement(Ae,Object.assign({},Kt,{ref:or}))))(Ra?void 0:{display:"none"});return Yt(bn==="picture-card"||bn==="picture-circle"?Te.createElement("span",{className:ir},tr(ea,!!Ra)):Te.createElement("span",{className:ir},ea,tr()))};var Nr=Te.forwardRef(Cn),La=function(jt,en){var tn={};for(var sn in jt)Object.prototype.hasOwnProperty.call(jt,sn)&&en.indexOf(sn)<0&&(tn[sn]=jt[sn]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,sn=Object.getOwnPropertySymbols(jt);un<sn.length;un++)en.indexOf(sn[un])<0&&Object.prototype.propertyIsEnumerable.call(jt,sn[un])&&(tn[sn[un]]=jt[sn[un]]);return tn},Ca=Te.forwardRef((jt,en)=>{var{style:tn,height:sn}=jt,un=La(jt,["style","height"]);return Te.createElement(Nr,Object.assign({ref:en},un,{type:"drag",style:Object.assign(Object.assign({},tn),{height:sn})}))});const Wa=Nr;Wa.Dragger=Ca,Wa.LIST_IGNORE=sa;var ia=Wa},46214:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return te}});var Te=Pe(87462),He=Pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ye=E,me=Pe(44327),oe=function(de,le){return He.createElement(me.Z,(0,Te.Z)({},de,{ref:le,icon:ye}))},te=He.forwardRef(oe)},55007:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return te}});var Te=Pe(87462),He=Pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},ye=E,me=Pe(44327),oe=function(de,le){return He.createElement(me.Z,(0,Te.Z)({},de,{ref:le,icon:ye}))},te=He.forwardRef(oe)},79269:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return te}});var Te=Pe(87462),He=Pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},ye=E,me=Pe(44327),oe=function(de,le){return He.createElement(me.Z,(0,Te.Z)({},de,{ref:le,icon:ye}))},te=He.forwardRef(oe)},62661:function(At,Ct){"use strict";var Pe;var Te=Symbol.for("react.element"),He=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),ye=Symbol.for("react.strict_mode"),me=Symbol.for("react.profiler"),oe=Symbol.for("react.provider"),te=Symbol.for("react.context"),ue=Symbol.for("react.server_context"),de=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),ae=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),a;a=Symbol.for("react.module.reference");function y(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case Te:switch(x=x.type,x){case E:case me:case ye:case le:case ce:return x;default:switch(x=x&&x.$$typeof,x){case ue:case te:case de:case ie:case ae:case oe:return x;default:return b}}case He:return b}}}Pe=te,Pe=oe,Pe=Te,Pe=de,Pe=E,Pe=ie,Pe=ae,Pe=He,Pe=me,Pe=ye,Pe=le,Pe=ce,Pe=function(){return!1},Pe=function(){return!1},Pe=function(x){return y(x)===te},Pe=function(x){return y(x)===oe},Pe=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===Te},Pe=function(x){return y(x)===de},Pe=function(x){return y(x)===E},Pe=function(x){return y(x)===ie},Ct.isMemo=function(x){return y(x)===ae},Pe=function(x){return y(x)===He},Pe=function(x){return y(x)===me},Pe=function(x){return y(x)===ye},Pe=function(x){return y(x)===le},Pe=function(x){return y(x)===ce},Pe=function(x){return typeof x=="string"||typeof x=="function"||x===E||x===me||x===ye||x===le||x===ce||x===ne||typeof x=="object"&&x!==null&&(x.$$typeof===ie||x.$$typeof===ae||x.$$typeof===oe||x.$$typeof===te||x.$$typeof===de||x.$$typeof===a||x.getModuleId!==void 0)},Pe=y},95845:function(At,Ct,Pe){"use strict";At.exports=Pe(62661)},72665:function(At,Ct){"use strict";var Pe;var Te=typeof Symbol=="function"&&Symbol.for,He=Te?Symbol.for("react.element"):60103,E=Te?Symbol.for("react.portal"):60106,ye=Te?Symbol.for("react.fragment"):60107,me=Te?Symbol.for("react.strict_mode"):60108,oe=Te?Symbol.for("react.profiler"):60114,te=Te?Symbol.for("react.provider"):60109,ue=Te?Symbol.for("react.context"):60110,de=Te?Symbol.for("react.async_mode"):60111,le=Te?Symbol.for("react.concurrent_mode"):60111,ce=Te?Symbol.for("react.forward_ref"):60112,ae=Te?Symbol.for("react.suspense"):60113,ie=Te?Symbol.for("react.suspense_list"):60120,ne=Te?Symbol.for("react.memo"):60115,a=Te?Symbol.for("react.lazy"):60116,y=Te?Symbol.for("react.block"):60121,x=Te?Symbol.for("react.fundamental"):60117,b=Te?Symbol.for("react.responder"):60118,z=Te?Symbol.for("react.scope"):60119;function ee(se){if(typeof se=="object"&&se!==null){var fe=se.$$typeof;switch(fe){case He:switch(se=se.type,se){case de:case le:case ye:case oe:case me:case ae:return se;default:switch(se=se&&se.$$typeof,se){case ue:case ce:case a:case ne:case te:return se;default:return fe}}case E:return fe}}}function re(se){return ee(se)===le}Pe=de,Pe=le,Pe=ue,Pe=te,Pe=He,Pe=ce,Pe=ye,Pe=a,Pe=ne,Pe=E,Pe=oe,Pe=me,Pe=ae,Pe=function(se){return re(se)||ee(se)===de},Pe=re,Pe=function(se){return ee(se)===ue},Pe=function(se){return ee(se)===te},Pe=function(se){return typeof se=="object"&&se!==null&&se.$$typeof===He},Pe=function(se){return ee(se)===ce},Pe=function(se){return ee(se)===ye},Pe=function(se){return ee(se)===a},Ct.isMemo=function(se){return ee(se)===ne},Pe=function(se){return ee(se)===E},Pe=function(se){return ee(se)===oe},Pe=function(se){return ee(se)===me},Pe=function(se){return ee(se)===ae},Pe=function(se){return typeof se=="string"||typeof se=="function"||se===ye||se===le||se===oe||se===me||se===ae||se===ie||typeof se=="object"&&se!==null&&(se.$$typeof===a||se.$$typeof===ne||se.$$typeof===te||se.$$typeof===ue||se.$$typeof===ce||se.$$typeof===x||se.$$typeof===b||se.$$typeof===z||se.$$typeof===y)},Pe=ee},12060:function(At,Ct,Pe){"use strict";At.exports=Pe(72665)},56261:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return ge}});var Te=Pe(87462),He=Pe(4942),E=Pe(45987),ye=Pe(1413),me=Pe(15671),oe=Pe(43144),te=Pe(97326),ue=Pe(60136),de=Pe(51630),le=Pe(94184),ce=Pe.n(le),ae=Pe(34952),ie=Pe(67294),ne=Pe(69610),a=function(pe){for(var Se=pe.prefixCls,be=pe.level,je=pe.isStart,we=pe.isEnd,Oe="".concat(Se,"-indent-unit"),Ae=[],Fe=0;Fe<be;Fe+=1){var ke;Ae.push(ie.createElement("span",{key:Fe,className:ce()(Oe,(ke={},(0,He.Z)(ke,"".concat(Oe,"-start"),je[Fe]),(0,He.Z)(ke,"".concat(Oe,"-end"),we[Fe]),ke))}))}return ie.createElement("span",{"aria-hidden":"true",className:"".concat(Se,"-indent")},Ae)},y=ie.memo(a),x=Pe(3596),b=Pe(83898),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ee="open",re="close",se="---",fe=function(he){(0,ue.Z)(Se,he);var pe=(0,de.Z)(Se);function Se(){var be;(0,me.Z)(this,Se);for(var je=arguments.length,we=new Array(je),Oe=0;Oe<je;Oe++)we[Oe]=arguments[Oe];return be=pe.call.apply(pe,[this].concat(we)),be.state={dragNodeHighlight:!1},be.selectHandle=void 0,be.cacheIndent=void 0,be.onSelectorClick=function(Ae){var Fe=be.props.context.onNodeClick;Fe(Ae,(0,b.F)(be.props)),be.isSelectable()?be.onSelect(Ae):be.onCheck(Ae)},be.onSelectorDoubleClick=function(Ae){var Fe=be.props.context.onNodeDoubleClick;Fe(Ae,(0,b.F)(be.props))},be.onSelect=function(Ae){if(!be.isDisabled()){var Fe=be.props.context.onNodeSelect;Fe(Ae,(0,b.F)(be.props))}},be.onCheck=function(Ae){if(!be.isDisabled()){var Fe=be.props,ke=Fe.disableCheckbox,Ve=Fe.checked,De=be.props.context.onNodeCheck;if(!(!be.isCheckable()||ke)){var ut=!Ve;De(Ae,(0,b.F)(be.props),ut)}}},be.onMouseEnter=function(Ae){var Fe=be.props.context.onNodeMouseEnter;Fe(Ae,(0,b.F)(be.props))},be.onMouseLeave=function(Ae){var Fe=be.props.context.onNodeMouseLeave;Fe(Ae,(0,b.F)(be.props))},be.onContextMenu=function(Ae){var Fe=be.props.context.onNodeContextMenu;Fe(Ae,(0,b.F)(be.props))},be.onDragStart=function(Ae){var Fe=be.props.context.onNodeDragStart;Ae.stopPropagation(),be.setState({dragNodeHighlight:!0}),Fe(Ae,(0,te.Z)(be));try{Ae.dataTransfer.setData("text/plain","")}catch(ke){}},be.onDragEnter=function(Ae){var Fe=be.props.context.onNodeDragEnter;Ae.preventDefault(),Ae.stopPropagation(),Fe(Ae,(0,te.Z)(be))},be.onDragOver=function(Ae){var Fe=be.props.context.onNodeDragOver;Ae.preventDefault(),Ae.stopPropagation(),Fe(Ae,(0,te.Z)(be))},be.onDragLeave=function(Ae){var Fe=be.props.context.onNodeDragLeave;Ae.stopPropagation(),Fe(Ae,(0,te.Z)(be))},be.onDragEnd=function(Ae){var Fe=be.props.context.onNodeDragEnd;Ae.stopPropagation(),be.setState({dragNodeHighlight:!1}),Fe(Ae,(0,te.Z)(be))},be.onDrop=function(Ae){var Fe=be.props.context.onNodeDrop;Ae.preventDefault(),Ae.stopPropagation(),be.setState({dragNodeHighlight:!1}),Fe(Ae,(0,te.Z)(be))},be.onExpand=function(Ae){var Fe=be.props,ke=Fe.loading,Ve=Fe.context.onNodeExpand;ke||Ve(Ae,(0,b.F)(be.props))},be.setSelectHandle=function(Ae){be.selectHandle=Ae},be.getNodeState=function(){var Ae=be.props.expanded;return be.isLeaf()?null:Ae?ee:re},be.hasChildren=function(){var Ae=be.props.eventKey,Fe=be.props.context.keyEntities,ke=(0,x.Z)(Fe,Ae)||{},Ve=ke.children;return!!(Ve||[]).length},be.isLeaf=function(){var Ae=be.props,Fe=Ae.isLeaf,ke=Ae.loaded,Ve=be.props.context.loadData,De=be.hasChildren();return Fe===!1?!1:Fe||!Ve&&!De||Ve&&ke&&!De},be.isDisabled=function(){var Ae=be.props.disabled,Fe=be.props.context.disabled;return!!(Fe||Ae)},be.isCheckable=function(){var Ae=be.props.checkable,Fe=be.props.context.checkable;return!Fe||Ae===!1?!1:Fe},be.syncLoadData=function(Ae){var Fe=Ae.expanded,ke=Ae.loading,Ve=Ae.loaded,De=be.props.context,ut=De.loadData,nt=De.onNodeLoad;ke||ut&&Fe&&!be.isLeaf()&&!be.hasChildren()&&!Ve&&nt((0,b.F)(be.props))},be.isDraggable=function(){var Ae=be.props,Fe=Ae.data,ke=Ae.context.draggable;return!!(ke&&(!ke.nodeDraggable||ke.nodeDraggable(Fe)))},be.renderDragHandler=function(){var Ae=be.props.context,Fe=Ae.draggable,ke=Ae.prefixCls;return Fe!=null&&Fe.icon?ie.createElement("span",{className:"".concat(ke,"-draggable-icon")},Fe.icon):null},be.renderSwitcherIconDom=function(Ae){var Fe=be.props.switcherIcon,ke=be.props.context.switcherIcon,Ve=Fe||ke;return typeof Ve=="function"?Ve((0,ye.Z)((0,ye.Z)({},be.props),{},{isLeaf:Ae})):Ve},be.renderSwitcher=function(){var Ae=be.props.expanded,Fe=be.props.context.prefixCls;if(be.isLeaf()){var ke=be.renderSwitcherIconDom(!0);return ke!==!1?ie.createElement("span",{className:ce()("".concat(Fe,"-switcher"),"".concat(Fe,"-switcher-noop"))},ke):null}var Ve=ce()("".concat(Fe,"-switcher"),"".concat(Fe,"-switcher_").concat(Ae?ee:re)),De=be.renderSwitcherIconDom(!1);return De!==!1?ie.createElement("span",{onClick:be.onExpand,className:Ve},De):null},be.renderCheckbox=function(){var Ae=be.props,Fe=Ae.checked,ke=Ae.halfChecked,Ve=Ae.disableCheckbox,De=be.props.context.prefixCls,ut=be.isDisabled(),nt=be.isCheckable();if(!nt)return null;var qe=typeof nt!="boolean"?nt:null;return ie.createElement("span",{className:ce()("".concat(De,"-checkbox"),Fe&&"".concat(De,"-checkbox-checked"),!Fe&&ke&&"".concat(De,"-checkbox-indeterminate"),(ut||Ve)&&"".concat(De,"-checkbox-disabled")),onClick:be.onCheck},qe)},be.renderIcon=function(){var Ae=be.props.loading,Fe=be.props.context.prefixCls;return ie.createElement("span",{className:ce()("".concat(Fe,"-iconEle"),"".concat(Fe,"-icon__").concat(be.getNodeState()||"docu"),Ae&&"".concat(Fe,"-icon_loading"))})},be.renderSelector=function(){var Ae=be.state.dragNodeHighlight,Fe=be.props,ke=Fe.title,Ve=ke===void 0?se:ke,De=Fe.selected,ut=Fe.icon,nt=Fe.loading,qe=Fe.data,Xe=be.props.context,$e=Xe.prefixCls,Ue=Xe.showIcon,Be=Xe.icon,tt=Xe.loadData,Je=Xe.titleRender,ft=be.isDisabled(),Ze="".concat($e,"-node-content-wrapper"),Ge;if(Ue){var Le=ut||Be;Ge=Le?ie.createElement("span",{className:ce()("".concat($e,"-iconEle"),"".concat($e,"-icon__customize"))},typeof Le=="function"?Le(be.props):Le):be.renderIcon()}else tt&&nt&&(Ge=be.renderIcon());var Ke;typeof Ve=="function"?Ke=Ve(qe):Je?Ke=Je(qe):Ke=Ve;var Ee=ie.createElement("span",{className:"".concat($e,"-title")},Ke);return ie.createElement("span",{ref:be.setSelectHandle,title:typeof Ve=="string"?Ve:"",className:ce()("".concat(Ze),"".concat(Ze,"-").concat(be.getNodeState()||"normal"),!ft&&(De||Ae)&&"".concat($e,"-node-selected")),onMouseEnter:be.onMouseEnter,onMouseLeave:be.onMouseLeave,onContextMenu:be.onContextMenu,onClick:be.onSelectorClick,onDoubleClick:be.onSelectorDoubleClick},Ge,Ee,be.renderDropIndicator())},be.renderDropIndicator=function(){var Ae=be.props,Fe=Ae.disabled,ke=Ae.eventKey,Ve=be.props.context,De=Ve.draggable,ut=Ve.dropLevelOffset,nt=Ve.dropPosition,qe=Ve.prefixCls,Xe=Ve.indent,$e=Ve.dropIndicatorRender,Ue=Ve.dragOverNodeKey,Be=Ve.direction,tt=!!De,Je=!Fe&&tt&&Ue===ke,ft=Xe!=null?Xe:be.cacheIndent;return be.cacheIndent=Xe,Je?$e({dropPosition:nt,dropLevelOffset:ut,indent:ft,prefixCls:qe,direction:Be}):null},be}return(0,oe.Z)(Se,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var je=this.props.selectable,we=this.props.context.selectable;return typeof je=="boolean"?je:we}},{key:"render",value:function(){var je,we=this.props,Oe=we.eventKey,Ae=we.className,Fe=we.style,ke=we.dragOver,Ve=we.dragOverGapTop,De=we.dragOverGapBottom,ut=we.isLeaf,nt=we.isStart,qe=we.isEnd,Xe=we.expanded,$e=we.selected,Ue=we.checked,Be=we.halfChecked,tt=we.loading,Je=we.domRef,ft=we.active,Ze=we.data,Ge=we.onMouseMove,Le=we.selectable,Ke=(0,E.Z)(we,z),Ee=this.props.context,Re=Ee.prefixCls,Qe=Ee.filterTreeNode,Ye=Ee.keyEntities,We=Ee.dropContainerKey,Ce=Ee.dropTargetKey,xe=Ee.draggingNodeKey,Ne=this.isDisabled(),ze=(0,ae.Z)(Ke,{aria:!0,data:!0}),it=(0,x.Z)(Ye,Oe)||{},St=it.level,dt=qe[qe.length-1],bt=this.isDraggable(),an=!Ne&&bt,kt=xe===Oe,lt=Le!==void 0?{"aria-selected":!!Le}:void 0;return ie.createElement("div",(0,Te.Z)({ref:Je,className:ce()(Ae,"".concat(Re,"-treenode"),(je={},(0,He.Z)(je,"".concat(Re,"-treenode-disabled"),Ne),(0,He.Z)(je,"".concat(Re,"-treenode-switcher-").concat(Xe?"open":"close"),!ut),(0,He.Z)(je,"".concat(Re,"-treenode-checkbox-checked"),Ue),(0,He.Z)(je,"".concat(Re,"-treenode-checkbox-indeterminate"),Be),(0,He.Z)(je,"".concat(Re,"-treenode-selected"),$e),(0,He.Z)(je,"".concat(Re,"-treenode-loading"),tt),(0,He.Z)(je,"".concat(Re,"-treenode-active"),ft),(0,He.Z)(je,"".concat(Re,"-treenode-leaf-last"),dt),(0,He.Z)(je,"".concat(Re,"-treenode-draggable"),bt),(0,He.Z)(je,"dragging",kt),(0,He.Z)(je,"drop-target",Ce===Oe),(0,He.Z)(je,"drop-container",We===Oe),(0,He.Z)(je,"drag-over",!Ne&&ke),(0,He.Z)(je,"drag-over-gap-top",!Ne&&Ve),(0,He.Z)(je,"drag-over-gap-bottom",!Ne&&De),(0,He.Z)(je,"filter-node",Qe&&Qe((0,b.F)(this.props))),je)),style:Fe,draggable:an,"aria-grabbed":kt,onDragStart:an?this.onDragStart:void 0,onDragEnter:bt?this.onDragEnter:void 0,onDragOver:bt?this.onDragOver:void 0,onDragLeave:bt?this.onDragLeave:void 0,onDrop:bt?this.onDrop:void 0,onDragEnd:bt?this.onDragEnd:void 0,onMouseMove:Ge},lt,ze),ie.createElement(y,{prefixCls:Re,level:St,isStart:nt,isEnd:qe}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Se}(ie.Component),ve=function(pe){return ie.createElement(ne.k.Consumer,null,function(Se){return ie.createElement(fe,(0,Te.Z)({},pe,{context:Se}))})};ve.displayName="TreeNode",ve.isTreeNode=1;var ge=ve},69610:function(At,Ct,Pe){"use strict";Pe.d(Ct,{k:function(){return He}});var Te=Pe(67294),He=Te.createContext(null)},29873:function(At,Ct,Pe){"use strict";Pe.d(Ct,{BT:function(){return y},E6:function(){return z},L0:function(){return le},OM:function(){return a},_5:function(){return de},r7:function(){return ee},wA:function(){return ae},yx:function(){return ce}});var Te=Pe(74902),He=Pe(71002),E=Pe(72978),ye=Pe(67294),me=Pe(56261),oe=Pe(3596),te=Pe(83898),ue=null;function de(re,se){if(!re)return[];var fe=re.slice(),ve=fe.indexOf(se);return ve>=0&&fe.splice(ve,1),fe}function le(re,se){var fe=(re||[]).slice();return fe.indexOf(se)===-1&&fe.push(se),fe}function ce(re){return re.split("-")}function ae(re,se){var fe=[],ve=(0,oe.Z)(se,re);function ge(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];he.forEach(function(pe){var Se=pe.key,be=pe.children;fe.push(Se),ge(be)})}return ge(ve.children),fe}function ie(re){if(re.parent){var se=ce(re.pos);return Number(se[se.length-1])===re.parent.children.length-1}return!1}function ne(re){var se=ce(re.pos);return Number(se[se.length-1])===0}function a(re,se,fe,ve,ge,he,pe,Se,be,je){var we,Oe=re.clientX,Ae=re.clientY,Fe=re.target.getBoundingClientRect(),ke=Fe.top,Ve=Fe.height,De=(je==="rtl"?-1:1)*(((ge==null?void 0:ge.x)||0)-Oe),ut=(De-12)/ve,nt=(0,oe.Z)(Se,fe.props.eventKey);if(Ae<ke+Ve/2){var qe=pe.findIndex(function(Ee){return Ee.key===nt.key}),Xe=qe<=0?0:qe-1,$e=pe[Xe].key;nt=(0,oe.Z)(Se,$e)}var Ue=nt.key,Be=nt,tt=nt.key,Je=0,ft=0;if(!be.includes(Ue))for(var Ze=0;Ze<ut&&ie(nt);Ze+=1)nt=nt.parent,ft+=1;var Ge=se.props.data,Le=nt.node,Ke=!0;return ne(nt)&&nt.level===0&&Ae<ke+Ve/2&&he({dragNode:Ge,dropNode:Le,dropPosition:-1})&&nt.key===fe.props.eventKey?Je=-1:(Be.children||[]).length&&be.includes(tt)?he({dragNode:Ge,dropNode:Le,dropPosition:0})?Je=0:Ke=!1:ft===0?ut>-1.5?he({dragNode:Ge,dropNode:Le,dropPosition:1})?Je=1:Ke=!1:he({dragNode:Ge,dropNode:Le,dropPosition:0})?Je=0:he({dragNode:Ge,dropNode:Le,dropPosition:1})?Je=1:Ke=!1:he({dragNode:Ge,dropNode:Le,dropPosition:1})?Je=1:Ke=!1,{dropPosition:Je,dropLevelOffset:ft,dropTargetKey:nt.key,dropTargetPos:nt.pos,dragOverNodeKey:tt,dropContainerKey:Je===0?null:((we=nt.parent)===null||we===void 0?void 0:we.key)||null,dropAllowed:Ke}}function y(re,se){if(re){var fe=se.multiple;return fe?re.slice():re.length?[re[0]]:re}}var x=function(se){return se};function b(re,se){if(!re)return[];var fe=se||{},ve=fe.processProps,ge=ve===void 0?x:ve,he=Array.isArray(re)?re:[re];return he.map(function(pe){var Se=pe.children,be=_objectWithoutProperties(pe,ue),je=b(Se,se);return React.createElement(TreeNode,_extends({key:be.key},ge(be)),je)})}function z(re){if(!re)return null;var se;if(Array.isArray(re))se={checkedKeys:re,halfCheckedKeys:void 0};else if((0,He.Z)(re)==="object")se={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return se}function ee(re,se){var fe=new Set;function ve(ge){if(!fe.has(ge)){var he=(0,oe.Z)(se,ge);if(he){fe.add(ge);var pe=he.parent,Se=he.node;Se.disabled||pe&&ve(pe.key)}}}return(re||[]).forEach(function(ge){ve(ge)}),(0,Te.Z)(fe)}},97153:function(At,Ct,Pe){"use strict";Pe.d(Ct,{S:function(){return te}});var Te=Pe(72978),He=Pe(3596);function E(ue,de){var le=new Set;return ue.forEach(function(ce){de.has(ce)||le.add(ce)}),le}function ye(ue){var de=ue||{},le=de.disabled,ce=de.disableCheckbox,ae=de.checkable;return!!(le||ce)||ae===!1}function me(ue,de,le,ce){for(var ae=new Set(ue),ie=new Set,ne=0;ne<=le;ne+=1){var a=de.get(ne)||new Set;a.forEach(function(z){var ee=z.key,re=z.node,se=z.children,fe=se===void 0?[]:se;ae.has(ee)&&!ce(re)&&fe.filter(function(ve){return!ce(ve.node)}).forEach(function(ve){ae.add(ve.key)})})}for(var y=new Set,x=le;x>=0;x-=1){var b=de.get(x)||new Set;b.forEach(function(z){var ee=z.parent,re=z.node;if(!(ce(re)||!z.parent||y.has(z.parent.key))){if(ce(z.parent.node)){y.add(ee.key);return}var se=!0,fe=!1;(ee.children||[]).filter(function(ve){return!ce(ve.node)}).forEach(function(ve){var ge=ve.key,he=ae.has(ge);se&&!he&&(se=!1),!fe&&(he||ie.has(ge))&&(fe=!0)}),se&&ae.add(ee.key),fe&&ie.add(ee.key),y.add(ee.key)}})}return{checkedKeys:Array.from(ae),halfCheckedKeys:Array.from(E(ie,ae))}}function oe(ue,de,le,ce,ae){for(var ie=new Set(ue),ne=new Set(de),a=0;a<=ce;a+=1){var y=le.get(a)||new Set;y.forEach(function(ee){var re=ee.key,se=ee.node,fe=ee.children,ve=fe===void 0?[]:fe;!ie.has(re)&&!ne.has(re)&&!ae(se)&&ve.filter(function(ge){return!ae(ge.node)}).forEach(function(ge){ie.delete(ge.key)})})}ne=new Set;for(var x=new Set,b=ce;b>=0;b-=1){var z=le.get(b)||new Set;z.forEach(function(ee){var re=ee.parent,se=ee.node;if(!(ae(se)||!ee.parent||x.has(ee.parent.key))){if(ae(ee.parent.node)){x.add(re.key);return}var fe=!0,ve=!1;(re.children||[]).filter(function(ge){return!ae(ge.node)}).forEach(function(ge){var he=ge.key,pe=ie.has(he);fe&&!pe&&(fe=!1),!ve&&(pe||ne.has(he))&&(ve=!0)}),fe||ie.delete(re.key),ve&&ne.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(ie),halfCheckedKeys:Array.from(E(ne,ie))}}function te(ue,de,le,ce){var ae=[],ie;ce?ie=ce:ie=ye;var ne=new Set(ue.filter(function(b){var z=!!(0,He.Z)(le,b);return z||ae.push(b),z})),a=new Map,y=0;Object.keys(le).forEach(function(b){var z=le[b],ee=z.level,re=a.get(ee);re||(re=new Set,a.set(ee,re)),re.add(z),y=Math.max(y,ee)}),(0,Te.ZP)(!ae.length,"Tree missing follow keys: ".concat(ae.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return de===!0?x=me(ne,a,y,ie):x=oe(ne,de.halfCheckedKeys,a,y,ie),x}},3596:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return Te}});function Te(He,E){return He[E]}},83898:function(At,Ct,Pe){"use strict";Pe.d(Ct,{I8:function(){return ee},F:function(){return se},zn:function(){return x},w$:function(){return a},oH:function(){return b},km:function(){return ne},H8:function(){return re}});var Te=Pe(71002),He=Pe(74902),E=Pe(1413),ye=Pe(45987),me=Pe(67294),oe=Pe(28580);function te(fe){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ge=[];return me.Children.forEach(fe,function(he){he==null&&!ve.keepEmpty||(Array.isArray(he)?ge=ge.concat(te(he)):(0,oe.isFragment)(he)&&he.props?ge=ge.concat(te(he.props.children,ve)):ge.push(he))}),ge}function ue(fe,ve){var ge=(0,E.Z)({},fe);return Array.isArray(ve)&&ve.forEach(function(he){delete ge[he]}),ge}var de=Pe(72978),le=Pe(3596),ce=["children"];function ae(fe,ve){return"".concat(fe,"-").concat(ve)}function ie(fe){return fe&&fe.type&&fe.type.isTreeNode}function ne(fe,ve){return fe!=null?fe:ve}function a(fe){var ve=fe||{},ge=ve.title,he=ve._title,pe=ve.key,Se=ve.children,be=ge||"title";return{title:be,_title:he||[be],key:pe||"key",children:Se||"children"}}function y(fe,ve){var ge=new Map;function he(pe){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(pe||[]).forEach(function(be){var je=be[ve.key],we=be[ve.children];warning(je!=null,"Tree node must have a certain key: [".concat(Se).concat(je,"]"));var Oe=String(je);warning(!ge.has(Oe)||je===null||je===void 0,"Same 'key' exist in the Tree: ".concat(Oe)),ge.set(Oe,!0),he(we,"".concat(Se).concat(Oe," > "))})}he(fe)}function x(fe){function ve(ge){var he=te(ge);return he.map(function(pe){if(!ie(pe))return(0,de.ZP)(!pe,"Tree/TreeNode can only accept TreeNode as children."),null;var Se=pe.key,be=pe.props,je=be.children,we=(0,ye.Z)(be,ce),Oe=(0,E.Z)({key:Se},we),Ae=ve(je);return Ae.length&&(Oe.children=Ae),Oe}).filter(function(pe){return pe})}return ve(fe)}function b(fe,ve,ge){var he=a(ge),pe=he._title,Se=he.key,be=he.children,je=new Set(ve===!0?[]:ve),we=[];function Oe(Ae){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ae.map(function(ke,Ve){for(var De=ae(Fe?Fe.pos:"0",Ve),ut=ne(ke[Se],De),nt,qe=0;qe<pe.length;qe+=1){var Xe=pe[qe];if(ke[Xe]!==void 0){nt=ke[Xe];break}}var $e=(0,E.Z)((0,E.Z)({},ue(ke,[].concat((0,He.Z)(pe),[Se,be]))),{},{title:nt,key:ut,parent:Fe,pos:De,children:null,data:ke,isStart:[].concat((0,He.Z)(Fe?Fe.isStart:[]),[Ve===0]),isEnd:[].concat((0,He.Z)(Fe?Fe.isEnd:[]),[Ve===Ae.length-1])});return we.push($e),ve===!0||je.has(ut)?$e.children=Oe(ke[be]||[],$e):$e.children=[],$e})}return Oe(fe),we}function z(fe,ve,ge){var he={};(0,Te.Z)(ge)==="object"?he=ge:he={externalGetKey:ge},he=he||{};var pe=he,Se=pe.childrenPropName,be=pe.externalGetKey,je=pe.fieldNames,we=a(je),Oe=we.key,Ae=we.children,Fe=Se||Ae,ke;be?typeof be=="string"?ke=function(ut){return ut[be]}:typeof be=="function"&&(ke=function(ut){return be(ut)}):ke=function(ut,nt){return ne(ut[Oe],nt)};function Ve(De,ut,nt,qe){var Xe=De?De[Fe]:fe,$e=De?ae(nt.pos,ut):"0",Ue=De?[].concat((0,He.Z)(qe),[De]):[];if(De){var Be=ke(De,$e),tt={node:De,index:ut,pos:$e,key:Be,parentPos:nt.node?nt.pos:null,level:nt.level+1,nodes:Ue};ve(tt)}Xe&&Xe.forEach(function(Je,ft){Ve(Je,ft,{node:De,pos:$e,level:nt?nt.level+1:-1},Ue)})}Ve(null)}function ee(fe){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ge=ve.initWrapper,he=ve.processEntity,pe=ve.onProcessFinished,Se=ve.externalGetKey,be=ve.childrenPropName,je=ve.fieldNames,we=arguments.length>2?arguments[2]:void 0,Oe=Se||we,Ae={},Fe={},ke={posEntities:Ae,keyEntities:Fe};return ge&&(ke=ge(ke)||ke),z(fe,function(Ve){var De=Ve.node,ut=Ve.index,nt=Ve.pos,qe=Ve.key,Xe=Ve.parentPos,$e=Ve.level,Ue=Ve.nodes,Be={node:De,nodes:Ue,index:ut,key:qe,pos:nt,level:$e},tt=ne(qe,nt);Ae[nt]=Be,Fe[tt]=Be,Be.parent=Ae[Xe],Be.parent&&(Be.parent.children=Be.parent.children||[],Be.parent.children.push(Be)),he&&he(Be,ke)},{externalGetKey:Oe,childrenPropName:be,fieldNames:je}),pe&&pe(ke),ke}function re(fe,ve){var ge=ve.expandedKeys,he=ve.selectedKeys,pe=ve.loadedKeys,Se=ve.loadingKeys,be=ve.checkedKeys,je=ve.halfCheckedKeys,we=ve.dragOverNodeKey,Oe=ve.dropPosition,Ae=ve.keyEntities,Fe=(0,le.Z)(Ae,fe),ke={eventKey:fe,expanded:ge.indexOf(fe)!==-1,selected:he.indexOf(fe)!==-1,loaded:pe.indexOf(fe)!==-1,loading:Se.indexOf(fe)!==-1,checked:be.indexOf(fe)!==-1,halfChecked:je.indexOf(fe)!==-1,pos:String(Fe?Fe.pos:""),dragOver:we===fe&&Oe===0,dragOverGapTop:we===fe&&Oe===-1,dragOverGapBottom:we===fe&&Oe===1};return ke}function se(fe){var ve=fe.data,ge=fe.expanded,he=fe.selected,pe=fe.checked,Se=fe.loaded,be=fe.loading,je=fe.halfChecked,we=fe.dragOver,Oe=fe.dragOverGapTop,Ae=fe.dragOverGapBottom,Fe=fe.pos,ke=fe.active,Ve=fe.eventKey,De=(0,E.Z)((0,E.Z)({},ve),{},{expanded:ge,selected:he,checked:pe,loaded:Se,loading:be,halfChecked:je,dragOver:we,dragOverGapTop:Oe,dragOverGapBottom:Ae,pos:Fe,active:ke,key:Ve});return"props"in De||Object.defineProperty(De,"props",{get:function(){return(0,de.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),fe}}),De}},34952:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return ue}});var Te=Pe(1413),He=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,E=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ye="".concat(He," ").concat(E).split(/[\s\n]+/),me="aria-",oe="data-";function te(de,le){return de.indexOf(le)===0}function ue(de){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ce;le===!1?ce={aria:!0,data:!0,attr:!0}:le===!0?ce={aria:!0}:ce=(0,Te.Z)({},le);var ae={};return Object.keys(de).forEach(function(ie){(ce.aria&&(ie==="role"||te(ie,me))||ce.data&&te(ie,oe)||ce.attr&&ye.includes(ie))&&(ae[ie]=de[ie])}),ae}},72978:function(At,Ct,Pe){"use strict";var Te={};function He(ue,de){}function E(ue,de){}function ye(){Te={}}function me(ue,de,le){!de&&!Te[le]&&(ue(!1,le),Te[le]=!0)}function oe(ue,de){me(He,ue,de)}function te(ue,de){me(E,ue,de)}Ct.ZP=oe},81533:function(At,Ct){"use strict";var Pe;var Te=typeof Symbol=="function"&&Symbol.for,He=Te?Symbol.for("react.element"):60103,E=Te?Symbol.for("react.portal"):60106,ye=Te?Symbol.for("react.fragment"):60107,me=Te?Symbol.for("react.strict_mode"):60108,oe=Te?Symbol.for("react.profiler"):60114,te=Te?Symbol.for("react.provider"):60109,ue=Te?Symbol.for("react.context"):60110,de=Te?Symbol.for("react.async_mode"):60111,le=Te?Symbol.for("react.concurrent_mode"):60111,ce=Te?Symbol.for("react.forward_ref"):60112,ae=Te?Symbol.for("react.suspense"):60113,ie=Te?Symbol.for("react.suspense_list"):60120,ne=Te?Symbol.for("react.memo"):60115,a=Te?Symbol.for("react.lazy"):60116,y=Te?Symbol.for("react.block"):60121,x=Te?Symbol.for("react.fundamental"):60117,b=Te?Symbol.for("react.responder"):60118,z=Te?Symbol.for("react.scope"):60119;function ee(se){if(typeof se=="object"&&se!==null){var fe=se.$$typeof;switch(fe){case He:switch(se=se.type,se){case de:case le:case ye:case oe:case me:case ae:return se;default:switch(se=se&&se.$$typeof,se){case ue:case ce:case a:case ne:case te:return se;default:return fe}}case E:return fe}}}function re(se){return ee(se)===le}Pe=de,Pe=le,Pe=ue,Pe=te,Pe=He,Pe=ce,Pe=ye,Pe=a,Pe=ne,Pe=E,Pe=oe,Pe=me,Pe=ae,Pe=function(se){return re(se)||ee(se)===de},Pe=re,Pe=function(se){return ee(se)===ue},Pe=function(se){return ee(se)===te},Pe=function(se){return typeof se=="object"&&se!==null&&se.$$typeof===He},Pe=function(se){return ee(se)===ce},Ct.isFragment=function(se){return ee(se)===ye},Pe=function(se){return ee(se)===a},Ct.isMemo=function(se){return ee(se)===ne},Pe=function(se){return ee(se)===E},Pe=function(se){return ee(se)===oe},Pe=function(se){return ee(se)===me},Pe=function(se){return ee(se)===ae},Pe=function(se){return typeof se=="string"||typeof se=="function"||se===ye||se===le||se===oe||se===me||se===ae||se===ie||typeof se=="object"&&se!==null&&(se.$$typeof===a||se.$$typeof===ne||se.$$typeof===te||se.$$typeof===ue||se.$$typeof===ce||se.$$typeof===x||se.$$typeof===b||se.$$typeof===z||se.$$typeof===y)},Pe=ee},28580:function(At,Ct,Pe){"use strict";At.exports=Pe(81533)},92389:function(At,Ct){"use strict";var Pe={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(He){var E=He.keyCode;if(He.altKey&&!He.ctrlKey||He.metaKey||E>=Pe.F1&&E<=Pe.F12)return!1;switch(E){case Pe.ALT:case Pe.CAPS_LOCK:case Pe.CONTEXT_MENU:case Pe.CTRL:case Pe.DOWN:case Pe.END:case Pe.ESC:case Pe.HOME:case Pe.INSERT:case Pe.LEFT:case Pe.MAC_FF_META:case Pe.META:case Pe.NUMLOCK:case Pe.NUM_CENTER:case Pe.PAGE_DOWN:case Pe.PAGE_UP:case Pe.PAUSE:case Pe.PRINT_SCREEN:case Pe.RIGHT:case Pe.SHIFT:case Pe.UP:case Pe.WIN_KEY:case Pe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(He){if(He>=Pe.ZERO&&He<=Pe.NINE||He>=Pe.NUM_ZERO&&He<=Pe.NUM_MULTIPLY||He>=Pe.A&&He<=Pe.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&He===0)return!0;switch(He){case Pe.SPACE:case Pe.QUESTION_MARK:case Pe.NUM_PLUS:case Pe.NUM_MINUS:case Pe.NUM_PERIOD:case Pe.NUM_DIVISION:case Pe.SEMICOLON:case Pe.DASH:case Pe.EQUALS:case Pe.COMMA:case Pe.PERIOD:case Pe.SLASH:case Pe.APOSTROPHE:case Pe.SINGLE_QUOTE:case Pe.OPEN_SQUARE_BRACKET:case Pe.BACKSLASH:case Pe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};Ct.Z=Pe},19575:function(At,Ct,Pe){var Te,He;(function(E,ye){At.exports=ye(E)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof Pe.g!="undefined"?Pe.g:this,function(E){"use strict";E=E||{};var ye=E.Base64,me="2.6.4",oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",te=function(we){for(var Oe={},Ae=0,Fe=we.length;Ae<Fe;Ae++)Oe[we.charAt(Ae)]=Ae;return Oe}(oe),ue=String.fromCharCode,de=function(we){if(we.length<2){var Oe=we.charCodeAt(0);return Oe<128?we:Oe<2048?ue(192|Oe>>>6)+ue(128|Oe&63):ue(224|Oe>>>12&15)+ue(128|Oe>>>6&63)+ue(128|Oe&63)}else{var Oe=65536+(we.charCodeAt(0)-55296)*1024+(we.charCodeAt(1)-56320);return ue(240|Oe>>>18&7)+ue(128|Oe>>>12&63)+ue(128|Oe>>>6&63)+ue(128|Oe&63)}},le=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ce=function(we){return we.replace(le,de)},ae=function(we){var Oe=[0,2,1][we.length%3],Ae=we.charCodeAt(0)<<16|(we.length>1?we.charCodeAt(1):0)<<8|(we.length>2?we.charCodeAt(2):0),Fe=[oe.charAt(Ae>>>18),oe.charAt(Ae>>>12&63),Oe>=2?"=":oe.charAt(Ae>>>6&63),Oe>=1?"=":oe.charAt(Ae&63)];return Fe.join("")},ie=E.btoa&&typeof E.btoa=="function"?function(we){return E.btoa(we)}:function(we){if(we.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return we.replace(/[\s\S]{1,3}/g,ae)},ne=function(we){return ie(ce(String(we)))},a=function(we){return we.replace(/[+\/]/g,function(Oe){return Oe=="+"?"-":"_"}).replace(/=/g,"")},y=function(we,Oe){return Oe?a(ne(we)):ne(we)},x=function(we){return y(we,!0)},b;E.Uint8Array&&(b=function(we,Oe){for(var Ae="",Fe=0,ke=we.length;Fe<ke;Fe+=3){var Ve=we[Fe],De=we[Fe+1],ut=we[Fe+2],nt=Ve<<16|De<<8|ut;Ae+=oe.charAt(nt>>>18)+oe.charAt(nt>>>12&63)+(typeof De!="undefined"?oe.charAt(nt>>>6&63):"=")+(typeof ut!="undefined"?oe.charAt(nt&63):"=")}return Oe?a(Ae):Ae});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ee=function(we){switch(we.length){case 4:var Oe=(7&we.charCodeAt(0))<<18|(63&we.charCodeAt(1))<<12|(63&we.charCodeAt(2))<<6|63&we.charCodeAt(3),Ae=Oe-65536;return ue((Ae>>>10)+55296)+ue((Ae&1023)+56320);case 3:return ue((15&we.charCodeAt(0))<<12|(63&we.charCodeAt(1))<<6|63&we.charCodeAt(2));default:return ue((31&we.charCodeAt(0))<<6|63&we.charCodeAt(1))}},re=function(we){return we.replace(z,ee)},se=function(we){var Oe=we.length,Ae=Oe%4,Fe=(Oe>0?te[we.charAt(0)]<<18:0)|(Oe>1?te[we.charAt(1)]<<12:0)|(Oe>2?te[we.charAt(2)]<<6:0)|(Oe>3?te[we.charAt(3)]:0),ke=[ue(Fe>>>16),ue(Fe>>>8&255),ue(Fe&255)];return ke.length-=[0,0,2,1][Ae],ke.join("")},fe=E.atob&&typeof E.atob=="function"?function(we){return E.atob(we)}:function(we){return we.replace(/\S{1,4}/g,se)},ve=function(we){return fe(String(we).replace(/[^A-Za-z0-9\+\/]/g,""))},ge=function(we){return re(fe(we))},he=function(we){return String(we).replace(/[-_]/g,function(Oe){return Oe=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},pe=function(we){return ge(he(we))},Se;E.Uint8Array&&(Se=function(we){return Uint8Array.from(ve(he(we)),function(Oe){return Oe.charCodeAt(0)})});var be=function(){var we=E.Base64;return E.Base64=ye,we};if(E.Base64={VERSION:me,atob:ve,btoa:ie,fromBase64:pe,toBase64:y,utob:ce,encode:y,encodeURI:x,btou:re,decode:pe,noConflict:be,fromUint8Array:b,toUint8Array:Se},typeof Object.defineProperty=="function"){var je=function(we){return{value:we,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",je(function(){return pe(this)})),Object.defineProperty(String.prototype,"toBase64",je(function(we){return y(this,we)})),Object.defineProperty(String.prototype,"toBase64URI",je(function(){return y(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),At.exports?At.exports.Base64=E.Base64:(Te=[],He=function(){return E.Base64}.apply(Ct,Te),He!==void 0&&(At.exports=He)),{Base64:E.Base64}})},26819:function(At,Ct){"use strict";var Pe;var Te=typeof Symbol=="function"&&Symbol.for,He=Te?Symbol.for("react.element"):60103,E=Te?Symbol.for("react.portal"):60106,ye=Te?Symbol.for("react.fragment"):60107,me=Te?Symbol.for("react.strict_mode"):60108,oe=Te?Symbol.for("react.profiler"):60114,te=Te?Symbol.for("react.provider"):60109,ue=Te?Symbol.for("react.context"):60110,de=Te?Symbol.for("react.async_mode"):60111,le=Te?Symbol.for("react.concurrent_mode"):60111,ce=Te?Symbol.for("react.forward_ref"):60112,ae=Te?Symbol.for("react.suspense"):60113,ie=Te?Symbol.for("react.suspense_list"):60120,ne=Te?Symbol.for("react.memo"):60115,a=Te?Symbol.for("react.lazy"):60116,y=Te?Symbol.for("react.block"):60121,x=Te?Symbol.for("react.fundamental"):60117,b=Te?Symbol.for("react.responder"):60118,z=Te?Symbol.for("react.scope"):60119;function ee(se){if(typeof se=="object"&&se!==null){var fe=se.$$typeof;switch(fe){case He:switch(se=se.type,se){case de:case le:case ye:case oe:case me:case ae:return se;default:switch(se=se&&se.$$typeof,se){case ue:case ce:case a:case ne:case te:return se;default:return fe}}case E:return fe}}}function re(se){return ee(se)===le}Pe=de,Pe=le,Pe=ue,Pe=te,Pe=He,Pe=ce,Pe=ye,Pe=a,Pe=ne,Pe=E,Pe=oe,Pe=me,Pe=ae,Pe=function(se){return re(se)||ee(se)===de},Pe=re,Pe=function(se){return ee(se)===ue},Pe=function(se){return ee(se)===te},Pe=function(se){return typeof se=="object"&&se!==null&&se.$$typeof===He},Pe=function(se){return ee(se)===ce},Pe=function(se){return ee(se)===ye},Pe=function(se){return ee(se)===a},Ct.isMemo=function(se){return ee(se)===ne},Pe=function(se){return ee(se)===E},Pe=function(se){return ee(se)===oe},Pe=function(se){return ee(se)===me},Pe=function(se){return ee(se)===ae},Pe=function(se){return typeof se=="string"||typeof se=="function"||se===ye||se===le||se===oe||se===me||se===ae||se===ie||typeof se=="object"&&se!==null&&(se.$$typeof===a||se.$$typeof===ne||se.$$typeof===te||se.$$typeof===ue||se.$$typeof===ce||se.$$typeof===x||se.$$typeof===b||se.$$typeof===z||se.$$typeof===y)},Pe=ee},18459:function(At,Ct,Pe){"use strict";At.exports=Pe(26819)},16651:function(At,Ct){"use strict";var Pe;var Te=Symbol.for("react.element"),He=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),ye=Symbol.for("react.strict_mode"),me=Symbol.for("react.profiler"),oe=Symbol.for("react.provider"),te=Symbol.for("react.context"),ue=Symbol.for("react.server_context"),de=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),ae=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),a;a=Symbol.for("react.module.reference");function y(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case Te:switch(x=x.type,x){case E:case me:case ye:case le:case ce:return x;default:switch(x=x&&x.$$typeof,x){case ue:case te:case de:case ie:case ae:case oe:return x;default:return b}}case He:return b}}}Pe=te,Pe=oe,Pe=Te,Pe=de,Pe=E,Pe=ie,Pe=ae,Pe=He,Pe=me,Pe=ye,Pe=le,Pe=ce,Pe=function(){return!1},Pe=function(){return!1},Pe=function(x){return y(x)===te},Pe=function(x){return y(x)===oe},Pe=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===Te},Pe=function(x){return y(x)===de},Pe=function(x){return y(x)===E},Pe=function(x){return y(x)===ie},Pe=function(x){return y(x)===ae},Pe=function(x){return y(x)===He},Pe=function(x){return y(x)===me},Pe=function(x){return y(x)===ye},Pe=function(x){return y(x)===le},Pe=function(x){return y(x)===ce},Pe=function(x){return typeof x=="string"||typeof x=="function"||x===E||x===me||x===ye||x===le||x===ce||x===ne||typeof x=="object"&&x!==null&&(x.$$typeof===ie||x.$$typeof===ae||x.$$typeof===oe||x.$$typeof===te||x.$$typeof===de||x.$$typeof===a||x.getModuleId!==void 0)},Pe=y},33993:function(At,Ct,Pe){"use strict";Pe(16651)},46762:function(At,Ct){"use strict";var Pe;var Te=Symbol.for("react.element"),He=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),ye=Symbol.for("react.strict_mode"),me=Symbol.for("react.profiler"),oe=Symbol.for("react.provider"),te=Symbol.for("react.context"),ue=Symbol.for("react.server_context"),de=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),ae=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),a;a=Symbol.for("react.module.reference");function y(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case Te:switch(x=x.type,x){case E:case me:case ye:case le:case ce:return x;default:switch(x=x&&x.$$typeof,x){case ue:case te:case de:case ie:case ae:case oe:return x;default:return b}}case He:return b}}}Pe=te,Pe=oe,Pe=Te,Pe=de,Pe=E,Pe=ie,Pe=ae,Pe=He,Pe=me,Pe=ye,Pe=le,Pe=ce,Pe=function(){return!1},Pe=function(){return!1},Pe=function(x){return y(x)===te},Pe=function(x){return y(x)===oe},Pe=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===Te},Pe=function(x){return y(x)===de},Ct.isFragment=function(x){return y(x)===E},Pe=function(x){return y(x)===ie},Pe=function(x){return y(x)===ae},Pe=function(x){return y(x)===He},Pe=function(x){return y(x)===me},Pe=function(x){return y(x)===ye},Pe=function(x){return y(x)===le},Pe=function(x){return y(x)===ce},Pe=function(x){return typeof x=="string"||typeof x=="function"||x===E||x===me||x===ye||x===le||x===ce||x===ne||typeof x=="object"&&x!==null&&(x.$$typeof===ie||x.$$typeof===ae||x.$$typeof===oe||x.$$typeof===te||x.$$typeof===de||x.$$typeof===a||x.getModuleId!==void 0)},Pe=y},35110:function(At,Ct,Pe){"use strict";At.exports=Pe(46762)},64217:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return ue}});var Te=Pe(1413),He=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,E=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ye="".concat(He," ").concat(E).split(/[\s\n]+/),me="aria-",oe="data-";function te(de,le){return de.indexOf(le)===0}function ue(de){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ce;le===!1?ce={aria:!0,data:!0,attr:!0}:le===!0?ce={aria:!0}:ce=(0,Te.Z)({},le);var ae={};return Object.keys(de).forEach(function(ie){(ce.aria&&(ie==="role"||te(ie,me))||ce.data&&te(ie,oe)||ce.attr&&ye.includes(ie))&&(ae[ie]=de[ie])}),ae}},58971:function(At,Ct,Pe){var Te=Pe(62195),He=Pe(39015),E=[Pe(19257)];At.exports=Te.createStore(He,E)},19257:function(At,Ct,Pe){At.exports=Te;function Te(){return Pe(55703),{}}},55703: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(At){return At<10?"0"+At:At}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(At){return rx_escapable.lastIndex=0,rx_escapable.test(At)?'"'+At.replace(rx_escapable,function(Ct){var Pe=meta[Ct];return typeof Pe=="string"?Pe:"\\u"+("0000"+Ct.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+At+'"'}function str(At,Ct){var Pe,Te,He,E,ye=gap,me,oe=Ct[At];switch(oe&&typeof oe=="object"&&typeof oe.toJSON=="function"&&(oe=oe.toJSON(At)),typeof rep=="function"&&(oe=rep.call(Ct,At,oe)),typeof oe){case"string":return quote(oe);case"number":return isFinite(oe)?String(oe):"null";case"boolean":case"null":return String(oe);case"object":if(!oe)return"null";if(gap+=indent,me=[],Object.prototype.toString.apply(oe)==="[object Array]"){for(E=oe.length,Pe=0;Pe<E;Pe+=1)me[Pe]=str(Pe,oe)||"null";return He=me.length===0?"[]":gap?`[
|
|
`+gap+me.join(`,
|
|
`+gap)+`
|
|
`+ye+"]":"["+me.join(",")+"]",gap=ye,He}if(rep&&typeof rep=="object")for(E=rep.length,Pe=0;Pe<E;Pe+=1)typeof rep[Pe]=="string"&&(Te=rep[Pe],He=str(Te,oe),He&&me.push(quote(Te)+(gap?": ":":")+He));else for(Te in oe)Object.prototype.hasOwnProperty.call(oe,Te)&&(He=str(Te,oe),He&&me.push(quote(Te)+(gap?": ":":")+He));return He=me.length===0?"{}":gap?`{
|
|
`+gap+me.join(`,
|
|
`+gap)+`
|
|
`+ye+"}":"{"+me.join(",")+"}",gap=ye,He}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(At,Ct,Pe){var Te;if(gap="",indent="",typeof Pe=="number")for(Te=0;Te<Pe;Te+=1)indent+=" ";else typeof Pe=="string"&&(indent=Pe);if(rep=Ct,Ct&&typeof Ct!="function"&&(typeof Ct!="object"||typeof Ct.length!="number"))throw new Error("JSON.stringify");return str("",{"":At})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(At,Ct){var Pe,Te,He=At[Ct];if(He&&typeof He=="object")for(Pe in He)Object.prototype.hasOwnProperty.call(He,Pe)&&(Te=walk(He,Pe),Te!==void 0?He[Pe]=Te:delete He[Pe]);return reviver.call(At,Ct,He)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(At){return"\\u"+("0000"+At.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")})}()},62195:function(At,Ct,Pe){var Te=Pe(69078),He=Te.slice,E=Te.pluck,ye=Te.each,me=Te.bind,oe=Te.create,te=Te.isList,ue=Te.isFunction,de=Te.isObject;At.exports={createStore:ae};var le={version:"2.0.12",enabled:!1,get:function(ie,ne){var a=this.storage.read(this._namespacePrefix+ie);return this._deserialize(a,ne)},set:function(ie,ne){return ne===void 0?this.remove(ie):(this.storage.write(this._namespacePrefix+ie,this._serialize(ne)),ne)},remove:function(ie){this.storage.remove(this._namespacePrefix+ie)},each:function(ie){var ne=this;this.storage.each(function(a,y){ie.call(ne,ne._deserialize(a),(y||"").replace(ne._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(ie){return this._namespacePrefix=="__storejs_"+ie+"_"},createStore:function(){return ae.apply(this,arguments)},addPlugin:function(ie){this._addPlugin(ie)},namespace:function(ie){return ae(this.storage,this.plugins,ie)}};function ce(){var ie=typeof console=="undefined"?null:console;if(ie){var ne=ie.warn?ie.warn:ie.log;ne.apply(ie,arguments)}}function ae(ie,ne,a){a||(a=""),ie&&!te(ie)&&(ie=[ie]),ne&&!te(ne)&&(ne=[ne]);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 z={_namespacePrefix:y,_namespaceRegexp:x,_testStorage:function(re){try{var se="__storejs__test__";re.write(se,se);var fe=re.read(se)===se;return re.remove(se),fe}catch(ve){return!1}},_assignPluginFnProp:function(re,se){var fe=this[se];this[se]=function(){var ge=He(arguments,0),he=this;function pe(){if(fe)return ye(arguments,function(be,je){ge[je]=be}),fe.apply(he,ge)}var Se=[pe].concat(ge);return re.apply(he,Se)}},_serialize:function(re){return JSON.stringify(re)},_deserialize:function(re,se){if(!re)return se;var fe="";try{fe=JSON.parse(re)}catch(ve){fe=re}return fe!==void 0?fe:se},_addStorage:function(re){this.enabled||this._testStorage(re)&&(this.storage=re,this.enabled=!0)},_addPlugin:function(re){var se=this;if(te(re)){ye(re,function(ge){se._addPlugin(ge)});return}var fe=E(this.plugins,function(ge){return re===ge});if(!fe){if(this.plugins.push(re),!ue(re))throw new Error("Plugins must be function values that return objects");var ve=re.call(this);if(!de(ve))throw new Error("Plugins must return an object of function properties");ye(ve,function(ge,he){if(!ue(ge))throw new Error("Bad plugin property: "+he+" from plugin "+re.name+". Plugins should only return functions.");se._assignPluginFnProp(ge,he)})}},addStorage:function(re){ce("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(re)}},ee=oe(z,le,{plugins:[]});return ee.raw={},ye(ee,function(re,se){ue(re)&&(ee.raw[se]=me(ee,re))}),ye(ie,function(re){ee._addStorage(re)}),ye(ne,function(re){ee._addPlugin(re)}),ee}},69078:function(At,Ct,Pe){var Te=me(),He=oe(),E=te(),ye=typeof window!="undefined"?window:Pe.g;At.exports={assign:Te,create:He,trim:E,bind:ue,slice:de,each:le,map:ce,pluck:ae,isList:ie,isFunction:ne,isObject:a,Global:ye};function me(){return Object.assign?Object.assign:function(x,b,z,ee){for(var re=1;re<arguments.length;re++)le(Object(arguments[re]),function(se,fe){x[fe]=se});return x}}function oe(){if(Object.create)return function(b,z,ee,re){var se=de(arguments,1);return Te.apply(this,[Object.create(b)].concat(se))};{let x=function(){};var y=x;return function(z,ee,re,se){var fe=de(arguments,1);return x.prototype=z,Te.apply(this,[new x].concat(fe))}}}function te(){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 ue(y,x){return function(){return x.apply(y,Array.prototype.slice.call(arguments,0))}}function de(y,x){return Array.prototype.slice.call(y,x||0)}function le(y,x){ae(y,function(b,z){return x(b,z),!1})}function ce(y,x){var b=ie(y)?[]:{};return ae(y,function(z,ee){return b[ee]=x(z,ee),!1}),b}function ae(y,x){if(ie(y)){for(var b=0;b<y.length;b++)if(x(y[b],b))return y[b]}else for(var z in y)if(y.hasOwnProperty(z)&&x(y[z],z))return y[z]}function ie(y){return y!=null&&typeof y!="function"&&typeof y.length=="number"}function ne(y){return y&&{}.toString.call(y)==="[object Function]"}function a(y){return y&&{}.toString.call(y)==="[object Object]"}},39015:function(At,Ct,Pe){At.exports=[Pe(39627),Pe(95347),Pe(34524),Pe(45580),Pe(58855),Pe(8728)]},45580:function(At,Ct,Pe){var Te=Pe(69078),He=Te.Global,E=Te.trim;At.exports={name:"cookieStorage",read:me,write:te,each:oe,remove:ue,clearAll:de};var ye=He.document;function me(ce){if(!ce||!le(ce))return null;var ae="(?:^|.*;\\s*)"+escape(ce).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(ye.cookie.replace(new RegExp(ae),"$1"))}function oe(ce){for(var ae=ye.cookie.split(/; ?/g),ie=ae.length-1;ie>=0;ie--)if(E(ae[ie])){var ne=ae[ie].split("="),a=unescape(ne[0]),y=unescape(ne[1]);ce(y,a)}}function te(ce,ae){ce&&(ye.cookie=escape(ce)+"="+escape(ae)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function ue(ce){!ce||!le(ce)||(ye.cookie=escape(ce)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function de(){oe(function(ce,ae){ue(ae)})}function le(ce){return new RegExp("(?:^|;\\s*)"+escape(ce).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(ye.cookie)}},39627:function(At,Ct,Pe){var Te=Pe(69078),He=Te.Global;At.exports={name:"localStorage",read:ye,write:me,each:oe,remove:te,clearAll:ue};function E(){return He.localStorage}function ye(de){return E().getItem(de)}function me(de,le){return E().setItem(de,le)}function oe(de){for(var le=E().length-1;le>=0;le--){var ce=E().key(le);de(ye(ce),ce)}}function te(de){return E().removeItem(de)}function ue(){return E().clear()}},8728:function(At){At.exports={name:"memoryStorage",read:Pe,write:Te,each:He,remove:E,clearAll:ye};var Ct={};function Pe(me){return Ct[me]}function Te(me,oe){Ct[me]=oe}function He(me){for(var oe in Ct)Ct.hasOwnProperty(oe)&&me(Ct[oe],oe)}function E(me){delete Ct[me]}function ye(me){Ct={}}},95347:function(At,Ct,Pe){var Te=Pe(69078),He=Te.Global;At.exports={name:"oldFF-globalStorage",read:ye,write:me,each:oe,remove:te,clearAll:ue};var E=He.globalStorage;function ye(de){return E[de]}function me(de,le){E[de]=le}function oe(de){for(var le=E.length-1;le>=0;le--){var ce=E.key(le);de(E[ce],ce)}}function te(de){return E.removeItem(de)}function ue(){oe(function(de,le){delete E[de]})}},34524:function(At,Ct,Pe){var Te=Pe(69078),He=Te.Global;At.exports={name:"oldIE-userDataStorage",write:te,read:ue,each:de,remove:le,clearAll:ce};var E="storejs",ye=He.document,me=ne(),oe=(He.navigator?He.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function te(a,y){if(!oe){var x=ie(a);me(function(b){b.setAttribute(x,y),b.save(E)})}}function ue(a){if(!oe){var y=ie(a),x=null;return me(function(b){x=b.getAttribute(y)}),x}}function de(a){me(function(y){for(var x=y.XMLDocument.documentElement.attributes,b=x.length-1;b>=0;b--){var z=x[b];a(y.getAttribute(z.name),z.name)}})}function le(a){var y=ie(a);me(function(x){x.removeAttribute(y),x.save(E)})}function ce(){me(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 ae=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function ie(a){return a.replace(/^\d/,"___$&").replace(ae,"___")}function ne(){if(!ye||!ye.documentElement||!ye.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(z){b=ye.createElement("div"),y=ye.body}return function(z){var ee=[].slice.call(arguments,0);ee.unshift(b),y.appendChild(b),b.addBehavior("#default#userData"),b.load(E),z.apply(this,ee),y.removeChild(b)}}},58855:function(At,Ct,Pe){var Te=Pe(69078),He=Te.Global;At.exports={name:"sessionStorage",read:ye,write:me,each:oe,remove:te,clearAll:ue};function E(){return He.sessionStorage}function ye(de){return E().getItem(de)}function me(de,le){return E().setItem(de,le)}function oe(de){for(var le=E().length-1;le>=0;le--){var ce=E().key(le);de(ye(ce),ce)}}function te(de){return E().removeItem(de)}function ue(){return E().clear()}},36459:function(At,Ct,Pe){"use strict";Pe.d(Ct,{Z:function(){return Te}});function Te(He){if(He==null)throw new TypeError("Cannot destructure "+He)}}}]);
|