(self.webpackChunk=self.webpackChunk||[]).push([[374],{33463:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=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:"outlined"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},28575:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={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"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},84249:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={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"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},81893:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={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"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},90674:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={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"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},55304:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},73148:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=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"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},56747:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={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"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},50881:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={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"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},22751:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=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"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},34182:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={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"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},74664:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={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"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},91034:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=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"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},71736:function(xt,ft){"use strict";ft.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 xt(z,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=z,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(xt.prototype,"name",{get:function(){return this._name},set:function(z){if(typeof z!="string"||z==="")throw new Error("Shape name must be a valid string.");this._name=z}}),Object.defineProperty(xt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("The default value must be a real number, not: "+z);this._defaultValue=z}}),Object.defineProperty(xt.prototype,"minimum",{get:function(){return this._minimum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Minimum must be a real number, not: "+z);this._minimum=z}}),Object.defineProperty(xt.prototype,"maximum",{get:function(){return this._maximum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Maximum must be a real number, not: "+z);this._maximum=z}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(z,a){var y=go.Shape._FigureParameters[z];return y?y[a]:null},go.Shape.setFigureParameter=function(z,a,y){if(!(y instanceof xt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[z];x||(x=[],go.Shape._FigureParameters[z]=x),x[a]=y};var ft=[];function pe(z,a){var y=ft.pop();return y===void 0?new go.Point(z,a):(y.x=z,y.y=a,y)}function be(){var z=ft.pop();return z===void 0?new go.Point:z}function xe(z){ft.push(z)}function E(z,a,y,x,b,ee,te,ue,de){de||(de=new go.Point);var ge=z-y,ve=b-te,me=NaN,Se=NaN;if(ge===0)if(ve===0)z===y&&(me=z,Se=a);else{var ye=(ee-ue)/ve,Pe=ee-ye*b;me=z,Se=ye*me+Pe}else if(ve===0){var we=(a-x)/ge,Te=a-we*z;me=b,Se=we*me+Te}else{var we=(a-x)/ge,ye=(ee-ue)/ve,Te=a-we*z,Pe=ee-ye*b;me=(Pe-Te)/(we-ye),Se=we*me+Te}return de.x=me,de.y=Se,de}function he(z,a,y,x,b,ee,te,ue,de,ge,ve,me,Se,ye){var Pe=1-de,we=de,Te=z*Pe+y*we,Ee=a*Pe+x*we,_e=y*Pe+b*we,Ce=x*Pe+ee*we,Oe=b*Pe+te*we,Ie=ee*Pe+ue*we,Ue=Te*Pe+_e*we,je=Ee*Pe+Ce*we,nt=_e*Pe+Oe*we,Je=Ce*Pe+Ie*we,Qe=Ue*Pe+nt*we,Xe=je*Pe+Je*we;ge.x=Te,ge.y=Ee,ve.x=Ue,ve.y=je,me.x=Qe,me.y=Xe,Se.x=nt,Se.y=Je,ye.x=Oe,ye.y=Ie}var fe=new go.Spot(.156,.156),se=new go.Spot(.844,.844),re=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new xt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*re,ee=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,1,-b,-b)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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=fe,b.spot2=se,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(z,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(z,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(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,re*a,0,a,(1-re)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,re*y,(1-re)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,re*y,re*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-re)*a,0,0,(1-re)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(z,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(z,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(z,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(z,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 xt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+ue,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ue,ue).close())),ee.spot1=fe,ee.spot2=se,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(z,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(z,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 xt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new xt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(z,a,y){var x=z?z.parameter1:NaN,b=z?z.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var ee=x%360;ee<0&&(ee+=360);var te=b%360,ue=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ue,ue).add(new go.PathSegment(go.PathSegment.Arc,ee,te,ue,ue,ue,ue).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(z,a,y){var x=re/Math.SQRT2*.5,b=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,ee*y,a,(1-x)*y,(b+x)*a,(ee+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new xt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,ee=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new xt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,ee=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new xt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(z,a,y){var x=z?z.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var ee=a/2,te=y/2,ue=Math.atan2(y,a),de=x-Math.min(Math.cos(ue)*x/2,ee),ge=x-Math.min(Math.sin(ue)*x/2,te),b=new go.Geometry,ve=new go.PathFigure(de,0,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a-de,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),ve.add(new go.PathSegment(go.PathSegment.Line,a-de,y)),ve.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,de,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new xt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,ee=new go.PathFigure(.1*a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new xt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new xt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,re*a,0,a,(.5-re/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+re/2)*y,re*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(z,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(z,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(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var ee=.2,te=.3,ue=0,de=ee*re;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+ee+ue)*y,(.5-ee+te)*a,(.5+de+ue)*y,(.5-de+te)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*a,(.5+ue)*y,(.5+de+te)*a,(.5+ee+ue)*y,(.5+ee+te)*a,(.5+de+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+ue)*y,(1-.5+ee+te)*a,(.5-de+ue)*y,(.5+de+te)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-de+te)*a,(.5-ee+ue)*y,(.5-ee+te+.05)*a,(.5-de+ue-.02)*y)),ee=.2,te=0,ue=-.3,de=ee*re,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*a,(.5+ue)*y,(.5+de+te)*a,(.5+ee+ue)*y,(.5+ee+te)*a,(.5+de+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+ue)*y,(1-.5+ee+te)*a,(.5-de+ue)*y,(.5+de+te)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*a,(.5+ue)*y,(.5-de+te)*a,(.5-ee+ue)*y,(.5-ee+te)*a,(.5-de+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-de+te)*a,(.5+ee+ue)*y,(.5-ee+te)*a,(.5+de+ue)*y,(.5-de+te)*a,(.5+ee+ue)*y)),ee=.2,te=-.3,ue=0,de=ee*re,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+ue)*y,(1-.5+ee+te-.05)*a,(.5-de+ue-.02)*y,(.5+de+te)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*a,(.5+ue)*y,(.5-de+te)*a,(.5-ee+ue)*y,(.5-ee+te)*a,(.5-de+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+ee+ue)*y,(.5-ee+te)*a,(.5+de+ue)*y,(.5-de+te)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+de+te)*a,(.5+ee+ue)*y,(.5+ee+te)*a,(.5+de+ue)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var ee=.1,te=.5,ue=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+ee)*a,ue*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*ue,ee*a,ee*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ue=.75,b=new go.PathFigure((te+ee)*a,ue*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*ue,ee*a,ee*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(z,a,y){var x=.8535533905932737,b=.5*a,ee=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,ee,b,ee)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(z,a,y){var x=new go.Geometry,b=re*.5,ee=.5,te=.5,ue=.5,de=new go.PathFigure(te*a,(ue-ee)*y);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ue*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-ee)*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y)),ee=.4,b=re*.4;var ge=be(),ve=be(),me=be(),Se=be();he(te,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.42,ge,ve,me,Se,Se);var ye=be(),Pe=be(),we=be();he(te,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.58,Se,Se,we,ye,Pe);var Te=be(),Ee=be(),_e=be();he(te,ue+ee,te-b,ue+ee,te-ee,ue+b,te-ee,ue,.42,Te,Ee,_e,Se,Se);var Ce=be(),Oe=be(),Ie=be();return he(te,ue+ee,te-b,ue+ee,te-ee,ue+b,te-ee,ue,.58,Se,Se,Ie,Ce,Oe),de.add(new go.PathSegment(go.PathSegment.Move,Ie.x*a,Ie.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,Ce.x*a,Ce.y*y,Oe.x*a,Oe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y,(te-b)*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ge.x*a,ge.y*y,ve.x*a,ve.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,Ie.x*a,Ie.y*y).close()),de.add(new go.PathSegment(go.PathSegment.Move,_e.x*a,_e.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ue*y,ye.x*a,ye.y*y,Pe.x*a,Pe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y,(te+b)*a,(ue+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*a,_e.y*y,Te.x*a,Te.y*y,Ee.x*a,Ee.y*y).close()),xe(ge),xe(ve),xe(me),xe(Se),xe(ye),xe(Pe),xe(we),xe(Te),xe(Ee),xe(_e),xe(Ce),xe(Oe),xe(Ie),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(z,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 xt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,ee=b+x;return new go.Geometry().add(new go.PathFigure(ee,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(z,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(z,a,y){var x=new go.Geometry,b=re*.4,ee=.4,te=.5,ue=.5,de=be(),ge=be(),ve=be(),me=be(),Se=new go.PathFigure((te-ee)*a,ue*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y,(te-b)*a,(ue-ee)*y)),he(te,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.44,ve,me,ge,de,de),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,ve.x*a,ve.y*y,me.x*a,me.y*y));var ye=pe(ge.x,ge.y);he(te,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.56,de,de,ge,ve,me);var Pe=pe(ge.x,ge.y);Se.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.95*.9)*a,ye.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,ye.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),Se.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ue*y,ve.x*a,ve.y*y,me.x*a,me.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y,(te+b)*a,(ue+ee)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,(te-b)*a,(ue+ee)*y,(te-ee)*a,(ue+b)*y)),ee=.35,b=re*.35;var we=new go.PathFigure(te*a,(ue-ee)*y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+ee)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ue*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-ee)*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y));var Te=new go.PathFigure((te-ee)*a,ue*y,!1);return x.add(Te),xe(de),xe(ge),xe(ve),xe(me),xe(ye),xe(Pe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(z,a,y){var x=new go.Geometry,b=.375,ee=0,te=-.125,ue=b*re,de=new go.PathFigure((.525+ee)*a,(.5+b+te)*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+te)*y,(.5+ue+ee)*a,(.5+b+te)*y,(.5+b+ee)*a,(.5+ue+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+te)*y,(1-.5+b+ee)*a,(.5-ue+te)*y,(.5+ue+ee)*a,(.5-b+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-ue+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-ue+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+te)*y,(.5-b+ee)*a,(.5+ue+te)*y,(.5-ue+ee)*a,(.5+b+te)*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,te=-.125,ue=b*re;var de=new go.PathFigure((1-.5+b+ee)*a,(.5+te)*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+te)*y,(.5+b+ee)*a,(.5+ue+te)*y,(.5+ue+ee)*a,(.5+b+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-ue+ee)*a,(.5+b+te)*y,(.5-b+ee)*a,(.5+ue+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-ue+te)*y,(.5-ue+ee)*a,(.5-b+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+te)*y,(.5+ue+ee)*a,(.5-b+te)*y,(1-.5+b+ee)*a,(.5-ue+te)*y));var de=new go.PathFigure((.525+ee)*a,(.5+b+te)*y,!1);return x.add(de),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(z,a,y){var x=z?z.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(z,a,y){var x=z?z.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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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 xt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new xt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=z?z.parameter2:NaN;isNaN(b)&&(b=.3);var ee=(1-x)*a,te=(.5-b/2)*y,ue=(.5+b/2)*y,de=new go.Geometry,ge=new go.PathFigure(0,te,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),de.spot1=new go.Spot(0,te/y);var ve=E(0,ue/y,1,ue/y,ee/a,1,1,.5,be());return de.spot2=new go.Spot(ve.x,ve.y),xe(ve),de}),go.Shape.setFigureParameter("Arrow2",0,new xt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new xt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=z?z.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var ee=a-x,te=(y-b)/2,ue=te+b,de=new go.Geometry,ge=new go.PathFigure(0,te,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),de.spot1=new go.Spot(0,te/y);var ve=E(0,ue/y,1,ue/y,ee/a,1,1,.5,be());return de.spot2=new go.Spot(ve.x,ve.y),xe(ve),de}),go.Shape.defineFigureGenerator("Chevron",function(z,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(z,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 xt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var de=E(0,.5,.3,0,0,b/y,.1,b/y,be());return te.spot1=new go.Spot(de.x,de.y),de=E(.7,1,1,.5,0,ee/y,1,ee/y,de),te.spot2=new go.Spot(de.x,de.y),xe(de),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new xt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new xt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,te=ee+x,ue=(y-b)/2,de=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,te=ee+x,ue=0,de=y):(ee=0,te=y,ue=0,de=y));var ge=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);ge.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,de)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close());var me=E(0,.5,.3,ue/y,0,ee/y,1,ee/y,be());return ge.spot1=new go.Spot(me.x,me.y),me=E(.7,de/y,1,.5,0,te/y,1,te/y,me),ge.spot2=new go.Spot(me.x,me.y),xe(me),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new xt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(0,b/y);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return te.spot2=new go.Spot(de.x,de.y),xe(de),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new xt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new xt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,te=ee+x,ue=(y-b)/2,de=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,te=ee+x,ue=0,de=y):(ee=0,te=y,ue=0,de=y));var ge=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);ge.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,de)),ve.add(new go.PathSegment(go.PathSegment.Line,0,de)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close()),ge.spot1=new go.Spot(0,ee/y);var me=E(.7,de/y,1,.5,0,te/y,1,te/y,be());return ge.spot2=new go.Spot(me.x,me.y),xe(me),ge}),go.Shape.setFigureParameter("Pointer",0,new xt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=E(.2,.65,1,.65,0,1,1,.5,be());return b.spot2=new go.Spot(te.x,te.y),xe(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new xt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var te=E(0,.65,1,.65,0,1,1,.5,be());return b.spot2=new go.Spot(te.x,te.y),xe(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new xt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,.3);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return te.spot2=new go.Spot(de.x,de.y),xe(de),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new xt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,ee=b+x;x>y&&(b=0,ee=y);var te=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,b/y);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return te.spot2=new go.Spot(de.x,de.y),xe(de),te}),go.Shape.setFigureParameter("SquareArrow",0,new xt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(z,a,y){var x=new go.Geometry,b=re*.5,ee=re*.1,te=new go.PathFigure(0,.9*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var ee=new go.PathFigure(0,.9*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var ee=new go.PathFigure(0,.3*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=re*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,re*x,(.5-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,re*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-re*x,(.5+ee)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-re*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var ue=new go.PathFigure(a,x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-re*x,(.5+ee)*a,2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-re*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=re*.5,te=new go.PathFigure(0,y-x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,re*x,(.5-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,re*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-re*x,(.5+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-re*x));var ue=new go.PathFigure(0,y-x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-re*x,(.5-ee)*a,y-2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-re*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=re*.5,te=new go.PathFigure(x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-re*x,0,a,(.5-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-re*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,re*x,y,0,(.5+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,re*x,0));var ue=new go.PathFigure(x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+re*x,0,2*x,(.5-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+re*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(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=re*.5,te=new go.PathFigure(a-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-re*x,0,a,(.5-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-re*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,re*x,y,0,(.5+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,re*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ue=new go.PathFigure(a-x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-re*x,0,a-2*x,(.5-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-re*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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.25*a,.25*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(z,a,y){var x=new go.Geometry,b=.2,ee=.1,te=re*b,ue=re*ee,de=.5,ge=.1,ve=new go.PathFigure(de*a,(ge+ee)*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-b)*a,ge*y,(de-te)*a,(ge+ee)*y,(de-b)*a,(ge+ue)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-ee)*y,(de-b)*a,(ge-ue)*y,(de-te)*a,(ge-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+b)*a,ge*y,(de+te)*a,(ge-ee)*y,(de+b)*a,(ge-ue)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+ee)*y,(de+b)*a,(ge+ue)*y,(de+te)*a,(ge+ee)*y));var me=.05,Se=re*me;de=.05,ge=.25;var ye=new go.PathFigure(.5*a,.2*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),de=.95,ge=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,(de+me)*a,ge*y,(de+Se)*a,(ge-me)*y,(de+me)*a,(ge-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),me=.025,Se=re*me,de=.825,ge=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-Se)*y,(de+Se)*a,(ge-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-Se)*a,(ge-me)*y,(de-me)*a,(ge-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),me=.05,Se=re*me,de=.5,ge=.7,ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-Se)*y,(de+Se)*a,(ge-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-Se)*a,(ge-me)*y,(de-me)*a,(ge-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),me=.025,Se=re*me,de=.175,ge=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-Se)*y,(de+Se)*a,(ge-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-Se)*a,(ge-me)*y,(de-me)*a,(ge-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),me=.05,Se=re*me,de=.05,ge=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de-me)*a,(ge-Se)*y,(de-Se)*a,(ge-me)*y)),ye.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 xt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var ee=new go.PathFigure(.5*a,.5*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,b*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(z,a,y){var x=new go.Geometry,b=re*.5,ee=re*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+ee)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(z,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(z,a,y){var x=new go.Geometry,b=re*.5,ee=re*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var ee=re*.2,te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-ee)*y,(.2-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+ee)*a,0,a,(.2-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+ee)*y,(.8+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-ee)*a,y,0,(.8+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ue=new go.PathFigure(0,b*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,b*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(.1*a,.4*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.75*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var ee=new go.PathFigure(a,.5*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y));var te=new go.PathFigure(a,.5*y,!1);return x.add(te),te.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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee*y)),x}),go.Shape.defineFigureGenerator("Junction",function(z,a,y){var x=new go.Geometry,b=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,te=re*.5,ue=.5,de=new go.PathFigure(a,ue*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,y,a,(ue+te)*y,(ue+te)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,ue*y,(ue-te)*a,y,0,(ue+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,0,0,(ue-te)*y,(ue-te)*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,a,ue*y,(ue+te)*a,0,a,(ue-te)*y));var ge=new go.PathFigure((ee+b)*a,(ee+b)*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*y)),ge.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,(ee+b)*a,ee*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var ee=new go.PathFigure(.1*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(z,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(z,a,y){var x=new go.Geometry,b=re*.5,ee=.5,te=new go.PathFigure(.5*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*a,.9*y,a,(ee+b)*y,(ee+b)*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.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(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.7);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(z,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(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var ee=new go.PathFigure(.1*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var ee=new go.PathFigure(.2*a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=1-b,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ue=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(z,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(z,a,y){var x=new go.Geometry,b=re*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var ue=new go.PathFigure(a,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure((1-b)*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(b*a,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),te.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(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(z,a,y){var x=new go.Geometry,b=re*.5,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(z,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(z,a,y){var x=new go.Geometry,b=re*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var ue=new go.PathFigure(a,ee*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var de=new go.PathFigure(.8*a,.75*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(z,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(z,a,y){var x=new go.Geometry,b=re*.1,ee=.1,te=.9,ue=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,0,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ge=new go.PathFigure((te+ee)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y,(te+b)*a,(ue+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,(te-b)*a,(ue+ee)*y,(te-ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y,(te-b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ue*y,(te+b)*a,(ue-ee)*y,(te+ee)*a,(ue-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(z,a,y){var x=new go.Geometry,b=re*.5,ee=re*.4,te=re*.1,ue=.1,de=.9,ge=.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+ee)*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-ee)*y));var me=new go.PathFigure((de+ue)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+ue)*y,(de+ue)*a,(ge+te)*y,(de+te)*a,(ge+ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a,ge*y,(de-te)*a,(ge+ue)*y,(de-ue)*a,(ge+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-ue)*y,(de-ue)*a,(ge-te)*y,(de-te)*a,(ge-ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a,ge*y,(de+te)*a,(ge-ue)*y,(de+ue)*a,(ge-te)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(z,a,y){var x=new go.Geometry,b=.5,ee=re*b,te=0,ue=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+ee)*a,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=re*.1,te=.9,ue=.5;var ge=new go.PathFigure((te-b)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+ee)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(z,a,y){var x=new go.Geometry,b=.5,ee=re*b,te=0,ue=.5,de=new go.PathFigure(0,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+ee+ee)*a,(ue-b)*y,.8*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ue+ee)*y,(te+ee+ee)*a,(ue+b)*y)),de.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(z,a,y){var x=new go.Geometry,b=.5,ee=re*b,te=.2,ue=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+ee)*a,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=re*.1,te=.9,ue=.5;var ve=new go.PathFigure((te-b)*a,ue*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+ee)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(z,a,y){var x=new go.Geometry,b=.5,ee=re*b,te=.2,ue=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.2*a,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+ee)*a,(ue-b)*y,.9*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(z,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(z,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(z,a,y){var x=new go.Geometry,b=re*.1,ee=.1,te=.1,ue=.5,de=new go.PathFigure((te-b*.5)*a,y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.3,de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.5,de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.7,de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.9,de.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*a,y,(te+ee)*a,0,(te+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(z,a,y){var x=new go.Geometry,b=re*.5,ee=.5,te=.5,ue=.5,de=new go.PathFigure((te-ee)*a,ue*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y,(te-b)*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ue*y,(te+b)*a,(ue-ee)*y,(te+ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y,(te+b)*a,(ue+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,(te-b)*a,(ue+ee)*y,(te-ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Move,(te-ee+.1)*a,ue*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-.1)*a,ue*y,te*a,(ue-ee)*y,te*a,(ue+ee)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(z,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(z,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(z,a,y){var x=new go.Geometry,b=a,ee=y;a=a*.38,y=y*.6;var te=re*.8,ue=.8,de=0,ge=.5,ve=(b-a)/2,me=(ee-y)/2,Se=new go.PathFigure(de*a+ve,(ge+ue)*y+me,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a+ve,ge*y+me,(de-te)*a+ve,(ge+ue)*y+me,(de-ue)*a+ve,(ge+te)*y+me)),Se.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+me,(de-ue)*a+ve,(ge-te)*y+me,(de-te)*a+ve,(ge-ue)*y+me)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue+te*.5)*a+ve,ge*y+me,de*a+ve,(ge-ue)*y+me,(de-ue+te*.5)*a+ve,(ge-te)*y+me)),Se.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+me,(de-ue+te*.5)*a+ve,(ge+te)*y+me,de*a+ve,(ge+ue)*y+me).close()),te=re*.4,ue=.4,de=.2,ge=.5;var ye=new go.PathFigure(de*a+ve,(ge+ue)*y+me,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a+ve,ge*y+me,(de-te)*a+ve,(ge+ue)*y+me,(de-ue)*a+ve,(ge+te)*y+me)),ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+me,(de-ue)*a+ve,(ge-te)*y+me,(de-te)*a+ve,(ge-ue)*y+me)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue+te*.5)*a+ve,ge*y+me,de*a+ve,(ge-ue)*y+me,(de-ue+te*.5)*a+ve,(ge-te)*y+me)),ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+me,(de-ue+te*.5)*a+ve,(ge+te)*y+me,de*a+ve,(ge+ue)*y+me).close()),te=re*.2,ue=.2,de=.5,ge=.5;var Pe=new go.PathFigure((de-ue)*a+ve,ge*y+me,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+me,(de-ue)*a+ve,(ge-te)*y+me,(de-te)*a+ve,(ge-ue)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a+ve,ge*y+me,(de+te)*a+ve,(ge-ue)*y+me,(de+ue)*a+ve,(ge-te)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+me,(de+ue)*a+ve,(ge+te)*y+me,(de+te)*a+ve,(ge+ue)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a+ve,ge*y+me,(de-te)*a+ve,(ge+ue)*y+me,(de-ue)*a+ve,(ge+te)*y+me)),te=re*.4,ue=.4,de=.8,ge=.5;var we=new go.PathFigure(de*a+ve,(ge-ue)*y+me,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a+ve,ge*y+me,(de+te)*a+ve,(ge-ue)*y+me,(de+ue)*a+ve,(ge-te)*y+me)),we.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+me,(de+ue)*a+ve,(ge+te)*y+me,(de+te)*a+ve,(ge+ue)*y+me)),we.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue-te*.5)*a+ve,ge*y+me,de*a+ve,(ge+ue)*y+me,(de+ue-te*.5)*a+ve,(ge+te)*y+me)),we.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+me,(de+ue-te*.5)*a+ve,(ge-te)*y+me,de*a+ve,(ge-ue)*y+me).close()),te=re*.8,ue=.8,de=1,ge=.5;var Te=new go.PathFigure(de*a+ve,(ge-ue)*y+me,!0);return x.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a+ve,ge*y+me,(de+te)*a+ve,(ge-ue)*y+me,(de+ue)*a+ve,(ge-te)*y+me)),Te.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+me,(de+ue)*a+ve,(ge+te)*y+me,(de+te)*a+ve,(ge+ue)*y+me)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue-te*.5)*a+ve,ge*y+me,de*a+ve,(ge+ue)*y+me,(de+ue-te*.5)*a+ve,(ge+te)*y+me)),Te.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+me,(de+ue-te*.5)*a+ve,(ge-te)*y+me,de*a+ve,(ge-ue)*y+me).close()),x}),go.Shape.defineFigureGenerator("Email",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var ee=new go.PathFigure(.1*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.6*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ue=new go.PathFigure(0,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(z,a,y){var x=new go.Geometry,b=re*.4,ee=.4,te=.5,ue=.5,de=be(),ge=be(),ve=be(),me=be();he(te,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.5,de,de,ge,ve,me);var Se=pe(ge.x,ge.y),ye=new go.PathFigure(ge.x*a,ge.y*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ue*y,ve.x*a,ve.y*y,me.x*a,me.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y,(te+b)*a,(ue+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,(te-b)*a,(ue+ee)*y,(te-ee)*a,(ue+b)*y)),he(te-ee,ue,te-ee,ue-b,te-b,ue-ee,te,ue-ee,.5,ve,me,ge,de,de),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,ve.x*a,ve.y*y,me.x*a,me.y*y)),b=re*.3,ee=.3,he(te-ee,ue,te-ee,ue-b,te-b,ue-ee,te,ue-ee,.5,ve,me,ge,de,de),ye.add(new go.PathSegment(go.PathSegment.Line,ge.x*a,ge.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,me.x*a,me.y*y,ve.x*a,ve.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ue*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),he(te,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.5,de,de,ge,ve,me),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,me.x*a,me.y*y,ve.x*a,ve.y*y).close());var ye=new go.PathFigure(.45*a,0,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),xe(de),xe(ge),xe(ve),xe(me),xe(Se),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function ee(te,ue,de){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ue)*a,(.8+de)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ue)*a,(.5+de)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ue)*a,(.5+de)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ue)*a,(.8+de)*y).close())}return ee(b,0,0),ee(b,.4,0),ee(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(z,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(z,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(z,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(z,a,y){var x=new go.Geometry,b=.5,ee=0,te=0,ue=b*re,de=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,ve=1,me=.5,Se=.5,ye=0,Pe=new go.PathFigure(de*a,(1-ge)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,me*y,ve*a,.7*y,ve*a,me*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ee)*a,(ye+ee)*y,(.5+b+ee)*a,(.5-ue+ee)*y,(.5+ue+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-ue+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-ue+te)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+ue+te)*y,(.5-ue+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(z,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(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(z,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(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var ee=new go.PathFigure(.45*a,.73*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var te=.5-.285,ue=.5,de=te,ge=Math.PI/4,ve=4*(1-Math.cos(ge))/(3*Math.sin(ge)),me=ve*.5,Se=te,ye=te,Pe=ve*Se,we=ve*ye;ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-Se)*a,de*y,(ue-(Pe+Se)/2)*a,(de+(ye+we)/2)*y,(ue-Se)*a,(de+we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(de-ye)*y,(ue-Se)*a,(de-we)*y,(ue-Pe)*a,(de-ye)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+Se)*a,de*y,(ue+Pe)*a,(de-ye)*y,(ue+Se)*a,(de-we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ue+Se)*a,(de+we)*y,(ue+(Pe+Se)/2)*a,(de+(ye+we)/2)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Te=new go.PathFigure(.2*a,y,!1);x.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ee=new go.PathFigure(.8*a,y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.2*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var te=new go.PathFigure(.1*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var ee=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,ee*a,ee*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var ee=new go.PathFigure(.475*a,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var te=new go.PathFigure(.675*a,.575*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),te.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(z,a,y){var x=new go.Geometry,b=.5,ee=re*.5,te=new go.PathFigure(a,b*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+ee)*y,(b+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-ee)*a,y,0,(b+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-ee)*y,(b-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+ee)*a,0,a,(b-ee)*y));var ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,.15*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var te=new go.PathFigure(0,.6*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var ee=new go.PathFigure(.15*a,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(z,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(z,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(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var te=.1,ue=re*.1,de=.2,ge=.9,ve=new go.PathFigure((de-te)*a,ge*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-te)*y,(de-te)*a,(ge-ue)*y,(de-ue)*a,(ge-te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+te)*a,ge*y,(de+ue)*a,(ge-te)*y,(de+te)*a,(ge-ue)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+te)*y,(de+te)*a,(ge+ue)*y,(de+ue)*a,(ge+te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-te)*a,ge*y,(de-ue)*a,(ge+te)*y,(de-te)*a,(ge+ue)*y).close()),te=.1,ue=re*.1,de=.8,ge=.9;var me=new go.PathFigure((de-te)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-te)*y,(de-te)*a,(ge-ue)*y,(de-ue)*a,(ge-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+te)*a,ge*y,(de+ue)*a,(ge-te)*y,(de+te)*a,(ge-ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+te)*y,(de+te)*a,(ge+ue)*y,(de+ue)*a,(ge+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-te)*a,ge*y,(de-ue)*a,(ge+te)*y,(de-te)*a,(ge+ue)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var ee=new go.PathFigure(0,.5*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.5*a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ue=new go.PathFigure(.5*a,.7*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var de=.1,ge=re*.1,ve=.1,me=.9,Se=new go.PathFigure((ve-de)*a,me*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-ge)*y,(ve-ge)*a,(me-de)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+ge)*a,(me-de)*y,(ve+de)*a,(me-ge)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+ge)*y,(ve+ge)*a,(me+de)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-ge)*a,(me+de)*y,(ve-de)*a,(me+ge)*y)),de=.1,ge=re*.1,ve=.4,me=.9;var ye=new go.PathFigure((ve-de)*a,me*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-ge)*y,(ve-ge)*a,(me-de)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+ge)*a,(me-de)*y,(ve+de)*a,(me-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+ge)*y,(ve+ge)*a,(me+de)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-ge)*a,(me+de)*y,(ve-de)*a,(me+ge)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var ee=new go.PathFigure(.45*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var te=new go.PathFigure(.55*a,.4*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ve=.05,me=re*.05,Se=.175,ye=.95,ue=new go.PathFigure((Se-ve)*a,ye*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-ve)*y,(Se-ve)*a,(ye-me)*y,(Se-me)*a,(ye-ve)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ve)*a,ye*y,(Se+me)*a,(ye-ve)*y,(Se+ve)*a,(ye-me)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+ve)*y,(Se+ve)*a,(ye+me)*y,(Se+me)*a,(ye+ve)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ve)*a,ye*y,(Se-me)*a,(ye+ve)*y,(Se-ve)*a,(ye+me)*y));var ve=.05,me=re*.05,Se=.375,ye=.95,de=new go.PathFigure((Se-ve)*a,ye*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-ve)*y,(Se-ve)*a,(ye-me)*y,(Se-me)*a,(ye-ve)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ve)*a,ye*y,(Se+me)*a,(ye-ve)*y,(Se+ve)*a,(ye-me)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+ve)*y,(Se+ve)*a,(ye+me)*y,(Se+me)*a,(ye+ve)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ve)*a,ye*y,(Se-me)*a,(ye+ve)*y,(Se-ve)*a,(ye+me)*y));var ve=.05,me=re*.05,Se=.625,ye=.95,ge=new go.PathFigure((Se-ve)*a,ye*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-ve)*y,(Se-ve)*a,(ye-me)*y,(Se-me)*a,(ye-ve)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ve)*a,ye*y,(Se+me)*a,(ye-ve)*y,(Se+ve)*a,(ye-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+ve)*y,(Se+ve)*a,(ye+me)*y,(Se+me)*a,(ye+ve)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ve)*a,ye*y,(Se-me)*a,(ye+ve)*y,(Se-ve)*a,(ye+me)*y));var ve=.05,me=re*.05,Se=.825,ye=.95,Pe=new go.PathFigure((Se-ve)*a,ye*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-ve)*y,(Se-ve)*a,(ye-me)*y,(Se-me)*a,(ye-ve)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ve)*a,ye*y,(Se+me)*a,(ye-ve)*y,(Se+ve)*a,(ye-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+ve)*y,(Se+ve)*a,(ye+me)*y,(Se+me)*a,(ye+ve)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ve)*a,ye*y,(Se-me)*a,(ye+ve)*y,(Se-ve)*a,(ye+me)*y).close());var we=new go.PathFigure(0,y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(.15*a,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ue=.05,de=re*.05,ge=.35,ve=.775,me=new go.PathFigure((ge-ue)*a,ve*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ve-ue)*y,(ge-ue)*a,(ve-de)*y,(ge-de)*a,(ve-ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue)*a,ve*y,(ge+de)*a,(ve-ue)*y,(ge+ue)*a,(ve-de)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ve+ue)*y,(ge+ue)*a,(ve+de)*y,(ge+de)*a,(ve+ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ue)*a,ve*y,(ge-de)*a,(ve+ue)*y,(ge-ue)*a,(ve+de)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(z,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(z,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(z,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(z,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(z,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(z,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(z,a,y){var x=new go.Geometry,b=.3,ee=re*.3,te=.5,ue=.7,de=new go.PathFigure((te-b)*a,ue*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+ee)*y));var ge=new go.PathFigure(0,.7*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(z,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(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var ee=new go.PathFigure(0,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(z,a,y){var x=new go.Geometry,b=.5,ee=re*.5,te=.5,ue=.5,de=new go.PathFigure((te-b)*a,ue*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+ee)*y));var ge=new go.PathFigure(.15*a,.5*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(z,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(z,a,y){var x=new go.Geometry,b=.5,ee=re*.5,te=.5,ue=.5,de=new go.PathFigure((te-b)*a,ue*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+ee)*y).close()),b=.05,ee=re*.05,te=.5,ue=.8;var ge=new go.PathFigure((te-b)*a,ue*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+ee)*y).close()),ge.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(z,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(z,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(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var ee=new go.PathFigure(0,y*.6,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var ee=new go.PathFigure(.126*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var te=new go.PathFigure(.402*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ue=new go.PathFigure(.678*a,.85*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var de=new go.PathFigure(.5*a,.1*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),de.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var ee=new go.PathFigure(a*.204,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var te=new go.PathFigure(a*.408,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ue=new go.PathFigure(a*.612,y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var de=new go.PathFigure(a*.816,y,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var ee=new go.PathFigure(a*.055,.07*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var te=new go.PathFigure(a*.055,.13*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ue=new go.PathFigure(a*.055,.18*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var de=new go.PathFigure(a*1,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(z,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(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(0,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(a*.11,y*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ue=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var de=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(z,a,y){var x=new go.Geometry,b=8,ee=b*re,te=new go.PathFigure(b,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,ee,ee,0).close());var ue=new go.PathFigure(a*.83,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var de=new go.PathFigure(a*.83,y*1,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ge=new go.PathFigure(a*.78,y*.05,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*re,ee=y*.8,te=new go.Geometry,ue=new go.PathFigure(x,0,!0);return te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),ue.add(new go.PathSegment(go.PathSegment.Line,0,x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var ee=new go.PathFigure(a*1,y*.55,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var ee=new go.PathFigure(a*.1,y*.2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var te=new go.PathFigure(a*.28,y*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),te.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(z,a,y){var x=new go.Geometry,b=15,ee=b*re,te=new go.PathFigure(a*.62,y*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),te.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),ee>1?(x.spot1=new go.Spot(0,0,ee,ee),x.spot2=new go.Spot(1,1,-ee,-ee)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var te=new go.PathFigure(a*.4,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),te.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var te=new go.PathFigure(a*.5,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var ee=new go.PathFigure(a*.235,y*.28,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(z,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 xt={},ft="5.0",pe={},be=null,xe=!1,E=!1,he=null,fe=!1,se=null,re=null,ie=0;ie4?parseFloat(ze):5};xt.setHTML5Codebase=function(ze,ke){re=ze,Je(ze,ke)},xt.setJavaCodebase=xt.setJavaCodebaseVersion=xt.isCompiledInstalled=xt.setPreCompiledScriptPath=xt.setPreCompiledResourcePath=function(){},xt.setHTML5CodebaseVersion=function(ze,ke){var Be=parseFloat(ze);if(Be!==NaN&&Be<5){console.log("The GeoGebra HTML5 codebase version "+Be+" is deprecated. Using version latest instead.");return}se=ze,nt(ze,ke)},xt.getHTML5CodebaseVersion=function(){return z},xt.getParameters=function(){return pe},xt.setFontsCSSURL=function(ze){te=ze},xt.setGiacJSURL=function(ze){},xt.setJNLPFile=function(ze){ce=ze},xt.setJNLPBaseDir=function(ze){},xt.inject=function(){function ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Be=pe.id,qe,Ye=!1,gt=0;gt=5)return!0;var ze=xt.getAppletObject();return ze&&typeof ze.recalculateEnvironments=="function"?(ze.recalculateEnvironments(),!0):!1},xt.startAnimation=function(){var ze=xt.getAppletObject();return ze&&typeof ze.startAnimation=="function"?(ze.startAnimation(),!0):!1},xt.stopAnimation=function(){var ze=xt.getAppletObject();return ze&&typeof ze.stopAnimation=="function"?(ze.stopAnimation(),!0):!1},xt.getAppletObject=function(){var ze=pe.id!==void 0?pe.id:"ggbApplet";return window[ze]},xt.resize=function(){};var Pe=function(ze,ke,Be){var qe=document.createElement("param");qe.setAttribute("name",ke),qe.setAttribute("value",Be),ze.appendChild(qe)},we=function(ze){return ze&&ze!=="false"},Te=function(ze,ke,Be){de(z)<=4.2&&(Be=!0);var qe=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==z||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(qe=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ye=document.createElement("div");Ye.classList.add("appletParameters","notranslate");var gt=ke.width,$e=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(de(z)<=4.4)we(ke.showToolBar)&&(ke.height-=7),we(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&we(ke.showToolBar)&&(ke.width=605,gt=605);else{var We=100;(we(ke.showToolBar)||we(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),We=we(ke.showMenuBar)?245:155),gt=5?(ke.appletOnLoad=function(wt){var rt=ze.querySelector(".ggb_preview");rt&&rt.parentNode.removeChild(rt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Me),window.GGBT_wsf_view&&$(window).trigger("resize"),tt(wt)},He||Me.appendChild(Ve)):Ye.appendChild(Ve),Me.appendChild(Ye),He||ze.appendChild(Me),setTimeout(function(){xt.resize()},1)}else{var Ze=document.createElement("div");Ze.className="applet_scaler",Ze.style.position="relative",Ze.style.display="block",Ze.appendChild(Ye),ze.appendChild(Ze),ke.appletOnLoad=function(wt){xt.resize(),tt(wt)}}function Ke(wt,rt){rt&&typeof rt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(wt,rt.appletOnLoad):renderGGBElement(wt),Qe("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",rt)}function Ae(wt,rt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:wt,params:rt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(bt){Ke(bt.article,bt.params)}),html5AppletsToProcess=null)},de(z)<5&&(wt.className+=" geogebraweb")):Ke(wt,rt)}if(qe){scriptLoadStarted=!0;for(var Le=0;Le0?(Re.remove(),Me.attr("id","fullscreencontent").show(),jQuery(tt).append(Me),window.dispatchEvent(new Event("resize"))):Te(Re,ke,!1),window.GGBT_wsf_view.launchFullScreen(tt)}else ne=qe,Te(ze,ke,!1);if(!window.GGBT_wsf_view)for($e=0;$eze/4*3&&(Re=ze/4*3),tt=Re/5.8,We.setAttribute("src",b),We.setAttribute("width",Re),We.setAttribute("height",tt);var Me=(ze-Re)/2,He=(ke-tt)/2;We.style.left=Me+"px",We.style.top=He+"px",Ye.appendChild(We)}}return Ye.appendChild($e),Ye},Ue=function(ze){return ze=ze.toLowerCase(),ze==="html5"||ze==="screenshot"?ze:"html5"},je=["web","webSimple","web3d","tablet","tablet3d","phone"],nt=function(ze,ke){if(z=ze,ke){Je(z,!0);return}var Be=!xe;if(Be){var qe=de(z);!isNaN(qe)&&qe<4.4&&(Be=!1)}var Ye,gt;window.location.protocol.substr(0,4)==="http"?Ye=window.location.protocol:Ye="http:";var $e=z.indexOf("//");$e>0?gt=z:$e===0?gt=Ye+z:gt="https://www.geogebra.org/apps/5.2.814.0/";for(var We in je)if(z.slice(je[We].length*-1)===je[We]||z.slice((je[We].length+1)*-1)===je[We]+"/"){Je(gt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Be&&!be.is3D&&!be.AV&&!be.SV&&!be.CV&&!be.EV2&&!be.CP&&!be.PC&&!be.DA&&!be.FI&&!be.PV&&!we(pe.showToolBar)&&!we(pe.showMenuBar)&&!we(pe.showAlgebraInput)&&!we(pe.enableRightClick)&&(!pe.appName||pe.appName=="classic")?gt+="webSimple/":gt+="web3d/",Je(gt,!1)},Je=function(ze,ke){if(ze.requirejs){ae=ze;return}ze.slice(-1)!=="/"&&(ze+="/"),ae=ze,ke===null&&(ke=ze.indexOf("http")===-1),oe=ke,a="web.nocache.js",y=!1;var Be=ae.split("/");Be.length>1&&(!ke&&Be[Be.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):je.indexOf(Be[Be.length-2])>=0&&(a=Be[Be.length-2]+".nocache.js")),Be=ze.split("/"),z=Be[Be.length-3],z.substr(0,4)==="test"?z=z.substr(4,1)+"."+z.substr(5,1):(z.substr(0,3)==="war"||z.substr(0,4)==="beta")&&(z="5.0");var qe=parseFloat(z);qe!==NaN&&qe<5&&ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+qe+" is deprecated. Using version latest instead."),nt("5.0",ke))},Qe=function(ze,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(ze)};pe.material_id!==void 0?me(Xe):Xe();function Xe(){var ze=ft;se!==null?ze=se:parseFloat(ze)<5&&(ze="5.0"),nt(ze,!1),re!==null&&Je(re,oe),fe=!0}return xt},GGBAppletUtils=function(){"use strict";function xt(){return window.GGBT_wsf_edit!==void 0}function ft(fe,se){se!=1?(fe.style.transformOrigin="0% 0% 0px",fe.style.webkitTransformOrigin="0% 0% 0px",fe.style.transform="scale("+se+","+se+")",fe.style.webkitTransform="scale("+se+","+se+")",fe.style.maxWidth="initial",fe.querySelector(".ggb_preview")!==null&&(fe.querySelector(".ggb_preview").style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(fe.style.transform="none",fe.style.webkitTransform="none")}function pe(fe,se,re,ie,le,ce){var ae=null;if(ce!=null&&ce!="")for(var oe=fe.parentNode;oe!=null;)if((" "+oe.className+" ").indexOf(" "+ce+" ")>-1){ae=oe;break}else oe=oe.parentNode;var ne=0,z=0,a=0,y=0,x=0,b=0,ee=0;if(ae)ne=ae.offsetWidth,z=Math.max(ie?ae.offsetWidth:0,ae.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),z=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,z=window.innerHeight,a=window.innerWidth),fe){var te=fe.getBoundingClientRect();te.left>0&&te.left<=ne&&(le===void 0||!le)&&(document.dir==="rtl"?(x=ne-te.width-te.left,b=a<=480?10:30):(b=te.left,x=a<=480?10:30),y=b+x)}if(fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ue=fe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return fe&&((re===void 0||!re)&&se>0&&se+y1&&(ce=!0)),se&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce=!0),!(fe.hasOwnProperty("disableAutoScale")&&fe.disableAutoScale))le=be(fe,se,ce,re,fe.scaleContainerClass);else return ie;return ce&&(!fe.hasOwnProperty("scale")||ie===1)?le:Math.min(ie,le)}function E(fe){var se=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=fe.getBoundingClientRect(),le=(se-ie.width)/2,ce=(re-ie.height)/2;ce<0&&(ce=0),fe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(le<40?fe.style.left="40px":fe.style.left=le+"px",fe.style.top=ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ce<40?fe.style.top="40px":fe.style.top=ce+"px",fe.style.left=le+"px")}function he(fe,se){var re=fe.querySelector(".appletParameters");if(re){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(se.id!==re.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(fe)}if(re.parentElement&&/fullscreen/.test(re.parentElement.className))return;var ie=xe(se,fe);xt()&&re.setAttribute("data-param-scale",ie);for(var le=null,ce=0;ce=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(xt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(xt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(xt){var ft=c[xt];return ft==null?null:ft},r=d,webModule.__errFn=e}function B(){function xt(fe){var se=fe.lastIndexOf(rb);se==-1&&(se=fe.length);var re=fe.indexOf(sb);re==-1&&(re=fe.length);var ie=fe.lastIndexOf(tb,Math.min(re,se));return ie>=O?fe.substring(O,ie+P):W}function ft(fe){if(!fe.match(/^\w+:\/\//)){var se=o.createElement(ub);se.src=fe+vb,fe=xt(se.src)}return fe}function pe(){var fe=__gwt_getMetaProperty(wb);return fe!=null?fe:W}function be(){for(var fe=o.getElementsByTagName(_),se=O;seO?fe[fe.length-P].href:W}function E(){var fe=o.location;return fe.href==fe.protocol+zb+fe.host+fe.pathname+fe.search+fe.hash}var he=pe();return he==W&&(he=be()),he==W&&(he=xe()),he==W&&E()&&(he=xt(o.location.href)),he=ft(he),he}function C(xt){return xt.match(/^\//)||xt.match(/^[a-zA-Z]+:\/\//)?xt:webModule.__moduleBase+xt}function D(){var xt=[],ft=O,pe=[],be=[];function xe(fe){var se=be[fe](),re=pe[fe];if(se in re)return se;var ie=[];for(var le in re)ie[re[le]]=le;throw r&&r(fe,ie,se),null}if(__gwt_isKnownPropertyValue=function(fe,se){return se in pe[fe]},webModule.__getPropMap=function(){var fe={};for(var se in pe)pe.hasOwnProperty(se)&&(fe[se]=xe(se));return fe},webModule.__computePropValue=xe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var he=E.indexOf(Db);he!=-1&&(ft=parseInt(E.substring(he+P),$),E=E.substring(O,he))}catch(fe){}return webModule.__softPermutationId=ft,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(xt,ft,pe){"use strict";pe.d(ft,{Ax:function(){return he},Ds:function(){return fe},KI:function(){return re},SI:function(){return E},f1:function(){return xe}});var be=pe(11320);function xe(ie){let le=!0;if(ie.length>0){for(let ce=0;ceEe in Te?y(Te,Ee,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Te[Ee]=_e,ge=(Te,Ee)=>{for(var _e in Ee||(Ee={}))te.call(Ee,_e)&&de(Te,_e,Ee[_e]);if(ee)for(var _e of ee(Ee))ue.call(Ee,_e)&&de(Te,_e,Ee[_e]);return Te},ve=(Te,Ee)=>x(Te,b(Ee)),me=(Te,Ee,_e)=>new Promise((Ce,Oe)=>{var Ie=nt=>{try{je(_e.next(nt))}catch(Je){Oe(Je)}},Ue=nt=>{try{je(_e.throw(nt))}catch(Je){Oe(Je)}},je=nt=>nt.done?Ce(nt.value):Promise.resolve(nt.value).then(Ie,Ue);je((_e=_e.apply(Te,Ee)).next())});const Se=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ye}=xe.default,Pe=({exercise:Te,socket:Ee,dispatch:_e,onStartScreenshot:Ce,onCloseScreenshot:Oe,handleToDetail:Ie})=>{const[Ue,je]=E.default.useModal(),nt=(0,be.useRef)(),[Je,Qe]=(0,be.useState)(!0),Xe=(0,be.useRef)(!1),ze=(0,ne.useParams)();(0,be.useEffect)(()=>{var Ne,Ge,ot;if(document.addEventListener((0,fe.gH)(),Ae,!1),window.addEventListener("blur",Ze,!1),(Ne=Te.exerciseUserInfo)!=null&&Ne.screen_open&&(0,fe.vp)()&&Qe(!1),(Ge=Te.exerciseUserInfo)!=null&&Ge.screen_open&&!(0,fe.vp)()){(0,oe.RG)(" ",!0);const St=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Te.exerciseUserInfo.screen_sec+3:Te.exerciseUserInfo.screen_sec+10+1;nt.current=E.default.info({icon:null,centered:!0,width:444,title:(0,z._V)(z.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,z._V)(z.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},Te.exerciseUserInfo.screen_num-Te.exerciseUserInfo.used_screen_num),(0,z._V)(z.CP.recordScreen3)),okText:a.createElement("span",null,(0,z._V)(z.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(ye,{onFinish:()=>me(void 0,null,function*(){var wt;const rt=yield Ke();(wt=nt.current)==null||wt.destroy(),rt.used_screen_num&&Me(rt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+St*1e3})),"S\uFF09"),onOk:()=>{var wt;(0,oe.RG)(" ",!0),(wt=nt.current)==null||wt.destroy(),Qe(!1),(0,fe.Dj)(document.body),document.getElementById("root").addEventListener("click",Be,!1)}})}return(ot=Te.exerciseUserInfo)!=null&&ot.screen_open&&!(0,fe.vp)()||document.getElementById("root").addEventListener("click",Be,!1),()=>{document.getElementById("root").removeEventListener("click",Be,!1),document.removeEventListener((0,fe.gH)(),Ae,!1),window.removeEventListener("blur",Ze,!1)}},[]),(0,be.useEffect)(()=>{setTimeout(()=>{Te.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Be,!1),document.removeEventListener((0,fe.gH)(),Ae,!1))},500),qe()},[Te.actionTabs]),(0,be.useEffect)(()=>{setTimeout(()=>{Te.exerciseUserInfo.used_screen_num>Te.exerciseUserInfo.screen_num&&He()},500)},[Te.exerciseUserInfo]);const ke=()=>me(void 0,null,function*(){const Ne=yield Ke();setTimeout(()=>{var Ge,ot;(Ge=nt.current)==null||Ge.destroy(),nt.current=E.default.info({okText:a.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:a.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",a.createElement("span",{className:"c-red"},Ne.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(ot=Te.exerciseUserInfo)==null?void 0:ot.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>me(void 0,null,function*(){(0,fe.Dj)(document.body)})})},1e3)}),Be=Ne=>{!(0,fe.vp)()&&Ne.target.nodeName!=="A"&&Ne.target.nodeName!=="BUTTON"&&Ne.target.innerHTML!=="\u786E \u5B9A"&&(0,fe.Dj)(document.body)},qe=()=>me(void 0,null,function*(){const Ne=yield _e({type:"exercise/getExerciseUserInfo",payload:ge({},ze)});return Ne==null?void 0:Ne.data}),Ye=Ne=>me(void 0,null,function*(){var Ge;if((Ge=Te.exerciseUserInfo)!=null&&Ge.screen_at){const St=yield(0,se.ck)(ve(ge({},ze),{reset:!0}));if((St==null?void 0:St.status)===-6)return}const ot=yield(0,se.oy)({id:ze.categoryId});if(ot!=null&&ot.is_commit){E.default.destroyAll(),yield gt(),Ve(!0);return}else Me(Ne+1)}),gt=()=>me(void 0,null,function*(){var Ne;const Ge=ie()(),ot=Te.exerciseUserInfo.screen_sec;if(Re.current.length>0){const St=Ge.format("YYYY-MM-DD HH:mm:ss");let wt=Math.floor(Ge.diff(ie()(Re.current[0].start))/1e3);const rt=Re.current.length;wt/ot>>0>rt&&(wt=(rt+1)*ot-1),yield(0,se.P8)(ze.categoryId,{exercise_user_id:(Ne=Te.exerciseUserInfo)==null?void 0:Ne.exercise_user_id,time:St,time_long:wt,count:rt})}Re.current=[]}),$e=(0,be.useRef)(0),We=(0,be.useRef)(0),Re=(0,be.useRef)([]),tt=(0,be.useRef)(!1),Me=Ne=>me(void 0,null,function*(){var Ge;Xe.current||(Ce(),E.default.destroyAll(),$e.current=ie()().valueOf(),tt.current=!0,nt.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:le.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,z._V)(z.CP.recordScreen8)),content:a.createElement("div",{className:le.exitFullScreenModal},a.createElement("img",{src:ce,alt:"",className:le.warningIcon}),a.createElement("div",{className:le.warningText,style:{marginBottom:50,fontWeight:500}},(0,z._V)(z.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,z._V)(z.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,z._V)(z.CP.recordScreen11),a.createElement("span",{className:le.warningText},((Ge=Te.exerciseUserInfo)==null?void 0:Ge.screen_num)+1),(0,z._V)(z.CP.recordScreen12),a.createElement("span",{className:le.warningText,style:{fontWeight:600}},(0,z._V)(z.CP.recordScreen13)),",",(0,z._V)(z.CP.recordScreen14),a.createElement("span",{className:le.warningText},Ne-1),(0,z._V)(z.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(ye,{className:le.countdownWrapper,onFinish:()=>{We.current=ie()().valueOf(),Re.current.push({start:$e.current,end:We.current}),Ye(Ne)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Te.exerciseUserInfo.screen_sec+1)*1e3}),(0,z._V)(z.CP.recordScreen25)),(0,z._V)(z.CP.recordScreen16))),onOk:()=>{(0,oe.RG)(" ",!0),gt(),(0,fe.Dj)(document.body),Oe(),nt.current.destroy(),tt.current=!1}}))}),He=()=>me(void 0,null,function*(){E.default.destroyAll(),(yield(0,se.VL)({categoryId:ze.categoryId,commit_method:1}))&&Ve()}),Ve=(Ne=!1)=>me(void 0,null,function*(){var Ge,ot;if(document.removeEventListener((0,fe.gH)(),Ae,!1),(0,fe.BU)(),E.default.destroyAll(),Xe.current=!0,Ne){const St=yield(0,se.Yu)(ze.categoryId,{exercise_user_id:(Ge=Te.exerciseUserInfo)==null?void 0:Ge.exercise_user_id});Ue.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:le.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:le.forcedModalContent},a.createElement("img",{src:ae,alt:""}),a.createElement("div",{className:le.forcedText},(0,z._V)(z.CP.recordScreen17)),a.createElement("div",{className:le.screenNumText},(0,z._V)(z.CP.recordScreen18),(ot=Te.exerciseUserInfo)==null?void 0:ot.screen_num,(0,z._V)(z.CP.recordScreen19)),a.createElement(he.default,{dataSource:St==null?void 0:St.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,z._V)(z.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,z._V)(z.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,z._V)(z.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{Oe(),Ie()},onOk:()=>{ne.history.push(`/classrooms/${ze.coursesId}/exercisenotice/${ze.categoryId}/users/${ze.login}?isShowApply=true`)}})}else Ue.info({content:a.createElement("div",{className:"tc font16"},(0,z._V)(z.CP.recordScreen23),a.createElement("br",null),(0,z._V)(z.CP.recordScreen24)),onOk:()=>{Ie()}})}),Ze=Ne=>{(0,fe.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!tt.current&&(0,fe.BU)()},Ke=()=>me(void 0,null,function*(){var Ne;if((Ne=Te.exerciseUserInfo)!=null&&Ne.screen_at){const St=yield(0,se.ck)(ve(ge({},ze),{reset:!0}));if((St==null?void 0:St.status)===-6)return}const Ge=yield(0,se.oy)({id:ze.categoryId});if(Ge!=null&&Ge.is_commit){Ve();return}return yield qe()}),Ae=()=>me(void 0,null,function*(){var Ne;if((0,oe.RG)(" ",!0),(0,fe.vp)()){if((Ne=Te.exerciseUserInfo)!=null&&Ne.screen_at){var Ge=yield(0,se.ck)(ve(ge({},ze),{reset:!0}));if((Ge==null?void 0:Ge.status)===-6)return}}else if(!tt.current){var Ge=yield(0,se.ck)(ge({},ze));if((Ge==null?void 0:Ge.status)===-6)return;const St=yield qe();Me(St.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Le=()=>me(void 0,null,function*(){(0,se.ck)(ge({},ze));const Ne=yield qe();Me(Ne.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,je)};var we=(0,ne.connect)(({exercise:Te,globalSetting:Ee})=>({globalSetting:Ee,exercise:Te}))(Pe)},96325:function(xt,ft,pe){"use strict";pe.d(ft,{X:function(){return he},y:function(){return E}});var be=pe(67294),xe=pe(2453);const E=fe=>{(0,be.useEffect)(()=>{if(fe){const se=ie=>{ie.key==="F12"&&(ie.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},re=ie=>{ie.preventDefault()};return document.addEventListener("keydown",se),document.addEventListener("contextmenu",re),()=>{document.removeEventListener("keydown",se),document.removeEventListener("contextmenu",re)}}},[fe])},he=()=>{const[fe,se]=(0,be.useState)(!1),re=ie=>{const{keyCode:le,ctrlKey:ce,metaKey:ae,type:oe}=ie;(oe==="paste"||(le===67||le===86)&&(ae||ce))&&(xe.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ie.preventDefault(),ie.stopPropagation())};return(0,be.useEffect)(()=>(fe&&(window.addEventListener("keydown",re,!0),window.addEventListener("paste",re,!0)),()=>{window.removeEventListener("keydown",re,!0),window.removeEventListener("paste",re,!0)}),[fe]),{setOpenDisableCopyAndPaste:se,disableCopyAndPaste:fe}}},63205:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return ae}});var be=pe(67294),xe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=pe(94184),he=pe.n(E),fe=pe(57953),se=pe(15979),re=pe(33170),ie=pe(28706),le=(oe,ne,z)=>new Promise((a,y)=>{var x=te=>{try{ee(z.next(te))}catch(ue){y(ue)}},b=te=>{try{ee(z.throw(te))}catch(ue){y(ue)}},ee=te=>te.done?a(te.value):Promise.resolve(te.value).then(x,b);ee((z=z.apply(oe,ne)).next())}),ae=({data:oe,className:ne,fullWidth:z,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:ee})=>{const te=(0,be.useRef)(null),ue=(0,be.useRef)(null),de=(0,be.useRef)(null),ge=(0,be.useRef)(null),[ve,me]=(0,be.useState)(!1),[Se,ye]=(0,be.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,be.useEffect)(()=>{de.current||(de.current=document.createElement("style"),document.head.appendChild(de.current)),oe!=null&&oe.visible?(document.body.setAttribute("data-custom","y-hidden"),de.current.innerHTML=" html { overflow-y: hidden; }",oe!=null&&oe.src&&Pe()):(document.body.removeAttribute("data-custom"),de.current&&(document.head.removeChild(de.current),de.current=null))},[oe==null?void 0:oe.visible]);const Pe=()=>le(void 0,null,function*(){me(!0),ye("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ce=yield(0,ie.ZJ)(oe==null?void 0:oe.src);te.current.src="",te.current.src=Ce,te.current.onload=function(){_e()},me(!1),ye("")}),we=()=>{document.body.removeAttribute("data-custom"),de.current.innerHTML=" ",y()},Te=Ce=>le(void 0,null,function*(){me(!0),ye("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Oe=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:oe.title,file:Ce.dataUrl}});Oe!=null&&Oe.id&&!ee?(yield(0,re.ZP)(`/api/attachments/${oe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Oe==null?void 0:Oe.id,settings:JSON.stringify(Ce.state)}})).status===0&&x():Oe!=null&&Oe.id&&x(Oe),document.body.removeAttribute("data-custom"),de.current.innerHTML=" ",me(!1),ye("")}),Ee=()=>{const Ce=document.querySelector('a[href="https://markerjs.com/"]');Ce&&Ce.parentNode&&(Ce.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(Ie=>{const Ue=document.querySelector(Ie.name);Ue&&Ue.setAttribute("title",Ie.title)})},_e=()=>{ue.current=new se.hP(te.current),ue.current.targetRoot=ge.current,ue.current.addEventListener("render",Te),ue.current.addEventListener("beforeclose",we),b&&(ue.current.availableMarkerTypes=ue.current.ALL_MARKER_TYPES,ue.current.uiStyleSettings.redoButtonVisible=!0,ue.current.uiStyleSettings.notesButtonVisible=!0,ue.current.uiStyleSettings.zoomButtonVisible=!0,ue.current.uiStyleSettings.zoomOutButtonVisible=!0,ue.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ue.current.uiStyleSettings,ue.current.show(),oe!=null&&oe.snapshotData&&ue.current.restoreState(oe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ee()},300)};return be.createElement(be.Fragment,null,(oe==null?void 0:oe.visible)&&be.createElement(fe.Z,{spinning:ve,tip:Se,style:{position:"absolute"}},be.createElement("div",{ref:ge,className:he()(xe.imageDimensions,ne,z?xe.fullWidth:""),style:a},be.createElement("img",{className:xe.img,ref:te}))))}},36527:function(xt,ft,pe){"use strict";var be=pe(67294),xe=pe(71230),E=pe(15746),he=pe(66368),fe=pe(71577),se=pe(85725),re=pe(71736),ie=pe(84279),le=pe(67294);const ce=(0,be.forwardRef)(({callback:ae,showSaveButton:oe,value:ne=""},z)=>{const a=(0,be.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],b=ue=>{a.current.setValue(a.current.getValue()+" "+ue.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:le.createElement(xe.Z,{className:re.Z.lists,gutter:[10,10]},y.map((ue,de)=>le.createElement(E.Z,{flex:"110px",className:re.Z.item},le.createElement("div",null,le.createElement(se.Z,{value:`$$${ue.value}$$`}),ue.name),le.createElement("div",{className:re.Z.children},ue.children.map((ge,ve)=>le.createElement("div",{key:ve},le.createElement("h1",null,ge.name),le.createElement(xe.Z,{gutter:[10,10]},ge.data.map((me,Se)=>le.createElement(E.Z,{key:Se,onClick:()=>b(me),className:re.Z.diamond},le.createElement(se.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:le.createElement(xe.Z,{className:re.Z.lists,gutter:[10,10]},x.map((ue,de)=>le.createElement(E.Z,{flex:"110px",className:re.Z.item},le.createElement("div",null,le.createElement(se.Z,{value:"`$$"+ue.value+"$$`"}),ue.name),le.createElement("div",{className:re.Z.children},ue.children.map((ge,ve)=>le.createElement("div",{key:ve},ge.name&&le.createElement("h1",null,ge.name),le.createElement(xe.Z,{gutter:[10,10]},ge.data.map((me,Se)=>le.createElement(E.Z,{key:Se,onClick:()=>b(me),className:re.Z.diamond},le.createElement(se.Z,{value:"`$$"+me.value+"$$`"}))))))))))}],te=()=>{var ue=document.createElement("div");ue.innerHTML=a.current.getValue();var de=ue.innerText;return ae&&ae(de),de};return(0,be.useImperativeHandle)(z,()=>({getData:te})),le.createElement("div",{className:re.Z.mathWrap},le.createElement(he.default,{defaultActiveKey:"1",items:ee}),le.createElement("math-field",{locale:"zh_cn",className:re.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ne||""),oe&&le.createElement("div",{className:re.Z.button},le.createElement(fe.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});ft.Z=ce},7621:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return he}});var be=pe(35973),xe={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=pe(67294),he=({message:fe,className:se,children:re,style:ie={}})=>E.createElement("div",{className:`custom-spinner ${xe.idsRingWrapper} ${se}`},E.createElement("div",{className:xe.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),fe?E.createElement("p",{style:ie},fe):null,re,E.createElement(be.Outlet,null))},38658:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return se}});var be=pe(67294),xe={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},E=pe(94184),he=pe.n(E),se=({className:re,style:ie={},leftNode:le,leftTitle:ce="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:oe="\u8FD0\u884C\u7ED3\u679C"})=>be.createElement("div",{className:he()(xe.result,re),style:ie},be.createElement("div",{className:xe.left},be.createElement("div",{className:xe.title},be.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),be.createElement("span",null,ce)),be.createElement("div",{className:xe.leftNode},le)),be.createElement("div",{className:xe.right},be.createElement("div",{className:xe.title},be.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),be.createElement("span",null,oe)),be.createElement("div",{className:xe.rightNode},ae)))},62078:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return Or}});var be=pe(67294),xe=pe.t(be,2),E=pe(33054),he=pe(99569),fe=pe(94184),se=pe.n(fe),re=pe(87462),ie=pe(1413),le=pe(4942),ce=pe(97685),ae=pe(71002),oe=pe(45987),ne=/margin|padding|width|height|max|min|offset/,z={left:!0,top:!0},a={cssFloat:1,styleFloat:1,float:1};function y(ut){return ut.nodeType===1?ut.ownerDocument.defaultView.getComputedStyle(ut,null):{}}function x(ut,it,Pt){if(it=it.toLowerCase(),Pt==="auto"){if(it==="height")return ut.offsetHeight;if(it==="width")return ut.offsetWidth}return it in z||(z[it]=ne.test(it)),z[it]?parseFloat(Pt)||0:Pt}function b(ut,it){var Pt=arguments.length,Bt=y(ut);return it=a[it]?"cssFloat"in ut.style?"cssFloat":"styleFloat":it,Pt===1?Bt:x(ut,it,Bt[it]||ut.style[it])}function ee(ut,it,Pt){var Bt=arguments.length;if(it=a[it]?"cssFloat"in ut.style?"cssFloat":"styleFloat":it,Bt===3)return typeof Pt=="number"&&ne.test(it)&&(Pt="".concat(Pt,"px")),ut.style[it]=Pt,Pt;for(var Gt in it)it.hasOwnProperty(Gt)&&ee(ut,Gt,it[Gt]);return y(ut)}function te(ut){return ut===document.body?document.documentElement.clientWidth:ut.offsetWidth}function ue(ut){return ut===document.body?window.innerHeight||document.documentElement.clientHeight:ut.offsetHeight}function de(){var ut=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),it=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ut,height:it}}function ge(){var ut=document.documentElement.clientWidth,it=window.innerHeight||document.documentElement.clientHeight;return{width:ut,height:it}}function ve(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function me(ut){var it=ut.getBoundingClientRect(),Pt=document.documentElement;return{left:it.left+(window.pageXOffset||Pt.scrollLeft)-(Pt.clientLeft||document.body.clientLeft||0),top:it.top+(window.pageYOffset||Pt.scrollTop)-(Pt.clientTop||document.body.clientTop||0)}}function Se(ut){var it=be.useRef();it.current=ut;var Pt=be.useCallback(function(){for(var Bt,Gt=arguments.length,sn=new Array(Gt),_n=0;_n=$e.F1&&Pt<=$e.F12)return!1;switch(Pt){case $e.ALT:case $e.CAPS_LOCK:case $e.CONTEXT_MENU:case $e.CTRL:case $e.DOWN:case $e.END:case $e.ESC:case $e.HOME:case $e.INSERT:case $e.LEFT:case $e.MAC_FF_META:case $e.META:case $e.NUMLOCK:case $e.NUM_CENTER:case $e.PAGE_DOWN:case $e.PAGE_UP:case $e.PAUSE:case $e.PRINT_SCREEN:case $e.RIGHT:case $e.SHIFT:case $e.UP:case $e.WIN_KEY:case $e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(it){if(it>=$e.ZERO&&it<=$e.NINE||it>=$e.NUM_ZERO&&it<=$e.NUM_MULTIPLY||it>=$e.A&&it<=$e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&it===0)return!0;switch(it){case $e.SPACE:case $e.QUESTION_MARK:case $e.NUM_PLUS:case $e.NUM_MINUS:case $e.NUM_PERIOD:case $e.NUM_DIVISION:case $e.SEMICOLON:case $e.DASH:case $e.EQUALS:case $e.COMMA:case $e.PERIOD:case $e.SLASH:case $e.APOSTROPHE:case $e.SINGLE_QUOTE:case $e.OPEN_SQUARE_BRACKET:case $e.BACKSLASH:case $e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},We=$e,Re=`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`,tt=`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`,Me="".concat(Re," ").concat(tt).split(/[\s\n]+/),He="aria-",Ve="data-";function Ze(ut,it){return ut.indexOf(it)===0}function Ke(ut){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pt;it===!1?Pt={aria:!0,data:!0,attr:!0}:it===!0?Pt={aria:!0}:Pt=(0,ie.Z)({},it);var Bt={};return Object.keys(ut).forEach(function(Gt){(Pt.aria&&(Gt==="role"||Ze(Gt,He))||Pt.data&&Ze(Gt,Ve)||Pt.attr&&Me.includes(Gt))&&(Bt[Gt]=ut[Gt])}),Bt}function Ae(ut,it,Pt){var Bt=it;return!Bt&&Pt&&(Bt="".concat(ut,"-").concat(Pt)),Bt}function Le(ut,it){var Pt=ut["page".concat(it?"Y":"X","Offset")],Bt="scroll".concat(it?"Top":"Left");if(typeof Pt!="number"){var Gt=ut.document;Pt=Gt.documentElement[Bt],typeof Pt!="number"&&(Pt=Gt.body[Bt])}return Pt}function Ne(ut){var it=ut.getBoundingClientRect(),Pt={left:it.left,top:it.top},Bt=ut.ownerDocument,Gt=Bt.defaultView||Bt.parentWindow;return Pt.left+=Le(Gt),Pt.top+=Le(Gt,!0),Pt}var Ge=pe(62874),ot=pe(59864);function St(ut,it,Pt){var Bt=be.useRef({});return(!("value"in Bt.current)||Pt(Bt.current.condition,it))&&(Bt.current.value=ut(),Bt.current.condition=it),Bt.current.value}function wt(ut,it){typeof ut=="function"?ut(it):(0,ae.Z)(ut)==="object"&&ut&&"current"in ut&&(ut.current=it)}function rt(){for(var ut=arguments.length,it=new Array(ut),Pt=0;Pt=fn.F1&&Pt<=fn.F12)return!1;switch(Pt){case fn.ALT:case fn.CAPS_LOCK:case fn.CONTEXT_MENU:case fn.CTRL:case fn.DOWN:case fn.END:case fn.ESC:case fn.HOME:case fn.INSERT:case fn.LEFT:case fn.MAC_FF_META:case fn.META:case fn.NUMLOCK:case fn.NUM_CENTER:case fn.PAGE_DOWN:case fn.PAGE_UP:case fn.PAUSE:case fn.PRINT_SCREEN:case fn.RIGHT:case fn.SHIFT:case fn.UP:case fn.WIN_KEY:case fn.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(it){if(it>=fn.ZERO&&it<=fn.NINE||it>=fn.NUM_ZERO&&it<=fn.NUM_MULTIPLY||it>=fn.A&&it<=fn.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&it===0)return!0;switch(it){case fn.SPACE:case fn.QUESTION_MARK:case fn.NUM_PLUS:case fn.NUM_MINUS:case fn.NUM_PERIOD:case fn.NUM_DIVISION:case fn.SEMICOLON:case fn.DASH:case fn.EQUALS:case fn.COMMA:case fn.PERIOD:case fn.SLASH:case fn.APOSTROPHE:case fn.SINGLE_QUOTE:case fn.OPEN_SQUARE_BRACKET:case fn.BACKSLASH:case fn.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Er=fn,oo={},Lo=[],zo=function(it){Lo.push(it)};function Eo(ut,it){if(0)var Pt}function mo(ut,it){if(0)var Pt}function Sn(){oo={}}function ln(ut,it,Pt){!it&&!oo[Pt]&&(ut(!1,Pt),oo[Pt]=!0)}function mn(ut,it){ln(Eo,ut,it)}function Ln(ut,it){ln(mo,ut,it)}mn.preMessage=zo,mn.resetWarned=Sn,mn.noteOnce=Ln;var Wn=mn;function lr(ut,it,Pt,Bt){var Gt=it+Pt,sn=(Pt-Bt)/2;if(Pt>Bt){if(it>0)return(0,le.Z)({},ut,sn);if(it<0&&GtBt)return(0,le.Z)({},ut,it<0?sn:-sn);return{}}function er(ut,it,Pt,Bt){var Gt=ge(),sn=Gt.width,_n=Gt.height,Mn=null;return ut<=sn&&it<=_n?Mn={x:0,y:0}:(ut>sn||it>_n)&&(Mn=(0,ie.Z)((0,ie.Z)({},lr("x",Pt,ut,sn)),lr("y",Bt,it,_n))),Mn}function Wr(ut,it){var Pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Bt=new Set;function Gt(sn,_n){var Mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Fn=Bt.has(sn);if(Wn(!Fn,"Warning: There may be circular references"),Fn)return!1;if(sn===_n)return!0;if(Pt&&Mn>1)return!1;Bt.add(sn);var Kn=Mn+1;if(Array.isArray(sn)){if(!Array.isArray(_n)||sn.length!==_n.length)return!1;for(var gr=0;gr1&&arguments[1]!==void 0?arguments[1]:1;jt+=1;var Bt=jt;function Gt(sn){if(sn===0)wn(Bt),it();else{var _n=cr(function(){Gt(sn-1)});Tt.set(Bt,_n)}}return Gt(Pt),Bt};zn.cancel=function(ut){var it=Tt.get(ut);return wn(it),Mt(it)};var $n=zn,_r={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function mr(ut,it,Pt,Bt){var Gt=(0,be.useRef)(null),sn=(0,be.useRef)([]),_n=(0,be.useState)(_r),Mn=(0,ce.Z)(_n,2),Fn=Mn[0],Kn=Mn[1],gr=function(qr){Kn(_r),Bt&&!Br(_r,Fn)&&Bt({transform:_r,action:qr})},hr=function(qr,po){Gt.current===null&&(sn.current=[],Gt.current=$n(function(){Kn(function(Mo){var Io=Mo;return sn.current.forEach(function(Hr){Io=(0,ie.Z)((0,ie.Z)({},Io),Hr)}),Gt.current=null,Bt==null||Bt({transform:Io,action:po}),Io})})),sn.current.push((0,ie.Z)((0,ie.Z)({},Fn),qr))},so=function(qr,po,Mo,Io){var Hr=ut.current,Uo=Hr.width,fo=Hr.height,Wo=Hr.offsetWidth,sa=Hr.offsetHeight,Ua=Hr.offsetLeft,Ko=Hr.offsetTop,Ra=qr,da=Fn.scale*qr;da>Pt?(Ra=Pt/Fn.scale,da=Pt):da1,ni=Ma&&Hr>=1,yi=mr(kr,Ua,Ra,$o),Ta=yi.transform,La=yi.resetTransform,Ga=yi.updateTransform,Ci=yi.dispatchZoomChange,Qi=(0,be.useState)(!0),us=(0,ce.Z)(Qi,2),ds=us[0],Ii=us[1],Si=Ta.rotate,mi=Ta.scale,Ki=Ta.x,Gi=Ta.y,Us=se()((0,le.Z)({},"".concat(Pt,"-moving"),xa));(0,be.useEffect)(function(){ds||Ii(!0)},[ds]);var Hs=function(){La("close")},fs=function(){Ci(vo+Wo,"zoomIn")},vs=function(){Ci(vo/(vo+Wo),"zoomOut")},zs=function(){Ga({rotate:Si+90},"rotateRight")},ys=function(){Ga({rotate:Si-90},"rotateLeft")},qi=function(){Ga({flipX:!Ta.flipX},"flipX")},es=function(){Ga({flipY:!Ta.flipY},"flipY")},Ss=function(Nn){Nn==null||Nn.preventDefault(),Nn==null||Nn.stopPropagation(),Mo>0&&(Ii(!1),La("prev"),Pa==null||Pa(Mo-1,Mo))},xs=function(Nn){Nn==null||Nn.preventDefault(),Nn==null||Nn.stopPropagation(),Mo0&&(tr=vo/tr),Ci(tr,"wheel",Nn.clientX,Nn.clientY)}},en=function(Nn){!Kn||!ka||(Nn.keyCode===Er.LEFT?Ss():Nn.keyCode===Er.RIGHT&&xs())},bn=function(Nn){Kn&&(mi!==1?Ga({x:0,y:0,scale:1},"doubleClick"):Ci(vo+Wo,"doubleClick",Nn.clientX,Nn.clientY))};(0,be.useEffect)(function(){var Gn,Nn,ir,Dr;if(Mn){ir=Pr(window,"mouseup",at,!1),Dr=Pr(window,"mousemove",mt,!1);try{window.top!==window.self&&(Gn=Pr(window.top,"mouseup",at,!1),Nn=Pr(window.top,"mousemove",mt,!1))}catch(tr){Eo(!1,"[rc-image] ".concat(tr))}}return function(){var tr,Fr,Mr,eo;(tr=ir)===null||tr===void 0||tr.remove(),(Fr=Dr)===null||Fr===void 0||Fr.remove(),(Mr=Gn)===null||Mr===void 0||Mr.remove(),(eo=Nn)===null||eo===void 0||eo.remove()}},[Kn,xa,Ki,Gi,Si,Mn]),(0,be.useEffect)(function(){var Gn=Pr(window,"keydown",en,!1);return function(){Gn.remove()}},[Kn,ka,Mo]);var En=be.createElement(an,(0,re.Z)({},Wa,{width:it.width,height:it.height,imgRef:kr,className:"".concat(Pt,"-img"),alt:Gt,style:{transform:"translate3d(".concat(Ta.x,"px, ").concat(Ta.y,"px, 0) scale3d(").concat(Ta.flipX?"-":"").concat(mi,", ").concat(Ta.flipY?"-":"").concat(mi,", 1) rotate(").concat(Si,"deg)"),transitionDuration:!ds&&"0s"},fallback:sn,src:Bt,onWheel:kt,onMouseDown:vt,onDoubleClick:bn}));return be.createElement(be.Fragment,null,be.createElement(jn,(0,re.Z)({transitionName:Ha,maskTransitionName:ko,closable:!1,keyboard:!0,prefixCls:Pt,onClose:Fn,visible:Kn,wrapClassName:Us,rootClassName:so,getContainer:qr},Da,{afterClose:Hs}),be.createElement("div",{className:"".concat(Pt,"-img-wrapper")},na?na(En,(0,ie.Z)({transform:Ta},Ma?{current:Mo}:{})):En)),be.createElement(ao,{visible:Kn,transform:Ta,maskTransitionName:ko,closeIcon:co,getContainer:qr,prefixCls:Pt,rootClassName:so,icons:hr,countRender:Uo,showSwitch:ka,showProgress:ni,current:Mo,count:Hr,scale:mi,minScale:Ua,maxScale:Ra,toolbarRender:ai,onSwitchLeft:Ss,onSwitchRight:xs,onZoomIn:fs,onZoomOut:vs,onRotateRight:zs,onRotateLeft:ys,onFlipX:qi,onFlipY:es,onClose:Fn}))},on=qt,In=pe(74902);function tn(ut){var it=be.useState({}),Pt=(0,ce.Z)(it,2),Bt=Pt[0],Gt=Pt[1],sn=be.useCallback(function(Mn,Fn){return Gt(function(Kn){return(0,ie.Z)((0,ie.Z)({},Kn),{},(0,le.Z)({},Mn,Fn))}),function(){Gt(function(Kn){var gr=(0,ie.Z)({},Kn);return delete gr[Mn],gr})}},[]),_n=be.useMemo(function(){return ut?ut.map(function(Mn){if(typeof Mn=="string")return{data:{src:Mn}};var Fn={};return Object.keys(Mn).forEach(function(Kn){["src"].concat((0,In.Z)(Ie)).includes(Kn)&&(Fn[Kn]=Mn[Kn])}),{data:Fn}}):Object.keys(Bt).reduce(function(Mn,Fn){var Kn=Bt[Fn],gr=Kn.canPreview,hr=Kn.data;return gr&&Mn.push({data:hr,id:Fn}),Mn},[])},[ut,Bt]);return[_n,sn]}var An=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],cn=["src"],xr=function(it){var Pt,Bt=it.previewPrefixCls,Gt=Bt===void 0?"rc-image-preview":Bt,sn=it.children,_n=it.icons,Mn=_n===void 0?{}:_n,Fn=it.items,Kn=it.preview,gr=it.fallback,hr=(0,ae.Z)(Kn)==="object"?Kn:{},so=hr.visible,co=hr.onVisibleChange,qr=hr.getContainer,po=hr.current,Mo=hr.movable,Io=hr.minScale,Hr=hr.maxScale,Uo=hr.countRender,fo=hr.closeIcon,Wo=hr.onChange,sa=hr.onTransform,Ua=hr.toolbarRender,Ko=hr.imageRender,Ra=(0,oe.Z)(hr,An),da=tn(Fn),Ha=(0,ce.Z)(da,2),Go=Ha[0],ko=Ha[1],na=Oe(0,{value:po}),Wa=(0,ce.Z)(na,2),ai=Wa[0],$o=Wa[1],Pa=(0,be.useState)(!1),Da=(0,ce.Z)(Pa,2),kr=Da[0],za=Da[1],Ja=((Pt=Go[ai])===null||Pt===void 0?void 0:Pt.data)||{},hi=Ja.src,xa=(0,oe.Z)(Ja,cn),ti=Oe(!!so,{value:so,onChange:function(Si,mi){co==null||co(Si,mi,ai)}}),Ma=(0,ce.Z)(ti,2),ka=Ma[0],ni=Ma[1],yi=(0,be.useState)(null),Ta=(0,ce.Z)(yi,2),La=Ta[0],Ga=Ta[1],Ci=be.useCallback(function(Ii,Si,mi){var Ki=Go.findIndex(function(Gi){return Gi.id===Ii});ni(!0),Ga({x:Si,y:mi}),$o(Ki<0?0:Ki),za(!0)},[Go]);be.useEffect(function(){ka?kr||$o(0):za(!1)},[ka]);var Qi=function(Si,mi){$o(Si),Wo==null||Wo(Si,mi)},us=function(){ni(!1),Ga(null)},ds=be.useMemo(function(){return{register:ko,onPreview:Ci}},[ko,Ci]);return be.createElement(Ue.Provider,{value:ds},sn,be.createElement(on,(0,re.Z)({"aria-hidden":!ka,movable:Mo,visible:ka,prefixCls:Gt,closeIcon:fo,onClose:us,mousePosition:La,imgCommonProps:xa,src:hi,fallback:gr,icons:Mn,minScale:Io,maxScale:Hr,getContainer:qr,current:ai,count:Go.length,countRender:Uo,onTransform:sa,toolbarRender:Ua,imageRender:Ko,onChange:Qi},Ra)))},ur=xr,Ur=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],to=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],xo=function(it){var Pt=it.src,Bt=it.alt,Gt=it.onPreviewClose,sn=it.prefixCls,_n=sn===void 0?"rc-image":sn,Mn=it.previewPrefixCls,Fn=Mn===void 0?"".concat(_n,"-preview"):Mn,Kn=it.placeholder,gr=it.fallback,hr=it.width,so=it.height,co=it.style,qr=it.preview,po=qr===void 0?!0:qr,Mo=it.className,Io=it.onClick,Hr=it.onError,Uo=it.wrapperClassName,fo=it.wrapperStyle,Wo=it.rootClassName,sa=(0,oe.Z)(it,Ur),Ua=Kn&&Kn!==!0,Ko=(0,ae.Z)(po)==="object"?po:{},Ra=Ko.src,da=Ko.visible,Ha=da===void 0?void 0:da,Go=Ko.onVisibleChange,ko=Go===void 0?Gt:Go,na=Ko.getContainer,Wa=na===void 0?void 0:na,ai=Ko.mask,$o=Ko.maskClassName,Pa=Ko.movable,Da=Ko.icons,kr=Ko.scaleStep,za=Ko.minScale,Ja=Ko.maxScale,hi=Ko.imageRender,xa=Ko.toolbarRender,ti=(0,oe.Z)(Ko,to),Ma=Ra!=null?Ra:Pt,ka=Oe(!!Ha,{value:Ha,onChange:ko}),ni=(0,ce.Z)(ka,2),yi=ni[0],Ta=ni[1],La=Qe({src:Pt,isCustomPlaceholder:Ua,fallback:gr}),Ga=(0,ce.Z)(La,3),Ci=Ga[0],Qi=Ga[1],us=Ga[2],ds=(0,be.useState)(null),Ii=(0,ce.Z)(ds,2),Si=Ii[0],mi=Ii[1],Ki=(0,be.useContext)(Ue),Gi=!!po,Us=function(){Ta(!1),mi(null)},Hs=se()(_n,Uo,Wo,(0,le.Z)({},"".concat(_n,"-error"),us==="error")),fs=(0,be.useMemo)(function(){var qi={};return Ie.forEach(function(es){it[es]!==void 0&&(qi[es]=it[es])}),qi},Ie.map(function(qi){return it[qi]})),vs=(0,be.useMemo)(function(){return(0,ie.Z)((0,ie.Z)({},fs),{},{src:Ma})},[Ma,fs]),zs=nt(Gi,vs),ys=function(es){var Ss=me(es.target),xs=Ss.left,at=Ss.top;Ki?Ki.onPreview(zs,xs,at):(mi({x:xs,y:at}),Ta(!0)),Io==null||Io(es)};return be.createElement(be.Fragment,null,be.createElement("div",(0,re.Z)({},sa,{className:Hs,onClick:Gi?ys:Io,style:(0,ie.Z)({width:hr,height:so},fo)}),be.createElement("img",(0,re.Z)({},fs,{className:se()("".concat(_n,"-img"),(0,le.Z)({},"".concat(_n,"-img-placeholder"),Kn===!0),Mo),style:(0,ie.Z)({height:so},co),ref:Ci},Qi,{width:hr,height:so,onError:Hr})),us==="loading"&&be.createElement("div",{"aria-hidden":"true",className:"".concat(_n,"-placeholder")},Kn),ai&&Gi&&be.createElement("div",{className:se()("".concat(_n,"-mask"),$o),style:{display:(co==null?void 0:co.display)==="none"?"none":void 0}},ai)),!Ki&&Gi&&be.createElement(on,(0,re.Z)({"aria-hidden":!yi,visible:yi,prefixCls:Fn,onClose:Us,mousePosition:Si,src:Ma,alt:Bt,fallback:gr,getContainer:Wa,icons:Da,movable:Pa,scaleStep:kr,minScale:za,maxScale:Ja,rootClassName:Wo,imageRender:hi,imgCommonProps:fs,toolbarRender:xa},ti)))};xo.PreviewGroup=ur,xo.displayName="Image";var dn=xo,Ro=dn,ea=pe(33603),Po=pe(53124),ta=pe(24457),Dn=pe(73475),ar=pe(22751),Ir=pe(91034),Bn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},wo=Bn,lo=pe(74643),ia=function(it,Pt){return be.createElement(lo.Z,(0,re.Z)({},it,{ref:Pt,icon:wo}))},ca=be.forwardRef(ia),ua={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},_t=ua,Et=function(it,Pt){return be.createElement(lo.Z,(0,re.Z)({},it,{ref:Pt,icon:_t}))},Qt=be.forwardRef(Et),un={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Pn=un,Yn=function(it,Pt){return be.createElement(lo.Z,(0,re.Z)({},it,{ref:Pt,icon:Pn}))},vr=be.forwardRef(Yn),Nr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},no=Nr,uo=function(it,Pt){return be.createElement(lo.Z,(0,re.Z)({},it,{ref:Pt,icon:no}))},io=be.forwardRef(uo),Bo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},dr=Bo,Ot=function(it,Pt){return be.createElement(lo.Z,(0,re.Z)({},it,{ref:Pt,icon:dr}))},Ut=be.forwardRef(Ot),Yt=pe(84780),dt=pe(71194),Jt=pe(14747),vn=pe(50438),yn=pe(16932),Ht=pe(67968),Zt=pe(45503);const Kt=ut=>({position:ut||"absolute",inset:0}),Rn=ut=>{const{iconCls:it,motionDurationSlow:Pt,paddingXXS:Bt,marginXXS:Gt,prefixCls:sn,colorTextLightSolid:_n}=ut;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:_n,background:new Yt.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Pt}`,[`.${sn}-mask-info`]:Object.assign(Object.assign({},Jt.vS),{padding:`0 ${Bt}px`,[it]:{marginInlineEnd:Gt,svg:{verticalAlign:"baseline"}}})}},Vn=ut=>{const{previewCls:it,modalMaskBg:Pt,paddingSM:Bt,marginXL:Gt,margin:sn,paddingLG:_n,previewOperationColorDisabled:Mn,previewOperationHoverColor:Fn,motionDurationSlow:Kn,iconCls:gr,colorTextLightSolid:hr}=ut,so=new Yt.C(Pt).setAlpha(.1),co=so.clone().setAlpha(.2);return{[`${it}-footer`]:{position:"fixed",bottom:Gt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:ut.previewOperationColor},[`${it}-progress`]:{marginBottom:sn},[`${it}-close`]:{position:"fixed",top:Gt,right:{_skip_check_:!0,value:Gt},display:"flex",color:hr,backgroundColor:so.toRgbString(),borderRadius:"50%",padding:Bt,outline:0,border:0,cursor:"pointer",transition:`all ${Kn}`,"&:hover":{backgroundColor:co.toRgbString()},[`& > ${gr}`]:{fontSize:ut.previewOperationSize}},[`${it}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${_n}px`,backgroundColor:so.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Bt,padding:Bt,cursor:"pointer",transition:`all ${Kn}`,userSelect:"none",[`&:not(${it}-operations-operation-disabled):hover > ${gr}`]:{color:Fn},"&-disabled":{color:Mn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${gr}`]:{fontSize:ut.previewOperationSize}}}}},sr=ut=>{const{modalMaskBg:it,iconCls:Pt,previewOperationColorDisabled:Bt,previewCls:Gt,zIndexPopup:sn,motionDurationSlow:_n}=ut,Mn=new Yt.C(it).setAlpha(.1),Fn=Mn.clone().setAlpha(.2);return{[`${Gt}-switch-left, ${Gt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:sn+1,display:"flex",alignItems:"center",justifyContent:"center",width:ut.imagePreviewSwitchSize,height:ut.imagePreviewSwitchSize,marginTop:-ut.imagePreviewSwitchSize/2,color:ut.previewOperationColor,background:Mn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${_n}`,userSelect:"none","&:hover":{background:Fn.toRgbString()},"&-disabled":{"&, &:hover":{color:Bt,background:"transparent",cursor:"not-allowed",[`> ${Pt}`]:{cursor:"not-allowed"}}},[`> ${Pt}`]:{fontSize:ut.previewOperationSize}},[`${Gt}-switch-left`]:{insetInlineStart:ut.marginSM},[`${Gt}-switch-right`]:{insetInlineEnd:ut.marginSM}}},nr=ut=>{const{motionEaseOut:it,previewCls:Pt,motionDurationSlow:Bt,componentCls:Gt}=ut;return[{[`${Gt}-preview-root`]:{[Pt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Pt}-body`]:Object.assign(Object.assign({},Kt()),{overflow:"hidden"}),[`${Pt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Bt} ${it} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Kt()),{transition:`transform ${Bt} ${it} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Pt}-moving`]:{[`${Pt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Gt}-preview-root`]:{[`${Pt}-wrap`]:{zIndex:ut.zIndexPopup}}},{[`${Gt}-preview-operations-wrapper`]:{position:"fixed",zIndex:ut.zIndexPopup+1},"&":[Vn(ut),sr(ut)]}]},fr=ut=>{const{componentCls:it}=ut;return{[it]:{position:"relative",display:"inline-block",[`${it}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${it}-img-placeholder`]:{backgroundColor:ut.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${it}-mask`]:Object.assign({},Rn(ut)),[`${it}-mask:hover`]:{opacity:1},[`${it}-placeholder`]:Object.assign({},Kt())}}},wr=ut=>{const{previewCls:it}=ut;return{[`${it}-root`]:(0,vn._y)(ut,"zoom"),"&":(0,yn.J$)(ut,!0)}};var Tn=(0,Ht.Z)("Image",ut=>{const it=`${ut.componentCls}-preview`,Pt=(0,Zt.TS)(ut,{previewCls:it,modalMaskBg:new Yt.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:ut.controlHeightLG});return[fr(Pt),nr(Pt),(0,dt.QA)((0,Zt.TS)(Pt,{componentCls:it})),wr(Pt)]},ut=>({zIndexPopup:ut.zIndexPopupBase+80,previewOperationColor:new Yt.C(ut.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Yt.C(ut.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Yt.C(ut.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:ut.fontSizeIcon*1.5})),Vt=function(ut,it){var Pt={};for(var Bt in ut)Object.prototype.hasOwnProperty.call(ut,Bt)&&it.indexOf(Bt)<0&&(Pt[Bt]=ut[Bt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,Bt=Object.getOwnPropertySymbols(ut);Gt{var{previewPrefixCls:it,preview:Pt}=ut,Bt=Vt(ut,["previewPrefixCls","preview"]);const{getPrefixCls:Gt}=be.useContext(Po.E_),sn=Gt("image",it),_n=`${sn}-preview`,Mn=Gt(),[Fn,Kn]=Tn(sn),gr=be.useMemo(()=>{var hr;if(Pt===!1)return Pt;const so=typeof Pt=="object"?Pt:{},co=se()(Kn,(hr=so.rootClassName)!==null&&hr!==void 0?hr:"");return Object.assign(Object.assign({},so),{transitionName:(0,ea.m)(Mn,"zoom",so.transitionName),maskTransitionName:(0,ea.m)(Mn,"fade",so.maskTransitionName),rootClassName:co})},[Pt]);return Fn(be.createElement(Ro.PreviewGroup,Object.assign({preview:gr,previewPrefixCls:_n,icons:gn},Bt)))},Sr=function(ut,it){var Pt={};for(var Bt in ut)Object.prototype.hasOwnProperty.call(ut,Bt)&&it.indexOf(Bt)<0&&(Pt[Bt]=ut[Bt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,Bt=Object.getOwnPropertySymbols(ut);Gt{const{prefixCls:it,preview:Pt,className:Bt,rootClassName:Gt,style:sn}=ut,_n=Sr(ut,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Mn,locale:Fn=ta.Z,getPopupContainer:Kn,image:gr}=be.useContext(Po.E_),hr=Mn("image",it),so=Mn(),co=Fn.Image||ta.Z.Image,[qr,po]=Tn(hr),Mo=se()(Gt,po),Io=se()(Bt,po,gr==null?void 0:gr.className),Hr=be.useMemo(()=>{if(Pt===!1)return Pt;const fo=typeof Pt=="object"?Pt:{},{getContainer:Wo}=fo,sa=Sr(fo,["getContainer"]);return Object.assign(Object.assign({mask:be.createElement("div",{className:`${hr}-mask-info`},be.createElement(he.Z,null),co==null?void 0:co.preview),icons:gn},sa),{getContainer:Wo||Kn,transitionName:(0,ea.m)(so,"zoom",fo.transitionName),maskTransitionName:(0,ea.m)(so,"fade",fo.maskTransitionName)})},[Pt,co]),Uo=Object.assign(Object.assign({},gr==null?void 0:gr.style),sn);return qr(be.createElement(Ro,Object.assign({prefixCls:hr,preview:Hr,rootClassName:Mo,className:Io,style:Uo},_n)))};Rr.PreviewGroup=Jn;var ro=Rr,Or=()=>{const[ut,it]=(0,be.useState)(""),[Pt,Bt]=(0,be.useState)(0);let[Gt,sn]=(0,be.useState)(),[_n,Mn]=(0,be.useState)();const[Fn,Kn]=(0,be.useState)(!1),gr=(0,be.useRef)("");(0,be.useEffect)(()=>E.Z.subscribe("preview-image",Wo=>{it(Wo),console.log(Hr.current),document.body.style.overflow="hidden"}),[]),(0,be.useEffect)(()=>(document.addEventListener("keydown",hr),()=>{document.removeEventListener("keydown",hr)}),[]),(0,be.useEffect)(()=>{gr.current=ut},[ut]);function hr(fo){fo.keyCode==27&&gr.current&&so()}function so(){document.body.style.overflow="auto",sn(void 0),Mn(void 0),Bt(0),it("")}function co(){Bt(Pt+90)}function qr(){Gt=Hr.current.width*1.1,_n=Hr.current.height*1.1,Mn(_n),sn(Gt)}function po(){Gt=Hr.current.width/1.1,_n=Hr.current.height/1.1,Mn(_n),sn(Gt)}const Mo=(0,be.useRef)(),Io=(0,be.useRef)(),Hr=(0,be.useRef)(),Uo=fo=>{(fo.nativeEvent.target===Mo.current||fo.nativeEvent.target===Io.current)&&so()};return be.createElement(be.Fragment,null,ut?be.createElement("div",null,be.createElement("div",{className:"preview-wrp-group",ref:Io},be.createElement(ro,{className:"image-preview",src:ut,style:{display:"none"},preview:{visible:!0,src:ut,movable:!1,onVisibleChange:fo=>{it("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57444:function(xt,ft,pe){"use strict";pe.d(ft,{h:function(){return ue}});var be=pe(67294),xe=pe(42563),E=pe(22150),he=pe(71577),fe=pe(4631),se=pe.n(fe),re=pe(71749),ie=pe(30483),le=Object.defineProperty,ce=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,a=(de,ge,ve)=>ge in de?le(de,ge,{enumerable:!0,configurable:!0,writable:!0,value:ve}):de[ge]=ve,y=(de,ge)=>{for(var ve in ge||(ge={}))ne.call(ge,ve)&&a(de,ve,ge[ve]);if(oe)for(var ve of oe(ge))z.call(ge,ve)&&a(de,ve,ge[ve]);return de},x=(de,ge)=>ce(de,ae(ge));const b=xe.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},te={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"]};ft.Z=({callback:de,onCancel:ge})=>{const[ve,me]=(0,be.useState)("python");function Se(Pe){me(te[Pe][1])}function ye(Pe){de(Pe)}return be.createElement(E.default,x(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ye,style:{width:500}}),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},be.createElement(xe.default,{getPopupContainer:Pe=>Pe.parentNode,onChange:Se},Object.keys(te).map(Pe=>be.createElement(b,{key:Pe,value:Pe},te[Pe][0])))),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},be.createElement(ue,{mode:ve})),be.createElement("div",{className:"flex-container flex-end"},be.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(he.ZP,{type:"ghost",onClick:ge},"\u53D6\u6D88")))};function ue({value:de,onChange:ge,mode:ve,options:me={}}){const Se=(0,be.useRef)(),[ye,Pe]=(0,be.useState)();return(0,be.useEffect)(()=>{if(ye){let we=function(Te){const Ee=Te.getValue();ge&&ge(Ee)};return ye.on("change",we),()=>{ye.off("change",we)}}},[ye,ge]),(0,be.useEffect)(()=>{ye&&ye.setOption("mode",ve)},[ye,ve]),(0,be.useEffect)(()=>{ye&&(de!==ye.getValue()||de==="")&&setTimeout(()=>{ye.setValue(de||"")},300)},[ye,de]),(0,be.useEffect)(()=>{if(Se.current&&!ye){const we=se().fromTextArea(Se.current,y({mode:ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},me));Pe(we)}},[Se.current,ye]),be.createElement("div",{className:"my-codemirror-container"},be.createElement("textarea",{ref:Se}))}},35567:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return cr}});var be=pe(67294),xe=pe(4631),E=pe.n(xe),he=pe(91033),fe=pe(71749),se=pe(57341),re=pe(82801),ie=pe(88386),le=pe(49047),ce=pe(80785),ae=pe(85725),oe=({value:Mt="",className:jt,showTextOnly:Tt,showLines:wn,style:zn={}})=>{const $n=(0,be.useMemo)(()=>"",[Mt]);return be.createElement(be.Fragment,null,be.createElement("div",{dangerouslySetInnerHTML:{__html:$n}}))},ne=pe(67294),z=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(Mt,jt,Tt)=>jt in Mt?z(Mt,jt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):Mt[jt]=Tt,ue=(Mt,jt)=>{for(var Tt in jt||(jt={}))b.call(jt,Tt)&&te(Mt,Tt,jt[Tt]);if(x)for(var Tt of x(jt))ee.call(jt,Tt)&&te(Mt,Tt,jt[Tt]);return Mt},de=(Mt,jt)=>a(Mt,y(jt));let ge=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function ve({onActionCallback:Mt,title:jt,icon:Tt,actionName:wn,className:zn="",children:$n}){function _r(){Mt(wn)}return ne.createElement("a",{title:jt,className:zn,onClick:_r},ne.createElement("i",{className:`${Tt}`}),$n)}var me=({watch:Mt,showNullButton:jt,showNullProgramButton:Tt,onActionCallback:wn,fullScreen:zn,insertTemp:$n,hidetoolBar:_r,extraUse:mr})=>{const Lr=[...ge,{title:`${Mt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Mt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!_r&&Lr.map((ao,vo)=>ne.createElement("li",{key:vo},ao.actionName?ne.createElement(ve,de(ue({},ao),{onActionCallback:wn})):ne.createElement("span",{className:"v-line"}))),jt?ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:wn},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Tt?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:wn},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:wn},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,$n&&ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${$n}`,onActionCallback:wn},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),mr&&ne.createElement("li",null,mr),ne.createElement("li",{className:"btn-full-screen"},ne.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:wn})))},Se=pe(76621),ye=pe(22150),Pe=pe(69677),we=pe(71577),Te=Object.defineProperty,Ee=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Ue=(Mt,jt,Tt)=>jt in Mt?Te(Mt,jt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):Mt[jt]=Tt,je=(Mt,jt)=>{for(var Tt in jt||(jt={}))Oe.call(jt,Tt)&&Ue(Mt,Tt,jt[Tt]);if(Ce)for(var Tt of Ce(jt))Ie.call(jt,Tt)&&Ue(Mt,Tt,jt[Tt]);return Mt},nt=(Mt,jt)=>Ee(Mt,_e(jt));const Je={labelCol:{span:4},wrapperCol:{span:20}};var Qe=({callback:Mt,onCancel:jt})=>{function Tt(wn){Mt(wn)}return be.createElement(ye.default,nt(je({},Je),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Tt,style:{width:500}}),be.createElement(ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},be.createElement(Pe.default,null)),be.createElement(ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},be.createElement(Pe.default,null)),be.createElement("div",{className:"flex-container flex-end"},be.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(we.ZP,{type:"ghost",onClick:jt},"\u53D6\u6D88")))},Xe=pe(57444),ze=pe(70859),ke=pe(14446),Be=pe(71230),qe=pe(63205),Ye=pe(67294),gt=({callback:Mt,onCancel:jt})=>{const Tt=document.createElement("canvas"),wn=Tt.getContext("2d");Tt.width=1e3,Tt.height=800,wn.fillStyle="#ffffff",wn.fillRect(0,0,Tt.width,Tt.height);const zn=Tt.toDataURL("image/png");return Ye.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ye.createElement(Be.Z,{style:{height:"100vh"}},Ye.createElement(qe.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:zn,visible:!0,title:String(Date.now())},onOk:$n=>{Mt({src:$n.url})},onClose:jt})))},$e=pe(23495);function We(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(We,go.CommandHandler),We.prototype.canAlignSelection=function(){var Mt=this.diagram;return!(Mt===null||Mt.isReadOnly||Mt.isModelReadOnly||Mt.selection.count<2)},We.prototype.alignLeft=function(){var Mt=this.diagram;Mt.startTransaction("aligning left");var jt=1/0;Mt.selection.each(function(Tt){Tt instanceof go.Link||(jt=Math.min(Tt.position.x,jt))}),Mt.selection.each(function(Tt){Tt instanceof go.Link||Tt.move(new go.Point(jt,Tt.position.y))}),Mt.commitTransaction("aligning left")},We.prototype.alignRight=function(){var Mt=this.diagram;Mt.startTransaction("aligning right");var jt=-1/0;Mt.selection.each(function(Tt){if(!(Tt instanceof go.Link)){var wn=Tt.actualBounds.x+Tt.actualBounds.width;jt=Math.max(wn,jt)}}),Mt.selection.each(function(Tt){Tt instanceof go.Link||Tt.move(new go.Point(jt-Tt.actualBounds.width,Tt.position.y))}),Mt.commitTransaction("aligning right")},We.prototype.alignTop=function(){var Mt=this.diagram;Mt.startTransaction("alignTop");var jt=1/0;Mt.selection.each(function(Tt){Tt instanceof go.Link||(jt=Math.min(Tt.position.y,jt))}),Mt.selection.each(function(Tt){Tt instanceof go.Link||Tt.move(new go.Point(Tt.position.x,jt))}),Mt.commitTransaction("alignTop")},We.prototype.alignBottom=function(){var Mt=this.diagram;Mt.startTransaction("aligning bottom");var jt=-1/0;Mt.selection.each(function(Tt){if(!(Tt instanceof go.Link)){var wn=Tt.actualBounds.y+Tt.actualBounds.height;jt=Math.max(wn,jt)}}),Mt.selection.each(function(Tt){Tt instanceof go.Link||Tt.move(new go.Point(Tt.actualBounds.x,jt-Tt.actualBounds.height))}),Mt.commitTransaction("aligning bottom")},We.prototype.alignCenterX=function(){var Mt=this.diagram,jt=Mt.selection.first();if(jt){Mt.startTransaction("aligning Center X");var Tt=jt.actualBounds.x+jt.actualBounds.width/2;Mt.selection.each(function(wn){wn instanceof go.Link||wn.move(new go.Point(Tt-wn.actualBounds.width/2,wn.actualBounds.y))}),Mt.commitTransaction("aligning Center X")}},We.prototype.alignCenterY=function(){var Mt=this.diagram,jt=Mt.selection.first();if(jt){Mt.startTransaction("aligning Center Y");var Tt=jt.actualBounds.y+jt.actualBounds.height/2;Mt.selection.each(function(wn){wn instanceof go.Link||wn.move(new go.Point(wn.actualBounds.x,Tt-wn.actualBounds.height/2))}),Mt.commitTransaction("aligning Center Y")}},We.prototype.alignColumn=function(Mt){var jt=this.diagram;jt.startTransaction("align Column"),Mt===void 0&&(Mt=0),Mt=parseFloat(Mt);var Tt=new Array;jt.selection.each(function(mr){mr instanceof go.Link||Tt.push(mr)});for(var wn=0;wn0){for(var mr=$n.elt(_r-1);mr!==null&&mr.isTreeExpanded&&!mr.isTreeLeaf;){var Lr=this._sortTreeChildrenByY(mr);mr=Lr.last()}mr!==null&&Mt.select(mr)}else Mt.select(zn)}}else if(Tt.key==="Down")if(jt.isTreeExpanded&&!jt.isTreeLeaf){var wn=this._sortTreeChildrenByY(jt).first();wn!==null&&Mt.select(wn)}else for(;jt!==null;){var zn=jt.findTreeParentNode();if(zn===null)break;var $n=this._sortTreeChildrenByY(zn),_r=$n.indexOf(jt);if(_r<$n.length-1){Mt.select($n.elt(_r+1));break}else jt=zn}var ao=Mt.selection.first();ao!==null&&Mt.scrollToRect(ao.actualBounds)}},We.prototype._sortTreeChildrenByY=function(Mt){var jt=new go.List().addAll(Mt.findTreeChildrenNodes());return jt.sort(function(Tt,wn){var zn=Tt.location,$n=wn.location;return zn.y<$n.y?-1:zn.y>$n.y?1:zn.x<$n.x?-1:zn.x>$n.x?1:0}),jt},We.prototype.copyToClipboard=function(Mt){go.CommandHandler.prototype.copyToClipboard.call(this,Mt),this._lastPasteOffset.set(this.pasteOffset)},We.prototype.pasteFromClipboard=function(){var Mt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Mt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Mt},Object.defineProperty(We.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Mt){if(Mt!=="move"&&Mt!=="select"&&Mt!=="scroll"&&Mt!=="tree"&&Mt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Mt);this._arrowKeyBehavior=Mt}}),Object.defineProperty(We.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Mt){if(!(Mt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Mt);this._pasteOffset.set(Mt)}});var Re=We,tt=pe(18023),Me=pe(15746),He=pe(33170),Ve={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ze=pe(67294),Ke=(Mt,jt,Tt)=>new Promise((wn,zn)=>{var $n=Lr=>{try{mr(Tt.next(Lr))}catch(ao){zn(ao)}},_r=Lr=>{try{mr(Tt.throw(Lr))}catch(ao){zn(ao)}},mr=Lr=>Lr.done?wn(Lr.value):Promise.resolve(Lr.value).then($n,_r);mr((Tt=Tt.apply(Mt,jt)).next())});function Ae({onCancel:Mt,callback:jt}){let Tt=(0,be.useRef)(),wn=(0,be.useRef)(),zn=(0,be.useRef)(),$n=(0,be.useRef)(!1);const _r=(0,be.useRef)(!1),[mr,Lr]=(0,be.useState)(0);function ao(){const Cn=$e.bx.make,Kr={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"};Tt.current=new $e.S0(wn.current,{padding:20,grid:Cn($e.s_,"Grid",Cn($e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Cn($e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Dn=>{var ar=Dn.diagram.commandHandler.addTopLevelParts(Dn.diagram.selection,!0);ar||Dn.diagram.currentTool.doCancel()},commandHandler:Cn(Re),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Dn=>{var ar=Dn.subject;ar.location=ar.location.copy().snapToGridPoint(Dn.diagram.grid.gridOrigin,Dn.diagram.grid.gridCellSize),setTimeout(()=>{Dn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Dn=>{var ar=Dn.subject;setTimeout(()=>{Dn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Dn=>{var ar=Dn.parameter.part;ar.invalidateConnectedLinks();var Ir=Dn.subject;Dn.diagram.toolManager.linkingTool.isForwards?Ir.toNode.invalidateConnectedLinks():Ir.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Tt.current.nodeTemplate=Cn($e.NB,"Auto",{locationSpot:$e.z6.Center,locationObjectName:"SHAPE",desiredSize:new $e.$u(120,60),minSize:new $e.$u(40,40),resizable:!0,resizeCellSize:new $e.$u(10,10),rotatable:!0},new $e.KX("location","loc",$e.E9.parse).makeTwoWay($e.E9.stringify),new $e.KX("desiredSize","size",$e.$u.parse).makeTwoWay($e.$u.stringify),Cn($e.bn,{name:"SHAPE",fill:Kr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:$e.z6.AllSides,toSpot:$e.z6.AllSides},new $e.KX("figure"),new $e.KX("fill"),new $e.KX("stroke","borderColor"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),Cn($e.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Cn($e.al,{margin:1,textAlign:"center",overflow:$e.al.OverflowEllipsis,editable:!0},new $e.KX("text").makeTwoWay(),new $e.KX("stroke","color"))),Tt.current.nodeTemplate.toolTip=Cn("ToolTip",Cn($e.s_,"Vertical",{maxSize:new $e.$u(200,NaN)},Cn($e.al,{font:"bold 10pt sans-serif",textAlign:"center"},new $e.KX("text")),Cn($e.al,{font:"10pt sans-serif",textAlign:"center"},new $e.KX("text","details"))));function At(Dn,ar){var Ir=(Bn,wo)=>{Bn.handled=!0,Bn.diagram.model.commit(lo=>{var ia=wo.part.adornedPart,ca=new $e.E9().setRectSpot(ia.actualBounds,Dn);ca.subtract(ia.location),ca.scale(2,2),ca.x+=Math.sign(ca.x)*130,ca.y+=Math.sign(ca.y)*130,ca.add(ia.location),ca.snapToGridPoint(Bn.diagram.grid.gridOrigin,Bn.diagram.grid.gridCellSize);var ua=lo.copyNodeData(ia.data);lo.setGroupKeyForNodeData(ua,lo.getGroupKeyForNodeData(ia.data)),lo.addNodeData(ua);var _t={from:ia.key,to:lo.getKeyForNodeData(ua)};lo.addLinkData(_t);var Et=Bn.diagram.findNodeForData(ua);Et.location=ca,Bn.diagram.select(Et),setTimeout(()=>{Bn.diagram.commandHandler.editTextBlock()},20)})};return Cn($e.bn,{figure:ar,alignment:Dn,alignmentFocus:Dn.opposite(),width:Dn.equals($e.z6.Top)||Dn.equals($e.z6.Bottom)?25:18,height:Dn.equals($e.z6.Top)||Dn.equals($e.z6.Bottom)?18:25,fill:"orange",stroke:Kr.white,strokeWidth:4,mouseEnter:(Bn,wo)=>wo.fill="dodgerblue",mouseLeave:(Bn,wo)=>wo.fill="orange",isActionable:!0,click:Ir,contextClick:Ir})}function an(Dn){return Cn($e.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:(ar,Ir)=>Ir.fill="dodgerblue",mouseLeave:(ar,Ir)=>Ir.fill="orange",click:(ar,Ir)=>{ar.diagram.commandHandler.showContextMenu(Ir.part.adornedPart)}},Dn||{})}Tt.current.nodeTemplate.selectionAdornmentTemplate=Cn($e.uz,"Spot",Cn($e.Vm,{padding:10}),At($e.z6.Top,"TriangleUp"),At($e.z6.Left,"TriangleLeft"),At($e.z6.Right,"TriangleRight"),At($e.z6.Bottom,"TriangleDown"),an({alignment:new $e.z6(.75,0)}));function qt(Dn,ar){return(Ir,Bn)=>{Ir.handled=!0,Ir.diagram.model.commit(wo=>{wo.set(Bn.part.adornedPart.data,Dn,ar)})}}function on(Dn,ar){return ar||(ar="color"),Cn($e.bn,{width:16,height:16,stroke:"lightgray",fill:Dn,margin:1,background:"transparent",mouseEnter:(Ir,Bn)=>Bn.stroke="dodgerblue",mouseLeave:(Ir,Bn)=>Bn.stroke="lightgray",click:qt(ar,Dn),contextClick:qt(ar,Dn)})}function In(){return[Cn("ContextMenuButton",Cn($e.s_,"Horizontal",on(Kr.white,"fill"),on(Kr.beige,"fill"),on(Kr.extralightblue,"fill"),on(Kr.extralightred,"fill"))),Cn("ContextMenuButton",Cn($e.s_,"Horizontal",on(Kr.lightgray,"fill"),on(Kr.lightgreen,"fill"),on(Kr.lightblue,"fill"),on(Kr.lightred,"fill")))]}function tn(){return[Cn("ContextMenuButton",Cn($e.s_,"Horizontal",on(Kr.black),on(Kr.green),on(Kr.blue),on(Kr.red))),Cn("ContextMenuButton",Cn($e.s_,"Horizontal",on(Kr.white),on(Kr.magenta),on(Kr.purple),on(Kr.orange)))]}function An(Dn,ar){return ar||(ar="thickness"),Cn($e.bn,"LineH",{width:16,height:16,strokeWidth:Dn,margin:1,background:"transparent",mouseEnter:(Ir,Bn)=>Bn.background="dodgerblue",mouseLeave:(Ir,Bn)=>Bn.background="transparent",click:qt(ar,Dn),contextClick:qt(ar,Dn)})}function cn(Dn,ar){return ar||(ar="dash"),Cn($e.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Dn,margin:1,background:"transparent",mouseEnter:(Ir,Bn)=>Bn.background="dodgerblue",mouseLeave:(Ir,Bn)=>Bn.background="transparent",click:qt(ar,Dn),contextClick:qt(ar,Dn)})}function xr(){return[Cn("ContextMenuButton",Cn($e.s_,"Horizontal",An(1),An(2),An(3),An(4))),Cn("ContextMenuButton",Cn($e.s_,"Horizontal",cn(null),cn([2,4]),cn([4,4])))]}function ur(Dn,ar){return ar||(ar="figure"),Cn($e.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Dn,margin:1,background:"transparent",mouseEnter:(Ir,Bn)=>Bn.fill="dodgerblue",mouseLeave:(Ir,Bn)=>Bn.fill="lightgray",click:qt(ar,Dn),contextClick:qt(ar,Dn)})}Tt.current.nodeTemplate.contextMenu=Cn("ContextMenu",Cn("ContextMenuButton",Cn($e.s_,"Horizontal",ur("Rectangle"),ur("RoundedRectangle"),ur("Ellipse"),ur("Diamond"))),Cn("ContextMenuButton",Cn($e.s_,"Horizontal",ur("Parallelogram2"),ur("ManualOperation"),ur("Procedure"),ur("Cylinder1"))),Cn("ContextMenuButton",Cn($e.s_,"Horizontal",ur("Terminator"),ur("CreateRequest"),ur("Document"),ur("TriangleDown"))),In(),tn(),xr()),Tt.current.groupTemplate=Cn($e.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:$e.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Dn,ar)=>{var Ir=ar.addMembers(ar.diagram.selection,!0);Ir||ar.diagram.currentTool.doCancel()},avoidable:!1},new $e.KX("location","loc",$e.E9.parse).makeTwoWay($e.E9.stringify),Cn($e.s_,"Auto",{name:"BODY"},Cn($e.bn,{parameter1:10,fill:Kr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:$e.z6.AllSides,toSpot:$e.z6.AllSides},new $e.KX("fill"),new $e.KX("stroke","color"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),Cn($e.Vm,{background:"transparent",margin:20})),Cn($e.al,{alignment:$e.z6.Top,alignmentFocus:$e.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new $e.KX("text"),new $e.KX("stroke","color"))),Tt.current.groupTemplate.selectionAdornmentTemplate=Cn($e.uz,"Spot",Cn($e.s_,"Auto",Cn($e.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Cn($e.Vm,{margin:1.5})),an({alignment:$e.z6.TopRight,alignmentFocus:$e.z6.BottomRight})),Tt.current.groupTemplate.contextMenu=Cn("ContextMenu",In(),tn(),xr()),Tt.current.linkTemplate=Cn($e.rU,{layerName:"Foreground",routing:$e.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new $e.KX("fromSpot","fromSpot",$e.z6.parse),new $e.KX("toSpot","toSpot",$e.z6.parse),new $e.KX("fromShortLength","dir",Dn=>Dn>=1?10:0),new $e.KX("toShortLength","dir",Dn=>Dn>=1?10:0),new $e.KX("points").makeTwoWay(),Cn($e.bn,{strokeWidth:2},new $e.KX("stroke","color"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),Cn($e.bn,{segmentIndex:0,segmentOffset:new $e.E9(15,0),segmentOrientation:$e.rU.OrientAlong,alignmentFocus:$e.z6.Right,figure:"circle",width:10,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",Dn=>Dn===1)),Cn($e.bn,{segmentIndex:-1,segmentOffset:new $e.E9(-10,6),segmentOrientation:$e.rU.OrientPlus90,alignmentFocus:$e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",Dn=>Dn>=1),new $e.KX("width","thickness",Dn=>7+3*Dn),new $e.KX("height","thickness",Dn=>7+3*Dn),new $e.KX("segmentOffset","thickness",Dn=>new $e.E9(-15,4+1.5*Dn))),Cn($e.bn,{segmentIndex:0,segmentOffset:new $e.E9(15,-6),segmentOrientation:$e.rU.OrientMinus90,alignmentFocus:$e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",Dn=>Dn===2),new $e.KX("width","thickness",Dn=>7+3*Dn),new $e.KX("height","thickness",Dn=>7+3*Dn),new $e.KX("segmentOffset","thickness",Dn=>new $e.E9(-15,4+1.5*Dn))),Cn($e.al,{alignmentFocus:new $e.z6(0,1,-4,0),editable:!0},new $e.KX("text").makeTwoWay(),new $e.KX("stroke","color"))),Tt.current.linkTemplate.selectionAdornmentTemplate=Cn($e.uz,Cn($e.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Ur(2)},new $e.KX("pathPattern","thickness",Ur)),an({alignmentFocus:new $e.z6(0,0,-6,-4)}));function Ur(Dn){return Cn($e.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Dn+4).toString()+" H3"})}function to(Dn){var ar="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Dn===0?ar="M0 0 M16 16 M0 8 L16 8":Dn===2&&(ar="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Cn($e.bn,{geometryString:ar,margin:2,background:"transparent",mouseEnter:(Ir,Bn)=>Bn.background="dodgerblue",mouseLeave:(Ir,Bn)=>Bn.background="transparent",click:qt("dir",Dn),contextClick:qt("dir",Dn)})}function xo(Dn){var ar=(Ir,Bn)=>{Ir.handled=!0,Ir.diagram.model.commit(wo=>{var lo=Bn.part.adornedPart;wo.set(lo.data,Dn?"toSpot":"fromSpot",$e.z6.stringify($e.z6.AllSides)),(Dn?lo.toNode:lo.fromNode).invalidateConnectedLinks()})};return Cn($e.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ir,Bn)=>Bn.background="dodgerblue",mouseLeave:(Ir,Bn)=>Bn.background="transparent",click:ar,contextClick:ar})}function dn(Dn,ar){var Ir=0,Bn=$e.z6.RightSide;Dn.equals($e.z6.Top)?(Ir=270,Bn=$e.z6.TopSide):Dn.equals($e.z6.Left)?(Ir=180,Bn=$e.z6.LeftSide):Dn.equals($e.z6.Bottom)&&(Ir=90,Bn=$e.z6.BottomSide),ar||(Ir-=180);var wo=(lo,ia)=>{lo.handled=!0,lo.diagram.model.commit(ca=>{var ua=ia.part.adornedPart;ca.set(ua.data,ar?"toSpot":"fromSpot",$e.z6.stringify(Bn)),(ar?ua.toNode:ua.fromNode).invalidateConnectedLinks()})};return Cn($e.bn,{alignment:Dn,alignmentFocus:Dn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ir,background:"transparent",mouseEnter:(lo,ia)=>ia.background="dodgerblue",mouseLeave:(lo,ia)=>ia.background="transparent",click:wo,contextClick:wo})}Tt.current.linkTemplate.contextMenu=Cn("ContextMenu",tn(),xr(),Cn("ContextMenuButton",Cn($e.s_,"Horizontal",to(0),to(1),to(2))),Cn("ContextMenuButton",Cn($e.s_,"Horizontal",Cn($e.s_,"Spot",xo(!1),dn($e.z6.Top,!1),dn($e.z6.Left,!1),dn($e.z6.Right,!1),dn($e.z6.Bottom,!1)),Cn($e.s_,"Spot",{margin:new $e.Zt(0,0,0,2)},xo(!0),dn($e.z6.Top,!0),dn($e.z6.Left,!0),dn($e.z6.Right,!0),dn($e.z6.Bottom,!0)))));const Ro=`{ "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 ea=["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 Po(Dn){return console.log("shapeName:",Dn),ea.indexOf(Dn)>=0}var ta=new $e.YI(zn.current,{maxSelectionCount:1,linkTemplate:Cn($e.rU,{locationSpot:$e.z6.Center,selectionAdornmentTemplate:Cn($e.uz,"Link",{locationSpot:$e.z6.Center},Cn($e.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Cn($e.bn,{toArrow:"Standard",stroke:null}))},{routing:$e.rU.AvoidsNodes,curve:$e.rU.JumpOver,corner:5,toShortLength:4},new $e.KX("points"),Cn($e.bn,{isPanelMain:!0,strokeWidth:2}),Cn($e.bn,{toArrow:"Standard",stroke:null})),model:new $e.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...$e.bn.getFigureGenerators().toArray().map(Dn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Dn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Tt.current.addDiagramListener("TextEdited",function(Dn){var ar;const Ir=Dn.subject.part;var Bn=(ar=document.activeElement)==null?void 0:ar.value;typeof Bn=="string"&&Bn.trim()===""&&Tt.current.model.commit(function(wo){wo.set(Ir.data,"text","\u672A\u547D\u540D"),Tt.current.commandHandler.stopCommand()},"increment")}),ta.nodeTemplate=Cn($e.NB,"Auto",{locationSpot:$e.z6.Center},new $e.KX("location","location",$e.E9.parse).makeTwoWay($e.E9.stringify),Cn($e.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 $e.KX("stroke").makeTwoWay(),new $e.KX("fill").makeTwoWay(),new $e.KX("figure")),Cn($e.al,{margin:new $e.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new $e.$u(16,16),maxSize:new $e.$u(10,NaN),textAlign:"center",editable:!0},new $e.KX("key").makeTwoWay())),setTimeout(()=>{Tt.current.grid=Cn($e.s_,"Grid",Cn($e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Cn($e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Tt.current.grid.visible=!0,Tt.current.grid.gridCellStroke="darkgray",Tt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Tt.current,Tt.current}const vo=()=>Ke(this,null,function*(){var Cn=Tt.current.makeImage();const Kr=yield(0,He.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Cn.src}});jt({src:Kr.url})});return(0,be.useEffect)(()=>(setTimeout(()=>{ao()},500),Lr(mr+1),()=>{Tt.current=null}),[]),Ze.createElement("div",{ref:_r,className:$n.current?`${Ve.maxH60} body-overflow-initial`:"body-overflow-initial"},Ze.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!mr,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ze.createElement(Be.Z,null,Ze.createElement(Me.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ze.createElement(Me.Z,{onClick:()=>{var Cn,Kr,At=Tt.current.selection.first();if($n.current=!$n.current,document.activeElement&&At){let an=(Kr=(Cn=document.activeElement)==null?void 0:Cn.value)==null?void 0:Kr.trim();typeof an=="string"&&Tt.current.model.commit(function(qt){qt.set(At.data,"text",an||"\u672A\u547D\u540D"),Tt.current.commandHandler.stopCommand()},"increment")}Lr(mr+1)}},Ze.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Mt},Ze.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ve.flowChartWrp},Ze.createElement("div",{style:{display:"flex",height:"100%"}},Ze.createElement("div",{style:{width:"300px",height:"100%"}},Ze.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ze.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ve.myPaletteDiv,ref:zn})),Ze.createElement("div",{style:{flex:1,position:"relative"}},Ze.createElement("div",{ref:wn,style:{height:"80vh"}}))),Ze.createElement("div",{className:"tr"},Ze.createElement(we.ZP,{size:"large",onClick:vo,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Le=Ae,Ne=pe(78045),Ge=pe(31795);const ot=Ne.ZP.Group,St={margin:"0 8px"};var wt=({callback:Mt,onCancel:jt})=>{function Tt(wn){Mt(wn)}return be.createElement(ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Tt},be.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},be.createElement("span",{style:St},"\u5355\u5143\u683C\u6570\uFF1A"),be.createElement("span",{style:St},"\u884C\u6570"),be.createElement(ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},be.createElement(Ge.Z,null)),be.createElement("span",{style:St},"\u5217\u6570"),be.createElement(ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},be.createElement(Ge.Z,null))),be.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},be.createElement("span",{style:St},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),be.createElement(ye.default.Item,{name:"align"},be.createElement(ot,null,be.createElement(Ne.ZP,{value:"default"},be.createElement("i",{className:"fa fa-align-justify"})),be.createElement(Ne.ZP,{value:"left"},be.createElement("i",{className:"fa fa-align-left"})),be.createElement(Ne.ZP,{value:"center"},be.createElement("i",{className:"fa fa-align-center"})),be.createElement(Ne.ZP,{value:"right"},be.createElement("i",{className:"fa fa-align-right"}))))),be.createElement("div",{className:"flex-container flex-end"},be.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(we.ZP,{type:"ghost",onClick:jt},"\u53D6\u6D88")))},rt=pe(47897),bt=pe(61016),Ft=pe.n(bt),st=(0,be.forwardRef)(({use3d:Mt,width:jt,height:Tt,callback:wn,showSaveButton:zn},$n)=>{const _r=(0,be.useRef)(),mr=(0,be.useRef)(),[Lr,ao]=(0,be.useState)(!1),vo=(0,be.useRef)({id:_r,appName:"graphing",width:jt||1e3,height:Tt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,be.useEffect)(()=>{mr.current=new(Ft())(vo.current,!0),window.onload=function(){mr.current.inject("applet_container")}},[]);const Cn=()=>{var Kr=window.ggbApplet.getPNGBase64(1,!0,72);return wn&&wn(Kr),Kr};return(0,be.useEffect)(()=>{vo.current.appName=Lr?"3D":"graphing",mr.current.inject("applet_container")},[Lr]),(0,be.useEffect)(()=>{ao(Mt)},[Mt]),(0,be.useImperativeHandle)($n,()=>({getImgData:Cn})),be.createElement(be.Fragment,null,be.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:_r}),be.createElement(Be.Z,{align:"middle"},be.createElement(Me.Z,{flex:1},be.createElement(rt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Lr,onChange:Kr=>ao(Kr)})),be.createElement(Me.Z,null,be.createElement(we.ZP,{size:"large",onClick:Cn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Nt=pe(36527),ct=pe(25934),pt=pe(2453);const Ct="link",Rt="upload-image",zt="add-flowchart",rn="draw-image",kn="add-flowchart",jn="code-block",Hn="add-table",Pr="------------",fn={default:Pr,left:`:${Pr}`,center:`:${Pr}:`,right:`${Pr}:`};var Er=pe(99914),oo=(Mt,jt,Tt)=>new Promise((wn,zn)=>{var $n=Lr=>{try{mr(Tt.next(Lr))}catch(ao){zn(ao)}},_r=Lr=>{try{mr(Tt.throw(Lr))}catch(ao){zn(ao)}},mr=Lr=>Lr.done?wn(Lr.value):Promise.resolve(Lr.value).then($n,_r);mr((Tt=Tt.apply(Mt,jt)).next())});function Lo(){}let zo=0;const Eo=1e4,mo="\u2581",Sn="@\u2581\u2581@",ln="@\u2581@",mn=` **\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`,Ln=["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 Wn(Mt){return/^\d+$/.test(Mt)?`${Mt}px`:Mt}const er=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Wr={[er+"-B"]:"bold",[er+"-I"]:"italic"},Br={[Ct]:"\u6DFB\u52A0\u94FE\u63A5",[jn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Rt]:"\u6DFB\u52A0\u56FE\u7247",[rn]:"\u6DFB\u52A0\u753B\u56FE",[zt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Hn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var cr=({defaultValue:Mt="",onChange:jt,width:Tt="100%",height:wn=400,miniToolbar:zn=!1,isFocus:$n=!1,watch:_r,insertTemp:mr,mode:Lr="markdown",id:ao="markdown-editor-id",showResizeBar:vo=!1,noStorage:Cn=!1,showNullButton:Kr=!1,showNullProgramButton:At=!1,hidetoolBar:an=!1,fullScreen:qt=!1,onBlur:on,onCMBeforeChange:In,onFullScreen:tn,className:An="",disablePaste:cn=!1,disabled:xr=!1,disabledFill:ur=!1,placeholder:Ur="",values:to="",extraUse:xo})=>{const[dn,Ro]=(0,be.useState)(null),[ea,Po]=(0,be.useState)(Mt),[ta,Dn]=(0,be.useState)(_r),[ar,Ir]=(0,be.useState)(qt),[Bn,wo]=(0,be.useState)(""),[lo,ia]=(0,be.useState)(0),[ca,ua]=(0,be.useState)(wn),[_t,Et]=(0,be.useState)(!1),Qt=(0,be.useRef)((0,ct.Z)()),un=(0,be.useRef)(!1),Pn=(0,be.useRef)(),[Yn,vr]=(0,be.useState)(0),[Nr,no]=(0,be.useState)(0),uo=(0,be.useRef)(),io=(0,be.useRef)(),Bo=(0,be.useRef)(),dr=(0,be.useRef)(),Ot=()=>oo(void 0,null,function*(){var Tn;const Vt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Qt.current}});(Tn=Vt==null?void 0:Vt.attachments)!=null&&Tn.length&&(console.log("cm:",dn,uo),Vt.attachments.map(gn=>{gn.content_type.indexOf("image")>-1?dn.replaceSelection(`![,](/api/attachments/${gn.id}?type=${gn.content_type})`):gn.content_type.indexOf("video")>-1?dn.replaceSelection(``):gn.content_type.indexOf("pdf")>-1?dn.replaceSelection(`${gn.name}`):dn.replaceSelection(`[${gn.name}](${ENV.API_SERVER}/api/attachments/${gn.id}?type=${gn.content_type})`)}))});(0,be.useEffect)(()=>{const Tn=window.scrollY||window.pageYOffset;Po(to),dn==null||dn.setValue(to),window.scrollTo(0,Tn)},[to]),(0,be.useEffect)(()=>{tn==null||tn(ar)},[ar]),(0,be.useEffect)(()=>{if(uo.current){let Tn=function(gn,On){var Jn;if(cn){On.preventDefault();return}const Sr=On.clipboardData;if(Sr){const Rr=Sr.types.toString(),ro=Sr.items;if(Rr==="Files"||Sr.types.indexOf("Files")>-1){if(On.preventDefault(),Lr=="stex")return;try{let Or=ro[1];((Jn=ro[0])==null?void 0:Jn.kind)==="file"&&(Or=ro[0]);const ut=Or.getAsFile(),it=ut.name.split(".").pop();(0,ze.I)(ut,Pt=>{var Bt,Gt,sn;Pt.id?((Bt=ut==null?void 0:ut.type)==null?void 0:Bt.indexOf("image"))>-1?Vt.replaceSelection(``):((Gt=ut==null?void 0:ut.type)==null?void 0:Gt.indexOf("video"))>-1?Vt.replaceSelection(``):((sn=ut==null?void 0:ut.type)==null?void 0:sn.indexOf("pdf"))>-1?Vt.replaceSelection(`${ut.name}`):Ln.includes(it)?Vt.replaceSelection(`${ut.name}`):Vt.replaceSelection(`[${ut.name}](/api/attachments/${Pt.id}?type=${Pt.content_type})`):(Pt==null?void 0:Pt.status)===401&&(pt.ZP.warning((Pt==null?void 0:Pt.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Or){pt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Vt=E().fromTextArea(uo.current,{mode:Lr,lineNumbers:!zn,lineWrapping:!0,value:Mt,autoCloseTags:!At,autoCloseBrackets:!0});return Vt.on("keyup",function(gn,On){On.keyCode===8&&(gn.getValue()==""?Vt.setOption("placeholder",Ur):Vt.setOption("placeholder",null))}),Vt.on("keydown",function(gn,On){if(On.keyCode===8){var Jn=Yt(gn);Jn&&On.preventDefault()}}),$n&&Vt.focus(),Vt.on("paste",Tn),Vt.on("dragleave",function(gn,On){io.current.classList.remove("mouse-hover-md")}),xr&&Vt.on("beforeChange",function(gn,On){(On.origin==="paste"||On.origin==="+input")&&On.cancel()}),Ro(Vt),()=>{Vt.off("paste",Tn)}}},[]);const Ut=(0,be.useCallback)(()=>{if(io.current)try{}catch(Tn){console.log(Tn,"---- to set md editor body height")}},[ca,io,ar]);(0,be.useEffect)(()=>{function Tn(){let Vt=new he.Z(gn=>{for(let On of gn)(On.target.offsetHeight>0||On.target.offsetWidth>0)&&(Ut(),dn.setSize("100%","100%"),dn.refresh())});return Vt.observe(uo.current.parentElement),Vt}if(dn){const Vt=Tn();return()=>{var gn,On;(gn=uo.current)!=null&&gn.parentElement&&Vt.unobserve((On=uo.current)==null?void 0:On.parentElement)}}},[dn,Ut]),(0,be.useEffect)(()=>{if(dn){let Tn=[];for(const[Vt,gn]of Object.entries(Wr)){let On={[Vt]:()=>{dt(gn)}};Tn.push(On),dn.addKeyMap(On)}return Pn.current=setInterval(()=>{un.current&&Ot()},4e3),()=>{clearInterval(Pn.current);for(let Vt of Tn)dn.removeKeyMap(Vt)}}},[dn]),(0,be.useEffect)(()=>{qt!==ar&&Ir(qt)},[qt]),(0,Er.Z)(()=>{if(!Cn&&lo>0){let Tn=new Date().getTime(),Vt=window.sessionStorage.getItem(ao);Tn>=lo+Eo&&(!Vt||Vt!==ea)&&(window.sessionStorage.setItem(ao,ea),Et(!0))}},Eo),(0,be.useEffect)(()=>{Dn(_r)},[dn,_r]),(0,be.useEffect)(()=>{dn&&$n&&dn.focus()},[dn,$n]),(0,be.useEffect)(()=>{if(ta&&dn){let Tn=function(gn){let On=gn.target;if(dr.current){let Jn=On.scrollTop/On.scrollHeight;dr.current.scrollTop=dr.current.scrollHeight*Jn}};const Vt=dn.getScrollerElement();return Vt.addEventListener("scroll",Tn),()=>{Vt.removeEventListener("scroll",Tn)}}},[dn,ta]),(0,be.useEffect)(()=>{if(dn&&In){let Tn=function(Vt,gn){In(Vt,gn)};return dn.on("beforeChange",Tn),()=>{dn.off("beforeChange",Tn)}}},[dn,In]),(0,be.useEffect)(()=>{if(dn&&on){let Tn=function(){on(dn.getValue())};return dn.on("blur",Tn),()=>{dn.off("blur",Tn)}}},[dn,on]);function Yt(Tn,Vt){var gn=Tn.getDoc(),On=gn.getCursor(),Jn=gn.getLine(On.line),Sr=Jn.charAt(On.ch-1),Rr=Jn.lastIndexOf("@\u2581@",On.ch),ro=Jn.lastIndexOf("@\u2581\u2581@",On.ch),Or=Rr>ro?Rr:ro,ut=Rr>ro?3:4;if(Sn.indexOf(Sr)===-1)return null;if(console.log("change1:",Vt,Tn,Jn,On,Or,Rr,ro,Sr),Or>=0&&On.ch-Or<5){var it=Or+ut;return gn.replaceRange("",{line:On.line,ch:Or},{line:On.line,ch:it}),{line:On.line,ch:it}}return null}(0,be.useEffect)(()=>{if(dn){let Tn=function(Vt,gn){const On=Vt.getValue();Po(On),ia(new Date().getTime()),Vt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),jt&&(At?jt(On,Vn(On)):jt(On))};return dn.on("change",Tn),()=>{dn.off("change",Tn)}}},[dn,jt]),(0,be.useEffect)(()=>{if(dn)if(Mt==null)dn.setValue(""),Po("");else{const Tn=window.scrollY||window.pageYOffset;Mt!==dn.getValue()&&(dn.setValue(Mt),Po(Mt),dn.setCursor(xr?1:dn.lineCount(),0),window.scrollTo(0,Tn))}},[dn,Mt]);const dt=(0,be.useCallback)(Tn=>{const Vt=dn.getCursor(),gn=dn.getSelection();let On=gn.split(` `);switch(Tn){case"bold":return dn.replaceSelection("**"+gn+"**"),gn===""&&dn.setCursor(Vt.line,Vt.ch+2),dn.focus();case"italic":return dn.replaceSelection("*"+gn+"*"),gn===""&&dn.setCursor(Vt.line,Vt.ch+1),dn.focus();case"code":return dn.replaceSelection("`"+gn+"`"),gn===""&&dn.setCursor(Vt.line,Vt.ch+1),dn.focus();case"inline-latex":return wo("inline-latex"),dn.focus();case"latex":return dn.replaceSelection("```latex\n"+gn+"\n```"),dn.setCursor(Vt.line+1,gn.length+1),dn.focus();case"line-break":return dn.replaceSelection(`
`),dn.focus();case"list-ul":return gn===""?dn.replaceSelection("- "+gn):dn.replaceSelection(On.map(Jn=>Jn===""?"":`- ${Jn}`).join(` `)),dn.focus();case"list-ol":return gn===""?dn.replaceSelection("1. "+gn):dn.replaceSelection(On.map((Jn,Sr)=>Jn===""?"":`${Sr+1}. ${Jn}`).join(` `)),dn.focus();case"add-null-ch":return gn===""&&dn.setCursor(Vt.line,Vt.ch),dn.replaceSelection(mo),dn.focus();case"add-signal":return gn===""&&dn.setCursor(Vt.line,Vt.ch),dn.replaceSelection(ln),dn.focus();case"add-multiple":return gn===""&&dn.setCursor(Vt.line,Vt.ch),dn.replaceSelection(Sn),dn.focus();case"inster-template-1":return gn===""&&dn.setCursor(Vt.line,Vt.ch),dn.replaceSelection(mn),dn.focus();case"eraser":return dn.setValue(""),dn.focus();case"trigger-watch":return Dn(!ta),dn.focus();case"trigger-full-screen":return Ir(!ar),dn.focus();case Ct:wo(Ct);return;case jn:wo(jn);return;case Rt:wo(Rt);return;case rn:wo(rn);return;case"maths-latex":wo("maths-latex");return;case zt:wo(zt);return;case Hn:wo(Hn);return;default:throw new Error}},[dn,ta,ar]),Jt=(0,be.useCallback)((Tn,Vt)=>{var gn,On,Jn,Sr,Rr,ro;switch(wo(""),Bn){case Ct:const{title:Bt,link:Gt}=Tn;return dn.replaceSelection(`[${Bt}](${Gt})`),dn.focus();case jn:const{language:sn,content:_n}=Tn;return dn.replaceSelection(["```"+sn,_n,"```"].join(` `)),dn.focus();case"maths-latex":for(var Or=atob(Tn),ut=new Uint8Array(Or.length),it=0;it{po.id?dn.replaceSelection(`![,](/api/attachments/${po.id}?type=${po.content_type})`):(po==null?void 0:po.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":dn.replaceSelection("`$$"+Tn+"$$`");break;case Rt:case rn:case kn:const{src:Mn,alt:Fn}=Tn,Kn=Vt,gr=(Jn=(On=(gn=Kn==null?void 0:Kn.name)==null?void 0:gn.split("."))==null?void 0:On.pop)==null?void 0:Jn.call(On);return((Sr=Kn==null?void 0:Kn.type)==null?void 0:Sr.indexOf("image"))>-1||!(Kn!=null&&Kn.type)?Kn.align||Kn.width?dn.replaceSelection(`

${Fn||

`):dn.replaceSelection(`${Fn||`):((Rr=Kn==null?void 0:Kn.type)==null?void 0:Rr.indexOf("video"))>-1?dn.replaceSelection(``):((ro=Kn==null?void 0:Kn.type)==null?void 0:ro.indexOf("pdf"))>-1?dn.replaceSelection(`${Kn.name}`):Ln.includes(gr)?dn.replaceSelection(`${Kn.name}`):dn.replaceSelection(`[${Kn.name}](${Mn})`),dn.focus();case Hn:const{row:hr,col:so,align:co}=Tn;let qr=` `;for(let po=0;po{switch(Bn){case Ct:return be.createElement(Qe,{callback:Jt,onCancel:yn});case jn:return be.createElement(Xe.Z,{callback:Jt,onCancel:yn});case Rt:return be.createElement(ze.Z,{callback:Jt,onCancel:yn});case zt:return be.createElement(Le,{callback:Jt,onCancel:yn});case Hn:return be.createElement(wt,{callback:Jt,onCancel:yn});case"maths-latex":return be.createElement(st,{showSaveButton:!0,callback:Jt});case"inline-latex":return be.createElement(Nt.Z,{showSaveButton:!0,callback:Jt});default:return null}},[Bn]);function yn(){wo("")}(0,be.useEffect)(()=>{if(Bo.current){let Tn=function(Rr){Jn=!0,Sr=Rr.pageY},Vt=function(){Jn=!1},gn=function(Rr){if(Jn){let ro=Rr.pageY-Sr;ro<0&&(ro=0),ro>300&&(ro=300);let Or=wn+ro+"px";ua(Or)}},On=Bo.current,Jn=!1,Sr=0;return On.addEventListener("mousedown",Tn),document.addEventListener("mousemove",gn),document.addEventListener("mouseup",Vt),()=>{On.removeEventListener("mousedown",Tn),document.removeEventListener("mousemove",gn),document.removeEventListener("mouseup",Vt)}}},[dn,Bo]),(0,be.useEffect)(()=>{ua(wn)},[wn]);const Ht=Wn(Tt),Zt=Wn(ca),Kt={width:Ht,height:Zt},Rn=(0,be.useMemo)(()=>{if(lo){let Tn=new Date(lo),Vt=Tn.getHours(),gn=Tn.getMinutes(),On=Tn.getSeconds();return Vt=Vt<10?"0"+Vt:Vt,gn=gn<10?"0"+gn:gn,On=On<10?"0"+On:On,`${Vt}:${gn}:${On}`}return 0},[lo]),Vn=Tn=>{const Vt=[];if(At){let gn=-1;Tn=Tn.replace(/(@▁▁@|@▁@)/g,function(On,Jn,Sr){Vt.push({multiLine:On!==ln})})}return Vt};function sr(){window.sessionStorage.removeItem(ao),Et(!1),ia(0)}function nr(){Et(!1),ia(0),dn.setValue(window.sessionStorage.getItem(ao))}(0,be.useEffect)(()=>{Br[Bn]&&Bn!==rn&&Bn!==zt&&setTimeout(()=>{const Tn=document.getElementsByClassName("markdown-popup-form")[0],Vt=window.innerWidth/2-Tn.offsetWidth/2,gn=window.innerHeight/2-Tn.offsetHeight/2;vr(Vt),no(gn)},0)},[Bn]);const fr=Tn=>{Tn.preventDefault();const Vt=Tn.clientX-Yn,gn=Tn.clientY-Nr;document.body.onmousemove=On=>{let Jn=On.clientX-Vt,Sr=On.clientY-gn;const Rr=document.getElementsByClassName("markdown-popup-form")[0],ro=window.innerWidth-Rr.offsetWidth,Or=window.innerHeight-Rr.offsetHeight;Jn=Math.max(0,Math.min(Jn,ro)),Sr=Math.max(0,Math.min(Sr,Or)),wr(On.clientX,On.clientY,Vt,gn)&&(vr(Jn),no(Sr))},document.body.onmouseup=function(){document.body.onmousemove=null}},wr=(Tn,Vt,gn,On)=>{const Jn=document.body.clientHeight,Sr=document.body.clientWidth;return Tn<20&&gn>Tn||Tn>Sr-20&&gnVt||Vt>Jn-20&&OnPe in ye?oe(ye,Pe,{enumerable:!0,configurable:!0,writable:!0,value:we}):ye[Pe]=we,ee=(ye,Pe)=>{for(var we in Pe||(Pe={}))y.call(Pe,we)&&b(ye,we,Pe[we]);if(a)for(var we of a(Pe))x.call(Pe,we)&&b(ye,we,Pe[we]);return ye},te=(ye,Pe)=>ne(ye,z(Pe));const{useForm:ue}=be.default,de={width:280,marginRight:10},ge={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:ye,onCancel:Pe})=>{const[we]=ue();let Te=(0,le.useRef)();function Ee(Oe){Te.current.width=we.getFieldValue("width"),Te.current.align=we.getFieldValue("align"),ye(Oe,Te.current)}function _e(Oe,Ie){if(Oe.status===-1){xe.ZP.error(Oe.message);return}we.setFieldsValue({src:`/api/attachments/${Oe.id}`,type:Ie.type})}function Ce(Oe){let Ie=Oe.target.files[0];Te.current=Ie,Se(Ie,_e)}return ae.createElement(be.default,te(ee({form:we},ge),{className:"upload-image-panel",onFinish:Ee,style:{width:470,overflow:"hidden"}}),ae.createElement(be.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ae.createElement("div",{className:"flex-container"},ae.createElement(be.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ae.createElement(E.default,{style:de})),ae.createElement(me,{onFileChange:Ce}))),ae.createElement(be.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ae.createElement(E.default,{style:{width:264}})),ae.createElement(be.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ae.createElement(he.Z,null,ae.createElement(be.default.Item,{name:"width",style:{margin:0}},ae.createElement(fe.Z,{style:{width:264}})),ae.createElement("span",{className:"ml8"},"%"))),ae.createElement(be.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ae.createElement(se.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"}]})),ae.createElement("aside",null,ae.createElement(be.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ae.createElement(re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(re.ZP,{type:"default",onClick:Pe},"\u53D6\u6D88"))))};function me({onFileChange:ye}){return ae.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ae.createElement("input",{type:"file",onChange:ye}))}function Se(ye,Pe){if(!ye)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ce.bg)())throw xe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let we=new FormData;we.append("editormd-image-file",ye),we.append("file_param_name","editormd-image-file"),we.append("byxhr","true");var Te=new window.XMLHttpRequest;Te.withCredentials=!0,Te.addEventListener("load",function(Ee){Pe(JSON.parse(Ee.target.responseText),ye)},!1),Te.addEventListener("error",function(Ee){console.error(Ee)},!1),Te.open("POST",`${ie.KI}/api/attachments.json`),Te.send(we)}},76621:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return E}});var be=pe(67294),xe=pe(73935);class E extends be.Component{constructor(fe){super(fe);const se=window.document;this.node=se.createElement("div"),se.body.appendChild(this.node)}render(){const{children:fe}=this.props;return(0,xe.createPortal)(fe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},21434:function(xt,ft,pe){"use strict";var be=pe(12867),xe=pe(42563),E=pe(47897),he=pe(67294);const fe=xe.default.Option;ft.Z=({isTheoretical:se,onFontSizeChange:re,cmFontSize:ie,cmCodeMode:le,autoFormat:ce,onCodeModeChange:ae,onTabToSpace:oe,onAutoFormat:ne,formatDocument:z,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:ee})=>{const te={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return he.createElement("div",{className:`tpi-code-setting ${a}`},he.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),he.createElement(xe.default,{bordered:!1,size:"small",value:le,onChange:ae},he.createElement(fe,{value:"vs"},"\u767D\u8272\u80CC\u666F"),he.createElement(fe,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!se&&he.createElement(he.Fragment,null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),he.createElement(xe.default,{bordered:!1,size:"small",value:ie,onChange:re},he.createElement(fe,{value:12},"12px"),he.createElement(fe,{value:14},"14px"),he.createElement(fe,{value:16},"16px"),he.createElement(fe,{value:18},"18px"),he.createElement(fe,{value:20},"20px"),he.createElement(fe,{value:22},"22px"))),he.createElement("div",{className:"file-item"},he.createElement("b",null,"Tab\u8F6C\u6362"),he.createElement(E.Z,{checked:y,onChange:oe})),he.createElement("div",{className:"file-item",onClick:z},he.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!se&&he.createElement(he.Fragment,null,he.createElement("h3",null,"\u5FEB\u6377\u952E"),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),he.createElement("span",null,"Ctrl + S")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),he.createElement("span",null,"F1 / Alt + F1")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),he.createElement("span",null,"Ctrl + ]/[")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),he.createElement("span",null,"Ctrl + Shift + \\")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),he.createElement("span",null,"Home")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),he.createElement("span",null,"End"))),x),!se&&he.createElement(he.Fragment,null,he.createElement("h3",null,"\u5FEB\u6377\u952E"),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),he.createElement("span",null,te[ee==null?void 0:ee.difficulty])),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),he.createElement("span",null,b==null?void 0:b.name)),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),he.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},99914:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return xe}});var be=pe(67294);function xe(E,he){const fe=(0,be.useRef)();(0,be.useEffect)(()=>{fe.current=E}),(0,be.useEffect)(()=>{function se(){fe.current()}if(he!==null){let re=setInterval(se,he);return()=>clearInterval(re)}},[he])}},97917:function(xt,ft,pe){"use strict";var be=pe(67294),xe=pe(55054),E=pe(31795),he=pe(22150),fe=pe(14446),se=pe(57953),re=pe(9430),ie=pe(69677),le=pe(71230),ce=pe(15746),ae=pe(71577),oe=pe(15835),ne=pe(27484),z=pe.n(ne),a=pe(35973),y=pe(28706),x=pe(53814),b=pe(52262),ee=pe(9343),te=pe(67294),ue=(me,Se,ye)=>new Promise((Pe,we)=>{var Te=Ce=>{try{_e(ye.next(Ce))}catch(Oe){we(Oe)}},Ee=Ce=>{try{_e(ye.throw(Ce))}catch(Oe){we(Oe)}},_e=Ce=>Ce.done?Pe(Ce.value):Promise.resolve(Ce.value).then(Te,Ee);_e((ye=ye.apply(me,Se)).next())});const{Countdown:de}=xe.default,ge=({value:me,onChange:Se,MaxMinutes:ye})=>te.createElement(te.Fragment,null,te.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",te.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",te.createElement("br",null)),te.createElement(E.Z,{value:me,onChange:Se,min:0,precision:0,max:ye,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${ye}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),ve=({exercise:me,successCb:Se,dispatch:ye})=>{var Pe,we,Te,Ee;const _e=(0,a.useParams)(),[Ce]=he.default.useForm(),Oe=he.default.useWatch("time",Ce),[Ie,Ue]=(0,be.useState)(!1),je=(0,be.useRef)(),{actionTabs:nt}=me,[Je,Qe]=(0,be.useState)(),[,Xe,ze,ke]=(0,ee.U)(oe.n7,{id:_e.categoryId}),[,Be,qe]=(0,ee.U)(oe.Cd,{});(0,be.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&(Ue(!1),Ce.resetFields())},[me.actionTabs.key]);const Ye=()=>new Promise(Ze=>ue(void 0,null,function*(){var Ke,Ae;return je.current=yield(0,x.y)({ip_limit:(Ke=nt==null?void 0:nt.exerciseParams)==null?void 0:Ke.ip_limit,ip_bind:(Ae=nt==null?void 0:nt.exerciseParams)==null?void 0:Ae.ip_bind_type}),Ze()})),gt=()=>ue(void 0,null,function*(){var Ze,Ke,Ae,Le,Ne;yield Ce.validateFields();const Ge=Ce.getFieldsValue();if(Ue(!0),(((Ze=nt==null?void 0:nt.exerciseParams)==null?void 0:Ze.ip_limit)!=="no"||(Ke=nt==null?void 0:nt.exerciseParams)!=null&&Ke.ip_bind_type)&&(yield Ye()),(yield(0,oe.ZD)((Ae=nt==null?void 0:nt.exerciseParams)==null?void 0:Ae.id,{exercise_user_id:(Le=nt==null?void 0:nt.exerciseParams)==null?void 0:Le.exercise_user_id,unlock_key:Ge.unlock_key,time:Ge.time,ip:je.current})).status===0){if(Se){ye({type:"exercise/setActionTabs",payload:{}}),Se();return}const St=nt==null?void 0:nt.exerciseParams;(0,y.nr)({inner_ip:St.inner_ip,public_ip:St.public_ip,open_camera:St.open_camera,ip_limit:St.ip_limit,ip_bind:St.ip_bind,ip_bind_type:St.ip_bind_type,exercise_tips:St.exercise_tips,exerciseId:St.id,screen_open:St.screen_open,screen_num:St.screen_num,screen_sec:St.screen_sec,coursesId:_e.coursesId,login:(Ne=(0,b.eY)())==null?void 0:Ne.login,history,identity_verify:St.identity_verify,open_phone_video_recording:St.open_phone_video_recording,current_status:St.current_status}),ye({type:"exercise/setActionTabs",payload:{}})}Ue(!1)}),$e=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:Ze=>te.createElement("span",{className:Ze.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Ze)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:Ze=>te.createElement("span",{className:Ze.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Ze)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],We=((Pe=nt==null?void 0:nt.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((we=nt==null?void 0:nt.exerciseParams)==null?void 0:we.errorMessage)=="object";(0,be.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&ue(void 0,null,function*(){const Ze=yield qe(_e);yield ze({}),Ze.status||Qe(Ze)})},[me.actionTabs.key]);const{time:Re,end_time:tt}=(Je==null?void 0:Je.exercise)||{},Me=ke!=null&&ke.user_end_time?z()(ke==null?void 0:ke.user_end_time).add(1,"minutes"):z()(),He=z()(ke==null?void 0:ke.user_total_end_time)>Me?Math.round(z().duration(z()(ke==null?void 0:ke.user_total_end_time).diff(Me.startOf("minute"))).asMinutes()):0,Ve=((ke==null?void 0:ke.student_left_minutes)||0)+(Oe||0);return te.createElement(te.Fragment,null,te.createElement(fe.default,{width:514,centered:!0,closable:!!((Te=nt==null?void 0:nt.exerciseParams)!=null&&Te.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:me.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ye({type:"exercise/setActionTabs",payload:{}})}},te.createElement(se.Z,{spinning:Xe||Be},We&&te.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!We&&te.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),We&&te.createElement(re.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ee=nt==null?void 0:nt.exerciseParams)==null?void 0:Ee.errorMessage)||{}],columns:$e}),te.createElement("div",{className:""},te.createElement(he.default,{form:Ce,layout:"vertical",autoComplete:"off"},te.createElement(he.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},te.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Re!==-1?te.createElement(te.Fragment,null,te.createElement(he.default.Item,{name:"time",label:te.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",te.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",z()(ke==null?void 0:ke.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},te.createElement(ge,{MaxMinutes:He})),te.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},Xe||Be?"--":Ve),"\u5206\u949F",Ve!==0&&(ke==null?void 0:ke.user_end_time)&&te.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},z()(ke==null?void 0:ke.user_end_time).add(Oe||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):te.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",z()(tt).format("YYYY-MM-DD HH:mm")))),te.createElement(le.Z,{justify:"space-between",align:"middle"},te.createElement(ce.Z,null),te.createElement(ce.Z,null,te.createElement(ae.ZP,{loading:Ie,onClick:gt},"\u8FDB\u5165\u8003\u8BD5"))))))};ft.Z=(0,a.connect)(({exercise:me})=>({exercise:me}))(ve)},93989:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return ne}});var be=pe(67294),xe=pe(2453),E=pe(83062),he=pe(57953),fe=pe(71230),se=pe(15746),re=pe(28452),ie=pe(71577),le=pe(35567),ce=pe(33170),ae=pe(85725),oe=(a,y,x)=>new Promise((b,ee)=>{var te=ge=>{try{de(x.next(ge))}catch(ve){ee(ve)}},ue=ge=>{try{de(x.throw(ge))}catch(ve){ee(ve)}},de=ge=>ge.done?b(ge.value):Promise.resolve(ge.value).then(te,ue);de((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[ee,te]=(0,be.useState)(""),[ue,de]=(0,be.useState)(!1);function ge(me){te(me)}function ve(){if(!ee){xe.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,ee),te("")}return(0,be.useEffect)(()=>{y!=a&&de(!1)},[y]),be.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},be.createElement(le.Z,{miniToolbar:!0,startInit:y===a,defaultValue:ee,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:ge,extraUse:b&&be.createElement(E.Z,{color:"#fff",open:ue,destroyTooltipOnHide:!0,title:z({id:a,isOpen:ue,activeDiscussIndex:y,onChange:ge,setIsOpen:de}),overlayStyle:{maxWidth:600}},be.createElement("a",{title:ue?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>de(!ue)},be.createElement("i",{className:"iconfont icon-dianzan11"})))}),be.createElement("a",{onClick:ve,className:"btn-send"},"\u53D1\u9001"))};const z=a=>{const[y,x]=(0,be.useState)(!1),[b,ee]=(0,be.useState)([]),[te,ue]=(0,be.useState)(1);(0,be.useEffect)(()=>{a!=null&&a.isOpen?de():(ue(1),ee([]))},[a==null?void 0:a.isOpen]);const de=()=>oe(void 0,null,function*(){x(!0);const ge=yield(0,ce.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(ge==null?void 0:ge.status)==0&&ee(ge==null?void 0:ge.answer),x(!1)});return be.createElement(he.Z,{spinning:y},be.createElement("div",{style:{color:"#000"}},be.createElement(ae.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[te-1])||""}),be.createElement(fe.Z,{justify:"end",align:"middle"},be.createElement(se.Z,null,be.createElement(re.Z,{simple:!0,current:te,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:ge=>{ue(ge)}})),be.createElement(se.Z,null,be.createElement(ie.ZP,{onClick:()=>oe(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[te-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},5764:function(xt,ft,pe){"use strict";pe.d(ft,{CP:function(){return E},_V:function(){return se}});var be=pe(81354),xe=pe.n(be);const E={secret:be.enc.Utf8.parse("0a18e199b87f1a8d"),iv:be.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},he={exam:E};function fe(re="",ie="exam"){const{secret:le,iv:ce}=he[ie];return AES.encrypt(re,le,{iv:ce,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function se(re="",ie="exam"){const{secret:le,iv:ce}=he[ie];return be.AES.decrypt(re,le,{iv:ce,mode:xe().mode.CBC,padding:xe().pad.Pkcs7}).toString(be.enc.Utf8)}},51959:function(xt,ft,pe){"use strict";pe.d(ft,{BU:function(){return xe},Dj:function(){return be},gH:function(){return E},vp:function(){return he}});function be(fe){try{fe.mozRequestFullScreen?fe.mozRequestFullScreen():fe.webkitRequestFullScreen&&fe.webkitRequestFullScreen()}catch(se){console.log(se,":e")}}function xe(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const E=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function he(){var fe=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,se=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",fe),window.isFullScreen?window.isFullScreen:fe!=null}},9343:function(xt,ft,pe){"use strict";pe.d(ft,{U:function(){return le}});var be=pe(67294),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,se=(ce,ae,oe)=>ae in ce?xe(ce,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ce[ae]=oe,re=(ce,ae)=>{for(var oe in ae||(ae={}))he.call(ae,oe)&&se(ce,oe,ae[oe]);if(E)for(var oe of E(ae))fe.call(ae,oe)&&se(ce,oe,ae[oe]);return ce},ie=(ce,ae,oe)=>new Promise((ne,z)=>{var a=b=>{try{x(oe.next(b))}catch(ee){z(ee)}},y=b=>{try{x(oe.throw(b))}catch(ee){z(ee)}},x=b=>b.done?ne(b.value):Promise.resolve(b.value).then(a,y);x((oe=oe.apply(ce,ae)).next())});function le(ce,ae){const[oe,ne]=(0,be.useState)(ae),[z,a]=(0,be.useState)(!1),[y,x]=(0,be.useState)();return[oe,z,(ee,te=!1)=>ie(this,null,function*(){const ue=te?ae:re(re({},oe),ee);a(!0),ne(ue);const de=yield ce(ue);return a(!1),x(de),de}),y]}},43462:function(xt,ft,pe){"use strict";pe.d(ft,{_:function(){return E}});var be=pe(67294),xe=pe(14446);const E=he=>{var fe,se;const re=(0,be.useRef)([]),ie=()=>{for(const le of re.current)clearTimeout(le);re.current=[]};return(0,be.useEffect)(()=>{var le,ce,ae,oe,ne,z;if(ie(),(le=he==null?void 0:he.exercise)!=null&&le.left_time&&((ae=(ce=he==null?void 0:he.exercise)==null?void 0:ce.exercise_events)==null?void 0:ae.length)>0){for(const a of(oe=he==null?void 0:he.exercise)==null?void 0:oe.exercise_events)if(((ne=he==null?void 0:he.exercise)==null?void 0:ne.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((z=he==null?void 0:he.exercise)==null?void 0:z.left_time)-(a==null?void 0:a.reminder_time)*60)*1e3;y=y>2147483647?2147483647:y;const x=setTimeout(()=>{xe.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);re.current.push(x)}}},[(fe=he==null?void 0:he.exercise)==null?void 0:fe.left_time,(se=he==null?void 0:he.exercise)==null?void 0:se.exercise_events]),ie}},40471:function(xt,ft,pe){"use strict";pe.d(ft,{G:function(){return fe},t:function(){return he}});var be=pe(58971),xe=pe.n(be);const E=null;function he(se,re){let ie=xe().get("__ec");ie||(ie={}),ie[se]=re,xe().set("__ec",ie)}function fe(se,re){let ie=xe().get("__ec");return ie?ie[se]===void 0?re:ie[se]:re}},56448:function(xt){(function(ft){(function(pe){if(1)xt.exports=pe();else var be})(function(){var pe,be,xe;return function(){function E(he,fe,se){function re(ce,ae){if(!fe[ce]){if(!he[ce]){var oe=void 0;if(!ae&&oe)return require(ce,!0);if(ie)return ie(ce,!0);var ne=new Error("Cannot find module '"+ce+"'");throw ne.code="MODULE_NOT_FOUND",ne}var z=fe[ce]={exports:{}};he[ce][0].call(z.exports,function(a){var y=he[ce][1][a];return re(y||a)},z,z.exports,E,he,fe,se)}return fe[ce].exports}for(var ie=void 0,le=0;le `.concat(b,` `),ee&&(de+="".concat(ee,` `)),de+=` `,ue.content=de,ue.mime="xml",ue.successStatuses=[200],me.next=9,this.request(ue);case 9:return ge=me.sent,me.abrupt("return",{res:ge.res});case 11:case"end":return me.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),oe.getBucketLogging=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee){var te,ue,de;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=this._bucketRequestParams("GET",b,"logging",ee),te.successStatuses=[200],te.xmlResponse=!0,ve.next=5,this.request(te);case 5:return ue=ve.sent,de=ue.data.LoggingEnabled,ve.abrupt("return",{enable:!!de,prefix:de&&de.TargetPrefix||null,res:ue.res});case 8:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketLogging=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee){var te,ue;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("DELETE",b,"logging",ee),te.successStatuses=[204,200],ge.next=4,this.request(te);case 4:return ue=ge.sent,ge.abrupt("return",{res:ue.res});case 6:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketCORS=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee,te){var ue,de,ge,ve,me,Se,ye,Pe,we,Te;return re.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:for(ee=ee||[],le(ee.length,"rules is required"),ee.forEach(function(Ce){le(Ce.allowedOrigin,"allowedOrigin is required"),le(Ce.allowedMethod,"allowedMethod is required")}),ue=this._bucketRequestParams("PUT",b,"cors",te),de=` `,ge=function(Oe){de+="".concat(Oe,"")},ve=function(Oe){de+="".concat(Oe,"")},me=function(Oe){de+="".concat(Oe,"")},Se=function(Oe){de+="".concat(Oe,"")},ye=0,Pe=ee.length;ye",z(we.allowedOrigin).forEach(ge),z(we.allowedMethod).forEach(ve),z(we.allowedHeader).forEach(me),z(we.exposeHeader).forEach(Se),we.maxAgeSeconds&&(de+="".concat(we.maxAgeSeconds,"")),de+="";return de+="",ue.content=de,ue.mime="xml",ue.successStatuses=[200],_e.next=16,this.request(ue);case 16:return Te=_e.sent,_e.abrupt("return",{res:Te.res});case 18:case"end":return _e.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),oe.getBucketCORS=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee){var te,ue,de,ge;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return te=this._bucketRequestParams("GET",b,"cors",ee),te.successStatuses=[200],te.xmlResponse=!0,me.next=5,this.request(te);case 5:return ue=me.sent,de=[],ue.data&&ue.data.CORSRule&&(ge=ue.data.CORSRule,ne(ge)||(ge=[ge]),ge.forEach(function(Se){var ye={};Object.keys(Se).forEach(function(Pe){ye[Pe.slice(0,1).toLowerCase()+Pe.slice(1,Pe.length)]=Se[Pe]}),de.push(ye)})),me.abrupt("return",{rules:de,res:ue.res});case 9:case"end":return me.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketCORS=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee){var te,ue;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("DELETE",b,"cors",ee),te.successStatuses=[204],ge.next=4,this.request(te);case 4:return ue=ge.sent,ge.abrupt("return",{res:ue.res});case 6:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketReferer=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee,te,ue){var de,ge,ve,me;return re.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(de=this._bucketRequestParams("PUT",b,"referer",ue),ge=` `,ge+=" ".concat(ee?"true":"false",` `),te&&te.length>0){for(ge+=` `,ve=0;ve".concat(te[ve],` `);ge+=` `}else ge+=` `;return ge+="",de.content=ge,de.mime="xml",de.successStatuses=[200],ye.next=10,this.request(de);case 10:return me=ye.sent,ye.abrupt("return",{res:me.res});case 12:case"end":return ye.stop()}},x,this)}));function y(x,b,ee,te){return a.apply(this,arguments)}return y}(),oe.getBucketReferer=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee){var te,ue,de;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=this._bucketRequestParams("GET",b,"referer",ee),te.successStatuses=[200],te.xmlResponse=!0,ve.next=5,this.request(te);case 5:return ue=ve.sent,de=ue.data.RefererList.Referer||null,de&&(ne(de)||(de=[de])),ve.abrupt("return",{allowEmpty:ue.data.AllowEmptyReferer==="true",referers:de,res:ue.res});case 9:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketReferer=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee){return re.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,this.putBucketReferer(b,!0,null,ee);case 2:return ue.abrupt("return",ue.sent);case 3:case"end":return ue.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe._bucketRequestParams=function(y,x,b,ee){return{method:y,bucket:x,subres:b,timeout:ee&&ee.timeout,ctx:ee&&ee.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(E,he,fe){(function(se,re){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),le=ie(E("@babel/runtime/regenerator")),ce=ie(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.to-string.js");var ae=E("debug")("ali-oss"),oe=E("xml2js"),ne=E("agentkeepalive"),z=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),ee=E("bowser"),te=E("../common/signUtils"),ue=E("../common/client/initOptions"),de=E("../common/utils/createRequest"),ge=de.createRequest,ve=E("../common/utils/encoder"),me=ve.encoder,Se=E("../common/client/getReqUrl"),ye=Se.getReqUrl,Pe=E("../common/utils/setSTSToken"),we=Pe.setSTSToken,Te=E("../common/utils/retry"),Ee=Te.retry,_e=E("../common/utils/isFunction"),Ce=_e.isFunction,Oe=new ne;function Ie(){var Xe=a.name,ze=a.version;Xe&&Xe.toLowerCase&&Xe.toLowerCase()==="ie"&&ze.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function Ue(){return location&&location.protocol==="https:"}function je(Xe,ze){if(Ie(),!(this instanceof je))return new je(Xe,ze);Xe&&Xe.inited?this.options=Xe:this.options=je.initOptions(Xe),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||Oe),this.ctx=ze,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}he.exports=je,je.initOptions=function(ze){ze.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var ke=Object.assign({secure:Ue(),useFetch:!1},ze);return ue(ke)};var nt=je.prototype;nt.debug=ae,z(nt,E("./object")),z(nt,E("./bucket")),z(nt,E("../common/bucket/getBucketWebsite")),z(nt,E("../common/bucket/putBucketWebsite")),z(nt,E("../common/bucket/deleteBucketWebsite")),z(nt,E("../common/bucket/getBucketLifecycle")),z(nt,E("../common/bucket/putBucketLifecycle")),z(nt,E("../common/bucket/deleteBucketLifecycle")),z(nt,E("../common/bucket/putBucketVersioning")),z(nt,E("../common/bucket/getBucketVersioning")),z(nt,E("../common/bucket/getBucketInventory")),z(nt,E("../common/bucket/deleteBucketInventory")),z(nt,E("../common/bucket/listBucketInventory")),z(nt,E("../common/bucket/putBucketInventory")),z(nt,E("../common/bucket/abortBucketWorm")),z(nt,E("../common/bucket/completeBucketWorm")),z(nt,E("../common/bucket/extendBucketWorm")),z(nt,E("../common/bucket/getBucketWorm")),z(nt,E("../common/bucket/initiateBucketWorm")),z(nt,E("./managed-upload")),z(nt,E("../common/multipart-copy")),z(nt,E("../common/multipart")),z(nt,E("../common/parallel")),nt.signature=function(ze){return this.debug("authorization stringToSign: %s",ze,"info"),te.computeSignature(this.options.accessKeySecret,ze,this.options.headerEncoding)},nt._getReqUrl=ye,nt.authorization=function(ze,ke,Be,qe){var Ye=te.buildCanonicalString(ze.toUpperCase(),ke,{headers:qe,parameters:Be});return te.authorization(this.options.accessKeyId,this.options.accessKeySecret,Ye,this.options.headerEncoding)},nt.request=function(){var Xe=(0,ce.default)(le.default.mark(function ze(ke){var Be=this;return le.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(!this.options.retryMax){Ye.next=6;break}return Ye.next=3,Ee(Je.bind(this),this.options.retryMax,{errorHandler:function($e){var We=function(tt){if(ke.stream)return!1;var Me=[-1,-2].includes(tt.status),He=Be.options.requestErrorRetryHandle||function(){return!0};return Me&&He(tt)};return!!We($e)}})(ke);case 3:return Ye.abrupt("return",Ye.sent);case 6:return Ye.abrupt("return",Je.call(this,ke));case 7:case"end":return Ye.stop()}},ze,this)}));return function(ze){return Xe.apply(this,arguments)}}();function Je(Xe){return Qe.apply(this,arguments)}function Qe(){return Qe=(0,ce.default)(le.default.mark(function Xe(ze){var ke,Be,qe,Ye,gt,$e;return le.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(!(this.options.stsToken&&Ce(this.options.refreshSTSToken))){Re.next=3;break}return Re.next=3,we.call(this);case 3:return ke=ge.call(this,ze),this.options.useFetch||(ke.params.mode="disable-fetch"),Ye=!!ze.stream,Re.prev=6,Re.next=9,this.urllib.request(ke.url,ke.params);case 9:Be=Re.sent,this.debug("response %s %s, got %s, headers: %j",ze.method,ke.url,Be.status,Be.headers,"info"),Re.next=16;break;case 13:Re.prev=13,Re.t0=Re.catch(6),qe=Re.t0;case 16:if(!(Be&&ze.successStatuses&&ze.successStatuses.indexOf(Be.status)===-1)){Re.next=28;break}return Re.next=19,this.requestError(Be);case 19:if(gt=Re.sent,!(gt.code==="RequestTimeTooSkewed"&&!Ye)){Re.next=25;break}return this.options.amendTimeSkewed=+new Date(gt.serverTime)-new Date,Re.next=24,this.request(ze);case 24:return Re.abrupt("return",Re.sent);case 25:gt.params=ze,Re.next=32;break;case 28:if(!qe){Re.next=32;break}return Re.next=31,this.requestError(qe);case 31:gt=Re.sent;case 32:if(!gt){Re.next=34;break}throw gt;case 34:if(!ze.xmlResponse){Re.next=39;break}return Re.next=37,this.parseXML(Be.data);case 37:$e=Re.sent,Be.data=$e;case 39:return Re.abrupt("return",Be);case 40:case"end":return Re.stop()}},Xe,this,[[6,13]])})),Qe.apply(this,arguments)}nt._getResource=function(ze){var ke="/";return ze.bucket&&(ke+="".concat(ze.bucket,"/")),ze.object&&(ke+=me(ze.object,this.options.headerEncoding)),ke},nt._escape=function(ze){return y.encodeURIComponent(ze).replace(/%2F/g,"/")},nt._getUserAgent=function(){var ze=re&&re.browser?"js":"nodejs",ke="aliyun-sdk-".concat(ze,"/").concat(b.version),Be=a.description;return!Be&&re&&(Be="Node.js ".concat(re.version.slice(1)," on ").concat(re.platform," ").concat(re.arch)),this._checkUserAgent("".concat(ke," ").concat(Be))},nt._checkUserAgent=function(ze){var ke=ze.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return ke},nt.checkBrowserAndVersion=function(ze,ke){return ee.name===ze&&ee.version.split(".")[0]===ke},nt.parseXML=function(ze){return new Promise(function(ke,Be){se.isBuffer(ze)&&(ze=ze.toString()),oe.parseString(ze,{explicitRoot:!1,explicitArray:!1},function(qe,Ye){qe?Be(qe):ke(Ye)})})},nt.requestError=function(){var Xe=(0,ce.default)(le.default.mark(function ke(Be){var qe,Ye,gt,$e;return le.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(qe=null,!(!Be.data||!Be.data.length)){Re.next=5;break}Be.status===-1||Be.status===-2?(qe=new Error(Be.message),qe.name=Be.name,qe.status=Be.status,qe.code=Be.name):(Be.status===404?(qe=new Error("Object not exists"),qe.name="NoSuchKeyError",qe.status=404,qe.code="NoSuchKey"):Be.status===412?(qe=new Error("Pre condition failed"),qe.name="PreconditionFailedError",qe.status=412,qe.code="PreconditionFailed"):(qe=new Error("Unknow error, status: ".concat(Be.status)),qe.name="UnknownError",qe.status=Be.status),qe.requestId=Be.headers["x-oss-request-id"],qe.host=""),Re.next=32;break;case 5:return Ye=String(Be.data),this.debug("request response error data: %s",Ye,"error"),Re.prev=7,Re.next=10,this.parseXML(Ye);case 10:if(Re.t0=Re.sent,Re.t0){Re.next=13;break}Re.t0={};case 13:gt=Re.t0,Re.next=23;break;case 16:return Re.prev=16,Re.t1=Re.catch(7),this.debug(Ye,"error"),Re.t1.message+=` raw xml: `.concat(Ye),Re.t1.status=Be.status,Re.t1.requestId=Be.headers["x-oss-request-id"],Re.abrupt("return",Re.t1);case 23:$e=gt.Message||"unknow request error, status: ".concat(Be.status),gt.Condition&&($e+=" (condition: ".concat(gt.Condition,")")),qe=new Error($e),qe.name=gt.Code?"".concat(gt.Code,"Error"):"UnknownError",qe.status=Be.status,qe.code=gt.Code,qe.requestId=gt.RequestId,qe.hostId=gt.HostId,qe.serverTime=gt.ServerTime;case 32:return this.debug("generate error %j",qe,"error"),Re.abrupt("return",qe);case 34:case"end":return Re.stop()}},ke,this,[[7,16]])}));function ze(ke){return Xe.apply(this,arguments)}return ze}()}).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,he,fe){(function(se){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),ie=re(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 le=re(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("util"),ae=E("path"),oe=E("mime"),ne=E("copy-to"),z=E("../common/utils/isBlob"),a=z.isBlob,y=E("../common/utils/isFile"),x=y.isFile,b=E("../common/utils/isBuffer"),ee=b.isBuffer,te=fe;te.multipartUpload=function(){var me=(0,le.default)(ie.default.mark(function ye(Pe,we){var Te,Ee,_e,Ce,Oe,Ie,Ue,je,nt,Je=arguments;return ie.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(Te=Je.length>2&&Je[2]!==void 0?Je[2]:{},this.resetCancelFlag(),Te.disabledMD5=Te.disabledMD5===void 0?!0:!!Te.disabledMD5,!(Te.checkpoint&&Te.checkpoint.uploadId)){Xe.next=8;break}return we&&x(we)&&(Te.checkpoint.file=we),Xe.next=7,this._resumeMultipart(Te.checkpoint,Te);case 7:return Xe.abrupt("return",Xe.sent);case 8:return Ee=102400,Te.mime||(x(we)?Te.mime=oe.getType(ae.extname(we.name)):a(we)?Te.mime=we.type:ee(we)?Te.mime="":Te.mime=oe.getType(ae.extname(we))),Te.headers=Te.headers||{},this._convertMetaToHeaders(Te.meta,Te.headers),Xe.next=14,this._getFileSize(we);case 14:if(_e=Xe.sent,!(_e0&&ne(Ie).to(je),nt=this._divideParts(_e,Ce),Je=nt.length,Qe=!1,Xe=function(Me,He){return new Promise(function(){var Ve=(0,le.default)(ie.default.mark(function Ze(Ke,Ae){var Le,Ne,Ge,ot,St;return ie.default.wrap(function(rt){for(;;)switch(rt.prev=rt.next){case 0:if(rt.prev=0,Me.isCancel()){rt.next=29;break}return Le=nt[He-1],rt.next=5,Me._createBuffer(Ee,Le.start,Le.end);case 5:return Ne=rt.sent,Ge={content:Ne,size:Le.end-Le.start},rt.prev=7,rt.next=10,Me._uploadPart(Ue,Oe,He,Ge,we);case 10:ot=rt.sent,rt.next=18;break;case 13:if(rt.prev=13,rt.t0=rt.catch(7),rt.t0.status!==404){rt.next=17;break}throw Me._makeAbortEvent();case 17:throw rt.t0;case 18:if(!(!Me.isCancel()&&!Qe)){rt.next=26;break}if(Pe.doneParts.push({number:He,etag:ot.res.headers.etag}),!we.progress){rt.next=23;break}return rt.next=23,we.progress(Ie.length/(Je+1),Pe,ot.res);case 23:Ke({number:He,etag:ot.res.headers.etag}),rt.next=27;break;case 26:Ke();case 27:rt.next=30;break;case 29:Ke();case 30:rt.next=41;break;case 32:rt.prev=32,rt.t1=rt.catch(0),St=new Error,St.name=rt.t1.name,St.message=rt.t1.message,St.stack=rt.t1.stack,St.partNum=He,ne(rt.t1).to(St),Ae(St);case 41:case"end":return rt.stop()}},Ze,null,[[0,32],[7,13]])}));return function(Ze,Ke){return Ve.apply(this,arguments)}}())},ze=Array.from(new Array(Je),function(tt,Me){return Me+1}),ke=je.map(function(tt){return tt.number}),Be=ze.filter(function(tt){return ke.indexOf(tt)<0}),qe=5,Ye=we.parallel||qe,Re.next=17,this._parallel(Be,Ye,function(tt){return new Promise(function(Me,He){Xe(Te,tt).then(function(Ve){Ve&&je.push(Ve),Me()}).catch(function(Ve){He(Ve)})})});case 17:if(gt=Re.sent,Qe=!0,$e=gt.find(function(tt){return tt.name==="abort"}),!$e){Re.next=22;break}throw $e;case 22:if(!this.isCancel()){Re.next=25;break}throw Xe=null,this._makeCancelEvent();case 25:if(!(gt&>.length>0)){Re.next=28;break}throw gt[0].message="Failed to upload some parts with error: ".concat(gt[0].toString()," part_num: ").concat(gt[0].partNum),gt[0];case 28:return Re.next=30,this.completeMultipartUpload(Ue,Oe,je,we);case 30:return Re.abrupt("return",Re.sent);case 31:case"end":return Re.stop()}},ye,this)}));function Se(ye,Pe){return me.apply(this,arguments)}return Se}(),te._getFileSize=function(){var me=(0,le.default)(ie.default.mark(function ye(Pe){return ie.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(!ee(Pe)){Te.next=4;break}return Te.abrupt("return",Pe.length);case 4:if(!(a(Pe)||x(Pe))){Te.next=6;break}return Te.abrupt("return",Pe.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Te.stop()}},ye)}));function Se(ye){return me.apply(this,arguments)}return Se}();var ue=E("stream"),de=ue.Readable;function ge(me,Se){if(!(this instanceof ge))return new ge(me,Se);de.call(this,Se),this.file=me,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}ce.inherits(ge,de),ge.prototype.readFileAndPush=function(Se){if(this.fileBuffer)for(var ye=!0;ye&&this.fileBuffer&&this.startthis.fileBuffer.length?this.fileBuffer.length:we,this.start=we,ye=this.push(this.fileBuffer.slice(Pe,we))}},ge.prototype._read=function(Se){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 ye=16*1024;Se=Se||ye;var Pe=this;this.reader.onload=function(Te){Pe.fileBuffer=se.from(new Uint8Array(Te.target.result)),Pe.file=null,Pe.readFileAndPush(Se)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(Se)};function ve(me){return me.arrayBuffer?me.arrayBuffer():new Promise(function(Se,ye){var Pe=new FileReader;Pe.onload=function(we){Se(we.target.result)},Pe.onerror=function(we){ye(we)},Pe.readAsArrayBuffer(me)})}te._createBuffer=function(){var me=(0,le.default)(ie.default.mark(function ye(Pe,we,Te){var Ee,_e;return ie.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(!(a(Pe)||x(Pe))){Oe.next=8;break}return Ee=Pe.slice(we,Te),Oe.next=4,ve(Ee);case 4:return _e=Oe.sent,Oe.abrupt("return",se.from(_e));case 8:if(!ee(Pe)){Oe.next=12;break}return Oe.abrupt("return",Pe.subarray(we,Te));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Oe.stop()}},ye)}));function Se(ye,Pe,we){return me.apply(this,arguments)}return Se}(),te._getPartSize=function(Se,ye){var Pe=1e4,we=1*1024*1024;ye||(ye=we);var Te=Math.ceil(Se/Pe);return ye1&&Ie[1]!==void 0?Ie[1]:{},we=ye["continuation-token"]||ye.continuationToken,we&&(Pe.subres=Object.assign({"continuation-token":we},Pe.subres)),Te=this._objectRequestParams("GET","",Pe),Te.query=Object.assign({"list-type":2},ye),delete Te.query["continuation-token"],delete Te.query.continuationToken,Te.xmlResponse=!0,Te.successStatuses=[200],je.next=11,this.request(Te);case 11:return Ee=je.sent,_e=Ee.data.Contents||[],Ce=this,_e&&(Array.isArray(_e)||(_e=[_e]),_e=_e.map(function(nt){var Je=null;return nt.Owner&&(Je={id:nt.Owner.ID,displayName:nt.Owner.DisplayName}),{name:nt.Key,url:Ce._objectUrl(nt.Key),lastModified:nt.LastModified,etag:nt.ETag,type:nt.Type,size:Number(nt.Size),storageClass:nt.StorageClass,owner:Je}})),Oe=Ee.data.CommonPrefixes||null,Oe&&(Array.isArray(Oe)||(Oe=[Oe]),Oe=Oe.map(function(nt){return nt.Prefix})),je.abrupt("return",{res:Ee.res,objects:_e,prefixes:Oe,isTruncated:Ee.data.IsTruncated==="true",keyCount:+Ee.data.KeyCount,continuationToken:Ee.data.ContinuationToken||null,nextContinuationToken:Ee.data.NextContinuationToken||null});case 18:case"end":return je.stop()}},Se,this)}));function me(Se){return ve.apply(this,arguments)}return me}(),ge.restore=function(){var ve=(0,ie.default)(re.default.mark(function Se(ye){var Pe,we,Te,Ee,_e=arguments;return re.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Pe=_e.length>1&&_e[1]!==void 0?_e[1]:{type:"Archive"},Pe=Pe||{},Pe.subres=Object.assign({restore:""},Pe.subres),Pe.versionId&&(Pe.subres.versionId=Pe.versionId),we=this._objectRequestParams("POST",ye,Pe),Pe.type==="ColdArchive"&&(Te={RestoreRequest:{Days:Pe.Days?Pe.Days:2,JobParameters:{Tier:Pe.JobParameters?Pe.JobParameters:"Standard"}}},we.content=de(Te,{headers:!0}),we.mime="xml"),we.successStatuses=[202],Oe.next=9,this.request(we);case 9:return Ee=Oe.sent,Oe.abrupt("return",{res:Ee.res});case 11:case"end":return Oe.stop()}},Se,this)}));function me(Se){return ve.apply(this,arguments)}return me}(),ge._objectUrl=function(me){return this._getReqUrl({bucket:this.options.bucket,object:me})},ge._objectRequestParams=function(me,Se,ye){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");ye=ye||{},Se=this._objectName(Se);var Pe={object:Se,bucket:this.options.bucket,method:me,subres:ye&&ye.subres,timeout:ye&&ye.timeout,ctx:ye&&ye.ctx};return ye.headers&&(Pe.headers={},ce(ye.headers).to(Pe.headers)),Pe},ge._objectName=function(me){return me.replace(/^\/+/,"")},ge._convertMetaToHeaders=function(me,Se){me&&Object.keys(me).forEach(function(ye){Se["x-oss-meta-".concat(ye)]=me[ye]})},ge._deleteFileSafe=function(me){var Se=this;return new Promise(function(ye){le.exists(me,function(Pe){Pe?le.unlink(me,function(we){we&&Se.debug("unlink %j error: %s",me,we,"error"),ye()}):ye()})})}},{"../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,he,fe){"use strict";fe.version="6.18.1"},{}],7:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.abortBucketWorm=void 0;var le=E("../utils/checkBucketName");function ce(oe,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(re.default.mark(function oe(ne,z){var a,y;return re.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return le.checkBucketName(ne),a=this._bucketRequestParams("DELETE",ne,"worm",z),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()}},oe,this)})),ae.apply(this,arguments)}fe.abortBucketWorm=ce},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.completeBucketWorm=void 0;var le=E("../utils/checkBucketName");function ce(oe,ne,z){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(re.default.mark(function oe(ne,z,a){var y,x;return re.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le.checkBucketName(ne),y=this._bucketRequestParams("POST",ne,{wormId:z},a),ee.next=4,this.request(y);case 4:return x=ee.sent,ee.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return ee.stop()}},oe,this)})),ae.apply(this,arguments)}fe.completeBucketWorm=ce},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.deleteBucketInventory=void 0;var le=E("../utils/checkBucketName");function ce(oe,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(re.default.mark(function oe(ne,z){var a,y,x,b,ee=arguments;return re.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return a=ee.length>2&&ee[2]!==void 0?ee[2]:{},y=Object.assign({inventory:"",inventoryId:z},a.subres),le.checkBucketName(ne),x=this._bucketRequestParams("DELETE",ne,y,a),x.successStatuses=[204],ue.next=7,this.request(x);case 7:return b=ue.sent,ue.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return ue.stop()}},oe,this)})),ae.apply(this,arguments)}fe.deleteBucketInventory=ce},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=fe;ae.deleteBucketLifecycle=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y){var x,b;return re.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return ce(a),x=this._bucketRequestParams("DELETE",a,"lifecycle",y),x.successStatuses=[204],te.next=5,this.request(x);case 5:return b=te.sent,te.abrupt("return",{res:b.res});case 7:case"end":return te.stop()}},z,this)}));function ne(z,a){return oe.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=fe;ae.deleteBucketWebsite=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y){var x,b;return re.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return ce(a),x=this._bucketRequestParams("DELETE",a,"website",y),x.successStatuses=[204],te.next=5,this.request(x);case 5:return b=te.sent,te.abrupt("return",{res:b.res});case 7:case"end":return te.stop()}},z,this)}));function ne(z,a){return oe.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.extendBucketWorm=void 0;var le=E("../utils/checkBucketName"),ce=E("../utils/obj2xml");function ae(ne,z,a,y){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(z,a,y,x){var b,ee,te;return re.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return le.checkBucketName(z),b=this._bucketRequestParams("POST",z,{wormExtend:"",wormId:a},x),ee={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=ce.obj2xml(ee,{headers:!0}),b.successStatuses=[200],de.next=8,this.request(b);case 8:return te=de.sent,de.abrupt("return",{res:te.res,status:te.status});case 10:case"end":return de.stop()}},ne,this)})),oe.apply(this,arguments)}fe.extendBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.getBucketInventory=void 0;var le=E("../utils/checkBucketName"),ce=E("../utils/formatInventoryConfig");function ae(ne,z){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(z,a){var y,x,b,ee,te=arguments;return re.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return y=te.length>2&&te[2]!==void 0?te[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),le.checkBucketName(z),b=this._bucketRequestParams("GET",z,x,y),b.successStatuses=[200],b.xmlResponse=!0,de.next=8,this.request(b);case 8:return ee=de.sent,de.abrupt("return",{status:ee.status,res:ee.res,inventory:ce.formatInventoryConfig(ee.data)});case 10:case"end":return de.stop()}},ne,this)})),oe.apply(this,arguments)}fe.getBucketInventory=ae},{"../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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=E("../utils/isArray"),oe=ae.isArray,ne=E("../utils/formatObjKey"),z=ne.formatObjKey,a=fe;a.getBucketLifecycle=function(){var y=(0,ie.default)(re.default.mark(function b(ee,te){var ue,de,ge;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return ce(ee),ue=this._bucketRequestParams("GET",ee,"lifecycle",te),ue.successStatuses=[200],ue.xmlResponse=!0,me.next=6,this.request(ue);case 6:return de=me.sent,ge=de.data.Rule||null,ge&&(oe(ge)||(ge=[ge]),ge=ge.map(function(Se){return Se.ID&&(Se.id=Se.ID,delete Se.ID),Se.Tag&&!oe(Se.Tag)&&(Se.Tag=[Se.Tag]),z(Se,"firstLowerCase")})),me.abrupt("return",{rules:ge,res:de.res});case 10:case"end":return me.stop()}},b,this)}));function x(b,ee){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=fe;ae.getBucketVersioning=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y){var x,b,ee;return re.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ce(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],ue.next=6,this.request(x);case 6:return b=ue.sent,ee=b.data.Status,ue.abrupt("return",{status:b.status,versionStatus:ee,res:b.res});case 9:case"end":return ue.stop()}},z,this)}));function ne(z,a){return oe.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=E("../utils/isObject"),oe=ae.isObject,ne=fe;ne.getBucketWebsite=function(){var z=(0,ie.default)(re.default.mark(function y(x,b){var ee,te,ue;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ce(x),ee=this._bucketRequestParams("GET",x,"website",b),ee.successStatuses=[200],ee.xmlResponse=!0,ge.next=6,this.request(ee);case 6:return te=ge.sent,ue=[],te.data.RoutingRules&&te.data.RoutingRules.RoutingRule&&(oe(te.data.RoutingRules.RoutingRule)?ue=[te.data.RoutingRules.RoutingRule]:ue=te.data.RoutingRules.RoutingRule),ge.abrupt("return",{index:te.data.IndexDocument&&te.data.IndexDocument.Suffix||"",supportSubDir:te.data.IndexDocument&&te.data.IndexDocument.SupportSubDir||"false",type:te.data.IndexDocument&&te.data.IndexDocument.Type,routingRules:ue,error:te.data.ErrorDocument&&te.data.ErrorDocument.Key||null,res:te.res});case 10:case"end":return ge.stop()}},y,this)}));function a(y,x){return z.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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.getBucketWorm=void 0;var le=E("../utils/checkBucketName"),ce=E("../utils/dataFix");function ae(ne,z){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(z,a){var y,x;return re.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le.checkBucketName(z),y=this._bucketRequestParams("GET",z,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,ee.next=6,this.request(y);case 6:return x=ee.sent,ce.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),ee.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return ee.stop()}},ne,this)})),oe.apply(this,arguments)}fe.getBucketWorm=ae},{"../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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.initiateBucketWorm=void 0;var le=E("../utils/obj2xml"),ce=E("../utils/checkBucketName");function ae(ne,z,a){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(z,a,y){var x,b,ee;return re.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ce.checkBucketName(z),x=this._bucketRequestParams("POST",z,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=le.obj2xml(b,{headers:!0}),x.successStatuses=[200],ue.next=8,this.request(x);case 8:return ee=ue.sent,ue.abrupt("return",{res:ee.res,wormId:ee.res.headers["x-oss-worm-id"],status:ee.status});case 10:case"end":return ue.stop()}},ne,this)})),oe.apply(this,arguments)}fe.initiateBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.listBucketInventory=void 0;var le=E("../utils/checkBucketName"),ce=E("../utils/formatInventoryConfig");function ae(ne){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(z){var a,y,x,b,ee,te,ue,de,ge=arguments;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return a=ge.length>1&&ge[1]!==void 0?ge[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),le.checkBucketName(z),b=this._bucketRequestParams("GET",z,x,a),b.successStatuses=[200],b.xmlResponse=!0,me.next=9,this.request(b);case 9:return ee=me.sent,te=ee.data,ue=ee.res,de=ee.status,me.abrupt("return",{isTruncated:te.IsTruncated==="true",nextContinuationToken:te.NextContinuationToken,inventoryList:ce.formatInventoryConfig(te.InventoryConfiguration,!0),status:de,res:ue});case 12:case"end":return me.stop()}},ne,this)})),oe.apply(this,arguments)}fe.listBucketInventory=ae},{"../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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.putBucketInventory=void 0;var le=E("../utils/checkBucketName"),ce=E("../utils/obj2xml");function ae(ne,z){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(z,a){var y,x,b,ee,te,ue,de,ge,ve,me,Se,ye=arguments;return re.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return y=ye.length>2&&ye[2]!==void 0?ye[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),le.checkBucketName(z),b=a.OSSBucketDestination,ee=a.optionalFields,te=a.includedObjectVersions,ue="acs:oss:::",de="acs:ram::".concat(b.accountId,":role/"),ge={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(de).concat(b.rolename),Bucket:"".concat(ue).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:te,OptionalFields:{Field:(ee==null?void 0:ee.field)||[]}}},ve=ce.obj2xml(ge,{headers:!0,firstUpperCase:!0}),me=this._bucketRequestParams("PUT",z,x,y),me.successStatuses=[200],me.mime="xml",me.content=ve,we.next=14,this.request(me);case 14:return Se=we.sent,we.abrupt("return",{status:Se.status,res:Se.res});case 16:case"end":return we.stop()}},ne,this)})),oe.apply(this,arguments)}fe.putBucketInventory=ae},{"../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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.array.includes.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=E("../utils/isArray"),oe=ae.isArray,ne=E("../utils/deepCopy"),z=ne.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,ee=E("../utils/checkObjectTag"),te=ee.checkObjectTag,ue=E("../utils/getStrBytesCount"),de=ue.getStrBytesCount,ge=fe;ge.putBucketLifecycle=function(){var Pe=(0,ie.default)(re.default.mark(function Te(Ee,_e,Ce){var Oe,Ie,Ue,je,nt;return re.default.wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(ce(Ee),oe(_e)){Qe.next=3;break}throw new Error("rules must be Array");case 3:return Oe=this._bucketRequestParams("PUT",Ee,"lifecycle",Ce),Ie=[],Ue={LifecycleConfiguration:{Rule:Ie}},_e.forEach(function(Xe){ve(Xe),ye(Xe),Xe.id&&(Xe.ID=Xe.id,delete Xe.id),Ie.push(Xe)}),je=b(Ue,{headers:!0,firstUpperCase:!0}),Oe.content=je,Oe.mime="xml",Oe.successStatuses=[200],Qe.next=13,this.request(Oe);case 13:return nt=Qe.sent,Qe.abrupt("return",{res:nt.res});case 15:case"end":return Qe.stop()}},Te,this)}));function we(Te,Ee,_e){return Pe.apply(this,arguments)}return we}();function ve(Pe){Pe.days&&(Pe.expiration={days:Pe.days}),Pe.date&&(Pe.expiration={createdBeforeDate:Pe.date})}function me(Pe,we){var Te=Pe.days,Ee=Pe.createdBeforeDate;if(!Te&&!Ee)throw new Error("".concat(we," must includes days or createdBeforeDate"));if(Te&&!/^[1-9][0-9]*$/.test(Te))throw new Error("days must be a positive integer");if(Ee&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(Ee))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function Se(Pe){if(!oe(Pe)&&!y(Pe))throw new Error("tag must be Object or Array");Pe=y(Pe)?[Pe]:Pe;var we={},Te=z(Pe);Te.forEach(function(Ee){we[Ee.key]=Ee.value}),te(we)}function ye(Pe){if(Pe.id&&de(Pe.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Pe.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Pe.status))throw new Error("Status must be Enabled or Disabled");if(Pe.transition){if(!["IA","Archive"].includes(Pe.transition.storageClass))throw new Error("StorageClass must be IA or Archive");me(Pe.transition,"Transition")}if(Pe.expiration){if(!Pe.expiration.expiredObjectDeleteMarker)me(Pe.expiration,"Expiration");else if(Pe.expiration.days||Pe.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Pe.abortMultipartUpload&&me(Pe.abortMultipartUpload,"AbortMultipartUpload"),!Pe.expiration&&!Pe.abortMultipartUpload&&!Pe.transition&&!Pe.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Pe.tag){if(Pe.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");Se(Pe.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=E("../utils/obj2xml"),oe=ae.obj2xml,ne=fe;ne.putBucketVersioning=function(){var z=(0,ie.default)(re.default.mark(function y(x,b){var ee,te,ue,de,ge=arguments;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(ee=ge.length>2&&ge[2]!==void 0?ge[2]:{},ce(x),["Enabled","Suspended"].includes(b)){me.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return te=this._bucketRequestParams("PUT",x,"versioning",ee),ue={VersioningConfiguration:{Status:b}},te.mime="xml",te.content=oe(ue,{headers:!0}),me.next=10,this.request(te);case 10:return de=me.sent,me.abrupt("return",{res:de.res,status:de.status});case 12:case"end":return me.stop()}},y,this)}));function a(y,x){return z.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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=E("../utils/obj2xml"),oe=ae.obj2xml,ne=E("../utils/isArray"),z=ne.isArray,a=fe;a.putBucketWebsite=function(){var y=(0,ie.default)(re.default.mark(function b(ee){var te,ue,de,ge,ve,me,Se,ye=arguments;return re.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(te=ye.length>1&&ye[1]!==void 0?ye[1]:{},ue=ye.length>2?ye[2]:void 0,ce(ee),de=this._bucketRequestParams("PUT",ee,"website",ue),ge={Suffix:te.index||"index.html"},ve={IndexDocument:ge},me={WebsiteConfiguration:ve},te.supportSubDir&&(ge.SupportSubDir=te.supportSubDir),te.type&&(ge.Type=te.type),te.error&&(ve.ErrorDocument={Key:te.error}),te.routingRules===void 0){we.next=14;break}if(z(te.routingRules)){we.next=13;break}throw new Error("RoutingRules must be Array");case 13:ve.RoutingRules={RoutingRule:te.routingRules};case 14:return me=oe(me),de.content=me,de.mime="xml",de.successStatuses=[200],we.next=20,this.request(de);case 20:return Se=we.sent,we.abrupt("return",{res:Se.res});case 22:case"end":return we.stop()}},b,this)}));function x(b){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(E,he,fe){(function(se){(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"),fe.encodeCallback=function(ie,le){if(ie.headers=ie.headers||{},!Object.prototype.hasOwnProperty.call(ie.headers,"x-oss-callback")&&le.callback){var ce={callbackUrl:encodeURI(le.callback.url),callbackBody:le.callback.body};le.callback.host&&(ce.callbackHost=le.callback.host),le.callback.contentType&&(ce.callbackBodyType=le.callback.contentType);var ae=se.from(JSON.stringify(ce)).toString("base64");if(ie.headers["x-oss-callback"]=ae,le.callback.customValue){var oe={};Object.keys(le.callback.customValue).forEach(function(ne){oe["x:".concat(ne)]=le.callback.customValue[ne].toString()}),ie.headers["x-oss-callback-var"]=se.from(JSON.stringify(oe)).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,he,fe){"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 se=function(z){return z&&z.__esModule?z:{default:z}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.getReqUrl=void 0;var re=se(E("copy-to")),ie=se(E("url")),le=se(E("merge-descriptors")),ce=se(E("is-type-of")),ae=E("../utils/isIP"),oe=E("../utils/checkConfigValid");function ne(z){var a={},y=this.options.cname;oe.checkConfigValid(this.options.endpoint,"endpoint"),re.default(this.options.endpoint,!1).to(a),z.bucket&&!y&&!ae.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(z.bucket,".").concat(a.host));var x="/";z.bucket&&this.options.sldEnable&&(x+="".concat(z.bucket,"/")),z.object&&(x+=this._escape(z.object).replace(/\+/g,"%2B")),a.pathname=x;var b={};if(z.query&&le.default(b,z.query),z.subres){var ee={};ce.default.string(z.subres)?ee[z.subres]="":ce.default.array(z.subres)?z.subres.forEach(function(te){ee[te]=""}):ee=z.subres,le.default(b,ee)}return a.query=b,ie.default.format(a)}fe.getReqUrl=ne},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(E,he,fe){"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 se=E("humanize-ms"),re=E("url"),ie=E("../utils/checkBucketName"),le=ie.checkBucketName,ce=E("../utils/setRegion"),ae=ce.setRegion,oe=E("../utils/checkConfigValid"),ne=oe.checkConfigValid;function z(a,y){ne(a,"endpoint");var x=re.parse(a);if(x.protocol||(x=re.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}he.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&&le(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=se(y.timeout)),y.endpoint)y.endpoint=z(y.endpoint,y.secure);else if(y.region)y.endpoint=ae(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,he,fe){"use strict";var se=E("merge-descriptors"),re=fe;se(re,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=E("querystring"),oe=E("js-base64"),ne=oe.Base64.encode,z=fe;z.processObjectSave=function(){var y=(0,ie.default)(re.default.mark(function b(ee,te,ue,de){var ge,ve,me,Se;return re.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return a(ee,"sourceObject"),a(te,"targetObject"),a(ue,"process"),te=this._objectName(te),de&&ce(de),ge=this._objectRequestParams("POST",ee,{subres:"x-oss-process"}),ve=de?",b_".concat(ne(de)):"",te=ne(te),me={"x-oss-process":"".concat(ue,"|sys/saveas,o_").concat(te).concat(ve)},ge.content=ae.stringify(me),Pe.next=12,this.request(ge);case 12:return Se=Pe.sent,Pe.abrupt("return",{res:Se.res,status:Se.res.status});case 14:case"end":return Pe.stop()}},b,this)}));function x(b,ee,te,ue){return y.apply(this,arguments)}return x}();function a(y,x){if(!y)throw new Error("".concat(x," is required"));if(typeof y!="string")throw new Error("".concat(x," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.regexp.to-string.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("debug")("ali-oss:multipart-copy"),ce=E("copy-to"),ae=fe;ae.uploadPartCopy=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y,x,b,ee){var te,ue,de,ge,ve,me=arguments;return re.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return te=me.length>5&&me[5]!==void 0?me[5]:{},te.headers=te.headers||{},ue=te.versionId||te.subres&&te.subres.versionId||null,ue?de="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey),"?versionId=").concat(ue):de="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey)),te.headers["x-oss-copy-source"]=de,b&&(te.headers["x-oss-copy-source-range"]="bytes=".concat(b)),te.subres={partNumber:x,uploadId:y},ge=this._objectRequestParams("PUT",a,te),ge.mime=te.mime,ge.successStatuses=[200],ye.next=12,this.request(ge);case 12:return ve=ye.sent,ye.abrupt("return",{name:a,etag:ve.res.headers.etag,res:ve.res});case 14:case"end":return ye.stop()}},z,this)}));function ne(z,a,y,x,b){return oe.apply(this,arguments)}return ne}(),ae.multipartUploadCopy=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y){var x,b,ee,te,ue,de,ge,ve,me,Se,ye,Pe,we=arguments;return re.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return x=we.length>2&&we[2]!==void 0?we[2]:{},this.resetCancelFlag(),b=x.versionId,ee=b===void 0?null:b,te={versionId:ee},Ee.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,te);case 6:if(ue=Ee.sent,de=ue.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||de,!(x.checkpoint&&x.checkpoint.uploadId)){Ee.next=14;break}return Ee.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return Ee.abrupt("return",Ee.sent);case 14:if(ge=102400,ve=y.endOffset-y.startOffset,!(ve0)){Qe.next=40;break}throw nt=Ue[0],nt.message="Failed to copy some parts with error: ".concat(nt.toString()," part_num: ").concat(nt.partNum),nt;case 40:return Qe.next=42,this.completeMultipartUpload(me,ge,ve,x);case 42:return Qe.abrupt("return",Qe.sent);case 43:case"end":return Qe.stop()}},z,this)}));function ne(z,a,y){return oe.apply(this,arguments)}return ne}(),ae._divideMultipartCopyParts=function(ne,z,a){for(var y=Math.ceil(ne/z),x=[],b=0;b `,Pe=0;Pe `,ye+="".concat(we.number,` `),ye+="".concat(we.etag,` `),ye+=` `;return ye+="",me=me||{},Te={},Te=ne(me,function(Ue){if(a(Ue))return null}),Te.subres={uploadId:ge},Te.headers=x(Te.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ee=this._objectRequestParams("POST",de,Te),ae.encodeCallback(Ee,Te),Ee.mime="xml",Ee.content=ye,Ee.headers&&Ee.headers["x-oss-callback"]||(Ee.xmlResponse=!0),Ee.successStatuses=[200],Ie.next=17,this.request(Ee);case 17:if(_e=Ie.sent,!me.progress){Ie.next=21;break}return Ie.next=21,me.progress(1,null,_e.res);case 21:return Ce={res:_e.res,bucket:Ee.bucket,name:de,etag:_e.res.headers.etag},Ee.headers&&Ee.headers["x-oss-callback"]&&(Ce.data=JSON.parse(_e.data.toString())),Ie.abrupt("return",Ce);case 24:case"end":return Ie.stop()}},ue,this)}));function te(ue,de,ge,ve){return ee.apply(this,arguments)}return te}(),b._uploadPart=function(){var ee=(0,le.default)(ie.default.mark(function ue(de,ge,ve,me,Se){var ye,Pe,we,Te;return ie.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return Se=Se||{},ye={},ce(Se).to(ye),ye.headers=ye.headers||{},ye.headers["Content-Length"]=me.size,ye.headers=x(ye.headers,["x-oss-server-side-encryption"]),ye.subres={partNumber:ve,uploadId:ge},Pe=this._objectRequestParams("PUT",de,ye),Pe.mime=ye.mime,we=se&&se.browser,we?Pe.content=me.content:Pe.stream=me.stream,Pe.successStatuses=[200],Pe.disabledMD5=Se.disabledMD5,_e.next=15,this.request(Pe);case 15:if(Te=_e.sent,Te.res.headers.etag){_e.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 me.stream&&(me.stream=null,Pe.stream=null),_e.abrupt("return",{name:de,etag:Te.res.headers.etag,res:Te.res});case 20:case"end":return _e.stop()}},ue,this)}));function te(ue,de,ge,ve,me){return ee.apply(this,arguments)}return te}()}).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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("url"),ce=E("utility"),ae=E("copy-to"),oe=E("../../common/signUtils"),ne=E("../utils/isIP"),z=ne.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,ee=fe;ee.asyncSignatureUrl=function(){var te=(0,ie.default)(re.default.mark(function de(ge,ve){var me,Se,ye,Pe,we;return re.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:if(!z(this.options.endpoint.hostname)){Ee.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(ve=ve||{},ge=this._objectName(ge),ve.method=ve.method||"GET",me=ce.timestamp()+(ve.expires||1800),Se={bucket:this.options.bucket,object:ge},ye=this._getResource(Se),!(this.options.stsToken&&b(this.options.refreshSTSToken))){Ee.next=11;break}return Ee.next=11,y.call(this);case 11:return this.options.stsToken&&(ve["security-token"]=this.options.stsToken),Pe=oe._signatureForURL(this.options.accessKeySecret,ve,ye,me),we=le.parse(this._getReqUrl(Se)),we.query={OSSAccessKeyId:this.options.accessKeyId,Expires:me,Signature:Pe.Signature},ae(Pe.subResource).to(we.query),Ee.abrupt("return",we.format());case 17:case"end":return Ee.stop()}},de,this)}));function ue(de,ge){return te.apply(this,arguments)}return ue}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var ie=se(E("@babel/runtime/helpers/typeof")),le=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ae=ce.checkBucketName,oe=fe,ne=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];oe.copy=function(){var z=(0,le.default)(re.default.mark(function y(x,b,ee,te){var ue,de,ge;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return(0,ie.default)(ee)==="object"&&(te=ee),te=te||{},te.headers=te.headers||{},Object.keys(te.headers).forEach(function(Se){te.headers["x-oss-copy-source-".concat(Se.toLowerCase())]=te.headers[Se]}),(te.meta||Object.keys(te.headers).find(function(Se){return ne.includes(Se.toLowerCase())}))&&(te.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(te.meta,te.headers),b=this._getSourceName(b,ee),te.versionId&&(b="".concat(b,"?versionId=").concat(te.versionId)),te.headers["x-oss-copy-source"]=b,ue=this._objectRequestParams("PUT",x,te),ue.xmlResponse=!0,ue.successStatuses=[200,304],me.next=14,this.request(ue);case 14:return de=me.sent,ge=de.data,ge&&(ge={etag:ge.ETag,lastModified:ge.LastModified}),me.abrupt("return",{data:ge,res:de.res});case 18:case"end":return me.stop()}},y,this)}));function a(y,x,b,ee){return z.apply(this,arguments)}return a}(),oe._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")),ae(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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=fe;le.delete=function(){var ce=(0,ie.default)(re.default.mark(function oe(ne){var z,a,y,x=arguments;return re.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return z=x.length>1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({},z.subres),z.versionId&&(z.subres.versionId=z.versionId),a=this._objectRequestParams("DELETE",ne,z),a.successStatuses=[204],ee.next=7,this.request(a);case 7:return y=ee.sent,ee.abrupt("return",{res:y.res});case 9:case"end":return ee.stop()}},oe,this)}));function ae(oe){return ce.apply(this,arguments)}return ae}()},{"@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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("utility"),ce=E("../utils/obj2xml"),ae=ce.obj2xml,oe=fe;oe.deleteMulti=function(){var ne=(0,ie.default)(re.default.mark(function a(y){var x,b,ee,te,ue,de,ge,ve,me,Se,ye,Pe,we,Te=arguments;return re.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(x=Te.length>1&&Te[1]!==void 0?Te[1]:{},b=[],!(!y||!y.length)){_e.next=4;break}throw new Error("names is required");case 4:for(ee=0;ee1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({tagging:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),ne=this._objectName(ne),a=this._objectRequestParams("DELETE",ne,z),a.successStatuses=[204],ee.next=8,this.request(a);case 8:return y=ee.sent,ee.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return ee.stop()}},oe,this)}));function ae(oe){return ce.apply(this,arguments)}return ae}()},{"@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,he,fe){"use strict";E("core-js/modules/es.array.concat.js");var se=E("url"),re=E("../utils/isIP"),ie=re.isIP,le=fe;le.generateObjectUrl=function(ae,oe){if(ie(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(oe)oe[oe.length-1]!=="/"&&(oe+="/");else{oe=this.options.endpoint.format();var ne=se.parse(oe),z=this.options.bucket;ne.hostname="".concat(z,".").concat(ne.hostname),ne.host="".concat(z,".").concat(ne.host),oe=ne.format()}return oe+this._escape(this._objectName(ae))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,he,fe){(function(se){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),ie=re(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var le=re(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("fs"),ae=E("is-type-of"),oe=fe;oe.get=function(){var ne=(0,le.default)(ie.default.mark(function a(y,x){var b,ee,te,ue,de,ge,ve,me,Se=arguments;return ie.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return b=Se.length>2&&Se[2]!==void 0?Se[2]:{},ee=null,te=!1,ae.writableStream(x)?ee=x:ae.string(x)?(ee=ce.createWriteStream(x),te=!0):b=x,b=b||{},ue=se&&se.browser,de=b.responseCacheControl===null?"":"no-cache",ge=ue&&de?{"response-cache-control":de}:{},b.subres=Object.assign(ge,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),Pe.prev=11,me=this._objectRequestParams("GET",y,b),me.writeStream=ee,me.successStatuses=[200,206,304],Pe.next=17,this.request(me);case 17:ve=Pe.sent,te&&ee.destroy(),Pe.next=28;break;case 21:if(Pe.prev=21,Pe.t0=Pe.catch(11),!te){Pe.next=27;break}return ee.destroy(),Pe.next=27,this._deleteFileSafe(x);case 27:throw Pe.t0;case 28:return Pe.abrupt("return",{res:ve.res,content:ve.data});case 29:case"end":return Pe.stop()}},a,this,[[11,21]])}));function z(a,y){return ne.apply(this,arguments)}return z}()}).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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=fe;le.getACL=function(){var ce=(0,ie.default)(re.default.mark(function oe(ne){var z,a,y,x=arguments;return re.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return z=x.length>1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({acl:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),ne=this._objectName(ne),a=this._objectRequestParams("GET",ne,z),a.successStatuses=[200],a.xmlResponse=!0,ee.next=9,this.request(a);case 9:return y=ee.sent,ee.abrupt("return",{acl:y.data.AccessControlList.Grant,owner:{id:y.data.Owner.ID,displayName:y.data.Owner.DisplayName},res:y.res});case 11:case"end":return ee.stop()}},oe,this)}));function ae(oe){return ce.apply(this,arguments)}return ae}()},{"@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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=fe,ce=E("../utils/isObject"),ae=ce.isObject,oe=E("../utils/isArray"),ne=oe.isArray;le.getBucketVersions=z,le.listObjectVersions=z;function z(){return a.apply(this,arguments)}function a(){return a=(0,ie.default)(re.default.mark(function b(){var ee,te,ue,de,ge,ve,me,Se,ye=arguments;return re.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(ee=ye.length>0&&ye[0]!==void 0?ye[0]:{},te=ye.length>1&&ye[1]!==void 0?ye[1]:{},!(ee.versionIdMarker&&ee.keyMarker===void 0)){we.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return te.subres=Object.assign({versions:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),ue=this._objectRequestParams("GET","",te),ue.xmlResponse=!0,ue.successStatuses=[200],ue.query=x(ee),we.next=12,this.request(ue);case 12:return de=we.sent,ge=de.data.Version||[],ve=de.data.DeleteMarker||[],me=this,ge&&(Array.isArray(ge)||(ge=[ge]),ge=ge.map(function(Te){return{name:Te.Key,url:me._objectUrl(Te.Key),lastModified:Te.LastModified,isLatest:Te.IsLatest==="true",versionId:Te.VersionId,etag:Te.ETag,type:Te.Type,size:Number(Te.Size),storageClass:Te.StorageClass,owner:{id:Te.Owner.ID,displayName:Te.Owner.DisplayName}}})),ve&&(ne(ve)||(ve=[ve]),ve=ve.map(function(Te){return{name:Te.Key,lastModified:Te.LastModified,versionId:Te.VersionId,owner:{id:Te.Owner.ID,displayName:Te.Owner.DisplayName}}})),Se=de.data.CommonPrefixes||null,Se&&(ne(Se)||(Se=[Se]),Se=Se.map(function(Te){return Te.Prefix})),we.abrupt("return",{res:de.res,objects:ge,deleteMarker:ve,prefixes:Se,nextMarker:de.data.NextKeyMarker||null,NextVersionIdMarker:de.data.NextVersionIdMarker||null,nextKeyMarker:de.data.NextKeyMarker||null,nextVersionIdMarker:de.data.NextVersionIdMarker||null,isTruncated:de.data.IsTruncated==="true"});case 21:case"end":return we.stop()}},b,this)})),a.apply(this,arguments)}function y(b){return b.replace(/([A-Z])/g,"-$1").toLowerCase()}function x(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ee={};return ae(b)&&Object.keys(b).forEach(function(te){ee[y(te)]=b[te]}),ee}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=fe;le.getObjectMeta=function(){var ce=(0,ie.default)(re.default.mark(function oe(ne,z){var a,y;return re.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return z=z||{},ne=this._objectName(ne),z.subres=Object.assign({objectMeta:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),a=this._objectRequestParams("HEAD",ne,z),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()}},oe,this)}));function ae(oe,ne){return ce.apply(this,arguments)}return ae}()},{"@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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=fe,ce=E("../utils/isObject"),ae=ce.isObject;le.getObjectTagging=function(){var oe=(0,ie.default)(re.default.mark(function z(a){var y,x,b,ee,te,ue,de=arguments;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return y=de.length>1&&de[1]!==void 0?de[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 ee=ve.sent,te=ee.TagSet.Tag,te=te&&ae(te)?[te]:te||[],ue={},te.forEach(function(me){ue[me.Key]=me.Value}),ve.abrupt("return",{status:b.status,res:b.res,tag:ue});case 17:case"end":return ve.stop()}},z,this)}));function ne(z){return oe.apply(this,arguments)}return ne}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(E,he,fe){"use strict";var se=E("../utils/isIP"),re=se.isIP,ie=fe;ie.getObjectUrl=function(ce,ae){if(re(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return ae?ae[ae.length-1]!=="/"&&(ae+="/"):ae=this.options.endpoint.format(),ae+this._escape(this._objectName(ce))}},{"../utils/isIP":69}],43:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=fe;le.getSymlink=function(){var ce=(0,ie.default)(re.default.mark(function oe(ne){var z,a,y,x,b=arguments;return re.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return z=b.length>1&&b[1]!==void 0?b[1]:{},z.subres=Object.assign({symlink:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),ne=this._objectName(ne),a=this._objectRequestParams("GET",ne,z),a.successStatuses=[200],te.next=8,this.request(a);case 8:return y=te.sent,x=y.res.headers["x-oss-symlink-target"],te.abrupt("return",{targetName:decodeURIComponent(x),res:y.res});case 11:case"end":return te.stop()}},oe,this)}));function ae(oe){return ce.apply(this,arguments)}return ae}()},{"@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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkEnv"),ce=le.checkEnv,ae=fe;ae.head=function(){var oe=(0,ie.default)(re.default.mark(function z(a){var y,x,b,ee,te=arguments;return re.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return y=te.length>1&&te[1]!==void 0?te[1]:{},ce("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),y.subres=Object.assign({},y.subres),y.versionId&&(y.subres.versionId=y.versionId),x=this._objectRequestParams("HEAD",a,y),x.successStatuses=[200,304],de.next=8,this.request(x);case 8:return b=de.sent,ee={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(ge){ge.indexOf("x-oss-meta-")===0&&(ee.meta||(ee.meta={}),ee.meta[ge.substring(11)]=b.headers[ge])}),de.abrupt("return",ee);case 12:case"end":return de.stop()}},z,this)}));function ne(z){return oe.apply(this,arguments)}return ne}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=fe;le.putACL=function(){var ce=(0,ie.default)(re.default.mark(function oe(ne,z,a){var y,x;return re.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return a=a||{},a.subres=Object.assign({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.headers=a.headers||{},a.headers["x-oss-object-acl"]=z,ne=this._objectName(ne),y=this._objectRequestParams("PUT",ne,a),y.successStatuses=[200],ee.next=10,this.request(y);case 10:return x=ee.sent,ee.abrupt("return",{res:x.res});case 12:case"end":return ee.stop()}},oe,this)}));function ae(oe,ne,z){return ce.apply(this,arguments)}return ae}()},{"@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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.object.keys.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/obj2xml"),ce=le.obj2xml,ae=E("../utils/checkObjectTag"),oe=ae.checkObjectTag,ne=fe;ne.putObjectTagging=function(){var z=(0,ie.default)(re.default.mark(function y(x,b){var ee,te,ue,de,ge=arguments;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return ee=ge.length>2&&ge[2]!==void 0?ge[2]:{},oe(b),ee.subres=Object.assign({tagging:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),x=this._objectName(x),te=this._objectRequestParams("PUT",x,ee),te.successStatuses=[200],b=Object.keys(b).map(function(Se){return{Key:Se,Value:b[Se]}}),ue={Tagging:{TagSet:{Tag:b}}},te.mime="xml",te.content=ce(ue),me.next=13,this.request(te);case 13:return de=me.sent,me.abrupt("return",{res:de.res,status:de.status});case 15:case"end":return me.stop()}},y,this)}));function a(y,x){return z.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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=fe;le.putSymlink=function(){var ce=(0,ie.default)(re.default.mark(function oe(ne,z,a){var y,x;return re.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return a=a||{},a.headers=a.headers||{},z=this._escape(this._objectName(z)),this._convertMetaToHeaders(a.meta,a.headers),a.headers["x-oss-symlink-target"]=z,a.subres=Object.assign({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.storageClass&&(a.headers["x-oss-storage-class"]=a.storageClass),ne=this._objectName(ne),y=this._objectRequestParams("PUT",ne,a),y.successStatuses=[200],ee.next=13,this.request(y);case 13:return x=ee.sent,ee.abrupt("return",{res:x.res});case 15:case"end":return ee.stop()}},oe,this)}));function ae(oe,ne,z){return ce.apply(this,arguments)}return ae}()},{"@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,he,fe){"use strict";var se=E("url"),re=E("utility"),ie=E("copy-to"),le=E("../../common/signUtils"),ce=E("../utils/isIP"),ae=ce.isIP,oe=fe;oe.signatureUrl=function(z,a){if(ae(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},z=this._objectName(z),a.method=a.method||"GET";var y=re.timestamp()+(a.expires||1800),x={bucket:this.options.bucket,object:z},b=this._getResource(x);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var ee=le._signatureForURL(this.options.accessKeySecret,a,b,y),te=se.parse(this._getReqUrl(x));return te.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:ee.Signature},ie(ee.subResource).to(te.query),te.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.function.name.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("./utils/isArray"),ce=le.isArray,ae=fe;ae._parallelNode=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y,x,b){var ee,te,ue,de,ge,ve,me,Se;return re.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:ee=this,te=[],ue=[],de=a.length/y,ge=a.length%y,ve=ge===0?de:(a.length-ge)/y+1,me=1,Se=0;case 8:if(!(Se0){de=!0,ge<=0&&x(b);return}ge+=1,Se(Pe.value,ee(me))}ve=!1}ye()})},ae.cancel=function(ne){this.options.cancelFlag=!0,ce(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(z){if(z.destroyed===!1){var a={name:"cancel",message:"cancel"};z.destroy(a)}}),this.multipartUploadStreams=[],ne&&this.abortMultipartUpload(ne.name,ne.uploadId,ne.options)},ae.isCancel=function(){return this.options.cancelFlag},ae.resetCancelFlag=function(){this.options.cancelFlag=!1},ae._stop=function(){this.options.cancelFlag=!0},ae._makeCancelEvent=function(){var ne={status:0,name:"cancel"};return ne},ae._makeAbortEvent=function(){var ne={status:0,name:"abort",message:"upload task has been abort"};return ne}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(E,he,fe){(function(se){(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 re=E("./../../shims/crypto/crypto.js"),ie=E("is-type-of"),le=E("./utils/lowercaseKeyHeader"),ce=le.lowercaseKeyHeader;fe.buildCanonicalizedResource=function(oe,ne){var z="".concat(oe),a="?";if(ie.string(ne)&&ne.trim()!=="")z+=a+ne;else if(ie.array(ne))ne.sort(),z+=a+ne.join("&");else if(ne){var y=function(ee,te){return ee[0]>te[0]?1:ee[0]2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=re.createHmac("sha1",oe);return a.update(se.from(ne,z)).digest("base64")},fe.authorization=function(oe,ne,z,a){return"OSS ".concat(oe,":").concat(this.computeSignature(ne,z,a))},fe._signatureForURL=function(oe){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},z=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,y=arguments.length>4?arguments[4]:void 0,x={},b=ne.subResource,ee=b===void 0?{}:b;if(ne.process){var te="x-oss-process";ee[te]=ne.process}if(ne.trafficLimit){var ue="x-oss-traffic-limit";ee[ue]=ne.trafficLimit}if(ne.response&&Object.keys(ne.response).forEach(function(me){var Se="response-".concat(me.toLowerCase());ee[Se]=ne.response[me]}),Object.keys(ne).forEach(function(me){var Se=me.toLowerCase(),ye=ne[me];Se.indexOf("x-oss-")===0?x[Se]=ye:(Se.indexOf("content-md5")===0||Se.indexOf("content-type")===0)&&(x[me]=ye)}),Object.prototype.hasOwnProperty.call(ne,"security-token")&&(ee["security-token"]=ne["security-token"]),Object.prototype.hasOwnProperty.call(ne,"callback")){var de={callbackUrl:encodeURI(ne.callback.url),callbackBody:ne.callback.body};if(ne.callback.host&&(de.callbackHost=ne.callback.host),ne.callback.contentType&&(de.callbackBodyType=ne.callback.contentType),ee.callback=se.from(JSON.stringify(de)).toString("base64"),ne.callback.customValue){var ge={};Object.keys(ne.callback.customValue).forEach(function(me){ge["x:".concat(me)]=ne.callback.customValue[me]}),ee["callback-var"]=se.from(JSON.stringify(ge)).toString("base64")}}var ve=this.buildCanonicalString(ne.method,z,{headers:x,parameters:ee},a.toString());return{Signature:this.computeSignature(oe,ve,y),subResource:ee}}}).call(this)}).call(this,E("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(E,he,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkBucketName=void 0,fe.checkBucketName=function(se){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ie=re?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!ie.test(se))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,he,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkConfigValid=void 0;var se={endpoint:re,region:/^[a-zA-Z0-9\-_]+$/};function re(ie){return typeof ie=="string"?/^[a-zA-Z0-9._:/-]+$/.test(ie):ie.host?/^[a-zA-Z0-9._:/-]+$/.test(ie.host):!1}fe.checkConfigValid=function(ie,le){if(se[le]){var ce=!0;if(se[le]instanceof Function?ce=se[le](ie):ce=se[le].test(ie),!ce)throw new Error("The ".concat(le," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,he,fe){(function(se){(function(){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkEnv=void 0;function re(ie){se.browser&&console.warn(ie)}fe.checkEnv=re}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,he,fe){"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(fe,"__esModule",{value:!0}),fe.checkObjectTag=void 0;var se=E("./checkValid"),re=se.checkValid,ie=E("./isObject"),le=ie.isObject,ce=[{validator:function(z){if(typeof z!="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 (/)"}],ae={key:[].concat(ce,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(ce,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function oe(ne){if(!le(ne))throw new Error("tag must be Object");var z=Object.entries(ne);if(z.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];z.forEach(function(y){y.forEach(function(x,b){re(x,ae[a[b]])})})}fe.checkObjectTag=oe},{"./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,he,fe){"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(fe,"__esModule",{value:!0}),fe.checkValid=void 0;function se(re,ie){ie.forEach(function(le){if(le.validator)le.validator(re);else if(le.pattern&&!le.pattern.test(re))throw new Error(le.msg)})}fe.checkValid=se},{"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,he,fe){(function(se){(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(fe,"__esModule",{value:!0}),fe.createRequest=void 0;var re=E("./../../../shims/crypto/crypto.js"),ie=E("debug")("ali-oss"),le=E("mime"),ce=E("dateformat"),ae=E("copy-to"),oe=E("path"),ne=E("./encoder"),z=ne.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,ee=E("../client/getReqUrl"),te=ee.getReqUrl,ue=E("./isDingTalk"),de=ue.isDingTalk;function ge(Se,ye){return Se[ye]||Se[ye.toLowerCase()]}function ve(Se,ye){delete Se[ye],delete Se[ye.toLowerCase()]}function me(Se){var ye=new Date;this.options.amendTimeSkewed&&(ye=+new Date+this.options.amendTimeSkewed);var Pe={"x-oss-date":ce(ye,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Pe["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Pe["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Pe,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Pe["x-oss-security-token"]=this.options.stsToken),ae(Se.headers).to(Pe),ge(Pe,"Content-Type")||(Se.mime&&Se.mime.indexOf("/")>0?Pe["Content-Type"]=Se.mime:de()?Pe["Content-Type"]="application/octet-stream":Pe["Content-Type"]=le.getType(Se.mime||oe.extname(Se.object||""))),ge(Pe,"Content-Type")||ve(Pe,"Content-Type"),Se.content&&(Se.disabledMD5||(!Se.headers||!Se.headers["Content-MD5"]?Pe["Content-MD5"]=re.createHash("md5").update(se.from(Se.content,"utf8")).digest("base64"):Pe["Content-MD5"]=Se.headers["Content-MD5"]),Pe["Content-Length"]||(Pe["Content-Length"]=Se.content.length));var we=Object.prototype.hasOwnProperty;for(var Te in Pe)Pe[Te]&&we.call(Pe,Te)&&(Pe[Te]=z(String(Pe[Te]),this.options.headerEncoding));var Ee=this._getResource(Se);if(Pe.authorization=this.authorization(Se.method,Ee,Se.subres,Pe,this.options.headerEncoding),y(this.options.endpoint.hostname)){var _e=this.options,Ce=_e.region,Oe=_e.internal,Ie=_e.secure,Ue=b(Ce,Oe,Ie);Pe.host="".concat(Se.bucket,".").concat(Ue.host)}var je=te.bind(this)(Se);ie("request %s %s, with headers %j, !!stream: %s",Se.method,je,Pe,!!Se.stream);var nt=Se.timeout||this.options.timeout,Je={method:Se.method,content:Se.content,stream:Se.stream,headers:Pe,timeout:nt,writeStream:Se.writeStream,customResponse:Se.customResponse,ctx:Se.ctx||this.ctx};return this.agent&&(Je.agent=this.agent),this.httpsAgent&&(Je.httpsAgent=this.httpsAgent),Je.enableProxy=!!this.options.enableProxy,Je.proxy=this.options.proxy?this.options.proxy:null,{url:je,params:Je}}fe.createRequest=me}).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,he,fe){"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(fe,"__esModule",{value:!0}),fe.dataFix=void 0;var se=E("./isObject"),re=["true","TRUE","1",1],ie=["false","FALSE","0",0];function le(oe,ne,z){if(se.isObject(oe)){var a=ne.remove,y=a===void 0?[]:a,x=ne.rename,b=x===void 0?{}:x,ee=ne.camel,te=ee===void 0?[]:ee,ue=ne.bool,de=ue===void 0?[]:ue,ge=ne.lowerFirst,ve=ge===void 0?!1:ge;return y.forEach(function(me){return delete oe[me]}),Object.entries(b).forEach(function(me){oe[me[0]]&&(oe[me[1]]||(oe[me[1]]=oe[me[0]],delete oe[me[0]]))}),te.forEach(function(me){if(oe[me]){var Se=me.replace(/^(.)/,function(ye){return ye.toLowerCase()}).replace(/-(\w)/g,function(ye,Pe){return Pe.toUpperCase()});oe[Se]||(oe[Se]=oe[me])}}),de.forEach(function(me){oe[me]=ce(oe[me])}),typeof z=="function"&&z(oe),ae(oe,ve),le}}fe.dataFix=le;function ce(oe){return oe?re.includes(oe)?!0:ie.includes(oe)?!1:oe:!1}function ae(oe,ne){ne&&Object.keys(oe).forEach(function(z){var a=z.replace(/^\w/,function(y){return y.toLowerCase()});typeof oe[a]=="undefined"&&(oe[a]=oe[z],delete oe[z])})}},{"./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,he,fe){"use strict";var se=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 re=se(E("@babel/runtime/helpers/typeof"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.deepCopyWith=fe.deepCopy=void 0;var ie=E("./isBuffer");fe.deepCopy=function(le){if(le===null||(0,re.default)(le)!=="object")return le;if(ie.isBuffer(le))return le.slice();var ce=Array.isArray(le)?[]:{};return Object.keys(le).forEach(function(ae){ce[ae]=fe.deepCopy(le[ae])}),ce},fe.deepCopyWith=function(le,ce){function ae(oe,ne,z){var a=ce(oe,ne,z);if(a!==void 0)return a;if(oe===null||(0,re.default)(oe)!=="object")return oe;if(ie.isBuffer(oe))return oe.slice();var y=Array.isArray(oe)?[]:{};return Object.keys(oe).forEach(function(x){y[x]=ae(oe[x],x,oe)}),y}return ce?ae(le,"",null):fe.deepCopy(le)}},{"./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,he,fe){(function(se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.encoder=void 0;function re(ie){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return le==="utf-8"?ie:se.from(ie).toString("latin1")}fe.encoder=re}).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,he,fe){"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(fe,"__esModule",{value:!0}),fe.formatInventoryConfig=void 0;var se=E("../utils/dataFix"),re=E("../utils/isObject"),ie=E("../utils/isArray"),le=E("../utils/formatObjKey");function ce(oe){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ne&&re.isObject(oe)&&(oe=[oe]),ie.isArray(oe)?oe=oe.map(ae):oe=ae(oe),oe}fe.formatInventoryConfig=ce;function ae(oe){return se.dataFix(oe,{bool:["IsEnabled"]},function(ne){var z,a;ne.prefix=ne.Filter.Prefix,delete ne.Filter,ne.OSSBucketDestination=ne.Destination.OSSBucketDestination,ne.OSSBucketDestination.rolename=ne.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete ne.OSSBucketDestination.RoleArn,ne.OSSBucketDestination.bucket=ne.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete ne.OSSBucketDestination.Bucket,delete ne.Destination,ne.frequency=ne.Schedule.Frequency,delete ne.Schedule.Frequency,!((z=ne==null?void 0:ne.OptionalFields)===null||z===void 0)&&z.Field&&!ie.isArray((a=ne.OptionalFields)===null||a===void 0?void 0:a.Field)&&(ne.OptionalFields.Field=[ne.OptionalFields.Field])}),oe=le.formatObjKey(oe,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),oe}},{"../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,he,fe){"use strict";var se=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 re=se(E("@babel/runtime/helpers/typeof"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.formatObjKey=void 0;function ie(ce,ae,oe){if(ce===null||(0,re.default)(ce)!=="object")return ce;var ne;if(Array.isArray(ce)){ne=[];for(var z=0;z `),ce&&ce.firstUpperCase&&(le=se.formatObjKey(le,"firstUpperCase")),re(le)==="object"?Object.keys(le).forEach(function(oe){re(le[oe])!=="undefined"&&re(le[oe])!=="null"&&(re(le[oe])==="string"||re(le[oe])==="number"?ae+="<".concat(oe,">").concat(le[oe],""):re(le[oe])==="object"?ae+="<".concat(oe,">").concat(ie(le[oe]),""):re(le[oe])==="array"?ae+=le[oe].map(function(ne){return"<".concat(oe,">").concat(ie(ne),"")}).join(""):ae+="<".concat(oe,">").concat(le[oe].toString(),""))}):ae+=le.toString(),ae}fe.obj2xml=ie},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(E,he,fe){"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 se(ce,ae){var oe=typeof Symbol!="undefined"&&ce[Symbol.iterator]||ce["@@iterator"];if(!oe){if(Array.isArray(ce)||(oe=re(ce))||ae&&ce&&typeof ce.length=="number"){oe&&(ce=oe);var ne=0,z=function(){};return{s:z,n:function(){return ne>=ce.length?{done:!0}:{done:!1,value:ce[ne++]}},e:function(ee){throw ee},f:z}}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(){oe=oe.call(ce)},n:function(){var ee=oe.next();return a=ee.done,ee},e:function(ee){y=!0,x=ee},f:function(){try{!a&&oe.return!=null&&oe.return()}finally{if(y)throw x}}}}function re(ce,ae){if(ce){if(typeof ce=="string")return ie(ce,ae);var oe=Object.prototype.toString.call(ce).slice(8,-1);if(oe==="Object"&&ce.constructor&&(oe=ce.constructor.name),oe==="Map"||oe==="Set")return Array.from(ce);if(oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(oe))return ie(ce,ae)}}function ie(ce,ae){(ae==null||ae>ce.length)&&(ae=ce.length);for(var oe=0,ne=new Array(ae);oe2&&arguments[2]!==void 0?arguments[2]:{},ce=0,ae=le.retryDelay,oe=ae===void 0?500:ae,ne=le.errorHandler,z=ne===void 0?function(){return!0}:ne,a=function y(){for(var x=arguments.length,b=new Array(x),ee=0;ee1&&arguments[1]!==void 0?arguments[1]:!1,oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ie.checkConfigValid(ce,"region");var ne=oe?"https://":"http://",z=ae?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return ce.substr(0,a.length)===a&&(z=".aliyuncs.com"),re.default.parse(ne+ce+z)}fe.setRegion=le},{"./checkConfigValid":52,url:472}],76:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkCredentials=fe.setSTSToken=void 0;var le=E("./formatObjKey");function ce(){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(re.default.mark(function ne(){var z,a;return re.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),z=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+z-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=z,x.next=7,this.options.refreshSTSToken();case 7:a=x.sent,a=le.formatObjKey(a,"firstLowerCase"),a.securityToken&&(a.stsToken=a.securityToken),oe(a),Object.assign(this.options,a);case 12:x.next=15;break;case 14:this.stsTokenFreshTime=z;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},ne,this)})),ae.apply(this,arguments)}fe.setSTSToken=ce;function oe(ne){var z=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(ne);z.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}fe.checkCredentials=oe},{"./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,he,fe){function se(ie,le,ce,ae,oe,ne,z){try{var a=ie[ne](z),y=a.value}catch(x){ce(x);return}a.done?le(y):Promise.resolve(y).then(ae,oe)}function re(ie){return function(){var le=this,ce=arguments;return new Promise(function(ae,oe){var ne=ie.apply(le,ce);function z(y){se(ne,ae,oe,z,a,"next",y)}function a(y){se(ne,ae,oe,z,a,"throw",y)}z(void 0)})}}he.exports=re,he.exports.__esModule=!0,he.exports.default=he.exports},{}],78:[function(E,he,fe){function se(re){return re&&re.__esModule?re:{default:re}}he.exports=se,he.exports.__esModule=!0,he.exports.default=he.exports},{}],79:[function(E,he,fe){function se(re){"@babel/helpers - typeof";return he.exports=se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ie){return typeof ie}:function(ie){return ie&&typeof Symbol=="function"&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie},he.exports.__esModule=!0,he.exports.default=he.exports,se(re)}he.exports=se,he.exports.__esModule=!0,he.exports.default=he.exports},{}],80:[function(E,he,fe){he.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,he,fe){he.exports=se,he.exports.HttpsAgent=se;function se(){}},{}],82:[function(E,he,fe){(function(se){(function(){"use strict";var re=E("object-assign");function ie(Ce,Oe){if(Ce===Oe)return 0;for(var Ie=Ce.length,Ue=Oe.length,je=0,nt=Math.min(Ie,Ue);je=0){var Qe=je.indexOf(` `,Je+1);je=je.substring(Qe+1)}this.stack=je}}},ce.inherits(y.AssertionError,Error);function ee(Ce,Oe){return typeof Ce=="string"?Ce.length=0;ze--)if(Je[ze]!==Qe[ze])return!1;for(ze=Je.length-1;ze>=0;ze--)if(Xe=Je[ze],!ve(Ce[Xe],Oe[Xe],Ie,Ue))return!1;return!0}y.notDeepEqual=function(Oe,Ie,Ue){ve(Oe,Ie,!1)&&de(Oe,Ie,Ue,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=ye;function ye(Ce,Oe,Ie){ve(Ce,Oe,!0)&&de(Ce,Oe,Ie,"notDeepStrictEqual",ye)}y.strictEqual=function(Oe,Ie,Ue){Oe!==Ie&&de(Oe,Ie,Ue,"===",y.strictEqual)},y.notStrictEqual=function(Oe,Ie,Ue){Oe===Ie&&de(Oe,Ie,Ue,"!==",y.notStrictEqual)};function Pe(Ce,Oe){if(!Ce||!Oe)return!1;if(Object.prototype.toString.call(Oe)=="[object RegExp]")return Oe.test(Ce);try{if(Ce instanceof Oe)return!0}catch(Ie){}return Error.isPrototypeOf(Oe)?!1:Oe.call({},Ce)===!0}function we(Ce){var Oe;try{Ce()}catch(Ie){Oe=Ie}return Oe}function Te(Ce,Oe,Ie,Ue){var je;if(typeof Oe!="function")throw new TypeError('"block" argument must be a function');typeof Ie=="string"&&(Ue=Ie,Ie=null),je=we(Oe),Ue=(Ie&&Ie.name?" ("+Ie.name+").":".")+(Ue?" "+Ue:"."),Ce&&!je&&de(je,Ie,"Missing expected exception"+Ue);var nt=typeof Ue=="string",Je=!Ce&&ce.isError(je),Qe=!Ce&&je&&!Ie;if((Je&&nt&&Pe(je,Ie)||Qe)&&de(je,Ie,"Got unwanted exception"+Ue),Ce&&je&&Ie&&!Pe(je,Ie)||!Ce&&je)throw je}y.throws=function(Ce,Oe,Ie){Te(!0,Ce,Oe,Ie)},y.doesNotThrow=function(Ce,Oe,Ie){Te(!1,Ce,Oe,Ie)},y.ifError=function(Ce){if(Ce)throw Ce};function Ee(Ce,Oe){Ce||de(Ce,!0,Oe,"==",Ee)}y.strict=re(Ee,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var _e=Object.keys||function(Ce){var Oe=[];for(var Ie in Ce)ae.call(Ce,Ie)&&Oe.push(Ie);return Oe}}).call(this)}).call(this,typeof ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,he,fe){typeof Object.create=="function"?he.exports=function(re,ie){re.super_=ie,re.prototype=Object.create(ie.prototype,{constructor:{value:re,enumerable:!1,writable:!0,configurable:!0}})}:he.exports=function(re,ie){re.super_=ie;var le=function(){};le.prototype=ie.prototype,re.prototype=new le,re.prototype.constructor=re}},{}],84:[function(E,he,fe){he.exports=function(re){return re&&typeof re=="object"&&typeof re.copy=="function"&&typeof re.fill=="function"&&typeof re.readUInt8=="function"}},{}],85:[function(E,he,fe){(function(se,re){(function(){var ie=/%[sdj%]/g;fe.format=function(Qe){if(!Se(Qe)){for(var Xe=[],ze=0;ze=Be)return gt;switch(gt){case"%s":return String(ke[ze++]);case"%d":return Number(ke[ze++]);case"%j":try{return JSON.stringify(ke[ze++])}catch($e){return"[Circular]"}default:return gt}}),Ye=ke[ze];ze=3&&(ze.depth=arguments[2]),arguments.length>=4&&(ze.colors=arguments[3]),de(Xe)?ze.showHidden=Xe:Xe&&fe._extend(ze,Xe),Pe(ze.showHidden)&&(ze.showHidden=!1),Pe(ze.depth)&&(ze.depth=2),Pe(ze.colors)&&(ze.colors=!1),Pe(ze.customInspect)&&(ze.customInspect=!0),ze.colors&&(ze.stylize=oe),a(ze,Qe,ze.depth)}fe.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 oe(Qe,Xe){var ze=ae.styles[Xe];return ze?"\x1B["+ae.colors[ze][0]+"m"+Qe+"\x1B["+ae.colors[ze][1]+"m":Qe}function ne(Qe,Xe){return Qe}function z(Qe){var Xe={};return Qe.forEach(function(ze,ke){Xe[ze]=!0}),Xe}function a(Qe,Xe,ze){if(Qe.customInspect&&Xe&&Ce(Xe.inspect)&&Xe.inspect!==fe.inspect&&!(Xe.constructor&&Xe.constructor.prototype===Xe)){var ke=Xe.inspect(ze,Qe);return Se(ke)||(ke=a(Qe,ke,ze)),ke}var Be=y(Qe,Xe);if(Be)return Be;var qe=Object.keys(Xe),Ye=z(qe);if(Qe.showHidden&&(qe=Object.getOwnPropertyNames(Xe)),_e(Xe)&&(qe.indexOf("message")>=0||qe.indexOf("description")>=0))return x(Xe);if(qe.length===0){if(Ce(Xe)){var gt=Xe.name?": "+Xe.name:"";return Qe.stylize("[Function"+gt+"]","special")}if(we(Xe))return Qe.stylize(RegExp.prototype.toString.call(Xe),"regexp");if(Ee(Xe))return Qe.stylize(Date.prototype.toString.call(Xe),"date");if(_e(Xe))return x(Xe)}var $e="",We=!1,Re=["{","}"];if(ue(Xe)&&(We=!0,Re=["[","]"]),Ce(Xe)){var tt=Xe.name?": "+Xe.name:"";$e=" [Function"+tt+"]"}if(we(Xe)&&($e=" "+RegExp.prototype.toString.call(Xe)),Ee(Xe)&&($e=" "+Date.prototype.toUTCString.call(Xe)),_e(Xe)&&($e=" "+x(Xe)),qe.length===0&&(!We||Xe.length==0))return Re[0]+$e+Re[1];if(ze<0)return we(Xe)?Qe.stylize(RegExp.prototype.toString.call(Xe),"regexp"):Qe.stylize("[Object]","special");Qe.seen.push(Xe);var Me;return We?Me=b(Qe,Xe,ze,Ye,qe):Me=qe.map(function(He){return ee(Qe,Xe,ze,Ye,He,We)}),Qe.seen.pop(),te(Me,$e,Re)}function y(Qe,Xe){if(Pe(Xe))return Qe.stylize("undefined","undefined");if(Se(Xe)){var ze="'"+JSON.stringify(Xe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Qe.stylize(ze,"string")}if(me(Xe))return Qe.stylize(""+Xe,"number");if(de(Xe))return Qe.stylize(""+Xe,"boolean");if(ge(Xe))return Qe.stylize("null","null")}function x(Qe){return"["+Error.prototype.toString.call(Qe)+"]"}function b(Qe,Xe,ze,ke,Be){for(var qe=[],Ye=0,gt=Xe.length;Ye-1&&(qe?gt=gt.split(` `).map(function(We){return" "+We}).join(` `).substr(2):gt=` `+gt.split(` `).map(function(We){return" "+We}).join(` `))):gt=Qe.stylize("[Circular]","special")),Pe(Ye)){if(qe&&Be.match(/^\d+$/))return gt;Ye=JSON.stringify(""+Be),Ye.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Ye=Ye.substr(1,Ye.length-2),Ye=Qe.stylize(Ye,"name")):(Ye=Ye.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Ye=Qe.stylize(Ye,"string"))}return Ye+": "+gt}function te(Qe,Xe,ze){var ke=0,Be=Qe.reduce(function(qe,Ye){return ke++,Ye.indexOf(` `)>=0&&ke++,qe+Ye.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Be>60?ze[0]+(Xe===""?"":Xe+` `)+" "+Qe.join(`, `)+" "+ze[1]:ze[0]+Xe+" "+Qe.join(", ")+" "+ze[1]}function ue(Qe){return Array.isArray(Qe)}fe.isArray=ue;function de(Qe){return typeof Qe=="boolean"}fe.isBoolean=de;function ge(Qe){return Qe===null}fe.isNull=ge;function ve(Qe){return Qe==null}fe.isNullOrUndefined=ve;function me(Qe){return typeof Qe=="number"}fe.isNumber=me;function Se(Qe){return typeof Qe=="string"}fe.isString=Se;function ye(Qe){return typeof Qe=="symbol"}fe.isSymbol=ye;function Pe(Qe){return Qe===void 0}fe.isUndefined=Pe;function we(Qe){return Te(Qe)&&Ie(Qe)==="[object RegExp]"}fe.isRegExp=we;function Te(Qe){return typeof Qe=="object"&&Qe!==null}fe.isObject=Te;function Ee(Qe){return Te(Qe)&&Ie(Qe)==="[object Date]"}fe.isDate=Ee;function _e(Qe){return Te(Qe)&&(Ie(Qe)==="[object Error]"||Qe instanceof Error)}fe.isError=_e;function Ce(Qe){return typeof Qe=="function"}fe.isFunction=Ce;function Oe(Qe){return Qe===null||typeof Qe=="boolean"||typeof Qe=="number"||typeof Qe=="string"||typeof Qe=="symbol"||typeof Qe=="undefined"}fe.isPrimitive=Oe,fe.isBuffer=E("./support/isBuffer");function Ie(Qe){return Object.prototype.toString.call(Qe)}function Ue(Qe){return Qe<10?"0"+Qe.toString(10):Qe.toString(10)}var je=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function nt(){var Qe=new Date,Xe=[Ue(Qe.getHours()),Ue(Qe.getMinutes()),Ue(Qe.getSeconds())].join(":");return[Qe.getDate(),je[Qe.getMonth()],Xe].join(" ")}fe.log=function(){console.log("%s - %s",nt(),fe.format.apply(fe,arguments))},fe.inherits=E("inherits"),fe._extend=function(Qe,Xe){if(!Xe||!Te(Xe))return Qe;for(var ze=Object.keys(Xe),ke=ze.length;ke--;)Qe[ze[ke]]=Xe[ze[ke]];return Qe};function Je(Qe,Xe){return Object.prototype.hasOwnProperty.call(Qe,Xe)}}).call(this)}).call(this,E("_process"),typeof ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,he,fe){(function(se){(function(){"use strict";var re=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ie=typeof globalThis=="undefined"?se:globalThis;he.exports=function(){for(var ce=[],ae=0;ae0)throw new Error("Invalid string. Length must be a multiple of 4");var ue=ee.indexOf("=");ue===-1&&(ue=te);var de=ue===te?0:4-ue%4;return[ue,de]}function ne(ee){var te=oe(ee),ue=te[0],de=te[1];return(ue+de)*3/4-de}function z(ee,te,ue){return(te+ue)*3/4-ue}function a(ee){var te,ue=oe(ee),de=ue[0],ge=ue[1],ve=new ie(z(ee,de,ge)),me=0,Se=ge>0?de-4:de,ye;for(ye=0;ye>16&255,ve[me++]=te>>8&255,ve[me++]=te&255;return ge===2&&(te=re[ee.charCodeAt(ye)]<<2|re[ee.charCodeAt(ye+1)]>>4,ve[me++]=te&255),ge===1&&(te=re[ee.charCodeAt(ye)]<<10|re[ee.charCodeAt(ye+1)]<<4|re[ee.charCodeAt(ye+2)]>>2,ve[me++]=te>>8&255,ve[me++]=te&255),ve}function y(ee){return se[ee>>18&63]+se[ee>>12&63]+se[ee>>6&63]+se[ee&63]}function x(ee,te,ue){for(var de,ge=[],ve=te;veSe?Se:me+ve));return de===1?(te=ee[ue-1],ge.push(se[te>>2]+se[te<<4&63]+"==")):de===2&&(te=(ee[ue-2]<<8)+ee[ue-1],ge.push(se[te>>10]+se[te>>4&63]+se[te<<2&63]+"=")),ge.join("")}},{}],88:[function(E,he,fe){(function(se,re,ie){typeof he!="undefined"&&he.exports?he.exports=ie():typeof pe=="function"&&pe.amd?pe(re,ie):se[re]=ie()})(this,"bowser",function(){var se=!0;function re(z){function a(Xe){var ze=z.match(Xe);return ze&&ze.length>1&&ze[1]||""}function y(Xe){var ze=z.match(Xe);return ze&&ze.length>1&&ze[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(z),ee=!b&&/android/i.test(z),te=/nexus\s*[0-6]\s*/i.test(z),ue=!te&&/nexus\s*[0-9]+/i.test(z),de=/CrOS/.test(z),ge=/silk/i.test(z),ve=/sailfish/i.test(z),me=/tizen/i.test(z),Se=/(web|hpw)(o|0)s/i.test(z),ye=/windows phone/i.test(z),Pe=/SamsungBrowser/i.test(z),we=!ye&&/windows/i.test(z),Te=!x&&!ge&&/macintosh/i.test(z),Ee=!ee&&!ve&&!me&&!Se&&/linux/i.test(z),_e=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Ce=a(/version\/(\d+(\.\d+)?)/i),Oe=/tablet/i.test(z)&&!/tablet pc/i.test(z),Ie=!Oe&&/[^-]mobi/i.test(z),Ue=/xbox/i.test(z),je;/opera/i.test(z)?je={name:"Opera",opera:se,version:Ce||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(z)?je={name:"Opera",opera:se,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Ce}:/SamsungBrowser/i.test(z)?je={name:"Samsung Internet for Android",samsungBrowser:se,version:Ce||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(z)?je={name:"NAVER Whale browser",whale:se,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(z)?je={name:"MZ Browser",mzbrowser:se,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(z)?je={name:"Opera Coast",coast:se,version:Ce||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(z)?je={name:"Focus",focus:se,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(z)?je={name:"Yandex Browser",yandexbrowser:se,version:Ce||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(z)?je={name:"UC Browser",ucbrowser:se,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(z)?je={name:"Maxthon",maxthon:se,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(z)?je={name:"Epiphany",epiphany:se,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(z)?je={name:"Puffin",puffin:se,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(z)?je={name:"Sleipnir",sleipnir:se,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(z)?je={name:"K-Meleon",kMeleon:se,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:ye?(je={name:"Windows Phone",osname:"Windows Phone",windowsphone:se},_e?(je.msedge=se,je.version=_e):(je.msie=se,je.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(z)?je={name:"Internet Explorer",msie:se,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:de?je={name:"Chrome",osname:"Chrome OS",chromeos:se,chromeBook:se,chrome:se,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(z)?je={name:"Microsoft Edge",msedge:se,version:_e}:/vivaldi/i.test(z)?je={name:"Vivaldi",vivaldi:se,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||Ce}:ve?je={name:"Sailfish",osname:"Sailfish OS",sailfish:se,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(z)?je={name:"SeaMonkey",seamonkey:se,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(z)?(je={name:"Firefox",firefox:se,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(z)&&(je.firefoxos=se,je.osname="Firefox OS")):ge?je={name:"Amazon Silk",silk:se,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(z)?je={name:"PhantomJS",phantom:se,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(z)?je={name:"SlimerJS",slimer:se,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(z)||/rim\stablet/i.test(z)?je={name:"BlackBerry",osname:"BlackBerry OS",blackberry:se,version:Ce||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:Se?(je={name:"WebOS",osname:"WebOS",webos:se,version:Ce||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(z)&&(je.touchpad=se)):/bada/i.test(z)?je={name:"Bada",osname:"Bada",bada:se,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:me?je={name:"Tizen",osname:"Tizen",tizen:se,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Ce}:/qupzilla/i.test(z)?je={name:"QupZilla",qupzilla:se,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Ce}:/chromium/i.test(z)?je={name:"Chromium",chromium:se,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Ce}:/chrome|crios|crmo/i.test(z)?je={name:"Chrome",chrome:se,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:ee?je={name:"Android",version:Ce}:/safari|applewebkit/i.test(z)?(je={name:"Safari",safari:se},Ce&&(je.version=Ce)):x?(je={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},Ce&&(je.version=Ce)):/googlebot/i.test(z)?je={name:"Googlebot",googlebot:se,version:a(/googlebot\/(\d+(\.\d+))/i)||Ce}:je={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!je.msedge&&/(apple)?webkit/i.test(z)?(/(apple)?webkit\/537\.36/i.test(z)?(je.name=je.name||"Blink",je.blink=se):(je.name=je.name||"Webkit",je.webkit=se),!je.version&&Ce&&(je.version=Ce)):!je.opera&&/gecko\//i.test(z)&&(je.name=je.name||"Gecko",je.gecko=se,je.version=je.version||a(/gecko\/(\d+(\.\d+)?)/i)),!je.windowsphone&&(ee||je.silk)?(je.android=se,je.osname="Android"):!je.windowsphone&&x?(je[x]=se,je.ios=se,je.osname="iOS"):Te?(je.mac=se,je.osname="macOS"):Ue?(je.xbox=se,je.osname="Xbox"):we?(je.windows=se,je.osname="Windows"):Ee&&(je.linux=se,je.osname="Linux");function nt(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 Je="";je.windows?Je=nt(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):je.windowsphone?Je=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):je.mac?(Je=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),Je=Je.replace(/[_\s]/g,".")):x?(Je=a(/os (\d+([_\s]\d+)*) like mac os x/i),Je=Je.replace(/[_\s]/g,".")):ee?Je=a(/android[ \/-](\d+(\.\d+)*)/i):je.webos?Je=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):je.blackberry?Je=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):je.bada?Je=a(/bada\/(\d+(\.\d+)*)/i):je.tizen&&(Je=a(/tizen[\/\s](\d+(\.\d+)*)/i)),Je&&(je.osversion=Je);var Qe=!je.windows&&Je.split(".")[0];return Oe||ue||x=="ipad"||ee&&(Qe==3||Qe>=4&&!Ie)||je.silk?je.tablet=se:(Ie||x=="iphone"||x=="ipod"||ee||te||je.blackberry||je.webos||je.bada)&&(je.mobile=se),je.msedge||je.msie&&je.version>=10||je.yandexbrowser&&je.version>=15||je.vivaldi&&je.version>=1||je.chrome&&je.version>=20||je.samsungBrowser&&je.version>=4||je.whale&&ae([je.version,"1.0"])===1||je.mzbrowser&&ae([je.version,"6.0"])===1||je.focus&&ae([je.version,"1.0"])===1||je.firefox&&je.version>=20||je.safari&&je.version>=6||je.opera&&je.version>=10||je.ios&&je.osversion&&je.osversion.split(".")[0]>=6||je.blackberry&&je.version>=10.1||je.chromium&&je.version>=20?je.a=se:je.msie&&je.version<10||je.chrome&&je.version<20||je.firefox&&je.version<20||je.safari&&je.version<6||je.opera&&je.version<10||je.ios&&je.osversion&&je.osversion.split(".")[0]<6||je.chromium&&je.version<20?je.c=se:je.x=se,je}var ie=re(typeof navigator!="undefined"&&navigator.userAgent||"");ie.test=function(z){for(var a=0;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 oe(z,a,y){var x=ie;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=re(y));var b=""+x.version;for(var ee in z)if(z.hasOwnProperty(ee)&&x[ee]){if(typeof z[ee]!="string")throw new Error("Browser version in the minVersion map should be a string: "+ee+": "+String(z));return ae([b,z[ee]])<0}return a}function ne(z,a,y){return!oe(z,a,y)}return ie.isUnsupportedBrowser=oe,ie.compareVersions=ae,ie.check=ne,ie._detect=re,ie.detect=re,ie})},{}],89:[function(E,he,fe){},{}],90:[function(E,he,fe){(function(se){(function(){"use strict";var re=E("base64-js"),ie=E("ieee754");fe.Buffer=oe,fe.SlowBuffer=de,fe.INSPECT_MAX_BYTES=50;var le=2147483647;fe.kMaxLength=le,oe.TYPED_ARRAY_SUPPORT=ce(),!oe.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ce(){try{var Ae=new Uint8Array(1);return Ae.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Ae.foo()===42}catch(Le){return!1}}Object.defineProperty(oe.prototype,"parent",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.buffer}}),Object.defineProperty(oe.prototype,"offset",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.byteOffset}});function ae(Ae){if(Ae>le)throw new RangeError('The value "'+Ae+'" is invalid for option "size"');var Le=new Uint8Array(Ae);return Le.__proto__=oe.prototype,Le}function oe(Ae,Le,Ne){if(typeof Ae=="number"){if(typeof Le=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(Ae)}return ne(Ae,Le,Ne)}typeof Symbol!="undefined"&&Symbol.species!=null&&oe[Symbol.species]===oe&&Object.defineProperty(oe,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),oe.poolSize=8192;function ne(Ae,Le,Ne){if(typeof Ae=="string")return x(Ae,Le);if(ArrayBuffer.isView(Ae))return b(Ae);if(Ae==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ae);if(Ze(Ae,ArrayBuffer)||Ae&&Ze(Ae.buffer,ArrayBuffer))return ee(Ae,Le,Ne);if(typeof Ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ge=Ae.valueOf&&Ae.valueOf();if(Ge!=null&&Ge!==Ae)return oe.from(Ge,Le,Ne);var ot=te(Ae);if(ot)return ot;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Ae[Symbol.toPrimitive]=="function")return oe.from(Ae[Symbol.toPrimitive]("string"),Le,Ne);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ae)}oe.from=function(Ae,Le,Ne){return ne(Ae,Le,Ne)},oe.prototype.__proto__=Uint8Array.prototype,oe.__proto__=Uint8Array;function z(Ae){if(typeof Ae!="number")throw new TypeError('"size" argument must be of type number');if(Ae<0)throw new RangeError('The value "'+Ae+'" is invalid for option "size"')}function a(Ae,Le,Ne){return z(Ae),Ae<=0?ae(Ae):Le!==void 0?typeof Ne=="string"?ae(Ae).fill(Le,Ne):ae(Ae).fill(Le):ae(Ae)}oe.alloc=function(Ae,Le,Ne){return a(Ae,Le,Ne)};function y(Ae){return z(Ae),ae(Ae<0?0:ue(Ae)|0)}oe.allocUnsafe=function(Ae){return y(Ae)},oe.allocUnsafeSlow=function(Ae){return y(Ae)};function x(Ae,Le){if((typeof Le!="string"||Le==="")&&(Le="utf8"),!oe.isEncoding(Le))throw new TypeError("Unknown encoding: "+Le);var Ne=ge(Ae,Le)|0,Ge=ae(Ne),ot=Ge.write(Ae,Le);return ot!==Ne&&(Ge=Ge.slice(0,ot)),Ge}function b(Ae){for(var Le=Ae.length<0?0:ue(Ae.length)|0,Ne=ae(Le),Ge=0;Ge=le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+le.toString(16)+" bytes");return Ae|0}function de(Ae){return+Ae!=Ae&&(Ae=0),oe.alloc(+Ae)}oe.isBuffer=function(Le){return Le!=null&&Le._isBuffer===!0&&Le!==oe.prototype},oe.compare=function(Le,Ne){if(Ze(Le,Uint8Array)&&(Le=oe.from(Le,Le.offset,Le.byteLength)),Ze(Ne,Uint8Array)&&(Ne=oe.from(Ne,Ne.offset,Ne.byteLength)),!oe.isBuffer(Le)||!oe.isBuffer(Ne))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Le===Ne)return 0;for(var Ge=Le.length,ot=Ne.length,St=0,wt=Math.min(Ge,ot);St2&&arguments[2]===!0;if(!Ge&&Ne===0)return 0;for(var ot=!1;;)switch(Le){case"ascii":case"latin1":case"binary":return Ne;case"utf8":case"utf-8":return Re(Ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ne*2;case"hex":return Ne>>>1;case"base64":return He(Ae).length;default:if(ot)return Ge?-1:Re(Ae).length;Le=(""+Le).toLowerCase(),ot=!0}}oe.byteLength=ge;function ve(Ae,Le,Ne){var Ge=!1;if((Le===void 0||Le<0)&&(Le=0),Le>this.length||((Ne===void 0||Ne>this.length)&&(Ne=this.length),Ne<=0)||(Ne>>>=0,Le>>>=0,Ne<=Le))return"";for(Ae||(Ae="utf8");;)switch(Ae){case"hex":return Qe(this,Le,Ne);case"utf8":case"utf-8":return Ie(this,Le,Ne);case"ascii":return nt(this,Le,Ne);case"latin1":case"binary":return Je(this,Le,Ne);case"base64":return Oe(this,Le,Ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xe(this,Le,Ne);default:if(Ge)throw new TypeError("Unknown encoding: "+Ae);Ae=(Ae+"").toLowerCase(),Ge=!0}}oe.prototype._isBuffer=!0;function me(Ae,Le,Ne){var Ge=Ae[Le];Ae[Le]=Ae[Ne],Ae[Ne]=Ge}oe.prototype.swap16=function(){var Le=this.length;if(Le%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Ne=0;NeNe&&(Le+=" ... "),""},oe.prototype.compare=function(Le,Ne,Ge,ot,St){if(Ze(Le,Uint8Array)&&(Le=oe.from(Le,Le.offset,Le.byteLength)),!oe.isBuffer(Le))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Le);if(Ne===void 0&&(Ne=0),Ge===void 0&&(Ge=Le?Le.length:0),ot===void 0&&(ot=0),St===void 0&&(St=this.length),Ne<0||Ge>Le.length||ot<0||St>this.length)throw new RangeError("out of range index");if(ot>=St&&Ne>=Ge)return 0;if(ot>=St)return-1;if(Ne>=Ge)return 1;if(Ne>>>=0,Ge>>>=0,ot>>>=0,St>>>=0,this===Le)return 0;for(var wt=St-ot,rt=Ge-Ne,bt=Math.min(wt,rt),Ft=this.slice(ot,St),$t=Le.slice(Ne,Ge),st=0;st2147483647?Ne=2147483647:Ne<-2147483648&&(Ne=-2147483648),Ne=+Ne,Ke(Ne)&&(Ne=ot?0:Ae.length-1),Ne<0&&(Ne=Ae.length+Ne),Ne>=Ae.length){if(ot)return-1;Ne=Ae.length-1}else if(Ne<0)if(ot)Ne=0;else return-1;if(typeof Le=="string"&&(Le=oe.from(Le,Ge)),oe.isBuffer(Le))return Le.length===0?-1:ye(Ae,Le,Ne,Ge,ot);if(typeof Le=="number")return Le=Le&255,typeof Uint8Array.prototype.indexOf=="function"?ot?Uint8Array.prototype.indexOf.call(Ae,Le,Ne):Uint8Array.prototype.lastIndexOf.call(Ae,Le,Ne):ye(Ae,[Le],Ne,Ge,ot);throw new TypeError("val must be string, number or Buffer")}function ye(Ae,Le,Ne,Ge,ot){var St=1,wt=Ae.length,rt=Le.length;if(Ge!==void 0&&(Ge=String(Ge).toLowerCase(),Ge==="ucs2"||Ge==="ucs-2"||Ge==="utf16le"||Ge==="utf-16le")){if(Ae.length<2||Le.length<2)return-1;St=2,wt/=2,rt/=2,Ne/=2}function bt(ct,pt){return St===1?ct[pt]:ct.readUInt16BE(pt*St)}var Ft;if(ot){var $t=-1;for(Ft=Ne;Ftwt&&(Ne=wt-rt),Ft=Ne;Ft>=0;Ft--){for(var st=!0,Nt=0;Ntot&&(Ge=ot)):Ge=ot;var St=Le.length;Ge>St/2&&(Ge=St/2);for(var wt=0;wt>>0,isFinite(Ge)?(Ge=Ge>>>0,ot===void 0&&(ot="utf8")):(ot=Ge,Ge=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var St=this.length-Ne;if((Ge===void 0||Ge>St)&&(Ge=St),Le.length>0&&(Ge<0||Ne<0)||Ne>this.length)throw new RangeError("Attempt to write outside buffer bounds");ot||(ot="utf8");for(var wt=!1;;)switch(ot){case"hex":return Pe(this,Le,Ne,Ge);case"utf8":case"utf-8":return we(this,Le,Ne,Ge);case"ascii":return Te(this,Le,Ne,Ge);case"latin1":case"binary":return Ee(this,Le,Ne,Ge);case"base64":return _e(this,Le,Ne,Ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ce(this,Le,Ne,Ge);default:if(wt)throw new TypeError("Unknown encoding: "+ot);ot=(""+ot).toLowerCase(),wt=!0}},oe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Oe(Ae,Le,Ne){return Le===0&&Ne===Ae.length?re.fromByteArray(Ae):re.fromByteArray(Ae.slice(Le,Ne))}function Ie(Ae,Le,Ne){Ne=Math.min(Ae.length,Ne);for(var Ge=[],ot=Le;ot239?4:St>223?3:St>191?2:1;if(ot+rt<=Ne){var bt,Ft,$t,st;switch(rt){case 1:St<128&&(wt=St);break;case 2:bt=Ae[ot+1],(bt&192)===128&&(st=(St&31)<<6|bt&63,st>127&&(wt=st));break;case 3:bt=Ae[ot+1],Ft=Ae[ot+2],(bt&192)===128&&(Ft&192)===128&&(st=(St&15)<<12|(bt&63)<<6|Ft&63,st>2047&&(st<55296||st>57343)&&(wt=st));break;case 4:bt=Ae[ot+1],Ft=Ae[ot+2],$t=Ae[ot+3],(bt&192)===128&&(Ft&192)===128&&($t&192)===128&&(st=(St&15)<<18|(bt&63)<<12|(Ft&63)<<6|$t&63,st>65535&&st<1114112&&(wt=st))}}wt===null?(wt=65533,rt=1):wt>65535&&(wt-=65536,Ge.push(wt>>>10&1023|55296),wt=56320|wt&1023),Ge.push(wt),ot+=rt}return je(Ge)}var Ue=4096;function je(Ae){var Le=Ae.length;if(Le<=Ue)return String.fromCharCode.apply(String,Ae);for(var Ne="",Ge=0;GeGe)&&(Ne=Ge);for(var ot="",St=Le;StGe&&(Le=Ge),Ne<0?(Ne+=Ge,Ne<0&&(Ne=0)):Ne>Ge&&(Ne=Ge),NeNe)throw new RangeError("Trying to access beyond buffer length")}oe.prototype.readUIntLE=function(Le,Ne,Ge){Le=Le>>>0,Ne=Ne>>>0,Ge||ze(Le,Ne,this.length);for(var ot=this[Le],St=1,wt=0;++wt>>0,Ne=Ne>>>0,Ge||ze(Le,Ne,this.length);for(var ot=this[Le+--Ne],St=1;Ne>0&&(St*=256);)ot+=this[Le+--Ne]*St;return ot},oe.prototype.readUInt8=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,1,this.length),this[Le]},oe.prototype.readUInt16LE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,2,this.length),this[Le]|this[Le+1]<<8},oe.prototype.readUInt16BE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,2,this.length),this[Le]<<8|this[Le+1]},oe.prototype.readUInt32LE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,4,this.length),(this[Le]|this[Le+1]<<8|this[Le+2]<<16)+this[Le+3]*16777216},oe.prototype.readUInt32BE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,4,this.length),this[Le]*16777216+(this[Le+1]<<16|this[Le+2]<<8|this[Le+3])},oe.prototype.readIntLE=function(Le,Ne,Ge){Le=Le>>>0,Ne=Ne>>>0,Ge||ze(Le,Ne,this.length);for(var ot=this[Le],St=1,wt=0;++wt=St&&(ot-=Math.pow(2,8*Ne)),ot},oe.prototype.readIntBE=function(Le,Ne,Ge){Le=Le>>>0,Ne=Ne>>>0,Ge||ze(Le,Ne,this.length);for(var ot=Ne,St=1,wt=this[Le+--ot];ot>0&&(St*=256);)wt+=this[Le+--ot]*St;return St*=128,wt>=St&&(wt-=Math.pow(2,8*Ne)),wt},oe.prototype.readInt8=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,1,this.length),this[Le]&128?(255-this[Le]+1)*-1:this[Le]},oe.prototype.readInt16LE=function(Le,Ne){Le=Le>>>0,Ne||ze(Le,2,this.length);var Ge=this[Le]|this[Le+1]<<8;return Ge&32768?Ge|4294901760:Ge},oe.prototype.readInt16BE=function(Le,Ne){Le=Le>>>0,Ne||ze(Le,2,this.length);var Ge=this[Le+1]|this[Le]<<8;return Ge&32768?Ge|4294901760:Ge},oe.prototype.readInt32LE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,4,this.length),this[Le]|this[Le+1]<<8|this[Le+2]<<16|this[Le+3]<<24},oe.prototype.readInt32BE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,4,this.length),this[Le]<<24|this[Le+1]<<16|this[Le+2]<<8|this[Le+3]},oe.prototype.readFloatLE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,4,this.length),ie.read(this,Le,!0,23,4)},oe.prototype.readFloatBE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,4,this.length),ie.read(this,Le,!1,23,4)},oe.prototype.readDoubleLE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,8,this.length),ie.read(this,Le,!0,52,8)},oe.prototype.readDoubleBE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,8,this.length),ie.read(this,Le,!1,52,8)};function ke(Ae,Le,Ne,Ge,ot,St){if(!oe.isBuffer(Ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(Le>ot||LeAe.length)throw new RangeError("Index out of range")}oe.prototype.writeUIntLE=function(Le,Ne,Ge,ot){if(Le=+Le,Ne=Ne>>>0,Ge=Ge>>>0,!ot){var St=Math.pow(2,8*Ge)-1;ke(this,Le,Ne,Ge,St,0)}var wt=1,rt=0;for(this[Ne]=Le&255;++rt>>0,Ge=Ge>>>0,!ot){var St=Math.pow(2,8*Ge)-1;ke(this,Le,Ne,Ge,St,0)}var wt=Ge-1,rt=1;for(this[Ne+wt]=Le&255;--wt>=0&&(rt*=256);)this[Ne+wt]=Le/rt&255;return Ne+Ge},oe.prototype.writeUInt8=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,1,255,0),this[Ne]=Le&255,Ne+1},oe.prototype.writeUInt16LE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,2,65535,0),this[Ne]=Le&255,this[Ne+1]=Le>>>8,Ne+2},oe.prototype.writeUInt16BE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,2,65535,0),this[Ne]=Le>>>8,this[Ne+1]=Le&255,Ne+2},oe.prototype.writeUInt32LE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,4,4294967295,0),this[Ne+3]=Le>>>24,this[Ne+2]=Le>>>16,this[Ne+1]=Le>>>8,this[Ne]=Le&255,Ne+4},oe.prototype.writeUInt32BE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,4,4294967295,0),this[Ne]=Le>>>24,this[Ne+1]=Le>>>16,this[Ne+2]=Le>>>8,this[Ne+3]=Le&255,Ne+4},oe.prototype.writeIntLE=function(Le,Ne,Ge,ot){if(Le=+Le,Ne=Ne>>>0,!ot){var St=Math.pow(2,8*Ge-1);ke(this,Le,Ne,Ge,St-1,-St)}var wt=0,rt=1,bt=0;for(this[Ne]=Le&255;++wt>0)-bt&255;return Ne+Ge},oe.prototype.writeIntBE=function(Le,Ne,Ge,ot){if(Le=+Le,Ne=Ne>>>0,!ot){var St=Math.pow(2,8*Ge-1);ke(this,Le,Ne,Ge,St-1,-St)}var wt=Ge-1,rt=1,bt=0;for(this[Ne+wt]=Le&255;--wt>=0&&(rt*=256);)Le<0&&bt===0&&this[Ne+wt+1]!==0&&(bt=1),this[Ne+wt]=(Le/rt>>0)-bt&255;return Ne+Ge},oe.prototype.writeInt8=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,1,127,-128),Le<0&&(Le=255+Le+1),this[Ne]=Le&255,Ne+1},oe.prototype.writeInt16LE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,2,32767,-32768),this[Ne]=Le&255,this[Ne+1]=Le>>>8,Ne+2},oe.prototype.writeInt16BE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,2,32767,-32768),this[Ne]=Le>>>8,this[Ne+1]=Le&255,Ne+2},oe.prototype.writeInt32LE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,4,2147483647,-2147483648),this[Ne]=Le&255,this[Ne+1]=Le>>>8,this[Ne+2]=Le>>>16,this[Ne+3]=Le>>>24,Ne+4},oe.prototype.writeInt32BE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,4,2147483647,-2147483648),Le<0&&(Le=4294967295+Le+1),this[Ne]=Le>>>24,this[Ne+1]=Le>>>16,this[Ne+2]=Le>>>8,this[Ne+3]=Le&255,Ne+4};function Be(Ae,Le,Ne,Ge,ot,St){if(Ne+Ge>Ae.length)throw new RangeError("Index out of range");if(Ne<0)throw new RangeError("Index out of range")}function qe(Ae,Le,Ne,Ge,ot){return Le=+Le,Ne=Ne>>>0,ot||Be(Ae,Le,Ne,4,34028234663852886e22,-34028234663852886e22),ie.write(Ae,Le,Ne,Ge,23,4),Ne+4}oe.prototype.writeFloatLE=function(Le,Ne,Ge){return qe(this,Le,Ne,!0,Ge)},oe.prototype.writeFloatBE=function(Le,Ne,Ge){return qe(this,Le,Ne,!1,Ge)};function Ye(Ae,Le,Ne,Ge,ot){return Le=+Le,Ne=Ne>>>0,ot||Be(Ae,Le,Ne,8,17976931348623157e292,-17976931348623157e292),ie.write(Ae,Le,Ne,Ge,52,8),Ne+8}oe.prototype.writeDoubleLE=function(Le,Ne,Ge){return Ye(this,Le,Ne,!0,Ge)},oe.prototype.writeDoubleBE=function(Le,Ne,Ge){return Ye(this,Le,Ne,!1,Ge)},oe.prototype.copy=function(Le,Ne,Ge,ot){if(!oe.isBuffer(Le))throw new TypeError("argument should be a Buffer");if(Ge||(Ge=0),!ot&&ot!==0&&(ot=this.length),Ne>=Le.length&&(Ne=Le.length),Ne||(Ne=0),ot>0&&ot=this.length)throw new RangeError("Index out of range");if(ot<0)throw new RangeError("sourceEnd out of bounds");ot>this.length&&(ot=this.length),Le.length-Ne=0;--wt)Le[wt+Ne]=this[wt+Ge];else Uint8Array.prototype.set.call(Le,this.subarray(Ge,ot),Ne);return St},oe.prototype.fill=function(Le,Ne,Ge,ot){if(typeof Le=="string"){if(typeof Ne=="string"?(ot=Ne,Ne=0,Ge=this.length):typeof Ge=="string"&&(ot=Ge,Ge=this.length),ot!==void 0&&typeof ot!="string")throw new TypeError("encoding must be a string");if(typeof ot=="string"&&!oe.isEncoding(ot))throw new TypeError("Unknown encoding: "+ot);if(Le.length===1){var St=Le.charCodeAt(0);(ot==="utf8"&&St<128||ot==="latin1")&&(Le=St)}}else typeof Le=="number"&&(Le=Le&255);if(Ne<0||this.length>>0,Ge=Ge===void 0?this.length:Ge>>>0,Le||(Le=0);var wt;if(typeof Le=="number")for(wt=Ne;wt55295&&Ne<57344){if(!ot){if(Ne>56319){(Le-=3)>-1&&St.push(239,191,189);continue}else if(wt+1===Ge){(Le-=3)>-1&&St.push(239,191,189);continue}ot=Ne;continue}if(Ne<56320){(Le-=3)>-1&&St.push(239,191,189),ot=Ne;continue}Ne=(ot-55296<<10|Ne-56320)+65536}else ot&&(Le-=3)>-1&&St.push(239,191,189);if(ot=null,Ne<128){if((Le-=1)<0)break;St.push(Ne)}else if(Ne<2048){if((Le-=2)<0)break;St.push(Ne>>6|192,Ne&63|128)}else if(Ne<65536){if((Le-=3)<0)break;St.push(Ne>>12|224,Ne>>6&63|128,Ne&63|128)}else if(Ne<1114112){if((Le-=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 tt(Ae){for(var Le=[],Ne=0;Ne>8,ot=Ne%256,St.push(ot),St.push(Ge);return St}function He(Ae){return re.toByteArray($e(Ae))}function Ve(Ae,Le,Ne,Ge){for(var ot=0;ot=Le.length||ot>=Ae.length);++ot)Le[ot+Ne]=Ae[ot];return ot}function Ze(Ae,Le){return Ae instanceof Le||Ae!=null&&Ae.constructor!=null&&Ae.constructor.name!=null&&Ae.constructor.name===Le.name}function Ke(Ae){return Ae!==Ae}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,he,fe){he.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,he,fe){"use strict";var se=E("get-intrinsic"),re=E("./"),ie=re(se("String.prototype.indexOf"));he.exports=function(ce,ae){var oe=se(ce,!!ae);return typeof oe=="function"&&ie(ce,".prototype.")>-1?re(oe):oe}},{"./":93,"get-intrinsic":348}],93:[function(E,he,fe){"use strict";var se=E("function-bind"),re=E("get-intrinsic"),ie=re("%Function.prototype.apply%"),le=re("%Function.prototype.call%"),ce=re("%Reflect.apply%",!0)||se.call(le,ie),ae=re("%Object.getOwnPropertyDescriptor%",!0),oe=re("%Object.defineProperty%",!0),ne=re("%Math.max%");if(oe)try{oe({},"a",{value:1})}catch(a){oe=null}he.exports=function(y){var x=ce(se,le,arguments);if(ae&&oe){var b=ae(x,"length");b.configurable&&oe(x,"length",{value:1+ne(0,y.length-(arguments.length-1))})}return x};var z=function(){return ce(se,ie,arguments)};oe?oe(he.exports,"apply",{value:z}):he.exports.apply=z},{"function-bind":347,"get-intrinsic":348}],94:[function(E,he,fe){"use strict";var se=Array.prototype.slice;he.exports=re;function re(le,ce){if(!(this instanceof re))return new re(le,ce);this.src=le,this._withAccess=ce}re.prototype.withAccess=function(le){return this._withAccess=le!==!1,this},re.prototype.pick=function(le){return Array.isArray(le)||(le=se.call(arguments)),le.length&&(this.keys=le),this},re.prototype.to=function(le){if(le=le||{},!this.src)return le;var ce=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ae=0;ae>8&255]},Re=function(wt){return[wt&255,wt>>8&255,wt>>16&255,wt>>24&255]},tt=function(wt){return wt[3]<<24|wt[2]<<16|wt[1]<<8|wt[0]},Me=function(wt){return Ye(wt,23,4)},He=function(wt){return Ye(wt,52,8)},Ve=function(wt,rt){de(wt[Ce],rt,{get:function(){return we(this)[rt]}})},Ze=function(wt,rt,bt,Ft){var $t=x(bt),st=we(wt);if($t+rt>st.byteLength)throw ke(Ie);var Nt=we(st.buffer).bytes,ct=$t+st.byteOffset,pt=ve(Nt,ct,ct+rt);return Ft?pt:qe(pt)},Ke=function(wt,rt,bt,Ft,$t,st){var Nt=x(bt),ct=we(wt);if(Nt+rt>ct.byteLength)throw ke(Ie);for(var pt=we(ct.buffer).bytes,Ct=Nt+ct.byteOffset,Rt=Ft(+$t),zt=0;zt$t)throw ke("Wrong offset");if(Ft=Ft===void 0?$t-st:y(Ft),st+Ft>$t)throw ke(Oe);Te(this,{buffer:rt,byteLength:Ft,byteOffset:st}),ie||(this.buffer=rt,this.byteLength=Ft,this.byteOffset=st)},Qe=Je[Ce],ie&&(Ve(je,"byteLength"),Ve(Je,"buffer"),Ve(Je,"byteLength"),Ve(Je,"byteOffset")),oe(Qe,{getInt8:function(rt){return Ze(this,1,rt)[0]<<24>>24},getUint8:function(rt){return Ze(this,1,rt)[0]},getInt16:function(rt){var bt=Ze(this,2,rt,arguments.length>1?arguments[1]:void 0);return(bt[1]<<8|bt[0])<<16>>16},getUint16:function(rt){var bt=Ze(this,2,rt,arguments.length>1?arguments[1]:void 0);return bt[1]<<8|bt[0]},getInt32:function(rt){return tt(Ze(this,4,rt,arguments.length>1?arguments[1]:void 0))},getUint32:function(rt){return tt(Ze(this,4,rt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(rt){return gt(Ze(this,4,rt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(rt){return gt(Ze(this,8,rt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(rt,bt){Ke(this,1,rt,$e,bt)},setUint8:function(rt,bt){Ke(this,1,rt,$e,bt)},setInt16:function(rt,bt){Ke(this,2,rt,We,bt,arguments.length>2?arguments[2]:void 0)},setUint16:function(rt,bt){Ke(this,2,rt,We,bt,arguments.length>2?arguments[2]:void 0)},setInt32:function(rt,bt){Ke(this,4,rt,Re,bt,arguments.length>2?arguments[2]:void 0)},setUint32:function(rt,bt){Ke(this,4,rt,Re,bt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(rt,bt){Ke(this,4,rt,Me,bt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(rt,bt){Ke(this,8,rt,He,bt,arguments.length>2?arguments[2]:void 0)}});else{var Ae=ye&&Ue.name!==Ee;if(!ne(function(){Ue(1)})||!ne(function(){new Ue(-1)})||ne(function(){return new Ue,new Ue(1.5),new Ue(NaN),Ae&&!Pe})){je=function(rt){return z(this,nt),new Ue(x(rt))},je[Ce]=nt;for(var Le=ue(Ue),Ne=0,Ge;Le.length>Ne;)(Ge=Le[Ne++])in je||ae(je,Ge,Ue[Ge]);nt.constructor=je}else Ae&&Pe&&ae(Ue,"name",Ee);te&&ee(Qe)!==Xe&&te(Qe,Xe);var ot=new Je(new je(2)),St=re(Qe.setInt8);ot.setInt8(0,2147483648),ot.setInt8(1,2147483649),(ot.getInt8(0)||!ot.getInt8(1))&&oe(Qe,{setInt8:function(rt,bt){St(this,rt,bt<<24>>24)},setUint8:function(rt,bt){St(this,rt,bt<<24>>24)}},{unsafe:!0})}me(je,Ee),me(Je,_e),he.exports={ArrayBuffer:je,DataView:Je}},{"../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,he,fe){"use strict";var se=E("../internals/to-object"),re=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),le=Math.min;he.exports=[].copyWithin||function(ae,oe){var ne=se(this),z=ie(ne),a=re(ae,z),y=re(oe,z),x=arguments.length>2?arguments[2]:void 0,b=le((x===void 0?z:re(x,z))-y,z-a),ee=1;for(y0;)y in ne?ne[a]=ne[y]:delete ne[a],a+=ee,y+=ee;return ne}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,he,fe){"use strict";var se=E("../internals/to-object"),re=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like");he.exports=function(ce){for(var ae=se(this),oe=ie(ae),ne=arguments.length,z=re(ne>1?arguments[1]:void 0,oe),a=ne>2?arguments[2]:void 0,y=a===void 0?oe:re(a,oe);y>z;)ae[z++]=ce;return ae}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,he,fe){"use strict";var se=E("../internals/array-iteration").forEach,re=E("../internals/array-method-is-strict"),ie=re("forEach");he.exports=ie?[].forEach:function(ce){return se(this,ce,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,he,fe){var se=E("../internals/length-of-array-like");he.exports=function(re,ie){for(var le=0,ce=se(ie),ae=new re(ce);ce>le;)ae[le]=ie[le++];return ae}},{"../internals/length-of-array-like":188}],109:[function(E,he,fe){"use strict";var se=E("../internals/global"),re=E("../internals/function-bind-context"),ie=E("../internals/function-call"),le=E("../internals/to-object"),ce=E("../internals/call-with-safe-iteration-closing"),ae=E("../internals/is-array-iterator-method"),oe=E("../internals/is-constructor"),ne=E("../internals/length-of-array-like"),z=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=se.Array;he.exports=function(ee){var te=le(ee),ue=oe(this),de=arguments.length,ge=de>1?arguments[1]:void 0,ve=ge!==void 0;ve&&(ge=re(ge,de>2?arguments[2]:void 0));var me=y(te),Se=0,ye,Pe,we,Te,Ee,_e;if(me&&!(this==x&&ae(me)))for(Te=a(te,me),Ee=Te.next,Pe=ue?new this:[];!(we=ie(Ee,Te)).done;Se++)_e=ve?ce(Te,ge,[we.value,Se],!0):we.value,z(Pe,Se,_e);else for(ye=ne(te),Pe=ue?new this(ye):x(ye);ye>Se;Se++)_e=ve?ge(te[Se],Se):te[Se],z(Pe,Se,_e);return Pe.length=Se,Pe}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(E,he,fe){var se=E("../internals/to-indexed-object"),re=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),le=function(ce){return function(ae,oe,ne){var z=se(ae),a=ie(z),y=re(ne,a),x;if(ce&&oe!=oe){for(;a>y;)if(x=z[y++],x!=x)return!0}else for(;a>y;y++)if((ce||y in z)&&z[y]===oe)return ce||y||0;return!ce&&-1}};he.exports={includes:le(!0),indexOf:le(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,he,fe){var se=E("../internals/function-bind-context"),re=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),le=E("../internals/to-object"),ce=E("../internals/length-of-array-like"),ae=E("../internals/array-species-create"),oe=re([].push),ne=function(z){var a=z==1,y=z==2,x=z==3,b=z==4,ee=z==6,te=z==7,ue=z==5||ee;return function(de,ge,ve,me){for(var Se=le(de),ye=ie(Se),Pe=se(ge,ve),we=ce(ye),Te=0,Ee=me||ae,_e=a?Ee(de,we):y||te?Ee(de,0):void 0,Ce,Oe;we>Te;Te++)if((ue||Te in ye)&&(Ce=ye[Te],Oe=Pe(Ce,Te,Se),z))if(a)_e[Te]=Oe;else if(Oe)switch(z){case 3:return!0;case 5:return Ce;case 6:return Te;case 2:oe(_e,Ce)}else switch(z){case 4:return!1;case 7:oe(_e,Ce)}return ee?-1:x||b?b:_e}};he.exports={forEach:ne(0),map:ne(1),filter:ne(2),some:ne(3),every:ne(4),find:ne(5),findIndex:ne(6),filterReject:ne(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(E,he,fe){"use strict";var se=E("../internals/function-apply"),re=E("../internals/to-indexed-object"),ie=E("../internals/to-integer-or-infinity"),le=E("../internals/length-of-array-like"),ce=E("../internals/array-method-is-strict"),ae=Math.min,oe=[].lastIndexOf,ne=!!oe&&1/[1].lastIndexOf(1,-0)<0,z=ce("lastIndexOf"),a=ne||!z;he.exports=a?function(x){if(ne)return se(oe,this,arguments)||0;var b=re(this),ee=le(b),te=ee-1;for(arguments.length>1&&(te=ae(te,ie(arguments[1]))),te<0&&(te=ee+te);te>=0;te--)if(te in b&&b[te]===x)return te||0;return-1}:oe},{"../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,he,fe){var se=E("../internals/fails"),re=E("../internals/well-known-symbol"),ie=E("../internals/engine-v8-version"),le=re("species");he.exports=function(ce){return ie>=51||!se(function(){var ae=[],oe=ae.constructor={};return oe[le]=function(){return{foo:1}},ae[ce](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,he,fe){"use strict";var se=E("../internals/fails");he.exports=function(re,ie){var le=[][re];return!!le&&se(function(){le.call(null,ie||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/a-callable"),ie=E("../internals/to-object"),le=E("../internals/indexed-object"),ce=E("../internals/length-of-array-like"),ae=se.TypeError,oe=function(ne){return function(z,a,y,x){re(a);var b=ie(z),ee=le(b),te=ce(b),ue=ne?te-1:0,de=ne?-1:1;if(y<2)for(;;){if(ue in ee){x=ee[ue],ue+=de;break}if(ue+=de,ne?ue<0:te<=ue)throw ae("Reduce of empty array with no initial value")}for(;ne?ue>=0:te>ue;ue+=de)ue in ee&&(x=a(x,ee[ue],ue,b));return x}};he.exports={left:oe(!1),right:oe(!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,he,fe){var se=E("../internals/global"),re=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),le=E("../internals/create-property"),ce=se.Array,ae=Math.max;he.exports=function(oe,ne,z){for(var a=ie(oe),y=re(ne,a),x=re(z===void 0?a:z,a),b=ce(ae(x-y,0)),ee=0;y0;)ae[y]=ae[--y];y!==z++&&(ae[y]=a)}return ae},ce=function(ae,oe,ne,z){for(var a=oe.length,y=ne.length,x=0,b=0;x0&&oe[0]<4?1:+(oe[0]+oe[1])),!ne&&re&&(oe=re.match(/Edge\/(\d+)/),(!oe||oe[1]>=74)&&(oe=re.match(/Chrome\/(\d+)/),oe&&(ne=+oe[1]))),he.exports=ne},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,he,fe){var se=E("../internals/engine-user-agent"),re=se.match(/AppleWebKit\/(\d+)\./);he.exports=!!re&&+re[1]},{"../internals/engine-user-agent":145}],148:[function(E,he,fe){he.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/object-get-own-property-descriptor").f,ie=E("../internals/create-non-enumerable-property"),le=E("../internals/redefine"),ce=E("../internals/set-global"),ae=E("../internals/copy-constructor-properties"),oe=E("../internals/is-forced");he.exports=function(ne,z){var a=ne.target,y=ne.global,x=ne.stat,b,ee,te,ue,de,ge;if(y?ee=se:x?ee=se[a]||ce(a,{}):ee=(se[a]||{}).prototype,ee)for(te in z){if(de=z[te],ne.noTargetGet?(ge=re(ee,te),ue=ge&&ge.value):ue=ee[te],b=oe(y?te:a+(x?".":"#")+te,ne.forced),!b&&ue!==void 0){if(typeof de==typeof ue)continue;ae(de,ue)}(ne.sham||ue&&ue.sham)&&ie(de,"sham",!0),le(ee,te,de,ne)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(E,he,fe){he.exports=function(se){try{return!!se()}catch(re){return!0}}},{}],151:[function(E,he,fe){"use strict";E("../modules/es.regexp.exec");var se=E("../internals/function-uncurry-this"),re=E("../internals/redefine"),ie=E("../internals/regexp-exec"),le=E("../internals/fails"),ce=E("../internals/well-known-symbol"),ae=E("../internals/create-non-enumerable-property"),oe=ce("species"),ne=RegExp.prototype;he.exports=function(z,a,y,x){var b=ce(z),ee=!le(function(){var ge={};return ge[b]=function(){return 7},""[z](ge)!=7}),te=ee&&!le(function(){var ge=!1,ve=/a/;return z==="split"&&(ve={},ve.constructor={},ve.constructor[oe]=function(){return ve},ve.flags="",ve[b]=/./[b]),ve.exec=function(){return ge=!0,null},ve[b](""),!ge});if(!ee||!te||y){var ue=se(/./[b]),de=a(b,""[z],function(ge,ve,me,Se,ye){var Pe=se(ge),we=ve.exec;return we===ie||we===ne.exec?ee&&!ye?{done:!0,value:ue(ve,me,Se)}:{done:!0,value:Pe(me,ve,Se)}:{done:!1}});re(String.prototype,z,de[0]),re(ne,b,de[1])}x&&ae(ne[b],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(E,he,fe){var se=E("../internals/function-bind-native"),re=Function.prototype,ie=re.apply,le=re.call;he.exports=typeof Reflect=="object"&&Reflect.apply||(se?le.bind(ie):function(){return le.apply(ie,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/a-callable"),ie=E("../internals/function-bind-native"),le=se(se.bind);he.exports=function(ce,ae){return re(ce),ae===void 0?ce:ie?le(ce,ae):function(){return ce.apply(ae,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,he,fe){var se=E("../internals/fails");he.exports=!se(function(){var re=function(){}.bind();return typeof re!="function"||re.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,he,fe){var se=E("../internals/function-bind-native"),re=Function.prototype.call;he.exports=se?re.bind(re):function(){return re.apply(re,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/has-own-property"),ie=Function.prototype,le=se&&Object.getOwnPropertyDescriptor,ce=re(ie,"name"),ae=ce&&function(){}.name==="something",oe=ce&&(!se||se&&le(ie,"name").configurable);he.exports={EXISTS:ce,PROPER:ae,CONFIGURABLE:oe}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,he,fe){var se=E("../internals/function-bind-native"),re=Function.prototype,ie=re.bind,le=re.call,ce=se&&ie.bind(le,le);he.exports=se?function(ae){return ae&&ce(ae)}:function(ae){return ae&&function(){return le.apply(ae,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=function(le){return re(le)?le:void 0};he.exports=function(le,ce){return arguments.length<2?ie(se[le]):se[le]&&se[le][ce]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,he,fe){var se=E("../internals/classof"),re=E("../internals/get-method"),ie=E("../internals/iterators"),le=E("../internals/well-known-symbol"),ce=le("iterator");he.exports=function(ae){if(ae!=null)return re(ae,ce)||re(ae,"@@iterator")||ie[se(ae)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/a-callable"),le=E("../internals/an-object"),ce=E("../internals/try-to-string"),ae=E("../internals/get-iterator-method"),oe=se.TypeError;he.exports=function(ne,z){var a=arguments.length<2?ae(ne):z;if(ie(a))return le(re(a,ne));throw oe(ce(ne)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(E,he,fe){var se=E("../internals/a-callable");he.exports=function(re,ie){var le=re[ie];return le==null?void 0:se(le)}},{"../internals/a-callable":95}],162:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/to-object"),ie=Math.floor,le=se("".charAt),ce=se("".replace),ae=se("".slice),oe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ne=/\$([$&'`]|\d{1,2})/g;he.exports=function(z,a,y,x,b,ee){var te=y+z.length,ue=x.length,de=ne;return b!==void 0&&(b=re(b),de=oe),ce(ee,de,function(ge,ve){var me;switch(le(ve,0)){case"$":return"$";case"&":return z;case"`":return ae(a,0,y);case"'":return ae(a,te);case"<":me=b[ae(ve,1,-1)];break;default:var Se=+ve;if(Se===0)return ge;if(Se>ue){var ye=ie(Se/10);return ye===0?ge:ye<=ue?x[ye-1]===void 0?le(ve,1):x[ye-1]+le(ve,1):ge}me=x[Se-1]}return me===void 0?"":me})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,he,fe){(function(se){(function(){var re=function(ie){return ie&&ie.Math==Math&&ie};he.exports=re(typeof globalThis=="object"&&globalThis)||re(typeof window=="object"&&window)||re(typeof self=="object"&&self)||re(typeof se=="object"&&se)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/to-object"),ie=se({}.hasOwnProperty);he.exports=Object.hasOwn||function(ce,ae){return ie(re(ce),ae)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,he,fe){he.exports={}},{}],166:[function(E,he,fe){var se=E("../internals/global");he.exports=function(re,ie){var le=se.console;le&&le.error&&(arguments.length==1?le.error(re):le.error(re,ie))}},{"../internals/global":163}],167:[function(E,he,fe){var se=E("../internals/get-built-in");he.exports=se("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/fails"),ie=E("../internals/document-create-element");he.exports=!se&&!re(function(){return Object.defineProperty(ie("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,he,fe){var se=E("../internals/global"),re=se.Array,ie=Math.abs,le=Math.pow,ce=Math.floor,ae=Math.log,oe=Math.LN2,ne=function(a,y,x){var b=re(x),ee=x*8-y-1,te=(1<>1,de=y===23?le(2,-24)-le(2,-77):0,ge=a<0||a===0&&1/a<0?1:0,ve=0,me,Se,ye;for(a=ie(a),a!=a||a===1/0?(Se=a!=a?1:0,me=te):(me=ce(ae(a)/oe),ye=le(2,-me),a*ye<1&&(me--,ye*=2),me+ue>=1?a+=de/ye:a+=de*le(2,1-ue),a*ye>=2&&(me++,ye/=2),me+ue>=te?(Se=0,me=te):me+ue>=1?(Se=(a*ye-1)*le(2,y),me=me+ue):(Se=a*le(2,ue-1)*le(2,y),me=0));y>=8;)b[ve++]=Se&255,Se/=256,y-=8;for(me=me<0;)b[ve++]=me&255,me/=256,ee-=8;return b[--ve]|=ge*128,b},z=function(a,y){var x=a.length,b=x*8-y-1,ee=(1<>1,ue=b-7,de=x-1,ge=a[de--],ve=ge&127,me;for(ge>>=7;ue>0;)ve=ve*256+a[de--],ue-=8;for(me=ve&(1<<-ue)-1,ve>>=-ue,ue+=y;ue>0;)me=me*256+a[de--],ue-=8;if(ve===0)ve=1-te;else{if(ve===ee)return me?NaN:ge?-1/0:1/0;me=me+le(2,y),ve=ve-te}return(ge?-1:1)*me*le(2,ve-y)};he.exports={pack:ne,unpack:z}},{"../internals/global":163}],170:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),le=E("../internals/classof-raw"),ce=se.Object,ae=re("".split);he.exports=ie(function(){return!ce("z").propertyIsEnumerable(0)})?function(oe){return le(oe)=="String"?ae(oe,""):ce(oe)}:ce},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,he,fe){var se=E("../internals/is-callable"),re=E("../internals/is-object"),ie=E("../internals/object-set-prototype-of");he.exports=function(le,ce,ae){var oe,ne;return ie&&se(oe=ce.constructor)&&oe!==ae&&re(ne=oe.prototype)&&ne!==ae.prototype&&ie(le,ne),le}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/is-callable"),ie=E("../internals/shared-store"),le=se(Function.toString);re(ie.inspectSource)||(ie.inspectSource=function(ce){return le(ce)}),he.exports=ie.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,he,fe){var se=E("../internals/native-weak-map"),re=E("../internals/global"),ie=E("../internals/function-uncurry-this"),le=E("../internals/is-object"),ce=E("../internals/create-non-enumerable-property"),ae=E("../internals/has-own-property"),oe=E("../internals/shared-store"),ne=E("../internals/shared-key"),z=E("../internals/hidden-keys"),a="Object already initialized",y=re.TypeError,x=re.WeakMap,b,ee,te,ue=function(Pe){return te(Pe)?ee(Pe):b(Pe,{})},de=function(Pe){return function(we){var Te;if(!le(we)||(Te=ee(we)).type!==Pe)throw y("Incompatible receiver, "+Pe+" required");return Te}};if(se||oe.state){var ge=oe.state||(oe.state=new x),ve=ie(ge.get),me=ie(ge.has),Se=ie(ge.set);b=function(Pe,we){if(me(ge,Pe))throw new y(a);return we.facade=Pe,Se(ge,Pe,we),we},ee=function(Pe){return ve(ge,Pe)||{}},te=function(Pe){return me(ge,Pe)}}else{var ye=ne("state");z[ye]=!0,b=function(Pe,we){if(ae(Pe,ye))throw new y(a);return we.facade=Pe,ce(Pe,ye,we),we},ee=function(Pe){return ae(Pe,ye)?Pe[ye]:{}},te=function(Pe){return ae(Pe,ye)}}he.exports={set:b,get:ee,has:te,enforce:ue,getterFor:de}},{"../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,he,fe){var se=E("../internals/well-known-symbol"),re=E("../internals/iterators"),ie=se("iterator"),le=Array.prototype;he.exports=function(ce){return ce!==void 0&&(re.Array===ce||le[ie]===ce)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,he,fe){var se=E("../internals/classof-raw");he.exports=Array.isArray||function(ie){return se(ie)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,he,fe){he.exports=function(se){return typeof se=="function"}},{}],177:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/fails"),ie=E("../internals/is-callable"),le=E("../internals/classof"),ce=E("../internals/get-built-in"),ae=E("../internals/inspect-source"),oe=function(){},ne=[],z=ce("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=se(a.exec),x=!a.exec(oe),b=function(ue){if(!ie(ue))return!1;try{return z(oe,ne,ue),!0}catch(de){return!1}},ee=function(ue){if(!ie(ue))return!1;switch(le(ue)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,ae(ue))}catch(de){return!0}};ee.sham=!0,he.exports=!z||re(function(){var te;return b(b.call)||!b(Object)||!b(function(){te=!0})||te})?ee:b},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(E,he,fe){var se=E("../internals/fails"),re=E("../internals/is-callable"),ie=/#|\.prototype\./,le=function(z,a){var y=ae[ce(z)];return y==ne?!0:y==oe?!1:re(a)?se(a):!!a},ce=le.normalize=function(z){return String(z).replace(ie,".").toLowerCase()},ae=le.data={},oe=le.NATIVE="N",ne=le.POLYFILL="P";he.exports=le},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,he,fe){var se=E("../internals/is-object"),re=Math.floor;he.exports=Number.isInteger||function(le){return!se(le)&&isFinite(le)&&re(le)===le}},{"../internals/is-object":180}],180:[function(E,he,fe){var se=E("../internals/is-callable");he.exports=function(re){return typeof re=="object"?re!==null:se(re)}},{"../internals/is-callable":176}],181:[function(E,he,fe){he.exports=!1},{}],182:[function(E,he,fe){var se=E("../internals/is-object"),re=E("../internals/classof-raw"),ie=E("../internals/well-known-symbol"),le=ie("match");he.exports=function(ce){var ae;return se(ce)&&((ae=ce[le])!==void 0?!!ae:re(ce)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/get-built-in"),ie=E("../internals/is-callable"),le=E("../internals/object-is-prototype-of"),ce=E("../internals/use-symbol-as-uid"),ae=se.Object;he.exports=ce?function(oe){return typeof oe=="symbol"}:function(oe){var ne=re("Symbol");return ie(ne)&&le(ne.prototype,ae(oe))}},{"../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,he,fe){var se=E("../internals/global"),re=E("../internals/function-bind-context"),ie=E("../internals/function-call"),le=E("../internals/an-object"),ce=E("../internals/try-to-string"),ae=E("../internals/is-array-iterator-method"),oe=E("../internals/length-of-array-like"),ne=E("../internals/object-is-prototype-of"),z=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=se.TypeError,b=function(te,ue){this.stopped=te,this.result=ue},ee=b.prototype;he.exports=function(te,ue,de){var ge=de&&de.that,ve=!!(de&&de.AS_ENTRIES),me=!!(de&&de.IS_ITERATOR),Se=!!(de&&de.INTERRUPTED),ye=re(ue,ge),Pe,we,Te,Ee,_e,Ce,Oe,Ie=function(je){return Pe&&y(Pe,"normal",je),new b(!0,je)},Ue=function(je){return ve?(le(je),Se?ye(je[0],je[1],Ie):ye(je[0],je[1])):Se?ye(je,Ie):ye(je)};if(me)Pe=te;else{if(we=a(te),!we)throw x(ce(te)+" is not iterable");if(ae(we)){for(Te=0,Ee=oe(te);Ee>Te;Te++)if(_e=Ue(te[Te]),_e&&ne(ee,_e))return _e;return new b(!1)}Pe=z(te,we)}for(Ce=Pe.next;!(Oe=ie(Ce,Pe)).done;){try{_e=Ue(Oe.value)}catch(je){y(Pe,"throw",je)}if(typeof _e=="object"&&_e&&ne(ee,_e))return _e}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,he,fe){var se=E("../internals/function-call"),re=E("../internals/an-object"),ie=E("../internals/get-method");he.exports=function(le,ce,ae){var oe,ne;re(le);try{if(oe=ie(le,"return"),!oe){if(ce==="throw")throw ae;return ae}oe=se(oe,le)}catch(z){ne=!0,oe=z}if(ce==="throw")throw ae;if(ne)throw oe;return re(oe),ae}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,he,fe){"use strict";var se=E("../internals/fails"),re=E("../internals/is-callable"),ie=E("../internals/object-create"),le=E("../internals/object-get-prototype-of"),ce=E("../internals/redefine"),ae=E("../internals/well-known-symbol"),oe=E("../internals/is-pure"),ne=ae("iterator"),z=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=le(le(x)),y!==Object.prototype&&(a=y)):z=!0);var b=a==null||se(function(){var ee={};return a[ne].call(ee)!==ee});b?a={}:oe&&(a=ie(a)),re(a[ne])||ce(a,ne,function(){return this}),he.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:z}},{"../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,he,fe){arguments[4][165][0].apply(fe,arguments)},{dup:165}],188:[function(E,he,fe){var se=E("../internals/to-length");he.exports=function(re){return se(re.length)}},{"../internals/to-length":249}],189:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-bind-context"),ie=E("../internals/object-get-own-property-descriptor").f,le=E("../internals/task").set,ce=E("../internals/engine-is-ios"),ae=E("../internals/engine-is-ios-pebble"),oe=E("../internals/engine-is-webos-webkit"),ne=E("../internals/engine-is-node"),z=se.MutationObserver||se.WebKitMutationObserver,a=se.document,y=se.process,x=se.Promise,b=ie(se,"queueMicrotask"),ee=b&&b.value,te,ue,de,ge,ve,me,Se,ye;ee||(te=function(){var Pe,we;for(ne&&(Pe=y.domain)&&Pe.exit();ue;){we=ue.fn,ue=ue.next;try{we()}catch(Te){throw ue?ge():de=void 0,Te}}de=void 0,Pe&&Pe.enter()},!ce&&!ne&&!oe&&z&&a?(ve=!0,me=a.createTextNode(""),new z(te).observe(me,{characterData:!0}),ge=function(){me.data=ve=!ve}):!ae&&x&&x.resolve?(Se=x.resolve(void 0),Se.constructor=x,ye=re(Se.then,Se),ge=function(){ye(te)}):ne?ge=function(){y.nextTick(te)}:(le=re(le,se),ge=function(){le(te)})),he.exports=ee||function(Pe){var we={fn:Pe,next:void 0};de&&(de.next=we),ue||(ue=we,ge()),de=we}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(E,he,fe){var se=E("../internals/native-symbol");he.exports=se&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,he,fe){var se=E("../internals/engine-v8-version"),re=E("../internals/fails");he.exports=!!Object.getOwnPropertySymbols&&!re(function(){var ie=Symbol();return!String(ie)||!(Object(ie)instanceof Symbol)||!Symbol.sham&&se&&se<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=E("../internals/inspect-source"),le=se.WeakMap;he.exports=re(le)&&/native code/.test(ie(le))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,he,fe){"use strict";var se=E("../internals/a-callable"),re=function(ie){var le,ce;this.promise=new ie(function(ae,oe){if(le!==void 0||ce!==void 0)throw TypeError("Bad Promise constructor");le=ae,ce=oe}),this.resolve=se(le),this.reject=se(ce)};he.exports.f=function(ie){return new re(ie)}},{"../internals/a-callable":95}],194:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-regexp"),ie=se.TypeError;he.exports=function(le){if(re(le))throw ie("The method doesn't accept regular expressions");return le}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,he,fe){"use strict";var se=E("../internals/descriptors"),re=E("../internals/function-uncurry-this"),ie=E("../internals/function-call"),le=E("../internals/fails"),ce=E("../internals/object-keys"),ae=E("../internals/object-get-own-property-symbols"),oe=E("../internals/object-property-is-enumerable"),ne=E("../internals/to-object"),z=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=re([].concat);he.exports=!a||le(function(){if(se&&a({b:1},a(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},ee={},te=Symbol(),ue="abcdefghijklmnopqrst";return b[te]=7,ue.split("").forEach(function(de){ee[de]=de}),a({},b)[te]!=7||ce(a({},ee)).join("")!=ue})?function(ee,te){for(var ue=ne(ee),de=arguments.length,ge=1,ve=ae.f,me=oe.f;de>ge;)for(var Se=z(arguments[ge++]),ye=ve?x(ce(Se),ve(Se)):ce(Se),Pe=ye.length,we=0,Te;Pe>we;)Te=ye[we++],(!se||ie(me,Se,Te))&&(ue[Te]=Se[Te]);return ue}:a},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(E,he,fe){var se=E("../internals/an-object"),re=E("../internals/object-define-properties"),ie=E("../internals/enum-bug-keys"),le=E("../internals/hidden-keys"),ce=E("../internals/html"),ae=E("../internals/document-create-element"),oe=E("../internals/shared-key"),ne=">",z="<",a="prototype",y="script",x=oe("IE_PROTO"),b=function(){},ee=function(ve){return z+y+ne+ve+z+"/"+y+ne},te=function(ve){ve.write(ee("")),ve.close();var me=ve.parentWindow.Object;return ve=null,me},ue=function(){var ve=ae("iframe"),me="java"+y+":",Se;return ve.style.display="none",ce.appendChild(ve),ve.src=String(me),Se=ve.contentWindow.document,Se.open(),Se.write(ee("document.F=Object")),Se.close(),Se.F},de,ge=function(){try{de=new ActiveXObject("htmlfile")}catch(me){}ge=typeof document!="undefined"?document.domain&&de?te(de):ue():te(de);for(var ve=ie.length;ve--;)delete ge[a][ie[ve]];return ge()};le[x]=!0,he.exports=Object.create||function(me,Se){var ye;return me!==null?(b[a]=se(me),ye=new b,b[a]=null,ye[x]=me):ye=ge(),Se===void 0?ye:re.f(ye,Se)}},{"../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,he,fe){var se=E("../internals/descriptors"),re=E("../internals/v8-prototype-define-bug"),ie=E("../internals/object-define-property"),le=E("../internals/an-object"),ce=E("../internals/to-indexed-object"),ae=E("../internals/object-keys");fe.f=se&&!re?Object.defineProperties:function(ne,z){le(ne);for(var a=ce(z),y=ae(z),x=y.length,b=0,ee;x>b;)ie.f(ne,ee=y[b++],a[ee]);return ne}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/descriptors"),ie=E("../internals/ie8-dom-define"),le=E("../internals/v8-prototype-define-bug"),ce=E("../internals/an-object"),ae=E("../internals/to-property-key"),oe=se.TypeError,ne=Object.defineProperty,z=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";fe.f=re?le?function(ee,te,ue){if(ce(ee),te=ae(te),ce(ue),typeof ee=="function"&&te==="prototype"&&"value"in ue&&x in ue&&!ue[x]){var de=z(ee,te);de&&de[x]&&(ee[te]=ue.value,ue={configurable:y in ue?ue[y]:de[y],enumerable:a in ue?ue[a]:de[a],writable:!1})}return ne(ee,te,ue)}:ne:function(ee,te,ue){if(ce(ee),te=ae(te),ce(ue),ie)try{return ne(ee,te,ue)}catch(de){}if("get"in ue||"set"in ue)throw oe("Accessors not supported");return"value"in ue&&(ee[te]=ue.value),ee}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/function-call"),ie=E("../internals/object-property-is-enumerable"),le=E("../internals/create-property-descriptor"),ce=E("../internals/to-indexed-object"),ae=E("../internals/to-property-key"),oe=E("../internals/has-own-property"),ne=E("../internals/ie8-dom-define"),z=Object.getOwnPropertyDescriptor;fe.f=se?z:function(y,x){if(y=ce(y),x=ae(x),ne)try{return z(y,x)}catch(b){}if(oe(y,x))return le(!re(ie.f,y,x),y[x])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(E,he,fe){var se=E("../internals/classof-raw"),re=E("../internals/to-indexed-object"),ie=E("../internals/object-get-own-property-names").f,le=E("../internals/array-slice-simple"),ce=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ae=function(oe){try{return ie(oe)}catch(ne){return le(ce)}};he.exports.f=function(ne){return ce&&se(ne)=="Window"?ae(ne):ie(re(ne))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,he,fe){var se=E("../internals/object-keys-internal"),re=E("../internals/enum-bug-keys"),ie=re.concat("length","prototype");fe.f=Object.getOwnPropertyNames||function(ce){return se(ce,ie)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,he,fe){fe.f=Object.getOwnPropertySymbols},{}],203:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/has-own-property"),ie=E("../internals/is-callable"),le=E("../internals/to-object"),ce=E("../internals/shared-key"),ae=E("../internals/correct-prototype-getter"),oe=ce("IE_PROTO"),ne=se.Object,z=ne.prototype;he.exports=ae?ne.getPrototypeOf:function(a){var y=le(a);if(re(y,oe))return y[oe];var x=y.constructor;return ie(x)&&y instanceof x?x.prototype:y instanceof ne?z: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,he,fe){var se=E("../internals/function-uncurry-this");he.exports=se({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/has-own-property"),ie=E("../internals/to-indexed-object"),le=E("../internals/array-includes").indexOf,ce=E("../internals/hidden-keys"),ae=se([].push);he.exports=function(oe,ne){var z=ie(oe),a=0,y=[],x;for(x in z)!re(ce,x)&&re(z,x)&&ae(y,x);for(;ne.length>a;)re(z,x=ne[a++])&&(~le(y,x)||ae(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,he,fe){var se=E("../internals/object-keys-internal"),re=E("../internals/enum-bug-keys");he.exports=Object.keys||function(le){return se(le,re)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,he,fe){"use strict";var se={}.propertyIsEnumerable,re=Object.getOwnPropertyDescriptor,ie=re&&!se.call({1:2},1);fe.f=ie?function(ce){var ae=re(this,ce);return!!ae&&ae.enumerable}:se},{}],208:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/an-object"),ie=E("../internals/a-possible-prototype");he.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var le=!1,ce={},ae;try{ae=se(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ae(ce,[]),le=ce instanceof Array}catch(oe){}return function(ne,z){return re(ne),ie(z),le?ae(ne,z):ne.__proto__=z,ne}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/function-uncurry-this"),ie=E("../internals/object-keys"),le=E("../internals/to-indexed-object"),ce=E("../internals/object-property-is-enumerable").f,ae=re(ce),oe=re([].push),ne=function(z){return function(a){for(var y=le(a),x=ie(y),b=x.length,ee=0,te=[],ue;b>ee;)ue=x[ee++],(!se||ae(y,ue))&&oe(te,z?[ue,y[ue]]:y[ue]);return te}};he.exports={entries:ne(!0),values:ne(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(E,he,fe){"use strict";var se=E("../internals/to-string-tag-support"),re=E("../internals/classof");he.exports=se?{}.toString:function(){return"[object "+re(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/is-callable"),le=E("../internals/is-object"),ce=se.TypeError;he.exports=function(ae,oe){var ne,z;if(oe==="string"&&ie(ne=ae.toString)&&!le(z=re(ne,ae))||ie(ne=ae.valueOf)&&!le(z=re(ne,ae))||oe!=="string"&&ie(ne=ae.toString)&&!le(z=re(ne,ae)))return z;throw ce("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(E,he,fe){var se=E("../internals/get-built-in"),re=E("../internals/function-uncurry-this"),ie=E("../internals/object-get-own-property-names"),le=E("../internals/object-get-own-property-symbols"),ce=E("../internals/an-object"),ae=re([].concat);he.exports=se("Reflect","ownKeys")||function(ne){var z=ie.f(ce(ne)),a=le.f;return a?ae(z,a(ne)):z}},{"../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,he,fe){var se=E("../internals/global");he.exports=se},{"../internals/global":163}],214:[function(E,he,fe){he.exports=function(se){try{return{error:!1,value:se()}}catch(re){return{error:!0,value:re}}}},{}],215:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/promise-native-constructor"),ie=E("../internals/is-callable"),le=E("../internals/is-forced"),ce=E("../internals/inspect-source"),ae=E("../internals/well-known-symbol"),oe=E("../internals/engine-is-browser"),ne=E("../internals/is-pure"),z=E("../internals/engine-v8-version"),a=re&&re.prototype,y=ae("species"),x=!1,b=ie(se.PromiseRejectionEvent),ee=le("Promise",function(){var te=ce(re),ue=te!==String(re);if(!ue&&z===66||ne&&!(a.catch&&a.finally))return!0;if(z>=51&&/native code/.test(te))return!1;var de=new re(function(me){me(1)}),ge=function(me){me(function(){},function(){})},ve=de.constructor={};return ve[y]=ge,x=de.then(function(){})instanceof ge,x?!ue&&oe&&!b:!0});he.exports={CONSTRUCTOR:ee,REJECTION_EVENT:b,SUBCLASSING:x}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(E,he,fe){var se=E("../internals/global");he.exports=se.Promise},{"../internals/global":163}],217:[function(E,he,fe){var se=E("../internals/an-object"),re=E("../internals/is-object"),ie=E("../internals/new-promise-capability");he.exports=function(le,ce){if(se(le),re(ce)&&ce.constructor===le)return ce;var ae=ie.f(le),oe=ae.resolve;return oe(ce),ae.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,he,fe){var se=E("../internals/promise-native-constructor"),re=E("../internals/check-correctness-of-iteration"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR;he.exports=ie||!re(function(le){se.all(le).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,he,fe){var se=E("../internals/object-define-property").f;he.exports=function(re,ie,le){le in re||se(re,le,{configurable:!0,get:function(){return ie[le]},set:function(ce){ie[le]=ce}})}},{"../internals/object-define-property":198}],220:[function(E,he,fe){var se=function(){this.head=null,this.tail=null};se.prototype={add:function(re){var ie={item:re,next:null};this.head?this.tail.next=ie:this.head=ie,this.tail=ie},get:function(){var re=this.head;if(re)return this.head=re.next,this.tail===re&&(this.tail=null),re.item}},he.exports=se},{}],221:[function(E,he,fe){var se=E("../internals/redefine");he.exports=function(re,ie,le){for(var ce in ie)se(re,ce,ie[ce],le);return re}},{"../internals/redefine":222}],222:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=E("../internals/has-own-property"),le=E("../internals/create-non-enumerable-property"),ce=E("../internals/set-global"),ae=E("../internals/inspect-source"),oe=E("../internals/internal-state"),ne=E("../internals/function-name").CONFIGURABLE,z=oe.get,a=oe.enforce,y=String(String).split("String");(he.exports=function(x,b,ee,te){var ue=te?!!te.unsafe:!1,de=te?!!te.enumerable:!1,ge=te?!!te.noTargetGet:!1,ve=te&&te.name!==void 0?te.name:b,me;if(re(ee)&&(String(ve).slice(0,7)==="Symbol("&&(ve="["+String(ve).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ie(ee,"name")||ne&&ee.name!==ve)&&le(ee,"name",ve),me=a(ee),me.source||(me.source=y.join(typeof ve=="string"?ve:""))),x===se){de?x[b]=ee:ce(b,ee);return}else ue?!ge&&x[b]&&(de=!0):delete x[b];de?x[b]=ee:le(x,b,ee)})(Function.prototype,"toString",function(){return re(this)&&z(this).source||ae(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,he,fe){var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/an-object"),le=E("../internals/is-callable"),ce=E("../internals/classof-raw"),ae=E("../internals/regexp-exec"),oe=se.TypeError;he.exports=function(ne,z){var a=ne.exec;if(le(a)){var y=re(a,ne,z);return y!==null&&ie(y),y}if(ce(ne)==="RegExp")return re(ae,ne,z);throw oe("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,he,fe){"use strict";var se=E("../internals/function-call"),re=E("../internals/function-uncurry-this"),ie=E("../internals/to-string"),le=E("../internals/regexp-flags"),ce=E("../internals/regexp-sticky-helpers"),ae=E("../internals/shared"),oe=E("../internals/object-create"),ne=E("../internals/internal-state").get,z=E("../internals/regexp-unsupported-dot-all"),a=E("../internals/regexp-unsupported-ncg"),y=ae("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,b=x,ee=re("".charAt),te=re("".indexOf),ue=re("".replace),de=re("".slice),ge=function(){var ye=/a/,Pe=/b*/g;return se(x,ye,"a"),se(x,Pe,"a"),ye.lastIndex!==0||Pe.lastIndex!==0}(),ve=ce.BROKEN_CARET,me=/()??/.exec("")[1]!==void 0,Se=ge||me||ve||z||a;Se&&(b=function(Pe){var we=this,Te=ne(we),Ee=ie(Pe),_e=Te.raw,Ce,Oe,Ie,Ue,je,nt,Je;if(_e)return _e.lastIndex=we.lastIndex,Ce=se(b,_e,Ee),we.lastIndex=_e.lastIndex,Ce;var Qe=Te.groups,Xe=ve&&we.sticky,ze=se(le,we),ke=we.source,Be=0,qe=Ee;if(Xe&&(ze=ue(ze,"y",""),te(ze,"g")===-1&&(ze+="g"),qe=de(Ee,we.lastIndex),we.lastIndex>0&&(!we.multiline||we.multiline&&ee(Ee,we.lastIndex-1)!==` `)&&(ke="(?: "+ke+")",qe=" "+qe,Be++),Oe=new RegExp("^(?:"+ke+")",ze)),me&&(Oe=new RegExp("^"+ke+"$(?!\\s)",ze)),ge&&(Ie=we.lastIndex),Ue=se(x,Xe?Oe:we,qe),Xe?Ue?(Ue.input=de(Ue.input,Be),Ue[0]=de(Ue[0],Be),Ue.index=we.lastIndex,we.lastIndex+=Ue[0].length):we.lastIndex=0:ge&&Ue&&(we.lastIndex=we.global?Ue.index+Ue[0].length:Ie),me&&Ue&&Ue.length>1&&se(y,Ue[0],Oe,function(){for(je=1;jeb)","g");return le.exec("b").groups.a!=="b"||"b".replace(le,"$c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,he,fe){var se=E("../internals/global"),re=se.TypeError;he.exports=function(ie){if(ie==null)throw re("Can't call method on "+ie);return ie}},{"../internals/global":163}],231:[function(E,he,fe){he.exports=Object.is||function(re,ie){return re===ie?re!==0||1/re===1/ie:re!=re&&ie!=ie}},{}],232:[function(E,he,fe){var se=E("../internals/global"),re=Object.defineProperty;he.exports=function(ie,le){try{re(se,ie,{value:le,configurable:!0,writable:!0})}catch(ce){se[ie]=le}return le}},{"../internals/global":163}],233:[function(E,he,fe){"use strict";var se=E("../internals/get-built-in"),re=E("../internals/object-define-property"),ie=E("../internals/well-known-symbol"),le=E("../internals/descriptors"),ce=ie("species");he.exports=function(ae){var oe=se(ae),ne=re.f;le&&oe&&!oe[ce]&&ne(oe,ce,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(E,he,fe){var se=E("../internals/object-define-property").f,re=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol"),le=ie("toStringTag");he.exports=function(ce,ae,oe){ce&&!oe&&(ce=ce.prototype),ce&&!re(ce,le)&&se(ce,le,{configurable:!0,value:ae})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,he,fe){var se=E("../internals/shared"),re=E("../internals/uid"),ie=se("keys");he.exports=function(le){return ie[le]||(ie[le]=re(le))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/set-global"),ie="__core-js_shared__",le=se[ie]||re(ie,{});he.exports=le},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,he,fe){var se=E("../internals/is-pure"),re=E("../internals/shared-store");(he.exports=function(ie,le){return re[ie]||(re[ie]=le!==void 0?le:{})})("versions",[]).push({version:"3.22.1",mode:se?"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,he,fe){var se=E("../internals/an-object"),re=E("../internals/a-constructor"),ie=E("../internals/well-known-symbol"),le=ie("species");he.exports=function(ce,ae){var oe=se(ce).constructor,ne;return oe===void 0||(ne=se(oe)[le])==null?ae:re(ne)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-string"),le=E("../internals/require-object-coercible"),ce=se("".charAt),ae=se("".charCodeAt),oe=se("".slice),ne=function(z){return function(a,y){var x=ie(le(a)),b=re(y),ee=x.length,te,ue;return b<0||b>=ee?z?"":void 0:(te=ae(x,b),te<55296||te>56319||b+1===ee||(ue=ae(x,b+1))<56320||ue>57343?z?ce(x,b):te:z?oe(x,b,b+2):(te-55296<<10)+(ue-56320)+65536)}};he.exports={codeAt:ne(!1),charAt:ne(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,he,fe){var se=E("../internals/function-name").PROPER,re=E("../internals/fails"),ie=E("../internals/whitespaces"),le="\u200B\x85\u180E";he.exports=function(ce){return re(function(){return!!ie[ce]()||le[ce]()!==le||se&&ie[ce].name!==ce})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/require-object-coercible"),ie=E("../internals/to-string"),le=E("../internals/whitespaces"),ce=se("".replace),ae="["+le+"]",oe=RegExp("^"+ae+ae+"*"),ne=RegExp(ae+ae+"*$"),z=function(a){return function(y){var x=ie(re(y));return a&1&&(x=ce(x,oe,"")),a&2&&(x=ce(x,ne,"")),x}};he.exports={start:z(1),end:z(2),trim:z(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,he,fe){var se=E("../internals/function-call"),re=E("../internals/get-built-in"),ie=E("../internals/well-known-symbol"),le=E("../internals/redefine");he.exports=function(){var ce=re("Symbol"),ae=ce&&ce.prototype,oe=ae&&ae.valueOf,ne=ie("toPrimitive");ae&&!ae[ne]&&le(ae,ne,function(z){return se(oe,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-apply"),ie=E("../internals/function-bind-context"),le=E("../internals/is-callable"),ce=E("../internals/has-own-property"),ae=E("../internals/fails"),oe=E("../internals/html"),ne=E("../internals/array-slice"),z=E("../internals/document-create-element"),a=E("../internals/validate-arguments-length"),y=E("../internals/engine-is-ios"),x=E("../internals/engine-is-node"),b=se.setImmediate,ee=se.clearImmediate,te=se.process,ue=se.Dispatch,de=se.Function,ge=se.MessageChannel,ve=se.String,me=0,Se={},ye="onreadystatechange",Pe,we,Te,Ee;try{Pe=se.location}catch(Ue){}var _e=function(Ue){if(ce(Se,Ue)){var je=Se[Ue];delete Se[Ue],je()}},Ce=function(Ue){return function(){_e(Ue)}},Oe=function(Ue){_e(Ue.data)},Ie=function(Ue){se.postMessage(ve(Ue),Pe.protocol+"//"+Pe.host)};(!b||!ee)&&(b=function(je){a(arguments.length,1);var nt=le(je)?je:de(je),Je=ne(arguments,1);return Se[++me]=function(){re(nt,void 0,Je)},we(me),me},ee=function(je){delete Se[je]},x?we=function(Ue){te.nextTick(Ce(Ue))}:ue&&ue.now?we=function(Ue){ue.now(Ce(Ue))}:ge&&!y?(Te=new ge,Ee=Te.port2,Te.port1.onmessage=Oe,we=ie(Ee.postMessage,Ee)):se.addEventListener&&le(se.postMessage)&&!se.importScripts&&Pe&&Pe.protocol!=="file:"&&!ae(Ie)?(we=Ie,se.addEventListener("message",Oe,!1)):ye in z("script")?we=function(Ue){oe.appendChild(z("script"))[ye]=function(){oe.removeChild(this),_e(Ue)}}:we=function(Ue){setTimeout(Ce(Ue),0)}),he.exports={set:b,clear:ee}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(E,he,fe){var se=E("../internals/function-uncurry-this");he.exports=se(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,he,fe){var se=E("../internals/to-integer-or-infinity"),re=Math.max,ie=Math.min;he.exports=function(le,ce){var ae=se(le);return ae<0?re(ae+ce,0):ie(ae,ce)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-length"),le=se.RangeError;he.exports=function(ce){if(ce===void 0)return 0;var ae=re(ce),oe=ie(ae);if(ae!==oe)throw le("Wrong length or index");return oe}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,he,fe){var se=E("../internals/indexed-object"),re=E("../internals/require-object-coercible");he.exports=function(ie){return se(re(ie))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,he,fe){var se=Math.ceil,re=Math.floor;he.exports=function(ie){var le=+ie;return le!==le||le===0?0:(le>0?re:se)(le)}},{}],249:[function(E,he,fe){var se=E("../internals/to-integer-or-infinity"),re=Math.min;he.exports=function(ie){return ie>0?re(se(ie),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/require-object-coercible"),ie=se.Object;he.exports=function(le){return ie(re(le))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/to-positive-integer"),ie=se.RangeError;he.exports=function(le,ce){var ae=re(le);if(ae%ce)throw ie("Wrong offset");return ae}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/to-integer-or-infinity"),ie=se.RangeError;he.exports=function(le){var ce=re(le);if(ce<0)throw ie("The argument can't be less than 0");return ce}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/is-object"),le=E("../internals/is-symbol"),ce=E("../internals/get-method"),ae=E("../internals/ordinary-to-primitive"),oe=E("../internals/well-known-symbol"),ne=se.TypeError,z=oe("toPrimitive");he.exports=function(a,y){if(!ie(a)||le(a))return a;var x=ce(a,z),b;if(x){if(y===void 0&&(y="default"),b=re(x,a,y),!ie(b)||le(b))return b;throw ne("Can't convert object to primitive value")}return y===void 0&&(y="number"),ae(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,he,fe){var se=E("../internals/to-primitive"),re=E("../internals/is-symbol");he.exports=function(ie){var le=se(ie,"string");return re(le)?le:le+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,he,fe){var se=E("../internals/well-known-symbol"),re=se("toStringTag"),ie={};ie[re]="z",he.exports=String(ie)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/classof"),ie=se.String;he.exports=function(le){if(re(le)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ie(le)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,he,fe){var se=E("../internals/global"),re=se.String;he.exports=function(ie){try{return re(ie)}catch(le){return"Object"}}},{"../internals/global":163}],258:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/global"),ie=E("../internals/function-call"),le=E("../internals/descriptors"),ce=E("../internals/typed-array-constructors-require-wrappers"),ae=E("../internals/array-buffer-view-core"),oe=E("../internals/array-buffer"),ne=E("../internals/an-instance"),z=E("../internals/create-property-descriptor"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/is-integral-number"),x=E("../internals/to-length"),b=E("../internals/to-index"),ee=E("../internals/to-offset"),te=E("../internals/to-property-key"),ue=E("../internals/has-own-property"),de=E("../internals/classof"),ge=E("../internals/is-object"),ve=E("../internals/is-symbol"),me=E("../internals/object-create"),Se=E("../internals/object-is-prototype-of"),ye=E("../internals/object-set-prototype-of"),Pe=E("../internals/object-get-own-property-names").f,we=E("../internals/typed-array-from"),Te=E("../internals/array-iteration").forEach,Ee=E("../internals/set-species"),_e=E("../internals/object-define-property"),Ce=E("../internals/object-get-own-property-descriptor"),Oe=E("../internals/internal-state"),Ie=E("../internals/inherit-if-required"),Ue=Oe.get,je=Oe.set,nt=_e.f,Je=Ce.f,Qe=Math.round,Xe=re.RangeError,ze=oe.ArrayBuffer,ke=ze.prototype,Be=oe.DataView,qe=ae.NATIVE_ARRAY_BUFFER_VIEWS,Ye=ae.TYPED_ARRAY_CONSTRUCTOR,gt=ae.TYPED_ARRAY_TAG,$e=ae.TypedArray,We=ae.TypedArrayPrototype,Re=ae.aTypedArrayConstructor,tt=ae.isTypedArray,Me="BYTES_PER_ELEMENT",He="Wrong length",Ve=function(Ge,ot){Re(Ge);for(var St=0,wt=ot.length,rt=new Ge(wt);wt>St;)rt[St]=ot[St++];return rt},Ze=function(Ge,ot){nt(Ge,ot,{get:function(){return Ue(this)[ot]}})},Ke=function(Ge){var ot;return Se(ke,Ge)||(ot=de(Ge))=="ArrayBuffer"||ot=="SharedArrayBuffer"},Ae=function(Ge,ot){return tt(Ge)&&!ve(ot)&&ot in Ge&&y(+ot)&&ot>=0},Le=function(ot,St){return St=te(St),Ae(ot,St)?z(2,ot[St]):Je(ot,St)},Ne=function(ot,St,wt){return St=te(St),Ae(ot,St)&&ge(wt)&&ue(wt,"value")&&!ue(wt,"get")&&!ue(wt,"set")&&!wt.configurable&&(!ue(wt,"writable")||wt.writable)&&(!ue(wt,"enumerable")||wt.enumerable)?(ot[St]=wt.value,ot):nt(ot,St,wt)};le?(qe||(Ce.f=Le,_e.f=Ne,Ze(We,"buffer"),Ze(We,"byteOffset"),Ze(We,"byteLength"),Ze(We,"length")),se({target:"Object",stat:!0,forced:!qe},{getOwnPropertyDescriptor:Le,defineProperty:Ne}),he.exports=function(Ge,ot,St){var wt=Ge.match(/\d+$/)[0]/8,rt=Ge+(St?"Clamped":"")+"Array",bt="get"+Ge,Ft="set"+Ge,$t=re[rt],st=$t,Nt=st&&st.prototype,ct={},pt=function(zt,rn){var kn=Ue(zt);return kn.view[bt](rn*wt+kn.byteOffset,!0)},Ct=function(zt,rn,kn){var jn=Ue(zt);St&&(kn=(kn=Qe(kn))<0?0:kn>255?255:kn&255),jn.view[Ft](rn*wt+jn.byteOffset,kn,!0)},Rt=function(zt,rn){nt(zt,rn,{get:function(){return pt(this,rn)},set:function(kn){return Ct(this,rn,kn)},enumerable:!0})};qe?ce&&(st=ot(function(zt,rn,kn,jn){return ne(zt,Nt),Ie(function(){return ge(rn)?Ke(rn)?jn!==void 0?new $t(rn,ee(kn,wt),jn):kn!==void 0?new $t(rn,ee(kn,wt)):new $t(rn):tt(rn)?Ve(st,rn):ie(we,st,rn):new $t(b(rn))}(),zt,st)}),ye&&ye(st,$e),Te(Pe($t),function(zt){zt in st||a(st,zt,$t[zt])}),st.prototype=Nt):(st=ot(function(zt,rn,kn,jn){ne(zt,Nt);var Hn=0,Pr=0,fn,Er,oo;if(!ge(rn))oo=b(rn),Er=oo*wt,fn=new ze(Er);else if(Ke(rn)){fn=rn,Pr=ee(kn,wt);var Lo=rn.byteLength;if(jn===void 0){if(Lo%wt||(Er=Lo-Pr,Er<0))throw Xe(He)}else if(Er=x(jn)*wt,Er+Pr>Lo)throw Xe(He);oo=Er/wt}else return tt(rn)?Ve(st,rn):ie(we,st,rn);for(je(zt,{buffer:fn,byteOffset:Pr,byteLength:Er,length:oo,view:new Be(fn)});Hn1?arguments[1]:void 0,ue=te!==void 0,de=oe(b),ge,ve,me,Se,ye,Pe;if(de&&!ne(de))for(ye=ae(b,de),Pe=ye.next,b=[];!(Se=re(Pe,ye)).done;)b.push(Se.value);for(ue&&ee>2&&(te=se(te,arguments[2])),ve=ce(b),me=new(z(x))(ve),ge=0;ve>ge;ge++)me[ge]=ue?te(b[ge],ge):b[ge];return me}},{"../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,he,fe){var se=E("../internals/array-buffer-view-core"),re=E("../internals/species-constructor"),ie=se.TYPED_ARRAY_CONSTRUCTOR,le=se.aTypedArrayConstructor;he.exports=function(ce){return le(re(ce,ce[ie]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=0,ie=Math.random(),le=se(1 .toString);he.exports=function(ce){return"Symbol("+(ce===void 0?"":ce)+")_"+le(++re+ie,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,he,fe){var se=E("../internals/native-symbol");he.exports=se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/fails");he.exports=se&&re(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,he,fe){var se=E("../internals/global"),re=se.TypeError;he.exports=function(ie,le){if(ie=51||!ie(function(){var Se=[];return Se[b]=!1,Se.concat()[0]!==Se}),ge=a("concat"),ve=function(Se){if(!ce(Se))return!1;var ye=Se[b];return ye!==void 0?!!ye:le(Se)},me=!de||!ge;se({target:"Array",proto:!0,forced:me},{concat:function(ye){var Pe=ae(this),we=z(Pe,0),Te=0,Ee,_e,Ce,Oe,Ie;for(Ee=-1,Ce=arguments.length;Eeee)throw ue(te);for(_e=0;_e=ee)throw ue(te);ne(we,Te++,Ie)}return we.length=Te,we}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(E,he,fe){var se=E("../internals/export"),re=E("../internals/array-fill"),ie=E("../internals/add-to-unscopables");se({target:"Array",proto:!0},{fill:re}),ie("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/array-iteration").filter,ie=E("../internals/array-method-has-species-support"),le=ie("filter");se({target:"Array",proto:!0,forced:!le},{filter:function(ae){return re(this,ae,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/array-iteration").find,ie=E("../internals/add-to-unscopables"),le="find",ce=!0;le in[]&&Array(1)[le](function(){ce=!1}),se({target:"Array",proto:!0,forced:ce},{find:function(oe){return re(this,oe,arguments.length>1?arguments[1]:void 0)}}),ie(le)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,he,fe){var se=E("../internals/export"),re=E("../internals/array-from"),ie=E("../internals/check-correctness-of-iteration"),le=!ie(function(ce){Array.from(ce)});se({target:"Array",stat:!0,forced:le},{from:re})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/array-includes").includes,ie=E("../internals/add-to-unscopables");se({target:"Array",proto:!0},{includes:function(ce){return re(this,ce,arguments.length>1?arguments[1]:void 0)}}),ie("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,he,fe){"use strict";var se=E("../internals/to-indexed-object"),re=E("../internals/add-to-unscopables"),ie=E("../internals/iterators"),le=E("../internals/internal-state"),ce=E("../internals/object-define-property").f,ae=E("../internals/define-iterator"),oe=E("../internals/is-pure"),ne=E("../internals/descriptors"),z="Array Iterator",a=le.set,y=le.getterFor(z);he.exports=ae(Array,"Array",function(b,ee){a(this,{type:z,target:se(b),index:0,kind:ee})},function(){var b=y(this),ee=b.target,te=b.kind,ue=b.index++;return!ee||ue>=ee.length?(b.target=void 0,{value:void 0,done:!0}):te=="keys"?{value:ue,done:!1}:te=="values"?{value:ee[ue],done:!1}:{value:[ue,ee[ue]],done:!1}},"values");var x=ie.Arguments=ie.Array;if(re("keys"),re("values"),re("entries"),!oe&&ne&&x.name!=="values")try{ce(x,"name",{value:"values"})}catch(b){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),le=E("../internals/to-indexed-object"),ce=E("../internals/array-method-is-strict"),ae=re([].join),oe=ie!=Object,ne=ce("join",",");se({target:"Array",proto:!0,forced:oe||!ne},{join:function(a){return ae(le(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,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/array-iteration").map,ie=E("../internals/array-method-has-species-support"),le=ie("map");se({target:"Array",proto:!0,forced:!le},{map:function(ae){return re(this,ae,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/global"),ie=E("../internals/is-array"),le=E("../internals/is-constructor"),ce=E("../internals/is-object"),ae=E("../internals/to-absolute-index"),oe=E("../internals/length-of-array-like"),ne=E("../internals/to-indexed-object"),z=E("../internals/create-property"),a=E("../internals/well-known-symbol"),y=E("../internals/array-method-has-species-support"),x=E("../internals/array-slice"),b=y("slice"),ee=a("species"),te=re.Array,ue=Math.max;se({target:"Array",proto:!0,forced:!b},{slice:function(ge,ve){var me=ne(this),Se=oe(me),ye=ae(ge,Se),Pe=ae(ve===void 0?Se:ve,Se),we,Te,Ee;if(ie(me)&&(we=me.constructor,le(we)&&(we===te||ie(we.prototype))?we=void 0:ce(we)&&(we=we[ee],we===null&&(we=void 0)),we===te||we===void 0))return x(me,ye,Pe);for(Te=new(we===void 0?te:we)(ue(Pe-ye,0)),Ee=0;ye3)){if(y)return!0;if(b)return b<603;var Pe="",we,Te,Ee,_e;for(we=65;we<76;we++){switch(Te=String.fromCharCode(we),we){case 66:case 69:case 70:case 72:Ee=3;break;case 68:case 71:Ee=4;break;default:Ee=2}for(_e=0;_e<47;_e++)ee.push({k:Te+_e,v:Ee})}for(ee.sort(function(Ce,Oe){return Oe.v-Ce.v}),_e=0;_eae(Te)?1:-1}};se({target:"Array",proto:!0,forced:Se},{sort:function(we){we!==void 0&&ie(we);var Te=le(this);if(me)return we===void 0?te(Te):te(Te,we);var Ee=[],_e=ce(Te),Ce,Oe;for(Oe=0;Oe<_e;Oe++)Oe in Te&&ue(Ee,Te[Oe]);for(ne(Ee,ye(we)),Ce=Ee.length,Oe=0;Oeee)throw y(te);for(Te=oe(ve,we),Ee=0;Eeme-we+Pe;Ee--)delete ve[Ee-1]}else if(Pe>we)for(Ee=me-we;Ee>Se;Ee--)_e=Ee+we-1,Ce=Ee+Pe-1,_e in ve?ve[Ce]=ve[_e]:delete ve[Ce];for(Ee=0;Ee2){if(Ie=ue(Ie),Ue=ye(Ie,0),Ue===43||Ue===45){if(je=ye(Ie,2),je===88||je===120)return NaN}else if(Ue===48){switch(ye(Ie,1)){case 66:case 98:nt=2,Je=49;break;case 79:case 111:nt=8,Je=55;break;default:return+Ie}for(Qe=Se(Ie,2),Xe=Qe.length,ze=0;zeJe)return NaN;return parseInt(Qe,nt)}}return+Ie};if(le(de,!ge(" 0o1")||!ge("0b1")||ge("+0x1"))){for(var Te=function(Ie){var Ue=arguments.length<1?0:ge(Pe(Ie)),je=this;return ne(ve,je)&&y(function(){te(je)})?oe(Object(Ue),je,Te):Ue},Ee=se?x(ge):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),_e=0,Ce;Ee.length>_e;_e++)ae(ge,Ce=Ee[_e])&&!ae(Te,Ce)&&ee(Te,Ce,b(ge,Ce));Te.prototype=ve,ve.constructor=Te,ce(re,de,Te)}},{"../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,he,fe){var se=E("../internals/export"),re=E("../internals/object-assign");se({target:"Object",stat:!0,forced:Object.assign!==re},{assign:re})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,he,fe){var se=E("../internals/export"),re=E("../internals/object-to-array").entries;se({target:"Object",stat:!0},{entries:function(le){return re(le)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,he,fe){var se=E("../internals/export"),re=E("../internals/native-symbol"),ie=E("../internals/fails"),le=E("../internals/object-get-own-property-symbols"),ce=E("../internals/to-object"),ae=!re||ie(function(){le.f(1)});se({target:"Object",stat:!0,forced:ae},{getOwnPropertySymbols:function(ne){var z=le.f;return z?z(ce(ne)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,he,fe){var se=E("../internals/export"),re=E("../internals/to-object"),ie=E("../internals/object-keys"),le=E("../internals/fails"),ce=le(function(){ie(1)});se({target:"Object",stat:!0,forced:ce},{keys:function(oe){return ie(re(oe))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,he,fe){var se=E("../internals/to-string-tag-support"),re=E("../internals/redefine"),ie=E("../internals/object-to-string");se||re(Object.prototype,"toString",ie,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/function-call"),ie=E("../internals/a-callable"),le=E("../internals/new-promise-capability"),ce=E("../internals/perform"),ae=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");se({target:"Promise",stat:!0,forced:oe},{all:function(z){var a=this,y=le.f(a),x=y.resolve,b=y.reject,ee=ce(function(){var te=ie(a.resolve),ue=[],de=0,ge=1;ae(z,function(ve){var me=de++,Se=!1;ge++,re(te,a,ve).then(function(ye){Se||(Se=!0,ue[me]=ye,--ge||x(ue))},b)}),--ge||x(ue)});return ee.error&&b(ee.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/is-pure"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR,le=E("../internals/promise-native-constructor"),ce=E("../internals/get-built-in"),ae=E("../internals/is-callable"),oe=E("../internals/redefine"),ne=le&&le.prototype;if(se({target:"Promise",proto:!0,forced:ie,real:!0},{catch:function(a){return this.then(void 0,a)}}),!re&&ae(le)){var z=ce("Promise").prototype.catch;ne.catch!==z&&oe(ne,"catch",z,{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,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/is-pure"),ie=E("../internals/engine-is-node"),le=E("../internals/global"),ce=E("../internals/function-call"),ae=E("../internals/redefine"),oe=E("../internals/redefine-all"),ne=E("../internals/object-set-prototype-of"),z=E("../internals/set-to-string-tag"),a=E("../internals/set-species"),y=E("../internals/a-callable"),x=E("../internals/is-callable"),b=E("../internals/is-object"),ee=E("../internals/an-instance"),te=E("../internals/species-constructor"),ue=E("../internals/task").set,de=E("../internals/microtask"),ge=E("../internals/host-report-errors"),ve=E("../internals/perform"),me=E("../internals/queue"),Se=E("../internals/internal-state"),ye=E("../internals/promise-native-constructor"),Pe=E("../internals/promise-constructor-detection"),we=E("../internals/new-promise-capability"),Te="Promise",Ee=Pe.CONSTRUCTOR,_e=Pe.REJECTION_EVENT,Ce=Pe.SUBCLASSING,Oe=Se.getterFor(Te),Ie=Se.set,Ue=ye&&ye.prototype,je=ye,nt=Ue,Je=le.TypeError,Qe=le.document,Xe=le.process,ze=we.f,ke=ze,Be=!!(Qe&&Qe.createEvent&&le.dispatchEvent),qe="unhandledrejection",Ye="rejectionhandled",gt=0,$e=1,We=2,Re=1,tt=2,Me,He,Ve,Ze,Ke=function(Ft){var $t;return b(Ft)&&x($t=Ft.then)?$t:!1},Ae=function(Ft,$t){var st=$t.value,Nt=$t.state==$e,ct=Nt?Ft.ok:Ft.fail,pt=Ft.resolve,Ct=Ft.reject,Rt=Ft.domain,zt,rn,kn;try{ct?(Nt||($t.rejection===tt&&St($t),$t.rejection=Re),ct===!0?zt=st:(Rt&&Rt.enter(),zt=ct(st),Rt&&(Rt.exit(),kn=!0)),zt===Ft.promise?Ct(Je("Promise-chain cycle")):(rn=Ke(zt))?ce(rn,zt,pt,Ct):pt(zt)):Ct(st)}catch(jn){Rt&&!kn&&Rt.exit(),Ct(jn)}},Le=function(Ft,$t){Ft.notified||(Ft.notified=!0,de(function(){for(var st=Ft.reactions,Nt;Nt=st.get();)Ae(Nt,Ft);Ft.notified=!1,$t&&!Ft.rejection&&Ge(Ft)}))},Ne=function(Ft,$t,st){var Nt,ct;Be?(Nt=Qe.createEvent("Event"),Nt.promise=$t,Nt.reason=st,Nt.initEvent(Ft,!1,!0),le.dispatchEvent(Nt)):Nt={promise:$t,reason:st},!_e&&(ct=le["on"+Ft])?ct(Nt):Ft===qe&&ge("Unhandled promise rejection",st)},Ge=function(Ft){ce(ue,le,function(){var $t=Ft.facade,st=Ft.value,Nt=ot(Ft),ct;if(Nt&&(ct=ve(function(){ie?Xe.emit("unhandledRejection",st,$t):Ne(qe,$t,st)}),Ft.rejection=ie||ot(Ft)?tt:Re,ct.error))throw ct.value})},ot=function(Ft){return Ft.rejection!==Re&&!Ft.parent},St=function(Ft){ce(ue,le,function(){var $t=Ft.facade;ie?Xe.emit("rejectionHandled",$t):Ne(Ye,$t,Ft.value)})},wt=function(Ft,$t,st){return function(Nt){Ft($t,Nt,st)}},rt=function(Ft,$t,st){Ft.done||(Ft.done=!0,st&&(Ft=st),Ft.value=$t,Ft.state=We,Le(Ft,!0))},bt=function(Ft,$t,st){if(!Ft.done){Ft.done=!0,st&&(Ft=st);try{if(Ft.facade===$t)throw Je("Promise can't be resolved itself");var Nt=Ke($t);Nt?de(function(){var ct={done:!1};try{ce(Nt,$t,wt(bt,ct,Ft),wt(rt,ct,Ft))}catch(pt){rt(ct,pt,Ft)}}):(Ft.value=$t,Ft.state=$e,Le(Ft,!1))}catch(ct){rt({done:!1},ct,Ft)}}};if(Ee&&(je=function($t){ee(this,nt),y($t),ce(Me,this);var st=Oe(this);try{$t(wt(bt,st),wt(rt,st))}catch(Nt){rt(st,Nt)}},nt=je.prototype,Me=function($t){Ie(this,{type:Te,done:!1,notified:!1,parent:!1,reactions:new me,rejection:!1,state:gt,value:void 0})},Me.prototype=oe(nt,{then:function($t,st){var Nt=Oe(this),ct=ze(te(this,je));return Nt.parent=!0,ct.ok=x($t)?$t:!0,ct.fail=x(st)&&st,ct.domain=ie?Xe.domain:void 0,Nt.state==gt?Nt.reactions.add(ct):de(function(){Ae(ct,Nt)}),ct.promise}}),He=function(){var Ft=new Me,$t=Oe(Ft);this.promise=Ft,this.resolve=wt(bt,$t),this.reject=wt(rt,$t)},we.f=ze=function(Ft){return Ft===je||Ft===Ve?new He(Ft):ke(Ft)},!re&&x(ye)&&Ue!==Object.prototype)){Ze=Ue.then,Ce||ae(Ue,"then",function($t,st){var Nt=this;return new je(function(ct,pt){ce(Ze,Nt,ct,pt)}).then($t,st)},{unsafe:!0});try{delete Ue.constructor}catch(Ft){}ne&&ne(Ue,nt)}se({global:!0,wrap:!0,forced:Ee},{Promise:je}),z(je,Te,!1,!0),a(Te)},{"../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,he,fe){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,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/function-call"),ie=E("../internals/a-callable"),le=E("../internals/new-promise-capability"),ce=E("../internals/perform"),ae=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");se({target:"Promise",stat:!0,forced:oe},{race:function(z){var a=this,y=le.f(a),x=y.reject,b=ce(function(){var ee=ie(a.resolve);ae(z,function(te){re(ee,a,te).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,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/function-call"),ie=E("../internals/new-promise-capability"),le=E("../internals/promise-constructor-detection").CONSTRUCTOR;se({target:"Promise",stat:!0,forced:le},{reject:function(ae){var oe=ie.f(this);return re(oe.reject,void 0,ae),oe.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/get-built-in"),ie=E("../internals/is-pure"),le=E("../internals/promise-native-constructor"),ce=E("../internals/promise-constructor-detection").CONSTRUCTOR,ae=E("../internals/promise-resolve"),oe=re("Promise"),ne=ie&&!ce;se({target:"Promise",stat:!0,forced:ie||ce},{resolve:function(a){return ae(ne&&this===oe?le: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,he,fe){var se=E("../internals/descriptors"),re=E("../internals/global"),ie=E("../internals/function-uncurry-this"),le=E("../internals/is-forced"),ce=E("../internals/inherit-if-required"),ae=E("../internals/create-non-enumerable-property"),oe=E("../internals/object-get-own-property-names").f,ne=E("../internals/object-is-prototype-of"),z=E("../internals/is-regexp"),a=E("../internals/to-string"),y=E("../internals/regexp-get-flags"),x=E("../internals/regexp-sticky-helpers"),b=E("../internals/proxy-accessor"),ee=E("../internals/redefine"),te=E("../internals/fails"),ue=E("../internals/has-own-property"),de=E("../internals/internal-state").enforce,ge=E("../internals/set-species"),ve=E("../internals/well-known-symbol"),me=E("../internals/regexp-unsupported-dot-all"),Se=E("../internals/regexp-unsupported-ncg"),ye=ve("match"),Pe=re.RegExp,we=Pe.prototype,Te=re.SyntaxError,Ee=ie(we.exec),_e=ie("".charAt),Ce=ie("".replace),Oe=ie("".indexOf),Ie=ie("".slice),Ue=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,je=/a/g,nt=/a/g,Je=new Pe(je)!==je,Qe=x.MISSED_STICKY,Xe=x.UNSUPPORTED_Y,ze=se&&(!Je||Qe||me||Se||te(function(){return nt[ye]=!1,Pe(je)!=je||Pe(nt)==nt||Pe(je,"i")!="/a/i"})),ke=function($e){for(var We=$e.length,Re=0,tt="",Me=!1,He;Re<=We;Re++){if(He=_e($e,Re),He==="\\"){tt+=He+_e($e,++Re);continue}!Me&&He==="."?tt+="[\\s\\S]":(He==="["?Me=!0:He==="]"&&(Me=!1),tt+=He)}return tt},Be=function($e){for(var We=$e.length,Re=0,tt="",Me=[],He={},Ve=!1,Ze=!1,Ke=0,Ae="",Le;Re<=We;Re++){if(Le=_e($e,Re),Le==="\\")Le=Le+_e($e,++Re);else if(Le==="]")Ve=!1;else if(!Ve)switch(!0){case Le==="[":Ve=!0;break;case Le==="(":Ee(Ue,Ie($e,Re+1))&&(Re+=2,Ze=!0),tt+=Le,Ke++;continue;case(Le===">"&&Ze):if(Ae===""||ue(He,Ae))throw new Te("Invalid capture group name");He[Ae]=!0,Me[Me.length]=[Ae,Ke],Ze=!1,Ae="";continue}Ze?Ae+=Le:tt+=Le}return[tt,Me]};if(le("RegExp",ze)){for(var qe=function(We,Re){var tt=ne(we,this),Me=z(We),He=Re===void 0,Ve=[],Ze=We,Ke,Ae,Le,Ne,Ge,ot;if(!tt&&Me&&He&&We.constructor===qe)return We;if((Me||ne(we,We))&&(We=We.source,He&&(Re=y(Ze))),We=We===void 0?"":a(We),Re=Re===void 0?"":a(Re),Ze=We,me&&"dotAll"in je&&(Ae=!!Re&&Oe(Re,"s")>-1,Ae&&(Re=Ce(Re,/s/g,""))),Ke=Re,Qe&&"sticky"in je&&(Le=!!Re&&Oe(Re,"y")>-1,Le&&Xe&&(Re=Ce(Re,/y/g,""))),Se&&(Ne=Be(We),We=Ne[0],Ve=Ne[1]),Ge=ce(Pe(We,Re),tt?this:we,qe),(Ae||Le||Ve.length)&&(ot=de(Ge),Ae&&(ot.dotAll=!0,ot.raw=qe(ke(We),Ke)),Le&&(ot.sticky=!0),Ve.length&&(ot.groups=Ve)),We!==Ze)try{ae(Ge,"source",Ze===""?"(?:)":Ze)}catch(St){}return Ge},Ye=oe(Pe),gt=0;Ye.length>gt;)b(qe,Pe,Ye[gt++]);we.constructor=qe,qe.prototype=we,ee(re,"RegExp",qe)}ge("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/regexp-exec");se({target:"RegExp",proto:!0,forced:/./.exec!==re},{exec:re})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,he,fe){"use strict";var se=E("../internals/function-name").PROPER,re=E("../internals/redefine"),ie=E("../internals/an-object"),le=E("../internals/to-string"),ce=E("../internals/fails"),ae=E("../internals/regexp-get-flags"),oe="toString",ne=RegExp.prototype,z=ne[oe],a=ce(function(){return z.call({source:"a",flags:"b"})!="/a/b"}),y=se&&z.name!=oe;(a||y)&&re(RegExp.prototype,oe,function(){var b=ie(this),ee=le(b.source),te=le(ae(b));return"/"+ee+"/"+te},{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,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/function-uncurry-this"),ie=E("../internals/not-a-regexp"),le=E("../internals/require-object-coercible"),ce=E("../internals/to-string"),ae=E("../internals/correct-is-regexp-logic"),oe=re("".indexOf);se({target:"String",proto:!0,forced:!ae("includes")},{includes:function(z){return!!~oe(ce(le(this)),ce(ie(z)),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,he,fe){"use strict";var se=E("../internals/string-multibyte").charAt,re=E("../internals/to-string"),ie=E("../internals/internal-state"),le=E("../internals/define-iterator"),ce="String Iterator",ae=ie.set,oe=ie.getterFor(ce);le(String,"String",function(ne){ae(this,{type:ce,string:re(ne),index:0})},function(){var z=oe(this),a=z.string,y=z.index,x;return y>=a.length?{value:void 0,done:!0}:(x=se(a,y),z.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,he,fe){"use strict";var se=E("../internals/function-call"),re=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),le=E("../internals/to-length"),ce=E("../internals/to-string"),ae=E("../internals/require-object-coercible"),oe=E("../internals/get-method"),ne=E("../internals/advance-string-index"),z=E("../internals/regexp-exec-abstract");re("match",function(a,y,x){return[function(ee){var te=ae(this),ue=ee==null?void 0:oe(ee,a);return ue?se(ue,ee,te):new RegExp(ee)[a](ce(te))},function(b){var ee=ie(this),te=ce(b),ue=x(y,ee,te);if(ue.done)return ue.value;if(!ee.global)return z(ee,te);var de=ee.unicode;ee.lastIndex=0;for(var ge=[],ve=0,me;(me=z(ee,te))!==null;){var Se=ce(me[0]);ge[ve]=Se,Se===""&&(ee.lastIndex=ne(te,le(ee.lastIndex),de)),ve++}return ve===0?null:ge}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(E,he,fe){"use strict";var se=E("../internals/function-apply"),re=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),le=E("../internals/fix-regexp-well-known-symbol-logic"),ce=E("../internals/fails"),ae=E("../internals/an-object"),oe=E("../internals/is-callable"),ne=E("../internals/to-integer-or-infinity"),z=E("../internals/to-length"),a=E("../internals/to-string"),y=E("../internals/require-object-coercible"),x=E("../internals/advance-string-index"),b=E("../internals/get-method"),ee=E("../internals/get-substitution"),te=E("../internals/regexp-exec-abstract"),ue=E("../internals/well-known-symbol"),de=ue("replace"),ge=Math.max,ve=Math.min,me=ie([].concat),Se=ie([].push),ye=ie("".indexOf),Pe=ie("".slice),we=function(Ce){return Ce===void 0?Ce:String(Ce)},Te=function(){return"a".replace(/./,"$0")==="$0"}(),Ee=function(){return/./[de]?/./[de]("a","$0")==="":!1}(),_e=!ce(function(){var Ce=/./;return Ce.exec=function(){var Oe=[];return Oe.groups={a:"7"},Oe},"".replace(Ce,"$")!=="7"});le("replace",function(Ce,Oe,Ie){var Ue=Ee?"$":"$0";return[function(nt,Je){var Qe=y(this),Xe=nt==null?void 0:b(nt,de);return Xe?re(Xe,nt,Qe,Je):re(Oe,a(Qe),nt,Je)},function(je,nt){var Je=ae(this),Qe=a(je);if(typeof nt=="string"&&ye(nt,Ue)===-1&&ye(nt,"$<")===-1){var Xe=Ie(Oe,Je,Qe,nt);if(Xe.done)return Xe.value}var ze=oe(nt);ze||(nt=a(nt));var ke=Je.global;if(ke){var Be=Je.unicode;Je.lastIndex=0}for(var qe=[];;){var Ye=te(Je,Qe);if(Ye===null||(Se(qe,Ye),!ke))break;var gt=a(Ye[0]);gt===""&&(Je.lastIndex=x(Qe,z(Je.lastIndex),Be))}for(var $e="",We=0,Re=0;Re=We&&($e+=Pe(Qe,We,Me)+Ae,We=Me+tt.length)}return $e+Pe(Qe,We)}]},!_e||!Te||Ee)},{"../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,he,fe){"use strict";var se=E("../internals/function-call"),re=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),le=E("../internals/require-object-coercible"),ce=E("../internals/same-value"),ae=E("../internals/to-string"),oe=E("../internals/get-method"),ne=E("../internals/regexp-exec-abstract");re("search",function(z,a,y){return[function(b){var ee=le(this),te=b==null?void 0:oe(b,z);return te?se(te,b,ee):new RegExp(b)[z](ae(ee))},function(x){var b=ie(this),ee=ae(x),te=y(a,b,ee);if(te.done)return te.value;var ue=b.lastIndex;ce(ue,0)||(b.lastIndex=0);var de=ne(b,ee);return ce(b.lastIndex,ue)||(b.lastIndex=ue),de===null?-1:de.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,he,fe){"use strict";var se=E("../internals/function-apply"),re=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),le=E("../internals/fix-regexp-well-known-symbol-logic"),ce=E("../internals/is-regexp"),ae=E("../internals/an-object"),oe=E("../internals/require-object-coercible"),ne=E("../internals/species-constructor"),z=E("../internals/advance-string-index"),a=E("../internals/to-length"),y=E("../internals/to-string"),x=E("../internals/get-method"),b=E("../internals/array-slice-simple"),ee=E("../internals/regexp-exec-abstract"),te=E("../internals/regexp-exec"),ue=E("../internals/regexp-sticky-helpers"),de=E("../internals/fails"),ge=ue.UNSUPPORTED_Y,ve=4294967295,me=Math.min,Se=[].push,ye=ie(/./.exec),Pe=ie(Se),we=ie("".slice),Te=!de(function(){var Ee=/(?:)/,_e=Ee.exec;Ee.exec=function(){return _e.apply(this,arguments)};var Ce="ab".split(Ee);return Ce.length!==2||Ce[0]!=="a"||Ce[1]!=="b"});le("split",function(Ee,_e,Ce){var Oe;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Oe=function(Ie,Ue){var je=y(oe(this)),nt=Ue===void 0?ve:Ue>>>0;if(nt===0)return[];if(Ie===void 0)return[je];if(!ce(Ie))return re(_e,je,Ie,nt);for(var Je=[],Qe=(Ie.ignoreCase?"i":"")+(Ie.multiline?"m":"")+(Ie.unicode?"u":"")+(Ie.sticky?"y":""),Xe=0,ze=new RegExp(Ie.source,Qe+"g"),ke,Be,qe;(ke=re(te,ze,je))&&(Be=ze.lastIndex,!(Be>Xe&&(Pe(Je,we(je,Xe,ke.index)),ke.length>1&&ke.index=nt)));)ze.lastIndex===ke.index&&ze.lastIndex++;return Xe===je.length?(qe||!ye(ze,""))&&Pe(Je,""):Pe(Je,we(je,Xe)),Je.length>nt?b(Je,0,nt):Je}:"0".split(void 0,0).length?Oe=function(Ie,Ue){return Ie===void 0&&Ue===0?[]:re(_e,this,Ie,Ue)}:Oe=_e,[function(Ue,je){var nt=oe(this),Je=Ue==null?void 0:x(Ue,Ee);return Je?re(Je,Ue,nt,je):re(Oe,y(nt),Ue,je)},function(Ie,Ue){var je=ae(this),nt=y(Ie),Je=Ce(Oe,je,nt,Ue,Oe!==_e);if(Je.done)return Je.value;var Qe=ne(je,RegExp),Xe=je.unicode,ze=(je.ignoreCase?"i":"")+(je.multiline?"m":"")+(je.unicode?"u":"")+(ge?"g":"y"),ke=new Qe(ge?"^(?:"+je.source+")":je,ze),Be=Ue===void 0?ve:Ue>>>0;if(Be===0)return[];if(nt.length===0)return ee(ke,nt)===null?[nt]:[];for(var qe=0,Ye=0,gt=[];Ye2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").every,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("every",function(ae){return re(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/function-call"),ie=E("../internals/array-fill"),le=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("fill",function(oe){var ne=arguments.length;return re(ie,le(this),oe,ne>1?arguments[1]:void 0,ne>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").filter,ie=E("../internals/typed-array-from-species-and-list"),le=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("filter",function(oe){var ne=re(le(this),oe,arguments.length>1?arguments[1]:void 0);return ie(this,ne)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").findIndex,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("findIndex",function(ae){return re(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").find,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("find",function(ae){return re(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").forEach,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("forEach",function(ae){re(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-includes").includes,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("includes",function(ae){return re(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-includes").indexOf,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("indexOf",function(ae){return re(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,he,fe){"use strict";var se=E("../internals/global"),re=E("../internals/fails"),ie=E("../internals/function-uncurry-this"),le=E("../internals/array-buffer-view-core"),ce=E("../modules/es.array.iterator"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),ne=se.Uint8Array,z=ie(ce.values),a=ie(ce.keys),y=ie(ce.entries),x=le.aTypedArray,b=le.exportTypedArrayMethod,ee=ne&&ne.prototype,te=!re(function(){ee[oe].call([1])}),ue=!!ee&&ee.values&&ee[oe]===ee.values&&ee.values.name==="values",de=function(){return z(x(this))};b("entries",function(){return y(x(this))},te),b("keys",function(){return a(x(this))},te),b("values",de,te||!ue,{name:"values"}),b(oe,de,te||!ue,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/function-uncurry-this"),ie=se.aTypedArray,le=se.exportTypedArrayMethod,ce=re([].join);le("join",function(oe){return ce(ie(this),oe)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/function-apply"),ie=E("../internals/array-last-index-of"),le=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("lastIndexOf",function(oe){var ne=arguments.length;return re(ie,le(this),ne>1?[oe,arguments[1]]:[oe])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").map,ie=E("../internals/typed-array-species-constructor"),le=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("map",function(oe){return re(le(this),oe,arguments.length>1?arguments[1]:void 0,function(ne,z){return new(ie(ne))(z)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-reduce").right,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("reduceRight",function(ae){var oe=arguments.length;return re(ie(this),ae,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-reduce").left,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("reduce",function(ae){var oe=arguments.length;return re(ie(this),ae,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=se.aTypedArray,ie=se.exportTypedArrayMethod,le=Math.floor;ie("reverse",function(){for(var ae=this,oe=re(ae).length,ne=le(oe/2),z=0,a;z1?arguments[1]:void 0,1),ve=ae(de);if(ee)return re(y,this,ve,ge);var me=this.length,Se=le(ve),ye=0;if(Se+ge>me)throw ne("Wrong length");for(;yeb;)te[b]=y[b++];return te},oe)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").some,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("some",function(ae){return re(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,he,fe){"use strict";var se=E("../internals/global"),re=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),le=E("../internals/a-callable"),ce=E("../internals/array-sort"),ae=E("../internals/array-buffer-view-core"),oe=E("../internals/engine-ff-version"),ne=E("../internals/engine-is-ie-or-edge"),z=E("../internals/engine-v8-version"),a=E("../internals/engine-webkit-version"),y=ae.aTypedArray,x=ae.exportTypedArrayMethod,b=se.Uint16Array,ee=b&&re(b.prototype.sort),te=!!ee&&!(ie(function(){ee(new b(2),null)})&&ie(function(){ee(new b(2),{})})),ue=!!ee&&!ie(function(){if(z)return z<74;if(oe)return oe<67;if(ne)return!0;if(a)return a<602;var ge=new b(516),ve=Array(516),me,Se;for(me=0;me<516;me++)Se=me%4,ge[me]=515-me,ve[me]=me-2*Se+3;for(ee(ge,function(ye,Pe){return(ye/4|0)-(Pe/4|0)}),me=0;me<516;me++)if(ge[me]!==ve[me])return!0}),de=function(ge){return function(ve,me){return ge!==void 0?+ge(ve,me)||0:me!==me?-1:ve!==ve?1:ve===0&&me===0?1/ve>0&&1/me<0?1:-1:ve>me}};x("sort",function(ve){return ve!==void 0&&le(ve),ue?ee(this,ve):ce(y(this),de(ve))},!ue||te)},{"../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,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/to-length"),ie=E("../internals/to-absolute-index"),le=E("../internals/typed-array-species-constructor"),ce=se.aTypedArray,ae=se.exportTypedArrayMethod;ae("subarray",function(ne,z){var a=ce(this),y=a.length,x=ie(ne,y),b=le(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,re((z===void 0?y:ie(z,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,he,fe){"use strict";var se=E("../internals/global"),re=E("../internals/function-apply"),ie=E("../internals/array-buffer-view-core"),le=E("../internals/fails"),ce=E("../internals/array-slice"),ae=se.Int8Array,oe=ie.aTypedArray,ne=ie.exportTypedArrayMethod,z=[].toLocaleString,a=!!ae&&le(function(){z.call(new ae(1))}),y=le(function(){return[1,2].toLocaleString()!=new ae([1,2]).toLocaleString()})||!le(function(){ae.prototype.toLocaleString.call([1,2])});ne("toLocaleString",function(){return re(z,a?ce(oe(this)):oe(this),ce(arguments))},y)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core").exportTypedArrayMethod,re=E("../internals/fails"),ie=E("../internals/global"),le=E("../internals/function-uncurry-this"),ce=ie.Uint8Array,ae=ce&&ce.prototype||{},oe=[].toString,ne=le([].join);re(function(){oe.call({})})&&(oe=function(){return ne(this)});var z=ae.toString!=oe;se("toString",oe,z)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,he,fe){var se=E("../internals/typed-array-constructor");se("Uint8",function(re){return function(le,ce,ae){return re(this,le,ce,ae)}})},{"../internals/typed-array-constructor":258}],339:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),le=E("../internals/array-for-each"),ce=E("../internals/create-non-enumerable-property"),ae=function(ne){if(ne&&ne.forEach!==le)try{ce(ne,"forEach",le)}catch(z){ne.forEach=le}};for(var oe in re)re[oe]&&ae(se[oe]&&se[oe].prototype);ae(ie)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),le=E("../modules/es.array.iterator"),ce=E("../internals/create-non-enumerable-property"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),ne=ae("toStringTag"),z=le.values,a=function(x,b){if(x){if(x[oe]!==z)try{ce(x,oe,z)}catch(te){x[oe]=z}if(x[ne]||ce(x,ne,b),re[b]){for(var ee in le)if(x[ee]!==le[ee])try{ce(x,ee,le[ee])}catch(te){x[ee]=le[ee]}}}};for(var y in re)a(se[y]&&se[y].prototype,y);a(ie,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(E,he,fe){function se(ue){return Array.isArray?Array.isArray(ue):te(ue)==="[object Array]"}fe.isArray=se;function re(ue){return typeof ue=="boolean"}fe.isBoolean=re;function ie(ue){return ue===null}fe.isNull=ie;function le(ue){return ue==null}fe.isNullOrUndefined=le;function ce(ue){return typeof ue=="number"}fe.isNumber=ce;function ae(ue){return typeof ue=="string"}fe.isString=ae;function oe(ue){return typeof ue=="symbol"}fe.isSymbol=oe;function ne(ue){return ue===void 0}fe.isUndefined=ne;function z(ue){return te(ue)==="[object RegExp]"}fe.isRegExp=z;function a(ue){return typeof ue=="object"&&ue!==null}fe.isObject=a;function y(ue){return te(ue)==="[object Date]"}fe.isDate=y;function x(ue){return te(ue)==="[object Error]"||ue instanceof Error}fe.isError=x;function b(ue){return typeof ue=="function"}fe.isFunction=b;function ee(ue){return ue===null||typeof ue=="boolean"||typeof ue=="number"||typeof ue=="string"||typeof ue=="symbol"||typeof ue=="undefined"}fe.isPrimitive=ee,fe.isBuffer=E("buffer").Buffer.isBuffer;function te(ue){return Object.prototype.toString.call(ue)}},{buffer:90}],342:[function(E,he,fe){(function(se){"use strict";var re=function(){var oe=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,ne=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,z=/[^-+\dA-Z]/g;return function(a,y,x,b){if(arguments.length===1&&ae(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(re.masks[y]||y||re.masks.default);var ee=y.slice(0,4);(ee==="UTC:"||ee==="GMT:")&&(y=y.slice(4),x=!0,ee==="GMT:"&&(b=!0));var te=x?"getUTC":"get",ue=a[te+"Date"](),de=a[te+"Day"](),ge=a[te+"Month"](),ve=a[te+"FullYear"](),me=a[te+"Hours"](),Se=a[te+"Minutes"](),ye=a[te+"Seconds"](),Pe=a[te+"Milliseconds"](),we=x?0:a.getTimezoneOffset(),Te=le(a),Ee=ce(a),_e={d:ue,dd:ie(ue),ddd:re.i18n.dayNames[de],dddd:re.i18n.dayNames[de+7],m:ge+1,mm:ie(ge+1),mmm:re.i18n.monthNames[ge],mmmm:re.i18n.monthNames[ge+12],yy:String(ve).slice(2),yyyy:ve,h:me%12||12,hh:ie(me%12||12),H:me,HH:ie(me),M:Se,MM:ie(Se),s:ye,ss:ie(ye),l:ie(Pe,3),L:ie(Math.round(Pe/10)),t:me<12?"a":"p",tt:me<12?"am":"pm",T:me<12?"A":"P",TT:me<12?"AM":"PM",Z:b?"GMT":x?"UTC":(String(a).match(ne)||[""]).pop().replace(z,""),o:(we>0?"-":"+")+ie(Math.floor(Math.abs(we)/60)*100+Math.abs(we)%60,4),S:["th","st","nd","rd"][ue%10>3?0:(ue%100-ue%10!=10)*ue%10],W:Te,N:Ee};return y.replace(oe,function(Ce){return Ce in _e?_e[Ce]:Ce.slice(1,Ce.length-1)})}}();re.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"},re.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function ie(oe,ne){for(oe=String(oe),ne=ne||2;oe.length]/;he.exports=re;function re(ie){var le=""+ie,ce=se.exec(le);if(!ce)return le;var ae,oe="",ne=0,z=0;for(ne=ce.index;ne0&&(_e=Pe[0]),_e instanceof Error)throw _e;var Ce=new Error("Unhandled error."+(_e?" ("+_e.message+")":""));throw Ce.context=_e,Ce}var Oe=Ee[ye];if(Oe===void 0)return!1;if(typeof Oe=="function")re(Oe,this,Pe);else for(var Ie=Oe.length,Ue=te(Oe,Ie),we=0;we0&&_e.length>Te&&!_e.warned){_e.warned=!0;var Ce=new Error("Possible EventEmitter memory leak detected. "+_e.length+" "+String(ye)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ce.name="MaxListenersExceededWarning",Ce.emitter=Se,Ce.type=ye,Ce.count=_e.length,le(Ce)}return Se}ae.prototype.addListener=function(ye,Pe){return a(this,ye,Pe,!1)},ae.prototype.on=ae.prototype.addListener,ae.prototype.prependListener=function(ye,Pe){return a(this,ye,Pe,!0)};function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function x(Se,ye,Pe){var we={fired:!1,wrapFn:void 0,target:Se,type:ye,listener:Pe},Te=y.bind(we);return Te.listener=Pe,we.wrapFn=Te,Te}ae.prototype.once=function(ye,Pe){return ne(Pe),this.on(ye,x(this,ye,Pe)),this},ae.prototype.prependOnceListener=function(ye,Pe){return ne(Pe),this.prependListener(ye,x(this,ye,Pe)),this},ae.prototype.removeListener=function(ye,Pe){var we,Te,Ee,_e,Ce;if(ne(Pe),Te=this._events,Te===void 0)return this;if(we=Te[ye],we===void 0)return this;if(we===Pe||we.listener===Pe)--this._eventsCount===0?this._events=Object.create(null):(delete Te[ye],Te.removeListener&&this.emit("removeListener",ye,we.listener||Pe));else if(typeof we!="function"){for(Ee=-1,_e=we.length-1;_e>=0;_e--)if(we[_e]===Pe||we[_e].listener===Pe){Ce=we[_e].listener,Ee=_e;break}if(Ee<0)return this;Ee===0?we.shift():ue(we,Ee),we.length===1&&(Te[ye]=we[0]),Te.removeListener!==void 0&&this.emit("removeListener",ye,Ce||Pe)}return this},ae.prototype.off=ae.prototype.removeListener,ae.prototype.removeAllListeners=function(ye){var Pe,we,Te;if(we=this._events,we===void 0)return this;if(we.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):we[ye]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete we[ye]),this;if(arguments.length===0){var Ee=Object.keys(we),_e;for(Te=0;Te=0;Te--)this.removeListener(ye,Pe[Te]);return this};function b(Se,ye,Pe){var we=Se._events;if(we===void 0)return[];var Te=we[ye];return Te===void 0?[]:typeof Te=="function"?Pe?[Te.listener||Te]:[Te]:Pe?de(Te):te(Te,Te.length)}ae.prototype.listeners=function(ye){return b(this,ye,!0)},ae.prototype.rawListeners=function(ye){return b(this,ye,!1)},ae.listenerCount=function(Se,ye){return typeof Se.listenerCount=="function"?Se.listenerCount(ye):ee.call(Se,ye)},ae.prototype.listenerCount=ee;function ee(Se){var ye=this._events;if(ye!==void 0){var Pe=ye[Se];if(typeof Pe=="function")return 1;if(Pe!==void 0)return Pe.length}return 0}ae.prototype.eventNames=function(){return this._eventsCount>0?ie(this._events):[]};function te(Se,ye){for(var Pe=new Array(ye),we=0;we=3&&(x=y),re.call(z)==="[object Array]"?le(z,a,x):typeof z=="string"?ce(z,a,x):ae(z,a,x)};he.exports=oe},{"is-callable":367}],346:[function(E,he,fe){"use strict";var se="Function.prototype.bind called on incompatible ",re=Array.prototype.slice,ie=Object.prototype.toString,le="[object Function]";he.exports=function(ae){var oe=this;if(typeof oe!="function"||ie.call(oe)!==le)throw new TypeError(se+oe);for(var ne=re.call(arguments,1),z,a=function(){if(this instanceof z){var te=oe.apply(this,ne.concat(re.call(arguments)));return Object(te)===te?te:this}else return oe.apply(ae,ne.concat(re.call(arguments)))},y=Math.max(0,oe.length-ne.length),x=[],b=0;b1&&typeof Ue!="boolean")throw new le('"allowMissing" argument must be a boolean');if(we(/^%?[^%]*%?$/,Ie)===null)throw new re("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var je=_e(Ie),nt=je.length>0?je[0]:"",Je=Ce("%"+nt+"%",Ue),Qe=Je.name,Xe=Je.value,ze=!1,ke=Je.alias;ke&&(nt=ke[0],Se(je,me([0,1],ke)));for(var Be=1,qe=!0;Be=je.length){var We=ae(Xe,Ye);qe=!!We,qe&&"get"in We&&!("originalValue"in We.get)?Xe=We.get:Xe=Xe[Ye]}else qe=ve(Xe,Ye),Xe=Xe[Ye];qe&&!ze&&(ee[Qe]=Xe)}}return Xe}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,he,fe){"use strict";var se=E("get-intrinsic"),re=se("%Object.getOwnPropertyDescriptor%",!0);if(re)try{re([],"length")}catch(ie){re=null}he.exports=re},{"get-intrinsic":348}],350:[function(E,he,fe){"use strict";var se={foo:{}},re=Object;he.exports=function(){return{__proto__:se}.foo===se.foo&&!({__proto__:null}instanceof re)}},{}],351:[function(E,he,fe){"use strict";var se=typeof Symbol!="undefined"&&Symbol,re=E("./shams");he.exports=function(){return typeof se!="function"||typeof Symbol!="function"||typeof se("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:re()}},{"./shams":352}],352:[function(E,he,fe){"use strict";he.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var re={},ie=Symbol("test"),le=Object(ie);if(typeof ie=="string"||Object.prototype.toString.call(ie)!=="[object Symbol]"||Object.prototype.toString.call(le)!=="[object Symbol]")return!1;var ce=42;re[ie]=ce;for(ie in re)return!1;if(typeof Object.keys=="function"&&Object.keys(re).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(re).length!==0)return!1;var ae=Object.getOwnPropertySymbols(re);if(ae.length!==1||ae[0]!==ie||!Object.prototype.propertyIsEnumerable.call(re,ie))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var oe=Object.getOwnPropertyDescriptor(re,ie);if(oe.value!==ce||oe.enumerable!==!0)return!1}return!0}},{}],353:[function(E,he,fe){"use strict";var se=E("has-symbols/shams");he.exports=function(){return se()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,he,fe){"use strict";var se=E("function-bind");he.exports=se.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,he,fe){var se=E("http"),re=E("url"),ie=he.exports;for(var le in se)se.hasOwnProperty(le)&&(ie[le]=se[le]);ie.request=function(ae,oe){return ae=ce(ae),se.request.call(this,ae,oe)},ie.get=function(ae,oe){return ae=ce(ae),se.get.call(this,ae,oe)};function ce(ae){if(typeof ae=="string"&&(ae=re.parse(ae)),ae.protocol||(ae.protocol="https:"),ae.protocol!=="https:")throw new Error('Protocol "'+ae.protocol+'" not supported. Expected "https:"');return ae}},{http:468,url:472}],356:[function(E,he,fe){"use strict";var se=E("util"),re=E("ms");he.exports=function(ie){if(typeof ie=="number")return ie;var le=re(ie);if(le===void 0){var ce=new Error(se.format("humanize-ms(%j) result undefined",ie));console.warn(ce.stack)}return le}},{ms:376,util:419}],357:[function(E,he,fe){fe.read=function(se,re,ie,le,ce){var ae,oe,ne=ce*8-le-1,z=(1<>1,y=-7,x=ie?ce-1:0,b=ie?-1:1,ee=se[re+x];for(x+=b,ae=ee&(1<<-y)-1,ee>>=-y,y+=ne;y>0;ae=ae*256+se[re+x],x+=b,y-=8);for(oe=ae&(1<<-y)-1,ae>>=-y,y+=le;y>0;oe=oe*256+se[re+x],x+=b,y-=8);if(ae===0)ae=1-a;else{if(ae===z)return oe?NaN:(ee?-1:1)*(1/0);oe=oe+Math.pow(2,le),ae=ae-a}return(ee?-1:1)*oe*Math.pow(2,ae-le)},fe.write=function(se,re,ie,le,ce,ae){var oe,ne,z,a=ae*8-ce-1,y=(1<>1,b=ce===23?Math.pow(2,-24)-Math.pow(2,-77):0,ee=le?0:ae-1,te=le?1:-1,ue=re<0||re===0&&1/re<0?1:0;for(re=Math.abs(re),isNaN(re)||re===1/0?(ne=isNaN(re)?1:0,oe=y):(oe=Math.floor(Math.log(re)/Math.LN2),re*(z=Math.pow(2,-oe))<1&&(oe--,z*=2),oe+x>=1?re+=b/z:re+=b*Math.pow(2,1-x),re*z>=2&&(oe++,z/=2),oe+x>=y?(ne=0,oe=y):oe+x>=1?(ne=(re*z-1)*Math.pow(2,ce),oe=oe+x):(ne=re*Math.pow(2,x-1)*Math.pow(2,ce),oe=0));ce>=8;se[ie+ee]=ne&255,ee+=te,ne/=256,ce-=8);for(oe=oe<0;se[ie+ee]=oe&255,ee+=te,oe/=256,a-=8);se[ie+ee-te]|=ue*128}},{}],358:[function(E,he,fe){"use strict";var se=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],re,ie,le=-1,ce=[],ae=!1;function oe(){!re||!ie||(re=!1,ie.length?ce=ie.concat(ce):le=-1,ce.length&&ne())}function ne(){if(!re){ae=!1,re=!0;for(var ee=ce.length,te=setTimeout(oe);ee;){for(ie=ce,ce=[];ie&&++le1)for(var ue=1;ue=0&&ie(ne)!=="[object Array]"&&ie(ne.callee)==="[object Function]"},ae=function(){return le(arguments)}();le.isLegacyArguments=ce,he.exports=ae?le:ce},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,he,fe){he.exports=function(ie){return ie!=null&&(se(ie)||re(ie)||!!ie._isBuffer)};function se(ie){return!!ie.constructor&&typeof ie.constructor.isBuffer=="function"&&ie.constructor.isBuffer(ie)}function re(ie){return typeof ie.readFloatLE=="function"&&typeof ie.slice=="function"&&se(ie.slice(0,0))}},{}],367:[function(E,he,fe){"use strict";var se=Function.prototype.toString,re=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ie,le;if(typeof re=="function"&&typeof Object.defineProperty=="function")try{ie=Object.defineProperty({},"length",{get:function(){throw le}}),le={},re(function(){throw 42},null,ie)}catch(ve){ve!==le&&(re=null)}else re=null;var ce=/^\s*class\b/,ae=function(me){try{var Se=se.call(me);return ce.test(Se)}catch(ye){return!1}},oe=function(me){try{return ae(me)?!1:(se.call(me),!0)}catch(Se){return!1}},ne=Object.prototype.toString,z="[object Object]",a="[object Function]",y="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",ee="[object HTMLCollection]",te=typeof Symbol=="function"&&!!Symbol.toStringTag,ue=!(0 in[,]),de=function(){return!1};if(typeof document=="object"){var ge=document.all;ne.call(ge)===ne.call(document.all)&&(de=function(me){if((ue||!me)&&(typeof me=="undefined"||typeof me=="object"))try{var Se=ne.call(me);return(Se===x||Se===b||Se===ee||Se===z)&&me("")==null}catch(ye){}return!1})}he.exports=re?function(me){if(de(me))return!0;if(!me||typeof me!="function"&&typeof me!="object")return!1;try{re(me,null,ie)}catch(Se){if(Se!==le)return!1}return!ae(me)&&oe(me)}:function(me){if(de(me))return!0;if(!me||typeof me!="function"&&typeof me!="object")return!1;if(te)return oe(me);if(ae(me))return!1;var Se=ne.call(me);return Se!==a&&Se!==y&&!/^\[object HTML/.test(Se)?!1:oe(me)}},{}],368:[function(E,he,fe){"use strict";var se=Object.prototype.toString,re=Function.prototype.toString,ie=/^\s*(?:function)?\*/,le=E("has-tostringtag/shams")(),ce=Object.getPrototypeOf,ae=function(){if(!le)return!1;try{return Function("return function*() {}")()}catch(ne){}},oe;he.exports=function(z){if(typeof z!="function")return!1;if(ie.test(re.call(z)))return!0;if(!le){var a=se.call(z);return a==="[object GeneratorFunction]"}if(!ce)return!1;if(typeof oe=="undefined"){var y=ae();oe=y?ce(y):!1}return ce(z)===oe}},{"has-tostringtag/shams":353}],369:[function(E,he,fe){"use strict";var se=E("which-typed-array");he.exports=function(ie){return!!se(ie)}},{"which-typed-array":420}],370:[function(E,he,fe){var se={}.toString;he.exports=Array.isArray||function(re){return se.call(re)=="[object Array]"}},{}],371:[function(E,he,fe){(function(se){(function(){(function(re,ie){typeof fe=="object"&&typeof he!="undefined"?he.exports=ie(re):typeof pe=="function"&&pe.amd?pe(ie):ie(re)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof se!="undefined"?se:this,function(re){"use strict";re=re||{};var ie=re.Base64,le="2.6.4",ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ae=function(Ie){for(var Ue={},je=0,nt=Ie.length;je>>6)+oe(128|Ue&63):oe(224|Ue>>>12&15)+oe(128|Ue>>>6&63)+oe(128|Ue&63)}else{var Ue=65536+(Ie.charCodeAt(0)-55296)*1024+(Ie.charCodeAt(1)-56320);return oe(240|Ue>>>18&7)+oe(128|Ue>>>12&63)+oe(128|Ue>>>6&63)+oe(128|Ue&63)}},z=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(Ie){return Ie.replace(z,ne)},y=function(Ie){var Ue=[0,2,1][Ie.length%3],je=Ie.charCodeAt(0)<<16|(Ie.length>1?Ie.charCodeAt(1):0)<<8|(Ie.length>2?Ie.charCodeAt(2):0),nt=[ce.charAt(je>>>18),ce.charAt(je>>>12&63),Ue>=2?"=":ce.charAt(je>>>6&63),Ue>=1?"=":ce.charAt(je&63)];return nt.join("")},x=re.btoa&&typeof re.btoa=="function"?function(Ie){return re.btoa(Ie)}:function(Ie){if(Ie.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ie.replace(/[\s\S]{1,3}/g,y)},b=function(Ie){return x(a(String(Ie)))},ee=function(Ie){return Ie.replace(/[+\/]/g,function(Ue){return Ue=="+"?"-":"_"}).replace(/=/g,"")},te=function(Ie,Ue){return Ue?ee(b(Ie)):b(Ie)},ue=function(Ie){return te(Ie,!0)},de;re.Uint8Array&&(de=function(Ie,Ue){for(var je="",nt=0,Je=Ie.length;nt>>18)+ce.charAt(ke>>>12&63)+(typeof Xe!="undefined"?ce.charAt(ke>>>6&63):"=")+(typeof ze!="undefined"?ce.charAt(ke&63):"=")}return Ue?ee(je):je});var ge=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ve=function(Ie){switch(Ie.length){case 4:var Ue=(7&Ie.charCodeAt(0))<<18|(63&Ie.charCodeAt(1))<<12|(63&Ie.charCodeAt(2))<<6|63&Ie.charCodeAt(3),je=Ue-65536;return oe((je>>>10)+55296)+oe((je&1023)+56320);case 3:return oe((15&Ie.charCodeAt(0))<<12|(63&Ie.charCodeAt(1))<<6|63&Ie.charCodeAt(2));default:return oe((31&Ie.charCodeAt(0))<<6|63&Ie.charCodeAt(1))}},me=function(Ie){return Ie.replace(ge,ve)},Se=function(Ie){var Ue=Ie.length,je=Ue%4,nt=(Ue>0?ae[Ie.charAt(0)]<<18:0)|(Ue>1?ae[Ie.charAt(1)]<<12:0)|(Ue>2?ae[Ie.charAt(2)]<<6:0)|(Ue>3?ae[Ie.charAt(3)]:0),Je=[oe(nt>>>16),oe(nt>>>8&255),oe(nt&255)];return Je.length-=[0,0,2,1][je],Je.join("")},ye=re.atob&&typeof re.atob=="function"?function(Ie){return re.atob(Ie)}:function(Ie){return Ie.replace(/\S{1,4}/g,Se)},Pe=function(Ie){return ye(String(Ie).replace(/[^A-Za-z0-9\+\/]/g,""))},we=function(Ie){return me(ye(Ie))},Te=function(Ie){return String(Ie).replace(/[-_]/g,function(Ue){return Ue=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ee=function(Ie){return we(Te(Ie))},_e;re.Uint8Array&&(_e=function(Ie){return Uint8Array.from(Pe(Te(Ie)),function(Ue){return Ue.charCodeAt(0)})});var Ce=function(){var Ie=re.Base64;return re.Base64=ie,Ie};if(re.Base64={VERSION:le,atob:Pe,btoa:x,fromBase64:Ee,toBase64:te,utob:a,encode:te,encodeURI:ue,btou:me,decode:Ee,noConflict:Ce,fromUint8Array:de,toUint8Array:_e},typeof Object.defineProperty=="function"){var Oe=function(Ie){return{value:Ie,enumerable:!1,writable:!0,configurable:!0}};re.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Oe(function(){return Ee(this)})),Object.defineProperty(String.prototype,"toBase64",Oe(function(Ie){return te(this,Ie)})),Object.defineProperty(String.prototype,"toBase64URI",Oe(function(){return te(this,!0)}))}}return re.Meteor&&(Base64=re.Base64),typeof he!="undefined"&&he.exports?he.exports.Base64=re.Base64:typeof pe=="function"&&pe.amd&&pe([],function(){return re.Base64}),{Base64:re.Base64}})}).call(this)}).call(this,typeof ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,he,fe){"use strict";he.exports=re;var se=Object.prototype.hasOwnProperty;function re(ie,le,ce){if(!ie)throw new TypeError("argument dest is required");if(!le)throw new TypeError("argument src is required");return ce===void 0&&(ce=!0),Object.getOwnPropertyNames(le).forEach(function(oe){if(!(!ce&&se.call(ie,oe))){var ne=Object.getOwnPropertyDescriptor(le,oe);Object.defineProperty(ie,oe,ne)}}),ie}},{}],373:[function(E,he,fe){"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 se(){this._types=Object.create(null),this._extensions=Object.create(null);for(var re=0;re0)return oe(y);if(b==="number"&&isFinite(y))return x.long?z(y):ne(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function oe(y){if(y=String(y),!(y.length>100)){var x=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(x){var b=parseFloat(x[1]),ee=(x[2]||"ms").toLowerCase();switch(ee){case"years":case"year":case"yrs":case"yr":case"y":return b*ae;case"weeks":case"week":case"w":return b*ce;case"days":case"day":case"d":return b*le;case"hours":case"hour":case"hrs":case"hr":case"h":return b*ie;case"minutes":case"minute":case"mins":case"min":case"m":return b*re;case"seconds":case"second":case"secs":case"sec":case"s":return b*se;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function ne(y){var x=Math.abs(y);return x>=le?Math.round(y/le)+"d":x>=ie?Math.round(y/ie)+"h":x>=re?Math.round(y/re)+"m":x>=se?Math.round(y/se)+"s":y+"ms"}function z(y){var x=Math.abs(y);return x>=le?a(y,x,le,"day"):x>=ie?a(y,x,ie,"hour"):x>=re?a(y,x,re,"minute"):x>=se?a(y,x,se,"second"):y+" ms"}function a(y,x,b,ee){var te=x>=b*1.5;return Math.round(y/b)+" "+ee+(te?"s":"")}},{}],377:[function(E,he,fe){"use strict";var se=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;function le(ae){if(ae==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(ae)}function ce(){try{if(!Object.assign)return!1;var ae=new String("abc");if(ae[5]="de",Object.getOwnPropertyNames(ae)[0]==="5")return!1;for(var oe={},ne=0;ne<10;ne++)oe["_"+String.fromCharCode(ne)]=ne;var z=Object.getOwnPropertyNames(oe).map(function(y){return oe[y]});if(z.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}}he.exports=ce()?Object.assign:function(ae,oe){for(var ne,z=le(ae),a,y=1;y2){var ee=ne.lastIndexOf("/");if(ee!==ne.length-1){ee===-1?(ne="",z=0):(ne=ne.slice(0,ee),z=ne.length-1-ne.lastIndexOf("/")),a=b,y=0;continue}}else if(ne.length===2||ne.length===1){ne="",z=0,a=b,y=0;continue}}oe&&(ne.length>0?ne+="/..":ne="..",z=2)}else ne.length>0?ne+="/"+ae.slice(a+1,b):ne=ae.slice(a+1,b),z=b-a-1;a=b,y=0}else x===46&&y!==-1?++y:y=-1}return ne}function le(ae,oe){var ne=oe.dir||oe.root,z=oe.base||(oe.name||"")+(oe.ext||"");return ne?ne===oe.root?ne+z:ne+ae+z:z}var ce={resolve:function(){for(var oe="",ne=!1,z,a=arguments.length-1;a>=-1&&!ne;a--){var y;a>=0?y=arguments[a]:(z===void 0&&(z=se.cwd()),y=z),re(y),y.length!==0&&(oe=y+"/"+oe,ne=y.charCodeAt(0)===47)}return oe=ie(oe,!ne),ne?oe.length>0?"/"+oe:"/":oe.length>0?oe:"."},normalize:function(oe){if(re(oe),oe.length===0)return".";var ne=oe.charCodeAt(0)===47,z=oe.charCodeAt(oe.length-1)===47;return oe=ie(oe,!ne),oe.length===0&&!ne&&(oe="."),oe.length>0&&z&&(oe+="/"),ne?"/"+oe:oe},isAbsolute:function(oe){return re(oe),oe.length>0&&oe.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var oe,ne=0;ne0&&(oe===void 0?oe=z:oe+="/"+z)}return oe===void 0?".":ce.normalize(oe)},relative:function(oe,ne){if(re(oe),re(ne),oe===ne||(oe=ce.resolve(oe),ne=ce.resolve(ne),oe===ne))return"";for(var z=1;zte){if(ne.charCodeAt(x+de)===47)return ne.slice(x+de+1);if(de===0)return ne.slice(x+de)}else y>te&&(oe.charCodeAt(z+de)===47?ue=de:de===0&&(ue=0));break}var ge=oe.charCodeAt(z+de),ve=ne.charCodeAt(x+de);if(ge!==ve)break;ge===47&&(ue=de)}var me="";for(de=z+ue+1;de<=a;++de)(de===a||oe.charCodeAt(de)===47)&&(me.length===0?me+="..":me+="/..");return me.length>0?me+ne.slice(x+ue):(x+=ue,ne.charCodeAt(x)===47&&++x,ne.slice(x))},_makeLong:function(oe){return oe},dirname:function(oe){if(re(oe),oe.length===0)return".";for(var ne=oe.charCodeAt(0),z=ne===47,a=-1,y=!0,x=oe.length-1;x>=1;--x)if(ne=oe.charCodeAt(x),ne===47){if(!y){a=x;break}}else y=!1;return a===-1?z?"/":".":z&&a===1?"//":oe.slice(0,a)},basename:function(oe,ne){if(ne!==void 0&&typeof ne!="string")throw new TypeError('"ext" argument must be a string');re(oe);var z=0,a=-1,y=!0,x;if(ne!==void 0&&ne.length>0&&ne.length<=oe.length){if(ne.length===oe.length&&ne===oe)return"";var b=ne.length-1,ee=-1;for(x=oe.length-1;x>=0;--x){var te=oe.charCodeAt(x);if(te===47){if(!y){z=x+1;break}}else ee===-1&&(y=!1,ee=x+1),b>=0&&(te===ne.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=ee))}return z===a?a=ee:a===-1&&(a=oe.length),oe.slice(z,a)}else{for(x=oe.length-1;x>=0;--x)if(oe.charCodeAt(x)===47){if(!y){z=x+1;break}}else a===-1&&(y=!1,a=x+1);return a===-1?"":oe.slice(z,a)}},extname:function(oe){re(oe);for(var ne=-1,z=0,a=-1,y=!0,x=0,b=oe.length-1;b>=0;--b){var ee=oe.charCodeAt(b);if(ee===47){if(!y){z=b+1;break}continue}a===-1&&(y=!1,a=b+1),ee===46?ne===-1?ne=b:x!==1&&(x=1):ne!==-1&&(x=-1)}return ne===-1||a===-1||x===0||x===1&&ne===a-1&&ne===z+1?"":oe.slice(ne,a)},format:function(oe){if(oe===null||typeof oe!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof oe);return le("/",oe)},parse:function(oe){re(oe);var ne={root:"",dir:"",base:"",ext:"",name:""};if(oe.length===0)return ne;var z=oe.charCodeAt(0),a=z===47,y;a?(ne.root="/",y=1):y=0;for(var x=-1,b=0,ee=-1,te=!0,ue=oe.length-1,de=0;ue>=y;--ue){if(z=oe.charCodeAt(ue),z===47){if(!te){b=ue+1;break}continue}ee===-1&&(te=!1,ee=ue+1),z===46?x===-1?x=ue:de!==1&&(de=1):x!==-1&&(de=-1)}return x===-1||ee===-1||de===0||de===1&&x===ee-1&&x===b+1?ee!==-1&&(b===0&&a?ne.base=ne.name=oe.slice(1,ee):ne.base=ne.name=oe.slice(b,ee)):(b===0&&a?(ne.name=oe.slice(1,x),ne.base=oe.slice(1,ee)):(ne.name=oe.slice(b,x),ne.base=oe.slice(b,ee)),ne.ext=oe.slice(x,ee)),b>0?ne.dir=oe.slice(0,b-1):a&&(ne.dir="/"),ne},sep:"/",delimiter:":",win32:null,posix:null};ce.posix=ce,he.exports=ce}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,he,fe){(function(se){(function(){(function(){"use strict";var re={function:!0,object:!0},ie=re[typeof window]&&window||this,le=ie,ce=re[typeof fe]&&fe,ae=re[typeof he]&&he&&!he.nodeType&&he,oe=ce&&ae&&typeof se=="object"&&se;oe&&(oe.global===oe||oe.window===oe||oe.self===oe)&&(ie=oe);var ne=Math.pow(2,53)-1,z=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function ee(Ee){return Ee=String(Ee),Ee.charAt(0).toUpperCase()+Ee.slice(1)}function te(Ee,_e,Ce){var Oe={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return _e&&Ce&&/^Win/i.test(Ee)&&!/^Windows Phone /i.test(Ee)&&(Oe=Oe[/[\d.]+$/.exec(Ee)])&&(Ee="Windows "+Oe),Ee=String(Ee),_e&&Ce&&(Ee=Ee.replace(RegExp(_e,"i"),Ce)),Ee=de(Ee.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]),Ee}function ue(Ee,_e){var Ce=-1,Oe=Ee?Ee.length:0;if(typeof Oe=="number"&&Oe>-1&&Oe<=ne)for(;++Ce3&&"WebKit"||/\bOpera\b/.test(Le)&&(/\bOPR\b/.test(Ee)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Ee)&&!/^(?:Trident|EdgeHTML)$/.test(Ae)&&"WebKit"||!Ae&&/\bMSIE\b/i.test(Ee)&&(ot=="Mac OS"?"Tasman":"Trident")||Ae=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Le)&&"NetFront")&&(Ae=[Re]),Le=="IE"&&(Re=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Ee)||0)[1])?(Le+=" Mobile",ot="Windows Phone "+(/\+$/.test(Re)?Re:Re+".x"),Me.unshift("desktop mode")):/\bWPDesktop\b/i.test(Ee)?(Le="IE Mobile",ot="Windows Phone 8.x",Me.unshift("desktop mode"),Ze||(Ze=(/\brv:([\d.]+)/.exec(Ee)||0)[1])):Le!="IE"&&Ae=="Trident"&&(Re=/\brv:([\d.]+)/.exec(Ee))&&(Le&&Me.push("identifying as "+Le+(Ze?" "+Ze:"")),Le="IE",Ze=Re[1]),Ve){if(me(_e,"global"))if(ke&&(Re=ke.lang.System,tt=Re.getProperty("os.arch"),ot=ot||Re.getProperty("os.name")+" "+Re.getProperty("os.version")),Be){try{Ze=_e.require("ringo/engine").version.join("."),Le="RingoJS"}catch(ct){(Re=_e.system)&&Re.global.system==_e.system&&(Le="Narwhal",ot||(ot=Re[0].os||null))}Le||(Le="Rhino")}else typeof _e.process=="object"&&!_e.process.browser&&(Re=_e.process)&&(typeof Re.versions=="object"&&(typeof Re.versions.electron=="string"?(Me.push("Node "+Re.versions.node),Le="Electron",Ze=Re.versions.electron):typeof Re.versions.nw=="string"&&(Me.push("Chromium "+Ze,"Node "+Re.versions.node),Le="NW.js",Ze=Re.versions.nw)),Le||(Le="Node.js",tt=Re.arch,ot=Re.platform,Ze=/[\d.]+/.exec(Re.version),Ze=Ze?Ze[0]:null));else ve(Re=_e.runtime)==Je?(Le="Adobe AIR",ot=Re.flash.system.Capabilities.os):ve(Re=_e.phantom)==ze?(Le="PhantomJS",Ze=(Re=Re.version||null)&&Re.major+"."+Re.minor+"."+Re.patch):typeof gt.documentMode=="number"&&(Re=/\bTrident\/(\d+)/i.exec(Ee))?(Ze=[Ze,gt.documentMode],(Re=+Re[1]+4)!=Ze[1]&&(Me.push("IE "+Ze[1]+" mode"),Ae&&(Ae[1]=""),Ze[1]=Re),Ze=Le=="IE"?String(Ze[1].toFixed(1)):Ze[0]):typeof gt.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Le)&&(Me.push("masking as "+Le+" "+Ze),Le="IE",Ze="11.0",Ae=["Trident"],ot="Windows");ot=ot&&de(ot)}if(Ze&&(Re=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ze)||/(?:alpha|beta)(?: ?\d)?/i.exec(Ee+";"+(Ve&&Oe.appMinorVersion))||/\bMinefield\b/i.test(Ee)&&"a")&&(He=/b/i.test(Re)?"beta":"alpha",Ze=Ze.replace(RegExp(Re+"\\+?$"),"")+(He=="beta"?Ye:qe)+(/\d+\+?/.exec(Re)||"")),Le=="Fennec"||Le=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(ot))Le="Firefox Mobile";else if(Le=="Maxthon"&&Ze)Ze=Ze.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ne))Ne=="Xbox 360"&&(ot=null),Ne=="Xbox 360"&&/\bIEMobile\b/.test(Ee)&&Me.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Le)||Le&&!Ne&&!/Browser|Mobi/.test(Le))&&(ot=="Windows CE"||/Mobi/i.test(Ee)))Le+=" Mobile";else if(Le=="IE"&&Ve)try{_e.external===null&&Me.unshift("platform preview")}catch(ct){Me.unshift("embedded")}else(/\bBlackBerry\b/.test(Ne)||/\bBB10\b/.test(Ee))&&(Re=(RegExp(Ne.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Ee)||0)[1]||Ze)?(Re=[Re,/BB10/.test(Ee)],ot=(Re[1]?(Ne=null,Ge="BlackBerry"):"Device Software")+" "+Re[0],Ze=null):this!=ge&&Ne!="Wii"&&(Ve&&$e||/Opera/.test(Le)&&/\b(?:MSIE|Firefox)\b/i.test(Ee)||Le=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(ot)||Le=="IE"&&(ot&&!/^Win/.test(ot)&&Ze>5.5||/\bWindows XP\b/.test(ot)&&Ze>8||Ze==8&&!/\bTrident\b/.test(Ee)))&&!z.test(Re=we.call(ge,Ee.replace(z,"")+";"))&&Re.name&&(Re="ing as "+Re.name+((Re=Re.version)?" "+Re:""),z.test(Le)?(/\bIE\b/.test(Re)&&ot=="Mac OS"&&(ot=null),Re="identify"+Re):(Re="mask"+Re,We?Le=de(We.replace(/([a-z])([A-Z])/g,"$1 $2")):Le="Opera",/\bIE\b/.test(Re)&&(ot=null),Ve||(Ze=null)),Ae=["Presto"],Me.push(Re));(Re=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Ee)||0)[1])&&(Re=[parseFloat(Re.replace(/\.(\d)$/,".0$1")),Re],Le=="Safari"&&Re[1].slice(-1)=="+"?(Le="WebKit Nightly",He="alpha",Ze=Re[1].slice(0,-1)):(Ze==Re[1]||Ze==(Re[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Ee)||0)[1]))&&(Ze=null),Re[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Ee)||0)[1],Re[0]==537.36&&Re[2]==537.36&&parseFloat(Re[1])>=28&&Ae=="WebKit"&&(Ae=["Blink"]),!Ve||!je&&!Re[1]?(Ae&&(Ae[1]="like Safari"),Re=(Re=Re[0],Re<400?1:Re<500?2:Re<526?3:Re<533?4:Re<534?"4+":Re<535?5:Re<537?6:Re<538?7:Re<601?8:Re<602?9:Re<604?10:Re<606?11:Re<608?12:"12")):(Ae&&(Ae[1]="like Chrome"),Re=Re[1]||(Re=Re[0],Re<530?1:Re<532?2:Re<532.05?3:Re<533?4:Re<534.03?5:Re<534.07?6:Re<534.1?7:Re<534.13?8:Re<534.16?9:Re<534.24?10:Re<534.3?11:Re<535.01?12:Re<535.02?"13+":Re<535.07?15:Re<535.11?16:Re<535.19?17:Re<536.05?18:Re<536.1?19:Re<537.01?20:Re<537.11?"21+":Re<537.13?23:Re<537.18?24:Re<537.24?25:Re<537.36?26:Ae!="Blink"?"27":"28")),Ae&&(Ae[1]+=" "+(Re+=typeof Re=="number"?".x":/[.+]/.test(Re)?"":"+")),Le=="Safari"&&(!Ze||parseInt(Ze)>45)?Ze=Re:Le=="Chrome"&&/\bHeadlessChrome/i.test(Ee)&&Me.unshift("headless")),Le=="Opera"&&(Re=/\bzbov|zvav$/.exec(ot))?(Le+=" ",Me.unshift("desktop mode"),Re=="zvav"?(Le+="Mini",Ze=null):Le+="Mobile",ot=ot.replace(RegExp(" *"+Re+"$"),"")):Le=="Safari"&&/\bChrome\b/.exec(Ae&&Ae[1])?(Me.unshift("desktop mode"),Le="Chrome Mobile",Ze=null,/\bOS X\b/.test(ot)?(Ge="Apple",ot="iOS 4.3+"):ot=null):/\bSRWare Iron\b/.test(Le)&&!Ze&&(Ze=$t("Chrome")),Ze&&Ze.indexOf(Re=/[\d.]+$/.exec(ot))==0&&Ee.indexOf("/"+Re+"-")>-1&&(ot=Pe(ot.replace(Re,""))),ot&&ot.indexOf(Le)!=-1&&!RegExp(Le+" OS").test(ot)&&(ot=ot.replace(RegExp(" *"+Se(Le)+" *"),"")),Ae&&!/\b(?:Avant|Nook)\b/.test(Le)&&(/Browser|Lunascape|Maxthon/.test(Le)||Le!="Safari"&&/^iOS/.test(ot)&&/\bSafari\b/.test(Ae[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Le)&&Ae[1])&&(Re=Ae[Ae.length-1])&&Me.push(Re),Me.length&&(Me=["("+Me.join("; ")+")"]),Ge&&Ne&&Ne.indexOf(Ge)<0&&Me.push("on "+Ge),Ne&&Me.push((/^on /.test(Me[Me.length-1])?"":"on ")+Ne),ot&&(Re=/ ([\d.+]+)$/.exec(ot),Ke=Re&&ot.charAt(ot.length-Re[0].length-1)=="/",ot={architecture:32,family:Re&&!Ke?ot.replace(Re[0],""):ot,version:Re?Re[1]:null,toString:function(){var ct=this.version;return this.family+(ct&&!Ke?" "+ct:"")+(this.architecture==64?" 64-bit":"")}}),(Re=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(tt))&&!/\bi686\b/i.test(tt)?(ot&&(ot.architecture=64,ot.family=ot.family.replace(RegExp(" *"+Re),"")),Le&&(/\bWOW64\b/i.test(Ee)||Ve&&/\w(?:86|32)$/.test(Oe.cpuClass||Oe.platform)&&!/\bWin64; x64\b/i.test(Ee))&&Me.unshift("32-bit")):ot&&/^OS X/.test(ot.family)&&Le=="Chrome"&&parseFloat(Ze)>=39&&(ot.architecture=64),Ee||(Ee=null);var Nt={};return Nt.description=Ee,Nt.layout=Ae&&Ae[0],Nt.manufacturer=Ge,Nt.name=Le,Nt.prerelease=He,Nt.product=Ne,Nt.ua=Ee,Nt.version=Le&&Ze,Nt.os=ot||{architecture:null,family:null,version:null,toString:function(){return"null"}},Nt.parse=we,Nt.toString=st,Nt.version&&Me.unshift(Ze),Nt.name&&Me.unshift(Le),ot&&Le&&!(ot==String(ot).split(" ")[0]&&(ot==Le.split(" ")[0]||Ne))&&Me.push(Ne?"("+ot+")":"on "+ot),Me.length&&(Nt.description=Me.join(" ")),Nt}var Te=we();typeof pe=="function"&&typeof pe.amd=="object"&&pe.amd?(ie.platform=Te,pe(function(){return Te})):ce&&ae?ge(Te,function(Ee,_e){ce[_e]=Ee}):ie.platform=Te}).call(this)}).call(this)}).call(this,typeof ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,he,fe){(function(se){(function(){"use strict";typeof se=="undefined"||!se.version||se.version.indexOf("v0.")===0||se.version.indexOf("v1.")===0&&se.version.indexOf("v1.8.")!==0?he.exports={nextTick:re}:he.exports=se;function re(ie,le,ce,ae){if(typeof ie!="function")throw new TypeError('"callback" argument must be a function');var oe=arguments.length,ne,z;switch(oe){case 0:case 1:return se.nextTick(ie);case 2:return se.nextTick(function(){ie.call(null,le)});case 3:return se.nextTick(function(){ie.call(null,le,ce)});case 4:return se.nextTick(function(){ie.call(null,le,ce,ae)});default:for(ne=new Array(oe-1),z=0;z1)for(var ge=1;ge= 0x80 (not a basic code point)","invalid-input":"Invalid input"},me=ne-z,Se=Math.floor,ye=String.fromCharCode,Pe;function we(Xe){throw new RangeError(ve[Xe])}function Te(Xe,ze){for(var ke=Xe.length,Be=[];ke--;)Be[ke]=ze(Xe[ke]);return Be}function Ee(Xe,ze){var ke=Xe.split("@"),Be="";ke.length>1&&(Be=ke[0]+"@",Xe=ke[1]),Xe=Xe.replace(ge,".");var qe=Xe.split("."),Ye=Te(qe,ze).join(".");return Be+Ye}function _e(Xe){for(var ze=[],ke=0,Be=Xe.length,qe,Ye;ke=55296&&qe<=56319&&ke65535&&(ze-=65536,ke+=ye(ze>>>10&1023|55296),ze=56320|ze&1023),ke+=ye(ze),ke}).join("")}function Oe(Xe){return Xe-48<10?Xe-22:Xe-65<26?Xe-65:Xe-97<26?Xe-97:ne}function Ie(Xe,ze){return Xe+22+75*(Xe<26)-((ze!=0)<<5)}function Ue(Xe,ze,ke){var Be=0;for(Xe=ke?Se(Xe/x):Xe>>1,Xe+=Se(Xe/ze);Xe>me*a>>1;Be+=ne)Xe=Se(Xe/me);return Se(Be+(me+1)*Xe/(Xe+y))}function je(Xe){var ze=[],ke=Xe.length,Be,qe=0,Ye=ee,gt=b,$e,We,Re,tt,Me,He,Ve,Ze,Ke;for($e=Xe.lastIndexOf(te),$e<0&&($e=0),We=0;We<$e;++We)Xe.charCodeAt(We)>=128&&we("not-basic"),ze.push(Xe.charCodeAt(We));for(Re=$e>0?$e+1:0;Re=ke&&we("invalid-input"),Ve=Oe(Xe.charCodeAt(Re++)),(Ve>=ne||Ve>Se((oe-qe)/Me))&&we("overflow"),qe+=Ve*Me,Ze=He<=gt?z:He>=gt+a?a:He-gt,!(VeSe(oe/Ke)&&we("overflow"),Me*=Ke;Be=ze.length+1,gt=Ue(qe-tt,Be,tt==0),Se(qe/Be)>oe-Ye&&we("overflow"),Ye+=Se(qe/Be),qe%=Be,ze.splice(qe++,0,Ye)}return Ce(ze)}function nt(Xe){var ze,ke,Be,qe,Ye,gt,$e,We,Re,tt,Me,He=[],Ve,Ze,Ke,Ae;for(Xe=_e(Xe),Ve=Xe.length,ze=ee,ke=0,Ye=b,gt=0;gt=ze&&Me<$e&&($e=Me);for(Ze=Be+1,$e-ze>Se((oe-ke)/Ze)&&we("overflow"),ke+=($e-ze)*Ze,ze=$e,gt=0;gtoe&&we("overflow"),Me==ze){for(We=ke,Re=ne;tt=Re<=Ye?z:Re>=Ye+a?a:Re-Ye,!(We0&&a>z&&(a=z);for(var y=0;y=0?(ee=x.substr(0,b),te=x.substr(b+1)):(ee=x,te=""),ue=decodeURIComponent(ee),de=decodeURIComponent(te),se(oe,ue)?re(oe[ue])?oe[ue].push(de):oe[ue]=[oe[ue],de]:oe[ue]=de}return oe};var re=Array.isArray||function(ie){return Object.prototype.toString.call(ie)==="[object Array]"}},{}],384:[function(E,he,fe){"use strict";var se=function(ce){switch(typeof ce){case"string":return ce;case"boolean":return ce?"true":"false";case"number":return isFinite(ce)?ce:"";default:return""}};he.exports=function(ce,ae,oe,ne){return ae=ae||"&",oe=oe||"=",ce===null&&(ce=void 0),typeof ce=="object"?ie(le(ce),function(z){var a=encodeURIComponent(se(z))+oe;return re(ce[z])?ie(ce[z],function(y){return a+encodeURIComponent(se(y))}).join(ae):a+encodeURIComponent(se(ce[z]))}).join(ae):ne?encodeURIComponent(se(ne))+oe+encodeURIComponent(se(ce)):""};var re=Array.isArray||function(ce){return Object.prototype.toString.call(ce)==="[object Array]"};function ie(ce,ae){if(ce.map)return ce.map(ae);for(var oe=[],ne=0;ne0?(typeof He!="string"&&!Ae.objectMode&&Object.getPrototypeOf(He)!==z.prototype&&(He=y(He)),Ze?Ae.endEmitted?Me.emit("error",new Error("stream.unshift() after end event")):we(Me,Ae,He,!0):Ae.ended?Me.emit("error",new Error("stream.push() after EOF")):(Ae.reading=!1,Ae.decoder&&!Ve?(He=Ae.decoder.write(He),Ae.objectMode||He.length!==0?we(Me,Ae,He,!1):nt(Me,Ae)):we(Me,Ae,He,!1))):Ze||(Ae.reading=!1)}return Ee(Ae)}function we(Me,He,Ve,Ze){He.flowing&&He.length===0&&!He.sync?(Me.emit("data",Ve),Me.read(0)):(He.length+=He.objectMode?1:Ve.length,Ze?He.buffer.unshift(Ve):He.buffer.push(Ve),He.needReadable&&Ue(Me)),nt(Me,He)}function Te(Me,He){var Ve;return!x(He)&&typeof He!="string"&&He!==void 0&&!Me.objectMode&&(Ve=new TypeError("Invalid non-string/buffer chunk")),Ve}function Ee(Me){return!Me.ended&&(Me.needReadable||Me.length=_e?Me=_e:(Me--,Me|=Me>>>1,Me|=Me>>>2,Me|=Me>>>4,Me|=Me>>>8,Me|=Me>>>16,Me++),Me}function Oe(Me,He){return Me<=0||He.length===0&&He.ended?0:He.objectMode?1:Me!==Me?He.flowing&&He.length?He.buffer.head.data.length:He.length:(Me>He.highWaterMark&&(He.highWaterMark=Ce(Me)),Me<=He.length?Me:He.ended?He.length:(He.needReadable=!0,0))}ye.prototype.read=function(Me){te("read",Me),Me=parseInt(Me,10);var He=this._readableState,Ve=Me;if(Me!==0&&(He.emittedReadable=!1),Me===0&&He.needReadable&&(He.length>=He.highWaterMark||He.ended))return te("read: emitReadable",He.length,He.ended),He.length===0&&He.ended?We(this):Ue(this),null;if(Me=Oe(Me,He),Me===0&&He.ended)return He.length===0&&We(this),null;var Ze=He.needReadable;te("need readable",Ze),(He.length===0||He.length-Me0?Ke=qe(Me,He):Ke=null,Ke===null?(He.needReadable=!0,Me=0):He.length-=Me,He.length===0&&(He.ended||(He.needReadable=!0),Ve!==Me&&He.ended&&We(this)),Ke!==null&&this.emit("data",Ke),Ke};function Ie(Me,He){if(!He.ended){if(He.decoder){var Ve=He.decoder.end();Ve&&Ve.length&&(He.buffer.push(Ve),He.length+=He.objectMode?1:Ve.length)}He.ended=!0,Ue(Me)}}function Ue(Me){var He=Me._readableState;He.needReadable=!1,He.emittedReadable||(te("emitReadable",He.flowing),He.emittedReadable=!0,He.sync?ie.nextTick(je,Me):je(Me))}function je(Me){te("emit readable"),Me.emit("readable"),Be(Me)}function nt(Me,He){He.readingMore||(He.readingMore=!0,ie.nextTick(Je,Me,He))}function Je(Me,He){for(var Ve=He.length;!He.reading&&!He.flowing&&!He.ended&&He.length1&&tt(Ze.pipes,Me)!==-1)&&!ot&&(te("false write response, pause",Ve._readableState.awaitDrain),Ve._readableState.awaitDrain++,wt=!0),Ve.pause())}function bt(Nt){te("onerror",Nt),st(),Me.removeListener("error",bt),oe(Me,"error")===0&&Me.emit("error",Nt)}me(Me,"error",bt);function Ft(){Me.removeListener("finish",$t),st()}Me.once("close",Ft);function $t(){te("onfinish"),Me.removeListener("close",Ft),st()}Me.once("finish",$t);function st(){te("unpipe"),Ve.unpipe(Me)}return Me.emit("pipe",Ve),Ze.flowing||(te("pipe resume"),Ve.resume()),Me};function Qe(Me){return function(){var He=Me._readableState;te("pipeOnDrain",He.awaitDrain),He.awaitDrain&&He.awaitDrain--,He.awaitDrain===0&&oe(Me,"data")&&(He.flowing=!0,Be(Me))}}ye.prototype.unpipe=function(Me){var He=this._readableState,Ve={hasUnpiped:!1};if(He.pipesCount===0)return this;if(He.pipesCount===1)return Me&&Me!==He.pipes?this:(Me||(Me=He.pipes),He.pipes=null,He.pipesCount=0,He.flowing=!1,Me&&Me.emit("unpipe",this,Ve),this);if(!Me){var Ze=He.pipes,Ke=He.pipesCount;He.pipes=null,He.pipesCount=0,He.flowing=!1;for(var Ae=0;Ae=He.length?(He.decoder?Ve=He.buffer.join(""):He.buffer.length===1?Ve=He.buffer.head.data:Ve=He.buffer.concat(He.length),He.buffer.clear()):Ve=Ye(Me,He.buffer,He.decoder),Ve}function Ye(Me,He,Ve){var Ze;return MeAe.length?Ae.length:Me;if(Le===Ae.length?Ke+=Ae:Ke+=Ae.slice(0,Me),Me-=Le,Me===0){Le===Ae.length?(++Ze,Ve.next?He.head=Ve.next:He.head=He.tail=null):(He.head=Ve,Ve.data=Ae.slice(Le));break}++Ze}return He.length-=Ze,Ke}function $e(Me,He){var Ve=z.allocUnsafe(Me),Ze=He.head,Ke=1;for(Ze.data.copy(Ve),Me-=Ze.data.length;Ze=Ze.next;){var Ae=Ze.data,Le=Me>Ae.length?Ae.length:Me;if(Ae.copy(Ve,Ve.length-Me,0,Le),Me-=Le,Me===0){Le===Ae.length?(++Ke,Ze.next?He.head=Ze.next:He.head=He.tail=null):(He.head=Ze,Ze.data=Ae.slice(Le));break}++Ke}return He.length-=Ke,Ve}function We(Me){var He=Me._readableState;if(He.length>0)throw new Error('"endReadable()" called on non-empty stream');He.endEmitted||(He.ended=!0,ie.nextTick(Re,He,Me))}function Re(Me,He){!Me.endEmitted&&Me.length===0&&(Me.endEmitted=!0,He.readable=!1,He.emit("end"))}function tt(Me,He){for(var Ve=0,Ze=Me.length;Ve-1?ie:le.nextTick,ne;me.WritableState=ge;var z=Object.create(E("core-util-is"));z.inherits=E("inherits");var a={deprecate:E("util-deprecate")},y=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=re.Uint8Array||function(){};function ee(ke){return x.from(ke)}function te(ke){return x.isBuffer(ke)||ke instanceof b}var ue=E("./internal/streams/destroy");z.inherits(me,y);function de(){}function ge(ke,Be){ne=ne||E("./_stream_duplex"),ke=ke||{};var qe=Be instanceof ne;this.objectMode=!!ke.objectMode,qe&&(this.objectMode=this.objectMode||!!ke.writableObjectMode);var Ye=ke.highWaterMark,gt=ke.writableHighWaterMark,$e=this.objectMode?16:16*1024;Ye||Ye===0?this.highWaterMark=Ye:qe&&(gt||gt===0)?this.highWaterMark=gt:this.highWaterMark=$e,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 We=ke.decodeStrings===!1;this.decodeStrings=!We,this.defaultEncoding=ke.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Re){Ce(Be,Re)},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 ae(this)}ge.prototype.getBuffer=function(){for(var Be=this.bufferedRequest,qe=[];Be;)qe.push(Be),Be=Be.next;return qe},function(){try{Object.defineProperty(ge.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(ke){}}();var ve;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ve=Function.prototype[Symbol.hasInstance],Object.defineProperty(me,Symbol.hasInstance,{value:function(ke){return ve.call(this,ke)?!0:this!==me?!1:ke&&ke._writableState instanceof ge}})):ve=function(ke){return ke instanceof this};function me(ke){if(ne=ne||E("./_stream_duplex"),!ve.call(me,this)&&!(this instanceof ne))return new me(ke);this._writableState=new ge(ke,this),this.writable=!0,ke&&(typeof ke.write=="function"&&(this._write=ke.write),typeof ke.writev=="function"&&(this._writev=ke.writev),typeof ke.destroy=="function"&&(this._destroy=ke.destroy),typeof ke.final=="function"&&(this._final=ke.final)),y.call(this)}me.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Se(ke,Be){var qe=new Error("write after end");ke.emit("error",qe),le.nextTick(Be,qe)}function ye(ke,Be,qe,Ye){var gt=!0,$e=!1;return qe===null?$e=new TypeError("May not write null values to stream"):typeof qe!="string"&&qe!==void 0&&!Be.objectMode&&($e=new TypeError("Invalid non-string/buffer chunk")),$e&&(ke.emit("error",$e),le.nextTick(Ye,$e),gt=!1),gt}me.prototype.write=function(ke,Be,qe){var Ye=this._writableState,gt=!1,$e=!Ye.objectMode&&te(ke);return $e&&!x.isBuffer(ke)&&(ke=ee(ke)),typeof Be=="function"&&(qe=Be,Be=null),$e?Be="buffer":Be||(Be=Ye.defaultEncoding),typeof qe!="function"&&(qe=de),Ye.ended?Se(this,qe):($e||ye(this,Ye,ke,qe))&&(Ye.pendingcb++,gt=we(this,Ye,$e,ke,Be,qe)),gt},me.prototype.cork=function(){var ke=this._writableState;ke.corked++},me.prototype.uncork=function(){var ke=this._writableState;ke.corked&&(ke.corked--,!ke.writing&&!ke.corked&&!ke.finished&&!ke.bufferProcessing&&ke.bufferedRequest&&Ue(this,ke))},me.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 Pe(ke,Be,qe){return!ke.objectMode&&ke.decodeStrings!==!1&&typeof Be=="string"&&(Be=x.from(Be,qe)),Be}Object.defineProperty(me.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function we(ke,Be,qe,Ye,gt,$e){if(!qe){var We=Pe(Be,Ye,gt);Ye!==We&&(qe=!0,gt="buffer",Ye=We)}var Re=Be.objectMode?1:Ye.length;Be.length+=Re;var tt=Be.length0?this.tail.next=ne:this.head=ne,this.tail=ne,++this.length},ce.prototype.unshift=function(oe){var ne={data:oe,next:this.head};this.length===0&&(this.tail=ne),this.head=ne,++this.length},ce.prototype.shift=function(){if(this.length!==0){var oe=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,oe}},ce.prototype.clear=function(){this.head=this.tail=null,this.length=0},ce.prototype.join=function(oe){if(this.length===0)return"";for(var ne=this.head,z=""+ne.data;ne=ne.next;)z+=oe+ne.data;return z},ce.prototype.concat=function(oe){if(this.length===0)return re.alloc(0);if(this.length===1)return this.head.data;for(var ne=re.allocUnsafe(oe>>>0),z=this.head,a=0;z;)le(z.data,ne,a),a+=z.data.length,z=z.next;return ne},ce}(),ie&&ie.inspect&&ie.inspect.custom&&(he.exports.prototype[ie.inspect.custom]=function(){var ce=ie.inspect({length:this.length});return this.constructor.name+" "+ce})},{"safe-buffer":396,util:89}],392:[function(E,he,fe){"use strict";var se=E("process-nextick-args");function re(ce,ae){var oe=this,ne=this._readableState&&this._readableState.destroyed,z=this._writableState&&this._writableState.destroyed;return ne||z?(ae?ae(ce):ce&&(!this._writableState||!this._writableState.errorEmitted)&&se.nextTick(le,this,ce),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ce||null,function(a){!ae&&a?(se.nextTick(le,oe,a),oe._writableState&&(oe._writableState.errorEmitted=!0)):ae&&ae(a)}),this)}function ie(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function le(ce,ae){ce.emit("error",ae)}he.exports={destroy:re,undestroy:ie}},{"process-nextick-args":380}],393:[function(E,he,fe){he.exports=E("events").EventEmitter},{events:344}],394:[function(E,he,fe){fe=he.exports=E("./lib/_stream_readable.js"),fe.Stream=fe,fe.Readable=fe,fe.Writable=E("./lib/_stream_writable.js"),fe.Duplex=E("./lib/_stream_duplex.js"),fe.Transform=E("./lib/_stream_transform.js"),fe.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,he,fe){var se=function(re){"use strict";var ie=Object.prototype,le=ie.hasOwnProperty,ce,ae=typeof Symbol=="function"?Symbol:{},oe=ae.iterator||"@@iterator",ne=ae.asyncIterator||"@@asyncIterator",z=ae.toStringTag||"@@toStringTag";function a(Je,Qe,Xe){return Object.defineProperty(Je,Qe,{value:Xe,enumerable:!0,configurable:!0,writable:!0}),Je[Qe]}try{a({},"")}catch(Je){a=function(Qe,Xe,ze){return Qe[Xe]=ze}}function y(Je,Qe,Xe,ze){var ke=Qe&&Qe.prototype instanceof ge?Qe:ge,Be=Object.create(ke.prototype),qe=new Ue(ze||[]);return Be._invoke=_e(Je,Xe,qe),Be}re.wrap=y;function x(Je,Qe,Xe){try{return{type:"normal",arg:Je.call(Qe,Xe)}}catch(ze){return{type:"throw",arg:ze}}}var b="suspendedStart",ee="suspendedYield",te="executing",ue="completed",de={};function ge(){}function ve(){}function me(){}var Se={};a(Se,oe,function(){return this});var ye=Object.getPrototypeOf,Pe=ye&&ye(ye(je([])));Pe&&Pe!==ie&&le.call(Pe,oe)&&(Se=Pe);var we=me.prototype=ge.prototype=Object.create(Se);ve.prototype=me,a(we,"constructor",me),a(me,"constructor",ve),ve.displayName=a(me,z,"GeneratorFunction");function Te(Je){["next","throw","return"].forEach(function(Qe){a(Je,Qe,function(Xe){return this._invoke(Qe,Xe)})})}re.isGeneratorFunction=function(Je){var Qe=typeof Je=="function"&&Je.constructor;return Qe?Qe===ve||(Qe.displayName||Qe.name)==="GeneratorFunction":!1},re.mark=function(Je){return Object.setPrototypeOf?Object.setPrototypeOf(Je,me):(Je.__proto__=me,a(Je,z,"GeneratorFunction")),Je.prototype=Object.create(we),Je},re.awrap=function(Je){return{__await:Je}};function Ee(Je,Qe){function Xe(Be,qe,Ye,gt){var $e=x(Je[Be],Je,qe);if($e.type==="throw")gt($e.arg);else{var We=$e.arg,Re=We.value;return Re&&typeof Re=="object"&&le.call(Re,"__await")?Qe.resolve(Re.__await).then(function(tt){Xe("next",tt,Ye,gt)},function(tt){Xe("throw",tt,Ye,gt)}):Qe.resolve(Re).then(function(tt){We.value=tt,Ye(We)},function(tt){return Xe("throw",tt,Ye,gt)})}}var ze;function ke(Be,qe){function Ye(){return new Qe(function(gt,$e){Xe(Be,qe,gt,$e)})}return ze=ze?ze.then(Ye,Ye):Ye()}this._invoke=ke}Te(Ee.prototype),a(Ee.prototype,ne,function(){return this}),re.AsyncIterator=Ee,re.async=function(Je,Qe,Xe,ze,ke){ke===void 0&&(ke=Promise);var Be=new Ee(y(Je,Qe,Xe,ze),ke);return re.isGeneratorFunction(Qe)?Be:Be.next().then(function(qe){return qe.done?qe.value:Be.next()})};function _e(Je,Qe,Xe){var ze=b;return function(Be,qe){if(ze===te)throw new Error("Generator is already running");if(ze===ue){if(Be==="throw")throw qe;return nt()}for(Xe.method=Be,Xe.arg=qe;;){var Ye=Xe.delegate;if(Ye){var gt=Ce(Ye,Xe);if(gt){if(gt===de)continue;return gt}}if(Xe.method==="next")Xe.sent=Xe._sent=Xe.arg;else if(Xe.method==="throw"){if(ze===b)throw ze=ue,Xe.arg;Xe.dispatchException(Xe.arg)}else Xe.method==="return"&&Xe.abrupt("return",Xe.arg);ze=te;var $e=x(Je,Qe,Xe);if($e.type==="normal"){if(ze=Xe.done?ue:ee,$e.arg===de)continue;return{value:$e.arg,done:Xe.done}}else $e.type==="throw"&&(ze=ue,Xe.method="throw",Xe.arg=$e.arg)}}}function Ce(Je,Qe){var Xe=Je.iterator[Qe.method];if(Xe===ce){if(Qe.delegate=null,Qe.method==="throw"){if(Je.iterator.return&&(Qe.method="return",Qe.arg=ce,Ce(Je,Qe),Qe.method==="throw"))return de;Qe.method="throw",Qe.arg=new TypeError("The iterator does not provide a 'throw' method")}return de}var ze=x(Xe,Je.iterator,Qe.arg);if(ze.type==="throw")return Qe.method="throw",Qe.arg=ze.arg,Qe.delegate=null,de;var ke=ze.arg;if(!ke)return Qe.method="throw",Qe.arg=new TypeError("iterator result is not an object"),Qe.delegate=null,de;if(ke.done)Qe[Je.resultName]=ke.value,Qe.next=Je.nextLoc,Qe.method!=="return"&&(Qe.method="next",Qe.arg=ce);else return ke;return Qe.delegate=null,de}Te(we),a(we,z,"Generator"),a(we,oe,function(){return this}),a(we,"toString",function(){return"[object Generator]"});function Oe(Je){var Qe={tryLoc:Je[0]};1 in Je&&(Qe.catchLoc=Je[1]),2 in Je&&(Qe.finallyLoc=Je[2],Qe.afterLoc=Je[3]),this.tryEntries.push(Qe)}function Ie(Je){var Qe=Je.completion||{};Qe.type="normal",delete Qe.arg,Je.completion=Qe}function Ue(Je){this.tryEntries=[{tryLoc:"root"}],Je.forEach(Oe,this),this.reset(!0)}re.keys=function(Je){var Qe=[];for(var Xe in Je)Qe.push(Xe);return Qe.reverse(),function ze(){for(;Qe.length;){var ke=Qe.pop();if(ke in Je)return ze.value=ke,ze.done=!1,ze}return ze.done=!0,ze}};function je(Je){if(Je){var Qe=Je[oe];if(Qe)return Qe.call(Je);if(typeof Je.next=="function")return Je;if(!isNaN(Je.length)){var Xe=-1,ze=function ke(){for(;++Xe=0;--ze){var ke=this.tryEntries[ze],Be=ke.completion;if(ke.tryLoc==="root")return Xe("end");if(ke.tryLoc<=this.prev){var qe=le.call(ke,"catchLoc"),Ye=le.call(ke,"finallyLoc");if(qe&&Ye){if(this.prev=0;--Xe){var ze=this.tryEntries[Xe];if(ze.tryLoc<=this.prev&&le.call(ze,"finallyLoc")&&this.prev=0;--Qe){var Xe=this.tryEntries[Qe];if(Xe.finallyLoc===Je)return this.complete(Xe.completion,Xe.afterLoc),Ie(Xe),de}},catch:function(Je){for(var Qe=this.tryEntries.length-1;Qe>=0;--Qe){var Xe=this.tryEntries[Qe];if(Xe.tryLoc===Je){var ze=Xe.completion;if(ze.type==="throw"){var ke=ze.arg;Ie(Xe)}return ke}}throw new Error("illegal catch attempt")},delegateYield:function(Je,Qe,Xe){return this.delegate={iterator:je(Je),resultName:Qe,nextLoc:Xe},this.method==="next"&&(this.arg=ce),de}},re}(typeof he=="object"?he.exports:{});try{regeneratorRuntime=se}catch(re){typeof globalThis=="object"?globalThis.regeneratorRuntime=se:Function("r","regeneratorRuntime = r")(se)}},{}],396:[function(E,he,fe){var se=E("buffer"),re=se.Buffer;function ie(ce,ae){for(var oe in ce)ae[oe]=ce[oe]}re.from&&re.alloc&&re.allocUnsafe&&re.allocUnsafeSlow?he.exports=se:(ie(se,fe),fe.Buffer=le);function le(ce,ae,oe){return re(ce,ae,oe)}ie(re,le),le.from=function(ce,ae,oe){if(typeof ce=="number")throw new TypeError("Argument must not be a number");return re(ce,ae,oe)},le.alloc=function(ce,ae,oe){if(typeof ce!="number")throw new TypeError("Argument must be a number");var ne=re(ce);return ae!==void 0?typeof oe=="string"?ne.fill(ae,oe):ne.fill(ae):ne.fill(0),ne},le.allocUnsafe=function(ce){if(typeof ce!="number")throw new TypeError("Argument must be a number");return re(ce)},le.allocUnsafeSlow=function(ce){if(typeof ce!="number")throw new TypeError("Argument must be a number");return se.SlowBuffer(ce)}},{buffer:90}],397:[function(E,he,fe){(function(se){(function(){(function(re){re.parser=function(We,Re){return new le(We,Re)},re.SAXParser=le,re.SAXStream=y,re.createStream=a,re.MAX_BUFFER_LENGTH=64*1024;var ie=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];re.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function le(We,Re){if(!(this instanceof le))return new le(We,Re);var tt=this;ae(tt),tt.q=tt.c="",tt.bufferCheckPosition=re.MAX_BUFFER_LENGTH,tt.opt=Re||{},tt.opt.lowercase=tt.opt.lowercase||tt.opt.lowercasetags,tt.looseCase=tt.opt.lowercase?"toLowerCase":"toUpperCase",tt.tags=[],tt.closed=tt.closedRoot=tt.sawRoot=!1,tt.tag=tt.error=null,tt.strict=!!We,tt.noscript=!!(We||tt.opt.noscript),tt.state=Ee.BEGIN,tt.strictEntities=tt.opt.strictEntities,tt.ENTITIES=tt.strictEntities?Object.create(re.XML_ENTITIES):Object.create(re.ENTITIES),tt.attribList=[],tt.opt.xmlns&&(tt.ns=Object.create(ue)),tt.trackPosition=tt.opt.position!==!1,tt.trackPosition&&(tt.position=tt.line=tt.column=0),Ce(tt,"onready")}Object.create||(Object.create=function(We){function Re(){}Re.prototype=We;var tt=new Re;return tt}),Object.keys||(Object.keys=function(We){var Re=[];for(var tt in We)We.hasOwnProperty(tt)&&Re.push(tt);return Re});function ce(We){for(var Re=Math.max(re.MAX_BUFFER_LENGTH,10),tt=0,Me=0,He=ie.length;MeRe)switch(ie[Me]){case"textNode":Ie(We);break;case"cdata":Oe(We,"oncdata",We.cdata),We.cdata="";break;case"script":Oe(We,"onscript",We.script),We.script="";break;default:je(We,"Max buffer length exceeded: "+ie[Me])}tt=Math.max(tt,Ve)}var Ze=re.MAX_BUFFER_LENGTH-tt;We.bufferCheckPosition=Ze+We.position}function ae(We){for(var Re=0,tt=ie.length;Re"||Se(We)}function we(We,Re){return We.test(Re)}function Te(We,Re){return!we(We,Re)}var Ee=0;re.STATE={BEGIN:Ee++,BEGIN_WHITESPACE:Ee++,TEXT:Ee++,TEXT_ENTITY:Ee++,OPEN_WAKA:Ee++,SGML_DECL:Ee++,SGML_DECL_QUOTED:Ee++,DOCTYPE:Ee++,DOCTYPE_QUOTED:Ee++,DOCTYPE_DTD:Ee++,DOCTYPE_DTD_QUOTED:Ee++,COMMENT_STARTING:Ee++,COMMENT:Ee++,COMMENT_ENDING:Ee++,COMMENT_ENDED:Ee++,CDATA:Ee++,CDATA_ENDING:Ee++,CDATA_ENDING_2:Ee++,PROC_INST:Ee++,PROC_INST_BODY:Ee++,PROC_INST_ENDING:Ee++,OPEN_TAG:Ee++,OPEN_TAG_SLASH:Ee++,ATTRIB:Ee++,ATTRIB_NAME:Ee++,ATTRIB_NAME_SAW_WHITE:Ee++,ATTRIB_VALUE:Ee++,ATTRIB_VALUE_QUOTED:Ee++,ATTRIB_VALUE_CLOSED:Ee++,ATTRIB_VALUE_UNQUOTED:Ee++,ATTRIB_VALUE_ENTITY_Q:Ee++,ATTRIB_VALUE_ENTITY_U:Ee++,CLOSE_TAG:Ee++,CLOSE_TAG_SAW_WHITE:Ee++,SCRIPT:Ee++,SCRIPT_ENDING:Ee++},re.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},re.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(re.ENTITIES).forEach(function(We){var Re=re.ENTITIES[We],tt=typeof Re=="number"?String.fromCharCode(Re):Re;re.ENTITIES[We]=tt});for(var _e in re.STATE)re.STATE[re.STATE[_e]]=_e;Ee=re.STATE;function Ce(We,Re,tt){We[Re]&&We[Re](tt)}function Oe(We,Re,tt){We.textNode&&Ie(We),Ce(We,Re,tt)}function Ie(We){We.textNode=Ue(We.opt,We.textNode),We.textNode&&Ce(We,"ontext",We.textNode),We.textNode=""}function Ue(We,Re){return We.trim&&(Re=Re.trim()),We.normalize&&(Re=Re.replace(/\s+/g," ")),Re}function je(We,Re){return Ie(We),We.trackPosition&&(Re+=` Line: `+We.line+` Column: `+We.column+` Char: `+We.c),Re=new Error(Re),We.error=Re,Ce(We,"onerror",Re),We}function nt(We){return We.sawRoot&&!We.closedRoot&&Je(We,"Unclosed root tag"),We.state!==Ee.BEGIN&&We.state!==Ee.BEGIN_WHITESPACE&&We.state!==Ee.TEXT&&je(We,"Unexpected end"),Ie(We),We.c="",We.closed=!0,Ce(We,"onend"),le.call(We,We.strict,We.opt),We}function Je(We,Re){if(typeof We!="object"||!(We instanceof le))throw new Error("bad call to strictFail");We.strict&&je(We,Re)}function Qe(We){We.strict||(We.tagName=We.tagName[We.looseCase]());var Re=We.tags[We.tags.length-1]||We,tt=We.tag={name:We.tagName,attributes:{}};We.opt.xmlns&&(tt.ns=Re.ns),We.attribList.length=0,Oe(We,"onopentagstart",tt)}function Xe(We,Re){var tt=We.indexOf(":"),Me=tt<0?["",We]:We.split(":"),He=Me[0],Ve=Me[1];return Re&&We==="xmlns"&&(He="xmlns",Ve=""),{prefix:He,local:Ve}}function ze(We){if(We.strict||(We.attribName=We.attribName[We.looseCase]()),We.attribList.indexOf(We.attribName)!==-1||We.tag.attributes.hasOwnProperty(We.attribName)){We.attribName=We.attribValue="";return}if(We.opt.xmlns){var Re=Xe(We.attribName,!0),tt=Re.prefix,Me=Re.local;if(tt==="xmlns")if(Me==="xml"&&We.attribValue!==ee)Je(We,"xml: prefix must be bound to "+ee+` Actual: `+We.attribValue);else if(Me==="xmlns"&&We.attribValue!==te)Je(We,"xmlns: prefix must be bound to "+te+` Actual: `+We.attribValue);else{var He=We.tag,Ve=We.tags[We.tags.length-1]||We;He.ns===Ve.ns&&(He.ns=Object.create(Ve.ns)),He.ns[Me]=We.attribValue}We.attribList.push([We.attribName,We.attribValue])}else We.tag.attributes[We.attribName]=We.attribValue,Oe(We,"onattribute",{name:We.attribName,value:We.attribValue});We.attribName=We.attribValue=""}function ke(We,Re){if(We.opt.xmlns){var tt=We.tag,Me=Xe(We.tagName);tt.prefix=Me.prefix,tt.local=Me.local,tt.uri=tt.ns[Me.prefix]||"",tt.prefix&&!tt.uri&&(Je(We,"Unbound namespace prefix: "+JSON.stringify(We.tagName)),tt.uri=Me.prefix);var He=We.tags[We.tags.length-1]||We;tt.ns&&He.ns!==tt.ns&&Object.keys(tt.ns).forEach(function(rt){Oe(We,"onopennamespace",{prefix:rt,uri:tt.ns[rt]})});for(var Ve=0,Ze=We.attribList.length;Ve",We.tagName="",We.state=Ee.SCRIPT;return}Oe(We,"onscript",We.script),We.script=""}var Re=We.tags.length,tt=We.tagName;We.strict||(tt=tt[We.looseCase]());for(var Me=tt;Re--;){var He=We.tags[Re];if(He.name!==Me)Je(We,"Unexpected close tag");else break}if(Re<0){Je(We,"Unmatched closing tag: "+We.tagName),We.textNode+="",We.state=Ee.TEXT;return}We.tagName=tt;for(var Ve=We.tags.length;Ve-- >Re;){var Ze=We.tag=We.tags.pop();We.tagName=We.tag.name,Oe(We,"onclosetag",We.tagName);var Ke={};for(var Ae in Ze.ns)Ke[Ae]=Ze.ns[Ae];var Le=We.tags[We.tags.length-1]||We;We.opt.xmlns&&Ze.ns!==Le.ns&&Object.keys(Ze.ns).forEach(function(Ne){var Ge=Ze.ns[Ne];Oe(We,"onclosenamespace",{prefix:Ne,uri:Ge})})}Re===0&&(We.closedRoot=!0),We.tagName=We.attribValue=We.attribName="",We.attribList.length=0,We.state=Ee.TEXT}function qe(We){var Re=We.entity,tt=Re.toLowerCase(),Me,He="";return We.ENTITIES[Re]?We.ENTITIES[Re]:We.ENTITIES[tt]?We.ENTITIES[tt]:(Re=tt,Re.charAt(0)==="#"&&(Re.charAt(1)==="x"?(Re=Re.slice(2),Me=parseInt(Re,16),He=Me.toString(16)):(Re=Re.slice(1),Me=parseInt(Re,10),He=Me.toString(10))),Re=Re.replace(/^0+/,""),isNaN(Me)||He.toLowerCase()!==Re?(Je(We,"Invalid character entity"),"&"+We.entity+";"):String.fromCodePoint(Me))}function Ye(We,Re){Re==="<"?(We.state=Ee.OPEN_WAKA,We.startTagPosition=We.position):Se(Re)||(Je(We,"Non-whitespace before first tag."),We.textNode=Re,We.state=Ee.TEXT)}function gt(We,Re){var tt="";return Re"?(Oe(Re,"onsgmldeclaration",Re.sgmlDecl),Re.sgmlDecl="",Re.state=Ee.TEXT):(ye(Me)&&(Re.state=Ee.SGML_DECL_QUOTED),Re.sgmlDecl+=Me);continue;case Ee.SGML_DECL_QUOTED:Me===Re.q&&(Re.state=Ee.SGML_DECL,Re.q=""),Re.sgmlDecl+=Me;continue;case Ee.DOCTYPE:Me===">"?(Re.state=Ee.TEXT,Oe(Re,"ondoctype",Re.doctype),Re.doctype=!0):(Re.doctype+=Me,Me==="["?Re.state=Ee.DOCTYPE_DTD:ye(Me)&&(Re.state=Ee.DOCTYPE_QUOTED,Re.q=Me));continue;case Ee.DOCTYPE_QUOTED:Re.doctype+=Me,Me===Re.q&&(Re.q="",Re.state=Ee.DOCTYPE);continue;case Ee.DOCTYPE_DTD:Re.doctype+=Me,Me==="]"?Re.state=Ee.DOCTYPE:ye(Me)&&(Re.state=Ee.DOCTYPE_DTD_QUOTED,Re.q=Me);continue;case Ee.DOCTYPE_DTD_QUOTED:Re.doctype+=Me,Me===Re.q&&(Re.state=Ee.DOCTYPE_DTD,Re.q="");continue;case Ee.COMMENT:Me==="-"?Re.state=Ee.COMMENT_ENDING:Re.comment+=Me;continue;case Ee.COMMENT_ENDING:Me==="-"?(Re.state=Ee.COMMENT_ENDED,Re.comment=Ue(Re.opt,Re.comment),Re.comment&&Oe(Re,"oncomment",Re.comment),Re.comment=""):(Re.comment+="-"+Me,Re.state=Ee.COMMENT);continue;case Ee.COMMENT_ENDED:Me!==">"?(Je(Re,"Malformed comment"),Re.comment+="--"+Me,Re.state=Ee.COMMENT):Re.state=Ee.TEXT;continue;case Ee.CDATA:Me==="]"?Re.state=Ee.CDATA_ENDING:Re.cdata+=Me;continue;case Ee.CDATA_ENDING:Me==="]"?Re.state=Ee.CDATA_ENDING_2:(Re.cdata+="]"+Me,Re.state=Ee.CDATA);continue;case Ee.CDATA_ENDING_2:Me===">"?(Re.cdata&&Oe(Re,"oncdata",Re.cdata),Oe(Re,"onclosecdata"),Re.cdata="",Re.state=Ee.TEXT):Me==="]"?Re.cdata+="]":(Re.cdata+="]]"+Me,Re.state=Ee.CDATA);continue;case Ee.PROC_INST:Me==="?"?Re.state=Ee.PROC_INST_ENDING:Se(Me)?Re.state=Ee.PROC_INST_BODY:Re.procInstName+=Me;continue;case Ee.PROC_INST_BODY:if(!Re.procInstBody&&Se(Me))continue;Me==="?"?Re.state=Ee.PROC_INST_ENDING:Re.procInstBody+=Me;continue;case Ee.PROC_INST_ENDING:Me===">"?(Oe(Re,"onprocessinginstruction",{name:Re.procInstName,body:Re.procInstBody}),Re.procInstName=Re.procInstBody="",Re.state=Ee.TEXT):(Re.procInstBody+="?"+Me,Re.state=Ee.PROC_INST_BODY);continue;case Ee.OPEN_TAG:we(ge,Me)?Re.tagName+=Me:(Qe(Re),Me===">"?ke(Re):Me==="/"?Re.state=Ee.OPEN_TAG_SLASH:(Se(Me)||Je(Re,"Invalid character in tag name"),Re.state=Ee.ATTRIB));continue;case Ee.OPEN_TAG_SLASH:Me===">"?(ke(Re,!0),Be(Re)):(Je(Re,"Forward-slash in opening tag not followed by >"),Re.state=Ee.ATTRIB);continue;case Ee.ATTRIB:if(Se(Me))continue;Me===">"?ke(Re):Me==="/"?Re.state=Ee.OPEN_TAG_SLASH:we(de,Me)?(Re.attribName=Me,Re.attribValue="",Re.state=Ee.ATTRIB_NAME):Je(Re,"Invalid attribute name");continue;case Ee.ATTRIB_NAME:Me==="="?Re.state=Ee.ATTRIB_VALUE:Me===">"?(Je(Re,"Attribute without value"),Re.attribValue=Re.attribName,ze(Re),ke(Re)):Se(Me)?Re.state=Ee.ATTRIB_NAME_SAW_WHITE:we(ge,Me)?Re.attribName+=Me:Je(Re,"Invalid attribute name");continue;case Ee.ATTRIB_NAME_SAW_WHITE:if(Me==="=")Re.state=Ee.ATTRIB_VALUE;else{if(Se(Me))continue;Je(Re,"Attribute without value"),Re.tag.attributes[Re.attribName]="",Re.attribValue="",Oe(Re,"onattribute",{name:Re.attribName,value:""}),Re.attribName="",Me===">"?ke(Re):we(de,Me)?(Re.attribName=Me,Re.state=Ee.ATTRIB_NAME):(Je(Re,"Invalid attribute name"),Re.state=Ee.ATTRIB)}continue;case Ee.ATTRIB_VALUE:if(Se(Me))continue;ye(Me)?(Re.q=Me,Re.state=Ee.ATTRIB_VALUE_QUOTED):(Je(Re,"Unquoted attribute value"),Re.state=Ee.ATTRIB_VALUE_UNQUOTED,Re.attribValue=Me);continue;case Ee.ATTRIB_VALUE_QUOTED:if(Me!==Re.q){Me==="&"?Re.state=Ee.ATTRIB_VALUE_ENTITY_Q:Re.attribValue+=Me;continue}ze(Re),Re.q="",Re.state=Ee.ATTRIB_VALUE_CLOSED;continue;case Ee.ATTRIB_VALUE_CLOSED:Se(Me)?Re.state=Ee.ATTRIB:Me===">"?ke(Re):Me==="/"?Re.state=Ee.OPEN_TAG_SLASH:we(de,Me)?(Je(Re,"No whitespace between attributes"),Re.attribName=Me,Re.attribValue="",Re.state=Ee.ATTRIB_NAME):Je(Re,"Invalid attribute name");continue;case Ee.ATTRIB_VALUE_UNQUOTED:if(!Pe(Me)){Me==="&"?Re.state=Ee.ATTRIB_VALUE_ENTITY_U:Re.attribValue+=Me;continue}ze(Re),Me===">"?ke(Re):Re.state=Ee.ATTRIB;continue;case Ee.CLOSE_TAG:if(Re.tagName)Me===">"?Be(Re):we(ge,Me)?Re.tagName+=Me:Re.script?(Re.script+=""?Be(Re):Je(Re,"Invalid characters in closing tag");continue;case Ee.TEXT_ENTITY:case Ee.ATTRIB_VALUE_ENTITY_Q:case Ee.ATTRIB_VALUE_ENTITY_U:var Ze,Ke;switch(Re.state){case Ee.TEXT_ENTITY:Ze=Ee.TEXT,Ke="textNode";break;case Ee.ATTRIB_VALUE_ENTITY_Q:Ze=Ee.ATTRIB_VALUE_QUOTED,Ke="attribValue";break;case Ee.ATTRIB_VALUE_ENTITY_U:Ze=Ee.ATTRIB_VALUE_UNQUOTED,Ke="attribValue";break}Me===";"?(Re[Ke]+=qe(Re),Re.entity="",Re.state=Ze):we(Re.entity.length?me:ve,Me)?Re.entity+=Me:(Je(Re,"Invalid character in entity name"),Re[Ke]+="&"+Re.entity+Me,Re.entity="",Re.state=Ze);continue;default:throw new Error(Re,"Unknown state: "+Re.state)}return Re.position>=Re.bufferCheckPosition&&ce(Re),Re}String.fromCodePoint||function(){var We=String.fromCharCode,Re=Math.floor,tt=function(){var Me=16384,He=[],Ve,Ze,Ke=-1,Ae=arguments.length;if(!Ae)return"";for(var Le="";++Ke1114111||Re(Ne)!==Ne)throw RangeError("Invalid code point: "+Ne);Ne<=65535?He.push(Ne):(Ne-=65536,Ve=(Ne>>10)+55296,Ze=Ne%1024+56320,He.push(Ve,Ze)),(Ke+1===Ae||He.length>Me)&&(Le+=We.apply(null,He),He.length=0)}return Le};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:tt,configurable:!0,writable:!0}):String.fromCodePoint=tt}()})(typeof fe=="undefined"?this.sax={}:fe)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,he,fe){he.exports=ie;var se=E("events").EventEmitter,re=E("inherits");re(ie,se),ie.Readable=E("readable-stream/lib/_stream_readable.js"),ie.Writable=E("readable-stream/lib/_stream_writable.js"),ie.Duplex=E("readable-stream/lib/_stream_duplex.js"),ie.Transform=E("readable-stream/lib/_stream_transform.js"),ie.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),ie.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),ie.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),ie.Stream=ie;function ie(){se.call(this)}ie.prototype.pipe=function(le,ce){var ae=this;function oe(ee){le.writable&&le.write(ee)===!1&&ae.pause&&ae.pause()}ae.on("data",oe);function ne(){ae.readable&&ae.resume&&ae.resume()}le.on("drain",ne),!le._isStdio&&(!ce||ce.end!==!1)&&(ae.on("end",a),ae.on("close",y));var z=!1;function a(){z||(z=!0,le.end())}function y(){z||(z=!0,typeof le.destroy=="function"&&le.destroy())}function x(ee){if(b(),se.listenerCount(this,"error")===0)throw ee}ae.on("error",x),le.on("error",x);function b(){ae.removeListener("data",oe),le.removeListener("drain",ne),ae.removeListener("end",a),ae.removeListener("close",y),ae.removeListener("error",x),le.removeListener("error",x),ae.removeListener("end",b),ae.removeListener("close",b),le.removeListener("close",b)}return ae.on("end",b),ae.on("close",b),le.on("close",b),le.emit("pipe",ae),le}},{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,he,fe){"use strict";function se(ne,z){ne.prototype=Object.create(z.prototype),ne.prototype.constructor=ne,ne.__proto__=z}var re={};function ie(ne,z,a){a||(a=Error);function y(b,ee,te){return typeof z=="string"?z:z(b,ee,te)}var x=function(b){se(ee,b);function ee(te,ue,de){return b.call(this,y(te,ue,de))||this}return ee}(a);x.prototype.name=a.name,x.prototype.code=ne,re[ne]=x}function le(ne,z){if(Array.isArray(ne)){var a=ne.length;return ne=ne.map(function(y){return String(y)}),a>2?"one of ".concat(z," ").concat(ne.slice(0,a-1).join(", "),", or ")+ne[a-1]:a===2?"one of ".concat(z," ").concat(ne[0]," or ").concat(ne[1]):"of ".concat(z," ").concat(ne[0])}else return"of ".concat(z," ").concat(String(ne))}function ce(ne,z,a){return ne.substr(!a||a<0?0:+a,z.length)===z}function ae(ne,z,a){return(a===void 0||a>ne.length)&&(a=ne.length),ne.substring(a-z.length,a)===z}function oe(ne,z,a){return typeof a!="number"&&(a=0),a+z.length>ne.length?!1:ne.indexOf(z,a)!==-1}ie("ERR_INVALID_OPT_VALUE",function(ne,z){return'The value "'+z+'" is invalid for option "'+ne+'"'},TypeError),ie("ERR_INVALID_ARG_TYPE",function(ne,z,a){var y;typeof z=="string"&&ce(z,"not ")?(y="must not be",z=z.replace(/^not /,"")):y="must be";var x;if(ae(ne," argument"))x="The ".concat(ne," ").concat(y," ").concat(le(z,"type"));else{var b=oe(ne,".")?"property":"argument";x='The "'.concat(ne,'" ').concat(b," ").concat(y," ").concat(le(z,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),ie("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),ie("ERR_METHOD_NOT_IMPLEMENTED",function(ne){return"The "+ne+" method is not implemented"}),ie("ERR_STREAM_PREMATURE_CLOSE","Premature close"),ie("ERR_STREAM_DESTROYED",function(ne){return"Cannot call "+ne+" after a stream was destroyed"}),ie("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),ie("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),ie("ERR_STREAM_WRITE_AFTER_END","write after end"),ie("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),ie("ERR_UNKNOWN_ENCODING",function(ne){return"Unknown encoding: "+ne},TypeError),ie("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),he.exports.codes=re},{}],400:[function(E,he,fe){(function(se){(function(){"use strict";var re=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};he.exports=ne;var ie=E("./_stream_readable"),le=E("./_stream_writable");E("inherits")(ne,ie);for(var ce=re(le.prototype),ae=0;ae0)if(typeof Ae!="string"&&!ot.objectMode&&Object.getPrototypeOf(Ae)!==oe.prototype&&(Ae=z(Ae)),Ne)ot.endEmitted?Te(Ke,new Se):Ue(Ke,ot,Ae,!0);else if(ot.ended)Te(Ke,new ve);else{if(ot.destroyed)return!1;ot.reading=!1,ot.decoder&&!Le?(Ae=ot.decoder.write(Ae),ot.objectMode||Ae.length!==0?Ue(Ke,ot,Ae,!1):Be(Ke,ot)):Ue(Ke,ot,Ae,!1)}else Ne||(ot.reading=!1,Be(Ke,ot))}return!ot.ended&&(ot.length=nt?Ke=nt:(Ke--,Ke|=Ke>>>1,Ke|=Ke>>>2,Ke|=Ke>>>4,Ke|=Ke>>>8,Ke|=Ke>>>16,Ke++),Ke}function Qe(Ke,Ae){return Ke<=0||Ae.length===0&&Ae.ended?0:Ae.objectMode?1:Ke!==Ke?Ae.flowing&&Ae.length?Ae.buffer.head.data.length:Ae.length:(Ke>Ae.highWaterMark&&(Ae.highWaterMark=Je(Ke)),Ke<=Ae.length?Ke:Ae.ended?Ae.length:(Ae.needReadable=!0,0))}Oe.prototype.read=function(Ke){x("read",Ke),Ke=parseInt(Ke,10);var Ae=this._readableState,Le=Ke;if(Ke!==0&&(Ae.emittedReadable=!1),Ke===0&&Ae.needReadable&&((Ae.highWaterMark!==0?Ae.length>=Ae.highWaterMark:Ae.length>0)||Ae.ended))return x("read: emitReadable",Ae.length,Ae.ended),Ae.length===0&&Ae.ended?He(this):ze(this),null;if(Ke=Qe(Ke,Ae),Ke===0&&Ae.ended)return Ae.length===0&&He(this),null;var Ne=Ae.needReadable;x("need readable",Ne),(Ae.length===0||Ae.length-Ke0?Ge=Me(Ke,Ae):Ge=null,Ge===null?(Ae.needReadable=Ae.length<=Ae.highWaterMark,Ke=0):(Ae.length-=Ke,Ae.awaitDrain=0),Ae.length===0&&(Ae.ended||(Ae.needReadable=!0),Le!==Ke&&Ae.ended&&He(this)),Ge!==null&&this.emit("data",Ge),Ge};function Xe(Ke,Ae){if(x("onEofChunk"),!Ae.ended){if(Ae.decoder){var Le=Ae.decoder.end();Le&&Le.length&&(Ae.buffer.push(Le),Ae.length+=Ae.objectMode?1:Le.length)}Ae.ended=!0,Ae.sync?ze(Ke):(Ae.needReadable=!1,Ae.emittedReadable||(Ae.emittedReadable=!0,ke(Ke)))}}function ze(Ke){var Ae=Ke._readableState;x("emitReadable",Ae.needReadable,Ae.emittedReadable),Ae.needReadable=!1,Ae.emittedReadable||(x("emitReadable",Ae.flowing),Ae.emittedReadable=!0,se.nextTick(ke,Ke))}function ke(Ke){var Ae=Ke._readableState;x("emitReadable_",Ae.destroyed,Ae.length,Ae.ended),!Ae.destroyed&&(Ae.length||Ae.ended)&&(Ke.emit("readable"),Ae.emittedReadable=!1),Ae.needReadable=!Ae.flowing&&!Ae.ended&&Ae.length<=Ae.highWaterMark,tt(Ke)}function Be(Ke,Ae){Ae.readingMore||(Ae.readingMore=!0,se.nextTick(qe,Ke,Ae))}function qe(Ke,Ae){for(;!Ae.reading&&!Ae.ended&&(Ae.length1&&Ze(Ne.pipes,Ke)!==-1)&&!bt&&(x("false write response, pause",Ne.awaitDrain),Ne.awaitDrain++),Le.pause())}function st(Ct){x("onerror",Ct),pt(),Ke.removeListener("error",st),ce(Ke,"error")===0&&Te(Ke,Ct)}_e(Ke,"error",st);function Nt(){Ke.removeListener("finish",ct),pt()}Ke.once("close",Nt);function ct(){x("onfinish"),Ke.removeListener("close",Nt),pt()}Ke.once("finish",ct);function pt(){x("unpipe"),Le.unpipe(Ke)}return Ke.emit("pipe",Le),Ne.flowing||(x("pipe resume"),Le.resume()),Ke};function Ye(Ke){return function(){var Le=Ke._readableState;x("pipeOnDrain",Le.awaitDrain),Le.awaitDrain&&Le.awaitDrain--,Le.awaitDrain===0&&ce(Ke,"data")&&(Le.flowing=!0,tt(Ke))}}Oe.prototype.unpipe=function(Ke){var Ae=this._readableState,Le={hasUnpiped:!1};if(Ae.pipesCount===0)return this;if(Ae.pipesCount===1)return Ke&&Ke!==Ae.pipes?this:(Ke||(Ke=Ae.pipes),Ae.pipes=null,Ae.pipesCount=0,Ae.flowing=!1,Ke&&Ke.emit("unpipe",this,Le),this);if(!Ke){var Ne=Ae.pipes,Ge=Ae.pipesCount;Ae.pipes=null,Ae.pipesCount=0,Ae.flowing=!1;for(var ot=0;ot0,Ne.flowing!==!1&&this.resume()):Ke==="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?ze(this):Ne.reading||se.nextTick($e,this)),Le},Oe.prototype.addListener=Oe.prototype.on,Oe.prototype.removeListener=function(Ke,Ae){var Le=ae.prototype.removeListener.call(this,Ke,Ae);return Ke==="readable"&&se.nextTick(gt,this),Le},Oe.prototype.removeAllListeners=function(Ke){var Ae=ae.prototype.removeAllListeners.apply(this,arguments);return(Ke==="readable"||Ke===void 0)&&se.nextTick(gt,this),Ae};function gt(Ke){var Ae=Ke._readableState;Ae.readableListening=Ke.listenerCount("readable")>0,Ae.resumeScheduled&&!Ae.paused?Ae.flowing=!0:Ke.listenerCount("data")>0&&Ke.resume()}function $e(Ke){x("readable nexttick read 0"),Ke.read(0)}Oe.prototype.resume=function(){var Ke=this._readableState;return Ke.flowing||(x("resume"),Ke.flowing=!Ke.readableListening,We(this,Ke)),Ke.paused=!1,this};function We(Ke,Ae){Ae.resumeScheduled||(Ae.resumeScheduled=!0,se.nextTick(Re,Ke,Ae))}function Re(Ke,Ae){x("resume",Ae.reading),Ae.reading||Ke.read(0),Ae.resumeScheduled=!1,Ke.emit("resume"),tt(Ke),Ae.flowing&&!Ae.reading&&Ke.read(0)}Oe.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function tt(Ke){var Ae=Ke._readableState;for(x("flow",Ae.flowing);Ae.flowing&&Ke.read()!==null;);}Oe.prototype.wrap=function(Ke){var Ae=this,Le=this._readableState,Ne=!1;Ke.on("end",function(){if(x("wrapped end"),Le.decoder&&!Le.ended){var St=Le.decoder.end();St&&St.length&&Ae.push(St)}Ae.push(null)}),Ke.on("data",function(St){if(x("wrapped data"),Le.decoder&&(St=Le.decoder.write(St)),!(Le.objectMode&&St==null)&&!(!Le.objectMode&&(!St||!St.length))){var wt=Ae.push(St);wt||(Ne=!0,Ke.pause())}});for(var Ge in Ke)this[Ge]===void 0&&typeof Ke[Ge]=="function"&&(this[Ge]=function(wt){return function(){return Ke[wt].apply(Ke,arguments)}}(Ge));for(var ot=0;ot=Ae.length?(Ae.decoder?Le=Ae.buffer.join(""):Ae.buffer.length===1?Le=Ae.buffer.first():Le=Ae.buffer.concat(Ae.length),Ae.buffer.clear()):Le=Ae.buffer.consume(Ke,Ae.decoder),Le}function He(Ke){var Ae=Ke._readableState;x("endReadable",Ae.endEmitted),Ae.endEmitted||(Ae.ended=!0,se.nextTick(Ve,Ae,Ke))}function Ve(Ke,Ae){if(x("endReadableNT",Ke.endEmitted,Ke.length),!Ke.endEmitted&&Ke.length===0&&(Ke.endEmitted=!0,Ae.readable=!1,Ae.emit("end"),Ke.autoDestroy)){var Le=Ae._writableState;(!Le||Le.autoDestroy&&Le.finished)&&Ae.destroy()}}typeof Symbol=="function"&&(Oe.from=function(Ke,Ae){return we===void 0&&(we=E("./internal/streams/from")),we(Oe,Ke,Ae)});function Ze(Ke,Ae){for(var Le=0,Ne=Ke.length;Le-1))throw new Pe(Me);return this._writableState.defaultEncoding=Me,this},Object.defineProperty(Ce.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Ue(tt,Me,He){return!tt.objectMode&&tt.decodeStrings!==!1&&typeof Me=="string"&&(Me=ne.from(Me,He)),Me}Object.defineProperty(Ce.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function je(tt,Me,He,Ve,Ze,Ke){if(!He){var Ae=Ue(Me,Ve,Ze);Ve!==Ae&&(He=!0,Ze="buffer",Ve=Ae)}var Le=Me.objectMode?1:Ve.length;Me.length+=Le;var Ne=Me.length0?this.tail.next=ge:this.head=ge,this.tail=ge,++this.length}},{key:"unshift",value:function(de){var ge={data:de,next:this.head};this.length===0&&(this.tail=ge),this.head=ge,++this.length}},{key:"shift",value:function(){if(this.length!==0){var de=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,de}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(de){if(this.length===0)return"";for(var ge=this.head,ve=""+ge.data;ge=ge.next;)ve+=de+ge.data;return ve}},{key:"concat",value:function(de){if(this.length===0)return a.alloc(0);for(var ge=a.allocUnsafe(de>>>0),ve=this.head,me=0;ve;)ee(ve.data,ge,me),me+=ve.data.length,ve=ve.next;return ge}},{key:"consume",value:function(de,ge){var ve;return deSe.length?Se.length:de;if(ye===Se.length?me+=Se:me+=Se.slice(0,de),de-=ye,de===0){ye===Se.length?(++ve,ge.next?this.head=ge.next:this.head=this.tail=null):(this.head=ge,ge.data=Se.slice(ye));break}++ve}return this.length-=ve,me}},{key:"_getBuffer",value:function(de){var ge=a.allocUnsafe(de),ve=this.head,me=1;for(ve.data.copy(ge),de-=ve.data.length;ve=ve.next;){var Se=ve.data,ye=de>Se.length?Se.length:de;if(Se.copy(ge,ge.length-de,0,ye),de-=ye,de===0){ye===Se.length?(++me,ve.next?this.head=ve.next:this.head=this.tail=null):(this.head=ve,ve.data=Se.slice(ye));break}++me}return this.length-=me,ge}},{key:b,value:function(de,ge){return x(this,re(re({},ge),{},{depth:0,customInspect:!1}))}}]),te}()},{buffer:90,util:89}],407:[function(E,he,fe){(function(se){(function(){"use strict";function re(ne,z){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(z?z(ne):ne&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,se.nextTick(ae,this,ne)):se.nextTick(ae,this,ne)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ne||null,function(b){!z&&b?a._writableState?a._writableState.errorEmitted?se.nextTick(le,a):(a._writableState.errorEmitted=!0,se.nextTick(ie,a,b)):se.nextTick(ie,a,b):z?(se.nextTick(le,a),z(b)):se.nextTick(le,a)}),this)}function ie(ne,z){ae(ne,z),le(ne)}function le(ne){ne._writableState&&!ne._writableState.emitClose||ne._readableState&&!ne._readableState.emitClose||ne.emit("close")}function ce(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ae(ne,z){ne.emit("error",z)}function oe(ne,z){var a=ne._readableState,y=ne._writableState;a&&a.autoDestroy||y&&y.autoDestroy?ne.destroy(z):ne.emit("error",z)}he.exports={destroy:re,undestroy:ce,errorOrDestroy:oe}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,he,fe){"use strict";var se=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function re(ae){var oe=!1;return function(){if(!oe){oe=!0;for(var ne=arguments.length,z=new Array(ne),a=0;a0;return ne(ve,Se,ye,function(Pe){de||(de=Pe),Pe&&ge.forEach(z),!Se&&(ge.forEach(z),ue(de))})});return ee.reduce(a)}he.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,he,fe){"use strict";var se=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function re(le,ce,ae){return le.highWaterMark!=null?le.highWaterMark:ce?le[ae]:null}function ie(le,ce,ae,oe){var ne=re(ce,oe,ae);if(ne!=null){if(!(isFinite(ne)&&Math.floor(ne)===ne)||ne<0){var z=oe?ae:"highWaterMark";throw new se(z,ne)}return Math.floor(ne)}return le.objectMode?16:16*1024}he.exports={getHighWaterMark:ie}},{"../../../errors":399}],412:[function(E,he,fe){arguments[4][393][0].apply(fe,arguments)},{dup:393,events:344}],413:[function(E,he,fe){"use strict";var se=E("safe-buffer").Buffer,re=se.isEncoding||function(ge){switch(ge=""+ge,ge&&ge.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function ie(ge){if(!ge)return"utf8";for(var ve;;)switch(ge){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return ge;default:if(ve)return;ge=(""+ge).toLowerCase(),ve=!0}}function le(ge){var ve=ie(ge);if(typeof ve!="string"&&(se.isEncoding===re||!re(ge)))throw new Error("Unknown encoding: "+ge);return ve||ge}fe.StringDecoder=ce;function ce(ge){this.encoding=le(ge);var ve;switch(this.encoding){case"utf16le":this.text=x,this.end=b,ve=4;break;case"utf8":this.fillLast=z,ve=4;break;case"base64":this.text=ee,this.end=te,ve=3;break;default:this.write=ue,this.end=de;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=se.allocUnsafe(ve)}ce.prototype.write=function(ge){if(ge.length===0)return"";var ve,me;if(this.lastNeed){if(ve=this.fillLast(ge),ve===void 0)return"";me=this.lastNeed,this.lastNeed=0}else me=0;return me>5===6?2:ge>>4===14?3:ge>>3===30?4:ge>>6===2?-1:-2}function oe(ge,ve,me){var Se=ve.length-1;if(Se=0?(ye>0&&(ge.lastNeed=ye-1),ye):--Se=0?(ye>0&&(ge.lastNeed=ye-2),ye):--Se=0?(ye>0&&(ye===2?ye=0:ge.lastNeed=ye-3),ye):0))}function ne(ge,ve,me){if((ve[0]&192)!==128)return ge.lastNeed=0,"\uFFFD";if(ge.lastNeed>1&&ve.length>1){if((ve[1]&192)!==128)return ge.lastNeed=1,"\uFFFD";if(ge.lastNeed>2&&ve.length>2&&(ve[2]&192)!==128)return ge.lastNeed=2,"\uFFFD"}}function z(ge){var ve=this.lastTotal-this.lastNeed,me=ne(this,ge,ve);if(me!==void 0)return me;if(this.lastNeed<=ge.length)return ge.copy(this.lastChar,ve,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ge.copy(this.lastChar,ve,0,ge.length),this.lastNeed-=ge.length}function a(ge,ve){var me=oe(this,ge,ve);if(!this.lastNeed)return ge.toString("utf8",ve);this.lastTotal=me;var Se=ge.length-(me-this.lastNeed);return ge.copy(this.lastChar,0,Se),ge.toString("utf8",ve,Se)}function y(ge){var ve=ge&&ge.length?this.write(ge):"";return this.lastNeed?ve+"\uFFFD":ve}function x(ge,ve){if((ge.length-ve)%2===0){var me=ge.toString("utf16le",ve);if(me){var Se=me.charCodeAt(me.length-1);if(Se>=55296&&Se<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ge[ge.length-2],this.lastChar[1]=ge[ge.length-1],me.slice(0,-1)}return me}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ge[ge.length-1],ge.toString("utf16le",ve,ge.length-1)}function b(ge){var ve=ge&&ge.length?this.write(ge):"";if(this.lastNeed){var me=this.lastTotal-this.lastNeed;return ve+this.lastChar.toString("utf16le",0,me)}return ve}function ee(ge,ve){var me=(ge.length-ve)%3;return me===0?ge.toString("base64",ve):(this.lastNeed=3-me,this.lastTotal=3,me===1?this.lastChar[0]=ge[ge.length-1]:(this.lastChar[0]=ge[ge.length-2],this.lastChar[1]=ge[ge.length-1]),ge.toString("base64",ve,ge.length-me))}function te(ge){var ve=ge&&ge.length?this.write(ge):"";return this.lastNeed?ve+this.lastChar.toString("base64",0,3-this.lastNeed):ve}function ue(ge){return ge.toString(this.encoding)}function de(ge){return ge&&ge.length?this.write(ge):""}},{"safe-buffer":396}],414:[function(E,he,fe){(function(se,re){(function(){var ie=E("process/browser.js").nextTick,le=Function.prototype.apply,ce=Array.prototype.slice,ae={},oe=0;fe.setTimeout=function(){return new ne(le.call(setTimeout,window,arguments),clearTimeout)},fe.setInterval=function(){return new ne(le.call(setInterval,window,arguments),clearInterval)},fe.clearTimeout=fe.clearInterval=function(z){z.close()};function ne(z,a){this._id=z,this._clearFn=a}ne.prototype.unref=ne.prototype.ref=function(){},ne.prototype.close=function(){this._clearFn.call(window,this._id)},fe.enroll=function(z,a){clearTimeout(z._idleTimeoutId),z._idleTimeout=a},fe.unenroll=function(z){clearTimeout(z._idleTimeoutId),z._idleTimeout=-1},fe._unrefActive=fe.active=function(z){clearTimeout(z._idleTimeoutId);var a=z._idleTimeout;a>=0&&(z._idleTimeoutId=setTimeout(function(){z._onTimeout&&z._onTimeout()},a))},fe.setImmediate=typeof se=="function"?se:function(z){var a=oe++,y=arguments.length<2?!1:ce.call(arguments,1);return ae[a]=!0,ie(function(){ae[a]&&(y?z.apply(null,y):z.call(null),fe.clearImmediate(a))}),a},fe.clearImmediate=typeof re=="function"?re:function(z){delete ae[z]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,he,fe){var se=E("buffer").Buffer;he.exports=function(re){if(re instanceof Uint8Array){if(re.byteOffset===0&&re.byteLength===re.buffer.byteLength)return re.buffer;if(typeof re.buffer.slice=="function")return re.buffer.slice(re.byteOffset,re.byteOffset+re.byteLength)}if(se.isBuffer(re)){for(var ie=new Uint8Array(re.length),le=re.length,ce=0;ce=$e)return tt;switch(tt){case"%s":return String(gt[Ye++]);case"%d":return Number(gt[Ye++]);case"%j":try{return JSON.stringify(gt[Ye++])}catch(Me){return"[Circular]"}default:return tt}}),Re=gt[Ye];Ye<$e;Re=gt[++Ye])ve(Re)||!Ee(Re)?We+=" "+Re:We+=" "+oe(Re);return We},fe.deprecate=function(Be,qe){if(typeof se!="undefined"&&se.noDeprecation===!0)return Be;if(typeof se=="undefined")return function(){return fe.deprecate(Be,qe).apply(this,arguments)};var Ye=!1;function gt(){if(!Ye){if(se.throwDeprecation)throw new Error(qe);se.traceDeprecation?console.trace(qe):console.error(qe),Ye=!0}return Be.apply(this,arguments)}return gt};var le={},ce=/^$/;if(se.env.NODE_DEBUG){var ae=se.env.NODE_DEBUG;ae=ae.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),ce=new RegExp("^"+ae+"$","i")}fe.debuglog=function(Be){if(Be=Be.toUpperCase(),!le[Be])if(ce.test(Be)){var qe=se.pid;le[Be]=function(){var Ye=fe.format.apply(fe,arguments);console.error("%s %d: %s",Be,qe,Ye)}}else le[Be]=function(){};return le[Be]};function oe(Be,qe){var Ye={seen:[],stylize:z};return arguments.length>=3&&(Ye.depth=arguments[2]),arguments.length>=4&&(Ye.colors=arguments[3]),ge(qe)?Ye.showHidden=qe:qe&&fe._extend(Ye,qe),we(Ye.showHidden)&&(Ye.showHidden=!1),we(Ye.depth)&&(Ye.depth=2),we(Ye.colors)&&(Ye.colors=!1),we(Ye.customInspect)&&(Ye.customInspect=!0),Ye.colors&&(Ye.stylize=ne),y(Ye,Be,Ye.depth)}fe.inspect=oe,oe.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},oe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ne(Be,qe){var Ye=oe.styles[qe];return Ye?"\x1B["+oe.colors[Ye][0]+"m"+Be+"\x1B["+oe.colors[Ye][1]+"m":Be}function z(Be,qe){return Be}function a(Be){var qe={};return Be.forEach(function(Ye,gt){qe[Ye]=!0}),qe}function y(Be,qe,Ye){if(Be.customInspect&&qe&&Oe(qe.inspect)&&qe.inspect!==fe.inspect&&!(qe.constructor&&qe.constructor.prototype===qe)){var gt=qe.inspect(Ye,Be);return ye(gt)||(gt=y(Be,gt,Ye)),gt}var $e=x(Be,qe);if($e)return $e;var We=Object.keys(qe),Re=a(We);if(Be.showHidden&&(We=Object.getOwnPropertyNames(qe)),Ce(qe)&&(We.indexOf("message")>=0||We.indexOf("description")>=0))return b(qe);if(We.length===0){if(Oe(qe)){var tt=qe.name?": "+qe.name:"";return Be.stylize("[Function"+tt+"]","special")}if(Te(qe))return Be.stylize(RegExp.prototype.toString.call(qe),"regexp");if(_e(qe))return Be.stylize(Date.prototype.toString.call(qe),"date");if(Ce(qe))return b(qe)}var Me="",He=!1,Ve=["{","}"];if(de(qe)&&(He=!0,Ve=["[","]"]),Oe(qe)){var Ze=qe.name?": "+qe.name:"";Me=" [Function"+Ze+"]"}if(Te(qe)&&(Me=" "+RegExp.prototype.toString.call(qe)),_e(qe)&&(Me=" "+Date.prototype.toUTCString.call(qe)),Ce(qe)&&(Me=" "+b(qe)),We.length===0&&(!He||qe.length==0))return Ve[0]+Me+Ve[1];if(Ye<0)return Te(qe)?Be.stylize(RegExp.prototype.toString.call(qe),"regexp"):Be.stylize("[Object]","special");Be.seen.push(qe);var Ke;return He?Ke=ee(Be,qe,Ye,Re,We):Ke=We.map(function(Ae){return te(Be,qe,Ye,Re,Ae,He)}),Be.seen.pop(),ue(Ke,Me,Ve)}function x(Be,qe){if(we(qe))return Be.stylize("undefined","undefined");if(ye(qe)){var Ye="'"+JSON.stringify(qe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Be.stylize(Ye,"string")}if(Se(qe))return Be.stylize(""+qe,"number");if(ge(qe))return Be.stylize(""+qe,"boolean");if(ve(qe))return Be.stylize("null","null")}function b(Be){return"["+Error.prototype.toString.call(Be)+"]"}function ee(Be,qe,Ye,gt,$e){for(var We=[],Re=0,tt=qe.length;Re-1&&(We?tt=tt.split(` `).map(function(He){return" "+He}).join(` `).slice(2):tt=` `+tt.split(` `).map(function(He){return" "+He}).join(` `))):tt=Be.stylize("[Circular]","special")),we(Re)){if(We&&$e.match(/^\d+$/))return tt;Re=JSON.stringify(""+$e),Re.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Re=Re.slice(1,-1),Re=Be.stylize(Re,"name")):(Re=Re.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Re=Be.stylize(Re,"string"))}return Re+": "+tt}function ue(Be,qe,Ye){var gt=0,$e=Be.reduce(function(We,Re){return gt++,Re.indexOf(` `)>=0&>++,We+Re.replace(/\u001b\[\d\d?m/g,"").length+1},0);return $e>60?Ye[0]+(qe===""?"":qe+` `)+" "+Be.join(`, `)+" "+Ye[1]:Ye[0]+qe+" "+Be.join(", ")+" "+Ye[1]}fe.types=E("./support/types");function de(Be){return Array.isArray(Be)}fe.isArray=de;function ge(Be){return typeof Be=="boolean"}fe.isBoolean=ge;function ve(Be){return Be===null}fe.isNull=ve;function me(Be){return Be==null}fe.isNullOrUndefined=me;function Se(Be){return typeof Be=="number"}fe.isNumber=Se;function ye(Be){return typeof Be=="string"}fe.isString=ye;function Pe(Be){return typeof Be=="symbol"}fe.isSymbol=Pe;function we(Be){return Be===void 0}fe.isUndefined=we;function Te(Be){return Ee(Be)&&Ue(Be)==="[object RegExp]"}fe.isRegExp=Te,fe.types.isRegExp=Te;function Ee(Be){return typeof Be=="object"&&Be!==null}fe.isObject=Ee;function _e(Be){return Ee(Be)&&Ue(Be)==="[object Date]"}fe.isDate=_e,fe.types.isDate=_e;function Ce(Be){return Ee(Be)&&(Ue(Be)==="[object Error]"||Be instanceof Error)}fe.isError=Ce,fe.types.isNativeError=Ce;function Oe(Be){return typeof Be=="function"}fe.isFunction=Oe;function Ie(Be){return Be===null||typeof Be=="boolean"||typeof Be=="number"||typeof Be=="string"||typeof Be=="symbol"||typeof Be=="undefined"}fe.isPrimitive=Ie,fe.isBuffer=E("./support/isBuffer");function Ue(Be){return Object.prototype.toString.call(Be)}function je(Be){return Be<10?"0"+Be.toString(10):Be.toString(10)}var nt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Je(){var Be=new Date,qe=[je(Be.getHours()),je(Be.getMinutes()),je(Be.getSeconds())].join(":");return[Be.getDate(),nt[Be.getMonth()],qe].join(" ")}fe.log=function(){console.log("%s - %s",Je(),fe.format.apply(fe,arguments))},fe.inherits=E("inherits"),fe._extend=function(Be,qe){if(!qe||!Ee(qe))return Be;for(var Ye=Object.keys(qe),gt=Ye.length;gt--;)Be[Ye[gt]]=qe[Ye[gt]];return Be};function Qe(Be,qe){return Object.prototype.hasOwnProperty.call(Be,qe)}var Xe=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;fe.promisify=function(qe){if(typeof qe!="function")throw new TypeError('The "original" argument must be of type Function');if(Xe&&qe[Xe]){var Ye=qe[Xe];if(typeof Ye!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Ye,Xe,{value:Ye,enumerable:!1,writable:!1,configurable:!0}),Ye}function Ye(){for(var gt,$e,We=new Promise(function(Me,He){gt=Me,$e=He}),Re=[],tt=0;tt-1?ve:ve!=="Object"?!1:ue(ge)}return ae?te(ge):null}}).call(this)}).call(this,typeof ft!="undefined"?ft: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,he,fe){(function(){"use strict";fe.stripBOM=function(se){return se[0]==="\uFEFF"?se.substring(1):se}}).call(this)},{}],422:[function(E,he,fe){(function(){"use strict";var se,re,ie,le,ce,ae={}.hasOwnProperty;se=E("xmlbuilder"),re=E("./defaults").defaults,le=function(oe){return typeof oe=="string"&&(oe.indexOf("&")>=0||oe.indexOf(">")>=0||oe.indexOf("<")>=0)},ce=function(oe){return""},ie=function(oe){return oe.replace("]]>","]]]]>")},fe.Builder=function(){function oe(ne){var z,a,y;this.options={},a=re["0.2"];for(z in a)ae.call(a,z)&&(y=a[z],this.options[z]=y);for(z in ne)ae.call(ne,z)&&(y=ne[z],this.options[z]=y)}return oe.prototype.buildObject=function(ne){var z,a,y,x,b;return z=this.options.attrkey,a=this.options.charkey,Object.keys(ne).length===1&&this.options.rootName===re["0.2"].rootName?(b=Object.keys(ne)[0],ne=ne[b]):b=this.options.rootName,y=function(ee){return function(te,ue){var de,ge,ve,me,Se,ye;if(typeof ue!="object")ee.options.cdata&&le(ue)?te.raw(ce(ue)):te.txt(ue);else if(Array.isArray(ue)){for(me in ue)if(ae.call(ue,me)){ge=ue[me];for(Se in ge)ve=ge[Se],te=y(te.ele(Se),ve).up()}}else for(Se in ue)if(ae.call(ue,Se))if(ge=ue[Se],Se===z){if(typeof ge=="object")for(de in ge)ye=ge[de],te=te.att(de,ye)}else if(Se===a)ee.options.cdata&&le(ge)?te=te.raw(ce(ge)):te=te.txt(ge);else if(Array.isArray(ge))for(me in ge)ae.call(ge,me)&&(ve=ge[me],typeof ve=="string"?ee.options.cdata&&le(ve)?te=te.ele(Se).raw(ce(ve)).up():te=te.ele(Se,ve).up():te=y(te.ele(Se),ve).up());else typeof ge=="object"?te=y(te.ele(Se),ge).up():typeof ge=="string"&&ee.options.cdata&&le(ge)?te=te.ele(Se).raw(ce(ge)).up():(ge==null&&(ge=""),te=te.ele(Se,ge.toString()).up());return te}}(this),x=se.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,ne).end(this.options.renderOpts)},oe}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,he,fe){(function(){fe.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,he,fe){(function(){"use strict";var se,re,ie,le,ce,ae,oe,ne,z,a=function(b,ee){return function(){return b.apply(ee,arguments)}},y=function(b,ee){for(var te in ee)x.call(ee,te)&&(b[te]=ee[te]);function ue(){this.constructor=b}return ue.prototype=ee.prototype,b.prototype=new ue,b.__super__=ee.prototype,b},x={}.hasOwnProperty;ne=E("sax"),le=E("events"),se=E("./bom"),oe=E("./processors"),z=E("timers").setImmediate,re=E("./defaults").defaults,ce=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ae=function(b,ee,te){var ue,de,ge;for(ue=0,de=b.length;ue0&&(Pe[ve.options.childkey]=Te),Te=Pe;else if(Ce){Ce[ve.options.childkey]=Ce[ve.options.childkey]||[],Ee={};for(ye in Te)x.call(Te,ye)&&ie(Ee,ye,Te[ye]);Ce[ve.options.childkey].push(Ee),delete Te["#name"],Object.keys(Te).length===1&&ue in Te&&!ve.EXPLICIT_CHARKEY&&(Te=Te[ue])}}return ge.length>0?ve.assignOrPush(Ce,we,Te):(ve.options.explicitRoot&&(_e=Te,Te={},ie(Te,we,_e)),ve.resultObject=Te,ve.saxParser.ended=!0,ve.emit("end",ve.resultObject))}}(this),de=function(ve){return function(me){var Se,ye;if(ye=ge[ge.length-1],ye)return ye[ue]+=me,ve.options.explicitChildren&&ve.options.preserveChildrenOrder&&ve.options.charsAsChildren&&(ve.options.includeWhiteChars||me.replace(/\\n/g,"").trim()!=="")&&(ye[ve.options.childkey]=ye[ve.options.childkey]||[],Se={"#name":"__text__"},Se[ue]=me,ve.options.normalize&&(Se[ue]=Se[ue].replace(/\s{2,}/g," ").trim()),ye[ve.options.childkey].push(Se)),ye}}(this),this.saxParser.ontext=de,this.saxParser.oncdata=function(ve){return function(me){var Se;if(Se=de(me),Se)return Se.cdata=!0}}(this)},ee.prototype.parseString=function(te,ue){var de;ue!=null&&typeof ue=="function"&&(this.on("end",function(ge){return this.reset(),ue(null,ge)}),this.on("error",function(ge){return this.reset(),ue(ge)}));try{return te=te.toString(),te.trim()===""?(this.emit("end",null),!0):(te=se.stripBOM(te),this.options.async?(this.remaining=te,z(this.processAsync),this.saxParser):this.saxParser.write(te).close())}catch(ge){if(de=ge,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw de}else return this.emit("error",de),this.saxParser.errThrown=!0}},ee.prototype.parseStringPromise=function(te){return new Promise(function(ue){return function(de,ge){return ue.parseString(te,function(ve,me){return ve?ge(ve):de(me)})}}(this))},ee}(le),fe.parseString=function(b,ee,te){var ue,de,ge;return te!=null?(typeof te=="function"&&(ue=te),typeof ee=="object"&&(de=ee)):(typeof ee=="function"&&(ue=ee),de={}),ge=new fe.Parser(de),ge.parseString(b,ue)},fe.parseStringPromise=function(b,ee){var te,ue;return typeof ee=="object"&&(te=ee),ue=new fe.Parser(te),ue.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,he,fe){(function(){"use strict";var se;se=new RegExp(/(?!xmlns)^.*:/),fe.normalize=function(re){return re.toLowerCase()},fe.firstCharLowerCase=function(re){return re.charAt(0).toLowerCase()+re.slice(1)},fe.stripPrefix=function(re){return re.replace(se,"")},fe.parseNumbers=function(re){return isNaN(re)||(re=re%1===0?parseInt(re,10):parseFloat(re)),re},fe.parseBooleans=function(re){return/^(?:true|false)$/i.test(re)&&(re=re.toLowerCase()==="true"),re}}).call(this)},{}],426:[function(E,he,fe){(function(){"use strict";var se,re,ie,le,ce=function(oe,ne){for(var z in ne)ae.call(ne,z)&&(oe[z]=ne[z]);function a(){this.constructor=oe}return a.prototype=ne.prototype,oe.prototype=new a,oe.__super__=ne.prototype,oe},ae={}.hasOwnProperty;re=E("./defaults"),se=E("./builder"),ie=E("./parser"),le=E("./processors"),fe.defaults=re.defaults,fe.processors=le,fe.ValidationError=function(oe){ce(ne,oe);function ne(z){this.message=z}return ne}(Error),fe.Builder=se.Builder,fe.Parser=ie.Parser,fe.parseString=ie.parseString,fe.parseStringPromise=ie.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,he,fe){(function(){he.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,he,fe){(function(){he.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,he,fe){(function(){var se,re,ie,le,ce,ae,oe,ne=[].slice,z={}.hasOwnProperty;se=function(){var a,y,x,b,ee,te;if(te=arguments[0],ee=2<=arguments.length?ne.call(arguments,1):[],ce(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=ee.length;a":"attribute: {"+ce+"}, parent: <"+this.parent.name+">"},le.prototype.isEqualNode=function(ce){return!(ce.namespaceURI!==this.namespaceURI||ce.prefix!==this.prefix||ce.localName!==this.localName||ce.value!==this.value)},le}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ce={}.hasOwnProperty;se=E("./NodeType"),ie=E("./XMLCharacterData"),he.exports=re=function(ae){le(oe,ae);function oe(ne,z){if(oe.__super__.constructor.call(this,ne),z==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=se.CData,this.value=this.stringify.cdata(z)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return this.options.writer.cdata(this,this.options.writer.filterOptions(ne))},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,he,fe){(function(){var se,re,ie=function(ce,ae){for(var oe in ae)le.call(ae,oe)&&(ce[oe]=ae[oe]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;re=E("./XMLNode"),he.exports=se=function(ce){ie(ae,ce);function ae(oe){ae.__super__.constructor.call(this,oe),this.value=""}return Object.defineProperty(ae.prototype,"data",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),Object.defineProperty(ae.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ae.prototype,"textContent",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),ae.prototype.clone=function(){return Object.create(this)},ae.prototype.substringData=function(oe,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.appendData=function(oe){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.insertData=function(oe,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.deleteData=function(oe,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.replaceData=function(oe,ne,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.isEqualNode=function(oe){return!(!ae.__super__.isEqualNode.apply(this,arguments).isEqualNode(oe)||oe.data!==this.data)},ae}(re)}).call(this)},{"./XMLNode":450}],434:[function(E,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ce={}.hasOwnProperty;se=E("./NodeType"),re=E("./XMLCharacterData"),he.exports=ie=function(ae){le(oe,ae);function oe(ne,z){if(oe.__super__.constructor.call(this,ne),z==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=se.Comment,this.value=this.stringify.comment(z)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return this.options.writer.comment(this,this.options.writer.filterOptions(ne))},oe}(re)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,he,fe){(function(){var se,re,ie;re=E("./XMLDOMErrorHandler"),ie=E("./XMLDOMStringList"),he.exports=se=function(){function le(){var ce;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new re,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=ce=Object.create(this.defaultParams)}return Object.defineProperty(le.prototype,"parameterNames",{get:function(){return new ie(Object.keys(this.defaultParams))}}),le.prototype.getParameter=function(ce){return this.params.hasOwnProperty(ce)?this.params[ce]:null},le.prototype.canSetParameter=function(ce,ae){return!0},le.prototype.setParameter=function(ce,ae){return ae!=null?this.params[ce]=ae:delete this.params[ce]},le}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,he,fe){(function(){var se;he.exports=se=function(){function re(){}return re.prototype.handleError=function(ie){throw new Error(ie)},re}()}).call(this)},{}],437:[function(E,he,fe){(function(){var se;he.exports=se=function(){function re(){}return re.prototype.hasFeature=function(ie,le){return!0},re.prototype.createDocumentType=function(ie,le,ce){throw new Error("This DOM method is not implemented.")},re.prototype.createDocument=function(ie,le,ce){throw new Error("This DOM method is not implemented.")},re.prototype.createHTMLDocument=function(ie){throw new Error("This DOM method is not implemented.")},re.prototype.getFeature=function(ie,le){throw new Error("This DOM method is not implemented.")},re}()}).call(this)},{}],438:[function(E,he,fe){(function(){var se;he.exports=se=function(){function re(ie){this.arr=ie||[]}return Object.defineProperty(re.prototype,"length",{get:function(){return this.arr.length}}),re.prototype.item=function(ie){return this.arr[ie]||null},re.prototype.contains=function(ie){return this.arr.indexOf(ie)!==-1},re}()}).call(this)},{}],439:[function(E,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ce={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),he.exports=re=function(ae){le(oe,ae);function oe(ne,z,a,y,x,b){if(oe.__super__.constructor.call(this,ne),z==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(z));if(!y)throw new Error("Missing DTD attribute type. "+this.debugInfo(z));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(z));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(z));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(z));this.elementName=this.stringify.name(z),this.type=se.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return oe.prototype.toString=function(ne){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ne))},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ce={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),he.exports=re=function(ae){le(oe,ae);function oe(ne,z,a){if(oe.__super__.constructor.call(this,ne),z==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.name(z),this.type=se.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return oe.prototype.toString=function(ne){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(ne))},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,he,fe){(function(){var se,re,ie,le,ce=function(oe,ne){for(var z in ne)ae.call(ne,z)&&(oe[z]=ne[z]);function a(){this.constructor=oe}return a.prototype=ne.prototype,oe.prototype=new a,oe.__super__=ne.prototype,oe},ae={}.hasOwnProperty;le=E("./Utility").isObject,ie=E("./XMLNode"),se=E("./NodeType"),he.exports=re=function(oe){ce(ne,oe);function ne(z,a,y,x){if(ne.__super__.constructor.call(this,z),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=se.EntityDeclaration,!le(x))this.value=this.stringify.dtdEntityValue(x),this.internal=!0;else{if(!x.pubID&&!x.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(y));if(x.pubID&&!x.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(y));if(this.internal=!1,x.pubID!=null&&(this.pubID=this.stringify.dtdPubID(x.pubID)),x.sysID!=null&&(this.sysID=this.stringify.dtdSysID(x.sysID)),x.nData!=null&&(this.nData=this.stringify.dtdNData(x.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(y))}}return Object.defineProperty(ne.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ne.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(ne.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(ne.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(ne.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(ne.prototype,"xmlVersion",{get:function(){return null}}),ne.prototype.toString=function(z){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(z))},ne}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ce={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),he.exports=re=function(ae){le(oe,ae);function oe(ne,z,a){if(oe.__super__.constructor.call(this,ne),z==null)throw new Error("Missing DTD notation name. "+this.debugInfo(z));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(z));this.name=this.stringify.name(z),this.type=se.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(oe.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(oe.prototype,"systemId",{get:function(){return this.sysID}}),oe.prototype.toString=function(ne){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ne))},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,he,fe){(function(){var se,re,ie,le,ce=function(oe,ne){for(var z in ne)ae.call(ne,z)&&(oe[z]=ne[z]);function a(){this.constructor=oe}return a.prototype=ne.prototype,oe.prototype=new a,oe.__super__=ne.prototype,oe},ae={}.hasOwnProperty;le=E("./Utility").isObject,ie=E("./XMLNode"),se=E("./NodeType"),he.exports=re=function(oe){ce(ne,oe);function ne(z,a,y,x){var b;ne.__super__.constructor.call(this,z),le(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=se.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return ne.prototype.toString=function(z){return this.options.writer.declaration(this,this.options.writer.filterOptions(z))},ne}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,he,fe){(function(){var se,re,ie,le,ce,ae,oe,ne,z,a=function(x,b){for(var ee in b)y.call(b,ee)&&(x[ee]=b[ee]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},y={}.hasOwnProperty;z=E("./Utility").isObject,ne=E("./XMLNode"),se=E("./NodeType"),re=E("./XMLDTDAttList"),le=E("./XMLDTDEntity"),ie=E("./XMLDTDElement"),ce=E("./XMLDTDNotation"),oe=E("./XMLNamedNodeMap"),he.exports=ae=function(x){a(b,x);function b(ee,te,ue){var de,ge,ve,me,Se,ye;if(b.__super__.constructor.call(this,ee),this.type=se.DocType,ee.children){for(me=ee.children,ge=0,ve=me.length;ge=0;)this.up();return this.onEnd()},Ee.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Ee.prototype.openNode=function(_e){var Ce,Oe,Ie,Ue;if(!_e.isOpen){if(!this.root&&this.currentLevel===0&&_e.type===se.Element&&(this.root=_e),Oe="",_e.type===se.Element){this.writerOptions.state=re.OpenTag,Oe=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"<"+_e.name,Ue=_e.attribs;for(Ie in Ue)Te.call(Ue,Ie)&&(Ce=Ue[Ie],Oe+=this.writer.attribute(Ce,this.writerOptions,this.currentLevel));Oe+=(_e.children?">":"/>")+this.writer.endline(_e,this.writerOptions,this.currentLevel),this.writerOptions.state=re.InsideTag}else this.writerOptions.state=re.OpenTag,Oe=this.writer.indent(_e,this.writerOptions,this.currentLevel)+""),Oe+=this.writer.endline(_e,this.writerOptions,this.currentLevel);return this.onData(Oe,this.currentLevel),_e.isOpen=!0}},Ee.prototype.closeNode=function(_e){var Ce;if(!_e.isClosed)return Ce="",this.writerOptions.state=re.CloseTag,_e.type===se.Element?Ce=this.writer.indent(_e,this.writerOptions,this.currentLevel)+""+this.writer.endline(_e,this.writerOptions,this.currentLevel):Ce=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(_e,this.writerOptions,this.currentLevel),this.writerOptions.state=re.None,this.onData(Ce,this.currentLevel),_e.isClosed=!0},Ee.prototype.onData=function(_e,Ce){return this.documentStarted=!0,this.onDataCallback(_e,Ce+1)},Ee.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Ee.prototype.debugInfo=function(_e){return _e==null?"":"node: <"+_e+">"},Ee.prototype.ele=function(){return this.element.apply(this,arguments)},Ee.prototype.nod=function(_e,Ce,Oe){return this.node(_e,Ce,Oe)},Ee.prototype.txt=function(_e){return this.text(_e)},Ee.prototype.dat=function(_e){return this.cdata(_e)},Ee.prototype.com=function(_e){return this.comment(_e)},Ee.prototype.ins=function(_e,Ce){return this.instruction(_e,Ce)},Ee.prototype.dec=function(_e,Ce,Oe){return this.declaration(_e,Ce,Oe)},Ee.prototype.dtd=function(_e,Ce,Oe){return this.doctype(_e,Ce,Oe)},Ee.prototype.e=function(_e,Ce,Oe){return this.element(_e,Ce,Oe)},Ee.prototype.n=function(_e,Ce,Oe){return this.node(_e,Ce,Oe)},Ee.prototype.t=function(_e){return this.text(_e)},Ee.prototype.d=function(_e){return this.cdata(_e)},Ee.prototype.c=function(_e){return this.comment(_e)},Ee.prototype.r=function(_e){return this.raw(_e)},Ee.prototype.i=function(_e,Ce){return this.instruction(_e,Ce)},Ee.prototype.att=function(){return this.currentNode&&this.currentNode.type===se.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ee.prototype.a=function(){return this.currentNode&&this.currentNode.type===se.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ee.prototype.ent=function(_e,Ce){return this.entity(_e,Ce)},Ee.prototype.pent=function(_e,Ce){return this.pEntity(_e,Ce)},Ee.prototype.not=function(_e,Ce){return this.notation(_e,Ce)},Ee}()}).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,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ce={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),he.exports=re=function(ae){le(oe,ae);function oe(ne){oe.__super__.constructor.call(this,ne),this.type=se.Dummy}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return""},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,he,fe){(function(){var se,re,ie,le,ce,ae,oe,ne,z,a=function(x,b){for(var ee in b)y.call(b,ee)&&(x[ee]=b[ee]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},y={}.hasOwnProperty;z=E("./Utility"),ne=z.isObject,oe=z.isFunction,ae=z.getValue,ce=E("./XMLNode"),se=E("./NodeType"),re=E("./XMLAttribute"),le=E("./XMLNamedNodeMap"),he.exports=ie=function(x){a(b,x);function b(ee,te,ue){var de,ge,ve,me;if(b.__super__.constructor.call(this,ee),te==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(te),this.type=se.Element,this.attribs={},this.schemaTypeInfo=null,ue!=null&&this.attribute(ue),ee.type===se.Document&&(this.isRoot=!0,this.documentObject=ee,ee.rootObject=this,ee.children)){for(me=ee.children,ge=0,ve=me.length;ge=de;te=0<=de?++ue:--ue)if(!this.attribs[te].isEqualNode(ee.attribs[te]))return!1;return!0},b}(ce)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,he,fe){(function(){var se;he.exports=se=function(){function re(ie){this.nodes=ie}return Object.defineProperty(re.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),re.prototype.clone=function(){return this.nodes=null},re.prototype.getNamedItem=function(ie){return this.nodes[ie]},re.prototype.setNamedItem=function(ie){var le;return le=this.nodes[ie.nodeName],this.nodes[ie.nodeName]=ie,le||null},re.prototype.removeNamedItem=function(ie){var le;return le=this.nodes[ie],delete this.nodes[ie],le||null},re.prototype.item=function(ie){return this.nodes[Object.keys(this.nodes)[ie]]||null},re.prototype.getNamedItemNS=function(ie,le){throw new Error("This DOM method is not implemented.")},re.prototype.setNamedItemNS=function(ie){throw new Error("This DOM method is not implemented.")},re.prototype.removeNamedItemNS=function(ie,le){throw new Error("This DOM method is not implemented.")},re}()}).call(this)},{}],450:[function(E,he,fe){(function(){var se,re,ie,le,ce,ae,oe,ne,z,a,y,x,b,ee,te,ue,de,ge,ve,me={}.hasOwnProperty;ve=E("./Utility"),ge=ve.isObject,de=ve.isFunction,ue=ve.isEmpty,te=ve.getValue,ne=null,ie=null,le=null,ce=null,ae=null,b=null,ee=null,x=null,oe=null,re=null,y=null,z=null,se=null,he.exports=a=function(){function Se(ye){this.parent=ye,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ne||(ne=E("./XMLElement"),ie=E("./XMLCData"),le=E("./XMLComment"),ce=E("./XMLDeclaration"),ae=E("./XMLDocType"),b=E("./XMLRaw"),ee=E("./XMLText"),x=E("./XMLProcessingInstruction"),oe=E("./XMLDummy"),re=E("./NodeType"),y=E("./XMLNodeList"),z=E("./XMLNamedNodeMap"),se=E("./DocumentPosition"))}return Object.defineProperty(Se.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(Se.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Se.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(Se.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(Se.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(Se.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(Se.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(Se.prototype,"previousSibling",{get:function(){var ye;return ye=this.parent.children.indexOf(this),this.parent.children[ye-1]||null}}),Object.defineProperty(Se.prototype,"nextSibling",{get:function(){var ye;return ye=this.parent.children.indexOf(this),this.parent.children[ye+1]||null}}),Object.defineProperty(Se.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(Se.prototype,"textContent",{get:function(){var ye,Pe,we,Te,Ee;if(this.nodeType===re.Element||this.nodeType===re.DocumentFragment){for(Ee="",Te=this.children,Pe=0,we=Te.length;Pe":(we=this.parent)!=null&&we.name?"node: <"+ye+">, parent: <"+this.parent.name+">":"node: <"+ye+">"},Se.prototype.ele=function(ye,Pe,we){return this.element(ye,Pe,we)},Se.prototype.nod=function(ye,Pe,we){return this.node(ye,Pe,we)},Se.prototype.txt=function(ye){return this.text(ye)},Se.prototype.dat=function(ye){return this.cdata(ye)},Se.prototype.com=function(ye){return this.comment(ye)},Se.prototype.ins=function(ye,Pe){return this.instruction(ye,Pe)},Se.prototype.doc=function(){return this.document()},Se.prototype.dec=function(ye,Pe,we){return this.declaration(ye,Pe,we)},Se.prototype.e=function(ye,Pe,we){return this.element(ye,Pe,we)},Se.prototype.n=function(ye,Pe,we){return this.node(ye,Pe,we)},Se.prototype.t=function(ye){return this.text(ye)},Se.prototype.d=function(ye){return this.cdata(ye)},Se.prototype.c=function(ye){return this.comment(ye)},Se.prototype.r=function(ye){return this.raw(ye)},Se.prototype.i=function(ye,Pe){return this.instruction(ye,Pe)},Se.prototype.u=function(){return this.up()},Se.prototype.importXMLBuilder=function(ye){return this.importDocument(ye)},Se.prototype.replaceChild=function(ye,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.removeChild=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.appendChild=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.hasChildNodes=function(){return this.children.length!==0},Se.prototype.cloneNode=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isSupported=function(ye,Pe){return!0},Se.prototype.hasAttributes=function(){return this.attribs.length!==0},Se.prototype.compareDocumentPosition=function(ye){var Pe,we;return Pe=this,Pe===ye?0:this.document()!==ye.document()?(we=se.Disconnected|se.ImplementationSpecific,Math.random()<.5?we|=se.Preceding:we|=se.Following,we):Pe.isAncestor(ye)?se.Contains|se.Preceding:Pe.isDescendant(ye)?se.Contains|se.Following:Pe.isPreceding(ye)?se.Preceding:se.Following},Se.prototype.isSameNode=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.lookupPrefix=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isDefaultNamespace=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.lookupNamespaceURI=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isEqualNode=function(ye){var Pe,we,Te;if(ye.nodeType!==this.nodeType||ye.children.length!==this.children.length)return!1;for(Pe=we=0,Te=this.children.length-1;0<=Te?we<=Te:we>=Te;Pe=0<=Te?++we:--we)if(!this.children[Pe].isEqualNode(ye.children[Pe]))return!1;return!0},Se.prototype.getFeature=function(ye,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.setUserData=function(ye,Pe,we){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getUserData=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.contains=function(ye){return ye?ye===this||this.isDescendant(ye):!1},Se.prototype.isDescendant=function(ye){var Pe,we,Te,Ee,_e;for(_e=this.children,Te=0,Ee=_e.length;Tewe},Se.prototype.treePosition=function(ye){var Pe,we;return we=0,Pe=!1,this.foreachTreeNode(this.document(),function(Te){if(we++,!Pe&&Te===ye)return Pe=!0}),Pe?we:-1},Se.prototype.foreachTreeNode=function(ye,Pe){var we,Te,Ee,_e,Ce;for(ye||(ye=this.document()),_e=ye.children,Te=0,Ee=_e.length;Te0){for(this.stream.write(" ["),this.stream.write(this.endline(z,a,y)),a.state=re.InsideTag,te=z.children,b=0,ee=te.length;b"),this.stream.write(this.endline(z,a,y)),a.state=re.None,this.closeNode(z,a,y)},ne.prototype.element=function(z,a,y){var x,b,ee,te,ue,de,ge,ve,me,Se;y||(y=0),this.openNode(z,a,y),a.state=re.OpenTag,this.stream.write(this.indent(z,a,y)+"<"+z.name),me=z.attribs;for(ge in me)ae.call(me,ge)&&(x=me[ge],this.attribute(x,a,y));if(ee=z.children.length,te=ee===0?null:z.children[0],ee===0||z.children.every(function(ye){return(ye.type===se.Text||ye.type===se.Raw)&&ye.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=re.CloseTag,this.stream.write("")):(a.state=re.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&ee===1&&(te.type===se.Text||te.type===se.Raw)&&te.value!=null)this.stream.write(">"),a.state=re.InsideTag,a.suppressPrettyCount++,ve=!0,this.writeChildNode(te,a,y+1),a.suppressPrettyCount--,ve=!1,a.state=re.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(z,a,y)),a.state=re.InsideTag,Se=z.children,ue=0,de=Se.length;ue")}return this.stream.write(this.endline(z,a,y)),a.state=re.None,this.closeNode(z,a,y)},ne.prototype.processingInstruction=function(z,a,y){return this.stream.write(ne.__super__.processingInstruction.call(this,z,a,y))},ne.prototype.raw=function(z,a,y){return this.stream.write(ne.__super__.raw.call(this,z,a,y))},ne.prototype.text=function(z,a,y){return this.stream.write(ne.__super__.text.call(this,z,a,y))},ne.prototype.dtdAttList=function(z,a,y){return this.stream.write(ne.__super__.dtdAttList.call(this,z,a,y))},ne.prototype.dtdElement=function(z,a,y){return this.stream.write(ne.__super__.dtdElement.call(this,z,a,y))},ne.prototype.dtdEntity=function(z,a,y){return this.stream.write(ne.__super__.dtdEntity.call(this,z,a,y))},ne.prototype.dtdNotation=function(z,a,y){return this.stream.write(ne.__super__.dtdNotation.call(this,z,a,y))},ne}(le)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,he,fe){(function(){var se,re,ie=function(ce,ae){for(var oe in ae)le.call(ae,oe)&&(ce[oe]=ae[oe]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;re=E("./XMLWriterBase"),he.exports=se=function(ce){ie(ae,ce);function ae(oe){ae.__super__.constructor.call(this,oe)}return ae.prototype.document=function(oe,ne){var z,a,y,x,b;for(ne=this.filterOptions(ne),x="",b=oe.children,a=0,y=b.length;a","]]]]>"),this.assertLegalChar(ce))},le.prototype.comment=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",ce.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+ce);return this.assertLegalChar(ce)},le.prototype.raw=function(ce){return this.options.noValidation?ce:""+ce||""},le.prototype.attValue=function(ce){return this.options.noValidation?ce:this.assertLegalChar(this.attEscape(ce=""+ce||""))},le.prototype.insTarget=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.insValue=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",ce.match(/\?>/))throw new Error("Invalid processing instruction value: "+ce);return this.assertLegalChar(ce)},le.prototype.xmlVersion=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",!ce.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+ce);return ce},le.prototype.xmlEncoding=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",!ce.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+ce);return this.assertLegalChar(ce)},le.prototype.xmlStandalone=function(ce){return this.options.noValidation?ce:ce?"yes":"no"},le.prototype.dtdPubID=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdSysID=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdElementValue=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdAttType=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdAttDefault=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdEntityValue=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdNData=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.convertAttKey="@",le.prototype.convertPIKey="?",le.prototype.convertTextKey="#text",le.prototype.convertCDataKey="#cdata",le.prototype.convertCommentKey="#comment",le.prototype.convertRawKey="#raw",le.prototype.assertLegalChar=function(ce){var ae,oe;if(this.options.noValidation)return ce;if(ae="",this.options.version==="1.0"){if(ae=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=ce.match(ae))throw new Error("Invalid character in string: "+ce+" at index "+oe.index)}else if(this.options.version==="1.1"&&(ae=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=ce.match(ae)))throw new Error("Invalid character in string: "+ce+" at index "+oe.index);return ce},le.prototype.assertLegalName=function(ce){var ae;if(this.options.noValidation)return ce;if(this.assertLegalChar(ce),ae=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!ce.match(ae))throw new Error("Invalid character in name");return ce},le.prototype.textEscape=function(ce){var ae;return this.options.noValidation?ce:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ce.replace(ae,"&").replace(//g,">").replace(/\r/g," "))},le.prototype.attEscape=function(ce){var ae;return this.options.noValidation?ce:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ce.replace(ae,"&").replace(/0)?new Array(Pe).join(Se.indent):""},ve.prototype.endline=function(me,Se,ye){return!Se.pretty||Se.suppressPrettyCount?"":Se.newline},ve.prototype.attribute=function(me,Se,ye){var Pe;return this.openAttribute(me,Se,ye),Pe=" "+me.name+'="'+me.value+'"',this.closeAttribute(me,Se,ye),Pe},ve.prototype.cdata=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+""+this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.comment=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+""+this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.declaration=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+"",Pe+=this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.docType=function(me,Se,ye){var Pe,we,Te,Ee,_e;if(ye||(ye=0),this.openNode(me,Se,ye),Se.state=re.OpenTag,Ee=this.indent(me,Se,ye),Ee+="0){for(Ee+=" [",Ee+=this.endline(me,Se,ye),Se.state=re.InsideTag,_e=me.children,we=0,Te=_e.length;we",Ee+=this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Ee},ve.prototype.element=function(me,Se,ye){var Pe,we,Te,Ee,_e,Ce,Oe,Ie,Ue,je,nt,Je,Qe,Xe;ye||(ye=0),je=!1,nt="",this.openNode(me,Se,ye),Se.state=re.OpenTag,nt+=this.indent(me,Se,ye)+"<"+me.name,Je=me.attribs;for(Ue in Je)ge.call(Je,Ue)&&(Pe=Je[Ue],nt+=this.attribute(Pe,Se,ye));if(Te=me.children.length,Ee=Te===0?null:me.children[0],Te===0||me.children.every(function(ze){return(ze.type===se.Text||ze.type===se.Raw)&&ze.value===""}))Se.allowEmpty?(nt+=">",Se.state=re.CloseTag,nt+=""+this.endline(me,Se,ye)):(Se.state=re.CloseTag,nt+=Se.spaceBeforeSlash+"/>"+this.endline(me,Se,ye));else if(Se.pretty&&Te===1&&(Ee.type===se.Text||Ee.type===se.Raw)&&Ee.value!=null)nt+=">",Se.state=re.InsideTag,Se.suppressPrettyCount++,je=!0,nt+=this.writeChildNode(Ee,Se,ye+1),Se.suppressPrettyCount--,je=!1,Se.state=re.CloseTag,nt+=""+this.endline(me,Se,ye);else{if(Se.dontPrettyTextNodes){for(Qe=me.children,_e=0,Oe=Qe.length;_e"+this.endline(me,Se,ye),Se.state=re.InsideTag,Xe=me.children,Ce=0,Ie=Xe.length;Ce",je&&Se.suppressPrettyCount--,nt+=this.endline(me,Se,ye),Se.state=re.None}return this.closeNode(me,Se,ye),nt},ve.prototype.writeChildNode=function(me,Se,ye){switch(me.type){case se.CData:return this.cdata(me,Se,ye);case se.Comment:return this.comment(me,Se,ye);case se.Element:return this.element(me,Se,ye);case se.Raw:return this.raw(me,Se,ye);case se.Text:return this.text(me,Se,ye);case se.ProcessingInstruction:return this.processingInstruction(me,Se,ye);case se.Dummy:return"";case se.Declaration:return this.declaration(me,Se,ye);case se.DocType:return this.docType(me,Se,ye);case se.AttributeDeclaration:return this.dtdAttList(me,Se,ye);case se.ElementDeclaration:return this.dtdElement(me,Se,ye);case se.EntityDeclaration:return this.dtdEntity(me,Se,ye);case se.NotationDeclaration:return this.dtdNotation(me,Se,ye);default:throw new Error("Unknown XML node type: "+me.constructor.name)}},ve.prototype.processingInstruction=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+"",Pe+=this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.raw=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye),Se.state=re.InsideTag,Pe+=me.value,Se.state=re.CloseTag,Pe+=this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.text=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye),Se.state=re.InsideTag,Pe+=me.value,Se.state=re.CloseTag,Pe+=this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.dtdAttList=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+""+this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.dtdElement=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+""+this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.dtdEntity=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+""+this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.dtdNotation=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+""+this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.openNode=function(me,Se,ye){},ve.prototype.closeNode=function(me,Se,ye){},ve.prototype.openAttribute=function(me,Se,ye){},ve.prototype.closeAttribute=function(me,Se,ye){},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,he,fe){(function(){var se,re,ie,le,ce,ae,oe,ne,z,a;a=E("./Utility"),ne=a.assign,z=a.isFunction,ie=E("./XMLDOMImplementation"),le=E("./XMLDocument"),ce=E("./XMLDocumentCB"),oe=E("./XMLStringWriter"),ae=E("./XMLStreamWriter"),se=E("./NodeType"),re=E("./WriterState"),he.exports.create=function(y,x,b,ee){var te,ue;if(y==null)throw new Error("Root element needs a name.");return ee=ne({},x,b,ee),te=new le(ee),ue=te.element(y),ee.headless||(te.declaration(ee),(ee.pubID!=null||ee.sysID!=null)&&te.dtd(ee)),ue},he.exports.begin=function(y,x,b){var ee;return z(y)&&(ee=[y,x],x=ee[0],b=ee[1],y={}),x?new ce(y,x,b):new le(y)},he.exports.stringWriter=function(y){return new oe(y)},he.exports.streamWriter=function(y,x){return new ae(y,x)},he.exports.implementation=new ie,he.exports.nodeType=se,he.exports.writerState=re}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,he,fe){he.exports=re;var se=Object.prototype.hasOwnProperty;function re(){for(var ie={},le=0;lece?y=a(y):y.length>5]|=128<>>9<<4)+14]=x;for(var b=1732584193,ee=-271733879,te=-1732584194,ue=271733878,de=0;de>16)+(x>>16)+(b>>16);return ee<<16|b&65535}function a(y,x){return y<>>32-x}he.exports=function(x){return se.hash(x,ie,16)}},{"./helpers":462}],464:[function(E,he,fe){"use strict";var se=E("./helpers");function re(oe,ne){oe[ne>>5]|=128<<24-ne%32,oe[(ne+64>>9<<4)+15]=ne;for(var z=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,ee=-1009589776,te=0;te>16)+(ne>>16)+(z>>16);return a<<16|z&65535}function ae(oe,ne){return oe<>>32-ne}he.exports=function(ne){return se.hash(ne,re,20,!0)}},{"./helpers":462}],465:[function(E,he,fe){"use strict";he.exports=function(){return function(){}}},{}],466:[function(E,he,fe){(function(se){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),ie=re(E("@babel/runtime/helpers/typeof")),le=E("stream"),ce=le.Stream,ae=E("../lib/common/utils/isArray"),oe=ae.isArray;he.exports.string=function(a){return typeof a=="string"},he.exports.array=oe,he.exports.buffer=se.isBuffer;function ne(z){return z instanceof ce}he.exports.writableStream=function(a){return ne(a)&&typeof a._write=="function"&&(0,ie.default)(a._writableState)==="object"}}).call(this)}).call(this,{isBuffer:E("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(E,he,fe){"use strict";var se=E("immediate"),re=he.exports={};re.nextTick=se,re.title="browser",re.browser=!0,re.env={},re.argv=[],re.version="",re.versions={};function ie(){}re.on=ie,re.addListener=ie,re.once=ie,re.off=ie,re.removeListener=ie,re.removeAllListeners=ie,re.emit=ie,re.prependListener=ie,re.prependOnceListener=ie,re.listeners=function(le){return[]},re.binding=function(le){throw new Error("process.binding is not supported")},re.cwd=function(){return"/"},re.chdir=function(le){throw new Error("process.chdir is not supported")},re.umask=function(){return 0}},{immediate:358}],468:[function(E,he,fe){(function(se){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var re=E("./lib/request"),ie=E("./lib/response"),le=E("xtend"),ce=E("builtin-status-codes"),ae=E("url"),oe=fe;oe.request=function(ne,z){typeof ne=="string"?ne=ae.parse(ne):ne=le(ne);var a=se.location.protocol.search(/^https?:$/)===-1?"http:":"",y=ne.protocol||a,x=ne.hostname||ne.host,b=ne.port,ee=ne.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),ne.url=(x?y+"//"+x:"")+(b?":"+b:"")+ee,ne.method=(ne.method||"GET").toUpperCase(),ne.headers=ne.headers||{};var te=new re(ne);return z&&te.on("response",z),te},oe.get=function(z,a){var y=oe.request(z,a);return y.end(),y},oe.ClientRequest=re,oe.IncomingMessage=ie.IncomingMessage,oe.Agent=function(){},oe.Agent.defaultMaxSockets=4,oe.globalAgent=new oe.Agent,oe.STATUS_CODES=ce,oe.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 ft!="undefined"?ft: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,he,fe){(function(se){(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"),fe.fetch=oe(se.fetch)&&oe(se.ReadableStream),fe.writableStream=oe(se.WritableStream),fe.abortController=oe(se.AbortController),fe.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),fe.blobConstructor=!0}catch(ne){}var re;function ie(){if(re!==void 0)return re;if(se.XMLHttpRequest){re=new se.XMLHttpRequest;try{re.open("GET",se.XDomainRequest?"/":"https://example.com")}catch(ne){re=null}}else re=null;return re}function le(ne){var z=ie();if(!z)return!1;try{return z.responseType=ne,z.responseType===ne}catch(a){}return!1}var ce=typeof se.ArrayBuffer!="undefined",ae=ce&&oe(se.ArrayBuffer.prototype.slice);fe.arraybuffer=fe.fetch||ce&&le("arraybuffer"),fe.msstream=!fe.fetch&&ae&&le("ms-stream"),fe.mozchunkedarraybuffer=!fe.fetch&&ce&&le("moz-chunked-arraybuffer"),fe.overrideMimeType=fe.fetch||(ie()?oe(ie().overrideMimeType):!1),fe.vbArray=oe(se.VBArray);function oe(ne){return typeof ne=="function"}re=null}).call(this)}).call(this,typeof ft!="undefined"?ft: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,he,fe){(function(se,re,ie){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js");var le=E("./capability"),ce=E("inherits"),ae=E("./response"),oe=E("readable-stream"),ne=E("to-arraybuffer"),z=ae.IncomingMessage,a=ae.readyStates;function y(te,ue){return le.fetch&&ue?"fetch":le.mozchunkedarraybuffer?"moz-chunked-arraybuffer":le.msstream?"ms-stream":le.arraybuffer&&te?"arraybuffer":le.vbArray&&te?"text:vbarray":"text"}var x=he.exports=function(te){var ue=this;oe.Writable.call(ue),ue._opts=te,ue._body=[],ue._headers={},te.auth&&ue.setHeader("Authorization","Basic "+new ie(te.auth).toString("base64")),Object.keys(te.headers).forEach(function(ve){ue.setHeader(ve,te.headers[ve])});var de,ge=!0;if(te.mode==="disable-fetch"||"requestTimeout"in te&&!le.abortController)ge=!1,de=!0;else if(te.mode==="prefer-streaming")de=!1;else if(te.mode==="allow-wrong-content-type")de=!le.overrideMimeType;else if(!te.mode||te.mode==="default"||te.mode==="prefer-fast")de=!0;else throw new Error("Invalid value for opts.mode");ue._mode=y(de,ge),ue._fetchTimer=null,ue.on("finish",function(){ue._onFinish()})};ce(x,oe.Writable),x.prototype.setHeader=function(te,ue){var de=this,ge=te.toLowerCase();ee.indexOf(ge)===-1&&(de._headers[ge]={name:te,value:ue})},x.prototype.getHeader=function(te){var ue=this._headers[te.toLowerCase()];return ue?ue.value:null},x.prototype.removeHeader=function(te){var ue=this;delete ue._headers[te.toLowerCase()]},x.prototype._onFinish=function(){var te=this;if(!te._destroyed){var ue=te._opts,de=te._headers,ge=null;ue.method!=="GET"&&ue.method!=="HEAD"&&(le.arraybuffer?ge=ne(ie.concat(te._body)):le.blobConstructor?ge=new re.Blob(te._body.map(function(we){return ne(we)}),{type:(de["content-type"]||{}).value||""}):ge=ie.concat(te._body).toString());var ve=[];if(Object.keys(de).forEach(function(we){var Te=de[we].name,Ee=de[we].value;Array.isArray(Ee)?Ee.forEach(function(_e){ve.push([Te,_e])}):ve.push([Te,Ee])}),te._mode==="fetch"){var me=null,Se=null;if(le.abortController){var ye=new AbortController;me=ye.signal,te._fetchAbortController=ye,"requestTimeout"in ue&&ue.requestTimeout!==0&&(te._fetchTimer=re.setTimeout(function(){te.emit("requestTimeout"),te._fetchAbortController&&te._fetchAbortController.abort()},ue.requestTimeout))}re.fetch(te._opts.url,{method:te._opts.method,headers:ve,body:ge||void 0,mode:"cors",credentials:ue.withCredentials?"include":"same-origin",signal:me}).then(function(we){te._fetchResponse=we,te._connect()},function(we){re.clearTimeout(te._fetchTimer),te._destroyed||te.emit("error",we)})}else{var Pe=te._xhr=new re.XMLHttpRequest;try{Pe.open(te._opts.method,te._opts.url,!0)}catch(we){se.nextTick(function(){te.emit("error",we)});return}"responseType"in Pe&&(Pe.responseType=te._mode.split(":")[0]),"withCredentials"in Pe&&(Pe.withCredentials=!!ue.withCredentials),te._mode==="text"&&"overrideMimeType"in Pe&&Pe.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in ue&&(Pe.timeout=ue.requestTimeout,Pe.ontimeout=function(){te.emit("requestTimeout")}),ve.forEach(function(we){Pe.setRequestHeader(we[0],we[1])}),te._response=null,Pe.onreadystatechange=function(){switch(Pe.readyState){case a.LOADING:case a.DONE:te._onXHRProgress();break}},te._mode==="moz-chunked-arraybuffer"&&(Pe.onprogress=function(){te._onXHRProgress()}),Pe.onerror=function(){te._destroyed||te.emit("error",new Error("XHR error"))};try{Pe.send(ge)}catch(we){se.nextTick(function(){te.emit("error",we)});return}}}};function b(te){try{var ue=te.status;return ue!==null&&ue!==0}catch(de){return!1}}x.prototype._onXHRProgress=function(){var te=this;!b(te._xhr)||te._destroyed||(te._response||te._connect(),te._response._onXHRProgress())},x.prototype._connect=function(){var te=this;te._destroyed||(te._response=new z(te._xhr,te._fetchResponse,te._mode,te._fetchTimer),te._response.on("error",function(ue){te.emit("error",ue)}),te.emit("response",te._response))},x.prototype._write=function(te,ue,de){var ge=this;ge._body.push(te),de()},x.prototype.abort=x.prototype.destroy=function(){var te=this;te._destroyed=!0,re.clearTimeout(te._fetchTimer),te._response&&(te._response._destroyed=!0),te._xhr?te._xhr.abort():te._fetchAbortController&&te._fetchAbortController.abort()},x.prototype.end=function(te,ue,de){var ge=this;typeof te=="function"&&(de=te,te=void 0),oe.Writable.prototype.end.call(ge,te,ue,de)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var ee=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,E("_process"),typeof ft!="undefined"?ft: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,he,fe){(function(se,re,ie){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js"),E("core-js/modules/es.array.slice.js");var le=E("./capability"),ce=E("inherits"),ae=E("readable-stream"),oe=fe.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ne=fe.IncomingMessage=function(z,a,y,x){var b=this;if(ae.Readable.call(b),b._mode=y,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){se.nextTick(function(){b.emit("close")})}),y==="fetch"){var ee=function me(){ue.read().then(function(Se){if(!b._destroyed){if(Se.done){re.clearTimeout(x),b.push(null);return}b.push(new ie(Se.value)),me()}}).catch(function(Se){re.clearTimeout(x),b._destroyed||b.emit("error",Se)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(me,Se){b.headers[Se.toLowerCase()]=me,b.rawHeaders.push(Se,me)}),le.writableStream){var te=new WritableStream({write:function(Se){return new Promise(function(ye,Pe){b._destroyed?Pe():b.push(new ie(Se))?ye():b._resumeFetch=ye})},close:function(){re.clearTimeout(x),b._destroyed||b.push(null)},abort:function(Se){b._destroyed||b.emit("error",Se)}});try{a.body.pipeTo(te).catch(function(me){re.clearTimeout(x),b._destroyed||b.emit("error",me)});return}catch(me){}}var ue=a.body.getReader();ee()}else{b._xhr=z,b._pos=0,b.url=z.responseURL,b.statusCode=z.status,b.statusMessage=z.statusText;var de=z.getAllResponseHeaders().split(/\r?\n/);if(de.forEach(function(me){var Se=me.match(/^([^:]+):\s*(.*)/);if(Se){var ye=Se[1].toLowerCase();ye==="set-cookie"?(b.headers[ye]===void 0&&(b.headers[ye]=[]),b.headers[ye].push(Se[2])):b.headers[ye]!==void 0?b.headers[ye]+=", "+Se[2]:b.headers[ye]=Se[2],b.rawHeaders.push(Se[1],Se[2])}}),b._charset="x-user-defined",!le.overrideMimeType){var ge=b.rawHeaders["mime-type"];if(ge){var ve=ge.match(/;\s*charset=([^;])(;|$)/);ve&&(b._charset=ve[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};ce(ne,ae.Readable),ne.prototype._read=function(){var z=this,a=z._resumeFetch;a&&(z._resumeFetch=null,a())},ne.prototype._onXHRProgress=function(){var z=this,a=z._xhr,y=null;switch(z._mode){case"text:vbarray":if(a.readyState!==oe.DONE)break;try{y=new re.VBArray(a.responseBody).toArray()}catch(ue){}if(y!==null){z.push(new ie(y));break}case"text":try{y=a.responseText}catch(ue){z._mode="text:vbarray";break}if(y.length>z._pos){var x=y.substr(z._pos);if(z._charset==="x-user-defined"){for(var b=new ie(x.length),ee=0;eez._pos&&(z.push(new ie(new Uint8Array(te.result.slice(z._pos)))),z._pos=te.result.byteLength)},te.onload=function(){z.push(null)},te.readAsArrayBuffer(y);break}z._xhr.readyState===oe.DONE&&z._mode!=="ms-stream"&&z.push(null)}}).call(this)}).call(this,E("_process"),typeof ft!="undefined"?ft: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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.splice.js");var ie=E("punycode"),le=E("./util");fe.parse=Se,fe.resolve=Pe,fe.resolveObject=we,fe.format=ye,fe.Url=ce;function ce(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var ae=/^([a-z0-9.+-]+:)/i,oe=/:[0-9]*$/,ne=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,z=["<",">",'"',"`"," ","\r",` `," "],a=["{","}","|","\\","^","`"].concat(z),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],ee=255,te=/^[+a-z0-9A-Z_-]{0,63}$/,ue=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,de={javascript:!0,"javascript:":!0},ge={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},me=E("querystring");function Se(Te,Ee,_e){if(Te&&le.isObject(Te)&&Te instanceof ce)return Te;var Ce=new ce;return Ce.parse(Te,Ee,_e),Ce}ce.prototype.parse=function(Te,Ee,_e){if(!le.isString(Te))throw new TypeError("Parameter 'url' must be a string, not "+(0,re.default)(Te));var Ce=Te.indexOf("?"),Oe=Ce!==-1&&Ce127?tt+="x":tt+=Re[Me];if(!tt.match(te)){var Ve=$e.slice(0,ke),Ze=$e.slice(ke+1),Ke=Re.match(ue);Ke&&(Ve.push(Ke[1]),Ze.unshift(Ke[2])),Ze.length&&(je="/"+Ze.join(".")+je),this.hostname=Ve.join(".");break}}}this.hostname.length>ee?this.hostname="":this.hostname=this.hostname.toLowerCase(),gt||(this.hostname=ie.toASCII(this.hostname));var Ae=this.port?":"+this.port:"",Le=this.hostname||"";this.host=Le+Ae,this.href+=this.host,gt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),je[0]!=="/"&&(je="/"+je))}if(!de[Qe])for(var ke=0,We=y.length;ke0?_e.host.split("@"):!1;tt&&(_e.auth=tt.shift(),_e.host=_e.hostname=tt.shift())}return _e.search=Te.search,_e.query=Te.query,(!le.isNull(_e.pathname)||!le.isNull(_e.search))&&(_e.path=(_e.pathname?_e.pathname:"")+(_e.search?_e.search:"")),_e.href=_e.format(),_e}if(!$e.length)return _e.pathname=null,_e.search?_e.path="/"+_e.search:_e.path=null,_e.href=_e.format(),_e;for(var Me=$e.slice(-1)[0],He=(_e.host||Te.host||$e.length>1)&&(Me==="."||Me==="..")||Me==="",Ve=0,Ze=$e.length;Ze>=0;Ze--)Me=$e[Ze],Me==="."?$e.splice(Ze,1):Me===".."?($e.splice(Ze,1),Ve++):Ve&&($e.splice(Ze,1),Ve--);if(!Ye&&!gt)for(;Ve--;Ve)$e.unshift("..");Ye&&$e[0]!==""&&(!$e[0]||$e[0].charAt(0)!=="/")&&$e.unshift(""),He&&$e.join("/").substr(-1)!=="/"&&$e.push("");var Ke=$e[0]===""||$e[0]&&$e[0].charAt(0)==="/";if(Re){_e.hostname=_e.host=Ke?"":$e.length?$e.shift():"";var tt=_e.host&&_e.host.indexOf("@")>0?_e.host.split("@"):!1;tt&&(_e.auth=tt.shift(),_e.host=_e.hostname=tt.shift())}return Ye=Ye||_e.host&&$e.length,Ye&&!Ke&&$e.unshift(""),$e.length?_e.pathname=$e.join("/"):(_e.pathname=null,_e.path=null),(!le.isNull(_e.pathname)||!le.isNull(_e.search))&&(_e.path=(_e.pathname?_e.pathname:"")+(_e.search?_e.search:"")),_e.auth=Te.auth||_e.auth,_e.slashes=_e.slashes||Te.slashes,_e.href=_e.format(),_e},ce.prototype.parseHost=function(){var Te=this.host,Ee=oe.exec(Te);Ee&&(Ee=Ee[0],Ee!==":"&&(this.port=Ee.substr(1)),Te=Te.substr(0,Te.length-Ee.length)),Te&&(this.hostname=Te)}},{"./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,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/helpers/typeof"));he.exports={isString:function(le){return typeof le=="string"},isObject:function(le){return(0,re.default)(le)==="object"&&le!==null},isNull:function(le){return le===null},isNullOrUndefined:function(le){return le==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,he,fe){"use strict";E("core-js/modules/es.number.constructor.js"),fe.encodeURIComponent=function(se){try{return encodeURIComponent(se)}catch(re){return se}},fe.escape=E("escape-html"),fe.timestamp=function(re){if(re){var ie=re;return typeof ie=="string"&&(ie=Number(ie)),String(re).length===10&&(ie*=1e3),new Date(ie)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,he,fe){(function(se,re){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),le=ie(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.concat.js");var ce=E("util"),ae=E("url"),oe=E("http"),ne=E("https"),z=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function ee(ge,ve){return ge===void 0?ve:ge}function te(ge){return ge?ge.split(";")[0].trim().toLowerCase():""}function ue(ge,ve){return function(me,Se,ye){if(me)return ve(me);ge({data:Se,status:ye.statusCode,headers:ye.headers,res:ye})}}fe.TIMEOUTS=[a("300s"),a("300s")];var de=["json","text"];fe.request=function(ve,me,Se){return arguments.length===2&&typeof me=="function"&&(Se=me,me=null),typeof Se=="function"?fe.requestWithCallback(ve,me,Se):new Promise(function(ye,Pe){fe.requestWithCallback(ve,me,ue(ye,Pe))})},fe.requestWithCallback=function(ve,me,Se){if(!ve||typeof ve!="string"&&(0,le.default)(ve)!=="object"){var ye=ce.format("expect request url to be a string or a http request options, but got %j",ve);throw new Error(ye)}arguments.length===2&&typeof me=="function"&&(Se=me,me=null),me=me||{},y>=x&&(y=0);var Pe=++y;me.requestUrls=me.requestUrls||[];var we={requestId:Pe,url:ve,args:me,ctx:me.ctx};me.emitter&&me.emitter.emit("request",we),me.timeout=me.timeout||fe.TIMEOUTS,me.maxRedirects=me.maxRedirects||10,me.streaming=me.streaming||me.customResponse;var Te=Date.now(),Ee;typeof ve=="string"?(b.test(ve)||(ve="https://"+ve),Ee=ae.parse(ve)):Ee=ve;var _e=(me.type||me.method||Ee.method||"GET").toUpperCase(),Ce=Ee.port||80,Oe=oe,Ie=ee(me.agent,fe.agent),Ue=me.fixJSONCtlChars;Ee.protocol==="https:"&&(Oe=ne,Ie=ee(me.httpsAgent,fe.httpsAgent),Ee.port||(Ce=443));var je={host:Ee.hostname||Ee.host||"localhost",path:Ee.path||"/",method:_e,port:Ce,agent:Ie,headers:me.headers||{},lookup:me.lookup};Array.isArray(me.timeout)?je.requestTimeout=me.timeout[me.timeout.length-1]:typeof me.timeout!="undefined"&&(je.requestTimeout=me.timeout);var nt=me.auth||Ee.auth;nt&&(je.auth=nt);var Je=me.content||me.data,Qe=_e==="GET"||_e==="HEAD"||me.dataAsQueryString;if(!me.content&&Je&&!(typeof Je=="string"||re.isBuffer(Je)))if(Qe)Je=me.nestedQuerystring?qs.stringify(Je):querystring.stringify(Je);else{var Xe=je.headers["Content-Type"]||je.headers["content-type"];Xe||(me.contentType==="json"?Xe="application/json":Xe="application/x-www-form-urlencoded",je.headers["Content-Type"]=Xe),te(Xe)==="application/json"?Je=JSON.stringify(Je):Je=me.nestedQuerystring?qs.stringify(Je):querystring.stringify(Je)}Qe&&Je&&(je.path+=(Ee.query?"&":"?")+Je,Je=null);var ze=0;if(Je){var ke=Je.length;re.isBuffer(Je)||(ke=re.byteLength(Je)),ze=je.headers["Content-Length"]=ke}me.dataType==="json"&&(je.headers.Accept="application/json"),typeof me.beforeRequest=="function"&&me.beforeRequest(je);var Be=null,qe=null,Ye=null,gt=!1,$e=!1,We=0,Re=-1,tt=!1,Me="",He="",Ve=null;me.timing&&(Ve={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Ze(){Be&&(clearTimeout(Be),Be=null)}function Ke(){qe&&(clearTimeout(qe),qe=null)}function Ae(st,Nt,ct){if(Ke(),!Se){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Pe,se.pid,je.method,ve),st&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s stack: %s`,Date(),Pe,se.pid,st.name,st.message,st.stack);return}var pt=Se;Se=null;var Ct={};ct&&(Re=ct.statusCode,Ct=ct.headers);var Rt=Date.now()-Te;Ve&&(Ve.contentDownload=Rt),z("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Rt,We,Re,je.method,je.host,je.path,$e,Ve);var zt={status:Re,statusCode:Re,headers:Ct,size:We,aborted:tt,rt:Rt,keepAliveSocket:$e,data:Nt,requestUrls:me.requestUrls,timing:Ve,remoteAddress:Me,remotePort:He};if(st){var rn="";Ie&&typeof Ie.getCurrentStatus=="function"&&(rn=", agent status: "+JSON.stringify(Ie.getCurrentStatus())),st.message+=", "+je.method+" "+ve+" "+Re+" (connected: "+gt+", keepalive socket: "+$e+rn+`) headers: `+JSON.stringify(Ct),st.data=Nt,st.path=je.path,st.status=Re,st.headers=Ct,st.res=zt}pt(st,Nt,me.streaming?ct:zt),me.emitter&&(we.url=ve,we.socket=Ft&&Ft.connection,we.options=je,we.size=ze,me.emitter.emit("response",{requestId:Pe,error:st,ctx:me.ctx,req:we,res:zt}))}function Le(st){var Nt=null;if(me.followRedirect&&statuses.redirect[st.statusCode]){me._followRedirectCount=(me._followRedirectCount||0)+1;var ct=st.headers.location;if(!ct)Nt=new Error("Got statusCode "+st.statusCode+" but cannot resolve next location from headers"),Nt.name="FollowRedirectError";else if(me._followRedirectCount>me.maxRedirects)Nt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ve),Nt.name="MaxRedirectError";else{var pt=me.formatRedirectUrl?me.formatRedirectUrl(ve,ct):ae.resolve(ve,ct);z("Request#%d %s: `redirected` from %s to %s",Pe,je.path,ve,pt),Ke(),me.headers&&me.headers.Host&&b.test(ct)&&(me.headers.Host=null);var Ct=Se;return Se=null,fe.requestWithCallback(pt,me,Ct),{redirect:!0,error:null}}}return{redirect:!1,error:Nt}}me.gzip&&!je.headers["Accept-Encoding"]&&!je.headers["accept-encoding"]&&(je.headers["Accept-Encoding"]="gzip");function Ne(st,Nt,ct){var pt=st.headers["content-encoding"];return ct(null,Nt,pt)}var Ge=me.writeStream;z("Request#%d %s %s with headers %j, options.path: %s",Pe,_e,ve,je.headers,je.path),me.requestUrls.push(ve);function ot(st){if(Ve&&(Ve.waiting=Date.now()-Te),z("Request#%d %s `req response` event emit: status %d, headers: %j",Pe,ve,st.statusCode,st.headers),me.streaming){var Nt=Le(st);if(Nt.redirect){st.resume();return}return Nt.error?(st.resume(),Ae(Nt.error,null,st)):Ae(null,null,st)}if(st.on("close",function(){z("Request#%d %s: `res close` event emit, total size %d",Pe,ve,We)}),st.on("error",function(){z("Request#%d %s: `res error` event emit, total size %d",Pe,ve,We)}),st.on("aborted",function(){tt=!0,z("Request#%d %s: `res aborted` event emit, total size %d",Pe,ve,We)}),Ge){var ct=Le(st);if(ct.redirect){st.resume();return}return ct.error?(st.resume(),Ge.end(),Ae(ct.error,null,st)):(me.consumeWriteStream===!1?st.on("end",Ae.bind(null,null,null,st)):Ge.on("close",function(){z("Request#%d %s: writeStream close event emitted",Pe,ve),Ae(Ye||null,null,st)}),st.pipe(Ge))}var pt=[];st.on("data",function(Ct){z("Request#%d %s: `res data` event emit, size %d",Pe,ve,Ct.length),We+=Ct.length,pt.push(Ct)}),st.on("end",function(){var Ct=re.concat(pt,We);if(z("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Pe,ve,We,st._dumped),Ye)return Ae(Ye,Ct,st);var Rt=Le(st);if(Rt.error)return Ae(Rt.error,Ct,st);Rt.redirect||Ne(st,Ct,function(zt,rn,kn){if(zt)return Ae(zt,Ct,st);if(!kn&&de.indexOf(me.dataType)>=0){try{rn=decodeBodyByCharset(rn,st)}catch(Hn){return z("decodeBodyByCharset error: %s",Hn),Ae(null,rn,st)}if(me.dataType==="json")if(We===0)rn=null;else{var jn=parseJSON(rn,Ue);jn.error?zt=jn.error:rn=jn.data}}tt&&z("Request#%d %s: Remote socket was terminated before `response.end()` was called",Pe,ve),Ae(zt,rn,st)})})}var St,wt;Array.isArray(me.timeout)?(St=a(me.timeout[0]),wt=a(me.timeout[1])):St=wt=a(me.timeout),z("ConnectTimeout: %d, ResponseTimeout: %d",St,wt);function rt(){z("Connect timer ticking, timeout: %d",St),Be=setTimeout(function(){Be=null,Re===-1&&(Re=-2);var st="Connect timeout for "+St+"ms",Nt="ConnectionTimeoutError";Ft.socket||(Nt="SocketAssignTimeoutError",st+=", working sockets is full"),Ye=new Error(st),Ye.name=Nt,Ye.requestId=Pe,z("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Pe,ve,Ye.name,st,gt),$t()},St)}function bt(){z("Response timer ticking, timeout: %d",wt),qe=setTimeout(function(){qe=null;var st="Response timeout for "+wt+"ms",Nt="ResponseTimeoutError";Ye=new Error(st),Ye.name=Nt,Ye.requestId=Pe,z("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Pe,ve,Ye.name,st,gt),$t()},wt)}var Ft;je.mode=me.mode?me.mode:"";try{Ft=Oe.request(je,ot)}catch(st){return Ae(st)}typeof window=="undefined"?rt():Ft.on("requestTimeout",function(){Re===-1&&(Re=-2);var st="Connect timeout for "+St+"ms",Nt="ConnectionTimeoutError";Ye=new Error(st),Ye.name=Nt,Ye.requestId=Pe,$t()});function $t(){z("Request#%d %s abort, connected: %s",Pe,ve,gt),Ft.socket||(Ye.noSocket=!0,Ae(Ye)),Ft.abort()}return Ve&&Ft.on("finish",function(){Ve.requestSent=Date.now()-Te}),Ft.once("socket",function(st){Ve&&(Ve.queuing=Date.now()-Te);var Nt=st.readyState;if(Nt==="opening"){st.once("lookup",function(ct,pt,Ct){z("Request#%d %s lookup: %s, %s, %s",Pe,ve,ct,pt,Ct),Ve&&(Ve.dnslookup=Date.now()-Te),pt&&(Me=pt)}),st.once("connect",function(){Ve&&(Ve.connected=Date.now()-Te),Ze(),bt(),z("Request#%d %s new socket connected",Pe,ve),gt=!0,Me||(Me=st.remoteAddress),He=st.remotePort});return}z("Request#%d %s reuse socket connected, readyState: %s",Pe,ve,Nt),gt=!0,$e=!0,Me||(Me=st.remoteAddress),He=st.remotePort,Ze(),bt()}),Ft.on("error",function(st){(st.name==="Error"||st.name==="TypeError")&&(st.name=gt?"ResponseError":"RequestError"),st.message+=' (req "error")',z("Request#%d %s `req error` event emit, %s: %s",Pe,ve,st.name,st.message),Ae(Ye||st)}),Ge&&Ge.once("error",function(st){st.message+=' (writeStream "error")',Ye=st,z("Request#%d %s `writeStream error` event emit, %s: %s",Pe,ve,st.name,st.message),$t()}),me.stream?(me.stream.pipe(Ft),me.stream.once("error",function(st){st.message+=' (stream "error")',Ye=st,z("Request#%d %s `readStream error` event emit, %s: %s",Pe,ve,st.name,st.message),$t()})):Ft.end(Je),Ft.requestId=Pe,Ft}}).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(xt,ft){"use strict";function pe(){const be=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let xe=1;xe{const fe=E[he];fe!==void 0&&(be[he]=fe)})}return be}ft.Z=pe},81643:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return be}});const be=xe=>xe?typeof xe=="function"?xe():xe:null},66367:function(xt,ft,pe){"use strict";pe.d(ft,{F:function(){return be},Z:function(){return xe}});function be(E){return E!=null&&E===E.window}function xe(E,he){var fe,se;if(typeof window=="undefined")return 0;const re=he?"scrollTop":"scrollLeft";let ie=0;return be(E)?ie=E[he?"pageYOffset":"pageXOffset"]:E instanceof Document?ie=E.documentElement[re]:(E instanceof HTMLElement||E)&&(ie=E[re]),E&&!be(E)&&typeof ie!="number"&&(ie=(se=((fe=E.ownerDocument)!==null&&fe!==void 0?fe:E).documentElement)===null||se===void 0?void 0:se[re]),ie}},57838:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return xe}});var be=pe(67294);function xe(){const[,E]=be.useReducer(he=>he+1,0);return E}},58375:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return he}});var be=pe(96523);function xe(fe,se,re,ie){const le=re-se;return fe/=ie/2,fe<1?le/2*fe*fe*fe+se:le/2*((fe-=2)*fe*fe+2)+se}var E=pe(66367);function he(fe){let se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:re=()=>window,callback:ie,duration:le=450}=se,ce=re(),ae=(0,E.Z)(ce,!0),oe=Date.now(),ne=()=>{const a=Date.now()-oe,y=xe(a>le?le:a,ae,fe,le);(0,E.F)(ce)?ce.scrollTo(window.pageXOffset,y):ce instanceof Document||ce.constructor.name==="HTMLDocument"?ce.documentElement.scrollTop=y:ce.scrollTop=y,a{var ye;const{prefixCls:Pe,className:we,rootClassName:Te,children:Ee,indeterminate:_e=!1,style:Ce,onMouseEnter:Oe,onMouseLeave:Ie,skipGroup:Ue=!1,disabled:je}=me,nt=ne(me,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Je,direction:Qe,checkbox:Xe}=he.useContext(fe.E_),ze=he.useContext(le),{isFormItemInput:ke}=he.useContext(re.aM),Be=he.useContext(se.Z),qe=(ye=(ze==null?void 0:ze.disabled)||je)!==null&&ye!==void 0?ye:Be,Ye=he.useRef(nt.value);he.useEffect(()=>{ze==null||ze.registerValue(nt.value)},[]),he.useEffect(()=>{if(!Ue)return nt.value!==Ye.current&&(ze==null||ze.cancelValue(Ye.current),ze==null||ze.registerValue(nt.value),Ye.current=nt.value),()=>ze==null?void 0:ze.cancelValue(nt.value)},[nt.value]);const gt=Je("checkbox",Pe),[$e,We]=(0,ce.ZP)(gt),Re=Object.assign({},nt);ze&&!Ue&&(Re.onChange=function(){nt.onChange&&nt.onChange.apply(nt,arguments),ze.toggleOption&&ze.toggleOption({label:Ee,value:nt.value})},Re.name=ze.name,Re.checked=ze.value.includes(nt.value));const tt=xe()(`${gt}-wrapper`,{[`${gt}-rtl`]:Qe==="rtl",[`${gt}-wrapper-checked`]:Re.checked,[`${gt}-wrapper-disabled`]:qe,[`${gt}-wrapper-in-form-item`]:ke},Xe==null?void 0:Xe.className,we,Te,We),Me=xe()({[`${gt}-indeterminate`]:_e},oe.A,We),He=_e?"mixed":void 0;return $e(he.createElement(ae.Z,{component:"Checkbox",disabled:qe},he.createElement("label",{className:tt,style:Object.assign(Object.assign({},Xe==null?void 0:Xe.style),Ce),onMouseEnter:Oe,onMouseLeave:Ie},he.createElement(E.Z,Object.assign({"aria-checked":He},Re,{prefixCls:gt,className:Me,disabled:qe,ref:Se})),Ee!==void 0&&he.createElement("span",null,Ee))))};var y=he.forwardRef(z),x=pe(74902),b=pe(10366),ee=function(me,Se){var ye={};for(var Pe in me)Object.prototype.hasOwnProperty.call(me,Pe)&&Se.indexOf(Pe)<0&&(ye[Pe]=me[Pe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Pe=Object.getOwnPropertySymbols(me);we{const{defaultValue:ye,children:Pe,options:we=[],prefixCls:Te,className:Ee,rootClassName:_e,style:Ce,onChange:Oe}=me,Ie=ee(me,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ue,direction:je}=he.useContext(fe.E_),[nt,Je]=he.useState(Ie.value||ye||[]),[Qe,Xe]=he.useState([]);he.useEffect(()=>{"value"in Ie&&Je(Ie.value||[])},[Ie.value]);const ze=he.useMemo(()=>we.map(Ve=>typeof Ve=="string"||typeof Ve=="number"?{label:Ve,value:Ve}:Ve),[we]),ke=Ve=>{Xe(Ze=>Ze.filter(Ke=>Ke!==Ve))},Be=Ve=>{Xe(Ze=>[].concat((0,x.Z)(Ze),[Ve]))},qe=Ve=>{const Ze=nt.indexOf(Ve.value),Ke=(0,x.Z)(nt);Ze===-1?Ke.push(Ve.value):Ke.splice(Ze,1),"value"in Ie||Je(Ke),Oe==null||Oe(Ke.filter(Ae=>Qe.includes(Ae)).sort((Ae,Le)=>{const Ne=ze.findIndex(ot=>ot.value===Ae),Ge=ze.findIndex(ot=>ot.value===Le);return Ne-Ge}))},Ye=Ue("checkbox",Te),gt=`${Ye}-group`,[$e,We]=(0,ce.ZP)(Ye),Re=(0,b.Z)(Ie,["value","disabled"]),tt=we.length?ze.map(Ve=>he.createElement(y,{prefixCls:Ye,key:Ve.value.toString(),disabled:"disabled"in Ve?Ve.disabled:Ie.disabled,value:Ve.value,checked:nt.includes(Ve.value),onChange:Ve.onChange,className:`${gt}-item`,style:Ve.style,title:Ve.title},Ve.label)):Pe,Me={toggleOption:qe,value:nt,disabled:Ie.disabled,name:Ie.name,registerValue:Be,cancelValue:ke},He=xe()(gt,{[`${gt}-rtl`]:je==="rtl"},Ee,_e,We);return $e(he.createElement("div",Object.assign({className:He,style:Ce},Re,{ref:Se}),he.createElement(le.Provider,{value:Me},tt)))},ue=he.forwardRef(te);var de=he.memo(ue);const ge=y;ge.Group=de,ge.__ANT_CHECKBOX=!0;var ve=ge},63185:function(xt,ft,pe){"use strict";pe.d(ft,{C2:function(){return fe}});var be=pe(14747),xe=pe(45503),E=pe(67968);const he=se=>{const{checkboxCls:re}=se,ie=`${re}-wrapper`;return[{[`${re}-group`]:Object.assign(Object.assign({},(0,be.Wf)(se)),{display:"inline-flex",flexWrap:"wrap",columnGap:se.marginXS,[`> ${se.antCls}-row`]:{flex:1}}),[ie]:Object.assign(Object.assign({},(0,be.Wf)(se)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ie}`]:{marginInlineStart:0},[`&${ie}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[re]:Object.assign(Object.assign({},(0,be.Wf)(se)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:se.borderRadiusSM,alignSelf:"center",[`${re}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${re}-inner`]:Object.assign({},(0,be.oN)(se))},[`${re}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:se.checkboxSize,height:se.checkboxSize,direction:"ltr",backgroundColor:se.colorBgContainer,border:`${se.lineWidth}px ${se.lineType} ${se.colorBorder}`,borderRadius:se.borderRadiusSM,borderCollapse:"separate",transition:`all ${se.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:se.checkboxSize/14*5,height:se.checkboxSize/14*8,border:`${se.lineWidthBold}px solid ${se.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${se.motionDurationFast} ${se.motionEaseInBack}, opacity ${se.motionDurationFast}`}},"& + span":{paddingInlineStart:se.paddingXS,paddingInlineEnd:se.paddingXS}})},{[` ${ie}:not(${ie}-disabled), ${re}:not(${re}-disabled) `]:{[`&:hover ${re}-inner`]:{borderColor:se.colorPrimary}},[`${ie}:not(${ie}-disabled)`]:{[`&:hover ${re}-checked:not(${re}-disabled) ${re}-inner`]:{backgroundColor:se.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${re}-checked:not(${re}-disabled):after`]:{borderColor:se.colorPrimaryHover}}},{[`${re}-checked`]:{[`${re}-inner`]:{backgroundColor:se.colorPrimary,borderColor:se.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${se.motionDurationMid} ${se.motionEaseOutBack} ${se.motionDurationFast}`}}},[` ${ie}-checked:not(${ie}-disabled), ${re}-checked:not(${re}-disabled) `]:{[`&:hover ${re}-inner`]:{backgroundColor:se.colorPrimaryHover,borderColor:"transparent"}}},{[re]:{"&-indeterminate":{[`${re}-inner`]:{backgroundColor:se.colorBgContainer,borderColor:se.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:se.fontSizeLG/2,height:se.fontSizeLG/2,backgroundColor:se.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ie}-disabled`]:{cursor:"not-allowed"},[`${re}-disabled`]:{[`&, ${re}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${re}-inner`]:{background:se.colorBgContainerDisabled,borderColor:se.colorBorder,"&:after":{borderColor:se.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:se.colorTextDisabled},[`&${re}-indeterminate ${re}-inner::after`]:{background:se.colorTextDisabled}}}]};function fe(se,re){const ie=(0,xe.TS)(re,{checkboxCls:`.${se}`,checkboxSize:re.controlInteractiveSize});return[he(ie)]}ft.ZP=(0,E.Z)("Checkbox",(se,re)=>{let{prefixCls:ie}=re;return[fe(ie,se)]})},72565:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return ua}});var be=pe(94184),xe=pe.n(be),E=pe(1413),he=pe(97685),fe=pe(67294),se=pe(73935);function re(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ie={};function le(_t,Et){}function ce(_t,Et){}function ae(){ie={}}function oe(_t,Et,Qt){!Et&&!ie[Qt]&&(_t(!1,Qt),ie[Qt]=!0)}function ne(_t,Et){oe(le,_t,Et)}function z(_t,Et){oe(ce,_t,Et)}var a=null,y=pe(71002),x=pe(18459);function b(_t,Et,Qt){var un=fe.useRef({});return(!("value"in un.current)||Qt(un.current.condition,Et))&&(un.current.value=_t(),un.current.condition=Et),un.current.value}function ee(_t,Et){typeof _t=="function"?_t(Et):(0,y.Z)(_t)==="object"&&_t&&"current"in _t&&(_t.current=Et)}function te(){for(var _t=arguments.length,Et=new Array(_t),Qt=0;Qt<_t;Qt++)Et[Qt]=arguments[Qt];var un=Et.filter(function(Pn){return Pn});return un.length<=1?un[0]:function(Pn){Et.forEach(function(Yn){ee(Yn,Pn)})}}function ue(){for(var _t=arguments.length,Et=new Array(_t),Qt=0;Qt<_t;Qt++)Et[Qt]=arguments[Qt];return b(function(){return te.apply(void 0,Et)},Et,function(un,Pn){return un.length===Pn.length&&un.every(function(Yn,vr){return Yn===Pn[vr]})})}function de(_t){var Et,Qt,un=(0,x.isMemo)(_t)?_t.type.type:_t.type;return!(typeof un=="function"&&!((Et=un.prototype)!==null&&Et!==void 0&&Et.render)||typeof _t=="function"&&!((Qt=_t.prototype)!==null&&Qt!==void 0&&Qt.render))}var ge=fe.createContext(null),ve=ge,me=pe(74902),Se=re()?fe.useLayoutEffect:fe.useEffect,ye=Se,Pe=function(Et,Qt){var un=React.useRef(!0);Se(function(){if(!un.current)return Et()},Qt),Se(function(){return un.current=!1,function(){un.current=!0}},[])},we=[];function Te(_t,Et){var Qt=fe.useState(function(){if(!re())return null;var Ut=document.createElement("div");return Ut}),un=(0,he.Z)(Qt,1),Pn=un[0],Yn=fe.useRef(!1),vr=fe.useContext(ve),Nr=fe.useState(we),no=(0,he.Z)(Nr,2),uo=no[0],io=no[1],Bo=vr||(Yn.current?void 0:function(Ut){io(function(Yt){var dt=[Ut].concat((0,me.Z)(Yt));return dt})});function dr(){Pn.parentElement||document.body.appendChild(Pn),Yn.current=!0}function Ot(){var Ut;(Ut=Pn.parentElement)===null||Ut===void 0||Ut.removeChild(Pn),Yn.current=!1}return ye(function(){return _t?vr?vr(dr):dr():Ot(),Ot},[_t]),ye(function(){uo.length&&(uo.forEach(function(Ut){return Ut()}),io(we))},[uo]),[Pn,Bo]}function Ee(_t,Et){if(!_t)return!1;if(_t.contains)return _t.contains(Et);for(var Qt=Et;Qt;){if(Qt===_t)return!0;Qt=Qt.parentNode}return!1}var _e="data-rc-order",Ce="rc-util-key",Oe=new Map;function Ie(){var _t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Et=_t.mark;return Et?Et.startsWith("data-")?Et:"data-".concat(Et):Ce}function Ue(_t){if(_t.attachTo)return _t.attachTo;var Et=document.querySelector("head");return Et||document.body}function je(_t){return _t==="queue"?"prependQueue":_t?"prepend":"append"}function nt(_t){return Array.from((Oe.get(_t)||_t).children).filter(function(Et){return Et.tagName==="STYLE"})}function Je(_t){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!re())return null;var Qt=Et.csp,un=Et.prepend,Pn=document.createElement("style");Pn.setAttribute(_e,je(un)),Qt!=null&&Qt.nonce&&(Pn.nonce=Qt==null?void 0:Qt.nonce),Pn.innerHTML=_t;var Yn=Ue(Et),vr=Yn.firstChild;if(un){if(un==="queue"){var Nr=nt(Yn).filter(function(no){return["prepend","prependQueue"].includes(no.getAttribute(_e))});if(Nr.length)return Yn.insertBefore(Pn,Nr[Nr.length-1].nextSibling),Pn}Yn.insertBefore(Pn,vr)}else Yn.appendChild(Pn);return Pn}function Qe(_t){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Qt=Ue(Et);return nt(Qt).find(function(un){return un.getAttribute(Ie(Et))===_t})}function Xe(_t){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Qt=Qe(_t,Et);if(Qt){var un=Ue(Et);un.removeChild(Qt)}}function ze(_t,Et){var Qt=Oe.get(_t);if(!Qt||!Ee(document,Qt)){var un=Je("",Et),Pn=un.parentNode;Oe.set(_t,Pn),_t.removeChild(un)}}function ke(){Oe.clear()}function Be(_t,Et){var Qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},un=Ue(Qt);ze(un,Qt);var Pn=Qe(Et,Qt);if(Pn){var Yn,vr;if((Yn=Qt.csp)!==null&&Yn!==void 0&&Yn.nonce&&Pn.nonce!==((vr=Qt.csp)===null||vr===void 0?void 0:vr.nonce)){var Nr;Pn.nonce=(Nr=Qt.csp)===null||Nr===void 0?void 0:Nr.nonce}return Pn.innerHTML!==_t&&(Pn.innerHTML=_t),Pn}var no=Je(_t,Qt);return no.setAttribute(Ie(Qt),Et),no}var qe;function Ye(_t){if(typeof document=="undefined")return 0;if(_t||qe===void 0){var Et=document.createElement("div");Et.style.width="100%",Et.style.height="200px";var Qt=document.createElement("div"),un=Qt.style;un.position="absolute",un.top="0",un.left="0",un.pointerEvents="none",un.visibility="hidden",un.width="200px",un.height="150px",un.overflow="hidden",Qt.appendChild(Et),document.body.appendChild(Qt);var Pn=Et.offsetWidth;Qt.style.overflow="scroll";var Yn=Et.offsetWidth;Pn===Yn&&(Yn=Qt.clientWidth),document.body.removeChild(Qt),qe=Pn-Yn}return qe}function gt(_t){var Et=_t.match(/^(.*)px$/),Qt=Number(Et==null?void 0:Et[1]);return Number.isNaN(Qt)?Ye():Qt}function $e(_t){if(typeof document=="undefined"||!_t||!(_t instanceof Element))return{width:0,height:0};var Et=getComputedStyle(_t,"::-webkit-scrollbar"),Qt=Et.width,un=Et.height;return{width:gt(Qt),height:gt(un)}}function We(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Re="rc-util-locker-".concat(Date.now()),tt=0;function Me(_t){var Et=!!_t,Qt=fe.useState(function(){return tt+=1,"".concat(Re,"_").concat(tt)}),un=(0,he.Z)(Qt,1),Pn=un[0];ye(function(){if(Et){var Yn=$e(document.body).width,vr=We();Be(` html body { overflow-y: hidden; `.concat(vr?"width: calc(100% - ".concat(Yn,"px);"):"",` }`),Pn)}else Xe(Pn);return function(){Xe(Pn)}},[Et,Pn])}var He=!1;function Ve(_t){return typeof _t=="boolean"&&(He=_t),He}var Ze=function(Et){return Et===!1?!1:!re()||!Et?null:typeof Et=="string"?document.querySelector(Et):typeof Et=="function"?Et():Et},Ke=fe.forwardRef(function(_t,Et){var Qt=_t.open,un=_t.autoLock,Pn=_t.getContainer,Yn=_t.debug,vr=_t.autoDestroy,Nr=vr===void 0?!0:vr,no=_t.children,uo=fe.useState(Qt),io=(0,he.Z)(uo,2),Bo=io[0],dr=io[1],Ot=Bo||Qt;fe.useEffect(function(){(Nr||Qt)&&dr(Qt)},[Qt,Nr]);var Ut=fe.useState(function(){return Ze(Pn)}),Yt=(0,he.Z)(Ut,2),dt=Yt[0],Jt=Yt[1];fe.useEffect(function(){var wr=Ze(Pn);Jt(wr!=null?wr:null)});var vn=Te(Ot&&!dt,Yn),yn=(0,he.Z)(vn,2),Ht=yn[0],Zt=yn[1],Kt=dt!=null?dt:Ht;Me(un&&Qt&&re()&&(Kt===Ht||Kt===document.body));var Rn=null;if(no&&de(no)&&Et){var Vn=no;Rn=Vn.ref}var sr=ue(Rn,Et);if(!Ot||!re()||dt===void 0)return null;var nr=Kt===!1||Ve(),fr=no;return Et&&(fr=fe.cloneElement(no,{ref:sr})),fe.createElement(ve.Provider,{value:Zt},nr?fr:(0,se.createPortal)(fr,Kt))}),Ae=Ke,Le=Ae;function Ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ge=Ne()?fe.useLayoutEffect:fe.useEffect,ot=function(Et,Qt){var un=fe.useRef(!0);Ge(function(){return Et(un.current)},Qt),Ge(function(){return un.current=!1,function(){un.current=!0}},[])},St=function(Et,Qt){ot(function(un){if(!un)return Et()},Qt)},wt=ot,rt=fe.createContext(null),bt=fe.createContext({}),Ft=rt,$t=pe(4942),st=pe(87462),Nt=pe(62874),ct={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(Et){var Qt=Et.keyCode;if(Et.altKey&&!Et.ctrlKey||Et.metaKey||Qt>=ct.F1&&Qt<=ct.F12)return!1;switch(Qt){case ct.ALT:case ct.CAPS_LOCK:case ct.CONTEXT_MENU:case ct.CTRL:case ct.DOWN:case ct.END:case ct.ESC:case ct.HOME:case ct.INSERT:case ct.LEFT:case ct.MAC_FF_META:case ct.META:case ct.NUMLOCK:case ct.NUM_CENTER:case ct.PAGE_DOWN:case ct.PAGE_UP:case ct.PAUSE:case ct.PRINT_SCREEN:case ct.RIGHT:case ct.SHIFT:case ct.UP:case ct.WIN_KEY:case ct.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Et){if(Et>=ct.ZERO&&Et<=ct.NINE||Et>=ct.NUM_ZERO&&Et<=ct.NUM_MULTIPLY||Et>=ct.A&&Et<=ct.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Et===0)return!0;switch(Et){case ct.SPACE:case ct.QUESTION_MARK:case ct.NUM_PLUS:case ct.NUM_MINUS:case ct.NUM_PERIOD:case ct.NUM_DIVISION:case ct.SEMICOLON:case ct.DASH:case ct.EQUALS:case ct.COMMA:case ct.PERIOD:case ct.SLASH:case ct.APOSTROPHE:case ct.SINGLE_QUOTE:case ct.OPEN_SQUARE_BRACKET:case ct.BACKSLASH:case ct.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},pt=ct,Ct=`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`,Rt=`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`,zt="".concat(Ct," ").concat(Rt).split(/[\s\n]+/),rn="aria-",kn="data-";function jn(_t,Et){return _t.indexOf(Et)===0}function Hn(_t){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qt;Et===!1?Qt={aria:!0,data:!0,attr:!0}:Et===!0?Qt={aria:!0}:Qt=(0,E.Z)({},Et);var un={};return Object.keys(_t).forEach(function(Pn){(Qt.aria&&(Pn==="role"||jn(Pn,rn))||Qt.data&&jn(Pn,kn)||Qt.attr&&zt.includes(Pn))&&(un[Pn]=_t[Pn])}),un}function Pr(_t){var Et=React.useRef();Et.current=_t;var Qt=React.useCallback(function(){for(var un,Pn=arguments.length,Yn=new Array(Pn),vr=0;vr3&&arguments[3]!==void 0?arguments[3]:!1;return Et.length&&un&&Qt===void 0&&!get(_t,Et.slice(0,-1))?_t:Ln(_t,Et,Qt,un)}function lr(_t){return _typeof(_t)==="object"&&_t!==null&&Object.getPrototypeOf(_t)===Object.prototype}function er(_t){return Array.isArray(_t)?[]:{}}var Wr=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Br(){for(var _t=arguments.length,Et=new Array(_t),Qt=0;Qt<_t;Qt++)Et[Qt]=arguments[Qt];var un=er(Et[0]);return Et.forEach(function(Pn){function Yn(vr,Nr){var no=new Set(Nr),uo=get(Pn,vr),io=Array.isArray(uo);if(io||lr(uo)){if(!no.has(uo)){no.add(uo);var Bo=get(un,vr);io?un=Wn(un,vr,[]):(!Bo||_typeof(Bo)!=="object")&&(un=Wn(un,vr,er(uo))),Wr(uo).forEach(function(dr){Yn([].concat(_toConsumableArray(vr),[dr]),no)})}}else un=Wn(un,vr,uo)}Yn([])}),un}var cr={},Mt=[],jt=function(Et){Mt.push(Et)};function Tt(_t,Et){if(0)var Qt}function wn(_t,Et){if(0)var Qt}function zn(){cr={}}function $n(_t,Et,Qt){!Et&&!cr[Qt]&&(_t(!1,Qt),cr[Qt]=!0)}function _r(_t,Et){$n(Tt,_t,Et)}function mr(_t,Et){$n(wn,_t,Et)}_r.preMessage=jt,_r.resetWarned=zn,_r.noteOnce=mr;var Lr=_r,ao=function(Et){var Qt=Et.prefixCls,un=Et.className,Pn=Et.style,Yn=Et.children,vr=Et.containerRef,Nr=Et.id,no=Et.onMouseEnter,uo=Et.onMouseOver,io=Et.onMouseLeave,Bo=Et.onClick,dr=Et.onKeyDown,Ot=Et.onKeyUp,Ut={onMouseEnter:no,onMouseOver:uo,onMouseLeave:io,onClick:Bo,onKeyDown:dr,onKeyUp:Ot},Yt=fe.useContext(bt),dt=Yt.panel,Jt=Sn(dt,vr);return fe.createElement(fe.Fragment,null,fe.createElement("div",(0,st.Z)({id:Nr,className:xe()("".concat(Qt,"-content"),un),style:(0,E.Z)({},Pn),"aria-modal":"true",role:"dialog",ref:Jt},Ut),Yn))},vo=ao;function Cn(_t){return typeof _t=="string"&&String(Number(_t))===_t?(Lr(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(_t)):_t}function Kr(_t){warning(!("wrapperClassName"in _t),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!_t.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var At={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function an(_t,Et){var Qt,un,Pn,Yn,vr=_t.prefixCls,Nr=_t.open,no=_t.placement,uo=_t.inline,io=_t.push,Bo=_t.forceRender,dr=_t.autoFocus,Ot=_t.keyboard,Ut=_t.rootClassName,Yt=_t.rootStyle,dt=_t.zIndex,Jt=_t.className,vn=_t.id,yn=_t.style,Ht=_t.motion,Zt=_t.width,Kt=_t.height,Rn=_t.children,Vn=_t.contentWrapperStyle,sr=_t.mask,nr=_t.maskClosable,fr=_t.maskMotion,wr=_t.maskClassName,Tn=_t.maskStyle,Vt=_t.afterOpenChange,gn=_t.onClose,On=_t.onMouseEnter,Jn=_t.onMouseOver,Sr=_t.onMouseLeave,Rr=_t.onClick,ro=_t.onKeyDown,Or=_t.onKeyUp,ut=fe.useRef(),it=fe.useRef(),Pt=fe.useRef();fe.useImperativeHandle(Et,function(){return ut.current});var Bt=function(Uo){var fo=Uo.keyCode,Wo=Uo.shiftKey;switch(fo){case pt.TAB:{if(fo===pt.TAB){if(!Wo&&document.activeElement===Pt.current){var sa;(sa=it.current)===null||sa===void 0||sa.focus({preventScroll:!0})}else if(Wo&&document.activeElement===it.current){var Ua;(Ua=Pt.current)===null||Ua===void 0||Ua.focus({preventScroll:!0})}}break}case pt.ESC:{gn&&Ot&&(Uo.stopPropagation(),gn(Uo));break}}};fe.useEffect(function(){if(Nr&&dr){var Hr;(Hr=ut.current)===null||Hr===void 0||Hr.focus({preventScroll:!0})}},[Nr]);var Gt=fe.useState(!1),sn=(0,he.Z)(Gt,2),_n=sn[0],Mn=sn[1],Fn=fe.useContext(Ft),Kn;io===!1?Kn={distance:0}:io===!0?Kn={}:Kn=io||{};var gr=(Qt=(un=(Pn=Kn)===null||Pn===void 0?void 0:Pn.distance)!==null&&un!==void 0?un:Fn==null?void 0:Fn.pushDistance)!==null&&Qt!==void 0?Qt:180,hr=fe.useMemo(function(){return{pushDistance:gr,push:function(){Mn(!0)},pull:function(){Mn(!1)}}},[gr]);fe.useEffect(function(){if(Nr){var Hr;Fn==null||(Hr=Fn.push)===null||Hr===void 0||Hr.call(Fn)}else{var Uo;Fn==null||(Uo=Fn.pull)===null||Uo===void 0||Uo.call(Fn)}},[Nr]),fe.useEffect(function(){return function(){var Hr;Fn==null||(Hr=Fn.pull)===null||Hr===void 0||Hr.call(Fn)}},[]);var so=sr&&fe.createElement(Nt.Z,(0,st.Z)({key:"mask"},fr,{visible:Nr}),function(Hr,Uo){var fo=Hr.className,Wo=Hr.style;return fe.createElement("div",{className:xe()("".concat(vr,"-mask"),fo,wr),style:(0,E.Z)((0,E.Z)({},Wo),Tn),onClick:nr&&Nr?gn:void 0,ref:Uo})}),co=typeof Ht=="function"?Ht(no):Ht,qr={};if(_n&&gr)switch(no){case"top":qr.transform="translateY(".concat(gr,"px)");break;case"bottom":qr.transform="translateY(".concat(-gr,"px)");break;case"left":qr.transform="translateX(".concat(gr,"px)");break;default:qr.transform="translateX(".concat(-gr,"px)");break}no==="left"||no==="right"?qr.width=Cn(Zt):qr.height=Cn(Kt);var po={onMouseEnter:On,onMouseOver:Jn,onMouseLeave:Sr,onClick:Rr,onKeyDown:ro,onKeyUp:Or},Mo=fe.createElement(Nt.Z,(0,st.Z)({key:"panel"},co,{visible:Nr,forceRender:Bo,onVisibleChanged:function(Uo){Vt==null||Vt(Uo)},removeOnLeave:!1,leavedClassName:"".concat(vr,"-content-wrapper-hidden")}),function(Hr,Uo){var fo=Hr.className,Wo=Hr.style;return fe.createElement("div",(0,st.Z)({className:xe()("".concat(vr,"-content-wrapper"),fo),style:(0,E.Z)((0,E.Z)((0,E.Z)({},qr),Wo),Vn)},Hn(_t,{data:!0})),fe.createElement(vo,(0,st.Z)({id:vn,containerRef:Uo,prefixCls:vr,className:Jt,style:yn},po),Rn))}),Io=(0,E.Z)({},Yt);return dt&&(Io.zIndex=dt),fe.createElement(Ft.Provider,{value:hr},fe.createElement("div",{className:xe()(vr,"".concat(vr,"-").concat(no),Ut,(Yn={},(0,$t.Z)(Yn,"".concat(vr,"-open"),Nr),(0,$t.Z)(Yn,"".concat(vr,"-inline"),uo),Yn)),style:Io,tabIndex:-1,ref:ut,onKeyDown:Bt},so,fe.createElement("div",{tabIndex:0,ref:it,style:At,"aria-hidden":"true","data-sentinel":"start"}),Mo,fe.createElement("div",{tabIndex:0,ref:Pt,style:At,"aria-hidden":"true","data-sentinel":"end"})))}var qt=fe.forwardRef(an),on=qt,In=function(Et){var Qt=Et.open,un=Qt===void 0?!1:Qt,Pn=Et.prefixCls,Yn=Pn===void 0?"rc-drawer":Pn,vr=Et.placement,Nr=vr===void 0?"right":vr,no=Et.autoFocus,uo=no===void 0?!0:no,io=Et.keyboard,Bo=io===void 0?!0:io,dr=Et.width,Ot=dr===void 0?378:dr,Ut=Et.mask,Yt=Ut===void 0?!0:Ut,dt=Et.maskClosable,Jt=dt===void 0?!0:dt,vn=Et.getContainer,yn=Et.forceRender,Ht=Et.afterOpenChange,Zt=Et.destroyOnClose,Kt=Et.onMouseEnter,Rn=Et.onMouseOver,Vn=Et.onMouseLeave,sr=Et.onClick,nr=Et.onKeyDown,fr=Et.onKeyUp,wr=Et.panelRef,Tn=fe.useState(!1),Vt=(0,he.Z)(Tn,2),gn=Vt[0],On=Vt[1],Jn=fe.useState(!1),Sr=(0,he.Z)(Jn,2),Rr=Sr[0],ro=Sr[1];wt(function(){ro(!0)},[]);var Or=Rr?un:!1,ut=fe.useRef(),it=fe.useRef();wt(function(){Or&&(it.current=document.activeElement)},[Or]);var Pt=function(Mn){var Fn;if(On(Mn),Ht==null||Ht(Mn),!Mn&&it.current&&!((Fn=ut.current)!==null&&Fn!==void 0&&Fn.contains(it.current))){var Kn;(Kn=it.current)===null||Kn===void 0||Kn.focus({preventScroll:!0})}},Bt=fe.useMemo(function(){return{panel:wr}},[wr]);if(!yn&&!gn&&!Or&&Zt)return null;var Gt={onMouseEnter:Kt,onMouseOver:Rn,onMouseLeave:Vn,onClick:sr,onKeyDown:nr,onKeyUp:fr},sn=(0,E.Z)((0,E.Z)({},Et),{},{open:Or,prefixCls:Yn,placement:Nr,autoFocus:uo,keyboard:Bo,width:Ot,mask:Yt,maskClosable:Jt,inline:vn===!1,afterOpenChange:Pt,ref:ut},Gt);return fe.createElement(bt.Provider,{value:Bt},fe.createElement(Le,{open:Or||yn||gn,autoDestroy:!1,getContainer:vn,autoLock:Yt&&(Or||gn)},fe.createElement(on,sn)))},tn=In,An=tn,cn=pe(33603),xr=pe(53124),ur=pe(65223),Ur=pe(69760),xo=_t=>{const{prefixCls:Et,title:Qt,footer:un,extra:Pn,closeIcon:Yn,closable:vr,onClose:Nr,headerStyle:no,drawerStyle:uo,bodyStyle:io,footerStyle:Bo,children:dr}=_t,Ot=fe.useCallback(vn=>fe.createElement("button",{type:"button",onClick:Nr,"aria-label":"Close",className:`${Et}-close`},vn),[Nr]),[Ut,Yt]=(0,Ur.Z)(vr,Yn,Ot,void 0,!0),dt=fe.useMemo(()=>!Qt&&!Ut?null:fe.createElement("div",{style:no,className:xe()(`${Et}-header`,{[`${Et}-header-close-only`]:Ut&&!Qt&&!Pn})},fe.createElement("div",{className:`${Et}-header-title`},Yt,Qt&&fe.createElement("div",{className:`${Et}-title`},Qt)),Pn&&fe.createElement("div",{className:`${Et}-extra`},Pn)),[Ut,Yt,Pn,no,Et,Qt]),Jt=fe.useMemo(()=>{if(!un)return null;const vn=`${Et}-footer`;return fe.createElement("div",{className:vn,style:Bo},un)},[un,Bo,Et]);return fe.createElement("div",{className:`${Et}-wrapper-body`,style:uo},dt,fe.createElement("div",{className:`${Et}-body`,style:io},dr),Jt)},dn=pe(4173),Ro=pe(67968),ea=pe(45503),ta=_t=>{const{componentCls:Et,motionDurationSlow:Qt}=_t,un={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Qt}`}}};return{[Et]:{[`${Et}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Qt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Et}-panel-motion`]:{"&-left":[un,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[un,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[un,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[un,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Dn=_t=>{const{componentCls:Et,zIndexPopup:Qt,colorBgMask:un,colorBgElevated:Pn,motionDurationSlow:Yn,motionDurationMid:vr,padding:Nr,paddingLG:no,fontSizeLG:uo,lineHeightLG:io,lineWidth:Bo,lineType:dr,colorSplit:Ot,marginSM:Ut,colorIcon:Yt,colorIconHover:dt,colorText:Jt,fontWeightStrong:vn,footerPaddingBlock:yn,footerPaddingInline:Ht}=_t,Zt=`${Et}-content-wrapper`;return{[Et]:{position:"fixed",inset:0,zIndex:Qt,pointerEvents:"none","&-pure":{position:"relative",background:Pn,[`&${Et}-left`]:{boxShadow:_t.boxShadowDrawerLeft},[`&${Et}-right`]:{boxShadow:_t.boxShadowDrawerRight},[`&${Et}-top`]:{boxShadow:_t.boxShadowDrawerUp},[`&${Et}-bottom`]:{boxShadow:_t.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Et}-mask`]:{position:"absolute",inset:0,zIndex:Qt,background:un,pointerEvents:"auto"},[Zt]:{position:"absolute",zIndex:Qt,maxWidth:"100vw",transition:`all ${Yn}`,"&-hidden":{display:"none"}},[`&-left > ${Zt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:_t.boxShadowDrawerLeft},[`&-right > ${Zt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:_t.boxShadowDrawerRight},[`&-top > ${Zt}`]:{top:0,insetInline:0,boxShadow:_t.boxShadowDrawerUp},[`&-bottom > ${Zt}`]:{bottom:0,insetInline:0,boxShadow:_t.boxShadowDrawerDown},[`${Et}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Pn,pointerEvents:"auto"},[`${Et}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Et}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Nr}px ${no}px`,fontSize:uo,lineHeight:io,borderBottom:`${Bo}px ${dr} ${Ot}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Et}-extra`]:{flex:"none"},[`${Et}-close`]:{display:"inline-block",marginInlineEnd:Ut,color:Yt,fontWeight:vn,fontSize:uo,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${vr}`,textRendering:"auto","&:focus, &:hover":{color:dt,textDecoration:"none"}},[`${Et}-title`]:{flex:1,margin:0,color:Jt,fontWeight:_t.fontWeightStrong,fontSize:uo,lineHeight:io},[`${Et}-body`]:{flex:1,minWidth:0,minHeight:0,padding:no,overflow:"auto"},[`${Et}-footer`]:{flexShrink:0,padding:`${yn}px ${Ht}px`,borderTop:`${Bo}px ${dr} ${Ot}`},"&-rtl":{direction:"rtl"}}}};var ar=(0,Ro.Z)("Drawer",_t=>{const Et=(0,ea.TS)(_t,{});return[Dn(Et),ta(Et)]},_t=>({zIndexPopup:_t.zIndexPopupBase,footerPaddingBlock:_t.paddingXS,footerPaddingInline:_t.padding})),Ir=pe(16569),Bn=function(_t,Et){var Qt={};for(var un in _t)Object.prototype.hasOwnProperty.call(_t,un)&&Et.indexOf(un)<0&&(Qt[un]=_t[un]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,un=Object.getOwnPropertySymbols(_t);Pn{var Et;const{rootClassName:Qt,width:un,height:Pn,size:Yn="default",mask:vr=!0,push:Nr=lo,open:no,afterOpenChange:uo,onClose:io,prefixCls:Bo,getContainer:dr,style:Ot,className:Ut,visible:Yt,afterVisibleChange:dt}=_t,Jt=Bn(_t,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:vn,getPrefixCls:yn,direction:Ht,drawer:Zt}=fe.useContext(xr.E_),Kt=yn("drawer",Bo),[Rn,Vn]=ar(Kt),sr=dr===void 0&&vn?()=>vn(document.body):dr,nr=xe()({"no-mask":!vr,[`${Kt}-rtl`]:Ht==="rtl"},Qt,Vn),fr=fe.useMemo(()=>un!=null?un:Yn==="large"?736:378,[un,Yn]),wr=fe.useMemo(()=>Pn!=null?Pn:Yn==="large"?736:378,[Pn,Yn]),Tn={motionName:(0,cn.m)(Kt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Vt=On=>({motionName:(0,cn.m)(Kt,`panel-motion-${On}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),gn=(0,Ir.H)();return Rn(fe.createElement(dn.BR,null,fe.createElement(ur.Ux,{status:!0,override:!0},fe.createElement(An,Object.assign({prefixCls:Kt,onClose:io,maskMotion:Tn,motion:Vt},Jt,{open:no!=null?no:Yt,mask:vr,push:Nr,width:fr,height:wr,style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),Ot),className:xe()(Zt==null?void 0:Zt.className,Ut),rootClassName:nr,getContainer:sr,afterOpenChange:uo!=null?uo:dt,panelRef:gn}),fe.createElement(xo,Object.assign({prefixCls:Kt},Jt,{onClose:io}))))))},ca=_t=>{const{prefixCls:Et,style:Qt,className:un,placement:Pn="right"}=_t,Yn=Bn(_t,["prefixCls","style","className","placement"]),{getPrefixCls:vr}=fe.useContext(xr.E_),Nr=vr("drawer",Et),[no,uo]=ar(Nr),io=xe()(Nr,`${Nr}-pure`,`${Nr}-${Pn}`,uo,un);return no(fe.createElement("div",{className:io,style:Qt},fe.createElement(xo,Object.assign({prefixCls:Nr},Yn))))};ia._InternalPanelDoNotUseOrYouWillBeFired=ca;var ua=ia},56153:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return xs}});var be=pe(67294),xe=pe.t(be,2),E=pe(91034),he=pe(94184),fe=pe.n(he),se=pe(87462),re=pe(4942),ie=pe(97685),le=pe(45987),ce=pe(1413),ae=pe(73935);function oe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ne={};function z(at,vt){}function a(at,vt){}function y(){ne={}}function x(at,vt,mt){!vt&&!ne[mt]&&(at(!1,mt),ne[mt]=!0)}function b(at,vt){x(z,at,vt)}function ee(at,vt){x(a,at,vt)}var te=null,ue=pe(71002),de=pe(12060);function ge(at,vt,mt){var kt=be.useRef({});return(!("value"in kt.current)||mt(kt.current.condition,vt))&&(kt.current.value=at(),kt.current.condition=vt),kt.current.value}function ve(at,vt){typeof at=="function"?at(vt):(0,ue.Z)(at)==="object"&&at&&"current"in at&&(at.current=vt)}function me(){for(var at=arguments.length,vt=new Array(at),mt=0;mt0&&arguments[0]!==void 0?arguments[0]:{},vt=at.mark;return vt?vt.startsWith("data-")?vt:"data-".concat(vt):nt}function Xe(at){if(at.attachTo)return at.attachTo;var vt=document.querySelector("head");return vt||document.body}function ze(at){return at==="queue"?"prependQueue":at?"prepend":"append"}function ke(at){return Array.from((Je.get(at)||at).children).filter(function(vt){return vt.tagName==="STYLE"})}function Be(at){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!oe())return null;var mt=vt.csp,kt=vt.prepend,en=document.createElement("style");en.setAttribute(je,ze(kt)),mt!=null&&mt.nonce&&(en.nonce=mt==null?void 0:mt.nonce),en.innerHTML=at;var bn=Xe(vt),En=bn.firstChild;if(kt){if(kt==="queue"){var Gn=ke(bn).filter(function(Nn){return["prepend","prependQueue"].includes(Nn.getAttribute(je))});if(Gn.length)return bn.insertBefore(en,Gn[Gn.length-1].nextSibling),en}bn.insertBefore(en,En)}else bn.appendChild(en);return en}function qe(at){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mt=Xe(vt);return ke(mt).find(function(kt){return kt.getAttribute(Qe(vt))===at})}function Ye(at){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mt=qe(at,vt);if(mt){var kt=Xe(vt);kt.removeChild(mt)}}function gt(at,vt){var mt=Je.get(at);if(!mt||!Ue(document,mt)){var kt=Be("",vt),en=kt.parentNode;Je.set(at,en),at.removeChild(kt)}}function $e(){Je.clear()}function We(at,vt){var mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},kt=Xe(mt);gt(kt,mt);var en=qe(vt,mt);if(en){var bn,En;if((bn=mt.csp)!==null&&bn!==void 0&&bn.nonce&&en.nonce!==((En=mt.csp)===null||En===void 0?void 0:En.nonce)){var Gn;en.nonce=(Gn=mt.csp)===null||Gn===void 0?void 0:Gn.nonce}return en.innerHTML!==at&&(en.innerHTML=at),en}var Nn=Be(at,mt);return Nn.setAttribute(Qe(mt),vt),Nn}var Re;function tt(at){if(typeof document=="undefined")return 0;if(at||Re===void 0){var vt=document.createElement("div");vt.style.width="100%",vt.style.height="200px";var mt=document.createElement("div"),kt=mt.style;kt.position="absolute",kt.top="0",kt.left="0",kt.pointerEvents="none",kt.visibility="hidden",kt.width="200px",kt.height="150px",kt.overflow="hidden",mt.appendChild(vt),document.body.appendChild(mt);var en=vt.offsetWidth;mt.style.overflow="scroll";var bn=vt.offsetWidth;en===bn&&(bn=mt.clientWidth),document.body.removeChild(mt),Re=en-bn}return Re}function Me(at){var vt=at.match(/^(.*)px$/),mt=Number(vt==null?void 0:vt[1]);return Number.isNaN(mt)?tt():mt}function He(at){if(typeof document=="undefined"||!at||!(at instanceof Element))return{width:0,height:0};var vt=getComputedStyle(at,"::-webkit-scrollbar"),mt=vt.width,kt=vt.height;return{width:Me(mt),height:Me(kt)}}function Ve(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Ze="rc-util-locker-".concat(Date.now()),Ke=0;function Ae(at){var vt=!!at,mt=be.useState(function(){return Ke+=1,"".concat(Ze,"_").concat(Ke)}),kt=(0,ie.Z)(mt,1),en=kt[0];_e(function(){if(vt){var bn=He(document.body).width,En=Ve();We(` html body { overflow-y: hidden; `.concat(En?"width: calc(100% - ".concat(bn,"px);"):"",` }`),en)}else Ye(en);return function(){Ye(en)}},[vt,en])}var Le=!1;function Ne(at){return typeof at=="boolean"&&(Le=at),Le}var Ge=function(vt){return vt===!1?!1:!oe()||!vt?null:typeof vt=="string"?document.querySelector(vt):typeof vt=="function"?vt():vt},ot=be.forwardRef(function(at,vt){var mt=at.open,kt=at.autoLock,en=at.getContainer,bn=at.debug,En=at.autoDestroy,Gn=En===void 0?!0:En,Nn=at.children,ir=be.useState(mt),Dr=(0,ie.Z)(ir,2),tr=Dr[0],Fr=Dr[1],Mr=tr||mt;be.useEffect(function(){(Gn||mt)&&Fr(mt)},[mt,Gn]);var eo=be.useState(function(){return Ge(en)}),Zo=(0,ie.Z)(eo,2),Do=Zo[0],Vo=Zo[1];be.useEffect(function(){var Ba=Ge(en);Vo(Ba!=null?Ba:null)});var Ho=Ie(Mr&&!Do,bn),Oo=(0,ie.Z)(Ho,2),Vr=Oo[0],Oa=Oo[1],wa=Do!=null?Do:Vr;Ae(kt&&mt&&oe()&&(wa===Vr||wa===document.body));var Aa=null;if(Nn&&ye(Nn)&&vt){var Fa=Nn;Aa=Fa.ref}var ii=Se(Aa,vt);if(!Mr||!oe()||Do===void 0)return null;var pa=wa===!1||Ne(),ra=Nn;return vt&&(ra=be.cloneElement(Nn,{ref:ii})),be.createElement(we.Provider,{value:Oa},pa?ra:(0,ae.createPortal)(ra,wa))}),St=ot,wt=St,rt=pe(48555);function bt(at){return at instanceof HTMLElement||at instanceof SVGElement}function Ft(at){return bt(at)?at:at instanceof React.Component?ReactDOM.findDOMNode(at):null}function $t(at){var vt;return at==null||(vt=at.getRootNode)===null||vt===void 0?void 0:vt.call(at)}function st(at){return $t(at)instanceof ShadowRoot}function Nt(at){return st(at)?$t(at):null}function ct(at){var vt=be.useRef();vt.current=at;var mt=be.useCallback(function(){for(var kt,en=arguments.length,bn=new Array(en),En=0;En0&&arguments[0]!==void 0?arguments[0]:[],vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],mt=arguments.length>2?arguments[2]:void 0;return mt?at[0]===vt[0]:at[0]===vt[0]&&at[1]===vt[1]}function ln(at,vt,mt,kt){for(var en=mt.points,bn=Object.keys(at),En=0;En1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(at)?vt:at}function er(at){return lr(parseFloat(at),0)}function Wr(at,vt){var mt=(0,ce.Z)({},at);return(vt||[]).forEach(function(kt){if(!(kt instanceof HTMLBodyElement||kt instanceof HTMLHtmlElement)){var en=Ln(kt).getComputedStyle(kt),bn=en.overflow,En=en.overflowClipMargin,Gn=en.borderTopWidth,Nn=en.borderBottomWidth,ir=en.borderLeftWidth,Dr=en.borderRightWidth,tr=kt.getBoundingClientRect(),Fr=kt.offsetHeight,Mr=kt.clientHeight,eo=kt.offsetWidth,Zo=kt.clientWidth,Do=er(Gn),Vo=er(Nn),Ho=er(ir),Oo=er(Dr),Vr=lr(Math.round(tr.width/eo*1e3)/1e3),Oa=lr(Math.round(tr.height/Fr*1e3)/1e3),wa=(eo-Zo-Ho-Oo)*Vr,Aa=(Fr-Mr-Do-Vo)*Oa,Fa=Do*Oa,ii=Vo*Oa,pa=Ho*Vr,ra=Oo*Vr,Ba=0,Ka=0;if(bn==="clip"){var Ca=er(En);Ba=Ca*Vr,Ka=Ca*Oa}var Qo=tr.x+pa-Ba,ma=tr.y+Fa-Ka,jo=Qo+tr.width+2*Ba-pa-ra-wa,ei=ma+tr.height+2*Ka-Fa-ii-Aa;mt.left=Math.max(mt.left,Qo),mt.top=Math.max(mt.top,ma),mt.right=Math.min(mt.right,jo),mt.bottom=Math.min(mt.bottom,ei)}}),mt}function Br(at){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,mt="".concat(vt),kt=mt.match(/^(.*)\%$/);return kt?at*(parseFloat(kt[1])/100):parseFloat(mt)}function cr(at,vt){var mt=vt||[],kt=(0,ie.Z)(mt,2),en=kt[0],bn=kt[1];return[Br(at.width,en),Br(at.height,bn)]}function Mt(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[at[0],at[1]]}function jt(at,vt){var mt=vt[0],kt=vt[1],en,bn;return mt==="t"?bn=at.y:mt==="b"?bn=at.y+at.height:bn=at.y+at.height/2,kt==="l"?en=at.x:kt==="r"?en=at.x+at.width:en=at.x+at.width/2,{x:en,y:bn}}function Tt(at,vt){var mt={t:"b",b:"t",l:"r",r:"l"};return at.map(function(kt,en){return en===vt?mt[kt]||"c":kt}).join("")}function wn(at,vt,mt,kt,en,bn,En){var Gn=be.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:en[kt]||{}}),Nn=(0,ie.Z)(Gn,2),ir=Nn[0],Dr=Nn[1],tr=be.useRef(0),Fr=be.useMemo(function(){return vt?Wn(vt):[]},[vt]),Mr=be.useRef({}),eo=function(){Mr.current={}};at||eo();var Zo=ct(function(){if(vt&&mt&&at){let zr=function(yo,Gr){var _o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:oi,Fo=fa.x+yo,la=fa.y+Gr,Xo=Fo+va,Ia=la+Qa,ja=Math.max(Fo,_o.left),Co=Math.max(la,_o.top),Za=Math.min(Xo,_o.right),qn=Math.min(Ia,_o.bottom);return Math.max(0,(Za-ja)*(qn-Co))},bo=function(){hs=fa.y+_a,Os=hs+Qa,As=fa.x+si,Rs=As+va};var Ho,Oo,Vr=vt,Oa=Vr.ownerDocument,wa=Ln(Vr),Aa=wa.getComputedStyle(Vr),Fa=Aa.width,ii=Aa.height,pa=Aa.position,ra=Vr.style.left,Ba=Vr.style.top,Ka=Vr.style.right,Ca=Vr.style.bottom,Qo=(0,ce.Z)((0,ce.Z)({},en[kt]),bn),ma=Oa.createElement("div");(Ho=Vr.parentElement)===null||Ho===void 0||Ho.appendChild(ma),ma.style.left="".concat(Vr.offsetLeft,"px"),ma.style.top="".concat(Vr.offsetTop,"px"),ma.style.position=pa,ma.style.height="".concat(Vr.offsetHeight,"px"),ma.style.width="".concat(Vr.offsetWidth,"px"),Vr.style.left="0",Vr.style.top="0",Vr.style.right="auto",Vr.style.bottom="auto";var jo;if(Array.isArray(mt))jo={x:mt[0],y:mt[1],width:0,height:0};else{var ei=mt.getBoundingClientRect();jo={x:ei.x,y:ei.y,width:ei.width,height:ei.height}}var fa=Vr.getBoundingClientRect(),ri=Oa.documentElement,Ei=ri.clientWidth,ui=ri.clientHeight,ji=ri.scrollWidth,Ni=ri.scrollHeight,ga=ri.scrollTop,Oi=ri.scrollLeft,Qa=fa.height,va=fa.width,qa=jo.height,xi=jo.width,ts={left:0,top:0,right:Ei,bottom:ui},bs={left:-Oi,top:-ga,right:ji-Oi,bottom:Ni-ga},pi=Qo.htmlRegion,bi="visible",Zi="visibleFirst";pi!=="scroll"&&pi!==Zi&&(pi=bi);var Pi=pi===Zi,Ea=Wr(bs,Fr),Ao=Wr(ts,Fr),oi=pi===bi?Ao:Ea,Ai=Pi?Ao:oi;Vr.style.left="auto",Vr.style.top="auto",Vr.style.right="0",Vr.style.bottom="0";var ns=Vr.getBoundingClientRect();Vr.style.left=ra,Vr.style.top=Ba,Vr.style.right=Ka,Vr.style.bottom=Ca,(Oo=Vr.parentElement)===null||Oo===void 0||Oo.removeChild(ma);var _s=lr(Math.round(va/parseFloat(Fa)*1e3)/1e3),Vi=lr(Math.round(Qa/parseFloat(ii)*1e3)/1e3);if(_s===0||Vi===0||bt(mt)&&!mo(mt))return;var Ns=Qo.offset,Qs=Qo.targetOffset,Xi=cr(fa,Ns),il=(0,ie.Z)(Xi,2),Yi=il[0],rs=il[1],el=cr(jo,Qs),os=(0,ie.Z)(el,2),sl=os[0],ll=os[1];jo.x-=sl,jo.y-=ll;var Gs=Qo.points||[],Di=(0,ie.Z)(Gs,2),Ts=Di[0],cl=Di[1],Ps=Mt(cl),ki=Mt(Ts),ul=jt(jo,Ps),$s=jt(fa,ki),Ls=(0,ce.Z)({},Qo),si=ul.x-$s.x+Yi,_a=ul.y-$s.y+rs,as=zr(si,_a),gs=zr(si,_a,Ao),Ws=jt(jo,["t","l"]),tl=jt(fa,["t","l"]),Ks=jt(jo,["b","r"]),Ji=jt(fa,["b","r"]),Ds=Qo.overflow||{},dl=Ds.adjustX,Zs=Ds.adjustY,nl=Ds.shiftX,Vs=Ds.shiftY,rl=function(Gr){return typeof Gr=="boolean"?Gr:Gr>=0},hs,Os,As,Rs;bo();var Xs=rl(Zs),ol=ki[0]===Ps[0];if(Xs&&ki[0]==="t"&&(Os>Ai.bottom||Mr.current.bt)){var is=_a;ol?is-=Qa-qa:is=Ws.y-Ji.y-rs;var $i=zr(si,is),Fi=zr(si,is,Ao);$i>as||$i===as&&(!Pi||Fi>=gs)?(Mr.current.bt=!0,_a=is,rs=-rs,Ls.points=[Tt(ki,0),Tt(Ps,0)]):Mr.current.bt=!1}if(Xs&&ki[0]==="b"&&(hsas||De===as&&(!Pi||Fe>=gs)?(Mr.current.tb=!0,_a=Ms,rs=-rs,Ls.points=[Tt(ki,0),Tt(Ps,0)]):Mr.current.tb=!1}var et=rl(dl),lt=ki[1]===Ps[1];if(et&&ki[1]==="l"&&(Rs>Ai.right||Mr.current.rl)){var ht=si;lt?ht-=va-xi:ht=Ws.x-Ji.x-Yi;var yt=zr(ht,_a),Lt=zr(ht,_a,Ao);yt>as||yt===as&&(!Pi||Lt>=gs)?(Mr.current.rl=!0,si=ht,Yi=-Yi,Ls.points=[Tt(ki,1),Tt(Ps,1)]):Mr.current.rl=!1}if(et&&ki[1]==="r"&&(Asas||It===as&&(!Pi||Wt>=gs)?(Mr.current.lr=!0,si=Dt,Yi=-Yi,Ls.points=[Tt(ki,1),Tt(Ps,1)]):Mr.current.lr=!1}bo();var nn=nl===!0?0:nl;typeof nn=="number"&&(AsAo.right&&(si-=Rs-Ao.right-Yi,jo.x>Ao.right-nn&&(si+=jo.x-Ao.right+nn)));var Xt=Vs===!0?0:Vs;typeof Xt=="number"&&(hsAo.bottom&&(_a-=Os-Ao.bottom-rs,jo.y>Ao.bottom-Xt&&(_a+=jo.y-Ao.bottom+Xt)));var hn=fa.x+si,pn=hn+va,xn=fa.y+_a,Xn=xn+Qa,Un=jo.x,Qn=Un+xi,Zn=jo.y,rr=Zn+qa,jr=Math.max(hn,Un),Zr=Math.min(pn,Qn),Tr=(jr+Zr)/2,ho=Tr-hn,So=Math.max(xn,Zn),yr=Math.min(Xn,rr),Ar=(So+yr)/2,pr=Ar-xn;En==null||En(vt,Ls);var or=ns.right-fa.x-(si+fa.width),Cr=ns.bottom-fa.y-(_a+fa.height);Dr({ready:!0,offsetX:si/_s,offsetY:_a/Vi,offsetR:or/_s,offsetB:Cr/Vi,arrowX:ho/_s,arrowY:pr/Vi,scaleX:_s,scaleY:Vi,align:Ls})}}),Do=function(){tr.current+=1;var Oo=tr.current;Promise.resolve().then(function(){tr.current===Oo&&Zo()})},Vo=function(){Dr(function(Oo){return(0,ce.Z)((0,ce.Z)({},Oo),{},{ready:!1})})};return fn(Vo,[kt]),fn(function(){at||Vo()},[at]),[ir.ready,ir.offsetX,ir.offsetY,ir.offsetR,ir.offsetB,ir.arrowX,ir.arrowY,ir.scaleX,ir.scaleY,ir.align,Do]}function zn(at,vt,mt,kt,en){fn(function(){if(at&&vt&&mt){let tr=function(){kt(),en()};var bn=vt,En=mt,Gn=Wn(bn),Nn=Wn(En),ir=Ln(En),Dr=new Set([ir].concat((0,Te.Z)(Gn),(0,Te.Z)(Nn)));return Dr.forEach(function(Fr){Fr.addEventListener("scroll",tr,{passive:!0})}),ir.addEventListener("resize",tr,{passive:!0}),kt(),function(){Dr.forEach(function(Fr){Fr.removeEventListener("scroll",tr),ir.removeEventListener("resize",tr)})}}},[at,vt,mt])}function $n(at){var vt=React.useRef(!1),mt=React.useState(at),kt=_slicedToArray(mt,2),en=kt[0],bn=kt[1];React.useEffect(function(){return vt.current=!1,function(){vt.current=!0}},[]);function En(Gn,Nn){Nn&&vt.current||bn(Gn)}return[en,En]}function _r(at){return at!==void 0}function mr(at,vt){var mt=vt||{},kt=mt.defaultValue,en=mt.value,bn=mt.onChange,En=mt.postState,Gn=useState(function(){return _r(en)?en:_r(kt)?typeof kt=="function"?kt():kt:typeof at=="function"?at():at}),Nn=_slicedToArray(Gn,2),ir=Nn[0],Dr=Nn[1],tr=en!==void 0?en:ir,Fr=En?En(tr):tr,Mr=useEvent(bn),eo=useState([tr]),Zo=_slicedToArray(eo,2),Do=Zo[0],Vo=Zo[1];useLayoutUpdateEffect(function(){var Oo=Do[0];ir!==Oo&&Mr(ir,Oo)},[Do]),useLayoutUpdateEffect(function(){_r(en)||Dr(en)},[en]);var Ho=useEvent(function(Oo,Vr){Dr(Oo,Vr),Vo([tr],Vr)});return[Fr,Ho]}var Lr=pe(95845);function ao(at,vt,mt){var kt=be.useRef({});return(!("value"in kt.current)||mt(kt.current.condition,vt))&&(kt.current.value=at(),kt.current.condition=vt),kt.current.value}function vo(at,vt){typeof at=="function"?at(vt):(0,ue.Z)(at)==="object"&&at&&"current"in at&&(at.current=vt)}function Cn(){for(var at=arguments.length,vt=new Array(at),mt=0;mt3&&arguments[3]!==void 0?arguments[3]:!1;return vt.length&&kt&&mt===void 0&&!get(at,vt.slice(0,-1))?at:qt(at,vt,mt,kt)}function In(at){return _typeof(at)==="object"&&at!==null&&Object.getPrototypeOf(at)===Object.prototype}function tn(at){return Array.isArray(at)?[]:{}}var An=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function cn(){for(var at=arguments.length,vt=new Array(at),mt=0;mt1&&arguments[1]!==void 0?arguments[1]:1;Ir+=1;var kt=Ir;function en(bn){if(bn===0)wo(kt),vt();else{var En=Dn(function(){en(bn-1)});Bn.set(kt,En)}}return en(mt),kt};lo.cancel=function(at){var vt=Bn.get(at);return wo(vt),ar(vt)};var ia=lo;function ca(at,vt,mt,kt,en,bn,En,Gn){var Nn=be.useRef(at),ir=be.useRef(!1);Nn.current!==at&&(ir.current=!0,Nn.current=at),be.useEffect(function(){var Dr=ia(function(){ir.current=!1});return function(){ia.cancel(Dr)}},[at]),be.useEffect(function(){if(vt&&kt&&(!en||bn)){var Dr=function(){var pa=!1,ra=function(Ca){var Qo=Ca.target;pa=En(Qo)},Ba=function(Ca){var Qo=Ca.target;!ir.current&&Nn.current&&!pa&&!En(Qo)&&Gn(!1)};return[ra,Ba]},tr=Dr(),Fr=(0,ie.Z)(tr,2),Mr=Fr[0],eo=Fr[1],Zo=Dr(),Do=(0,ie.Z)(Zo,2),Vo=Do[0],Ho=Do[1],Oo=Ln(kt);Oo.addEventListener("mousedown",Mr,!0),Oo.addEventListener("click",eo,!0),Oo.addEventListener("contextmenu",eo,!0);var Vr=Nt(mt);if(Vr&&(Vr.addEventListener("mousedown",Vo,!0),Vr.addEventListener("click",Ho,!0),Vr.addEventListener("contextmenu",Ho,!0)),0)var Oa,wa,Aa,Fa;return function(){Oo.removeEventListener("mousedown",Mr,!0),Oo.removeEventListener("click",eo,!0),Oo.removeEventListener("contextmenu",eo,!0),Vr&&(Vr.removeEventListener("mousedown",Vo,!0),Vr.removeEventListener("click",Ho,!0),Vr.removeEventListener("contextmenu",Ho,!0))}}},[vt,mt,kt,en,bn])}function ua(at){return at instanceof HTMLElement||at instanceof SVGElement}function _t(at){return ua(at)?at:at instanceof be.Component?ae.findDOMNode(at):null}function Et(at,vt){var mt={};return mt[at.toLowerCase()]=vt.toLowerCase(),mt["Webkit".concat(at)]="webkit".concat(vt),mt["Moz".concat(at)]="moz".concat(vt),mt["ms".concat(at)]="MS".concat(vt),mt["O".concat(at)]="o".concat(vt.toLowerCase()),mt}function Qt(at,vt){var mt={animationend:Et("Animation","AnimationEnd"),transitionend:Et("Transition","TransitionEnd")};return at&&("AnimationEvent"in vt||delete mt.animationend.animation,"TransitionEvent"in vt||delete mt.transitionend.transition),mt}var un=Qt(oe(),typeof window!="undefined"?window:{}),Pn={};if(oe()){var Yn=document.createElement("div");Pn=Yn.style}var vr={};function Nr(at){if(vr[at])return vr[at];var vt=un[at];if(vt)for(var mt=Object.keys(vt),kt=mt.length,en=0;en1&&arguments[1]!==void 0?arguments[1]:1;nr+=1;var kt=nr;function en(bn){if(bn===0)wr(kt),vt();else{var En=Vn(function(){en(bn-1)});fr.set(kt,En)}}return en(mt),kt};Tn.cancel=function(at){var vt=fr.get(at);return wr(vt),sr(vt)};var Vt=Tn,gn=function(){var at=be.useRef(null);function vt(){Vt.cancel(at.current)}function mt(kt){var en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;vt();var bn=Vt(function(){en<=1?kt({isCanceled:function(){return bn!==at.current}}):mt(kt,en-1)});at.current=bn}return be.useEffect(function(){return function(){vt()}},[]),[mt,vt]},On=oe()?be.useLayoutEffect:be.useEffect,Jn=On,Sr=[yn,Ht,Zt,Kt],Rr=!1,ro=!0;function Or(at){return at===Zt||at===Kt}var ut=function(at,vt){var mt=Rn(vn),kt=(0,ie.Z)(mt,2),en=kt[0],bn=kt[1],En=gn(),Gn=(0,ie.Z)(En,2),Nn=Gn[0],ir=Gn[1];function Dr(){bn(yn,!0)}return Jn(function(){if(en!==vn&&en!==Kt){var tr=Sr.indexOf(en),Fr=Sr[tr+1],Mr=vt(en);Mr===Rr?bn(Fr,!0):Nn(function(eo){function Zo(){eo.isCanceled()||bn(Fr,!0)}Mr===!0?Zo():Promise.resolve(Mr).then(Zo)})}},[at,en]),be.useEffect(function(){return function(){ir()}},[]),[Dr,en]},it=function(at){var vt=(0,be.useRef)(),mt=(0,be.useRef)(at);mt.current=at;var kt=be.useCallback(function(En){mt.current(En)},[]);function en(En){En&&(En.removeEventListener(dr,kt),En.removeEventListener(Bo,kt))}function bn(En){vt.current&&vt.current!==En&&en(vt.current),En&&En!==vt.current&&(En.addEventListener(dr,kt),En.addEventListener(Bo,kt),vt.current=En)}return be.useEffect(function(){return function(){en(vt.current)}},[]),[bn,en]};function Pt(at,vt,mt,kt){var en=kt.motionEnter,bn=en===void 0?!0:en,En=kt.motionAppear,Gn=En===void 0?!0:En,Nn=kt.motionLeave,ir=Nn===void 0?!0:Nn,Dr=kt.motionDeadline,tr=kt.motionLeaveImmediately,Fr=kt.onAppearPrepare,Mr=kt.onEnterPrepare,eo=kt.onLeavePrepare,Zo=kt.onAppearStart,Do=kt.onEnterStart,Vo=kt.onLeaveStart,Ho=kt.onAppearActive,Oo=kt.onEnterActive,Vr=kt.onLeaveActive,Oa=kt.onAppearEnd,wa=kt.onEnterEnd,Aa=kt.onLeaveEnd,Fa=kt.onVisibleChanged,ii=Rn(),pa=(0,ie.Z)(ii,2),ra=pa[0],Ba=pa[1],Ka=Rn(Ut),Ca=(0,ie.Z)(Ka,2),Qo=Ca[0],ma=Ca[1],jo=Rn(null),ei=(0,ie.Z)(jo,2),fa=ei[0],ri=ei[1],Ei=(0,be.useRef)(!1),ui=(0,be.useRef)(null);function ji(){return mt()}var Ni=(0,be.useRef)(!1);function ga(Ea){var Ao=ji();if(!(Ea&&!Ea.deadline&&Ea.target!==Ao)){var oi=Ni.current,Ai;Qo===Yt&&oi?Ai=Oa==null?void 0:Oa(Ao,Ea):Qo===dt&&oi?Ai=wa==null?void 0:wa(Ao,Ea):Qo===Jt&&oi&&(Ai=Aa==null?void 0:Aa(Ao,Ea)),Qo!==Ut&&oi&&Ai!==!1&&(ma(Ut,!0),ri(null,!0))}}var Oi=it(ga),Qa=(0,ie.Z)(Oi,1),va=Qa[0],qa=be.useMemo(function(){var Ea,Ao,oi;switch(Qo){case Yt:return Ea={},(0,re.Z)(Ea,yn,Fr),(0,re.Z)(Ea,Ht,Zo),(0,re.Z)(Ea,Zt,Ho),Ea;case dt:return Ao={},(0,re.Z)(Ao,yn,Mr),(0,re.Z)(Ao,Ht,Do),(0,re.Z)(Ao,Zt,Oo),Ao;case Jt:return oi={},(0,re.Z)(oi,yn,eo),(0,re.Z)(oi,Ht,Vo),(0,re.Z)(oi,Zt,Vr),oi;default:return{}}},[Qo]),xi=ut(Qo,function(Ea){if(Ea===yn){var Ao=qa[yn];return Ao?Ao(ji()):Rr}if(pi in qa){var oi;ri(((oi=qa[pi])===null||oi===void 0?void 0:oi.call(qa,ji(),null))||null)}return pi===Zt&&(va(ji()),Dr>0&&(clearTimeout(ui.current),ui.current=setTimeout(function(){ga({deadline:!0})},Dr))),ro}),ts=(0,ie.Z)(xi,2),bs=ts[0],pi=ts[1],bi=Or(pi);Ni.current=bi,Jn(function(){Ba(vt);var Ea=Ei.current;if(Ei.current=!0,!!at){var Ao;!Ea&&vt&&Gn&&(Ao=Yt),Ea&&vt&&bn&&(Ao=dt),(Ea&&!vt&&ir||!Ea&&tr&&!vt&&ir)&&(Ao=Jt),Ao&&(ma(Ao),bs())}},[vt]),(0,be.useEffect)(function(){(Qo===Yt&&!Gn||Qo===dt&&!bn||Qo===Jt&&!ir)&&ma(Ut)},[Gn,bn,ir]),(0,be.useEffect)(function(){return function(){Ei.current=!1,clearTimeout(ui.current)}},[]);var Zi=be.useRef(!1);(0,be.useEffect)(function(){ra&&(Zi.current=!0),ra!==void 0&&Qo===Ut&&((Zi.current||ra)&&(Fa==null||Fa(ra)),Zi.current=!0)},[ra,Qo]);var Pi=fa;return qa[yn]&&pi===Ht&&(Pi=(0,ce.Z)({transition:"none"},Pi)),[Qo,pi,Pi,ra!=null?ra:vt]}var Bt=pe(15671),Gt=pe(43144),sn=pe(60136),_n=pe(51630),Mn=function(at){(0,sn.Z)(mt,at);var vt=(0,_n.Z)(mt);function mt(){return(0,Bt.Z)(this,mt),vt.apply(this,arguments)}return(0,Gt.Z)(mt,[{key:"render",value:function(){return this.props.children}}]),mt}(be.Component),Fn=Mn;function Kn(at){var vt=at;(0,ue.Z)(at)==="object"&&(vt=at.transitionSupport);function mt(en){return!!(en.motionName&&vt)}var kt=be.forwardRef(function(en,bn){var En=en.visible,Gn=En===void 0?!0:En,Nn=en.removeOnLeave,ir=Nn===void 0?!0:Nn,Dr=en.forceRender,tr=en.children,Fr=en.motionName,Mr=en.leavedClassName,eo=en.eventProps,Zo=mt(en),Do=(0,be.useRef)(),Vo=(0,be.useRef)();function Ho(){try{return Do.current instanceof HTMLElement?Do.current:_t(Vo.current)}catch(jo){return null}}var Oo=Pt(Zo,Gn,Ho,en),Vr=(0,ie.Z)(Oo,4),Oa=Vr[0],wa=Vr[1],Aa=Vr[2],Fa=Vr[3],ii=be.useRef(Fa);Fa&&(ii.current=!0);var pa=be.useCallback(function(jo){Do.current=jo,ve(bn,jo)},[bn]),ra,Ba=(0,ce.Z)((0,ce.Z)({},eo),{},{visible:Gn});if(!tr)ra=null;else if(Oa===Ut||!mt(en))Fa?ra=tr((0,ce.Z)({},Ba),pa):!ir&&ii.current&&Mr?ra=tr((0,ce.Z)((0,ce.Z)({},Ba),{},{className:Mr}),pa):Dr||!ir&&!Mr?ra=tr((0,ce.Z)((0,ce.Z)({},Ba),{},{style:{display:"none"}}),pa):ra=null;else{var Ka,Ca;wa===yn?Ca="prepare":Or(wa)?Ca="active":wa===Ht&&(Ca="start"),ra=tr((0,ce.Z)((0,ce.Z)({},Ba),{},{className:fe()(Ot(Fr,Oa),(Ka={},(0,re.Z)(Ka,Ot(Fr,"".concat(Oa,"-").concat(Ca)),Ca),(0,re.Z)(Ka,Fr,typeof Fr=="string"),Ka)),style:Aa}),pa)}if(be.isValidElement(ra)&&ye(ra)){var Qo=ra,ma=Qo.ref;ma||(ra=be.cloneElement(ra,{ref:pa}))}return be.createElement(Fn,{ref:Vo},ra)});return kt.displayName="CSSMotion",kt}var gr=Kn(io),hr=pe(97326),so="add",co="keep",qr="remove",po="removed";function Mo(at){var vt;return at&&(0,ue.Z)(at)==="object"&&"key"in at?vt=at:vt={key:at},(0,ce.Z)((0,ce.Z)({},vt),{},{key:String(vt.key)})}function Io(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return at.map(Mo)}function Hr(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],mt=[],kt=0,en=vt.length,bn=Io(at),En=Io(vt);bn.forEach(function(ir){for(var Dr=!1,tr=kt;tr1});return Nn.forEach(function(ir){mt=mt.filter(function(Dr){var tr=Dr.key,Fr=Dr.status;return tr!==ir||Fr!==qr}),mt.forEach(function(Dr){Dr.key===ir&&(Dr.status=co)})}),mt}var Uo=["component","children","onVisibleChanged","onAllRemoved"],fo=["status"],Wo=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function sa(at){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gr,mt=function(kt){(0,sn.Z)(bn,kt);var en=(0,_n.Z)(bn);function bn(){var En;(0,Bt.Z)(this,bn);for(var Gn=arguments.length,Nn=new Array(Gn),ir=0;ir0,ji=be.useState(!Oo||!ui),Ni=(0,ie.Z)(ji,2),ga=Ni[0],Oi=Ni[1];if(fn(function(){!ga&&ui&&En&&Oi(!0)},[ga,ui,En]),!ga)return null;var Qa="auto",va={left:"-1000vw",top:"-1000vh",right:Qa,bottom:Qa};if(pa||!Nn){var qa,xi=Zo.points,ts=Zo.dynamicInset||((qa=Zo._experimental)===null||qa===void 0?void 0:qa.dynamicInset),bs=ts&&xi[0][1]==="r",pi=ts&&xi[0][0]==="b";bs?(va.right=Ka,va.left=Qa):(va.left=ra,va.right=Qa),pi?(va.bottom=Ca,va.top=Qa):(va.top=Ba,va.bottom=Qa)}var bi={};return jo&&(jo.includes("height")&&fa?bi.height=fa:jo.includes("minHeight")&&fa&&(bi.minHeight=fa),jo.includes("width")&&ei?bi.width=ei:jo.includes("minWidth")&&ei&&(bi.minWidth=ei)),Nn||(bi.pointerEvents="none"),be.createElement(Oa,{open:Ho||Ei,getContainer:Oo&&function(){return Oo(En)},autoDestroy:Vr},be.createElement(da,{prefixCls:en,open:Nn,zIndex:wa,mask:Fr,motion:Vo}),be.createElement(rt.Z,{onResize:Qo,disabled:!Nn},function(Zi){return be.createElement(Ko,(0,se.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ho,leavedClassName:"".concat(en,"-hidden")},Do,{onAppearPrepare:ma,onEnterPrepare:ma,visible:Nn,onVisibleChanged:function(Ea){var Ao;Do==null||(Ao=Do.onVisibleChanged)===null||Ao===void 0||Ao.call(Do,Ea),Gn(Ea)}}),function(Pi,Ea){var Ao=Pi.className,oi=Pi.style,Ai=fe()(en,Ao,kt);return be.createElement("div",{ref:Cn(Zi,vt,Ea),className:Ai,style:(0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)({"--arrow-x":"".concat(eo.x||0,"px"),"--arrow-y":"".concat(eo.y||0,"px")},va),bi),oi),{},{boxSizing:"border-box",zIndex:wa},bn),onMouseEnter:Aa,onMouseLeave:Fa,onPointerEnter:ii,onClick:tr},Mr&&be.createElement(Ra,{prefixCls:en,arrow:Mr,arrowPos:eo,align:Zo}),be.createElement(Go,{cache:!Nn&&!Dr},ri))})}))}),na=ko,Wa=be.forwardRef(function(at,vt){var mt=at.children,kt=at.getTriggerDOMNode,en=At(mt),bn=be.useCallback(function(Gn){vo(vt,kt?kt(Gn):Gn)},[kt]),En=Kr(bn,mt.ref);return en?be.cloneElement(mt,{ref:En}):mt}),ai=Wa,$o=["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 Pa(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wt,vt=be.forwardRef(function(mt,kt){var en=mt.prefixCls,bn=en===void 0?"rc-trigger-popup":en,En=mt.children,Gn=mt.action,Nn=Gn===void 0?"hover":Gn,ir=mt.showAction,Dr=mt.hideAction,tr=mt.popupVisible,Fr=mt.defaultPopupVisible,Mr=mt.onPopupVisibleChange,eo=mt.afterPopupVisibleChange,Zo=mt.mouseEnterDelay,Do=mt.mouseLeaveDelay,Vo=Do===void 0?.1:Do,Ho=mt.focusDelay,Oo=mt.blurDelay,Vr=mt.mask,Oa=mt.maskClosable,wa=Oa===void 0?!0:Oa,Aa=mt.getPopupContainer,Fa=mt.forceRender,ii=mt.autoDestroy,pa=mt.destroyPopupOnHide,ra=mt.popup,Ba=mt.popupClassName,Ka=mt.popupStyle,Ca=mt.popupPlacement,Qo=mt.builtinPlacements,ma=Qo===void 0?{}:Qo,jo=mt.popupAlign,ei=mt.zIndex,fa=mt.stretch,ri=mt.getPopupClassNameFromAlign,Ei=mt.fresh,ui=mt.alignPoint,ji=mt.onPopupClick,Ni=mt.onPopupAlign,ga=mt.arrow,Oi=mt.popupMotion,Qa=mt.maskMotion,va=mt.popupTransitionName,qa=mt.popupAnimation,xi=mt.maskTransitionName,ts=mt.maskAnimation,bs=mt.className,pi=mt.getTriggerDOMNode,bi=(0,le.Z)(mt,$o),Zi=ii||pa||!1,Pi=be.useState(!1),Ea=(0,ie.Z)(Pi,2),Ao=Ea[0],oi=Ea[1];fn(function(){oi(Er())},[]);var Ai=be.useRef({}),ns=be.useContext(Lo),_s=be.useMemo(function(){return{registerSubPopup:function(Yr,No){Ai.current[Yr]=No,ns==null||ns.registerSubPopup(Yr,No)}}},[ns]),Vi=rn(),Ns=be.useState(null),Qs=(0,ie.Z)(Ns,2),Xi=Qs[0],il=Qs[1],Yi=ct(function(qn){bt(qn)&&Xi!==qn&&il(qn),ns==null||ns.registerSubPopup(Vi,qn)}),rs=be.useState(null),el=(0,ie.Z)(rs,2),os=el[0],sl=el[1],ll=ct(function(qn){bt(qn)&&os!==qn&&sl(qn)}),Gs=be.Children.only(En),Di=(Gs==null?void 0:Gs.props)||{},Ts={},cl=ct(function(qn){var Yr,No,ya=os;return(ya==null?void 0:ya.contains(qn))||((Yr=Nt(ya))===null||Yr===void 0?void 0:Yr.host)===qn||qn===ya||(Xi==null?void 0:Xi.contains(qn))||((No=Nt(Xi))===null||No===void 0?void 0:No.host)===qn||qn===Xi||Object.values(Ai.current).some(function(br){return(br==null?void 0:br.contains(qn))||qn===br})}),Ps=mn(bn,Oi,qa,va),ki=mn(bn,Qa,ts,xi),ul=be.useState(Fr||!1),$s=(0,ie.Z)(ul,2),Ls=$s[0],si=$s[1],_a=tr!=null?tr:Ls,as=ct(function(qn){tr===void 0&&si(qn)});fn(function(){si(tr||!1)},[tr]);var gs=be.useRef(_a);gs.current=_a;var Ws=ct(function(qn){(0,ae.flushSync)(function(){_a!==qn&&(as(qn),Mr==null||Mr(qn))})}),tl=be.useRef(),Ks=function(){clearTimeout(tl.current)},Ji=function(Yr){var No=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ks(),No===0?Ws(Yr):tl.current=setTimeout(function(){Ws(Yr)},No*1e3)};be.useEffect(function(){return Ks},[]);var Ds=be.useState(!1),dl=(0,ie.Z)(Ds,2),Zs=dl[0],nl=dl[1];fn(function(qn){(!qn||_a)&&nl(!0)},[_a]);var Vs=be.useState(null),rl=(0,ie.Z)(Vs,2),hs=rl[0],Os=rl[1],As=be.useState([0,0]),Rs=(0,ie.Z)(As,2),Xs=Rs[0],ol=Rs[1],is=function(Yr){ol([Yr.clientX,Yr.clientY])},$i=wn(_a,Xi,ui?Xs:os,Ca,ma,jo,Ni),Fi=(0,ie.Z)($i,11),Ms=Fi[0],De=Fi[1],Fe=Fi[2],et=Fi[3],lt=Fi[4],ht=Fi[5],yt=Fi[6],Lt=Fi[7],Dt=Fi[8],It=Fi[9],Wt=Fi[10],nn=Eo(Ao,Nn,ir,Dr),Xt=(0,ie.Z)(nn,2),hn=Xt[0],pn=Xt[1],xn=hn.has("click"),Xn=pn.has("click")||pn.has("contextMenu"),Un=ct(function(){Zs||Wt()}),Qn=function(){gs.current&&ui&&Xn&&Ji(!1)};zn(_a,os,Xi,Un,Qn),fn(function(){Un()},[Xs,Ca]),fn(function(){_a&&!(ma!=null&&ma[Ca])&&Un()},[JSON.stringify(jo)]);var Zn=be.useMemo(function(){var qn=ln(ma,bn,It,ui);return fe()(qn,ri==null?void 0:ri(It))},[It,ri,ma,bn,ui]);be.useImperativeHandle(kt,function(){return{forceAlign:Un}});var rr=be.useState(0),jr=(0,ie.Z)(rr,2),Zr=jr[0],Tr=jr[1],ho=be.useState(0),So=(0,ie.Z)(ho,2),yr=So[0],Ar=So[1],pr=function(){if(fa&&os){var Yr=os.getBoundingClientRect();Tr(Yr.width),Ar(Yr.height)}},or=function(){pr(),Un()},Cr=function(Yr){nl(!1),Wt(),eo==null||eo(Yr)},zr=function(){return new Promise(function(Yr){pr(),Os(function(){return Yr})})};fn(function(){hs&&(Wt(),hs(),Os(null))},[hs]);function bo(qn,Yr,No,ya){Ts[qn]=function(br){var Jr;ya==null||ya(br),Ji(Yr,No);for(var Qr=arguments.length,$r=new Array(Qr>1?Qr-1:0),Jo=1;Jo1?No-1:0),br=1;br1?No-1:0),br=1;br=kr.F1&&mt<=kr.F12)return!1;switch(mt){case kr.ALT:case kr.CAPS_LOCK:case kr.CONTEXT_MENU:case kr.CTRL:case kr.DOWN:case kr.END:case kr.ESC:case kr.HOME:case kr.INSERT:case kr.LEFT:case kr.MAC_FF_META:case kr.META:case kr.NUMLOCK:case kr.NUM_CENTER:case kr.PAGE_DOWN:case kr.PAGE_UP:case kr.PAUSE:case kr.PRINT_SCREEN:case kr.RIGHT:case kr.SHIFT:case kr.UP:case kr.WIN_KEY:case kr.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(vt){if(vt>=kr.ZERO&&vt<=kr.NINE||vt>=kr.NUM_ZERO&&vt<=kr.NUM_MULTIPLY||vt>=kr.A&&vt<=kr.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&vt===0)return!0;switch(vt){case kr.SPACE:case kr.QUESTION_MARK:case kr.NUM_PLUS:case kr.NUM_MINUS:case kr.NUM_PERIOD:case kr.NUM_DIVISION:case kr.SEMICOLON:case kr.DASH:case kr.EQUALS:case kr.COMMA:case kr.PERIOD:case kr.SLASH:case kr.APOSTROPHE:case kr.SINGLE_QUOTE:case kr.OPEN_SQUARE_BRACKET:case kr.BACKSLASH:case kr.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},za=kr,Ja=za.ESC,hi=za.TAB;function xa(at){var vt=at.visible,mt=at.triggerRef,kt=at.onVisibleChange,en=at.autoFocus,bn=at.overlayRef,En=be.useRef(!1),Gn=function(){if(vt){var tr,Fr;(tr=mt.current)===null||tr===void 0||(Fr=tr.focus)===null||Fr===void 0||Fr.call(tr),kt==null||kt(!1)}},Nn=function(){var tr;return(tr=bn.current)!==null&&tr!==void 0&&tr.focus?(bn.current.focus(),En.current=!0,!0):!1},ir=function(tr){switch(tr.keyCode){case Ja:Gn();break;case hi:{var Fr=!1;En.current||(Fr=Nn()),Fr?tr.preventDefault():Gn();break}}};be.useEffect(function(){return vt?(window.addEventListener("keydown",ir),en&&Vt(Nn,3),function(){window.removeEventListener("keydown",ir),En.current=!1}):function(){En.current=!1}},[vt])}var ti=(0,be.forwardRef)(function(at,vt){var mt=at.overlay,kt=at.arrow,en=at.prefixCls,bn=(0,be.useMemo)(function(){var Gn;return typeof mt=="function"?Gn=mt():Gn=mt,Gn},[mt]),En=me(vt,bn==null?void 0:bn.ref);return be.createElement(be.Fragment,null,kt&&be.createElement("div",{className:"".concat(en,"-arrow")}),be.cloneElement(bn,{ref:ye(bn)?En:void 0}))}),Ma=ti,ka={adjustX:1,adjustY:1},ni=[0,0],yi={topLeft:{points:["bl","tl"],overflow:ka,offset:[0,-4],targetOffset:ni},top:{points:["bc","tc"],overflow:ka,offset:[0,-4],targetOffset:ni},topRight:{points:["br","tr"],overflow:ka,offset:[0,-4],targetOffset:ni},bottomLeft:{points:["tl","bl"],overflow:ka,offset:[0,4],targetOffset:ni},bottom:{points:["tc","bc"],overflow:ka,offset:[0,4],targetOffset:ni},bottomRight:{points:["tr","br"],overflow:ka,offset:[0,4],targetOffset:ni}},Ta=yi,La=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Ga(at,vt){var mt,kt=at.arrow,en=kt===void 0?!1:kt,bn=at.prefixCls,En=bn===void 0?"rc-dropdown":bn,Gn=at.transitionName,Nn=at.animation,ir=at.align,Dr=at.placement,tr=Dr===void 0?"bottomLeft":Dr,Fr=at.placements,Mr=Fr===void 0?Ta:Fr,eo=at.getPopupContainer,Zo=at.showAction,Do=at.hideAction,Vo=at.overlayClassName,Ho=at.overlayStyle,Oo=at.visible,Vr=at.trigger,Oa=Vr===void 0?["hover"]:Vr,wa=at.autoFocus,Aa=at.overlay,Fa=at.children,ii=at.onVisibleChange,pa=(0,le.Z)(at,La),ra=be.useState(),Ba=(0,ie.Z)(ra,2),Ka=Ba[0],Ca=Ba[1],Qo="visible"in at?Oo:Ka,ma=be.useRef(null),jo=be.useRef(null),ei=be.useRef(null);be.useImperativeHandle(vt,function(){return ma.current});var fa=function(va){Ca(va),ii==null||ii(va)};xa({visible:Qo,triggerRef:ei,onVisibleChange:fa,autoFocus:wa,overlayRef:jo});var ri=function(va){var qa=at.onOverlayClick;Ca(!1),qa&&qa(va)},Ei=function(){return be.createElement(Ma,{ref:jo,overlay:Aa,prefixCls:En,arrow:en})},ui=function(){return typeof Aa=="function"?Ei:Ei()},ji=function(){var va=at.minOverlayWidthMatchTrigger,qa=at.alignPoint;return"minOverlayWidthMatchTrigger"in at?va:!qa},Ni=function(){var va=at.openClassName;return va!==void 0?va:"".concat(En,"-open")},ga=be.cloneElement(Fa,{className:fe()((mt=Fa.props)===null||mt===void 0?void 0:mt.className,Qo&&Ni()),ref:ye(Fa)?me(ei,Fa.ref):void 0}),Oi=Do;return!Oi&&Oa.indexOf("contextMenu")!==-1&&(Oi=["click"]),be.createElement(Da,(0,se.Z)({builtinPlacements:Mr},pa,{prefixCls:En,ref:ma,popupClassName:fe()(Vo,(0,re.Z)({},"".concat(En,"-show-arrow"),en)),popupStyle:Ho,action:Oa,showAction:Zo,hideAction:Oi,popupPlacement:tr,popupAlign:ir,popupTransitionName:Gn,popupAnimation:Nn,popupVisible:Qo,stretch:ji()?"minWidth":"",popup:ui(),onPopupVisibleChange:fa,onPopupClick:ri,getPopupContainer:eo}),ga)}var Ci=be.forwardRef(Ga),Qi=Ci,us=pe(60276),ds=pe(5663),Ii=pe(10366),Si=pe(80636),mi=pe(8745),Ki=pe(96159),Gi=pe(53124),Us=pe(68508),Hs=pe(76529),fs=pe(46605),vs=pe(66748);const zs=null,ys=at=>{const{menu:vt,arrow:mt,prefixCls:kt,children:en,trigger:bn,disabled:En,dropdownRender:Gn,getPopupContainer:Nn,overlayClassName:ir,rootClassName:Dr,open:tr,onOpenChange:Fr,visible:Mr,onVisibleChange:eo,mouseEnterDelay:Zo=.15,mouseLeaveDelay:Do=.1,autoAdjustOverflow:Vo=!0,placement:Ho="",overlay:Oo,transitionName:Vr}=at,{getPopupContainer:Oa,getPrefixCls:wa,direction:Aa}=be.useContext(Gi.E_),Fa=be.useMemo(()=>{const ga=wa();return Vr!==void 0?Vr:Ho.includes("top")?`${ga}-slide-down`:`${ga}-slide-up`},[wa,Ho,Vr]),ii=be.useMemo(()=>Ho?Ho.includes("Center")?Ho.slice(0,Ho.indexOf("Center")):Ho:Aa==="rtl"?"bottomRight":"bottomLeft",[Ho,Aa]),pa=wa("dropdown",kt),[ra,Ba]=(0,vs.Z)(pa),[,Ka]=(0,fs.Z)(),Ca=be.Children.only(en),Qo=(0,Ki.Tm)(Ca,{className:fe()(`${pa}-trigger`,{[`${pa}-rtl`]:Aa==="rtl"},Ca.props.className),disabled:En}),ma=En?[]:bn;let jo;ma&&ma.includes("contextMenu")&&(jo=!0);const[ei,fa]=(0,ds.Z)(!1,{value:tr!=null?tr:Mr}),ri=(0,us.useEvent)(ga=>{Fr==null||Fr(ga),eo==null||eo(ga),fa(ga)}),Ei=fe()(ir,Dr,Ba,{[`${pa}-rtl`]:Aa==="rtl"}),ui=(0,Si.Z)({arrowPointAtCenter:typeof mt=="object"&&mt.pointAtCenter,autoAdjustOverflow:Vo,offset:Ka.marginXXS,arrowWidth:mt?Ka.sizePopupArrow:0,borderRadius:Ka.borderRadius}),ji=be.useCallback(()=>{fa(!1)},[]),Ni=()=>{let ga;return vt!=null&&vt.items?ga=be.createElement(Us.default,Object.assign({},vt)):typeof Oo=="function"?ga=Oo():ga=Oo,Gn&&(ga=Gn(ga)),ga=be.Children.only(typeof ga=="string"?be.createElement("span",null,ga):ga),be.createElement(Hs.J,{prefixCls:`${pa}-menu`,expandIcon:be.createElement("span",{className:`${pa}-menu-submenu-arrow`},be.createElement(E.Z,{className:`${pa}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ji,validator:Oi=>{let{mode:Qa}=Oi}},ga)};return ra(be.createElement(Qi,Object.assign({alignPoint:jo},(0,Ii.Z)(at,["rootClassName"]),{mouseEnterDelay:Zo,mouseLeaveDelay:Do,visible:ei,builtinPlacements:ui,arrow:!!mt,overlayClassName:Ei,prefixCls:pa,getPopupContainer:Nn||Oa,transitionName:Fa,trigger:ma,overlay:Ni,placement:ii,onVisibleChange:ri}),Qo))};function qi(at){return Object.assign(Object.assign({},at),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const es=(0,mi.Z)(ys,"dropdown",at=>at,qi),Ss=at=>be.createElement(es,Object.assign({},at),be.createElement("span",null));ys._InternalPanelDoNotUseOrYouWillBeFired=Ss;var xs=ys},85418:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return a}});var be=pe(56153),xe=pe(94184),E=pe.n(xe),he=pe(67294),fe=pe(25877),se=pe(71577),re=pe(53124),ie=pe(93421),le=pe(4173),ce=pe(66748),ae=function(y,x){var b={};for(var ee in y)Object.prototype.hasOwnProperty.call(y,ee)&&x.indexOf(ee)<0&&(b[ee]=y[ee]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,ee=Object.getOwnPropertySymbols(y);te{const{getPopupContainer:x,getPrefixCls:b,direction:ee}=he.useContext(re.E_),{prefixCls:te,type:ue="default",danger:de,disabled:ge,loading:ve,onClick:me,htmlType:Se,children:ye,className:Pe,menu:we,arrow:Te,autoFocus:Ee,overlay:_e,trigger:Ce,align:Oe,open:Ie,onOpenChange:Ue,placement:je,getPopupContainer:nt,href:Je,icon:Qe=he.createElement(fe.Z,null),title:Xe,buttonsRender:ze=St=>St,mouseEnterDelay:ke,mouseLeaveDelay:Be,overlayClassName:qe,overlayStyle:Ye,destroyPopupOnHide:gt,dropdownRender:$e}=y,We=ae(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"]),Re=b("dropdown",te),tt=`${Re}-button`,[Me,He]=(0,ce.Z)(Re),Ve={menu:we,arrow:Te,autoFocus:Ee,align:Oe,disabled:ge,trigger:ge?[]:Ce,onOpenChange:Ue,getPopupContainer:nt||x,mouseEnterDelay:ke,mouseLeaveDelay:Be,overlayClassName:qe,overlayStyle:Ye,destroyPopupOnHide:gt,dropdownRender:$e},{compactSize:Ze,compactItemClassnames:Ke}=(0,le.ri)(Re,ee),Ae=E()(tt,Ke,Pe,He);"overlay"in y&&(Ve.overlay=_e),"open"in y&&(Ve.open=Ie),"placement"in y?Ve.placement=je:Ve.placement=ee==="rtl"?"bottomLeft":"bottomRight";const Le=he.createElement(se.ZP,{type:ue,danger:de,disabled:ge,loading:ve,onClick:me,htmlType:Se,href:Je,title:Xe},ye),Ne=he.createElement(se.ZP,{type:ue,danger:de,icon:Qe}),[Ge,ot]=ze([Le,Ne]);return Me(he.createElement(ie.Z.Compact,Object.assign({className:Ae,size:Ze,block:!0},We),Ge,he.createElement(be.Z,Object.assign({},Ve),ot)))};oe.__ANT_BUTTON=!0;var ne=oe;const z=be.Z;z.Button=ne;var a=z},66748:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return ae}});var be=pe(14747),xe=pe(67771),E=pe(33297),he=pe(50438),fe=pe(97414),se=pe(67968),re=pe(45503),le=oe=>{const{componentCls:ne,menuCls:z,colorError:a,colorTextLightSolid:y}=oe,x=`${z}-item`;return{[`${ne}, ${ne}-menu-submenu`]:{[`${z} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const ce=oe=>{const{componentCls:ne,menuCls:z,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:ee,motionDurationMid:te,dropdownPaddingVertical:ue,fontSize:de,dropdownEdgeChildPadding:ge,colorTextDisabled:ve,fontSizeIcon:me,controlPaddingHorizontal:Se,colorBgElevated:ye}=oe;return[{[ne]:Object.assign(Object.assign({},(0,be.Wf)(oe)),{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`]:{[`& > ${ee}-down, & > ${b}-btn-icon > ${ee}-down`]:{fontSize:me}},[`${ne}-wrap`]:{position:"relative",[`${b}-btn > ${ee}-down`]:{fontSize:me},[`${ee}-down::before`]:{transition:`transform ${te}`}},[`${ne}-wrap-open`]:{[`${ee}-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${ne}-placement-bottomLeft, &${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottomLeft, &${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottom, &${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottom, &${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottomRight, &${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottomRight`]:{animationName:xe.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-topLeft, &${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-topLeft, &${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-top, &${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-top, &${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-topRight, &${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-topRight`]:{animationName:xe.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottomLeft, &${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottom, &${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottomRight`]:{animationName:xe.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-topLeft, &${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-top, &${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-topRight`]:{animationName:xe.ly}})},(0,fe.ZP)(oe,{colorBg:ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ne} ${z}`]:{position:"relative",margin:0},[`${z}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ne}, ${ne}-menu-submenu`]:{[z]:Object.assign(Object.assign({padding:ge,listStyleType:"none",backgroundColor:ye,backgroundClip:"padding-box",borderRadius:oe.borderRadiusLG,outline:"none",boxShadow:oe.boxShadowSecondary},(0,be.Qy)(oe)),{[`${z}-item-group-title`]:{padding:`${ue}px ${Se}px`,color:oe.colorTextDescription,transition:`all ${te}`},[`${z}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${z}-item-icon`]:{minWidth:de,marginInlineEnd:oe.marginXS,fontSize:oe.fontSizeSM},[`${z}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${z}-item, ${z}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ue}px ${Se}px`,color:oe.colorText,fontWeight:"normal",fontSize:de,lineHeight:oe.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:oe.borderRadiusSM,"&:hover, &-active":{backgroundColor:oe.controlItemBgHover}},(0,be.Qy)(oe)),{"&-selected":{color:oe.colorPrimary,backgroundColor:oe.controlItemBgActive,"&:hover, &-active":{backgroundColor:oe.controlItemBgActiveHover}},"&-disabled":{color:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${oe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:oe.colorSplit},[`${ne}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:oe.paddingXS,[`${ne}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:oe.colorTextDescription,fontSize:me,fontStyle:"normal"}}}),[`${z}-item-group-list`]:{margin:`0 ${oe.marginXS}px`,padding:0,listStyle:"none"},[`${z}-submenu-title`]:{paddingInlineEnd:Se+oe.fontSizeSM},[`${z}-submenu-vertical`]:{position:"relative"},[`${z}-submenu${z}-submenu-disabled ${ne}-menu-submenu-title`]:{[`&, ${ne}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:ye,cursor:"not-allowed"}},[`${z}-submenu-selected ${ne}-menu-submenu-title`]:{color:oe.colorPrimary}})}},[(0,xe.oN)(oe,"slide-up"),(0,xe.oN)(oe,"slide-down"),(0,E.Fm)(oe,"move-up"),(0,E.Fm)(oe,"move-down"),(0,he._y)(oe,"zoom-big")]]};var ae=(0,se.Z)("Dropdown",(oe,ne)=>{let{rootPrefixCls:z}=ne;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:ee,paddingXXS:te,componentCls:ue,borderRadiusLG:de}=oe,ge=(x-b*ee)/2,{dropdownArrowOffset:ve}=(0,fe.fS)({contentRadius:de}),me=(0,re.TS)(oe,{menuCls:`${ue}-menu`,rootPrefixCls:z,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ve,dropdownPaddingVertical:ge,dropdownEdgeChildPadding:te});return[ce(me),le(me)]},oe=>({zIndexPopup:oe.zIndexPopupBase+50}))},25378:function(xt,ft,pe){"use strict";var be=pe(67294),xe=pe(14075),E=pe(57838),he=pe(74443);function fe(){let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const re=(0,be.useRef)({}),ie=(0,E.Z)(),le=(0,he.ZP)();return(0,xe.Z)(()=>{const ce=le.subscribe(ae=>{re.current=ae,se&&ie()});return()=>le.unsubscribe(ce)},[]),re.current}ft.Z=fe},71322:function(xt,ft,pe){"use strict";pe.d(ft,{D:function(){return ee},Z:function(){return de}});var be=pe(87462),xe=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"},he=E,fe=pe(74643),se=function(ve,me){return xe.createElement(fe.Z,(0,be.Z)({},ve,{ref:me,icon:he}))},re=xe.forwardRef(se),ie=pe(22751),le=pe(91034),ce=pe(94184),ae=pe.n(ce),oe=pe(10366),z=ge=>!isNaN(parseFloat(ge))&&isFinite(ge),a=pe(53124),y=pe(84321),x=function(ge,ve){var me={};for(var Se in ge)Object.prototype.hasOwnProperty.call(ge,Se)&&ve.indexOf(Se)<0&&(me[Se]=ge[Se]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Se=Object.getOwnPropertySymbols(ge);ye{let ge=0;return function(){let ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ge+=1,`${ve}${ge}`}})();var de=xe.forwardRef((ge,ve)=>{const{prefixCls:me,className:Se,trigger:ye,children:Pe,defaultCollapsed:we=!1,theme:Te="dark",style:Ee={},collapsible:_e=!1,reverseArrow:Ce=!1,width:Oe=200,collapsedWidth:Ie=80,zeroWidthTriggerStyle:Ue,breakpoint:je,onCollapse:nt,onBreakpoint:Je}=ge,Qe=x(ge,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Xe}=(0,xe.useContext)(y.Gs),[ze,ke]=(0,xe.useState)("collapsed"in ge?ge.collapsed:we),[Be,qe]=(0,xe.useState)(!1);(0,xe.useEffect)(()=>{"collapsed"in ge&&ke(ge.collapsed)},[ge.collapsed]);const Ye=(Me,He)=>{"collapsed"in ge||ke(Me),nt==null||nt(Me,He)},gt=(0,xe.useRef)();gt.current=Me=>{qe(Me.matches),Je==null||Je(Me.matches),ze!==Me.matches&&Ye(Me.matches,"responsive")},(0,xe.useEffect)(()=>{function Me(Ve){return gt.current(Ve)}let He;if(typeof window!="undefined"){const{matchMedia:Ve}=window;if(Ve&&je&&je in b){He=Ve(`(max-width: ${b[je]})`);try{He.addEventListener("change",Me)}catch(Ze){He.addListener(Me)}Me(He)}}return()=>{try{He==null||He.removeEventListener("change",Me)}catch(Ve){He==null||He.removeListener(Me)}}},[je]),(0,xe.useEffect)(()=>{const Me=te("ant-sider-");return Xe.addSider(Me),()=>Xe.removeSider(Me)},[]);const $e=()=>{Ye(!ze,"clickTrigger")},{getPrefixCls:We}=(0,xe.useContext)(a.E_),Re=()=>{const Me=We("layout-sider",me),He=(0,oe.Z)(Qe,["collapsed"]),Ve=ze?Ie:Oe,Ze=z(Ve)?`${Ve}px`:String(Ve),Ke=parseFloat(String(Ie||0))===0?xe.createElement("span",{onClick:$e,className:ae()(`${Me}-zero-width-trigger`,`${Me}-zero-width-trigger-${Ce?"right":"left"}`),style:Ue},ye||xe.createElement(re,null)):null,Ne={expanded:Ce?xe.createElement(le.Z,null):xe.createElement(ie.Z,null),collapsed:Ce?xe.createElement(ie.Z,null):xe.createElement(le.Z,null)}[ze?"collapsed":"expanded"],Ge=ye!==null?Ke||xe.createElement("div",{className:`${Me}-trigger`,onClick:$e,style:{width:Ze}},ye||Ne):null,ot=Object.assign(Object.assign({},Ee),{flex:`0 0 ${Ze}`,maxWidth:Ze,minWidth:Ze,width:Ze}),St=ae()(Me,`${Me}-${Te}`,{[`${Me}-collapsed`]:!!ze,[`${Me}-has-trigger`]:_e&&ye!==null&&!Ke,[`${Me}-below`]:!!Be,[`${Me}-zero-width`]:parseFloat(Ze)===0},Se);return xe.createElement("aside",Object.assign({className:St},He,{style:ot,ref:ve}),xe.createElement("div",{className:`${Me}-children`},Pe),_e||Be&&Ke?Ge:null)},tt=xe.useMemo(()=>({siderCollapsed:ze}),[ze]);return xe.createElement(ee.Provider,{value:tt},Re())})},84321:function(xt,ft,pe){"use strict";pe.d(ft,{VY:function(){return te},$_:function(){return ee},h4:function(){return b},Gs:function(){return ne},ZP:function(){return ue}});var be=pe(74902),xe=pe(94184),E=pe.n(xe),he=pe(10366),fe=pe(67294),se=pe(53124),re=pe(67968),le=de=>{const{componentCls:ge,bodyBg:ve,lightSiderBg:me,lightTriggerBg:Se,lightTriggerColor:ye}=de;return{[`${ge}-sider-light`]:{background:me,[`${ge}-sider-trigger`]:{color:ye,background:Se},[`${ge}-sider-zero-width-trigger`]:{color:ye,background:Se,border:`1px solid ${ve}`,borderInlineStart:0}}}};const ce=de=>{const{antCls:ge,componentCls:ve,colorText:me,triggerColor:Se,footerBg:ye,triggerBg:Pe,headerHeight:we,headerPadding:Te,headerColor:Ee,footerPadding:_e,triggerHeight:Ce,zeroTriggerHeight:Oe,zeroTriggerWidth:Ie,motionDurationMid:Ue,motionDurationSlow:je,fontSize:nt,borderRadius:Je,bodyBg:Qe,headerBg:Xe,siderBg:ze}=de;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:ze,transition:`all ${Ue}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ge}-menu${ge}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ce},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ce,color:Se,lineHeight:`${Ce}px`,textAlign:"center",background:Pe,cursor:"pointer",transition:`all ${Ue}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:we,insetInlineEnd:-Ie,zIndex:1,width:Ie,height:Oe,color:Se,fontSize:de.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ze,borderStartStartRadius:0,borderStartEndRadius:Je,borderEndEndRadius:Je,borderEndStartRadius:0,cursor:"pointer",transition:`background ${je} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${je}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ie,borderStartStartRadius:Je,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Je}}}}},le(de)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:we,padding:Te,color:Ee,lineHeight:`${we}px`,background:Xe,[`${ge}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:_e,color:me,fontSize:nt,background:ye},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var ae=(0,re.Z)("Layout",de=>[ce(de)],de=>{const{colorBgLayout:ge,controlHeight:ve,controlHeightLG:me,colorText:Se,controlHeightSM:ye,marginXXS:Pe,colorTextLightSolid:we,colorBgContainer:Te}=de,Ee=me*1.25;return{colorBgHeader:"#001529",colorBgBody:ge,colorBgTrigger:"#002140",bodyBg:ge,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${Ee}px`,headerColor:Se,footerPadding:`${ye}px ${Ee}px`,footerBg:ge,siderBg:"#001529",triggerHeight:me+Pe*2,triggerBg:"#002140",triggerColor:we,zeroTriggerWidth:me,zeroTriggerHeight:me,lightSiderBg:Te,lightTriggerBg:Te,lightTriggerColor:Se}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),oe=function(de,ge){var ve={};for(var me in de)Object.prototype.hasOwnProperty.call(de,me)&&ge.indexOf(me)<0&&(ve[me]=de[me]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,me=Object.getOwnPropertySymbols(de);Senull,removeSider:()=>null}});function z(de){let{suffixCls:ge,tagName:ve,displayName:me}=de;return Se=>fe.forwardRef((Pe,we)=>fe.createElement(Se,Object.assign({ref:we,suffixCls:ge,tagName:ve},Pe)))}const a=fe.forwardRef((de,ge)=>{const{prefixCls:ve,suffixCls:me,className:Se,tagName:ye}=de,Pe=oe(de,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:we}=fe.useContext(se.E_),Te=we("layout",ve),[Ee,_e]=ae(Te),Ce=me?`${Te}-${me}`:Te;return Ee(fe.createElement(ye,Object.assign({className:E()(ve||Ce,Se,_e),ref:ge},Pe)))}),y=fe.forwardRef((de,ge)=>{const{direction:ve}=fe.useContext(se.E_),[me,Se]=fe.useState([]),{prefixCls:ye,className:Pe,rootClassName:we,children:Te,hasSider:Ee,tagName:_e,style:Ce}=de,Oe=oe(de,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ie=(0,he.Z)(Oe,["suffixCls"]),{getPrefixCls:Ue,layout:je}=fe.useContext(se.E_),nt=Ue("layout",ye),[Je,Qe]=ae(nt),Xe=E()(nt,{[`${nt}-has-sider`]:typeof Ee=="boolean"?Ee:me.length>0,[`${nt}-rtl`]:ve==="rtl"},je==null?void 0:je.className,Pe,we,Qe),ze=fe.useMemo(()=>({siderHook:{addSider:ke=>{Se(Be=>[].concat((0,be.Z)(Be),[ke]))},removeSider:ke=>{Se(Be=>Be.filter(qe=>qe!==ke))}}}),[]);return Je(fe.createElement(ne.Provider,{value:ze},fe.createElement(_e,Object.assign({ref:ge,className:Xe,style:Object.assign(Object.assign({},je==null?void 0:je.style),Ce)},Ie),Te)))}),x=z({tagName:"div",displayName:"Layout"})(y),b=z({suffixCls:"header",tagName:"header",displayName:"Header"})(a),ee=z({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),te=z({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ue=x},76529:function(xt,ft,pe){"use strict";pe.d(ft,{J:function(){return se}});var be=pe(67294),xe=pe(4173),E=pe(60276),he=function(re,ie){var le={};for(var ce in re)Object.prototype.hasOwnProperty.call(re,ce)&&ie.indexOf(ce)<0&&(le[ce]=re[ce]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,ce=Object.getOwnPropertySymbols(re);ae{const{children:le}=re,ce=he(re,["children"]),ae=be.useContext(fe),oe=be.useMemo(()=>Object.assign(Object.assign({},ae),ce),[ae,ce.prefixCls,ce.mode,ce.selectable]);return be.createElement(fe.Provider,{value:oe},be.createElement(xe.BR,null,(0,E.supportNodeRef)(le)?be.cloneElement(le,{ref:ie}):le))});ft.Z=fe},68508:function(xt,ft,pe){"use strict";pe.d(ft,{default:function(){return Me}});var be=pe(52073),xe=pe(67294),E=pe(71322),he=pe(94184),fe=pe.n(he),se=pe(53124),re=function(He,Ve){var Ze={};for(var Ke in He)Object.prototype.hasOwnProperty.call(He,Ke)&&Ve.indexOf(Ke)<0&&(Ze[Ke]=He[Ke]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Ke=Object.getOwnPropertySymbols(He);Ae{const{prefixCls:Ve,className:Ze,dashed:Ke}=He,Ae=re(He,["prefixCls","className","dashed"]),{getPrefixCls:Le}=xe.useContext(se.E_),Ne=Le("menu",Ve),Ge=fe()({[`${Ne}-item-divider-dashed`]:!!Ke},Ze);return xe.createElement(be.iz,Object.assign({className:Ge},Ae))},ce=pe(37419),ae=pe(10366),oe=pe(83062),ne=pe(96159),a=(0,xe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=He=>{var Ve;const{className:Ze,children:Ke,icon:Ae,title:Le,danger:Ne}=He,{prefixCls:Ge,firstLevel:ot,direction:St,disableMenuItemTitleTooltip:wt,inlineCollapsed:rt}=xe.useContext(a),bt=pt=>{const Ct=xe.createElement("span",{className:`${Ge}-title-content`},Ke);return(!Ae||(0,ne.l$)(Ke)&&Ke.type==="span")&&Ke&&pt&&ot&&typeof Ke=="string"?xe.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},Ke.charAt(0)):Ct},{siderCollapsed:Ft}=xe.useContext(E.D);let $t=Le;typeof Le=="undefined"?$t=ot?Ke:"":Le===!1&&($t="");const st={title:$t};!Ft&&!rt&&(st.title=null,st.open=!1);const Nt=(0,ce.Z)(Ke).length;let ct=xe.createElement(be.ck,Object.assign({},(0,ae.Z)(He,["title","icon","danger"]),{className:fe()({[`${Ge}-item-danger`]:Ne,[`${Ge}-item-only-child`]:(Ae?Nt+1:Nt)===1},Ze),title:typeof Le=="string"?Le:void 0}),(0,ne.Tm)(Ae,{className:fe()((0,ne.l$)(Ae)?(Ve=Ae.props)===null||Ve===void 0?void 0:Ve.className:"",`${Ge}-item-icon`)}),bt(rt));return wt||(ct=xe.createElement(oe.Z,Object.assign({},st,{placement:St==="rtl"?"left":"right",overlayClassName:`${Ge}-inline-collapsed-tooltip`}),ct)),ct},ee=He=>{var Ve;const{popupClassName:Ze,icon:Ke,title:Ae,theme:Le}=He,Ne=xe.useContext(a),{prefixCls:Ge,inlineCollapsed:ot,theme:St}=Ne,wt=(0,be.Xl)();let rt;if(!Ke)rt=ot&&!wt.length&&Ae&&typeof Ae=="string"?xe.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},Ae.charAt(0)):xe.createElement("span",{className:`${Ge}-title-content`},Ae);else{const Ft=(0,ne.l$)(Ae)&&Ae.type==="span";rt=xe.createElement(xe.Fragment,null,(0,ne.Tm)(Ke,{className:fe()((0,ne.l$)(Ke)?(Ve=Ke.props)===null||Ve===void 0?void 0:Ve.className:"",`${Ge}-item-icon`)}),Ft?Ae:xe.createElement("span",{className:`${Ge}-title-content`},Ae))}const bt=xe.useMemo(()=>Object.assign(Object.assign({},Ne),{firstLevel:!1}),[Ne]);return xe.createElement(a.Provider,{value:bt},xe.createElement(be.Wd,Object.assign({},(0,ae.Z)(He,["icon"]),{title:rt,popupClassName:fe()(Ge,Ze,`${Ge}-${Le||St}`)})))},te=pe(25877),ue=pe(60276),de=pe(33603),ge=pe(76529),ve=function(He,Ve){var Ze={};for(var Ke in He)Object.prototype.hasOwnProperty.call(He,Ke)&&Ve.indexOf(Ke)<0&&(Ze[Ke]=He[Ke]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Ke=Object.getOwnPropertySymbols(He);Ae{if(Ve&&typeof Ve=="object"){const Ke=Ve,{label:Ae,children:Le,key:Ne,type:Ge}=Ke,ot=ve(Ke,["label","children","key","type"]),St=Ne!=null?Ne:`tmp-${Ze}`;return Le||Ge==="group"?Ge==="group"?xe.createElement(be.BW,Object.assign({key:St},ot,{title:Ae}),me(Le)):xe.createElement(ee,Object.assign({key:St},ot,{title:Ae}),me(Le)):Ge==="divider"?xe.createElement(le,Object.assign({key:St},ot)):xe.createElement(x,Object.assign({key:St},ot),Ae)}return null}).filter(Ve=>Ve)}function Se(He){return xe.useMemo(()=>He&&me(He),[He])}var ye=pe(84780),Pe=pe(14747),we=pe(33507),Te=pe(67771),Ee=pe(50438),_e=pe(67968),Ce=pe(45503),Ie=He=>{const{componentCls:Ve,motionDurationSlow:Ze,horizontalLineHeight:Ke,colorSplit:Ae,lineWidth:Le,lineType:Ne,itemPaddingInline:Ge}=He;return{[`${Ve}-horizontal`]:{lineHeight:Ke,border:0,borderBottom:`${Le}px ${Ne} ${Ae}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ve}-item, ${Ve}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ge},[`> ${Ve}-item:hover, > ${Ve}-item-active, > ${Ve}-submenu ${Ve}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ve}-item, ${Ve}-submenu-title`]:{transition:[`border-color ${Ze}`,`background ${Ze}`].join(",")},[`${Ve}-submenu-arrow`]:{display:"none"}}}},je=He=>{let{componentCls:Ve,menuArrowOffset:Ze}=He;return{[`${Ve}-rtl`]:{direction:"rtl"},[`${Ve}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ve}-rtl${Ve}-vertical, ${Ve}-submenu-rtl ${Ve}-vertical`]:{[`${Ve}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Ze})`},"&::after":{transform:`rotate(45deg) translateY(${Ze})`}}}}};const nt=He=>Object.assign({},(0,Pe.oN)(He));var Qe=(He,Ve)=>{const{componentCls:Ze,itemColor:Ke,itemSelectedColor:Ae,groupTitleColor:Le,itemBg:Ne,subMenuItemBg:Ge,itemSelectedBg:ot,activeBarHeight:St,activeBarWidth:wt,activeBarBorderWidth:rt,motionDurationSlow:bt,motionEaseInOut:Ft,motionEaseOut:$t,itemPaddingInline:st,motionDurationMid:Nt,itemHoverColor:ct,lineType:pt,colorSplit:Ct,itemDisabledColor:Rt,dangerItemColor:zt,dangerItemHoverColor:rn,dangerItemSelectedColor:kn,dangerItemActiveBg:jn,dangerItemSelectedBg:Hn,itemHoverBg:Pr,itemActiveBg:fn,menuSubMenuBg:Er,horizontalItemSelectedColor:oo,horizontalItemSelectedBg:Lo,horizontalItemBorderRadius:zo,horizontalItemHoverBg:Eo,popupBg:mo}=He;return{[`${Ze}-${Ve}, ${Ze}-${Ve} > ${Ze}`]:{color:Ke,background:Ne,[`&${Ze}-root:focus-visible`]:Object.assign({},nt(He)),[`${Ze}-item-group-title`]:{color:Le},[`${Ze}-submenu-selected`]:{[`> ${Ze}-submenu-title`]:{color:Ae}},[`${Ze}-item-disabled, ${Ze}-submenu-disabled`]:{color:`${Rt} !important`},[`${Ze}-item:not(${Ze}-item-selected):not(${Ze}-submenu-selected)`]:{[`&:hover, > ${Ze}-submenu-title:hover`]:{color:ct}},[`&:not(${Ze}-horizontal)`]:{[`${Ze}-item:not(${Ze}-item-selected)`]:{"&:hover":{backgroundColor:Pr},"&:active":{backgroundColor:fn}},[`${Ze}-submenu-title`]:{"&:hover":{backgroundColor:Pr},"&:active":{backgroundColor:fn}}},[`${Ze}-item-danger`]:{color:zt,[`&${Ze}-item:hover`]:{[`&:not(${Ze}-item-selected):not(${Ze}-submenu-selected)`]:{color:rn}},[`&${Ze}-item:active`]:{background:jn}},[`${Ze}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ze}-item-selected`]:{color:Ae,[`&${Ze}-item-danger`]:{color:kn},"a, a:hover":{color:"inherit"}},[`& ${Ze}-item-selected`]:{backgroundColor:ot,[`&${Ze}-item-danger`]:{backgroundColor:Hn}},[`${Ze}-item, ${Ze}-submenu-title`]:{[`&:not(${Ze}-item-disabled):focus-visible`]:Object.assign({},nt(He))},[`&${Ze}-submenu > ${Ze}`]:{backgroundColor:Er},[`&${Ze}-popup > ${Ze}`]:{backgroundColor:mo},[`&${Ze}-horizontal`]:Object.assign(Object.assign({},Ve==="dark"?{borderBottom:0}:{}),{[`> ${Ze}-item, > ${Ze}-submenu`]:{top:rt,marginTop:-rt,marginBottom:0,borderRadius:zo,"&::after":{position:"absolute",insetInline:st,bottom:0,borderBottom:`${St}px solid transparent`,transition:`border-color ${bt} ${Ft}`,content:'""'},"&:hover, &-active, &-open":{background:Eo,"&::after":{borderBottomWidth:St,borderBottomColor:oo}},"&-selected":{color:oo,backgroundColor:Lo,"&:hover":{backgroundColor:Lo},"&::after":{borderBottomWidth:St,borderBottomColor:oo}}}}),[`&${Ze}-root`]:{[`&${Ze}-inline, &${Ze}-vertical`]:{borderInlineEnd:`${rt}px ${pt} ${Ct}`}},[`&${Ze}-inline`]:{[`${Ze}-sub${Ze}-inline`]:{background:Ge},[`${Ze}-item, ${Ze}-submenu-title`]:rt&&wt?{width:`calc(100% + ${rt}px)`}:{},[`${Ze}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${wt}px solid ${Ae}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Nt} ${$t}`,`opacity ${Nt} ${$t}`].join(","),content:'""'},[`&${Ze}-item-danger`]:{"&::after":{borderInlineEndColor:kn}}},[`${Ze}-selected, ${Ze}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Nt} ${Ft}`,`opacity ${Nt} ${Ft}`].join(",")}}}}}};const Xe=He=>{const{componentCls:Ve,itemHeight:Ze,itemMarginInline:Ke,padding:Ae,menuArrowSize:Le,marginXS:Ne,itemMarginBlock:Ge}=He,ot=Ae+Le+Ne;return{[`${Ve}-item`]:{position:"relative",overflow:"hidden"},[`${Ve}-item, ${Ve}-submenu-title`]:{height:Ze,lineHeight:`${Ze}px`,paddingInline:Ae,overflow:"hidden",textOverflow:"ellipsis",marginInline:Ke,marginBlock:Ge,width:`calc(100% - ${Ke*2}px)`},[`> ${Ve}-item, > ${Ve}-submenu > ${Ve}-submenu-title`]:{height:Ze,lineHeight:`${Ze}px`},[`${Ve}-item-group-list ${Ve}-submenu-title, ${Ve}-submenu-title`]:{paddingInlineEnd:ot}}};var ke=He=>{const{componentCls:Ve,iconCls:Ze,itemHeight:Ke,colorTextLightSolid:Ae,dropdownWidth:Le,controlHeightLG:Ne,motionDurationMid:Ge,motionEaseOut:ot,paddingXL:St,itemMarginInline:wt,fontSizeLG:rt,motionDurationSlow:bt,paddingXS:Ft,boxShadowSecondary:$t,collapsedWidth:st,collapsedIconSize:Nt}=He,ct={height:Ke,lineHeight:`${Ke}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ve]:{"&-inline, &-vertical":Object.assign({[`&${Ve}-root`]:{boxShadow:"none"}},Xe(He))},[`${Ve}-submenu-popup`]:{[`${Ve}-vertical`]:Object.assign(Object.assign({},Xe(He)),{boxShadow:$t})}},{[`${Ve}-submenu-popup ${Ve}-vertical${Ve}-sub`]:{minWidth:Le,maxHeight:`calc(100vh - ${Ne*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ve}-inline`]:{width:"100%",[`&${Ve}-root`]:{[`${Ve}-item, ${Ve}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${bt}`,`background ${bt}`,`padding ${Ge} ${ot}`].join(","),[`> ${Ve}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ve}-sub${Ve}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ve}-submenu > ${Ve}-submenu-title`]:ct,[`& ${Ve}-item-group-title`]:{paddingInlineStart:St}},[`${Ve}-item`]:ct}},{[`${Ve}-inline-collapsed`]:{width:st,[`&${Ve}-root`]:{[`${Ve}-item, ${Ve}-submenu ${Ve}-submenu-title`]:{[`> ${Ve}-inline-collapsed-noicon`]:{fontSize:rt,textAlign:"center"}}},[`> ${Ve}-item, > ${Ve}-item-group > ${Ve}-item-group-list > ${Ve}-item, > ${Ve}-item-group > ${Ve}-item-group-list > ${Ve}-submenu > ${Ve}-submenu-title, > ${Ve}-submenu > ${Ve}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${rt/2}px - ${wt}px)`,textOverflow:"clip",[` ${Ve}-submenu-arrow, ${Ve}-submenu-expand-icon `]:{opacity:0},[`${Ve}-item-icon, ${Ze}`]:{margin:0,fontSize:Nt,lineHeight:`${Ke}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ve}-item-icon, ${Ze}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ve}-item-icon, ${Ze}`]:{display:"none"},"a, a:hover":{color:Ae}},[`${Ve}-item-group-title`]:Object.assign(Object.assign({},Pe.vS),{paddingInline:Ft})}}]};const Be=He=>{const{componentCls:Ve,motionDurationSlow:Ze,motionDurationMid:Ke,motionEaseInOut:Ae,motionEaseOut:Le,iconCls:Ne,iconSize:Ge,iconMarginInlineEnd:ot}=He;return{[`${Ve}-item, ${Ve}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ze}`,`background ${Ze}`,`padding ${Ze} ${Ae}`].join(","),[`${Ve}-item-icon, ${Ne}`]:{minWidth:Ge,fontSize:Ge,transition:[`font-size ${Ke} ${Le}`,`margin ${Ze} ${Ae}`,`color ${Ze}`].join(","),"+ span":{marginInlineStart:ot,opacity:1,transition:[`opacity ${Ze} ${Ae}`,`margin ${Ze}`,`color ${Ze}`].join(",")}},[`${Ve}-item-icon`]:Object.assign({},(0,Pe.Ro)()),[`&${Ve}-item-only-child`]:{[`> ${Ne}, > ${Ve}-item-icon`]:{marginInlineEnd:0}}},[`${Ve}-item-disabled, ${Ve}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ve}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},qe=He=>{const{componentCls:Ve,motionDurationSlow:Ze,motionEaseInOut:Ke,borderRadius:Ae,menuArrowSize:Le,menuArrowOffset:Ne}=He;return{[`${Ve}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:He.margin,width:Le,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ze} ${Ke}, opacity ${Ze}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Le*.6,height:Le*.15,backgroundColor:"currentcolor",borderRadius:Ae,transition:[`background ${Ze} ${Ke}`,`transform ${Ze} ${Ke}`,`top ${Ze} ${Ke}`,`color ${Ze} ${Ke}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Ne})`},"&::after":{transform:`rotate(-45deg) translateY(${Ne})`}}}}},Ye=He=>{const{antCls:Ve,componentCls:Ze,fontSize:Ke,motionDurationSlow:Ae,motionDurationMid:Le,motionEaseInOut:Ne,paddingXS:Ge,padding:ot,colorSplit:St,lineWidth:wt,zIndexPopup:rt,borderRadiusLG:bt,subMenuItemBorderRadius:Ft,menuArrowSize:$t,menuArrowOffset:st,lineType:Nt,menuPanelMaskInset:ct,groupTitleLineHeight:pt,groupTitleFontSize:Ct}=He;return[{"":{[`${Ze}`]:Object.assign(Object.assign({},(0,Pe.dF)()),{"&-hidden":{display:"none"}})},[`${Ze}-submenu-hidden`]:{display:"none"}},{[Ze]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pe.Wf)(He)),(0,Pe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Ke,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ae} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ze}-item`]:{flex:"none"}},[`${Ze}-item, ${Ze}-submenu, ${Ze}-submenu-title`]:{borderRadius:He.itemBorderRadius},[`${Ze}-item-group-title`]:{padding:`${Ge}px ${ot}px`,fontSize:Ct,lineHeight:pt,transition:`all ${Ae}`},[`&-horizontal ${Ze}-submenu`]:{transition:[`border-color ${Ae} ${Ne}`,`background ${Ae} ${Ne}`].join(",")},[`${Ze}-submenu, ${Ze}-submenu-inline`]:{transition:[`border-color ${Ae} ${Ne}`,`background ${Ae} ${Ne}`,`padding ${Le} ${Ne}`].join(",")},[`${Ze}-submenu ${Ze}-sub`]:{cursor:"initial",transition:[`background ${Ae} ${Ne}`,`padding ${Ae} ${Ne}`].join(",")},[`${Ze}-title-content`]:{transition:`color ${Ae}`},[`${Ze}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ze}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:St,borderStyle:Nt,borderWidth:0,borderTopWidth:wt,marginBlock:wt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Be(He)),{[`${Ze}-item-group`]:{[`${Ze}-item-group-list`]:{margin:0,padding:0,[`${Ze}-item, ${Ze}-submenu-title`]:{paddingInline:`${Ke*2}px ${ot}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:rt,borderRadius:bt,boxShadow:"none",transformOrigin:"0 0",[`&${Ze}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ct}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ct},"\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:He.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:He.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:He.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:He.paddingXS},[`> ${Ze}`]:Object.assign(Object.assign(Object.assign({borderRadius:bt},Be(He)),qe(He)),{[`${Ze}-item, ${Ze}-submenu > ${Ze}-submenu-title`]:{borderRadius:Ft},[`${Ze}-submenu-title::after`]:{transition:`transform ${Ae} ${Ne}`}})}}),qe(He)),{[`&-inline-collapsed ${Ze}-submenu-arrow, &-inline ${Ze}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${st})`},"&::after":{transform:`rotate(45deg) translateX(-${st})`}},[`${Ze}-submenu-open${Ze}-submenu-inline > ${Ze}-submenu-title > ${Ze}-submenu-arrow`]:{transform:`translateY(-${$t*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${st})`},"&::before":{transform:`rotate(45deg) translateX(${st})`}}})},{[`${Ve}-layout-header`]:{[Ze]:{lineHeight:"inherit"}}}]};var gt=(He,Ve)=>(0,_e.Z)("Menu",Ke=>{if(Ve===!1)return[];const{colorBgElevated:Ae,colorPrimary:Le,colorTextLightSolid:Ne,controlHeightLG:Ge,fontSize:ot,darkItemColor:St,darkDangerItemColor:wt,darkItemBg:rt,darkSubMenuItemBg:bt,darkItemSelectedColor:Ft,darkItemSelectedBg:$t,darkDangerItemSelectedBg:st,darkItemHoverBg:Nt,darkGroupTitleColor:ct,darkItemHoverColor:pt,darkItemDisabledColor:Ct,darkDangerItemHoverColor:Rt,darkDangerItemSelectedColor:zt,darkDangerItemActiveBg:rn}=Ke,kn=ot/7*5,jn=(0,Ce.TS)(Ke,{menuArrowSize:kn,menuHorizontalHeight:Ge*1.15,menuArrowOffset:`${kn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ae}),Hn=(0,Ce.TS)(jn,{itemColor:St,itemHoverColor:pt,groupTitleColor:ct,itemSelectedColor:Ft,itemBg:rt,popupBg:rt,subMenuItemBg:bt,itemActiveBg:"transparent",itemSelectedBg:$t,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Nt,itemDisabledColor:Ct,dangerItemColor:wt,dangerItemHoverColor:Rt,dangerItemSelectedColor:zt,dangerItemActiveBg:rn,dangerItemSelectedBg:st,menuSubMenuBg:bt,horizontalItemSelectedColor:Ne,horizontalItemSelectedBg:Le});return[Ye(jn),Ie(jn),ke(jn),Qe(jn,"light"),Qe(Hn,"dark"),je(jn),(0,we.Z)(jn),(0,Te.oN)(jn,"slide-up"),(0,Te.oN)(jn,"slide-down"),(0,Ee._y)(jn,"zoom-big")]},Ke=>{const{colorPrimary:Ae,colorError:Le,colorTextDisabled:Ne,colorErrorBg:Ge,colorText:ot,colorTextDescription:St,colorBgContainer:wt,colorFillAlter:rt,colorFillContent:bt,lineWidth:Ft,lineWidthBold:$t,controlItemBgActive:st,colorBgTextHover:Nt,controlHeightLG:ct,lineHeight:pt,colorBgElevated:Ct,marginXXS:Rt,padding:zt,fontSize:rn,controlHeightSM:kn,fontSizeLG:jn,colorTextLightSolid:Hn,colorErrorHover:Pr}=Ke,fn=new ye.C(Hn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Ke.zIndexPopupBase+50,radiusItem:Ke.borderRadiusLG,itemBorderRadius:Ke.borderRadiusLG,radiusSubMenuItem:Ke.borderRadiusSM,subMenuItemBorderRadius:Ke.borderRadiusSM,colorItemText:ot,itemColor:ot,colorItemTextHover:ot,itemHoverColor:ot,colorItemTextHoverHorizontal:Ae,horizontalItemHoverColor:Ae,colorGroupTitle:St,groupTitleColor:St,colorItemTextSelected:Ae,itemSelectedColor:Ae,colorItemTextSelectedHorizontal:Ae,horizontalItemSelectedColor:Ae,colorItemBg:wt,itemBg:wt,colorItemBgHover:Nt,itemHoverBg:Nt,colorItemBgActive:bt,itemActiveBg:st,colorSubItemBg:rt,subMenuItemBg:rt,colorItemBgSelected:st,itemSelectedBg:st,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:$t,activeBarHeight:$t,colorActiveBarBorderSize:Ft,activeBarBorderWidth:Ft,colorItemTextDisabled:Ne,itemDisabledColor:Ne,colorDangerItemText:Le,dangerItemColor:Le,colorDangerItemTextHover:Le,dangerItemHoverColor:Le,colorDangerItemTextSelected:Le,dangerItemSelectedColor:Le,colorDangerItemBgActive:Ge,dangerItemActiveBg:Ge,colorDangerItemBgSelected:Ge,dangerItemSelectedBg:Ge,itemMarginInline:Ke.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ct,groupTitleLineHeight:pt,collapsedWidth:ct*2,popupBg:Ct,itemMarginBlock:Rt,itemPaddingInline:zt,horizontalLineHeight:`${ct*1.15}px`,iconSize:rn,iconMarginInlineEnd:kn-rn,collapsedIconSize:jn,groupTitleFontSize:rn,darkItemDisabledColor:new ye.C(Hn).setAlpha(.25).toRgbString(),darkItemColor:fn,darkDangerItemColor:Le,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Hn,darkItemSelectedBg:Ae,darkDangerItemSelectedBg:Le,darkItemHoverBg:"transparent",darkGroupTitleColor:fn,darkItemHoverColor:Hn,darkDangerItemHoverColor:Pr,darkDangerItemSelectedColor:Hn,darkDangerItemActiveBg:Le}},{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"]]})(He),$e=function(He,Ve){var Ze={};for(var Ke in He)Object.prototype.hasOwnProperty.call(He,Ke)&&Ve.indexOf(Ke)<0&&(Ze[Ke]=He[Ke]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Ke=Object.getOwnPropertySymbols(He);Ae{var Ze,Ke;const Ae=xe.useContext(ge.Z),Le=Ae||{},{getPrefixCls:Ne,getPopupContainer:Ge,direction:ot,menu:St}=xe.useContext(se.E_),wt=Ne(),{prefixCls:rt,className:bt,style:Ft,theme:$t="light",expandIcon:st,_internalDisableMenuItemTitleTooltip:Nt,inlineCollapsed:ct,siderCollapsed:pt,items:Ct,children:Rt,rootClassName:zt,mode:rn,selectable:kn,onClick:jn,overflowedIndicatorPopupClassName:Hn}=He,Pr=$e(He,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),fn=(0,ae.Z)(Pr,["collapsedWidth"]),Er=Se(Ct)||Rt;(Ze=Le.validator)===null||Ze===void 0||Ze.call(Le,{mode:rn});const oo=(0,ue.useEvent)(function(){var er;jn==null||jn.apply(void 0,arguments),(er=Le.onClick)===null||er===void 0||er.call(Le)}),Lo=Le.mode||rn,zo=kn!=null?kn:Le.selectable,Eo=xe.useMemo(()=>pt!==void 0?pt:ct,[ct,pt]),mo={horizontal:{motionName:`${wt}-slide-up`},inline:(0,de.Z)(wt),other:{motionName:`${wt}-zoom-big`}},Sn=Ne("menu",rt||Le.prefixCls),[ln,mn]=gt(Sn,!Ae),Ln=fe()(`${Sn}-${$t}`,St==null?void 0:St.className,bt);let Wn;if(typeof st=="function")Wn=st;else if(st===null||st===!1)Wn=null;else if(Le.expandIcon===null||Le.expandIcon===!1)Wn=null;else{const er=st!=null?st:Le.expandIcon;Wn=(0,ne.Tm)(er,{className:fe()(`${Sn}-submenu-expand-icon`,(0,ne.l$)(er)?(Ke=er.props)===null||Ke===void 0?void 0:Ke.className:"")})}const lr=xe.useMemo(()=>({prefixCls:Sn,inlineCollapsed:Eo||!1,direction:ot,firstLevel:!0,theme:$t,mode:Lo,disableMenuItemTitleTooltip:Nt}),[Sn,Eo,ot,Nt,$t]);return ln(xe.createElement(ge.Z.Provider,{value:null},xe.createElement(a.Provider,{value:lr},xe.createElement(be.ZP,Object.assign({getPopupContainer:Ge,overflowedIndicator:xe.createElement(te.Z,null),overflowedIndicatorPopupClassName:fe()(Sn,`${Sn}-${$t}`,Hn),mode:Lo,selectable:zo,onClick:oo},fn,{inlineCollapsed:Eo,style:Object.assign(Object.assign({},St==null?void 0:St.style),Ft),className:Ln,prefixCls:Sn,direction:ot,defaultMotions:mo,expandIcon:Wn,ref:Ve,rootClassName:fe()(zt,mn)}),Er))))});const tt=(0,xe.forwardRef)((He,Ve)=>{const Ze=(0,xe.useRef)(null),Ke=xe.useContext(E.D);return(0,xe.useImperativeHandle)(Ve,()=>({menu:Ze.current,focus:Ae=>{var Le;(Le=Ze.current)===null||Le===void 0||Le.focus(Ae)}})),xe.createElement(Re,Object.assign({ref:Ze},He,Ke))});tt.Item=x,tt.SubMenu=ee,tt.Divider=le,tt.ItemGroup=be.BW;var Me=tt},28452:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return wt}});var be=pe(87462),xe=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"},he=E,fe=pe(74643),se=function(bt,Ft){return xe.createElement(fe.Z,(0,be.Z)({},bt,{ref:Ft,icon:he}))},re=xe.forwardRef(se),ie=pe(81893),le=pe(22751),ce=pe(91034),ae=pe(94184),oe=pe.n(ae),ne=pe(4942),z=pe(1413),a=pe(15671),y=pe(43144),x=pe(60136),b=pe(51630),ee=`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`,te=`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`,ue="".concat(ee," ").concat(te).split(/[\s\n]+/),de="aria-",ge="data-";function ve(rt,bt){return rt.indexOf(bt)===0}function me(rt){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ft;bt===!1?Ft={aria:!0,data:!0,attr:!0}:bt===!0?Ft={aria:!0}:Ft=(0,z.Z)({},bt);var $t={};return Object.keys(rt).forEach(function(st){(Ft.aria&&(st==="role"||ve(st,de))||Ft.data&&ve(st,ge)||Ft.attr&&ue.includes(st))&&($t[st]=rt[st])}),$t}var Se={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ye=Se,Pe=pe(81626),we=function(rt){(0,x.Z)(Ft,rt);var bt=(0,b.Z)(Ft);function Ft(){var $t;(0,a.Z)(this,Ft);for(var st=arguments.length,Nt=new Array(st),ct=0;ct=0||pt.relatedTarget.className.indexOf("".concat(rn,"-item"))>=0))&&zt($t.getValidValue()))},$t.go=function(pt){var Ct=$t.state.goInputText;Ct!==""&&(pt.keyCode===ye.ENTER||pt.type==="click")&&($t.setState({goInputText:""}),$t.props.quickGo($t.getValidValue()))},$t}return(0,y.Z)(Ft,[{key:"getPageSizeOptions",value:function(){var st=this.props,Nt=st.pageSize,ct=st.pageSizeOptions;return ct.some(function(pt){return pt.toString()===Nt.toString()})?ct:ct.concat([Nt.toString()]).sort(function(pt,Ct){var Rt=Number.isNaN(Number(pt))?0:Number(pt),zt=Number.isNaN(Number(Ct))?0:Number(Ct);return Rt-zt})}},{key:"render",value:function(){var st=this,Nt=this.props,ct=Nt.pageSize,pt=Nt.locale,Ct=Nt.rootPrefixCls,Rt=Nt.changeSize,zt=Nt.quickGo,rn=Nt.goButton,kn=Nt.selectComponentClass,jn=Nt.buildOptionText,Hn=Nt.selectPrefixCls,Pr=Nt.disabled,fn=this.state.goInputText,Er="".concat(Ct,"-options"),oo=kn,Lo=null,zo=null,Eo=null;if(!Rt&&!zt)return null;var mo=this.getPageSizeOptions();if(Rt&&oo){var Sn=mo.map(function(ln,mn){return xe.createElement(oo.Option,{key:mn,value:ln.toString()},(jn||st.buildOptionText)(ln))});Lo=xe.createElement(oo,{disabled:Pr,prefixCls:Hn,showSearch:!1,className:"".concat(Er,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ct||mo[0]).toString(),onChange:this.changeSize,getPopupContainer:function(mn){return mn.parentNode},"aria-label":pt.page_size,defaultOpen:!1},Sn)}return zt&&(rn&&(Eo=typeof rn=="boolean"?xe.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Pr,className:"".concat(Er,"-quick-jumper-button")},pt.jump_to_confirm):xe.createElement("span",{onClick:this.go,onKeyUp:this.go},rn)),zo=xe.createElement("div",{className:"".concat(Er,"-quick-jumper")},pt.jump_to,xe.createElement("input",{disabled:Pr,type:"text",value:fn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":pt.page}),pt.page,Eo)),xe.createElement("li",{className:"".concat(Er)},Lo,zo)}}]),Ft}(xe.Component);we.defaultProps={pageSizeOptions:["10","20","50","100"]};var Te=we,Ee=function(bt){var Ft,$t=bt.rootPrefixCls,st=bt.page,Nt=bt.active,ct=bt.className,pt=bt.showTitle,Ct=bt.onClick,Rt=bt.onKeyPress,zt=bt.itemRender,rn="".concat($t,"-item"),kn=oe()(rn,"".concat(rn,"-").concat(st),(Ft={},(0,ne.Z)(Ft,"".concat(rn,"-active"),Nt),(0,ne.Z)(Ft,"".concat(rn,"-disabled"),!st),(0,ne.Z)(Ft,bt.className,ct),Ft)),jn=function(){Ct(st)},Hn=function(Er){Rt(Er,Ct,st)},Pr=zt(st,"page",xe.createElement("a",{rel:"nofollow"},st));return Pr?xe.createElement("li",{title:pt?st.toString():null,className:kn,onClick:jn,onKeyPress:Hn,tabIndex:0},Pr):null},_e=Ee;function Ce(){}function Oe(rt){var bt=Number(rt);return typeof bt=="number"&&!Number.isNaN(bt)&&isFinite(bt)&&Math.floor(bt)===bt}var Ie=function(bt,Ft,$t){return $t};function Ue(rt,bt,Ft){var $t=typeof rt=="undefined"?bt.pageSize:rt;return Math.floor((Ft.total-1)/$t)+1}var je=function(rt){(0,x.Z)(Ft,rt);var bt=(0,b.Z)(Ft);function Ft($t){var st;(0,a.Z)(this,Ft),st=bt.call(this,$t),st.paginationNode=xe.createRef(),st.getJumpPrevPage=function(){return Math.max(1,st.state.current-(st.props.showLessItems?3:5))},st.getJumpNextPage=function(){return Math.min(Ue(void 0,st.state,st.props),st.state.current+(st.props.showLessItems?3:5))},st.getItemIcon=function(Rt,zt){var rn=st.props.prefixCls,kn=Rt||xe.createElement("button",{type:"button","aria-label":zt,className:"".concat(rn,"-item-link")});return typeof Rt=="function"&&(kn=xe.createElement(Rt,(0,z.Z)({},st.props))),kn},st.isValid=function(Rt){var zt=st.props.total;return Oe(Rt)&&Rt!==st.state.current&&Oe(zt)&&zt>0},st.shouldDisplayQuickJumper=function(){var Rt=st.props,zt=Rt.showQuickJumper,rn=Rt.total,kn=st.state.pageSize;return rn<=kn?!1:zt},st.handleKeyDown=function(Rt){(Rt.keyCode===ye.ARROW_UP||Rt.keyCode===ye.ARROW_DOWN)&&Rt.preventDefault()},st.handleKeyUp=function(Rt){var zt=st.getValidValue(Rt),rn=st.state.currentInputValue;zt!==rn&&st.setState({currentInputValue:zt}),Rt.keyCode===ye.ENTER?st.handleChange(zt):Rt.keyCode===ye.ARROW_UP?st.handleChange(zt-1):Rt.keyCode===ye.ARROW_DOWN&&st.handleChange(zt+1)},st.handleBlur=function(Rt){var zt=st.getValidValue(Rt);st.handleChange(zt)},st.changePageSize=function(Rt){var zt=st.state.current,rn=Ue(Rt,st.state,st.props);zt=zt>rn?rn:zt,rn===0&&(zt=st.state.current),typeof Rt=="number"&&("pageSize"in st.props||st.setState({pageSize:Rt}),"current"in st.props||st.setState({current:zt,currentInputValue:zt})),st.props.onShowSizeChange(zt,Rt),"onChange"in st.props&&st.props.onChange&&st.props.onChange(zt,Rt)},st.handleChange=function(Rt){var zt=st.props,rn=zt.disabled,kn=zt.onChange,jn=st.state,Hn=jn.pageSize,Pr=jn.current,fn=jn.currentInputValue;if(st.isValid(Rt)&&!rn){var Er=Ue(void 0,st.state,st.props),oo=Rt;return Rt>Er?oo=Er:Rt<1&&(oo=1),"current"in st.props||st.setState({current:oo}),oo!==fn&&st.setState({currentInputValue:oo}),kn(oo,Hn),oo}return Pr},st.prev=function(){st.hasPrev()&&st.handleChange(st.state.current-1)},st.next=function(){st.hasNext()&&st.handleChange(st.state.current+1)},st.jumpPrev=function(){st.handleChange(st.getJumpPrevPage())},st.jumpNext=function(){st.handleChange(st.getJumpNextPage())},st.hasPrev=function(){return st.state.current>1},st.hasNext=function(){return st.state.current2?rn-2:0),jn=2;jn=ct?Ct=ct:Ct=Number(Nt),Ct}},{key:"getShowSizeChanger",value:function(){var st=this.props,Nt=st.showSizeChanger,ct=st.total,pt=st.totalBoundaryShowSizeChanger;return typeof Nt!="undefined"?Nt:ct>pt}},{key:"render",value:function(){var st=this.props,Nt=st.prefixCls,ct=st.className,pt=st.style,Ct=st.disabled,Rt=st.hideOnSinglePage,zt=st.total,rn=st.locale,kn=st.showQuickJumper,jn=st.showLessItems,Hn=st.showTitle,Pr=st.showTotal,fn=st.simple,Er=st.itemRender,oo=st.showPrevNextJumpers,Lo=st.jumpPrevIcon,zo=st.jumpNextIcon,Eo=st.selectComponentClass,mo=st.selectPrefixCls,Sn=st.pageSizeOptions,ln=this.state,mn=ln.current,Ln=ln.pageSize,Wn=ln.currentInputValue;if(Rt===!0&&zt<=Ln)return null;var lr=Ue(void 0,this.state,this.props),er=[],Wr=null,Br=null,cr=null,Mt=null,jt=null,Tt=kn&&kn.goButton,wn=jn?1:2,zn=mn-1>0?mn-1:0,$n=mn+1zt?zt:mn*Ln]));if(fn){Tt&&(typeof Tt=="boolean"?jt=xe.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},rn.jump_to_confirm):jt=xe.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Tt),jt=xe.createElement("li",{title:Hn?"".concat(rn.jump_to).concat(mn,"/").concat(lr):null,className:"".concat(Nt,"-simple-pager")},jt));var Lr=this.renderPrev(zn);return xe.createElement("ul",(0,be.Z)({className:oe()(Nt,"".concat(Nt,"-simple"),(0,ne.Z)({},"".concat(Nt,"-disabled"),Ct),ct),style:pt,ref:this.paginationNode},_r),mr,Lr?xe.createElement("li",{title:Hn?rn.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:oe()("".concat(Nt,"-prev"),(0,ne.Z)({},"".concat(Nt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Lr):null,xe.createElement("li",{title:Hn?"".concat(mn,"/").concat(lr):null,className:"".concat(Nt,"-simple-pager")},xe.createElement("input",{type:"text",value:Wn,disabled:Ct,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),xe.createElement("span",{className:"".concat(Nt,"-slash")},"/"),lr),xe.createElement("li",{title:Hn?rn.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:oe()("".concat(Nt,"-next"),(0,ne.Z)({},"".concat(Nt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext($n)),jt)}if(lr<=3+wn*2){var ao={locale:rn,rootPrefixCls:Nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Hn,itemRender:Er};lr||er.push(xe.createElement(_e,(0,be.Z)({},ao,{key:"noPager",page:1,className:"".concat(Nt,"-item-disabled")})));for(var vo=1;vo<=lr;vo+=1){var Cn=mn===vo;er.push(xe.createElement(_e,(0,be.Z)({},ao,{key:vo,page:vo,active:Cn})))}}else{var Kr=jn?rn.prev_3:rn.prev_5,At=jn?rn.next_3:rn.next_5,an=Er(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Lo,"prev page")),qt=Er(this.getJumpNextPage(),"jump-next",this.getItemIcon(zo,"next page"));oo&&(Wr=an?xe.createElement("li",{title:Hn?Kr:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:oe()("".concat(Nt,"-jump-prev"),(0,ne.Z)({},"".concat(Nt,"-jump-prev-custom-icon"),!!Lo))},an):null,Br=qt?xe.createElement("li",{title:Hn?At:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:oe()("".concat(Nt,"-jump-next"),(0,ne.Z)({},"".concat(Nt,"-jump-next-custom-icon"),!!zo))},qt):null),Mt=xe.createElement(_e,{locale:rn,last:!0,rootPrefixCls:Nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:lr,page:lr,active:!1,showTitle:Hn,itemRender:Er}),cr=xe.createElement(_e,{locale:rn,rootPrefixCls:Nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Hn,itemRender:Er});var on=Math.max(1,mn-wn),In=Math.min(mn+wn,lr);mn-1<=wn&&(In=1+wn*2),lr-mn<=wn&&(on=lr-wn*2);for(var tn=on;tn<=In;tn+=1){var An=mn===tn;er.push(xe.createElement(_e,{locale:rn,rootPrefixCls:Nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:tn,page:tn,active:An,showTitle:Hn,itemRender:Er}))}mn-1>=wn*2&&mn!==3&&(er[0]=(0,xe.cloneElement)(er[0],{className:"".concat(Nt,"-item-after-jump-prev")}),er.unshift(Wr)),lr-mn>=wn*2&&mn!==lr-2&&(er[er.length-1]=(0,xe.cloneElement)(er[er.length-1],{className:"".concat(Nt,"-item-before-jump-next")}),er.push(Br)),on!==1&&er.unshift(cr),In!==lr&&er.push(Mt)}var cn=!this.hasPrev()||!lr,xr=!this.hasNext()||!lr,ur=this.renderPrev(zn),Ur=this.renderNext($n);return xe.createElement("ul",(0,be.Z)({className:oe()(Nt,ct,(0,ne.Z)({},"".concat(Nt,"-disabled"),Ct)),style:pt,ref:this.paginationNode},_r),mr,ur?xe.createElement("li",{title:Hn?rn.prev_page:null,onClick:this.prev,tabIndex:cn?null:0,onKeyPress:this.runIfEnterPrev,className:oe()("".concat(Nt,"-prev"),(0,ne.Z)({},"".concat(Nt,"-disabled"),cn)),"aria-disabled":cn},ur):null,er,Ur?xe.createElement("li",{title:Hn?rn.next_page:null,onClick:this.next,tabIndex:xr?null:0,onKeyPress:this.runIfEnterNext,className:oe()("".concat(Nt,"-next"),(0,ne.Z)({},"".concat(Nt,"-disabled"),xr)),"aria-disabled":xr},Ur):null,xe.createElement(Te,{disabled:Ct,locale:rn,rootPrefixCls:Nt,selectComponentClass:Eo,selectPrefixCls:mo,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:mn,pageSize:Ln,pageSizeOptions:Sn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Tt}))}}],[{key:"getDerivedStateFromProps",value:function(st,Nt){var ct={};if("current"in st&&(ct.current=st.current,st.current!==Nt.current&&(ct.currentInputValue=ct.current)),"pageSize"in st&&st.pageSize!==Nt.pageSize){var pt=Nt.current,Ct=Ue(st.pageSize,Nt,st);pt=pt>Ct?Ct:pt,"current"in st||(ct.current=pt,ct.currentInputValue=pt),ct.pageSize=st.pageSize}return ct}}]),Ft}(xe.Component);je.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ce,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ce,locale:Pe.Z,style:{},itemRender:Ie,totalBoundaryShowSizeChanger:50};var nt=je,Je=pe(62906),Qe=pe(53124),Xe=pe(98675),ze=pe(25378),ke=pe(10110),Be=pe(42563);const qe=rt=>xe.createElement(Be.default,Object.assign({},rt,{showSearch:!0,size:"small"})),Ye=rt=>xe.createElement(Be.default,Object.assign({},rt,{showSearch:!0,size:"middle"}));qe.Option=Be.default.Option,Ye.Option=Be.default.Option;var gt=pe(47673),$e=pe(14747),We=pe(67968),Re=pe(45503);const tt=rt=>{const{componentCls:bt}=rt;return{[`${bt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${bt}-item-link`]:{color:rt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${bt}-item-link`]:{color:rt.colorTextDisabled,cursor:"not-allowed"}}},[`&${bt}-disabled`]:{cursor:"not-allowed",[`${bt}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:rt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:rt.colorBorder,backgroundColor:rt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:rt.itemActiveBgDisabled},a:{color:rt.itemActiveColorDisabled}}},[`${bt}-item-link`]:{color:rt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${bt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${bt}-simple-pager`]:{color:rt.colorTextDisabled},[`${bt}-jump-prev, ${bt}-jump-next`]:{[`${bt}-item-link-icon`]:{opacity:0},[`${bt}-item-ellipsis`]:{opacity:1}}},[`&${bt}-simple`]:{[`${bt}-prev, ${bt}-next`]:{[`&${bt}-disabled ${bt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Me=rt=>{const{componentCls:bt}=rt;return{[`&${bt}-mini ${bt}-total-text, &${bt}-mini ${bt}-simple-pager`]:{height:rt.itemSizeSM,lineHeight:`${rt.itemSizeSM}px`},[`&${bt}-mini ${bt}-item`]:{minWidth:rt.itemSizeSM,height:rt.itemSizeSM,margin:0,lineHeight:`${rt.itemSizeSM-2}px`},[`&${bt}-mini:not(${bt}-disabled) ${bt}-item:not(${bt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:rt.colorBgTextHover},"&:active":{backgroundColor:rt.colorBgTextActive}},[`&${bt}-mini ${bt}-prev, &${bt}-mini ${bt}-next`]:{minWidth:rt.itemSizeSM,height:rt.itemSizeSM,margin:0,lineHeight:`${rt.itemSizeSM}px`},[`&${bt}-mini:not(${bt}-disabled)`]:{[`${bt}-prev, ${bt}-next`]:{[`&:hover ${bt}-item-link`]:{backgroundColor:rt.colorBgTextHover},[`&:active ${bt}-item-link`]:{backgroundColor:rt.colorBgTextActive},[`&${bt}-disabled:hover ${bt}-item-link`]:{backgroundColor:"transparent"}}},[` &${bt}-mini ${bt}-prev ${bt}-item-link, &${bt}-mini ${bt}-next ${bt}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:rt.itemSizeSM,lineHeight:`${rt.itemSizeSM}px`}},[`&${bt}-mini ${bt}-jump-prev, &${bt}-mini ${bt}-jump-next`]:{height:rt.itemSizeSM,marginInlineEnd:0,lineHeight:`${rt.itemSizeSM}px`},[`&${bt}-mini ${bt}-options`]:{marginInlineStart:rt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:rt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:rt.itemSizeSM,lineHeight:`${rt.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,gt.x0)(rt)),{width:rt.paginationMiniQuickJumperInputWidth,height:rt.controlHeightSM})}}}},He=rt=>{const{componentCls:bt}=rt;return{[` &${bt}-simple ${bt}-prev, &${bt}-simple ${bt}-next `]:{height:rt.itemSizeSM,lineHeight:`${rt.itemSizeSM}px`,verticalAlign:"top",[`${bt}-item-link`]:{height:rt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:rt.colorBgTextHover},"&:active":{backgroundColor:rt.colorBgTextActive},"&::after":{height:rt.itemSizeSM,lineHeight:`${rt.itemSizeSM}px`}}},[`&${bt}-simple ${bt}-simple-pager`]:{display:"inline-block",height:rt.itemSizeSM,marginInlineEnd:rt.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:rt.marginXS,padding:`0 ${rt.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:rt.itemInputBg,border:`${rt.lineWidth}px ${rt.lineType} ${rt.colorBorder}`,borderRadius:rt.borderRadius,outline:"none",transition:`border-color ${rt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:rt.colorPrimary},"&:focus":{borderColor:rt.colorPrimaryHover,boxShadow:`${rt.inputOutlineOffset}px 0 ${rt.controlOutlineWidth}px ${rt.controlOutline}`},"&[disabled]":{color:rt.colorTextDisabled,backgroundColor:rt.colorBgContainerDisabled,borderColor:rt.colorBorder,cursor:"not-allowed"}}}}},Ve=rt=>{const{componentCls:bt}=rt;return{[`${bt}-jump-prev, ${bt}-jump-next`]:{outline:0,[`${bt}-item-container`]:{position:"relative",[`${bt}-item-link-icon`]:{color:rt.colorPrimary,fontSize:rt.fontSizeSM,opacity:0,transition:`all ${rt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${bt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:rt.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:rt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:rt.paginationEllipsisTextIndent,opacity:1,transition:`all ${rt.motionDurationMid}`}},"&:hover":{[`${bt}-item-link-icon`]:{opacity:1},[`${bt}-item-ellipsis`]:{opacity:0}}},[` ${bt}-prev, ${bt}-jump-prev, ${bt}-jump-next `]:{marginInlineEnd:rt.marginXS},[` ${bt}-prev, ${bt}-next, ${bt}-jump-prev, ${bt}-jump-next `]:{display:"inline-block",minWidth:rt.itemSize,height:rt.itemSize,color:rt.colorText,fontFamily:rt.fontFamily,lineHeight:`${rt.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:rt.borderRadius,cursor:"pointer",transition:`all ${rt.motionDurationMid}`},[`${bt}-prev, ${bt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:rt.colorText,cursor:"pointer",userSelect:"none"},[`${bt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:rt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${rt.lineWidth}px ${rt.lineType} transparent`,borderRadius:rt.borderRadius,outline:"none",transition:`all ${rt.motionDurationMid}`},[`&:hover ${bt}-item-link`]:{backgroundColor:rt.colorBgTextHover},[`&:active ${bt}-item-link`]:{backgroundColor:rt.colorBgTextActive},[`&${bt}-disabled:hover`]:{[`${bt}-item-link`]:{backgroundColor:"transparent"}}},[`${bt}-slash`]:{marginInlineEnd:rt.paginationSlashMarginInlineEnd,marginInlineStart:rt.paginationSlashMarginInlineStart},[`${bt}-options`]:{display:"inline-block",marginInlineStart:rt.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:rt.controlHeight,marginInlineStart:rt.marginXS,lineHeight:`${rt.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,gt.ik)(rt)),{width:rt.controlHeightLG*1.25,height:rt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:rt.marginXS,marginInlineEnd:rt.marginXS})}}}},Ze=rt=>{const{componentCls:bt}=rt;return{[`${bt}-item`]:{display:"inline-block",minWidth:rt.itemSize,height:rt.itemSize,marginInlineEnd:rt.marginXS,fontFamily:rt.fontFamily,lineHeight:`${rt.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${rt.lineWidth}px ${rt.lineType} transparent`,borderRadius:rt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${rt.paginationItemPaddingInline}px`,color:rt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${bt}-item-active)`]:{"&:hover":{transition:`all ${rt.motionDurationMid}`,backgroundColor:rt.colorBgTextHover},"&:active":{backgroundColor:rt.colorBgTextActive}},"&-active":{fontWeight:rt.fontWeightStrong,backgroundColor:rt.itemActiveBg,borderColor:rt.colorPrimary,a:{color:rt.colorPrimary},"&:hover":{borderColor:rt.colorPrimaryHover},"&:hover a":{color:rt.colorPrimaryHover}}}}},Ke=rt=>{const{componentCls:bt}=rt;return{[bt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,$e.Wf)(rt)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${bt}-total-text`]:{display:"inline-block",height:rt.itemSize,marginInlineEnd:rt.marginXS,lineHeight:`${rt.itemSize-2}px`,verticalAlign:"middle"}}),Ze(rt)),Ve(rt)),He(rt)),Me(rt)),tt(rt)),{[`@media only screen and (max-width: ${rt.screenLG}px)`]:{[`${bt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${rt.screenSM}px)`]:{[`${bt}-options`]:{display:"none"}}}),[`&${rt.componentCls}-rtl`]:{direction:"rtl"}}},Ae=rt=>{const{componentCls:bt}=rt;return{[`${bt}${bt}-disabled:not(${bt}-mini)`]:{"&, &:hover":{[`${bt}-item-link`]:{borderColor:rt.colorBorder}},"&:focus-visible":{[`${bt}-item-link`]:{borderColor:rt.colorBorder}},[`${bt}-item, ${bt}-item-link`]:{backgroundColor:rt.colorBgContainerDisabled,borderColor:rt.colorBorder,[`&:hover:not(${bt}-item-active)`]:{backgroundColor:rt.colorBgContainerDisabled,borderColor:rt.colorBorder,a:{color:rt.colorTextDisabled}},[`&${bt}-item-active`]:{backgroundColor:rt.itemActiveBgDisabled}},[`${bt}-prev, ${bt}-next`]:{"&:hover button":{backgroundColor:rt.colorBgContainerDisabled,borderColor:rt.colorBorder,color:rt.colorTextDisabled},[`${bt}-item-link`]:{backgroundColor:rt.colorBgContainerDisabled,borderColor:rt.colorBorder}}},[`${bt}:not(${bt}-mini)`]:{[`${bt}-prev, ${bt}-next`]:{"&:hover button":{borderColor:rt.colorPrimaryHover,backgroundColor:rt.itemBg},[`${bt}-item-link`]:{backgroundColor:rt.itemLinkBg,borderColor:rt.colorBorder},[`&:hover ${bt}-item-link`]:{borderColor:rt.colorPrimary,backgroundColor:rt.itemBg,color:rt.colorPrimary},[`&${bt}-disabled`]:{[`${bt}-item-link`]:{borderColor:rt.colorBorder,color:rt.colorTextDisabled}}},[`${bt}-item`]:{backgroundColor:rt.itemBg,border:`${rt.lineWidth}px ${rt.lineType} ${rt.colorBorder}`,[`&:hover:not(${bt}-item-active)`]:{borderColor:rt.colorPrimary,backgroundColor:rt.itemBg,a:{color:rt.colorPrimary}},"&-active":{borderColor:rt.colorPrimary}}}}},Le=rt=>{const{componentCls:bt}=rt;return{[`${bt}:not(${bt}-disabled)`]:{[`${bt}-item`]:Object.assign({},(0,$e.Qy)(rt)),[`${bt}-jump-prev, ${bt}-jump-next`]:{"&:focus-visible":Object.assign({[`${bt}-item-link-icon`]:{opacity:1},[`${bt}-item-ellipsis`]:{opacity:0}},(0,$e.oN)(rt))},[`${bt}-prev, ${bt}-next`]:{[`&:focus-visible ${bt}-item-link`]:Object.assign({},(0,$e.oN)(rt))}}}};var Ne=(0,We.Z)("Pagination",rt=>{const bt=(0,Re.TS)(rt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:rt.marginXXS/2,paginationMiniQuickJumperInputWidth:rt.controlHeightLG*1.1,paginationItemPaddingInline:rt.marginXXS*1.5,paginationEllipsisLetterSpacing:rt.marginXXS/2,paginationSlashMarginInlineStart:rt.marginXXS,paginationSlashMarginInlineEnd:rt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,gt.e5)(rt),(0,gt.TM)(rt));return[Ke(bt),Le(bt),rt.wireframe&&Ae(bt)]},rt=>({itemBg:rt.colorBgContainer,itemSize:rt.controlHeight,itemSizeSM:rt.controlHeightSM,itemActiveBg:rt.colorBgContainer,itemLinkBg:rt.colorBgContainer,itemActiveColorDisabled:rt.colorTextDisabled,itemActiveBgDisabled:rt.controlItemBgActiveDisabled,itemInputBg:rt.colorBgContainer,miniOptionsSizeChangerTop:0})),Ge=function(rt,bt){var Ft={};for(var $t in rt)Object.prototype.hasOwnProperty.call(rt,$t)&&bt.indexOf($t)<0&&(Ft[$t]=rt[$t]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,$t=Object.getOwnPropertySymbols(rt);st<$t.length;st++)bt.indexOf($t[st])<0&&Object.prototype.propertyIsEnumerable.call(rt,$t[st])&&(Ft[$t[st]]=rt[$t[st]]);return Ft},St=rt=>{const{prefixCls:bt,selectPrefixCls:Ft,className:$t,rootClassName:st,style:Nt,size:ct,locale:pt,selectComponentClass:Ct,responsive:Rt,showSizeChanger:zt}=rt,rn=Ge(rt,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:kn}=(0,ze.Z)(Rt),{getPrefixCls:jn,direction:Hn,pagination:Pr={}}=xe.useContext(Qe.E_),fn=jn("pagination",bt),[Er,oo]=Ne(fn),Lo=zt!=null?zt:Pr.showSizeChanger,zo=xe.useMemo(()=>{const lr=xe.createElement("span",{className:`${fn}-item-ellipsis`},"\u2022\u2022\u2022"),er=xe.createElement("button",{className:`${fn}-item-link`,type:"button",tabIndex:-1},Hn==="rtl"?xe.createElement(ce.Z,null):xe.createElement(le.Z,null)),Wr=xe.createElement("button",{className:`${fn}-item-link`,type:"button",tabIndex:-1},Hn==="rtl"?xe.createElement(le.Z,null):xe.createElement(ce.Z,null)),Br=xe.createElement("a",{className:`${fn}-item-link`},xe.createElement("div",{className:`${fn}-item-container`},Hn==="rtl"?xe.createElement(ie.Z,{className:`${fn}-item-link-icon`}):xe.createElement(re,{className:`${fn}-item-link-icon`}),lr)),cr=xe.createElement("a",{className:`${fn}-item-link`},xe.createElement("div",{className:`${fn}-item-container`},Hn==="rtl"?xe.createElement(re,{className:`${fn}-item-link-icon`}):xe.createElement(ie.Z,{className:`${fn}-item-link-icon`}),lr));return{prevIcon:er,nextIcon:Wr,jumpPrevIcon:Br,jumpNextIcon:cr}},[Hn,fn]),[Eo]=(0,ke.Z)("Pagination",Je.Z),mo=Object.assign(Object.assign({},Eo),pt),Sn=(0,Xe.Z)(ct),ln=Sn==="small"||!!(kn&&!Sn&&Rt),mn=jn("select",Ft),Ln=oe()({[`${fn}-mini`]:ln,[`${fn}-rtl`]:Hn==="rtl"},Pr==null?void 0:Pr.className,$t,st,oo),Wn=Object.assign(Object.assign({},Pr==null?void 0:Pr.style),Nt);return Er(xe.createElement(nt,Object.assign({},zo,rn,{style:Wn,prefixCls:fn,selectPrefixCls:mn,className:Ln,selectComponentClass:Ct||(ln?qe:Ye),locale:mo,showSizeChanger:Lo})))},wt=St},66330:function(xt,ft,pe){"use strict";pe.d(ft,{t5:function(){return ce}});var be=pe(94184),xe=pe.n(be),E=pe(92419),he=pe(67294),fe=pe(53124),se=pe(81643),re=pe(20136),ie=function(oe,ne){var z={};for(var a in oe)Object.prototype.hasOwnProperty.call(oe,a)&&ne.indexOf(a)<0&&(z[a]=oe[a]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(oe);y{if(!(!ne&&!z))return he.createElement(he.Fragment,null,ne&&he.createElement("div",{className:`${oe}-title`},(0,se.Z)(ne)),he.createElement("div",{className:`${oe}-inner-content`},(0,se.Z)(z)))},ce=oe=>{const{hashId:ne,prefixCls:z,className:a,style:y,placement:x="top",title:b,content:ee,children:te}=oe;return he.createElement("div",{className:xe()(ne,z,`${z}-pure`,`${z}-placement-${x}`,a),style:y},he.createElement("div",{className:`${z}-arrow`}),he.createElement(E.G,Object.assign({},oe,{className:ne,prefixCls:z}),te||le(z,b,ee)))},ae=oe=>{const{prefixCls:ne}=oe,z=ie(oe,["prefixCls"]),{getPrefixCls:a}=he.useContext(fe.E_),y=a("popover",ne),[x,b]=(0,re.Z)(y);return x(he.createElement(ce,Object.assign({},z,{prefixCls:y,hashId:b})))};ft.ZP=ae},20136:function(xt,ft,pe){"use strict";var be=pe(14747),xe=pe(50438),E=pe(97414),he=pe(8796),fe=pe(67968),se=pe(45503);const re=ce=>{const{componentCls:ae,popoverColor:oe,minWidth:ne,fontWeightStrong:z,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:ee,marginXS:te,colorBgElevated:ue,popoverBg:de}=ce;return[{[ae]:Object.assign(Object.assign({},(0,be.Wf)(ce)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:ee,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ue,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ae}-content`]:{position:"relative"},[`${ae}-inner`]:{backgroundColor:de,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${ae}-title`]:{minWidth:ne,marginBottom:te,color:x,fontWeight:z},[`${ae}-inner-content`]:{color:oe}})},(0,E.ZP)(ce,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ae}-pure`]:{position:"relative",maxWidth:"none",margin:ce.sizePopupArrow,display:"inline-block",[`${ae}-content`]:{display:"inline-block"}}}]},ie=ce=>{const{componentCls:ae}=ce;return{[ae]:he.i.map(oe=>{const ne=ce[`${oe}6`];return{[`&${ae}-${oe}`]:{"--antd-arrow-background-color":ne,[`${ae}-inner`]:{backgroundColor:ne},[`${ae}-arrow`]:{background:"transparent"}}}})}},le=ce=>{const{componentCls:ae,lineWidth:oe,lineType:ne,colorSplit:z,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:ee}=ce,te=y-Math.round(x*b),ue=te/2,de=te/2-oe,ge=ee;return{[ae]:{[`${ae}-inner`]:{padding:0},[`${ae}-title`]:{margin:0,padding:`${ue}px ${ge}px ${de}px`,borderBottom:`${oe}px ${ne} ${z}`},[`${ae}-inner-content`]:{padding:`${a}px ${ge}px`}}}};ft.Z=(0,fe.Z)("Popover",ce=>{const{colorBgElevated:ae,colorText:oe,wireframe:ne}=ce,z=(0,se.TS)(ce,{popoverPadding:12,popoverBg:ae,popoverColor:oe});return[re(z),ie(z),ne&&le(z),(0,xe._y)(z,"zoom-big")]},ce=>({width:177,minWidth:177,zIndexPopup:ce.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},38703:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return Nt}});var be=pe(67294),xe=pe(87725),E=pe(18299),he=pe(16646),fe=pe(73475),se=pe(94184),re=pe.n(se),ie=pe(10366),le=pe(53124),ce=pe(87462),ae=pe(1413),oe=pe(45987),ne={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},z=function(){var pt=(0,be.useRef)([]),Ct=(0,be.useRef)(null);return(0,be.useEffect)(function(){var Rt=Date.now(),zt=!1;pt.current.forEach(function(rn){if(rn){zt=!0;var kn=rn.style;kn.transitionDuration=".3s, .3s, .3s, .06s",Ct.current&&Rt-Ct.current<100&&(kn.transitionDuration="0s, 0s")}}),zt&&(Ct.current=Date.now())}),pt.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(pt){var Ct=(0,ae.Z)((0,ae.Z)({},ne),pt),Rt=Ct.className,zt=Ct.percent,rn=Ct.prefixCls,kn=Ct.strokeColor,jn=Ct.strokeLinecap,Hn=Ct.strokeWidth,Pr=Ct.style,fn=Ct.trailColor,Er=Ct.trailWidth,oo=Ct.transition,Lo=(0,oe.Z)(Ct,a);delete Lo.gapPosition;var zo=Array.isArray(zt)?zt:[zt],Eo=Array.isArray(kn)?kn:[kn],mo=z(),Sn=Hn/2,ln=100-Hn/2,mn="M ".concat(jn==="round"?Sn:0,",").concat(Sn,` L `).concat(jn==="round"?ln:100,",").concat(Sn),Ln="0 0 100 ".concat(Hn),Wn=0;return be.createElement("svg",(0,ce.Z)({className:re()("".concat(rn,"-line"),Rt),viewBox:Ln,preserveAspectRatio:"none",style:Pr},Lo),be.createElement("path",{className:"".concat(rn,"-line-trail"),d:mn,strokeLinecap:jn,stroke:fn,strokeWidth:Er||Hn,fillOpacity:"0"}),zo.map(function(lr,er){var Wr=1;switch(jn){case"round":Wr=1-Hn/100;break;case"square":Wr=1-Hn/2/100;break;default:Wr=1;break}var Br={strokeDasharray:"".concat(lr*Wr,"px, 100px"),strokeDashoffset:"-".concat(Wn,"px"),transition:oo||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},cr=Eo[er]||Eo[Eo.length-1];return Wn+=lr,be.createElement("path",{key:er,className:"".concat(rn,"-line-path"),d:mn,strokeLinecap:jn,stroke:cr,strokeWidth:Hn,fillOpacity:"0",ref:function(jt){mo[er]=jt},style:Br})}))},x=y,b=pe(71002),ee=pe(97685),te=pe(98924),ue=0,de=(0,te.Z)();function ge(){var ct;return de?(ct=ue,ue+=1):ct="TEST_OR_SSR",ct}var ve=function(ct){var pt=be.useState(),Ct=(0,ee.Z)(pt,2),Rt=Ct[0],zt=Ct[1];return be.useEffect(function(){zt("rc_progress_".concat(ge()))},[]),ct||Rt},me=function(pt){var Ct=pt.bg,Rt=pt.children;return be.createElement("div",{style:{width:"100%",height:"100%",background:Ct}},Rt)};function Se(ct,pt){return Object.keys(ct).map(function(Ct){var Rt=parseFloat(Ct),zt="".concat(Math.floor(Rt*pt),"%");return"".concat(ct[Ct]," ").concat(zt)})}var ye=be.forwardRef(function(ct,pt){var Ct=ct.prefixCls,Rt=ct.color,zt=ct.gradientId,rn=ct.radius,kn=ct.style,jn=ct.ptg,Hn=ct.strokeLinecap,Pr=ct.strokeWidth,fn=ct.size,Er=ct.gapDegree,oo=Rt&&(0,b.Z)(Rt)==="object",Lo=oo?"#FFF":void 0,zo=fn/2,Eo=be.createElement("circle",{className:"".concat(Ct,"-circle-path"),r:rn,cx:zo,cy:zo,stroke:Lo,strokeLinecap:Hn,strokeWidth:Pr,opacity:jn===0?0:1,style:kn,ref:pt});if(!oo)return Eo;var mo="".concat(zt,"-conic"),Sn=Er?"".concat(180+Er/2,"deg"):"0deg",ln=Se(Rt,(360-Er)/360),mn=Se(Rt,1),Ln="conic-gradient(from ".concat(Sn,", ").concat(ln.join(", "),")"),Wn="linear-gradient(to ".concat(Er?"bottom":"top",", ").concat(mn.join(", "),")");return be.createElement(be.Fragment,null,be.createElement("mask",{id:mo},Eo),be.createElement("foreignObject",{x:0,y:0,width:fn,height:fn,mask:"url(#".concat(mo,")")},be.createElement(me,{bg:Wn},be.createElement(me,{bg:Ln}))))}),Pe=ye,we=100,Te=function(pt,Ct,Rt,zt,rn,kn,jn,Hn,Pr,fn){var Er=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,oo=Rt/100*360*((360-kn)/360),Lo=kn===0?0:{bottom:0,top:180,left:90,right:-90}[jn],zo=(100-zt)/100*Ct;Pr==="round"&&zt!==100&&(zo+=fn/2,zo>=Ct&&(zo=Ct-.01));var Eo=we/2;return{stroke:typeof Hn=="string"?Hn:void 0,strokeDasharray:"".concat(Ct,"px ").concat(pt),strokeDashoffset:zo+Er,transform:"rotate(".concat(rn+oo+Lo,"deg)"),transformOrigin:"".concat(Eo,"px ").concat(Eo,"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}},Ee=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function _e(ct){var pt=ct!=null?ct:[];return Array.isArray(pt)?pt:[pt]}var Ce=function(pt){var Ct=(0,ae.Z)((0,ae.Z)({},ne),pt),Rt=Ct.id,zt=Ct.prefixCls,rn=Ct.steps,kn=Ct.strokeWidth,jn=Ct.trailWidth,Hn=Ct.gapDegree,Pr=Hn===void 0?0:Hn,fn=Ct.gapPosition,Er=Ct.trailColor,oo=Ct.strokeLinecap,Lo=Ct.style,zo=Ct.className,Eo=Ct.strokeColor,mo=Ct.percent,Sn=(0,oe.Z)(Ct,Ee),ln=we/2,mn=ve(Rt),Ln="".concat(mn,"-gradient"),Wn=ln-kn/2,lr=Math.PI*2*Wn,er=Pr>0?90+Pr/2:-90,Wr=lr*((360-Pr)/360),Br=(0,b.Z)(rn)==="object"?rn:{count:rn,space:2},cr=Br.count,Mt=Br.space,jt=_e(mo),Tt=_e(Eo),wn=Tt.find(function(vo){return vo&&(0,b.Z)(vo)==="object"}),zn=wn&&(0,b.Z)(wn)==="object",$n=zn?"butt":oo,_r=Te(lr,Wr,0,100,er,Pr,fn,Er,$n,kn),mr=z(),Lr=function(){var Cn=0;return jt.map(function(Kr,At){var an=Tt[At]||Tt[Tt.length-1],qt=Te(lr,Wr,Cn,Kr,er,Pr,fn,an,$n,kn);return Cn+=Kr,be.createElement(Pe,{key:At,color:an,ptg:Kr,radius:Wn,prefixCls:zt,gradientId:Ln,style:qt,strokeLinecap:$n,strokeWidth:kn,gapDegree:Pr,ref:function(In){mr[At]=In},size:we})}).reverse()},ao=function(){var Cn=Math.round(cr*(jt[0]/100)),Kr=100/cr,At=0;return new Array(cr).fill(null).map(function(an,qt){var on=qt<=Cn-1?Tt[0]:Er,In=on&&(0,b.Z)(on)==="object"?"url(#".concat(Ln,")"):void 0,tn=Te(lr,Wr,At,Kr,er,Pr,fn,on,"butt",kn,Mt);return At+=(Wr-tn.strokeDashoffset+Mt)*100/Wr,be.createElement("circle",{key:qt,className:"".concat(zt,"-circle-path"),r:Wn,cx:ln,cy:ln,stroke:In,strokeWidth:kn,opacity:1,style:tn,ref:function(cn){mr[qt]=cn}})})};return be.createElement("svg",(0,ce.Z)({className:re()("".concat(zt,"-circle"),zo),viewBox:"0 0 ".concat(we," ").concat(we),style:Lo,id:Rt,role:"presentation"},Sn),!cr&&be.createElement("circle",{className:"".concat(zt,"-circle-trail"),r:Wn,cx:ln,cy:ln,stroke:Er,strokeLinecap:$n,strokeWidth:jn||kn,style:_r}),cr?ao():Lr())},Oe=Ce,Ie={Line:x,Circle:Oe},Ue=pe(83062),je=pe(47448);function nt(ct){return!ct||ct<0?0:ct>100?100:ct}function Je(ct){let{success:pt,successPercent:Ct}=ct,Rt=Ct;return pt&&"progress"in pt&&(Rt=pt.progress),pt&&"percent"in pt&&(Rt=pt.percent),Rt}const Qe=ct=>{let{percent:pt,success:Ct,successPercent:Rt}=ct;const zt=nt(Je({success:Ct,successPercent:Rt}));return[zt,nt(nt(pt)-zt)]},Xe=ct=>{let{success:pt={},strokeColor:Ct}=ct;const{strokeColor:Rt}=pt;return[Rt||je.presetPrimaryColors.green,Ct||null]},ze=(ct,pt,Ct)=>{var Rt,zt,rn,kn;let jn=-1,Hn=-1;if(pt==="step"){const Pr=Ct.steps,fn=Ct.strokeWidth;typeof ct=="string"||typeof ct=="undefined"?(jn=ct==="small"?2:14,Hn=fn!=null?fn:8):typeof ct=="number"?[jn,Hn]=[ct,ct]:[jn=14,Hn=8]=ct,jn*=Pr}else if(pt==="line"){const Pr=Ct==null?void 0:Ct.strokeWidth;typeof ct=="string"||typeof ct=="undefined"?Hn=Pr||(ct==="small"?6:8):typeof ct=="number"?[jn,Hn]=[ct,ct]:[jn=-1,Hn=8]=ct}else(pt==="circle"||pt==="dashboard")&&(typeof ct=="string"||typeof ct=="undefined"?[jn,Hn]=ct==="small"?[60,60]:[120,120]:typeof ct=="number"?[jn,Hn]=[ct,ct]:(jn=(zt=(Rt=ct[0])!==null&&Rt!==void 0?Rt:ct[1])!==null&&zt!==void 0?zt:120,Hn=(kn=(rn=ct[0])!==null&&rn!==void 0?rn:ct[1])!==null&&kn!==void 0?kn:120));return[jn,Hn]},ke=3,Be=ct=>ke/ct*100;var Ye=ct=>{const{prefixCls:pt,trailColor:Ct=null,strokeLinecap:Rt="round",gapPosition:zt,gapDegree:rn,width:kn=120,type:jn,children:Hn,success:Pr,size:fn=kn}=ct,[Er,oo]=ze(fn,"circle");let{strokeWidth:Lo}=ct;Lo===void 0&&(Lo=Math.max(Be(Er),6));const zo={width:Er,height:oo,fontSize:Er*.15+6},Eo=be.useMemo(()=>{if(rn||rn===0)return rn;if(jn==="dashboard")return 75},[rn,jn]),mo=zt||jn==="dashboard"&&"bottom"||void 0,Sn=Object.prototype.toString.call(ct.strokeColor)==="[object Object]",ln=Xe({success:Pr,strokeColor:ct.strokeColor}),mn=re()(`${pt}-inner`,{[`${pt}-circle-gradient`]:Sn}),Ln=be.createElement(Oe,{percent:Qe(ct),strokeWidth:Lo,trailWidth:Lo,strokeColor:ln,strokeLinecap:Rt,trailColor:Ct,prefixCls:pt,gapDegree:Eo,gapPosition:mo});return be.createElement("div",{className:mn,style:zo},Er<=20?be.createElement(Ue.Z,{title:Hn},be.createElement("span",null,Ln)):be.createElement(be.Fragment,null,Ln,Hn))},gt=function(ct,pt){var Ct={};for(var Rt in ct)Object.prototype.hasOwnProperty.call(ct,Rt)&&pt.indexOf(Rt)<0&&(Ct[Rt]=ct[Rt]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,Rt=Object.getOwnPropertySymbols(ct);zt{let pt=[];return Object.keys(ct).forEach(Ct=>{const Rt=parseFloat(Ct.replace(/%/g,""));isNaN(Rt)||pt.push({key:Rt,value:ct[Ct]})}),pt=pt.sort((Ct,Rt)=>Ct.key-Rt.key),pt.map(Ct=>{let{key:Rt,value:zt}=Ct;return`${zt} ${Rt}%`}).join(", ")},We=(ct,pt)=>{const{from:Ct=je.presetPrimaryColors.blue,to:Rt=je.presetPrimaryColors.blue,direction:zt=pt==="rtl"?"to left":"to right"}=ct,rn=gt(ct,["from","to","direction"]);if(Object.keys(rn).length!==0){const kn=$e(rn);return{backgroundImage:`linear-gradient(${zt}, ${kn})`}}return{backgroundImage:`linear-gradient(${zt}, ${Ct}, ${Rt})`}};var tt=ct=>{const{prefixCls:pt,direction:Ct,percent:Rt,size:zt,strokeWidth:rn,strokeColor:kn,strokeLinecap:jn="round",children:Hn,trailColor:Pr=null,success:fn}=ct,Er=kn&&typeof kn!="string"?We(kn,Ct):{backgroundColor:kn},oo=jn==="square"||jn==="butt"?0:void 0,Lo={backgroundColor:Pr||void 0,borderRadius:oo},zo=zt!=null?zt:[-1,rn||(zt==="small"?6:8)],[Eo,mo]=ze(zo,"line",{strokeWidth:rn}),Sn=Object.assign({width:`${nt(Rt)}%`,height:mo,borderRadius:oo},Er),ln=Je(ct),mn={width:`${nt(ln)}%`,height:mo,borderRadius:oo,backgroundColor:fn==null?void 0:fn.strokeColor},Ln={width:Eo<0?"100%":Eo,height:mo};return be.createElement(be.Fragment,null,be.createElement("div",{className:`${pt}-outer`,style:Ln},be.createElement("div",{className:`${pt}-inner`,style:Lo},be.createElement("div",{className:`${pt}-bg`,style:Sn}),ln!==void 0?be.createElement("div",{className:`${pt}-success-bg`,style:mn}):null)),Hn)},He=ct=>{const{size:pt,steps:Ct,percent:Rt=0,strokeWidth:zt=8,strokeColor:rn,trailColor:kn=null,prefixCls:jn,children:Hn}=ct,Pr=Math.round(Ct*(Rt/100)),fn=pt==="small"?2:14,Er=pt!=null?pt:[fn,zt],[oo,Lo]=ze(Er,"step",{steps:Ct,strokeWidth:zt}),zo=oo/Ct,Eo=new Array(Ct);for(let mo=0;mo{const pt=ct?"100%":"-100%";return new Ve.Keyframes(`antProgress${ct?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${pt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${pt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ne=ct=>{const{componentCls:pt,iconCls:Ct}=ct;return{[pt]:Object.assign(Object.assign({},(0,Ze.Wf)(ct)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ct.fontSize,marginInlineEnd:ct.marginXS,marginBottom:ct.marginXS},[`${pt}-outer`]:{display:"inline-block",width:"100%"},[`&${pt}-show-info`]:{[`${pt}-outer`]:{marginInlineEnd:`calc(-2em - ${ct.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ct.paddingXS}px)`}},[`${pt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ct.remainingColor,borderRadius:ct.lineBorderRadius},[`${pt}-inner:not(${pt}-circle-gradient)`]:{[`${pt}-circle-path`]:{stroke:ct.defaultColor}},[`${pt}-success-bg, ${pt}-bg`]:{position:"relative",backgroundColor:ct.defaultColor,borderRadius:ct.lineBorderRadius,transition:`all ${ct.motionDurationSlow} ${ct.motionEaseInOutCirc}`},[`${pt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ct.colorSuccess},[`${pt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ct.marginXS,color:ct.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ct]:{fontSize:ct.fontSize}},[`&${pt}-status-active`]:{[`${pt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ct.colorBgContainer,borderRadius:ct.lineBorderRadius,opacity:0,animationName:Le(),animationDuration:ct.progressActiveMotionDuration,animationTimingFunction:ct.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${pt}-rtl${pt}-status-active`]:{[`${pt}-bg::before`]:{animationName:Le(!0)}},[`&${pt}-status-exception`]:{[`${pt}-bg`]:{backgroundColor:ct.colorError},[`${pt}-text`]:{color:ct.colorError}},[`&${pt}-status-exception ${pt}-inner:not(${pt}-circle-gradient)`]:{[`${pt}-circle-path`]:{stroke:ct.colorError}},[`&${pt}-status-success`]:{[`${pt}-bg`]:{backgroundColor:ct.colorSuccess},[`${pt}-text`]:{color:ct.colorSuccess}},[`&${pt}-status-success ${pt}-inner:not(${pt}-circle-gradient)`]:{[`${pt}-circle-path`]:{stroke:ct.colorSuccess}}})}},Ge=ct=>{const{componentCls:pt,iconCls:Ct}=ct;return{[pt]:{[`${pt}-circle-trail`]:{stroke:ct.remainingColor},[`&${pt}-circle ${pt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${pt}-circle ${pt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ct.circleTextColor,fontSize:ct.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ct]:{fontSize:`${ct.fontSize/ct.fontSizeSM}em`}},[`${pt}-circle&-status-exception`]:{[`${pt}-text`]:{color:ct.colorError}},[`${pt}-circle&-status-success`]:{[`${pt}-text`]:{color:ct.colorSuccess}}},[`${pt}-inline-circle`]:{lineHeight:1,[`${pt}-inner`]:{verticalAlign:"bottom"}}}},ot=ct=>{const{componentCls:pt}=ct;return{[pt]:{[`${pt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ct.progressStepMinWidth,marginInlineEnd:ct.progressStepMarginInlineEnd,backgroundColor:ct.remainingColor,transition:`all ${ct.motionDurationSlow}`,"&-active":{backgroundColor:ct.defaultColor}}}}}},St=ct=>{const{componentCls:pt,iconCls:Ct}=ct;return{[pt]:{[`${pt}-small&-line, ${pt}-small&-line ${pt}-text ${Ct}`]:{fontSize:ct.fontSizeSM}}}};var wt=(0,Ke.Z)("Progress",ct=>{const pt=ct.marginXXS/2,Ct=(0,Ae.TS)(ct,{progressStepMarginInlineEnd:pt,progressStepMinWidth:pt,progressActiveMotionDuration:"2.4s"});return[Ne(Ct),Ge(Ct),ot(Ct),St(Ct)]},ct=>({circleTextColor:ct.colorText,defaultColor:ct.colorInfo,remainingColor:ct.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),rt=function(ct,pt){var Ct={};for(var Rt in ct)Object.prototype.hasOwnProperty.call(ct,Rt)&&pt.indexOf(Rt)<0&&(Ct[Rt]=ct[Rt]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,Rt=Object.getOwnPropertySymbols(ct);zt{const{prefixCls:Ct,className:Rt,rootClassName:zt,steps:rn,strokeColor:kn,percent:jn=0,size:Hn="default",showInfo:Pr=!0,type:fn="line",status:Er,format:oo,style:Lo}=ct,zo=rt(ct,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Eo=be.useMemo(()=>{var jt,Tt;const wn=Je(ct);return parseInt(wn!==void 0?(jt=wn!=null?wn:0)===null||jt===void 0?void 0:jt.toString():(Tt=jn!=null?jn:0)===null||Tt===void 0?void 0:Tt.toString(),10)},[jn,ct.success,ct.successPercent]),mo=be.useMemo(()=>!Ft.includes(Er)&&Eo>=100?"success":Er||"normal",[Er,Eo]),{getPrefixCls:Sn,direction:ln,progress:mn}=be.useContext(le.E_),Ln=Sn("progress",Ct),[Wn,lr]=wt(Ln),er=be.useMemo(()=>{if(!Pr)return null;const jt=Je(ct);let Tt;const wn=oo||($n=>`${$n}%`),zn=fn==="line";return oo||mo!=="exception"&&mo!=="success"?Tt=wn(nt(jn),nt(jt)):mo==="exception"?Tt=zn?be.createElement(he.Z,null):be.createElement(fe.Z,null):mo==="success"&&(Tt=zn?be.createElement(xe.Z,null):be.createElement(E.Z,null)),be.createElement("span",{className:`${Ln}-text`,title:typeof Tt=="string"?Tt:void 0},Tt)},[Pr,jn,Eo,mo,fn,Ln,oo]),Wr=Array.isArray(kn)?kn[0]:kn,Br=typeof kn=="string"||Array.isArray(kn)?kn:void 0;let cr;fn==="line"?cr=rn?be.createElement(He,Object.assign({},ct,{strokeColor:Br,prefixCls:Ln,steps:rn}),er):be.createElement(tt,Object.assign({},ct,{strokeColor:Wr,prefixCls:Ln,direction:ln}),er):(fn==="circle"||fn==="dashboard")&&(cr=be.createElement(Ye,Object.assign({},ct,{strokeColor:Wr,prefixCls:Ln,progressStatus:mo}),er));const Mt=re()(Ln,`${Ln}-status-${mo}`,`${Ln}-${fn==="dashboard"&&"circle"||rn&&"steps"||fn}`,{[`${Ln}-inline-circle`]:fn==="circle"&&ze(Hn,"circle")[0]<=20,[`${Ln}-show-info`]:Pr,[`${Ln}-${Hn}`]:typeof Hn=="string",[`${Ln}-rtl`]:ln==="rtl"},mn==null?void 0:mn.className,Rt,zt,lr);return Wn(be.createElement("div",Object.assign({ref:pt,style:Object.assign(Object.assign({},mn==null?void 0:mn.style),Lo),className:Mt,role:"progressbar","aria-valuenow":Eo},(0,ie.Z)(zo,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),cr))}),Nt=st},46303:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return He}});var be=pe(94184),xe=pe.n(be),E=pe(67294),he=pe(53124),fe=pe(10366),re=Ve=>{const{prefixCls:Ze,className:Ke,style:Ae,size:Le,shape:Ne}=Ve,Ge=xe()({[`${Ze}-lg`]:Le==="large",[`${Ze}-sm`]:Le==="small"}),ot=xe()({[`${Ze}-circle`]:Ne==="circle",[`${Ze}-square`]:Ne==="square",[`${Ze}-round`]:Ne==="round"}),St=E.useMemo(()=>typeof Le=="number"?{width:Le,height:Le,lineHeight:`${Le}px`}:{},[Le]);return E.createElement("span",{className:xe()(Ze,Ge,ot,Ke),style:Object.assign(Object.assign({},St),Ae)})},ie=pe(45930),le=pe(67968),ce=pe(45503);const ae=new ie.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),oe=Ve=>({height:Ve,lineHeight:`${Ve}px`}),ne=Ve=>Object.assign({width:Ve},oe(Ve)),z=Ve=>({background:Ve.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ae,animationDuration:Ve.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=Ve=>Object.assign({width:Ve*5,minWidth:Ve*5},oe(Ve)),y=Ve=>{const{skeletonAvatarCls:Ze,gradientFromColor:Ke,controlHeight:Ae,controlHeightLG:Le,controlHeightSM:Ne}=Ve;return{[`${Ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ke},ne(Ae)),[`${Ze}${Ze}-circle`]:{borderRadius:"50%"},[`${Ze}${Ze}-lg`]:Object.assign({},ne(Le)),[`${Ze}${Ze}-sm`]:Object.assign({},ne(Ne))}},x=Ve=>{const{controlHeight:Ze,borderRadiusSM:Ke,skeletonInputCls:Ae,controlHeightLG:Le,controlHeightSM:Ne,gradientFromColor:Ge}=Ve;return{[`${Ae}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ge,borderRadius:Ke},a(Ze)),[`${Ae}-lg`]:Object.assign({},a(Le)),[`${Ae}-sm`]:Object.assign({},a(Ne))}},b=Ve=>Object.assign({width:Ve},oe(Ve)),ee=Ve=>{const{skeletonImageCls:Ze,imageSizeBase:Ke,gradientFromColor:Ae,borderRadiusSM:Le}=Ve;return{[`${Ze}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Ae,borderRadius:Le},b(Ke*2)),{[`${Ze}-path`]:{fill:"#bfbfbf"},[`${Ze}-svg`]:Object.assign(Object.assign({},b(Ke)),{maxWidth:Ke*4,maxHeight:Ke*4}),[`${Ze}-svg${Ze}-svg-circle`]:{borderRadius:"50%"}}),[`${Ze}${Ze}-circle`]:{borderRadius:"50%"}}},te=(Ve,Ze,Ke)=>{const{skeletonButtonCls:Ae}=Ve;return{[`${Ke}${Ae}-circle`]:{width:Ze,minWidth:Ze,borderRadius:"50%"},[`${Ke}${Ae}-round`]:{borderRadius:Ze}}},ue=Ve=>Object.assign({width:Ve*2,minWidth:Ve*2},oe(Ve)),de=Ve=>{const{borderRadiusSM:Ze,skeletonButtonCls:Ke,controlHeight:Ae,controlHeightLG:Le,controlHeightSM:Ne,gradientFromColor:Ge}=Ve;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ke}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ge,borderRadius:Ze,width:Ae*2,minWidth:Ae*2},ue(Ae))},te(Ve,Ae,Ke)),{[`${Ke}-lg`]:Object.assign({},ue(Le))}),te(Ve,Le,`${Ke}-lg`)),{[`${Ke}-sm`]:Object.assign({},ue(Ne))}),te(Ve,Ne,`${Ke}-sm`))},ge=Ve=>{const{componentCls:Ze,skeletonAvatarCls:Ke,skeletonTitleCls:Ae,skeletonParagraphCls:Le,skeletonButtonCls:Ne,skeletonInputCls:Ge,skeletonImageCls:ot,controlHeight:St,controlHeightLG:wt,controlHeightSM:rt,gradientFromColor:bt,padding:Ft,marginSM:$t,borderRadius:st,titleHeight:Nt,blockRadius:ct,paragraphLiHeight:pt,controlHeightXS:Ct,paragraphMarginTop:Rt}=Ve;return{[`${Ze}`]:{display:"table",width:"100%",[`${Ze}-header`]:{display:"table-cell",paddingInlineEnd:Ft,verticalAlign:"top",[`${Ke}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:bt},ne(St)),[`${Ke}-circle`]:{borderRadius:"50%"},[`${Ke}-lg`]:Object.assign({},ne(wt)),[`${Ke}-sm`]:Object.assign({},ne(rt))},[`${Ze}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Ae}`]:{width:"100%",height:Nt,background:bt,borderRadius:ct,[`+ ${Le}`]:{marginBlockStart:rt}},[`${Le}`]:{padding:0,"> li":{width:"100%",height:pt,listStyle:"none",background:bt,borderRadius:ct,"+ li":{marginBlockStart:Ct}}},[`${Le}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Ze}-content`]:{[`${Ae}, ${Le} > li`]:{borderRadius:st}}},[`${Ze}-with-avatar ${Ze}-content`]:{[`${Ae}`]:{marginBlockStart:$t,[`+ ${Le}`]:{marginBlockStart:Rt}}},[`${Ze}${Ze}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},de(Ve)),y(Ve)),x(Ve)),ee(Ve)),[`${Ze}${Ze}-block`]:{width:"100%",[`${Ne}`]:{width:"100%"},[`${Ge}`]:{width:"100%"}},[`${Ze}${Ze}-active`]:{[` ${Ae}, ${Le} > li, ${Ke}, ${Ne}, ${Ge}, ${ot} `]:Object.assign({},z(Ve))}}};var ve=(0,le.Z)("Skeleton",Ve=>{const{componentCls:Ze}=Ve,Ke=(0,ce.TS)(Ve,{skeletonAvatarCls:`${Ze}-avatar`,skeletonTitleCls:`${Ze}-title`,skeletonParagraphCls:`${Ze}-paragraph`,skeletonButtonCls:`${Ze}-button`,skeletonInputCls:`${Ze}-input`,skeletonImageCls:`${Ze}-image`,imageSizeBase:Ve.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ve.gradientFromColor} 25%, ${Ve.gradientToColor} 37%, ${Ve.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ge(Ke)]},Ve=>{const{colorFillContent:Ze,colorFill:Ke}=Ve,Ae=Ze,Le=Ke;return{color:Ae,colorGradientEnd:Le,gradientFromColor:Ae,gradientToColor:Le,titleHeight:Ve.controlHeight/2,blockRadius:Ve.borderRadiusSM,paragraphMarginTop:Ve.marginLG+Ve.marginXXS,paragraphLiHeight:Ve.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Se=Ve=>{const{prefixCls:Ze,className:Ke,rootClassName:Ae,active:Le,shape:Ne="circle",size:Ge="default"}=Ve,{getPrefixCls:ot}=E.useContext(he.E_),St=ot("skeleton",Ze),[wt,rt]=ve(St),bt=(0,fe.Z)(Ve,["prefixCls","className"]),Ft=xe()(St,`${St}-element`,{[`${St}-active`]:Le},Ke,Ae,rt);return wt(E.createElement("div",{className:Ft},E.createElement(re,Object.assign({prefixCls:`${St}-avatar`,shape:Ne,size:Ge},bt))))},Pe=Ve=>{const{prefixCls:Ze,className:Ke,rootClassName:Ae,active:Le,block:Ne=!1,size:Ge="default"}=Ve,{getPrefixCls:ot}=E.useContext(he.E_),St=ot("skeleton",Ze),[wt,rt]=ve(St),bt=(0,fe.Z)(Ve,["prefixCls"]),Ft=xe()(St,`${St}-element`,{[`${St}-active`]:Le,[`${St}-block`]:Ne},Ke,Ae,rt);return wt(E.createElement("div",{className:Ft},E.createElement(re,Object.assign({prefixCls:`${St}-button`,size:Ge},bt))))};const we="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Ee=Ve=>{const{prefixCls:Ze,className:Ke,rootClassName:Ae,style:Le,active:Ne}=Ve,{getPrefixCls:Ge}=E.useContext(he.E_),ot=Ge("skeleton",Ze),[St,wt]=ve(ot),rt=xe()(ot,`${ot}-element`,{[`${ot}-active`]:Ne},Ke,Ae,wt);return St(E.createElement("div",{className:rt},E.createElement("div",{className:xe()(`${ot}-image`,Ke),style:Le},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${ot}-image-svg`},E.createElement("path",{d:we,className:`${ot}-image-path`})))))},Ce=Ve=>{const{prefixCls:Ze,className:Ke,rootClassName:Ae,active:Le,block:Ne,size:Ge="default"}=Ve,{getPrefixCls:ot}=E.useContext(he.E_),St=ot("skeleton",Ze),[wt,rt]=ve(St),bt=(0,fe.Z)(Ve,["prefixCls"]),Ft=xe()(St,`${St}-element`,{[`${St}-active`]:Le,[`${St}-block`]:Ne},Ke,Ae,rt);return wt(E.createElement("div",{className:Ft},E.createElement(re,Object.assign({prefixCls:`${St}-input`,size:Ge},bt))))},Oe=pe(87462),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Ue=Ie,je=pe(74643),nt=function(Ze,Ke){return E.createElement(je.Z,(0,Oe.Z)({},Ze,{ref:Ke,icon:Ue}))},Je=E.forwardRef(nt),Xe=Ve=>{const{prefixCls:Ze,className:Ke,rootClassName:Ae,style:Le,active:Ne,children:Ge}=Ve,{getPrefixCls:ot}=E.useContext(he.E_),St=ot("skeleton",Ze),[wt,rt]=ve(St),bt=xe()(St,`${St}-element`,{[`${St}-active`]:Ne},rt,Ke,Ae),Ft=Ge!=null?Ge:E.createElement(Je,null);return wt(E.createElement("div",{className:bt},E.createElement("div",{className:xe()(`${St}-image`,Ke),style:Le},Ft)))},ze=pe(74902),Be=Ve=>{const Ze=ot=>{const{width:St,rows:wt=2}=Ve;if(Array.isArray(St))return St[ot];if(wt-1===ot)return St},{prefixCls:Ke,className:Ae,style:Le,rows:Ne}=Ve,Ge=(0,ze.Z)(Array(Ne)).map((ot,St)=>E.createElement("li",{key:St,style:{width:Ze(St)}}));return E.createElement("ul",{className:xe()(Ke,Ae),style:Le},Ge)},Ye=Ve=>{let{prefixCls:Ze,className:Ke,width:Ae,style:Le}=Ve;return E.createElement("h3",{className:xe()(Ze,Ke),style:Object.assign({width:Ae},Le)})};function gt(Ve){return Ve&&typeof Ve=="object"?Ve:{}}function $e(Ve,Ze){return Ve&&!Ze?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function We(Ve,Ze){return!Ve&&Ze?{width:"38%"}:Ve&&Ze?{width:"50%"}:{}}function Re(Ve,Ze){const Ke={};return(!Ve||!Ze)&&(Ke.width="61%"),!Ve&&Ze?Ke.rows=3:Ke.rows=2,Ke}const tt=Ve=>{const{prefixCls:Ze,loading:Ke,className:Ae,rootClassName:Le,style:Ne,children:Ge,avatar:ot=!1,title:St=!0,paragraph:wt=!0,active:rt,round:bt}=Ve,{getPrefixCls:Ft,direction:$t,skeleton:st}=E.useContext(he.E_),Nt=Ft("skeleton",Ze),[ct,pt]=ve(Nt);if(Ke||!("loading"in Ve)){const Ct=!!ot,Rt=!!St,zt=!!wt;let rn;if(Ct){const Hn=Object.assign(Object.assign({prefixCls:`${Nt}-avatar`},$e(Rt,zt)),gt(ot));rn=E.createElement("div",{className:`${Nt}-header`},E.createElement(re,Object.assign({},Hn)))}let kn;if(Rt||zt){let Hn;if(Rt){const fn=Object.assign(Object.assign({prefixCls:`${Nt}-title`},We(Ct,zt)),gt(St));Hn=E.createElement(Ye,Object.assign({},fn))}let Pr;if(zt){const fn=Object.assign(Object.assign({prefixCls:`${Nt}-paragraph`},Re(Ct,Rt)),gt(wt));Pr=E.createElement(Be,Object.assign({},fn))}kn=E.createElement("div",{className:`${Nt}-content`},Hn,Pr)}const jn=xe()(Nt,{[`${Nt}-with-avatar`]:Ct,[`${Nt}-active`]:rt,[`${Nt}-rtl`]:$t==="rtl",[`${Nt}-round`]:bt},st==null?void 0:st.className,Ae,Le,pt);return ct(E.createElement("div",{className:jn,style:Object.assign(Object.assign({},st==null?void 0:st.style),Ne)},rn,kn))}return typeof Ge!="undefined"?Ge:null};tt.Button=Pe,tt.Avatar=Se,tt.Input=Ce,tt.Image=Ee,tt.Node=Xe;var Me=tt,He=Me},55054:function(xt,ft,pe){"use strict";pe.d(ft,{default:function(){return ve}});var be=pe(67294),xe=pe(57838),E=pe(96159),he=pe(94184),fe=pe.n(he),se=pe(53124),re=pe(46303),le=me=>{const{value:Se,formatter:ye,precision:Pe,decimalSeparator:we,groupSeparator:Te="",prefixCls:Ee}=me;let _e;if(typeof ye=="function")_e=ye(Se);else{const Ce=String(Se),Oe=Ce.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Oe||Ce==="-")_e=Ce;else{const Ie=Oe[1];let Ue=Oe[2]||"0",je=Oe[4]||"";Ue=Ue.replace(/\B(?=(\d{3})+(?!\d))/g,Te),typeof Pe=="number"&&(je=je.padEnd(Pe,"0").slice(0,Pe>0?Pe:0)),je&&(je=`${we}${je}`),_e=[be.createElement("span",{key:"int",className:`${Ee}-content-value-int`},Ie,Ue),je&&be.createElement("span",{key:"decimal",className:`${Ee}-content-value-decimal`},je)]}}return be.createElement("span",{className:`${Ee}-content-value`},_e)},ce=pe(14747),ae=pe(67968),oe=pe(45503);const ne=me=>{const{componentCls:Se,marginXXS:ye,padding:Pe,colorTextDescription:we,titleFontSize:Te,colorTextHeading:Ee,contentFontSize:_e,fontFamily:Ce}=me;return{[`${Se}`]:Object.assign(Object.assign({},(0,ce.Wf)(me)),{[`${Se}-title`]:{marginBottom:ye,color:we,fontSize:Te},[`${Se}-skeleton`]:{paddingTop:Pe},[`${Se}-content`]:{color:Ee,fontSize:_e,fontFamily:Ce,[`${Se}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Se}-content-prefix, ${Se}-content-suffix`]:{display:"inline-block"},[`${Se}-content-prefix`]:{marginInlineEnd:ye},[`${Se}-content-suffix`]:{marginInlineStart:ye}}})}};var z=(0,ae.Z)("Statistic",me=>{const Se=(0,oe.TS)(me,{});return[ne(Se)]},me=>{const{fontSizeHeading3:Se,fontSize:ye}=me;return{titleFontSize:ye,contentFontSize:Se}}),y=me=>{const{prefixCls:Se,className:ye,rootClassName:Pe,style:we,valueStyle:Te,value:Ee=0,title:_e,valueRender:Ce,prefix:Oe,suffix:Ie,loading:Ue=!1,onMouseEnter:je,onMouseLeave:nt,decimalSeparator:Je=".",groupSeparator:Qe=","}=me,{getPrefixCls:Xe,direction:ze,statistic:ke}=be.useContext(se.E_),Be=Xe("statistic",Se),[qe,Ye]=z(Be),gt=be.createElement(le,Object.assign({decimalSeparator:Je,groupSeparator:Qe,prefixCls:Be},me,{value:Ee})),$e=fe()(Be,{[`${Be}-rtl`]:ze==="rtl"},ke==null?void 0:ke.className,ye,Pe,Ye);return qe(be.createElement("div",{className:$e,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),we),onMouseEnter:je,onMouseLeave:nt},_e&&be.createElement("div",{className:`${Be}-title`},_e),be.createElement(re.Z,{paragraph:!1,loading:Ue,className:`${Be}-skeleton`},be.createElement("div",{style:Te,className:`${Be}-content`},Oe&&be.createElement("span",{className:`${Be}-content-prefix`},Oe),Ce?Ce(gt):gt,Ie&&be.createElement("span",{className:`${Be}-content-suffix`},Ie)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(me,Se){let ye=me;const Pe=/\[[^\]]*]/g,we=(Se.match(Pe)||[]).map(Ce=>Ce.slice(1,-1)),Te=Se.replace(Pe,"[]"),Ee=x.reduce((Ce,Oe)=>{let[Ie,Ue]=Oe;if(Ce.includes(Ie)){const je=Math.floor(ye/Ue);return ye-=je*Ue,Ce.replace(new RegExp(`${Ie}+`,"g"),nt=>{const Je=nt.length;return je.toString().padStart(Je,"0")})}return Ce},Te);let _e=0;return Ee.replace(Pe,()=>{const Ce=we[_e];return _e+=1,Ce})}function ee(me,Se){const{format:ye=""}=Se,Pe=new Date(me).getTime(),we=Date.now(),Te=Math.max(Pe-we,0);return b(Te,ye)}const te=1e3/30;function ue(me){return new Date(me).getTime()}const de=me=>{const{value:Se,format:ye="HH:mm:ss",onChange:Pe,onFinish:we}=me,Te=(0,xe.Z)(),Ee=be.useRef(null),_e=()=>{we==null||we(),Ee.current&&(clearInterval(Ee.current),Ee.current=null)},Ce=()=>{const Ue=ue(Se);Ue>=Date.now()&&(Ee.current=setInterval(()=>{Te(),Pe==null||Pe(Ue-Date.now()),Ue(Ce(),()=>{Ee.current&&(clearInterval(Ee.current),Ee.current=null)}),[Se]);const Oe=(Ue,je)=>ee(Ue,Object.assign(Object.assign({},je),{format:ye})),Ie=Ue=>(0,E.Tm)(Ue,{title:void 0});return be.createElement(y,Object.assign({},me,{valueRender:Ie,formatter:Oe}))};var ge=be.memo(de);y.Countdown=ge;var ve=y},49867:function(xt,ft,pe){"use strict";pe.d(ft,{N:function(){return be}});const be=xe=>({color:xe.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${xe.motionDurationSlow}`,"&:focus, &:hover":{color:xe.colorLinkHover},"&:active":{color:xe.colorLinkActive}})},9430:function(xt,ft,pe){"use strict";pe.d(ft,{default:function(){return Ms}});var be={},xe="rc-table-internal-hook",E=pe(97685),he=pe(66680),fe=pe(8410),se=pe(91881),re=pe(67294),ie=pe(73935);function le(De){var Fe=re.createContext(void 0),et=function(ht){var yt=ht.value,Lt=ht.children,Dt=re.useRef(yt);Dt.current=yt;var It=re.useState(function(){return{getValue:function(){return Dt.current},listeners:new Set}}),Wt=(0,E.Z)(It,1),nn=Wt[0];return(0,fe.Z)(function(){(0,ie.unstable_batchedUpdates)(function(){nn.listeners.forEach(function(Xt){Xt(yt)})})},[yt]),re.createElement(Fe.Provider,{value:nn},Lt)};return{Context:Fe,Provider:et,defaultValue:De}}function ce(De,Fe){var et=(0,he.Z)(typeof Fe=="function"?Fe:function(Xt){if(Fe===void 0)return Xt;if(!Array.isArray(Fe))return Xt[Fe];var hn={};return Fe.forEach(function(pn){hn[pn]=Xt[pn]}),hn}),lt=re.useContext(De==null?void 0:De.Context),ht=lt||{},yt=ht.listeners,Lt=ht.getValue,Dt=re.useRef();Dt.current=et(lt?Lt():De==null?void 0:De.defaultValue);var It=re.useState({}),Wt=(0,E.Z)(It,2),nn=Wt[1];return(0,fe.Z)(function(){if(!lt)return;function Xt(hn){var pn=et(hn);(0,se.Z)(Dt.current,pn,!0)||nn({})}return yt.add(Xt),function(){yt.delete(Xt)}},[lt]),Dt.current}var ae=pe(87462),oe=pe(42550);function ne(){var De=re.createContext(null);function Fe(){return re.useContext(De)}function et(ht,yt){var Lt=(0,oe.Yr)(ht),Dt=function(Wt,nn){var Xt=Lt?{ref:nn}:{},hn=re.useRef(0),pn=re.useRef(Wt),xn=Fe();return xn!==null?re.createElement(ht,(0,ae.Z)({},Wt,Xt)):((!yt||yt(pn.current,Wt))&&(hn.current+=1),pn.current=Wt,re.createElement(De.Provider,{value:hn.current},re.createElement(ht,(0,ae.Z)({},Wt,Xt))))};return Lt?re.forwardRef(Dt):Dt}function lt(ht,yt){var Lt=(0,oe.Yr)(ht),Dt=function(Wt,nn){var Xt=Lt?{ref:nn}:{};return Fe(),re.createElement(ht,(0,ae.Z)({},Wt,Xt))};return Lt?re.memo(re.forwardRef(Dt),yt):re.memo(Dt,yt)}return{makeImmutable:et,responseImmutable:lt,useImmutableMark:Fe}}var z=ne(),a=z.makeImmutable,y=z.responseImmutable,x=z.useImmutableMark,b=ne(),ee=b.makeImmutable,te=b.responseImmutable,ue=b.useImmutableMark,de=le(),ge=de;function ve(De,Fe){var et=re.useRef(0);et.current+=1;var lt=re.useRef(De),ht=[];Object.keys(De||{}).map(function(Lt){var Dt;(De==null?void 0:De[Lt])!==((Dt=lt.current)===null||Dt===void 0?void 0:Dt[Lt])&&ht.push(Lt)}),lt.current=De;var yt=re.useRef([]);return ht.length&&(yt.current=ht),re.useDebugValue(et.current),re.useDebugValue(yt.current.join(", ")),Fe&&console.log("".concat(Fe,":"),et.current,yt.current),et.current}var me=null,Se=re.memo(function(){var De=ve();return re.createElement("h1",null,"Render Times: ",De)});Se.displayName="RenderBlock";var ye=pe(71002),Pe=pe(1413),we=pe(4942),Te=pe(94184),Ee=pe.n(Te);function _e(De,Fe,et){var lt=re.useRef({});return(!("value"in lt.current)||et(lt.current.condition,Fe))&&(lt.current.value=De(),lt.current.condition=Fe),lt.current.value}var Ce={},Oe=[],Ie=function(Fe){Oe.push(Fe)};function Ue(De,Fe){if(0)var et}function je(De,Fe){if(0)var et}function nt(){Ce={}}function Je(De,Fe,et){!Fe&&!Ce[et]&&(De(!1,et),Ce[et]=!0)}function Qe(De,Fe){Je(Ue,De,Fe)}function Xe(De,Fe){Je(je,De,Fe)}Qe.preMessage=Ie,Qe.resetWarned=nt,Qe.noteOnce=Xe;var ze=Qe;function ke(De,Fe){var et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,lt=new Set;function ht(yt,Lt){var Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,It=lt.has(yt);if(ze(!It,"Warning: There may be circular references"),It)return!1;if(yt===Lt)return!0;if(et&&Dt>1)return!1;lt.add(yt);var Wt=Dt+1;if(Array.isArray(yt)){if(!Array.isArray(Lt)||yt.length!==Lt.length)return!1;for(var nn=0;nn=et}function Ze(De,Fe){return ce(ge,function(et){var lt=Ve(De,Fe||1,et.hoverStartRow,et.hoverEndRow);return[lt,et.onHover]})}var Ke=function(Fe){var et=Fe.ellipsis,lt=Fe.rowType,ht=Fe.children,yt,Lt=et===!0?{showTitle:!0}:et;return Lt&&(Lt.showTitle||lt==="header")&&(typeof ht=="string"||typeof ht=="number"?yt=ht.toString():re.isValidElement(ht)&&typeof ht.props.children=="string"&&(yt=ht.props.children)),yt};function Ae(De){var Fe,et,lt,ht,yt,Lt,Dt,It,Wt=De.component,nn=De.children,Xt=De.ellipsis,hn=De.scope,pn=De.prefixCls,xn=De.className,Xn=De.align,Un=De.record,Qn=De.render,Zn=De.dataIndex,rr=De.renderIndex,jr=De.shouldCellUpdate,Zr=De.index,Tr=De.rowType,ho=De.colSpan,So=De.rowSpan,yr=De.fixLeft,Ar=De.fixRight,pr=De.firstFixLeft,or=De.lastFixLeft,Cr=De.firstFixRight,zr=De.lastFixRight,bo=De.appendNode,yo=De.additionalProps,Gr=yo===void 0?{}:yo,_o=De.isSticky,Fo="".concat(pn,"-cell"),la=ce(ge,["supportSticky","allColumnsFixedLeft"]),Xo=la.supportSticky,Ia=la.allColumnsFixedLeft,ja=He(Un,Zn,rr,nn,Qn,jr),Co=(0,E.Z)(ja,2),Za=Co[0],qn=Co[1],Yr={},No=typeof yr=="number"&&Xo,ya=typeof Ar=="number"&&Xo;No&&(Yr.position="sticky",Yr.left=yr),ya&&(Yr.position="sticky",Yr.right=Ar);var br=(Fe=(et=(lt=qn==null?void 0:qn.colSpan)!==null&<!==void 0?lt:Gr.colSpan)!==null&&et!==void 0?et:ho)!==null&&Fe!==void 0?Fe:1,Jr=(ht=(yt=(Lt=qn==null?void 0:qn.rowSpan)!==null&&Lt!==void 0?Lt:Gr.rowSpan)!==null&&yt!==void 0?yt:So)!==null&&ht!==void 0?ht:1,Qr=Ze(Zr,Jr),$r=(0,E.Z)(Qr,2),Jo=$r[0],Xr=$r[1],To=function(ci){var Bi;Un&&Xr(Zr,Zr+Jr-1),Gr==null||(Bi=Gr.onMouseEnter)===null||Bi===void 0||Bi.call(Gr,ci)},oa=function(ci){var Bi;Un&&Xr(-1,-1),Gr==null||(Bi=Gr.onMouseLeave)===null||Bi===void 0||Bi.call(Gr,ci)};if(br===0||Jr===0)return null;var qo=(Dt=Gr.title)!==null&&Dt!==void 0?Dt:Ke({rowType:Tr,ellipsis:Xt,children:Za}),_i=Ee()(Fo,xn,(It={},(0,we.Z)(It,"".concat(Fo,"-fix-left"),No&&Xo),(0,we.Z)(It,"".concat(Fo,"-fix-left-first"),pr&&Xo),(0,we.Z)(It,"".concat(Fo,"-fix-left-last"),or&&Xo),(0,we.Z)(It,"".concat(Fo,"-fix-left-all"),or&&Ia&&Xo),(0,we.Z)(It,"".concat(Fo,"-fix-right"),ya&&Xo),(0,we.Z)(It,"".concat(Fo,"-fix-right-first"),Cr&&Xo),(0,we.Z)(It,"".concat(Fo,"-fix-right-last"),zr&&Xo),(0,we.Z)(It,"".concat(Fo,"-ellipsis"),Xt),(0,we.Z)(It,"".concat(Fo,"-with-append"),bo),(0,we.Z)(It,"".concat(Fo,"-fix-sticky"),(No||ya)&&_o&&Xo),(0,we.Z)(It,"".concat(Fo,"-row-hover"),!qn&&Jo),It),Gr.className,qn==null?void 0:qn.className),vi={};Xn&&(vi.textAlign=Xn);var ps=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},Yr),Gr.style),vi),qn==null?void 0:qn.style),li=Za;return(0,ye.Z)(li)==="object"&&!Array.isArray(li)&&!re.isValidElement(li)&&(li=null),Xt&&(or||Cr)&&(li=re.createElement("span",{className:"".concat(Fo,"-content")},li)),re.createElement(Wt,(0,ae.Z)({},qn,Gr,{className:_i,style:ps,title:qo,scope:hn,onMouseEnter:To,onMouseLeave:oa,colSpan:br!==1?br:null,rowSpan:Jr!==1?Jr:null}),bo,li)}var Le=re.memo(Ae);function Ne(De,Fe,et,lt,ht,yt){var Lt=et[De]||{},Dt=et[Fe]||{},It,Wt;Lt.fixed==="left"?It=lt.left[ht==="rtl"?Fe:De]:Dt.fixed==="right"&&(Wt=lt.right[ht==="rtl"?De:Fe]);var nn=!1,Xt=!1,hn=!1,pn=!1,xn=et[Fe+1],Xn=et[De-1],Un=!(yt!=null&&yt.children);if(ht==="rtl"){if(It!==void 0){var Qn=Xn&&Xn.fixed==="left";pn=!Qn&&Un}else if(Wt!==void 0){var Zn=xn&&xn.fixed==="right";hn=!Zn&&Un}}else if(It!==void 0){var rr=xn&&xn.fixed==="left";nn=!rr&&Un}else if(Wt!==void 0){var jr=Xn&&Xn.fixed==="right";Xt=!jr&&Un}return{fixLeft:It,fixRight:Wt,lastFixLeft:nn,firstFixRight:Xt,lastFixRight:hn,firstFixLeft:pn,isSticky:lt.isSticky}}var Ge=re.createContext({}),ot=Ge;function St(De){var Fe=De.className,et=De.index,lt=De.children,ht=De.colSpan,yt=ht===void 0?1:ht,Lt=De.rowSpan,Dt=De.align,It=ce(ge,["prefixCls","direction"]),Wt=It.prefixCls,nn=It.direction,Xt=re.useContext(ot),hn=Xt.scrollColumnIndex,pn=Xt.stickyOffsets,xn=Xt.flattenColumns,Xn=Xt.columns,Un=et+yt-1,Qn=Un+1===hn?yt+1:yt,Zn=Ne(et,et+Qn-1,xn,pn,nn,Xn==null?void 0:Xn[et]);return re.createElement(Le,(0,ae.Z)({className:Fe,index:et,component:"td",prefixCls:Wt,record:null,dataIndex:null,align:Dt,colSpan:Qn,rowSpan:Lt,render:function(){return lt}},Zn))}var wt=pe(45987),rt=["children"];function bt(De){var Fe=De.children,et=(0,wt.Z)(De,rt);return re.createElement("tr",et,Fe)}function Ft(De){var Fe=De.children;return Fe}Ft.Row=bt,Ft.Cell=St;var $t=Ft;function st(De){var Fe=De.children,et=De.stickyOffsets,lt=De.flattenColumns,ht=De.columns,yt=ce(ge,"prefixCls"),Lt=lt.length-1,Dt=lt[Lt],It=re.useMemo(function(){return{stickyOffsets:et,flattenColumns:lt,scrollColumnIndex:Dt!=null&&Dt.scrollbar?Lt:null,columns:ht}},[Dt,lt,Lt,et,ht]);return re.createElement(ot.Provider,{value:It},re.createElement("tfoot",{className:"".concat(yt,"-summary")},Fe))}var Nt=te(st),ct=$t;function pt(De){var Fe=re.useRef();Fe.current=De;var et=re.useCallback(function(){for(var lt,ht=arguments.length,yt=new Array(ht),Lt=0;Lt3&&arguments[3]!==void 0?arguments[3]:!1;return Fe.length&<&&et===void 0&&!get(De,Fe.slice(0,-1))?De:mo(De,Fe,et,lt)}function ln(De){return _typeof(De)==="object"&&De!==null&&Object.getPrototypeOf(De)===Object.prototype}function mn(De){return Array.isArray(De)?[]:{}}var Ln=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Wn(){for(var De=arguments.length,Fe=new Array(De),et=0;et