(self.webpackChunk=self.webpackChunk||[]).push([[6913],{33463:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return te}});var Ce=be(87462),Ze=be(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"},ye=E,me=be(74643),oe=function(ce,le){return Ze.createElement(me.Z,(0,Ce.Z)({},ce,{ref:le,icon:ye}))},te=Ze.forwardRef(oe)},28575:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return te}});var Ce=be(87462),Ze=be(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"},ye=E,me=be(74643),oe=function(ce,le){return Ze.createElement(me.Z,(0,Ce.Z)({},ce,{ref:le,icon:ye}))},te=Ze.forwardRef(oe)},97309:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return te}});var Ce=be(87462),Ze=be(67294),E={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},ye=E,me=be(74643),oe=function(ce,le){return Ze.createElement(me.Z,(0,Ce.Z)({},ce,{ref:le,icon:ye}))},te=Ze.forwardRef(oe)},84249:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return te}});var Ce=be(87462),Ze=be(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"},ye=E,me=be(74643),oe=function(ce,le){return Ze.createElement(me.Z,(0,Ce.Z)({},ce,{ref:le,icon:ye}))},te=Ze.forwardRef(oe)},81893:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return te}});var Ce=be(87462),Ze=be(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"},ye=E,me=be(74643),oe=function(ce,le){return Ze.createElement(me.Z,(0,Ce.Z)({},ce,{ref:le,icon:ye}))},te=Ze.forwardRef(oe)},90674:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return te}});var Ce=be(87462),Ze=be(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"},ye=E,me=be(74643),oe=function(ce,le){return Ze.createElement(me.Z,(0,Ce.Z)({},ce,{ref:le,icon:ye}))},te=Ze.forwardRef(oe)},73148:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return te}});var Ce=be(87462),Ze=be(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ye=E,me=be(74643),oe=function(ce,le){return Ze.createElement(me.Z,(0,Ce.Z)({},ce,{ref:le,icon:ye}))},te=Ze.forwardRef(oe)},56747:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return te}});var Ce=be(87462),Ze=be(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"},ye=E,me=be(74643),oe=function(ce,le){return Ze.createElement(me.Z,(0,Ce.Z)({},ce,{ref:le,icon:ye}))},te=Ze.forwardRef(oe)},50881:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return te}});var Ce=be(87462),Ze=be(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"},ye=E,me=be(74643),oe=function(ce,le){return Ze.createElement(me.Z,(0,Ce.Z)({},ce,{ref:le,icon:ye}))},te=Ze.forwardRef(oe)},22751:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return te}});var Ce=be(87462),Ze=be(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},ye=E,me=be(74643),oe=function(ce,le){return Ze.createElement(me.Z,(0,Ce.Z)({},ce,{ref:le,icon:ye}))},te=Ze.forwardRef(oe)},34182:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return te}});var Ce=be(87462),Ze=be(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"},ye=E,me=be(74643),oe=function(ce,le){return Ze.createElement(me.Z,(0,Ce.Z)({},ce,{ref:le,icon:ye}))},te=Ze.forwardRef(oe)},74664:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return te}});var Ce=be(87462),Ze=be(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"},ye=E,me=be(74643),oe=function(ce,le){return Ze.createElement(me.Z,(0,Ce.Z)({},ce,{ref:le,icon:ye}))},te=Ze.forwardRef(oe)},32693:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return te}});var Ce=be(87462),Ze=be(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},ye=E,me=be(74643),oe=function(ce,le){return Ze.createElement(me.Z,(0,Ce.Z)({},ce,{ref:le,icon:ye}))},te=Ze.forwardRef(oe)},91034:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return te}});var Ce=be(87462),Ze=be(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},ye=E,me=be(74643),oe=function(ce,le){return Ze.createElement(me.Z,(0,Ce.Z)({},ce,{ref:le,icon:ye}))},te=Ze.forwardRef(oe)},71736:function(jt,wt){"use strict";wt.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 jt(ne,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ne,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(jt.prototype,"name",{get:function(){return this._name},set:function(ne){if(typeof ne!="string"||ne==="")throw new Error("Shape name must be a valid string.");this._name=ne}}),Object.defineProperty(jt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("The default value must be a real number, not: "+ne);this._defaultValue=ne}}),Object.defineProperty(jt.prototype,"minimum",{get:function(){return this._minimum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Minimum must be a real number, not: "+ne);this._minimum=ne}}),Object.defineProperty(jt.prototype,"maximum",{get:function(){return this._maximum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Maximum must be a real number, not: "+ne);this._maximum=ne}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ne,a){var y=go.Shape._FigureParameters[ne];return y?y[a]:null},go.Shape.setFigureParameter=function(ne,a,y){if(!(y instanceof jt))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[ne];x||(x=[],go.Shape._FigureParameters[ne]=x),x[a]=y};var wt=[];function be(ne,a){var y=wt.pop();return y===void 0?new go.Point(ne,a):(y.x=ne,y.y=a,y)}function Ce(){var ne=wt.pop();return ne===void 0?new go.Point:ne}function Ze(ne){wt.push(ne)}function E(ne,a,y,x,b,z,ee,re,se){se||(se=new go.Point);var fe=ne-y,ve=b-ee,ge=NaN,he=NaN;if(fe===0)if(ve===0)ne===y&&(ge=ne,he=a);else{var pe=(z-re)/ve,Se=z-pe*b;ge=ne,he=pe*ge+Se}else if(ve===0){var Pe=(a-x)/fe,je=a-Pe*ne;ge=b,he=Pe*ge+je}else{var Pe=(a-x)/fe,pe=(z-re)/ve,je=a-Pe*ne,Se=z-pe*b;ge=(Se-je)/(Pe-pe),he=Pe*ge+je}return se.x=ge,se.y=he,se}function ye(ne,a,y,x,b,z,ee,re,se,fe,ve,ge,he,pe){var Se=1-se,Pe=se,je=ne*Se+y*Pe,we=a*Se+x*Pe,Oe=y*Se+b*Pe,Ae=x*Se+z*Pe,Fe=b*Se+ee*Pe,ke=z*Se+re*Pe,He=je*Se+Oe*Pe,Me=we*Se+Ae*Pe,ut=Oe*Se+Fe*Pe,rt=Ae*Se+ke*Pe,et=He*Se+ut*Pe,Xe=Me*Se+rt*Pe;fe.x=je,fe.y=we,ve.x=He,ve.y=Me,ge.x=et,ge.y=Xe,he.x=ut,he.y=rt,pe.x=Fe,pe.y=ke}var me=new go.Spot(.156,.156),oe=new go.Spot(.844,.844),te=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new jt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*te,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ne,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(ne,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=me,b.spot2=oe,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,te*a,0,a,(1-te)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,te*y,(1-te)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,te*y,te*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-te)*a,0,0,(1-te)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new jt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+re,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,re,re).close())),z.spot1=me,z.spot2=oe,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ne,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new jt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new jt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ne,a,y){var x=ne?ne.parameter1:NaN,b=ne?ne.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var z=x%360;z<0&&(z+=360);var ee=b%360,re=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,z,ee,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ne,a,y){var x=te/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,z*y,a,(1-x)*y,(b+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new jt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new jt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new jt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ne,a,y){var x=ne?ne.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var z=a/2,ee=y/2,re=Math.atan2(y,a),se=x-Math.min(Math.cos(re)*x/2,z),fe=x-Math.min(Math.sin(re)*x/2,ee),b=new go.Geometry,ve=new go.PathFigure(se,0,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a-se,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,fe)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,a,y-fe)),ve.add(new go.PathSegment(go.PathSegment.Line,a-se,y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,se,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y-fe)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,fe).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new jt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new jt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new jt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,te*a,0,a,(.5-te/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+te/2)*y,te*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var z=.2,ee=.3,re=0,se=z*te;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+se+re)*y,(.5-se+ee)*a,(.5+z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+re)*y,(.5+se+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+se+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee)*a,(.5-se+re)*y,(.5+se+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-se+ee)*a,(.5-z+re)*y,(.5-z+ee+.05)*a,(.5-se+re-.02)*y)),z=.2,ee=0,re=-.3,se=z*te,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+re)*y,(.5+se+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+se+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee)*a,(.5-se+re)*y,(.5+se+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+re)*y,(.5-se+ee)*a,(.5-z+re)*y,(.5-z+ee)*a,(.5-se+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+se+re)*y,(.5-se+ee)*a,(.5+z+re)*y)),z=.2,ee=-.3,re=0,se=z*te,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee-.05)*a,(.5-se+re-.02)*y,(.5+se+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+re)*y,(.5-se+ee)*a,(.5-z+re)*y,(.5-z+ee)*a,(.5-se+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+se+re)*y,(.5-se+ee)*a,(.5+z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+se+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+se+re)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var z=.1,ee=.5,re=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ee+z)*a,re*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*re,z*a,z*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),re=.75,b=new go.PathFigure((ee+z)*a,re*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*re,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ne,a,y){var x=.8535533905932737,b=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=.5,re=.5,se=new go.PathFigure(ee*a,(re-z)*y);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),z=.4,b=te*.4;var fe=Ce(),ve=Ce(),ge=Ce(),he=Ce();ye(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.42,fe,ve,ge,he,he);var pe=Ce(),Se=Ce(),Pe=Ce();ye(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.58,he,he,Pe,pe,Se);var je=Ce(),we=Ce(),Oe=Ce();ye(ee,re+z,ee-b,re+z,ee-z,re+b,ee-z,re,.42,je,we,Oe,he,he);var Ae=Ce(),Fe=Ce(),ke=Ce();return ye(ee,re+z,ee-b,re+z,ee-z,re+b,ee-z,re,.58,he,he,ke,Ae,Fe),se.add(new go.PathSegment(go.PathSegment.Move,ke.x*a,ke.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,Ae.x*a,Ae.y*y,Fe.x*a,Fe.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,fe.x*a,fe.y*y,ve.x*a,ve.y*y)),se.add(new go.PathSegment(go.PathSegment.Line,ke.x*a,ke.y*y).close()),se.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),se.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,pe.x*a,pe.y*y,Se.x*a,Se.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,Oe.x*a,Oe.y*y,je.x*a,je.y*y,we.x*a,we.y*y).close()),Ze(fe),Ze(ve),Ze(ge),Ze(he),Ze(pe),Ze(Se),Ze(Pe),Ze(je),Ze(we),Ze(Oe),Ze(Ae),Ze(Fe),Ze(ke),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new jt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ne,a,y){var x=new go.Geometry,b=te*.4,z=.4,ee=.5,re=.5,se=Ce(),fe=Ce(),ve=Ce(),ge=Ce(),he=new go.PathFigure((ee-z)*a,re*y,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),ye(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.44,ve,ge,fe,se,se),he.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*a,fe.y*y,ve.x*a,ve.y*y,ge.x*a,ge.y*y));var pe=be(fe.x,fe.y);ye(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.56,se,se,fe,ve,ge);var Se=be(fe.x,fe.y);he.add(new go.PathSegment(go.PathSegment.Line,(pe.x*.1+.95*.9)*a,pe.y*.1*y)),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,pe.y*.1*y)),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),he.add(new go.PathSegment(go.PathSegment.Line,(Se.x*.1+.9)*a,.15*y)),he.add(new go.PathSegment(go.PathSegment.Line,(Se.x*.1+.9)*a,(Se.y*.1+.05*.9)*y)),he.add(new go.PathSegment(go.PathSegment.Line,Se.x*a,Se.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,ve.x*a,ve.y*y,ge.x*a,ge.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),z=.35,b=te*.35;var Pe=new go.PathFigure(ee*a,(re-z)*y,!1);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y));var je=new go.PathFigure((ee-z)*a,re*y,!1);return x.add(je),Ze(se),Ze(fe),Ze(ve),Ze(ge),Ze(pe),Ze(Se),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ne,a,y){var x=new go.Geometry,b=.375,z=0,ee=-.125,re=b*te,se=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+re+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+re+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-re+ee)*y,(.5+re+z)*a,(.5-b+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+re+ee)*y,(.5-re+z)*a,(.5+b+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),se.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),se.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),se.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),se.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),se.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),se.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),se.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),se.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,ee=-.125,re=b*te;var se=new go.PathFigure((1-.5+b+z)*a,(.5+ee)*y,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+re+ee)*y,(.5+re+z)*a,(.5+b+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+re+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y,(.5-re+z)*a,(.5-b+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+re+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-re+ee)*y));var se=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);return x.add(se),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ne,a,y){var x=ne?ne.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ne,a,y){var x=ne?ne.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ne,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ne,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ne,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new jt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new jt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-x)*a,ee=(.5-b/2)*y,re=(.5+b/2)*y,se=new go.Geometry,fe=new go.PathFigure(0,ee,!0);se.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,z,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,z,y)),fe.add(new go.PathSegment(go.PathSegment.Line,z,re)),fe.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),se.spot1=new go.Spot(0,ee/y);var ve=E(0,re/y,1,re/y,z/a,1,1,.5,Ce());return se.spot2=new go.Spot(ve.x,ve.y),Ze(ve),se}),go.Shape.setFigureParameter("Arrow2",0,new jt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new jt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var z=a-x,ee=(y-b)/2,re=ee+b,se=new go.Geometry,fe=new go.PathFigure(0,ee,!0);se.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,z,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,z,y)),fe.add(new go.PathSegment(go.PathSegment.Line,z,re)),fe.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),se.spot1=new go.Spot(0,ee/y);var ve=E(0,re/y,1,re/y,z/a,1,1,.5,Ce());return se.spot2=new go.Spot(ve.x,ve.y),Ze(ve),se}),go.Shape.defineFigureGenerator("Chevron",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new jt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var se=E(0,.5,.3,0,0,b/y,.1,b/y,Ce());return ee.spot1=new go.Spot(se.x,se.y),se=E(.7,1,1,.5,0,z/y,1,z/y,se),ee.spot2=new go.Spot(se.x,se.y),Ze(se),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new jt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new jt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,ee=z+x,re=(y-b)/2,se=re+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,re=0,se=y):(z=0,ee=y,re=0,se=y));var fe=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);fe.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,se)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,se)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close());var ge=E(0,.5,.3,re/y,0,z/y,1,z/y,Ce());return fe.spot1=new go.Spot(ge.x,ge.y),ge=E(.7,se/y,1,.5,0,ee/y,1,ee/y,ge),fe.spot2=new go.Spot(ge.x,ge.y),Ze(ge),fe}),go.Shape.setFigureParameter("IBeamArrow",0,new jt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,b/y);var se=E(.7,1,1,.5,0,z/y,1,z/y,Ce());return ee.spot2=new go.Spot(se.x,se.y),Ze(se),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new jt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new jt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,ee=z+x,re=(y-b)/2,se=re+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,re=0,se=y):(z=0,ee=y,re=0,se=y));var fe=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);fe.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,se)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,se)),ve.add(new go.PathSegment(go.PathSegment.Line,0,se)),ve.add(new go.PathSegment(go.PathSegment.Line,0,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close()),fe.spot1=new go.Spot(0,z/y);var ge=E(.7,se/y,1,.5,0,ee/y,1,ee/y,Ce());return fe.spot2=new go.Spot(ge.x,ge.y),Ze(ge),fe}),go.Shape.setFigureParameter("Pointer",0,new jt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var ee=E(.2,.65,1,.65,0,1,1,.5,Ce());return b.spot2=new go.Spot(ee.x,ee.y),Ze(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new jt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var ee=E(0,.65,1,.65,0,1,1,.5,Ce());return b.spot2=new go.Spot(ee.x,ee.y),Ze(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new jt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var se=E(.7,1,1,.5,0,z/y,1,z/y,Ce());return ee.spot2=new go.Spot(se.x,se.y),Ze(se),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new jt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,z=b+x;x>y&&(b=0,z=y);var ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,b/y);var se=E(.7,1,1,.5,0,z/y,1,z/y,Ce());return ee.spot2=new go.Spot(se.x,se.y),Ze(se),ee}),go.Shape.setFigureParameter("SquareArrow",0,new jt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(0,.9*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(0,x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,te*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-te*x,(.5+z)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(a,x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-te*x,(.5+z)*a,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-te*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(0,y-x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,te*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-te*x,(.5+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-te*x));var re=new go.PathFigure(0,y-x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-te*x,(.5-z)*a,y-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*a,y-2*x,a,y-x-te*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-te*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-te*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,te*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,te*x,0));var re=new go.PathFigure(x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+te*x,0,2*x,(.5-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*y,x+te*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(a-x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-te*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-te*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,te*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,te*x,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var re=new go.PathFigure(a-x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-te*x,0,a-2*x,(.5-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*y,a-x-te*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ne,a,y){var x=new go.Geometry,b=.2,z=.1,ee=te*b,re=te*z,se=.5,fe=.1,ve=new go.PathFigure(se*a,(fe+z)*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se-b)*a,fe*y,(se-ee)*a,(fe+z)*y,(se-b)*a,(fe+re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-z)*y,(se-b)*a,(fe-re)*y,(se-ee)*a,(fe-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se+b)*a,fe*y,(se+ee)*a,(fe-z)*y,(se+b)*a,(fe-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe+z)*y,(se+b)*a,(fe+re)*y,(se+ee)*a,(fe+z)*y));var ge=.05,he=te*ge;se=.05,fe=.25;var pe=new go.PathFigure(.5*a,.2*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),se=.95,fe=.25,pe.add(new go.PathSegment(go.PathSegment.Bezier,(se+ge)*a,fe*y,(se+he)*a,(fe-ge)*y,(se+ge)*a,(fe-he)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ge=.025,he=te*ge,se=.825,fe=.35,pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-ge)*y,(se+ge)*a,(fe-he)*y,(se+he)*a,(fe-ge)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se-ge)*a,fe*y,(se-he)*a,(fe-ge)*y,(se-ge)*a,(fe-he)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ge=.05,he=te*ge,se=.5,fe=.7,pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-ge)*y,(se+ge)*a,(fe-he)*y,(se+he)*a,(fe-ge)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se-ge)*a,fe*y,(se-he)*a,(fe-ge)*y,(se-ge)*a,(fe-he)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ge=.025,he=te*ge,se=.175,fe=.35,pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-ge)*y,(se+ge)*a,(fe-he)*y,(se+he)*a,(fe-ge)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se-ge)*a,fe*y,(se-he)*a,(fe-ge)*y,(se-ge)*a,(fe-he)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ge=.05,he=te*ge,se=.05,fe=.25,pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-ge)*y,(se-ge)*a,(fe-he)*y,(se-he)*a,(fe-ge)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new jt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var re=new go.PathFigure(a,.1*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+z)*y,(.5+b)*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+z)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var re=new go.PathFigure(a,.1*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var z=te*.2,ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var re=new go.PathFigure(0,b*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure(b*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ne,a,y){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ee=te*.5,re=.5,se=new go.PathFigure(a,re*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,a,(re+ee)*y,(re+ee)*a,y)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,re*y,(re-ee)*a,y,0,(re+ee)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,re*a,0,0,(re-ee)*y,(re-ee)*a,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,a,re*y,(re+ee)*a,0,a,(re-ee)*y));var fe=new go.PathFigure((z+b)*a,(z+b)*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),fe.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(z+b)*a,z*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(.5*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+b)*y,(z+b)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=1-b,ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var re=new go.PathFigure(.5*b*a,b*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var re=new go.PathFigure(a,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure((1-b)*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var re=new go.PathFigure(a,z*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var se=new go.PathFigure(.8*a,.75*y,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),se.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),se.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(ne,a,y){var x=new go.Geometry,b=te*.1,z=.1,ee=.9,re=.5,se=new go.PathFigure(.8*a,.5*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,y)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var fe=new go.PathFigure((ee+z)*a,re*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re-z)*y,(ee+z)*a,(re-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.4,ee=te*.1,re=.1,se=.9,fe=.5,ve=new go.PathFigure(.8*a,.5*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+b)*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-z)*y));var ge=new go.PathFigure((se+re)*a,fe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe+re)*y,(se+re)*a,(fe+ee)*y,(se+ee)*a,(fe+re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a,fe*y,(se-ee)*a,(fe+re)*y,(se-re)*a,(fe+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-re)*y,(se-re)*a,(fe-ee)*y,(se-ee)*a,(fe-re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a,fe*y,(se+ee)*a,(fe-re)*y,(se+re)*a,(fe-ee)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=0,re=.5,se=new go.PathFigure(.8*a,.5*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(re-b)*y,.7*a,(re-z)*y)),b=.1,z=te*.1,ee=.9,re=.5;var fe=new go.PathFigure((ee-b)*a,re*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=0,re=.5,se=new go.PathFigure(0,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z+z)*a,(re-b)*y,.8*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(re+z)*y,(ee+z+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=.2,re=.5,se=new go.PathFigure(.1*a,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(re+z)*y,(ee+z)*a,(re+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(re-b)*y,.7*a,(re-z)*y)),b=.1,z=te*.1,ee=.9,re=.5;var ve=new go.PathFigure((ee-b)*a,re*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=.2,re=.5,se=new go.PathFigure(.1*a,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var fe=new go.PathFigure(.2*a,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z)*a,(re-b)*y,.9*a,(re-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(re+z)*y,(ee+z)*a,(re+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(ne,a,y){var x=new go.Geometry,b=te*.1,z=.1,ee=.1,re=.5,se=new go.PathFigure((ee-b*.5)*a,y,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.3,se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.5,se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.7,se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.9,se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b*.5)*a,y,(ee+z)*a,0,(ee+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=.5,re=.5,se=new go.PathFigure((ee-z)*a,re*y,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re-z)*y,(ee+z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Move,(ee-z+.1)*a,re*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z-.1)*a,re*y,ee*a,(re-z)*y,ee*a,(re+z)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ne,a,y){var x=new go.Geometry,b=a,z=y;a=a*.38,y=y*.6;var ee=te*.8,re=.8,se=0,fe=.5,ve=(b-a)/2,ge=(z-y)/2,he=new go.PathFigure(se*a+ve,(fe+re)*y+ge,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a+ve,fe*y+ge,(se-ee)*a+ve,(fe+re)*y+ge,(se-re)*a+ve,(fe+ee)*y+ge)),he.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+ge,(se-re)*a+ve,(fe-ee)*y+ge,(se-ee)*a+ve,(fe-re)*y+ge)),he.add(new go.PathSegment(go.PathSegment.Bezier,(se-re+ee*.5)*a+ve,fe*y+ge,se*a+ve,(fe-re)*y+ge,(se-re+ee*.5)*a+ve,(fe-ee)*y+ge)),he.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+ge,(se-re+ee*.5)*a+ve,(fe+ee)*y+ge,se*a+ve,(fe+re)*y+ge).close()),ee=te*.4,re=.4,se=.2,fe=.5;var pe=new go.PathFigure(se*a+ve,(fe+re)*y+ge,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a+ve,fe*y+ge,(se-ee)*a+ve,(fe+re)*y+ge,(se-re)*a+ve,(fe+ee)*y+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+ge,(se-re)*a+ve,(fe-ee)*y+ge,(se-ee)*a+ve,(fe-re)*y+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se-re+ee*.5)*a+ve,fe*y+ge,se*a+ve,(fe-re)*y+ge,(se-re+ee*.5)*a+ve,(fe-ee)*y+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+ge,(se-re+ee*.5)*a+ve,(fe+ee)*y+ge,se*a+ve,(fe+re)*y+ge).close()),ee=te*.2,re=.2,se=.5,fe=.5;var Se=new go.PathFigure((se-re)*a+ve,fe*y+ge,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+ge,(se-re)*a+ve,(fe-ee)*y+ge,(se-ee)*a+ve,(fe-re)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a+ve,fe*y+ge,(se+ee)*a+ve,(fe-re)*y+ge,(se+re)*a+ve,(fe-ee)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+ge,(se+re)*a+ve,(fe+ee)*y+ge,(se+ee)*a+ve,(fe+re)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a+ve,fe*y+ge,(se-ee)*a+ve,(fe+re)*y+ge,(se-re)*a+ve,(fe+ee)*y+ge)),ee=te*.4,re=.4,se=.8,fe=.5;var Pe=new go.PathFigure(se*a+ve,(fe-re)*y+ge,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a+ve,fe*y+ge,(se+ee)*a+ve,(fe-re)*y+ge,(se+re)*a+ve,(fe-ee)*y+ge)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+ge,(se+re)*a+ve,(fe+ee)*y+ge,(se+ee)*a+ve,(fe+re)*y+ge)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(se+re-ee*.5)*a+ve,fe*y+ge,se*a+ve,(fe+re)*y+ge,(se+re-ee*.5)*a+ve,(fe+ee)*y+ge)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+ge,(se+re-ee*.5)*a+ve,(fe-ee)*y+ge,se*a+ve,(fe-re)*y+ge).close()),ee=te*.8,re=.8,se=1,fe=.5;var je=new go.PathFigure(se*a+ve,(fe-re)*y+ge,!0);return x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a+ve,fe*y+ge,(se+ee)*a+ve,(fe-re)*y+ge,(se+re)*a+ve,(fe-ee)*y+ge)),je.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe+re)*y+ge,(se+re)*a+ve,(fe+ee)*y+ge,(se+ee)*a+ve,(fe+re)*y+ge)),je.add(new go.PathSegment(go.PathSegment.Bezier,(se+re-ee*.5)*a+ve,fe*y+ge,se*a+ve,(fe+re)*y+ge,(se+re-ee*.5)*a+ve,(fe+ee)*y+ge)),je.add(new go.PathSegment(go.PathSegment.Bezier,se*a+ve,(fe-re)*y+ge,(se+re-ee*.5)*a+ve,(fe-ee)*y+ge,se*a+ve,(fe-re)*y+ge).close()),x}),go.Shape.defineFigureGenerator("Email",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var re=new go.PathFigure(0,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ne,a,y){var x=new go.Geometry,b=te*.4,z=.4,ee=.5,re=.5,se=Ce(),fe=Ce(),ve=Ce(),ge=Ce();ye(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.5,se,se,fe,ve,ge);var he=be(fe.x,fe.y),pe=new go.PathFigure(fe.x*a,fe.y*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,ve.x*a,ve.y*y,ge.x*a,ge.y*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),ye(ee-z,re,ee-z,re-b,ee-b,re-z,ee,re-z,.5,ve,ge,fe,se,se),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*a,fe.y*y,ve.x*a,ve.y*y,ge.x*a,ge.y*y)),b=te*.3,z=.3,ye(ee-z,re,ee-z,re-b,ee-b,re-z,ee,re-z,.5,ve,ge,fe,se,se),pe.add(new go.PathSegment(go.PathSegment.Line,fe.x*a,fe.y*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,ge.x*a,ge.y*y,ve.x*a,ve.y*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ye(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.5,se,se,fe,ve,ge),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*a,fe.y*y,ge.x*a,ge.y*y,ve.x*a,ve.y*y).close());var pe=new go.PathFigure(.45*a,0,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Ze(se),Ze(fe),Ze(ve),Ze(ge),Ze(he),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function z(ee,re,se){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*a,(.8+se)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*a,(.5+se)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*a,(.5+se)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*a,(.8+se)*y).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ne,a,y){var x=new go.Geometry,b=.5,z=0,ee=0,re=b*te,se=.4*Math.SQRT2/2+.5,fe=.5-.5*Math.SQRT2/2,ve=1,ge=.5,he=.5,pe=0,Se=new go.PathFigure(se*a,(1-fe)*y,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,ge*y,ve*a,.7*y,ve*a,ge*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(he+z)*a,(pe+z)*y,(.5+b+z)*a,(.5-re+z)*y,(.5+re+z)*a,(.5-b+z)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-b+z)*a,(.5+re+ee)*y,(.5-re+z)*a,.9*y)),Se.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,re=.5,se=ee,fe=Math.PI/4,ve=4*(1-Math.cos(fe))/(3*Math.sin(fe)),ge=ve*.5,he=ee,pe=ee,Se=ve*he,Pe=ve*pe;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-he)*a,se*y,(re-(Se+he)/2)*a,(se+(pe+Pe)/2)*y,(re-he)*a,(se+Pe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(se-pe)*y,(re-he)*a,(se-Pe)*y,(re-Se)*a,(se-pe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+he)*a,se*y,(re+Se)*a,(se-pe)*y,(re+he)*a,(se-Pe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(re+he)*a,(se+Pe)*y,(re+(Se+he)/2)*a,(se+(pe+Pe)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var je=new go.PathFigure(.2*a,y,!1);x.add(je),je.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var we=new go.PathFigure(.8*a,y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(.1*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=new go.PathFigure(a,b*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+z)*y,(b+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-z)*a,y,0,(b+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-z)*y,(b-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+z)*a,0,a,(b-z)*y));var re=new go.PathFigure(b*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,re=te*.1,se=.2,fe=.9,ve=new go.PathFigure((se-ee)*a,fe*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-ee)*y,(se-ee)*a,(fe-re)*y,(se-re)*a,(fe-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se+ee)*a,fe*y,(se+re)*a,(fe-ee)*y,(se+ee)*a,(fe-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe+ee)*y,(se+ee)*a,(fe+re)*y,(se+re)*a,(fe+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se-ee)*a,fe*y,(se-re)*a,(fe+ee)*y,(se-ee)*a,(fe+re)*y).close()),ee=.1,re=te*.1,se=.8,fe=.9;var ge=new go.PathFigure((se-ee)*a,fe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe-ee)*y,(se-ee)*a,(fe-re)*y,(se-re)*a,(fe-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(se+ee)*a,fe*y,(se+re)*a,(fe-ee)*y,(se+ee)*a,(fe-re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(fe+ee)*y,(se+ee)*a,(fe+re)*y,(se+re)*a,(fe+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(se-ee)*a,fe*y,(se-re)*a,(fe+ee)*y,(se-ee)*a,(fe+re)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var re=new go.PathFigure(.5*a,.7*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var se=.1,fe=te*.1,ve=.1,ge=.9,he=new go.PathFigure((ve-se)*a,ge*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge-se)*y,(ve-se)*a,(ge-fe)*y,(ve-fe)*a,(ge-se)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*a,ge*y,(ve+fe)*a,(ge-se)*y,(ve+se)*a,(ge-fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge+se)*y,(ve+se)*a,(ge+fe)*y,(ve+fe)*a,(ge+se)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*a,ge*y,(ve-fe)*a,(ge+se)*y,(ve-se)*a,(ge+fe)*y)),se=.1,fe=te*.1,ve=.4,ge=.9;var pe=new go.PathFigure((ve-se)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge-se)*y,(ve-se)*a,(ge-fe)*y,(ve-fe)*a,(ge-se)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*a,ge*y,(ve+fe)*a,(ge-se)*y,(ve+se)*a,(ge-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge+se)*y,(ve+se)*a,(ge+fe)*y,(ve+fe)*a,(ge+se)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*a,ge*y,(ve-fe)*a,(ge+se)*y,(ve-se)*a,(ge+fe)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ve=.05,ge=te*.05,he=.175,pe=.95,re=new go.PathFigure((he-ve)*a,pe*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ve)*y,(he-ve)*a,(pe-ge)*y,(he-ge)*a,(pe-ve)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(he+ve)*a,pe*y,(he+ge)*a,(pe-ve)*y,(he+ve)*a,(pe-ge)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ve)*y,(he+ve)*a,(pe+ge)*y,(he+ge)*a,(pe+ve)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(he-ve)*a,pe*y,(he-ge)*a,(pe+ve)*y,(he-ve)*a,(pe+ge)*y));var ve=.05,ge=te*.05,he=.375,pe=.95,se=new go.PathFigure((he-ve)*a,pe*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ve)*y,(he-ve)*a,(pe-ge)*y,(he-ge)*a,(pe-ve)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(he+ve)*a,pe*y,(he+ge)*a,(pe-ve)*y,(he+ve)*a,(pe-ge)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ve)*y,(he+ve)*a,(pe+ge)*y,(he+ge)*a,(pe+ve)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(he-ve)*a,pe*y,(he-ge)*a,(pe+ve)*y,(he-ve)*a,(pe+ge)*y));var ve=.05,ge=te*.05,he=.625,pe=.95,fe=new go.PathFigure((he-ve)*a,pe*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ve)*y,(he-ve)*a,(pe-ge)*y,(he-ge)*a,(pe-ve)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ve)*a,pe*y,(he+ge)*a,(pe-ve)*y,(he+ve)*a,(pe-ge)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ve)*y,(he+ve)*a,(pe+ge)*y,(he+ge)*a,(pe+ve)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ve)*a,pe*y,(he-ge)*a,(pe+ve)*y,(he-ve)*a,(pe+ge)*y));var ve=.05,ge=te*.05,he=.825,pe=.95,Se=new go.PathFigure((he-ve)*a,pe*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ve)*y,(he-ve)*a,(pe-ge)*y,(he-ge)*a,(pe-ve)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(he+ve)*a,pe*y,(he+ge)*a,(pe-ve)*y,(he+ve)*a,(pe-ge)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ve)*y,(he+ve)*a,(pe+ge)*y,(he+ge)*a,(pe+ve)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(he-ve)*a,pe*y,(he-ge)*a,(pe+ve)*y,(he-ve)*a,(pe+ge)*y).close());var Pe=new go.PathFigure(0,y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var re=.05,se=te*.05,fe=.35,ve=.775,ge=new go.PathFigure((fe-re)*a,ve*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ve-re)*y,(fe-re)*a,(ve-se)*y,(fe-se)*a,(ve-re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(fe+re)*a,ve*y,(fe+se)*a,(ve-re)*y,(fe+re)*a,(ve-se)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ve+re)*y,(fe+re)*a,(ve+se)*y,(fe+se)*a,(ve+re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(fe-re)*a,ve*y,(fe-se)*a,(ve+re)*y,(fe-re)*a,(ve+se)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(ne,a,y){var x=new go.Geometry,b=.3,z=te*.3,ee=.5,re=.7,se=new go.PathFigure((ee-b)*a,re*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y));var fe=new go.PathFigure(0,.7*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=.5,re=.5,se=new go.PathFigure((ee-b)*a,re*y,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y));var fe=new go.PathFigure(.15*a,.5*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=.5,re=.5,se=new go.PathFigure((ee-b)*a,re*y,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y).close()),b=.05,z=te*.05,ee=.5,re=.8;var fe=new go.PathFigure((ee-b)*a,re*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var re=new go.PathFigure(.678*a,.85*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var se=new go.PathFigure(.5*a,.1*y,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),se.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var re=new go.PathFigure(a*.612,y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var se=new go.PathFigure(a*.816,y,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),se.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),se.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var re=new go.PathFigure(a*.055,.18*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),re.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var se=new go.PathFigure(a*1,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),se.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),se.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var re=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var se=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),se.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ne,a,y){var x=new go.Geometry,b=8,z=b*te,ee=new go.PathFigure(b,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var re=new go.PathFigure(a*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var se=new go.PathFigure(a*.83,y*1,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),se.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),se.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var fe=new go.PathFigure(a*.78,y*.05,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*te,z=y*.8,ee=new go.Geometry,re=new go.PathFigure(x,0,!0);return ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),re.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-b,a-b,z)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),re.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,x,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,.8,-b,-b)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ne,a,y){var x=new go.Geometry,b=15,z=b*te,ee=new go.PathFigure(a*.62,y*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var jt={},wt="5.0",be={},Ce=null,Ze=!1,E=!1,ye=null,me=!1,oe=null,te=null,ue=0;ue4?parseFloat(_e):5};jt.setHTML5Codebase=function(_e,$e){te=_e,rt(_e,$e)},jt.setJavaCodebase=jt.setJavaCodebaseVersion=jt.isCompiledInstalled=jt.setPreCompiledScriptPath=jt.setPreCompiledResourcePath=function(){},jt.setHTML5CodebaseVersion=function(_e,$e){var Be=parseFloat(_e);if(Be!==NaN&&Be<5){console.log("The GeoGebra HTML5 codebase version "+Be+" is deprecated. Using version latest instead.");return}oe=_e,ut(_e,$e)},jt.getHTML5CodebaseVersion=function(){return ne},jt.getParameters=function(){return be},jt.setFontsCSSURL=function(_e){ee=_e},jt.setGiacJSURL=function(_e){},jt.setJNLPFile=function(_e){le=_e},jt.setJNLPBaseDir=function(_e){},jt.inject=function(){function _e(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var $e="auto",Be=be.id,nt,Je=!1,ft=0;ft=5)return!0;var _e=jt.getAppletObject();return _e&&typeof _e.recalculateEnvironments=="function"?(_e.recalculateEnvironments(),!0):!1},jt.startAnimation=function(){var _e=jt.getAppletObject();return _e&&typeof _e.startAnimation=="function"?(_e.startAnimation(),!0):!1},jt.stopAnimation=function(){var _e=jt.getAppletObject();return _e&&typeof _e.stopAnimation=="function"?(_e.stopAnimation(),!0):!1},jt.getAppletObject=function(){var _e=be.id!==void 0?be.id:"ggbApplet";return window[_e]},jt.resize=function(){};var Se=function(_e,$e,Be){var nt=document.createElement("param");nt.setAttribute("name",$e),nt.setAttribute("value",Be),_e.appendChild(nt)},Pe=function(_e){return _e&&_e!=="false"},je=function(_e,$e,Be){se(ne)<=4.2&&(Be=!0);var nt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ne||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(nt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Je=document.createElement("div");Je.classList.add("appletParameters","notranslate");var ft=$e.width,Ke=$e.height;if($e.disableAutoScale=$e.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():$e.disableAutoScale,$e.width!==void 0)if(se(ne)<=4.4)Pe($e.showToolBar)&&($e.height-=7),Pe($e.showAlgebraInput)&&($e.height-=37),$e.width<605&&Pe($e.showToolBar)&&($e.width=605,ft=605);else{var Ue=100;(Pe($e.showToolBar)||Pe($e.showMenuBar))&&($e.hasOwnProperty("customToolBar")&&($e.customToolbar=$e.customToolBar),Ue=Pe($e.showMenuBar)?245:155),ft=5?($e.appletOnLoad=function(dt){var Qe=_e.querySelector(".ggb_preview");Qe&&Qe.parentNode.removeChild(Qe),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ee),window.GGBT_wsf_view&&$(window).trigger("resize"),ze(dt)},Re||Ee.appendChild(qe)):Je.appendChild(qe),Ee.appendChild(Je),Re||_e.appendChild(Ee),setTimeout(function(){jt.resize()},1)}else{var Ye=document.createElement("div");Ye.className="applet_scaler",Ye.style.position="relative",Ye.style.display="block",Ye.appendChild(Je),_e.appendChild(Ye),$e.appletOnLoad=function(dt){jt.resize(),ze(dt)}}function We(dt,Qe){Qe&&typeof Qe.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(dt,Qe.appletOnLoad):renderGGBElement(dt),et("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Qe)}function Te(dt,Qe){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:dt,params:Qe}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(mt){We(mt.article,mt.params)}),html5AppletsToProcess=null)},se(ne)<5&&(dt.className+=" geogebraweb")):We(dt,Qe)}if(nt){scriptLoadStarted=!0;for(var xe=0;xe0?(Le.remove(),Ee.attr("id","fullscreencontent").show(),jQuery(ze).append(Ee),window.dispatchEvent(new Event("resize"))):je(Le,$e,!1),window.GGBT_wsf_view.launchFullScreen(ze)}else ie=nt,je(_e,$e,!1);if(!window.GGBT_wsf_view)for(Ke=0;Ke_e/4*3&&(Le=_e/4*3),ze=Le/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Le),Ue.setAttribute("height",ze);var Ee=(_e-Le)/2,Re=($e-ze)/2;Ue.style.left=Ee+"px",Ue.style.top=Re+"px",Je.appendChild(Ue)}}return Je.appendChild(Ke),Je},He=function(_e){return _e=_e.toLowerCase(),_e==="html5"||_e==="screenshot"?_e:"html5"},Me=["web","webSimple","web3d","tablet","tablet3d","phone"],ut=function(_e,$e){if(ne=_e,$e){rt(ne,!0);return}var Be=!Ze;if(Be){var nt=se(ne);!isNaN(nt)&&nt<4.4&&(Be=!1)}var Je,ft;window.location.protocol.substr(0,4)==="http"?Je=window.location.protocol:Je="http:";var Ke=ne.indexOf("//");Ke>0?ft=ne:Ke===0?ft=Je+ne:ft="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in Me)if(ne.slice(Me[Ue].length*-1)===Me[Ue]||ne.slice((Me[Ue].length+1)*-1)===Me[Ue]+"/"){rt(ft,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Be&&!Ce.is3D&&!Ce.AV&&!Ce.SV&&!Ce.CV&&!Ce.EV2&&!Ce.CP&&!Ce.PC&&!Ce.DA&&!Ce.FI&&!Ce.PV&&!Pe(be.showToolBar)&&!Pe(be.showMenuBar)&&!Pe(be.showAlgebraInput)&&!Pe(be.enableRightClick)&&(!be.appName||be.appName=="classic")?ft+="webSimple/":ft+="web3d/",rt(ft,!1)},rt=function(_e,$e){if(_e.requirejs){de=_e;return}_e.slice(-1)!=="/"&&(_e+="/"),de=_e,$e===null&&($e=_e.indexOf("http")===-1),ae=$e,a="web.nocache.js",y=!1;var Be=de.split("/");Be.length>1&&(!$e&&Be[Be.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Me.indexOf(Be[Be.length-2])>=0&&(a=Be[Be.length-2]+".nocache.js")),Be=_e.split("/"),ne=Be[Be.length-3],ne.substr(0,4)==="test"?ne=ne.substr(4,1)+"."+ne.substr(5,1):(ne.substr(0,3)==="war"||ne.substr(0,4)==="beta")&&(ne="5.0");var nt=parseFloat(ne);nt!==NaN&&nt<5&&_e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+nt+" is deprecated. Using version latest instead."),ut("5.0",$e))},et=function(_e,$e){window.console&&window.console.log&&(!$e||typeof $e.showLogging=="undefined"||$e.showLogging&&$e.showLogging!=="false")&&console.log(_e)};be.material_id!==void 0?ge(Xe):Xe();function Xe(){var _e=wt;oe!==null?_e=oe:parseFloat(_e)<5&&(_e="5.0"),ut(_e,!1),te!==null&&rt(te,ae),me=!0}return jt},GGBAppletUtils=function(){"use strict";function jt(){return window.GGBT_wsf_edit!==void 0}function wt(me,oe){oe!=1?(me.style.transformOrigin="0% 0% 0px",me.style.webkitTransformOrigin="0% 0% 0px",me.style.transform="scale("+oe+","+oe+")",me.style.webkitTransform="scale("+oe+","+oe+")",me.style.maxWidth="initial",me.querySelector(".ggb_preview")!==null&&(me.querySelector(".ggb_preview").style.maxWidth="initial"),me.querySelectorAll(".ggb_preview img")[0]!==void 0&&(me.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),me.querySelectorAll(".ggb_preview img")[1]!==void 0&&(me.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(me.style.transform="none",me.style.webkitTransform="none")}function be(me,oe,te,ue,ce,le){var de=null;if(le!=null&&le!="")for(var ae=me.parentNode;ae!=null;)if((" "+ae.className+" ").indexOf(" "+le+" ")>-1){de=ae;break}else ae=ae.parentNode;var ie=0,ne=0,a=0,y=0,x=0,b=0,z=0;if(de)ie=de.offsetWidth,ne=Math.max(ue?de.offsetWidth:0,de.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ie=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ie):(ie=window.innerWidth,ne=window.innerHeight,a=window.innerWidth),me){var ee=me.getBoundingClientRect();ee.left>0&&ee.left<=ie&&(ce===void 0||!ce)&&(document.dir==="rtl"?(x=ie-ee.width-ee.left,b=a<=480?10:30):(b=ee.left,x=a<=480?10:30),y=b+x)}if(me&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=me.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return me&&((te===void 0||!te)&&oe>0&&oe+y1&&(le=!0)),oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(le=!0),!(me.hasOwnProperty("disableAutoScale")&&me.disableAutoScale))ce=Ce(me,oe,le,te,me.scaleContainerClass);else return ue;return le&&(!me.hasOwnProperty("scale")||ue===1)?ce:Math.min(ue,ce)}function E(me){var oe=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),ue=me.getBoundingClientRect(),ce=(oe-ue.width)/2,le=(te-ue.height)/2;le<0&&(le=0),me.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ce<40?me.style.left="40px":me.style.left=ce+"px",me.style.top=le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(le<40?me.style.top="40px":me.style.top=le+"px",me.style.left=ce+"px")}function ye(me,oe){var te=me.querySelector(".appletParameters");if(te){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(oe.id!==te.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(me)}if(te.parentElement&&/fullscreen/.test(te.parentElement.className))return;var ue=Ze(oe,me);jt()&&te.setAttribute("data-param-scale",ue);for(var ce=null,le=0;le=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(jt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(jt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(jt){var wt=c[jt];return wt==null?null:wt},r=d,webModule.__errFn=e}function B(){function jt(me){var oe=me.lastIndexOf(rb);oe==-1&&(oe=me.length);var te=me.indexOf(sb);te==-1&&(te=me.length);var ue=me.lastIndexOf(tb,Math.min(te,oe));return ue>=O?me.substring(O,ue+P):W}function wt(me){if(!me.match(/^\w+:\/\//)){var oe=o.createElement(ub);oe.src=me+vb,me=jt(oe.src)}return me}function be(){var me=__gwt_getMetaProperty(wb);return me!=null?me:W}function Ce(){for(var me=o.getElementsByTagName(_),oe=O;oeO?me[me.length-P].href:W}function E(){var me=o.location;return me.href==me.protocol+zb+me.host+me.pathname+me.search+me.hash}var ye=be();return ye==W&&(ye=Ce()),ye==W&&(ye=Ze()),ye==W&&E()&&(ye=jt(o.location.href)),ye=wt(ye),ye}function C(jt){return jt.match(/^\//)||jt.match(/^[a-zA-Z]+:\/\//)?jt:webModule.__moduleBase+jt}function D(){var jt=[],wt=O,be=[],Ce=[];function Ze(me){var oe=Ce[me](),te=be[me];if(oe in te)return oe;var ue=[];for(var ce in te)ue[te[ce]]=ce;throw r&&r(me,ue,oe),null}if(__gwt_isKnownPropertyValue=function(me,oe){return oe in be[me]},webModule.__getPropMap=function(){var me={};for(var oe in be)be.hasOwnProperty(oe)&&(me[oe]=Ze(oe));return me},webModule.__computePropValue=Ze,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var ye=E.indexOf(Db);ye!=-1&&(wt=parseInt(E.substring(ye+P),$),E=E.substring(O,ye))}catch(me){}return webModule.__softPermutationId=wt,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(jt,wt,be){"use strict";be.d(wt,{Ax:function(){return ye},Ds:function(){return me},KI:function(){return te},SI:function(){return E},f1:function(){return Ze}});var Ce=be(11320);function Ze(ue){let ce=!0;if(ue.length>0){for(let le=0;lenew Promise((a,y)=>{var x=ee=>{try{z(ne.next(ee))}catch(re){y(re)}},b=ee=>{try{z(ne.throw(ee))}catch(re){y(re)}},z=ee=>ee.done?a(ee.value):Promise.resolve(ee.value).then(x,b);z((ne=ne.apply(ae,ie)).next())}),de=({data:ae,className:ie,fullWidth:ne,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:z})=>{const ee=(0,Ce.useRef)(null),re=(0,Ce.useRef)(null),se=(0,Ce.useRef)(null),fe=(0,Ce.useRef)(null),[ve,ge]=(0,Ce.useState)(!1),[he,pe]=(0,Ce.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Ce.useEffect)(()=>{se.current||(se.current=document.createElement("style"),document.head.appendChild(se.current)),ae!=null&&ae.visible?(document.body.setAttribute("data-custom","y-hidden"),se.current.innerHTML=" html { overflow-y: hidden; }",ae!=null&&ae.src&&Se()):(document.body.removeAttribute("data-custom"),se.current&&(document.head.removeChild(se.current),se.current=null))},[ae==null?void 0:ae.visible]);const Se=()=>ce(void 0,null,function*(){ge(!0),pe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ae=yield(0,ue.ZJ)(ae==null?void 0:ae.src);ee.current.src="",ee.current.src=Ae,ee.current.onload=function(){Oe()},ge(!1),pe("")}),Pe=()=>{document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",y()},je=Ae=>ce(void 0,null,function*(){ge(!0),pe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Fe=yield(0,te.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ae.title,file:Ae.dataUrl}});Fe!=null&&Fe.id&&!z?(yield(0,te.ZP)(`/api/attachments/${ae.id}/add_subitem.json`,{method:"post",body:{subitem_id:Fe==null?void 0:Fe.id,settings:JSON.stringify(Ae.state)}})).status===0&&x():Fe!=null&&Fe.id&&x(Fe),document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",ge(!1),pe("")}),we=()=>{const Ae=document.querySelector('a[href="https://markerjs.com/"]');Ae&&Ae.parentNode&&(Ae.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(ke=>{const He=document.querySelector(ke.name);He&&He.setAttribute("title",ke.title)})},Oe=()=>{re.current=new oe.hP(ee.current),re.current.targetRoot=fe.current,re.current.addEventListener("render",je),re.current.addEventListener("beforeclose",Pe),b&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),ae!=null&&ae.snapshotData&&re.current.restoreState(ae.snapshotData),setTimeout(()=>{window.scrollTo(0,0),we()},300)};return Ce.createElement(Ce.Fragment,null,(ae==null?void 0:ae.visible)&&Ce.createElement(me.Z,{spinning:ve,tip:he,style:{position:"absolute"}},Ce.createElement("div",{ref:fe,className:ye()(Ze.imageDimensions,ie,ne?Ze.fullWidth:""),style:a},Ce.createElement("img",{className:Ze.img,ref:ee}))))}},36527:function(jt,wt,be){"use strict";var Ce=be(67294),Ze=be(71230),E=be(15746),ye=be(66368),me=be(71577),oe=be(85725),te=be(71736),ue=be(84279),ce=be(67294);const le=(0,Ce.forwardRef)(({callback:de,showSaveButton:ae,value:ie=""},ne)=>{const a=(0,Ce.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],b=re=>{a.current.setValue(a.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ce.createElement(Ze.Z,{className:te.Z.lists,gutter:[10,10]},y.map((re,se)=>ce.createElement(E.Z,{flex:"110px",className:te.Z.item},ce.createElement("div",null,ce.createElement(oe.Z,{value:`$$${re.value}$$`}),re.name),ce.createElement("div",{className:te.Z.children},re.children.map((fe,ve)=>ce.createElement("div",{key:ve},ce.createElement("h1",null,fe.name),ce.createElement(Ze.Z,{gutter:[10,10]},fe.data.map((ge,he)=>ce.createElement(E.Z,{key:he,onClick:()=>b(ge),className:te.Z.diamond},ce.createElement(oe.Z,{value:"`$$"+ge.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ce.createElement(Ze.Z,{className:te.Z.lists,gutter:[10,10]},x.map((re,se)=>ce.createElement(E.Z,{flex:"110px",className:te.Z.item},ce.createElement("div",null,ce.createElement(oe.Z,{value:"`$$"+re.value+"$$`"}),re.name),ce.createElement("div",{className:te.Z.children},re.children.map((fe,ve)=>ce.createElement("div",{key:ve},fe.name&&ce.createElement("h1",null,fe.name),ce.createElement(Ze.Z,{gutter:[10,10]},fe.data.map((ge,he)=>ce.createElement(E.Z,{key:he,onClick:()=>b(ge),className:te.Z.diamond},ce.createElement(oe.Z,{value:"`$$"+ge.value+"$$`"}))))))))))}],ee=()=>{var re=document.createElement("div");re.innerHTML=a.current.getValue();var se=re.innerText;return de&&de(se),se};return(0,Ce.useImperativeHandle)(ne,()=>({getData:ee})),ce.createElement("div",{className:te.Z.mathWrap},ce.createElement(ye.default,{defaultActiveKey:"1",items:z}),ce.createElement("math-field",{locale:"zh_cn",className:te.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ie||""),ae&&ce.createElement("div",{className:te.Z.button},ce.createElement(me.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});wt.Z=le},60076:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return ye}});var Ce=be(67294),Ze=be(33054),E=be(67294),ye=({defaultX:me="40%",leftChild:oe,rightChild:te,className:ue,hideResize:ce=!1})=>{const[le,de]=(0,Ce.useState)(me),ae=(0,Ce.useRef)();function ie(){ae.current=!0}(0,Ce.useEffect)(()=>{function y(b){ae.current&&(Ze.Z.publish("resize-move-bar",b),de(b.pageX))}function x(){ae.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",x),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",x)}},[]);const ne=typeof le=="number"&&le!==.01?`${le}px`:me,a=`calc(100% - ${ce?"0px":"4px"} - ${ne})`;return E.createElement("div",{className:`split-panel-container ${ue}`},E.createElement("section",{style:{width:ne,display:le===.01?"none":""}},oe),E.createElement("section",{className:"resize-x-bar",onMouseDown:ie},E.createElement("a",{className:"btn-resize"},E.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},E.createElement("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})))),E.createElement("section",{style:{width:a}},te))}},57444:function(jt,wt,be){"use strict";be.d(wt,{h:function(){return re}});var Ce=be(67294),Ze=be(42563),E=be(22150),ye=be(71577),me=be(4631),oe=be.n(me),te=be(71749),ue=be(30483),ce=Object.defineProperty,le=Object.defineProperties,de=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,a=(se,fe,ve)=>fe in se?ce(se,fe,{enumerable:!0,configurable:!0,writable:!0,value:ve}):se[fe]=ve,y=(se,fe)=>{for(var ve in fe||(fe={}))ie.call(fe,ve)&&a(se,ve,fe[ve]);if(ae)for(var ve of ae(fe))ne.call(fe,ve)&&a(se,ve,fe[ve]);return se},x=(se,fe)=>le(se,de(fe));const b=Ze.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},ee={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};wt.Z=({callback:se,onCancel:fe})=>{const[ve,ge]=(0,Ce.useState)("python");function he(Se){ge(ee[Se][1])}function pe(Se){se(Se)}return Ce.createElement(E.default,x(y({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:pe,style:{width:500}}),Ce.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Ce.createElement(Ze.default,{getPopupContainer:Se=>Se.parentNode,onChange:he},Object.keys(ee).map(Se=>Ce.createElement(b,{key:Se,value:Se},ee[Se][0])))),Ce.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Ce.createElement(re,{mode:ve})),Ce.createElement("div",{className:"flex-container flex-end"},Ce.createElement(ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ce.createElement(ye.ZP,{type:"ghost",onClick:fe},"\u53D6\u6D88")))};function re({value:se,onChange:fe,mode:ve,options:ge={}}){const he=(0,Ce.useRef)(),[pe,Se]=(0,Ce.useState)();return(0,Ce.useEffect)(()=>{if(pe){let Pe=function(je){const we=je.getValue();fe&&fe(we)};return pe.on("change",Pe),()=>{pe.off("change",Pe)}}},[pe,fe]),(0,Ce.useEffect)(()=>{pe&&pe.setOption("mode",ve)},[pe,ve]),(0,Ce.useEffect)(()=>{pe&&(se!==pe.getValue()||se==="")&&setTimeout(()=>{pe.setValue(se||"")},300)},[pe,se]),(0,Ce.useEffect)(()=>{if(he.current&&!pe){const Pe=oe().fromTextArea(he.current,y({mode:ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ge));Se(Pe)}},[he.current,pe]),Ce.createElement("div",{className:"my-codemirror-container"},Ce.createElement("textarea",{ref:he}))}},35567:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return nr}});var Ce=be(67294),Ze=be(4631),E=be.n(Ze),ye=be(91033),me=be(71749),oe=be(57341),te=be(82801),ue=be(88386),ce=be(49047),le=be(80785),de=be(85725),ae=({value:Bt="",className:kt,showTextOnly:Nt,showLines:hn,style:Zn={}})=>{const Vn=(0,Ce.useMemo)(()=>"",[Bt]);return Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{dangerouslySetInnerHTML:{__html:Vn}}))},ie=be(67294),ne=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ee=(Bt,kt,Nt)=>kt in Bt?ne(Bt,kt,{enumerable:!0,configurable:!0,writable:!0,value:Nt}):Bt[kt]=Nt,re=(Bt,kt)=>{for(var Nt in kt||(kt={}))b.call(kt,Nt)&&ee(Bt,Nt,kt[Nt]);if(x)for(var Nt of x(kt))z.call(kt,Nt)&&ee(Bt,Nt,kt[Nt]);return Bt},se=(Bt,kt)=>a(Bt,y(kt));let fe=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function ve({onActionCallback:Bt,title:kt,icon:Nt,actionName:hn,className:Zn="",children:Vn}){function Yr(){Bt(hn)}return ie.createElement("a",{title:kt,className:Zn,onClick:Yr},ie.createElement("i",{className:`${Nt}`}),Vn)}var ge=({watch:Bt,showNullButton:kt,showNullProgramButton:Nt,onActionCallback:hn,fullScreen:Zn,insertTemp:Vn,hidetoolBar:Yr,extraUse:$r})=>{const zr=[...fe,{title:`${Bt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Bt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ie.createElement("ul",{className:"markdown-toolbar-container"},!Yr&&zr.map((ia,ga)=>ie.createElement("li",{key:ga},ia.actionName?ie.createElement(ve,se(re({},ia),{onActionCallback:hn})):ie.createElement("span",{className:"v-line"}))),kt?ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:hn},ie.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Nt?ie.createElement(ie.Fragment,null,ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:hn},ie.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:hn},ie.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Vn&&ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Vn}`,onActionCallback:hn},ie.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),$r&&ie.createElement("li",null,$r),ie.createElement("li",{className:"btn-full-screen"},ie.createElement(ve,{icon:`${Zn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Zn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:hn})))},he=be(76621),pe=be(22150),Se=be(69677),Pe=be(71577),je=Object.defineProperty,we=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,He=(Bt,kt,Nt)=>kt in Bt?je(Bt,kt,{enumerable:!0,configurable:!0,writable:!0,value:Nt}):Bt[kt]=Nt,Me=(Bt,kt)=>{for(var Nt in kt||(kt={}))Fe.call(kt,Nt)&&He(Bt,Nt,kt[Nt]);if(Ae)for(var Nt of Ae(kt))ke.call(kt,Nt)&&He(Bt,Nt,kt[Nt]);return Bt},ut=(Bt,kt)=>we(Bt,Oe(kt));const rt={labelCol:{span:4},wrapperCol:{span:20}};var et=({callback:Bt,onCancel:kt})=>{function Nt(hn){Bt(hn)}return Ce.createElement(pe.default,ut(Me({},rt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Nt,style:{width:500}}),Ce.createElement(pe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Ce.createElement(Se.default,null)),Ce.createElement(pe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Ce.createElement(Se.default,null)),Ce.createElement("div",{className:"flex-container flex-end"},Ce.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ce.createElement(Pe.ZP,{type:"ghost",onClick:kt},"\u53D6\u6D88")))},Xe=be(57444),_e=be(70859),$e=be(14446),Be=be(71230),nt=be(63205),Je=be(67294),ft=({callback:Bt,onCancel:kt})=>{const Nt=document.createElement("canvas"),hn=Nt.getContext("2d");Nt.width=1e3,Nt.height=800,hn.fillStyle="#ffffff",hn.fillRect(0,0,Nt.width,Nt.height);const Zn=Nt.toDataURL("image/png");return Je.createElement($e.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Je.createElement(Be.Z,{style:{height:"100vh"}},Je.createElement(nt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Zn,visible:!0,title:String(Date.now())},onOk:Vn=>{Bt({src:Vn.url})},onClose:kt})))},Ke=be(23495);function Ue(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ue,go.CommandHandler),Ue.prototype.canAlignSelection=function(){var Bt=this.diagram;return!(Bt===null||Bt.isReadOnly||Bt.isModelReadOnly||Bt.selection.count<2)},Ue.prototype.alignLeft=function(){var Bt=this.diagram;Bt.startTransaction("aligning left");var kt=1/0;Bt.selection.each(function(Nt){Nt instanceof go.Link||(kt=Math.min(Nt.position.x,kt))}),Bt.selection.each(function(Nt){Nt instanceof go.Link||Nt.move(new go.Point(kt,Nt.position.y))}),Bt.commitTransaction("aligning left")},Ue.prototype.alignRight=function(){var Bt=this.diagram;Bt.startTransaction("aligning right");var kt=-1/0;Bt.selection.each(function(Nt){if(!(Nt instanceof go.Link)){var hn=Nt.actualBounds.x+Nt.actualBounds.width;kt=Math.max(hn,kt)}}),Bt.selection.each(function(Nt){Nt instanceof go.Link||Nt.move(new go.Point(kt-Nt.actualBounds.width,Nt.position.y))}),Bt.commitTransaction("aligning right")},Ue.prototype.alignTop=function(){var Bt=this.diagram;Bt.startTransaction("alignTop");var kt=1/0;Bt.selection.each(function(Nt){Nt instanceof go.Link||(kt=Math.min(Nt.position.y,kt))}),Bt.selection.each(function(Nt){Nt instanceof go.Link||Nt.move(new go.Point(Nt.position.x,kt))}),Bt.commitTransaction("alignTop")},Ue.prototype.alignBottom=function(){var Bt=this.diagram;Bt.startTransaction("aligning bottom");var kt=-1/0;Bt.selection.each(function(Nt){if(!(Nt instanceof go.Link)){var hn=Nt.actualBounds.y+Nt.actualBounds.height;kt=Math.max(hn,kt)}}),Bt.selection.each(function(Nt){Nt instanceof go.Link||Nt.move(new go.Point(Nt.actualBounds.x,kt-Nt.actualBounds.height))}),Bt.commitTransaction("aligning bottom")},Ue.prototype.alignCenterX=function(){var Bt=this.diagram,kt=Bt.selection.first();if(kt){Bt.startTransaction("aligning Center X");var Nt=kt.actualBounds.x+kt.actualBounds.width/2;Bt.selection.each(function(hn){hn instanceof go.Link||hn.move(new go.Point(Nt-hn.actualBounds.width/2,hn.actualBounds.y))}),Bt.commitTransaction("aligning Center X")}},Ue.prototype.alignCenterY=function(){var Bt=this.diagram,kt=Bt.selection.first();if(kt){Bt.startTransaction("aligning Center Y");var Nt=kt.actualBounds.y+kt.actualBounds.height/2;Bt.selection.each(function(hn){hn instanceof go.Link||hn.move(new go.Point(hn.actualBounds.x,Nt-hn.actualBounds.height/2))}),Bt.commitTransaction("aligning Center Y")}},Ue.prototype.alignColumn=function(Bt){var kt=this.diagram;kt.startTransaction("align Column"),Bt===void 0&&(Bt=0),Bt=parseFloat(Bt);var Nt=new Array;kt.selection.each(function($r){$r instanceof go.Link||Nt.push($r)});for(var hn=0;hn0){for(var $r=Vn.elt(Yr-1);$r!==null&&$r.isTreeExpanded&&!$r.isTreeLeaf;){var zr=this._sortTreeChildrenByY($r);$r=zr.last()}$r!==null&&Bt.select($r)}else Bt.select(Zn)}}else if(Nt.key==="Down")if(kt.isTreeExpanded&&!kt.isTreeLeaf){var hn=this._sortTreeChildrenByY(kt).first();hn!==null&&Bt.select(hn)}else for(;kt!==null;){var Zn=kt.findTreeParentNode();if(Zn===null)break;var Vn=this._sortTreeChildrenByY(Zn),Yr=Vn.indexOf(kt);if(YrVn.y?1:Zn.xVn.x?1:0}),kt},Ue.prototype.copyToClipboard=function(Bt){go.CommandHandler.prototype.copyToClipboard.call(this,Bt),this._lastPasteOffset.set(this.pasteOffset)},Ue.prototype.pasteFromClipboard=function(){var Bt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Bt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Bt},Object.defineProperty(Ue.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Bt){if(Bt!=="move"&&Bt!=="select"&&Bt!=="scroll"&&Bt!=="tree"&&Bt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Bt);this._arrowKeyBehavior=Bt}}),Object.defineProperty(Ue.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Bt){if(!(Bt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Bt);this._pasteOffset.set(Bt)}});var Le=Ue,ze=be(18023),Ee=be(15746),Re=be(33170),qe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ye=be(67294),We=(Bt,kt,Nt)=>new Promise((hn,Zn)=>{var Vn=zr=>{try{$r(Nt.next(zr))}catch(ia){Zn(ia)}},Yr=zr=>{try{$r(Nt.throw(zr))}catch(ia){Zn(ia)}},$r=zr=>zr.done?hn(zr.value):Promise.resolve(zr.value).then(Vn,Yr);$r((Nt=Nt.apply(Bt,kt)).next())});function Te({onCancel:Bt,callback:kt}){let Nt=(0,Ce.useRef)(),hn=(0,Ce.useRef)(),Zn=(0,Ce.useRef)(),Vn=(0,Ce.useRef)(!1);const Yr=(0,Ce.useRef)(!1),[$r,zr]=(0,Ce.useState)(0);function ia(){const En=Ke.bx.make,Dr={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"};Nt.current=new Ke.S0(hn.current,{padding:20,grid:En(Ke.s_,"Grid",En(Ke.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),En(Ke.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:xn=>{var Fn=xn.diagram.commandHandler.addTopLevelParts(xn.diagram.selection,!0);Fn||xn.diagram.currentTool.doCancel()},commandHandler:En(Le),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:xn=>{var Fn=xn.subject;Fn.location=Fn.location.copy().snapToGridPoint(xn.diagram.grid.gridOrigin,xn.diagram.grid.gridCellSize),setTimeout(()=>{xn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:xn=>{var Fn=xn.subject;setTimeout(()=>{xn.diagram.commandHandler.editTextBlock()})},LinkRelinked:xn=>{var Fn=xn.parameter.part;Fn.invalidateConnectedLinks();var Pr=xn.subject;xn.diagram.toolManager.linkingTool.isForwards?Pr.toNode.invalidateConnectedLinks():Pr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Nt.current.nodeTemplate=En(Ke.NB,"Auto",{locationSpot:Ke.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ke.$u(120,60),minSize:new Ke.$u(40,40),resizable:!0,resizeCellSize:new Ke.$u(10,10),rotatable:!0},new Ke.KX("location","loc",Ke.E9.parse).makeTwoWay(Ke.E9.stringify),new Ke.KX("desiredSize","size",Ke.$u.parse).makeTwoWay(Ke.$u.stringify),En(Ke.bn,{name:"SHAPE",fill:Dr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ke.z6.AllSides,toSpot:Ke.z6.AllSides},new Ke.KX("figure"),new Ke.KX("fill"),new Ke.KX("stroke","borderColor"),new Ke.KX("strokeWidth","thickness"),new Ke.KX("strokeDashArray","dash")),En(Ke.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),En(Ke.al,{margin:1,textAlign:"center",overflow:Ke.al.OverflowEllipsis,editable:!0},new Ke.KX("text").makeTwoWay(),new Ke.KX("stroke","color"))),Nt.current.nodeTemplate.toolTip=En("ToolTip",En(Ke.s_,"Vertical",{maxSize:new Ke.$u(200,NaN)},En(Ke.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ke.KX("text")),En(Ke.al,{font:"10pt sans-serif",textAlign:"center"},new Ke.KX("text","details"))));function xt(xn,Fn){var Pr=(An,ma)=>{An.handled=!0,An.diagram.model.commit(da=>{var Ua=ma.part.adornedPart,Ga=new Ke.E9().setRectSpot(Ua.actualBounds,xn);Ga.subtract(Ua.location),Ga.scale(2,2),Ga.x+=Math.sign(Ga.x)*130,Ga.y+=Math.sign(Ga.y)*130,Ga.add(Ua.location),Ga.snapToGridPoint(An.diagram.grid.gridOrigin,An.diagram.grid.gridCellSize);var $a=da.copyNodeData(Ua.data);da.setGroupKeyForNodeData($a,da.getGroupKeyForNodeData(Ua.data)),da.addNodeData($a);var Tt={from:Ua.key,to:da.getKeyForNodeData($a)};da.addLinkData(Tt);var Et=An.diagram.findNodeForData($a);Et.location=Ga,An.diagram.select(Et),setTimeout(()=>{An.diagram.commandHandler.editTextBlock()},20)})};return En(Ke.bn,{figure:Fn,alignment:xn,alignmentFocus:xn.opposite(),width:xn.equals(Ke.z6.Top)||xn.equals(Ke.z6.Bottom)?25:18,height:xn.equals(Ke.z6.Top)||xn.equals(Ke.z6.Bottom)?18:25,fill:"orange",stroke:Dr.white,strokeWidth:4,mouseEnter:(An,ma)=>ma.fill="dodgerblue",mouseLeave:(An,ma)=>ma.fill="orange",isActionable:!0,click:Pr,contextClick:Pr})}function Xt(xn){return En(Ke.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:(Fn,Pr)=>Pr.fill="dodgerblue",mouseLeave:(Fn,Pr)=>Pr.fill="orange",click:(Fn,Pr)=>{Fn.diagram.commandHandler.showContextMenu(Pr.part.adornedPart)}},xn||{})}Nt.current.nodeTemplate.selectionAdornmentTemplate=En(Ke.uz,"Spot",En(Ke.Vm,{padding:10}),xt(Ke.z6.Top,"TriangleUp"),xt(Ke.z6.Left,"TriangleLeft"),xt(Ke.z6.Right,"TriangleRight"),xt(Ke.z6.Bottom,"TriangleDown"),Xt({alignment:new Ke.z6(.75,0)}));function Vt(xn,Fn){return(Pr,An)=>{Pr.handled=!0,Pr.diagram.model.commit(ma=>{ma.set(An.part.adornedPart.data,xn,Fn)})}}function en(xn,Fn){return Fn||(Fn="color"),En(Ke.bn,{width:16,height:16,stroke:"lightgray",fill:xn,margin:1,background:"transparent",mouseEnter:(Pr,An)=>An.stroke="dodgerblue",mouseLeave:(Pr,An)=>An.stroke="lightgray",click:Vt(Fn,xn),contextClick:Vt(Fn,xn)})}function wn(){return[En("ContextMenuButton",En(Ke.s_,"Horizontal",en(Dr.white,"fill"),en(Dr.beige,"fill"),en(Dr.extralightblue,"fill"),en(Dr.extralightred,"fill"))),En("ContextMenuButton",En(Ke.s_,"Horizontal",en(Dr.lightgray,"fill"),en(Dr.lightgreen,"fill"),en(Dr.lightblue,"fill"),en(Dr.lightred,"fill")))]}function qt(){return[En("ContextMenuButton",En(Ke.s_,"Horizontal",en(Dr.black),en(Dr.green),en(Dr.blue),en(Dr.red))),En("ContextMenuButton",En(Ke.s_,"Horizontal",en(Dr.white),en(Dr.magenta),en(Dr.purple),en(Dr.orange)))]}function fn(xn,Fn){return Fn||(Fn="thickness"),En(Ke.bn,"LineH",{width:16,height:16,strokeWidth:xn,margin:1,background:"transparent",mouseEnter:(Pr,An)=>An.background="dodgerblue",mouseLeave:(Pr,An)=>An.background="transparent",click:Vt(Fn,xn),contextClick:Vt(Fn,xn)})}function an(xn,Fn){return Fn||(Fn="dash"),En(Ke.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:xn,margin:1,background:"transparent",mouseEnter:(Pr,An)=>An.background="dodgerblue",mouseLeave:(Pr,An)=>An.background="transparent",click:Vt(Fn,xn),contextClick:Vt(Fn,xn)})}function vr(){return[En("ContextMenuButton",En(Ke.s_,"Horizontal",fn(1),fn(2),fn(3),fn(4))),En("ContextMenuButton",En(Ke.s_,"Horizontal",an(null),an([2,4]),an([4,4])))]}function Jn(xn,Fn){return Fn||(Fn="figure"),En(Ke.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:xn,margin:1,background:"transparent",mouseEnter:(Pr,An)=>An.fill="dodgerblue",mouseLeave:(Pr,An)=>An.fill="lightgray",click:Vt(Fn,xn),contextClick:Vt(Fn,xn)})}Nt.current.nodeTemplate.contextMenu=En("ContextMenu",En("ContextMenuButton",En(Ke.s_,"Horizontal",Jn("Rectangle"),Jn("RoundedRectangle"),Jn("Ellipse"),Jn("Diamond"))),En("ContextMenuButton",En(Ke.s_,"Horizontal",Jn("Parallelogram2"),Jn("ManualOperation"),Jn("Procedure"),Jn("Cylinder1"))),En("ContextMenuButton",En(Ke.s_,"Horizontal",Jn("Terminator"),Jn("CreateRequest"),Jn("Document"),Jn("TriangleDown"))),wn(),qt(),vr()),Nt.current.groupTemplate=En(Ke.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ke.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(xn,Fn)=>{var Pr=Fn.addMembers(Fn.diagram.selection,!0);Pr||Fn.diagram.currentTool.doCancel()},avoidable:!1},new Ke.KX("location","loc",Ke.E9.parse).makeTwoWay(Ke.E9.stringify),En(Ke.s_,"Auto",{name:"BODY"},En(Ke.bn,{parameter1:10,fill:Dr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ke.z6.AllSides,toSpot:Ke.z6.AllSides},new Ke.KX("fill"),new Ke.KX("stroke","color"),new Ke.KX("strokeWidth","thickness"),new Ke.KX("strokeDashArray","dash")),En(Ke.Vm,{background:"transparent",margin:20})),En(Ke.al,{alignment:Ke.z6.Top,alignmentFocus:Ke.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ke.KX("text"),new Ke.KX("stroke","color"))),Nt.current.groupTemplate.selectionAdornmentTemplate=En(Ke.uz,"Spot",En(Ke.s_,"Auto",En(Ke.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),En(Ke.Vm,{margin:1.5})),Xt({alignment:Ke.z6.TopRight,alignmentFocus:Ke.z6.BottomRight})),Nt.current.groupTemplate.contextMenu=En("ContextMenu",wn(),qt(),vr()),Nt.current.linkTemplate=En(Ke.rU,{layerName:"Foreground",routing:Ke.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ke.KX("fromSpot","fromSpot",Ke.z6.parse),new Ke.KX("toSpot","toSpot",Ke.z6.parse),new Ke.KX("fromShortLength","dir",xn=>xn>=1?10:0),new Ke.KX("toShortLength","dir",xn=>xn>=1?10:0),new Ke.KX("points").makeTwoWay(),En(Ke.bn,{strokeWidth:2},new Ke.KX("stroke","color"),new Ke.KX("strokeWidth","thickness"),new Ke.KX("strokeDashArray","dash")),En(Ke.bn,{segmentIndex:0,segmentOffset:new Ke.E9(15,0),segmentOrientation:Ke.rU.OrientAlong,alignmentFocus:Ke.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ke.KX("fill","color"),new Ke.KX("visible","dir",xn=>xn===1)),En(Ke.bn,{segmentIndex:-1,segmentOffset:new Ke.E9(-10,6),segmentOrientation:Ke.rU.OrientPlus90,alignmentFocus:Ke.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ke.KX("fill","color"),new Ke.KX("visible","dir",xn=>xn>=1),new Ke.KX("width","thickness",xn=>7+3*xn),new Ke.KX("height","thickness",xn=>7+3*xn),new Ke.KX("segmentOffset","thickness",xn=>new Ke.E9(-15,4+1.5*xn))),En(Ke.bn,{segmentIndex:0,segmentOffset:new Ke.E9(15,-6),segmentOrientation:Ke.rU.OrientMinus90,alignmentFocus:Ke.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ke.KX("fill","color"),new Ke.KX("visible","dir",xn=>xn===2),new Ke.KX("width","thickness",xn=>7+3*xn),new Ke.KX("height","thickness",xn=>7+3*xn),new Ke.KX("segmentOffset","thickness",xn=>new Ke.E9(-15,4+1.5*xn))),En(Ke.al,{alignmentFocus:new Ke.z6(0,1,-4,0),editable:!0},new Ke.KX("text").makeTwoWay(),new Ke.KX("stroke","color"))),Nt.current.linkTemplate.selectionAdornmentTemplate=En(Ke.uz,En(Ke.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:zn(2)},new Ke.KX("pathPattern","thickness",zn)),Xt({alignmentFocus:new Ke.z6(0,0,-6,-4)}));function zn(xn){return En(Ke.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(xn+4).toString()+" H3"})}function ur(xn){var Fn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return xn===0?Fn="M0 0 M16 16 M0 8 L16 8":xn===2&&(Fn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),En(Ke.bn,{geometryString:Fn,margin:2,background:"transparent",mouseEnter:(Pr,An)=>An.background="dodgerblue",mouseLeave:(Pr,An)=>An.background="transparent",click:Vt("dir",xn),contextClick:Vt("dir",xn)})}function Kr(xn){var Fn=(Pr,An)=>{Pr.handled=!0,Pr.diagram.model.commit(ma=>{var da=An.part.adornedPart;ma.set(da.data,xn?"toSpot":"fromSpot",Ke.z6.stringify(Ke.z6.AllSides)),(xn?da.toNode:da.fromNode).invalidateConnectedLinks()})};return En(Ke.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Pr,An)=>An.background="dodgerblue",mouseLeave:(Pr,An)=>An.background="transparent",click:Fn,contextClick:Fn})}function sn(xn,Fn){var Pr=0,An=Ke.z6.RightSide;xn.equals(Ke.z6.Top)?(Pr=270,An=Ke.z6.TopSide):xn.equals(Ke.z6.Left)?(Pr=180,An=Ke.z6.LeftSide):xn.equals(Ke.z6.Bottom)&&(Pr=90,An=Ke.z6.BottomSide),Fn||(Pr-=180);var ma=(da,Ua)=>{da.handled=!0,da.diagram.model.commit(Ga=>{var $a=Ua.part.adornedPart;Ga.set($a.data,Fn?"toSpot":"fromSpot",Ke.z6.stringify(An)),(Fn?$a.toNode:$a.fromNode).invalidateConnectedLinks()})};return En(Ke.bn,{alignment:xn,alignmentFocus:xn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Pr,background:"transparent",mouseEnter:(da,Ua)=>Ua.background="dodgerblue",mouseLeave:(da,Ua)=>Ua.background="transparent",click:ma,contextClick:ma})}Nt.current.linkTemplate.contextMenu=En("ContextMenu",qt(),vr(),En("ContextMenuButton",En(Ke.s_,"Horizontal",ur(0),ur(1),ur(2))),En("ContextMenuButton",En(Ke.s_,"Horizontal",En(Ke.s_,"Spot",Kr(!1),sn(Ke.z6.Top,!1),sn(Ke.z6.Left,!1),sn(Ke.z6.Right,!1),sn(Ke.z6.Bottom,!1)),En(Ke.s_,"Spot",{margin:new Ke.Zt(0,0,0,2)},Kr(!0),sn(Ke.z6.Top,!0),sn(Ke.z6.Left,!0),sn(Ke.z6.Right,!0),sn(Ke.z6.Bottom,!0)))));const eo=`{ "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 Wa=["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 sa(xn){return console.log("shapeName:",xn),Wa.indexOf(xn)>=0}var ka=new Ke.YI(Zn.current,{maxSelectionCount:1,linkTemplate:En(Ke.rU,{locationSpot:Ke.z6.Center,selectionAdornmentTemplate:En(Ke.uz,"Link",{locationSpot:Ke.z6.Center},En(Ke.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),En(Ke.bn,{toArrow:"Standard",stroke:null}))},{routing:Ke.rU.AvoidsNodes,curve:Ke.rU.JumpOver,corner:5,toShortLength:4},new Ke.KX("points"),En(Ke.bn,{isPanelMain:!0,strokeWidth:2}),En(Ke.bn,{toArrow:"Standard",stroke:null})),model:new Ke.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ke.bn.getFigureGenerators().toArray().map(xn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:xn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Nt.current.addDiagramListener("TextEdited",function(xn){var Fn;const Pr=xn.subject.part;var An=(Fn=document.activeElement)==null?void 0:Fn.value;typeof An=="string"&&An.trim()===""&&Nt.current.model.commit(function(ma){ma.set(Pr.data,"text","\u672A\u547D\u540D"),Nt.current.commandHandler.stopCommand()},"increment")}),ka.nodeTemplate=En(Ke.NB,"Auto",{locationSpot:Ke.z6.Center},new Ke.KX("location","location",Ke.E9.parse).makeTwoWay(Ke.E9.stringify),En(Ke.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 Ke.KX("stroke").makeTwoWay(),new Ke.KX("fill").makeTwoWay(),new Ke.KX("figure")),En(Ke.al,{margin:new Ke.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ke.$u(16,16),maxSize:new Ke.$u(10,NaN),textAlign:"center",editable:!0},new Ke.KX("key").makeTwoWay())),setTimeout(()=>{Nt.current.grid=En(Ke.s_,"Grid",En(Ke.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),En(Ke.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Nt.current.grid.visible=!0,Nt.current.grid.gridCellStroke="darkgray",Nt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Nt.current,Nt.current}const ga=()=>We(this,null,function*(){var En=Nt.current.makeImage();const Dr=yield(0,Re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:En.src}});kt({src:Dr.url})});return(0,Ce.useEffect)(()=>(setTimeout(()=>{ia()},500),zr($r+1),()=>{Nt.current=null}),[]),Ye.createElement("div",{ref:Yr,className:Vn.current?`${qe.maxH60} body-overflow-initial`:"body-overflow-initial"},Ye.createElement($e.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!$r,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ye.createElement(Be.Z,null,Ye.createElement(Ee.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ye.createElement(Ee.Z,{onClick:()=>{var En,Dr,xt=Nt.current.selection.first();if(Vn.current=!Vn.current,document.activeElement&&xt){let Xt=(Dr=(En=document.activeElement)==null?void 0:En.value)==null?void 0:Dr.trim();typeof Xt=="string"&&Nt.current.model.commit(function(Vt){Vt.set(xt.data,"text",Xt||"\u672A\u547D\u540D"),Nt.current.commandHandler.stopCommand()},"increment")}zr($r+1)}},Ye.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Bt},Ye.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:qe.flowChartWrp},Ye.createElement("div",{style:{display:"flex",height:"100%"}},Ye.createElement("div",{style:{width:"300px",height:"100%"}},Ye.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ye.createElement("div",{style:{height:"calc(100% - 50px)"},className:qe.myPaletteDiv,ref:Zn})),Ye.createElement("div",{style:{flex:1,position:"relative"}},Ye.createElement("div",{ref:hn,style:{height:"80vh"}}))),Ye.createElement("div",{className:"tr"},Ye.createElement(Pe.ZP,{size:"large",onClick:ga,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var xe=Te,Ne=be(78045),Ge=be(31795);const st=Ne.ZP.Group,bt={margin:"0 8px"};var dt=({callback:Bt,onCancel:kt})=>{function Nt(hn){Bt(hn)}return Ce.createElement(pe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Nt},Ce.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Ce.createElement("span",{style:bt},"\u5355\u5143\u683C\u6570\uFF1A"),Ce.createElement("span",{style:bt},"\u884C\u6570"),Ce.createElement(pe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Ce.createElement(Ge.Z,null)),Ce.createElement("span",{style:bt},"\u5217\u6570"),Ce.createElement(pe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Ce.createElement(Ge.Z,null))),Ce.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Ce.createElement("span",{style:bt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),Ce.createElement(pe.default.Item,{name:"align"},Ce.createElement(st,null,Ce.createElement(Ne.ZP,{value:"default"},Ce.createElement("i",{className:"fa fa-align-justify"})),Ce.createElement(Ne.ZP,{value:"left"},Ce.createElement("i",{className:"fa fa-align-left"})),Ce.createElement(Ne.ZP,{value:"center"},Ce.createElement("i",{className:"fa fa-align-center"})),Ce.createElement(Ne.ZP,{value:"right"},Ce.createElement("i",{className:"fa fa-align-right"}))))),Ce.createElement("div",{className:"flex-container flex-end"},Ce.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ce.createElement(Pe.ZP,{type:"ghost",onClick:kt},"\u53D6\u6D88")))},Qe=be(47897),mt=be(61016),Lt=be.n(mt),at=(0,Ce.forwardRef)(({use3d:Bt,width:kt,height:Nt,callback:hn,showSaveButton:Zn},Vn)=>{const Yr=(0,Ce.useRef)(),$r=(0,Ce.useRef)(),[zr,ia]=(0,Ce.useState)(!1),ga=(0,Ce.useRef)({id:Yr,appName:"graphing",width:kt||1e3,height:Nt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Ce.useEffect)(()=>{$r.current=new(Lt())(ga.current,!0),window.onload=function(){$r.current.inject("applet_container")}},[]);const En=()=>{var Dr=window.ggbApplet.getPNGBase64(1,!0,72);return hn&&hn(Dr),Dr};return(0,Ce.useEffect)(()=>{ga.current.appName=zr?"3D":"graphing",$r.current.inject("applet_container")},[zr]),(0,Ce.useEffect)(()=>{ia(Bt)},[Bt]),(0,Ce.useImperativeHandle)(Vn,()=>({getImgData:En})),Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Yr}),Ce.createElement(Be.Z,{align:"middle"},Ce.createElement(Ee.Z,{flex:1},Ce.createElement(Qe.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:zr,onChange:Dr=>ia(Dr)})),Ce.createElement(Ee.Z,null,Ce.createElement(Pe.ZP,{size:"large",onClick:En,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Ct=be(36527),ot=be(25934),Ve=be(2453);const yt="link",Pt="upload-image",At="add-flowchart",Gt="draw-image",on="add-flowchart",un="code-block",Cn="add-table",Dn="------------",Ln={default:Dn,left:`:${Dn}`,center:`:${Dn}:`,right:`${Dn}:`};var Yn=be(99914),br=(Bt,kt,Nt)=>new Promise((hn,Zn)=>{var Vn=zr=>{try{$r(Nt.next(zr))}catch(ia){Zn(ia)}},Yr=zr=>{try{$r(Nt.throw(zr))}catch(ia){Zn(ia)}},$r=zr=>zr.done?hn(zr.value):Promise.resolve(zr.value).then(Vn,Yr);$r((Nt=Nt.apply(Bt,kt)).next())});function Wr(){}let aa=0;const ta=1e4,Gr="\u2581",Sa="@\u2581\u2581@",Pa="@\u2581@",Cr=` **\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`,ca=["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 bn(Bt){return/^\d+$/.test(Bt)?`${Bt}px`:Bt}const Nn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",oa={[Nn+"-B"]:"bold",[Nn+"-I"]:"italic"},Ir={[yt]:"\u6DFB\u52A0\u94FE\u63A5",[un]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Pt]:"\u6DFB\u52A0\u56FE\u7247",[Gt]:"\u6DFB\u52A0\u753B\u56FE",[At]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Cn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var nr=({defaultValue:Bt="",onChange:kt,width:Nt="100%",height:hn=400,miniToolbar:Zn=!1,isFocus:Vn=!1,watch:Yr,insertTemp:$r,mode:zr="markdown",id:ia="markdown-editor-id",showResizeBar:ga=!1,noStorage:En=!1,showNullButton:Dr=!1,showNullProgramButton:xt=!1,hidetoolBar:Xt=!1,fullScreen:Vt=!1,onBlur:en,onCMBeforeChange:wn,onFullScreen:qt,className:fn="",disablePaste:an=!1,disabled:vr=!1,disabledFill:Jn=!1,placeholder:zn="",values:ur="",extraUse:Kr})=>{const[sn,eo]=(0,Ce.useState)(null),[Wa,sa]=(0,Ce.useState)(Bt),[ka,xn]=(0,Ce.useState)(Yr),[Fn,Pr]=(0,Ce.useState)(Vt),[An,ma]=(0,Ce.useState)(""),[da,Ua]=(0,Ce.useState)(0),[Ga,$a]=(0,Ce.useState)(hn),[Tt,Et]=(0,Ce.useState)(!1),Yt=(0,Ce.useRef)((0,ot.Z)()),nn=(0,Ce.useRef)(!1),yn=(0,Ce.useRef)(),[$n,cr]=(0,Ce.useState)(0),[Tr,Ur]=(0,Ce.useState)(0),Hr=(0,Ce.useRef)(),Xr=(0,Ce.useRef)(),xa=(0,Ce.useRef)(),fr=(0,Ce.useRef)(),Rt=()=>br(void 0,null,function*(){var Pn;const Wt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Yt.current}});(Pn=Wt==null?void 0:Wt.attachments)!=null&&Pn.length&&(console.log("cm:",sn,Hr),Wt.attachments.map(ln=>{ln.content_type.indexOf("image")>-1?sn.replaceSelection(`![,](/api/attachments/${ln.id}?type=${ln.content_type})`):ln.content_type.indexOf("video")>-1?sn.replaceSelection(``):ln.content_type.indexOf("pdf")>-1?sn.replaceSelection(`${ln.name}`):sn.replaceSelection(`[${ln.name}](${ENV.API_SERVER}/api/attachments/${ln.id}?type=${ln.content_type})`)}))});(0,Ce.useEffect)(()=>{const Pn=window.scrollY||window.pageYOffset;sa(ur),sn==null||sn.setValue(ur),window.scrollTo(0,Pn)},[ur]),(0,Ce.useEffect)(()=>{qt==null||qt(Fn)},[Fn]),(0,Ce.useEffect)(()=>{if(Hr.current){let Pn=function(ln,Sn){var kn;if(an){Sn.preventDefault();return}const ir=Sn.clipboardData;if(ir){const Sr=ir.types.toString(),kr=ir.items;if(Sr==="Files"||ir.types.indexOf("Files")>-1){if(Sn.preventDefault(),zr=="stex")return;try{let hr=kr[1];((kn=kr[0])==null?void 0:kn.kind)==="file"&&(hr=kr[0]);const In=hr.getAsFile(),Kn=In.name.split(".").pop();(0,_e.I)(In,Qn=>{var gr,Or,na;Qn.id?((gr=In==null?void 0:In.type)==null?void 0:gr.indexOf("image"))>-1?Wt.replaceSelection(``):((Or=In==null?void 0:In.type)==null?void 0:Or.indexOf("video"))>-1?Wt.replaceSelection(``):((na=In==null?void 0:In.type)==null?void 0:na.indexOf("pdf"))>-1?Wt.replaceSelection(`${In.name}`):ca.includes(Kn)?Wt.replaceSelection(`${In.name}`):Wt.replaceSelection(`[${In.name}](/api/attachments/${Qn.id}?type=${Qn.content_type})`):(Qn==null?void 0:Qn.status)===401&&(Ve.ZP.warning((Qn==null?void 0:Qn.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(hr){Ve.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Wt=E().fromTextArea(Hr.current,{mode:zr,lineNumbers:!Zn,lineWrapping:!0,value:Bt,autoCloseTags:!xt,autoCloseBrackets:!0});return Wt.on("keyup",function(ln,Sn){Sn.keyCode===8&&(ln.getValue()==""?Wt.setOption("placeholder",zn):Wt.setOption("placeholder",null))}),Wt.on("keydown",function(ln,Sn){if(Sn.keyCode===8){var kn=_t(ln);kn&&Sn.preventDefault()}}),Vn&&Wt.focus(),Wt.on("paste",Pn),Wt.on("dragleave",function(ln,Sn){Xr.current.classList.remove("mouse-hover-md")}),vr&&Wt.on("beforeChange",function(ln,Sn){(Sn.origin==="paste"||Sn.origin==="+input")&&Sn.cancel()}),eo(Wt),()=>{Wt.off("paste",Pn)}}},[]);const St=(0,Ce.useCallback)(()=>{if(Xr.current)try{}catch(Pn){console.log(Pn,"---- to set md editor body height")}},[Ga,Xr,Fn]);(0,Ce.useEffect)(()=>{function Pn(){let Wt=new ye.Z(ln=>{for(let Sn of ln)(Sn.target.offsetHeight>0||Sn.target.offsetWidth>0)&&(St(),sn.setSize("100%","100%"),sn.refresh())});return Wt.observe(Hr.current.parentElement),Wt}if(sn){const Wt=Pn();return()=>{var ln,Sn;(ln=Hr.current)!=null&&ln.parentElement&&Wt.unobserve((Sn=Hr.current)==null?void 0:Sn.parentElement)}}},[sn,St]),(0,Ce.useEffect)(()=>{if(sn){let Pn=[];for(const[Wt,ln]of Object.entries(oa)){let Sn={[Wt]:()=>{ct(ln)}};Pn.push(Sn),sn.addKeyMap(Sn)}return yn.current=setInterval(()=>{nn.current&&Rt()},4e3),()=>{clearInterval(yn.current);for(let Wt of Pn)sn.removeKeyMap(Wt)}}},[sn]),(0,Ce.useEffect)(()=>{Vt!==Fn&&Pr(Vt)},[Vt]),(0,Yn.Z)(()=>{if(!En&&da>0){let Pn=new Date().getTime(),Wt=window.sessionStorage.getItem(ia);Pn>=da+ta&&(!Wt||Wt!==Wa)&&(window.sessionStorage.setItem(ia,Wa),Et(!0))}},ta),(0,Ce.useEffect)(()=>{xn(Yr)},[sn,Yr]),(0,Ce.useEffect)(()=>{sn&&Vn&&sn.focus()},[sn,Vn]),(0,Ce.useEffect)(()=>{if(ka&&sn){let Pn=function(ln){let Sn=ln.target;if(fr.current){let kn=Sn.scrollTop/Sn.scrollHeight;fr.current.scrollTop=fr.current.scrollHeight*kn}};const Wt=sn.getScrollerElement();return Wt.addEventListener("scroll",Pn),()=>{Wt.removeEventListener("scroll",Pn)}}},[sn,ka]),(0,Ce.useEffect)(()=>{if(sn&&wn){let Pn=function(Wt,ln){wn(Wt,ln)};return sn.on("beforeChange",Pn),()=>{sn.off("beforeChange",Pn)}}},[sn,wn]),(0,Ce.useEffect)(()=>{if(sn&&en){let Pn=function(){en(sn.getValue())};return sn.on("blur",Pn),()=>{sn.off("blur",Pn)}}},[sn,en]);function _t(Pn,Wt){var ln=Pn.getDoc(),Sn=ln.getCursor(),kn=ln.getLine(Sn.line),ir=kn.charAt(Sn.ch-1),Sr=kn.lastIndexOf("@\u2581@",Sn.ch),kr=kn.lastIndexOf("@\u2581\u2581@",Sn.ch),hr=Sr>kr?Sr:kr,In=Sr>kr?3:4;if(Sa.indexOf(ir)===-1)return null;if(console.log("change1:",Wt,Pn,kn,Sn,hr,Sr,kr,ir),hr>=0&&Sn.ch-hr<5){var Kn=hr+In;return ln.replaceRange("",{line:Sn.line,ch:hr},{line:Sn.line,ch:Kn}),{line:Sn.line,ch:Kn}}return null}(0,Ce.useEffect)(()=>{if(sn){let Pn=function(Wt,ln){const Sn=Wt.getValue();sa(Sn),Ua(new Date().getTime()),Wt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),kt&&(xt?kt(Sn,Mn(Sn)):kt(Sn))};return sn.on("change",Pn),()=>{sn.off("change",Pn)}}},[sn,kt]),(0,Ce.useEffect)(()=>{if(sn)if(Bt==null)sn.setValue(""),sa("");else{const Pn=window.scrollY||window.pageYOffset;Bt!==sn.getValue()&&(sn.setValue(Bt),sa(Bt),sn.setCursor(vr?1:sn.lineCount(),0),window.scrollTo(0,Pn))}},[sn,Bt]);const ct=(0,Ce.useCallback)(Pn=>{const Wt=sn.getCursor(),ln=sn.getSelection();let Sn=ln.split(` `);switch(Pn){case"bold":return sn.replaceSelection("**"+ln+"**"),ln===""&&sn.setCursor(Wt.line,Wt.ch+2),sn.focus();case"italic":return sn.replaceSelection("*"+ln+"*"),ln===""&&sn.setCursor(Wt.line,Wt.ch+1),sn.focus();case"code":return sn.replaceSelection("`"+ln+"`"),ln===""&&sn.setCursor(Wt.line,Wt.ch+1),sn.focus();case"inline-latex":return ma("inline-latex"),sn.focus();case"latex":return sn.replaceSelection("```latex\n"+ln+"\n```"),sn.setCursor(Wt.line+1,ln.length+1),sn.focus();case"line-break":return sn.replaceSelection(`
`),sn.focus();case"list-ul":return ln===""?sn.replaceSelection("- "+ln):sn.replaceSelection(Sn.map(kn=>kn===""?"":`- ${kn}`).join(` `)),sn.focus();case"list-ol":return ln===""?sn.replaceSelection("1. "+ln):sn.replaceSelection(Sn.map((kn,ir)=>kn===""?"":`${ir+1}. ${kn}`).join(` `)),sn.focus();case"add-null-ch":return ln===""&&sn.setCursor(Wt.line,Wt.ch),sn.replaceSelection(Gr),sn.focus();case"add-signal":return ln===""&&sn.setCursor(Wt.line,Wt.ch),sn.replaceSelection(Pa),sn.focus();case"add-multiple":return ln===""&&sn.setCursor(Wt.line,Wt.ch),sn.replaceSelection(Sa),sn.focus();case"inster-template-1":return ln===""&&sn.setCursor(Wt.line,Wt.ch),sn.replaceSelection(Cr),sn.focus();case"eraser":return sn.setValue(""),sn.focus();case"trigger-watch":return xn(!ka),sn.focus();case"trigger-full-screen":return Pr(!Fn),sn.focus();case yt:ma(yt);return;case un:ma(un);return;case Pt:ma(Pt);return;case Gt:ma(Gt);return;case"maths-latex":ma("maths-latex");return;case At:ma(At);return;case Cn:ma(Cn);return;default:throw new Error}},[sn,ka,Fn]),Ut=(0,Ce.useCallback)((Pn,Wt)=>{var ln,Sn,kn,ir,Sr,kr;switch(ma(""),An){case yt:const{title:gr,link:Or}=Pn;return sn.replaceSelection(`[${gr}](${Or})`),sn.focus();case un:const{language:na,content:Ea}=Pn;return sn.replaceSelection(["```"+na,Ea,"```"].join(` `)),sn.focus();case"maths-latex":for(var hr=atob(Pn),In=new Uint8Array(hr.length),Kn=0;Kn{lo.id?sn.replaceSelection(`![,](/api/attachments/${lo.id}?type=${lo.content_type})`):(lo==null?void 0:lo.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":sn.replaceSelection("`$$"+Pn+"$$`");break;case Pt:case Gt:case on:const{src:Oa,alt:la}=Pn,Ca=Wt,to=(kn=(Sn=(ln=Ca==null?void 0:Ca.name)==null?void 0:ln.split("."))==null?void 0:Sn.pop)==null?void 0:kn.call(Sn);return((ir=Ca==null?void 0:Ca.type)==null?void 0:ir.indexOf("image"))>-1||!(Ca!=null&&Ca.type)?Ca.align||Ca.width?sn.replaceSelection(`

${la||

`):sn.replaceSelection(`${la||`):((Sr=Ca==null?void 0:Ca.type)==null?void 0:Sr.indexOf("video"))>-1?sn.replaceSelection(``):((kr=Ca==null?void 0:Ca.type)==null?void 0:kr.indexOf("pdf"))>-1?sn.replaceSelection(`${Ca.name}`):ca.includes(to)?sn.replaceSelection(`${Ca.name}`):sn.replaceSelection(`[${Ca.name}](${Oa})`),sn.focus();case Cn:const{row:Go,col:Wo,align:Yo}=Pn;let ho=` `;for(let lo=0;lo{switch(An){case yt:return Ce.createElement(et,{callback:Ut,onCancel:rn});case un:return Ce.createElement(Xe.Z,{callback:Ut,onCancel:rn});case Pt:return Ce.createElement(_e.Z,{callback:Ut,onCancel:rn});case At:return Ce.createElement(xe,{callback:Ut,onCancel:rn});case Cn:return Ce.createElement(dt,{callback:Ut,onCancel:rn});case"maths-latex":return Ce.createElement(at,{showSaveButton:!0,callback:Ut});case"inline-latex":return Ce.createElement(Ct.Z,{showSaveButton:!0,callback:Ut});default:return null}},[An]);function rn(){ma("")}(0,Ce.useEffect)(()=>{if(xa.current){let Pn=function(Sr){kn=!0,ir=Sr.pageY},Wt=function(){kn=!1},ln=function(Sr){if(kn){let kr=Sr.pageY-ir;kr<0&&(kr=0),kr>300&&(kr=300);let hr=hn+kr+"px";$a(hr)}},Sn=xa.current,kn=!1,ir=0;return Sn.addEventListener("mousedown",Pn),document.addEventListener("mousemove",ln),document.addEventListener("mouseup",Wt),()=>{Sn.removeEventListener("mousedown",Pn),document.removeEventListener("mousemove",ln),document.removeEventListener("mouseup",Wt)}}},[sn,xa]),(0,Ce.useEffect)(()=>{$a(hn)},[hn]);const $t=bn(Nt),Kt=bn(Ga),zt={width:$t,height:Kt},gn=(0,Ce.useMemo)(()=>{if(da){let Pn=new Date(da),Wt=Pn.getHours(),ln=Pn.getMinutes(),Sn=Pn.getSeconds();return Wt=Wt<10?"0"+Wt:Wt,ln=ln<10?"0"+ln:ln,Sn=Sn<10?"0"+Sn:Sn,`${Wt}:${ln}:${Sn}`}return 0},[da]),Mn=Pn=>{const Wt=[];if(xt){let ln=-1;Pn=Pn.replace(/(@▁▁@|@▁@)/g,function(Sn,kn,ir){Wt.push({multiLine:Sn!==Pa})})}return Wt};function jn(){window.sessionStorage.removeItem(ia),Et(!1),Ua(0)}function Un(){Et(!1),Ua(0),sn.setValue(window.sessionStorage.getItem(ia))}(0,Ce.useEffect)(()=>{Ir[An]&&An!==Gt&&An!==At&&setTimeout(()=>{const Pn=document.getElementsByClassName("markdown-popup-form")[0],Wt=window.innerWidth/2-Pn.offsetWidth/2,ln=window.innerHeight/2-Pn.offsetHeight/2;cr(Wt),Ur(ln)},0)},[An]);const qn=Pn=>{Pn.preventDefault();const Wt=Pn.clientX-$n,ln=Pn.clientY-Tr;document.body.onmousemove=Sn=>{let kn=Sn.clientX-Wt,ir=Sn.clientY-ln;const Sr=document.getElementsByClassName("markdown-popup-form")[0],kr=window.innerWidth-Sr.offsetWidth,hr=window.innerHeight-Sr.offsetHeight;kn=Math.max(0,Math.min(kn,kr)),ir=Math.max(0,Math.min(ir,hr)),lr(Sn.clientX,Sn.clientY,Wt,ln)&&(cr(kn),Ur(ir))},document.body.onmouseup=function(){document.body.onmousemove=null}},lr=(Pn,Wt,ln,Sn)=>{const kn=document.body.clientHeight,ir=document.body.clientWidth;return Pn<20&&ln>Pn||Pn>ir-20&&lnWt||Wt>kn-20&&SnSe in pe?ae(pe,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):pe[Se]=Pe,z=(pe,Se)=>{for(var Pe in Se||(Se={}))y.call(Se,Pe)&&b(pe,Pe,Se[Pe]);if(a)for(var Pe of a(Se))x.call(Se,Pe)&&b(pe,Pe,Se[Pe]);return pe},ee=(pe,Se)=>ie(pe,ne(Se));const{useForm:re}=Ce.default,se={width:280,marginRight:10},fe={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:pe,onCancel:Se})=>{const[Pe]=re();let je=(0,ce.useRef)();function we(Fe){je.current.width=Pe.getFieldValue("width"),je.current.align=Pe.getFieldValue("align"),pe(Fe,je.current)}function Oe(Fe,ke){if(Fe.status===-1){Ze.ZP.error(Fe.message);return}Pe.setFieldsValue({src:`/api/attachments/${Fe.id}`,type:ke.type})}function Ae(Fe){let ke=Fe.target.files[0];je.current=ke,he(ke,Oe)}return de.createElement(Ce.default,ee(z({form:Pe},fe),{className:"upload-image-panel",onFinish:we,style:{width:470,overflow:"hidden"}}),de.createElement(Ce.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},de.createElement("div",{className:"flex-container"},de.createElement(Ce.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},de.createElement(E.default,{style:se})),de.createElement(ge,{onFileChange:Ae}))),de.createElement(Ce.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},de.createElement(E.default,{style:{width:264}})),de.createElement(Ce.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},de.createElement(ye.Z,null,de.createElement(Ce.default.Item,{name:"width",style:{margin:0}},de.createElement(me.Z,{style:{width:264}})),de.createElement("span",{className:"ml8"},"%"))),de.createElement(Ce.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},de.createElement(oe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),de.createElement("aside",null,de.createElement(Ce.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},de.createElement(te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),de.createElement(te.ZP,{type:"default",onClick:Se},"\u53D6\u6D88"))))};function ge({onFileChange:pe}){return de.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",de.createElement("input",{type:"file",onChange:pe}))}function he(pe,Se){if(!pe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,le.bg)())throw Ze.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Pe=new FormData;Pe.append("editormd-image-file",pe),Pe.append("file_param_name","editormd-image-file"),Pe.append("byxhr","true");var je=new window.XMLHttpRequest;je.withCredentials=!0,je.addEventListener("load",function(we){Se(JSON.parse(we.target.responseText),pe)},!1),je.addEventListener("error",function(we){console.error(we)},!1),je.open("POST",`${ue.KI}/api/attachments.json`),je.send(Pe)}},76621:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return E}});var Ce=be(67294),Ze=be(73935);class E extends Ce.Component{constructor(me){super(me);const oe=window.document;this.node=oe.createElement("div"),oe.body.appendChild(this.node)}render(){const{children:me}=this.props;return(0,Ze.createPortal)(me,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},21434:function(jt,wt,be){"use strict";var Ce=be(12867),Ze=be(42563),E=be(47897),ye=be(67294);const me=Ze.default.Option;wt.Z=({isTheoretical:oe,onFontSizeChange:te,cmFontSize:ue,cmCodeMode:ce,autoFormat:le,onCodeModeChange:de,onTabToSpace:ae,onAutoFormat:ie,formatDocument:ne,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:z})=>{const ee={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return ye.createElement("div",{className:`tpi-code-setting ${a}`},ye.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),ye.createElement("section",null,ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),ye.createElement(Ze.default,{bordered:!1,size:"small",value:ce,onChange:de},ye.createElement(me,{value:"vs"},"\u767D\u8272\u80CC\u666F"),ye.createElement(me,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!oe&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),ye.createElement(Ze.default,{bordered:!1,size:"small",value:ue,onChange:te},ye.createElement(me,{value:12},"12px"),ye.createElement(me,{value:14},"14px"),ye.createElement(me,{value:16},"16px"),ye.createElement(me,{value:18},"18px"),ye.createElement(me,{value:20},"20px"),ye.createElement(me,{value:22},"22px"))),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"Tab\u8F6C\u6362"),ye.createElement(E.Z,{checked:y,onChange:ae})),ye.createElement("div",{className:"file-item",onClick:ne},ye.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!oe&&ye.createElement(ye.Fragment,null,ye.createElement("h3",null,"\u5FEB\u6377\u952E"),ye.createElement("section",null,ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),ye.createElement("span",null,"Ctrl + S")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),ye.createElement("span",null,"F1 / Alt + F1")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),ye.createElement("span",null,"Ctrl + ]/[")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),ye.createElement("span",null,"Ctrl + Shift + \\")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),ye.createElement("span",null,"Home")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),ye.createElement("span",null,"End"))),x),!oe&&ye.createElement(ye.Fragment,null,ye.createElement("h3",null,"\u5FEB\u6377\u952E"),ye.createElement("section",null,ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),ye.createElement("span",null,ee[z==null?void 0:z.difficulty])),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),ye.createElement("span",null,b==null?void 0:b.name)),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),ye.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},99914:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return Ze}});var Ce=be(67294);function Ze(E,ye){const me=(0,Ce.useRef)();(0,Ce.useEffect)(()=>{me.current=E}),(0,Ce.useEffect)(()=>{function oe(){me.current()}if(ye!==null){let te=setInterval(oe,ye);return()=>clearInterval(te)}},[ye])}},7644:function(jt,wt,be){"use strict";be.r(wt),be.d(wt,{Types:function(){return Gr},default:function(){return Cr}});var Ce=be(67294),Ze={header:"header___N_IdR",field:"field___XG_dh","oj-form-container":"oj-form-container___syYzK","oj-left-panel":"oj-left-panel___L082x","oj-form-info":"oj-form-info___q0IU5",footer:"footer___pGCM2",result:"result___LM9Ms",passText:"passText___nUoL4",noPassText:"noPassText___ECHHG",pass:"pass___tDubp",noPass:"noPass___ilYvg","test-case-name":"test-case-name___MI_KD","btn-remove-case":"btn-remove-case___OiaTQ","icon-tag":"icon-tag___D86WO",btn_back:"btn_back___FyaSY",testJi:"testJi___NDviK",upBtn:"upBtn___FiZX4","oj-problems":"oj-problems___xb70g",row:"row___v036E",a:"a___yRaYH",b:"b___gWQyu",inputTwo:"inputTwo___IZ9og",inputOne:"inputOne____NmcT",cusModal:"cusModal___fJ5gm","oj-custom-large-spin":"oj-custom-large-spin___Aar0g",MdEditor:"MdEditor___hgoes"},E=be(69677),ye=be(14446),me=be(47221),oe=be(22150),te=be(2453),ue=be(71230),ce=be(15746),le=be(57953),de=be(71577),ae=be(9430),ie=be(42563),ne=be(31795),a=be(78045),y=be(84567),x=be(93421),b=be(86738),z=be(67294);const{Option:ee}=ie.default;var re=(bn=>(bn[bn.language=0]="language",bn[bn.difficulty=1]="difficulty",bn[bn.category=2]="category",bn[bn.openOrNot=3]="openOrNot",bn))(re||{});const se={0:[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],1:[{title:"\u7B80\u5355",key:1},{title:"\u9002\u4E2D",key:2},{title:"\u56F0\u96BE",key:3}],2:[{title:"\u7A0B\u5E8F\u8BBE\u8BA1",key:1},{title:"\u7B97\u6CD5",key:2}],3:[{title:"\u516C\u5F00",key:1},{title:"\u79C1\u6709",key:0}]};function fe(bn){return se[bn].map(Tn=>z.createElement(ee,{key:Tn.title,value:Tn.key}," ",Tn.title," "))}function ve(bn,Tn){bn.map(Nn=>{const{id:oa,name:Ir,sub_disciplines:nr}=Nn;let Bt={value:oa,label:Ir};Tn.push(Bt),nr&&nr.length>0&&(Bt.children=[],ve(nr,Bt.children))})}function ge(bn,Tn){var Nn;let oa=[];for(let Ir=0;Ir0){oa[0]=nr.id;for(let Bt=0;BtTn in bn?nt(bn,Tn,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):bn[Tn]=Nn,Ee=(bn,Tn)=>{for(var Nn in Tn||(Tn={}))Ue.call(Tn,Nn)&&ze(bn,Nn,Tn[Nn]);if(Ke)for(var Nn of Ke(Tn))Le.call(Tn,Nn)&&ze(bn,Nn,Tn[Nn]);return bn},Re=(bn,Tn)=>Je(bn,ft(Tn));const qe={theme:(0,$e.G)("cmCodeMode","vs-dark"),fontSize:(0,$e.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,$e.G)("cmTabToSpace",!0)};var Ye=(bn=>(bn[bn.set_font_size=0]="set_font_size",bn[bn.set_theme=1]="set_theme",bn[bn.on_tab_to_space=2]="on_tab_to_space",bn[bn.set_show_editor_setting=3]="set_show_editor_setting",bn))(Ye||{});function We(bn,Tn){switch(Tn.type){case 3:return Re(Ee({},bn),{showEditorSetting:Tn.payload});case 1:return Re(Ee({},bn),{theme:Tn.payload});case 0:return Re(Ee({},bn),{fontSize:Tn.payload});case 2:return Re(Ee({},bn),{tabToSpace:Tn.payload});default:throw new Error}}var Te=({value:bn,onChange:Tn,language:Nn,onLanguage:oa,languageItems:Ir,ActionBarRender:nr=Bt=>Ce.createElement(xe,{languageItems:Ir,onLanguage:oa,language:Nn,onShowCodeSetting:Bt})})=>{const[Bt,kt]=(0,Ce.useReducer)(We,qe),{theme:Nt,fontSize:hn,showEditorSetting:Zn,tabToSpace:Vn}=Bt;console.log(bn,Nn,"value");const Yr={onFontSizeChange:ga=>{kt({type:0,payload:ga}),(0,$e.t)("cmFontSize",ga)},tabToSpace:Vn,cmFontSize:hn,className:"oj",cmCodeMode:Nt,onTabToSpace:ga=>{kt({type:2,payload:ga}),(0,$e.t)("cmTabToSpace",ga)},onCodeModeChange:ga=>{kt({type:1,payload:ga}),(0,$e.t)("cmCodeMode",ga)}};function $r(){kt({type:3,payload:!1})}function zr(){kt({type:3,payload:!0})}const ia={value:bn,language:Nn,onChange:Tn,theme:Nt,height:"calc(100% - 56px)",options:{fontSize:hn,insertSpaces:Vn}};return Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{className:Be["code-panel-container"]},nr(zr),Ce.createElement(et.ZP,Ee({key:Nn},ia))),Ce.createElement(_e.Z,null,Ce.createElement(rt.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:Zn,onClose:$r},Ce.createElement(Xe.Z,Ee({},Yr)))))};function xe({languageItems:bn,language:Tn,onShowCodeSetting:Nn,onLanguage:oa}){return Ce.createElement("div",{className:Be["action-oj-bar"]},bn==null?void 0:bn.map(Ir=>Ce.createElement("div",{className:Tn===(Ir==null?void 0:Ir.language)?Be.active:"",onClick:()=>oa(Ir==null?void 0:Ir.language),key:Ir==null?void 0:Ir.language},Ir==null?void 0:Ir.language)),Ce.createElement("a",{onClick:Nn},Ce.createElement("i",{className:"iconfont icon-shezhi"})))}var Ne=be(66368),Ge={flex_box_center:"flex_box_center___4yAaY",flex_space_between:"flex_space_between___YaUgM",flex_box_vertical_center:"flex_box_vertical_center___zR3dp",flex_box_center_end:"flex_box_center_end___rwgS5",flex_box_column:"flex_box_column___LhFeP",wrap:"wrap___xTL91",in:"in___eSY86",btns:"btns___UdEGI",customModal:"customModal___CL0OL"},st=(bn,Tn,Nn)=>new Promise((oa,Ir)=>{var nr=Nt=>{try{kt(Nn.next(Nt))}catch(hn){Ir(hn)}},Bt=Nt=>{try{kt(Nn.throw(Nt))}catch(hn){Ir(hn)}},kt=Nt=>Nt.done?oa(Nt.value):Promise.resolve(Nt.value).then(nr,Bt);kt((Nn=Nn.apply(bn,Tn)).next())}),dt=({visible:bn,onOK:Tn,onCancel:Nn})=>{const[oa,Ir]=(0,Ce.useState)(!1),[nr,Bt]=(0,Ce.useState)(!1),[kt,Nt]=(0,Ce.useState)("1"),[hn,Zn]=(0,Ce.useState)(""),[Vn,Yr]=(0,Ce.useState)([]),$r=()=>st(void 0,null,function*(){if(!hn){te.ZP.warning(`\u9898\u76EE${Dr}\u4E0D\u80FD\u4E3A\u7A7A`);return}Bt(!0);const xt=yield(0,we.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:bn,name:hn}});if((xt==null?void 0:xt.status)===0){Tn();return}Bt(!1)}),zr=(xt="")=>st(void 0,null,function*(){Ir(!0);let Xt=yield(0,we.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:bn,search:xt}});Yr(Xt.tag_disciplines||[]),Ir(!1)}),ia=xt=>{let Xt=xt.name;ye.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u91CD\u547D\u540D",content:Ce.createElement("div",null,Ce.createElement(E.default,{defaultValue:Xt,placeholder:`\u8BF7\u8F93\u5165${Dr}\u540D\u79F0\uFF0C\u4E0D\u8D85\u8FC720\u4E2A\u5B57`,maxLength:20,onChange:Vt=>{Xt=Vt.target.value}})),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>st(void 0,null,function*(){if(!Xt)return te.ZP.warning(`\u9898\u76EE${Dr}\u4E0D\u80FD\u4E3A\u7A7A`),Promise.reject();const Vt=yield(0,we.ZP)(`/api/tag_disciplines/${xt.id}/rename.json`,{method:"post",body:{id:xt.id,name:Xt}});(Vt==null?void 0:Vt.status)===0&&zr()})})},ga=xt=>{ye.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:570,title:"\u5220\u9664",content:bn==="practice"?Ce.createElement("div",null,"\u786E\u8BA4\u5C06\u9898\u76EE\u6765\u6E90\u201C",Ce.createElement("span",{className:"c-light-primary"},xt.name),"\u201D\u5220\u9664\u5417\uFF1F",Ce.createElement("br",null),"\u5220\u9664\u540E\uFF0C\u4F1A\u5C06\u76F8\u5173\u9898\u76EE\u4E2D\u7684\u6765\u6E90\u8FDB\u884C\u6E05\u9664\u3002"):Ce.createElement("div",null,"\u786E\u8BA4\u5C06\u9898\u76EE\u77E5\u8BC6\u70B9\u201C",Ce.createElement("span",{className:"c-light-primary"},xt.name),"\u201D\u5220\u9664\u5417\uFF1F",Ce.createElement("br",null),"\u5220\u9664\u540E\uFF0C\u4F1A\u5C06\u76F8\u5173\u9898\u76EE\u4E2D\u7684\u77E5\u8BC6\u70B9\u8FDB\u884C\u6E05\u9664\u3002"),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>st(void 0,null,function*(){const Xt=yield(0,we.ZP)(`/api/tag_disciplines/${xt.id}.json`,{method:"delete",body:{id:xt.id}});(Xt==null?void 0:Xt.status)===0&&zr()})})},En=xt=>{zr(xt)},Dr=bn==="practice"?"\u77E5\u8BC6\u70B9":"\u6765\u6E90";return Ce.createElement(ye.default,{afterClose:()=>{Bt(!1),Ir(!1),Zn(""),Nt("1"),Yr([])},centered:!0,keyboard:!1,width:600,title:`${Dr}\u7BA1\u7406`,open:!!bn,className:Ge.customModal,footer:null,onCancel:Nn},Ce.createElement("section",{className:Ge.wrap},Ce.createElement(Ne.default,{activeKey:kt,onChange:xt=>{Zn(""),Nt(xt),zr()}},Ce.createElement(Ne.default.TabPane,{tab:`\u65B0\u589E${Dr}`,key:"1"},Ce.createElement(E.default,{value:hn,onChange:xt=>Zn(xt.target.value),className:Ge.in,placeholder:`\u8F93\u5165${Dr}\u540D\u79F0\uFF0C\u4E0D\u8D85\u8FC720\u4E2A\u5B57`,maxLength:20}),Ce.createElement("div",{className:Ge.btns},Ce.createElement(de.ZP,{onClick:Nn,className:"mr20"},"\u53D6\u6D88 "),Ce.createElement(de.ZP,{loading:nr,onClick:$r,type:"primary"},"\u786E\u8BA4\u65B0\u5EFA"))),Ce.createElement(Ne.default.TabPane,{tab:`\u5DF2\u6709${Dr}`,key:"2"},Ce.createElement(E.default.Search,{allowClear:!0,onSearch:En,value:hn,onChange:xt=>Zn(xt.target.value),className:Ge.in,placeholder:`\u8F93\u5165${Dr}\u540D\u79F0\u8FDB\u884C\u67E5\u8BE2`}),Ce.createElement(ae.default,{dataSource:Vn,bordered:!1,loading:oa,scroll:Vn.length>7?{y:300}:{},style:{padding:"0 0px 20px 0px"},columns:[{title:`${Dr}\u540D\u79F0`,dataIndex:"name",ellipsis:!0},{title:"\u64CD\u4F5C",dataIndex:"action",width:120,render:(xt,Xt)=>Ce.createElement("span",null,Ce.createElement("span",{onClick:()=>ia(Xt),className:"current mr10 c-light-primary"},"\u91CD\u547D\u540D"),Ce.createElement("span",{onClick:()=>ga(Xt),className:"current c-grey-666"},"\u5220\u9664"))}],pagination:!1})))))},Qe=be(11320),mt=be(32259),Lt=be(27484),Mt=be.n(Lt),at=be(28706),Ct=be(85725),ot=be(52262),Ve=be(67294),yt=Object.defineProperty,Pt=Object.defineProperties,At=Object.getOwnPropertyDescriptors,Gt=Object.getOwnPropertySymbols,on=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,Cn=(bn,Tn,Nn)=>Tn in bn?yt(bn,Tn,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):bn[Tn]=Nn,Dn=(bn,Tn)=>{for(var Nn in Tn||(Tn={}))on.call(Tn,Nn)&&Cn(bn,Nn,Tn[Nn]);if(Gt)for(var Nn of Gt(Tn))un.call(Tn,Nn)&&Cn(bn,Nn,Tn[Nn]);return bn},Ln=(bn,Tn)=>Pt(bn,At(Tn)),Yn=(bn,Tn,Nn)=>new Promise((oa,Ir)=>{var nr=Nt=>{try{kt(Nn.next(Nt))}catch(hn){Ir(hn)}},Bt=Nt=>{try{kt(Nn.throw(Nt))}catch(hn){Ir(hn)}},kt=Nt=>Nt.done?oa(Nt.value):Promise.resolve(Nt.value).then(nr,Bt);kt((Nn=Nn.apply(bn,Tn)).next())});const{TextArea:br}=E.default,{confirm:Wr}=ye.default,{Panel:aa}=me.default,ta={loading:!0,user:null,status:0,data:void 0,lastedUpdateTime:0};var Gr=(bn=>(bn[bn.SET_INITAL_DATA=0]="SET_INITAL_DATA",bn[bn.SET_LOADING=1]="SET_LOADING",bn[bn.SET_STATUS=2]="SET_STATUS",bn))(Gr||{});const Sa="#### \u9898\u76EE\u63CF\u8FF0\n\u73B0\u6709\u4E00\u4E2A\u6574\u578B\u6570\u7EC4 `nums`\uFF0C\u8BF7\u7F16\u5199\u7A0B\u5E8F\u5C06\u6570\u7EC4 `nums` \u4E2D\u7684\u6240\u6709 `$$0$$` \u79FB\u52A8\u5230\u6570\u7EC4\u7684\u672B\u5C3E\uFF0C\u4F46\u4E0D\u6539\u53D8\u975E\u96F6\u5143\u7D20\u5728\u6570\u7EC4\u4E2D\u7684\u76F8\u5BF9\u4F4D\u7F6E\u3002\u8BF7\u5728\u539F\u6570\u7EC4 `nums` \u4E0A\u8FDB\u884C\u64CD\u4F5C\u3002\n#### \u8F93\u5165\u8F93\u51FA\u683C\u5F0F\n**\u8F93\u5165\u683C\u5F0F**\n\u7B2C\u4E00\u884C\u6709\u4E00\u4E2A\u6574\u6570 `numsSize`\uFF0C\u8868\u793A\u6570\u7EC4 `nums` \u7684\u5927\u5C0F\uFF1B\n\u7B2C\u4E8C\u884C\u6709 `numsSize` \u4E2A\u6574\u6570\uFF0C\u8868\u793A\u6570\u7EC4 `nums` \u7684\u6240\u6709\u5143\u7D20\uFF0C\u6BCF\u4E2A\u6574\u6570\u7528\u4E00\u4E2A\u7A7A\u683C\u9694\u5F00\u3002\n**\u8F93\u51FA\u683C\u5F0F**\n\u4E00\u884C\u8F93\u51FA\u6570\u7EC4 `nums` \u7684\u6240\u6709\u5143\u7D20\uFF0C\u6709 `numsSize` \u4E2A\u6574\u6570\uFF0C\u6BCF\u4E2A\u6574\u6570\u7528\u4E00\u4E2A\u7A7A\u683C\u9694\u5F00\u3002\n#### \u8F93\u5165\u8F93\u51FA\u6837\u4F8B1\n**\u8F93\u5165**\n`4`\n`0 1 2 3`\n**\u8F93\u51FA**\n`1 2 3 0`\n**\u89E3\u91CA\uFF08\u53EF\u9009\uFF09**\nXXXXX\n#### \u8F93\u5165\u8F93\u51FA\u6837\u4F8B2\n**\u8F93\u5165**\n`5`\n`1 1 0 1 0`\n**\u8F93\u51FA**\n`1 1 1 0 0`\n**\u89E3\u91CA\uFF08\u53EF\u9009\uFF09**\nXXXXX\n#### \u8BF4\u660E\u63D0\u793A\n-`1\u2264n\u2264100`";function Pa(bn,Tn){switch(Tn.type){case 0:return Dn(Dn({},bn),Tn.payload);case 1:return Ln(Dn({},bn),{loading:Tn.payload});case 2:return Ln(Dn({},bn),{status:Tn.payload});default:throw new Error}}var Cr=()=>{var bn,Tn,Nn;const oa=(0,he.useLocation)(),{id:Ir}=(0,he.useParams)(),[nr]=oe.default.useForm(),[Bt,kt]=(0,Ce.useState)(),[Nt,hn]=(0,Ce.useState)(!1),[Zn,Vn]=(0,Ce.useState)([]),[Yr,$r]=(0,Ce.useState)([]),[zr,ia]=(0,Ce.useState)([]),[ga,En]=(0,Ce.useState)([]),[Dr,xt]=(0,Ce.useState)([]),[Xt,Vt]=(0,Ce.useState)("C"),[en,wn]=(0,Ce.useReducer)(Pa,ta),{loading:qt,data:fn,user:an,status:vr}=en,Jn=fn==null?void 0:fn.hack_sets,zn=(bn=fn==null?void 0:fn.hack)==null?void 0:bn.test_set_average,[ur,Kr]=(0,Ce.useState)(!1),sn=(0,Ce.useRef)([]),[eo,Wa]=(0,Ce.useState)(!1),[sa,ka]=(0,Ce.useState)(!1),xn=(0,Ce.useRef)(!0),[Fn,Pr]=(0,Ce.useState)({});(0,Ce.useEffect)(()=>((0,he.getDvaApp)()._store.dispatch({type:"globalSetting/headerFooterToggle",payload:!1}),(0,he.getDvaApp)()._store.dispatch({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),()=>{(0,he.getDvaApp)()._store.dispatch({type:"globalSetting/headerFooterToggle",payload:!0}),(0,he.getDvaApp)()._store.dispatch({type:"globalSetting/onlyShowBackTopToggle",payload:!1})}),[]),(0,Ce.useEffect)(()=>{setTimeout(()=>{document.title="\u5728\u7EBF\u5237\u9898"},400)});const An=()=>Yn(void 0,null,function*(){const St=yield(0,we.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:"practice"}}),_t=yield(0,we.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:"practice_source"}});$r(St.tag_disciplines||[]),ia(_t.tag_disciplines||[])});var ma=[{language:"C",code:""},{language:"C++",code:""},{language:"Java",code:""},{language:"Python",code:""}];const da=(0,Ce.useCallback)(()=>Yn(void 0,null,function*(){if(wn({type:1,payload:!0}),Ir){const St=yield Fe(Ir),{user:_t,language:ct,practice_sets:Ut,practice_codes:tn,description:rn,difficulty:$t,name:Kt,open_or_not:zt,time_limit:gn,test_set_average:Mn,test_set_score:jn,status:Un,tag_discipline_ids:qn,source_discipline_ids:lr,item_banks_group_id:Pn,is_file:Wt=!1,hide_actual_output:ln,review_privilege:Sn,review_description:kn,submit_rule:ir}=St;Pr({review_privilege:Sn,status:Un,review_description:kn,name:Kt}),Kr(ln);const kr=Wt?[{input:"",output:"",score:100,position:1}]:Ut;Wt?(Vn(Ut),nr.setFieldsValue({hack_sets:kr})):Vn([]),wn({type:0,payload:{loading:!0,user:_t,status:Un,data:{hack:{difficulty:$t,name:Kt,description:rn,open_or_not:zt,time_limit:gn,test_set_average:Mn,test_set_score:jn,tag_discipline_ids:qn,source_discipline_ids:lr,is_file:Wt,submit_rule:ir},hack_sets:kr}}}),kt({hack:{difficulty:$t,name:Kt,description:rn,open_or_not:zt,time_limit:gn,test_set_average:Mn,test_set_score:jn,tag_discipline_ids:qn,source_discipline_ids:lr,is_file:Wt}});const In=tn==null?void 0:tn.map(Kn=>Ln(Dn({},Kn),{code:pe.Base64.decode(Kn==null?void 0:Kn.code)}));xt(In),sn.current=In}else{const{user:St}=yield Ae();wn({type:0,payload:{loading:!0,status:0,user:St,data:{hack:{difficulty:"",time_limit:3,description:Sa,test_set_score:!0,test_set_average:!0,open_or_not:!0,name:"",is_file:!1,submit_rule:1},hack_sets:[{input:"",output:"",score:100,position:1}]}}}),kt({hack:{difficulty:"",time_limit:3,description:"",test_set_average:!0,open_or_not:!0,name:"",is_file:!1}}),xt(ma),sn.current=ma}wn({type:1,payload:!1})}),[Ir]);(0,Ce.useEffect)(()=>{try{da(),An()}catch(St){console.log(St,"----")}},[]);function Ua(St,_t){return Yn(this,null,function*(){var ct;const{hack_sets:Ut,hack:tn}=Dn({},St);tn.hide_actual_output=ur;let rn=[],$t=[],Kt=0;const zt=tn!=null&&tn.is_file?Zn.map((jn,Un)=>Ln(Dn({},jn),{position:Un+1})):Ut.map(jn=>Ln(Dn({},jn),{is_file:!1}));for(let jn of zt)Kt+=jn.score,jn.id&&jn.id>=0?rn.push(jn):$t.push(jn);if(!(zt!=null&&zt.length)){te.ZP.error("\u6D4B\u8BD5\u96C6\u4E0D\u80FD\u4E3A\u7A7A");return}if(Kt!==100&&!tn.test_set_score){te.ZP.error("\u6D4B\u8BD5\u96C6\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}if(zt!=null&&zt.some(jn=>!jn.output)){te.ZP.error("\u6D4B\u8BD5\u96C6\u8F93\u51FA\u4E0D\u80FD\u4E3A\u7A7A");return}xn.current?Wa(!0):ka(!0);let gn;const Mn=Dr==null?void 0:Dr.map(jn=>Ln(Dn({},jn),{code:pe.Base64.encode(jn==null?void 0:jn.code)}));if(Ir?gn=yield ke(Ir,{practice:tn,practice_codes:Mn,practice_sets:$t,update_practice_sets:rn}):gn=yield Oe({practice:tn,practice_codes:Mn,practice_sets:zt,publish:!xn.current}),Wa(!1),ka(!1),(gn==null?void 0:gn.status)===0){if((ct=gn==null?void 0:gn.similar_practice)!=null&&ct.length){hn(!0),En(gn==null?void 0:gn.similar_practice);return}if(Ir){if(te.ZP.success("\u4FDD\u5B58\u6210\u529F"),!xn.current){const jn=yield(0,we.ZP)(`/api/practices/${Ir}/start`,{method:"get"});(jn==null?void 0:jn.status)===0&&he.history.push(`/problems/${jn==null?void 0:jn.identifier}/oj/${Ir}`)}}else te.ZP.success("\u65B0\u5EFA\u6210\u529F"),he.history.replace(`/problems/${gn==null?void 0:gn.identifier}/ojedit`)}})}function Ga(){he.history.replace("/problems")}const $a=St=>{const _t=Math.floor(100/St.length),ct=_t+100%St.length;St=St.map((Ut,tn)=>tn===St.length-1?Ln(Dn({},Ut),{score:ct}):Ln(Dn({},Ut),{score:_t})),Vn(St)};function Tt(St){St.target.value||$a(Zn),wn({type:0,payload:{data:Ln(Dn({},fn),{hack:Ln(Dn({},fn.hack),{test_set_score:St.target.value})})}})}function Et(St){wn({type:0,payload:{data:Ln(Dn({},fn),{hack:Ln(Dn({},fn.hack),{is_file:St.target.value})})}})}function Yt(St){Kr(St.target.checked)}function nn(St){const _t=St.target.value;_t&&$a(Zn),wn({type:0,payload:{data:Ln(Dn({},fn),{hack:Ln(Dn({},fn.hack),{test_set_average:_t})})}})}function yn(){let St=nr.getFieldValue("hack_sets");const _t=St.length+1,ct=Math.floor(100/_t),Ut=100%_t;St.map((tn,rn)=>(zn&&(tn.score=ct),tn.position=rn+1,tn)),St.push({input:"",output:"",position:_t,score:zn?ct+Ut:0}),nr.setFieldsValue({hack_sets:St}),wn({type:0,payload:{data:Ln(Dn({},fn),{hack_sets:St})}})}(0,Ce.useEffect)(()=>{if(zn){const St=Jn==null?void 0:Jn.length,_t=Math.floor(100/St),ct=100%St;Jn==null||Jn.map((Ut,tn)=>(Ut.score=_t,Ut.position=tn+1,tn===St-1&&(Ut.score=_t+ct),Ut)),wn({type:0,payload:{data:Ln(Dn({},fn),{hack_sets:Jn})}}),nr.setFieldsValue({hack_sets:Jn})}},[zn]);function $n(St){let _t=nr.getFieldValue("hack_sets");const ct=(_t==null?void 0:_t.length)-1,Ut=Math.ceil(100/ct),tn=100%ct;_t.splice(St,1),_t==null||_t.map((rn,$t)=>(zn&&(rn.score=Ut,$t===ct-1&&(rn.score=Ut+tn)),rn.position=$t+1,rn)),wn({type:0,payload:{data:Ln(Dn({},fn),{hack_sets:_t})}}),nr.setFieldsValue({hack_sets:_t})}function cr(St){Vt(St)}const Tr=St=>{var _t;const ct=(_t=sn.current)==null?void 0:_t.findIndex(Ut=>Ut.language===Xt);sn.current[ct].code=St,xt(sn.current)},Ur=St=>{kt(Dn({},nr.getFieldsValue()))},Hr=St=>Yn(void 0,null,function*(){const _t=yield(0,we.ZP)(`/api/practices/${St}/start`,{method:"get"});(_t==null?void 0:_t.status)===0&&(0,at.xg)(`/problems/${_t==null?void 0:_t.identifier}/oj/${St}`)}),Xr=()=>Yn(void 0,null,function*(){const St=yield Fe(Ir),{name:_t,status:ct,review_privilege:Ut,review_description:tn}=St;Pr({review_privilege:Ut,status:ct,review_description:tn,name:_t})}),xa=()=>{let St="";ye.default.confirm({icon:null,width:700,className:"custom-modal-divider",centered:!0,title:"\u4E0D\u901A\u8FC7\u539F\u56E0",content:Ve.createElement("div",{className:"mt20"},Ve.createElement(je.Z,{className:Ze.MdEditor,defaultValue:St,onChange:_t=>{St=_t}})),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Yn(void 0,null,function*(){if(!St)return te.ZP.warning("\u4E0D\u901A\u8FC7\u539F\u56E0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const _t=yield(0,we.ZP)(`/api/practices/${Ir}/review.json`,{method:"post",body:{op:"fail",description:St}});(_t==null?void 0:_t.status)===0&&(te.ZP.success("\u63D0\u4EA4\u6210\u529F"),Xr())})})},fr=()=>Yn(void 0,null,function*(){ye.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u63D0\u793A",content:`\u786E\u8BA4\u5C06\u9898\u76EE\u300A${Fn==null?void 0:Fn.name}\u300B\u7684\u5BA1\u6838\u901A\u8FC7\u5417\uFF1F`,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Yn(void 0,null,function*(){const St=yield(0,we.ZP)(`/api/practices/${Ir}/review.json`,{method:"post",body:{op:"pass"}});(St==null?void 0:St.status)===0&&(te.ZP.success("\u63D0\u4EA4\u6210\u529F"),Xr())})})}),Rt=()=>{const St=ye.default.confirm({icon:null,width:700,className:`${Ze.cusModal} custom-modal-divider`,centered:!0,title:Ve.createElement(ue.Z,null,Ve.createElement(ce.Z,{flex:"1"},"\u4E0D\u901A\u8FC7\u539F\u56E0"),Ve.createElement(ce.Z,null,Ve.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>St.destroy()}))),content:Ve.createElement("div",null,Ve.createElement(Ct.Z,{className:"mt20",value:(Fn==null?void 0:Fn.review_description)||""}))})};return Ve.createElement(le.Z,{spinning:qt,size:"large",className:Ze["oj-custom-large-spin"]},fn?Ve.createElement(Ce.Fragment,null,Ve.createElement("header",{className:Ze.header},Ve.createElement("div",null,Ve.createElement("img",{src:`${Qe.Z.IMG_SERVER}/images/${an==null?void 0:an.image_url}`,alt:"user",width:30}),Ve.createElement("span",null,an==null?void 0:an.name)),Ve.createElement("h2",null," ",(Tn=fn==null?void 0:fn.hack)==null?void 0:Tn.name," "),Ir?Ve.createElement("a",{className:Ze.btn_back,onClick:Ga}," ",Ve.createElement(Se.Z,null),"\u9000\u51FA"):null),Ve.createElement(oe.default,{form:nr,initialValues:fn,layout:"vertical",className:Ze["oj-form-container"],onValuesChange:Ur,onFinish:Ua},Ve.createElement(ut.Z,{hideResize:!0,className:Ze["oj-problems"],leftChild:Ve.createElement(ca,{formValue:Bt,onRemoveTestCase:$n,onAddTestCase:yn,hack:fn.hack,onChangeScore:Tt,onChangehide:Yt,onChangeAverage:nn,onChangeFile:Et,uploadData:Zn,setUploadData:Vn,handleUploadRatio:$a,ischecked:ur,pointData:Yr,sourceData:zr,getPointData:An}),rightChild:Ve.createElement(Te,{value:(Nn=Dr==null?void 0:Dr.find(St=>St.language===Xt))==null?void 0:Nn.code,onChange:Tr,onLanguage:cr,languageItems:Dr,language:Xt})}),Ve.createElement("div",{className:Ze.footer},!!Ir&&Ve.createElement("div",{className:Ze.result},Ve.createElement("span",null,"\u5BA1\u6838\u7ED3\u679C:"),Fn!=null&&Fn.review_privilege?Ve.createElement(Ve.Fragment,null,Ve.createElement("div",{onClick:fr,className:Ze.pass},"\u901A\u8FC7"),Ve.createElement("div",{onClick:xa,className:Ze.noPass},"\u4E0D\u901A\u8FC7")):Ve.createElement(Ve.Fragment,null,(Fn==null?void 0:Fn.status)===0&&Ve.createElement("div",{className:Ze.passText},Ve.createElement("i",{className:"iconfont icon-tongguo"}),"\u672A\u53D1\u5E03"),(Fn==null?void 0:Fn.status)===1&&Ve.createElement("div",{className:Ze.passText},Ve.createElement("i",{className:"iconfont icon-tongguo"}),"\u5DF2\u516C\u5F00"),(Fn==null?void 0:Fn.status)===2&&Ve.createElement("div",{className:Ze.passText},Ve.createElement("i",{className:"iconfont icon-tongguo"}),"\u672A\u5BA1\u6279"),(Fn==null?void 0:Fn.status)===3&&Ve.createElement("div",{className:Ze.passText},Ve.createElement("i",{className:"iconfont icon-tongguo"}),"\u5BA1\u6838\u4E2D"),(Fn==null?void 0:Fn.status)===4&&Ve.createElement("div",{className:Ze.passText},Ve.createElement("i",{className:"iconfont icon-tongguo"}),"\u5BA1\u6838\u5B8C\u6210\u5F85\u516C\u5F00"),(Fn==null?void 0:Fn.status)===5&&Ve.createElement("div",{className:Ze.noPassText},Ve.createElement("i",{className:"iconfont icon-weitongguo1"}),"\u5BA1\u6838\u4E0D\u901A\u8FC7",Ve.createElement("span",{onClick:Rt},"\u67E5\u770B\u539F\u56E0")))),Ve.createElement(de.ZP,{type:"primary",ghost:!0,onClick:Ga},"\u9000\u51FA\u7F16\u8F91"),Ve.createElement(de.ZP,{disabled:sa,loading:eo,type:"primary",onClick:()=>{xn.current=!0,nr.submit()}},"\u4FDD\u5B58 "),Ir?Ve.createElement(de.ZP,{disabled:eo,loading:sa,style:{background:"#2FC25B",border:0},type:"primary",onClick:()=>{xn.current=!1,nr.submit()}},"\u7ACB\u5373\u4F53\u9A8C"):Ve.createElement(de.ZP,{disabled:eo,loading:sa,type:"primary",onClick:()=>{xn.current=!1,nr.submit()}},"\u4FDD\u5B58\u5E76\u53D1\u5E03\u5BA1\u6838")))):null,Ve.createElement(ye.default,{centered:!0,destroyOnClose:!0,footer:null,open:Nt,onCancel:()=>hn(!1),title:"\u76F8\u4F3C\u6027\u68C0\u6D4B",width:"600px"},Ve.createElement("div",null,Ve.createElement("p",{className:"font14"},"\u7ECF\u7CFB\u7EDF\u68C0\u6D4B\u53D1\u73B0\uFF0C\u672C\u9898\u76EE\u4E0E\u7CFB\u7EDF\u4E2D\u5DF2\u521B\u5EFA\u7684\u9898\u76EE\u9AD8\u5EA6\u96F7\u540C\uFF0C\u8BF7\u8C03\u6574\u9898\u76EE\u540E\u518D\u8FDB\u884C\u4FDD\u5B58"),Ve.createElement(ae.default,{dataSource:ga,bordered:!1,scroll:ga.length>7?{y:300}:{},columns:[{title:"\u76F8\u4F3C\u9898\u9898\u76EE",dataIndex:"name",ellipsis:!0,render:(St,_t)=>Ve.createElement("span",{onClick:()=>Hr(_t==null?void 0:_t.identifier),style:{textDecorationLine:"underline"},className:"current c-light-primary"},St)},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"create_time",width:170,render:St=>{var _t;return(_t=Mt()(St))==null?void 0:_t.format("YYYY-MM-DD HH:mm")}}],pagination:!1}))))};function ca({ischecked:bn,formValue:Tn,hack:Nn,onChangeAverage:oa,onChangeScore:Ir,onChangehide:nr,onChangeFile:Bt,onAddTestCase:kt,onRemoveTestCase:Nt,uploadData:hn,setUploadData:Zn,handleUploadRatio:Vn,pointData:Yr,sourceData:$r,getPointData:zr}){var ia,ga;const{test_set_average:En,test_set_score:Dr}=Nn,[xt,Xt]=(0,Ce.useState)(!1),[Vt,en]=(0,Ce.useState)(!1),wn=(zn,ur)=>{const Kr=[...hn];Kr.splice(ur,1),En?Vn(Kr):Zn(Kr)},qt=(zn,ur)=>{console.log(zn,ur);const Kr=hn.map((sn,eo)=>eo===ur?Ln(Dn({},sn),{score:zn.target.value?Number(zn.target.value):0}):sn);Zn(Kr)},fn=zn=>{const ur=hn.concat(zn);Nn.test_set_average?Vn(ur):Zn(ur)};function an(zn){zn.stopPropagation()}function vr(){if((0,ot.Ny)()){en("practice");return}let zn="";ye.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u65B0\u5EFA\u77E5\u8BC6\u70B9",content:Ve.createElement("div",null,Ve.createElement(E.default,{placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0\uFF0C\u4E0D\u8D85\u8FC720\u4E2A\u5B57",maxLength:20,onChange:ur=>{zn=ur.target.value}})),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Yn(this,null,function*(){const ur=yield(0,we.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:"practice",name:zn}});(ur==null?void 0:ur.status)===0&&zr()})})}function Jn(){if((0,ot.Ny)()){en("practice_source");return}let zn="";ye.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u65B0\u5EFA\u6765\u6E90",content:Ve.createElement("div",null,Ve.createElement(E.default,{placeholder:"\u8BF7\u8F93\u5165\u6765\u6E90\u540D\u79F0\uFF0C\u4E0D\u8D85\u8FC720\u4E2A\u5B57",maxLength:20,onChange:ur=>{zn=ur.target.value}})),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Yn(this,null,function*(){const ur=yield(0,we.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:"practice_source",name:zn}});(ur==null?void 0:ur.status)===0&&zr()})})}return Ve.createElement("div",{className:Ze["oj-left-panel"]},Ve.createElement("div",{className:Ze["oj-form-info"]},Ve.createElement(oe.default.Item,{label:"\u9898\u76EE\u540D\u79F0",name:["hack","name"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0"}],className:Ze.inputOne},Ve.createElement(E.default,{bordered:!1,maxLength:60,placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0",suffix:Ve.createElement("span",null,((ga=(ia=Tn==null?void 0:Tn.hack)==null?void 0:ia.name)==null?void 0:ga.length)||0,"/",Ve.createElement("span",{className:"c-grey-999"},"60"))})),Ve.createElement(oe.default.Item,{name:["hack","description"],valuePropName:"defaultValue",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63CF\u8FF0\u5185\u5BB9"}]},Ve.createElement(je.Z,{placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u63CF\u8FF0\u2026",miniToolbar:!0,id:"moop_cases_content",noStorage:!0,height:200})),Ve.createElement("div",{className:Ze.row},Ve.createElement("div",{className:Ze.a},Ve.createElement(oe.default.Item,{label:"\u96BE\u6613\u5EA6",name:["hack","difficulty"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u6613\u5EA6"}]},Ve.createElement(ie.default,null,fe(re.difficulty)))),Ve.createElement("div",{className:Ze.b},Ve.createElement(oe.default.Item,{label:"\u9898\u76EE\u6765\u6E90",name:["hack","source_discipline_ids"]},Ve.createElement(ie.default,{placeholder:"\u9009\u62E9\u9898\u76EE\u6765\u6E90",showSearch:!1,mode:"multiple",showArrow:!0,getPopupContainer:zn=>zn.parentNode},$r.map(zn=>Ve.createElement(ie.default.Option,{key:zn.id,value:zn.id},zn.name)))),Ve.createElement(de.ZP,{style:{padding:"0 18px"},type:"primary",ghost:!0,onClick:()=>Jn()},(0,ot.Ny)()?"\u6765\u6E90\u7BA1\u7406":"\u65B0\u5EFA\u6765\u6E90"))),Ve.createElement("div",{className:Ze.row},Ve.createElement("div",{className:Ze.b,style:{width:"100%",marginLeft:0}},Ve.createElement(oe.default.Item,{label:"\u77E5\u8BC6\u70B9",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"}],name:["hack","tag_discipline_ids"]},Ve.createElement(ie.default,{placeholder:"\u9009\u62E9\u77E5\u8BC6\u70B9",showSearch:!1,mode:"multiple",showArrow:!0,getPopupContainer:zn=>zn.parentNode},Yr.map(zn=>Ve.createElement(ie.default.Option,{key:zn.id,value:zn.id},zn.name)))),Ve.createElement(de.ZP,{type:"primary",ghost:!0,onClick:()=>vr()},(0,ot.Ny)()?"\u77E5\u8BC6\u70B9\u7BA1\u7406":"\u65B0\u5EFA\u77E5\u8BC6\u70B9"))),Ve.createElement("div",{className:Ze.field},Ve.createElement(oe.default.Item,{label:"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236",name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:1,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F1\u79D2"}],className:Ze.inputTwo,extra:Ve.createElement("span",{style:{position:"absolute",left:200,top:11,color:"#333"}},"\u79D2",Ve.createElement("span",{className:"ml5 c-grey-999"},"(\u4EE3\u7801\u6267\u884C\u6240\u5141\u8BB8\u7684\u6700\u5927\u65F6\u957F)"))},Ve.createElement(ne.Z,{style:{width:185},min:1}))),Ve.createElement("div",{className:"tst-case-info"},Ve.createElement("h3",{className:"flex-container",style:{justifyContent:"space-between"}}," ","\u6D4B\u8BD5\u7528\u4F8B\u4E0E\u7CFB\u7EDF\u8BC4\u5206\u89C4\u5219",!Nn.is_file&&Ve.createElement(de.ZP,{style:{height:40},type:"primary",ghost:!0,onClick:kt},"\u6DFB\u52A0\u6D4B\u8BD5\u7528\u4F8B")),Ve.createElement(oe.default.Item,{name:["hack","test_set_score"]},Ve.createElement(a.ZP.Group,{onChange:Ir},Ve.createElement(a.ZP,{value:!0},"\u901A\u8FC7\u5168\u90E8\u6D4B\u8BD5\u96C6",Ve.createElement("span",{className:"tip"}," ","\uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u4EC5\u5F53\u6240\u6709\u6D4B\u8BD5\u96C6\u90FD\u6B63\u786E\u65F6\uFF0C\u624D\u83B7\u5F97\u4E00\u6B21\u6027\u5956\u52B1\uFF09")),Ve.createElement(a.ZP,{value:!1},"\u901A\u8FC7\u90E8\u5206\u6D4B\u8BD5\u96C6",Ve.createElement("span",{className:"tip"}," ","\uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u901A\u8FC7\u6D4B\u8BD5\u96C6\u5373\u53EF\u83B7\u5F97\u5BF9\u5E94\u5956\u52B1\uFF09")))),Ve.createElement(y.default,{style:{marginBottom:"5px"},checked:bn,onChange:nr},"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA \uFF08\u9009\u4E2D\uFF0C\u5219\u5728\u5B66\u751F\u505A\u9898\u8FC7\u7A0B\u4E2D\u65E0\u6CD5\u770B\u5230\u5B9E\u9645\u8F93\u51FA\u7ED3\u679C\uFF0C\u4EC5\u5C55\u793A\u662F\u5426\u8BC4\u6D4B\u662F\u5426\u901A\u8FC7\uFF09"),Ve.createElement(oe.default.Item,{className:Ze.testJi,name:["hack","is_file"],label:"\u7528\u4F8B\u7C7B\u578B:"},Ve.createElement(a.ZP.Group,{onChange:Bt},Ve.createElement(x.Z,{direction:"horizontal"},Ve.createElement(a.ZP,{value:!1},"\u6587\u672C"),Ve.createElement(a.ZP,{value:!0},"\u6587\u4EF6")))),Ve.createElement(oe.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",name:["hack","submit_rule"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},Ve.createElement(a.ZP.Group,null,Ve.createElement(a.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),Ve.createElement(a.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),Ve.createElement(a.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),!Nn.test_set_score&&Ve.createElement(oe.default.Item,{name:["hack","test_set_average"],label:"\u7CFB\u7EDF\u8BC4\u5206\u5360\u6BD4"},Ve.createElement(a.ZP.Group,{onChange:oa},Ve.createElement(a.ZP,{value:!0},"\u5747\u5206\u6BD4\u4F8B"),Ve.createElement(a.ZP,{value:!1},"\u81EA\u5B9A\u4E49\u6BD4\u4F8B"))),Nn.is_file&&Ve.createElement("div",{className:Ze.upBtn},Ve.createElement(de.ZP,{ghost:!0,type:"primary",className:"mb20",onClick:()=>Xt(!0)},"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"),Ve.createElement(mt.Y2,{disabled:Nn==null?void 0:Nn.test_set_average,inputChange:qt,showScore:!Nn.test_set_score,data:hn,onRemove:wn})),!Nn.is_file&&Ve.createElement(oe.default.List,{name:"hack_sets"},(zn,{})=>Ve.createElement(me.default,{accordion:!0},zn.map((ur,Kr)=>Ve.createElement(aa,{key:`${ur.key}--${Kr}`,header:Ve.createElement("a",{className:Ze["test-case-name"]},Ve.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",Kr+1),Dr?null:Ve.createElement(Ve.Fragment,null,Ve.createElement(oe.default.Item,{name:[ur.name,"score"],fieldKey:[ur.fieldKey,"score"],rules:[{required:!0,message:`\u8BF7\u8F93\u5165\u6D4B\u8BD5\u96C6${Kr+1}\u8BC4\u5206`}]},Ve.createElement(ne.Z,{onClick:an,min:0,max:100,disabled:En})),Ve.createElement("span",null,"%"))),extra:Kr>0?Ve.createElement("div",{onClick:an},Ve.createElement(b.Z,{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u5B9A\u5220\u9664\u6D4B\u8BD5\u96C6\b"+(Kr+1),onConfirm:()=>{Nt(Kr)}},Ve.createElement(Pe.Z,{className:Ze["btn-remove-case"]}))):null},Ve.createElement(oe.default.Item,{label:"\u8F93\u5165",name:[ur.name,"input"],fieldKey:[ur.fieldKey,"input"]},Ve.createElement(br,null)),Ve.createElement(oe.default.Item,{label:"\u8F93\u51FA",name:[ur.name,"output"],fieldKey:[ur.fieldKey,"output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},Ve.createElement(br,null)))))))),Ve.createElement(mt.ZP,{rootIdentifier:null,visible:xt,onClose:()=>Xt(!1),onOK:fn}),Ve.createElement(dt,{visible:Vt,onCancel:()=>{en(!1),zr()},onOK:()=>{en(!1),zr()}}))}},32259:function(jt,wt,be){"use strict";be.d(wt,{Y2:function(){return Ae},ZP:function(){return Fe}});var Ce=be(67294),Ze=be(59810),E=be(2453),ye=be(14446),me=be(71230),oe=be(78045),te=be(71577),ue=be(84567),ce=be(83062),le=be(69677),de={wrap:"wrap___MkYbQ",colorBlue:"colorBlue___onjbP",repeatedName:"repeatedName___nbqnE",text:"text___xvutp",greyText:"greyText___dihvZ",noData:"noData___LxOJA",dragger:"dragger___y7F4A",uploadText:"uploadText___Et3KS",btnS:"btnS___k1e6j",testCaseRadio:"testCaseRadio___q1wXT",head:"head___s4Eix",operation:"operation___JCAVh",headProgram:"headProgram___uWA_M",listWrapper:"listWrapper___xW3b4",list:"list___dCbd6",del:"del___abNho",info:"info___J1Wmf"},ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8ZUq4FZqnIr/YBYQTEZ6lKBDreNshQYxvf9v6+He298khUAYsnS0fGeAsBLmBvj+JWnmULNFs2BWLp29LxSYL4qMczXJLa4Se9Nf7aYiY4CsUTh6MbWsUoOsMUUywrExJLRYakAW8cq+UBVJpAViAnEoinV16Y5QFUWJTcQi5KJRtcKUIFtlBOA7KnQQOypRDS42D5yeN8iIdhePlAdiLVISaNzUn01No6rGKsGALHGeWllegCmxCm2lzdGADEluak5DACmzB1AdmEIEFOWn9rCAWDaHDnGA8jOxgAxpTmqIayXt/0vbt9rcOJODIBsFgaIKc7RlqFRgbVUXzA3IANignTppikAM2Z15yCjEjOWr7XDBWC1Fa40fscgA2KVcsrisADMomuLmDsFGRAznrelwj++Rmc6yOdjWYEOL8QCMcsJWyh2AFZISCXD7P976ernuqvFKskxVWEAMFV2lAmms20lECuTNmZH4S6YWeseB94RyICY0xyOWRYH+TEqGW7TCciAmOEczQmdbWSOenb69nA+BsTs5GPRSNlGFpVT72AdVGNATG/6VYuMbWQ1aXUO7BxkQExn2lWN6uVtP1adgMHVKeB5WwnE1KVb3YDYRtbVV+3ojqsxIKY268oHxmF+eU0tjei1GgNilrIwM1a2kZkCWu/utBoDYtYTMzJ+tpGRQnlv5hBkQMx70h7XRxXWidHPl7nb//fy9XkzOy2AmB2vkiPlSkWydD47OqvGgJjPNL1YFVVYByZLlgjEJGrRtrUCPJFs7YDS+R2BjEpMSY7NsDl+9j9fd6XC4kC/lJLOxgFizgzdYDnzudTpMw6fj//3DK4HIRyANoy/w9+wkwCOKmwDYy1P4QRkVGIVk/AMrnH4XniaXQzUqMIKq+5tOCDmzdH89cyVz6fwJRwqrZgqK3/SEFaBRhVWQlr/Y3i4xU8lVihPlVxj2IVxfJ+2nFRhhYz1PoyDagyIZSapEnhdr2I6R9uqEsxUkO5NFQBiTeVvOrlSeDXVhMltKmB9S0klJsw74CUUjOb6FTBejQExQYoBMIFYNLWkgOnvUwKxyFTjoDxSKJqZVMDylhKIPUk5riqY/JkkaKkChreUQOyB2WwfpT8JtDerABAza93dwAGYP09Z0WMFrG4pqcRWfGULyY97jwoAMSeuAzAnRrIMuQJGt5RUYldW8xRSnvv0cKIAELNvJACz7yEryFLA5H0xKrGj5xzkZyU/nZ0oYPFcDIiFEDgHc/ITyDKyFQBi2RK2GYBtZBvdmVWhAuP4VfL2YA0r6L4SYxupIQ2JQY0CBg/3gdjbflSTQASCAq0VAGKtHZDNTxUm04vWHSgAxOyYzGG+Ha+IdFMFzF2z6HY7yWH+pj8YTGZHASBmwSuqMAsuEWMjBYBYI+FF0wIxkVw07kwBa3fFutxOspXs7KeS5YoUAGIiudo0fuFaRRvhmdWEAkBMuU1sJZUbRHjNFQBizS14HABbSeUGEV5zBYBYcwueQowb+so9Iry2CgCxtvo/nJ2tpGJzCE2NAkBMjRW3gQAxxeYQmhoFgJgaK1Yg9u3PjzAO3xWHSGgo0FoBLru2duDR/HzhW7M7xKZEASCmxIjVMHgyqdkdYlOiABBTYgQQ02wEsWlWAIhpdodKTLM7xKZCAd4npsKGu0HwdSPd/hCdAgV4x35bE+YrFNPnUzj87/IzDp9DWPnvbUNmdhTQpQAQ286P+Unj9DnAafrcgmu7cJgJBVwoYO2O2CS6mVfxXEELYLn4kWERShXYhXF8t/Kn21RDbAEuLqgqzXbCcq+AeqCpgxjgcv9DwQLtKqASaGogxm16u5lN5B0qoOgqRnOIAa8OfwBYshcFVFRmzSAGvLzkMetAgdAUZptD7Agv7myR+SjgT4EmMNsUYlRf/rKWFaHAigKbwmwTiAEvEh0FOlRgo8P/6hADYB0mL0tGgZMCG4CsGsSOr4KeLqlyu56URoG+Fai6vawCMaqvvjOW1aPAqgKVqrLiEANgJDAKoMBdBSqArCjEABjJiwIoEKFA0bfHFoMYAIuwjiYogAInBYqBrAjEeO0zmYkCKJCgQBGQZUMMgCVYRxcUQIFiFVkWxNhCkokogALZCmQe9idDDIBlW8cAKIACJwUyQJYEMQBG7qEAChRXIBFkYogdb+L/Kr4ABkQBFECBBJDJIfa2H1EaBVAABaopIASZCGI8iaxmGwOjAAosFJD86bhoiHEORo6hAApspoCgGouCGOdgm1nHRCiAAsInlnEQe9tPB/m8Uof0kiswjO/hb9jNHYeBVzPJFey6R8y28inE2EZ2nUM5i1/9Sgn5lCNph30jtpUPIcY2ssOkKbTkR79BAVkhkXsZ5gnIHkOMbWQvaVJ2neP4df/z9bCFvPMBZGUl9z7ao1+KdyFGFeY9LSqtLwJgp5m5slPJA4/DPqjG7kOMKsxjKtRdU8T5xXUAL1yeruuJo9HvVWOrEKMKc+T8VktJANgUGrm2lUEO5rmTY+sQowpz4PiGS0gE2Hlb+c+fL2EY+D7uhpaZnCoWYvxmNGlvu6AzAXYG2bc/P8I43yPjgwL3FVjJt5tKjMNWMkigQJHXCwMygeK9N42EGG+p6D1R4tZfFGCALE50WoVwfcB/UYmxlSRFohUQXKWIHvPYkDtkUsU6a39VjV1CjAP9zrIhcbkVAXauyMjFRHP66Lasxq4hxlayjxxIX+UGAANk6fZ003ORh2eIsZXsxv70hRZ6EikJgMuwErU6arvIxQ+IUb53lAEJS20AsClKfrkmeNVHl/ODpSXE2Er2Yb58lY0AxhNLuVU99Tidi80Q47ddT9aL11rlKoU0Cp5YShXroP3xlysQ68DrjCWqABgVWYaDnrteQIzzMM9Wp65NFcAAWaqNrvvNOXqoxICYa6eTFrfhVQppfGwtpYr5bT+di50gxqG+X5/lK1MMsHNFxi9eua8eewzj+8ChvkdnM9bU+EmkJHJ2EBK1nLYFYk6NTV2WIYDNxyC8hyzVaT/9ZojxHic/huasxBjAzttKQJbjuv2+M8Q4W7BvZO4KjAKMJ5a5xrvovwNiLnzMWoTKqxTSFbGjkCrmpj0Qc2Nl2kJcAIyKLM18L72oxLw4mbIOA1cppMuiIpMqZr/9BDHuiNn3Ub4ChwCjIpOngYceQMyDi9I1OAbYGWQ8sJJmhdn2QMysdYmBG38SKVk1uwyJWnbbAjG73skj7whgkzhchpWniMUeQMyiaykxdwaw87aSy7Ap2WKqD08nTdmVHKyrqxRSFXhiKVXMVnsgZsuvlGi7BhhPLFNSxlYfIGbLL2m0AGyhGBWZNH1stAdiNnxKi7KDqxRSYQCZVDH97XmLhX6P0iIEYHd146UHaSmltNcOiCl1JissAPZUPkD2VCIrDXa82dWKVbFxdnqVIlaeZTsuw6aopqzP9D6xKSTMVGZMajgATKQcl2FFculsPI7nv3bEl8B1WiSJiieRErWObTnoTxBNU5cFxH6FEL5oio1YhApwDiYU7KM5IEuWrnnHjz/Zxnv2m5uRGQBVWIaAQCxDvLZdF388l++XtbWiwOzTb6QCw3Q5BBAzavvxDPic+BzuGzXyFDbbyWQDuW6RLF3bjsecX0KMc7G2luTPDsjEGlKFiSVT0+G0+/iAGOdiaszJDGSX1X8c3/c/X/PGyAogrvMMn+kzDp/jeqy24mFWhniNu57PgT8gxrlYY09UTa/6QQHVk6pcaRPMYtdxcRjM2UAbP1TOqvTiLBdUVWbL5kEtH2RdQowt5eZmqJ0QiKm1hsDCxU7h5rE8TylJkaMCKreUVGLkZ7h6gHULMaoxsuSgABAjE1QqcH0nEoiptElFUEBMhQ0EcaXATV6u3vJmS0niUImRAyoVWLkLuQ4xtpQq/ds4KCqxjQVnuqcKrObk3e/bUY09FdR7AyDm3WFr67vzjZT7EKMas2Zx6XiBWGlFGS9Hgbv5+PDNB1RjOZqb7wvEzFvoaAEPvhf8GGJUY46yQLwUICaWjA5VFHhy8frpO6j4nloVWywMCsQsuOQ/xqd5+BRik0ZsK/1nysoKnyZPC1W4sd9C9YZzRrxeKg5ibCsbuthsaiDWTHomPioQlYNREJurMUDWW2ZFJdDWolCJba14u/liX7keDTG2le3MbDQzEGskPNNOL7scv8a+nFMGMaqxnvILiPXktqa1Cl8DJYIY20pNTlePBYhVl5gJSjxQEkMMkHWTeECsG6v1LDT2HGwZcRLEjudj/HUkPd7XiASI1VCVMe8rIDgHKwIxQOY+G4GYe4sVLTARYNMKkiuxGWL8hSRFWVA8FCBWXFIGXFVAeJB/PUYWxACZ66QEYq7tVbK4TIBlV2InGajIlCRE2TCAWFk9Ge2mhBrf9/++Hv4IcsYnuxK7Atn3EAJ/VTnDEEVdgZgiM9yFUqACO2lSDGJnmL3teWrpI+OAmA8f9a0i4xB/bTHFITafkwEyfYkjjwiIyTWjx2MFdmEc32O/ThQrZhWIzSDjK0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ie=be(56448),ne=be.n(ie),a=be(33170),y=be(25934),x=be(28706),b=be(91613),z=be(67294),ee=Object.defineProperty,re=Object.defineProperties,se=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,he=(ke,He,Me)=>He in ke?ee(ke,He,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ke[He]=Me,pe=(ke,He)=>{for(var Me in He||(He={}))ve.call(He,Me)&&he(ke,Me,He[Me]);if(fe)for(var Me of fe(He))ge.call(He,Me)&&he(ke,Me,He[Me]);return ke},Se=(ke,He)=>re(ke,se(He)),Pe=(ke,He,Me)=>new Promise((ut,rt)=>{var et=$e=>{try{_e(Me.next($e))}catch(Be){rt(Be)}},Xe=$e=>{try{_e(Me.throw($e))}catch(Be){rt(Be)}},_e=$e=>$e.done?ut($e.value):Promise.resolve($e.value).then(et,Xe);_e((Me=Me.apply(ke,He)).next())});const{Dragger:je}=Ze.default,we=ke=>{const He=Be=>Be&&Be.substring(0,Be.lastIndexOf("."));for(var Me=[...ke],ut=0,rt=[],et=0;et{if(Be.forEach(nt=>{let Je=nt.name.split(/\.(?=[^\.]+$)/);nt.name=`${Je[0]}.${Je[1].toLowerCase()}`}),Be[0].name.includes(".in"))return Be.length===2?Be:[Be[0],{}];if(Be[0].name.includes(".out"))return Be.length===2?Be.reverse():[{},Be[0]]})},Oe=({onClose:ke,onOK:He,visible:Me,wrapClassName:ut,rootIdentifier:rt,multiple:et=!1,defaultMultipleValue:Xe=!0})=>{const[_e,$e]=(0,Ce.useState)([]),[Be,nt]=(0,Ce.useState)({}),[Je,ft]=(0,Ce.useState)(!1),[Ke,Ue]=(0,Ce.useState)(!0),[Le,ze]=(0,Ce.useState)(null),Ee=(0,Ce.useRef)([]),Re=(0,Ce.useRef)(0),qe=()=>{ke()};(0,Ce.useEffect)(()=>{Ye()},[]),(0,Ce.useEffect)(()=>{Me&&(Ee.current=[],Re.current=0,$e([]),Ue(Xe))},[Me]);const Ye=()=>Pe(void 0,null,function*(){try{ze(!0)}catch(dt){}}),We=dt=>dt&&dt.substring(0,dt.lastIndexOf(".")),Te=dt=>{var Qe,mt;const Lt=We((Qe=dt[0])==null?void 0:Qe.name)||We((mt=dt[1])==null?void 0:mt.name),Mt=_e.filter(at=>We(at.name)!==Lt);Ee.current=[...Mt],$e([...Mt])},xe=dt=>{if(!Ke){const Ct=new FormData;Ct.append("file",dt.file),(0,a.ZP)("/api/attachments/get_file_content.json",{method:"post",body:Ct},!0).then(Ve=>{if(Ve.status===0){Re.current=Re.current+1;const yt=Ee.current.map(Pt=>{var At;if(Pt.name===dt.name){const Gt=pe({},Pt);return(At=dt==null?void 0:dt.name)!=null&&At.includes(".in")?Gt.input=Ve==null?void 0:Ve.content:Gt.output=Ve==null?void 0:Ve.content,Gt}return Pt});if(Ee.current=[...yt],$e([...yt]),Re.current>0&&Re.current===_e.length){ft(!1);let Pt=we(yt);Pt=Pt.filter(At=>{var Gt,on;return!!((Gt=At[0])!=null&&Gt.name&&((on=At[1])!=null&&on.name))}),Pt=Pt.map(At=>Se(pe(pe({},At[0]),At[1]),{is_file:!1})),He(Pt),ke()}}else ft(!1),ke()});return}if(Le){const Ct=new FormData;Ct.append("file",dt.file),rt===null?Ct.append("identifier","testsets"):Ct.append("identifier",rt),(0,a.ZP)("/api/attachments.json",{method:"post",body:Ct},!0).then(Ve=>{if(Ve.filename){Re.current=Re.current+1;const yt=Ee.current.map(Pt=>{var At;if(Pt.name===(Ve==null?void 0:Ve.filename)){const Gt=Se(pe({},Pt),{is_oss:!Le});return(At=Ve==null?void 0:Ve.filename)!=null&&At.includes(".in")?(Gt.in_object_key=Ve==null?void 0:Ve.object,Gt.in_object_size=Ve==null?void 0:Ve.size,Gt.input=Ve==null?void 0:Ve.filename,Gt.in_file=dt):(Gt.out_object_key=Ve==null?void 0:Ve.object,Gt.out_object_size=Ve==null?void 0:Ve.size,Gt.output=Ve==null?void 0:Ve.filename,Gt.out_file=dt),Gt}return Pt});if(Ee.current=[...yt],$e([...yt]),Re.current>0&&Re.current===_e.length){ft(!1);let Pt=we(yt);Pt=Pt.filter(At=>{var Gt,on;return!!((Gt=At[0])!=null&&Gt.name&&((on=At[1])!=null&&on.name))}),Pt=Pt.map(At=>Se(pe(pe({},At[0]),At[1]),{is_file:!0})),He(Pt),ke()}}else ft(!1),ke()});return}const Qe=new(ne())({endpoint:Be.end_point,region:Be.region,accessKeyId:Be.access_key_id,accessKeySecret:Be.access_key_secret,bucket:Be.bucket,stsToken:Be.security_token}),mt=dt.name,Lt={container_type:"TestSet",file_name:mt},Mt=(0,y.Z)();let at=`testsets/${rt}/${Mt}${mt.indexOf(".")>-1?"."+mt.split(".").pop():""}`;rt===null&&(at=`testsets/${Mt}${mt.indexOf(".")>-1?"."+mt.split(".").pop():""}`),Qe.multipartUpload(at,new Blob([dt.file],{type:dt.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:mt+""},url:Be==null?void 0:Be.callback_url,host:Be==null?void 0:Be.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,a.rz)(Lt)}}).then(function(Ct){if(Ct.data.status===0){Re.current=Re.current+1;const ot=Ee.current.map(Ve=>{var yt,Pt,At,Gt,on,un,Cn,Dn,Ln,Yn,br,Wr,aa,ta,Gr,Sa,Pa;if(Ve.name===((Pt=(yt=Ct.data)==null?void 0:yt.data)==null?void 0:Pt.file_name)){const Cr=Se(pe({},Ve),{is_oss:!Le});return(on=(Gt=(At=Ct.data)==null?void 0:At.data)==null?void 0:Gt.file_name)!=null&&on.includes(".in")?(Cr.in_object_key=(Cn=(un=Ct.data)==null?void 0:un.data)==null?void 0:Cn.object,Cr.in_object_size=(Ln=(Dn=Ct.data)==null?void 0:Dn.data)==null?void 0:Ln.size,Cr.input=(br=(Yn=Ct.data)==null?void 0:Yn.data)==null?void 0:br.file_name,Cr.in_file=dt):(Cr.out_object_key=(aa=(Wr=Ct.data)==null?void 0:Wr.data)==null?void 0:aa.object,Cr.out_object_size=(Gr=(ta=Ct.data)==null?void 0:ta.data)==null?void 0:Gr.size,Cr.output=(Pa=(Sa=Ct.data)==null?void 0:Sa.data)==null?void 0:Pa.file_name,Cr.out_file=dt),Cr}return Ve});if(Ee.current=[...ot],$e([...ot]),Re.current>0&&Re.current===_e.length){ft(!1);let Ve=we(ot);Ve=Ve.filter(yt=>{var Pt,At;return!!((Pt=yt[0])!=null&&Pt.name&&((At=yt[1])!=null&&At.name))}),Ve=Ve.map(yt=>Se(pe(pe({},yt[0]),yt[1]),{is_file:!0})),He(Ve),ke()}}})},Ne=dt=>new Promise((Qe,mt)=>{let Lt=0,Mt=[];for(let at=0;at{Lt++,Lt===dt.length&&(Mt.length?(E.ZP.warning(`${Mt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),mt()):Qe(dt))}).catch(Ct=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",Ct),Lt++,Mt.push(dt[at].name),Lt===dt.length&&(Mt.length?(E.ZP.warning(`${Mt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),mt()):Qe(dt))})}),Ge=()=>Pe(void 0,null,function*(){if(_e.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Ne(_e),ft(!0),we(_e).some(Qe=>{var mt,Lt;return!((mt=Qe[0])!=null&&mt.name&&((Lt=Qe[1])!=null&&Lt.name))})){ye.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>Pe(void 0,null,function*(){_e.map(Qe=>Pe(void 0,null,function*(){xe(Qe)}))}),onCancel:()=>{ft(!1)}});return}_e.map(Qe=>Pe(void 0,null,function*(){xe(Qe)}))}),st={name:"file",fileList:_e,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:dt=>{if(_e!=null&&_e.some(mt=>mt.name===dt.name))return E.ZP.info(`${dt.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(dt.size/1024/1024>100)return E.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(dt.name))return E.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const Qe={name:dt.name,uid:dt.uid,file:dt,percent:0};return _e.push(Qe),Ee.current=[..._e],$e([..._e]),!1}},bt=we(_e);return console.log(_e,bt,"fileList"),z.createElement(ye.default,{open:Me,wrapClassName:ut,onOk:Ge,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:Je},onCancel:qe,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:de.wrap},_e.length?z.createElement("div",null,z.createElement(me.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:et?"visible":"hidden"}},z.createElement("span",{className:de.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(oe.ZP.Group,{className:`ml20 ${de.testCaseRadio}`,optionType:"button",value:Ke,onChange:dt=>Ue(dt.target.value)},z.createElement(oe.ZP,{value:!1},"\u6587\u672C"),z.createElement(oe.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(Ze.default,pe({},st),z.createElement(te.ZP,{type:"primary",className:de.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(Ae,{data:bt,onRemove:Te})):z.createElement("div",{className:`${de.noData} mb30`},z.createElement(Ze.default.Dragger,Se(pe({},st),{className:de.dragger}),z.createElement("img",{src:ae,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),z.createElement("span",{className:de.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:de.text},z.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),z.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",z.createElement("br",null),"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002",z.createElement("br",null),"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",z.createElement("br",null),"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002",z.createElement("br",null))))},Ae=({data:ke=[],onRemove:He,width:Me="auto",showScore:ut=!1,disabled:rt=!1,inputChange:et,onEvaluatingChange:Xe,onSelectAll:_e,checkAll1:$e,checkAll2:Be,checkAll3:nt,checkAll4:Je,checkAll5:ft,showEvaluatingSetting:Ke=!1,className:Ue="",isProgramHomework:Le=!1})=>{const ze={value:"",filename:"",dataUrl:""},[Ee,Re]=(0,Ce.useState)(pe({},ze)),qe=Te=>{let xe=document.createElement("a");document.body.appendChild(xe);let Ne=URL.createObjectURL(Te.file);xe.href=Ne,xe.download=Te.name,xe.click(),URL.revokeObjectURL(Ne),document.body.removeChild(xe)},Ye=(Te,xe)=>{(0,x.LR)(Te,xe)},We=(Te,xe)=>{ye.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:z.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{He(Te,xe)},onCancel:()=>{}})};return ke.length?z.createElement("div",{className:Ue,style:{width:Me}},z.createElement("div",{className:`${Le?de.headProgram:de.head}`},Ke&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(ue.default,{checked:$e,onChange:Te=>{_e(Te.target.checked,"hidden")}}),z.createElement(ce.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},z.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{style:{width:Le?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:ut?Le?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:ut?Le?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),ut&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Ke&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ue.default,{checked:Je,onChange:Te=>{_e(Te.target.checked,"input_visible")}}),z.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ke&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ue.default,{checked:Be,onChange:Te=>{_e(Te.target.checked,"is_invisible")}}),z.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ke&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ue.default,{checked:ft,onChange:Te=>{_e(Te.target.checked,"actual_output_visible")}}),z.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ke&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ue.default,{checked:nt,onChange:Te=>{_e(Te.target.checked,"last_match_rule")}}),z.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},z.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{className:de.operation,style:Le?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:de.listWrapper,style:{boxShadow:Le?"0px 2px 4px 0px #EAEEF4":"unset"}},ke.map((Te,xe)=>{var Ne,Ge,st,bt;return z.createElement("div",{key:xe,className:de.list,style:Le?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Ke&&z.createElement("div",{style:{width:"15%"}},z.createElement(ue.default,{checked:!!Te.hidden,onChange:dt=>{Xe(dt.target.checked,xe,"hidden")}})),z.createElement("div",{style:{width:Le?"25%":"15%",paddingLeft:Le?"5px":"0px",paddingRight:Le?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",xe+1),z.createElement("div",{className:de.info,style:{width:ut?Le?"20%":"15%":"25%"}},z.createElement("span",{title:Te.input||((Ne=Te[0])==null?void 0:Ne.name),onClick:()=>Pe(void 0,null,function*(){let dt;Te.input?Te.input_file_url?dt=Te.input_file_url:dt=Te.in_file:dt=Te[0];let Qe;typeof dt=="string"?(Qe=yield fetch(dt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Re({value:yield Qe.text(),filename:"",dataUrl:dt})):(Qe=yield(0,x.db)(dt.file),Re({value:Qe.text,filename:dt.name,dataUrl:Qe.link}))})},Te.input||((Ge=Te[0])==null?void 0:Ge.name))),z.createElement("div",{className:de.info,style:{width:ut?Le?"20%":"15%":"25%"}},z.createElement("span",{title:Te.output||((st=Te[1])==null?void 0:st.name),onClick:()=>Pe(void 0,null,function*(){let dt;Te.input?Te.output_file_url?dt=Te.output_file_url:dt=Te.out_file:dt=Te[1];let Qe;typeof dt=="string"?(Qe=yield fetch(dt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Re({value:yield Qe.text(),filename:"",dataUrl:dt})):(Qe=yield(0,x.db)(dt.file),Re({value:Qe.text,filename:dt.name,dataUrl:Qe.link}))})},Te.output||((bt=Te[1])==null?void 0:bt.name))),ut&&z.createElement("div",{style:{width:"20%"}},z.createElement(le.default,{size:"large",addonAfter:Le?"%":null,disabled:rt,style:{width:"80%"},onChange:dt=>et(dt,xe),value:Te.score}),!Le&&z.createElement("span",null,"\xA0%")),Ke&&z.createElement("div",{style:{width:"20%"}},z.createElement(ue.default,{checked:Te.input_visible||!1,onChange:dt=>{Xe(dt.target.checked,xe,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ke&&z.createElement("div",{style:{width:"20%"}},z.createElement(ue.default,{checked:Te.is_invisible||!1,onChange:dt=>{Xe(dt.target.checked,xe,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ke&&z.createElement("div",{style:{width:"20%"}},z.createElement(ue.default,{checked:Te.actual_output_visible||!1,onChange:dt=>{Xe(dt.target.checked,xe,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ke&&z.createElement("div",{style:{width:"20%"}},z.createElement(ue.default,{checked:Te.last_match_rule||!1,onChange:dt=>{Xe(dt.target.checked,xe,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>We(Te,xe),style:Le?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:de.del},"\u5220\u9664")))})),z.createElement(b.Z,{close:!0,data:Ee.dataUrl,filename:Ee.filename,type:Ee.dataUrl.length?"txt":"",onClose:()=>Re(pe({},ze)),monacoEditor:{value:Ee.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Fe=Oe},40471:function(jt,wt,be){"use strict";be.d(wt,{G:function(){return me},t:function(){return ye}});var Ce=be(58971),Ze=be.n(Ce);const E=null;function ye(oe,te){let ue=Ze().get("__ec");ue||(ue={}),ue[oe]=te,Ze().set("__ec",ue)}function me(oe,te){let ue=Ze().get("__ec");return ue?ue[oe]===void 0?te:ue[oe]:te}},56448:function(jt){(function(wt){(function(be){if(1)jt.exports=be();else var Ce})(function(){var be,Ce,Ze;return function(){function E(ye,me,oe){function te(le,de){if(!me[le]){if(!ye[le]){var ae=void 0;if(!de&&ae)return require(le,!0);if(ue)return ue(le,!0);var ie=new Error("Cannot find module '"+le+"'");throw ie.code="MODULE_NOT_FOUND",ie}var ne=me[le]={exports:{}};ye[le][0].call(ne.exports,function(a){var y=ye[le][1][a];return te(y||a)},ne,ne.exports,E,ye,me,oe)}return me[le].exports}for(var ue=void 0,ce=0;ce `.concat(b,` `),z&&(se+="".concat(z,` `)),se+=` `,re.content=se,re.mime="xml",re.successStatuses=[200],ge.next=9,this.request(re);case 9:return fe=ge.sent,ge.abrupt("return",{res:fe.res});case 11:case"end":return ge.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),ae.getBucketLogging=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re,se;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ee=this._bucketRequestParams("GET",b,"logging",z),ee.successStatuses=[200],ee.xmlResponse=!0,ve.next=5,this.request(ee);case 5:return re=ve.sent,se=re.data.LoggingEnabled,ve.abrupt("return",{enable:!!se,prefix:se&&se.TargetPrefix||null,res:re.res});case 8:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketLogging=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"logging",z),ee.successStatuses=[204,200],fe.next=4,this.request(ee);case 4:return re=fe.sent,fe.abrupt("return",{res:re.res});case 6:case"end":return fe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.putBucketCORS=function(){var a=(0,ue.default)(te.default.mark(function x(b,z,ee){var re,se,fe,ve,ge,he,pe,Se,Pe,je;return te.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:for(z=z||[],ce(z.length,"rules is required"),z.forEach(function(Ae){ce(Ae.allowedOrigin,"allowedOrigin is required"),ce(Ae.allowedMethod,"allowedMethod is required")}),re=this._bucketRequestParams("PUT",b,"cors",ee),se=` `,fe=function(Fe){se+="".concat(Fe,"")},ve=function(Fe){se+="".concat(Fe,"")},ge=function(Fe){se+="".concat(Fe,"")},he=function(Fe){se+="".concat(Fe,"")},pe=0,Se=z.length;pe",ne(Pe.allowedOrigin).forEach(fe),ne(Pe.allowedMethod).forEach(ve),ne(Pe.allowedHeader).forEach(ge),ne(Pe.exposeHeader).forEach(he),Pe.maxAgeSeconds&&(se+="".concat(Pe.maxAgeSeconds,"")),se+="";return se+="",re.content=se,re.mime="xml",re.successStatuses=[200],Oe.next=16,this.request(re);case 16:return je=Oe.sent,Oe.abrupt("return",{res:je.res});case 18:case"end":return Oe.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),ae.getBucketCORS=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re,se,fe;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ee=this._bucketRequestParams("GET",b,"cors",z),ee.successStatuses=[200],ee.xmlResponse=!0,ge.next=5,this.request(ee);case 5:return re=ge.sent,se=[],re.data&&re.data.CORSRule&&(fe=re.data.CORSRule,ie(fe)||(fe=[fe]),fe.forEach(function(he){var pe={};Object.keys(he).forEach(function(Se){pe[Se.slice(0,1).toLowerCase()+Se.slice(1,Se.length)]=he[Se]}),se.push(pe)})),ge.abrupt("return",{rules:se,res:re.res});case 9:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketCORS=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"cors",z),ee.successStatuses=[204],fe.next=4,this.request(ee);case 4:return re=fe.sent,fe.abrupt("return",{res:re.res});case 6:case"end":return fe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.putBucketReferer=function(){var a=(0,ue.default)(te.default.mark(function x(b,z,ee,re){var se,fe,ve,ge;return te.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(se=this._bucketRequestParams("PUT",b,"referer",re),fe=` `,fe+=" ".concat(z?"true":"false",` `),ee&&ee.length>0){for(fe+=` `,ve=0;ve".concat(ee[ve],` `);fe+=` `}else fe+=` `;return fe+="",se.content=fe,se.mime="xml",se.successStatuses=[200],pe.next=10,this.request(se);case 10:return ge=pe.sent,pe.abrupt("return",{res:ge.res});case 12:case"end":return pe.stop()}},x,this)}));function y(x,b,z,ee){return a.apply(this,arguments)}return y}(),ae.getBucketReferer=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){var ee,re,se;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ee=this._bucketRequestParams("GET",b,"referer",z),ee.successStatuses=[200],ee.xmlResponse=!0,ve.next=5,this.request(ee);case 5:return re=ve.sent,se=re.data.RefererList.Referer||null,se&&(ie(se)||(se=[se])),ve.abrupt("return",{allowEmpty:re.data.AllowEmptyReferer==="true",referers:se,res:re.res});case 9:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketReferer=function(){var a=(0,ue.default)(te.default.mark(function x(b,z){return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return re.next=2,this.putBucketReferer(b,!0,null,z);case 2:return re.abrupt("return",re.sent);case 3:case"end":return re.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae._bucketRequestParams=function(y,x,b,z){return{method:y,bucket:x,subres:b,timeout:z&&z.timeout,ctx:z&&z.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(E,ye,me){(function(oe,te){(function(){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),ce=ue(E("@babel/runtime/regenerator")),le=ue(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.to-string.js");var de=E("debug")("ali-oss"),ae=E("xml2js"),ie=E("agentkeepalive"),ne=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),z=E("bowser"),ee=E("../common/signUtils"),re=E("../common/client/initOptions"),se=E("../common/utils/createRequest"),fe=se.createRequest,ve=E("../common/utils/encoder"),ge=ve.encoder,he=E("../common/client/getReqUrl"),pe=he.getReqUrl,Se=E("../common/utils/setSTSToken"),Pe=Se.setSTSToken,je=E("../common/utils/retry"),we=je.retry,Oe=E("../common/utils/isFunction"),Ae=Oe.isFunction,Fe=new ie;function ke(){var Xe=a.name,_e=a.version;Xe&&Xe.toLowerCase&&Xe.toLowerCase()==="ie"&&_e.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function He(){return location&&location.protocol==="https:"}function Me(Xe,_e){if(ke(),!(this instanceof Me))return new Me(Xe,_e);Xe&&Xe.inited?this.options=Xe:this.options=Me.initOptions(Xe),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||Fe),this.ctx=_e,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}ye.exports=Me,Me.initOptions=function(_e){_e.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var $e=Object.assign({secure:He(),useFetch:!1},_e);return re($e)};var ut=Me.prototype;ut.debug=de,ne(ut,E("./object")),ne(ut,E("./bucket")),ne(ut,E("../common/bucket/getBucketWebsite")),ne(ut,E("../common/bucket/putBucketWebsite")),ne(ut,E("../common/bucket/deleteBucketWebsite")),ne(ut,E("../common/bucket/getBucketLifecycle")),ne(ut,E("../common/bucket/putBucketLifecycle")),ne(ut,E("../common/bucket/deleteBucketLifecycle")),ne(ut,E("../common/bucket/putBucketVersioning")),ne(ut,E("../common/bucket/getBucketVersioning")),ne(ut,E("../common/bucket/getBucketInventory")),ne(ut,E("../common/bucket/deleteBucketInventory")),ne(ut,E("../common/bucket/listBucketInventory")),ne(ut,E("../common/bucket/putBucketInventory")),ne(ut,E("../common/bucket/abortBucketWorm")),ne(ut,E("../common/bucket/completeBucketWorm")),ne(ut,E("../common/bucket/extendBucketWorm")),ne(ut,E("../common/bucket/getBucketWorm")),ne(ut,E("../common/bucket/initiateBucketWorm")),ne(ut,E("./managed-upload")),ne(ut,E("../common/multipart-copy")),ne(ut,E("../common/multipart")),ne(ut,E("../common/parallel")),ut.signature=function(_e){return this.debug("authorization stringToSign: %s",_e,"info"),ee.computeSignature(this.options.accessKeySecret,_e,this.options.headerEncoding)},ut._getReqUrl=pe,ut.authorization=function(_e,$e,Be,nt){var Je=ee.buildCanonicalString(_e.toUpperCase(),$e,{headers:nt,parameters:Be});return ee.authorization(this.options.accessKeyId,this.options.accessKeySecret,Je,this.options.headerEncoding)},ut.request=function(){var Xe=(0,le.default)(ce.default.mark(function _e($e){var Be=this;return ce.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(!this.options.retryMax){Je.next=6;break}return Je.next=3,we(rt.bind(this),this.options.retryMax,{errorHandler:function(Ke){var Ue=function(ze){if($e.stream)return!1;var Ee=[-1,-2].includes(ze.status),Re=Be.options.requestErrorRetryHandle||function(){return!0};return Ee&&Re(ze)};return!!Ue(Ke)}})($e);case 3:return Je.abrupt("return",Je.sent);case 6:return Je.abrupt("return",rt.call(this,$e));case 7:case"end":return Je.stop()}},_e,this)}));return function(_e){return Xe.apply(this,arguments)}}();function rt(Xe){return et.apply(this,arguments)}function et(){return et=(0,le.default)(ce.default.mark(function Xe(_e){var $e,Be,nt,Je,ft,Ke;return ce.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(!(this.options.stsToken&&Ae(this.options.refreshSTSToken))){Le.next=3;break}return Le.next=3,Pe.call(this);case 3:return $e=fe.call(this,_e),this.options.useFetch||($e.params.mode="disable-fetch"),Je=!!_e.stream,Le.prev=6,Le.next=9,this.urllib.request($e.url,$e.params);case 9:Be=Le.sent,this.debug("response %s %s, got %s, headers: %j",_e.method,$e.url,Be.status,Be.headers,"info"),Le.next=16;break;case 13:Le.prev=13,Le.t0=Le.catch(6),nt=Le.t0;case 16:if(!(Be&&_e.successStatuses&&_e.successStatuses.indexOf(Be.status)===-1)){Le.next=28;break}return Le.next=19,this.requestError(Be);case 19:if(ft=Le.sent,!(ft.code==="RequestTimeTooSkewed"&&!Je)){Le.next=25;break}return this.options.amendTimeSkewed=+new Date(ft.serverTime)-new Date,Le.next=24,this.request(_e);case 24:return Le.abrupt("return",Le.sent);case 25:ft.params=_e,Le.next=32;break;case 28:if(!nt){Le.next=32;break}return Le.next=31,this.requestError(nt);case 31:ft=Le.sent;case 32:if(!ft){Le.next=34;break}throw ft;case 34:if(!_e.xmlResponse){Le.next=39;break}return Le.next=37,this.parseXML(Be.data);case 37:Ke=Le.sent,Be.data=Ke;case 39:return Le.abrupt("return",Be);case 40:case"end":return Le.stop()}},Xe,this,[[6,13]])})),et.apply(this,arguments)}ut._getResource=function(_e){var $e="/";return _e.bucket&&($e+="".concat(_e.bucket,"/")),_e.object&&($e+=ge(_e.object,this.options.headerEncoding)),$e},ut._escape=function(_e){return y.encodeURIComponent(_e).replace(/%2F/g,"/")},ut._getUserAgent=function(){var _e=te&&te.browser?"js":"nodejs",$e="aliyun-sdk-".concat(_e,"/").concat(b.version),Be=a.description;return!Be&&te&&(Be="Node.js ".concat(te.version.slice(1)," on ").concat(te.platform," ").concat(te.arch)),this._checkUserAgent("".concat($e," ").concat(Be))},ut._checkUserAgent=function(_e){var $e=_e.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return $e},ut.checkBrowserAndVersion=function(_e,$e){return z.name===_e&&z.version.split(".")[0]===$e},ut.parseXML=function(_e){return new Promise(function($e,Be){oe.isBuffer(_e)&&(_e=_e.toString()),ae.parseString(_e,{explicitRoot:!1,explicitArray:!1},function(nt,Je){nt?Be(nt):$e(Je)})})},ut.requestError=function(){var Xe=(0,le.default)(ce.default.mark(function $e(Be){var nt,Je,ft,Ke;return ce.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(nt=null,!(!Be.data||!Be.data.length)){Le.next=5;break}Be.status===-1||Be.status===-2?(nt=new Error(Be.message),nt.name=Be.name,nt.status=Be.status,nt.code=Be.name):(Be.status===404?(nt=new Error("Object not exists"),nt.name="NoSuchKeyError",nt.status=404,nt.code="NoSuchKey"):Be.status===412?(nt=new Error("Pre condition failed"),nt.name="PreconditionFailedError",nt.status=412,nt.code="PreconditionFailed"):(nt=new Error("Unknow error, status: ".concat(Be.status)),nt.name="UnknownError",nt.status=Be.status),nt.requestId=Be.headers["x-oss-request-id"],nt.host=""),Le.next=32;break;case 5:return Je=String(Be.data),this.debug("request response error data: %s",Je,"error"),Le.prev=7,Le.next=10,this.parseXML(Je);case 10:if(Le.t0=Le.sent,Le.t0){Le.next=13;break}Le.t0={};case 13:ft=Le.t0,Le.next=23;break;case 16:return Le.prev=16,Le.t1=Le.catch(7),this.debug(Je,"error"),Le.t1.message+=` raw xml: `.concat(Je),Le.t1.status=Be.status,Le.t1.requestId=Be.headers["x-oss-request-id"],Le.abrupt("return",Le.t1);case 23:Ke=ft.Message||"unknow request error, status: ".concat(Be.status),ft.Condition&&(Ke+=" (condition: ".concat(ft.Condition,")")),nt=new Error(Ke),nt.name=ft.Code?"".concat(ft.Code,"Error"):"UnknownError",nt.status=Be.status,nt.code=ft.Code,nt.requestId=ft.RequestId,nt.hostId=ft.HostId,nt.serverTime=ft.ServerTime;case 32:return this.debug("generate error %j",nt,"error"),Le.abrupt("return",nt);case 34:case"end":return Le.stop()}},$e,this,[[7,16]])}));function _e($e){return Xe.apply(this,arguments)}return _e}()}).call(this)}).call(this,{isBuffer:E("../../node_modules/is-buffer/index.js")},E("_process"))},{"../../node_modules/is-buffer/index.js":366,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":49,"../common/signUtils":50,"../common/utils/createRequest":56,"../common/utils/encoder":59,"../common/utils/isFunction":68,"../common/utils/retry":74,"../common/utils/setSTSToken":76,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,agentkeepalive:81,bowser:88,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.split.js":307,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.js":313,debug:465,"merge-descriptors":372,platform:379,urllib:475,utility:474,xml2js:426}],4:[function(E,ye,me){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),ue=te(E("@babel/runtime/regenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js");var ce=te(E("@babel/runtime/helpers/asyncToGenerator")),le=E("util"),de=E("path"),ae=E("mime"),ie=E("copy-to"),ne=E("../common/utils/isBlob"),a=ne.isBlob,y=E("../common/utils/isFile"),x=y.isFile,b=E("../common/utils/isBuffer"),z=b.isBuffer,ee=me;ee.multipartUpload=function(){var ge=(0,ce.default)(ue.default.mark(function pe(Se,Pe){var je,we,Oe,Ae,Fe,ke,He,Me,ut,rt=arguments;return ue.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(je=rt.length>2&&rt[2]!==void 0?rt[2]:{},this.resetCancelFlag(),je.disabledMD5=je.disabledMD5===void 0?!0:!!je.disabledMD5,!(je.checkpoint&&je.checkpoint.uploadId)){Xe.next=8;break}return Pe&&x(Pe)&&(je.checkpoint.file=Pe),Xe.next=7,this._resumeMultipart(je.checkpoint,je);case 7:return Xe.abrupt("return",Xe.sent);case 8:return we=102400,je.mime||(x(Pe)?je.mime=ae.getType(de.extname(Pe.name)):a(Pe)?je.mime=Pe.type:z(Pe)?je.mime="":je.mime=ae.getType(de.extname(Pe))),je.headers=je.headers||{},this._convertMetaToHeaders(je.meta,je.headers),Xe.next=14,this._getFileSize(Pe);case 14:if(Oe=Xe.sent,!(Oe0&&ie(ke).to(Me),ut=this._divideParts(Oe,Ae),rt=ut.length,et=!1,Xe=function(Ee,Re){return new Promise(function(){var qe=(0,ce.default)(ue.default.mark(function Ye(We,Te){var xe,Ne,Ge,st,bt;return ue.default.wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(Qe.prev=0,Ee.isCancel()){Qe.next=29;break}return xe=ut[Re-1],Qe.next=5,Ee._createBuffer(we,xe.start,xe.end);case 5:return Ne=Qe.sent,Ge={content:Ne,size:xe.end-xe.start},Qe.prev=7,Qe.next=10,Ee._uploadPart(He,Fe,Re,Ge,Pe);case 10:st=Qe.sent,Qe.next=18;break;case 13:if(Qe.prev=13,Qe.t0=Qe.catch(7),Qe.t0.status!==404){Qe.next=17;break}throw Ee._makeAbortEvent();case 17:throw Qe.t0;case 18:if(!(!Ee.isCancel()&&!et)){Qe.next=26;break}if(Se.doneParts.push({number:Re,etag:st.res.headers.etag}),!Pe.progress){Qe.next=23;break}return Qe.next=23,Pe.progress(ke.length/(rt+1),Se,st.res);case 23:We({number:Re,etag:st.res.headers.etag}),Qe.next=27;break;case 26:We();case 27:Qe.next=30;break;case 29:We();case 30:Qe.next=41;break;case 32:Qe.prev=32,Qe.t1=Qe.catch(0),bt=new Error,bt.name=Qe.t1.name,bt.message=Qe.t1.message,bt.stack=Qe.t1.stack,bt.partNum=Re,ie(Qe.t1).to(bt),Te(bt);case 41:case"end":return Qe.stop()}},Ye,null,[[0,32],[7,13]])}));return function(Ye,We){return qe.apply(this,arguments)}}())},_e=Array.from(new Array(rt),function(ze,Ee){return Ee+1}),$e=Me.map(function(ze){return ze.number}),Be=_e.filter(function(ze){return $e.indexOf(ze)<0}),nt=5,Je=Pe.parallel||nt,Le.next=17,this._parallel(Be,Je,function(ze){return new Promise(function(Ee,Re){Xe(je,ze).then(function(qe){qe&&Me.push(qe),Ee()}).catch(function(qe){Re(qe)})})});case 17:if(ft=Le.sent,et=!0,Ke=ft.find(function(ze){return ze.name==="abort"}),!Ke){Le.next=22;break}throw Ke;case 22:if(!this.isCancel()){Le.next=25;break}throw Xe=null,this._makeCancelEvent();case 25:if(!(ft&&ft.length>0)){Le.next=28;break}throw ft[0].message="Failed to upload some parts with error: ".concat(ft[0].toString()," part_num: ").concat(ft[0].partNum),ft[0];case 28:return Le.next=30,this.completeMultipartUpload(He,Fe,Me,Pe);case 30:return Le.abrupt("return",Le.sent);case 31:case"end":return Le.stop()}},pe,this)}));function he(pe,Se){return ge.apply(this,arguments)}return he}(),ee._getFileSize=function(){var ge=(0,ce.default)(ue.default.mark(function pe(Se){return ue.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(!z(Se)){je.next=4;break}return je.abrupt("return",Se.length);case 4:if(!(a(Se)||x(Se))){je.next=6;break}return je.abrupt("return",Se.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return je.stop()}},pe)}));function he(pe){return ge.apply(this,arguments)}return he}();var re=E("stream"),se=re.Readable;function fe(ge,he){if(!(this instanceof fe))return new fe(ge,he);se.call(this,he),this.file=ge,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}le.inherits(fe,se),fe.prototype.readFileAndPush=function(he){if(this.fileBuffer)for(var pe=!0;pe&&this.fileBuffer&&this.startthis.fileBuffer.length?this.fileBuffer.length:Pe,this.start=Pe,pe=this.push(this.fileBuffer.slice(Se,Pe))}},fe.prototype._read=function(he){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var pe=16*1024;he=he||pe;var Se=this;this.reader.onload=function(je){Se.fileBuffer=oe.from(new Uint8Array(je.target.result)),Se.file=null,Se.readFileAndPush(he)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(he)};function ve(ge){return ge.arrayBuffer?ge.arrayBuffer():new Promise(function(he,pe){var Se=new FileReader;Se.onload=function(Pe){he(Pe.target.result)},Se.onerror=function(Pe){pe(Pe)},Se.readAsArrayBuffer(ge)})}ee._createBuffer=function(){var ge=(0,ce.default)(ue.default.mark(function pe(Se,Pe,je){var we,Oe;return ue.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:if(!(a(Se)||x(Se))){Fe.next=8;break}return we=Se.slice(Pe,je),Fe.next=4,ve(we);case 4:return Oe=Fe.sent,Fe.abrupt("return",oe.from(Oe));case 8:if(!z(Se)){Fe.next=12;break}return Fe.abrupt("return",Se.subarray(Pe,je));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Fe.stop()}},pe)}));function he(pe,Se,Pe){return ge.apply(this,arguments)}return he}(),ee._getPartSize=function(he,pe){var Se=1e4,Pe=1*1024*1024;pe||(pe=Pe);var je=Math.ceil(he/Se);return pe1&&ke[1]!==void 0?ke[1]:{},Pe=pe["continuation-token"]||pe.continuationToken,Pe&&(Se.subres=Object.assign({"continuation-token":Pe},Se.subres)),je=this._objectRequestParams("GET","",Se),je.query=Object.assign({"list-type":2},pe),delete je.query["continuation-token"],delete je.query.continuationToken,je.xmlResponse=!0,je.successStatuses=[200],Me.next=11,this.request(je);case 11:return we=Me.sent,Oe=we.data.Contents||[],Ae=this,Oe&&(Array.isArray(Oe)||(Oe=[Oe]),Oe=Oe.map(function(ut){var rt=null;return ut.Owner&&(rt={id:ut.Owner.ID,displayName:ut.Owner.DisplayName}),{name:ut.Key,url:Ae._objectUrl(ut.Key),lastModified:ut.LastModified,etag:ut.ETag,type:ut.Type,size:Number(ut.Size),storageClass:ut.StorageClass,owner:rt}})),Fe=we.data.CommonPrefixes||null,Fe&&(Array.isArray(Fe)||(Fe=[Fe]),Fe=Fe.map(function(ut){return ut.Prefix})),Me.abrupt("return",{res:we.res,objects:Oe,prefixes:Fe,isTruncated:we.data.IsTruncated==="true",keyCount:+we.data.KeyCount,continuationToken:we.data.ContinuationToken||null,nextContinuationToken:we.data.NextContinuationToken||null});case 18:case"end":return Me.stop()}},he,this)}));function ge(he){return ve.apply(this,arguments)}return ge}(),fe.restore=function(){var ve=(0,ue.default)(te.default.mark(function he(pe){var Se,Pe,je,we,Oe=arguments;return te.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return Se=Oe.length>1&&Oe[1]!==void 0?Oe[1]:{type:"Archive"},Se=Se||{},Se.subres=Object.assign({restore:""},Se.subres),Se.versionId&&(Se.subres.versionId=Se.versionId),Pe=this._objectRequestParams("POST",pe,Se),Se.type==="ColdArchive"&&(je={RestoreRequest:{Days:Se.Days?Se.Days:2,JobParameters:{Tier:Se.JobParameters?Se.JobParameters:"Standard"}}},Pe.content=se(je,{headers:!0}),Pe.mime="xml"),Pe.successStatuses=[202],Fe.next=9,this.request(Pe);case 9:return we=Fe.sent,Fe.abrupt("return",{res:we.res});case 11:case"end":return Fe.stop()}},he,this)}));function ge(he){return ve.apply(this,arguments)}return ge}(),fe._objectUrl=function(ge){return this._getReqUrl({bucket:this.options.bucket,object:ge})},fe._objectRequestParams=function(ge,he,pe){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");pe=pe||{},he=this._objectName(he);var Se={object:he,bucket:this.options.bucket,method:ge,subres:pe&&pe.subres,timeout:pe&&pe.timeout,ctx:pe&&pe.ctx};return pe.headers&&(Se.headers={},le(pe.headers).to(Se.headers)),Se},fe._objectName=function(ge){return ge.replace(/^\/+/,"")},fe._convertMetaToHeaders=function(ge,he){ge&&Object.keys(ge).forEach(function(pe){he["x-oss-meta-".concat(pe)]=ge[pe]})},fe._deleteFileSafe=function(ge){var he=this;return new Promise(function(pe){ce.exists(ge,function(Se){Se?ce.unlink(ge,function(Pe){Pe&&he.debug("unlink %j error: %s",ge,Pe,"error"),pe()}):pe()})})}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(E,ye,me){"use strict";me.version="6.18.1"},{}],7:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.abortBucketWorm=void 0;var ce=E("../utils/checkBucketName");function le(ae,ie){return de.apply(this,arguments)}function de(){return de=(0,ue.default)(te.default.mark(function ae(ie,ne){var a,y;return te.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ce.checkBucketName(ie),a=this._bucketRequestParams("DELETE",ie,"worm",ne),b.next=4,this.request(a);case 4:return y=b.sent,b.abrupt("return",{res:y.res,status:y.status});case 6:case"end":return b.stop()}},ae,this)})),de.apply(this,arguments)}me.abortBucketWorm=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.completeBucketWorm=void 0;var ce=E("../utils/checkBucketName");function le(ae,ie,ne){return de.apply(this,arguments)}function de(){return de=(0,ue.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ce.checkBucketName(ie),y=this._bucketRequestParams("POST",ie,{wormId:ne},a),z.next=4,this.request(y);case 4:return x=z.sent,z.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return z.stop()}},ae,this)})),de.apply(this,arguments)}me.completeBucketWorm=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.deleteBucketInventory=void 0;var ce=E("../utils/checkBucketName");function le(ae,ie){return de.apply(this,arguments)}function de(){return de=(0,ue.default)(te.default.mark(function ae(ie,ne){var a,y,x,b,z=arguments;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return a=z.length>2&&z[2]!==void 0?z[2]:{},y=Object.assign({inventory:"",inventoryId:ne},a.subres),ce.checkBucketName(ie),x=this._bucketRequestParams("DELETE",ie,y,a),x.successStatuses=[204],re.next=7,this.request(x);case 7:return b=re.sent,re.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return re.stop()}},ae,this)})),de.apply(this,arguments)}me.deleteBucketInventory=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=me;de.deleteBucketLifecycle=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y){var x,b;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le(a),x=this._bucketRequestParams("DELETE",a,"lifecycle",y),x.successStatuses=[204],ee.next=5,this.request(x);case 5:return b=ee.sent,ee.abrupt("return",{res:b.res});case 7:case"end":return ee.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=me;de.deleteBucketWebsite=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y){var x,b;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le(a),x=this._bucketRequestParams("DELETE",a,"website",y),x.successStatuses=[204],ee.next=5,this.request(x);case 5:return b=ee.sent,ee.abrupt("return",{res:b.res});case 7:case"end":return ee.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.extendBucketWorm=void 0;var ce=E("../utils/checkBucketName"),le=E("../utils/obj2xml");function de(ie,ne,a,y){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a,y,x){var b,z,ee;return te.default.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return ce.checkBucketName(ne),b=this._bucketRequestParams("POST",ne,{wormExtend:"",wormId:a},x),z={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=le.obj2xml(z,{headers:!0}),b.successStatuses=[200],se.next=8,this.request(b);case 8:return ee=se.sent,se.abrupt("return",{res:ee.res,status:ee.status});case 10:case"end":return se.stop()}},ie,this)})),ae.apply(this,arguments)}me.extendBucketWorm=de},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.getBucketInventory=void 0;var ce=E("../utils/checkBucketName"),le=E("../utils/formatInventoryConfig");function de(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a){var y,x,b,z,ee=arguments;return te.default.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return y=ee.length>2&&ee[2]!==void 0?ee[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),ce.checkBucketName(ne),b=this._bucketRequestParams("GET",ne,x,y),b.successStatuses=[200],b.xmlResponse=!0,se.next=8,this.request(b);case 8:return z=se.sent,se.abrupt("return",{status:z.status,res:z.res,inventory:le.formatInventoryConfig(z.data)});case 10:case"end":return se.stop()}},ie,this)})),ae.apply(this,arguments)}me.getBucketInventory=de},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=E("../utils/isArray"),ae=de.isArray,ie=E("../utils/formatObjKey"),ne=ie.formatObjKey,a=me;a.getBucketLifecycle=function(){var y=(0,ue.default)(te.default.mark(function b(z,ee){var re,se,fe;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return le(z),re=this._bucketRequestParams("GET",z,"lifecycle",ee),re.successStatuses=[200],re.xmlResponse=!0,ge.next=6,this.request(re);case 6:return se=ge.sent,fe=se.data.Rule||null,fe&&(ae(fe)||(fe=[fe]),fe=fe.map(function(he){return he.ID&&(he.id=he.ID,delete he.ID),he.Tag&&!ae(he.Tag)&&(he.Tag=[he.Tag]),ne(he,"firstLowerCase")})),ge.abrupt("return",{rules:fe,res:se.res});case 10:case"end":return ge.stop()}},b,this)}));function x(b,z){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=me;de.getBucketVersioning=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y){var x,b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return le(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],re.next=6,this.request(x);case 6:return b=re.sent,z=b.data.Status,re.abrupt("return",{status:b.status,versionStatus:z,res:b.res});case 9:case"end":return re.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=E("../utils/isObject"),ae=de.isObject,ie=me;ie.getBucketWebsite=function(){var ne=(0,ue.default)(te.default.mark(function y(x,b){var z,ee,re;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return le(x),z=this._bucketRequestParams("GET",x,"website",b),z.successStatuses=[200],z.xmlResponse=!0,fe.next=6,this.request(z);case 6:return ee=fe.sent,re=[],ee.data.RoutingRules&&ee.data.RoutingRules.RoutingRule&&(ae(ee.data.RoutingRules.RoutingRule)?re=[ee.data.RoutingRules.RoutingRule]:re=ee.data.RoutingRules.RoutingRule),fe.abrupt("return",{index:ee.data.IndexDocument&&ee.data.IndexDocument.Suffix||"",supportSubDir:ee.data.IndexDocument&&ee.data.IndexDocument.SupportSubDir||"false",type:ee.data.IndexDocument&&ee.data.IndexDocument.Type,routingRules:re,error:ee.data.ErrorDocument&&ee.data.ErrorDocument.Key||null,res:ee.res});case 10:case"end":return fe.stop()}},y,this)}));function a(y,x){return ne.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.getBucketWorm=void 0;var ce=E("../utils/checkBucketName"),le=E("../utils/dataFix");function de(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ce.checkBucketName(ne),y=this._bucketRequestParams("GET",ne,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,z.next=6,this.request(y);case 6:return x=z.sent,le.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),z.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return z.stop()}},ie,this)})),ae.apply(this,arguments)}me.getBucketWorm=de},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.initiateBucketWorm=void 0;var ce=E("../utils/obj2xml"),le=E("../utils/checkBucketName");function de(ie,ne,a){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a,y){var x,b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return le.checkBucketName(ne),x=this._bucketRequestParams("POST",ne,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=ce.obj2xml(b,{headers:!0}),x.successStatuses=[200],re.next=8,this.request(x);case 8:return z=re.sent,re.abrupt("return",{res:z.res,wormId:z.res.headers["x-oss-worm-id"],status:z.status});case 10:case"end":return re.stop()}},ie,this)})),ae.apply(this,arguments)}me.initiateBucketWorm=de},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.listBucketInventory=void 0;var ce=E("../utils/checkBucketName"),le=E("../utils/formatInventoryConfig");function de(ie){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne){var a,y,x,b,z,ee,re,se,fe=arguments;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return a=fe.length>1&&fe[1]!==void 0?fe[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),ce.checkBucketName(ne),b=this._bucketRequestParams("GET",ne,x,a),b.successStatuses=[200],b.xmlResponse=!0,ge.next=9,this.request(b);case 9:return z=ge.sent,ee=z.data,re=z.res,se=z.status,ge.abrupt("return",{isTruncated:ee.IsTruncated==="true",nextContinuationToken:ee.NextContinuationToken,inventoryList:le.formatInventoryConfig(ee.InventoryConfiguration,!0),status:se,res:re});case 12:case"end":return ge.stop()}},ie,this)})),ae.apply(this,arguments)}me.listBucketInventory=de},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.putBucketInventory=void 0;var ce=E("../utils/checkBucketName"),le=E("../utils/obj2xml");function de(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ue.default)(te.default.mark(function ie(ne,a){var y,x,b,z,ee,re,se,fe,ve,ge,he,pe=arguments;return te.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return y=pe.length>2&&pe[2]!==void 0?pe[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),ce.checkBucketName(ne),b=a.OSSBucketDestination,z=a.optionalFields,ee=a.includedObjectVersions,re="acs:oss:::",se="acs:ram::".concat(b.accountId,":role/"),fe={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(se).concat(b.rolename),Bucket:"".concat(re).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:ee,OptionalFields:{Field:(z==null?void 0:z.field)||[]}}},ve=le.obj2xml(fe,{headers:!0,firstUpperCase:!0}),ge=this._bucketRequestParams("PUT",ne,x,y),ge.successStatuses=[200],ge.mime="xml",ge.content=ve,Pe.next=14,this.request(ge);case 14:return he=Pe.sent,Pe.abrupt("return",{status:he.status,res:he.res});case 16:case"end":return Pe.stop()}},ie,this)})),ae.apply(this,arguments)}me.putBucketInventory=de},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.array.includes.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=E("../utils/isArray"),ae=de.isArray,ie=E("../utils/deepCopy"),ne=ie.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,z=E("../utils/checkObjectTag"),ee=z.checkObjectTag,re=E("../utils/getStrBytesCount"),se=re.getStrBytesCount,fe=me;fe.putBucketLifecycle=function(){var Se=(0,ue.default)(te.default.mark(function je(we,Oe,Ae){var Fe,ke,He,Me,ut;return te.default.wrap(function(et){for(;;)switch(et.prev=et.next){case 0:if(le(we),ae(Oe)){et.next=3;break}throw new Error("rules must be Array");case 3:return Fe=this._bucketRequestParams("PUT",we,"lifecycle",Ae),ke=[],He={LifecycleConfiguration:{Rule:ke}},Oe.forEach(function(Xe){ve(Xe),pe(Xe),Xe.id&&(Xe.ID=Xe.id,delete Xe.id),ke.push(Xe)}),Me=b(He,{headers:!0,firstUpperCase:!0}),Fe.content=Me,Fe.mime="xml",Fe.successStatuses=[200],et.next=13,this.request(Fe);case 13:return ut=et.sent,et.abrupt("return",{res:ut.res});case 15:case"end":return et.stop()}},je,this)}));function Pe(je,we,Oe){return Se.apply(this,arguments)}return Pe}();function ve(Se){Se.days&&(Se.expiration={days:Se.days}),Se.date&&(Se.expiration={createdBeforeDate:Se.date})}function ge(Se,Pe){var je=Se.days,we=Se.createdBeforeDate;if(!je&&!we)throw new Error("".concat(Pe," must includes days or createdBeforeDate"));if(je&&!/^[1-9][0-9]*$/.test(je))throw new Error("days must be a positive integer");if(we&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(we))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function he(Se){if(!ae(Se)&&!y(Se))throw new Error("tag must be Object or Array");Se=y(Se)?[Se]:Se;var Pe={},je=ne(Se);je.forEach(function(we){Pe[we.key]=we.value}),ee(Pe)}function pe(Se){if(Se.id&&se(Se.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Se.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Se.status))throw new Error("Status must be Enabled or Disabled");if(Se.transition){if(!["IA","Archive"].includes(Se.transition.storageClass))throw new Error("StorageClass must be IA or Archive");ge(Se.transition,"Transition")}if(Se.expiration){if(!Se.expiration.expiredObjectDeleteMarker)ge(Se.expiration,"Expiration");else if(Se.expiration.days||Se.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Se.abortMultipartUpload&&ge(Se.abortMultipartUpload,"AbortMultipartUpload"),!Se.expiration&&!Se.abortMultipartUpload&&!Se.transition&&!Se.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Se.tag){if(Se.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");he(Se.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=E("../utils/obj2xml"),ae=de.obj2xml,ie=me;ie.putBucketVersioning=function(){var ne=(0,ue.default)(te.default.mark(function y(x,b){var z,ee,re,se,fe=arguments;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:if(z=fe.length>2&&fe[2]!==void 0?fe[2]:{},le(x),["Enabled","Suspended"].includes(b)){ge.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return ee=this._bucketRequestParams("PUT",x,"versioning",z),re={VersioningConfiguration:{Status:b}},ee.mime="xml",ee.content=ae(re,{headers:!0}),ge.next=10,this.request(ee);case 10:return se=ge.sent,ge.abrupt("return",{res:se.res,status:se.status});case 12:case"end":return ge.stop()}},y,this)}));function a(y,x){return ne.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277}],23:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=E("../utils/obj2xml"),ae=de.obj2xml,ie=E("../utils/isArray"),ne=ie.isArray,a=me;a.putBucketWebsite=function(){var y=(0,ue.default)(te.default.mark(function b(z){var ee,re,se,fe,ve,ge,he,pe=arguments;return te.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(ee=pe.length>1&&pe[1]!==void 0?pe[1]:{},re=pe.length>2?pe[2]:void 0,le(z),se=this._bucketRequestParams("PUT",z,"website",re),fe={Suffix:ee.index||"index.html"},ve={IndexDocument:fe},ge={WebsiteConfiguration:ve},ee.supportSubDir&&(fe.SupportSubDir=ee.supportSubDir),ee.type&&(fe.Type=ee.type),ee.error&&(ve.ErrorDocument={Key:ee.error}),ee.routingRules===void 0){Pe.next=14;break}if(ne(ee.routingRules)){Pe.next=13;break}throw new Error("RoutingRules must be Array");case 13:ve.RoutingRules={RoutingRule:ee.routingRules};case 14:return ge=ae(ge),se.content=ge,se.mime="xml",se.successStatuses=[200],Pe.next=20,this.request(se);case 20:return he=Pe.sent,Pe.abrupt("return",{res:he.res});case 22:case"end":return Pe.stop()}},b,this)}));function x(b){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(E,ye,me){(function(oe){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),me.encodeCallback=function(ue,ce){if(ue.headers=ue.headers||{},!Object.prototype.hasOwnProperty.call(ue.headers,"x-oss-callback")&&ce.callback){var le={callbackUrl:encodeURI(ce.callback.url),callbackBody:ce.callback.body};ce.callback.host&&(le.callbackHost=ce.callback.host),ce.callback.contentType&&(le.callbackBodyType=ce.callback.contentType);var de=oe.from(JSON.stringify(le)).toString("base64");if(ue.headers["x-oss-callback"]=de,ce.callback.customValue){var ae={};Object.keys(ce.callback.customValue).forEach(function(ie){ae["x:".concat(ie)]=ce.callback.customValue[ie].toString()}),ue.headers["x-oss-callback-var"]=oe.from(JSON.stringify(ae)).toString("base64")}}}}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(E,ye,me){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var oe=function(ne){return ne&&ne.__esModule?ne:{default:ne}};Object.defineProperty(me,"__esModule",{value:!0}),me.getReqUrl=void 0;var te=oe(E("copy-to")),ue=oe(E("url")),ce=oe(E("merge-descriptors")),le=oe(E("is-type-of")),de=E("../utils/isIP"),ae=E("../utils/checkConfigValid");function ie(ne){var a={},y=this.options.cname;ae.checkConfigValid(this.options.endpoint,"endpoint"),te.default(this.options.endpoint,!1).to(a),ne.bucket&&!y&&!de.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(ne.bucket,".").concat(a.host));var x="/";ne.bucket&&this.options.sldEnable&&(x+="".concat(ne.bucket,"/")),ne.object&&(x+=this._escape(ne.object).replace(/\+/g,"%2B")),a.pathname=x;var b={};if(ne.query&&ce.default(b,ne.query),ne.subres){var z={};le.default.string(ne.subres)?z[ne.subres]="":le.default.array(ne.subres)?ne.subres.forEach(function(ee){z[ee]=""}):z=ne.subres,ce.default(b,z)}return a.query=b,ue.default.format(a)}me.getReqUrl=ie},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(E,ye,me){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.string.trim.js");var oe=E("humanize-ms"),te=E("url"),ue=E("../utils/checkBucketName"),ce=ue.checkBucketName,le=E("../utils/setRegion"),de=le.setRegion,ae=E("../utils/checkConfigValid"),ie=ae.checkConfigValid;function ne(a,y){ie(a,"endpoint");var x=te.parse(a);if(x.protocol||(x=te.parse("http".concat(y?"s":"","://").concat(a))),x.protocol!=="http:"&&x.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return x}ye.exports=function(a){if(!a||!a.accessKeyId||!a.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");a.stsToken&&!a.refreshSTSToken&&!a.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),a.bucket&&ce(a.bucket);var y=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},a);if(y.accessKeyId=y.accessKeyId.trim(),y.accessKeySecret=y.accessKeySecret.trim(),y.timeout&&(y.timeout=oe(y.timeout)),y.endpoint)y.endpoint=ne(y.endpoint,y.secure);else if(y.region)y.endpoint=de(y.region,y.internal,y.secure);else throw new Error("require options.endpoint or options.region");return y.inited=!0,y}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(E,ye,me){"use strict";var oe=E("merge-descriptors"),te=me;oe(te,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),le=ce.checkBucketName,de=E("querystring"),ae=E("js-base64"),ie=ae.Base64.encode,ne=me;ne.processObjectSave=function(){var y=(0,ue.default)(te.default.mark(function b(z,ee,re,se){var fe,ve,ge,he;return te.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return a(z,"sourceObject"),a(ee,"targetObject"),a(re,"process"),ee=this._objectName(ee),se&&le(se),fe=this._objectRequestParams("POST",z,{subres:"x-oss-process"}),ve=se?",b_".concat(ie(se)):"",ee=ie(ee),ge={"x-oss-process":"".concat(re,"|sys/saveas,o_").concat(ee).concat(ve)},fe.content=de.stringify(ge),Se.next=12,this.request(fe);case 12:return he=Se.sent,Se.abrupt("return",{res:he.res,status:he.res.status});case 14:case"end":return Se.stop()}},b,this)}));function x(b,z,ee,re){return y.apply(this,arguments)}return x}();function a(y,x){if(!y)throw new Error("".concat(x," is required"));if(typeof y!="string")throw new Error("".concat(x," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.regexp.to-string.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("debug")("ali-oss:multipart-copy"),le=E("copy-to"),de=me;de.uploadPartCopy=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y,x,b,z){var ee,re,se,fe,ve,ge=arguments;return te.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ee=ge.length>5&&ge[5]!==void 0?ge[5]:{},ee.headers=ee.headers||{},re=ee.versionId||ee.subres&&ee.subres.versionId||null,re?se="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey),"?versionId=").concat(re):se="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey)),ee.headers["x-oss-copy-source"]=se,b&&(ee.headers["x-oss-copy-source-range"]="bytes=".concat(b)),ee.subres={partNumber:x,uploadId:y},fe=this._objectRequestParams("PUT",a,ee),fe.mime=ee.mime,fe.successStatuses=[200],pe.next=12,this.request(fe);case 12:return ve=pe.sent,pe.abrupt("return",{name:a,etag:ve.res.headers.etag,res:ve.res});case 14:case"end":return pe.stop()}},ne,this)}));function ie(ne,a,y,x,b){return ae.apply(this,arguments)}return ie}(),de.multipartUploadCopy=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y){var x,b,z,ee,re,se,fe,ve,ge,he,pe,Se,Pe=arguments;return te.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return x=Pe.length>2&&Pe[2]!==void 0?Pe[2]:{},this.resetCancelFlag(),b=x.versionId,z=b===void 0?null:b,ee={versionId:z},we.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,ee);case 6:if(re=we.sent,se=re.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||se,!(x.checkpoint&&x.checkpoint.uploadId)){we.next=14;break}return we.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return we.abrupt("return",we.sent);case 14:if(fe=102400,ve=y.endOffset-y.startOffset,!(ve0)){et.next=40;break}throw ut=He[0],ut.message="Failed to copy some parts with error: ".concat(ut.toString()," part_num: ").concat(ut.partNum),ut;case 40:return et.next=42,this.completeMultipartUpload(ge,fe,ve,x);case 42:return et.abrupt("return",et.sent);case 43:case"end":return et.stop()}},ne,this)}));function ie(ne,a,y){return ae.apply(this,arguments)}return ie}(),de._divideMultipartCopyParts=function(ie,ne,a){for(var y=Math.ceil(ie/ne),x=[],b=0;b `,Se=0;Se `,pe+="".concat(Pe.number,` `),pe+="".concat(Pe.etag,` `),pe+=` `;return pe+="",ge=ge||{},je={},je=ie(ge,function(He){if(a(He))return null}),je.subres={uploadId:fe},je.headers=x(je.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),we=this._objectRequestParams("POST",se,je),de.encodeCallback(we,je),we.mime="xml",we.content=pe,we.headers&&we.headers["x-oss-callback"]||(we.xmlResponse=!0),we.successStatuses=[200],ke.next=17,this.request(we);case 17:if(Oe=ke.sent,!ge.progress){ke.next=21;break}return ke.next=21,ge.progress(1,null,Oe.res);case 21:return Ae={res:Oe.res,bucket:we.bucket,name:se,etag:Oe.res.headers.etag},we.headers&&we.headers["x-oss-callback"]&&(Ae.data=JSON.parse(Oe.data.toString())),ke.abrupt("return",Ae);case 24:case"end":return ke.stop()}},re,this)}));function ee(re,se,fe,ve){return z.apply(this,arguments)}return ee}(),b._uploadPart=function(){var z=(0,ce.default)(ue.default.mark(function re(se,fe,ve,ge,he){var pe,Se,Pe,je;return ue.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return he=he||{},pe={},le(he).to(pe),pe.headers=pe.headers||{},pe.headers["Content-Length"]=ge.size,pe.headers=x(pe.headers,["x-oss-server-side-encryption"]),pe.subres={partNumber:ve,uploadId:fe},Se=this._objectRequestParams("PUT",se,pe),Se.mime=pe.mime,Pe=oe&&oe.browser,Pe?Se.content=ge.content:Se.stream=ge.stream,Se.successStatuses=[200],Se.disabledMD5=he.disabledMD5,Oe.next=15,this.request(Se);case 15:if(je=Oe.sent,je.res.headers.etag){Oe.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS https://help.aliyun.com/document_detail/32069.html`);case 18:return ge.stream&&(ge.stream=null,Se.stream=null),Oe.abrupt("return",{name:se,etag:je.res.headers.etag,res:je.res});case 20:case"end":return Oe.stop()}},re,this)}));function ee(re,se,fe,ve,ge){return z.apply(this,arguments)}return ee}()}).call(this)}).call(this,E("_process"))},{"./callback":24,"./utils/deepCopy":58,"./utils/isBuffer":65,"./utils/omit":73,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],31:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("url"),le=E("utility"),de=E("copy-to"),ae=E("../../common/signUtils"),ie=E("../utils/isIP"),ne=ie.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,z=me;z.asyncSignatureUrl=function(){var ee=(0,ue.default)(te.default.mark(function se(fe,ve){var ge,he,pe,Se,Pe;return te.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(!ne(this.options.endpoint.hostname)){we.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(ve=ve||{},fe=this._objectName(fe),ve.method=ve.method||"GET",ge=le.timestamp()+(ve.expires||1800),he={bucket:this.options.bucket,object:fe},pe=this._getResource(he),!(this.options.stsToken&&b(this.options.refreshSTSToken))){we.next=11;break}return we.next=11,y.call(this);case 11:return this.options.stsToken&&(ve["security-token"]=this.options.stsToken),Se=ae._signatureForURL(this.options.accessKeySecret,ve,pe,ge),Pe=ce.parse(this._getReqUrl(he)),Pe.query={OSSAccessKeyId:this.options.accessKeyId,Expires:ge,Signature:Se.Signature},de(Se.subResource).to(Pe.query),we.abrupt("return",Pe.format());case 17:case"end":return we.stop()}},se,this)}));function re(se,fe){return ee.apply(this,arguments)}return re}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var ue=oe(E("@babel/runtime/helpers/typeof")),ce=oe(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),de=le.checkBucketName,ae=me,ie=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];ae.copy=function(){var ne=(0,ce.default)(te.default.mark(function y(x,b,z,ee){var re,se,fe;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return(0,ue.default)(z)==="object"&&(ee=z),ee=ee||{},ee.headers=ee.headers||{},Object.keys(ee.headers).forEach(function(he){ee.headers["x-oss-copy-source-".concat(he.toLowerCase())]=ee.headers[he]}),(ee.meta||Object.keys(ee.headers).find(function(he){return ie.includes(he.toLowerCase())}))&&(ee.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(ee.meta,ee.headers),b=this._getSourceName(b,z),ee.versionId&&(b="".concat(b,"?versionId=").concat(ee.versionId)),ee.headers["x-oss-copy-source"]=b,re=this._objectRequestParams("PUT",x,ee),re.xmlResponse=!0,re.successStatuses=[200,304],ge.next=14,this.request(re);case 14:return se=ge.sent,fe=se.data,fe&&(fe={etag:fe.ETag,lastModified:fe.LastModified}),ge.abrupt("return",{data:fe,res:se.res});case 18:case"end":return ge.stop()}},y,this)}));function a(y,x,b,z){return ne.apply(this,arguments)}return a}(),ae._getSourceName=function(a,y){return typeof y=="string"?a=this._objectName(a):a[0]!=="/"?y=this.options.bucket:(y=a.replace(/\/(.+?)(\/.*)/,"$1"),a=a.replace(/(\/.+?\/)(.*)/,"$2")),de(y),a=encodeURIComponent(a),a="/".concat(y,"/").concat(a),a}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],33:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=me;ce.delete=function(){var le=(0,ue.default)(te.default.mark(function ae(ie){var ne,a,y,x=arguments;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ne=x.length>1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),a=this._objectRequestParams("DELETE",ie,ne),a.successStatuses=[204],z.next=7,this.request(a);case 7:return y=z.sent,z.abrupt("return",{res:y.res});case 9:case"end":return z.stop()}},ae,this)}));function de(ae){return le.apply(this,arguments)}return de}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("utility"),le=E("../utils/obj2xml"),de=le.obj2xml,ae=me;ae.deleteMulti=function(){var ie=(0,ue.default)(te.default.mark(function a(y){var x,b,z,ee,re,se,fe,ve,ge,he,pe,Se,Pe,je=arguments;return te.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(x=je.length>1&&je[1]!==void 0?je[1]:{},b=[],!(!y||!y.length)){Oe.next=4;break}throw new Error("names is required");case 4:for(z=0;z1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({tagging:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("DELETE",ie,ne),a.successStatuses=[204],z.next=8,this.request(a);case 8:return y=z.sent,z.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return z.stop()}},ae,this)}));function de(ae){return le.apply(this,arguments)}return de}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(E,ye,me){"use strict";E("core-js/modules/es.array.concat.js");var oe=E("url"),te=E("../utils/isIP"),ue=te.isIP,ce=me;ce.generateObjectUrl=function(de,ae){if(ue(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(ae)ae[ae.length-1]!=="/"&&(ae+="/");else{ae=this.options.endpoint.format();var ie=oe.parse(ae),ne=this.options.bucket;ie.hostname="".concat(ne,".").concat(ie.hostname),ie.host="".concat(ne,".").concat(ie.host),ae=ie.format()}return ae+this._escape(this._objectName(de))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,ye,me){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),ue=te(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ce=te(E("@babel/runtime/helpers/asyncToGenerator")),le=E("fs"),de=E("is-type-of"),ae=me;ae.get=function(){var ie=(0,ce.default)(ue.default.mark(function a(y,x){var b,z,ee,re,se,fe,ve,ge,he=arguments;return ue.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return b=he.length>2&&he[2]!==void 0?he[2]:{},z=null,ee=!1,de.writableStream(x)?z=x:de.string(x)?(z=le.createWriteStream(x),ee=!0):b=x,b=b||{},re=oe&&oe.browser,se=b.responseCacheControl===null?"":"no-cache",fe=re&&se?{"response-cache-control":se}:{},b.subres=Object.assign(fe,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),Se.prev=11,ge=this._objectRequestParams("GET",y,b),ge.writeStream=z,ge.successStatuses=[200,206,304],Se.next=17,this.request(ge);case 17:ve=Se.sent,ee&&z.destroy(),Se.next=28;break;case 21:if(Se.prev=21,Se.t0=Se.catch(11),!ee){Se.next=27;break}return z.destroy(),Se.next=27,this._deleteFileSafe(x);case 27:throw Se.t0;case 28:return Se.abrupt("return",{res:ve.res,content:ve.data});case 29:case"end":return Se.stop()}},a,this,[[11,21]])}));function ne(a,y){return ie.apply(this,arguments)}return ne}()}).call(this)}).call(this,E("_process"))},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"core-js/modules/es.object.assign.js":287,fs:89,"is-type-of":466}],38:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=me;ce.getACL=function(){var le=(0,ue.default)(te.default.mark(function ae(ie){var ne,a,y,x=arguments;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ne=x.length>1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({acl:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("GET",ie,ne),a.successStatuses=[200],a.xmlResponse=!0,z.next=9,this.request(a);case 9:return y=z.sent,z.abrupt("return",{acl:y.data.AccessControlList.Grant,owner:{id:y.data.Owner.ID,displayName:y.data.Owner.DisplayName},res:y.res});case 11:case"end":return z.stop()}},ae,this)}));function de(ae){return le.apply(this,arguments)}return de}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=me,le=E("../utils/isObject"),de=le.isObject,ae=E("../utils/isArray"),ie=ae.isArray;ce.getBucketVersions=ne,ce.listObjectVersions=ne;function ne(){return a.apply(this,arguments)}function a(){return a=(0,ue.default)(te.default.mark(function b(){var z,ee,re,se,fe,ve,ge,he,pe=arguments;return te.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(z=pe.length>0&&pe[0]!==void 0?pe[0]:{},ee=pe.length>1&&pe[1]!==void 0?pe[1]:{},!(z.versionIdMarker&&z.keyMarker===void 0)){Pe.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return ee.subres=Object.assign({versions:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),re=this._objectRequestParams("GET","",ee),re.xmlResponse=!0,re.successStatuses=[200],re.query=x(z),Pe.next=12,this.request(re);case 12:return se=Pe.sent,fe=se.data.Version||[],ve=se.data.DeleteMarker||[],ge=this,fe&&(Array.isArray(fe)||(fe=[fe]),fe=fe.map(function(je){return{name:je.Key,url:ge._objectUrl(je.Key),lastModified:je.LastModified,isLatest:je.IsLatest==="true",versionId:je.VersionId,etag:je.ETag,type:je.Type,size:Number(je.Size),storageClass:je.StorageClass,owner:{id:je.Owner.ID,displayName:je.Owner.DisplayName}}})),ve&&(ie(ve)||(ve=[ve]),ve=ve.map(function(je){return{name:je.Key,lastModified:je.LastModified,versionId:je.VersionId,owner:{id:je.Owner.ID,displayName:je.Owner.DisplayName}}})),he=se.data.CommonPrefixes||null,he&&(ie(he)||(he=[he]),he=he.map(function(je){return je.Prefix})),Pe.abrupt("return",{res:se.res,objects:fe,deleteMarker:ve,prefixes:he,nextMarker:se.data.NextKeyMarker||null,NextVersionIdMarker:se.data.NextVersionIdMarker||null,nextKeyMarker:se.data.NextKeyMarker||null,nextVersionIdMarker:se.data.NextVersionIdMarker||null,isTruncated:se.data.IsTruncated==="true"});case 21:case"end":return Pe.stop()}},b,this)})),a.apply(this,arguments)}function y(b){return b.replace(/([A-Z])/g,"-$1").toLowerCase()}function x(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z={};return de(b)&&Object.keys(b).forEach(function(ee){z[y(ee)]=b[ee]}),z}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=me;ce.getObjectMeta=function(){var le=(0,ue.default)(te.default.mark(function ae(ie,ne){var a,y;return te.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ne=ne||{},ie=this._objectName(ie),ne.subres=Object.assign({objectMeta:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),a=this._objectRequestParams("HEAD",ie,ne),a.successStatuses=[200],b.next=8,this.request(a);case 8:return y=b.sent,b.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return b.stop()}},ae,this)}));function de(ae,ie){return le.apply(this,arguments)}return de}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=me,le=E("../utils/isObject"),de=le.isObject;ce.getObjectTagging=function(){var ae=(0,ue.default)(te.default.mark(function ne(a){var y,x,b,z,ee,re,se=arguments;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return y=se.length>1&&se[1]!==void 0?se[1]:{},y.subres=Object.assign({tagging:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),a=this._objectName(a),x=this._objectRequestParams("GET",a,y),x.successStatuses=[200],ve.next=8,this.request(x);case 8:return b=ve.sent,ve.next=11,this.parseXML(b.data);case 11:return z=ve.sent,ee=z.TagSet.Tag,ee=ee&&de(ee)?[ee]:ee||[],re={},ee.forEach(function(ge){re[ge.Key]=ge.Value}),ve.abrupt("return",{status:b.status,res:b.res,tag:re});case 17:case"end":return ve.stop()}},ne,this)}));function ie(ne){return ae.apply(this,arguments)}return ie}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(E,ye,me){"use strict";var oe=E("../utils/isIP"),te=oe.isIP,ue=me;ue.getObjectUrl=function(le,de){if(te(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return de?de[de.length-1]!=="/"&&(de+="/"):de=this.options.endpoint.format(),de+this._escape(this._objectName(le))}},{"../utils/isIP":69}],43:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=me;ce.getSymlink=function(){var le=(0,ue.default)(te.default.mark(function ae(ie){var ne,a,y,x,b=arguments;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ne=b.length>1&&b[1]!==void 0?b[1]:{},ne.subres=Object.assign({symlink:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("GET",ie,ne),a.successStatuses=[200],ee.next=8,this.request(a);case 8:return y=ee.sent,x=y.res.headers["x-oss-symlink-target"],ee.abrupt("return",{targetName:decodeURIComponent(x),res:y.res});case 11:case"end":return ee.stop()}},ae,this)}));function de(ae){return le.apply(this,arguments)}return de}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkEnv"),le=ce.checkEnv,de=me;de.head=function(){var ae=(0,ue.default)(te.default.mark(function ne(a){var y,x,b,z,ee=arguments;return te.default.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return y=ee.length>1&&ee[1]!==void 0?ee[1]:{},le("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),y.subres=Object.assign({},y.subres),y.versionId&&(y.subres.versionId=y.versionId),x=this._objectRequestParams("HEAD",a,y),x.successStatuses=[200,304],se.next=8,this.request(x);case 8:return b=se.sent,z={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(fe){fe.indexOf("x-oss-meta-")===0&&(z.meta||(z.meta={}),z.meta[fe.substring(11)]=b.headers[fe])}),se.abrupt("return",z);case 12:case"end":return se.stop()}},ne,this)}));function ie(ne){return ae.apply(this,arguments)}return ie}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=me;ce.putACL=function(){var le=(0,ue.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.subres=Object.assign({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.headers=a.headers||{},a.headers["x-oss-object-acl"]=ne,ie=this._objectName(ie),y=this._objectRequestParams("PUT",ie,a),y.successStatuses=[200],z.next=10,this.request(y);case 10:return x=z.sent,z.abrupt("return",{res:x.res});case 12:case"end":return z.stop()}},ae,this)}));function de(ae,ie,ne){return le.apply(this,arguments)}return de}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.object.keys.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/obj2xml"),le=ce.obj2xml,de=E("../utils/checkObjectTag"),ae=de.checkObjectTag,ie=me;ie.putObjectTagging=function(){var ne=(0,ue.default)(te.default.mark(function y(x,b){var z,ee,re,se,fe=arguments;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return z=fe.length>2&&fe[2]!==void 0?fe[2]:{},ae(b),z.subres=Object.assign({tagging:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),x=this._objectName(x),ee=this._objectRequestParams("PUT",x,z),ee.successStatuses=[200],b=Object.keys(b).map(function(he){return{Key:he,Value:b[he]}}),re={Tagging:{TagSet:{Tag:b}}},ee.mime="xml",ee.content=le(re),ge.next=13,this.request(ee);case 13:return se=ge.sent,ge.abrupt("return",{res:se.res,status:se.status});case 15:case"end":return ge.stop()}},y,this)}));function a(y,x){return ne.apply(this,arguments)}return a}()},{"../utils/checkObjectTag":54,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290}],47:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=me;ce.putSymlink=function(){var le=(0,ue.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.headers=a.headers||{},ne=this._escape(this._objectName(ne)),this._convertMetaToHeaders(a.meta,a.headers),a.headers["x-oss-symlink-target"]=ne,a.subres=Object.assign({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.storageClass&&(a.headers["x-oss-storage-class"]=a.storageClass),ie=this._objectName(ie),y=this._objectRequestParams("PUT",ie,a),y.successStatuses=[200],z.next=13,this.request(y);case 13:return x=z.sent,z.abrupt("return",{res:x.res});case 15:case"end":return z.stop()}},ae,this)}));function de(ae,ie,ne){return le.apply(this,arguments)}return de}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(E,ye,me){"use strict";var oe=E("url"),te=E("utility"),ue=E("copy-to"),ce=E("../../common/signUtils"),le=E("../utils/isIP"),de=le.isIP,ae=me;ae.signatureUrl=function(ne,a){if(de(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},ne=this._objectName(ne),a.method=a.method||"GET";var y=te.timestamp()+(a.expires||1800),x={bucket:this.options.bucket,object:ne},b=this._getResource(x);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var z=ce._signatureForURL(this.options.accessKeySecret,a,b,y),ee=oe.parse(this._getReqUrl(x));return ee.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:z.Signature},ue(z.subResource).to(ee.query),ee.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.function.name.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("./utils/isArray"),le=ce.isArray,de=me;de._parallelNode=function(){var ae=(0,ue.default)(te.default.mark(function ne(a,y,x,b){var z,ee,re,se,fe,ve,ge,he;return te.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:z=this,ee=[],re=[],se=a.length/y,fe=a.length%y,ve=fe===0?se:(a.length-fe)/y+1,ge=1,he=0;case 8:if(!(he0){se=!0,fe<=0&&x(b);return}fe+=1,he(Se.value,z(ge))}ve=!1}pe()})},de.cancel=function(ie){this.options.cancelFlag=!0,le(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(ne){if(ne.destroyed===!1){var a={name:"cancel",message:"cancel"};ne.destroy(a)}}),this.multipartUploadStreams=[],ie&&this.abortMultipartUpload(ie.name,ie.uploadId,ie.options)},de.isCancel=function(){return this.options.cancelFlag},de.resetCancelFlag=function(){this.options.cancelFlag=!1},de._stop=function(){this.options.cancelFlag=!0},de._makeCancelEvent=function(){var ie={status:0,name:"cancel"};return ie},de._makeAbortEvent=function(){var ie={status:0,name:"abort",message:"upload task has been abort"};return ie}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(E,ye,me){(function(oe){(function(){"use strict";E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.array.sort.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js");var te=E("./../../shims/crypto/crypto.js"),ue=E("is-type-of"),ce=E("./utils/lowercaseKeyHeader"),le=ce.lowercaseKeyHeader;me.buildCanonicalizedResource=function(ae,ie){var ne="".concat(ae),a="?";if(ue.string(ie)&&ie.trim()!=="")ne+=a+ie;else if(ue.array(ie))ie.sort(),ne+=a+ie.join("&");else if(ie){var y=function(z,ee){return z[0]>ee[0]?1:z[0]2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=te.createHmac("sha1",ae);return a.update(oe.from(ie,ne)).digest("base64")},me.authorization=function(ae,ie,ne,a){return"OSS ".concat(ae,":").concat(this.computeSignature(ie,ne,a))},me._signatureForURL=function(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ne=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,y=arguments.length>4?arguments[4]:void 0,x={},b=ie.subResource,z=b===void 0?{}:b;if(ie.process){var ee="x-oss-process";z[ee]=ie.process}if(ie.trafficLimit){var re="x-oss-traffic-limit";z[re]=ie.trafficLimit}if(ie.response&&Object.keys(ie.response).forEach(function(ge){var he="response-".concat(ge.toLowerCase());z[he]=ie.response[ge]}),Object.keys(ie).forEach(function(ge){var he=ge.toLowerCase(),pe=ie[ge];he.indexOf("x-oss-")===0?x[he]=pe:(he.indexOf("content-md5")===0||he.indexOf("content-type")===0)&&(x[ge]=pe)}),Object.prototype.hasOwnProperty.call(ie,"security-token")&&(z["security-token"]=ie["security-token"]),Object.prototype.hasOwnProperty.call(ie,"callback")){var se={callbackUrl:encodeURI(ie.callback.url),callbackBody:ie.callback.body};if(ie.callback.host&&(se.callbackHost=ie.callback.host),ie.callback.contentType&&(se.callbackBodyType=ie.callback.contentType),z.callback=oe.from(JSON.stringify(se)).toString("base64"),ie.callback.customValue){var fe={};Object.keys(ie.callback.customValue).forEach(function(ge){fe["x:".concat(ge)]=ie.callback.customValue[ge]}),z["callback-var"]=oe.from(JSON.stringify(fe)).toString("base64")}}var ve=this.buildCanonicalString(ie.method,ne,{headers:x,parameters:z},a.toString());return{Signature:this.computeSignature(ae,ve,y),subResource:z}}}).call(this)}).call(this,E("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(E,ye,me){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.checkBucketName=void 0,me.checkBucketName=function(oe){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ue=te?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!ue.test(oe))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,ye,me){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.checkConfigValid=void 0;var oe={endpoint:te,region:/^[a-zA-Z0-9\-_]+$/};function te(ue){return typeof ue=="string"?/^[a-zA-Z0-9._:/-]+$/.test(ue):ue.host?/^[a-zA-Z0-9._:/-]+$/.test(ue.host):!1}me.checkConfigValid=function(ue,ce){if(oe[ce]){var le=!0;if(oe[ce]instanceof Function?le=oe[ce](ue):le=oe[ce].test(ue),!le)throw new Error("The ".concat(ce," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,ye,me){(function(oe){(function(){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.checkEnv=void 0;function te(ue){oe.browser&&console.warn(ue)}me.checkEnv=te}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,ye,me){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.checkObjectTag=void 0;var oe=E("./checkValid"),te=oe.checkValid,ue=E("./isObject"),ce=ue.isObject,le=[{validator:function(ne){if(typeof ne!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],de={key:[].concat(le,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(le,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function ae(ie){if(!ce(ie))throw new Error("tag must be Object");var ne=Object.entries(ie);if(ne.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];ne.forEach(function(y){y.forEach(function(x,b){te(x,de[a[b]])})})}me.checkObjectTag=ae},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(E,ye,me){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.checkValid=void 0;function oe(te,ue){ue.forEach(function(ce){if(ce.validator)ce.validator(te);else if(ce.pattern&&!ce.pattern.test(te))throw new Error(ce.msg)})}me.checkValid=oe},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(E,ye,me){(function(oe){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.createRequest=void 0;var te=E("./../../../shims/crypto/crypto.js"),ue=E("debug")("ali-oss"),ce=E("mime"),le=E("dateformat"),de=E("copy-to"),ae=E("path"),ie=E("./encoder"),ne=ie.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,z=E("../client/getReqUrl"),ee=z.getReqUrl,re=E("./isDingTalk"),se=re.isDingTalk;function fe(he,pe){return he[pe]||he[pe.toLowerCase()]}function ve(he,pe){delete he[pe],delete he[pe.toLowerCase()]}function ge(he){var pe=new Date;this.options.amendTimeSkewed&&(pe=+new Date+this.options.amendTimeSkewed);var Se={"x-oss-date":le(pe,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Se["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Se["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Se,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Se["x-oss-security-token"]=this.options.stsToken),de(he.headers).to(Se),fe(Se,"Content-Type")||(he.mime&&he.mime.indexOf("/")>0?Se["Content-Type"]=he.mime:se()?Se["Content-Type"]="application/octet-stream":Se["Content-Type"]=ce.getType(he.mime||ae.extname(he.object||""))),fe(Se,"Content-Type")||ve(Se,"Content-Type"),he.content&&(he.disabledMD5||(!he.headers||!he.headers["Content-MD5"]?Se["Content-MD5"]=te.createHash("md5").update(oe.from(he.content,"utf8")).digest("base64"):Se["Content-MD5"]=he.headers["Content-MD5"]),Se["Content-Length"]||(Se["Content-Length"]=he.content.length));var Pe=Object.prototype.hasOwnProperty;for(var je in Se)Se[je]&&Pe.call(Se,je)&&(Se[je]=ne(String(Se[je]),this.options.headerEncoding));var we=this._getResource(he);if(Se.authorization=this.authorization(he.method,we,he.subres,Se,this.options.headerEncoding),y(this.options.endpoint.hostname)){var Oe=this.options,Ae=Oe.region,Fe=Oe.internal,ke=Oe.secure,He=b(Ae,Fe,ke);Se.host="".concat(he.bucket,".").concat(He.host)}var Me=ee.bind(this)(he);ue("request %s %s, with headers %j, !!stream: %s",he.method,Me,Se,!!he.stream);var ut=he.timeout||this.options.timeout,rt={method:he.method,content:he.content,stream:he.stream,headers:Se,timeout:ut,writeStream:he.writeStream,customResponse:he.customResponse,ctx:he.ctx||this.ctx};return this.agent&&(rt.agent=this.agent),this.httpsAgent&&(rt.httpsAgent=this.httpsAgent),rt.enableProxy=!!this.options.enableProxy,rt.proxy=this.options.proxy?this.options.proxy:null,{url:Me,params:rt}}me.createRequest=ge}).call(this)}).call(this,E("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(E,ye,me){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.dataFix=void 0;var oe=E("./isObject"),te=["true","TRUE","1",1],ue=["false","FALSE","0",0];function ce(ae,ie,ne){if(oe.isObject(ae)){var a=ie.remove,y=a===void 0?[]:a,x=ie.rename,b=x===void 0?{}:x,z=ie.camel,ee=z===void 0?[]:z,re=ie.bool,se=re===void 0?[]:re,fe=ie.lowerFirst,ve=fe===void 0?!1:fe;return y.forEach(function(ge){return delete ae[ge]}),Object.entries(b).forEach(function(ge){ae[ge[0]]&&(ae[ge[1]]||(ae[ge[1]]=ae[ge[0]],delete ae[ge[0]]))}),ee.forEach(function(ge){if(ae[ge]){var he=ge.replace(/^(.)/,function(pe){return pe.toLowerCase()}).replace(/-(\w)/g,function(pe,Se){return Se.toUpperCase()});ae[he]||(ae[he]=ae[ge])}}),se.forEach(function(ge){ae[ge]=le(ae[ge])}),typeof ne=="function"&&ne(ae),de(ae,ve),ce}}me.dataFix=ce;function le(ae){return ae?te.includes(ae)?!0:ue.includes(ae)?!1:ae:!1}function de(ae,ie){ie&&Object.keys(ae).forEach(function(ne){var a=ne.replace(/^\w/,function(y){return y.toLowerCase()});typeof ae[a]=="undefined"&&(ae[a]=ae[ne],delete ae[ne])})}},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var te=oe(E("@babel/runtime/helpers/typeof"));Object.defineProperty(me,"__esModule",{value:!0}),me.deepCopyWith=me.deepCopy=void 0;var ue=E("./isBuffer");me.deepCopy=function(ce){if(ce===null||(0,te.default)(ce)!=="object")return ce;if(ue.isBuffer(ce))return ce.slice();var le=Array.isArray(ce)?[]:{};return Object.keys(ce).forEach(function(de){le[de]=me.deepCopy(ce[de])}),le},me.deepCopyWith=function(ce,le){function de(ae,ie,ne){var a=le(ae,ie,ne);if(a!==void 0)return a;if(ae===null||(0,te.default)(ae)!=="object")return ae;if(ue.isBuffer(ae))return ae.slice();var y=Array.isArray(ae)?[]:{};return Object.keys(ae).forEach(function(x){y[x]=de(ae[x],x,ae)}),y}return le?de(ce,"",null):me.deepCopy(ce)}},{"./isBuffer":65,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],59:[function(E,ye,me){(function(oe){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.encoder=void 0;function te(ue){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return ce==="utf-8"?ue:oe.from(ue).toString("latin1")}me.encoder=te}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(E,ye,me){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.formatInventoryConfig=void 0;var oe=E("../utils/dataFix"),te=E("../utils/isObject"),ue=E("../utils/isArray"),ce=E("../utils/formatObjKey");function le(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ie&&te.isObject(ae)&&(ae=[ae]),ue.isArray(ae)?ae=ae.map(de):ae=de(ae),ae}me.formatInventoryConfig=le;function de(ae){return oe.dataFix(ae,{bool:["IsEnabled"]},function(ie){var ne,a;ie.prefix=ie.Filter.Prefix,delete ie.Filter,ie.OSSBucketDestination=ie.Destination.OSSBucketDestination,ie.OSSBucketDestination.rolename=ie.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete ie.OSSBucketDestination.RoleArn,ie.OSSBucketDestination.bucket=ie.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete ie.OSSBucketDestination.Bucket,delete ie.Destination,ie.frequency=ie.Schedule.Frequency,delete ie.Schedule.Frequency,!((ne=ie==null?void 0:ie.OptionalFields)===null||ne===void 0)&&ne.Field&&!ue.isArray((a=ie.OptionalFields)===null||a===void 0?void 0:a.Field)&&(ie.OptionalFields.Field=[ie.OptionalFields.Field])}),ae=ce.formatObjKey(ae,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),ae}},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var te=oe(E("@babel/runtime/helpers/typeof"));Object.defineProperty(me,"__esModule",{value:!0}),me.formatObjKey=void 0;function ue(le,de,ae){if(le===null||(0,te.default)(le)!=="object")return le;var ie;if(Array.isArray(le)){ie=[];for(var ne=0;ne `),le&&le.firstUpperCase&&(ce=oe.formatObjKey(ce,"firstUpperCase")),te(ce)==="object"?Object.keys(ce).forEach(function(ae){te(ce[ae])!=="undefined"&&te(ce[ae])!=="null"&&(te(ce[ae])==="string"||te(ce[ae])==="number"?de+="<".concat(ae,">").concat(ce[ae],""):te(ce[ae])==="object"?de+="<".concat(ae,">").concat(ue(ce[ae]),""):te(ce[ae])==="array"?de+=ce[ae].map(function(ie){return"<".concat(ae,">").concat(ue(ie),"")}).join(""):de+="<".concat(ae,">").concat(ce[ae].toString(),""))}):de+=ce.toString(),de}me.obj2xml=ue},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(E,ye,me){"use strict";E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.symbol.iterator.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/es.object.assign.js");function oe(le,de){var ae=typeof Symbol!="undefined"&&le[Symbol.iterator]||le["@@iterator"];if(!ae){if(Array.isArray(le)||(ae=te(le))||de&&le&&typeof le.length=="number"){ae&&(le=ae);var ie=0,ne=function(){};return{s:ne,n:function(){return ie>=le.length?{done:!0}:{done:!1,value:le[ie++]}},e:function(z){throw z},f:ne}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,y=!1,x;return{s:function(){ae=ae.call(le)},n:function(){var z=ae.next();return a=z.done,z},e:function(z){y=!0,x=z},f:function(){try{!a&&ae.return!=null&&ae.return()}finally{if(y)throw x}}}}function te(le,de){if(le){if(typeof le=="string")return ue(le,de);var ae=Object.prototype.toString.call(le).slice(8,-1);if(ae==="Object"&&le.constructor&&(ae=le.constructor.name),ae==="Map"||ae==="Set")return Array.from(le);if(ae==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ae))return ue(le,de)}}function ue(le,de){(de==null||de>le.length)&&(de=le.length);for(var ae=0,ie=new Array(de);ae2&&arguments[2]!==void 0?arguments[2]:{},le=0,de=ce.retryDelay,ae=de===void 0?500:de,ie=ce.errorHandler,ne=ie===void 0?function(){return!0}:ie,a=function y(){for(var x=arguments.length,b=new Array(x),z=0;z1&&arguments[1]!==void 0?arguments[1]:!1,ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ue.checkConfigValid(le,"region");var ie=ae?"https://":"http://",ne=de?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return le.substr(0,a.length)===a&&(ne=".aliyuncs.com"),te.default.parse(ie+le+ne)}me.setRegion=ce},{"./checkConfigValid":52,url:472}],76:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.object.assign.js");var ue=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.checkCredentials=me.setSTSToken=void 0;var ce=E("./formatObjKey");function le(){return de.apply(this,arguments)}function de(){return de=(0,ue.default)(te.default.mark(function ie(){var ne,a;return te.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),ne=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+ne-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=ne,x.next=7,this.options.refreshSTSToken();case 7:a=x.sent,a=ce.formatObjKey(a,"firstLowerCase"),a.securityToken&&(a.stsToken=a.securityToken),ae(a),Object.assign(this.options,a);case 12:x.next=15;break;case 14:this.stsTokenFreshTime=ne;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},ie,this)})),de.apply(this,arguments)}me.setSTSToken=le;function ae(ie){var ne=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(ie);ne.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}me.checkCredentials=ae},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(E,ye,me){function oe(ue,ce,le,de,ae,ie,ne){try{var a=ue[ie](ne),y=a.value}catch(x){le(x);return}a.done?ce(y):Promise.resolve(y).then(de,ae)}function te(ue){return function(){var ce=this,le=arguments;return new Promise(function(de,ae){var ie=ue.apply(ce,le);function ne(y){oe(ie,de,ae,ne,a,"next",y)}function a(y){oe(ie,de,ae,ne,a,"throw",y)}ne(void 0)})}}ye.exports=te,ye.exports.__esModule=!0,ye.exports.default=ye.exports},{}],78:[function(E,ye,me){function oe(te){return te&&te.__esModule?te:{default:te}}ye.exports=oe,ye.exports.__esModule=!0,ye.exports.default=ye.exports},{}],79:[function(E,ye,me){function oe(te){"@babel/helpers - typeof";return ye.exports=oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ue){return typeof ue}:function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue},ye.exports.__esModule=!0,ye.exports.default=ye.exports,oe(te)}ye.exports=oe,ye.exports.__esModule=!0,ye.exports.default=ye.exports},{}],80:[function(E,ye,me){ye.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,ye,me){ye.exports=oe,ye.exports.HttpsAgent=oe;function oe(){}},{}],82:[function(E,ye,me){(function(oe){(function(){"use strict";var te=E("object-assign");function ue(Ae,Fe){if(Ae===Fe)return 0;for(var ke=Ae.length,He=Fe.length,Me=0,ut=Math.min(ke,He);Me=0){var et=Me.indexOf(` `,rt+1);Me=Me.substring(et+1)}this.stack=Me}}},le.inherits(y.AssertionError,Error);function z(Ae,Fe){return typeof Ae=="string"?Ae.length=0;_e--)if(rt[_e]!==et[_e])return!1;for(_e=rt.length-1;_e>=0;_e--)if(Xe=rt[_e],!ve(Ae[Xe],Fe[Xe],ke,He))return!1;return!0}y.notDeepEqual=function(Fe,ke,He){ve(Fe,ke,!1)&&se(Fe,ke,He,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=pe;function pe(Ae,Fe,ke){ve(Ae,Fe,!0)&&se(Ae,Fe,ke,"notDeepStrictEqual",pe)}y.strictEqual=function(Fe,ke,He){Fe!==ke&&se(Fe,ke,He,"===",y.strictEqual)},y.notStrictEqual=function(Fe,ke,He){Fe===ke&&se(Fe,ke,He,"!==",y.notStrictEqual)};function Se(Ae,Fe){if(!Ae||!Fe)return!1;if(Object.prototype.toString.call(Fe)=="[object RegExp]")return Fe.test(Ae);try{if(Ae instanceof Fe)return!0}catch(ke){}return Error.isPrototypeOf(Fe)?!1:Fe.call({},Ae)===!0}function Pe(Ae){var Fe;try{Ae()}catch(ke){Fe=ke}return Fe}function je(Ae,Fe,ke,He){var Me;if(typeof Fe!="function")throw new TypeError('"block" argument must be a function');typeof ke=="string"&&(He=ke,ke=null),Me=Pe(Fe),He=(ke&&ke.name?" ("+ke.name+").":".")+(He?" "+He:"."),Ae&&!Me&&se(Me,ke,"Missing expected exception"+He);var ut=typeof He=="string",rt=!Ae&&le.isError(Me),et=!Ae&&Me&&!ke;if((rt&&ut&&Se(Me,ke)||et)&&se(Me,ke,"Got unwanted exception"+He),Ae&&Me&&ke&&!Se(Me,ke)||!Ae&&Me)throw Me}y.throws=function(Ae,Fe,ke){je(!0,Ae,Fe,ke)},y.doesNotThrow=function(Ae,Fe,ke){je(!1,Ae,Fe,ke)},y.ifError=function(Ae){if(Ae)throw Ae};function we(Ae,Fe){Ae||se(Ae,!0,Fe,"==",we)}y.strict=te(we,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var Oe=Object.keys||function(Ae){var Fe=[];for(var ke in Ae)de.call(Ae,ke)&&Fe.push(ke);return Fe}}).call(this)}).call(this,typeof wt!="undefined"?wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,ye,me){typeof Object.create=="function"?ye.exports=function(te,ue){te.super_=ue,te.prototype=Object.create(ue.prototype,{constructor:{value:te,enumerable:!1,writable:!0,configurable:!0}})}:ye.exports=function(te,ue){te.super_=ue;var ce=function(){};ce.prototype=ue.prototype,te.prototype=new ce,te.prototype.constructor=te}},{}],84:[function(E,ye,me){ye.exports=function(te){return te&&typeof te=="object"&&typeof te.copy=="function"&&typeof te.fill=="function"&&typeof te.readUInt8=="function"}},{}],85:[function(E,ye,me){(function(oe,te){(function(){var ue=/%[sdj%]/g;me.format=function(et){if(!he(et)){for(var Xe=[],_e=0;_e=Be)return ft;switch(ft){case"%s":return String($e[_e++]);case"%d":return Number($e[_e++]);case"%j":try{return JSON.stringify($e[_e++])}catch(Ke){return"[Circular]"}default:return ft}}),Je=$e[_e];_e=3&&(_e.depth=arguments[2]),arguments.length>=4&&(_e.colors=arguments[3]),se(Xe)?_e.showHidden=Xe:Xe&&me._extend(_e,Xe),Se(_e.showHidden)&&(_e.showHidden=!1),Se(_e.depth)&&(_e.depth=2),Se(_e.colors)&&(_e.colors=!1),Se(_e.customInspect)&&(_e.customInspect=!0),_e.colors&&(_e.stylize=ae),a(_e,et,_e.depth)}me.inspect=de,de.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]},de.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ae(et,Xe){var _e=de.styles[Xe];return _e?"\x1B["+de.colors[_e][0]+"m"+et+"\x1B["+de.colors[_e][1]+"m":et}function ie(et,Xe){return et}function ne(et){var Xe={};return et.forEach(function(_e,$e){Xe[_e]=!0}),Xe}function a(et,Xe,_e){if(et.customInspect&&Xe&&Ae(Xe.inspect)&&Xe.inspect!==me.inspect&&!(Xe.constructor&&Xe.constructor.prototype===Xe)){var $e=Xe.inspect(_e,et);return he($e)||($e=a(et,$e,_e)),$e}var Be=y(et,Xe);if(Be)return Be;var nt=Object.keys(Xe),Je=ne(nt);if(et.showHidden&&(nt=Object.getOwnPropertyNames(Xe)),Oe(Xe)&&(nt.indexOf("message")>=0||nt.indexOf("description")>=0))return x(Xe);if(nt.length===0){if(Ae(Xe)){var ft=Xe.name?": "+Xe.name:"";return et.stylize("[Function"+ft+"]","special")}if(Pe(Xe))return et.stylize(RegExp.prototype.toString.call(Xe),"regexp");if(we(Xe))return et.stylize(Date.prototype.toString.call(Xe),"date");if(Oe(Xe))return x(Xe)}var Ke="",Ue=!1,Le=["{","}"];if(re(Xe)&&(Ue=!0,Le=["[","]"]),Ae(Xe)){var ze=Xe.name?": "+Xe.name:"";Ke=" [Function"+ze+"]"}if(Pe(Xe)&&(Ke=" "+RegExp.prototype.toString.call(Xe)),we(Xe)&&(Ke=" "+Date.prototype.toUTCString.call(Xe)),Oe(Xe)&&(Ke=" "+x(Xe)),nt.length===0&&(!Ue||Xe.length==0))return Le[0]+Ke+Le[1];if(_e<0)return Pe(Xe)?et.stylize(RegExp.prototype.toString.call(Xe),"regexp"):et.stylize("[Object]","special");et.seen.push(Xe);var Ee;return Ue?Ee=b(et,Xe,_e,Je,nt):Ee=nt.map(function(Re){return z(et,Xe,_e,Je,Re,Ue)}),et.seen.pop(),ee(Ee,Ke,Le)}function y(et,Xe){if(Se(Xe))return et.stylize("undefined","undefined");if(he(Xe)){var _e="'"+JSON.stringify(Xe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return et.stylize(_e,"string")}if(ge(Xe))return et.stylize(""+Xe,"number");if(se(Xe))return et.stylize(""+Xe,"boolean");if(fe(Xe))return et.stylize("null","null")}function x(et){return"["+Error.prototype.toString.call(et)+"]"}function b(et,Xe,_e,$e,Be){for(var nt=[],Je=0,ft=Xe.length;Je-1&&(nt?ft=ft.split(` `).map(function(Ue){return" "+Ue}).join(` `).substr(2):ft=` `+ft.split(` `).map(function(Ue){return" "+Ue}).join(` `))):ft=et.stylize("[Circular]","special")),Se(Je)){if(nt&&Be.match(/^\d+$/))return ft;Je=JSON.stringify(""+Be),Je.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Je=Je.substr(1,Je.length-2),Je=et.stylize(Je,"name")):(Je=Je.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Je=et.stylize(Je,"string"))}return Je+": "+ft}function ee(et,Xe,_e){var $e=0,Be=et.reduce(function(nt,Je){return $e++,Je.indexOf(` `)>=0&&$e++,nt+Je.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Be>60?_e[0]+(Xe===""?"":Xe+` `)+" "+et.join(`, `)+" "+_e[1]:_e[0]+Xe+" "+et.join(", ")+" "+_e[1]}function re(et){return Array.isArray(et)}me.isArray=re;function se(et){return typeof et=="boolean"}me.isBoolean=se;function fe(et){return et===null}me.isNull=fe;function ve(et){return et==null}me.isNullOrUndefined=ve;function ge(et){return typeof et=="number"}me.isNumber=ge;function he(et){return typeof et=="string"}me.isString=he;function pe(et){return typeof et=="symbol"}me.isSymbol=pe;function Se(et){return et===void 0}me.isUndefined=Se;function Pe(et){return je(et)&&ke(et)==="[object RegExp]"}me.isRegExp=Pe;function je(et){return typeof et=="object"&&et!==null}me.isObject=je;function we(et){return je(et)&&ke(et)==="[object Date]"}me.isDate=we;function Oe(et){return je(et)&&(ke(et)==="[object Error]"||et instanceof Error)}me.isError=Oe;function Ae(et){return typeof et=="function"}me.isFunction=Ae;function Fe(et){return et===null||typeof et=="boolean"||typeof et=="number"||typeof et=="string"||typeof et=="symbol"||typeof et=="undefined"}me.isPrimitive=Fe,me.isBuffer=E("./support/isBuffer");function ke(et){return Object.prototype.toString.call(et)}function He(et){return et<10?"0"+et.toString(10):et.toString(10)}var Me=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ut(){var et=new Date,Xe=[He(et.getHours()),He(et.getMinutes()),He(et.getSeconds())].join(":");return[et.getDate(),Me[et.getMonth()],Xe].join(" ")}me.log=function(){console.log("%s - %s",ut(),me.format.apply(me,arguments))},me.inherits=E("inherits"),me._extend=function(et,Xe){if(!Xe||!je(Xe))return et;for(var _e=Object.keys(Xe),$e=_e.length;$e--;)et[_e[$e]]=Xe[_e[$e]];return et};function rt(et,Xe){return Object.prototype.hasOwnProperty.call(et,Xe)}}).call(this)}).call(this,E("_process"),typeof wt!="undefined"?wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,ye,me){(function(oe){(function(){"use strict";var te=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ue=typeof globalThis=="undefined"?oe:globalThis;ye.exports=function(){for(var le=[],de=0;de0)throw new Error("Invalid string. Length must be a multiple of 4");var re=z.indexOf("=");re===-1&&(re=ee);var se=re===ee?0:4-re%4;return[re,se]}function ie(z){var ee=ae(z),re=ee[0],se=ee[1];return(re+se)*3/4-se}function ne(z,ee,re){return(ee+re)*3/4-re}function a(z){var ee,re=ae(z),se=re[0],fe=re[1],ve=new ue(ne(z,se,fe)),ge=0,he=fe>0?se-4:se,pe;for(pe=0;pe>16&255,ve[ge++]=ee>>8&255,ve[ge++]=ee&255;return fe===2&&(ee=te[z.charCodeAt(pe)]<<2|te[z.charCodeAt(pe+1)]>>4,ve[ge++]=ee&255),fe===1&&(ee=te[z.charCodeAt(pe)]<<10|te[z.charCodeAt(pe+1)]<<4|te[z.charCodeAt(pe+2)]>>2,ve[ge++]=ee>>8&255,ve[ge++]=ee&255),ve}function y(z){return oe[z>>18&63]+oe[z>>12&63]+oe[z>>6&63]+oe[z&63]}function x(z,ee,re){for(var se,fe=[],ve=ee;vehe?he:ge+ve));return se===1?(ee=z[re-1],fe.push(oe[ee>>2]+oe[ee<<4&63]+"==")):se===2&&(ee=(z[re-2]<<8)+z[re-1],fe.push(oe[ee>>10]+oe[ee>>4&63]+oe[ee<<2&63]+"=")),fe.join("")}},{}],88:[function(E,ye,me){(function(oe,te,ue){typeof ye!="undefined"&&ye.exports?ye.exports=ue():typeof be=="function"&&be.amd?be(te,ue):oe[te]=ue()})(this,"bowser",function(){var oe=!0;function te(ne){function a(Xe){var _e=ne.match(Xe);return _e&&_e.length>1&&_e[1]||""}function y(Xe){var _e=ne.match(Xe);return _e&&_e.length>1&&_e[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(ne),z=!b&&/android/i.test(ne),ee=/nexus\s*[0-6]\s*/i.test(ne),re=!ee&&/nexus\s*[0-9]+/i.test(ne),se=/CrOS/.test(ne),fe=/silk/i.test(ne),ve=/sailfish/i.test(ne),ge=/tizen/i.test(ne),he=/(web|hpw)(o|0)s/i.test(ne),pe=/windows phone/i.test(ne),Se=/SamsungBrowser/i.test(ne),Pe=!pe&&/windows/i.test(ne),je=!x&&!fe&&/macintosh/i.test(ne),we=!z&&!ve&&!ge&&!he&&/linux/i.test(ne),Oe=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Ae=a(/version\/(\d+(\.\d+)?)/i),Fe=/tablet/i.test(ne)&&!/tablet pc/i.test(ne),ke=!Fe&&/[^-]mobi/i.test(ne),He=/xbox/i.test(ne),Me;/opera/i.test(ne)?Me={name:"Opera",opera:oe,version:Ae||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ne)?Me={name:"Opera",opera:oe,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Ae}:/SamsungBrowser/i.test(ne)?Me={name:"Samsung Internet for Android",samsungBrowser:oe,version:Ae||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ne)?Me={name:"NAVER Whale browser",whale:oe,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ne)?Me={name:"MZ Browser",mzbrowser:oe,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ne)?Me={name:"Opera Coast",coast:oe,version:Ae||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ne)?Me={name:"Focus",focus:oe,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ne)?Me={name:"Yandex Browser",yandexbrowser:oe,version:Ae||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ne)?Me={name:"UC Browser",ucbrowser:oe,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ne)?Me={name:"Maxthon",maxthon:oe,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ne)?Me={name:"Epiphany",epiphany:oe,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ne)?Me={name:"Puffin",puffin:oe,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ne)?Me={name:"Sleipnir",sleipnir:oe,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ne)?Me={name:"K-Meleon",kMeleon:oe,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:pe?(Me={name:"Windows Phone",osname:"Windows Phone",windowsphone:oe},Oe?(Me.msedge=oe,Me.version=Oe):(Me.msie=oe,Me.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ne)?Me={name:"Internet Explorer",msie:oe,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:se?Me={name:"Chrome",osname:"Chrome OS",chromeos:oe,chromeBook:oe,chrome:oe,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ne)?Me={name:"Microsoft Edge",msedge:oe,version:Oe}:/vivaldi/i.test(ne)?Me={name:"Vivaldi",vivaldi:oe,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||Ae}:ve?Me={name:"Sailfish",osname:"Sailfish OS",sailfish:oe,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ne)?Me={name:"SeaMonkey",seamonkey:oe,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ne)?(Me={name:"Firefox",firefox:oe,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ne)&&(Me.firefoxos=oe,Me.osname="Firefox OS")):fe?Me={name:"Amazon Silk",silk:oe,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ne)?Me={name:"PhantomJS",phantom:oe,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ne)?Me={name:"SlimerJS",slimer:oe,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ne)||/rim\stablet/i.test(ne)?Me={name:"BlackBerry",osname:"BlackBerry OS",blackberry:oe,version:Ae||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:he?(Me={name:"WebOS",osname:"WebOS",webos:oe,version:Ae||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ne)&&(Me.touchpad=oe)):/bada/i.test(ne)?Me={name:"Bada",osname:"Bada",bada:oe,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:ge?Me={name:"Tizen",osname:"Tizen",tizen:oe,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Ae}:/qupzilla/i.test(ne)?Me={name:"QupZilla",qupzilla:oe,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Ae}:/chromium/i.test(ne)?Me={name:"Chromium",chromium:oe,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Ae}:/chrome|crios|crmo/i.test(ne)?Me={name:"Chrome",chrome:oe,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:z?Me={name:"Android",version:Ae}:/safari|applewebkit/i.test(ne)?(Me={name:"Safari",safari:oe},Ae&&(Me.version=Ae)):x?(Me={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},Ae&&(Me.version=Ae)):/googlebot/i.test(ne)?Me={name:"Googlebot",googlebot:oe,version:a(/googlebot\/(\d+(\.\d+))/i)||Ae}:Me={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!Me.msedge&&/(apple)?webkit/i.test(ne)?(/(apple)?webkit\/537\.36/i.test(ne)?(Me.name=Me.name||"Blink",Me.blink=oe):(Me.name=Me.name||"Webkit",Me.webkit=oe),!Me.version&&Ae&&(Me.version=Ae)):!Me.opera&&/gecko\//i.test(ne)&&(Me.name=Me.name||"Gecko",Me.gecko=oe,Me.version=Me.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Me.windowsphone&&(z||Me.silk)?(Me.android=oe,Me.osname="Android"):!Me.windowsphone&&x?(Me[x]=oe,Me.ios=oe,Me.osname="iOS"):je?(Me.mac=oe,Me.osname="macOS"):He?(Me.xbox=oe,Me.osname="Xbox"):Pe?(Me.windows=oe,Me.osname="Windows"):we&&(Me.linux=oe,Me.osname="Linux");function ut(Xe){switch(Xe){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var rt="";Me.windows?rt=ut(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Me.windowsphone?rt=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Me.mac?(rt=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),rt=rt.replace(/[_\s]/g,".")):x?(rt=a(/os (\d+([_\s]\d+)*) like mac os x/i),rt=rt.replace(/[_\s]/g,".")):z?rt=a(/android[ \/-](\d+(\.\d+)*)/i):Me.webos?rt=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Me.blackberry?rt=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Me.bada?rt=a(/bada\/(\d+(\.\d+)*)/i):Me.tizen&&(rt=a(/tizen[\/\s](\d+(\.\d+)*)/i)),rt&&(Me.osversion=rt);var et=!Me.windows&&rt.split(".")[0];return Fe||re||x=="ipad"||z&&(et==3||et>=4&&!ke)||Me.silk?Me.tablet=oe:(ke||x=="iphone"||x=="ipod"||z||ee||Me.blackberry||Me.webos||Me.bada)&&(Me.mobile=oe),Me.msedge||Me.msie&&Me.version>=10||Me.yandexbrowser&&Me.version>=15||Me.vivaldi&&Me.version>=1||Me.chrome&&Me.version>=20||Me.samsungBrowser&&Me.version>=4||Me.whale&&de([Me.version,"1.0"])===1||Me.mzbrowser&&de([Me.version,"6.0"])===1||Me.focus&&de([Me.version,"1.0"])===1||Me.firefox&&Me.version>=20||Me.safari&&Me.version>=6||Me.opera&&Me.version>=10||Me.ios&&Me.osversion&&Me.osversion.split(".")[0]>=6||Me.blackberry&&Me.version>=10.1||Me.chromium&&Me.version>=20?Me.a=oe:Me.msie&&Me.version<10||Me.chrome&&Me.version<20||Me.firefox&&Me.version<20||Me.safari&&Me.version<6||Me.opera&&Me.version<10||Me.ios&&Me.osversion&&Me.osversion.split(".")[0]<6||Me.chromium&&Me.version<20?Me.c=oe:Me.x=oe,Me}var ue=te(typeof navigator!="undefined"&&navigator.userAgent||"");ue.test=function(ne){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 ae(ne,a,y){var x=ue;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=te(y));var b=""+x.version;for(var z in ne)if(ne.hasOwnProperty(z)&&x[z]){if(typeof ne[z]!="string")throw new Error("Browser version in the minVersion map should be a string: "+z+": "+String(ne));return de([b,ne[z]])<0}return a}function ie(ne,a,y){return!ae(ne,a,y)}return ue.isUnsupportedBrowser=ae,ue.compareVersions=de,ue.check=ie,ue._detect=te,ue.detect=te,ue})},{}],89:[function(E,ye,me){},{}],90:[function(E,ye,me){(function(oe){(function(){"use strict";var te=E("base64-js"),ue=E("ieee754");me.Buffer=ae,me.SlowBuffer=se,me.INSPECT_MAX_BYTES=50;var ce=2147483647;me.kMaxLength=ce,ae.TYPED_ARRAY_SUPPORT=le(),!ae.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function le(){try{var Te=new Uint8Array(1);return Te.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Te.foo()===42}catch(xe){return!1}}Object.defineProperty(ae.prototype,"parent",{enumerable:!0,get:function(){if(ae.isBuffer(this))return this.buffer}}),Object.defineProperty(ae.prototype,"offset",{enumerable:!0,get:function(){if(ae.isBuffer(this))return this.byteOffset}});function de(Te){if(Te>ce)throw new RangeError('The value "'+Te+'" is invalid for option "size"');var xe=new Uint8Array(Te);return xe.__proto__=ae.prototype,xe}function ae(Te,xe,Ne){if(typeof Te=="number"){if(typeof xe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(Te)}return ie(Te,xe,Ne)}typeof Symbol!="undefined"&&Symbol.species!=null&&ae[Symbol.species]===ae&&Object.defineProperty(ae,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),ae.poolSize=8192;function ie(Te,xe,Ne){if(typeof Te=="string")return x(Te,xe);if(ArrayBuffer.isView(Te))return b(Te);if(Te==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Te);if(Ye(Te,ArrayBuffer)||Te&&Ye(Te.buffer,ArrayBuffer))return z(Te,xe,Ne);if(typeof Te=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ge=Te.valueOf&&Te.valueOf();if(Ge!=null&&Ge!==Te)return ae.from(Ge,xe,Ne);var st=ee(Te);if(st)return st;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Te[Symbol.toPrimitive]=="function")return ae.from(Te[Symbol.toPrimitive]("string"),xe,Ne);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Te)}ae.from=function(Te,xe,Ne){return ie(Te,xe,Ne)},ae.prototype.__proto__=Uint8Array.prototype,ae.__proto__=Uint8Array;function ne(Te){if(typeof Te!="number")throw new TypeError('"size" argument must be of type number');if(Te<0)throw new RangeError('The value "'+Te+'" is invalid for option "size"')}function a(Te,xe,Ne){return ne(Te),Te<=0?de(Te):xe!==void 0?typeof Ne=="string"?de(Te).fill(xe,Ne):de(Te).fill(xe):de(Te)}ae.alloc=function(Te,xe,Ne){return a(Te,xe,Ne)};function y(Te){return ne(Te),de(Te<0?0:re(Te)|0)}ae.allocUnsafe=function(Te){return y(Te)},ae.allocUnsafeSlow=function(Te){return y(Te)};function x(Te,xe){if((typeof xe!="string"||xe==="")&&(xe="utf8"),!ae.isEncoding(xe))throw new TypeError("Unknown encoding: "+xe);var Ne=fe(Te,xe)|0,Ge=de(Ne),st=Ge.write(Te,xe);return st!==Ne&&(Ge=Ge.slice(0,st)),Ge}function b(Te){for(var xe=Te.length<0?0:re(Te.length)|0,Ne=de(xe),Ge=0;Ge=ce)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ce.toString(16)+" bytes");return Te|0}function se(Te){return+Te!=Te&&(Te=0),ae.alloc(+Te)}ae.isBuffer=function(xe){return xe!=null&&xe._isBuffer===!0&&xe!==ae.prototype},ae.compare=function(xe,Ne){if(Ye(xe,Uint8Array)&&(xe=ae.from(xe,xe.offset,xe.byteLength)),Ye(Ne,Uint8Array)&&(Ne=ae.from(Ne,Ne.offset,Ne.byteLength)),!ae.isBuffer(xe)||!ae.isBuffer(Ne))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(xe===Ne)return 0;for(var Ge=xe.length,st=Ne.length,bt=0,dt=Math.min(Ge,st);bt2&&arguments[2]===!0;if(!Ge&&Ne===0)return 0;for(var st=!1;;)switch(xe){case"ascii":case"latin1":case"binary":return Ne;case"utf8":case"utf-8":return Le(Te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ne*2;case"hex":return Ne>>>1;case"base64":return Re(Te).length;default:if(st)return Ge?-1:Le(Te).length;xe=(""+xe).toLowerCase(),st=!0}}ae.byteLength=fe;function ve(Te,xe,Ne){var Ge=!1;if((xe===void 0||xe<0)&&(xe=0),xe>this.length||((Ne===void 0||Ne>this.length)&&(Ne=this.length),Ne<=0)||(Ne>>>=0,xe>>>=0,Ne<=xe))return"";for(Te||(Te="utf8");;)switch(Te){case"hex":return et(this,xe,Ne);case"utf8":case"utf-8":return ke(this,xe,Ne);case"ascii":return ut(this,xe,Ne);case"latin1":case"binary":return rt(this,xe,Ne);case"base64":return Fe(this,xe,Ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xe(this,xe,Ne);default:if(Ge)throw new TypeError("Unknown encoding: "+Te);Te=(Te+"").toLowerCase(),Ge=!0}}ae.prototype._isBuffer=!0;function ge(Te,xe,Ne){var Ge=Te[xe];Te[xe]=Te[Ne],Te[Ne]=Ge}ae.prototype.swap16=function(){var xe=this.length;if(xe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Ne=0;NeNe&&(xe+=" ... "),""},ae.prototype.compare=function(xe,Ne,Ge,st,bt){if(Ye(xe,Uint8Array)&&(xe=ae.from(xe,xe.offset,xe.byteLength)),!ae.isBuffer(xe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof xe);if(Ne===void 0&&(Ne=0),Ge===void 0&&(Ge=xe?xe.length:0),st===void 0&&(st=0),bt===void 0&&(bt=this.length),Ne<0||Ge>xe.length||st<0||bt>this.length)throw new RangeError("out of range index");if(st>=bt&&Ne>=Ge)return 0;if(st>=bt)return-1;if(Ne>=Ge)return 1;if(Ne>>>=0,Ge>>>=0,st>>>=0,bt>>>=0,this===xe)return 0;for(var dt=bt-st,Qe=Ge-Ne,mt=Math.min(dt,Qe),Lt=this.slice(st,bt),Mt=xe.slice(Ne,Ge),at=0;at2147483647?Ne=2147483647:Ne<-2147483648&&(Ne=-2147483648),Ne=+Ne,We(Ne)&&(Ne=st?0:Te.length-1),Ne<0&&(Ne=Te.length+Ne),Ne>=Te.length){if(st)return-1;Ne=Te.length-1}else if(Ne<0)if(st)Ne=0;else return-1;if(typeof xe=="string"&&(xe=ae.from(xe,Ge)),ae.isBuffer(xe))return xe.length===0?-1:pe(Te,xe,Ne,Ge,st);if(typeof xe=="number")return xe=xe&255,typeof Uint8Array.prototype.indexOf=="function"?st?Uint8Array.prototype.indexOf.call(Te,xe,Ne):Uint8Array.prototype.lastIndexOf.call(Te,xe,Ne):pe(Te,[xe],Ne,Ge,st);throw new TypeError("val must be string, number or Buffer")}function pe(Te,xe,Ne,Ge,st){var bt=1,dt=Te.length,Qe=xe.length;if(Ge!==void 0&&(Ge=String(Ge).toLowerCase(),Ge==="ucs2"||Ge==="ucs-2"||Ge==="utf16le"||Ge==="utf-16le")){if(Te.length<2||xe.length<2)return-1;bt=2,dt/=2,Qe/=2,Ne/=2}function mt(ot,Ve){return bt===1?ot[Ve]:ot.readUInt16BE(Ve*bt)}var Lt;if(st){var Mt=-1;for(Lt=Ne;Ltdt&&(Ne=dt-Qe),Lt=Ne;Lt>=0;Lt--){for(var at=!0,Ct=0;Ctst&&(Ge=st)):Ge=st;var bt=xe.length;Ge>bt/2&&(Ge=bt/2);for(var dt=0;dt>>0,isFinite(Ge)?(Ge=Ge>>>0,st===void 0&&(st="utf8")):(st=Ge,Ge=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var bt=this.length-Ne;if((Ge===void 0||Ge>bt)&&(Ge=bt),xe.length>0&&(Ge<0||Ne<0)||Ne>this.length)throw new RangeError("Attempt to write outside buffer bounds");st||(st="utf8");for(var dt=!1;;)switch(st){case"hex":return Se(this,xe,Ne,Ge);case"utf8":case"utf-8":return Pe(this,xe,Ne,Ge);case"ascii":return je(this,xe,Ne,Ge);case"latin1":case"binary":return we(this,xe,Ne,Ge);case"base64":return Oe(this,xe,Ne,Ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ae(this,xe,Ne,Ge);default:if(dt)throw new TypeError("Unknown encoding: "+st);st=(""+st).toLowerCase(),dt=!0}},ae.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Fe(Te,xe,Ne){return xe===0&&Ne===Te.length?te.fromByteArray(Te):te.fromByteArray(Te.slice(xe,Ne))}function ke(Te,xe,Ne){Ne=Math.min(Te.length,Ne);for(var Ge=[],st=xe;st239?4:bt>223?3:bt>191?2:1;if(st+Qe<=Ne){var mt,Lt,Mt,at;switch(Qe){case 1:bt<128&&(dt=bt);break;case 2:mt=Te[st+1],(mt&192)===128&&(at=(bt&31)<<6|mt&63,at>127&&(dt=at));break;case 3:mt=Te[st+1],Lt=Te[st+2],(mt&192)===128&&(Lt&192)===128&&(at=(bt&15)<<12|(mt&63)<<6|Lt&63,at>2047&&(at<55296||at>57343)&&(dt=at));break;case 4:mt=Te[st+1],Lt=Te[st+2],Mt=Te[st+3],(mt&192)===128&&(Lt&192)===128&&(Mt&192)===128&&(at=(bt&15)<<18|(mt&63)<<12|(Lt&63)<<6|Mt&63,at>65535&&at<1114112&&(dt=at))}}dt===null?(dt=65533,Qe=1):dt>65535&&(dt-=65536,Ge.push(dt>>>10&1023|55296),dt=56320|dt&1023),Ge.push(dt),st+=Qe}return Me(Ge)}var He=4096;function Me(Te){var xe=Te.length;if(xe<=He)return String.fromCharCode.apply(String,Te);for(var Ne="",Ge=0;GeGe)&&(Ne=Ge);for(var st="",bt=xe;btGe&&(xe=Ge),Ne<0?(Ne+=Ge,Ne<0&&(Ne=0)):Ne>Ge&&(Ne=Ge),NeNe)throw new RangeError("Trying to access beyond buffer length")}ae.prototype.readUIntLE=function(xe,Ne,Ge){xe=xe>>>0,Ne=Ne>>>0,Ge||_e(xe,Ne,this.length);for(var st=this[xe],bt=1,dt=0;++dt>>0,Ne=Ne>>>0,Ge||_e(xe,Ne,this.length);for(var st=this[xe+--Ne],bt=1;Ne>0&&(bt*=256);)st+=this[xe+--Ne]*bt;return st},ae.prototype.readUInt8=function(xe,Ne){return xe=xe>>>0,Ne||_e(xe,1,this.length),this[xe]},ae.prototype.readUInt16LE=function(xe,Ne){return xe=xe>>>0,Ne||_e(xe,2,this.length),this[xe]|this[xe+1]<<8},ae.prototype.readUInt16BE=function(xe,Ne){return xe=xe>>>0,Ne||_e(xe,2,this.length),this[xe]<<8|this[xe+1]},ae.prototype.readUInt32LE=function(xe,Ne){return xe=xe>>>0,Ne||_e(xe,4,this.length),(this[xe]|this[xe+1]<<8|this[xe+2]<<16)+this[xe+3]*16777216},ae.prototype.readUInt32BE=function(xe,Ne){return xe=xe>>>0,Ne||_e(xe,4,this.length),this[xe]*16777216+(this[xe+1]<<16|this[xe+2]<<8|this[xe+3])},ae.prototype.readIntLE=function(xe,Ne,Ge){xe=xe>>>0,Ne=Ne>>>0,Ge||_e(xe,Ne,this.length);for(var st=this[xe],bt=1,dt=0;++dt=bt&&(st-=Math.pow(2,8*Ne)),st},ae.prototype.readIntBE=function(xe,Ne,Ge){xe=xe>>>0,Ne=Ne>>>0,Ge||_e(xe,Ne,this.length);for(var st=Ne,bt=1,dt=this[xe+--st];st>0&&(bt*=256);)dt+=this[xe+--st]*bt;return bt*=128,dt>=bt&&(dt-=Math.pow(2,8*Ne)),dt},ae.prototype.readInt8=function(xe,Ne){return xe=xe>>>0,Ne||_e(xe,1,this.length),this[xe]&128?(255-this[xe]+1)*-1:this[xe]},ae.prototype.readInt16LE=function(xe,Ne){xe=xe>>>0,Ne||_e(xe,2,this.length);var Ge=this[xe]|this[xe+1]<<8;return Ge&32768?Ge|4294901760:Ge},ae.prototype.readInt16BE=function(xe,Ne){xe=xe>>>0,Ne||_e(xe,2,this.length);var Ge=this[xe+1]|this[xe]<<8;return Ge&32768?Ge|4294901760:Ge},ae.prototype.readInt32LE=function(xe,Ne){return xe=xe>>>0,Ne||_e(xe,4,this.length),this[xe]|this[xe+1]<<8|this[xe+2]<<16|this[xe+3]<<24},ae.prototype.readInt32BE=function(xe,Ne){return xe=xe>>>0,Ne||_e(xe,4,this.length),this[xe]<<24|this[xe+1]<<16|this[xe+2]<<8|this[xe+3]},ae.prototype.readFloatLE=function(xe,Ne){return xe=xe>>>0,Ne||_e(xe,4,this.length),ue.read(this,xe,!0,23,4)},ae.prototype.readFloatBE=function(xe,Ne){return xe=xe>>>0,Ne||_e(xe,4,this.length),ue.read(this,xe,!1,23,4)},ae.prototype.readDoubleLE=function(xe,Ne){return xe=xe>>>0,Ne||_e(xe,8,this.length),ue.read(this,xe,!0,52,8)},ae.prototype.readDoubleBE=function(xe,Ne){return xe=xe>>>0,Ne||_e(xe,8,this.length),ue.read(this,xe,!1,52,8)};function $e(Te,xe,Ne,Ge,st,bt){if(!ae.isBuffer(Te))throw new TypeError('"buffer" argument must be a Buffer instance');if(xe>st||xeTe.length)throw new RangeError("Index out of range")}ae.prototype.writeUIntLE=function(xe,Ne,Ge,st){if(xe=+xe,Ne=Ne>>>0,Ge=Ge>>>0,!st){var bt=Math.pow(2,8*Ge)-1;$e(this,xe,Ne,Ge,bt,0)}var dt=1,Qe=0;for(this[Ne]=xe&255;++Qe>>0,Ge=Ge>>>0,!st){var bt=Math.pow(2,8*Ge)-1;$e(this,xe,Ne,Ge,bt,0)}var dt=Ge-1,Qe=1;for(this[Ne+dt]=xe&255;--dt>=0&&(Qe*=256);)this[Ne+dt]=xe/Qe&255;return Ne+Ge},ae.prototype.writeUInt8=function(xe,Ne,Ge){return xe=+xe,Ne=Ne>>>0,Ge||$e(this,xe,Ne,1,255,0),this[Ne]=xe&255,Ne+1},ae.prototype.writeUInt16LE=function(xe,Ne,Ge){return xe=+xe,Ne=Ne>>>0,Ge||$e(this,xe,Ne,2,65535,0),this[Ne]=xe&255,this[Ne+1]=xe>>>8,Ne+2},ae.prototype.writeUInt16BE=function(xe,Ne,Ge){return xe=+xe,Ne=Ne>>>0,Ge||$e(this,xe,Ne,2,65535,0),this[Ne]=xe>>>8,this[Ne+1]=xe&255,Ne+2},ae.prototype.writeUInt32LE=function(xe,Ne,Ge){return xe=+xe,Ne=Ne>>>0,Ge||$e(this,xe,Ne,4,4294967295,0),this[Ne+3]=xe>>>24,this[Ne+2]=xe>>>16,this[Ne+1]=xe>>>8,this[Ne]=xe&255,Ne+4},ae.prototype.writeUInt32BE=function(xe,Ne,Ge){return xe=+xe,Ne=Ne>>>0,Ge||$e(this,xe,Ne,4,4294967295,0),this[Ne]=xe>>>24,this[Ne+1]=xe>>>16,this[Ne+2]=xe>>>8,this[Ne+3]=xe&255,Ne+4},ae.prototype.writeIntLE=function(xe,Ne,Ge,st){if(xe=+xe,Ne=Ne>>>0,!st){var bt=Math.pow(2,8*Ge-1);$e(this,xe,Ne,Ge,bt-1,-bt)}var dt=0,Qe=1,mt=0;for(this[Ne]=xe&255;++dt>0)-mt&255;return Ne+Ge},ae.prototype.writeIntBE=function(xe,Ne,Ge,st){if(xe=+xe,Ne=Ne>>>0,!st){var bt=Math.pow(2,8*Ge-1);$e(this,xe,Ne,Ge,bt-1,-bt)}var dt=Ge-1,Qe=1,mt=0;for(this[Ne+dt]=xe&255;--dt>=0&&(Qe*=256);)xe<0&&mt===0&&this[Ne+dt+1]!==0&&(mt=1),this[Ne+dt]=(xe/Qe>>0)-mt&255;return Ne+Ge},ae.prototype.writeInt8=function(xe,Ne,Ge){return xe=+xe,Ne=Ne>>>0,Ge||$e(this,xe,Ne,1,127,-128),xe<0&&(xe=255+xe+1),this[Ne]=xe&255,Ne+1},ae.prototype.writeInt16LE=function(xe,Ne,Ge){return xe=+xe,Ne=Ne>>>0,Ge||$e(this,xe,Ne,2,32767,-32768),this[Ne]=xe&255,this[Ne+1]=xe>>>8,Ne+2},ae.prototype.writeInt16BE=function(xe,Ne,Ge){return xe=+xe,Ne=Ne>>>0,Ge||$e(this,xe,Ne,2,32767,-32768),this[Ne]=xe>>>8,this[Ne+1]=xe&255,Ne+2},ae.prototype.writeInt32LE=function(xe,Ne,Ge){return xe=+xe,Ne=Ne>>>0,Ge||$e(this,xe,Ne,4,2147483647,-2147483648),this[Ne]=xe&255,this[Ne+1]=xe>>>8,this[Ne+2]=xe>>>16,this[Ne+3]=xe>>>24,Ne+4},ae.prototype.writeInt32BE=function(xe,Ne,Ge){return xe=+xe,Ne=Ne>>>0,Ge||$e(this,xe,Ne,4,2147483647,-2147483648),xe<0&&(xe=4294967295+xe+1),this[Ne]=xe>>>24,this[Ne+1]=xe>>>16,this[Ne+2]=xe>>>8,this[Ne+3]=xe&255,Ne+4};function Be(Te,xe,Ne,Ge,st,bt){if(Ne+Ge>Te.length)throw new RangeError("Index out of range");if(Ne<0)throw new RangeError("Index out of range")}function nt(Te,xe,Ne,Ge,st){return xe=+xe,Ne=Ne>>>0,st||Be(Te,xe,Ne,4,34028234663852886e22,-34028234663852886e22),ue.write(Te,xe,Ne,Ge,23,4),Ne+4}ae.prototype.writeFloatLE=function(xe,Ne,Ge){return nt(this,xe,Ne,!0,Ge)},ae.prototype.writeFloatBE=function(xe,Ne,Ge){return nt(this,xe,Ne,!1,Ge)};function Je(Te,xe,Ne,Ge,st){return xe=+xe,Ne=Ne>>>0,st||Be(Te,xe,Ne,8,17976931348623157e292,-17976931348623157e292),ue.write(Te,xe,Ne,Ge,52,8),Ne+8}ae.prototype.writeDoubleLE=function(xe,Ne,Ge){return Je(this,xe,Ne,!0,Ge)},ae.prototype.writeDoubleBE=function(xe,Ne,Ge){return Je(this,xe,Ne,!1,Ge)},ae.prototype.copy=function(xe,Ne,Ge,st){if(!ae.isBuffer(xe))throw new TypeError("argument should be a Buffer");if(Ge||(Ge=0),!st&&st!==0&&(st=this.length),Ne>=xe.length&&(Ne=xe.length),Ne||(Ne=0),st>0&&st=this.length)throw new RangeError("Index out of range");if(st<0)throw new RangeError("sourceEnd out of bounds");st>this.length&&(st=this.length),xe.length-Ne=0;--dt)xe[dt+Ne]=this[dt+Ge];else Uint8Array.prototype.set.call(xe,this.subarray(Ge,st),Ne);return bt},ae.prototype.fill=function(xe,Ne,Ge,st){if(typeof xe=="string"){if(typeof Ne=="string"?(st=Ne,Ne=0,Ge=this.length):typeof Ge=="string"&&(st=Ge,Ge=this.length),st!==void 0&&typeof st!="string")throw new TypeError("encoding must be a string");if(typeof st=="string"&&!ae.isEncoding(st))throw new TypeError("Unknown encoding: "+st);if(xe.length===1){var bt=xe.charCodeAt(0);(st==="utf8"&&bt<128||st==="latin1")&&(xe=bt)}}else typeof xe=="number"&&(xe=xe&255);if(Ne<0||this.length>>0,Ge=Ge===void 0?this.length:Ge>>>0,xe||(xe=0);var dt;if(typeof xe=="number")for(dt=Ne;dt55295&&Ne<57344){if(!st){if(Ne>56319){(xe-=3)>-1&&bt.push(239,191,189);continue}else if(dt+1===Ge){(xe-=3)>-1&&bt.push(239,191,189);continue}st=Ne;continue}if(Ne<56320){(xe-=3)>-1&&bt.push(239,191,189),st=Ne;continue}Ne=(st-55296<<10|Ne-56320)+65536}else st&&(xe-=3)>-1&&bt.push(239,191,189);if(st=null,Ne<128){if((xe-=1)<0)break;bt.push(Ne)}else if(Ne<2048){if((xe-=2)<0)break;bt.push(Ne>>6|192,Ne&63|128)}else if(Ne<65536){if((xe-=3)<0)break;bt.push(Ne>>12|224,Ne>>6&63|128,Ne&63|128)}else if(Ne<1114112){if((xe-=4)<0)break;bt.push(Ne>>18|240,Ne>>12&63|128,Ne>>6&63|128,Ne&63|128)}else throw new Error("Invalid code point")}return bt}function ze(Te){for(var xe=[],Ne=0;Ne>8,st=Ne%256,bt.push(st),bt.push(Ge);return bt}function Re(Te){return te.toByteArray(Ke(Te))}function qe(Te,xe,Ne,Ge){for(var st=0;st=xe.length||st>=Te.length);++st)xe[st+Ne]=Te[st];return st}function Ye(Te,xe){return Te instanceof xe||Te!=null&&Te.constructor!=null&&Te.constructor.name!=null&&Te.constructor.name===xe.name}function We(Te){return Te!==Te}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,ye,me){ye.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],92:[function(E,ye,me){"use strict";var oe=E("get-intrinsic"),te=E("./"),ue=te(oe("String.prototype.indexOf"));ye.exports=function(le,de){var ae=oe(le,!!de);return typeof ae=="function"&&ue(le,".prototype.")>-1?te(ae):ae}},{"./":93,"get-intrinsic":348}],93:[function(E,ye,me){"use strict";var oe=E("function-bind"),te=E("get-intrinsic"),ue=te("%Function.prototype.apply%"),ce=te("%Function.prototype.call%"),le=te("%Reflect.apply%",!0)||oe.call(ce,ue),de=te("%Object.getOwnPropertyDescriptor%",!0),ae=te("%Object.defineProperty%",!0),ie=te("%Math.max%");if(ae)try{ae({},"a",{value:1})}catch(a){ae=null}ye.exports=function(y){var x=le(oe,ce,arguments);if(de&&ae){var b=de(x,"length");b.configurable&&ae(x,"length",{value:1+ie(0,y.length-(arguments.length-1))})}return x};var ne=function(){return le(oe,ue,arguments)};ae?ae(ye.exports,"apply",{value:ne}):ye.exports.apply=ne},{"function-bind":347,"get-intrinsic":348}],94:[function(E,ye,me){"use strict";var oe=Array.prototype.slice;ye.exports=te;function te(ce,le){if(!(this instanceof te))return new te(ce,le);this.src=ce,this._withAccess=le}te.prototype.withAccess=function(ce){return this._withAccess=ce!==!1,this},te.prototype.pick=function(ce){return Array.isArray(ce)||(ce=oe.call(arguments)),ce.length&&(this.keys=ce),this},te.prototype.to=function(ce){if(ce=ce||{},!this.src)return ce;var le=this.keys||Object.keys(this.src);if(!this._withAccess){for(var de=0;de>8&255]},Le=function(dt){return[dt&255,dt>>8&255,dt>>16&255,dt>>24&255]},ze=function(dt){return dt[3]<<24|dt[2]<<16|dt[1]<<8|dt[0]},Ee=function(dt){return Je(dt,23,4)},Re=function(dt){return Je(dt,52,8)},qe=function(dt,Qe){se(dt[Ae],Qe,{get:function(){return Pe(this)[Qe]}})},Ye=function(dt,Qe,mt,Lt){var Mt=x(mt),at=Pe(dt);if(Mt+Qe>at.byteLength)throw $e(ke);var Ct=Pe(at.buffer).bytes,ot=Mt+at.byteOffset,Ve=ve(Ct,ot,ot+Qe);return Lt?Ve:nt(Ve)},We=function(dt,Qe,mt,Lt,Mt,at){var Ct=x(mt),ot=Pe(dt);if(Ct+Qe>ot.byteLength)throw $e(ke);for(var Ve=Pe(ot.buffer).bytes,yt=Ct+ot.byteOffset,Pt=Lt(+Mt),At=0;AtMt)throw $e("Wrong offset");if(Lt=Lt===void 0?Mt-at:y(Lt),at+Lt>Mt)throw $e(Fe);je(this,{buffer:Qe,byteLength:Lt,byteOffset:at}),ue||(this.buffer=Qe,this.byteLength=Lt,this.byteOffset=at)},et=rt[Ae],ue&&(qe(Me,"byteLength"),qe(rt,"buffer"),qe(rt,"byteLength"),qe(rt,"byteOffset")),ae(et,{getInt8:function(Qe){return Ye(this,1,Qe)[0]<<24>>24},getUint8:function(Qe){return Ye(this,1,Qe)[0]},getInt16:function(Qe){var mt=Ye(this,2,Qe,arguments.length>1?arguments[1]:void 0);return(mt[1]<<8|mt[0])<<16>>16},getUint16:function(Qe){var mt=Ye(this,2,Qe,arguments.length>1?arguments[1]:void 0);return mt[1]<<8|mt[0]},getInt32:function(Qe){return ze(Ye(this,4,Qe,arguments.length>1?arguments[1]:void 0))},getUint32:function(Qe){return ze(Ye(this,4,Qe,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(Qe){return ft(Ye(this,4,Qe,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(Qe){return ft(Ye(this,8,Qe,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(Qe,mt){We(this,1,Qe,Ke,mt)},setUint8:function(Qe,mt){We(this,1,Qe,Ke,mt)},setInt16:function(Qe,mt){We(this,2,Qe,Ue,mt,arguments.length>2?arguments[2]:void 0)},setUint16:function(Qe,mt){We(this,2,Qe,Ue,mt,arguments.length>2?arguments[2]:void 0)},setInt32:function(Qe,mt){We(this,4,Qe,Le,mt,arguments.length>2?arguments[2]:void 0)},setUint32:function(Qe,mt){We(this,4,Qe,Le,mt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(Qe,mt){We(this,4,Qe,Ee,mt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(Qe,mt){We(this,8,Qe,Re,mt,arguments.length>2?arguments[2]:void 0)}});else{var Te=pe&&He.name!==we;if(!ie(function(){He(1)})||!ie(function(){new He(-1)})||ie(function(){return new He,new He(1.5),new He(NaN),Te&&!Se})){Me=function(Qe){return ne(this,ut),new He(x(Qe))},Me[Ae]=ut;for(var xe=re(He),Ne=0,Ge;xe.length>Ne;)(Ge=xe[Ne++])in Me||de(Me,Ge,He[Ge]);ut.constructor=Me}else Te&&Se&&de(He,"name",we);ee&&z(et)!==Xe&&ee(et,Xe);var st=new rt(new Me(2)),bt=te(et.setInt8);st.setInt8(0,2147483648),st.setInt8(1,2147483649),(st.getInt8(0)||!st.getInt8(1))&&ae(et,{setInt8:function(Qe,mt){bt(this,Qe,mt<<24>>24)},setUint8:function(Qe,mt){bt(this,Qe,mt<<24>>24)}},{unsafe:!0})}ge(Me,we),ge(rt,Oe),ye.exports={ArrayBuffer:Me,DataView:rt}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(E,ye,me){"use strict";var oe=E("../internals/to-object"),te=E("../internals/to-absolute-index"),ue=E("../internals/length-of-array-like"),ce=Math.min;ye.exports=[].copyWithin||function(de,ae){var ie=oe(this),ne=ue(ie),a=te(de,ne),y=te(ae,ne),x=arguments.length>2?arguments[2]:void 0,b=ce((x===void 0?ne:te(x,ne))-y,ne-a),z=1;for(y0;)y in ie?ie[a]=ie[y]:delete ie[a],a+=z,y+=z;return ie}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,ye,me){"use strict";var oe=E("../internals/to-object"),te=E("../internals/to-absolute-index"),ue=E("../internals/length-of-array-like");ye.exports=function(le){for(var de=oe(this),ae=ue(de),ie=arguments.length,ne=te(ie>1?arguments[1]:void 0,ae),a=ie>2?arguments[2]:void 0,y=a===void 0?ae:te(a,ae);y>ne;)de[ne++]=le;return de}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,ye,me){"use strict";var oe=E("../internals/array-iteration").forEach,te=E("../internals/array-method-is-strict"),ue=te("forEach");ye.exports=ue?[].forEach:function(le){return oe(this,le,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,ye,me){var oe=E("../internals/length-of-array-like");ye.exports=function(te,ue){for(var ce=0,le=oe(ue),de=new te(le);le>ce;)de[ce]=ue[ce++];return de}},{"../internals/length-of-array-like":188}],109:[function(E,ye,me){"use strict";var oe=E("../internals/global"),te=E("../internals/function-bind-context"),ue=E("../internals/function-call"),ce=E("../internals/to-object"),le=E("../internals/call-with-safe-iteration-closing"),de=E("../internals/is-array-iterator-method"),ae=E("../internals/is-constructor"),ie=E("../internals/length-of-array-like"),ne=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=oe.Array;ye.exports=function(z){var ee=ce(z),re=ae(this),se=arguments.length,fe=se>1?arguments[1]:void 0,ve=fe!==void 0;ve&&(fe=te(fe,se>2?arguments[2]:void 0));var ge=y(ee),he=0,pe,Se,Pe,je,we,Oe;if(ge&&!(this==x&&de(ge)))for(je=a(ee,ge),we=je.next,Se=re?new this:[];!(Pe=ue(we,je)).done;he++)Oe=ve?le(je,fe,[Pe.value,he],!0):Pe.value,ne(Se,he,Oe);else for(pe=ie(ee),Se=re?new this(pe):x(pe);pe>he;he++)Oe=ve?fe(ee[he],he):ee[he],ne(Se,he,Oe);return Se.length=he,Se}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(E,ye,me){var oe=E("../internals/to-indexed-object"),te=E("../internals/to-absolute-index"),ue=E("../internals/length-of-array-like"),ce=function(le){return function(de,ae,ie){var ne=oe(de),a=ue(ne),y=te(ie,a),x;if(le&&ae!=ae){for(;a>y;)if(x=ne[y++],x!=x)return!0}else for(;a>y;y++)if((le||y in ne)&&ne[y]===ae)return le||y||0;return!le&&-1}};ye.exports={includes:ce(!0),indexOf:ce(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,ye,me){var oe=E("../internals/function-bind-context"),te=E("../internals/function-uncurry-this"),ue=E("../internals/indexed-object"),ce=E("../internals/to-object"),le=E("../internals/length-of-array-like"),de=E("../internals/array-species-create"),ae=te([].push),ie=function(ne){var a=ne==1,y=ne==2,x=ne==3,b=ne==4,z=ne==6,ee=ne==7,re=ne==5||z;return function(se,fe,ve,ge){for(var he=ce(se),pe=ue(he),Se=oe(fe,ve),Pe=le(pe),je=0,we=ge||de,Oe=a?we(se,Pe):y||ee?we(se,0):void 0,Ae,Fe;Pe>je;je++)if((re||je in pe)&&(Ae=pe[je],Fe=Se(Ae,je,he),ne))if(a)Oe[je]=Fe;else if(Fe)switch(ne){case 3:return!0;case 5:return Ae;case 6:return je;case 2:ae(Oe,Ae)}else switch(ne){case 4:return!1;case 7:ae(Oe,Ae)}return z?-1:x||b?b:Oe}};ye.exports={forEach:ie(0),map:ie(1),filter:ie(2),some:ie(3),every:ie(4),find:ie(5),findIndex:ie(6),filterReject:ie(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(E,ye,me){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/to-indexed-object"),ue=E("../internals/to-integer-or-infinity"),ce=E("../internals/length-of-array-like"),le=E("../internals/array-method-is-strict"),de=Math.min,ae=[].lastIndexOf,ie=!!ae&&1/[1].lastIndexOf(1,-0)<0,ne=le("lastIndexOf"),a=ie||!ne;ye.exports=a?function(x){if(ie)return oe(ae,this,arguments)||0;var b=te(this),z=ce(b),ee=z-1;for(arguments.length>1&&(ee=de(ee,ue(arguments[1]))),ee<0&&(ee=z+ee);ee>=0;ee--)if(ee in b&&b[ee]===x)return ee||0;return-1}:ae},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(E,ye,me){var oe=E("../internals/fails"),te=E("../internals/well-known-symbol"),ue=E("../internals/engine-v8-version"),ce=te("species");ye.exports=function(le){return ue>=51||!oe(function(){var de=[],ae=de.constructor={};return ae[ce]=function(){return{foo:1}},de[le](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,ye,me){"use strict";var oe=E("../internals/fails");ye.exports=function(te,ue){var ce=[][te];return!!ce&&oe(function(){ce.call(null,ue||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/a-callable"),ue=E("../internals/to-object"),ce=E("../internals/indexed-object"),le=E("../internals/length-of-array-like"),de=oe.TypeError,ae=function(ie){return function(ne,a,y,x){te(a);var b=ue(ne),z=ce(b),ee=le(b),re=ie?ee-1:0,se=ie?-1:1;if(y<2)for(;;){if(re in z){x=z[re],re+=se;break}if(re+=se,ie?re<0:ee<=re)throw de("Reduce of empty array with no initial value")}for(;ie?re>=0:ee>re;re+=se)re in z&&(x=a(x,z[re],re,b));return x}};ye.exports={left:ae(!1),right:ae(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/to-absolute-index"),ue=E("../internals/length-of-array-like"),ce=E("../internals/create-property"),le=oe.Array,de=Math.max;ye.exports=function(ae,ie,ne){for(var a=ue(ae),y=te(ie,a),x=te(ne===void 0?a:ne,a),b=le(de(x-y,0)),z=0;y0;)de[y]=de[--y];y!==ne++&&(de[y]=a)}return de},le=function(de,ae,ie,ne){for(var a=ae.length,y=ie.length,x=0,b=0;x0&&ae[0]<4?1:+(ae[0]+ae[1])),!ie&&te&&(ae=te.match(/Edge\/(\d+)/),(!ae||ae[1]>=74)&&(ae=te.match(/Chrome\/(\d+)/),ae&&(ie=+ae[1]))),ye.exports=ie},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,ye,me){var oe=E("../internals/engine-user-agent"),te=oe.match(/AppleWebKit\/(\d+)\./);ye.exports=!!te&&+te[1]},{"../internals/engine-user-agent":145}],148:[function(E,ye,me){ye.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/object-get-own-property-descriptor").f,ue=E("../internals/create-non-enumerable-property"),ce=E("../internals/redefine"),le=E("../internals/set-global"),de=E("../internals/copy-constructor-properties"),ae=E("../internals/is-forced");ye.exports=function(ie,ne){var a=ie.target,y=ie.global,x=ie.stat,b,z,ee,re,se,fe;if(y?z=oe:x?z=oe[a]||le(a,{}):z=(oe[a]||{}).prototype,z)for(ee in ne){if(se=ne[ee],ie.noTargetGet?(fe=te(z,ee),re=fe&&fe.value):re=z[ee],b=ae(y?ee:a+(x?".":"#")+ee,ie.forced),!b&&re!==void 0){if(typeof se==typeof re)continue;de(se,re)}(ie.sham||re&&re.sham)&&ue(se,"sham",!0),ce(z,ee,se,ie)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(E,ye,me){ye.exports=function(oe){try{return!!oe()}catch(te){return!0}}},{}],151:[function(E,ye,me){"use strict";E("../modules/es.regexp.exec");var oe=E("../internals/function-uncurry-this"),te=E("../internals/redefine"),ue=E("../internals/regexp-exec"),ce=E("../internals/fails"),le=E("../internals/well-known-symbol"),de=E("../internals/create-non-enumerable-property"),ae=le("species"),ie=RegExp.prototype;ye.exports=function(ne,a,y,x){var b=le(ne),z=!ce(function(){var fe={};return fe[b]=function(){return 7},""[ne](fe)!=7}),ee=z&&!ce(function(){var fe=!1,ve=/a/;return ne==="split"&&(ve={},ve.constructor={},ve.constructor[ae]=function(){return ve},ve.flags="",ve[b]=/./[b]),ve.exec=function(){return fe=!0,null},ve[b](""),!fe});if(!z||!ee||y){var re=oe(/./[b]),se=a(b,""[ne],function(fe,ve,ge,he,pe){var Se=oe(fe),Pe=ve.exec;return Pe===ue||Pe===ie.exec?z&&!pe?{done:!0,value:re(ve,ge,he)}:{done:!0,value:Se(ge,ve,he)}:{done:!1}});te(String.prototype,ne,se[0]),te(ie,b,se[1])}x&&de(ie[b],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(E,ye,me){var oe=E("../internals/function-bind-native"),te=Function.prototype,ue=te.apply,ce=te.call;ye.exports=typeof Reflect=="object"&&Reflect.apply||(oe?ce.bind(ue):function(){return ce.apply(ue,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/a-callable"),ue=E("../internals/function-bind-native"),ce=oe(oe.bind);ye.exports=function(le,de){return te(le),de===void 0?le:ue?ce(le,de):function(){return le.apply(de,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,ye,me){var oe=E("../internals/fails");ye.exports=!oe(function(){var te=function(){}.bind();return typeof te!="function"||te.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,ye,me){var oe=E("../internals/function-bind-native"),te=Function.prototype.call;ye.exports=oe?te.bind(te):function(){return te.apply(te,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/has-own-property"),ue=Function.prototype,ce=oe&&Object.getOwnPropertyDescriptor,le=te(ue,"name"),de=le&&function(){}.name==="something",ae=le&&(!oe||oe&&ce(ue,"name").configurable);ye.exports={EXISTS:le,PROPER:de,CONFIGURABLE:ae}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,ye,me){var oe=E("../internals/function-bind-native"),te=Function.prototype,ue=te.bind,ce=te.call,le=oe&&ue.bind(ce,ce);ye.exports=oe?function(de){return de&&le(de)}:function(de){return de&&function(){return ce.apply(de,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/is-callable"),ue=function(ce){return te(ce)?ce:void 0};ye.exports=function(ce,le){return arguments.length<2?ue(oe[ce]):oe[ce]&&oe[ce][le]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,ye,me){var oe=E("../internals/classof"),te=E("../internals/get-method"),ue=E("../internals/iterators"),ce=E("../internals/well-known-symbol"),le=ce("iterator");ye.exports=function(de){if(de!=null)return te(de,le)||te(de,"@@iterator")||ue[oe(de)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/function-call"),ue=E("../internals/a-callable"),ce=E("../internals/an-object"),le=E("../internals/try-to-string"),de=E("../internals/get-iterator-method"),ae=oe.TypeError;ye.exports=function(ie,ne){var a=arguments.length<2?de(ie):ne;if(ue(a))return ce(te(a,ie));throw ae(le(ie)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(E,ye,me){var oe=E("../internals/a-callable");ye.exports=function(te,ue){var ce=te[ue];return ce==null?void 0:oe(ce)}},{"../internals/a-callable":95}],162:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-object"),ue=Math.floor,ce=oe("".charAt),le=oe("".replace),de=oe("".slice),ae=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ie=/\$([$&'`]|\d{1,2})/g;ye.exports=function(ne,a,y,x,b,z){var ee=y+ne.length,re=x.length,se=ie;return b!==void 0&&(b=te(b),se=ae),le(z,se,function(fe,ve){var ge;switch(ce(ve,0)){case"$":return"$";case"&":return ne;case"`":return de(a,0,y);case"'":return de(a,ee);case"<":ge=b[de(ve,1,-1)];break;default:var he=+ve;if(he===0)return fe;if(he>re){var pe=ue(he/10);return pe===0?fe:pe<=re?x[pe-1]===void 0?ce(ve,1):x[pe-1]+ce(ve,1):fe}ge=x[he-1]}return ge===void 0?"":ge})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,ye,me){(function(oe){(function(){var te=function(ue){return ue&&ue.Math==Math&&ue};ye.exports=te(typeof globalThis=="object"&&globalThis)||te(typeof window=="object"&&window)||te(typeof self=="object"&&self)||te(typeof oe=="object"&&oe)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof wt!="undefined"?wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-object"),ue=oe({}.hasOwnProperty);ye.exports=Object.hasOwn||function(le,de){return ue(te(le),de)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,ye,me){ye.exports={}},{}],166:[function(E,ye,me){var oe=E("../internals/global");ye.exports=function(te,ue){var ce=oe.console;ce&&ce.error&&(arguments.length==1?ce.error(te):ce.error(te,ue))}},{"../internals/global":163}],167:[function(E,ye,me){var oe=E("../internals/get-built-in");ye.exports=oe("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/fails"),ue=E("../internals/document-create-element");ye.exports=!oe&&!te(function(){return Object.defineProperty(ue("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,ye,me){var oe=E("../internals/global"),te=oe.Array,ue=Math.abs,ce=Math.pow,le=Math.floor,de=Math.log,ae=Math.LN2,ie=function(a,y,x){var b=te(x),z=x*8-y-1,ee=(1<>1,se=y===23?ce(2,-24)-ce(2,-77):0,fe=a<0||a===0&&1/a<0?1:0,ve=0,ge,he,pe;for(a=ue(a),a!=a||a===1/0?(he=a!=a?1:0,ge=ee):(ge=le(de(a)/ae),pe=ce(2,-ge),a*pe<1&&(ge--,pe*=2),ge+re>=1?a+=se/pe:a+=se*ce(2,1-re),a*pe>=2&&(ge++,pe/=2),ge+re>=ee?(he=0,ge=ee):ge+re>=1?(he=(a*pe-1)*ce(2,y),ge=ge+re):(he=a*ce(2,re-1)*ce(2,y),ge=0));y>=8;)b[ve++]=he&255,he/=256,y-=8;for(ge=ge<0;)b[ve++]=ge&255,ge/=256,z-=8;return b[--ve]|=fe*128,b},ne=function(a,y){var x=a.length,b=x*8-y-1,z=(1<>1,re=b-7,se=x-1,fe=a[se--],ve=fe&127,ge;for(fe>>=7;re>0;)ve=ve*256+a[se--],re-=8;for(ge=ve&(1<<-re)-1,ve>>=-re,re+=y;re>0;)ge=ge*256+a[se--],re-=8;if(ve===0)ve=1-ee;else{if(ve===z)return ge?NaN:fe?-1/0:1/0;ge=ge+ce(2,y),ve=ve-ee}return(fe?-1:1)*ge*ce(2,ve-y)};ye.exports={pack:ie,unpack:ne}},{"../internals/global":163}],170:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/function-uncurry-this"),ue=E("../internals/fails"),ce=E("../internals/classof-raw"),le=oe.Object,de=te("".split);ye.exports=ue(function(){return!le("z").propertyIsEnumerable(0)})?function(ae){return ce(ae)=="String"?de(ae,""):le(ae)}:le},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,ye,me){var oe=E("../internals/is-callable"),te=E("../internals/is-object"),ue=E("../internals/object-set-prototype-of");ye.exports=function(ce,le,de){var ae,ie;return ue&&oe(ae=le.constructor)&&ae!==de&&te(ie=ae.prototype)&&ie!==de.prototype&&ue(ce,ie),ce}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/is-callable"),ue=E("../internals/shared-store"),ce=oe(Function.toString);te(ue.inspectSource)||(ue.inspectSource=function(le){return ce(le)}),ye.exports=ue.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,ye,me){var oe=E("../internals/native-weak-map"),te=E("../internals/global"),ue=E("../internals/function-uncurry-this"),ce=E("../internals/is-object"),le=E("../internals/create-non-enumerable-property"),de=E("../internals/has-own-property"),ae=E("../internals/shared-store"),ie=E("../internals/shared-key"),ne=E("../internals/hidden-keys"),a="Object already initialized",y=te.TypeError,x=te.WeakMap,b,z,ee,re=function(Se){return ee(Se)?z(Se):b(Se,{})},se=function(Se){return function(Pe){var je;if(!ce(Pe)||(je=z(Pe)).type!==Se)throw y("Incompatible receiver, "+Se+" required");return je}};if(oe||ae.state){var fe=ae.state||(ae.state=new x),ve=ue(fe.get),ge=ue(fe.has),he=ue(fe.set);b=function(Se,Pe){if(ge(fe,Se))throw new y(a);return Pe.facade=Se,he(fe,Se,Pe),Pe},z=function(Se){return ve(fe,Se)||{}},ee=function(Se){return ge(fe,Se)}}else{var pe=ie("state");ne[pe]=!0,b=function(Se,Pe){if(de(Se,pe))throw new y(a);return Pe.facade=Se,le(Se,pe,Pe),Pe},z=function(Se){return de(Se,pe)?Se[pe]:{}},ee=function(Se){return de(Se,pe)}}ye.exports={set:b,get:z,has:ee,enforce:re,getterFor:se}},{"../internals/create-non-enumerable-property":129,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/is-object":180,"../internals/native-weak-map":192,"../internals/shared-key":235,"../internals/shared-store":236}],174:[function(E,ye,me){var oe=E("../internals/well-known-symbol"),te=E("../internals/iterators"),ue=oe("iterator"),ce=Array.prototype;ye.exports=function(le){return le!==void 0&&(te.Array===le||ce[ue]===le)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,ye,me){var oe=E("../internals/classof-raw");ye.exports=Array.isArray||function(ue){return oe(ue)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,ye,me){ye.exports=function(oe){return typeof oe=="function"}},{}],177:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/fails"),ue=E("../internals/is-callable"),ce=E("../internals/classof"),le=E("../internals/get-built-in"),de=E("../internals/inspect-source"),ae=function(){},ie=[],ne=le("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=oe(a.exec),x=!a.exec(ae),b=function(re){if(!ue(re))return!1;try{return ne(ae,ie,re),!0}catch(se){return!1}},z=function(re){if(!ue(re))return!1;switch(ce(re)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,de(re))}catch(se){return!0}};z.sham=!0,ye.exports=!ne||te(function(){var ee;return b(b.call)||!b(Object)||!b(function(){ee=!0})||ee})?z:b},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(E,ye,me){var oe=E("../internals/fails"),te=E("../internals/is-callable"),ue=/#|\.prototype\./,ce=function(ne,a){var y=de[le(ne)];return y==ie?!0:y==ae?!1:te(a)?oe(a):!!a},le=ce.normalize=function(ne){return String(ne).replace(ue,".").toLowerCase()},de=ce.data={},ae=ce.NATIVE="N",ie=ce.POLYFILL="P";ye.exports=ce},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,ye,me){var oe=E("../internals/is-object"),te=Math.floor;ye.exports=Number.isInteger||function(ce){return!oe(ce)&&isFinite(ce)&&te(ce)===ce}},{"../internals/is-object":180}],180:[function(E,ye,me){var oe=E("../internals/is-callable");ye.exports=function(te){return typeof te=="object"?te!==null:oe(te)}},{"../internals/is-callable":176}],181:[function(E,ye,me){ye.exports=!1},{}],182:[function(E,ye,me){var oe=E("../internals/is-object"),te=E("../internals/classof-raw"),ue=E("../internals/well-known-symbol"),ce=ue("match");ye.exports=function(le){var de;return oe(le)&&((de=le[ce])!==void 0?!!de:te(le)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/get-built-in"),ue=E("../internals/is-callable"),ce=E("../internals/object-is-prototype-of"),le=E("../internals/use-symbol-as-uid"),de=oe.Object;ye.exports=le?function(ae){return typeof ae=="symbol"}:function(ae){var ie=te("Symbol");return ue(ie)&&ce(ie.prototype,de(ae))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/function-bind-context"),ue=E("../internals/function-call"),ce=E("../internals/an-object"),le=E("../internals/try-to-string"),de=E("../internals/is-array-iterator-method"),ae=E("../internals/length-of-array-like"),ie=E("../internals/object-is-prototype-of"),ne=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=oe.TypeError,b=function(ee,re){this.stopped=ee,this.result=re},z=b.prototype;ye.exports=function(ee,re,se){var fe=se&&se.that,ve=!!(se&&se.AS_ENTRIES),ge=!!(se&&se.IS_ITERATOR),he=!!(se&&se.INTERRUPTED),pe=te(re,fe),Se,Pe,je,we,Oe,Ae,Fe,ke=function(Me){return Se&&y(Se,"normal",Me),new b(!0,Me)},He=function(Me){return ve?(ce(Me),he?pe(Me[0],Me[1],ke):pe(Me[0],Me[1])):he?pe(Me,ke):pe(Me)};if(ge)Se=ee;else{if(Pe=a(ee),!Pe)throw x(le(ee)+" is not iterable");if(de(Pe)){for(je=0,we=ae(ee);we>je;je++)if(Oe=He(ee[je]),Oe&&ie(z,Oe))return Oe;return new b(!1)}Se=ne(ee,Pe)}for(Ae=Se.next;!(Fe=ue(Ae,Se)).done;){try{Oe=He(Fe.value)}catch(Me){y(Se,"throw",Me)}if(typeof Oe=="object"&&Oe&&ie(z,Oe))return Oe}return new b(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(E,ye,me){var oe=E("../internals/function-call"),te=E("../internals/an-object"),ue=E("../internals/get-method");ye.exports=function(ce,le,de){var ae,ie;te(ce);try{if(ae=ue(ce,"return"),!ae){if(le==="throw")throw de;return de}ae=oe(ae,ce)}catch(ne){ie=!0,ae=ne}if(le==="throw")throw de;if(ie)throw ae;return te(ae),de}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,ye,me){"use strict";var oe=E("../internals/fails"),te=E("../internals/is-callable"),ue=E("../internals/object-create"),ce=E("../internals/object-get-prototype-of"),le=E("../internals/redefine"),de=E("../internals/well-known-symbol"),ae=E("../internals/is-pure"),ie=de("iterator"),ne=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=ce(ce(x)),y!==Object.prototype&&(a=y)):ne=!0);var b=a==null||oe(function(){var z={};return a[ie].call(z)!==z});b?a={}:ae&&(a=ue(a)),te(a[ie])||le(a,ie,function(){return this}),ye.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:ne}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(E,ye,me){arguments[4][165][0].apply(me,arguments)},{dup:165}],188:[function(E,ye,me){var oe=E("../internals/to-length");ye.exports=function(te){return oe(te.length)}},{"../internals/to-length":249}],189:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/function-bind-context"),ue=E("../internals/object-get-own-property-descriptor").f,ce=E("../internals/task").set,le=E("../internals/engine-is-ios"),de=E("../internals/engine-is-ios-pebble"),ae=E("../internals/engine-is-webos-webkit"),ie=E("../internals/engine-is-node"),ne=oe.MutationObserver||oe.WebKitMutationObserver,a=oe.document,y=oe.process,x=oe.Promise,b=ue(oe,"queueMicrotask"),z=b&&b.value,ee,re,se,fe,ve,ge,he,pe;z||(ee=function(){var Se,Pe;for(ie&&(Se=y.domain)&&Se.exit();re;){Pe=re.fn,re=re.next;try{Pe()}catch(je){throw re?fe():se=void 0,je}}se=void 0,Se&&Se.enter()},!le&&!ie&&!ae&&ne&&a?(ve=!0,ge=a.createTextNode(""),new ne(ee).observe(ge,{characterData:!0}),fe=function(){ge.data=ve=!ve}):!de&&x&&x.resolve?(he=x.resolve(void 0),he.constructor=x,pe=te(he.then,he),fe=function(){pe(ee)}):ie?fe=function(){y.nextTick(ee)}:(ce=te(ce,oe),fe=function(){ce(ee)})),ye.exports=z||function(Se){var Pe={fn:Se,next:void 0};se&&(se.next=Pe),re||(re=Pe,fe()),se=Pe}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(E,ye,me){var oe=E("../internals/native-symbol");ye.exports=oe&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,ye,me){var oe=E("../internals/engine-v8-version"),te=E("../internals/fails");ye.exports=!!Object.getOwnPropertySymbols&&!te(function(){var ue=Symbol();return!String(ue)||!(Object(ue)instanceof Symbol)||!Symbol.sham&&oe&&oe<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/is-callable"),ue=E("../internals/inspect-source"),ce=oe.WeakMap;ye.exports=te(ce)&&/native code/.test(ue(ce))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,ye,me){"use strict";var oe=E("../internals/a-callable"),te=function(ue){var ce,le;this.promise=new ue(function(de,ae){if(ce!==void 0||le!==void 0)throw TypeError("Bad Promise constructor");ce=de,le=ae}),this.resolve=oe(ce),this.reject=oe(le)};ye.exports.f=function(ue){return new te(ue)}},{"../internals/a-callable":95}],194:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/is-regexp"),ue=oe.TypeError;ye.exports=function(ce){if(te(ce))throw ue("The method doesn't accept regular expressions");return ce}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,ye,me){"use strict";var oe=E("../internals/descriptors"),te=E("../internals/function-uncurry-this"),ue=E("../internals/function-call"),ce=E("../internals/fails"),le=E("../internals/object-keys"),de=E("../internals/object-get-own-property-symbols"),ae=E("../internals/object-property-is-enumerable"),ie=E("../internals/to-object"),ne=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=te([].concat);ye.exports=!a||ce(function(){if(oe&&a({b:1},a(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},z={},ee=Symbol(),re="abcdefghijklmnopqrst";return b[ee]=7,re.split("").forEach(function(se){z[se]=se}),a({},b)[ee]!=7||le(a({},z)).join("")!=re})?function(z,ee){for(var re=ie(z),se=arguments.length,fe=1,ve=de.f,ge=ae.f;se>fe;)for(var he=ne(arguments[fe++]),pe=ve?x(le(he),ve(he)):le(he),Se=pe.length,Pe=0,je;Se>Pe;)je=pe[Pe++],(!oe||ue(ge,he,je))&&(re[je]=he[je]);return re}:a},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(E,ye,me){var oe=E("../internals/an-object"),te=E("../internals/object-define-properties"),ue=E("../internals/enum-bug-keys"),ce=E("../internals/hidden-keys"),le=E("../internals/html"),de=E("../internals/document-create-element"),ae=E("../internals/shared-key"),ie=">",ne="<",a="prototype",y="script",x=ae("IE_PROTO"),b=function(){},z=function(ve){return ne+y+ie+ve+ne+"/"+y+ie},ee=function(ve){ve.write(z("")),ve.close();var ge=ve.parentWindow.Object;return ve=null,ge},re=function(){var ve=de("iframe"),ge="java"+y+":",he;return ve.style.display="none",le.appendChild(ve),ve.src=String(ge),he=ve.contentWindow.document,he.open(),he.write(z("document.F=Object")),he.close(),he.F},se,fe=function(){try{se=new ActiveXObject("htmlfile")}catch(ge){}fe=typeof document!="undefined"?document.domain&&se?ee(se):re():ee(se);for(var ve=ue.length;ve--;)delete fe[a][ue[ve]];return fe()};ce[x]=!0,ye.exports=Object.create||function(ge,he){var pe;return ge!==null?(b[a]=oe(ge),pe=new b,b[a]=null,pe[x]=ge):pe=fe(),he===void 0?pe:te.f(pe,he)}},{"../internals/an-object":101,"../internals/document-create-element":135,"../internals/enum-bug-keys":148,"../internals/hidden-keys":165,"../internals/html":167,"../internals/object-define-properties":197,"../internals/shared-key":235}],197:[function(E,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/v8-prototype-define-bug"),ue=E("../internals/object-define-property"),ce=E("../internals/an-object"),le=E("../internals/to-indexed-object"),de=E("../internals/object-keys");me.f=oe&&!te?Object.defineProperties:function(ie,ne){ce(ie);for(var a=le(ne),y=de(ne),x=y.length,b=0,z;x>b;)ue.f(ie,z=y[b++],a[z]);return ie}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/descriptors"),ue=E("../internals/ie8-dom-define"),ce=E("../internals/v8-prototype-define-bug"),le=E("../internals/an-object"),de=E("../internals/to-property-key"),ae=oe.TypeError,ie=Object.defineProperty,ne=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";me.f=te?ce?function(z,ee,re){if(le(z),ee=de(ee),le(re),typeof z=="function"&&ee==="prototype"&&"value"in re&&x in re&&!re[x]){var se=ne(z,ee);se&&se[x]&&(z[ee]=re.value,re={configurable:y in re?re[y]:se[y],enumerable:a in re?re[a]:se[a],writable:!1})}return ie(z,ee,re)}:ie:function(z,ee,re){if(le(z),ee=de(ee),le(re),ue)try{return ie(z,ee,re)}catch(se){}if("get"in re||"set"in re)throw ae("Accessors not supported");return"value"in re&&(z[ee]=re.value),z}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(E,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/function-call"),ue=E("../internals/object-property-is-enumerable"),ce=E("../internals/create-property-descriptor"),le=E("../internals/to-indexed-object"),de=E("../internals/to-property-key"),ae=E("../internals/has-own-property"),ie=E("../internals/ie8-dom-define"),ne=Object.getOwnPropertyDescriptor;me.f=oe?ne:function(y,x){if(y=le(y),x=de(x),ie)try{return ne(y,x)}catch(b){}if(ae(y,x))return ce(!te(ue.f,y,x),y[x])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(E,ye,me){var oe=E("../internals/classof-raw"),te=E("../internals/to-indexed-object"),ue=E("../internals/object-get-own-property-names").f,ce=E("../internals/array-slice-simple"),le=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],de=function(ae){try{return ue(ae)}catch(ie){return ce(le)}};ye.exports.f=function(ie){return le&&oe(ie)=="Window"?de(ie):ue(te(ie))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,ye,me){var oe=E("../internals/object-keys-internal"),te=E("../internals/enum-bug-keys"),ue=te.concat("length","prototype");me.f=Object.getOwnPropertyNames||function(le){return oe(le,ue)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,ye,me){me.f=Object.getOwnPropertySymbols},{}],203:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/has-own-property"),ue=E("../internals/is-callable"),ce=E("../internals/to-object"),le=E("../internals/shared-key"),de=E("../internals/correct-prototype-getter"),ae=le("IE_PROTO"),ie=oe.Object,ne=ie.prototype;ye.exports=de?ie.getPrototypeOf:function(a){var y=ce(a);if(te(y,ae))return y[ae];var x=y.constructor;return ue(x)&&y instanceof x?x.prototype:y instanceof ie?ne:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(E,ye,me){var oe=E("../internals/function-uncurry-this");ye.exports=oe({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/has-own-property"),ue=E("../internals/to-indexed-object"),ce=E("../internals/array-includes").indexOf,le=E("../internals/hidden-keys"),de=oe([].push);ye.exports=function(ae,ie){var ne=ue(ae),a=0,y=[],x;for(x in ne)!te(le,x)&&te(ne,x)&&de(y,x);for(;ie.length>a;)te(ne,x=ie[a++])&&(~ce(y,x)||de(y,x));return y}},{"../internals/array-includes":110,"../internals/function-uncurry-this":157,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/to-indexed-object":247}],206:[function(E,ye,me){var oe=E("../internals/object-keys-internal"),te=E("../internals/enum-bug-keys");ye.exports=Object.keys||function(ce){return oe(ce,te)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,ye,me){"use strict";var oe={}.propertyIsEnumerable,te=Object.getOwnPropertyDescriptor,ue=te&&!oe.call({1:2},1);me.f=ue?function(le){var de=te(this,le);return!!de&&de.enumerable}:oe},{}],208:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/an-object"),ue=E("../internals/a-possible-prototype");ye.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var ce=!1,le={},de;try{de=oe(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),de(le,[]),ce=le instanceof Array}catch(ae){}return function(ie,ne){return te(ie),ue(ne),ce?de(ie,ne):ie.__proto__=ne,ie}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/function-uncurry-this"),ue=E("../internals/object-keys"),ce=E("../internals/to-indexed-object"),le=E("../internals/object-property-is-enumerable").f,de=te(le),ae=te([].push),ie=function(ne){return function(a){for(var y=ce(a),x=ue(y),b=x.length,z=0,ee=[],re;b>z;)re=x[z++],(!oe||de(y,re))&&ae(ee,ne?[re,y[re]]:y[re]);return ee}};ye.exports={entries:ie(!0),values:ie(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(E,ye,me){"use strict";var oe=E("../internals/to-string-tag-support"),te=E("../internals/classof");ye.exports=oe?{}.toString:function(){return"[object "+te(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/function-call"),ue=E("../internals/is-callable"),ce=E("../internals/is-object"),le=oe.TypeError;ye.exports=function(de,ae){var ie,ne;if(ae==="string"&&ue(ie=de.toString)&&!ce(ne=te(ie,de))||ue(ie=de.valueOf)&&!ce(ne=te(ie,de))||ae!=="string"&&ue(ie=de.toString)&&!ce(ne=te(ie,de)))return ne;throw le("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(E,ye,me){var oe=E("../internals/get-built-in"),te=E("../internals/function-uncurry-this"),ue=E("../internals/object-get-own-property-names"),ce=E("../internals/object-get-own-property-symbols"),le=E("../internals/an-object"),de=te([].concat);ye.exports=oe("Reflect","ownKeys")||function(ie){var ne=ue.f(le(ie)),a=ce.f;return a?de(ne,a(ie)):ne}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(E,ye,me){var oe=E("../internals/global");ye.exports=oe},{"../internals/global":163}],214:[function(E,ye,me){ye.exports=function(oe){try{return{error:!1,value:oe()}}catch(te){return{error:!0,value:te}}}},{}],215:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/promise-native-constructor"),ue=E("../internals/is-callable"),ce=E("../internals/is-forced"),le=E("../internals/inspect-source"),de=E("../internals/well-known-symbol"),ae=E("../internals/engine-is-browser"),ie=E("../internals/is-pure"),ne=E("../internals/engine-v8-version"),a=te&&te.prototype,y=de("species"),x=!1,b=ue(oe.PromiseRejectionEvent),z=ce("Promise",function(){var ee=le(te),re=ee!==String(te);if(!re&&ne===66||ie&&!(a.catch&&a.finally))return!0;if(ne>=51&&/native code/.test(ee))return!1;var se=new te(function(ge){ge(1)}),fe=function(ge){ge(function(){},function(){})},ve=se.constructor={};return ve[y]=fe,x=se.then(function(){})instanceof fe,x?!re&&ae&&!b:!0});ye.exports={CONSTRUCTOR:z,REJECTION_EVENT:b,SUBCLASSING:x}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(E,ye,me){var oe=E("../internals/global");ye.exports=oe.Promise},{"../internals/global":163}],217:[function(E,ye,me){var oe=E("../internals/an-object"),te=E("../internals/is-object"),ue=E("../internals/new-promise-capability");ye.exports=function(ce,le){if(oe(ce),te(le)&&le.constructor===ce)return le;var de=ue.f(ce),ae=de.resolve;return ae(le),de.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,ye,me){var oe=E("../internals/promise-native-constructor"),te=E("../internals/check-correctness-of-iteration"),ue=E("../internals/promise-constructor-detection").CONSTRUCTOR;ye.exports=ue||!te(function(ce){oe.all(ce).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,ye,me){var oe=E("../internals/object-define-property").f;ye.exports=function(te,ue,ce){ce in te||oe(te,ce,{configurable:!0,get:function(){return ue[ce]},set:function(le){ue[ce]=le}})}},{"../internals/object-define-property":198}],220:[function(E,ye,me){var oe=function(){this.head=null,this.tail=null};oe.prototype={add:function(te){var ue={item:te,next:null};this.head?this.tail.next=ue:this.head=ue,this.tail=ue},get:function(){var te=this.head;if(te)return this.head=te.next,this.tail===te&&(this.tail=null),te.item}},ye.exports=oe},{}],221:[function(E,ye,me){var oe=E("../internals/redefine");ye.exports=function(te,ue,ce){for(var le in ue)oe(te,le,ue[le],ce);return te}},{"../internals/redefine":222}],222:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/is-callable"),ue=E("../internals/has-own-property"),ce=E("../internals/create-non-enumerable-property"),le=E("../internals/set-global"),de=E("../internals/inspect-source"),ae=E("../internals/internal-state"),ie=E("../internals/function-name").CONFIGURABLE,ne=ae.get,a=ae.enforce,y=String(String).split("String");(ye.exports=function(x,b,z,ee){var re=ee?!!ee.unsafe:!1,se=ee?!!ee.enumerable:!1,fe=ee?!!ee.noTargetGet:!1,ve=ee&&ee.name!==void 0?ee.name:b,ge;if(te(z)&&(String(ve).slice(0,7)==="Symbol("&&(ve="["+String(ve).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ue(z,"name")||ie&&z.name!==ve)&&ce(z,"name",ve),ge=a(z),ge.source||(ge.source=y.join(typeof ve=="string"?ve:""))),x===oe){se?x[b]=z:le(b,z);return}else re?!fe&&x[b]&&(se=!0):delete x[b];se?x[b]=z:ce(x,b,z)})(Function.prototype,"toString",function(){return te(this)&&ne(this).source||de(this)})},{"../internals/create-non-enumerable-property":129,"../internals/function-name":156,"../internals/global":163,"../internals/has-own-property":164,"../internals/inspect-source":172,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/set-global":232}],223:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/function-call"),ue=E("../internals/an-object"),ce=E("../internals/is-callable"),le=E("../internals/classof-raw"),de=E("../internals/regexp-exec"),ae=oe.TypeError;ye.exports=function(ie,ne){var a=ie.exec;if(ce(a)){var y=te(a,ie,ne);return y!==null&&ue(y),y}if(le(ie)==="RegExp")return te(de,ie,ne);throw ae("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(E,ye,me){"use strict";var oe=E("../internals/function-call"),te=E("../internals/function-uncurry-this"),ue=E("../internals/to-string"),ce=E("../internals/regexp-flags"),le=E("../internals/regexp-sticky-helpers"),de=E("../internals/shared"),ae=E("../internals/object-create"),ie=E("../internals/internal-state").get,ne=E("../internals/regexp-unsupported-dot-all"),a=E("../internals/regexp-unsupported-ncg"),y=de("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,b=x,z=te("".charAt),ee=te("".indexOf),re=te("".replace),se=te("".slice),fe=function(){var pe=/a/,Se=/b*/g;return oe(x,pe,"a"),oe(x,Se,"a"),pe.lastIndex!==0||Se.lastIndex!==0}(),ve=le.BROKEN_CARET,ge=/()??/.exec("")[1]!==void 0,he=fe||ge||ve||ne||a;he&&(b=function(Se){var Pe=this,je=ie(Pe),we=ue(Se),Oe=je.raw,Ae,Fe,ke,He,Me,ut,rt;if(Oe)return Oe.lastIndex=Pe.lastIndex,Ae=oe(b,Oe,we),Pe.lastIndex=Oe.lastIndex,Ae;var et=je.groups,Xe=ve&&Pe.sticky,_e=oe(ce,Pe),$e=Pe.source,Be=0,nt=we;if(Xe&&(_e=re(_e,"y",""),ee(_e,"g")===-1&&(_e+="g"),nt=se(we,Pe.lastIndex),Pe.lastIndex>0&&(!Pe.multiline||Pe.multiline&&z(we,Pe.lastIndex-1)!==` `)&&($e="(?: "+$e+")",nt=" "+nt,Be++),Fe=new RegExp("^(?:"+$e+")",_e)),ge&&(Fe=new RegExp("^"+$e+"$(?!\\s)",_e)),fe&&(ke=Pe.lastIndex),He=oe(x,Xe?Fe:Pe,nt),Xe?He?(He.input=se(He.input,Be),He[0]=se(He[0],Be),He.index=Pe.lastIndex,Pe.lastIndex+=He[0].length):Pe.lastIndex=0:fe&&He&&(Pe.lastIndex=Pe.global?He.index+He[0].length:ke),ge&&He&&He.length>1&&oe(y,He[0],Fe,function(){for(Me=1;Meb)","g");return ce.exec("b").groups.a!=="b"||"b".replace(ce,"$c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,ye,me){var oe=E("../internals/global"),te=oe.TypeError;ye.exports=function(ue){if(ue==null)throw te("Can't call method on "+ue);return ue}},{"../internals/global":163}],231:[function(E,ye,me){ye.exports=Object.is||function(te,ue){return te===ue?te!==0||1/te===1/ue:te!=te&&ue!=ue}},{}],232:[function(E,ye,me){var oe=E("../internals/global"),te=Object.defineProperty;ye.exports=function(ue,ce){try{te(oe,ue,{value:ce,configurable:!0,writable:!0})}catch(le){oe[ue]=ce}return ce}},{"../internals/global":163}],233:[function(E,ye,me){"use strict";var oe=E("../internals/get-built-in"),te=E("../internals/object-define-property"),ue=E("../internals/well-known-symbol"),ce=E("../internals/descriptors"),le=ue("species");ye.exports=function(de){var ae=oe(de),ie=te.f;ce&&ae&&!ae[le]&&ie(ae,le,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(E,ye,me){var oe=E("../internals/object-define-property").f,te=E("../internals/has-own-property"),ue=E("../internals/well-known-symbol"),ce=ue("toStringTag");ye.exports=function(le,de,ae){le&&!ae&&(le=le.prototype),le&&!te(le,ce)&&oe(le,ce,{configurable:!0,value:de})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,ye,me){var oe=E("../internals/shared"),te=E("../internals/uid"),ue=oe("keys");ye.exports=function(ce){return ue[ce]||(ue[ce]=te(ce))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/set-global"),ue="__core-js_shared__",ce=oe[ue]||te(ue,{});ye.exports=ce},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,ye,me){var oe=E("../internals/is-pure"),te=E("../internals/shared-store");(ye.exports=function(ue,ce){return te[ue]||(te[ue]=ce!==void 0?ce:{})})("versions",[]).push({version:"3.22.1",mode:oe?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":181,"../internals/shared-store":236}],238:[function(E,ye,me){var oe=E("../internals/an-object"),te=E("../internals/a-constructor"),ue=E("../internals/well-known-symbol"),ce=ue("species");ye.exports=function(le,de){var ae=oe(le).constructor,ie;return ae===void 0||(ie=oe(ae)[ce])==null?de:te(ie)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-integer-or-infinity"),ue=E("../internals/to-string"),ce=E("../internals/require-object-coercible"),le=oe("".charAt),de=oe("".charCodeAt),ae=oe("".slice),ie=function(ne){return function(a,y){var x=ue(ce(a)),b=te(y),z=x.length,ee,re;return b<0||b>=z?ne?"":void 0:(ee=de(x,b),ee<55296||ee>56319||b+1===z||(re=de(x,b+1))<56320||re>57343?ne?le(x,b):ee:ne?ae(x,b,b+2):(ee-55296<<10)+(re-56320)+65536)}};ye.exports={codeAt:ie(!1),charAt:ie(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,ye,me){var oe=E("../internals/function-name").PROPER,te=E("../internals/fails"),ue=E("../internals/whitespaces"),ce="\u200B\x85\u180E";ye.exports=function(le){return te(function(){return!!ue[le]()||ce[le]()!==ce||oe&&ue[le].name!==le})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=E("../internals/require-object-coercible"),ue=E("../internals/to-string"),ce=E("../internals/whitespaces"),le=oe("".replace),de="["+ce+"]",ae=RegExp("^"+de+de+"*"),ie=RegExp(de+de+"*$"),ne=function(a){return function(y){var x=ue(te(y));return a&1&&(x=le(x,ae,"")),a&2&&(x=le(x,ie,"")),x}};ye.exports={start:ne(1),end:ne(2),trim:ne(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,ye,me){var oe=E("../internals/function-call"),te=E("../internals/get-built-in"),ue=E("../internals/well-known-symbol"),ce=E("../internals/redefine");ye.exports=function(){var le=te("Symbol"),de=le&&le.prototype,ae=de&&de.valueOf,ie=ue("toPrimitive");de&&!de[ie]&&ce(de,ie,function(ne){return oe(ae,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/function-apply"),ue=E("../internals/function-bind-context"),ce=E("../internals/is-callable"),le=E("../internals/has-own-property"),de=E("../internals/fails"),ae=E("../internals/html"),ie=E("../internals/array-slice"),ne=E("../internals/document-create-element"),a=E("../internals/validate-arguments-length"),y=E("../internals/engine-is-ios"),x=E("../internals/engine-is-node"),b=oe.setImmediate,z=oe.clearImmediate,ee=oe.process,re=oe.Dispatch,se=oe.Function,fe=oe.MessageChannel,ve=oe.String,ge=0,he={},pe="onreadystatechange",Se,Pe,je,we;try{Se=oe.location}catch(He){}var Oe=function(He){if(le(he,He)){var Me=he[He];delete he[He],Me()}},Ae=function(He){return function(){Oe(He)}},Fe=function(He){Oe(He.data)},ke=function(He){oe.postMessage(ve(He),Se.protocol+"//"+Se.host)};(!b||!z)&&(b=function(Me){a(arguments.length,1);var ut=ce(Me)?Me:se(Me),rt=ie(arguments,1);return he[++ge]=function(){te(ut,void 0,rt)},Pe(ge),ge},z=function(Me){delete he[Me]},x?Pe=function(He){ee.nextTick(Ae(He))}:re&&re.now?Pe=function(He){re.now(Ae(He))}:fe&&!y?(je=new fe,we=je.port2,je.port1.onmessage=Fe,Pe=ue(we.postMessage,we)):oe.addEventListener&&ce(oe.postMessage)&&!oe.importScripts&&Se&&Se.protocol!=="file:"&&!de(ke)?(Pe=ke,oe.addEventListener("message",Fe,!1)):pe in ne("script")?Pe=function(He){ae.appendChild(ne("script"))[pe]=function(){ae.removeChild(this),Oe(He)}}:Pe=function(He){setTimeout(Ae(He),0)}),ye.exports={set:b,clear:z}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(E,ye,me){var oe=E("../internals/function-uncurry-this");ye.exports=oe(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,ye,me){var oe=E("../internals/to-integer-or-infinity"),te=Math.max,ue=Math.min;ye.exports=function(ce,le){var de=oe(ce);return de<0?te(de+le,0):ue(de,le)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/to-integer-or-infinity"),ue=E("../internals/to-length"),ce=oe.RangeError;ye.exports=function(le){if(le===void 0)return 0;var de=te(le),ae=ue(de);if(de!==ae)throw ce("Wrong length or index");return ae}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,ye,me){var oe=E("../internals/indexed-object"),te=E("../internals/require-object-coercible");ye.exports=function(ue){return oe(te(ue))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,ye,me){var oe=Math.ceil,te=Math.floor;ye.exports=function(ue){var ce=+ue;return ce!==ce||ce===0?0:(ce>0?te:oe)(ce)}},{}],249:[function(E,ye,me){var oe=E("../internals/to-integer-or-infinity"),te=Math.min;ye.exports=function(ue){return ue>0?te(oe(ue),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/require-object-coercible"),ue=oe.Object;ye.exports=function(ce){return ue(te(ce))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/to-positive-integer"),ue=oe.RangeError;ye.exports=function(ce,le){var de=te(ce);if(de%le)throw ue("Wrong offset");return de}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/to-integer-or-infinity"),ue=oe.RangeError;ye.exports=function(ce){var le=te(ce);if(le<0)throw ue("The argument can't be less than 0");return le}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/function-call"),ue=E("../internals/is-object"),ce=E("../internals/is-symbol"),le=E("../internals/get-method"),de=E("../internals/ordinary-to-primitive"),ae=E("../internals/well-known-symbol"),ie=oe.TypeError,ne=ae("toPrimitive");ye.exports=function(a,y){if(!ue(a)||ce(a))return a;var x=le(a,ne),b;if(x){if(y===void 0&&(y="default"),b=te(x,a,y),!ue(b)||ce(b))return b;throw ie("Can't convert object to primitive value")}return y===void 0&&(y="number"),de(a,y)}},{"../internals/function-call":155,"../internals/get-method":161,"../internals/global":163,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/ordinary-to-primitive":211,"../internals/well-known-symbol":268}],254:[function(E,ye,me){var oe=E("../internals/to-primitive"),te=E("../internals/is-symbol");ye.exports=function(ue){var ce=oe(ue,"string");return te(ce)?ce:ce+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,ye,me){var oe=E("../internals/well-known-symbol"),te=oe("toStringTag"),ue={};ue[te]="z",ye.exports=String(ue)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/classof"),ue=oe.String;ye.exports=function(ce){if(te(ce)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ue(ce)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,ye,me){var oe=E("../internals/global"),te=oe.String;ye.exports=function(ue){try{return te(ue)}catch(ce){return"Object"}}},{"../internals/global":163}],258:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),ue=E("../internals/function-call"),ce=E("../internals/descriptors"),le=E("../internals/typed-array-constructors-require-wrappers"),de=E("../internals/array-buffer-view-core"),ae=E("../internals/array-buffer"),ie=E("../internals/an-instance"),ne=E("../internals/create-property-descriptor"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/is-integral-number"),x=E("../internals/to-length"),b=E("../internals/to-index"),z=E("../internals/to-offset"),ee=E("../internals/to-property-key"),re=E("../internals/has-own-property"),se=E("../internals/classof"),fe=E("../internals/is-object"),ve=E("../internals/is-symbol"),ge=E("../internals/object-create"),he=E("../internals/object-is-prototype-of"),pe=E("../internals/object-set-prototype-of"),Se=E("../internals/object-get-own-property-names").f,Pe=E("../internals/typed-array-from"),je=E("../internals/array-iteration").forEach,we=E("../internals/set-species"),Oe=E("../internals/object-define-property"),Ae=E("../internals/object-get-own-property-descriptor"),Fe=E("../internals/internal-state"),ke=E("../internals/inherit-if-required"),He=Fe.get,Me=Fe.set,ut=Oe.f,rt=Ae.f,et=Math.round,Xe=te.RangeError,_e=ae.ArrayBuffer,$e=_e.prototype,Be=ae.DataView,nt=de.NATIVE_ARRAY_BUFFER_VIEWS,Je=de.TYPED_ARRAY_CONSTRUCTOR,ft=de.TYPED_ARRAY_TAG,Ke=de.TypedArray,Ue=de.TypedArrayPrototype,Le=de.aTypedArrayConstructor,ze=de.isTypedArray,Ee="BYTES_PER_ELEMENT",Re="Wrong length",qe=function(Ge,st){Le(Ge);for(var bt=0,dt=st.length,Qe=new Ge(dt);dt>bt;)Qe[bt]=st[bt++];return Qe},Ye=function(Ge,st){ut(Ge,st,{get:function(){return He(this)[st]}})},We=function(Ge){var st;return he($e,Ge)||(st=se(Ge))=="ArrayBuffer"||st=="SharedArrayBuffer"},Te=function(Ge,st){return ze(Ge)&&!ve(st)&&st in Ge&&y(+st)&&st>=0},xe=function(st,bt){return bt=ee(bt),Te(st,bt)?ne(2,st[bt]):rt(st,bt)},Ne=function(st,bt,dt){return bt=ee(bt),Te(st,bt)&&fe(dt)&&re(dt,"value")&&!re(dt,"get")&&!re(dt,"set")&&!dt.configurable&&(!re(dt,"writable")||dt.writable)&&(!re(dt,"enumerable")||dt.enumerable)?(st[bt]=dt.value,st):ut(st,bt,dt)};ce?(nt||(Ae.f=xe,Oe.f=Ne,Ye(Ue,"buffer"),Ye(Ue,"byteOffset"),Ye(Ue,"byteLength"),Ye(Ue,"length")),oe({target:"Object",stat:!0,forced:!nt},{getOwnPropertyDescriptor:xe,defineProperty:Ne}),ye.exports=function(Ge,st,bt){var dt=Ge.match(/\d+$/)[0]/8,Qe=Ge+(bt?"Clamped":"")+"Array",mt="get"+Ge,Lt="set"+Ge,Mt=te[Qe],at=Mt,Ct=at&&at.prototype,ot={},Ve=function(At,Gt){var on=He(At);return on.view[mt](Gt*dt+on.byteOffset,!0)},yt=function(At,Gt,on){var un=He(At);bt&&(on=(on=et(on))<0?0:on>255?255:on&255),un.view[Lt](Gt*dt+un.byteOffset,on,!0)},Pt=function(At,Gt){ut(At,Gt,{get:function(){return Ve(this,Gt)},set:function(on){return yt(this,Gt,on)},enumerable:!0})};nt?le&&(at=st(function(At,Gt,on,un){return ie(At,Ct),ke(function(){return fe(Gt)?We(Gt)?un!==void 0?new Mt(Gt,z(on,dt),un):on!==void 0?new Mt(Gt,z(on,dt)):new Mt(Gt):ze(Gt)?qe(at,Gt):ue(Pe,at,Gt):new Mt(b(Gt))}(),At,at)}),pe&&pe(at,Ke),je(Se(Mt),function(At){At in at||a(at,At,Mt[At])}),at.prototype=Ct):(at=st(function(At,Gt,on,un){ie(At,Ct);var Cn=0,Dn=0,Ln,Yn,br;if(!fe(Gt))br=b(Gt),Yn=br*dt,Ln=new _e(Yn);else if(We(Gt)){Ln=Gt,Dn=z(on,dt);var Wr=Gt.byteLength;if(un===void 0){if(Wr%dt||(Yn=Wr-Dn,Yn<0))throw Xe(Re)}else if(Yn=x(un)*dt,Yn+Dn>Wr)throw Xe(Re);br=Yn/dt}else return ze(Gt)?qe(at,Gt):ue(Pe,at,Gt);for(Me(At,{buffer:Ln,byteOffset:Dn,byteLength:Yn,length:br,view:new Be(Ln)});Cn1?arguments[1]:void 0,re=ee!==void 0,se=ae(b),fe,ve,ge,he,pe,Se;if(se&&!ie(se))for(pe=de(b,se),Se=pe.next,b=[];!(he=te(Se,pe)).done;)b.push(he.value);for(re&&z>2&&(ee=oe(ee,arguments[2])),ve=le(b),ge=new(ne(x))(ve),fe=0;ve>fe;fe++)ge[fe]=re?ee(b[fe],fe):b[fe];return ge}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(E,ye,me){var oe=E("../internals/array-buffer-view-core"),te=E("../internals/species-constructor"),ue=oe.TYPED_ARRAY_CONSTRUCTOR,ce=oe.aTypedArrayConstructor;ye.exports=function(le){return ce(te(le,le[ue]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,ye,me){var oe=E("../internals/function-uncurry-this"),te=0,ue=Math.random(),ce=oe(1 .toString);ye.exports=function(le){return"Symbol("+(le===void 0?"":le)+")_"+ce(++te+ue,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,ye,me){var oe=E("../internals/native-symbol");ye.exports=oe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/fails");ye.exports=oe&&te(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,ye,me){var oe=E("../internals/global"),te=oe.TypeError;ye.exports=function(ue,ce){if(ue=51||!ue(function(){var he=[];return he[b]=!1,he.concat()[0]!==he}),fe=a("concat"),ve=function(he){if(!le(he))return!1;var pe=he[b];return pe!==void 0?!!pe:ce(he)},ge=!se||!fe;oe({target:"Array",proto:!0,forced:ge},{concat:function(pe){var Se=de(this),Pe=ne(Se,0),je=0,we,Oe,Ae,Fe,ke;for(we=-1,Ae=arguments.length;wez)throw re(ee);for(Oe=0;Oe=z)throw re(ee);ie(Pe,je++,ke)}return Pe.length=je,Pe}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(E,ye,me){var oe=E("../internals/export"),te=E("../internals/array-fill"),ue=E("../internals/add-to-unscopables");oe({target:"Array",proto:!0},{fill:te}),ue("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").filter,ue=E("../internals/array-method-has-species-support"),ce=ue("filter");oe({target:"Array",proto:!0,forced:!ce},{filter:function(de){return te(this,de,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").find,ue=E("../internals/add-to-unscopables"),ce="find",le=!0;ce in[]&&Array(1)[ce](function(){le=!1}),oe({target:"Array",proto:!0,forced:le},{find:function(ae){return te(this,ae,arguments.length>1?arguments[1]:void 0)}}),ue(ce)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,ye,me){var oe=E("../internals/export"),te=E("../internals/array-from"),ue=E("../internals/check-correctness-of-iteration"),ce=!ue(function(le){Array.from(le)});oe({target:"Array",stat:!0,forced:ce},{from:te})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/array-includes").includes,ue=E("../internals/add-to-unscopables");oe({target:"Array",proto:!0},{includes:function(le){return te(this,le,arguments.length>1?arguments[1]:void 0)}}),ue("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,ye,me){"use strict";var oe=E("../internals/to-indexed-object"),te=E("../internals/add-to-unscopables"),ue=E("../internals/iterators"),ce=E("../internals/internal-state"),le=E("../internals/object-define-property").f,de=E("../internals/define-iterator"),ae=E("../internals/is-pure"),ie=E("../internals/descriptors"),ne="Array Iterator",a=ce.set,y=ce.getterFor(ne);ye.exports=de(Array,"Array",function(b,z){a(this,{type:ne,target:oe(b),index:0,kind:z})},function(){var b=y(this),z=b.target,ee=b.kind,re=b.index++;return!z||re>=z.length?(b.target=void 0,{value:void 0,done:!0}):ee=="keys"?{value:re,done:!1}:ee=="values"?{value:z[re],done:!1}:{value:[re,z[re]],done:!1}},"values");var x=ue.Arguments=ue.Array;if(te("keys"),te("values"),te("entries"),!ae&&ie&&x.name!=="values")try{le(x,"name",{value:"values"})}catch(b){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/function-uncurry-this"),ue=E("../internals/indexed-object"),ce=E("../internals/to-indexed-object"),le=E("../internals/array-method-is-strict"),de=te([].join),ae=ue!=Object,ie=le("join",",");oe({target:"Array",proto:!0,forced:ae||!ie},{join:function(a){return de(ce(this),a===void 0?",":a)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").map,ue=E("../internals/array-method-has-species-support"),ce=ue("map");oe({target:"Array",proto:!0,forced:!ce},{map:function(de){return te(this,de,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),ue=E("../internals/is-array"),ce=E("../internals/is-constructor"),le=E("../internals/is-object"),de=E("../internals/to-absolute-index"),ae=E("../internals/length-of-array-like"),ie=E("../internals/to-indexed-object"),ne=E("../internals/create-property"),a=E("../internals/well-known-symbol"),y=E("../internals/array-method-has-species-support"),x=E("../internals/array-slice"),b=y("slice"),z=a("species"),ee=te.Array,re=Math.max;oe({target:"Array",proto:!0,forced:!b},{slice:function(fe,ve){var ge=ie(this),he=ae(ge),pe=de(fe,he),Se=de(ve===void 0?he:ve,he),Pe,je,we;if(ue(ge)&&(Pe=ge.constructor,ce(Pe)&&(Pe===ee||ue(Pe.prototype))?Pe=void 0:le(Pe)&&(Pe=Pe[z],Pe===null&&(Pe=void 0)),Pe===ee||Pe===void 0))return x(ge,pe,Se);for(je=new(Pe===void 0?ee:Pe)(re(Se-pe,0)),we=0;pe3)){if(y)return!0;if(b)return b<603;var Se="",Pe,je,we,Oe;for(Pe=65;Pe<76;Pe++){switch(je=String.fromCharCode(Pe),Pe){case 66:case 69:case 70:case 72:we=3;break;case 68:case 71:we=4;break;default:we=2}for(Oe=0;Oe<47;Oe++)z.push({k:je+Oe,v:we})}for(z.sort(function(Ae,Fe){return Fe.v-Ae.v}),Oe=0;Oede(je)?1:-1}};oe({target:"Array",proto:!0,forced:he},{sort:function(Pe){Pe!==void 0&&ue(Pe);var je=ce(this);if(ge)return Pe===void 0?ee(je):ee(je,Pe);var we=[],Oe=le(je),Ae,Fe;for(Fe=0;Fez)throw y(ee);for(je=ae(ve,Pe),we=0;wege-Pe+Se;we--)delete ve[we-1]}else if(Se>Pe)for(we=ge-Pe;we>he;we--)Oe=we+Pe-1,Ae=we+Se-1,Oe in ve?ve[Ae]=ve[Oe]:delete ve[Ae];for(we=0;we2){if(ke=re(ke),He=pe(ke,0),He===43||He===45){if(Me=pe(ke,2),Me===88||Me===120)return NaN}else if(He===48){switch(pe(ke,1)){case 66:case 98:ut=2,rt=49;break;case 79:case 111:ut=8,rt=55;break;default:return+ke}for(et=he(ke,2),Xe=et.length,_e=0;_ert)return NaN;return parseInt(et,ut)}}return+ke};if(ce(se,!fe(" 0o1")||!fe("0b1")||fe("+0x1"))){for(var je=function(ke){var He=arguments.length<1?0:fe(Se(ke)),Me=this;return ie(ve,Me)&&y(function(){ee(Me)})?ae(Object(He),Me,je):He},we=oe?x(fe):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Oe=0,Ae;we.length>Oe;Oe++)de(fe,Ae=we[Oe])&&!de(je,Ae)&&z(je,Ae,b(fe,Ae));je.prototype=ve,ve.constructor=je,le(te,se,je)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(E,ye,me){var oe=E("../internals/export"),te=E("../internals/object-assign");oe({target:"Object",stat:!0,forced:Object.assign!==te},{assign:te})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,ye,me){var oe=E("../internals/export"),te=E("../internals/object-to-array").entries;oe({target:"Object",stat:!0},{entries:function(ce){return te(ce)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,ye,me){var oe=E("../internals/export"),te=E("../internals/native-symbol"),ue=E("../internals/fails"),ce=E("../internals/object-get-own-property-symbols"),le=E("../internals/to-object"),de=!te||ue(function(){ce.f(1)});oe({target:"Object",stat:!0,forced:de},{getOwnPropertySymbols:function(ie){var ne=ce.f;return ne?ne(le(ie)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,ye,me){var oe=E("../internals/export"),te=E("../internals/to-object"),ue=E("../internals/object-keys"),ce=E("../internals/fails"),le=ce(function(){ue(1)});oe({target:"Object",stat:!0,forced:le},{keys:function(ae){return ue(te(ae))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,ye,me){var oe=E("../internals/to-string-tag-support"),te=E("../internals/redefine"),ue=E("../internals/object-to-string");oe||te(Object.prototype,"toString",ue,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),ue=E("../internals/a-callable"),ce=E("../internals/new-promise-capability"),le=E("../internals/perform"),de=E("../internals/iterate"),ae=E("../internals/promise-statics-incorrect-iteration");oe({target:"Promise",stat:!0,forced:ae},{all:function(ne){var a=this,y=ce.f(a),x=y.resolve,b=y.reject,z=le(function(){var ee=ue(a.resolve),re=[],se=0,fe=1;de(ne,function(ve){var ge=se++,he=!1;fe++,te(ee,a,ve).then(function(pe){he||(he=!0,re[ge]=pe,--fe||x(re))},b)}),--fe||x(re)});return z.error&&b(z.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/is-pure"),ue=E("../internals/promise-constructor-detection").CONSTRUCTOR,ce=E("../internals/promise-native-constructor"),le=E("../internals/get-built-in"),de=E("../internals/is-callable"),ae=E("../internals/redefine"),ie=ce&&ce.prototype;if(oe({target:"Promise",proto:!0,forced:ue,real:!0},{catch:function(a){return this.then(void 0,a)}}),!te&&de(ce)){var ne=le("Promise").prototype.catch;ie.catch!==ne&&ae(ie,"catch",ne,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/is-pure"),ue=E("../internals/engine-is-node"),ce=E("../internals/global"),le=E("../internals/function-call"),de=E("../internals/redefine"),ae=E("../internals/redefine-all"),ie=E("../internals/object-set-prototype-of"),ne=E("../internals/set-to-string-tag"),a=E("../internals/set-species"),y=E("../internals/a-callable"),x=E("../internals/is-callable"),b=E("../internals/is-object"),z=E("../internals/an-instance"),ee=E("../internals/species-constructor"),re=E("../internals/task").set,se=E("../internals/microtask"),fe=E("../internals/host-report-errors"),ve=E("../internals/perform"),ge=E("../internals/queue"),he=E("../internals/internal-state"),pe=E("../internals/promise-native-constructor"),Se=E("../internals/promise-constructor-detection"),Pe=E("../internals/new-promise-capability"),je="Promise",we=Se.CONSTRUCTOR,Oe=Se.REJECTION_EVENT,Ae=Se.SUBCLASSING,Fe=he.getterFor(je),ke=he.set,He=pe&&pe.prototype,Me=pe,ut=He,rt=ce.TypeError,et=ce.document,Xe=ce.process,_e=Pe.f,$e=_e,Be=!!(et&&et.createEvent&&ce.dispatchEvent),nt="unhandledrejection",Je="rejectionhandled",ft=0,Ke=1,Ue=2,Le=1,ze=2,Ee,Re,qe,Ye,We=function(Lt){var Mt;return b(Lt)&&x(Mt=Lt.then)?Mt:!1},Te=function(Lt,Mt){var at=Mt.value,Ct=Mt.state==Ke,ot=Ct?Lt.ok:Lt.fail,Ve=Lt.resolve,yt=Lt.reject,Pt=Lt.domain,At,Gt,on;try{ot?(Ct||(Mt.rejection===ze&&bt(Mt),Mt.rejection=Le),ot===!0?At=at:(Pt&&Pt.enter(),At=ot(at),Pt&&(Pt.exit(),on=!0)),At===Lt.promise?yt(rt("Promise-chain cycle")):(Gt=We(At))?le(Gt,At,Ve,yt):Ve(At)):yt(at)}catch(un){Pt&&!on&&Pt.exit(),yt(un)}},xe=function(Lt,Mt){Lt.notified||(Lt.notified=!0,se(function(){for(var at=Lt.reactions,Ct;Ct=at.get();)Te(Ct,Lt);Lt.notified=!1,Mt&&!Lt.rejection&&Ge(Lt)}))},Ne=function(Lt,Mt,at){var Ct,ot;Be?(Ct=et.createEvent("Event"),Ct.promise=Mt,Ct.reason=at,Ct.initEvent(Lt,!1,!0),ce.dispatchEvent(Ct)):Ct={promise:Mt,reason:at},!Oe&&(ot=ce["on"+Lt])?ot(Ct):Lt===nt&&fe("Unhandled promise rejection",at)},Ge=function(Lt){le(re,ce,function(){var Mt=Lt.facade,at=Lt.value,Ct=st(Lt),ot;if(Ct&&(ot=ve(function(){ue?Xe.emit("unhandledRejection",at,Mt):Ne(nt,Mt,at)}),Lt.rejection=ue||st(Lt)?ze:Le,ot.error))throw ot.value})},st=function(Lt){return Lt.rejection!==Le&&!Lt.parent},bt=function(Lt){le(re,ce,function(){var Mt=Lt.facade;ue?Xe.emit("rejectionHandled",Mt):Ne(Je,Mt,Lt.value)})},dt=function(Lt,Mt,at){return function(Ct){Lt(Mt,Ct,at)}},Qe=function(Lt,Mt,at){Lt.done||(Lt.done=!0,at&&(Lt=at),Lt.value=Mt,Lt.state=Ue,xe(Lt,!0))},mt=function(Lt,Mt,at){if(!Lt.done){Lt.done=!0,at&&(Lt=at);try{if(Lt.facade===Mt)throw rt("Promise can't be resolved itself");var Ct=We(Mt);Ct?se(function(){var ot={done:!1};try{le(Ct,Mt,dt(mt,ot,Lt),dt(Qe,ot,Lt))}catch(Ve){Qe(ot,Ve,Lt)}}):(Lt.value=Mt,Lt.state=Ke,xe(Lt,!1))}catch(ot){Qe({done:!1},ot,Lt)}}};if(we&&(Me=function(Mt){z(this,ut),y(Mt),le(Ee,this);var at=Fe(this);try{Mt(dt(mt,at),dt(Qe,at))}catch(Ct){Qe(at,Ct)}},ut=Me.prototype,Ee=function(Mt){ke(this,{type:je,done:!1,notified:!1,parent:!1,reactions:new ge,rejection:!1,state:ft,value:void 0})},Ee.prototype=ae(ut,{then:function(Mt,at){var Ct=Fe(this),ot=_e(ee(this,Me));return Ct.parent=!0,ot.ok=x(Mt)?Mt:!0,ot.fail=x(at)&&at,ot.domain=ue?Xe.domain:void 0,Ct.state==ft?Ct.reactions.add(ot):se(function(){Te(ot,Ct)}),ot.promise}}),Re=function(){var Lt=new Ee,Mt=Fe(Lt);this.promise=Lt,this.resolve=dt(mt,Mt),this.reject=dt(Qe,Mt)},Pe.f=_e=function(Lt){return Lt===Me||Lt===qe?new Re(Lt):$e(Lt)},!te&&x(pe)&&He!==Object.prototype)){Ye=He.then,Ae||de(He,"then",function(Mt,at){var Ct=this;return new Me(function(ot,Ve){le(Ye,Ct,ot,Ve)}).then(Mt,at)},{unsafe:!0});try{delete He.constructor}catch(Lt){}ie&&ie(He,ut)}oe({global:!0,wrap:!0,forced:we},{Promise:Me}),ne(Me,je,!1,!0),a(je)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(E,ye,me){E("../modules/es.promise.constructor"),E("../modules/es.promise.all"),E("../modules/es.promise.catch"),E("../modules/es.promise.race"),E("../modules/es.promise.reject"),E("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),ue=E("../internals/a-callable"),ce=E("../internals/new-promise-capability"),le=E("../internals/perform"),de=E("../internals/iterate"),ae=E("../internals/promise-statics-incorrect-iteration");oe({target:"Promise",stat:!0,forced:ae},{race:function(ne){var a=this,y=ce.f(a),x=y.reject,b=le(function(){var z=ue(a.resolve);de(ne,function(ee){te(z,a,ee).then(y.resolve,x)})});return b.error&&x(b.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],297:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),ue=E("../internals/new-promise-capability"),ce=E("../internals/promise-constructor-detection").CONSTRUCTOR;oe({target:"Promise",stat:!0,forced:ce},{reject:function(de){var ae=ue.f(this);return te(ae.reject,void 0,de),ae.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/get-built-in"),ue=E("../internals/is-pure"),ce=E("../internals/promise-native-constructor"),le=E("../internals/promise-constructor-detection").CONSTRUCTOR,de=E("../internals/promise-resolve"),ae=te("Promise"),ie=ue&&!le;oe({target:"Promise",stat:!0,forced:ue||le},{resolve:function(a){return de(ie&&this===ae?ce:this,a)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(E,ye,me){var oe=E("../internals/descriptors"),te=E("../internals/global"),ue=E("../internals/function-uncurry-this"),ce=E("../internals/is-forced"),le=E("../internals/inherit-if-required"),de=E("../internals/create-non-enumerable-property"),ae=E("../internals/object-get-own-property-names").f,ie=E("../internals/object-is-prototype-of"),ne=E("../internals/is-regexp"),a=E("../internals/to-string"),y=E("../internals/regexp-get-flags"),x=E("../internals/regexp-sticky-helpers"),b=E("../internals/proxy-accessor"),z=E("../internals/redefine"),ee=E("../internals/fails"),re=E("../internals/has-own-property"),se=E("../internals/internal-state").enforce,fe=E("../internals/set-species"),ve=E("../internals/well-known-symbol"),ge=E("../internals/regexp-unsupported-dot-all"),he=E("../internals/regexp-unsupported-ncg"),pe=ve("match"),Se=te.RegExp,Pe=Se.prototype,je=te.SyntaxError,we=ue(Pe.exec),Oe=ue("".charAt),Ae=ue("".replace),Fe=ue("".indexOf),ke=ue("".slice),He=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Me=/a/g,ut=/a/g,rt=new Se(Me)!==Me,et=x.MISSED_STICKY,Xe=x.UNSUPPORTED_Y,_e=oe&&(!rt||et||ge||he||ee(function(){return ut[pe]=!1,Se(Me)!=Me||Se(ut)==ut||Se(Me,"i")!="/a/i"})),$e=function(Ke){for(var Ue=Ke.length,Le=0,ze="",Ee=!1,Re;Le<=Ue;Le++){if(Re=Oe(Ke,Le),Re==="\\"){ze+=Re+Oe(Ke,++Le);continue}!Ee&&Re==="."?ze+="[\\s\\S]":(Re==="["?Ee=!0:Re==="]"&&(Ee=!1),ze+=Re)}return ze},Be=function(Ke){for(var Ue=Ke.length,Le=0,ze="",Ee=[],Re={},qe=!1,Ye=!1,We=0,Te="",xe;Le<=Ue;Le++){if(xe=Oe(Ke,Le),xe==="\\")xe=xe+Oe(Ke,++Le);else if(xe==="]")qe=!1;else if(!qe)switch(!0){case xe==="[":qe=!0;break;case xe==="(":we(He,ke(Ke,Le+1))&&(Le+=2,Ye=!0),ze+=xe,We++;continue;case(xe===">"&&Ye):if(Te===""||re(Re,Te))throw new je("Invalid capture group name");Re[Te]=!0,Ee[Ee.length]=[Te,We],Ye=!1,Te="";continue}Ye?Te+=xe:ze+=xe}return[ze,Ee]};if(ce("RegExp",_e)){for(var nt=function(Ue,Le){var ze=ie(Pe,this),Ee=ne(Ue),Re=Le===void 0,qe=[],Ye=Ue,We,Te,xe,Ne,Ge,st;if(!ze&&Ee&&Re&&Ue.constructor===nt)return Ue;if((Ee||ie(Pe,Ue))&&(Ue=Ue.source,Re&&(Le=y(Ye))),Ue=Ue===void 0?"":a(Ue),Le=Le===void 0?"":a(Le),Ye=Ue,ge&&"dotAll"in Me&&(Te=!!Le&&Fe(Le,"s")>-1,Te&&(Le=Ae(Le,/s/g,""))),We=Le,et&&"sticky"in Me&&(xe=!!Le&&Fe(Le,"y")>-1,xe&&Xe&&(Le=Ae(Le,/y/g,""))),he&&(Ne=Be(Ue),Ue=Ne[0],qe=Ne[1]),Ge=le(Se(Ue,Le),ze?this:Pe,nt),(Te||xe||qe.length)&&(st=se(Ge),Te&&(st.dotAll=!0,st.raw=nt($e(Ue),We)),xe&&(st.sticky=!0),qe.length&&(st.groups=qe)),Ue!==Ye)try{de(Ge,"source",Ye===""?"(?:)":Ye)}catch(bt){}return Ge},Je=ae(Se),ft=0;Je.length>ft;)b(nt,Se,Je[ft++]);Pe.constructor=nt,nt.prototype=Pe,z(te,"RegExp",nt)}fe("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/regexp-exec");oe({target:"RegExp",proto:!0,forced:/./.exec!==te},{exec:te})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,ye,me){"use strict";var oe=E("../internals/function-name").PROPER,te=E("../internals/redefine"),ue=E("../internals/an-object"),ce=E("../internals/to-string"),le=E("../internals/fails"),de=E("../internals/regexp-get-flags"),ae="toString",ie=RegExp.prototype,ne=ie[ae],a=le(function(){return ne.call({source:"a",flags:"b"})!="/a/b"}),y=oe&&ne.name!=ae;(a||y)&&te(RegExp.prototype,ae,function(){var b=ue(this),z=ce(b.source),ee=ce(de(b));return"/"+z+"/"+ee},{unsafe:!0})},{"../internals/an-object":101,"../internals/fails":150,"../internals/function-name":156,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/to-string":256}],302:[function(E,ye,me){"use strict";var oe=E("../internals/export"),te=E("../internals/function-uncurry-this"),ue=E("../internals/not-a-regexp"),ce=E("../internals/require-object-coercible"),le=E("../internals/to-string"),de=E("../internals/correct-is-regexp-logic"),ae=te("".indexOf);oe({target:"String",proto:!0,forced:!de("includes")},{includes:function(ne){return!!~ae(le(ce(this)),le(ue(ne)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(E,ye,me){"use strict";var oe=E("../internals/string-multibyte").charAt,te=E("../internals/to-string"),ue=E("../internals/internal-state"),ce=E("../internals/define-iterator"),le="String Iterator",de=ue.set,ae=ue.getterFor(le);ce(String,"String",function(ie){de(this,{type:le,string:te(ie),index:0})},function(){var ne=ae(this),a=ne.string,y=ne.index,x;return y>=a.length?{value:void 0,done:!0}:(x=oe(a,y),ne.index+=x.length,{value:x,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(E,ye,me){"use strict";var oe=E("../internals/function-call"),te=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/an-object"),ce=E("../internals/to-length"),le=E("../internals/to-string"),de=E("../internals/require-object-coercible"),ae=E("../internals/get-method"),ie=E("../internals/advance-string-index"),ne=E("../internals/regexp-exec-abstract");te("match",function(a,y,x){return[function(z){var ee=de(this),re=z==null?void 0:ae(z,a);return re?oe(re,z,ee):new RegExp(z)[a](le(ee))},function(b){var z=ue(this),ee=le(b),re=x(y,z,ee);if(re.done)return re.value;if(!z.global)return ne(z,ee);var se=z.unicode;z.lastIndex=0;for(var fe=[],ve=0,ge;(ge=ne(z,ee))!==null;){var he=le(ge[0]);fe[ve]=he,he===""&&(z.lastIndex=ie(ee,ce(z.lastIndex),se)),ve++}return ve===0?null:fe}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(E,ye,me){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/function-call"),ue=E("../internals/function-uncurry-this"),ce=E("../internals/fix-regexp-well-known-symbol-logic"),le=E("../internals/fails"),de=E("../internals/an-object"),ae=E("../internals/is-callable"),ie=E("../internals/to-integer-or-infinity"),ne=E("../internals/to-length"),a=E("../internals/to-string"),y=E("../internals/require-object-coercible"),x=E("../internals/advance-string-index"),b=E("../internals/get-method"),z=E("../internals/get-substitution"),ee=E("../internals/regexp-exec-abstract"),re=E("../internals/well-known-symbol"),se=re("replace"),fe=Math.max,ve=Math.min,ge=ue([].concat),he=ue([].push),pe=ue("".indexOf),Se=ue("".slice),Pe=function(Ae){return Ae===void 0?Ae:String(Ae)},je=function(){return"a".replace(/./,"$0")==="$0"}(),we=function(){return/./[se]?/./[se]("a","$0")==="":!1}(),Oe=!le(function(){var Ae=/./;return Ae.exec=function(){var Fe=[];return Fe.groups={a:"7"},Fe},"".replace(Ae,"$")!=="7"});ce("replace",function(Ae,Fe,ke){var He=we?"$":"$0";return[function(ut,rt){var et=y(this),Xe=ut==null?void 0:b(ut,se);return Xe?te(Xe,ut,et,rt):te(Fe,a(et),ut,rt)},function(Me,ut){var rt=de(this),et=a(Me);if(typeof ut=="string"&&pe(ut,He)===-1&&pe(ut,"$<")===-1){var Xe=ke(Fe,rt,et,ut);if(Xe.done)return Xe.value}var _e=ae(ut);_e||(ut=a(ut));var $e=rt.global;if($e){var Be=rt.unicode;rt.lastIndex=0}for(var nt=[];;){var Je=ee(rt,et);if(Je===null||(he(nt,Je),!$e))break;var ft=a(Je[0]);ft===""&&(rt.lastIndex=x(et,ne(rt.lastIndex),Be))}for(var Ke="",Ue=0,Le=0;Le=Ue&&(Ke+=Se(et,Ue,Ee)+Te,Ue=Ee+ze.length)}return Ke+Se(et,Ue)}]},!Oe||!je||we)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(E,ye,me){"use strict";var oe=E("../internals/function-call"),te=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/an-object"),ce=E("../internals/require-object-coercible"),le=E("../internals/same-value"),de=E("../internals/to-string"),ae=E("../internals/get-method"),ie=E("../internals/regexp-exec-abstract");te("search",function(ne,a,y){return[function(b){var z=ce(this),ee=b==null?void 0:ae(b,ne);return ee?oe(ee,b,z):new RegExp(b)[ne](de(z))},function(x){var b=ue(this),z=de(x),ee=y(a,b,z);if(ee.done)return ee.value;var re=b.lastIndex;le(re,0)||(b.lastIndex=0);var se=ie(b,z);return le(b.lastIndex,re)||(b.lastIndex=re),se===null?-1:se.index}]})},{"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/same-value":231,"../internals/to-string":256}],307:[function(E,ye,me){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/function-call"),ue=E("../internals/function-uncurry-this"),ce=E("../internals/fix-regexp-well-known-symbol-logic"),le=E("../internals/is-regexp"),de=E("../internals/an-object"),ae=E("../internals/require-object-coercible"),ie=E("../internals/species-constructor"),ne=E("../internals/advance-string-index"),a=E("../internals/to-length"),y=E("../internals/to-string"),x=E("../internals/get-method"),b=E("../internals/array-slice-simple"),z=E("../internals/regexp-exec-abstract"),ee=E("../internals/regexp-exec"),re=E("../internals/regexp-sticky-helpers"),se=E("../internals/fails"),fe=re.UNSUPPORTED_Y,ve=4294967295,ge=Math.min,he=[].push,pe=ue(/./.exec),Se=ue(he),Pe=ue("".slice),je=!se(function(){var we=/(?:)/,Oe=we.exec;we.exec=function(){return Oe.apply(this,arguments)};var Ae="ab".split(we);return Ae.length!==2||Ae[0]!=="a"||Ae[1]!=="b"});ce("split",function(we,Oe,Ae){var Fe;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Fe=function(ke,He){var Me=y(ae(this)),ut=He===void 0?ve:He>>>0;if(ut===0)return[];if(ke===void 0)return[Me];if(!le(ke))return te(Oe,Me,ke,ut);for(var rt=[],et=(ke.ignoreCase?"i":"")+(ke.multiline?"m":"")+(ke.unicode?"u":"")+(ke.sticky?"y":""),Xe=0,_e=new RegExp(ke.source,et+"g"),$e,Be,nt;($e=te(ee,_e,Me))&&(Be=_e.lastIndex,!(Be>Xe&&(Se(rt,Pe(Me,Xe,$e.index)),$e.length>1&&$e.index=ut)));)_e.lastIndex===$e.index&&_e.lastIndex++;return Xe===Me.length?(nt||!pe(_e,""))&&Se(rt,""):Se(rt,Pe(Me,Xe)),rt.length>ut?b(rt,0,ut):rt}:"0".split(void 0,0).length?Fe=function(ke,He){return ke===void 0&&He===0?[]:te(Oe,this,ke,He)}:Fe=Oe,[function(He,Me){var ut=ae(this),rt=He==null?void 0:x(He,we);return rt?te(rt,He,ut,Me):te(Fe,y(ut),He,Me)},function(ke,He){var Me=de(this),ut=y(ke),rt=Ae(Fe,Me,ut,He,Fe!==Oe);if(rt.done)return rt.value;var et=ie(Me,RegExp),Xe=Me.unicode,_e=(Me.ignoreCase?"i":"")+(Me.multiline?"m":"")+(Me.unicode?"u":"")+(fe?"g":"y"),$e=new et(fe?"^(?:"+Me.source+")":Me,_e),Be=He===void 0?ve:He>>>0;if(Be===0)return[];if(ut.length===0)return z($e,ut)===null?[ut]:[];for(var nt=0,Je=0,ft=[];Je2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").every,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("every",function(de){return te(ue(this),de,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-call"),ue=E("../internals/array-fill"),ce=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("fill",function(ae){var ie=arguments.length;return te(ue,ce(this),ae,ie>1?arguments[1]:void 0,ie>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").filter,ue=E("../internals/typed-array-from-species-and-list"),ce=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("filter",function(ae){var ie=te(ce(this),ae,arguments.length>1?arguments[1]:void 0);return ue(this,ie)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").findIndex,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("findIndex",function(de){return te(ue(this),de,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").find,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("find",function(de){return te(ue(this),de,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").forEach,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("forEach",function(de){te(ue(this),de,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-includes").includes,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("includes",function(de){return te(ue(this),de,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-includes").indexOf,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("indexOf",function(de){return te(ue(this),de,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,ye,me){"use strict";var oe=E("../internals/global"),te=E("../internals/fails"),ue=E("../internals/function-uncurry-this"),ce=E("../internals/array-buffer-view-core"),le=E("../modules/es.array.iterator"),de=E("../internals/well-known-symbol"),ae=de("iterator"),ie=oe.Uint8Array,ne=ue(le.values),a=ue(le.keys),y=ue(le.entries),x=ce.aTypedArray,b=ce.exportTypedArrayMethod,z=ie&&ie.prototype,ee=!te(function(){z[ae].call([1])}),re=!!z&&z.values&&z[ae]===z.values&&z.values.name==="values",se=function(){return ne(x(this))};b("entries",function(){return y(x(this))},ee),b("keys",function(){return a(x(this))},ee),b("values",se,ee||!re,{name:"values"}),b(ae,se,ee||!re,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-uncurry-this"),ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod,le=te([].join);ce("join",function(ae){return le(ue(this),ae)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-apply"),ue=E("../internals/array-last-index-of"),ce=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("lastIndexOf",function(ae){var ie=arguments.length;return te(ue,ce(this),ie>1?[ae,arguments[1]]:[ae])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").map,ue=E("../internals/typed-array-species-constructor"),ce=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("map",function(ae){return te(ce(this),ae,arguments.length>1?arguments[1]:void 0,function(ie,ne){return new(ue(ie))(ne)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-reduce").right,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("reduceRight",function(de){var ae=arguments.length;return te(ue(this),de,ae,ae>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-reduce").left,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("reduce",function(de){var ae=arguments.length;return te(ue(this),de,ae,ae>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=oe.aTypedArray,ue=oe.exportTypedArrayMethod,ce=Math.floor;ue("reverse",function(){for(var de=this,ae=te(de).length,ie=ce(ae/2),ne=0,a;ne1?arguments[1]:void 0,1),ve=de(se);if(z)return te(y,this,ve,fe);var ge=this.length,he=ce(ve),pe=0;if(he+fe>ge)throw ie("Wrong length");for(;peb;)ee[b]=y[b++];return ee},ae)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").some,ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("some",function(de){return te(ue(this),de,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,ye,me){"use strict";var oe=E("../internals/global"),te=E("../internals/function-uncurry-this"),ue=E("../internals/fails"),ce=E("../internals/a-callable"),le=E("../internals/array-sort"),de=E("../internals/array-buffer-view-core"),ae=E("../internals/engine-ff-version"),ie=E("../internals/engine-is-ie-or-edge"),ne=E("../internals/engine-v8-version"),a=E("../internals/engine-webkit-version"),y=de.aTypedArray,x=de.exportTypedArrayMethod,b=oe.Uint16Array,z=b&&te(b.prototype.sort),ee=!!z&&!(ue(function(){z(new b(2),null)})&&ue(function(){z(new b(2),{})})),re=!!z&&!ue(function(){if(ne)return ne<74;if(ae)return ae<67;if(ie)return!0;if(a)return a<602;var fe=new b(516),ve=Array(516),ge,he;for(ge=0;ge<516;ge++)he=ge%4,fe[ge]=515-ge,ve[ge]=ge-2*he+3;for(z(fe,function(pe,Se){return(pe/4|0)-(Se/4|0)}),ge=0;ge<516;ge++)if(fe[ge]!==ve[ge])return!0}),se=function(fe){return function(ve,ge){return fe!==void 0?+fe(ve,ge)||0:ge!==ge?-1:ve!==ve?1:ve===0&&ge===0?1/ve>0&&1/ge<0?1:-1:ve>ge}};x("sort",function(ve){return ve!==void 0&&ce(ve),re?z(this,ve):le(y(this),se(ve))},!re||ee)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/to-length"),ue=E("../internals/to-absolute-index"),ce=E("../internals/typed-array-species-constructor"),le=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("subarray",function(ie,ne){var a=le(this),y=a.length,x=ue(ie,y),b=ce(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,te((ne===void 0?y:ue(ne,y))-x))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(E,ye,me){"use strict";var oe=E("../internals/global"),te=E("../internals/function-apply"),ue=E("../internals/array-buffer-view-core"),ce=E("../internals/fails"),le=E("../internals/array-slice"),de=oe.Int8Array,ae=ue.aTypedArray,ie=ue.exportTypedArrayMethod,ne=[].toLocaleString,a=!!de&&ce(function(){ne.call(new de(1))}),y=ce(function(){return[1,2].toLocaleString()!=new de([1,2]).toLocaleString()})||!ce(function(){de.prototype.toLocaleString.call([1,2])});ie("toLocaleString",function(){return te(ne,a?le(ae(this)):ae(this),le(arguments))},y)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(E,ye,me){"use strict";var oe=E("../internals/array-buffer-view-core").exportTypedArrayMethod,te=E("../internals/fails"),ue=E("../internals/global"),ce=E("../internals/function-uncurry-this"),le=ue.Uint8Array,de=le&&le.prototype||{},ae=[].toString,ie=ce([].join);te(function(){ae.call({})})&&(ae=function(){return ie(this)});var ne=de.toString!=ae;oe("toString",ae,ne)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,ye,me){var oe=E("../internals/typed-array-constructor");oe("Uint8",function(te){return function(ce,le,de){return te(this,ce,le,de)}})},{"../internals/typed-array-constructor":258}],339:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/dom-iterables"),ue=E("../internals/dom-token-list-prototype"),ce=E("../internals/array-for-each"),le=E("../internals/create-non-enumerable-property"),de=function(ie){if(ie&&ie.forEach!==ce)try{le(ie,"forEach",ce)}catch(ne){ie.forEach=ce}};for(var ae in te)te[ae]&&de(oe[ae]&&oe[ae].prototype);de(ue)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(E,ye,me){var oe=E("../internals/global"),te=E("../internals/dom-iterables"),ue=E("../internals/dom-token-list-prototype"),ce=E("../modules/es.array.iterator"),le=E("../internals/create-non-enumerable-property"),de=E("../internals/well-known-symbol"),ae=de("iterator"),ie=de("toStringTag"),ne=ce.values,a=function(x,b){if(x){if(x[ae]!==ne)try{le(x,ae,ne)}catch(ee){x[ae]=ne}if(x[ie]||le(x,ie,b),te[b]){for(var z in ce)if(x[z]!==ce[z])try{le(x,z,ce[z])}catch(ee){x[z]=ce[z]}}}};for(var y in te)a(oe[y]&&oe[y].prototype,y);a(ue,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(E,ye,me){function oe(re){return Array.isArray?Array.isArray(re):ee(re)==="[object Array]"}me.isArray=oe;function te(re){return typeof re=="boolean"}me.isBoolean=te;function ue(re){return re===null}me.isNull=ue;function ce(re){return re==null}me.isNullOrUndefined=ce;function le(re){return typeof re=="number"}me.isNumber=le;function de(re){return typeof re=="string"}me.isString=de;function ae(re){return typeof re=="symbol"}me.isSymbol=ae;function ie(re){return re===void 0}me.isUndefined=ie;function ne(re){return ee(re)==="[object RegExp]"}me.isRegExp=ne;function a(re){return typeof re=="object"&&re!==null}me.isObject=a;function y(re){return ee(re)==="[object Date]"}me.isDate=y;function x(re){return ee(re)==="[object Error]"||re instanceof Error}me.isError=x;function b(re){return typeof re=="function"}me.isFunction=b;function z(re){return re===null||typeof re=="boolean"||typeof re=="number"||typeof re=="string"||typeof re=="symbol"||typeof re=="undefined"}me.isPrimitive=z,me.isBuffer=E("buffer").Buffer.isBuffer;function ee(re){return Object.prototype.toString.call(re)}},{buffer:90}],342:[function(E,ye,me){(function(oe){"use strict";var te=function(){var ae=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,ie=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,ne=/[^-+\dA-Z]/g;return function(a,y,x,b){if(arguments.length===1&&de(a)==="string"&&!/\d/.test(a)&&(y=a,a=void 0),a=a||new Date,a instanceof Date||(a=new Date(a)),isNaN(a))throw TypeError("Invalid date");y=String(te.masks[y]||y||te.masks.default);var z=y.slice(0,4);(z==="UTC:"||z==="GMT:")&&(y=y.slice(4),x=!0,z==="GMT:"&&(b=!0));var ee=x?"getUTC":"get",re=a[ee+"Date"](),se=a[ee+"Day"](),fe=a[ee+"Month"](),ve=a[ee+"FullYear"](),ge=a[ee+"Hours"](),he=a[ee+"Minutes"](),pe=a[ee+"Seconds"](),Se=a[ee+"Milliseconds"](),Pe=x?0:a.getTimezoneOffset(),je=ce(a),we=le(a),Oe={d:re,dd:ue(re),ddd:te.i18n.dayNames[se],dddd:te.i18n.dayNames[se+7],m:fe+1,mm:ue(fe+1),mmm:te.i18n.monthNames[fe],mmmm:te.i18n.monthNames[fe+12],yy:String(ve).slice(2),yyyy:ve,h:ge%12||12,hh:ue(ge%12||12),H:ge,HH:ue(ge),M:he,MM:ue(he),s:pe,ss:ue(pe),l:ue(Se,3),L:ue(Math.round(Se/10)),t:ge<12?"a":"p",tt:ge<12?"am":"pm",T:ge<12?"A":"P",TT:ge<12?"AM":"PM",Z:b?"GMT":x?"UTC":(String(a).match(ie)||[""]).pop().replace(ne,""),o:(Pe>0?"-":"+")+ue(Math.floor(Math.abs(Pe)/60)*100+Math.abs(Pe)%60,4),S:["th","st","nd","rd"][re%10>3?0:(re%100-re%10!=10)*re%10],W:je,N:we};return y.replace(ae,function(Ae){return Ae in Oe?Oe[Ae]:Ae.slice(1,Ae.length-1)})}}();te.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},te.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function ue(ae,ie){for(ae=String(ae),ie=ie||2;ae.length]/;ye.exports=te;function te(ue){var ce=""+ue,le=oe.exec(ce);if(!le)return ce;var de,ae="",ie=0,ne=0;for(ie=le.index;ie0&&(Oe=Se[0]),Oe instanceof Error)throw Oe;var Ae=new Error("Unhandled error."+(Oe?" ("+Oe.message+")":""));throw Ae.context=Oe,Ae}var Fe=we[pe];if(Fe===void 0)return!1;if(typeof Fe=="function")te(Fe,this,Se);else for(var ke=Fe.length,He=ee(Fe,ke),Pe=0;Pe0&&Oe.length>je&&!Oe.warned){Oe.warned=!0;var Ae=new Error("Possible EventEmitter memory leak detected. "+Oe.length+" "+String(pe)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ae.name="MaxListenersExceededWarning",Ae.emitter=he,Ae.type=pe,Ae.count=Oe.length,ce(Ae)}return he}de.prototype.addListener=function(pe,Se){return a(this,pe,Se,!1)},de.prototype.on=de.prototype.addListener,de.prototype.prependListener=function(pe,Se){return a(this,pe,Se,!0)};function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function x(he,pe,Se){var Pe={fired:!1,wrapFn:void 0,target:he,type:pe,listener:Se},je=y.bind(Pe);return je.listener=Se,Pe.wrapFn=je,je}de.prototype.once=function(pe,Se){return ie(Se),this.on(pe,x(this,pe,Se)),this},de.prototype.prependOnceListener=function(pe,Se){return ie(Se),this.prependListener(pe,x(this,pe,Se)),this},de.prototype.removeListener=function(pe,Se){var Pe,je,we,Oe,Ae;if(ie(Se),je=this._events,je===void 0)return this;if(Pe=je[pe],Pe===void 0)return this;if(Pe===Se||Pe.listener===Se)--this._eventsCount===0?this._events=Object.create(null):(delete je[pe],je.removeListener&&this.emit("removeListener",pe,Pe.listener||Se));else if(typeof Pe!="function"){for(we=-1,Oe=Pe.length-1;Oe>=0;Oe--)if(Pe[Oe]===Se||Pe[Oe].listener===Se){Ae=Pe[Oe].listener,we=Oe;break}if(we<0)return this;we===0?Pe.shift():re(Pe,we),Pe.length===1&&(je[pe]=Pe[0]),je.removeListener!==void 0&&this.emit("removeListener",pe,Ae||Se)}return this},de.prototype.off=de.prototype.removeListener,de.prototype.removeAllListeners=function(pe){var Se,Pe,je;if(Pe=this._events,Pe===void 0)return this;if(Pe.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Pe[pe]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Pe[pe]),this;if(arguments.length===0){var we=Object.keys(Pe),Oe;for(je=0;je=0;je--)this.removeListener(pe,Se[je]);return this};function b(he,pe,Se){var Pe=he._events;if(Pe===void 0)return[];var je=Pe[pe];return je===void 0?[]:typeof je=="function"?Se?[je.listener||je]:[je]:Se?se(je):ee(je,je.length)}de.prototype.listeners=function(pe){return b(this,pe,!0)},de.prototype.rawListeners=function(pe){return b(this,pe,!1)},de.listenerCount=function(he,pe){return typeof he.listenerCount=="function"?he.listenerCount(pe):z.call(he,pe)},de.prototype.listenerCount=z;function z(he){var pe=this._events;if(pe!==void 0){var Se=pe[he];if(typeof Se=="function")return 1;if(Se!==void 0)return Se.length}return 0}de.prototype.eventNames=function(){return this._eventsCount>0?ue(this._events):[]};function ee(he,pe){for(var Se=new Array(pe),Pe=0;Pe=3&&(x=y),te.call(ne)==="[object Array]"?ce(ne,a,x):typeof ne=="string"?le(ne,a,x):de(ne,a,x)};ye.exports=ae},{"is-callable":367}],346:[function(E,ye,me){"use strict";var oe="Function.prototype.bind called on incompatible ",te=Array.prototype.slice,ue=Object.prototype.toString,ce="[object Function]";ye.exports=function(de){var ae=this;if(typeof ae!="function"||ue.call(ae)!==ce)throw new TypeError(oe+ae);for(var ie=te.call(arguments,1),ne,a=function(){if(this instanceof ne){var ee=ae.apply(this,ie.concat(te.call(arguments)));return Object(ee)===ee?ee:this}else return ae.apply(de,ie.concat(te.call(arguments)))},y=Math.max(0,ae.length-ie.length),x=[],b=0;b1&&typeof He!="boolean")throw new ce('"allowMissing" argument must be a boolean');if(Pe(/^%?[^%]*%?$/,ke)===null)throw new te("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Me=Oe(ke),ut=Me.length>0?Me[0]:"",rt=Ae("%"+ut+"%",He),et=rt.name,Xe=rt.value,_e=!1,$e=rt.alias;$e&&(ut=$e[0],he(Me,ge([0,1],$e)));for(var Be=1,nt=!0;Be=Me.length){var Ue=de(Xe,Je);nt=!!Ue,nt&&"get"in Ue&&!("originalValue"in Ue.get)?Xe=Ue.get:Xe=Xe[Je]}else nt=ve(Xe,Je),Xe=Xe[Je];nt&&!_e&&(z[et]=Xe)}}return Xe}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,ye,me){"use strict";var oe=E("get-intrinsic"),te=oe("%Object.getOwnPropertyDescriptor%",!0);if(te)try{te([],"length")}catch(ue){te=null}ye.exports=te},{"get-intrinsic":348}],350:[function(E,ye,me){"use strict";var oe={foo:{}},te=Object;ye.exports=function(){return{__proto__:oe}.foo===oe.foo&&!({__proto__:null}instanceof te)}},{}],351:[function(E,ye,me){"use strict";var oe=typeof Symbol!="undefined"&&Symbol,te=E("./shams");ye.exports=function(){return typeof oe!="function"||typeof Symbol!="function"||typeof oe("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:te()}},{"./shams":352}],352:[function(E,ye,me){"use strict";ye.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var te={},ue=Symbol("test"),ce=Object(ue);if(typeof ue=="string"||Object.prototype.toString.call(ue)!=="[object Symbol]"||Object.prototype.toString.call(ce)!=="[object Symbol]")return!1;var le=42;te[ue]=le;for(ue in te)return!1;if(typeof Object.keys=="function"&&Object.keys(te).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(te).length!==0)return!1;var de=Object.getOwnPropertySymbols(te);if(de.length!==1||de[0]!==ue||!Object.prototype.propertyIsEnumerable.call(te,ue))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var ae=Object.getOwnPropertyDescriptor(te,ue);if(ae.value!==le||ae.enumerable!==!0)return!1}return!0}},{}],353:[function(E,ye,me){"use strict";var oe=E("has-symbols/shams");ye.exports=function(){return oe()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,ye,me){"use strict";var oe=E("function-bind");ye.exports=oe.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,ye,me){var oe=E("http"),te=E("url"),ue=ye.exports;for(var ce in oe)oe.hasOwnProperty(ce)&&(ue[ce]=oe[ce]);ue.request=function(de,ae){return de=le(de),oe.request.call(this,de,ae)},ue.get=function(de,ae){return de=le(de),oe.get.call(this,de,ae)};function le(de){if(typeof de=="string"&&(de=te.parse(de)),de.protocol||(de.protocol="https:"),de.protocol!=="https:")throw new Error('Protocol "'+de.protocol+'" not supported. Expected "https:"');return de}},{http:468,url:472}],356:[function(E,ye,me){"use strict";var oe=E("util"),te=E("ms");ye.exports=function(ue){if(typeof ue=="number")return ue;var ce=te(ue);if(ce===void 0){var le=new Error(oe.format("humanize-ms(%j) result undefined",ue));console.warn(le.stack)}return ce}},{ms:376,util:419}],357:[function(E,ye,me){me.read=function(oe,te,ue,ce,le){var de,ae,ie=le*8-ce-1,ne=(1<>1,y=-7,x=ue?le-1:0,b=ue?-1:1,z=oe[te+x];for(x+=b,de=z&(1<<-y)-1,z>>=-y,y+=ie;y>0;de=de*256+oe[te+x],x+=b,y-=8);for(ae=de&(1<<-y)-1,de>>=-y,y+=ce;y>0;ae=ae*256+oe[te+x],x+=b,y-=8);if(de===0)de=1-a;else{if(de===ne)return ae?NaN:(z?-1:1)*(1/0);ae=ae+Math.pow(2,ce),de=de-a}return(z?-1:1)*ae*Math.pow(2,de-ce)},me.write=function(oe,te,ue,ce,le,de){var ae,ie,ne,a=de*8-le-1,y=(1<>1,b=le===23?Math.pow(2,-24)-Math.pow(2,-77):0,z=ce?0:de-1,ee=ce?1:-1,re=te<0||te===0&&1/te<0?1:0;for(te=Math.abs(te),isNaN(te)||te===1/0?(ie=isNaN(te)?1:0,ae=y):(ae=Math.floor(Math.log(te)/Math.LN2),te*(ne=Math.pow(2,-ae))<1&&(ae--,ne*=2),ae+x>=1?te+=b/ne:te+=b*Math.pow(2,1-x),te*ne>=2&&(ae++,ne/=2),ae+x>=y?(ie=0,ae=y):ae+x>=1?(ie=(te*ne-1)*Math.pow(2,le),ae=ae+x):(ie=te*Math.pow(2,x-1)*Math.pow(2,le),ae=0));le>=8;oe[ue+z]=ie&255,z+=ee,ie/=256,le-=8);for(ae=ae<0;oe[ue+z]=ae&255,z+=ee,ae/=256,a-=8);oe[ue+z-ee]|=re*128}},{}],358:[function(E,ye,me){"use strict";var oe=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],te,ue,ce=-1,le=[],de=!1;function ae(){!te||!ue||(te=!1,ue.length?le=ue.concat(le):ce=-1,le.length&&ie())}function ie(){if(!te){de=!1,te=!0;for(var z=le.length,ee=setTimeout(ae);z;){for(ue=le,le=[];ue&&++ce1)for(var re=1;re=0&&ue(ie)!=="[object Array]"&&ue(ie.callee)==="[object Function]"},de=function(){return ce(arguments)}();ce.isLegacyArguments=le,ye.exports=de?ce:le},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,ye,me){ye.exports=function(ue){return ue!=null&&(oe(ue)||te(ue)||!!ue._isBuffer)};function oe(ue){return!!ue.constructor&&typeof ue.constructor.isBuffer=="function"&&ue.constructor.isBuffer(ue)}function te(ue){return typeof ue.readFloatLE=="function"&&typeof ue.slice=="function"&&oe(ue.slice(0,0))}},{}],367:[function(E,ye,me){"use strict";var oe=Function.prototype.toString,te=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ue,ce;if(typeof te=="function"&&typeof Object.defineProperty=="function")try{ue=Object.defineProperty({},"length",{get:function(){throw ce}}),ce={},te(function(){throw 42},null,ue)}catch(ve){ve!==ce&&(te=null)}else te=null;var le=/^\s*class\b/,de=function(ge){try{var he=oe.call(ge);return le.test(he)}catch(pe){return!1}},ae=function(ge){try{return de(ge)?!1:(oe.call(ge),!0)}catch(he){return!1}},ie=Object.prototype.toString,ne="[object Object]",a="[object Function]",y="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",z="[object HTMLCollection]",ee=typeof Symbol=="function"&&!!Symbol.toStringTag,re=!(0 in[,]),se=function(){return!1};if(typeof document=="object"){var fe=document.all;ie.call(fe)===ie.call(document.all)&&(se=function(ge){if((re||!ge)&&(typeof ge=="undefined"||typeof ge=="object"))try{var he=ie.call(ge);return(he===x||he===b||he===z||he===ne)&&ge("")==null}catch(pe){}return!1})}ye.exports=te?function(ge){if(se(ge))return!0;if(!ge||typeof ge!="function"&&typeof ge!="object")return!1;try{te(ge,null,ue)}catch(he){if(he!==ce)return!1}return!de(ge)&&ae(ge)}:function(ge){if(se(ge))return!0;if(!ge||typeof ge!="function"&&typeof ge!="object")return!1;if(ee)return ae(ge);if(de(ge))return!1;var he=ie.call(ge);return he!==a&&he!==y&&!/^\[object HTML/.test(he)?!1:ae(ge)}},{}],368:[function(E,ye,me){"use strict";var oe=Object.prototype.toString,te=Function.prototype.toString,ue=/^\s*(?:function)?\*/,ce=E("has-tostringtag/shams")(),le=Object.getPrototypeOf,de=function(){if(!ce)return!1;try{return Function("return function*() {}")()}catch(ie){}},ae;ye.exports=function(ne){if(typeof ne!="function")return!1;if(ue.test(te.call(ne)))return!0;if(!ce){var a=oe.call(ne);return a==="[object GeneratorFunction]"}if(!le)return!1;if(typeof ae=="undefined"){var y=de();ae=y?le(y):!1}return le(ne)===ae}},{"has-tostringtag/shams":353}],369:[function(E,ye,me){"use strict";var oe=E("which-typed-array");ye.exports=function(ue){return!!oe(ue)}},{"which-typed-array":420}],370:[function(E,ye,me){var oe={}.toString;ye.exports=Array.isArray||function(te){return oe.call(te)=="[object Array]"}},{}],371:[function(E,ye,me){(function(oe){(function(){(function(te,ue){typeof me=="object"&&typeof ye!="undefined"?ye.exports=ue(te):typeof be=="function"&&be.amd?be(ue):ue(te)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof oe!="undefined"?oe:this,function(te){"use strict";te=te||{};var ue=te.Base64,ce="2.6.4",le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",de=function(ke){for(var He={},Me=0,ut=ke.length;Me>>6)+ae(128|He&63):ae(224|He>>>12&15)+ae(128|He>>>6&63)+ae(128|He&63)}else{var He=65536+(ke.charCodeAt(0)-55296)*1024+(ke.charCodeAt(1)-56320);return ae(240|He>>>18&7)+ae(128|He>>>12&63)+ae(128|He>>>6&63)+ae(128|He&63)}},ne=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(ke){return ke.replace(ne,ie)},y=function(ke){var He=[0,2,1][ke.length%3],Me=ke.charCodeAt(0)<<16|(ke.length>1?ke.charCodeAt(1):0)<<8|(ke.length>2?ke.charCodeAt(2):0),ut=[le.charAt(Me>>>18),le.charAt(Me>>>12&63),He>=2?"=":le.charAt(Me>>>6&63),He>=1?"=":le.charAt(Me&63)];return ut.join("")},x=te.btoa&&typeof te.btoa=="function"?function(ke){return te.btoa(ke)}:function(ke){if(ke.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ke.replace(/[\s\S]{1,3}/g,y)},b=function(ke){return x(a(String(ke)))},z=function(ke){return ke.replace(/[+\/]/g,function(He){return He=="+"?"-":"_"}).replace(/=/g,"")},ee=function(ke,He){return He?z(b(ke)):b(ke)},re=function(ke){return ee(ke,!0)},se;te.Uint8Array&&(se=function(ke,He){for(var Me="",ut=0,rt=ke.length;ut>>18)+le.charAt($e>>>12&63)+(typeof Xe!="undefined"?le.charAt($e>>>6&63):"=")+(typeof _e!="undefined"?le.charAt($e&63):"=")}return He?z(Me):Me});var fe=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ve=function(ke){switch(ke.length){case 4:var He=(7&ke.charCodeAt(0))<<18|(63&ke.charCodeAt(1))<<12|(63&ke.charCodeAt(2))<<6|63&ke.charCodeAt(3),Me=He-65536;return ae((Me>>>10)+55296)+ae((Me&1023)+56320);case 3:return ae((15&ke.charCodeAt(0))<<12|(63&ke.charCodeAt(1))<<6|63&ke.charCodeAt(2));default:return ae((31&ke.charCodeAt(0))<<6|63&ke.charCodeAt(1))}},ge=function(ke){return ke.replace(fe,ve)},he=function(ke){var He=ke.length,Me=He%4,ut=(He>0?de[ke.charAt(0)]<<18:0)|(He>1?de[ke.charAt(1)]<<12:0)|(He>2?de[ke.charAt(2)]<<6:0)|(He>3?de[ke.charAt(3)]:0),rt=[ae(ut>>>16),ae(ut>>>8&255),ae(ut&255)];return rt.length-=[0,0,2,1][Me],rt.join("")},pe=te.atob&&typeof te.atob=="function"?function(ke){return te.atob(ke)}:function(ke){return ke.replace(/\S{1,4}/g,he)},Se=function(ke){return pe(String(ke).replace(/[^A-Za-z0-9\+\/]/g,""))},Pe=function(ke){return ge(pe(ke))},je=function(ke){return String(ke).replace(/[-_]/g,function(He){return He=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},we=function(ke){return Pe(je(ke))},Oe;te.Uint8Array&&(Oe=function(ke){return Uint8Array.from(Se(je(ke)),function(He){return He.charCodeAt(0)})});var Ae=function(){var ke=te.Base64;return te.Base64=ue,ke};if(te.Base64={VERSION:ce,atob:Se,btoa:x,fromBase64:we,toBase64:ee,utob:a,encode:ee,encodeURI:re,btou:ge,decode:we,noConflict:Ae,fromUint8Array:se,toUint8Array:Oe},typeof Object.defineProperty=="function"){var Fe=function(ke){return{value:ke,enumerable:!1,writable:!0,configurable:!0}};te.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Fe(function(){return we(this)})),Object.defineProperty(String.prototype,"toBase64",Fe(function(ke){return ee(this,ke)})),Object.defineProperty(String.prototype,"toBase64URI",Fe(function(){return ee(this,!0)}))}}return te.Meteor&&(Base64=te.Base64),typeof ye!="undefined"&&ye.exports?ye.exports.Base64=te.Base64:typeof be=="function"&&be.amd&&be([],function(){return te.Base64}),{Base64:te.Base64}})}).call(this)}).call(this,typeof wt!="undefined"?wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,ye,me){"use strict";ye.exports=te;var oe=Object.prototype.hasOwnProperty;function te(ue,ce,le){if(!ue)throw new TypeError("argument dest is required");if(!ce)throw new TypeError("argument src is required");return le===void 0&&(le=!0),Object.getOwnPropertyNames(ce).forEach(function(ae){if(!(!le&&oe.call(ue,ae))){var ie=Object.getOwnPropertyDescriptor(ce,ae);Object.defineProperty(ue,ae,ie)}}),ue}},{}],373:[function(E,ye,me){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.regexp.constructor.js"),E("core-js/modules/es.regexp.to-string.js");function oe(){this._types=Object.create(null),this._extensions=Object.create(null);for(var te=0;te0)return ae(y);if(b==="number"&&isFinite(y))return x.long?ne(y):ie(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function ae(y){if(y=String(y),!(y.length>100)){var x=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(x){var b=parseFloat(x[1]),z=(x[2]||"ms").toLowerCase();switch(z){case"years":case"year":case"yrs":case"yr":case"y":return b*de;case"weeks":case"week":case"w":return b*le;case"days":case"day":case"d":return b*ce;case"hours":case"hour":case"hrs":case"hr":case"h":return b*ue;case"minutes":case"minute":case"mins":case"min":case"m":return b*te;case"seconds":case"second":case"secs":case"sec":case"s":return b*oe;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function ie(y){var x=Math.abs(y);return x>=ce?Math.round(y/ce)+"d":x>=ue?Math.round(y/ue)+"h":x>=te?Math.round(y/te)+"m":x>=oe?Math.round(y/oe)+"s":y+"ms"}function ne(y){var x=Math.abs(y);return x>=ce?a(y,x,ce,"day"):x>=ue?a(y,x,ue,"hour"):x>=te?a(y,x,te,"minute"):x>=oe?a(y,x,oe,"second"):y+" ms"}function a(y,x,b,z){var ee=x>=b*1.5;return Math.round(y/b)+" "+z+(ee?"s":"")}},{}],377:[function(E,ye,me){"use strict";var oe=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;function ce(de){if(de==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(de)}function le(){try{if(!Object.assign)return!1;var de=new String("abc");if(de[5]="de",Object.getOwnPropertyNames(de)[0]==="5")return!1;for(var ae={},ie=0;ie<10;ie++)ae["_"+String.fromCharCode(ie)]=ie;var ne=Object.getOwnPropertyNames(ae).map(function(y){return ae[y]});if(ne.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(y){a[y]=y}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch(y){return!1}}ye.exports=le()?Object.assign:function(de,ae){for(var ie,ne=ce(de),a,y=1;y2){var z=ie.lastIndexOf("/");if(z!==ie.length-1){z===-1?(ie="",ne=0):(ie=ie.slice(0,z),ne=ie.length-1-ie.lastIndexOf("/")),a=b,y=0;continue}}else if(ie.length===2||ie.length===1){ie="",ne=0,a=b,y=0;continue}}ae&&(ie.length>0?ie+="/..":ie="..",ne=2)}else ie.length>0?ie+="/"+de.slice(a+1,b):ie=de.slice(a+1,b),ne=b-a-1;a=b,y=0}else x===46&&y!==-1?++y:y=-1}return ie}function ce(de,ae){var ie=ae.dir||ae.root,ne=ae.base||(ae.name||"")+(ae.ext||"");return ie?ie===ae.root?ie+ne:ie+de+ne:ne}var le={resolve:function(){for(var ae="",ie=!1,ne,a=arguments.length-1;a>=-1&&!ie;a--){var y;a>=0?y=arguments[a]:(ne===void 0&&(ne=oe.cwd()),y=ne),te(y),y.length!==0&&(ae=y+"/"+ae,ie=y.charCodeAt(0)===47)}return ae=ue(ae,!ie),ie?ae.length>0?"/"+ae:"/":ae.length>0?ae:"."},normalize:function(ae){if(te(ae),ae.length===0)return".";var ie=ae.charCodeAt(0)===47,ne=ae.charCodeAt(ae.length-1)===47;return ae=ue(ae,!ie),ae.length===0&&!ie&&(ae="."),ae.length>0&&ne&&(ae+="/"),ie?"/"+ae:ae},isAbsolute:function(ae){return te(ae),ae.length>0&&ae.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var ae,ie=0;ie0&&(ae===void 0?ae=ne:ae+="/"+ne)}return ae===void 0?".":le.normalize(ae)},relative:function(ae,ie){if(te(ae),te(ie),ae===ie||(ae=le.resolve(ae),ie=le.resolve(ie),ae===ie))return"";for(var ne=1;neee){if(ie.charCodeAt(x+se)===47)return ie.slice(x+se+1);if(se===0)return ie.slice(x+se)}else y>ee&&(ae.charCodeAt(ne+se)===47?re=se:se===0&&(re=0));break}var fe=ae.charCodeAt(ne+se),ve=ie.charCodeAt(x+se);if(fe!==ve)break;fe===47&&(re=se)}var ge="";for(se=ne+re+1;se<=a;++se)(se===a||ae.charCodeAt(se)===47)&&(ge.length===0?ge+="..":ge+="/..");return ge.length>0?ge+ie.slice(x+re):(x+=re,ie.charCodeAt(x)===47&&++x,ie.slice(x))},_makeLong:function(ae){return ae},dirname:function(ae){if(te(ae),ae.length===0)return".";for(var ie=ae.charCodeAt(0),ne=ie===47,a=-1,y=!0,x=ae.length-1;x>=1;--x)if(ie=ae.charCodeAt(x),ie===47){if(!y){a=x;break}}else y=!1;return a===-1?ne?"/":".":ne&&a===1?"//":ae.slice(0,a)},basename:function(ae,ie){if(ie!==void 0&&typeof ie!="string")throw new TypeError('"ext" argument must be a string');te(ae);var ne=0,a=-1,y=!0,x;if(ie!==void 0&&ie.length>0&&ie.length<=ae.length){if(ie.length===ae.length&&ie===ae)return"";var b=ie.length-1,z=-1;for(x=ae.length-1;x>=0;--x){var ee=ae.charCodeAt(x);if(ee===47){if(!y){ne=x+1;break}}else z===-1&&(y=!1,z=x+1),b>=0&&(ee===ie.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=z))}return ne===a?a=z:a===-1&&(a=ae.length),ae.slice(ne,a)}else{for(x=ae.length-1;x>=0;--x)if(ae.charCodeAt(x)===47){if(!y){ne=x+1;break}}else a===-1&&(y=!1,a=x+1);return a===-1?"":ae.slice(ne,a)}},extname:function(ae){te(ae);for(var ie=-1,ne=0,a=-1,y=!0,x=0,b=ae.length-1;b>=0;--b){var z=ae.charCodeAt(b);if(z===47){if(!y){ne=b+1;break}continue}a===-1&&(y=!1,a=b+1),z===46?ie===-1?ie=b:x!==1&&(x=1):ie!==-1&&(x=-1)}return ie===-1||a===-1||x===0||x===1&&ie===a-1&&ie===ne+1?"":ae.slice(ie,a)},format:function(ae){if(ae===null||typeof ae!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof ae);return ce("/",ae)},parse:function(ae){te(ae);var ie={root:"",dir:"",base:"",ext:"",name:""};if(ae.length===0)return ie;var ne=ae.charCodeAt(0),a=ne===47,y;a?(ie.root="/",y=1):y=0;for(var x=-1,b=0,z=-1,ee=!0,re=ae.length-1,se=0;re>=y;--re){if(ne=ae.charCodeAt(re),ne===47){if(!ee){b=re+1;break}continue}z===-1&&(ee=!1,z=re+1),ne===46?x===-1?x=re:se!==1&&(se=1):x!==-1&&(se=-1)}return x===-1||z===-1||se===0||se===1&&x===z-1&&x===b+1?z!==-1&&(b===0&&a?ie.base=ie.name=ae.slice(1,z):ie.base=ie.name=ae.slice(b,z)):(b===0&&a?(ie.name=ae.slice(1,x),ie.base=ae.slice(1,z)):(ie.name=ae.slice(b,x),ie.base=ae.slice(b,z)),ie.ext=ae.slice(x,z)),b>0?ie.dir=ae.slice(0,b-1):a&&(ie.dir="/"),ie},sep:"/",delimiter:":",win32:null,posix:null};le.posix=le,ye.exports=le}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,ye,me){(function(oe){(function(){(function(){"use strict";var te={function:!0,object:!0},ue=te[typeof window]&&window||this,ce=ue,le=te[typeof me]&&me,de=te[typeof ye]&&ye&&!ye.nodeType&&ye,ae=le&&de&&typeof oe=="object"&&oe;ae&&(ae.global===ae||ae.window===ae||ae.self===ae)&&(ue=ae);var ie=Math.pow(2,53)-1,ne=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function z(we){return we=String(we),we.charAt(0).toUpperCase()+we.slice(1)}function ee(we,Oe,Ae){var Fe={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return Oe&&Ae&&/^Win/i.test(we)&&!/^Windows Phone /i.test(we)&&(Fe=Fe[/[\d.]+$/.exec(we)])&&(we="Windows "+Fe),we=String(we),Oe&&Ae&&(we=we.replace(RegExp(Oe,"i"),Ae)),we=se(we.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),we}function re(we,Oe){var Ae=-1,Fe=we?we.length:0;if(typeof Fe=="number"&&Fe>-1&&Fe<=ie)for(;++Ae3&&"WebKit"||/\bOpera\b/.test(xe)&&(/\bOPR\b/.test(we)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(we)&&!/^(?:Trident|EdgeHTML)$/.test(Te)&&"WebKit"||!Te&&/\bMSIE\b/i.test(we)&&(st=="Mac OS"?"Tasman":"Trident")||Te=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(xe)&&"NetFront")&&(Te=[Le]),xe=="IE"&&(Le=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(we)||0)[1])?(xe+=" Mobile",st="Windows Phone "+(/\+$/.test(Le)?Le:Le+".x"),Ee.unshift("desktop mode")):/\bWPDesktop\b/i.test(we)?(xe="IE Mobile",st="Windows Phone 8.x",Ee.unshift("desktop mode"),Ye||(Ye=(/\brv:([\d.]+)/.exec(we)||0)[1])):xe!="IE"&&Te=="Trident"&&(Le=/\brv:([\d.]+)/.exec(we))&&(xe&&Ee.push("identifying as "+xe+(Ye?" "+Ye:"")),xe="IE",Ye=Le[1]),qe){if(ge(Oe,"global"))if($e&&(Le=$e.lang.System,ze=Le.getProperty("os.arch"),st=st||Le.getProperty("os.name")+" "+Le.getProperty("os.version")),Be){try{Ye=Oe.require("ringo/engine").version.join("."),xe="RingoJS"}catch(ot){(Le=Oe.system)&&Le.global.system==Oe.system&&(xe="Narwhal",st||(st=Le[0].os||null))}xe||(xe="Rhino")}else typeof Oe.process=="object"&&!Oe.process.browser&&(Le=Oe.process)&&(typeof Le.versions=="object"&&(typeof Le.versions.electron=="string"?(Ee.push("Node "+Le.versions.node),xe="Electron",Ye=Le.versions.electron):typeof Le.versions.nw=="string"&&(Ee.push("Chromium "+Ye,"Node "+Le.versions.node),xe="NW.js",Ye=Le.versions.nw)),xe||(xe="Node.js",ze=Le.arch,st=Le.platform,Ye=/[\d.]+/.exec(Le.version),Ye=Ye?Ye[0]:null));else ve(Le=Oe.runtime)==rt?(xe="Adobe AIR",st=Le.flash.system.Capabilities.os):ve(Le=Oe.phantom)==_e?(xe="PhantomJS",Ye=(Le=Le.version||null)&&Le.major+"."+Le.minor+"."+Le.patch):typeof ft.documentMode=="number"&&(Le=/\bTrident\/(\d+)/i.exec(we))?(Ye=[Ye,ft.documentMode],(Le=+Le[1]+4)!=Ye[1]&&(Ee.push("IE "+Ye[1]+" mode"),Te&&(Te[1]=""),Ye[1]=Le),Ye=xe=="IE"?String(Ye[1].toFixed(1)):Ye[0]):typeof ft.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(xe)&&(Ee.push("masking as "+xe+" "+Ye),xe="IE",Ye="11.0",Te=["Trident"],st="Windows");st=st&&se(st)}if(Ye&&(Le=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ye)||/(?:alpha|beta)(?: ?\d)?/i.exec(we+";"+(qe&&Fe.appMinorVersion))||/\bMinefield\b/i.test(we)&&"a")&&(Re=/b/i.test(Le)?"beta":"alpha",Ye=Ye.replace(RegExp(Le+"\\+?$"),"")+(Re=="beta"?Je:nt)+(/\d+\+?/.exec(Le)||"")),xe=="Fennec"||xe=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(st))xe="Firefox Mobile";else if(xe=="Maxthon"&&Ye)Ye=Ye.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ne))Ne=="Xbox 360"&&(st=null),Ne=="Xbox 360"&&/\bIEMobile\b/.test(we)&&Ee.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(xe)||xe&&!Ne&&!/Browser|Mobi/.test(xe))&&(st=="Windows CE"||/Mobi/i.test(we)))xe+=" Mobile";else if(xe=="IE"&&qe)try{Oe.external===null&&Ee.unshift("platform preview")}catch(ot){Ee.unshift("embedded")}else(/\bBlackBerry\b/.test(Ne)||/\bBB10\b/.test(we))&&(Le=(RegExp(Ne.replace(/ +/g," *")+"/([.\\d]+)","i").exec(we)||0)[1]||Ye)?(Le=[Le,/BB10/.test(we)],st=(Le[1]?(Ne=null,Ge="BlackBerry"):"Device Software")+" "+Le[0],Ye=null):this!=fe&&Ne!="Wii"&&(qe&&Ke||/Opera/.test(xe)&&/\b(?:MSIE|Firefox)\b/i.test(we)||xe=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(st)||xe=="IE"&&(st&&!/^Win/.test(st)&&Ye>5.5||/\bWindows XP\b/.test(st)&&Ye>8||Ye==8&&!/\bTrident\b/.test(we)))&&!ne.test(Le=Pe.call(fe,we.replace(ne,"")+";"))&&Le.name&&(Le="ing as "+Le.name+((Le=Le.version)?" "+Le:""),ne.test(xe)?(/\bIE\b/.test(Le)&&st=="Mac OS"&&(st=null),Le="identify"+Le):(Le="mask"+Le,Ue?xe=se(Ue.replace(/([a-z])([A-Z])/g,"$1 $2")):xe="Opera",/\bIE\b/.test(Le)&&(st=null),qe||(Ye=null)),Te=["Presto"],Ee.push(Le));(Le=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(we)||0)[1])&&(Le=[parseFloat(Le.replace(/\.(\d)$/,".0$1")),Le],xe=="Safari"&&Le[1].slice(-1)=="+"?(xe="WebKit Nightly",Re="alpha",Ye=Le[1].slice(0,-1)):(Ye==Le[1]||Ye==(Le[2]=(/\bSafari\/([\d.]+\+?)/i.exec(we)||0)[1]))&&(Ye=null),Le[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(we)||0)[1],Le[0]==537.36&&Le[2]==537.36&&parseFloat(Le[1])>=28&&Te=="WebKit"&&(Te=["Blink"]),!qe||!Me&&!Le[1]?(Te&&(Te[1]="like Safari"),Le=(Le=Le[0],Le<400?1:Le<500?2:Le<526?3:Le<533?4:Le<534?"4+":Le<535?5:Le<537?6:Le<538?7:Le<601?8:Le<602?9:Le<604?10:Le<606?11:Le<608?12:"12")):(Te&&(Te[1]="like Chrome"),Le=Le[1]||(Le=Le[0],Le<530?1:Le<532?2:Le<532.05?3:Le<533?4:Le<534.03?5:Le<534.07?6:Le<534.1?7:Le<534.13?8:Le<534.16?9:Le<534.24?10:Le<534.3?11:Le<535.01?12:Le<535.02?"13+":Le<535.07?15:Le<535.11?16:Le<535.19?17:Le<536.05?18:Le<536.1?19:Le<537.01?20:Le<537.11?"21+":Le<537.13?23:Le<537.18?24:Le<537.24?25:Le<537.36?26:Te!="Blink"?"27":"28")),Te&&(Te[1]+=" "+(Le+=typeof Le=="number"?".x":/[.+]/.test(Le)?"":"+")),xe=="Safari"&&(!Ye||parseInt(Ye)>45)?Ye=Le:xe=="Chrome"&&/\bHeadlessChrome/i.test(we)&&Ee.unshift("headless")),xe=="Opera"&&(Le=/\bzbov|zvav$/.exec(st))?(xe+=" ",Ee.unshift("desktop mode"),Le=="zvav"?(xe+="Mini",Ye=null):xe+="Mobile",st=st.replace(RegExp(" *"+Le+"$"),"")):xe=="Safari"&&/\bChrome\b/.exec(Te&&Te[1])?(Ee.unshift("desktop mode"),xe="Chrome Mobile",Ye=null,/\bOS X\b/.test(st)?(Ge="Apple",st="iOS 4.3+"):st=null):/\bSRWare Iron\b/.test(xe)&&!Ye&&(Ye=Mt("Chrome")),Ye&&Ye.indexOf(Le=/[\d.]+$/.exec(st))==0&&we.indexOf("/"+Le+"-")>-1&&(st=Se(st.replace(Le,""))),st&&st.indexOf(xe)!=-1&&!RegExp(xe+" OS").test(st)&&(st=st.replace(RegExp(" *"+he(xe)+" *"),"")),Te&&!/\b(?:Avant|Nook)\b/.test(xe)&&(/Browser|Lunascape|Maxthon/.test(xe)||xe!="Safari"&&/^iOS/.test(st)&&/\bSafari\b/.test(Te[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(xe)&&Te[1])&&(Le=Te[Te.length-1])&&Ee.push(Le),Ee.length&&(Ee=["("+Ee.join("; ")+")"]),Ge&&Ne&&Ne.indexOf(Ge)<0&&Ee.push("on "+Ge),Ne&&Ee.push((/^on /.test(Ee[Ee.length-1])?"":"on ")+Ne),st&&(Le=/ ([\d.+]+)$/.exec(st),We=Le&&st.charAt(st.length-Le[0].length-1)=="/",st={architecture:32,family:Le&&!We?st.replace(Le[0],""):st,version:Le?Le[1]:null,toString:function(){var ot=this.version;return this.family+(ot&&!We?" "+ot:"")+(this.architecture==64?" 64-bit":"")}}),(Le=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(ze))&&!/\bi686\b/i.test(ze)?(st&&(st.architecture=64,st.family=st.family.replace(RegExp(" *"+Le),"")),xe&&(/\bWOW64\b/i.test(we)||qe&&/\w(?:86|32)$/.test(Fe.cpuClass||Fe.platform)&&!/\bWin64; x64\b/i.test(we))&&Ee.unshift("32-bit")):st&&/^OS X/.test(st.family)&&xe=="Chrome"&&parseFloat(Ye)>=39&&(st.architecture=64),we||(we=null);var Ct={};return Ct.description=we,Ct.layout=Te&&Te[0],Ct.manufacturer=Ge,Ct.name=xe,Ct.prerelease=Re,Ct.product=Ne,Ct.ua=we,Ct.version=xe&&Ye,Ct.os=st||{architecture:null,family:null,version:null,toString:function(){return"null"}},Ct.parse=Pe,Ct.toString=at,Ct.version&&Ee.unshift(Ye),Ct.name&&Ee.unshift(xe),st&&xe&&!(st==String(st).split(" ")[0]&&(st==xe.split(" ")[0]||Ne))&&Ee.push(Ne?"("+st+")":"on "+st),Ee.length&&(Ct.description=Ee.join(" ")),Ct}var je=Pe();typeof be=="function"&&typeof be.amd=="object"&&be.amd?(ue.platform=je,be(function(){return je})):le&&de?fe(je,function(we,Oe){le[Oe]=we}):ue.platform=je}).call(this)}).call(this)}).call(this,typeof wt!="undefined"?wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,ye,me){(function(oe){(function(){"use strict";typeof oe=="undefined"||!oe.version||oe.version.indexOf("v0.")===0||oe.version.indexOf("v1.")===0&&oe.version.indexOf("v1.8.")!==0?ye.exports={nextTick:te}:ye.exports=oe;function te(ue,ce,le,de){if(typeof ue!="function")throw new TypeError('"callback" argument must be a function');var ae=arguments.length,ie,ne;switch(ae){case 0:case 1:return oe.nextTick(ue);case 2:return oe.nextTick(function(){ue.call(null,ce)});case 3:return oe.nextTick(function(){ue.call(null,ce,le)});case 4:return oe.nextTick(function(){ue.call(null,ce,le,de)});default:for(ie=new Array(ae-1),ne=0;ne1)for(var fe=1;fe= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ge=ie-ne,he=Math.floor,pe=String.fromCharCode,Se;function Pe(Xe){throw new RangeError(ve[Xe])}function je(Xe,_e){for(var $e=Xe.length,Be=[];$e--;)Be[$e]=_e(Xe[$e]);return Be}function we(Xe,_e){var $e=Xe.split("@"),Be="";$e.length>1&&(Be=$e[0]+"@",Xe=$e[1]),Xe=Xe.replace(fe,".");var nt=Xe.split("."),Je=je(nt,_e).join(".");return Be+Je}function Oe(Xe){for(var _e=[],$e=0,Be=Xe.length,nt,Je;$e=55296&&nt<=56319&&$e65535&&(_e-=65536,$e+=pe(_e>>>10&1023|55296),_e=56320|_e&1023),$e+=pe(_e),$e}).join("")}function Fe(Xe){return Xe-48<10?Xe-22:Xe-65<26?Xe-65:Xe-97<26?Xe-97:ie}function ke(Xe,_e){return Xe+22+75*(Xe<26)-((_e!=0)<<5)}function He(Xe,_e,$e){var Be=0;for(Xe=$e?he(Xe/x):Xe>>1,Xe+=he(Xe/_e);Xe>ge*a>>1;Be+=ie)Xe=he(Xe/ge);return he(Be+(ge+1)*Xe/(Xe+y))}function Me(Xe){var _e=[],$e=Xe.length,Be,nt=0,Je=z,ft=b,Ke,Ue,Le,ze,Ee,Re,qe,Ye,We;for(Ke=Xe.lastIndexOf(ee),Ke<0&&(Ke=0),Ue=0;Ue=128&&Pe("not-basic"),_e.push(Xe.charCodeAt(Ue));for(Le=Ke>0?Ke+1:0;Le<$e;){for(ze=nt,Ee=1,Re=ie;Le>=$e&&Pe("invalid-input"),qe=Fe(Xe.charCodeAt(Le++)),(qe>=ie||qe>he((ae-nt)/Ee))&&Pe("overflow"),nt+=qe*Ee,Ye=Re<=ft?ne:Re>=ft+a?a:Re-ft,!(qehe(ae/We)&&Pe("overflow"),Ee*=We;Be=_e.length+1,ft=He(nt-ze,Be,ze==0),he(nt/Be)>ae-Je&&Pe("overflow"),Je+=he(nt/Be),nt%=Be,_e.splice(nt++,0,Je)}return Ae(_e)}function ut(Xe){var _e,$e,Be,nt,Je,ft,Ke,Ue,Le,ze,Ee,Re=[],qe,Ye,We,Te;for(Xe=Oe(Xe),qe=Xe.length,_e=z,$e=0,Je=b,ft=0;ft=_e&&Eehe((ae-$e)/Ye)&&Pe("overflow"),$e+=(Ke-_e)*Ye,_e=Ke,ft=0;ftae&&Pe("overflow"),Ee==_e){for(Ue=$e,Le=ie;ze=Le<=Je?ne:Le>=Je+a?a:Le-Je,!(Ue0&&a>ne&&(a=ne);for(var y=0;y=0?(z=x.substr(0,b),ee=x.substr(b+1)):(z=x,ee=""),re=decodeURIComponent(z),se=decodeURIComponent(ee),oe(ae,re)?te(ae[re])?ae[re].push(se):ae[re]=[ae[re],se]:ae[re]=se}return ae};var te=Array.isArray||function(ue){return Object.prototype.toString.call(ue)==="[object Array]"}},{}],384:[function(E,ye,me){"use strict";var oe=function(le){switch(typeof le){case"string":return le;case"boolean":return le?"true":"false";case"number":return isFinite(le)?le:"";default:return""}};ye.exports=function(le,de,ae,ie){return de=de||"&",ae=ae||"=",le===null&&(le=void 0),typeof le=="object"?ue(ce(le),function(ne){var a=encodeURIComponent(oe(ne))+ae;return te(le[ne])?ue(le[ne],function(y){return a+encodeURIComponent(oe(y))}).join(de):a+encodeURIComponent(oe(le[ne]))}).join(de):ie?encodeURIComponent(oe(ie))+ae+encodeURIComponent(oe(le)):""};var te=Array.isArray||function(le){return Object.prototype.toString.call(le)==="[object Array]"};function ue(le,de){if(le.map)return le.map(de);for(var ae=[],ie=0;ie0?(typeof Re!="string"&&!Te.objectMode&&Object.getPrototypeOf(Re)!==ne.prototype&&(Re=y(Re)),Ye?Te.endEmitted?Ee.emit("error",new Error("stream.unshift() after end event")):Pe(Ee,Te,Re,!0):Te.ended?Ee.emit("error",new Error("stream.push() after EOF")):(Te.reading=!1,Te.decoder&&!qe?(Re=Te.decoder.write(Re),Te.objectMode||Re.length!==0?Pe(Ee,Te,Re,!1):ut(Ee,Te)):Pe(Ee,Te,Re,!1))):Ye||(Te.reading=!1)}return we(Te)}function Pe(Ee,Re,qe,Ye){Re.flowing&&Re.length===0&&!Re.sync?(Ee.emit("data",qe),Ee.read(0)):(Re.length+=Re.objectMode?1:qe.length,Ye?Re.buffer.unshift(qe):Re.buffer.push(qe),Re.needReadable&&He(Ee)),ut(Ee,Re)}function je(Ee,Re){var qe;return!x(Re)&&typeof Re!="string"&&Re!==void 0&&!Ee.objectMode&&(qe=new TypeError("Invalid non-string/buffer chunk")),qe}function we(Ee){return!Ee.ended&&(Ee.needReadable||Ee.length=Oe?Ee=Oe:(Ee--,Ee|=Ee>>>1,Ee|=Ee>>>2,Ee|=Ee>>>4,Ee|=Ee>>>8,Ee|=Ee>>>16,Ee++),Ee}function Fe(Ee,Re){return Ee<=0||Re.length===0&&Re.ended?0:Re.objectMode?1:Ee!==Ee?Re.flowing&&Re.length?Re.buffer.head.data.length:Re.length:(Ee>Re.highWaterMark&&(Re.highWaterMark=Ae(Ee)),Ee<=Re.length?Ee:Re.ended?Re.length:(Re.needReadable=!0,0))}pe.prototype.read=function(Ee){ee("read",Ee),Ee=parseInt(Ee,10);var Re=this._readableState,qe=Ee;if(Ee!==0&&(Re.emittedReadable=!1),Ee===0&&Re.needReadable&&(Re.length>=Re.highWaterMark||Re.ended))return ee("read: emitReadable",Re.length,Re.ended),Re.length===0&&Re.ended?Ue(this):He(this),null;if(Ee=Fe(Ee,Re),Ee===0&&Re.ended)return Re.length===0&&Ue(this),null;var Ye=Re.needReadable;ee("need readable",Ye),(Re.length===0||Re.length-Ee0?We=nt(Ee,Re):We=null,We===null?(Re.needReadable=!0,Ee=0):Re.length-=Ee,Re.length===0&&(Re.ended||(Re.needReadable=!0),qe!==Ee&&Re.ended&&Ue(this)),We!==null&&this.emit("data",We),We};function ke(Ee,Re){if(!Re.ended){if(Re.decoder){var qe=Re.decoder.end();qe&&qe.length&&(Re.buffer.push(qe),Re.length+=Re.objectMode?1:qe.length)}Re.ended=!0,He(Ee)}}function He(Ee){var Re=Ee._readableState;Re.needReadable=!1,Re.emittedReadable||(ee("emitReadable",Re.flowing),Re.emittedReadable=!0,Re.sync?ue.nextTick(Me,Ee):Me(Ee))}function Me(Ee){ee("emit readable"),Ee.emit("readable"),Be(Ee)}function ut(Ee,Re){Re.readingMore||(Re.readingMore=!0,ue.nextTick(rt,Ee,Re))}function rt(Ee,Re){for(var qe=Re.length;!Re.reading&&!Re.flowing&&!Re.ended&&Re.length1&&ze(Ye.pipes,Ee)!==-1)&&!st&&(ee("false write response, pause",qe._readableState.awaitDrain),qe._readableState.awaitDrain++,dt=!0),qe.pause())}function mt(Ct){ee("onerror",Ct),at(),Ee.removeListener("error",mt),ae(Ee,"error")===0&&Ee.emit("error",Ct)}ge(Ee,"error",mt);function Lt(){Ee.removeListener("finish",Mt),at()}Ee.once("close",Lt);function Mt(){ee("onfinish"),Ee.removeListener("close",Lt),at()}Ee.once("finish",Mt);function at(){ee("unpipe"),qe.unpipe(Ee)}return Ee.emit("pipe",qe),Ye.flowing||(ee("pipe resume"),qe.resume()),Ee};function et(Ee){return function(){var Re=Ee._readableState;ee("pipeOnDrain",Re.awaitDrain),Re.awaitDrain&&Re.awaitDrain--,Re.awaitDrain===0&&ae(Ee,"data")&&(Re.flowing=!0,Be(Ee))}}pe.prototype.unpipe=function(Ee){var Re=this._readableState,qe={hasUnpiped:!1};if(Re.pipesCount===0)return this;if(Re.pipesCount===1)return Ee&&Ee!==Re.pipes?this:(Ee||(Ee=Re.pipes),Re.pipes=null,Re.pipesCount=0,Re.flowing=!1,Ee&&Ee.emit("unpipe",this,qe),this);if(!Ee){var Ye=Re.pipes,We=Re.pipesCount;Re.pipes=null,Re.pipesCount=0,Re.flowing=!1;for(var Te=0;Te=Re.length?(Re.decoder?qe=Re.buffer.join(""):Re.buffer.length===1?qe=Re.buffer.head.data:qe=Re.buffer.concat(Re.length),Re.buffer.clear()):qe=Je(Ee,Re.buffer,Re.decoder),qe}function Je(Ee,Re,qe){var Ye;return EeTe.length?Te.length:Ee;if(xe===Te.length?We+=Te:We+=Te.slice(0,Ee),Ee-=xe,Ee===0){xe===Te.length?(++Ye,qe.next?Re.head=qe.next:Re.head=Re.tail=null):(Re.head=qe,qe.data=Te.slice(xe));break}++Ye}return Re.length-=Ye,We}function Ke(Ee,Re){var qe=ne.allocUnsafe(Ee),Ye=Re.head,We=1;for(Ye.data.copy(qe),Ee-=Ye.data.length;Ye=Ye.next;){var Te=Ye.data,xe=Ee>Te.length?Te.length:Ee;if(Te.copy(qe,qe.length-Ee,0,xe),Ee-=xe,Ee===0){xe===Te.length?(++We,Ye.next?Re.head=Ye.next:Re.head=Re.tail=null):(Re.head=Ye,Ye.data=Te.slice(xe));break}++We}return Re.length-=We,qe}function Ue(Ee){var Re=Ee._readableState;if(Re.length>0)throw new Error('"endReadable()" called on non-empty stream');Re.endEmitted||(Re.ended=!0,ue.nextTick(Le,Re,Ee))}function Le(Ee,Re){!Ee.endEmitted&&Ee.length===0&&(Ee.endEmitted=!0,Re.readable=!1,Re.emit("end"))}function ze(Ee,Re){for(var qe=0,Ye=Ee.length;qe-1?ue:ce.nextTick,ie;ge.WritableState=fe;var ne=Object.create(E("core-util-is"));ne.inherits=E("inherits");var a={deprecate:E("util-deprecate")},y=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=te.Uint8Array||function(){};function z($e){return x.from($e)}function ee($e){return x.isBuffer($e)||$e instanceof b}var re=E("./internal/streams/destroy");ne.inherits(ge,y);function se(){}function fe($e,Be){ie=ie||E("./_stream_duplex"),$e=$e||{};var nt=Be instanceof ie;this.objectMode=!!$e.objectMode,nt&&(this.objectMode=this.objectMode||!!$e.writableObjectMode);var Je=$e.highWaterMark,ft=$e.writableHighWaterMark,Ke=this.objectMode?16:16*1024;Je||Je===0?this.highWaterMark=Je:nt&&(ft||ft===0)?this.highWaterMark=ft:this.highWaterMark=Ke,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 Ue=$e.decodeStrings===!1;this.decodeStrings=!Ue,this.defaultEncoding=$e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Le){Ae(Be,Le)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new de(this)}fe.prototype.getBuffer=function(){for(var Be=this.bufferedRequest,nt=[];Be;)nt.push(Be),Be=Be.next;return nt},function(){try{Object.defineProperty(fe.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($e){}}();var ve;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ve=Function.prototype[Symbol.hasInstance],Object.defineProperty(ge,Symbol.hasInstance,{value:function($e){return ve.call(this,$e)?!0:this!==ge?!1:$e&&$e._writableState instanceof fe}})):ve=function($e){return $e instanceof this};function ge($e){if(ie=ie||E("./_stream_duplex"),!ve.call(ge,this)&&!(this instanceof ie))return new ge($e);this._writableState=new fe($e,this),this.writable=!0,$e&&(typeof $e.write=="function"&&(this._write=$e.write),typeof $e.writev=="function"&&(this._writev=$e.writev),typeof $e.destroy=="function"&&(this._destroy=$e.destroy),typeof $e.final=="function"&&(this._final=$e.final)),y.call(this)}ge.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function he($e,Be){var nt=new Error("write after end");$e.emit("error",nt),ce.nextTick(Be,nt)}function pe($e,Be,nt,Je){var ft=!0,Ke=!1;return nt===null?Ke=new TypeError("May not write null values to stream"):typeof nt!="string"&&nt!==void 0&&!Be.objectMode&&(Ke=new TypeError("Invalid non-string/buffer chunk")),Ke&&($e.emit("error",Ke),ce.nextTick(Je,Ke),ft=!1),ft}ge.prototype.write=function($e,Be,nt){var Je=this._writableState,ft=!1,Ke=!Je.objectMode&&ee($e);return Ke&&!x.isBuffer($e)&&($e=z($e)),typeof Be=="function"&&(nt=Be,Be=null),Ke?Be="buffer":Be||(Be=Je.defaultEncoding),typeof nt!="function"&&(nt=se),Je.ended?he(this,nt):(Ke||pe(this,Je,$e,nt))&&(Je.pendingcb++,ft=Pe(this,Je,Ke,$e,Be,nt)),ft},ge.prototype.cork=function(){var $e=this._writableState;$e.corked++},ge.prototype.uncork=function(){var $e=this._writableState;$e.corked&&($e.corked--,!$e.writing&&!$e.corked&&!$e.finished&&!$e.bufferProcessing&&$e.bufferedRequest&&He(this,$e))},ge.prototype.setDefaultEncoding=function(Be){if(typeof Be=="string"&&(Be=Be.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Be+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Be);return this._writableState.defaultEncoding=Be,this};function Se($e,Be,nt){return!$e.objectMode&&$e.decodeStrings!==!1&&typeof Be=="string"&&(Be=x.from(Be,nt)),Be}Object.defineProperty(ge.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Pe($e,Be,nt,Je,ft,Ke){if(!nt){var Ue=Se(Be,Je,ft);Je!==Ue&&(nt=!0,ft="buffer",Je=Ue)}var Le=Be.objectMode?1:Je.length;Be.length+=Le;var ze=Be.length0?this.tail.next=ie:this.head=ie,this.tail=ie,++this.length},le.prototype.unshift=function(ae){var ie={data:ae,next:this.head};this.length===0&&(this.tail=ie),this.head=ie,++this.length},le.prototype.shift=function(){if(this.length!==0){var ae=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ae}},le.prototype.clear=function(){this.head=this.tail=null,this.length=0},le.prototype.join=function(ae){if(this.length===0)return"";for(var ie=this.head,ne=""+ie.data;ie=ie.next;)ne+=ae+ie.data;return ne},le.prototype.concat=function(ae){if(this.length===0)return te.alloc(0);if(this.length===1)return this.head.data;for(var ie=te.allocUnsafe(ae>>>0),ne=this.head,a=0;ne;)ce(ne.data,ie,a),a+=ne.data.length,ne=ne.next;return ie},le}(),ue&&ue.inspect&&ue.inspect.custom&&(ye.exports.prototype[ue.inspect.custom]=function(){var le=ue.inspect({length:this.length});return this.constructor.name+" "+le})},{"safe-buffer":396,util:89}],392:[function(E,ye,me){"use strict";var oe=E("process-nextick-args");function te(le,de){var ae=this,ie=this._readableState&&this._readableState.destroyed,ne=this._writableState&&this._writableState.destroyed;return ie||ne?(de?de(le):le&&(!this._writableState||!this._writableState.errorEmitted)&&oe.nextTick(ce,this,le),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(le||null,function(a){!de&&a?(oe.nextTick(ce,ae,a),ae._writableState&&(ae._writableState.errorEmitted=!0)):de&&de(a)}),this)}function ue(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ce(le,de){le.emit("error",de)}ye.exports={destroy:te,undestroy:ue}},{"process-nextick-args":380}],393:[function(E,ye,me){ye.exports=E("events").EventEmitter},{events:344}],394:[function(E,ye,me){me=ye.exports=E("./lib/_stream_readable.js"),me.Stream=me,me.Readable=me,me.Writable=E("./lib/_stream_writable.js"),me.Duplex=E("./lib/_stream_duplex.js"),me.Transform=E("./lib/_stream_transform.js"),me.PassThrough=E("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(E,ye,me){var oe=function(te){"use strict";var ue=Object.prototype,ce=ue.hasOwnProperty,le,de=typeof Symbol=="function"?Symbol:{},ae=de.iterator||"@@iterator",ie=de.asyncIterator||"@@asyncIterator",ne=de.toStringTag||"@@toStringTag";function a(rt,et,Xe){return Object.defineProperty(rt,et,{value:Xe,enumerable:!0,configurable:!0,writable:!0}),rt[et]}try{a({},"")}catch(rt){a=function(et,Xe,_e){return et[Xe]=_e}}function y(rt,et,Xe,_e){var $e=et&&et.prototype instanceof fe?et:fe,Be=Object.create($e.prototype),nt=new He(_e||[]);return Be._invoke=Oe(rt,Xe,nt),Be}te.wrap=y;function x(rt,et,Xe){try{return{type:"normal",arg:rt.call(et,Xe)}}catch(_e){return{type:"throw",arg:_e}}}var b="suspendedStart",z="suspendedYield",ee="executing",re="completed",se={};function fe(){}function ve(){}function ge(){}var he={};a(he,ae,function(){return this});var pe=Object.getPrototypeOf,Se=pe&&pe(pe(Me([])));Se&&Se!==ue&&ce.call(Se,ae)&&(he=Se);var Pe=ge.prototype=fe.prototype=Object.create(he);ve.prototype=ge,a(Pe,"constructor",ge),a(ge,"constructor",ve),ve.displayName=a(ge,ne,"GeneratorFunction");function je(rt){["next","throw","return"].forEach(function(et){a(rt,et,function(Xe){return this._invoke(et,Xe)})})}te.isGeneratorFunction=function(rt){var et=typeof rt=="function"&&rt.constructor;return et?et===ve||(et.displayName||et.name)==="GeneratorFunction":!1},te.mark=function(rt){return Object.setPrototypeOf?Object.setPrototypeOf(rt,ge):(rt.__proto__=ge,a(rt,ne,"GeneratorFunction")),rt.prototype=Object.create(Pe),rt},te.awrap=function(rt){return{__await:rt}};function we(rt,et){function Xe(Be,nt,Je,ft){var Ke=x(rt[Be],rt,nt);if(Ke.type==="throw")ft(Ke.arg);else{var Ue=Ke.arg,Le=Ue.value;return Le&&typeof Le=="object"&&ce.call(Le,"__await")?et.resolve(Le.__await).then(function(ze){Xe("next",ze,Je,ft)},function(ze){Xe("throw",ze,Je,ft)}):et.resolve(Le).then(function(ze){Ue.value=ze,Je(Ue)},function(ze){return Xe("throw",ze,Je,ft)})}}var _e;function $e(Be,nt){function Je(){return new et(function(ft,Ke){Xe(Be,nt,ft,Ke)})}return _e=_e?_e.then(Je,Je):Je()}this._invoke=$e}je(we.prototype),a(we.prototype,ie,function(){return this}),te.AsyncIterator=we,te.async=function(rt,et,Xe,_e,$e){$e===void 0&&($e=Promise);var Be=new we(y(rt,et,Xe,_e),$e);return te.isGeneratorFunction(et)?Be:Be.next().then(function(nt){return nt.done?nt.value:Be.next()})};function Oe(rt,et,Xe){var _e=b;return function(Be,nt){if(_e===ee)throw new Error("Generator is already running");if(_e===re){if(Be==="throw")throw nt;return ut()}for(Xe.method=Be,Xe.arg=nt;;){var Je=Xe.delegate;if(Je){var ft=Ae(Je,Xe);if(ft){if(ft===se)continue;return ft}}if(Xe.method==="next")Xe.sent=Xe._sent=Xe.arg;else if(Xe.method==="throw"){if(_e===b)throw _e=re,Xe.arg;Xe.dispatchException(Xe.arg)}else Xe.method==="return"&&Xe.abrupt("return",Xe.arg);_e=ee;var Ke=x(rt,et,Xe);if(Ke.type==="normal"){if(_e=Xe.done?re:z,Ke.arg===se)continue;return{value:Ke.arg,done:Xe.done}}else Ke.type==="throw"&&(_e=re,Xe.method="throw",Xe.arg=Ke.arg)}}}function Ae(rt,et){var Xe=rt.iterator[et.method];if(Xe===le){if(et.delegate=null,et.method==="throw"){if(rt.iterator.return&&(et.method="return",et.arg=le,Ae(rt,et),et.method==="throw"))return se;et.method="throw",et.arg=new TypeError("The iterator does not provide a 'throw' method")}return se}var _e=x(Xe,rt.iterator,et.arg);if(_e.type==="throw")return et.method="throw",et.arg=_e.arg,et.delegate=null,se;var $e=_e.arg;if(!$e)return et.method="throw",et.arg=new TypeError("iterator result is not an object"),et.delegate=null,se;if($e.done)et[rt.resultName]=$e.value,et.next=rt.nextLoc,et.method!=="return"&&(et.method="next",et.arg=le);else return $e;return et.delegate=null,se}je(Pe),a(Pe,ne,"Generator"),a(Pe,ae,function(){return this}),a(Pe,"toString",function(){return"[object Generator]"});function Fe(rt){var et={tryLoc:rt[0]};1 in rt&&(et.catchLoc=rt[1]),2 in rt&&(et.finallyLoc=rt[2],et.afterLoc=rt[3]),this.tryEntries.push(et)}function ke(rt){var et=rt.completion||{};et.type="normal",delete et.arg,rt.completion=et}function He(rt){this.tryEntries=[{tryLoc:"root"}],rt.forEach(Fe,this),this.reset(!0)}te.keys=function(rt){var et=[];for(var Xe in rt)et.push(Xe);return et.reverse(),function _e(){for(;et.length;){var $e=et.pop();if($e in rt)return _e.value=$e,_e.done=!1,_e}return _e.done=!0,_e}};function Me(rt){if(rt){var et=rt[ae];if(et)return et.call(rt);if(typeof rt.next=="function")return rt;if(!isNaN(rt.length)){var Xe=-1,_e=function $e(){for(;++Xe=0;--_e){var $e=this.tryEntries[_e],Be=$e.completion;if($e.tryLoc==="root")return Xe("end");if($e.tryLoc<=this.prev){var nt=ce.call($e,"catchLoc"),Je=ce.call($e,"finallyLoc");if(nt&&Je){if(this.prev<$e.catchLoc)return Xe($e.catchLoc,!0);if(this.prev<$e.finallyLoc)return Xe($e.finallyLoc)}else if(nt){if(this.prev<$e.catchLoc)return Xe($e.catchLoc,!0)}else if(Je){if(this.prev<$e.finallyLoc)return Xe($e.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(rt,et){for(var Xe=this.tryEntries.length-1;Xe>=0;--Xe){var _e=this.tryEntries[Xe];if(_e.tryLoc<=this.prev&&ce.call(_e,"finallyLoc")&&this.prev<_e.finallyLoc){var $e=_e;break}}$e&&(rt==="break"||rt==="continue")&&$e.tryLoc<=et&&et<=$e.finallyLoc&&($e=null);var Be=$e?$e.completion:{};return Be.type=rt,Be.arg=et,$e?(this.method="next",this.next=$e.finallyLoc,se):this.complete(Be)},complete:function(rt,et){if(rt.type==="throw")throw rt.arg;return rt.type==="break"||rt.type==="continue"?this.next=rt.arg:rt.type==="return"?(this.rval=this.arg=rt.arg,this.method="return",this.next="end"):rt.type==="normal"&&et&&(this.next=et),se},finish:function(rt){for(var et=this.tryEntries.length-1;et>=0;--et){var Xe=this.tryEntries[et];if(Xe.finallyLoc===rt)return this.complete(Xe.completion,Xe.afterLoc),ke(Xe),se}},catch:function(rt){for(var et=this.tryEntries.length-1;et>=0;--et){var Xe=this.tryEntries[et];if(Xe.tryLoc===rt){var _e=Xe.completion;if(_e.type==="throw"){var $e=_e.arg;ke(Xe)}return $e}}throw new Error("illegal catch attempt")},delegateYield:function(rt,et,Xe){return this.delegate={iterator:Me(rt),resultName:et,nextLoc:Xe},this.method==="next"&&(this.arg=le),se}},te}(typeof ye=="object"?ye.exports:{});try{regeneratorRuntime=oe}catch(te){typeof globalThis=="object"?globalThis.regeneratorRuntime=oe:Function("r","regeneratorRuntime = r")(oe)}},{}],396:[function(E,ye,me){var oe=E("buffer"),te=oe.Buffer;function ue(le,de){for(var ae in le)de[ae]=le[ae]}te.from&&te.alloc&&te.allocUnsafe&&te.allocUnsafeSlow?ye.exports=oe:(ue(oe,me),me.Buffer=ce);function ce(le,de,ae){return te(le,de,ae)}ue(te,ce),ce.from=function(le,de,ae){if(typeof le=="number")throw new TypeError("Argument must not be a number");return te(le,de,ae)},ce.alloc=function(le,de,ae){if(typeof le!="number")throw new TypeError("Argument must be a number");var ie=te(le);return de!==void 0?typeof ae=="string"?ie.fill(de,ae):ie.fill(de):ie.fill(0),ie},ce.allocUnsafe=function(le){if(typeof le!="number")throw new TypeError("Argument must be a number");return te(le)},ce.allocUnsafeSlow=function(le){if(typeof le!="number")throw new TypeError("Argument must be a number");return oe.SlowBuffer(le)}},{buffer:90}],397:[function(E,ye,me){(function(oe){(function(){(function(te){te.parser=function(Ue,Le){return new ce(Ue,Le)},te.SAXParser=ce,te.SAXStream=y,te.createStream=a,te.MAX_BUFFER_LENGTH=64*1024;var ue=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];te.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function ce(Ue,Le){if(!(this instanceof ce))return new ce(Ue,Le);var ze=this;de(ze),ze.q=ze.c="",ze.bufferCheckPosition=te.MAX_BUFFER_LENGTH,ze.opt=Le||{},ze.opt.lowercase=ze.opt.lowercase||ze.opt.lowercasetags,ze.looseCase=ze.opt.lowercase?"toLowerCase":"toUpperCase",ze.tags=[],ze.closed=ze.closedRoot=ze.sawRoot=!1,ze.tag=ze.error=null,ze.strict=!!Ue,ze.noscript=!!(Ue||ze.opt.noscript),ze.state=we.BEGIN,ze.strictEntities=ze.opt.strictEntities,ze.ENTITIES=ze.strictEntities?Object.create(te.XML_ENTITIES):Object.create(te.ENTITIES),ze.attribList=[],ze.opt.xmlns&&(ze.ns=Object.create(re)),ze.trackPosition=ze.opt.position!==!1,ze.trackPosition&&(ze.position=ze.line=ze.column=0),Ae(ze,"onready")}Object.create||(Object.create=function(Ue){function Le(){}Le.prototype=Ue;var ze=new Le;return ze}),Object.keys||(Object.keys=function(Ue){var Le=[];for(var ze in Ue)Ue.hasOwnProperty(ze)&&Le.push(ze);return Le});function le(Ue){for(var Le=Math.max(te.MAX_BUFFER_LENGTH,10),ze=0,Ee=0,Re=ue.length;EeLe)switch(ue[Ee]){case"textNode":ke(Ue);break;case"cdata":Fe(Ue,"oncdata",Ue.cdata),Ue.cdata="";break;case"script":Fe(Ue,"onscript",Ue.script),Ue.script="";break;default:Me(Ue,"Max buffer length exceeded: "+ue[Ee])}ze=Math.max(ze,qe)}var Ye=te.MAX_BUFFER_LENGTH-ze;Ue.bufferCheckPosition=Ye+Ue.position}function de(Ue){for(var Le=0,ze=ue.length;Le"||he(Ue)}function Pe(Ue,Le){return Ue.test(Le)}function je(Ue,Le){return!Pe(Ue,Le)}var we=0;te.STATE={BEGIN:we++,BEGIN_WHITESPACE:we++,TEXT:we++,TEXT_ENTITY:we++,OPEN_WAKA:we++,SGML_DECL:we++,SGML_DECL_QUOTED:we++,DOCTYPE:we++,DOCTYPE_QUOTED:we++,DOCTYPE_DTD:we++,DOCTYPE_DTD_QUOTED:we++,COMMENT_STARTING:we++,COMMENT:we++,COMMENT_ENDING:we++,COMMENT_ENDED:we++,CDATA:we++,CDATA_ENDING:we++,CDATA_ENDING_2:we++,PROC_INST:we++,PROC_INST_BODY:we++,PROC_INST_ENDING:we++,OPEN_TAG:we++,OPEN_TAG_SLASH:we++,ATTRIB:we++,ATTRIB_NAME:we++,ATTRIB_NAME_SAW_WHITE:we++,ATTRIB_VALUE:we++,ATTRIB_VALUE_QUOTED:we++,ATTRIB_VALUE_CLOSED:we++,ATTRIB_VALUE_UNQUOTED:we++,ATTRIB_VALUE_ENTITY_Q:we++,ATTRIB_VALUE_ENTITY_U:we++,CLOSE_TAG:we++,CLOSE_TAG_SAW_WHITE:we++,SCRIPT:we++,SCRIPT_ENDING:we++},te.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},te.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(te.ENTITIES).forEach(function(Ue){var Le=te.ENTITIES[Ue],ze=typeof Le=="number"?String.fromCharCode(Le):Le;te.ENTITIES[Ue]=ze});for(var Oe in te.STATE)te.STATE[te.STATE[Oe]]=Oe;we=te.STATE;function Ae(Ue,Le,ze){Ue[Le]&&Ue[Le](ze)}function Fe(Ue,Le,ze){Ue.textNode&&ke(Ue),Ae(Ue,Le,ze)}function ke(Ue){Ue.textNode=He(Ue.opt,Ue.textNode),Ue.textNode&&Ae(Ue,"ontext",Ue.textNode),Ue.textNode=""}function He(Ue,Le){return Ue.trim&&(Le=Le.trim()),Ue.normalize&&(Le=Le.replace(/\s+/g," ")),Le}function Me(Ue,Le){return ke(Ue),Ue.trackPosition&&(Le+=` Line: `+Ue.line+` Column: `+Ue.column+` Char: `+Ue.c),Le=new Error(Le),Ue.error=Le,Ae(Ue,"onerror",Le),Ue}function ut(Ue){return Ue.sawRoot&&!Ue.closedRoot&&rt(Ue,"Unclosed root tag"),Ue.state!==we.BEGIN&&Ue.state!==we.BEGIN_WHITESPACE&&Ue.state!==we.TEXT&&Me(Ue,"Unexpected end"),ke(Ue),Ue.c="",Ue.closed=!0,Ae(Ue,"onend"),ce.call(Ue,Ue.strict,Ue.opt),Ue}function rt(Ue,Le){if(typeof Ue!="object"||!(Ue instanceof ce))throw new Error("bad call to strictFail");Ue.strict&&Me(Ue,Le)}function et(Ue){Ue.strict||(Ue.tagName=Ue.tagName[Ue.looseCase]());var Le=Ue.tags[Ue.tags.length-1]||Ue,ze=Ue.tag={name:Ue.tagName,attributes:{}};Ue.opt.xmlns&&(ze.ns=Le.ns),Ue.attribList.length=0,Fe(Ue,"onopentagstart",ze)}function Xe(Ue,Le){var ze=Ue.indexOf(":"),Ee=ze<0?["",Ue]:Ue.split(":"),Re=Ee[0],qe=Ee[1];return Le&&Ue==="xmlns"&&(Re="xmlns",qe=""),{prefix:Re,local:qe}}function _e(Ue){if(Ue.strict||(Ue.attribName=Ue.attribName[Ue.looseCase]()),Ue.attribList.indexOf(Ue.attribName)!==-1||Ue.tag.attributes.hasOwnProperty(Ue.attribName)){Ue.attribName=Ue.attribValue="";return}if(Ue.opt.xmlns){var Le=Xe(Ue.attribName,!0),ze=Le.prefix,Ee=Le.local;if(ze==="xmlns")if(Ee==="xml"&&Ue.attribValue!==z)rt(Ue,"xml: prefix must be bound to "+z+` Actual: `+Ue.attribValue);else if(Ee==="xmlns"&&Ue.attribValue!==ee)rt(Ue,"xmlns: prefix must be bound to "+ee+` Actual: `+Ue.attribValue);else{var Re=Ue.tag,qe=Ue.tags[Ue.tags.length-1]||Ue;Re.ns===qe.ns&&(Re.ns=Object.create(qe.ns)),Re.ns[Ee]=Ue.attribValue}Ue.attribList.push([Ue.attribName,Ue.attribValue])}else Ue.tag.attributes[Ue.attribName]=Ue.attribValue,Fe(Ue,"onattribute",{name:Ue.attribName,value:Ue.attribValue});Ue.attribName=Ue.attribValue=""}function $e(Ue,Le){if(Ue.opt.xmlns){var ze=Ue.tag,Ee=Xe(Ue.tagName);ze.prefix=Ee.prefix,ze.local=Ee.local,ze.uri=ze.ns[Ee.prefix]||"",ze.prefix&&!ze.uri&&(rt(Ue,"Unbound namespace prefix: "+JSON.stringify(Ue.tagName)),ze.uri=Ee.prefix);var Re=Ue.tags[Ue.tags.length-1]||Ue;ze.ns&&Re.ns!==ze.ns&&Object.keys(ze.ns).forEach(function(Qe){Fe(Ue,"onopennamespace",{prefix:Qe,uri:ze.ns[Qe]})});for(var qe=0,Ye=Ue.attribList.length;qe",Ue.tagName="",Ue.state=we.SCRIPT;return}Fe(Ue,"onscript",Ue.script),Ue.script=""}var Le=Ue.tags.length,ze=Ue.tagName;Ue.strict||(ze=ze[Ue.looseCase]());for(var Ee=ze;Le--;){var Re=Ue.tags[Le];if(Re.name!==Ee)rt(Ue,"Unexpected close tag");else break}if(Le<0){rt(Ue,"Unmatched closing tag: "+Ue.tagName),Ue.textNode+="",Ue.state=we.TEXT;return}Ue.tagName=ze;for(var qe=Ue.tags.length;qe-- >Le;){var Ye=Ue.tag=Ue.tags.pop();Ue.tagName=Ue.tag.name,Fe(Ue,"onclosetag",Ue.tagName);var We={};for(var Te in Ye.ns)We[Te]=Ye.ns[Te];var xe=Ue.tags[Ue.tags.length-1]||Ue;Ue.opt.xmlns&&Ye.ns!==xe.ns&&Object.keys(Ye.ns).forEach(function(Ne){var Ge=Ye.ns[Ne];Fe(Ue,"onclosenamespace",{prefix:Ne,uri:Ge})})}Le===0&&(Ue.closedRoot=!0),Ue.tagName=Ue.attribValue=Ue.attribName="",Ue.attribList.length=0,Ue.state=we.TEXT}function nt(Ue){var Le=Ue.entity,ze=Le.toLowerCase(),Ee,Re="";return Ue.ENTITIES[Le]?Ue.ENTITIES[Le]:Ue.ENTITIES[ze]?Ue.ENTITIES[ze]:(Le=ze,Le.charAt(0)==="#"&&(Le.charAt(1)==="x"?(Le=Le.slice(2),Ee=parseInt(Le,16),Re=Ee.toString(16)):(Le=Le.slice(1),Ee=parseInt(Le,10),Re=Ee.toString(10))),Le=Le.replace(/^0+/,""),isNaN(Ee)||Re.toLowerCase()!==Le?(rt(Ue,"Invalid character entity"),"&"+Ue.entity+";"):String.fromCodePoint(Ee))}function Je(Ue,Le){Le==="<"?(Ue.state=we.OPEN_WAKA,Ue.startTagPosition=Ue.position):he(Le)||(rt(Ue,"Non-whitespace before first tag."),Ue.textNode=Le,Ue.state=we.TEXT)}function ft(Ue,Le){var ze="";return Le"?(Fe(Le,"onsgmldeclaration",Le.sgmlDecl),Le.sgmlDecl="",Le.state=we.TEXT):(pe(Ee)&&(Le.state=we.SGML_DECL_QUOTED),Le.sgmlDecl+=Ee);continue;case we.SGML_DECL_QUOTED:Ee===Le.q&&(Le.state=we.SGML_DECL,Le.q=""),Le.sgmlDecl+=Ee;continue;case we.DOCTYPE:Ee===">"?(Le.state=we.TEXT,Fe(Le,"ondoctype",Le.doctype),Le.doctype=!0):(Le.doctype+=Ee,Ee==="["?Le.state=we.DOCTYPE_DTD:pe(Ee)&&(Le.state=we.DOCTYPE_QUOTED,Le.q=Ee));continue;case we.DOCTYPE_QUOTED:Le.doctype+=Ee,Ee===Le.q&&(Le.q="",Le.state=we.DOCTYPE);continue;case we.DOCTYPE_DTD:Le.doctype+=Ee,Ee==="]"?Le.state=we.DOCTYPE:pe(Ee)&&(Le.state=we.DOCTYPE_DTD_QUOTED,Le.q=Ee);continue;case we.DOCTYPE_DTD_QUOTED:Le.doctype+=Ee,Ee===Le.q&&(Le.state=we.DOCTYPE_DTD,Le.q="");continue;case we.COMMENT:Ee==="-"?Le.state=we.COMMENT_ENDING:Le.comment+=Ee;continue;case we.COMMENT_ENDING:Ee==="-"?(Le.state=we.COMMENT_ENDED,Le.comment=He(Le.opt,Le.comment),Le.comment&&Fe(Le,"oncomment",Le.comment),Le.comment=""):(Le.comment+="-"+Ee,Le.state=we.COMMENT);continue;case we.COMMENT_ENDED:Ee!==">"?(rt(Le,"Malformed comment"),Le.comment+="--"+Ee,Le.state=we.COMMENT):Le.state=we.TEXT;continue;case we.CDATA:Ee==="]"?Le.state=we.CDATA_ENDING:Le.cdata+=Ee;continue;case we.CDATA_ENDING:Ee==="]"?Le.state=we.CDATA_ENDING_2:(Le.cdata+="]"+Ee,Le.state=we.CDATA);continue;case we.CDATA_ENDING_2:Ee===">"?(Le.cdata&&Fe(Le,"oncdata",Le.cdata),Fe(Le,"onclosecdata"),Le.cdata="",Le.state=we.TEXT):Ee==="]"?Le.cdata+="]":(Le.cdata+="]]"+Ee,Le.state=we.CDATA);continue;case we.PROC_INST:Ee==="?"?Le.state=we.PROC_INST_ENDING:he(Ee)?Le.state=we.PROC_INST_BODY:Le.procInstName+=Ee;continue;case we.PROC_INST_BODY:if(!Le.procInstBody&&he(Ee))continue;Ee==="?"?Le.state=we.PROC_INST_ENDING:Le.procInstBody+=Ee;continue;case we.PROC_INST_ENDING:Ee===">"?(Fe(Le,"onprocessinginstruction",{name:Le.procInstName,body:Le.procInstBody}),Le.procInstName=Le.procInstBody="",Le.state=we.TEXT):(Le.procInstBody+="?"+Ee,Le.state=we.PROC_INST_BODY);continue;case we.OPEN_TAG:Pe(fe,Ee)?Le.tagName+=Ee:(et(Le),Ee===">"?$e(Le):Ee==="/"?Le.state=we.OPEN_TAG_SLASH:(he(Ee)||rt(Le,"Invalid character in tag name"),Le.state=we.ATTRIB));continue;case we.OPEN_TAG_SLASH:Ee===">"?($e(Le,!0),Be(Le)):(rt(Le,"Forward-slash in opening tag not followed by >"),Le.state=we.ATTRIB);continue;case we.ATTRIB:if(he(Ee))continue;Ee===">"?$e(Le):Ee==="/"?Le.state=we.OPEN_TAG_SLASH:Pe(se,Ee)?(Le.attribName=Ee,Le.attribValue="",Le.state=we.ATTRIB_NAME):rt(Le,"Invalid attribute name");continue;case we.ATTRIB_NAME:Ee==="="?Le.state=we.ATTRIB_VALUE:Ee===">"?(rt(Le,"Attribute without value"),Le.attribValue=Le.attribName,_e(Le),$e(Le)):he(Ee)?Le.state=we.ATTRIB_NAME_SAW_WHITE:Pe(fe,Ee)?Le.attribName+=Ee:rt(Le,"Invalid attribute name");continue;case we.ATTRIB_NAME_SAW_WHITE:if(Ee==="=")Le.state=we.ATTRIB_VALUE;else{if(he(Ee))continue;rt(Le,"Attribute without value"),Le.tag.attributes[Le.attribName]="",Le.attribValue="",Fe(Le,"onattribute",{name:Le.attribName,value:""}),Le.attribName="",Ee===">"?$e(Le):Pe(se,Ee)?(Le.attribName=Ee,Le.state=we.ATTRIB_NAME):(rt(Le,"Invalid attribute name"),Le.state=we.ATTRIB)}continue;case we.ATTRIB_VALUE:if(he(Ee))continue;pe(Ee)?(Le.q=Ee,Le.state=we.ATTRIB_VALUE_QUOTED):(rt(Le,"Unquoted attribute value"),Le.state=we.ATTRIB_VALUE_UNQUOTED,Le.attribValue=Ee);continue;case we.ATTRIB_VALUE_QUOTED:if(Ee!==Le.q){Ee==="&"?Le.state=we.ATTRIB_VALUE_ENTITY_Q:Le.attribValue+=Ee;continue}_e(Le),Le.q="",Le.state=we.ATTRIB_VALUE_CLOSED;continue;case we.ATTRIB_VALUE_CLOSED:he(Ee)?Le.state=we.ATTRIB:Ee===">"?$e(Le):Ee==="/"?Le.state=we.OPEN_TAG_SLASH:Pe(se,Ee)?(rt(Le,"No whitespace between attributes"),Le.attribName=Ee,Le.attribValue="",Le.state=we.ATTRIB_NAME):rt(Le,"Invalid attribute name");continue;case we.ATTRIB_VALUE_UNQUOTED:if(!Se(Ee)){Ee==="&"?Le.state=we.ATTRIB_VALUE_ENTITY_U:Le.attribValue+=Ee;continue}_e(Le),Ee===">"?$e(Le):Le.state=we.ATTRIB;continue;case we.CLOSE_TAG:if(Le.tagName)Ee===">"?Be(Le):Pe(fe,Ee)?Le.tagName+=Ee:Le.script?(Le.script+=""?Be(Le):rt(Le,"Invalid characters in closing tag");continue;case we.TEXT_ENTITY:case we.ATTRIB_VALUE_ENTITY_Q:case we.ATTRIB_VALUE_ENTITY_U:var Ye,We;switch(Le.state){case we.TEXT_ENTITY:Ye=we.TEXT,We="textNode";break;case we.ATTRIB_VALUE_ENTITY_Q:Ye=we.ATTRIB_VALUE_QUOTED,We="attribValue";break;case we.ATTRIB_VALUE_ENTITY_U:Ye=we.ATTRIB_VALUE_UNQUOTED,We="attribValue";break}Ee===";"?(Le[We]+=nt(Le),Le.entity="",Le.state=Ye):Pe(Le.entity.length?ge:ve,Ee)?Le.entity+=Ee:(rt(Le,"Invalid character in entity name"),Le[We]+="&"+Le.entity+Ee,Le.entity="",Le.state=Ye);continue;default:throw new Error(Le,"Unknown state: "+Le.state)}return Le.position>=Le.bufferCheckPosition&&le(Le),Le}String.fromCodePoint||function(){var Ue=String.fromCharCode,Le=Math.floor,ze=function(){var Ee=16384,Re=[],qe,Ye,We=-1,Te=arguments.length;if(!Te)return"";for(var xe="";++We1114111||Le(Ne)!==Ne)throw RangeError("Invalid code point: "+Ne);Ne<=65535?Re.push(Ne):(Ne-=65536,qe=(Ne>>10)+55296,Ye=Ne%1024+56320,Re.push(qe,Ye)),(We+1===Te||Re.length>Ee)&&(xe+=Ue.apply(null,Re),Re.length=0)}return xe};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:ze,configurable:!0,writable:!0}):String.fromCodePoint=ze}()})(typeof me=="undefined"?this.sax={}:me)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,ye,me){ye.exports=ue;var oe=E("events").EventEmitter,te=E("inherits");te(ue,oe),ue.Readable=E("readable-stream/lib/_stream_readable.js"),ue.Writable=E("readable-stream/lib/_stream_writable.js"),ue.Duplex=E("readable-stream/lib/_stream_duplex.js"),ue.Transform=E("readable-stream/lib/_stream_transform.js"),ue.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),ue.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),ue.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),ue.Stream=ue;function ue(){oe.call(this)}ue.prototype.pipe=function(ce,le){var de=this;function ae(z){ce.writable&&ce.write(z)===!1&&de.pause&&de.pause()}de.on("data",ae);function ie(){de.readable&&de.resume&&de.resume()}ce.on("drain",ie),!ce._isStdio&&(!le||le.end!==!1)&&(de.on("end",a),de.on("close",y));var ne=!1;function a(){ne||(ne=!0,ce.end())}function y(){ne||(ne=!0,typeof ce.destroy=="function"&&ce.destroy())}function x(z){if(b(),oe.listenerCount(this,"error")===0)throw z}de.on("error",x),ce.on("error",x);function b(){de.removeListener("data",ae),ce.removeListener("drain",ie),de.removeListener("end",a),de.removeListener("close",y),de.removeListener("error",x),ce.removeListener("error",x),de.removeListener("end",b),de.removeListener("close",b),ce.removeListener("close",b)}return de.on("end",b),de.on("close",b),ce.on("close",b),ce.emit("pipe",de),ce}},{events:344,inherits:364,"readable-stream/lib/_stream_duplex.js":400,"readable-stream/lib/_stream_passthrough.js":401,"readable-stream/lib/_stream_readable.js":402,"readable-stream/lib/_stream_transform.js":403,"readable-stream/lib/_stream_writable.js":404,"readable-stream/lib/internal/streams/end-of-stream.js":408,"readable-stream/lib/internal/streams/pipeline.js":410}],399:[function(E,ye,me){"use strict";function oe(ie,ne){ie.prototype=Object.create(ne.prototype),ie.prototype.constructor=ie,ie.__proto__=ne}var te={};function ue(ie,ne,a){a||(a=Error);function y(b,z,ee){return typeof ne=="string"?ne:ne(b,z,ee)}var x=function(b){oe(z,b);function z(ee,re,se){return b.call(this,y(ee,re,se))||this}return z}(a);x.prototype.name=a.name,x.prototype.code=ie,te[ie]=x}function ce(ie,ne){if(Array.isArray(ie)){var a=ie.length;return ie=ie.map(function(y){return String(y)}),a>2?"one of ".concat(ne," ").concat(ie.slice(0,a-1).join(", "),", or ")+ie[a-1]:a===2?"one of ".concat(ne," ").concat(ie[0]," or ").concat(ie[1]):"of ".concat(ne," ").concat(ie[0])}else return"of ".concat(ne," ").concat(String(ie))}function le(ie,ne,a){return ie.substr(!a||a<0?0:+a,ne.length)===ne}function de(ie,ne,a){return(a===void 0||a>ie.length)&&(a=ie.length),ie.substring(a-ne.length,a)===ne}function ae(ie,ne,a){return typeof a!="number"&&(a=0),a+ne.length>ie.length?!1:ie.indexOf(ne,a)!==-1}ue("ERR_INVALID_OPT_VALUE",function(ie,ne){return'The value "'+ne+'" is invalid for option "'+ie+'"'},TypeError),ue("ERR_INVALID_ARG_TYPE",function(ie,ne,a){var y;typeof ne=="string"&&le(ne,"not ")?(y="must not be",ne=ne.replace(/^not /,"")):y="must be";var x;if(de(ie," argument"))x="The ".concat(ie," ").concat(y," ").concat(ce(ne,"type"));else{var b=ae(ie,".")?"property":"argument";x='The "'.concat(ie,'" ').concat(b," ").concat(y," ").concat(ce(ne,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),ue("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),ue("ERR_METHOD_NOT_IMPLEMENTED",function(ie){return"The "+ie+" method is not implemented"}),ue("ERR_STREAM_PREMATURE_CLOSE","Premature close"),ue("ERR_STREAM_DESTROYED",function(ie){return"Cannot call "+ie+" after a stream was destroyed"}),ue("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),ue("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),ue("ERR_STREAM_WRITE_AFTER_END","write after end"),ue("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),ue("ERR_UNKNOWN_ENCODING",function(ie){return"Unknown encoding: "+ie},TypeError),ue("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),ye.exports.codes=te},{}],400:[function(E,ye,me){(function(oe){(function(){"use strict";var te=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};ye.exports=ie;var ue=E("./_stream_readable"),ce=E("./_stream_writable");E("inherits")(ie,ue);for(var le=te(ce.prototype),de=0;de0)if(typeof Te!="string"&&!st.objectMode&&Object.getPrototypeOf(Te)!==ae.prototype&&(Te=ne(Te)),Ne)st.endEmitted?je(We,new he):He(We,st,Te,!0);else if(st.ended)je(We,new ve);else{if(st.destroyed)return!1;st.reading=!1,st.decoder&&!xe?(Te=st.decoder.write(Te),st.objectMode||Te.length!==0?He(We,st,Te,!1):Be(We,st)):He(We,st,Te,!1)}else Ne||(st.reading=!1,Be(We,st))}return!st.ended&&(st.length=ut?We=ut:(We--,We|=We>>>1,We|=We>>>2,We|=We>>>4,We|=We>>>8,We|=We>>>16,We++),We}function et(We,Te){return We<=0||Te.length===0&&Te.ended?0:Te.objectMode?1:We!==We?Te.flowing&&Te.length?Te.buffer.head.data.length:Te.length:(We>Te.highWaterMark&&(Te.highWaterMark=rt(We)),We<=Te.length?We:Te.ended?Te.length:(Te.needReadable=!0,0))}Fe.prototype.read=function(We){x("read",We),We=parseInt(We,10);var Te=this._readableState,xe=We;if(We!==0&&(Te.emittedReadable=!1),We===0&&Te.needReadable&&((Te.highWaterMark!==0?Te.length>=Te.highWaterMark:Te.length>0)||Te.ended))return x("read: emitReadable",Te.length,Te.ended),Te.length===0&&Te.ended?Re(this):_e(this),null;if(We=et(We,Te),We===0&&Te.ended)return Te.length===0&&Re(this),null;var Ne=Te.needReadable;x("need readable",Ne),(Te.length===0||Te.length-We0?Ge=Ee(We,Te):Ge=null,Ge===null?(Te.needReadable=Te.length<=Te.highWaterMark,We=0):(Te.length-=We,Te.awaitDrain=0),Te.length===0&&(Te.ended||(Te.needReadable=!0),xe!==We&&Te.ended&&Re(this)),Ge!==null&&this.emit("data",Ge),Ge};function Xe(We,Te){if(x("onEofChunk"),!Te.ended){if(Te.decoder){var xe=Te.decoder.end();xe&&xe.length&&(Te.buffer.push(xe),Te.length+=Te.objectMode?1:xe.length)}Te.ended=!0,Te.sync?_e(We):(Te.needReadable=!1,Te.emittedReadable||(Te.emittedReadable=!0,$e(We)))}}function _e(We){var Te=We._readableState;x("emitReadable",Te.needReadable,Te.emittedReadable),Te.needReadable=!1,Te.emittedReadable||(x("emitReadable",Te.flowing),Te.emittedReadable=!0,oe.nextTick($e,We))}function $e(We){var Te=We._readableState;x("emitReadable_",Te.destroyed,Te.length,Te.ended),!Te.destroyed&&(Te.length||Te.ended)&&(We.emit("readable"),Te.emittedReadable=!1),Te.needReadable=!Te.flowing&&!Te.ended&&Te.length<=Te.highWaterMark,ze(We)}function Be(We,Te){Te.readingMore||(Te.readingMore=!0,oe.nextTick(nt,We,Te))}function nt(We,Te){for(;!Te.reading&&!Te.ended&&(Te.length1&&Ye(Ne.pipes,We)!==-1)&&!mt&&(x("false write response, pause",Ne.awaitDrain),Ne.awaitDrain++),xe.pause())}function at(yt){x("onerror",yt),Ve(),We.removeListener("error",at),le(We,"error")===0&&je(We,yt)}Oe(We,"error",at);function Ct(){We.removeListener("finish",ot),Ve()}We.once("close",Ct);function ot(){x("onfinish"),We.removeListener("close",Ct),Ve()}We.once("finish",ot);function Ve(){x("unpipe"),xe.unpipe(We)}return We.emit("pipe",xe),Ne.flowing||(x("pipe resume"),xe.resume()),We};function Je(We){return function(){var xe=We._readableState;x("pipeOnDrain",xe.awaitDrain),xe.awaitDrain&&xe.awaitDrain--,xe.awaitDrain===0&&le(We,"data")&&(xe.flowing=!0,ze(We))}}Fe.prototype.unpipe=function(We){var Te=this._readableState,xe={hasUnpiped:!1};if(Te.pipesCount===0)return this;if(Te.pipesCount===1)return We&&We!==Te.pipes?this:(We||(We=Te.pipes),Te.pipes=null,Te.pipesCount=0,Te.flowing=!1,We&&We.emit("unpipe",this,xe),this);if(!We){var Ne=Te.pipes,Ge=Te.pipesCount;Te.pipes=null,Te.pipesCount=0,Te.flowing=!1;for(var st=0;st0,Ne.flowing!==!1&&this.resume()):We==="readable"&&!Ne.endEmitted&&!Ne.readableListening&&(Ne.readableListening=Ne.needReadable=!0,Ne.flowing=!1,Ne.emittedReadable=!1,x("on readable",Ne.length,Ne.reading),Ne.length?_e(this):Ne.reading||oe.nextTick(Ke,this)),xe},Fe.prototype.addListener=Fe.prototype.on,Fe.prototype.removeListener=function(We,Te){var xe=de.prototype.removeListener.call(this,We,Te);return We==="readable"&&oe.nextTick(ft,this),xe},Fe.prototype.removeAllListeners=function(We){var Te=de.prototype.removeAllListeners.apply(this,arguments);return(We==="readable"||We===void 0)&&oe.nextTick(ft,this),Te};function ft(We){var Te=We._readableState;Te.readableListening=We.listenerCount("readable")>0,Te.resumeScheduled&&!Te.paused?Te.flowing=!0:We.listenerCount("data")>0&&We.resume()}function Ke(We){x("readable nexttick read 0"),We.read(0)}Fe.prototype.resume=function(){var We=this._readableState;return We.flowing||(x("resume"),We.flowing=!We.readableListening,Ue(this,We)),We.paused=!1,this};function Ue(We,Te){Te.resumeScheduled||(Te.resumeScheduled=!0,oe.nextTick(Le,We,Te))}function Le(We,Te){x("resume",Te.reading),Te.reading||We.read(0),Te.resumeScheduled=!1,We.emit("resume"),ze(We),Te.flowing&&!Te.reading&&We.read(0)}Fe.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function ze(We){var Te=We._readableState;for(x("flow",Te.flowing);Te.flowing&&We.read()!==null;);}Fe.prototype.wrap=function(We){var Te=this,xe=this._readableState,Ne=!1;We.on("end",function(){if(x("wrapped end"),xe.decoder&&!xe.ended){var bt=xe.decoder.end();bt&&bt.length&&Te.push(bt)}Te.push(null)}),We.on("data",function(bt){if(x("wrapped data"),xe.decoder&&(bt=xe.decoder.write(bt)),!(xe.objectMode&&bt==null)&&!(!xe.objectMode&&(!bt||!bt.length))){var dt=Te.push(bt);dt||(Ne=!0,We.pause())}});for(var Ge in We)this[Ge]===void 0&&typeof We[Ge]=="function"&&(this[Ge]=function(dt){return function(){return We[dt].apply(We,arguments)}}(Ge));for(var st=0;st=Te.length?(Te.decoder?xe=Te.buffer.join(""):Te.buffer.length===1?xe=Te.buffer.first():xe=Te.buffer.concat(Te.length),Te.buffer.clear()):xe=Te.buffer.consume(We,Te.decoder),xe}function Re(We){var Te=We._readableState;x("endReadable",Te.endEmitted),Te.endEmitted||(Te.ended=!0,oe.nextTick(qe,Te,We))}function qe(We,Te){if(x("endReadableNT",We.endEmitted,We.length),!We.endEmitted&&We.length===0&&(We.endEmitted=!0,Te.readable=!1,Te.emit("end"),We.autoDestroy)){var xe=Te._writableState;(!xe||xe.autoDestroy&&xe.finished)&&Te.destroy()}}typeof Symbol=="function"&&(Fe.from=function(We,Te){return Pe===void 0&&(Pe=E("./internal/streams/from")),Pe(Fe,We,Te)});function Ye(We,Te){for(var xe=0,Ne=We.length;xe-1))throw new Se(Ee);return this._writableState.defaultEncoding=Ee,this},Object.defineProperty(Ae.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function He(ze,Ee,Re){return!ze.objectMode&&ze.decodeStrings!==!1&&typeof Ee=="string"&&(Ee=ie.from(Ee,Re)),Ee}Object.defineProperty(Ae.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Me(ze,Ee,Re,qe,Ye,We){if(!Re){var Te=He(Ee,qe,Ye);qe!==Te&&(Re=!0,Ye="buffer",qe=Te)}var xe=Ee.objectMode?1:qe.length;Ee.length+=xe;var Ne=Ee.length0?this.tail.next=fe:this.head=fe,this.tail=fe,++this.length}},{key:"unshift",value:function(se){var fe={data:se,next:this.head};this.length===0&&(this.tail=fe),this.head=fe,++this.length}},{key:"shift",value:function(){if(this.length!==0){var se=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,se}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(se){if(this.length===0)return"";for(var fe=this.head,ve=""+fe.data;fe=fe.next;)ve+=se+fe.data;return ve}},{key:"concat",value:function(se){if(this.length===0)return a.alloc(0);for(var fe=a.allocUnsafe(se>>>0),ve=this.head,ge=0;ve;)z(ve.data,fe,ge),ge+=ve.data.length,ve=ve.next;return fe}},{key:"consume",value:function(se,fe){var ve;return sehe.length?he.length:se;if(pe===he.length?ge+=he:ge+=he.slice(0,se),se-=pe,se===0){pe===he.length?(++ve,fe.next?this.head=fe.next:this.head=this.tail=null):(this.head=fe,fe.data=he.slice(pe));break}++ve}return this.length-=ve,ge}},{key:"_getBuffer",value:function(se){var fe=a.allocUnsafe(se),ve=this.head,ge=1;for(ve.data.copy(fe),se-=ve.data.length;ve=ve.next;){var he=ve.data,pe=se>he.length?he.length:se;if(he.copy(fe,fe.length-se,0,pe),se-=pe,se===0){pe===he.length?(++ge,ve.next?this.head=ve.next:this.head=this.tail=null):(this.head=ve,ve.data=he.slice(pe));break}++ge}return this.length-=ge,fe}},{key:b,value:function(se,fe){return x(this,te(te({},fe),{},{depth:0,customInspect:!1}))}}]),ee}()},{buffer:90,util:89}],407:[function(E,ye,me){(function(oe){(function(){"use strict";function te(ie,ne){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(ne?ne(ie):ie&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,oe.nextTick(de,this,ie)):oe.nextTick(de,this,ie)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ie||null,function(b){!ne&&b?a._writableState?a._writableState.errorEmitted?oe.nextTick(ce,a):(a._writableState.errorEmitted=!0,oe.nextTick(ue,a,b)):oe.nextTick(ue,a,b):ne?(oe.nextTick(ce,a),ne(b)):oe.nextTick(ce,a)}),this)}function ue(ie,ne){de(ie,ne),ce(ie)}function ce(ie){ie._writableState&&!ie._writableState.emitClose||ie._readableState&&!ie._readableState.emitClose||ie.emit("close")}function le(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function de(ie,ne){ie.emit("error",ne)}function ae(ie,ne){var a=ie._readableState,y=ie._writableState;a&&a.autoDestroy||y&&y.autoDestroy?ie.destroy(ne):ie.emit("error",ne)}ye.exports={destroy:te,undestroy:le,errorOrDestroy:ae}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,ye,me){"use strict";var oe=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function te(de){var ae=!1;return function(){if(!ae){ae=!0;for(var ie=arguments.length,ne=new Array(ie),a=0;a0;return ie(ve,he,pe,function(Se){se||(se=Se),Se&&fe.forEach(ne),!he&&(fe.forEach(ne),re(se))})});return z.reduce(a)}ye.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,ye,me){"use strict";var oe=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function te(ce,le,de){return ce.highWaterMark!=null?ce.highWaterMark:le?ce[de]:null}function ue(ce,le,de,ae){var ie=te(le,ae,de);if(ie!=null){if(!(isFinite(ie)&&Math.floor(ie)===ie)||ie<0){var ne=ae?de:"highWaterMark";throw new oe(ne,ie)}return Math.floor(ie)}return ce.objectMode?16:16*1024}ye.exports={getHighWaterMark:ue}},{"../../../errors":399}],412:[function(E,ye,me){arguments[4][393][0].apply(me,arguments)},{dup:393,events:344}],413:[function(E,ye,me){"use strict";var oe=E("safe-buffer").Buffer,te=oe.isEncoding||function(fe){switch(fe=""+fe,fe&&fe.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function ue(fe){if(!fe)return"utf8";for(var ve;;)switch(fe){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return fe;default:if(ve)return;fe=(""+fe).toLowerCase(),ve=!0}}function ce(fe){var ve=ue(fe);if(typeof ve!="string"&&(oe.isEncoding===te||!te(fe)))throw new Error("Unknown encoding: "+fe);return ve||fe}me.StringDecoder=le;function le(fe){this.encoding=ce(fe);var ve;switch(this.encoding){case"utf16le":this.text=x,this.end=b,ve=4;break;case"utf8":this.fillLast=ne,ve=4;break;case"base64":this.text=z,this.end=ee,ve=3;break;default:this.write=re,this.end=se;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=oe.allocUnsafe(ve)}le.prototype.write=function(fe){if(fe.length===0)return"";var ve,ge;if(this.lastNeed){if(ve=this.fillLast(fe),ve===void 0)return"";ge=this.lastNeed,this.lastNeed=0}else ge=0;return ge>5===6?2:fe>>4===14?3:fe>>3===30?4:fe>>6===2?-1:-2}function ae(fe,ve,ge){var he=ve.length-1;if(he=0?(pe>0&&(fe.lastNeed=pe-1),pe):--he=0?(pe>0&&(fe.lastNeed=pe-2),pe):--he=0?(pe>0&&(pe===2?pe=0:fe.lastNeed=pe-3),pe):0))}function ie(fe,ve,ge){if((ve[0]&192)!==128)return fe.lastNeed=0,"\uFFFD";if(fe.lastNeed>1&&ve.length>1){if((ve[1]&192)!==128)return fe.lastNeed=1,"\uFFFD";if(fe.lastNeed>2&&ve.length>2&&(ve[2]&192)!==128)return fe.lastNeed=2,"\uFFFD"}}function ne(fe){var ve=this.lastTotal-this.lastNeed,ge=ie(this,fe,ve);if(ge!==void 0)return ge;if(this.lastNeed<=fe.length)return fe.copy(this.lastChar,ve,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);fe.copy(this.lastChar,ve,0,fe.length),this.lastNeed-=fe.length}function a(fe,ve){var ge=ae(this,fe,ve);if(!this.lastNeed)return fe.toString("utf8",ve);this.lastTotal=ge;var he=fe.length-(ge-this.lastNeed);return fe.copy(this.lastChar,0,he),fe.toString("utf8",ve,he)}function y(fe){var ve=fe&&fe.length?this.write(fe):"";return this.lastNeed?ve+"\uFFFD":ve}function x(fe,ve){if((fe.length-ve)%2===0){var ge=fe.toString("utf16le",ve);if(ge){var he=ge.charCodeAt(ge.length-1);if(he>=55296&&he<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=fe[fe.length-2],this.lastChar[1]=fe[fe.length-1],ge.slice(0,-1)}return ge}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=fe[fe.length-1],fe.toString("utf16le",ve,fe.length-1)}function b(fe){var ve=fe&&fe.length?this.write(fe):"";if(this.lastNeed){var ge=this.lastTotal-this.lastNeed;return ve+this.lastChar.toString("utf16le",0,ge)}return ve}function z(fe,ve){var ge=(fe.length-ve)%3;return ge===0?fe.toString("base64",ve):(this.lastNeed=3-ge,this.lastTotal=3,ge===1?this.lastChar[0]=fe[fe.length-1]:(this.lastChar[0]=fe[fe.length-2],this.lastChar[1]=fe[fe.length-1]),fe.toString("base64",ve,fe.length-ge))}function ee(fe){var ve=fe&&fe.length?this.write(fe):"";return this.lastNeed?ve+this.lastChar.toString("base64",0,3-this.lastNeed):ve}function re(fe){return fe.toString(this.encoding)}function se(fe){return fe&&fe.length?this.write(fe):""}},{"safe-buffer":396}],414:[function(E,ye,me){(function(oe,te){(function(){var ue=E("process/browser.js").nextTick,ce=Function.prototype.apply,le=Array.prototype.slice,de={},ae=0;me.setTimeout=function(){return new ie(ce.call(setTimeout,window,arguments),clearTimeout)},me.setInterval=function(){return new ie(ce.call(setInterval,window,arguments),clearInterval)},me.clearTimeout=me.clearInterval=function(ne){ne.close()};function ie(ne,a){this._id=ne,this._clearFn=a}ie.prototype.unref=ie.prototype.ref=function(){},ie.prototype.close=function(){this._clearFn.call(window,this._id)},me.enroll=function(ne,a){clearTimeout(ne._idleTimeoutId),ne._idleTimeout=a},me.unenroll=function(ne){clearTimeout(ne._idleTimeoutId),ne._idleTimeout=-1},me._unrefActive=me.active=function(ne){clearTimeout(ne._idleTimeoutId);var a=ne._idleTimeout;a>=0&&(ne._idleTimeoutId=setTimeout(function(){ne._onTimeout&&ne._onTimeout()},a))},me.setImmediate=typeof oe=="function"?oe:function(ne){var a=ae++,y=arguments.length<2?!1:le.call(arguments,1);return de[a]=!0,ue(function(){de[a]&&(y?ne.apply(null,y):ne.call(null),me.clearImmediate(a))}),a},me.clearImmediate=typeof te=="function"?te:function(ne){delete de[ne]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,ye,me){var oe=E("buffer").Buffer;ye.exports=function(te){if(te instanceof Uint8Array){if(te.byteOffset===0&&te.byteLength===te.buffer.byteLength)return te.buffer;if(typeof te.buffer.slice=="function")return te.buffer.slice(te.byteOffset,te.byteOffset+te.byteLength)}if(oe.isBuffer(te)){for(var ue=new Uint8Array(te.length),ce=te.length,le=0;le=Ke)return ze;switch(ze){case"%s":return String(ft[Je++]);case"%d":return Number(ft[Je++]);case"%j":try{return JSON.stringify(ft[Je++])}catch(Ee){return"[Circular]"}default:return ze}}),Le=ft[Je];Je=3&&(Je.depth=arguments[2]),arguments.length>=4&&(Je.colors=arguments[3]),fe(nt)?Je.showHidden=nt:nt&&me._extend(Je,nt),Pe(Je.showHidden)&&(Je.showHidden=!1),Pe(Je.depth)&&(Je.depth=2),Pe(Je.colors)&&(Je.colors=!1),Pe(Je.customInspect)&&(Je.customInspect=!0),Je.colors&&(Je.stylize=ie),y(Je,Be,Je.depth)}me.inspect=ae,ae.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ae.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ie(Be,nt){var Je=ae.styles[nt];return Je?"\x1B["+ae.colors[Je][0]+"m"+Be+"\x1B["+ae.colors[Je][1]+"m":Be}function ne(Be,nt){return Be}function a(Be){var nt={};return Be.forEach(function(Je,ft){nt[Je]=!0}),nt}function y(Be,nt,Je){if(Be.customInspect&&nt&&Fe(nt.inspect)&&nt.inspect!==me.inspect&&!(nt.constructor&&nt.constructor.prototype===nt)){var ft=nt.inspect(Je,Be);return pe(ft)||(ft=y(Be,ft,Je)),ft}var Ke=x(Be,nt);if(Ke)return Ke;var Ue=Object.keys(nt),Le=a(Ue);if(Be.showHidden&&(Ue=Object.getOwnPropertyNames(nt)),Ae(nt)&&(Ue.indexOf("message")>=0||Ue.indexOf("description")>=0))return b(nt);if(Ue.length===0){if(Fe(nt)){var ze=nt.name?": "+nt.name:"";return Be.stylize("[Function"+ze+"]","special")}if(je(nt))return Be.stylize(RegExp.prototype.toString.call(nt),"regexp");if(Oe(nt))return Be.stylize(Date.prototype.toString.call(nt),"date");if(Ae(nt))return b(nt)}var Ee="",Re=!1,qe=["{","}"];if(se(nt)&&(Re=!0,qe=["[","]"]),Fe(nt)){var Ye=nt.name?": "+nt.name:"";Ee=" [Function"+Ye+"]"}if(je(nt)&&(Ee=" "+RegExp.prototype.toString.call(nt)),Oe(nt)&&(Ee=" "+Date.prototype.toUTCString.call(nt)),Ae(nt)&&(Ee=" "+b(nt)),Ue.length===0&&(!Re||nt.length==0))return qe[0]+Ee+qe[1];if(Je<0)return je(nt)?Be.stylize(RegExp.prototype.toString.call(nt),"regexp"):Be.stylize("[Object]","special");Be.seen.push(nt);var We;return Re?We=z(Be,nt,Je,Le,Ue):We=Ue.map(function(Te){return ee(Be,nt,Je,Le,Te,Re)}),Be.seen.pop(),re(We,Ee,qe)}function x(Be,nt){if(Pe(nt))return Be.stylize("undefined","undefined");if(pe(nt)){var Je="'"+JSON.stringify(nt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Be.stylize(Je,"string")}if(he(nt))return Be.stylize(""+nt,"number");if(fe(nt))return Be.stylize(""+nt,"boolean");if(ve(nt))return Be.stylize("null","null")}function b(Be){return"["+Error.prototype.toString.call(Be)+"]"}function z(Be,nt,Je,ft,Ke){for(var Ue=[],Le=0,ze=nt.length;Le-1&&(Ue?ze=ze.split(` `).map(function(Re){return" "+Re}).join(` `).slice(2):ze=` `+ze.split(` `).map(function(Re){return" "+Re}).join(` `))):ze=Be.stylize("[Circular]","special")),Pe(Le)){if(Ue&&Ke.match(/^\d+$/))return ze;Le=JSON.stringify(""+Ke),Le.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Le=Le.slice(1,-1),Le=Be.stylize(Le,"name")):(Le=Le.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Le=Be.stylize(Le,"string"))}return Le+": "+ze}function re(Be,nt,Je){var ft=0,Ke=Be.reduce(function(Ue,Le){return ft++,Le.indexOf(` `)>=0&&ft++,Ue+Le.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ke>60?Je[0]+(nt===""?"":nt+` `)+" "+Be.join(`, `)+" "+Je[1]:Je[0]+nt+" "+Be.join(", ")+" "+Je[1]}me.types=E("./support/types");function se(Be){return Array.isArray(Be)}me.isArray=se;function fe(Be){return typeof Be=="boolean"}me.isBoolean=fe;function ve(Be){return Be===null}me.isNull=ve;function ge(Be){return Be==null}me.isNullOrUndefined=ge;function he(Be){return typeof Be=="number"}me.isNumber=he;function pe(Be){return typeof Be=="string"}me.isString=pe;function Se(Be){return typeof Be=="symbol"}me.isSymbol=Se;function Pe(Be){return Be===void 0}me.isUndefined=Pe;function je(Be){return we(Be)&&He(Be)==="[object RegExp]"}me.isRegExp=je,me.types.isRegExp=je;function we(Be){return typeof Be=="object"&&Be!==null}me.isObject=we;function Oe(Be){return we(Be)&&He(Be)==="[object Date]"}me.isDate=Oe,me.types.isDate=Oe;function Ae(Be){return we(Be)&&(He(Be)==="[object Error]"||Be instanceof Error)}me.isError=Ae,me.types.isNativeError=Ae;function Fe(Be){return typeof Be=="function"}me.isFunction=Fe;function ke(Be){return Be===null||typeof Be=="boolean"||typeof Be=="number"||typeof Be=="string"||typeof Be=="symbol"||typeof Be=="undefined"}me.isPrimitive=ke,me.isBuffer=E("./support/isBuffer");function He(Be){return Object.prototype.toString.call(Be)}function Me(Be){return Be<10?"0"+Be.toString(10):Be.toString(10)}var ut=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function rt(){var Be=new Date,nt=[Me(Be.getHours()),Me(Be.getMinutes()),Me(Be.getSeconds())].join(":");return[Be.getDate(),ut[Be.getMonth()],nt].join(" ")}me.log=function(){console.log("%s - %s",rt(),me.format.apply(me,arguments))},me.inherits=E("inherits"),me._extend=function(Be,nt){if(!nt||!we(nt))return Be;for(var Je=Object.keys(nt),ft=Je.length;ft--;)Be[Je[ft]]=nt[Je[ft]];return Be};function et(Be,nt){return Object.prototype.hasOwnProperty.call(Be,nt)}var Xe=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;me.promisify=function(nt){if(typeof nt!="function")throw new TypeError('The "original" argument must be of type Function');if(Xe&&nt[Xe]){var Je=nt[Xe];if(typeof Je!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Je,Xe,{value:Je,enumerable:!1,writable:!1,configurable:!0}),Je}function Je(){for(var ft,Ke,Ue=new Promise(function(Ee,Re){ft=Ee,Ke=Re}),Le=[],ze=0;ze-1?ve:ve!=="Object"?!1:re(fe)}return de?ee(fe):null}}).call(this)}).call(this,typeof wt!="undefined"?wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(E,ye,me){(function(){"use strict";me.stripBOM=function(oe){return oe[0]==="\uFEFF"?oe.substring(1):oe}}).call(this)},{}],422:[function(E,ye,me){(function(){"use strict";var oe,te,ue,ce,le,de={}.hasOwnProperty;oe=E("xmlbuilder"),te=E("./defaults").defaults,ce=function(ae){return typeof ae=="string"&&(ae.indexOf("&")>=0||ae.indexOf(">")>=0||ae.indexOf("<")>=0)},le=function(ae){return""},ue=function(ae){return ae.replace("]]>","]]]]>")},me.Builder=function(){function ae(ie){var ne,a,y;this.options={},a=te["0.2"];for(ne in a)de.call(a,ne)&&(y=a[ne],this.options[ne]=y);for(ne in ie)de.call(ie,ne)&&(y=ie[ne],this.options[ne]=y)}return ae.prototype.buildObject=function(ie){var ne,a,y,x,b;return ne=this.options.attrkey,a=this.options.charkey,Object.keys(ie).length===1&&this.options.rootName===te["0.2"].rootName?(b=Object.keys(ie)[0],ie=ie[b]):b=this.options.rootName,y=function(z){return function(ee,re){var se,fe,ve,ge,he,pe;if(typeof re!="object")z.options.cdata&&ce(re)?ee.raw(le(re)):ee.txt(re);else if(Array.isArray(re)){for(ge in re)if(de.call(re,ge)){fe=re[ge];for(he in fe)ve=fe[he],ee=y(ee.ele(he),ve).up()}}else for(he in re)if(de.call(re,he))if(fe=re[he],he===ne){if(typeof fe=="object")for(se in fe)pe=fe[se],ee=ee.att(se,pe)}else if(he===a)z.options.cdata&&ce(fe)?ee=ee.raw(le(fe)):ee=ee.txt(fe);else if(Array.isArray(fe))for(ge in fe)de.call(fe,ge)&&(ve=fe[ge],typeof ve=="string"?z.options.cdata&&ce(ve)?ee=ee.ele(he).raw(le(ve)).up():ee=ee.ele(he,ve).up():ee=y(ee.ele(he),ve).up());else typeof fe=="object"?ee=y(ee.ele(he),fe).up():typeof fe=="string"&&z.options.cdata&&ce(fe)?ee=ee.ele(he).raw(le(fe)).up():(fe==null&&(fe=""),ee=ee.ele(he,fe.toString()).up());return ee}}(this),x=oe.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,ie).end(this.options.renderOpts)},ae}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,ye,me){(function(){me.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` `},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(E,ye,me){(function(){"use strict";var oe,te,ue,ce,le,de,ae,ie,ne,a=function(b,z){return function(){return b.apply(z,arguments)}},y=function(b,z){for(var ee in z)x.call(z,ee)&&(b[ee]=z[ee]);function re(){this.constructor=b}return re.prototype=z.prototype,b.prototype=new re,b.__super__=z.prototype,b},x={}.hasOwnProperty;ie=E("sax"),ce=E("events"),oe=E("./bom"),ae=E("./processors"),ne=E("timers").setImmediate,te=E("./defaults").defaults,le=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},de=function(b,z,ee){var re,se,fe;for(re=0,se=b.length;re0&&(Se[ve.options.childkey]=je),je=Se;else if(Ae){Ae[ve.options.childkey]=Ae[ve.options.childkey]||[],we={};for(pe in je)x.call(je,pe)&&ue(we,pe,je[pe]);Ae[ve.options.childkey].push(we),delete je["#name"],Object.keys(je).length===1&&re in je&&!ve.EXPLICIT_CHARKEY&&(je=je[re])}}return fe.length>0?ve.assignOrPush(Ae,Pe,je):(ve.options.explicitRoot&&(Oe=je,je={},ue(je,Pe,Oe)),ve.resultObject=je,ve.saxParser.ended=!0,ve.emit("end",ve.resultObject))}}(this),se=function(ve){return function(ge){var he,pe;if(pe=fe[fe.length-1],pe)return pe[re]+=ge,ve.options.explicitChildren&&ve.options.preserveChildrenOrder&&ve.options.charsAsChildren&&(ve.options.includeWhiteChars||ge.replace(/\\n/g,"").trim()!=="")&&(pe[ve.options.childkey]=pe[ve.options.childkey]||[],he={"#name":"__text__"},he[re]=ge,ve.options.normalize&&(he[re]=he[re].replace(/\s{2,}/g," ").trim()),pe[ve.options.childkey].push(he)),pe}}(this),this.saxParser.ontext=se,this.saxParser.oncdata=function(ve){return function(ge){var he;if(he=se(ge),he)return he.cdata=!0}}(this)},z.prototype.parseString=function(ee,re){var se;re!=null&&typeof re=="function"&&(this.on("end",function(fe){return this.reset(),re(null,fe)}),this.on("error",function(fe){return this.reset(),re(fe)}));try{return ee=ee.toString(),ee.trim()===""?(this.emit("end",null),!0):(ee=oe.stripBOM(ee),this.options.async?(this.remaining=ee,ne(this.processAsync),this.saxParser):this.saxParser.write(ee).close())}catch(fe){if(se=fe,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw se}else return this.emit("error",se),this.saxParser.errThrown=!0}},z.prototype.parseStringPromise=function(ee){return new Promise(function(re){return function(se,fe){return re.parseString(ee,function(ve,ge){return ve?fe(ve):se(ge)})}}(this))},z}(ce),me.parseString=function(b,z,ee){var re,se,fe;return ee!=null?(typeof ee=="function"&&(re=ee),typeof z=="object"&&(se=z)):(typeof z=="function"&&(re=z),se={}),fe=new me.Parser(se),fe.parseString(b,re)},me.parseStringPromise=function(b,z){var ee,re;return typeof z=="object"&&(ee=z),re=new me.Parser(ee),re.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,ye,me){(function(){"use strict";var oe;oe=new RegExp(/(?!xmlns)^.*:/),me.normalize=function(te){return te.toLowerCase()},me.firstCharLowerCase=function(te){return te.charAt(0).toLowerCase()+te.slice(1)},me.stripPrefix=function(te){return te.replace(oe,"")},me.parseNumbers=function(te){return isNaN(te)||(te=te%1===0?parseInt(te,10):parseFloat(te)),te},me.parseBooleans=function(te){return/^(?:true|false)$/i.test(te)&&(te=te.toLowerCase()==="true"),te}}).call(this)},{}],426:[function(E,ye,me){(function(){"use strict";var oe,te,ue,ce,le=function(ae,ie){for(var ne in ie)de.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},de={}.hasOwnProperty;te=E("./defaults"),oe=E("./builder"),ue=E("./parser"),ce=E("./processors"),me.defaults=te.defaults,me.processors=ce,me.ValidationError=function(ae){le(ie,ae);function ie(ne){this.message=ne}return ie}(Error),me.Builder=oe.Builder,me.Parser=ue.Parser,me.parseString=ue.parseString,me.parseStringPromise=ue.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,ye,me){(function(){ye.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,ye,me){(function(){ye.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},{}],429:[function(E,ye,me){(function(){var oe,te,ue,ce,le,de,ae,ie=[].slice,ne={}.hasOwnProperty;oe=function(){var a,y,x,b,z,ee;if(ee=arguments[0],z=2<=arguments.length?ie.call(arguments,1):[],le(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=z.length;a":"attribute: {"+le+"}, parent: <"+this.parent.name+">"},ce.prototype.isEqualNode=function(le){return!(le.namespaceURI!==this.namespaceURI||le.prefix!==this.prefix||le.localName!==this.localName||le.value!==this.value)},ce}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,ye,me){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;oe=E("./NodeType"),ue=E("./XMLCharacterData"),ye.exports=te=function(de){ce(ae,de);function ae(ie,ne){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=oe.CData,this.value=this.stringify.cdata(ne)}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.cdata(this,this.options.writer.filterOptions(ie))},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,ye,me){(function(){var oe,te,ue=function(le,de){for(var ae in de)ce.call(de,ae)&&(le[ae]=de[ae]);function ie(){this.constructor=le}return ie.prototype=de.prototype,le.prototype=new ie,le.__super__=de.prototype,le},ce={}.hasOwnProperty;te=E("./XMLNode"),ye.exports=oe=function(le){ue(de,le);function de(ae){de.__super__.constructor.call(this,ae),this.value=""}return Object.defineProperty(de.prototype,"data",{get:function(){return this.value},set:function(ae){return this.value=ae||""}}),Object.defineProperty(de.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(de.prototype,"textContent",{get:function(){return this.value},set:function(ae){return this.value=ae||""}}),de.prototype.clone=function(){return Object.create(this)},de.prototype.substringData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},de.prototype.appendData=function(ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},de.prototype.insertData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},de.prototype.deleteData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},de.prototype.replaceData=function(ae,ie,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},de.prototype.isEqualNode=function(ae){return!(!de.__super__.isEqualNode.apply(this,arguments).isEqualNode(ae)||ae.data!==this.data)},de}(te)}).call(this)},{"./XMLNode":450}],434:[function(E,ye,me){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;oe=E("./NodeType"),te=E("./XMLCharacterData"),ye.exports=ue=function(de){ce(ae,de);function ae(ie,ne){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=oe.Comment,this.value=this.stringify.comment(ne)}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.comment(this,this.options.writer.filterOptions(ie))},ae}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,ye,me){(function(){var oe,te,ue;te=E("./XMLDOMErrorHandler"),ue=E("./XMLDOMStringList"),ye.exports=oe=function(){function ce(){var le;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new te,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=le=Object.create(this.defaultParams)}return Object.defineProperty(ce.prototype,"parameterNames",{get:function(){return new ue(Object.keys(this.defaultParams))}}),ce.prototype.getParameter=function(le){return this.params.hasOwnProperty(le)?this.params[le]:null},ce.prototype.canSetParameter=function(le,de){return!0},ce.prototype.setParameter=function(le,de){return de!=null?this.params[le]=de:delete this.params[le]},ce}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,ye,me){(function(){var oe;ye.exports=oe=function(){function te(){}return te.prototype.handleError=function(ue){throw new Error(ue)},te}()}).call(this)},{}],437:[function(E,ye,me){(function(){var oe;ye.exports=oe=function(){function te(){}return te.prototype.hasFeature=function(ue,ce){return!0},te.prototype.createDocumentType=function(ue,ce,le){throw new Error("This DOM method is not implemented.")},te.prototype.createDocument=function(ue,ce,le){throw new Error("This DOM method is not implemented.")},te.prototype.createHTMLDocument=function(ue){throw new Error("This DOM method is not implemented.")},te.prototype.getFeature=function(ue,ce){throw new Error("This DOM method is not implemented.")},te}()}).call(this)},{}],438:[function(E,ye,me){(function(){var oe;ye.exports=oe=function(){function te(ue){this.arr=ue||[]}return Object.defineProperty(te.prototype,"length",{get:function(){return this.arr.length}}),te.prototype.item=function(ue){return this.arr[ue]||null},te.prototype.contains=function(ue){return this.arr.indexOf(ue)!==-1},te}()}).call(this)},{}],439:[function(E,ye,me){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;ue=E("./XMLNode"),oe=E("./NodeType"),ye.exports=te=function(de){ce(ae,de);function ae(ie,ne,a,y,x,b){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(ne));if(!y)throw new Error("Missing DTD attribute type. "+this.debugInfo(ne));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(ne));if(x.indexOf("#")!==0&&(x="#"+x),!x.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(ne));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(ne));this.elementName=this.stringify.name(ne),this.type=oe.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return ae.prototype.toString=function(ie){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ie))},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,ye,me){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;ue=E("./XMLNode"),oe=E("./NodeType"),ye.exports=te=function(de){ce(ae,de);function ae(ie,ne,a){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.name(ne),this.type=oe.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return ae.prototype.toString=function(ie){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(ie))},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,ye,me){(function(){var oe,te,ue,ce,le=function(ae,ie){for(var ne in ie)de.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},de={}.hasOwnProperty;ce=E("./Utility").isObject,ue=E("./XMLNode"),oe=E("./NodeType"),ye.exports=te=function(ae){le(ie,ae);function ie(ne,a,y,x){if(ie.__super__.constructor.call(this,ne),y==null)throw new Error("Missing DTD entity name. "+this.debugInfo(y));if(x==null)throw new Error("Missing DTD entity value. "+this.debugInfo(y));if(this.pe=!!a,this.name=this.stringify.name(y),this.type=oe.EntityDeclaration,!ce(x))this.value=this.stringify.dtdEntityValue(x),this.internal=!0;else{if(!x.pubID&&!x.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(y));if(x.pubID&&!x.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(y));if(this.internal=!1,x.pubID!=null&&(this.pubID=this.stringify.dtdPubID(x.pubID)),x.sysID!=null&&(this.sysID=this.stringify.dtdSysID(x.sysID)),x.nData!=null&&(this.nData=this.stringify.dtdNData(x.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(y))}}return Object.defineProperty(ie.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ie.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(ie.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(ie.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(ie.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(ie.prototype,"xmlVersion",{get:function(){return null}}),ie.prototype.toString=function(ne){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(ne))},ie}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,ye,me){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;ue=E("./XMLNode"),oe=E("./NodeType"),ye.exports=te=function(de){ce(ae,de);function ae(ie,ne,a){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD notation name. "+this.debugInfo(ne));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(ne));this.name=this.stringify.name(ne),this.type=oe.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(ae.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ae.prototype,"systemId",{get:function(){return this.sysID}}),ae.prototype.toString=function(ie){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ie))},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,ye,me){(function(){var oe,te,ue,ce,le=function(ae,ie){for(var ne in ie)de.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},de={}.hasOwnProperty;ce=E("./Utility").isObject,ue=E("./XMLNode"),oe=E("./NodeType"),ye.exports=te=function(ae){le(ie,ae);function ie(ne,a,y,x){var b;ie.__super__.constructor.call(this,ne),ce(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=oe.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return ie.prototype.toString=function(ne){return this.options.writer.declaration(this,this.options.writer.filterOptions(ne))},ie}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,ye,me){(function(){var oe,te,ue,ce,le,de,ae,ie,ne,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function ee(){this.constructor=x}return ee.prototype=b.prototype,x.prototype=new ee,x.__super__=b.prototype,x},y={}.hasOwnProperty;ne=E("./Utility").isObject,ie=E("./XMLNode"),oe=E("./NodeType"),te=E("./XMLDTDAttList"),ce=E("./XMLDTDEntity"),ue=E("./XMLDTDElement"),le=E("./XMLDTDNotation"),ae=E("./XMLNamedNodeMap"),ye.exports=de=function(x){a(b,x);function b(z,ee,re){var se,fe,ve,ge,he,pe;if(b.__super__.constructor.call(this,z),this.type=oe.DocType,z.children){for(ge=z.children,fe=0,ve=ge.length;fe=0;)this.up();return this.onEnd()},we.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},we.prototype.openNode=function(Oe){var Ae,Fe,ke,He;if(!Oe.isOpen){if(!this.root&&this.currentLevel===0&&Oe.type===oe.Element&&(this.root=Oe),Fe="",Oe.type===oe.Element){this.writerOptions.state=te.OpenTag,Fe=this.writer.indent(Oe,this.writerOptions,this.currentLevel)+"<"+Oe.name,He=Oe.attribs;for(ke in He)je.call(He,ke)&&(Ae=He[ke],Fe+=this.writer.attribute(Ae,this.writerOptions,this.currentLevel));Fe+=(Oe.children?">":"/>")+this.writer.endline(Oe,this.writerOptions,this.currentLevel),this.writerOptions.state=te.InsideTag}else this.writerOptions.state=te.OpenTag,Fe=this.writer.indent(Oe,this.writerOptions,this.currentLevel)+""),Fe+=this.writer.endline(Oe,this.writerOptions,this.currentLevel);return this.onData(Fe,this.currentLevel),Oe.isOpen=!0}},we.prototype.closeNode=function(Oe){var Ae;if(!Oe.isClosed)return Ae="",this.writerOptions.state=te.CloseTag,Oe.type===oe.Element?Ae=this.writer.indent(Oe,this.writerOptions,this.currentLevel)+""+this.writer.endline(Oe,this.writerOptions,this.currentLevel):Ae=this.writer.indent(Oe,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Oe,this.writerOptions,this.currentLevel),this.writerOptions.state=te.None,this.onData(Ae,this.currentLevel),Oe.isClosed=!0},we.prototype.onData=function(Oe,Ae){return this.documentStarted=!0,this.onDataCallback(Oe,Ae+1)},we.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},we.prototype.debugInfo=function(Oe){return Oe==null?"":"node: <"+Oe+">"},we.prototype.ele=function(){return this.element.apply(this,arguments)},we.prototype.nod=function(Oe,Ae,Fe){return this.node(Oe,Ae,Fe)},we.prototype.txt=function(Oe){return this.text(Oe)},we.prototype.dat=function(Oe){return this.cdata(Oe)},we.prototype.com=function(Oe){return this.comment(Oe)},we.prototype.ins=function(Oe,Ae){return this.instruction(Oe,Ae)},we.prototype.dec=function(Oe,Ae,Fe){return this.declaration(Oe,Ae,Fe)},we.prototype.dtd=function(Oe,Ae,Fe){return this.doctype(Oe,Ae,Fe)},we.prototype.e=function(Oe,Ae,Fe){return this.element(Oe,Ae,Fe)},we.prototype.n=function(Oe,Ae,Fe){return this.node(Oe,Ae,Fe)},we.prototype.t=function(Oe){return this.text(Oe)},we.prototype.d=function(Oe){return this.cdata(Oe)},we.prototype.c=function(Oe){return this.comment(Oe)},we.prototype.r=function(Oe){return this.raw(Oe)},we.prototype.i=function(Oe,Ae){return this.instruction(Oe,Ae)},we.prototype.att=function(){return this.currentNode&&this.currentNode.type===oe.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},we.prototype.a=function(){return this.currentNode&&this.currentNode.type===oe.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},we.prototype.ent=function(Oe,Ae){return this.entity(Oe,Ae)},we.prototype.pent=function(Oe,Ae){return this.pEntity(Oe,Ae)},we.prototype.not=function(Oe,Ae){return this.notation(Oe,Ae)},we}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(E,ye,me){(function(){var oe,te,ue,ce=function(de,ae){for(var ie in ae)le.call(ae,ie)&&(de[ie]=ae[ie]);function ne(){this.constructor=de}return ne.prototype=ae.prototype,de.prototype=new ne,de.__super__=ae.prototype,de},le={}.hasOwnProperty;ue=E("./XMLNode"),oe=E("./NodeType"),ye.exports=te=function(de){ce(ae,de);function ae(ie){ae.__super__.constructor.call(this,ie),this.type=oe.Dummy}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return""},ae}(ue)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,ye,me){(function(){var oe,te,ue,ce,le,de,ae,ie,ne,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function ee(){this.constructor=x}return ee.prototype=b.prototype,x.prototype=new ee,x.__super__=b.prototype,x},y={}.hasOwnProperty;ne=E("./Utility"),ie=ne.isObject,ae=ne.isFunction,de=ne.getValue,le=E("./XMLNode"),oe=E("./NodeType"),te=E("./XMLAttribute"),ce=E("./XMLNamedNodeMap"),ye.exports=ue=function(x){a(b,x);function b(z,ee,re){var se,fe,ve,ge;if(b.__super__.constructor.call(this,z),ee==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(ee),this.type=oe.Element,this.attribs={},this.schemaTypeInfo=null,re!=null&&this.attribute(re),z.type===oe.Document&&(this.isRoot=!0,this.documentObject=z,z.rootObject=this,z.children)){for(ge=z.children,fe=0,ve=ge.length;fe=se;ee=0<=se?++re:--re)if(!this.attribs[ee].isEqualNode(z.attribs[ee]))return!1;return!0},b}(le)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,ye,me){(function(){var oe;ye.exports=oe=function(){function te(ue){this.nodes=ue}return Object.defineProperty(te.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),te.prototype.clone=function(){return this.nodes=null},te.prototype.getNamedItem=function(ue){return this.nodes[ue]},te.prototype.setNamedItem=function(ue){var ce;return ce=this.nodes[ue.nodeName],this.nodes[ue.nodeName]=ue,ce||null},te.prototype.removeNamedItem=function(ue){var ce;return ce=this.nodes[ue],delete this.nodes[ue],ce||null},te.prototype.item=function(ue){return this.nodes[Object.keys(this.nodes)[ue]]||null},te.prototype.getNamedItemNS=function(ue,ce){throw new Error("This DOM method is not implemented.")},te.prototype.setNamedItemNS=function(ue){throw new Error("This DOM method is not implemented.")},te.prototype.removeNamedItemNS=function(ue,ce){throw new Error("This DOM method is not implemented.")},te}()}).call(this)},{}],450:[function(E,ye,me){(function(){var oe,te,ue,ce,le,de,ae,ie,ne,a,y,x,b,z,ee,re,se,fe,ve,ge={}.hasOwnProperty;ve=E("./Utility"),fe=ve.isObject,se=ve.isFunction,re=ve.isEmpty,ee=ve.getValue,ie=null,ue=null,ce=null,le=null,de=null,b=null,z=null,x=null,ae=null,te=null,y=null,ne=null,oe=null,ye.exports=a=function(){function he(pe){this.parent=pe,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ie||(ie=E("./XMLElement"),ue=E("./XMLCData"),ce=E("./XMLComment"),le=E("./XMLDeclaration"),de=E("./XMLDocType"),b=E("./XMLRaw"),z=E("./XMLText"),x=E("./XMLProcessingInstruction"),ae=E("./XMLDummy"),te=E("./NodeType"),y=E("./XMLNodeList"),ne=E("./XMLNamedNodeMap"),oe=E("./DocumentPosition"))}return Object.defineProperty(he.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(he.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(he.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(he.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(he.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(he.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(he.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(he.prototype,"previousSibling",{get:function(){var pe;return pe=this.parent.children.indexOf(this),this.parent.children[pe-1]||null}}),Object.defineProperty(he.prototype,"nextSibling",{get:function(){var pe;return pe=this.parent.children.indexOf(this),this.parent.children[pe+1]||null}}),Object.defineProperty(he.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(he.prototype,"textContent",{get:function(){var pe,Se,Pe,je,we;if(this.nodeType===te.Element||this.nodeType===te.DocumentFragment){for(we="",je=this.children,Se=0,Pe=je.length;Se":(Pe=this.parent)!=null&&Pe.name?"node: <"+pe+">, parent: <"+this.parent.name+">":"node: <"+pe+">"},he.prototype.ele=function(pe,Se,Pe){return this.element(pe,Se,Pe)},he.prototype.nod=function(pe,Se,Pe){return this.node(pe,Se,Pe)},he.prototype.txt=function(pe){return this.text(pe)},he.prototype.dat=function(pe){return this.cdata(pe)},he.prototype.com=function(pe){return this.comment(pe)},he.prototype.ins=function(pe,Se){return this.instruction(pe,Se)},he.prototype.doc=function(){return this.document()},he.prototype.dec=function(pe,Se,Pe){return this.declaration(pe,Se,Pe)},he.prototype.e=function(pe,Se,Pe){return this.element(pe,Se,Pe)},he.prototype.n=function(pe,Se,Pe){return this.node(pe,Se,Pe)},he.prototype.t=function(pe){return this.text(pe)},he.prototype.d=function(pe){return this.cdata(pe)},he.prototype.c=function(pe){return this.comment(pe)},he.prototype.r=function(pe){return this.raw(pe)},he.prototype.i=function(pe,Se){return this.instruction(pe,Se)},he.prototype.u=function(){return this.up()},he.prototype.importXMLBuilder=function(pe){return this.importDocument(pe)},he.prototype.replaceChild=function(pe,Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.removeChild=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.appendChild=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.hasChildNodes=function(){return this.children.length!==0},he.prototype.cloneNode=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.isSupported=function(pe,Se){return!0},he.prototype.hasAttributes=function(){return this.attribs.length!==0},he.prototype.compareDocumentPosition=function(pe){var Se,Pe;return Se=this,Se===pe?0:this.document()!==pe.document()?(Pe=oe.Disconnected|oe.ImplementationSpecific,Math.random()<.5?Pe|=oe.Preceding:Pe|=oe.Following,Pe):Se.isAncestor(pe)?oe.Contains|oe.Preceding:Se.isDescendant(pe)?oe.Contains|oe.Following:Se.isPreceding(pe)?oe.Preceding:oe.Following},he.prototype.isSameNode=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.lookupPrefix=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.isDefaultNamespace=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.lookupNamespaceURI=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.isEqualNode=function(pe){var Se,Pe,je;if(pe.nodeType!==this.nodeType||pe.children.length!==this.children.length)return!1;for(Se=Pe=0,je=this.children.length-1;0<=je?Pe<=je:Pe>=je;Se=0<=je?++Pe:--Pe)if(!this.children[Se].isEqualNode(pe.children[Se]))return!1;return!0},he.prototype.getFeature=function(pe,Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.setUserData=function(pe,Se,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.getUserData=function(pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.contains=function(pe){return pe?pe===this||this.isDescendant(pe):!1},he.prototype.isDescendant=function(pe){var Se,Pe,je,we,Oe;for(Oe=this.children,je=0,we=Oe.length;jePe},he.prototype.treePosition=function(pe){var Se,Pe;return Pe=0,Se=!1,this.foreachTreeNode(this.document(),function(je){if(Pe++,!Se&&je===pe)return Se=!0}),Se?Pe:-1},he.prototype.foreachTreeNode=function(pe,Se){var Pe,je,we,Oe,Ae;for(pe||(pe=this.document()),Oe=pe.children,je=0,we=Oe.length;je0){for(this.stream.write(" ["),this.stream.write(this.endline(ne,a,y)),a.state=te.InsideTag,ee=ne.children,b=0,z=ee.length;b"),this.stream.write(this.endline(ne,a,y)),a.state=te.None,this.closeNode(ne,a,y)},ie.prototype.element=function(ne,a,y){var x,b,z,ee,re,se,fe,ve,ge,he;y||(y=0),this.openNode(ne,a,y),a.state=te.OpenTag,this.stream.write(this.indent(ne,a,y)+"<"+ne.name),ge=ne.attribs;for(fe in ge)de.call(ge,fe)&&(x=ge[fe],this.attribute(x,a,y));if(z=ne.children.length,ee=z===0?null:ne.children[0],z===0||ne.children.every(function(pe){return(pe.type===oe.Text||pe.type===oe.Raw)&&pe.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=te.CloseTag,this.stream.write("")):(a.state=te.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&z===1&&(ee.type===oe.Text||ee.type===oe.Raw)&&ee.value!=null)this.stream.write(">"),a.state=te.InsideTag,a.suppressPrettyCount++,ve=!0,this.writeChildNode(ee,a,y+1),a.suppressPrettyCount--,ve=!1,a.state=te.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(ne,a,y)),a.state=te.InsideTag,he=ne.children,re=0,se=he.length;re")}return this.stream.write(this.endline(ne,a,y)),a.state=te.None,this.closeNode(ne,a,y)},ie.prototype.processingInstruction=function(ne,a,y){return this.stream.write(ie.__super__.processingInstruction.call(this,ne,a,y))},ie.prototype.raw=function(ne,a,y){return this.stream.write(ie.__super__.raw.call(this,ne,a,y))},ie.prototype.text=function(ne,a,y){return this.stream.write(ie.__super__.text.call(this,ne,a,y))},ie.prototype.dtdAttList=function(ne,a,y){return this.stream.write(ie.__super__.dtdAttList.call(this,ne,a,y))},ie.prototype.dtdElement=function(ne,a,y){return this.stream.write(ie.__super__.dtdElement.call(this,ne,a,y))},ie.prototype.dtdEntity=function(ne,a,y){return this.stream.write(ie.__super__.dtdEntity.call(this,ne,a,y))},ie.prototype.dtdNotation=function(ne,a,y){return this.stream.write(ie.__super__.dtdNotation.call(this,ne,a,y))},ie}(ce)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,ye,me){(function(){var oe,te,ue=function(le,de){for(var ae in de)ce.call(de,ae)&&(le[ae]=de[ae]);function ie(){this.constructor=le}return ie.prototype=de.prototype,le.prototype=new ie,le.__super__=de.prototype,le},ce={}.hasOwnProperty;te=E("./XMLWriterBase"),ye.exports=oe=function(le){ue(de,le);function de(ae){de.__super__.constructor.call(this,ae)}return de.prototype.document=function(ae,ie){var ne,a,y,x,b;for(ie=this.filterOptions(ie),x="",b=ae.children,a=0,y=b.length;a","]]]]>"),this.assertLegalChar(le))},ce.prototype.comment=function(le){if(this.options.noValidation)return le;if(le=""+le||"",le.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+le);return this.assertLegalChar(le)},ce.prototype.raw=function(le){return this.options.noValidation?le:""+le||""},ce.prototype.attValue=function(le){return this.options.noValidation?le:this.assertLegalChar(this.attEscape(le=""+le||""))},ce.prototype.insTarget=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.insValue=function(le){if(this.options.noValidation)return le;if(le=""+le||"",le.match(/\?>/))throw new Error("Invalid processing instruction value: "+le);return this.assertLegalChar(le)},ce.prototype.xmlVersion=function(le){if(this.options.noValidation)return le;if(le=""+le||"",!le.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+le);return le},ce.prototype.xmlEncoding=function(le){if(this.options.noValidation)return le;if(le=""+le||"",!le.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+le);return this.assertLegalChar(le)},ce.prototype.xmlStandalone=function(le){return this.options.noValidation?le:le?"yes":"no"},ce.prototype.dtdPubID=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.dtdSysID=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.dtdElementValue=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.dtdAttType=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.dtdAttDefault=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.dtdEntityValue=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.dtdNData=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},ce.prototype.convertAttKey="@",ce.prototype.convertPIKey="?",ce.prototype.convertTextKey="#text",ce.prototype.convertCDataKey="#cdata",ce.prototype.convertCommentKey="#comment",ce.prototype.convertRawKey="#raw",ce.prototype.assertLegalChar=function(le){var de,ae;if(this.options.noValidation)return le;if(de="",this.options.version==="1.0"){if(de=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ae=le.match(de))throw new Error("Invalid character in string: "+le+" at index "+ae.index)}else if(this.options.version==="1.1"&&(de=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ae=le.match(de)))throw new Error("Invalid character in string: "+le+" at index "+ae.index);return le},ce.prototype.assertLegalName=function(le){var de;if(this.options.noValidation)return le;if(this.assertLegalChar(le),de=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!le.match(de))throw new Error("Invalid character in name");return le},ce.prototype.textEscape=function(le){var de;return this.options.noValidation?le:(de=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,le.replace(de,"&").replace(//g,">").replace(/\r/g," "))},ce.prototype.attEscape=function(le){var de;return this.options.noValidation?le:(de=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,le.replace(de,"&").replace(/0)?new Array(Se).join(he.indent):""},ve.prototype.endline=function(ge,he,pe){return!he.pretty||he.suppressPrettyCount?"":he.newline},ve.prototype.attribute=function(ge,he,pe){var Se;return this.openAttribute(ge,he,pe),Se=" "+ge.name+'="'+ge.value+'"',this.closeAttribute(ge,he,pe),Se},ve.prototype.cdata=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+""+this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.comment=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+""+this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.declaration=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+"",Se+=this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.docType=function(ge,he,pe){var Se,Pe,je,we,Oe;if(pe||(pe=0),this.openNode(ge,he,pe),he.state=te.OpenTag,we=this.indent(ge,he,pe),we+="0){for(we+=" [",we+=this.endline(ge,he,pe),he.state=te.InsideTag,Oe=ge.children,Pe=0,je=Oe.length;Pe",we+=this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),we},ve.prototype.element=function(ge,he,pe){var Se,Pe,je,we,Oe,Ae,Fe,ke,He,Me,ut,rt,et,Xe;pe||(pe=0),Me=!1,ut="",this.openNode(ge,he,pe),he.state=te.OpenTag,ut+=this.indent(ge,he,pe)+"<"+ge.name,rt=ge.attribs;for(He in rt)fe.call(rt,He)&&(Se=rt[He],ut+=this.attribute(Se,he,pe));if(je=ge.children.length,we=je===0?null:ge.children[0],je===0||ge.children.every(function(_e){return(_e.type===oe.Text||_e.type===oe.Raw)&&_e.value===""}))he.allowEmpty?(ut+=">",he.state=te.CloseTag,ut+=""+this.endline(ge,he,pe)):(he.state=te.CloseTag,ut+=he.spaceBeforeSlash+"/>"+this.endline(ge,he,pe));else if(he.pretty&&je===1&&(we.type===oe.Text||we.type===oe.Raw)&&we.value!=null)ut+=">",he.state=te.InsideTag,he.suppressPrettyCount++,Me=!0,ut+=this.writeChildNode(we,he,pe+1),he.suppressPrettyCount--,Me=!1,he.state=te.CloseTag,ut+=""+this.endline(ge,he,pe);else{if(he.dontPrettyTextNodes){for(et=ge.children,Oe=0,Fe=et.length;Oe"+this.endline(ge,he,pe),he.state=te.InsideTag,Xe=ge.children,Ae=0,ke=Xe.length;Ae",Me&&he.suppressPrettyCount--,ut+=this.endline(ge,he,pe),he.state=te.None}return this.closeNode(ge,he,pe),ut},ve.prototype.writeChildNode=function(ge,he,pe){switch(ge.type){case oe.CData:return this.cdata(ge,he,pe);case oe.Comment:return this.comment(ge,he,pe);case oe.Element:return this.element(ge,he,pe);case oe.Raw:return this.raw(ge,he,pe);case oe.Text:return this.text(ge,he,pe);case oe.ProcessingInstruction:return this.processingInstruction(ge,he,pe);case oe.Dummy:return"";case oe.Declaration:return this.declaration(ge,he,pe);case oe.DocType:return this.docType(ge,he,pe);case oe.AttributeDeclaration:return this.dtdAttList(ge,he,pe);case oe.ElementDeclaration:return this.dtdElement(ge,he,pe);case oe.EntityDeclaration:return this.dtdEntity(ge,he,pe);case oe.NotationDeclaration:return this.dtdNotation(ge,he,pe);default:throw new Error("Unknown XML node type: "+ge.constructor.name)}},ve.prototype.processingInstruction=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+"",Se+=this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.raw=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe),he.state=te.InsideTag,Se+=ge.value,he.state=te.CloseTag,Se+=this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.text=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe),he.state=te.InsideTag,Se+=ge.value,he.state=te.CloseTag,Se+=this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.dtdAttList=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+""+this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.dtdElement=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+""+this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.dtdEntity=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+""+this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.dtdNotation=function(ge,he,pe){var Se;return this.openNode(ge,he,pe),he.state=te.OpenTag,Se=this.indent(ge,he,pe)+""+this.endline(ge,he,pe),he.state=te.None,this.closeNode(ge,he,pe),Se},ve.prototype.openNode=function(ge,he,pe){},ve.prototype.closeNode=function(ge,he,pe){},ve.prototype.openAttribute=function(ge,he,pe){},ve.prototype.closeAttribute=function(ge,he,pe){},ve}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(E,ye,me){(function(){var oe,te,ue,ce,le,de,ae,ie,ne,a;a=E("./Utility"),ie=a.assign,ne=a.isFunction,ue=E("./XMLDOMImplementation"),ce=E("./XMLDocument"),le=E("./XMLDocumentCB"),ae=E("./XMLStringWriter"),de=E("./XMLStreamWriter"),oe=E("./NodeType"),te=E("./WriterState"),ye.exports.create=function(y,x,b,z){var ee,re;if(y==null)throw new Error("Root element needs a name.");return z=ie({},x,b,z),ee=new ce(z),re=ee.element(y),z.headless||(ee.declaration(z),(z.pubID!=null||z.sysID!=null)&&ee.dtd(z)),re},ye.exports.begin=function(y,x,b){var z;return ne(y)&&(z=[y,x],x=z[0],b=z[1],y={}),x?new le(y,x,b):new ce(y)},ye.exports.stringWriter=function(y){return new ae(y)},ye.exports.streamWriter=function(y,x){return new de(y,x)},ye.exports.implementation=new ue,ye.exports.nodeType=oe,ye.exports.writerState=te}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,ye,me){ye.exports=te;var oe=Object.prototype.hasOwnProperty;function te(){for(var ue={},ce=0;cele?y=a(y):y.length>5]|=128<>>9<<4)+14]=x;for(var b=1732584193,z=-271733879,ee=-1732584194,re=271733878,se=0;se>16)+(x>>16)+(b>>16);return z<<16|b&65535}function a(y,x){return y<>>32-x}ye.exports=function(x){return oe.hash(x,ue,16)}},{"./helpers":462}],464:[function(E,ye,me){"use strict";var oe=E("./helpers");function te(ae,ie){ae[ie>>5]|=128<<24-ie%32,ae[(ie+64>>9<<4)+15]=ie;for(var ne=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,z=-1009589776,ee=0;ee>16)+(ie>>16)+(ne>>16);return a<<16|ne&65535}function de(ae,ie){return ae<>>32-ie}ye.exports=function(ie){return oe.hash(ie,te,20,!0)}},{"./helpers":462}],465:[function(E,ye,me){"use strict";ye.exports=function(){return function(){}}},{}],466:[function(E,ye,me){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),ue=te(E("@babel/runtime/helpers/typeof")),ce=E("stream"),le=ce.Stream,de=E("../lib/common/utils/isArray"),ae=de.isArray;ye.exports.string=function(a){return typeof a=="string"},ye.exports.array=ae,ye.exports.buffer=oe.isBuffer;function ie(ne){return ne instanceof le}ye.exports.writableStream=function(a){return ie(a)&&typeof a._write=="function"&&(0,ue.default)(a._writableState)==="object"}}).call(this)}).call(this,{isBuffer:E("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(E,ye,me){"use strict";var oe=E("immediate"),te=ye.exports={};te.nextTick=oe,te.title="browser",te.browser=!0,te.env={},te.argv=[],te.version="",te.versions={};function ue(){}te.on=ue,te.addListener=ue,te.once=ue,te.off=ue,te.removeListener=ue,te.removeAllListeners=ue,te.emit=ue,te.prependListener=ue,te.prependOnceListener=ue,te.listeners=function(ce){return[]},te.binding=function(ce){throw new Error("process.binding is not supported")},te.cwd=function(){return"/"},te.chdir=function(ce){throw new Error("process.chdir is not supported")},te.umask=function(){return 0}},{immediate:358}],468:[function(E,ye,me){(function(oe){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var te=E("./lib/request"),ue=E("./lib/response"),ce=E("xtend"),le=E("builtin-status-codes"),de=E("url"),ae=me;ae.request=function(ie,ne){typeof ie=="string"?ie=de.parse(ie):ie=ce(ie);var a=oe.location.protocol.search(/^https?:$/)===-1?"http:":"",y=ie.protocol||a,x=ie.hostname||ie.host,b=ie.port,z=ie.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),ie.url=(x?y+"//"+x:"")+(b?":"+b:"")+z,ie.method=(ie.method||"GET").toUpperCase(),ie.headers=ie.headers||{};var ee=new te(ie);return ne&&ee.on("response",ne),ee},ae.get=function(ne,a){var y=ae.request(ne,a);return y.end(),y},ae.ClientRequest=te,ae.IncomingMessage=ue.IncomingMessage,ae.Agent=function(){},ae.Agent.defaultMaxSockets=4,ae.globalAgent=new ae.Agent,ae.STATUS_CODES=le,ae.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof wt!="undefined"?wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(E,ye,me){(function(oe){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array-buffer.constructor.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.array.slice.js"),me.fetch=ae(oe.fetch)&&ae(oe.ReadableStream),me.writableStream=ae(oe.WritableStream),me.abortController=ae(oe.AbortController),me.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),me.blobConstructor=!0}catch(ie){}var te;function ue(){if(te!==void 0)return te;if(oe.XMLHttpRequest){te=new oe.XMLHttpRequest;try{te.open("GET",oe.XDomainRequest?"/":"https://example.com")}catch(ie){te=null}}else te=null;return te}function ce(ie){var ne=ue();if(!ne)return!1;try{return ne.responseType=ie,ne.responseType===ie}catch(a){}return!1}var le=typeof oe.ArrayBuffer!="undefined",de=le&&ae(oe.ArrayBuffer.prototype.slice);me.arraybuffer=me.fetch||le&&ce("arraybuffer"),me.msstream=!me.fetch&&de&&ce("ms-stream"),me.mozchunkedarraybuffer=!me.fetch&&le&&ce("moz-chunked-arraybuffer"),me.overrideMimeType=me.fetch||(ue()?ae(ue().overrideMimeType):!1),me.vbArray=ae(oe.VBArray);function ae(ie){return typeof ie=="function"}te=null}).call(this)}).call(this,typeof wt!="undefined"?wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(E,ye,me){(function(oe,te,ue){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js");var ce=E("./capability"),le=E("inherits"),de=E("./response"),ae=E("readable-stream"),ie=E("to-arraybuffer"),ne=de.IncomingMessage,a=de.readyStates;function y(ee,re){return ce.fetch&&re?"fetch":ce.mozchunkedarraybuffer?"moz-chunked-arraybuffer":ce.msstream?"ms-stream":ce.arraybuffer&&ee?"arraybuffer":ce.vbArray&&ee?"text:vbarray":"text"}var x=ye.exports=function(ee){var re=this;ae.Writable.call(re),re._opts=ee,re._body=[],re._headers={},ee.auth&&re.setHeader("Authorization","Basic "+new ue(ee.auth).toString("base64")),Object.keys(ee.headers).forEach(function(ve){re.setHeader(ve,ee.headers[ve])});var se,fe=!0;if(ee.mode==="disable-fetch"||"requestTimeout"in ee&&!ce.abortController)fe=!1,se=!0;else if(ee.mode==="prefer-streaming")se=!1;else if(ee.mode==="allow-wrong-content-type")se=!ce.overrideMimeType;else if(!ee.mode||ee.mode==="default"||ee.mode==="prefer-fast")se=!0;else throw new Error("Invalid value for opts.mode");re._mode=y(se,fe),re._fetchTimer=null,re.on("finish",function(){re._onFinish()})};le(x,ae.Writable),x.prototype.setHeader=function(ee,re){var se=this,fe=ee.toLowerCase();z.indexOf(fe)===-1&&(se._headers[fe]={name:ee,value:re})},x.prototype.getHeader=function(ee){var re=this._headers[ee.toLowerCase()];return re?re.value:null},x.prototype.removeHeader=function(ee){var re=this;delete re._headers[ee.toLowerCase()]},x.prototype._onFinish=function(){var ee=this;if(!ee._destroyed){var re=ee._opts,se=ee._headers,fe=null;re.method!=="GET"&&re.method!=="HEAD"&&(ce.arraybuffer?fe=ie(ue.concat(ee._body)):ce.blobConstructor?fe=new te.Blob(ee._body.map(function(Pe){return ie(Pe)}),{type:(se["content-type"]||{}).value||""}):fe=ue.concat(ee._body).toString());var ve=[];if(Object.keys(se).forEach(function(Pe){var je=se[Pe].name,we=se[Pe].value;Array.isArray(we)?we.forEach(function(Oe){ve.push([je,Oe])}):ve.push([je,we])}),ee._mode==="fetch"){var ge=null,he=null;if(ce.abortController){var pe=new AbortController;ge=pe.signal,ee._fetchAbortController=pe,"requestTimeout"in re&&re.requestTimeout!==0&&(ee._fetchTimer=te.setTimeout(function(){ee.emit("requestTimeout"),ee._fetchAbortController&&ee._fetchAbortController.abort()},re.requestTimeout))}te.fetch(ee._opts.url,{method:ee._opts.method,headers:ve,body:fe||void 0,mode:"cors",credentials:re.withCredentials?"include":"same-origin",signal:ge}).then(function(Pe){ee._fetchResponse=Pe,ee._connect()},function(Pe){te.clearTimeout(ee._fetchTimer),ee._destroyed||ee.emit("error",Pe)})}else{var Se=ee._xhr=new te.XMLHttpRequest;try{Se.open(ee._opts.method,ee._opts.url,!0)}catch(Pe){oe.nextTick(function(){ee.emit("error",Pe)});return}"responseType"in Se&&(Se.responseType=ee._mode.split(":")[0]),"withCredentials"in Se&&(Se.withCredentials=!!re.withCredentials),ee._mode==="text"&&"overrideMimeType"in Se&&Se.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in re&&(Se.timeout=re.requestTimeout,Se.ontimeout=function(){ee.emit("requestTimeout")}),ve.forEach(function(Pe){Se.setRequestHeader(Pe[0],Pe[1])}),ee._response=null,Se.onreadystatechange=function(){switch(Se.readyState){case a.LOADING:case a.DONE:ee._onXHRProgress();break}},ee._mode==="moz-chunked-arraybuffer"&&(Se.onprogress=function(){ee._onXHRProgress()}),Se.onerror=function(){ee._destroyed||ee.emit("error",new Error("XHR error"))};try{Se.send(fe)}catch(Pe){oe.nextTick(function(){ee.emit("error",Pe)});return}}}};function b(ee){try{var re=ee.status;return re!==null&&re!==0}catch(se){return!1}}x.prototype._onXHRProgress=function(){var ee=this;!b(ee._xhr)||ee._destroyed||(ee._response||ee._connect(),ee._response._onXHRProgress())},x.prototype._connect=function(){var ee=this;ee._destroyed||(ee._response=new ne(ee._xhr,ee._fetchResponse,ee._mode,ee._fetchTimer),ee._response.on("error",function(re){ee.emit("error",re)}),ee.emit("response",ee._response))},x.prototype._write=function(ee,re,se){var fe=this;fe._body.push(ee),se()},x.prototype.abort=x.prototype.destroy=function(){var ee=this;ee._destroyed=!0,te.clearTimeout(ee._fetchTimer),ee._response&&(ee._response._destroyed=!0),ee._xhr?ee._xhr.abort():ee._fetchAbortController&&ee._fetchAbortController.abort()},x.prototype.end=function(ee,re,se){var fe=this;typeof ee=="function"&&(se=ee,ee=void 0),ae.Writable.prototype.end.call(fe,ee,re,se)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var z=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,E("_process"),typeof wt!="undefined"?wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(E,ye,me){(function(oe,te,ue){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js"),E("core-js/modules/es.array.slice.js");var ce=E("./capability"),le=E("inherits"),de=E("readable-stream"),ae=me.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ie=me.IncomingMessage=function(ne,a,y,x){var b=this;if(de.Readable.call(b),b._mode=y,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){oe.nextTick(function(){b.emit("close")})}),y==="fetch"){var z=function ge(){re.read().then(function(he){if(!b._destroyed){if(he.done){te.clearTimeout(x),b.push(null);return}b.push(new ue(he.value)),ge()}}).catch(function(he){te.clearTimeout(x),b._destroyed||b.emit("error",he)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(ge,he){b.headers[he.toLowerCase()]=ge,b.rawHeaders.push(he,ge)}),ce.writableStream){var ee=new WritableStream({write:function(he){return new Promise(function(pe,Se){b._destroyed?Se():b.push(new ue(he))?pe():b._resumeFetch=pe})},close:function(){te.clearTimeout(x),b._destroyed||b.push(null)},abort:function(he){b._destroyed||b.emit("error",he)}});try{a.body.pipeTo(ee).catch(function(ge){te.clearTimeout(x),b._destroyed||b.emit("error",ge)});return}catch(ge){}}var re=a.body.getReader();z()}else{b._xhr=ne,b._pos=0,b.url=ne.responseURL,b.statusCode=ne.status,b.statusMessage=ne.statusText;var se=ne.getAllResponseHeaders().split(/\r?\n/);if(se.forEach(function(ge){var he=ge.match(/^([^:]+):\s*(.*)/);if(he){var pe=he[1].toLowerCase();pe==="set-cookie"?(b.headers[pe]===void 0&&(b.headers[pe]=[]),b.headers[pe].push(he[2])):b.headers[pe]!==void 0?b.headers[pe]+=", "+he[2]:b.headers[pe]=he[2],b.rawHeaders.push(he[1],he[2])}}),b._charset="x-user-defined",!ce.overrideMimeType){var fe=b.rawHeaders["mime-type"];if(fe){var ve=fe.match(/;\s*charset=([^;])(;|$)/);ve&&(b._charset=ve[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};le(ie,de.Readable),ie.prototype._read=function(){var ne=this,a=ne._resumeFetch;a&&(ne._resumeFetch=null,a())},ie.prototype._onXHRProgress=function(){var ne=this,a=ne._xhr,y=null;switch(ne._mode){case"text:vbarray":if(a.readyState!==ae.DONE)break;try{y=new te.VBArray(a.responseBody).toArray()}catch(re){}if(y!==null){ne.push(new ue(y));break}case"text":try{y=a.responseText}catch(re){ne._mode="text:vbarray";break}if(y.length>ne._pos){var x=y.substr(ne._pos);if(ne._charset==="x-user-defined"){for(var b=new ue(x.length),z=0;zne._pos&&(ne.push(new ue(new Uint8Array(ee.result.slice(ne._pos)))),ne._pos=ee.result.byteLength)},ee.onload=function(){ne.push(null)},ee.readAsArrayBuffer(y);break}ne._xhr.readyState===ae.DONE&&ne._mode!=="ms-stream"&&ne.push(null)}}).call(this)}).call(this,E("_process"),typeof wt!="undefined"?wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.splice.js");var ue=E("punycode"),ce=E("./util");me.parse=he,me.resolve=Se,me.resolveObject=Pe,me.format=pe,me.Url=le;function le(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var de=/^([a-z0-9.+-]+:)/i,ae=/:[0-9]*$/,ie=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ne=["<",">",'"',"`"," ","\r",` `," "],a=["{","}","|","\\","^","`"].concat(ne),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],z=255,ee=/^[+a-z0-9A-Z_-]{0,63}$/,re=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,se={javascript:!0,"javascript:":!0},fe={javascript:!0,"javascript:":!0},ve={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},ge=E("querystring");function he(je,we,Oe){if(je&&ce.isObject(je)&&je instanceof le)return je;var Ae=new le;return Ae.parse(je,we,Oe),Ae}le.prototype.parse=function(je,we,Oe){if(!ce.isString(je))throw new TypeError("Parameter 'url' must be a string, not "+(0,te.default)(je));var Ae=je.indexOf("?"),Fe=Ae!==-1&&Ae127?ze+="x":ze+=Le[Ee];if(!ze.match(ee)){var qe=Ke.slice(0,$e),Ye=Ke.slice($e+1),We=Le.match(re);We&&(qe.push(We[1]),Ye.unshift(We[2])),Ye.length&&(Me="/"+Ye.join(".")+Me),this.hostname=qe.join(".");break}}}this.hostname.length>z?this.hostname="":this.hostname=this.hostname.toLowerCase(),ft||(this.hostname=ue.toASCII(this.hostname));var Te=this.port?":"+this.port:"",xe=this.hostname||"";this.host=xe+Te,this.href+=this.host,ft&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Me[0]!=="/"&&(Me="/"+Me))}if(!se[et])for(var $e=0,Ue=y.length;$e0?Oe.host.split("@"):!1;ze&&(Oe.auth=ze.shift(),Oe.host=Oe.hostname=ze.shift())}return Oe.search=je.search,Oe.query=je.query,(!ce.isNull(Oe.pathname)||!ce.isNull(Oe.search))&&(Oe.path=(Oe.pathname?Oe.pathname:"")+(Oe.search?Oe.search:"")),Oe.href=Oe.format(),Oe}if(!Ke.length)return Oe.pathname=null,Oe.search?Oe.path="/"+Oe.search:Oe.path=null,Oe.href=Oe.format(),Oe;for(var Ee=Ke.slice(-1)[0],Re=(Oe.host||je.host||Ke.length>1)&&(Ee==="."||Ee==="..")||Ee==="",qe=0,Ye=Ke.length;Ye>=0;Ye--)Ee=Ke[Ye],Ee==="."?Ke.splice(Ye,1):Ee===".."?(Ke.splice(Ye,1),qe++):qe&&(Ke.splice(Ye,1),qe--);if(!Je&&!ft)for(;qe--;qe)Ke.unshift("..");Je&&Ke[0]!==""&&(!Ke[0]||Ke[0].charAt(0)!=="/")&&Ke.unshift(""),Re&&Ke.join("/").substr(-1)!=="/"&&Ke.push("");var We=Ke[0]===""||Ke[0]&&Ke[0].charAt(0)==="/";if(Le){Oe.hostname=Oe.host=We?"":Ke.length?Ke.shift():"";var ze=Oe.host&&Oe.host.indexOf("@")>0?Oe.host.split("@"):!1;ze&&(Oe.auth=ze.shift(),Oe.host=Oe.hostname=ze.shift())}return Je=Je||Oe.host&&Ke.length,Je&&!We&&Ke.unshift(""),Ke.length?Oe.pathname=Ke.join("/"):(Oe.pathname=null,Oe.path=null),(!ce.isNull(Oe.pathname)||!ce.isNull(Oe.search))&&(Oe.path=(Oe.pathname?Oe.pathname:"")+(Oe.search?Oe.search:"")),Oe.auth=je.auth||Oe.auth,Oe.slashes=Oe.slashes||je.slashes,Oe.href=Oe.format(),Oe},le.prototype.parseHost=function(){var je=this.host,we=ae.exec(je);we&&(we=we[0],we!==":"&&(this.port=we.substr(1)),je=je.substr(0,je.length-we.length)),je&&(this.hostname=je)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(E,ye,me){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/helpers/typeof"));ye.exports={isString:function(ce){return typeof ce=="string"},isObject:function(ce){return(0,te.default)(ce)==="object"&&ce!==null},isNull:function(ce){return ce===null},isNullOrUndefined:function(ce){return ce==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,ye,me){"use strict";E("core-js/modules/es.number.constructor.js"),me.encodeURIComponent=function(oe){try{return encodeURIComponent(oe)}catch(te){return oe}},me.escape=E("escape-html"),me.timestamp=function(te){if(te){var ue=te;return typeof ue=="string"&&(ue=Number(ue)),String(te).length===10&&(ue*=1e3),new Date(ue)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,ye,me){(function(oe,te){(function(){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),ce=ue(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.concat.js");var le=E("util"),de=E("url"),ae=E("http"),ie=E("https"),ne=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function z(fe,ve){return fe===void 0?ve:fe}function ee(fe){return fe?fe.split(";")[0].trim().toLowerCase():""}function re(fe,ve){return function(ge,he,pe){if(ge)return ve(ge);fe({data:he,status:pe.statusCode,headers:pe.headers,res:pe})}}me.TIMEOUTS=[a("300s"),a("300s")];var se=["json","text"];me.request=function(ve,ge,he){return arguments.length===2&&typeof ge=="function"&&(he=ge,ge=null),typeof he=="function"?me.requestWithCallback(ve,ge,he):new Promise(function(pe,Se){me.requestWithCallback(ve,ge,re(pe,Se))})},me.requestWithCallback=function(ve,ge,he){if(!ve||typeof ve!="string"&&(0,ce.default)(ve)!=="object"){var pe=le.format("expect request url to be a string or a http request options, but got %j",ve);throw new Error(pe)}arguments.length===2&&typeof ge=="function"&&(he=ge,ge=null),ge=ge||{},y>=x&&(y=0);var Se=++y;ge.requestUrls=ge.requestUrls||[];var Pe={requestId:Se,url:ve,args:ge,ctx:ge.ctx};ge.emitter&&ge.emitter.emit("request",Pe),ge.timeout=ge.timeout||me.TIMEOUTS,ge.maxRedirects=ge.maxRedirects||10,ge.streaming=ge.streaming||ge.customResponse;var je=Date.now(),we;typeof ve=="string"?(b.test(ve)||(ve="https://"+ve),we=de.parse(ve)):we=ve;var Oe=(ge.type||ge.method||we.method||"GET").toUpperCase(),Ae=we.port||80,Fe=ae,ke=z(ge.agent,me.agent),He=ge.fixJSONCtlChars;we.protocol==="https:"&&(Fe=ie,ke=z(ge.httpsAgent,me.httpsAgent),we.port||(Ae=443));var Me={host:we.hostname||we.host||"localhost",path:we.path||"/",method:Oe,port:Ae,agent:ke,headers:ge.headers||{},lookup:ge.lookup};Array.isArray(ge.timeout)?Me.requestTimeout=ge.timeout[ge.timeout.length-1]:typeof ge.timeout!="undefined"&&(Me.requestTimeout=ge.timeout);var ut=ge.auth||we.auth;ut&&(Me.auth=ut);var rt=ge.content||ge.data,et=Oe==="GET"||Oe==="HEAD"||ge.dataAsQueryString;if(!ge.content&&rt&&!(typeof rt=="string"||te.isBuffer(rt)))if(et)rt=ge.nestedQuerystring?qs.stringify(rt):querystring.stringify(rt);else{var Xe=Me.headers["Content-Type"]||Me.headers["content-type"];Xe||(ge.contentType==="json"?Xe="application/json":Xe="application/x-www-form-urlencoded",Me.headers["Content-Type"]=Xe),ee(Xe)==="application/json"?rt=JSON.stringify(rt):rt=ge.nestedQuerystring?qs.stringify(rt):querystring.stringify(rt)}et&&rt&&(Me.path+=(we.query?"&":"?")+rt,rt=null);var _e=0;if(rt){var $e=rt.length;te.isBuffer(rt)||($e=te.byteLength(rt)),_e=Me.headers["Content-Length"]=$e}ge.dataType==="json"&&(Me.headers.Accept="application/json"),typeof ge.beforeRequest=="function"&&ge.beforeRequest(Me);var Be=null,nt=null,Je=null,ft=!1,Ke=!1,Ue=0,Le=-1,ze=!1,Ee="",Re="",qe=null;ge.timing&&(qe={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Ye(){Be&&(clearTimeout(Be),Be=null)}function We(){nt&&(clearTimeout(nt),nt=null)}function Te(at,Ct,ot){if(We(),!he){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Se,oe.pid,Me.method,ve),at&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s stack: %s`,Date(),Se,oe.pid,at.name,at.message,at.stack);return}var Ve=he;he=null;var yt={};ot&&(Le=ot.statusCode,yt=ot.headers);var Pt=Date.now()-je;qe&&(qe.contentDownload=Pt),ne("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Pt,Ue,Le,Me.method,Me.host,Me.path,Ke,qe);var At={status:Le,statusCode:Le,headers:yt,size:Ue,aborted:ze,rt:Pt,keepAliveSocket:Ke,data:Ct,requestUrls:ge.requestUrls,timing:qe,remoteAddress:Ee,remotePort:Re};if(at){var Gt="";ke&&typeof ke.getCurrentStatus=="function"&&(Gt=", agent status: "+JSON.stringify(ke.getCurrentStatus())),at.message+=", "+Me.method+" "+ve+" "+Le+" (connected: "+ft+", keepalive socket: "+Ke+Gt+`) headers: `+JSON.stringify(yt),at.data=Ct,at.path=Me.path,at.status=Le,at.headers=yt,at.res=At}Ve(at,Ct,ge.streaming?ot:At),ge.emitter&&(Pe.url=ve,Pe.socket=Lt&&Lt.connection,Pe.options=Me,Pe.size=_e,ge.emitter.emit("response",{requestId:Se,error:at,ctx:ge.ctx,req:Pe,res:At}))}function xe(at){var Ct=null;if(ge.followRedirect&&statuses.redirect[at.statusCode]){ge._followRedirectCount=(ge._followRedirectCount||0)+1;var ot=at.headers.location;if(!ot)Ct=new Error("Got statusCode "+at.statusCode+" but cannot resolve next location from headers"),Ct.name="FollowRedirectError";else if(ge._followRedirectCount>ge.maxRedirects)Ct=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ve),Ct.name="MaxRedirectError";else{var Ve=ge.formatRedirectUrl?ge.formatRedirectUrl(ve,ot):de.resolve(ve,ot);ne("Request#%d %s: `redirected` from %s to %s",Se,Me.path,ve,Ve),We(),ge.headers&&ge.headers.Host&&b.test(ot)&&(ge.headers.Host=null);var yt=he;return he=null,me.requestWithCallback(Ve,ge,yt),{redirect:!0,error:null}}}return{redirect:!1,error:Ct}}ge.gzip&&!Me.headers["Accept-Encoding"]&&!Me.headers["accept-encoding"]&&(Me.headers["Accept-Encoding"]="gzip");function Ne(at,Ct,ot){var Ve=at.headers["content-encoding"];return ot(null,Ct,Ve)}var Ge=ge.writeStream;ne("Request#%d %s %s with headers %j, options.path: %s",Se,Oe,ve,Me.headers,Me.path),ge.requestUrls.push(ve);function st(at){if(qe&&(qe.waiting=Date.now()-je),ne("Request#%d %s `req response` event emit: status %d, headers: %j",Se,ve,at.statusCode,at.headers),ge.streaming){var Ct=xe(at);if(Ct.redirect){at.resume();return}return Ct.error?(at.resume(),Te(Ct.error,null,at)):Te(null,null,at)}if(at.on("close",function(){ne("Request#%d %s: `res close` event emit, total size %d",Se,ve,Ue)}),at.on("error",function(){ne("Request#%d %s: `res error` event emit, total size %d",Se,ve,Ue)}),at.on("aborted",function(){ze=!0,ne("Request#%d %s: `res aborted` event emit, total size %d",Se,ve,Ue)}),Ge){var ot=xe(at);if(ot.redirect){at.resume();return}return ot.error?(at.resume(),Ge.end(),Te(ot.error,null,at)):(ge.consumeWriteStream===!1?at.on("end",Te.bind(null,null,null,at)):Ge.on("close",function(){ne("Request#%d %s: writeStream close event emitted",Se,ve),Te(Je||null,null,at)}),at.pipe(Ge))}var Ve=[];at.on("data",function(yt){ne("Request#%d %s: `res data` event emit, size %d",Se,ve,yt.length),Ue+=yt.length,Ve.push(yt)}),at.on("end",function(){var yt=te.concat(Ve,Ue);if(ne("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Se,ve,Ue,at._dumped),Je)return Te(Je,yt,at);var Pt=xe(at);if(Pt.error)return Te(Pt.error,yt,at);Pt.redirect||Ne(at,yt,function(At,Gt,on){if(At)return Te(At,yt,at);if(!on&&se.indexOf(ge.dataType)>=0){try{Gt=decodeBodyByCharset(Gt,at)}catch(Cn){return ne("decodeBodyByCharset error: %s",Cn),Te(null,Gt,at)}if(ge.dataType==="json")if(Ue===0)Gt=null;else{var un=parseJSON(Gt,He);un.error?At=un.error:Gt=un.data}}ze&&ne("Request#%d %s: Remote socket was terminated before `response.end()` was called",Se,ve),Te(At,Gt,at)})})}var bt,dt;Array.isArray(ge.timeout)?(bt=a(ge.timeout[0]),dt=a(ge.timeout[1])):bt=dt=a(ge.timeout),ne("ConnectTimeout: %d, ResponseTimeout: %d",bt,dt);function Qe(){ne("Connect timer ticking, timeout: %d",bt),Be=setTimeout(function(){Be=null,Le===-1&&(Le=-2);var at="Connect timeout for "+bt+"ms",Ct="ConnectionTimeoutError";Lt.socket||(Ct="SocketAssignTimeoutError",at+=", working sockets is full"),Je=new Error(at),Je.name=Ct,Je.requestId=Se,ne("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Se,ve,Je.name,at,ft),Mt()},bt)}function mt(){ne("Response timer ticking, timeout: %d",dt),nt=setTimeout(function(){nt=null;var at="Response timeout for "+dt+"ms",Ct="ResponseTimeoutError";Je=new Error(at),Je.name=Ct,Je.requestId=Se,ne("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Se,ve,Je.name,at,ft),Mt()},dt)}var Lt;Me.mode=ge.mode?ge.mode:"";try{Lt=Fe.request(Me,st)}catch(at){return Te(at)}typeof window=="undefined"?Qe():Lt.on("requestTimeout",function(){Le===-1&&(Le=-2);var at="Connect timeout for "+bt+"ms",Ct="ConnectionTimeoutError";Je=new Error(at),Je.name=Ct,Je.requestId=Se,Mt()});function Mt(){ne("Request#%d %s abort, connected: %s",Se,ve,ft),Lt.socket||(Je.noSocket=!0,Te(Je)),Lt.abort()}return qe&&Lt.on("finish",function(){qe.requestSent=Date.now()-je}),Lt.once("socket",function(at){qe&&(qe.queuing=Date.now()-je);var Ct=at.readyState;if(Ct==="opening"){at.once("lookup",function(ot,Ve,yt){ne("Request#%d %s lookup: %s, %s, %s",Se,ve,ot,Ve,yt),qe&&(qe.dnslookup=Date.now()-je),Ve&&(Ee=Ve)}),at.once("connect",function(){qe&&(qe.connected=Date.now()-je),Ye(),mt(),ne("Request#%d %s new socket connected",Se,ve),ft=!0,Ee||(Ee=at.remoteAddress),Re=at.remotePort});return}ne("Request#%d %s reuse socket connected, readyState: %s",Se,ve,Ct),ft=!0,Ke=!0,Ee||(Ee=at.remoteAddress),Re=at.remotePort,Ye(),mt()}),Lt.on("error",function(at){(at.name==="Error"||at.name==="TypeError")&&(at.name=ft?"ResponseError":"RequestError"),at.message+=' (req "error")',ne("Request#%d %s `req error` event emit, %s: %s",Se,ve,at.name,at.message),Te(Je||at)}),Ge&&Ge.once("error",function(at){at.message+=' (writeStream "error")',Je=at,ne("Request#%d %s `writeStream error` event emit, %s: %s",Se,ve,at.name,at.message),Mt()}),ge.stream?(ge.stream.pipe(Lt),ge.stream.once("error",function(at){at.message+=' (stream "error")',Je=at,ne("Request#%d %s `readStream error` event emit, %s: %s",Se,ve,at.name,at.message),Mt()})):Lt.end(rt),Lt.requestId=Se,Lt}}).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(jt,wt){"use strict";function be(){const Ce=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Ze=1;Ze{const me=E[ye];me!==void 0&&(Ce[ye]=me)})}return Ce}wt.Z=be},81643:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return Ce}});const Ce=Ze=>Ze?typeof Ze=="function"?Ze():Ze:null},66367:function(jt,wt,be){"use strict";be.d(wt,{F:function(){return Ce},Z:function(){return Ze}});function Ce(E){return E!=null&&E===E.window}function Ze(E,ye){var me,oe;if(typeof window=="undefined")return 0;const te=ye?"scrollTop":"scrollLeft";let ue=0;return Ce(E)?ue=E[ye?"pageYOffset":"pageXOffset"]:E instanceof Document?ue=E.documentElement[te]:(E instanceof HTMLElement||E)&&(ue=E[te]),E&&!Ce(E)&&typeof ue!="number"&&(ue=(oe=((me=E.ownerDocument)!==null&&me!==void 0?me:E).documentElement)===null||oe===void 0?void 0:oe[te]),ue}},57838:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return Ze}});var Ce=be(67294);function Ze(){const[,E]=Ce.useReducer(ye=>ye+1,0);return E}},58375:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return ye}});var Ce=be(96523);function Ze(me,oe,te,ue){const ce=te-oe;return me/=ue/2,me<1?ce/2*me*me*me+oe:ce/2*((me-=2)*me*me+2)+oe}var E=be(66367);function ye(me){let oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:te=()=>window,callback:ue,duration:ce=450}=oe,le=te(),de=(0,E.Z)(le,!0),ae=Date.now(),ie=()=>{const a=Date.now()-ae,y=Ze(a>ce?ce:a,de,me,ce);(0,E.F)(le)?le.scrollTo(window.pageXOffset,y):le instanceof Document||le.constructor.name==="HTMLDocument"?le.documentElement.scrollTop=y:le.scrollTop=y,a{var pe;const{prefixCls:Se,className:Pe,rootClassName:je,children:we,indeterminate:Oe=!1,style:Ae,onMouseEnter:Fe,onMouseLeave:ke,skipGroup:He=!1,disabled:Me}=ge,ut=ie(ge,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:rt,direction:et,checkbox:Xe}=ye.useContext(me.E_),_e=ye.useContext(ce),{isFormItemInput:$e}=ye.useContext(te.aM),Be=ye.useContext(oe.Z),nt=(pe=(_e==null?void 0:_e.disabled)||Me)!==null&&pe!==void 0?pe:Be,Je=ye.useRef(ut.value);ye.useEffect(()=>{_e==null||_e.registerValue(ut.value)},[]),ye.useEffect(()=>{if(!He)return ut.value!==Je.current&&(_e==null||_e.cancelValue(Je.current),_e==null||_e.registerValue(ut.value),Je.current=ut.value),()=>_e==null?void 0:_e.cancelValue(ut.value)},[ut.value]);const ft=rt("checkbox",Se),[Ke,Ue]=(0,le.ZP)(ft),Le=Object.assign({},ut);_e&&!He&&(Le.onChange=function(){ut.onChange&&ut.onChange.apply(ut,arguments),_e.toggleOption&&_e.toggleOption({label:we,value:ut.value})},Le.name=_e.name,Le.checked=_e.value.includes(ut.value));const ze=Ze()(`${ft}-wrapper`,{[`${ft}-rtl`]:et==="rtl",[`${ft}-wrapper-checked`]:Le.checked,[`${ft}-wrapper-disabled`]:nt,[`${ft}-wrapper-in-form-item`]:$e},Xe==null?void 0:Xe.className,Pe,je,Ue),Ee=Ze()({[`${ft}-indeterminate`]:Oe},ae.A,Ue),Re=Oe?"mixed":void 0;return Ke(ye.createElement(de.Z,{component:"Checkbox",disabled:nt},ye.createElement("label",{className:ze,style:Object.assign(Object.assign({},Xe==null?void 0:Xe.style),Ae),onMouseEnter:Fe,onMouseLeave:ke},ye.createElement(E.Z,Object.assign({"aria-checked":Re},Le,{prefixCls:ft,className:Ee,disabled:nt,ref:he})),we!==void 0&&ye.createElement("span",null,we))))};var y=ye.forwardRef(ne),x=be(74902),b=be(10366),z=function(ge,he){var pe={};for(var Se in ge)Object.prototype.hasOwnProperty.call(ge,Se)&&he.indexOf(Se)<0&&(pe[Se]=ge[Se]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Se=Object.getOwnPropertySymbols(ge);Pe{const{defaultValue:pe,children:Se,options:Pe=[],prefixCls:je,className:we,rootClassName:Oe,style:Ae,onChange:Fe}=ge,ke=z(ge,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:He,direction:Me}=ye.useContext(me.E_),[ut,rt]=ye.useState(ke.value||pe||[]),[et,Xe]=ye.useState([]);ye.useEffect(()=>{"value"in ke&&rt(ke.value||[])},[ke.value]);const _e=ye.useMemo(()=>Pe.map(qe=>typeof qe=="string"||typeof qe=="number"?{label:qe,value:qe}:qe),[Pe]),$e=qe=>{Xe(Ye=>Ye.filter(We=>We!==qe))},Be=qe=>{Xe(Ye=>[].concat((0,x.Z)(Ye),[qe]))},nt=qe=>{const Ye=ut.indexOf(qe.value),We=(0,x.Z)(ut);Ye===-1?We.push(qe.value):We.splice(Ye,1),"value"in ke||rt(We),Fe==null||Fe(We.filter(Te=>et.includes(Te)).sort((Te,xe)=>{const Ne=_e.findIndex(st=>st.value===Te),Ge=_e.findIndex(st=>st.value===xe);return Ne-Ge}))},Je=He("checkbox",je),ft=`${Je}-group`,[Ke,Ue]=(0,le.ZP)(Je),Le=(0,b.Z)(ke,["value","disabled"]),ze=Pe.length?_e.map(qe=>ye.createElement(y,{prefixCls:Je,key:qe.value.toString(),disabled:"disabled"in qe?qe.disabled:ke.disabled,value:qe.value,checked:ut.includes(qe.value),onChange:qe.onChange,className:`${ft}-item`,style:qe.style,title:qe.title},qe.label)):Se,Ee={toggleOption:nt,value:ut,disabled:ke.disabled,name:ke.name,registerValue:Be,cancelValue:$e},Re=Ze()(ft,{[`${ft}-rtl`]:Me==="rtl"},we,Oe,Ue);return Ke(ye.createElement("div",Object.assign({className:Re,style:Ae},Le,{ref:he}),ye.createElement(ce.Provider,{value:Ee},ze)))},re=ye.forwardRef(ee);var se=ye.memo(re);const fe=y;fe.Group=se,fe.__ANT_CHECKBOX=!0;var ve=fe},63185:function(jt,wt,be){"use strict";be.d(wt,{C2:function(){return me}});var Ce=be(14747),Ze=be(45503),E=be(67968);const ye=oe=>{const{checkboxCls:te}=oe,ue=`${te}-wrapper`;return[{[`${te}-group`]:Object.assign(Object.assign({},(0,Ce.Wf)(oe)),{display:"inline-flex",flexWrap:"wrap",columnGap:oe.marginXS,[`> ${oe.antCls}-row`]:{flex:1}}),[ue]:Object.assign(Object.assign({},(0,Ce.Wf)(oe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ue}`]:{marginInlineStart:0},[`&${ue}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[te]:Object.assign(Object.assign({},(0,Ce.Wf)(oe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:oe.borderRadiusSM,alignSelf:"center",[`${te}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${te}-inner`]:Object.assign({},(0,Ce.oN)(oe))},[`${te}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:oe.checkboxSize,height:oe.checkboxSize,direction:"ltr",backgroundColor:oe.colorBgContainer,border:`${oe.lineWidth}px ${oe.lineType} ${oe.colorBorder}`,borderRadius:oe.borderRadiusSM,borderCollapse:"separate",transition:`all ${oe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:oe.checkboxSize/14*5,height:oe.checkboxSize/14*8,border:`${oe.lineWidthBold}px solid ${oe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${oe.motionDurationFast} ${oe.motionEaseInBack}, opacity ${oe.motionDurationFast}`}},"& + span":{paddingInlineStart:oe.paddingXS,paddingInlineEnd:oe.paddingXS}})},{[` ${ue}:not(${ue}-disabled), ${te}:not(${te}-disabled) `]:{[`&:hover ${te}-inner`]:{borderColor:oe.colorPrimary}},[`${ue}:not(${ue}-disabled)`]:{[`&:hover ${te}-checked:not(${te}-disabled) ${te}-inner`]:{backgroundColor:oe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${te}-checked:not(${te}-disabled):after`]:{borderColor:oe.colorPrimaryHover}}},{[`${te}-checked`]:{[`${te}-inner`]:{backgroundColor:oe.colorPrimary,borderColor:oe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${oe.motionDurationMid} ${oe.motionEaseOutBack} ${oe.motionDurationFast}`}}},[` ${ue}-checked:not(${ue}-disabled), ${te}-checked:not(${te}-disabled) `]:{[`&:hover ${te}-inner`]:{backgroundColor:oe.colorPrimaryHover,borderColor:"transparent"}}},{[te]:{"&-indeterminate":{[`${te}-inner`]:{backgroundColor:oe.colorBgContainer,borderColor:oe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:oe.fontSizeLG/2,height:oe.fontSizeLG/2,backgroundColor:oe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ue}-disabled`]:{cursor:"not-allowed"},[`${te}-disabled`]:{[`&, ${te}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${te}-inner`]:{background:oe.colorBgContainerDisabled,borderColor:oe.colorBorder,"&:after":{borderColor:oe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:oe.colorTextDisabled},[`&${te}-indeterminate ${te}-inner::after`]:{background:oe.colorTextDisabled}}}]};function me(oe,te){const ue=(0,Ze.TS)(te,{checkboxCls:`.${oe}`,checkboxSize:te.controlInteractiveSize});return[ye(ue)]}wt.ZP=(0,E.Z)("Checkbox",(oe,te)=>{let{prefixCls:ue}=te;return[me(ue,oe)]})},47221:function(jt,wt,be){"use strict";be.d(wt,{default:function(){return Le}});var Ce=be(91034),Ze=be(94184),E=be.n(Ze),ye=be(97685),me=be(74902),oe=be(71002),te=be(21770),ue=be(80334),ce=be(67294),le=be(87462),de=be(45987),ae=be(50344),ie=be(4942),ne=be(62874),a=be(15105),y=ce.forwardRef(function(ze,Ee){var Re,qe=ze.prefixCls,Ye=ze.forceRender,We=ze.className,Te=ze.style,xe=ze.children,Ne=ze.isActive,Ge=ze.role,st=ce.useState(Ne||Ye),bt=(0,ye.Z)(st,2),dt=bt[0],Qe=bt[1];return ce.useEffect(function(){(Ye||Ne)&&Qe(!0)},[Ye,Ne]),dt?ce.createElement("div",{ref:Ee,className:E()("".concat(qe,"-content"),(Re={},(0,ie.Z)(Re,"".concat(qe,"-content-active"),Ne),(0,ie.Z)(Re,"".concat(qe,"-content-inactive"),!Ne),Re),We),style:Te,role:Ge},ce.createElement("div",{className:"".concat(qe,"-content-box")},xe)):null});y.displayName="PanelContent";var x=y,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=ce.forwardRef(function(ze,Ee){var Re,qe,Ye=ze.showArrow,We=Ye===void 0?!0:Ye,Te=ze.headerClass,xe=ze.isActive,Ne=ze.onItemClick,Ge=ze.forceRender,st=ze.className,bt=ze.prefixCls,dt=ze.collapsible,Qe=ze.accordion,mt=ze.panelKey,Lt=ze.extra,Mt=ze.header,at=ze.expandIcon,Ct=ze.openMotion,ot=ze.destroyInactivePanel,Ve=ze.children,yt=(0,de.Z)(ze,b),Pt=dt==="disabled",At=dt==="header",Gt=dt==="icon",on=Lt!=null&&typeof Lt!="boolean",un=function(){Ne==null||Ne(mt)},Cn=function(aa){(aa.key==="Enter"||aa.keyCode===a.Z.ENTER||aa.which===a.Z.ENTER)&&un()},Dn=typeof at=="function"?at(ze):ce.createElement("i",{className:"arrow"});Dn&&(Dn=ce.createElement("div",{className:"".concat(bt,"-expand-icon"),onClick:["header","icon"].includes(dt)?un:void 0},Dn));var Ln=E()((Re={},(0,ie.Z)(Re,"".concat(bt,"-item"),!0),(0,ie.Z)(Re,"".concat(bt,"-item-active"),xe),(0,ie.Z)(Re,"".concat(bt,"-item-disabled"),Pt),Re),st),Yn=E()(Te,(qe={},(0,ie.Z)(qe,"".concat(bt,"-header"),!0),(0,ie.Z)(qe,"".concat(bt,"-header-collapsible-only"),At),(0,ie.Z)(qe,"".concat(bt,"-icon-collapsible-only"),Gt),qe)),br={className:Yn,"aria-expanded":xe,"aria-disabled":Pt,onKeyDown:Cn};return!At&&!Gt&&(br.onClick=un,br.role=Qe?"tab":"button",br.tabIndex=Pt?-1:0),ce.createElement("div",(0,le.Z)({},yt,{ref:Ee,className:Ln}),ce.createElement("div",br,We&&Dn,ce.createElement("span",{className:"".concat(bt,"-header-text"),onClick:dt==="header"?un:void 0},Mt),on&&ce.createElement("div",{className:"".concat(bt,"-extra")},Lt)),ce.createElement(ne.Z,(0,le.Z)({visible:xe,leavedClassName:"".concat(bt,"-content-hidden")},Ct,{forceRender:Ge,removeOnLeave:ot}),function(Wr,aa){var ta=Wr.className,Gr=Wr.style;return ce.createElement(x,{ref:aa,prefixCls:bt,className:ta,style:Gr,isActive:xe,forceRender:Ge,role:Qe?"tabpanel":void 0},Ve)}))}),ee=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],se=function(Ee,Re){var qe=Re.prefixCls,Ye=Re.accordion,We=Re.collapsible,Te=Re.destroyInactivePanel,xe=Re.onItemClick,Ne=Re.activeKey,Ge=Re.openMotion,st=Re.expandIcon;return Ee.map(function(bt,dt){var Qe=bt.children,mt=bt.label,Lt=bt.key,Mt=bt.collapsible,at=bt.onItemClick,Ct=bt.destroyInactivePanel,ot=(0,de.Z)(bt,re),Ve=String(Lt!=null?Lt:dt),yt=Mt!=null?Mt:We,Pt=Ct!=null?Ct:Te,At=function(un){yt!=="disabled"&&(xe(un),at==null||at(un))},Gt=!1;return Ye?Gt=Ne[0]===Ve:Gt=Ne.indexOf(Ve)>-1,ce.createElement(ee,(0,le.Z)({},ot,{prefixCls:qe,key:Ve,panelKey:Ve,isActive:Gt,accordion:Ye,openMotion:Ge,expandIcon:st,header:mt,collapsible:yt,onItemClick:At,destroyInactivePanel:Pt}),Qe)})},fe=function(Ee,Re,qe){if(!Ee)return null;var Ye=qe.prefixCls,We=qe.accordion,Te=qe.collapsible,xe=qe.destroyInactivePanel,Ne=qe.onItemClick,Ge=qe.activeKey,st=qe.openMotion,bt=qe.expandIcon,dt=Ee.key||String(Re),Qe=Ee.props,mt=Qe.header,Lt=Qe.headerClass,Mt=Qe.destroyInactivePanel,at=Qe.collapsible,Ct=Qe.onItemClick,ot=!1;We?ot=Ge[0]===dt:ot=Ge.indexOf(dt)>-1;var Ve=at!=null?at:Te,yt=function(Gt){Ve!=="disabled"&&(Ne(Gt),Ct==null||Ct(Gt))},Pt={key:dt,panelKey:dt,header:mt,headerClass:Lt,isActive:ot,prefixCls:Ye,destroyInactivePanel:Mt!=null?Mt:xe,openMotion:st,accordion:We,children:Ee.props.children,onItemClick:yt,expandIcon:bt,collapsible:Ve};return typeof Ee.type=="string"?Ee:(Object.keys(Pt).forEach(function(At){typeof Pt[At]=="undefined"&&delete Pt[At]}),ce.cloneElement(Ee,Pt))};function ve(ze,Ee,Re){return Array.isArray(ze)?se(ze,Re):(0,ae.Z)(Ee).map(function(qe,Ye){return fe(qe,Ye,Re)})}var ge=ve;function he(ze){var Ee=ze;if(!Array.isArray(Ee)){var Re=(0,oe.Z)(Ee);Ee=Re==="number"||Re==="string"?[Ee]:[]}return Ee.map(function(qe){return String(qe)})}var pe=ce.forwardRef(function(ze,Ee){var Re=ze.prefixCls,qe=Re===void 0?"rc-collapse":Re,Ye=ze.destroyInactivePanel,We=Ye===void 0?!1:Ye,Te=ze.style,xe=ze.accordion,Ne=ze.className,Ge=ze.children,st=ze.collapsible,bt=ze.openMotion,dt=ze.expandIcon,Qe=ze.activeKey,mt=ze.defaultActiveKey,Lt=ze.onChange,Mt=ze.items,at=E()(qe,Ne),Ct=(0,te.Z)([],{value:Qe,onChange:function(on){return Lt==null?void 0:Lt(on)},defaultValue:mt,postState:he}),ot=(0,ye.Z)(Ct,2),Ve=ot[0],yt=ot[1],Pt=function(on){return yt(function(){if(xe)return Ve[0]===on?[]:[on];var un=Ve.indexOf(on),Cn=un>-1;return Cn?Ve.filter(function(Dn){return Dn!==on}):[].concat((0,me.Z)(Ve),[on])})};(0,ue.ZP)(!Ge,"`children` will be removed in next major version. Please use `items` instead.");var At=ge(Mt,Ge,{prefixCls:qe,accordion:xe,openMotion:bt,expandIcon:dt,collapsible:st,destroyInactivePanel:We,onItemClick:Pt,activeKey:Ve});return ce.createElement("div",{ref:Ee,className:at,style:Te,role:xe?"tablist":void 0},At)}),Se=Object.assign(pe,{Panel:ee}),Pe=Se,je=Se.Panel,we=be(37419),Oe=be(10366),Ae=be(33603),Fe=be(96159),ke=be(53124),He=be(98675),ut=ce.forwardRef((ze,Ee)=>{const{getPrefixCls:Re}=ce.useContext(ke.E_),{prefixCls:qe,className:Ye,showArrow:We=!0}=ze,Te=Re("collapse",qe),xe=E()({[`${Te}-no-arrow`]:!We},Ye);return ce.createElement(Pe.Panel,Object.assign({ref:Ee},ze,{prefixCls:Te,className:xe}))}),rt=be(14747),et=be(33507),Xe=be(67968),_e=be(45503);const $e=ze=>{const{componentCls:Ee,contentBg:Re,padding:qe,headerBg:Ye,headerPadding:We,collapseHeaderPaddingSM:Te,collapseHeaderPaddingLG:xe,collapsePanelBorderRadius:Ne,lineWidth:Ge,lineType:st,colorBorder:bt,colorText:dt,colorTextHeading:Qe,colorTextDisabled:mt,fontSize:Lt,fontSizeLG:Mt,lineHeight:at,marginSM:Ct,paddingSM:ot,paddingLG:Ve,paddingXS:yt,motionDurationSlow:Pt,fontSizeIcon:At,contentPadding:Gt}=ze,on=`${Ge}px ${st} ${bt}`;return{[Ee]:Object.assign(Object.assign({},(0,rt.Wf)(ze)),{backgroundColor:Ye,border:on,borderBottom:0,borderRadius:`${Ne}px`,"&-rtl":{direction:"rtl"},[`& > ${Ee}-item`]:{borderBottom:on,"&:last-child":{[` &, & > ${Ee}-header`]:{borderRadius:`0 0 ${Ne}px ${Ne}px`}},[`> ${Ee}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:We,color:Qe,lineHeight:at,cursor:"pointer",transition:`all ${Pt}, visibility 0s`,[`> ${Ee}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Ee}-expand-icon`]:{height:Lt*at,display:"flex",alignItems:"center",paddingInlineEnd:Ct},[`${Ee}-arrow`]:Object.assign(Object.assign({},(0,rt.Ro)()),{fontSize:At,svg:{transition:`transform ${Pt}`}}),[`${Ee}-header-text`]:{marginInlineEnd:"auto"}},[`${Ee}-header-collapsible-only`]:{cursor:"default",[`${Ee}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Ee}-icon-collapsible-only`]:{cursor:"default",[`${Ee}-expand-icon`]:{cursor:"pointer"}}},[`${Ee}-content`]:{color:dt,backgroundColor:Re,borderTop:on,[`& > ${Ee}-content-box`]:{padding:Gt},"&-hidden":{display:"none"}},"&-small":{[`> ${Ee}-item`]:{[`> ${Ee}-header`]:{padding:Te,paddingInlineStart:yt,[`> ${Ee}-expand-icon`]:{marginInlineStart:ot-yt}},[`> ${Ee}-content > ${Ee}-content-box`]:{padding:ot}}},"&-large":{[`> ${Ee}-item`]:{fontSize:Mt,[`> ${Ee}-header`]:{padding:xe,paddingInlineStart:qe,[`> ${Ee}-expand-icon`]:{height:Mt*at,marginInlineStart:Ve-qe}},[`> ${Ee}-content > ${Ee}-content-box`]:{padding:Ve}}},[`${Ee}-item:last-child`]:{[`> ${Ee}-content`]:{borderRadius:`0 0 ${Ne}px ${Ne}px`}},[`& ${Ee}-item-disabled > ${Ee}-header`]:{"\n &,\n & > .arrow\n ":{color:mt,cursor:"not-allowed"}},[`&${Ee}-icon-position-end`]:{[`& > ${Ee}-item`]:{[`> ${Ee}-header`]:{[`${Ee}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Ct}}}}})}},Be=ze=>{const{componentCls:Ee}=ze,Re=`> ${Ee}-item > ${Ee}-header ${Ee}-arrow svg`;return{[`${Ee}-rtl`]:{[Re]:{transform:"rotate(180deg)"}}}},nt=ze=>{const{componentCls:Ee,headerBg:Re,paddingXXS:qe,colorBorder:Ye}=ze;return{[`${Ee}-borderless`]:{backgroundColor:Re,border:0,[`> ${Ee}-item`]:{borderBottom:`1px solid ${Ye}`},[` > ${Ee}-item:last-child, > ${Ee}-item:last-child ${Ee}-header `]:{borderRadius:0},[`> ${Ee}-item:last-child`]:{borderBottom:0},[`> ${Ee}-item > ${Ee}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Ee}-item > ${Ee}-content > ${Ee}-content-box`]:{paddingTop:qe}}}},Je=ze=>{const{componentCls:Ee,paddingSM:Re}=ze;return{[`${Ee}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Ee}-item`]:{borderBottom:0,[`> ${Ee}-content`]:{backgroundColor:"transparent",border:0,[`> ${Ee}-content-box`]:{paddingBlock:Re}}}}}};var ft=(0,Xe.Z)("Collapse",ze=>{const Ee=(0,_e.TS)(ze,{collapseHeaderPaddingSM:`${ze.paddingXS}px ${ze.paddingSM}px`,collapseHeaderPaddingLG:`${ze.padding}px ${ze.paddingLG}px`,collapsePanelBorderRadius:ze.borderRadiusLG});return[$e(Ee),nt(Ee),Je(Ee),Be(Ee),(0,et.Z)(Ee)]},ze=>({headerPadding:`${ze.paddingSM}px ${ze.padding}px`,headerBg:ze.colorFillAlter,contentPadding:`${ze.padding}px 16px`,contentBg:ze.colorBgContainer})),Ue=Object.assign(ce.forwardRef((ze,Ee)=>{const{getPrefixCls:Re,direction:qe,collapse:Ye}=ce.useContext(ke.E_),{prefixCls:We,className:Te,rootClassName:xe,style:Ne,bordered:Ge=!0,ghost:st,size:bt,expandIconPosition:dt="start",children:Qe,expandIcon:mt}=ze,Lt=(0,He.Z)(on=>{var un;return(un=bt!=null?bt:on)!==null&&un!==void 0?un:"middle"}),Mt=Re("collapse",We),at=Re(),[Ct,ot]=ft(Mt),Ve=ce.useMemo(()=>dt==="left"?"start":dt==="right"?"end":dt,[dt]),yt=function(){let on=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const un=mt?mt(on):ce.createElement(Ce.Z,{rotate:on.isActive?90:void 0});return(0,Fe.Tm)(un,()=>({className:E()(un.props.className,`${Mt}-arrow`)}))},Pt=E()(`${Mt}-icon-position-${Ve}`,{[`${Mt}-borderless`]:!Ge,[`${Mt}-rtl`]:qe==="rtl",[`${Mt}-ghost`]:!!st,[`${Mt}-${Lt}`]:Lt!=="middle"},Ye==null?void 0:Ye.className,Te,xe,ot),At=Object.assign(Object.assign({},(0,Ae.Z)(at)),{motionAppear:!1,leavedClassName:`${Mt}-content-hidden`}),Gt=ce.useMemo(()=>Qe?(0,we.Z)(Qe).map((on,un)=>{var Cn,Dn;if(!((Cn=on.props)===null||Cn===void 0)&&Cn.disabled){const Ln=(Dn=on.key)!==null&&Dn!==void 0?Dn:String(un),{disabled:Yn,collapsible:br}=on.props,Wr=Object.assign(Object.assign({},(0,Oe.Z)(on.props,["disabled"])),{key:Ln,collapsible:br!=null?br:Yn?"disabled":void 0});return(0,Fe.Tm)(on,Wr)}return on}):null,[Qe]);return Ct(ce.createElement(Pe,Object.assign({ref:Ee,openMotion:At},(0,Oe.Z)(ze,["rootClassName"]),{expandIcon:yt,prefixCls:Mt,className:Pt,style:Object.assign(Object.assign({},Ye==null?void 0:Ye.style),Ne)}),Gt))}),{Panel:ut}),Le=Ue},72565:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return $a}});var Ce=be(94184),Ze=be.n(Ce),E=be(1413),ye=be(97685),me=be(67294),oe=be(73935);function te(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ue={};function ce(Tt,Et){}function le(Tt,Et){}function de(){ue={}}function ae(Tt,Et,Yt){!Et&&!ue[Yt]&&(Tt(!1,Yt),ue[Yt]=!0)}function ie(Tt,Et){ae(ce,Tt,Et)}function ne(Tt,Et){ae(le,Tt,Et)}var a=null,y=be(71002),x=be(18459);function b(Tt,Et,Yt){var nn=me.useRef({});return(!("value"in nn.current)||Yt(nn.current.condition,Et))&&(nn.current.value=Tt(),nn.current.condition=Et),nn.current.value}function z(Tt,Et){typeof Tt=="function"?Tt(Et):(0,y.Z)(Tt)==="object"&&Tt&&"current"in Tt&&(Tt.current=Et)}function ee(){for(var Tt=arguments.length,Et=new Array(Tt),Yt=0;Yt0&&arguments[0]!==void 0?arguments[0]:{},Et=Tt.mark;return Et?Et.startsWith("data-")?Et:"data-".concat(Et):Ae}function He(Tt){if(Tt.attachTo)return Tt.attachTo;var Et=document.querySelector("head");return Et||document.body}function Me(Tt){return Tt==="queue"?"prependQueue":Tt?"prepend":"append"}function ut(Tt){return Array.from((Fe.get(Tt)||Tt).children).filter(function(Et){return Et.tagName==="STYLE"})}function rt(Tt){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!te())return null;var Yt=Et.csp,nn=Et.prepend,yn=document.createElement("style");yn.setAttribute(Oe,Me(nn)),Yt!=null&&Yt.nonce&&(yn.nonce=Yt==null?void 0:Yt.nonce),yn.innerHTML=Tt;var $n=He(Et),cr=$n.firstChild;if(nn){if(nn==="queue"){var Tr=ut($n).filter(function(Ur){return["prepend","prependQueue"].includes(Ur.getAttribute(Oe))});if(Tr.length)return $n.insertBefore(yn,Tr[Tr.length-1].nextSibling),yn}$n.insertBefore(yn,cr)}else $n.appendChild(yn);return yn}function et(Tt){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Yt=He(Et);return ut(Yt).find(function(nn){return nn.getAttribute(ke(Et))===Tt})}function Xe(Tt){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Yt=et(Tt,Et);if(Yt){var nn=He(Et);nn.removeChild(Yt)}}function _e(Tt,Et){var Yt=Fe.get(Tt);if(!Yt||!we(document,Yt)){var nn=rt("",Et),yn=nn.parentNode;Fe.set(Tt,yn),Tt.removeChild(nn)}}function $e(){Fe.clear()}function Be(Tt,Et){var Yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},nn=He(Yt);_e(nn,Yt);var yn=et(Et,Yt);if(yn){var $n,cr;if(($n=Yt.csp)!==null&&$n!==void 0&&$n.nonce&&yn.nonce!==((cr=Yt.csp)===null||cr===void 0?void 0:cr.nonce)){var Tr;yn.nonce=(Tr=Yt.csp)===null||Tr===void 0?void 0:Tr.nonce}return yn.innerHTML!==Tt&&(yn.innerHTML=Tt),yn}var Ur=rt(Tt,Yt);return Ur.setAttribute(ke(Yt),Et),Ur}var nt;function Je(Tt){if(typeof document=="undefined")return 0;if(Tt||nt===void 0){var Et=document.createElement("div");Et.style.width="100%",Et.style.height="200px";var Yt=document.createElement("div"),nn=Yt.style;nn.position="absolute",nn.top="0",nn.left="0",nn.pointerEvents="none",nn.visibility="hidden",nn.width="200px",nn.height="150px",nn.overflow="hidden",Yt.appendChild(Et),document.body.appendChild(Yt);var yn=Et.offsetWidth;Yt.style.overflow="scroll";var $n=Et.offsetWidth;yn===$n&&($n=Yt.clientWidth),document.body.removeChild(Yt),nt=yn-$n}return nt}function ft(Tt){var Et=Tt.match(/^(.*)px$/),Yt=Number(Et==null?void 0:Et[1]);return Number.isNaN(Yt)?Je():Yt}function Ke(Tt){if(typeof document=="undefined"||!Tt||!(Tt instanceof Element))return{width:0,height:0};var Et=getComputedStyle(Tt,"::-webkit-scrollbar"),Yt=Et.width,nn=Et.height;return{width:ft(Yt),height:ft(nn)}}function Ue(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Le="rc-util-locker-".concat(Date.now()),ze=0;function Ee(Tt){var Et=!!Tt,Yt=me.useState(function(){return ze+=1,"".concat(Le,"_").concat(ze)}),nn=(0,ye.Z)(Yt,1),yn=nn[0];pe(function(){if(Et){var $n=Ke(document.body).width,cr=Ue();Be(` html body { overflow-y: hidden; `.concat(cr?"width: calc(100% - ".concat($n,"px);"):"",` }`),yn)}else Xe(yn);return function(){Xe(yn)}},[Et,yn])}var Re=!1;function qe(Tt){return typeof Tt=="boolean"&&(Re=Tt),Re}var Ye=function(Et){return Et===!1?!1:!te()||!Et?null:typeof Et=="string"?document.querySelector(Et):typeof Et=="function"?Et():Et},We=me.forwardRef(function(Tt,Et){var Yt=Tt.open,nn=Tt.autoLock,yn=Tt.getContainer,$n=Tt.debug,cr=Tt.autoDestroy,Tr=cr===void 0?!0:cr,Ur=Tt.children,Hr=me.useState(Yt),Xr=(0,ye.Z)(Hr,2),xa=Xr[0],fr=Xr[1],Rt=xa||Yt;me.useEffect(function(){(Tr||Yt)&&fr(Yt)},[Yt,Tr]);var St=me.useState(function(){return Ye(yn)}),_t=(0,ye.Z)(St,2),ct=_t[0],Ut=_t[1];me.useEffect(function(){var lr=Ye(yn);Ut(lr!=null?lr:null)});var tn=je(Rt&&!ct,$n),rn=(0,ye.Z)(tn,2),$t=rn[0],Kt=rn[1],zt=ct!=null?ct:$t;Ee(nn&&Yt&&te()&&(zt===$t||zt===document.body));var gn=null;if(Ur&&se(Ur)&&Et){var Mn=Ur;gn=Mn.ref}var jn=re(gn,Et);if(!Rt||!te()||ct===void 0)return null;var Un=zt===!1||qe(),qn=Ur;return Et&&(qn=me.cloneElement(Ur,{ref:jn})),me.createElement(ve.Provider,{value:Kt},Un?qn:(0,oe.createPortal)(qn,zt))}),Te=We,xe=Te;function Ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ge=Ne()?me.useLayoutEffect:me.useEffect,st=function(Et,Yt){var nn=me.useRef(!0);Ge(function(){return Et(nn.current)},Yt),Ge(function(){return nn.current=!1,function(){nn.current=!0}},[])},bt=function(Et,Yt){st(function(nn){if(!nn)return Et()},Yt)},dt=st,Qe=me.createContext(null),mt=me.createContext({}),Lt=Qe,Mt=be(4942),at=be(87462),Ct=be(62874),ot={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 Yt=Et.keyCode;if(Et.altKey&&!Et.ctrlKey||Et.metaKey||Yt>=ot.F1&&Yt<=ot.F12)return!1;switch(Yt){case ot.ALT:case ot.CAPS_LOCK:case ot.CONTEXT_MENU:case ot.CTRL:case ot.DOWN:case ot.END:case ot.ESC:case ot.HOME:case ot.INSERT:case ot.LEFT:case ot.MAC_FF_META:case ot.META:case ot.NUMLOCK:case ot.NUM_CENTER:case ot.PAGE_DOWN:case ot.PAGE_UP:case ot.PAUSE:case ot.PRINT_SCREEN:case ot.RIGHT:case ot.SHIFT:case ot.UP:case ot.WIN_KEY:case ot.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Et){if(Et>=ot.ZERO&&Et<=ot.NINE||Et>=ot.NUM_ZERO&&Et<=ot.NUM_MULTIPLY||Et>=ot.A&&Et<=ot.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Et===0)return!0;switch(Et){case ot.SPACE:case ot.QUESTION_MARK:case ot.NUM_PLUS:case ot.NUM_MINUS:case ot.NUM_PERIOD:case ot.NUM_DIVISION:case ot.SEMICOLON:case ot.DASH:case ot.EQUALS:case ot.COMMA:case ot.PERIOD:case ot.SLASH:case ot.APOSTROPHE:case ot.SINGLE_QUOTE:case ot.OPEN_SQUARE_BRACKET:case ot.BACKSLASH:case ot.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Ve=ot,yt=`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`,Pt=`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`,At="".concat(yt," ").concat(Pt).split(/[\s\n]+/),Gt="aria-",on="data-";function un(Tt,Et){return Tt.indexOf(Et)===0}function Cn(Tt){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Yt;Et===!1?Yt={aria:!0,data:!0,attr:!0}:Et===!0?Yt={aria:!0}:Yt=(0,E.Z)({},Et);var nn={};return Object.keys(Tt).forEach(function(yn){(Yt.aria&&(yn==="role"||un(yn,Gt))||Yt.data&&un(yn,on)||Yt.attr&&At.includes(yn))&&(nn[yn]=Tt[yn])}),nn}function Dn(Tt){var Et=React.useRef();Et.current=Tt;var Yt=React.useCallback(function(){for(var nn,yn=arguments.length,$n=new Array(yn),cr=0;cr3&&arguments[3]!==void 0?arguments[3]:!1;return Et.length&&nn&&Yt===void 0&&!get(Tt,Et.slice(0,-1))?Tt:ca(Tt,Et,Yt,nn)}function Tn(Tt){return _typeof(Tt)==="object"&&Tt!==null&&Object.getPrototypeOf(Tt)===Object.prototype}function Nn(Tt){return Array.isArray(Tt)?[]:{}}var oa=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Ir(){for(var Tt=arguments.length,Et=new Array(Tt),Yt=0;Yt{const{prefixCls:Et,title:Yt,footer:nn,extra:yn,closeIcon:$n,closable:cr,onClose:Tr,headerStyle:Ur,drawerStyle:Hr,bodyStyle:Xr,footerStyle:xa,children:fr}=Tt,Rt=me.useCallback(tn=>me.createElement("button",{type:"button",onClick:Tr,"aria-label":"Close",className:`${Et}-close`},tn),[Tr]),[St,_t]=(0,zn.Z)(cr,$n,Rt,void 0,!0),ct=me.useMemo(()=>!Yt&&!St?null:me.createElement("div",{style:Ur,className:Ze()(`${Et}-header`,{[`${Et}-header-close-only`]:St&&!Yt&&!yn})},me.createElement("div",{className:`${Et}-header-title`},_t,Yt&&me.createElement("div",{className:`${Et}-title`},Yt)),yn&&me.createElement("div",{className:`${Et}-extra`},yn)),[St,_t,yn,Ur,Et,Yt]),Ut=me.useMemo(()=>{if(!nn)return null;const tn=`${Et}-footer`;return me.createElement("div",{className:tn,style:xa},nn)},[nn,xa,Et]);return me.createElement("div",{className:`${Et}-wrapper-body`,style:Hr},ct,me.createElement("div",{className:`${Et}-body`,style:Xr},fr),Ut)},sn=be(4173),eo=be(67968),Wa=be(45503),ka=Tt=>{const{componentCls:Et,motionDurationSlow:Yt}=Tt,nn={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Yt}`}}};return{[Et]:{[`${Et}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Yt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Et}-panel-motion`]:{"&-left":[nn,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[nn,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[nn,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[nn,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const xn=Tt=>{const{componentCls:Et,zIndexPopup:Yt,colorBgMask:nn,colorBgElevated:yn,motionDurationSlow:$n,motionDurationMid:cr,padding:Tr,paddingLG:Ur,fontSizeLG:Hr,lineHeightLG:Xr,lineWidth:xa,lineType:fr,colorSplit:Rt,marginSM:St,colorIcon:_t,colorIconHover:ct,colorText:Ut,fontWeightStrong:tn,footerPaddingBlock:rn,footerPaddingInline:$t}=Tt,Kt=`${Et}-content-wrapper`;return{[Et]:{position:"fixed",inset:0,zIndex:Yt,pointerEvents:"none","&-pure":{position:"relative",background:yn,[`&${Et}-left`]:{boxShadow:Tt.boxShadowDrawerLeft},[`&${Et}-right`]:{boxShadow:Tt.boxShadowDrawerRight},[`&${Et}-top`]:{boxShadow:Tt.boxShadowDrawerUp},[`&${Et}-bottom`]:{boxShadow:Tt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Et}-mask`]:{position:"absolute",inset:0,zIndex:Yt,background:nn,pointerEvents:"auto"},[Kt]:{position:"absolute",zIndex:Yt,maxWidth:"100vw",transition:`all ${$n}`,"&-hidden":{display:"none"}},[`&-left > ${Kt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Tt.boxShadowDrawerLeft},[`&-right > ${Kt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Tt.boxShadowDrawerRight},[`&-top > ${Kt}`]:{top:0,insetInline:0,boxShadow:Tt.boxShadowDrawerUp},[`&-bottom > ${Kt}`]:{bottom:0,insetInline:0,boxShadow:Tt.boxShadowDrawerDown},[`${Et}-content`]:{width:"100%",height:"100%",overflow:"auto",background:yn,pointerEvents:"auto"},[`${Et}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Et}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Tr}px ${Ur}px`,fontSize:Hr,lineHeight:Xr,borderBottom:`${xa}px ${fr} ${Rt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Et}-extra`]:{flex:"none"},[`${Et}-close`]:{display:"inline-block",marginInlineEnd:St,color:_t,fontWeight:tn,fontSize:Hr,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${cr}`,textRendering:"auto","&:focus, &:hover":{color:ct,textDecoration:"none"}},[`${Et}-title`]:{flex:1,margin:0,color:Ut,fontWeight:Tt.fontWeightStrong,fontSize:Hr,lineHeight:Xr},[`${Et}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Ur,overflow:"auto"},[`${Et}-footer`]:{flexShrink:0,padding:`${rn}px ${$t}px`,borderTop:`${xa}px ${fr} ${Rt}`},"&-rtl":{direction:"rtl"}}}};var Fn=(0,eo.Z)("Drawer",Tt=>{const Et=(0,Wa.TS)(Tt,{});return[xn(Et),ka(Et)]},Tt=>({zIndexPopup:Tt.zIndexPopupBase,footerPaddingBlock:Tt.paddingXS,footerPaddingInline:Tt.padding})),Pr=be(16569),An=function(Tt,Et){var Yt={};for(var nn in Tt)Object.prototype.hasOwnProperty.call(Tt,nn)&&Et.indexOf(nn)<0&&(Yt[nn]=Tt[nn]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yn=0,nn=Object.getOwnPropertySymbols(Tt);yn{var Et;const{rootClassName:Yt,width:nn,height:yn,size:$n="default",mask:cr=!0,push:Tr=da,open:Ur,afterOpenChange:Hr,onClose:Xr,prefixCls:xa,getContainer:fr,style:Rt,className:St,visible:_t,afterVisibleChange:ct}=Tt,Ut=An(Tt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:tn,getPrefixCls:rn,direction:$t,drawer:Kt}=me.useContext(vr.E_),zt=rn("drawer",xa),[gn,Mn]=Fn(zt),jn=fr===void 0&&tn?()=>tn(document.body):fr,Un=Ze()({"no-mask":!cr,[`${zt}-rtl`]:$t==="rtl"},Yt,Mn),qn=me.useMemo(()=>nn!=null?nn:$n==="large"?736:378,[nn,$n]),lr=me.useMemo(()=>yn!=null?yn:$n==="large"?736:378,[yn,$n]),Pn={motionName:(0,an.m)(zt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Wt=Sn=>({motionName:(0,an.m)(zt,`panel-motion-${Sn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),ln=(0,Pr.H)();return gn(me.createElement(sn.BR,null,me.createElement(Jn.Ux,{status:!0,override:!0},me.createElement(fn,Object.assign({prefixCls:zt,onClose:Xr,maskMotion:Pn,motion:Wt},Ut,{open:Ur!=null?Ur:_t,mask:cr,push:Tr,width:qn,height:lr,style:Object.assign(Object.assign({},Kt==null?void 0:Kt.style),Rt),className:Ze()(Kt==null?void 0:Kt.className,St),rootClassName:Un,getContainer:jn,afterOpenChange:Hr!=null?Hr:ct,panelRef:ln}),me.createElement(Kr,Object.assign({prefixCls:zt},Ut,{onClose:Xr}))))))},Ga=Tt=>{const{prefixCls:Et,style:Yt,className:nn,placement:yn="right"}=Tt,$n=An(Tt,["prefixCls","style","className","placement"]),{getPrefixCls:cr}=me.useContext(vr.E_),Tr=cr("drawer",Et),[Ur,Hr]=Fn(Tr),Xr=Ze()(Tr,`${Tr}-pure`,`${Tr}-${yn}`,Hr,nn);return Ur(me.createElement("div",{className:Xr,style:Yt},me.createElement(Kr,Object.assign({prefixCls:Tr},$n))))};Ua._InternalPanelDoNotUseOrYouWillBeFired=Ga;var $a=Ua},56153:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return hl}});var Ce=be(67294),Ze=be.t(Ce,2),E=be(91034),ye=be(94184),me=be.n(ye),oe=be(87462),te=be(4942),ue=be(97685),ce=be(45987),le=be(1413),de=be(73935);function ae(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ie={};function ne(it,pt){}function a(it,pt){}function y(){ie={}}function x(it,pt,ht){!pt&&!ie[ht]&&(it(!1,ht),ie[ht]=!0)}function b(it,pt){x(ne,it,pt)}function z(it,pt){x(a,it,pt)}var ee=null,re=be(71002),se=be(12060);function fe(it,pt,ht){var Dt=Ce.useRef({});return(!("value"in Dt.current)||ht(Dt.current.condition,pt))&&(Dt.current.value=it(),Dt.current.condition=pt),Dt.current.value}function ve(it,pt){typeof it=="function"?it(pt):(0,re.Z)(it)==="object"&&it&&"current"in it&&(it.current=pt)}function ge(){for(var it=arguments.length,pt=new Array(it),ht=0;ht0&&arguments[0]!==void 0?arguments[0]:{},pt=it.mark;return pt?pt.startsWith("data-")?pt:"data-".concat(pt):ut}function Xe(it){if(it.attachTo)return it.attachTo;var pt=document.querySelector("head");return pt||document.body}function _e(it){return it==="queue"?"prependQueue":it?"prepend":"append"}function $e(it){return Array.from((rt.get(it)||it).children).filter(function(pt){return pt.tagName==="STYLE"})}function Be(it){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ae())return null;var ht=pt.csp,Dt=pt.prepend,Jt=document.createElement("style");Jt.setAttribute(Me,_e(Dt)),ht!=null&&ht.nonce&&(Jt.nonce=ht==null?void 0:ht.nonce),Jt.innerHTML=it;var mn=Xe(pt),vn=mn.firstChild;if(Dt){if(Dt==="queue"){var Xn=$e(mn).filter(function(sr){return["prepend","prependQueue"].includes(sr.getAttribute(Me))});if(Xn.length)return mn.insertBefore(Jt,Xn[Xn.length-1].nextSibling),Jt}mn.insertBefore(Jt,vn)}else mn.appendChild(Jt);return Jt}function nt(it){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ht=Xe(pt);return $e(ht).find(function(Dt){return Dt.getAttribute(et(pt))===it})}function Je(it){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ht=nt(it,pt);if(ht){var Dt=Xe(pt);Dt.removeChild(ht)}}function ft(it,pt){var ht=rt.get(it);if(!ht||!He(document,ht)){var Dt=Be("",pt),Jt=Dt.parentNode;rt.set(it,Jt),it.removeChild(Dt)}}function Ke(){rt.clear()}function Ue(it,pt){var ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Dt=Xe(ht);ft(Dt,ht);var Jt=nt(pt,ht);if(Jt){var mn,vn;if((mn=ht.csp)!==null&&mn!==void 0&&mn.nonce&&Jt.nonce!==((vn=ht.csp)===null||vn===void 0?void 0:vn.nonce)){var Xn;Jt.nonce=(Xn=ht.csp)===null||Xn===void 0?void 0:Xn.nonce}return Jt.innerHTML!==it&&(Jt.innerHTML=it),Jt}var sr=Be(it,ht);return sr.setAttribute(et(ht),pt),sr}var Le;function ze(it){if(typeof document=="undefined")return 0;if(it||Le===void 0){var pt=document.createElement("div");pt.style.width="100%",pt.style.height="200px";var ht=document.createElement("div"),Dt=ht.style;Dt.position="absolute",Dt.top="0",Dt.left="0",Dt.pointerEvents="none",Dt.visibility="hidden",Dt.width="200px",Dt.height="150px",Dt.overflow="hidden",ht.appendChild(pt),document.body.appendChild(ht);var Jt=pt.offsetWidth;ht.style.overflow="scroll";var mn=pt.offsetWidth;Jt===mn&&(mn=ht.clientWidth),document.body.removeChild(ht),Le=Jt-mn}return Le}function Ee(it){var pt=it.match(/^(.*)px$/),ht=Number(pt==null?void 0:pt[1]);return Number.isNaN(ht)?ze():ht}function Re(it){if(typeof document=="undefined"||!it||!(it instanceof Element))return{width:0,height:0};var pt=getComputedStyle(it,"::-webkit-scrollbar"),ht=pt.width,Dt=pt.height;return{width:Ee(ht),height:Ee(Dt)}}function qe(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Ye="rc-util-locker-".concat(Date.now()),We=0;function Te(it){var pt=!!it,ht=Ce.useState(function(){return We+=1,"".concat(Ye,"_").concat(We)}),Dt=(0,ue.Z)(ht,1),Jt=Dt[0];Oe(function(){if(pt){var mn=Re(document.body).width,vn=qe();Ue(` html body { overflow-y: hidden; `.concat(vn?"width: calc(100% - ".concat(mn,"px);"):"",` }`),Jt)}else Je(Jt);return function(){Je(Jt)}},[pt,Jt])}var xe=!1;function Ne(it){return typeof it=="boolean"&&(xe=it),xe}var Ge=function(pt){return pt===!1?!1:!ae()||!pt?null:typeof pt=="string"?document.querySelector(pt):typeof pt=="function"?pt():pt},st=Ce.forwardRef(function(it,pt){var ht=it.open,Dt=it.autoLock,Jt=it.getContainer,mn=it.debug,vn=it.autoDestroy,Xn=vn===void 0?!0:vn,sr=it.children,er=Ce.useState(ht),Br=(0,ue.Z)(er,2),rr=Br[0],_r=Br[1],Lr=rr||ht;Ce.useEffect(function(){(Xn||ht)&&_r(ht)},[ht,Xn]);var Vr=Ce.useState(function(){return Ge(Jt)}),Aa=(0,ue.Z)(Vr,2),wa=Aa[0],Fa=Aa[1];Ce.useEffect(function(){var po=Ge(Jt);Fa(po!=null?po:null)});var Ta=ke(Lr&&!wa,mn),pa=(0,ue.Z)(Ta,2),Ar=pa[0],io=pa[1],no=wa!=null?wa:Ar;Te(Dt&&ht&&ae()&&(no===Ar||no===document.body));var so=null;if(sr&&pe(sr)&&pt){var mo=sr;so=mo.ref}var Ro=he(so,pt);if(!Lr||!ae()||wa===void 0)return null;var Va=no===!1||Ne(),Ma=sr;return pt&&(Ma=Ce.cloneElement(sr,{ref:Ro})),Ce.createElement(Pe.Provider,{value:io},Va?Ma:(0,de.createPortal)(Ma,no))}),bt=st,dt=bt,Qe=be(48555);function mt(it){return it instanceof HTMLElement||it instanceof SVGElement}function Lt(it){return mt(it)?it:it instanceof React.Component?ReactDOM.findDOMNode(it):null}function Mt(it){var pt;return it==null||(pt=it.getRootNode)===null||pt===void 0?void 0:pt.call(it)}function at(it){return Mt(it)instanceof ShadowRoot}function Ct(it){return at(it)?Mt(it):null}function ot(it){var pt=Ce.useRef();pt.current=it;var ht=Ce.useCallback(function(){for(var Dt,Jt=arguments.length,mn=new Array(Jt),vn=0;vn0&&arguments[0]!==void 0?arguments[0]:[],pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ht=arguments.length>2?arguments[2]:void 0;return ht?it[0]===pt[0]:it[0]===pt[0]&&it[1]===pt[1]}function Pa(it,pt,ht,Dt){for(var Jt=ht.points,mn=Object.keys(it),vn=0;vn1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(it)?pt:it}function Nn(it){return Tn(parseFloat(it),0)}function oa(it,pt){var ht=(0,le.Z)({},it);return(pt||[]).forEach(function(Dt){if(!(Dt instanceof HTMLBodyElement||Dt instanceof HTMLHtmlElement)){var Jt=ca(Dt).getComputedStyle(Dt),mn=Jt.overflow,vn=Jt.overflowClipMargin,Xn=Jt.borderTopWidth,sr=Jt.borderBottomWidth,er=Jt.borderLeftWidth,Br=Jt.borderRightWidth,rr=Dt.getBoundingClientRect(),_r=Dt.offsetHeight,Lr=Dt.clientHeight,Vr=Dt.offsetWidth,Aa=Dt.clientWidth,wa=Nn(Xn),Fa=Nn(sr),Ta=Nn(er),pa=Nn(Br),Ar=Tn(Math.round(rr.width/Vr*1e3)/1e3),io=Tn(Math.round(rr.height/_r*1e3)/1e3),no=(Vr-Aa-Ta-pa)*Ar,so=(_r-Lr-wa-Fa)*io,mo=wa*io,Ro=Fa*io,Va=Ta*Ar,Ma=pa*Ar,po=0,bo=0;if(mn==="clip"){var ro=Nn(vn);po=ro*Ar,bo=ro*io}var Ia=rr.x+Va-po,Xa=rr.y+mo-bo,va=Ia+rr.width+2*po-Va-Ma-no,Lo=Xa+rr.height+2*bo-mo-Ro-so;ht.left=Math.max(ht.left,Ia),ht.top=Math.max(ht.top,Xa),ht.right=Math.min(ht.right,va),ht.bottom=Math.min(ht.bottom,Lo)}}),ht}function Ir(it){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ht="".concat(pt),Dt=ht.match(/^(.*)\%$/);return Dt?it*(parseFloat(Dt[1])/100):parseFloat(ht)}function nr(it,pt){var ht=pt||[],Dt=(0,ue.Z)(ht,2),Jt=Dt[0],mn=Dt[1];return[Ir(it.width,Jt),Ir(it.height,mn)]}function Bt(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[it[0],it[1]]}function kt(it,pt){var ht=pt[0],Dt=pt[1],Jt,mn;return ht==="t"?mn=it.y:ht==="b"?mn=it.y+it.height:mn=it.y+it.height/2,Dt==="l"?Jt=it.x:Dt==="r"?Jt=it.x+it.width:Jt=it.x+it.width/2,{x:Jt,y:mn}}function Nt(it,pt){var ht={t:"b",b:"t",l:"r",r:"l"};return it.map(function(Dt,Jt){return Jt===pt?ht[Dt]||"c":Dt}).join("")}function hn(it,pt,ht,Dt,Jt,mn,vn){var Xn=Ce.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Jt[Dt]||{}}),sr=(0,ue.Z)(Xn,2),er=sr[0],Br=sr[1],rr=Ce.useRef(0),_r=Ce.useMemo(function(){return pt?bn(pt):[]},[pt]),Lr=Ce.useRef({}),Vr=function(){Lr.current={}};it||Vr();var Aa=ot(function(){if(pt&&ht&&it){let wr=function(Qr,Er){var ua=arguments.length>2&&arguments[2]!==void 0?arguments[2]:No,ba=za.x+Qr,_a=za.y+Er,La=ba+Ya,uo=_a+Co,co=Math.max(ba,ua.left),ra=Math.max(_a,ua.top),Po=Math.min(La,ua.right),Gn=Math.min(uo,ua.bottom);return Math.max(0,(Po-co)*(Gn-ra))},ea=function(){$i=za.y+oo,as=$i+Co,os=za.x+Fo,is=os+Ya};var Ta,pa,Ar=pt,io=Ar.ownerDocument,no=ca(Ar),so=no.getComputedStyle(Ar),mo=so.width,Ro=so.height,Va=so.position,Ma=Ar.style.left,po=Ar.style.top,bo=Ar.style.right,ro=Ar.style.bottom,Ia=(0,le.Z)((0,le.Z)({},Jt[Dt]),mn),Xa=io.createElement("div");(Ta=Ar.parentElement)===null||Ta===void 0||Ta.appendChild(Xa),Xa.style.left="".concat(Ar.offsetLeft,"px"),Xa.style.top="".concat(Ar.offsetTop,"px"),Xa.style.position=Va,Xa.style.height="".concat(Ar.offsetHeight,"px"),Xa.style.width="".concat(Ar.offsetWidth,"px"),Ar.style.left="0",Ar.style.top="0",Ar.style.right="auto",Ar.style.bottom="auto";var va;if(Array.isArray(ht))va={x:ht[0],y:ht[1],width:0,height:0};else{var Lo=ht.getBoundingClientRect();va={x:Lo.x,y:Lo.y,width:Lo.width,height:Lo.height}}var za=Ar.getBoundingClientRect(),Ao=io.documentElement,Qo=Ao.clientWidth,Bo=Ao.clientHeight,ci=Ao.scrollWidth,di=Ao.scrollHeight,Ka=Ao.scrollTop,oi=Ao.scrollLeft,Co=za.height,Ya=za.width,To=va.height,qo=va.width,ji={left:0,top:0,right:Qo,bottom:Bo},Zi={left:-oi,top:-Ka,right:ci-oi,bottom:di-Ka},zo=Ia.htmlRegion,Ho="visible",Pi="visibleFirst";zo!=="scroll"&&zo!==Pi&&(zo=Ho);var Vo=zo===Pi,ao=oa(Zi,_r),ha=oa(ji,_r),No=zo===Ho?ha:ao,ii=Vo?ha:No;Ar.style.left="auto",Ar.style.top="auto",Ar.style.right="0",Ar.style.bottom="0";var Ai=Ar.getBoundingClientRect();Ar.style.left=Ma,Ar.style.top=po,Ar.style.right=bo,Ar.style.bottom=ro,(pa=Ar.parentElement)===null||pa===void 0||pa.removeChild(Xa);var ts=Tn(Math.round(Ya/parseFloat(mo)*1e3)/1e3),wi=Tn(Math.round(Co/parseFloat(Ro)*1e3)/1e3);if(ts===0||wi===0||mt(ht)&&!Gr(ht))return;var gs=Ia.offset,Rs=Ia.targetOffset,Ei=nr(za,gs),$s=(0,ue.Z)(Ei,2),xi=$s[0],Ni=$s[1],Fs=nr(va,Rs),Ii=(0,ue.Z)(Fs,2),Us=Ii[0],Gs=Ii[1];va.x-=Us,va.y-=Gs;var bs=Ia.points||[],fi=(0,ue.Z)(bs,2),ns=fi[0],zs=fi[1],Wi=Bt(zs),gi=Bt(ns),Ks=kt(va,Wi),Ps=kt(za,gi),rs=(0,le.Z)({},Ia),Fo=Ks.x-Ps.x+xi,oo=Ks.y-Ps.y+Ni,Ri=wr(Fo,oo),_i=wr(Fo,oo,ha),ws=kt(va,["t","l"]),Ms=kt(za,["t","l"]),Es=kt(va,["b","r"]),Ci=kt(za,["b","r"]),ms=Ia.overflow||{},Zs=ms.adjustX,xs=ms.adjustY,Ds=ms.shiftX,Cs=ms.shiftY,Bs=function(Er){return typeof Er=="boolean"?Er:Er>=0},$i,as,os,is;ea();var Ts=Bs(xs),ks=gi[0]===Wi[0];if(Ts&&gi[0]==="t"&&(as>ii.bottom||Lr.current.bt)){var Fi=oo;ks?Fi-=Co-To:Fi=ws.y-Ci.y-Ni;var Si=wr(Fo,Fi),mi=wr(Fo,Fi,ha);Si>Ri||Si===Ri&&(!Vo||mi>=_i)?(Lr.current.bt=!0,oo=Fi,Ni=-Ni,rs.points=[Nt(gi,0),Nt(Wi,0)]):Lr.current.bt=!1}if(Ts&&gi[0]==="b"&&($iRi||Ie===Ri&&(!Vo||De>=_i)?(Lr.current.tb=!0,oo=ss,Ni=-Ni,rs.points=[Nt(gi,0),Nt(Wi,0)]):Lr.current.tb=!1}var tt=Bs(Zs),lt=gi[1]===Wi[1];if(tt&&gi[1]==="l"&&(is>ii.right||Lr.current.rl)){var gt=Fo;lt?gt-=Ya-qo:gt=ws.x-Ci.x-xi;var vt=wr(gt,oo),Ot=wr(gt,oo,ha);vt>Ri||vt===Ri&&(!Vo||Ot>=_i)?(Lr.current.rl=!0,Fo=gt,xi=-xi,rs.points=[Nt(gi,1),Nt(Wi,1)]):Lr.current.rl=!1}if(tt&&gi[1]==="r"&&(osRi||It===Ri&&(!Vo||Zt>=_i)?(Lr.current.lr=!0,Fo=Ft,xi=-xi,rs.points=[Nt(gi,1),Nt(Wi,1)]):Lr.current.lr=!1}ea();var Qt=Ds===!0?0:Ds;typeof Qt=="number"&&(osha.right&&(Fo-=is-ha.right-xi,va.x>ha.right-Qt&&(Fo+=va.x-ha.right+Qt)));var Ht=Cs===!0?0:Cs;typeof Ht=="number"&&($iha.bottom&&(oo-=as-ha.bottom-Ni,va.y>ha.bottom-Ht&&(oo+=va.y-ha.bottom+Ht)));var cn=za.x+Fo,dn=cn+Ya,pn=za.y+oo,Bn=pn+Co,On=va.x,_n=On+qo,Rn=va.y,Wn=Rn+To,yr=Math.max(cn,On),jr=Math.min(dn,_n),mr=(yr+jr)/2,Zr=mr-cn,qr=Math.max(pn,Rn),ar=Math.min(Bn,Wn),pr=(qr+ar)/2,tr=pr-pn;vn==null||vn(pt,rs);var Hn=Ai.right-za.x-(Fo+za.width),dr=Ai.bottom-za.y-(oo+za.height);Br({ready:!0,offsetX:Fo/ts,offsetY:oo/wi,offsetR:Hn/ts,offsetB:dr/wi,arrowX:Zr/ts,arrowY:tr/wi,scaleX:ts,scaleY:wi,align:rs})}}),wa=function(){rr.current+=1;var pa=rr.current;Promise.resolve().then(function(){rr.current===pa&&Aa()})},Fa=function(){Br(function(pa){return(0,le.Z)((0,le.Z)({},pa),{},{ready:!1})})};return Ln(Fa,[Dt]),Ln(function(){it||Fa()},[it]),[er.ready,er.offsetX,er.offsetY,er.offsetR,er.offsetB,er.arrowX,er.arrowY,er.scaleX,er.scaleY,er.align,wa]}function Zn(it,pt,ht,Dt,Jt){Ln(function(){if(it&&pt&&ht){let rr=function(){Dt(),Jt()};var mn=pt,vn=ht,Xn=bn(mn),sr=bn(vn),er=ca(vn),Br=new Set([er].concat((0,je.Z)(Xn),(0,je.Z)(sr)));return Br.forEach(function(_r){_r.addEventListener("scroll",rr,{passive:!0})}),er.addEventListener("resize",rr,{passive:!0}),Dt(),function(){Br.forEach(function(_r){_r.removeEventListener("scroll",rr),er.removeEventListener("resize",rr)})}}},[it,pt,ht])}function Vn(it){var pt=React.useRef(!1),ht=React.useState(it),Dt=_slicedToArray(ht,2),Jt=Dt[0],mn=Dt[1];React.useEffect(function(){return pt.current=!1,function(){pt.current=!0}},[]);function vn(Xn,sr){sr&&pt.current||mn(Xn)}return[Jt,vn]}function Yr(it){return it!==void 0}function $r(it,pt){var ht=pt||{},Dt=ht.defaultValue,Jt=ht.value,mn=ht.onChange,vn=ht.postState,Xn=useState(function(){return Yr(Jt)?Jt:Yr(Dt)?typeof Dt=="function"?Dt():Dt:typeof it=="function"?it():it}),sr=_slicedToArray(Xn,2),er=sr[0],Br=sr[1],rr=Jt!==void 0?Jt:er,_r=vn?vn(rr):rr,Lr=useEvent(mn),Vr=useState([rr]),Aa=_slicedToArray(Vr,2),wa=Aa[0],Fa=Aa[1];useLayoutUpdateEffect(function(){var pa=wa[0];er!==pa&&Lr(er,pa)},[wa]),useLayoutUpdateEffect(function(){Yr(Jt)||Br(Jt)},[Jt]);var Ta=useEvent(function(pa,Ar){Br(pa,Ar),Fa([rr],Ar)});return[_r,Ta]}var zr=be(95845);function ia(it,pt,ht){var Dt=Ce.useRef({});return(!("value"in Dt.current)||ht(Dt.current.condition,pt))&&(Dt.current.value=it(),Dt.current.condition=pt),Dt.current.value}function ga(it,pt){typeof it=="function"?it(pt):(0,re.Z)(it)==="object"&&it&&"current"in it&&(it.current=pt)}function En(){for(var it=arguments.length,pt=new Array(it),ht=0;ht3&&arguments[3]!==void 0?arguments[3]:!1;return pt.length&&Dt&&ht===void 0&&!get(it,pt.slice(0,-1))?it:Vt(it,pt,ht,Dt)}function wn(it){return _typeof(it)==="object"&&it!==null&&Object.getPrototypeOf(it)===Object.prototype}function qt(it){return Array.isArray(it)?[]:{}}var fn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function an(){for(var it=arguments.length,pt=new Array(it),ht=0;ht1&&arguments[1]!==void 0?arguments[1]:1;Pr+=1;var Dt=Pr;function Jt(mn){if(mn===0)ma(Dt),pt();else{var vn=xn(function(){Jt(mn-1)});An.set(Dt,vn)}}return Jt(ht),Dt};da.cancel=function(it){var pt=An.get(it);return ma(pt),Fn(pt)};var Ua=da;function Ga(it,pt,ht,Dt,Jt,mn,vn,Xn){var sr=Ce.useRef(it),er=Ce.useRef(!1);sr.current!==it&&(er.current=!0,sr.current=it),Ce.useEffect(function(){var Br=Ua(function(){er.current=!1});return function(){Ua.cancel(Br)}},[it]),Ce.useEffect(function(){if(pt&&Dt&&(!Jt||mn)){var Br=function(){var Va=!1,Ma=function(ro){var Ia=ro.target;Va=vn(Ia)},po=function(ro){var Ia=ro.target;!er.current&&sr.current&&!Va&&!vn(Ia)&&Xn(!1)};return[Ma,po]},rr=Br(),_r=(0,ue.Z)(rr,2),Lr=_r[0],Vr=_r[1],Aa=Br(),wa=(0,ue.Z)(Aa,2),Fa=wa[0],Ta=wa[1],pa=ca(Dt);pa.addEventListener("mousedown",Lr,!0),pa.addEventListener("click",Vr,!0),pa.addEventListener("contextmenu",Vr,!0);var Ar=Ct(ht);if(Ar&&(Ar.addEventListener("mousedown",Fa,!0),Ar.addEventListener("click",Ta,!0),Ar.addEventListener("contextmenu",Ta,!0)),0)var io,no,so,mo;return function(){pa.removeEventListener("mousedown",Lr,!0),pa.removeEventListener("click",Vr,!0),pa.removeEventListener("contextmenu",Vr,!0),Ar&&(Ar.removeEventListener("mousedown",Fa,!0),Ar.removeEventListener("click",Ta,!0),Ar.removeEventListener("contextmenu",Ta,!0))}}},[pt,ht,Dt,Jt,mn])}function $a(it){return it instanceof HTMLElement||it instanceof SVGElement}function Tt(it){return $a(it)?it:it instanceof Ce.Component?de.findDOMNode(it):null}function Et(it,pt){var ht={};return ht[it.toLowerCase()]=pt.toLowerCase(),ht["Webkit".concat(it)]="webkit".concat(pt),ht["Moz".concat(it)]="moz".concat(pt),ht["ms".concat(it)]="MS".concat(pt),ht["O".concat(it)]="o".concat(pt.toLowerCase()),ht}function Yt(it,pt){var ht={animationend:Et("Animation","AnimationEnd"),transitionend:Et("Transition","TransitionEnd")};return it&&("AnimationEvent"in pt||delete ht.animationend.animation,"TransitionEvent"in pt||delete ht.transitionend.transition),ht}var nn=Yt(ae(),typeof window!="undefined"?window:{}),yn={};if(ae()){var $n=document.createElement("div");yn=$n.style}var cr={};function Tr(it){if(cr[it])return cr[it];var pt=nn[it];if(pt)for(var ht=Object.keys(pt),Dt=ht.length,Jt=0;Jt1&&arguments[1]!==void 0?arguments[1]:1;Un+=1;var Dt=Un;function Jt(mn){if(mn===0)lr(Dt),pt();else{var vn=Mn(function(){Jt(mn-1)});qn.set(Dt,vn)}}return Jt(ht),Dt};Pn.cancel=function(it){var pt=qn.get(it);return lr(pt),jn(pt)};var Wt=Pn,ln=function(){var it=Ce.useRef(null);function pt(){Wt.cancel(it.current)}function ht(Dt){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;pt();var mn=Wt(function(){Jt<=1?Dt({isCanceled:function(){return mn!==it.current}}):ht(Dt,Jt-1)});it.current=mn}return Ce.useEffect(function(){return function(){pt()}},[]),[ht,pt]},Sn=ae()?Ce.useLayoutEffect:Ce.useEffect,kn=Sn,ir=[rn,$t,Kt,zt],Sr=!1,kr=!0;function hr(it){return it===Kt||it===zt}var In=function(it,pt){var ht=gn(tn),Dt=(0,ue.Z)(ht,2),Jt=Dt[0],mn=Dt[1],vn=ln(),Xn=(0,ue.Z)(vn,2),sr=Xn[0],er=Xn[1];function Br(){mn(rn,!0)}return kn(function(){if(Jt!==tn&&Jt!==zt){var rr=ir.indexOf(Jt),_r=ir[rr+1],Lr=pt(Jt);Lr===Sr?mn(_r,!0):sr(function(Vr){function Aa(){Vr.isCanceled()||mn(_r,!0)}Lr===!0?Aa():Promise.resolve(Lr).then(Aa)})}},[it,Jt]),Ce.useEffect(function(){return function(){er()}},[]),[Br,Jt]},Kn=function(it){var pt=(0,Ce.useRef)(),ht=(0,Ce.useRef)(it);ht.current=it;var Dt=Ce.useCallback(function(vn){ht.current(vn)},[]);function Jt(vn){vn&&(vn.removeEventListener(fr,Dt),vn.removeEventListener(xa,Dt))}function mn(vn){pt.current&&pt.current!==vn&&Jt(pt.current),vn&&vn!==pt.current&&(vn.addEventListener(fr,Dt),vn.addEventListener(xa,Dt),pt.current=vn)}return Ce.useEffect(function(){return function(){Jt(pt.current)}},[]),[mn,Jt]};function Qn(it,pt,ht,Dt){var Jt=Dt.motionEnter,mn=Jt===void 0?!0:Jt,vn=Dt.motionAppear,Xn=vn===void 0?!0:vn,sr=Dt.motionLeave,er=sr===void 0?!0:sr,Br=Dt.motionDeadline,rr=Dt.motionLeaveImmediately,_r=Dt.onAppearPrepare,Lr=Dt.onEnterPrepare,Vr=Dt.onLeavePrepare,Aa=Dt.onAppearStart,wa=Dt.onEnterStart,Fa=Dt.onLeaveStart,Ta=Dt.onAppearActive,pa=Dt.onEnterActive,Ar=Dt.onLeaveActive,io=Dt.onAppearEnd,no=Dt.onEnterEnd,so=Dt.onLeaveEnd,mo=Dt.onVisibleChanged,Ro=gn(),Va=(0,ue.Z)(Ro,2),Ma=Va[0],po=Va[1],bo=gn(St),ro=(0,ue.Z)(bo,2),Ia=ro[0],Xa=ro[1],va=gn(null),Lo=(0,ue.Z)(va,2),za=Lo[0],Ao=Lo[1],Qo=(0,Ce.useRef)(!1),Bo=(0,Ce.useRef)(null);function ci(){return ht()}var di=(0,Ce.useRef)(!1);function Ka(ao){var ha=ci();if(!(ao&&!ao.deadline&&ao.target!==ha)){var No=di.current,ii;Ia===_t&&No?ii=io==null?void 0:io(ha,ao):Ia===ct&&No?ii=no==null?void 0:no(ha,ao):Ia===Ut&&No&&(ii=so==null?void 0:so(ha,ao)),Ia!==St&&No&&ii!==!1&&(Xa(St,!0),Ao(null,!0))}}var oi=Kn(Ka),Co=(0,ue.Z)(oi,1),Ya=Co[0],To=Ce.useMemo(function(){var ao,ha,No;switch(Ia){case _t:return ao={},(0,te.Z)(ao,rn,_r),(0,te.Z)(ao,$t,Aa),(0,te.Z)(ao,Kt,Ta),ao;case ct:return ha={},(0,te.Z)(ha,rn,Lr),(0,te.Z)(ha,$t,wa),(0,te.Z)(ha,Kt,pa),ha;case Ut:return No={},(0,te.Z)(No,rn,Vr),(0,te.Z)(No,$t,Fa),(0,te.Z)(No,Kt,Ar),No;default:return{}}},[Ia]),qo=In(Ia,function(ao){if(ao===rn){var ha=To[rn];return ha?ha(ci()):Sr}if(zo in To){var No;Ao(((No=To[zo])===null||No===void 0?void 0:No.call(To,ci(),null))||null)}return zo===Kt&&(Ya(ci()),Br>0&&(clearTimeout(Bo.current),Bo.current=setTimeout(function(){Ka({deadline:!0})},Br))),kr}),ji=(0,ue.Z)(qo,2),Zi=ji[0],zo=ji[1],Ho=hr(zo);di.current=Ho,kn(function(){po(pt);var ao=Qo.current;if(Qo.current=!0,!!it){var ha;!ao&&pt&&Xn&&(ha=_t),ao&&pt&&mn&&(ha=ct),(ao&&!pt&&er||!ao&&rr&&!pt&&er)&&(ha=Ut),ha&&(Xa(ha),Zi())}},[pt]),(0,Ce.useEffect)(function(){(Ia===_t&&!Xn||Ia===ct&&!mn||Ia===Ut&&!er)&&Xa(St)},[Xn,mn,er]),(0,Ce.useEffect)(function(){return function(){Qo.current=!1,clearTimeout(Bo.current)}},[]);var Pi=Ce.useRef(!1);(0,Ce.useEffect)(function(){Ma&&(Pi.current=!0),Ma!==void 0&&Ia===St&&((Pi.current||Ma)&&(mo==null||mo(Ma)),Pi.current=!0)},[Ma,Ia]);var Vo=za;return To[rn]&&zo===$t&&(Vo=(0,le.Z)({transition:"none"},Vo)),[Ia,zo,Vo,Ma!=null?Ma:pt]}var gr=be(15671),Or=be(43144),na=be(60136),Ea=be(51630),Oa=function(it){(0,na.Z)(ht,it);var pt=(0,Ea.Z)(ht);function ht(){return(0,gr.Z)(this,ht),pt.apply(this,arguments)}return(0,Or.Z)(ht,[{key:"render",value:function(){return this.props.children}}]),ht}(Ce.Component),la=Oa;function Ca(it){var pt=it;(0,re.Z)(it)==="object"&&(pt=it.transitionSupport);function ht(Jt){return!!(Jt.motionName&&pt)}var Dt=Ce.forwardRef(function(Jt,mn){var vn=Jt.visible,Xn=vn===void 0?!0:vn,sr=Jt.removeOnLeave,er=sr===void 0?!0:sr,Br=Jt.forceRender,rr=Jt.children,_r=Jt.motionName,Lr=Jt.leavedClassName,Vr=Jt.eventProps,Aa=ht(Jt),wa=(0,Ce.useRef)(),Fa=(0,Ce.useRef)();function Ta(){try{return wa.current instanceof HTMLElement?wa.current:Tt(Fa.current)}catch(va){return null}}var pa=Qn(Aa,Xn,Ta,Jt),Ar=(0,ue.Z)(pa,4),io=Ar[0],no=Ar[1],so=Ar[2],mo=Ar[3],Ro=Ce.useRef(mo);mo&&(Ro.current=!0);var Va=Ce.useCallback(function(va){wa.current=va,ve(mn,va)},[mn]),Ma,po=(0,le.Z)((0,le.Z)({},Vr),{},{visible:Xn});if(!rr)Ma=null;else if(io===St||!ht(Jt))mo?Ma=rr((0,le.Z)({},po),Va):!er&&Ro.current&&Lr?Ma=rr((0,le.Z)((0,le.Z)({},po),{},{className:Lr}),Va):Br||!er&&!Lr?Ma=rr((0,le.Z)((0,le.Z)({},po),{},{style:{display:"none"}}),Va):Ma=null;else{var bo,ro;no===rn?ro="prepare":hr(no)?ro="active":no===$t&&(ro="start"),Ma=rr((0,le.Z)((0,le.Z)({},po),{},{className:me()(Rt(_r,io),(bo={},(0,te.Z)(bo,Rt(_r,"".concat(io,"-").concat(ro)),ro),(0,te.Z)(bo,_r,typeof _r=="string"),bo)),style:so}),Va)}if(Ce.isValidElement(Ma)&&pe(Ma)){var Ia=Ma,Xa=Ia.ref;Xa||(Ma=Ce.cloneElement(Ma,{ref:Va}))}return Ce.createElement(la,{ref:Fa},Ma)});return Dt.displayName="CSSMotion",Dt}var to=Ca(Xr),Go=be(97326),Wo="add",Yo="keep",ho="remove",lo="removed";function ri(it){var pt;return it&&(0,re.Z)(it)==="object"&&"key"in it?pt=it:pt={key:it},(0,le.Z)((0,le.Z)({},pt),{},{key:String(pt.key)})}function Jo(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return it.map(ri)}function Ha(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ht=[],Dt=0,Jt=pt.length,mn=Jo(it),vn=Jo(pt);mn.forEach(function(er){for(var Br=!1,rr=Dt;rr1});return sr.forEach(function(er){ht=ht.filter(function(Br){var rr=Br.key,_r=Br.status;return rr!==er||_r!==ho}),ht.forEach(function(Br){Br.key===er&&(Br.status=Yo)})}),ht}var jo=["component","children","onVisibleChanged","onAllRemoved"],Io=["status"],ai=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Ko(it){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:to,ht=function(Dt){(0,na.Z)(mn,Dt);var Jt=(0,Ea.Z)(mn);function mn(){var vn;(0,gr.Z)(this,mn);for(var Xn=arguments.length,sr=new Array(Xn),er=0;er0,ci=Ce.useState(!pa||!Bo),di=(0,ue.Z)(ci,2),Ka=di[0],oi=di[1];if(Ln(function(){!Ka&&Bo&&vn&&oi(!0)},[Ka,Bo,vn]),!Ka)return null;var Co="auto",Ya={left:"-1000vw",top:"-1000vh",right:Co,bottom:Co};if(Va||!sr){var To,qo=Aa.points,ji=Aa.dynamicInset||((To=Aa._experimental)===null||To===void 0?void 0:To.dynamicInset),Zi=ji&&qo[0][1]==="r",zo=ji&&qo[0][0]==="b";Zi?(Ya.right=bo,Ya.left=Co):(Ya.left=Ma,Ya.right=Co),zo?(Ya.bottom=ro,Ya.top=Co):(Ya.top=po,Ya.bottom=Co)}var Ho={};return va&&(va.includes("height")&&za?Ho.height=za:va.includes("minHeight")&&za&&(Ho.minHeight=za),va.includes("width")&&Lo?Ho.width=Lo:va.includes("minWidth")&&Lo&&(Ho.minWidth=Lo)),sr||(Ho.pointerEvents="none"),Ce.createElement(io,{open:Ta||Qo,getContainer:pa&&function(){return pa(vn)},autoDestroy:Ar},Ce.createElement(Ki,{prefixCls:Jt,open:sr,zIndex:no,mask:_r,motion:Fa}),Ce.createElement(Qe.Z,{onResize:Ia,disabled:!sr},function(Pi){return Ce.createElement(ui,(0,oe.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ta,leavedClassName:"".concat(Jt,"-hidden")},wa,{onAppearPrepare:Xa,onEnterPrepare:Xa,visible:sr,onVisibleChanged:function(ao){var ha;wa==null||(ha=wa.onVisibleChanged)===null||ha===void 0||ha.call(wa,ao),Xn(ao)}}),function(Vo,ao){var ha=Vo.className,No=Vo.style,ii=me()(Jt,ha,Dt);return Ce.createElement("div",{ref:En(Pi,pt,ao),className:ii,style:(0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)({"--arrow-x":"".concat(Vr.x||0,"px"),"--arrow-y":"".concat(Vr.y||0,"px")},Ya),Ho),No),{},{boxSizing:"border-box",zIndex:no},mn),onMouseEnter:so,onMouseLeave:mo,onPointerEnter:Ro,onClick:rr},Lr&&Ce.createElement(ys,{prefixCls:Jt,arrow:Lr,arrowPos:Vr,align:Aa}),Ce.createElement(yo,{cache:!sr&&!Br},Ao))})}))}),Uo=So,Ji=Ce.forwardRef(function(it,pt){var ht=it.children,Dt=it.getTriggerDOMNode,Jt=xt(ht),mn=Ce.useCallback(function(Xn){ga(pt,Dt?Dt(Xn):Xn)},[Dt]),vn=Dr(mn,ht.ref);return Jt?Ce.cloneElement(ht,{ref:vn}):ht}),js=Ji,Oo=["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 Ti(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:dt,pt=Ce.forwardRef(function(ht,Dt){var Jt=ht.prefixCls,mn=Jt===void 0?"rc-trigger-popup":Jt,vn=ht.children,Xn=ht.action,sr=Xn===void 0?"hover":Xn,er=ht.showAction,Br=ht.hideAction,rr=ht.popupVisible,_r=ht.defaultPopupVisible,Lr=ht.onPopupVisibleChange,Vr=ht.afterPopupVisibleChange,Aa=ht.mouseEnterDelay,wa=ht.mouseLeaveDelay,Fa=wa===void 0?.1:wa,Ta=ht.focusDelay,pa=ht.blurDelay,Ar=ht.mask,io=ht.maskClosable,no=io===void 0?!0:io,so=ht.getPopupContainer,mo=ht.forceRender,Ro=ht.autoDestroy,Va=ht.destroyPopupOnHide,Ma=ht.popup,po=ht.popupClassName,bo=ht.popupStyle,ro=ht.popupPlacement,Ia=ht.builtinPlacements,Xa=Ia===void 0?{}:Ia,va=ht.popupAlign,Lo=ht.zIndex,za=ht.stretch,Ao=ht.getPopupClassNameFromAlign,Qo=ht.fresh,Bo=ht.alignPoint,ci=ht.onPopupClick,di=ht.onPopupAlign,Ka=ht.arrow,oi=ht.popupMotion,Co=ht.maskMotion,Ya=ht.popupTransitionName,To=ht.popupAnimation,qo=ht.maskTransitionName,ji=ht.maskAnimation,Zi=ht.className,zo=ht.getTriggerDOMNode,Ho=(0,ce.Z)(ht,Oo),Pi=Ro||Va||!1,Vo=Ce.useState(!1),ao=(0,ue.Z)(Vo,2),ha=ao[0],No=ao[1];Ln(function(){No(Yn())},[]);var ii=Ce.useRef({}),Ai=Ce.useContext(Wr),ts=Ce.useMemo(function(){return{registerSubPopup:function(Rr,ya){ii.current[Rr]=ya,Ai==null||Ai.registerSubPopup(Rr,ya)}}},[Ai]),wi=Gt(),gs=Ce.useState(null),Rs=(0,ue.Z)(gs,2),Ei=Rs[0],$s=Rs[1],xi=ot(function(Gn){mt(Gn)&&Ei!==Gn&&$s(Gn),Ai==null||Ai.registerSubPopup(wi,Gn)}),Ni=Ce.useState(null),Fs=(0,ue.Z)(Ni,2),Ii=Fs[0],Us=Fs[1],Gs=ot(function(Gn){mt(Gn)&&Ii!==Gn&&Us(Gn)}),bs=Ce.Children.only(vn),fi=(bs==null?void 0:bs.props)||{},ns={},zs=ot(function(Gn){var Rr,ya,Ja=Ii;return(Ja==null?void 0:Ja.contains(Gn))||((Rr=Ct(Ja))===null||Rr===void 0?void 0:Rr.host)===Gn||Gn===Ja||(Ei==null?void 0:Ei.contains(Gn))||((ya=Ct(Ei))===null||ya===void 0?void 0:ya.host)===Gn||Gn===Ei||Object.values(ii.current).some(function(or){return(or==null?void 0:or.contains(Gn))||Gn===or})}),Wi=Cr(mn,oi,To,Ya),gi=Cr(mn,Co,ji,qo),Ks=Ce.useState(_r||!1),Ps=(0,ue.Z)(Ks,2),rs=Ps[0],Fo=Ps[1],oo=rr!=null?rr:rs,Ri=ot(function(Gn){rr===void 0&&Fo(Gn)});Ln(function(){Fo(rr||!1)},[rr]);var _i=Ce.useRef(oo);_i.current=oo;var ws=ot(function(Gn){(0,de.flushSync)(function(){oo!==Gn&&(Ri(Gn),Lr==null||Lr(Gn))})}),Ms=Ce.useRef(),Es=function(){clearTimeout(Ms.current)},Ci=function(Rr){var ya=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Es(),ya===0?ws(Rr):Ms.current=setTimeout(function(){ws(Rr)},ya*1e3)};Ce.useEffect(function(){return Es},[]);var ms=Ce.useState(!1),Zs=(0,ue.Z)(ms,2),xs=Zs[0],Ds=Zs[1];Ln(function(Gn){(!Gn||oo)&&Ds(!0)},[oo]);var Cs=Ce.useState(null),Bs=(0,ue.Z)(Cs,2),$i=Bs[0],as=Bs[1],os=Ce.useState([0,0]),is=(0,ue.Z)(os,2),Ts=is[0],ks=is[1],Fi=function(Rr){ks([Rr.clientX,Rr.clientY])},Si=hn(oo,Ei,Bo?Ts:Ii,ro,Xa,va,di),mi=(0,ue.Z)(Si,11),ss=mi[0],Ie=mi[1],De=mi[2],tt=mi[3],lt=mi[4],gt=mi[5],vt=mi[6],Ot=mi[7],Ft=mi[8],It=mi[9],Zt=mi[10],Qt=ta(ha,sr,er,Br),Ht=(0,ue.Z)(Qt,2),cn=Ht[0],dn=Ht[1],pn=cn.has("click"),Bn=dn.has("click")||dn.has("contextMenu"),On=ot(function(){xs||Zt()}),_n=function(){_i.current&&Bo&&Bn&&Ci(!1)};Zn(oo,Ii,Ei,On,_n),Ln(function(){On()},[Ts,ro]),Ln(function(){oo&&!(Xa!=null&&Xa[ro])&&On()},[JSON.stringify(va)]);var Rn=Ce.useMemo(function(){var Gn=Pa(Xa,mn,It,Bo);return me()(Gn,Ao==null?void 0:Ao(It))},[It,Ao,Xa,mn,Bo]);Ce.useImperativeHandle(Dt,function(){return{forceAlign:On}});var Wn=Ce.useState(0),yr=(0,ue.Z)(Wn,2),jr=yr[0],mr=yr[1],Zr=Ce.useState(0),qr=(0,ue.Z)(Zr,2),ar=qr[0],pr=qr[1],tr=function(){if(za&&Ii){var Rr=Ii.getBoundingClientRect();mr(Rr.width),pr(Rr.height)}},Hn=function(){tr(),On()},dr=function(Rr){Ds(!1),Zt(),Vr==null||Vr(Rr)},wr=function(){return new Promise(function(Rr){tr(),as(function(){return Rr})})};Ln(function(){$i&&(Zt(),$i(),as(null))},[$i]);function ea(Gn,Rr,ya,Ja){ns[Gn]=function(or){var Fr;Ja==null||Ja(or),Ci(Rr,ya);for(var Mr=arguments.length,xr=new Array(Mr>1?Mr-1:0),Na=1;Na1?ya-1:0),or=1;or1?ya-1:0),or=1;or=Jr.F1&&ht<=Jr.F12)return!1;switch(ht){case Jr.ALT:case Jr.CAPS_LOCK:case Jr.CONTEXT_MENU:case Jr.CTRL:case Jr.DOWN:case Jr.END:case Jr.ESC:case Jr.HOME:case Jr.INSERT:case Jr.LEFT:case Jr.MAC_FF_META:case Jr.META:case Jr.NUMLOCK:case Jr.NUM_CENTER:case Jr.PAGE_DOWN:case Jr.PAGE_UP:case Jr.PAUSE:case Jr.PRINT_SCREEN:case Jr.RIGHT:case Jr.SHIFT:case Jr.UP:case Jr.WIN_KEY:case Jr.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(pt){if(pt>=Jr.ZERO&&pt<=Jr.NINE||pt>=Jr.NUM_ZERO&&pt<=Jr.NUM_MULTIPLY||pt>=Jr.A&&pt<=Jr.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&pt===0)return!0;switch(pt){case Jr.SPACE:case Jr.QUESTION_MARK:case Jr.NUM_PLUS:case Jr.NUM_MINUS:case Jr.NUM_PERIOD:case Jr.NUM_DIVISION:case Jr.SEMICOLON:case Jr.DASH:case Jr.EQUALS:case Jr.COMMA:case Jr.PERIOD:case Jr.SLASH:case Jr.APOSTROPHE:case Jr.SINGLE_QUOTE:case Jr.OPEN_SQUARE_BRACKET:case Jr.BACKSLASH:case Jr.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Oi=Jr,Li=Oi.ESC,cs=Oi.TAB;function Qi(it){var pt=it.visible,ht=it.triggerRef,Dt=it.onVisibleChange,Jt=it.autoFocus,mn=it.overlayRef,vn=Ce.useRef(!1),Xn=function(){if(pt){var rr,_r;(rr=ht.current)===null||rr===void 0||(_r=rr.focus)===null||_r===void 0||_r.call(rr),Dt==null||Dt(!1)}},sr=function(){var rr;return(rr=mn.current)!==null&&rr!==void 0&&rr.focus?(mn.current.focus(),vn.current=!0,!0):!1},er=function(rr){switch(rr.keyCode){case Li:Xn();break;case cs:{var _r=!1;vn.current||(_r=sr()),_r?rr.preventDefault():Xn();break}}};Ce.useEffect(function(){return pt?(window.addEventListener("keydown",er),Jt&&Wt(sr,3),function(){window.removeEventListener("keydown",er),vn.current=!1}):function(){vn.current=!1}},[pt])}var qi=(0,Ce.forwardRef)(function(it,pt){var ht=it.overlay,Dt=it.arrow,Jt=it.prefixCls,mn=(0,Ce.useMemo)(function(){var Xn;return typeof ht=="function"?Xn=ht():Xn=ht,Xn},[ht]),vn=ge(pt,mn==null?void 0:mn.ref);return Ce.createElement(Ce.Fragment,null,Dt&&Ce.createElement("div",{className:"".concat(Jt,"-arrow")}),Ce.cloneElement(mn,{ref:pe(mn)?vn:void 0}))}),Hs=qi,ds={adjustX:1,adjustY:1},fs=[0,0],nl={topLeft:{points:["bl","tl"],overflow:ds,offset:[0,-4],targetOffset:fs},top:{points:["bc","tc"],overflow:ds,offset:[0,-4],targetOffset:fs},topRight:{points:["br","tr"],overflow:ds,offset:[0,-4],targetOffset:fs},bottomLeft:{points:["tl","bl"],overflow:ds,offset:[0,4],targetOffset:fs},bottom:{points:["tc","bc"],overflow:ds,offset:[0,4],targetOffset:fs},bottomRight:{points:["tr","br"],overflow:ds,offset:[0,4],targetOffset:fs}},rl=nl,al=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function es(it,pt){var ht,Dt=it.arrow,Jt=Dt===void 0?!1:Dt,mn=it.prefixCls,vn=mn===void 0?"rc-dropdown":mn,Xn=it.transitionName,sr=it.animation,er=it.align,Br=it.placement,rr=Br===void 0?"bottomLeft":Br,_r=it.placements,Lr=_r===void 0?rl:_r,Vr=it.getPopupContainer,Aa=it.showAction,wa=it.hideAction,Fa=it.overlayClassName,Ta=it.overlayStyle,pa=it.visible,Ar=it.trigger,io=Ar===void 0?["hover"]:Ar,no=it.autoFocus,so=it.overlay,mo=it.children,Ro=it.onVisibleChange,Va=(0,ce.Z)(it,al),Ma=Ce.useState(),po=(0,ue.Z)(Ma,2),bo=po[0],ro=po[1],Ia="visible"in it?pa:bo,Xa=Ce.useRef(null),va=Ce.useRef(null),Lo=Ce.useRef(null);Ce.useImperativeHandle(pt,function(){return Xa.current});var za=function(Ya){ro(Ya),Ro==null||Ro(Ya)};Qi({visible:Ia,triggerRef:Lo,onVisibleChange:za,autoFocus:no,overlayRef:va});var Ao=function(Ya){var To=it.onOverlayClick;ro(!1),To&&To(Ya)},Qo=function(){return Ce.createElement(Hs,{ref:va,overlay:so,prefixCls:vn,arrow:Jt})},Bo=function(){return typeof so=="function"?Qo:Qo()},ci=function(){var Ya=it.minOverlayWidthMatchTrigger,To=it.alignPoint;return"minOverlayWidthMatchTrigger"in it?Ya:!To},di=function(){var Ya=it.openClassName;return Ya!==void 0?Ya:"".concat(vn,"-open")},Ka=Ce.cloneElement(mo,{className:me()((ht=mo.props)===null||ht===void 0?void 0:ht.className,Ia&&di()),ref:pe(mo)?ge(Lo,mo.ref):void 0}),oi=wa;return!oi&&io.indexOf("contextMenu")!==-1&&(oi=["click"]),Ce.createElement(ki,(0,oe.Z)({builtinPlacements:Lr},Va,{prefixCls:vn,ref:Xa,popupClassName:me()(Fa,(0,te.Z)({},"".concat(vn,"-show-arrow"),Jt)),popupStyle:Ta,action:io,showAction:Aa,hideAction:oi,popupPlacement:rr,popupAlign:er,popupTransitionName:Xn,popupAnimation:sr,popupVisible:Ia,stretch:ci()?"minWidth":"",popup:Bo(),onPopupVisibleChange:za,onPopupClick:Ao,getPopupContainer:Vr}),Ka)}var Ss=Ce.forwardRef(es),As=Ss,ol=be(60276),il=be(5663),sl=be(10366),ll=be(80636),ul=be(8745),cl=be(96159),Vs=be(53124),dl=be(68508),fl=be(76529),Xs=be(46605),Ns=be(66748);const gl=null,Is=it=>{const{menu:pt,arrow:ht,prefixCls:Dt,children:Jt,trigger:mn,disabled:vn,dropdownRender:Xn,getPopupContainer:sr,overlayClassName:er,rootClassName:Br,open:rr,onOpenChange:_r,visible:Lr,onVisibleChange:Vr,mouseEnterDelay:Aa=.15,mouseLeaveDelay:wa=.1,autoAdjustOverflow:Fa=!0,placement:Ta="",overlay:pa,transitionName:Ar}=it,{getPopupContainer:io,getPrefixCls:no,direction:so}=Ce.useContext(Vs.E_),mo=Ce.useMemo(()=>{const Ka=no();return Ar!==void 0?Ar:Ta.includes("top")?`${Ka}-slide-down`:`${Ka}-slide-up`},[no,Ta,Ar]),Ro=Ce.useMemo(()=>Ta?Ta.includes("Center")?Ta.slice(0,Ta.indexOf("Center")):Ta:so==="rtl"?"bottomRight":"bottomLeft",[Ta,so]),Va=no("dropdown",Dt),[Ma,po]=(0,Ns.Z)(Va),[,bo]=(0,Xs.Z)(),ro=Ce.Children.only(Jt),Ia=(0,cl.Tm)(ro,{className:me()(`${Va}-trigger`,{[`${Va}-rtl`]:so==="rtl"},ro.props.className),disabled:vn}),Xa=vn?[]:mn;let va;Xa&&Xa.includes("contextMenu")&&(va=!0);const[Lo,za]=(0,il.Z)(!1,{value:rr!=null?rr:Lr}),Ao=(0,ol.useEvent)(Ka=>{_r==null||_r(Ka),Vr==null||Vr(Ka),za(Ka)}),Qo=me()(er,Br,po,{[`${Va}-rtl`]:so==="rtl"}),Bo=(0,ll.Z)({arrowPointAtCenter:typeof ht=="object"&&ht.pointAtCenter,autoAdjustOverflow:Fa,offset:bo.marginXXS,arrowWidth:ht?bo.sizePopupArrow:0,borderRadius:bo.borderRadius}),ci=Ce.useCallback(()=>{za(!1)},[]),di=()=>{let Ka;return pt!=null&&pt.items?Ka=Ce.createElement(dl.default,Object.assign({},pt)):typeof pa=="function"?Ka=pa():Ka=pa,Xn&&(Ka=Xn(Ka)),Ka=Ce.Children.only(typeof Ka=="string"?Ce.createElement("span",null,Ka):Ka),Ce.createElement(fl.J,{prefixCls:`${Va}-menu`,expandIcon:Ce.createElement("span",{className:`${Va}-menu-submenu-arrow`},Ce.createElement(E.Z,{className:`${Va}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ci,validator:oi=>{let{mode:Co}=oi}},Ka)};return Ma(Ce.createElement(As,Object.assign({alignPoint:va},(0,sl.Z)(it,["rootClassName"]),{mouseEnterDelay:Aa,mouseLeaveDelay:wa,visible:Lo,builtinPlacements:Bo,arrow:!!ht,overlayClassName:Qo,prefixCls:Va,getPopupContainer:sr||io,transitionName:mo,trigger:Xa,overlay:di,placement:Ro,onVisibleChange:Ao}),Ia))};function ml(it){return Object.assign(Object.assign({},it),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const pl=(0,ul.Z)(Is,"dropdown",it=>it,ml),Ys=it=>Ce.createElement(pl,Object.assign({},it),Ce.createElement("span",null));Is._InternalPanelDoNotUseOrYouWillBeFired=Ys;var hl=Is},85418:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return a}});var Ce=be(56153),Ze=be(94184),E=be.n(Ze),ye=be(67294),me=be(25877),oe=be(71577),te=be(53124),ue=be(93421),ce=be(4173),le=be(66748),de=function(y,x){var b={};for(var z in y)Object.prototype.hasOwnProperty.call(y,z)&&x.indexOf(z)<0&&(b[z]=y[z]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,z=Object.getOwnPropertySymbols(y);ee{const{getPopupContainer:x,getPrefixCls:b,direction:z}=ye.useContext(te.E_),{prefixCls:ee,type:re="default",danger:se,disabled:fe,loading:ve,onClick:ge,htmlType:he,children:pe,className:Se,menu:Pe,arrow:je,autoFocus:we,overlay:Oe,trigger:Ae,align:Fe,open:ke,onOpenChange:He,placement:Me,getPopupContainer:ut,href:rt,icon:et=ye.createElement(me.Z,null),title:Xe,buttonsRender:_e=bt=>bt,mouseEnterDelay:$e,mouseLeaveDelay:Be,overlayClassName:nt,overlayStyle:Je,destroyPopupOnHide:ft,dropdownRender:Ke}=y,Ue=de(y,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Le=b("dropdown",ee),ze=`${Le}-button`,[Ee,Re]=(0,le.Z)(Le),qe={menu:Pe,arrow:je,autoFocus:we,align:Fe,disabled:fe,trigger:fe?[]:Ae,onOpenChange:He,getPopupContainer:ut||x,mouseEnterDelay:$e,mouseLeaveDelay:Be,overlayClassName:nt,overlayStyle:Je,destroyPopupOnHide:ft,dropdownRender:Ke},{compactSize:Ye,compactItemClassnames:We}=(0,ce.ri)(Le,z),Te=E()(ze,We,Se,Re);"overlay"in y&&(qe.overlay=Oe),"open"in y&&(qe.open=ke),"placement"in y?qe.placement=Me:qe.placement=z==="rtl"?"bottomLeft":"bottomRight";const xe=ye.createElement(oe.ZP,{type:re,danger:se,disabled:fe,loading:ve,onClick:ge,htmlType:he,href:rt,title:Xe},pe),Ne=ye.createElement(oe.ZP,{type:re,danger:se,icon:et}),[Ge,st]=_e([xe,Ne]);return Ee(ye.createElement(ue.Z.Compact,Object.assign({className:Te,size:Ye,block:!0},Ue),Ge,ye.createElement(Ce.Z,Object.assign({},qe),st)))};ae.__ANT_BUTTON=!0;var ie=ae;const ne=Ce.Z;ne.Button=ie;var a=ne},66748:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return de}});var Ce=be(14747),Ze=be(67771),E=be(33297),ye=be(50438),me=be(97414),oe=be(67968),te=be(45503),ce=ae=>{const{componentCls:ie,menuCls:ne,colorError:a,colorTextLightSolid:y}=ae,x=`${ne}-item`;return{[`${ie}, ${ie}-menu-submenu`]:{[`${ne} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const le=ae=>{const{componentCls:ie,menuCls:ne,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:z,motionDurationMid:ee,dropdownPaddingVertical:re,fontSize:se,dropdownEdgeChildPadding:fe,colorTextDisabled:ve,fontSizeIcon:ge,controlPaddingHorizontal:he,colorBgElevated:pe}=ae;return[{[ie]:Object.assign(Object.assign({},(0,Ce.Wf)(ae)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${z}-down, & > ${b}-btn-icon > ${z}-down`]:{fontSize:ge}},[`${ie}-wrap`]:{position:"relative",[`${b}-btn > ${z}-down`]:{fontSize:ge},[`${z}-down::before`]:{transition:`transform ${ee}`}},[`${ie}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${ie}-placement-bottomLeft, &${b}-slide-down-appear${b}-slide-down-appear-active${ie}-placement-bottomLeft, &${b}-slide-down-enter${b}-slide-down-enter-active${ie}-placement-bottom, &${b}-slide-down-appear${b}-slide-down-appear-active${ie}-placement-bottom, &${b}-slide-down-enter${b}-slide-down-enter-active${ie}-placement-bottomRight, &${b}-slide-down-appear${b}-slide-down-appear-active${ie}-placement-bottomRight`]:{animationName:Ze.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${ie}-placement-topLeft, &${b}-slide-up-appear${b}-slide-up-appear-active${ie}-placement-topLeft, &${b}-slide-up-enter${b}-slide-up-enter-active${ie}-placement-top, &${b}-slide-up-appear${b}-slide-up-appear-active${ie}-placement-top, &${b}-slide-up-enter${b}-slide-up-enter-active${ie}-placement-topRight, &${b}-slide-up-appear${b}-slide-up-appear-active${ie}-placement-topRight`]:{animationName:Ze.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${ie}-placement-bottomLeft, &${b}-slide-down-leave${b}-slide-down-leave-active${ie}-placement-bottom, &${b}-slide-down-leave${b}-slide-down-leave-active${ie}-placement-bottomRight`]:{animationName:Ze.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${ie}-placement-topLeft, &${b}-slide-up-leave${b}-slide-up-leave-active${ie}-placement-top, &${b}-slide-up-leave${b}-slide-up-leave-active${ie}-placement-topRight`]:{animationName:Ze.ly}})},(0,me.ZP)(ae,{colorBg:pe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ie} ${ne}`]:{position:"relative",margin:0},[`${ne}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ie}, ${ie}-menu-submenu`]:{[ne]:Object.assign(Object.assign({padding:fe,listStyleType:"none",backgroundColor:pe,backgroundClip:"padding-box",borderRadius:ae.borderRadiusLG,outline:"none",boxShadow:ae.boxShadowSecondary},(0,Ce.Qy)(ae)),{[`${ne}-item-group-title`]:{padding:`${re}px ${he}px`,color:ae.colorTextDescription,transition:`all ${ee}`},[`${ne}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ne}-item-icon`]:{minWidth:se,marginInlineEnd:ae.marginXS,fontSize:ae.fontSizeSM},[`${ne}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ee}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ne}-item, ${ne}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${he}px`,color:ae.colorText,fontWeight:"normal",fontSize:se,lineHeight:ae.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:ae.borderRadiusSM,"&:hover, &-active":{backgroundColor:ae.controlItemBgHover}},(0,Ce.Qy)(ae)),{"&-selected":{color:ae.colorPrimary,backgroundColor:ae.controlItemBgActive,"&:hover, &-active":{backgroundColor:ae.controlItemBgActiveHover}},"&-disabled":{color:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${ae.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:ae.colorSplit},[`${ie}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ae.paddingXS,[`${ie}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ae.colorTextDescription,fontSize:ge,fontStyle:"normal"}}}),[`${ne}-item-group-list`]:{margin:`0 ${ae.marginXS}px`,padding:0,listStyle:"none"},[`${ne}-submenu-title`]:{paddingInlineEnd:he+ae.fontSizeSM},[`${ne}-submenu-vertical`]:{position:"relative"},[`${ne}-submenu${ne}-submenu-disabled ${ie}-menu-submenu-title`]:{[`&, ${ie}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:pe,cursor:"not-allowed"}},[`${ne}-submenu-selected ${ie}-menu-submenu-title`]:{color:ae.colorPrimary}})}},[(0,Ze.oN)(ae,"slide-up"),(0,Ze.oN)(ae,"slide-down"),(0,E.Fm)(ae,"move-up"),(0,E.Fm)(ae,"move-down"),(0,ye._y)(ae,"zoom-big")]]};var de=(0,oe.Z)("Dropdown",(ae,ie)=>{let{rootPrefixCls:ne}=ie;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:z,paddingXXS:ee,componentCls:re,borderRadiusLG:se}=ae,fe=(x-b*z)/2,{dropdownArrowOffset:ve}=(0,me.fS)({contentRadius:se}),ge=(0,te.TS)(ae,{menuCls:`${re}-menu`,rootPrefixCls:ne,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ve,dropdownPaddingVertical:fe,dropdownEdgeChildPadding:ee});return[le(ge),ce(ge)]},ae=>({zIndexPopup:ae.zIndexPopupBase+50}))},25378:function(jt,wt,be){"use strict";var Ce=be(67294),Ze=be(14075),E=be(57838),ye=be(74443);function me(){let oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const te=(0,Ce.useRef)({}),ue=(0,E.Z)(),ce=(0,ye.ZP)();return(0,Ze.Z)(()=>{const le=ce.subscribe(de=>{te.current=de,oe&&ue()});return()=>ce.unsubscribe(le)},[]),te.current}wt.Z=me},71322:function(jt,wt,be){"use strict";be.d(wt,{D:function(){return z},Z:function(){return se}});var Ce=be(87462),Ze=be(67294),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},ye=E,me=be(74643),oe=function(ve,ge){return Ze.createElement(me.Z,(0,Ce.Z)({},ve,{ref:ge,icon:ye}))},te=Ze.forwardRef(oe),ue=be(22751),ce=be(91034),le=be(94184),de=be.n(le),ae=be(10366),ne=fe=>!isNaN(parseFloat(fe))&&isFinite(fe),a=be(53124),y=be(84321),x=function(fe,ve){var ge={};for(var he in fe)Object.prototype.hasOwnProperty.call(fe,he)&&ve.indexOf(he)<0&&(ge[he]=fe[he]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,he=Object.getOwnPropertySymbols(fe);pe{let fe=0;return function(){let ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return fe+=1,`${ve}${fe}`}})();var se=Ze.forwardRef((fe,ve)=>{const{prefixCls:ge,className:he,trigger:pe,children:Se,defaultCollapsed:Pe=!1,theme:je="dark",style:we={},collapsible:Oe=!1,reverseArrow:Ae=!1,width:Fe=200,collapsedWidth:ke=80,zeroWidthTriggerStyle:He,breakpoint:Me,onCollapse:ut,onBreakpoint:rt}=fe,et=x(fe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Xe}=(0,Ze.useContext)(y.Gs),[_e,$e]=(0,Ze.useState)("collapsed"in fe?fe.collapsed:Pe),[Be,nt]=(0,Ze.useState)(!1);(0,Ze.useEffect)(()=>{"collapsed"in fe&&$e(fe.collapsed)},[fe.collapsed]);const Je=(Ee,Re)=>{"collapsed"in fe||$e(Ee),ut==null||ut(Ee,Re)},ft=(0,Ze.useRef)();ft.current=Ee=>{nt(Ee.matches),rt==null||rt(Ee.matches),_e!==Ee.matches&&Je(Ee.matches,"responsive")},(0,Ze.useEffect)(()=>{function Ee(qe){return ft.current(qe)}let Re;if(typeof window!="undefined"){const{matchMedia:qe}=window;if(qe&&Me&&Me in b){Re=qe(`(max-width: ${b[Me]})`);try{Re.addEventListener("change",Ee)}catch(Ye){Re.addListener(Ee)}Ee(Re)}}return()=>{try{Re==null||Re.removeEventListener("change",Ee)}catch(qe){Re==null||Re.removeListener(Ee)}}},[Me]),(0,Ze.useEffect)(()=>{const Ee=ee("ant-sider-");return Xe.addSider(Ee),()=>Xe.removeSider(Ee)},[]);const Ke=()=>{Je(!_e,"clickTrigger")},{getPrefixCls:Ue}=(0,Ze.useContext)(a.E_),Le=()=>{const Ee=Ue("layout-sider",ge),Re=(0,ae.Z)(et,["collapsed"]),qe=_e?ke:Fe,Ye=ne(qe)?`${qe}px`:String(qe),We=parseFloat(String(ke||0))===0?Ze.createElement("span",{onClick:Ke,className:de()(`${Ee}-zero-width-trigger`,`${Ee}-zero-width-trigger-${Ae?"right":"left"}`),style:He},pe||Ze.createElement(te,null)):null,Ne={expanded:Ae?Ze.createElement(ce.Z,null):Ze.createElement(ue.Z,null),collapsed:Ae?Ze.createElement(ue.Z,null):Ze.createElement(ce.Z,null)}[_e?"collapsed":"expanded"],Ge=pe!==null?We||Ze.createElement("div",{className:`${Ee}-trigger`,onClick:Ke,style:{width:Ye}},pe||Ne):null,st=Object.assign(Object.assign({},we),{flex:`0 0 ${Ye}`,maxWidth:Ye,minWidth:Ye,width:Ye}),bt=de()(Ee,`${Ee}-${je}`,{[`${Ee}-collapsed`]:!!_e,[`${Ee}-has-trigger`]:Oe&&pe!==null&&!We,[`${Ee}-below`]:!!Be,[`${Ee}-zero-width`]:parseFloat(Ye)===0},he);return Ze.createElement("aside",Object.assign({className:bt},Re,{style:st,ref:ve}),Ze.createElement("div",{className:`${Ee}-children`},Se),Oe||Be&&We?Ge:null)},ze=Ze.useMemo(()=>({siderCollapsed:_e}),[_e]);return Ze.createElement(z.Provider,{value:ze},Le())})},84321:function(jt,wt,be){"use strict";be.d(wt,{VY:function(){return ee},$_:function(){return z},h4:function(){return b},Gs:function(){return ie},ZP:function(){return re}});var Ce=be(74902),Ze=be(94184),E=be.n(Ze),ye=be(10366),me=be(67294),oe=be(53124),te=be(67968),ce=se=>{const{componentCls:fe,bodyBg:ve,lightSiderBg:ge,lightTriggerBg:he,lightTriggerColor:pe}=se;return{[`${fe}-sider-light`]:{background:ge,[`${fe}-sider-trigger`]:{color:pe,background:he},[`${fe}-sider-zero-width-trigger`]:{color:pe,background:he,border:`1px solid ${ve}`,borderInlineStart:0}}}};const le=se=>{const{antCls:fe,componentCls:ve,colorText:ge,triggerColor:he,footerBg:pe,triggerBg:Se,headerHeight:Pe,headerPadding:je,headerColor:we,footerPadding:Oe,triggerHeight:Ae,zeroTriggerHeight:Fe,zeroTriggerWidth:ke,motionDurationMid:He,motionDurationSlow:Me,fontSize:ut,borderRadius:rt,bodyBg:et,headerBg:Xe,siderBg:_e}=se;return{[ve]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:et,"&, *":{boxSizing:"border-box"},[`&${ve}-has-sider`]:{flexDirection:"row",[`> ${ve}, > ${ve}-content`]:{width:0}},[`${ve}-header, &${ve}-footer`]:{flex:"0 0 auto"},[`${ve}-sider`]:{position:"relative",minWidth:0,background:_e,transition:`all ${He}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${fe}-menu${fe}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ae},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ae,color:he,lineHeight:`${Ae}px`,textAlign:"center",background:Se,cursor:"pointer",transition:`all ${He}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Pe,insetInlineEnd:-ke,zIndex:1,width:ke,height:Fe,color:he,fontSize:se.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:_e,borderStartStartRadius:0,borderStartEndRadius:rt,borderEndEndRadius:rt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Me} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Me}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-ke,borderStartStartRadius:rt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:rt}}}}},ce(se)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:Pe,padding:je,color:we,lineHeight:`${Pe}px`,background:Xe,[`${fe}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:Oe,color:ge,fontSize:ut,background:pe},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var de=(0,te.Z)("Layout",se=>[le(se)],se=>{const{colorBgLayout:fe,controlHeight:ve,controlHeightLG:ge,colorText:he,controlHeightSM:pe,marginXXS:Se,colorTextLightSolid:Pe,colorBgContainer:je}=se,we=ge*1.25;return{colorBgHeader:"#001529",colorBgBody:fe,colorBgTrigger:"#002140",bodyBg:fe,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${we}px`,headerColor:he,footerPadding:`${pe}px ${we}px`,footerBg:fe,siderBg:"#001529",triggerHeight:ge+Se*2,triggerBg:"#002140",triggerColor:Pe,zeroTriggerWidth:ge,zeroTriggerHeight:ge,lightSiderBg:je,lightTriggerBg:je,lightTriggerColor:he}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),ae=function(se,fe){var ve={};for(var ge in se)Object.prototype.hasOwnProperty.call(se,ge)&&fe.indexOf(ge)<0&&(ve[ge]=se[ge]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ge=Object.getOwnPropertySymbols(se);henull,removeSider:()=>null}});function ne(se){let{suffixCls:fe,tagName:ve,displayName:ge}=se;return he=>me.forwardRef((Se,Pe)=>me.createElement(he,Object.assign({ref:Pe,suffixCls:fe,tagName:ve},Se)))}const a=me.forwardRef((se,fe)=>{const{prefixCls:ve,suffixCls:ge,className:he,tagName:pe}=se,Se=ae(se,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Pe}=me.useContext(oe.E_),je=Pe("layout",ve),[we,Oe]=de(je),Ae=ge?`${je}-${ge}`:je;return we(me.createElement(pe,Object.assign({className:E()(ve||Ae,he,Oe),ref:fe},Se)))}),y=me.forwardRef((se,fe)=>{const{direction:ve}=me.useContext(oe.E_),[ge,he]=me.useState([]),{prefixCls:pe,className:Se,rootClassName:Pe,children:je,hasSider:we,tagName:Oe,style:Ae}=se,Fe=ae(se,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ke=(0,ye.Z)(Fe,["suffixCls"]),{getPrefixCls:He,layout:Me}=me.useContext(oe.E_),ut=He("layout",pe),[rt,et]=de(ut),Xe=E()(ut,{[`${ut}-has-sider`]:typeof we=="boolean"?we:ge.length>0,[`${ut}-rtl`]:ve==="rtl"},Me==null?void 0:Me.className,Se,Pe,et),_e=me.useMemo(()=>({siderHook:{addSider:$e=>{he(Be=>[].concat((0,Ce.Z)(Be),[$e]))},removeSider:$e=>{he(Be=>Be.filter(nt=>nt!==$e))}}}),[]);return rt(me.createElement(ie.Provider,{value:_e},me.createElement(Oe,Object.assign({ref:fe,className:Xe,style:Object.assign(Object.assign({},Me==null?void 0:Me.style),Ae)},ke),je)))}),x=ne({tagName:"div",displayName:"Layout"})(y),b=ne({suffixCls:"header",tagName:"header",displayName:"Header"})(a),z=ne({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),ee=ne({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var re=x},76529:function(jt,wt,be){"use strict";be.d(wt,{J:function(){return oe}});var Ce=be(67294),Ze=be(4173),E=be(60276),ye=function(te,ue){var ce={};for(var le in te)Object.prototype.hasOwnProperty.call(te,le)&&ue.indexOf(le)<0&&(ce[le]=te[le]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,le=Object.getOwnPropertySymbols(te);de{const{children:ce}=te,le=ye(te,["children"]),de=Ce.useContext(me),ae=Ce.useMemo(()=>Object.assign(Object.assign({},de),le),[de,le.prefixCls,le.mode,le.selectable]);return Ce.createElement(me.Provider,{value:ae},Ce.createElement(Ze.BR,null,(0,E.supportNodeRef)(ce)?Ce.cloneElement(ce,{ref:ue}):ce))});wt.Z=me},68508:function(jt,wt,be){"use strict";be.d(wt,{default:function(){return Ee}});var Ce=be(52073),Ze=be(67294),E=be(71322),ye=be(94184),me=be.n(ye),oe=be(53124),te=function(Re,qe){var Ye={};for(var We in Re)Object.prototype.hasOwnProperty.call(Re,We)&&qe.indexOf(We)<0&&(Ye[We]=Re[We]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,We=Object.getOwnPropertySymbols(Re);Te{const{prefixCls:qe,className:Ye,dashed:We}=Re,Te=te(Re,["prefixCls","className","dashed"]),{getPrefixCls:xe}=Ze.useContext(oe.E_),Ne=xe("menu",qe),Ge=me()({[`${Ne}-item-divider-dashed`]:!!We},Ye);return Ze.createElement(Ce.iz,Object.assign({className:Ge},Te))},le=be(37419),de=be(10366),ae=be(83062),ie=be(96159),a=(0,Ze.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Re=>{var qe;const{className:Ye,children:We,icon:Te,title:xe,danger:Ne}=Re,{prefixCls:Ge,firstLevel:st,direction:bt,disableMenuItemTitleTooltip:dt,inlineCollapsed:Qe}=Ze.useContext(a),mt=Ve=>{const yt=Ze.createElement("span",{className:`${Ge}-title-content`},We);return(!Te||(0,ie.l$)(We)&&We.type==="span")&&We&&Ve&&st&&typeof We=="string"?Ze.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},We.charAt(0)):yt},{siderCollapsed:Lt}=Ze.useContext(E.D);let Mt=xe;typeof xe=="undefined"?Mt=st?We:"":xe===!1&&(Mt="");const at={title:Mt};!Lt&&!Qe&&(at.title=null,at.open=!1);const Ct=(0,le.Z)(We).length;let ot=Ze.createElement(Ce.ck,Object.assign({},(0,de.Z)(Re,["title","icon","danger"]),{className:me()({[`${Ge}-item-danger`]:Ne,[`${Ge}-item-only-child`]:(Te?Ct+1:Ct)===1},Ye),title:typeof xe=="string"?xe:void 0}),(0,ie.Tm)(Te,{className:me()((0,ie.l$)(Te)?(qe=Te.props)===null||qe===void 0?void 0:qe.className:"",`${Ge}-item-icon`)}),mt(Qe));return dt||(ot=Ze.createElement(ae.Z,Object.assign({},at,{placement:bt==="rtl"?"left":"right",overlayClassName:`${Ge}-inline-collapsed-tooltip`}),ot)),ot},z=Re=>{var qe;const{popupClassName:Ye,icon:We,title:Te,theme:xe}=Re,Ne=Ze.useContext(a),{prefixCls:Ge,inlineCollapsed:st,theme:bt}=Ne,dt=(0,Ce.Xl)();let Qe;if(!We)Qe=st&&!dt.length&&Te&&typeof Te=="string"?Ze.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},Te.charAt(0)):Ze.createElement("span",{className:`${Ge}-title-content`},Te);else{const Lt=(0,ie.l$)(Te)&&Te.type==="span";Qe=Ze.createElement(Ze.Fragment,null,(0,ie.Tm)(We,{className:me()((0,ie.l$)(We)?(qe=We.props)===null||qe===void 0?void 0:qe.className:"",`${Ge}-item-icon`)}),Lt?Te:Ze.createElement("span",{className:`${Ge}-title-content`},Te))}const mt=Ze.useMemo(()=>Object.assign(Object.assign({},Ne),{firstLevel:!1}),[Ne]);return Ze.createElement(a.Provider,{value:mt},Ze.createElement(Ce.Wd,Object.assign({},(0,de.Z)(Re,["icon"]),{title:Qe,popupClassName:me()(Ge,Ye,`${Ge}-${xe||bt}`)})))},ee=be(25877),re=be(60276),se=be(33603),fe=be(76529),ve=function(Re,qe){var Ye={};for(var We in Re)Object.prototype.hasOwnProperty.call(Re,We)&&qe.indexOf(We)<0&&(Ye[We]=Re[We]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,We=Object.getOwnPropertySymbols(Re);Te{if(qe&&typeof qe=="object"){const We=qe,{label:Te,children:xe,key:Ne,type:Ge}=We,st=ve(We,["label","children","key","type"]),bt=Ne!=null?Ne:`tmp-${Ye}`;return xe||Ge==="group"?Ge==="group"?Ze.createElement(Ce.BW,Object.assign({key:bt},st,{title:Te}),ge(xe)):Ze.createElement(z,Object.assign({key:bt},st,{title:Te}),ge(xe)):Ge==="divider"?Ze.createElement(ce,Object.assign({key:bt},st)):Ze.createElement(x,Object.assign({key:bt},st),Te)}return null}).filter(qe=>qe)}function he(Re){return Ze.useMemo(()=>Re&&ge(Re),[Re])}var pe=be(84780),Se=be(14747),Pe=be(33507),je=be(67771),we=be(50438),Oe=be(67968),Ae=be(45503),ke=Re=>{const{componentCls:qe,motionDurationSlow:Ye,horizontalLineHeight:We,colorSplit:Te,lineWidth:xe,lineType:Ne,itemPaddingInline:Ge}=Re;return{[`${qe}-horizontal`]:{lineHeight:We,border:0,borderBottom:`${xe}px ${Ne} ${Te}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${qe}-item, ${qe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ge},[`> ${qe}-item:hover, > ${qe}-item-active, > ${qe}-submenu ${qe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${qe}-item, ${qe}-submenu-title`]:{transition:[`border-color ${Ye}`,`background ${Ye}`].join(",")},[`${qe}-submenu-arrow`]:{display:"none"}}}},Me=Re=>{let{componentCls:qe,menuArrowOffset:Ye}=Re;return{[`${qe}-rtl`]:{direction:"rtl"},[`${qe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${qe}-rtl${qe}-vertical, ${qe}-submenu-rtl ${qe}-vertical`]:{[`${qe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Ye})`},"&::after":{transform:`rotate(45deg) translateY(${Ye})`}}}}};const ut=Re=>Object.assign({},(0,Se.oN)(Re));var et=(Re,qe)=>{const{componentCls:Ye,itemColor:We,itemSelectedColor:Te,groupTitleColor:xe,itemBg:Ne,subMenuItemBg:Ge,itemSelectedBg:st,activeBarHeight:bt,activeBarWidth:dt,activeBarBorderWidth:Qe,motionDurationSlow:mt,motionEaseInOut:Lt,motionEaseOut:Mt,itemPaddingInline:at,motionDurationMid:Ct,itemHoverColor:ot,lineType:Ve,colorSplit:yt,itemDisabledColor:Pt,dangerItemColor:At,dangerItemHoverColor:Gt,dangerItemSelectedColor:on,dangerItemActiveBg:un,dangerItemSelectedBg:Cn,itemHoverBg:Dn,itemActiveBg:Ln,menuSubMenuBg:Yn,horizontalItemSelectedColor:br,horizontalItemSelectedBg:Wr,horizontalItemBorderRadius:aa,horizontalItemHoverBg:ta,popupBg:Gr}=Re;return{[`${Ye}-${qe}, ${Ye}-${qe} > ${Ye}`]:{color:We,background:Ne,[`&${Ye}-root:focus-visible`]:Object.assign({},ut(Re)),[`${Ye}-item-group-title`]:{color:xe},[`${Ye}-submenu-selected`]:{[`> ${Ye}-submenu-title`]:{color:Te}},[`${Ye}-item-disabled, ${Ye}-submenu-disabled`]:{color:`${Pt} !important`},[`${Ye}-item:not(${Ye}-item-selected):not(${Ye}-submenu-selected)`]:{[`&:hover, > ${Ye}-submenu-title:hover`]:{color:ot}},[`&:not(${Ye}-horizontal)`]:{[`${Ye}-item:not(${Ye}-item-selected)`]:{"&:hover":{backgroundColor:Dn},"&:active":{backgroundColor:Ln}},[`${Ye}-submenu-title`]:{"&:hover":{backgroundColor:Dn},"&:active":{backgroundColor:Ln}}},[`${Ye}-item-danger`]:{color:At,[`&${Ye}-item:hover`]:{[`&:not(${Ye}-item-selected):not(${Ye}-submenu-selected)`]:{color:Gt}},[`&${Ye}-item:active`]:{background:un}},[`${Ye}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ye}-item-selected`]:{color:Te,[`&${Ye}-item-danger`]:{color:on},"a, a:hover":{color:"inherit"}},[`& ${Ye}-item-selected`]:{backgroundColor:st,[`&${Ye}-item-danger`]:{backgroundColor:Cn}},[`${Ye}-item, ${Ye}-submenu-title`]:{[`&:not(${Ye}-item-disabled):focus-visible`]:Object.assign({},ut(Re))},[`&${Ye}-submenu > ${Ye}`]:{backgroundColor:Yn},[`&${Ye}-popup > ${Ye}`]:{backgroundColor:Gr},[`&${Ye}-horizontal`]:Object.assign(Object.assign({},qe==="dark"?{borderBottom:0}:{}),{[`> ${Ye}-item, > ${Ye}-submenu`]:{top:Qe,marginTop:-Qe,marginBottom:0,borderRadius:aa,"&::after":{position:"absolute",insetInline:at,bottom:0,borderBottom:`${bt}px solid transparent`,transition:`border-color ${mt} ${Lt}`,content:'""'},"&:hover, &-active, &-open":{background:ta,"&::after":{borderBottomWidth:bt,borderBottomColor:br}},"&-selected":{color:br,backgroundColor:Wr,"&:hover":{backgroundColor:Wr},"&::after":{borderBottomWidth:bt,borderBottomColor:br}}}}),[`&${Ye}-root`]:{[`&${Ye}-inline, &${Ye}-vertical`]:{borderInlineEnd:`${Qe}px ${Ve} ${yt}`}},[`&${Ye}-inline`]:{[`${Ye}-sub${Ye}-inline`]:{background:Ge},[`${Ye}-item, ${Ye}-submenu-title`]:Qe&&dt?{width:`calc(100% + ${Qe}px)`}:{},[`${Ye}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${dt}px solid ${Te}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ct} ${Mt}`,`opacity ${Ct} ${Mt}`].join(","),content:'""'},[`&${Ye}-item-danger`]:{"&::after":{borderInlineEndColor:on}}},[`${Ye}-selected, ${Ye}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ct} ${Lt}`,`opacity ${Ct} ${Lt}`].join(",")}}}}}};const Xe=Re=>{const{componentCls:qe,itemHeight:Ye,itemMarginInline:We,padding:Te,menuArrowSize:xe,marginXS:Ne,itemMarginBlock:Ge}=Re,st=Te+xe+Ne;return{[`${qe}-item`]:{position:"relative",overflow:"hidden"},[`${qe}-item, ${qe}-submenu-title`]:{height:Ye,lineHeight:`${Ye}px`,paddingInline:Te,overflow:"hidden",textOverflow:"ellipsis",marginInline:We,marginBlock:Ge,width:`calc(100% - ${We*2}px)`},[`> ${qe}-item, > ${qe}-submenu > ${qe}-submenu-title`]:{height:Ye,lineHeight:`${Ye}px`},[`${qe}-item-group-list ${qe}-submenu-title, ${qe}-submenu-title`]:{paddingInlineEnd:st}}};var $e=Re=>{const{componentCls:qe,iconCls:Ye,itemHeight:We,colorTextLightSolid:Te,dropdownWidth:xe,controlHeightLG:Ne,motionDurationMid:Ge,motionEaseOut:st,paddingXL:bt,itemMarginInline:dt,fontSizeLG:Qe,motionDurationSlow:mt,paddingXS:Lt,boxShadowSecondary:Mt,collapsedWidth:at,collapsedIconSize:Ct}=Re,ot={height:We,lineHeight:`${We}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[qe]:{"&-inline, &-vertical":Object.assign({[`&${qe}-root`]:{boxShadow:"none"}},Xe(Re))},[`${qe}-submenu-popup`]:{[`${qe}-vertical`]:Object.assign(Object.assign({},Xe(Re)),{boxShadow:Mt})}},{[`${qe}-submenu-popup ${qe}-vertical${qe}-sub`]:{minWidth:xe,maxHeight:`calc(100vh - ${Ne*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${qe}-inline`]:{width:"100%",[`&${qe}-root`]:{[`${qe}-item, ${qe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${mt}`,`background ${mt}`,`padding ${Ge} ${st}`].join(","),[`> ${qe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${qe}-sub${qe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${qe}-submenu > ${qe}-submenu-title`]:ot,[`& ${qe}-item-group-title`]:{paddingInlineStart:bt}},[`${qe}-item`]:ot}},{[`${qe}-inline-collapsed`]:{width:at,[`&${qe}-root`]:{[`${qe}-item, ${qe}-submenu ${qe}-submenu-title`]:{[`> ${qe}-inline-collapsed-noicon`]:{fontSize:Qe,textAlign:"center"}}},[`> ${qe}-item, > ${qe}-item-group > ${qe}-item-group-list > ${qe}-item, > ${qe}-item-group > ${qe}-item-group-list > ${qe}-submenu > ${qe}-submenu-title, > ${qe}-submenu > ${qe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Qe/2}px - ${dt}px)`,textOverflow:"clip",[` ${qe}-submenu-arrow, ${qe}-submenu-expand-icon `]:{opacity:0},[`${qe}-item-icon, ${Ye}`]:{margin:0,fontSize:Ct,lineHeight:`${We}px`,"+ span":{display:"inline-block",opacity:0}}},[`${qe}-item-icon, ${Ye}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${qe}-item-icon, ${Ye}`]:{display:"none"},"a, a:hover":{color:Te}},[`${qe}-item-group-title`]:Object.assign(Object.assign({},Se.vS),{paddingInline:Lt})}}]};const Be=Re=>{const{componentCls:qe,motionDurationSlow:Ye,motionDurationMid:We,motionEaseInOut:Te,motionEaseOut:xe,iconCls:Ne,iconSize:Ge,iconMarginInlineEnd:st}=Re;return{[`${qe}-item, ${qe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ye}`,`background ${Ye}`,`padding ${Ye} ${Te}`].join(","),[`${qe}-item-icon, ${Ne}`]:{minWidth:Ge,fontSize:Ge,transition:[`font-size ${We} ${xe}`,`margin ${Ye} ${Te}`,`color ${Ye}`].join(","),"+ span":{marginInlineStart:st,opacity:1,transition:[`opacity ${Ye} ${Te}`,`margin ${Ye}`,`color ${Ye}`].join(",")}},[`${qe}-item-icon`]:Object.assign({},(0,Se.Ro)()),[`&${qe}-item-only-child`]:{[`> ${Ne}, > ${qe}-item-icon`]:{marginInlineEnd:0}}},[`${qe}-item-disabled, ${qe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${qe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},nt=Re=>{const{componentCls:qe,motionDurationSlow:Ye,motionEaseInOut:We,borderRadius:Te,menuArrowSize:xe,menuArrowOffset:Ne}=Re;return{[`${qe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Re.margin,width:xe,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ye} ${We}, opacity ${Ye}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:xe*.6,height:xe*.15,backgroundColor:"currentcolor",borderRadius:Te,transition:[`background ${Ye} ${We}`,`transform ${Ye} ${We}`,`top ${Ye} ${We}`,`color ${Ye} ${We}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Ne})`},"&::after":{transform:`rotate(-45deg) translateY(${Ne})`}}}}},Je=Re=>{const{antCls:qe,componentCls:Ye,fontSize:We,motionDurationSlow:Te,motionDurationMid:xe,motionEaseInOut:Ne,paddingXS:Ge,padding:st,colorSplit:bt,lineWidth:dt,zIndexPopup:Qe,borderRadiusLG:mt,subMenuItemBorderRadius:Lt,menuArrowSize:Mt,menuArrowOffset:at,lineType:Ct,menuPanelMaskInset:ot,groupTitleLineHeight:Ve,groupTitleFontSize:yt}=Re;return[{"":{[`${Ye}`]:Object.assign(Object.assign({},(0,Se.dF)()),{"&-hidden":{display:"none"}})},[`${Ye}-submenu-hidden`]:{display:"none"}},{[Ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Se.Wf)(Re)),(0,Se.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:We,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Te} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ye}-item`]:{flex:"none"}},[`${Ye}-item, ${Ye}-submenu, ${Ye}-submenu-title`]:{borderRadius:Re.itemBorderRadius},[`${Ye}-item-group-title`]:{padding:`${Ge}px ${st}px`,fontSize:yt,lineHeight:Ve,transition:`all ${Te}`},[`&-horizontal ${Ye}-submenu`]:{transition:[`border-color ${Te} ${Ne}`,`background ${Te} ${Ne}`].join(",")},[`${Ye}-submenu, ${Ye}-submenu-inline`]:{transition:[`border-color ${Te} ${Ne}`,`background ${Te} ${Ne}`,`padding ${xe} ${Ne}`].join(",")},[`${Ye}-submenu ${Ye}-sub`]:{cursor:"initial",transition:[`background ${Te} ${Ne}`,`padding ${Te} ${Ne}`].join(",")},[`${Ye}-title-content`]:{transition:`color ${Te}`},[`${Ye}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ye}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:bt,borderStyle:Ct,borderWidth:0,borderTopWidth:dt,marginBlock:dt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Be(Re)),{[`${Ye}-item-group`]:{[`${Ye}-item-group-list`]:{margin:0,padding:0,[`${Ye}-item, ${Ye}-submenu-title`]:{paddingInline:`${We*2}px ${st}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Qe,borderRadius:mt,boxShadow:"none",transformOrigin:"0 0",[`&${Ye}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ot}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ot},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Re.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Re.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Re.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Re.paddingXS},[`> ${Ye}`]:Object.assign(Object.assign(Object.assign({borderRadius:mt},Be(Re)),nt(Re)),{[`${Ye}-item, ${Ye}-submenu > ${Ye}-submenu-title`]:{borderRadius:Lt},[`${Ye}-submenu-title::after`]:{transition:`transform ${Te} ${Ne}`}})}}),nt(Re)),{[`&-inline-collapsed ${Ye}-submenu-arrow, &-inline ${Ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${at})`},"&::after":{transform:`rotate(45deg) translateX(-${at})`}},[`${Ye}-submenu-open${Ye}-submenu-inline > ${Ye}-submenu-title > ${Ye}-submenu-arrow`]:{transform:`translateY(-${Mt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${at})`},"&::before":{transform:`rotate(45deg) translateX(${at})`}}})},{[`${qe}-layout-header`]:{[Ye]:{lineHeight:"inherit"}}}]};var ft=(Re,qe)=>(0,Oe.Z)("Menu",We=>{if(qe===!1)return[];const{colorBgElevated:Te,colorPrimary:xe,colorTextLightSolid:Ne,controlHeightLG:Ge,fontSize:st,darkItemColor:bt,darkDangerItemColor:dt,darkItemBg:Qe,darkSubMenuItemBg:mt,darkItemSelectedColor:Lt,darkItemSelectedBg:Mt,darkDangerItemSelectedBg:at,darkItemHoverBg:Ct,darkGroupTitleColor:ot,darkItemHoverColor:Ve,darkItemDisabledColor:yt,darkDangerItemHoverColor:Pt,darkDangerItemSelectedColor:At,darkDangerItemActiveBg:Gt}=We,on=st/7*5,un=(0,Ae.TS)(We,{menuArrowSize:on,menuHorizontalHeight:Ge*1.15,menuArrowOffset:`${on*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Te}),Cn=(0,Ae.TS)(un,{itemColor:bt,itemHoverColor:Ve,groupTitleColor:ot,itemSelectedColor:Lt,itemBg:Qe,popupBg:Qe,subMenuItemBg:mt,itemActiveBg:"transparent",itemSelectedBg:Mt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ct,itemDisabledColor:yt,dangerItemColor:dt,dangerItemHoverColor:Pt,dangerItemSelectedColor:At,dangerItemActiveBg:Gt,dangerItemSelectedBg:at,menuSubMenuBg:mt,horizontalItemSelectedColor:Ne,horizontalItemSelectedBg:xe});return[Je(un),ke(un),$e(un),et(un,"light"),et(Cn,"dark"),Me(un),(0,Pe.Z)(un),(0,je.oN)(un,"slide-up"),(0,je.oN)(un,"slide-down"),(0,we._y)(un,"zoom-big")]},We=>{const{colorPrimary:Te,colorError:xe,colorTextDisabled:Ne,colorErrorBg:Ge,colorText:st,colorTextDescription:bt,colorBgContainer:dt,colorFillAlter:Qe,colorFillContent:mt,lineWidth:Lt,lineWidthBold:Mt,controlItemBgActive:at,colorBgTextHover:Ct,controlHeightLG:ot,lineHeight:Ve,colorBgElevated:yt,marginXXS:Pt,padding:At,fontSize:Gt,controlHeightSM:on,fontSizeLG:un,colorTextLightSolid:Cn,colorErrorHover:Dn}=We,Ln=new pe.C(Cn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:We.zIndexPopupBase+50,radiusItem:We.borderRadiusLG,itemBorderRadius:We.borderRadiusLG,radiusSubMenuItem:We.borderRadiusSM,subMenuItemBorderRadius:We.borderRadiusSM,colorItemText:st,itemColor:st,colorItemTextHover:st,itemHoverColor:st,colorItemTextHoverHorizontal:Te,horizontalItemHoverColor:Te,colorGroupTitle:bt,groupTitleColor:bt,colorItemTextSelected:Te,itemSelectedColor:Te,colorItemTextSelectedHorizontal:Te,horizontalItemSelectedColor:Te,colorItemBg:dt,itemBg:dt,colorItemBgHover:Ct,itemHoverBg:Ct,colorItemBgActive:mt,itemActiveBg:at,colorSubItemBg:Qe,subMenuItemBg:Qe,colorItemBgSelected:at,itemSelectedBg:at,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Mt,activeBarHeight:Mt,colorActiveBarBorderSize:Lt,activeBarBorderWidth:Lt,colorItemTextDisabled:Ne,itemDisabledColor:Ne,colorDangerItemText:xe,dangerItemColor:xe,colorDangerItemTextHover:xe,dangerItemHoverColor:xe,colorDangerItemTextSelected:xe,dangerItemSelectedColor:xe,colorDangerItemBgActive:Ge,dangerItemActiveBg:Ge,colorDangerItemBgSelected:Ge,dangerItemSelectedBg:Ge,itemMarginInline:We.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ot,groupTitleLineHeight:Ve,collapsedWidth:ot*2,popupBg:yt,itemMarginBlock:Pt,itemPaddingInline:At,horizontalLineHeight:`${ot*1.15}px`,iconSize:Gt,iconMarginInlineEnd:on-Gt,collapsedIconSize:un,groupTitleFontSize:Gt,darkItemDisabledColor:new pe.C(Cn).setAlpha(.25).toRgbString(),darkItemColor:Ln,darkDangerItemColor:xe,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Cn,darkItemSelectedBg:Te,darkDangerItemSelectedBg:xe,darkItemHoverBg:"transparent",darkGroupTitleColor:Ln,darkItemHoverColor:Cn,darkDangerItemHoverColor:Dn,darkDangerItemSelectedColor:Cn,darkDangerItemActiveBg:xe}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Re),Ke=function(Re,qe){var Ye={};for(var We in Re)Object.prototype.hasOwnProperty.call(Re,We)&&qe.indexOf(We)<0&&(Ye[We]=Re[We]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,We=Object.getOwnPropertySymbols(Re);Te{var Ye,We;const Te=Ze.useContext(fe.Z),xe=Te||{},{getPrefixCls:Ne,getPopupContainer:Ge,direction:st,menu:bt}=Ze.useContext(oe.E_),dt=Ne(),{prefixCls:Qe,className:mt,style:Lt,theme:Mt="light",expandIcon:at,_internalDisableMenuItemTitleTooltip:Ct,inlineCollapsed:ot,siderCollapsed:Ve,items:yt,children:Pt,rootClassName:At,mode:Gt,selectable:on,onClick:un,overflowedIndicatorPopupClassName:Cn}=Re,Dn=Ke(Re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ln=(0,de.Z)(Dn,["collapsedWidth"]),Yn=he(yt)||Pt;(Ye=xe.validator)===null||Ye===void 0||Ye.call(xe,{mode:Gt});const br=(0,re.useEvent)(function(){var Nn;un==null||un.apply(void 0,arguments),(Nn=xe.onClick)===null||Nn===void 0||Nn.call(xe)}),Wr=xe.mode||Gt,aa=on!=null?on:xe.selectable,ta=Ze.useMemo(()=>Ve!==void 0?Ve:ot,[ot,Ve]),Gr={horizontal:{motionName:`${dt}-slide-up`},inline:(0,se.Z)(dt),other:{motionName:`${dt}-zoom-big`}},Sa=Ne("menu",Qe||xe.prefixCls),[Pa,Cr]=ft(Sa,!Te),ca=me()(`${Sa}-${Mt}`,bt==null?void 0:bt.className,mt);let bn;if(typeof at=="function")bn=at;else if(at===null||at===!1)bn=null;else if(xe.expandIcon===null||xe.expandIcon===!1)bn=null;else{const Nn=at!=null?at:xe.expandIcon;bn=(0,ie.Tm)(Nn,{className:me()(`${Sa}-submenu-expand-icon`,(0,ie.l$)(Nn)?(We=Nn.props)===null||We===void 0?void 0:We.className:"")})}const Tn=Ze.useMemo(()=>({prefixCls:Sa,inlineCollapsed:ta||!1,direction:st,firstLevel:!0,theme:Mt,mode:Wr,disableMenuItemTitleTooltip:Ct}),[Sa,ta,st,Ct,Mt]);return Pa(Ze.createElement(fe.Z.Provider,{value:null},Ze.createElement(a.Provider,{value:Tn},Ze.createElement(Ce.ZP,Object.assign({getPopupContainer:Ge,overflowedIndicator:Ze.createElement(ee.Z,null),overflowedIndicatorPopupClassName:me()(Sa,`${Sa}-${Mt}`,Cn),mode:Wr,selectable:aa,onClick:br},Ln,{inlineCollapsed:ta,style:Object.assign(Object.assign({},bt==null?void 0:bt.style),Lt),className:ca,prefixCls:Sa,direction:st,defaultMotions:Gr,expandIcon:bn,ref:qe,rootClassName:me()(At,Cr)}),Yn))))});const ze=(0,Ze.forwardRef)((Re,qe)=>{const Ye=(0,Ze.useRef)(null),We=Ze.useContext(E.D);return(0,Ze.useImperativeHandle)(qe,()=>({menu:Ye.current,focus:Te=>{var xe;(xe=Ye.current)===null||xe===void 0||xe.focus(Te)}})),Ze.createElement(Le,Object.assign({ref:Ye},Re,We))});ze.Item=x,ze.SubMenu=z,ze.Divider=ce,ze.ItemGroup=Ce.BW;var Ee=ze},28452:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return dt}});var Ce=be(87462),Ze=be(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},ye=E,me=be(74643),oe=function(mt,Lt){return Ze.createElement(me.Z,(0,Ce.Z)({},mt,{ref:Lt,icon:ye}))},te=Ze.forwardRef(oe),ue=be(81893),ce=be(22751),le=be(91034),de=be(94184),ae=be.n(de),ie=be(4942),ne=be(1413),a=be(15671),y=be(43144),x=be(60136),b=be(51630),z=`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`,ee=`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`,re="".concat(z," ").concat(ee).split(/[\s\n]+/),se="aria-",fe="data-";function ve(Qe,mt){return Qe.indexOf(mt)===0}function ge(Qe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Lt;mt===!1?Lt={aria:!0,data:!0,attr:!0}:mt===!0?Lt={aria:!0}:Lt=(0,ne.Z)({},mt);var Mt={};return Object.keys(Qe).forEach(function(at){(Lt.aria&&(at==="role"||ve(at,se))||Lt.data&&ve(at,fe)||Lt.attr&&re.includes(at))&&(Mt[at]=Qe[at])}),Mt}var he={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},pe=he,Se=be(81626),Pe=function(Qe){(0,x.Z)(Lt,Qe);var mt=(0,b.Z)(Lt);function Lt(){var Mt;(0,a.Z)(this,Lt);for(var at=arguments.length,Ct=new Array(at),ot=0;ot=0||Ve.relatedTarget.className.indexOf("".concat(Gt,"-item"))>=0))&&At(Mt.getValidValue()))},Mt.go=function(Ve){var yt=Mt.state.goInputText;yt!==""&&(Ve.keyCode===pe.ENTER||Ve.type==="click")&&(Mt.setState({goInputText:""}),Mt.props.quickGo(Mt.getValidValue()))},Mt}return(0,y.Z)(Lt,[{key:"getPageSizeOptions",value:function(){var at=this.props,Ct=at.pageSize,ot=at.pageSizeOptions;return ot.some(function(Ve){return Ve.toString()===Ct.toString()})?ot:ot.concat([Ct.toString()]).sort(function(Ve,yt){var Pt=Number.isNaN(Number(Ve))?0:Number(Ve),At=Number.isNaN(Number(yt))?0:Number(yt);return Pt-At})}},{key:"render",value:function(){var at=this,Ct=this.props,ot=Ct.pageSize,Ve=Ct.locale,yt=Ct.rootPrefixCls,Pt=Ct.changeSize,At=Ct.quickGo,Gt=Ct.goButton,on=Ct.selectComponentClass,un=Ct.buildOptionText,Cn=Ct.selectPrefixCls,Dn=Ct.disabled,Ln=this.state.goInputText,Yn="".concat(yt,"-options"),br=on,Wr=null,aa=null,ta=null;if(!Pt&&!At)return null;var Gr=this.getPageSizeOptions();if(Pt&&br){var Sa=Gr.map(function(Pa,Cr){return Ze.createElement(br.Option,{key:Cr,value:Pa.toString()},(un||at.buildOptionText)(Pa))});Wr=Ze.createElement(br,{disabled:Dn,prefixCls:Cn,showSearch:!1,className:"".concat(Yn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ot||Gr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Cr){return Cr.parentNode},"aria-label":Ve.page_size,defaultOpen:!1},Sa)}return At&&(Gt&&(ta=typeof Gt=="boolean"?Ze.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Dn,className:"".concat(Yn,"-quick-jumper-button")},Ve.jump_to_confirm):Ze.createElement("span",{onClick:this.go,onKeyUp:this.go},Gt)),aa=Ze.createElement("div",{className:"".concat(Yn,"-quick-jumper")},Ve.jump_to,Ze.createElement("input",{disabled:Dn,type:"text",value:Ln,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Ve.page}),Ve.page,ta)),Ze.createElement("li",{className:"".concat(Yn)},Wr,aa)}}]),Lt}(Ze.Component);Pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var je=Pe,we=function(mt){var Lt,Mt=mt.rootPrefixCls,at=mt.page,Ct=mt.active,ot=mt.className,Ve=mt.showTitle,yt=mt.onClick,Pt=mt.onKeyPress,At=mt.itemRender,Gt="".concat(Mt,"-item"),on=ae()(Gt,"".concat(Gt,"-").concat(at),(Lt={},(0,ie.Z)(Lt,"".concat(Gt,"-active"),Ct),(0,ie.Z)(Lt,"".concat(Gt,"-disabled"),!at),(0,ie.Z)(Lt,mt.className,ot),Lt)),un=function(){yt(at)},Cn=function(Yn){Pt(Yn,yt,at)},Dn=At(at,"page",Ze.createElement("a",{rel:"nofollow"},at));return Dn?Ze.createElement("li",{title:Ve?at.toString():null,className:on,onClick:un,onKeyPress:Cn,tabIndex:0},Dn):null},Oe=we;function Ae(){}function Fe(Qe){var mt=Number(Qe);return typeof mt=="number"&&!Number.isNaN(mt)&&isFinite(mt)&&Math.floor(mt)===mt}var ke=function(mt,Lt,Mt){return Mt};function He(Qe,mt,Lt){var Mt=typeof Qe=="undefined"?mt.pageSize:Qe;return Math.floor((Lt.total-1)/Mt)+1}var Me=function(Qe){(0,x.Z)(Lt,Qe);var mt=(0,b.Z)(Lt);function Lt(Mt){var at;(0,a.Z)(this,Lt),at=mt.call(this,Mt),at.paginationNode=Ze.createRef(),at.getJumpPrevPage=function(){return Math.max(1,at.state.current-(at.props.showLessItems?3:5))},at.getJumpNextPage=function(){return Math.min(He(void 0,at.state,at.props),at.state.current+(at.props.showLessItems?3:5))},at.getItemIcon=function(Pt,At){var Gt=at.props.prefixCls,on=Pt||Ze.createElement("button",{type:"button","aria-label":At,className:"".concat(Gt,"-item-link")});return typeof Pt=="function"&&(on=Ze.createElement(Pt,(0,ne.Z)({},at.props))),on},at.isValid=function(Pt){var At=at.props.total;return Fe(Pt)&&Pt!==at.state.current&&Fe(At)&&At>0},at.shouldDisplayQuickJumper=function(){var Pt=at.props,At=Pt.showQuickJumper,Gt=Pt.total,on=at.state.pageSize;return Gt<=on?!1:At},at.handleKeyDown=function(Pt){(Pt.keyCode===pe.ARROW_UP||Pt.keyCode===pe.ARROW_DOWN)&&Pt.preventDefault()},at.handleKeyUp=function(Pt){var At=at.getValidValue(Pt),Gt=at.state.currentInputValue;At!==Gt&&at.setState({currentInputValue:At}),Pt.keyCode===pe.ENTER?at.handleChange(At):Pt.keyCode===pe.ARROW_UP?at.handleChange(At-1):Pt.keyCode===pe.ARROW_DOWN&&at.handleChange(At+1)},at.handleBlur=function(Pt){var At=at.getValidValue(Pt);at.handleChange(At)},at.changePageSize=function(Pt){var At=at.state.current,Gt=He(Pt,at.state,at.props);At=At>Gt?Gt:At,Gt===0&&(At=at.state.current),typeof Pt=="number"&&("pageSize"in at.props||at.setState({pageSize:Pt}),"current"in at.props||at.setState({current:At,currentInputValue:At})),at.props.onShowSizeChange(At,Pt),"onChange"in at.props&&at.props.onChange&&at.props.onChange(At,Pt)},at.handleChange=function(Pt){var At=at.props,Gt=At.disabled,on=At.onChange,un=at.state,Cn=un.pageSize,Dn=un.current,Ln=un.currentInputValue;if(at.isValid(Pt)&&!Gt){var Yn=He(void 0,at.state,at.props),br=Pt;return Pt>Yn?br=Yn:Pt<1&&(br=1),"current"in at.props||at.setState({current:br}),br!==Ln&&at.setState({currentInputValue:br}),on(br,Cn),br}return Dn},at.prev=function(){at.hasPrev()&&at.handleChange(at.state.current-1)},at.next=function(){at.hasNext()&&at.handleChange(at.state.current+1)},at.jumpPrev=function(){at.handleChange(at.getJumpPrevPage())},at.jumpNext=function(){at.handleChange(at.getJumpNextPage())},at.hasPrev=function(){return at.state.current>1},at.hasNext=function(){return at.state.current2?Gt-2:0),un=2;un=ot?yt=ot:yt=Number(Ct),yt}},{key:"getShowSizeChanger",value:function(){var at=this.props,Ct=at.showSizeChanger,ot=at.total,Ve=at.totalBoundaryShowSizeChanger;return typeof Ct!="undefined"?Ct:ot>Ve}},{key:"render",value:function(){var at=this.props,Ct=at.prefixCls,ot=at.className,Ve=at.style,yt=at.disabled,Pt=at.hideOnSinglePage,At=at.total,Gt=at.locale,on=at.showQuickJumper,un=at.showLessItems,Cn=at.showTitle,Dn=at.showTotal,Ln=at.simple,Yn=at.itemRender,br=at.showPrevNextJumpers,Wr=at.jumpPrevIcon,aa=at.jumpNextIcon,ta=at.selectComponentClass,Gr=at.selectPrefixCls,Sa=at.pageSizeOptions,Pa=this.state,Cr=Pa.current,ca=Pa.pageSize,bn=Pa.currentInputValue;if(Pt===!0&&At<=ca)return null;var Tn=He(void 0,this.state,this.props),Nn=[],oa=null,Ir=null,nr=null,Bt=null,kt=null,Nt=on&&on.goButton,hn=un?1:2,Zn=Cr-1>0?Cr-1:0,Vn=Cr+1At?At:Cr*ca]));if(Ln){Nt&&(typeof Nt=="boolean"?kt=Ze.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Gt.jump_to_confirm):kt=Ze.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Nt),kt=Ze.createElement("li",{title:Cn?"".concat(Gt.jump_to).concat(Cr,"/").concat(Tn):null,className:"".concat(Ct,"-simple-pager")},kt));var zr=this.renderPrev(Zn);return Ze.createElement("ul",(0,Ce.Z)({className:ae()(Ct,"".concat(Ct,"-simple"),(0,ie.Z)({},"".concat(Ct,"-disabled"),yt),ot),style:Ve,ref:this.paginationNode},Yr),$r,zr?Ze.createElement("li",{title:Cn?Gt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ae()("".concat(Ct,"-prev"),(0,ie.Z)({},"".concat(Ct,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},zr):null,Ze.createElement("li",{title:Cn?"".concat(Cr,"/").concat(Tn):null,className:"".concat(Ct,"-simple-pager")},Ze.createElement("input",{type:"text",value:bn,disabled:yt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Ze.createElement("span",{className:"".concat(Ct,"-slash")},"/"),Tn),Ze.createElement("li",{title:Cn?Gt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ae()("".concat(Ct,"-next"),(0,ie.Z)({},"".concat(Ct,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Vn)),kt)}if(Tn<=3+hn*2){var ia={locale:Gt,rootPrefixCls:Ct,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Cn,itemRender:Yn};Tn||Nn.push(Ze.createElement(Oe,(0,Ce.Z)({},ia,{key:"noPager",page:1,className:"".concat(Ct,"-item-disabled")})));for(var ga=1;ga<=Tn;ga+=1){var En=Cr===ga;Nn.push(Ze.createElement(Oe,(0,Ce.Z)({},ia,{key:ga,page:ga,active:En})))}}else{var Dr=un?Gt.prev_3:Gt.prev_5,xt=un?Gt.next_3:Gt.next_5,Xt=Yn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Wr,"prev page")),Vt=Yn(this.getJumpNextPage(),"jump-next",this.getItemIcon(aa,"next page"));br&&(oa=Xt?Ze.createElement("li",{title:Cn?Dr:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ae()("".concat(Ct,"-jump-prev"),(0,ie.Z)({},"".concat(Ct,"-jump-prev-custom-icon"),!!Wr))},Xt):null,Ir=Vt?Ze.createElement("li",{title:Cn?xt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ae()("".concat(Ct,"-jump-next"),(0,ie.Z)({},"".concat(Ct,"-jump-next-custom-icon"),!!aa))},Vt):null),Bt=Ze.createElement(Oe,{locale:Gt,last:!0,rootPrefixCls:Ct,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Tn,page:Tn,active:!1,showTitle:Cn,itemRender:Yn}),nr=Ze.createElement(Oe,{locale:Gt,rootPrefixCls:Ct,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Cn,itemRender:Yn});var en=Math.max(1,Cr-hn),wn=Math.min(Cr+hn,Tn);Cr-1<=hn&&(wn=1+hn*2),Tn-Cr<=hn&&(en=Tn-hn*2);for(var qt=en;qt<=wn;qt+=1){var fn=Cr===qt;Nn.push(Ze.createElement(Oe,{locale:Gt,rootPrefixCls:Ct,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:qt,page:qt,active:fn,showTitle:Cn,itemRender:Yn}))}Cr-1>=hn*2&&Cr!==3&&(Nn[0]=(0,Ze.cloneElement)(Nn[0],{className:"".concat(Ct,"-item-after-jump-prev")}),Nn.unshift(oa)),Tn-Cr>=hn*2&&Cr!==Tn-2&&(Nn[Nn.length-1]=(0,Ze.cloneElement)(Nn[Nn.length-1],{className:"".concat(Ct,"-item-before-jump-next")}),Nn.push(Ir)),en!==1&&Nn.unshift(nr),wn!==Tn&&Nn.push(Bt)}var an=!this.hasPrev()||!Tn,vr=!this.hasNext()||!Tn,Jn=this.renderPrev(Zn),zn=this.renderNext(Vn);return Ze.createElement("ul",(0,Ce.Z)({className:ae()(Ct,ot,(0,ie.Z)({},"".concat(Ct,"-disabled"),yt)),style:Ve,ref:this.paginationNode},Yr),$r,Jn?Ze.createElement("li",{title:Cn?Gt.prev_page:null,onClick:this.prev,tabIndex:an?null:0,onKeyPress:this.runIfEnterPrev,className:ae()("".concat(Ct,"-prev"),(0,ie.Z)({},"".concat(Ct,"-disabled"),an)),"aria-disabled":an},Jn):null,Nn,zn?Ze.createElement("li",{title:Cn?Gt.next_page:null,onClick:this.next,tabIndex:vr?null:0,onKeyPress:this.runIfEnterNext,className:ae()("".concat(Ct,"-next"),(0,ie.Z)({},"".concat(Ct,"-disabled"),vr)),"aria-disabled":vr},zn):null,Ze.createElement(je,{disabled:yt,locale:Gt,rootPrefixCls:Ct,selectComponentClass:ta,selectPrefixCls:Gr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Cr,pageSize:ca,pageSizeOptions:Sa,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Nt}))}}],[{key:"getDerivedStateFromProps",value:function(at,Ct){var ot={};if("current"in at&&(ot.current=at.current,at.current!==Ct.current&&(ot.currentInputValue=ot.current)),"pageSize"in at&&at.pageSize!==Ct.pageSize){var Ve=Ct.current,yt=He(at.pageSize,Ct,at);Ve=Ve>yt?yt:Ve,"current"in at||(ot.current=Ve,ot.currentInputValue=Ve),ot.pageSize=at.pageSize}return ot}}]),Lt}(Ze.Component);Me.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ae,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ae,locale:Se.Z,style:{},itemRender:ke,totalBoundaryShowSizeChanger:50};var ut=Me,rt=be(62906),et=be(53124),Xe=be(98675),_e=be(25378),$e=be(10110),Be=be(42563);const nt=Qe=>Ze.createElement(Be.default,Object.assign({},Qe,{showSearch:!0,size:"small"})),Je=Qe=>Ze.createElement(Be.default,Object.assign({},Qe,{showSearch:!0,size:"middle"}));nt.Option=Be.default.Option,Je.Option=Be.default.Option;var ft=be(47673),Ke=be(14747),Ue=be(67968),Le=be(45503);const ze=Qe=>{const{componentCls:mt}=Qe;return{[`${mt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${mt}-item-link`]:{color:Qe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${mt}-item-link`]:{color:Qe.colorTextDisabled,cursor:"not-allowed"}}},[`&${mt}-disabled`]:{cursor:"not-allowed",[`${mt}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Qe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Qe.colorBorder,backgroundColor:Qe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Qe.itemActiveBgDisabled},a:{color:Qe.itemActiveColorDisabled}}},[`${mt}-item-link`]:{color:Qe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${mt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${mt}-simple-pager`]:{color:Qe.colorTextDisabled},[`${mt}-jump-prev, ${mt}-jump-next`]:{[`${mt}-item-link-icon`]:{opacity:0},[`${mt}-item-ellipsis`]:{opacity:1}}},[`&${mt}-simple`]:{[`${mt}-prev, ${mt}-next`]:{[`&${mt}-disabled ${mt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ee=Qe=>{const{componentCls:mt}=Qe;return{[`&${mt}-mini ${mt}-total-text, &${mt}-mini ${mt}-simple-pager`]:{height:Qe.itemSizeSM,lineHeight:`${Qe.itemSizeSM}px`},[`&${mt}-mini ${mt}-item`]:{minWidth:Qe.itemSizeSM,height:Qe.itemSizeSM,margin:0,lineHeight:`${Qe.itemSizeSM-2}px`},[`&${mt}-mini:not(${mt}-disabled) ${mt}-item:not(${mt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Qe.colorBgTextHover},"&:active":{backgroundColor:Qe.colorBgTextActive}},[`&${mt}-mini ${mt}-prev, &${mt}-mini ${mt}-next`]:{minWidth:Qe.itemSizeSM,height:Qe.itemSizeSM,margin:0,lineHeight:`${Qe.itemSizeSM}px`},[`&${mt}-mini:not(${mt}-disabled)`]:{[`${mt}-prev, ${mt}-next`]:{[`&:hover ${mt}-item-link`]:{backgroundColor:Qe.colorBgTextHover},[`&:active ${mt}-item-link`]:{backgroundColor:Qe.colorBgTextActive},[`&${mt}-disabled:hover ${mt}-item-link`]:{backgroundColor:"transparent"}}},[` &${mt}-mini ${mt}-prev ${mt}-item-link, &${mt}-mini ${mt}-next ${mt}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Qe.itemSizeSM,lineHeight:`${Qe.itemSizeSM}px`}},[`&${mt}-mini ${mt}-jump-prev, &${mt}-mini ${mt}-jump-next`]:{height:Qe.itemSizeSM,marginInlineEnd:0,lineHeight:`${Qe.itemSizeSM}px`},[`&${mt}-mini ${mt}-options`]:{marginInlineStart:Qe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Qe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Qe.itemSizeSM,lineHeight:`${Qe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,ft.x0)(Qe)),{width:Qe.paginationMiniQuickJumperInputWidth,height:Qe.controlHeightSM})}}}},Re=Qe=>{const{componentCls:mt}=Qe;return{[` &${mt}-simple ${mt}-prev, &${mt}-simple ${mt}-next `]:{height:Qe.itemSizeSM,lineHeight:`${Qe.itemSizeSM}px`,verticalAlign:"top",[`${mt}-item-link`]:{height:Qe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Qe.colorBgTextHover},"&:active":{backgroundColor:Qe.colorBgTextActive},"&::after":{height:Qe.itemSizeSM,lineHeight:`${Qe.itemSizeSM}px`}}},[`&${mt}-simple ${mt}-simple-pager`]:{display:"inline-block",height:Qe.itemSizeSM,marginInlineEnd:Qe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Qe.marginXS,padding:`0 ${Qe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Qe.itemInputBg,border:`${Qe.lineWidth}px ${Qe.lineType} ${Qe.colorBorder}`,borderRadius:Qe.borderRadius,outline:"none",transition:`border-color ${Qe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Qe.colorPrimary},"&:focus":{borderColor:Qe.colorPrimaryHover,boxShadow:`${Qe.inputOutlineOffset}px 0 ${Qe.controlOutlineWidth}px ${Qe.controlOutline}`},"&[disabled]":{color:Qe.colorTextDisabled,backgroundColor:Qe.colorBgContainerDisabled,borderColor:Qe.colorBorder,cursor:"not-allowed"}}}}},qe=Qe=>{const{componentCls:mt}=Qe;return{[`${mt}-jump-prev, ${mt}-jump-next`]:{outline:0,[`${mt}-item-container`]:{position:"relative",[`${mt}-item-link-icon`]:{color:Qe.colorPrimary,fontSize:Qe.fontSizeSM,opacity:0,transition:`all ${Qe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${mt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Qe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Qe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Qe.paginationEllipsisTextIndent,opacity:1,transition:`all ${Qe.motionDurationMid}`}},"&:hover":{[`${mt}-item-link-icon`]:{opacity:1},[`${mt}-item-ellipsis`]:{opacity:0}}},[` ${mt}-prev, ${mt}-jump-prev, ${mt}-jump-next `]:{marginInlineEnd:Qe.marginXS},[` ${mt}-prev, ${mt}-next, ${mt}-jump-prev, ${mt}-jump-next `]:{display:"inline-block",minWidth:Qe.itemSize,height:Qe.itemSize,color:Qe.colorText,fontFamily:Qe.fontFamily,lineHeight:`${Qe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Qe.borderRadius,cursor:"pointer",transition:`all ${Qe.motionDurationMid}`},[`${mt}-prev, ${mt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Qe.colorText,cursor:"pointer",userSelect:"none"},[`${mt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Qe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Qe.lineWidth}px ${Qe.lineType} transparent`,borderRadius:Qe.borderRadius,outline:"none",transition:`all ${Qe.motionDurationMid}`},[`&:hover ${mt}-item-link`]:{backgroundColor:Qe.colorBgTextHover},[`&:active ${mt}-item-link`]:{backgroundColor:Qe.colorBgTextActive},[`&${mt}-disabled:hover`]:{[`${mt}-item-link`]:{backgroundColor:"transparent"}}},[`${mt}-slash`]:{marginInlineEnd:Qe.paginationSlashMarginInlineEnd,marginInlineStart:Qe.paginationSlashMarginInlineStart},[`${mt}-options`]:{display:"inline-block",marginInlineStart:Qe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Qe.controlHeight,marginInlineStart:Qe.marginXS,lineHeight:`${Qe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,ft.ik)(Qe)),{width:Qe.controlHeightLG*1.25,height:Qe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Qe.marginXS,marginInlineEnd:Qe.marginXS})}}}},Ye=Qe=>{const{componentCls:mt}=Qe;return{[`${mt}-item`]:{display:"inline-block",minWidth:Qe.itemSize,height:Qe.itemSize,marginInlineEnd:Qe.marginXS,fontFamily:Qe.fontFamily,lineHeight:`${Qe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Qe.lineWidth}px ${Qe.lineType} transparent`,borderRadius:Qe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Qe.paginationItemPaddingInline}px`,color:Qe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${mt}-item-active)`]:{"&:hover":{transition:`all ${Qe.motionDurationMid}`,backgroundColor:Qe.colorBgTextHover},"&:active":{backgroundColor:Qe.colorBgTextActive}},"&-active":{fontWeight:Qe.fontWeightStrong,backgroundColor:Qe.itemActiveBg,borderColor:Qe.colorPrimary,a:{color:Qe.colorPrimary},"&:hover":{borderColor:Qe.colorPrimaryHover},"&:hover a":{color:Qe.colorPrimaryHover}}}}},We=Qe=>{const{componentCls:mt}=Qe;return{[mt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ke.Wf)(Qe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${mt}-total-text`]:{display:"inline-block",height:Qe.itemSize,marginInlineEnd:Qe.marginXS,lineHeight:`${Qe.itemSize-2}px`,verticalAlign:"middle"}}),Ye(Qe)),qe(Qe)),Re(Qe)),Ee(Qe)),ze(Qe)),{[`@media only screen and (max-width: ${Qe.screenLG}px)`]:{[`${mt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Qe.screenSM}px)`]:{[`${mt}-options`]:{display:"none"}}}),[`&${Qe.componentCls}-rtl`]:{direction:"rtl"}}},Te=Qe=>{const{componentCls:mt}=Qe;return{[`${mt}${mt}-disabled:not(${mt}-mini)`]:{"&, &:hover":{[`${mt}-item-link`]:{borderColor:Qe.colorBorder}},"&:focus-visible":{[`${mt}-item-link`]:{borderColor:Qe.colorBorder}},[`${mt}-item, ${mt}-item-link`]:{backgroundColor:Qe.colorBgContainerDisabled,borderColor:Qe.colorBorder,[`&:hover:not(${mt}-item-active)`]:{backgroundColor:Qe.colorBgContainerDisabled,borderColor:Qe.colorBorder,a:{color:Qe.colorTextDisabled}},[`&${mt}-item-active`]:{backgroundColor:Qe.itemActiveBgDisabled}},[`${mt}-prev, ${mt}-next`]:{"&:hover button":{backgroundColor:Qe.colorBgContainerDisabled,borderColor:Qe.colorBorder,color:Qe.colorTextDisabled},[`${mt}-item-link`]:{backgroundColor:Qe.colorBgContainerDisabled,borderColor:Qe.colorBorder}}},[`${mt}:not(${mt}-mini)`]:{[`${mt}-prev, ${mt}-next`]:{"&:hover button":{borderColor:Qe.colorPrimaryHover,backgroundColor:Qe.itemBg},[`${mt}-item-link`]:{backgroundColor:Qe.itemLinkBg,borderColor:Qe.colorBorder},[`&:hover ${mt}-item-link`]:{borderColor:Qe.colorPrimary,backgroundColor:Qe.itemBg,color:Qe.colorPrimary},[`&${mt}-disabled`]:{[`${mt}-item-link`]:{borderColor:Qe.colorBorder,color:Qe.colorTextDisabled}}},[`${mt}-item`]:{backgroundColor:Qe.itemBg,border:`${Qe.lineWidth}px ${Qe.lineType} ${Qe.colorBorder}`,[`&:hover:not(${mt}-item-active)`]:{borderColor:Qe.colorPrimary,backgroundColor:Qe.itemBg,a:{color:Qe.colorPrimary}},"&-active":{borderColor:Qe.colorPrimary}}}}},xe=Qe=>{const{componentCls:mt}=Qe;return{[`${mt}:not(${mt}-disabled)`]:{[`${mt}-item`]:Object.assign({},(0,Ke.Qy)(Qe)),[`${mt}-jump-prev, ${mt}-jump-next`]:{"&:focus-visible":Object.assign({[`${mt}-item-link-icon`]:{opacity:1},[`${mt}-item-ellipsis`]:{opacity:0}},(0,Ke.oN)(Qe))},[`${mt}-prev, ${mt}-next`]:{[`&:focus-visible ${mt}-item-link`]:Object.assign({},(0,Ke.oN)(Qe))}}}};var Ne=(0,Ue.Z)("Pagination",Qe=>{const mt=(0,Le.TS)(Qe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Qe.marginXXS/2,paginationMiniQuickJumperInputWidth:Qe.controlHeightLG*1.1,paginationItemPaddingInline:Qe.marginXXS*1.5,paginationEllipsisLetterSpacing:Qe.marginXXS/2,paginationSlashMarginInlineStart:Qe.marginXXS,paginationSlashMarginInlineEnd:Qe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ft.e5)(Qe),(0,ft.TM)(Qe));return[We(mt),xe(mt),Qe.wireframe&&Te(mt)]},Qe=>({itemBg:Qe.colorBgContainer,itemSize:Qe.controlHeight,itemSizeSM:Qe.controlHeightSM,itemActiveBg:Qe.colorBgContainer,itemLinkBg:Qe.colorBgContainer,itemActiveColorDisabled:Qe.colorTextDisabled,itemActiveBgDisabled:Qe.controlItemBgActiveDisabled,itemInputBg:Qe.colorBgContainer,miniOptionsSizeChangerTop:0})),Ge=function(Qe,mt){var Lt={};for(var Mt in Qe)Object.prototype.hasOwnProperty.call(Qe,Mt)&&mt.indexOf(Mt)<0&&(Lt[Mt]=Qe[Mt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,Mt=Object.getOwnPropertySymbols(Qe);at{const{prefixCls:mt,selectPrefixCls:Lt,className:Mt,rootClassName:at,style:Ct,size:ot,locale:Ve,selectComponentClass:yt,responsive:Pt,showSizeChanger:At}=Qe,Gt=Ge(Qe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:on}=(0,_e.Z)(Pt),{getPrefixCls:un,direction:Cn,pagination:Dn={}}=Ze.useContext(et.E_),Ln=un("pagination",mt),[Yn,br]=Ne(Ln),Wr=At!=null?At:Dn.showSizeChanger,aa=Ze.useMemo(()=>{const Tn=Ze.createElement("span",{className:`${Ln}-item-ellipsis`},"\u2022\u2022\u2022"),Nn=Ze.createElement("button",{className:`${Ln}-item-link`,type:"button",tabIndex:-1},Cn==="rtl"?Ze.createElement(le.Z,null):Ze.createElement(ce.Z,null)),oa=Ze.createElement("button",{className:`${Ln}-item-link`,type:"button",tabIndex:-1},Cn==="rtl"?Ze.createElement(ce.Z,null):Ze.createElement(le.Z,null)),Ir=Ze.createElement("a",{className:`${Ln}-item-link`},Ze.createElement("div",{className:`${Ln}-item-container`},Cn==="rtl"?Ze.createElement(ue.Z,{className:`${Ln}-item-link-icon`}):Ze.createElement(te,{className:`${Ln}-item-link-icon`}),Tn)),nr=Ze.createElement("a",{className:`${Ln}-item-link`},Ze.createElement("div",{className:`${Ln}-item-container`},Cn==="rtl"?Ze.createElement(te,{className:`${Ln}-item-link-icon`}):Ze.createElement(ue.Z,{className:`${Ln}-item-link-icon`}),Tn));return{prevIcon:Nn,nextIcon:oa,jumpPrevIcon:Ir,jumpNextIcon:nr}},[Cn,Ln]),[ta]=(0,$e.Z)("Pagination",rt.Z),Gr=Object.assign(Object.assign({},ta),Ve),Sa=(0,Xe.Z)(ot),Pa=Sa==="small"||!!(on&&!Sa&&Pt),Cr=un("select",Lt),ca=ae()({[`${Ln}-mini`]:Pa,[`${Ln}-rtl`]:Cn==="rtl"},Dn==null?void 0:Dn.className,Mt,at,br),bn=Object.assign(Object.assign({},Dn==null?void 0:Dn.style),Ct);return Yn(Ze.createElement(ut,Object.assign({},aa,Gt,{style:bn,prefixCls:Ln,selectPrefixCls:Cr,className:ca,selectComponentClass:yt||(Pa?nt:Je),locale:Gr,showSizeChanger:Wr})))},dt=bt},86738:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return pe}});var Ce=be(87995),Ze=be(94184),E=be.n(Ze),ye=be(92389),me=be(5663),oe=be(10366),te=be(67294),ue=be(96159),ce=be(53124),le=be(55241),de=be(86743),ae=be(81643),ie=be(71577),ne=be(4026),a=be(10110),y=be(24457),x=be(66330),b=be(67968);const z=Se=>{const{componentCls:Pe,iconCls:je,antCls:we,zIndexPopup:Oe,colorText:Ae,colorWarning:Fe,marginXXS:ke,marginXS:He,fontSize:Me,fontWeightStrong:ut,colorTextHeading:rt}=Se;return{[Pe]:{zIndex:Oe,[`&${we}-popover`]:{fontSize:Me},[`${Pe}-message`]:{marginBottom:He,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Pe}-message-icon ${je}`]:{color:Fe,fontSize:Me,lineHeight:1,marginInlineEnd:He},[`${Pe}-title`]:{fontWeight:ut,color:rt,"&:only-child":{fontWeight:"normal"}},[`${Pe}-description`]:{marginTop:ke,color:Ae}},[`${Pe}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:He}}}}};var ee=(0,b.Z)("Popconfirm",Se=>z(Se),Se=>{const{zIndexPopupBase:Pe}=Se;return{zIndexPopup:Pe+60}},{resetStyle:!1}),re=function(Se,Pe){var je={};for(var we in Se)Object.prototype.hasOwnProperty.call(Se,we)&&Pe.indexOf(we)<0&&(je[we]=Se[we]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,we=Object.getOwnPropertySymbols(Se);Oe{const{prefixCls:Pe,okButtonProps:je,cancelButtonProps:we,title:Oe,description:Ae,cancelText:Fe,okText:ke,okType:He="primary",icon:Me=te.createElement(Ce.Z,null),showCancel:ut=!0,close:rt,onConfirm:et,onCancel:Xe,onPopupClick:_e}=Se,{getPrefixCls:$e}=te.useContext(ce.E_),[Be]=(0,a.Z)("Popconfirm",y.Z.Popconfirm),nt=(0,ae.Z)(Oe),Je=(0,ae.Z)(Ae);return te.createElement("div",{className:`${Pe}-inner-content`,onClick:_e},te.createElement("div",{className:`${Pe}-message`},Me&&te.createElement("span",{className:`${Pe}-message-icon`},Me),te.createElement("div",{className:`${Pe}-message-text`},nt&&te.createElement("div",{className:E()(`${Pe}-title`)},nt),Je&&te.createElement("div",{className:`${Pe}-description`},Je))),te.createElement("div",{className:`${Pe}-buttons`},ut&&te.createElement(ie.ZP,Object.assign({onClick:Xe,size:"small"},we),Fe!=null?Fe:Be==null?void 0:Be.cancelText),te.createElement(de.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,ne.n)(He)),je),actionFn:et,close:rt,prefixCls:$e("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},ke!=null?ke:Be==null?void 0:Be.okText)))};var ve=Se=>{const{prefixCls:Pe,placement:je,className:we,style:Oe}=Se,Ae=re(Se,["prefixCls","placement","className","style"]),{getPrefixCls:Fe}=te.useContext(ce.E_),ke=Fe("popconfirm",Pe),[He]=ee(ke);return He(te.createElement(x.ZP,{placement:je,className:E()(ke,we),style:Oe,content:te.createElement(se,Object.assign({prefixCls:ke},Ae))}))},ge=function(Se,Pe){var je={};for(var we in Se)Object.prototype.hasOwnProperty.call(Se,we)&&Pe.indexOf(we)<0&&(je[we]=Se[we]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,we=Object.getOwnPropertySymbols(Se);Oe{const{prefixCls:je,placement:we="top",trigger:Oe="click",okType:Ae="primary",icon:Fe=te.createElement(Ce.Z,null),children:ke,overlayClassName:He,onOpenChange:Me,onVisibleChange:ut}=Se,rt=ge(Se,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:et}=te.useContext(ce.E_),[Xe,_e]=(0,me.Z)(!1,{value:Se.open,defaultValue:Se.defaultOpen}),$e=(Ee,Re)=>{_e(Ee,!0),ut==null||ut(Ee),Me==null||Me(Ee,Re)},Be=Ee=>{$e(!1,Ee)},nt=Ee=>{var Re;return(Re=Se.onConfirm)===null||Re===void 0?void 0:Re.call(void 0,Ee)},Je=Ee=>{var Re;$e(!1,Ee),(Re=Se.onCancel)===null||Re===void 0||Re.call(void 0,Ee)},ft=Ee=>{Ee.keyCode===ye.Z.ESC&&Xe&&$e(!1,Ee)},Ke=Ee=>{const{disabled:Re=!1}=Se;Re||$e(Ee)},Ue=et("popconfirm",je),Le=E()(Ue,He),[ze]=ee(Ue);return ze(te.createElement(le.Z,Object.assign({},(0,oe.Z)(rt,["title"]),{trigger:Oe,placement:we,onOpenChange:Ke,open:Xe,ref:Pe,overlayClassName:Le,content:te.createElement(se,Object.assign({okType:Ae,icon:Fe},Se,{prefixCls:Ue,close:Be,onConfirm:nt,onCancel:Je})),"data-popover-inject":!0}),(0,ue.Tm)(ke,{onKeyDown:Ee=>{var Re,qe;te.isValidElement(ke)&&((qe=ke==null?void 0:(Re=ke.props).onKeyDown)===null||qe===void 0||qe.call(Re,Ee)),ft(Ee)}})))});he._InternalPanelDoNotUseOrYouWillBeFired=ve;var pe=he},66330:function(jt,wt,be){"use strict";be.d(wt,{t5:function(){return le}});var Ce=be(94184),Ze=be.n(Ce),E=be(92419),ye=be(67294),me=be(53124),oe=be(81643),te=be(20136),ue=function(ae,ie){var ne={};for(var a in ae)Object.prototype.hasOwnProperty.call(ae,a)&&ie.indexOf(a)<0&&(ne[a]=ae[a]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(ae);y{if(!(!ie&&!ne))return ye.createElement(ye.Fragment,null,ie&&ye.createElement("div",{className:`${ae}-title`},(0,oe.Z)(ie)),ye.createElement("div",{className:`${ae}-inner-content`},(0,oe.Z)(ne)))},le=ae=>{const{hashId:ie,prefixCls:ne,className:a,style:y,placement:x="top",title:b,content:z,children:ee}=ae;return ye.createElement("div",{className:Ze()(ie,ne,`${ne}-pure`,`${ne}-placement-${x}`,a),style:y},ye.createElement("div",{className:`${ne}-arrow`}),ye.createElement(E.G,Object.assign({},ae,{className:ie,prefixCls:ne}),ee||ce(ne,b,z)))},de=ae=>{const{prefixCls:ie}=ae,ne=ue(ae,["prefixCls"]),{getPrefixCls:a}=ye.useContext(me.E_),y=a("popover",ie),[x,b]=(0,te.Z)(y);return x(ye.createElement(le,Object.assign({},ne,{prefixCls:y,hashId:b})))};wt.ZP=de},55241:function(jt,wt,be){"use strict";var Ce=be(94184),Ze=be.n(Ce),E=be(67294),ye=be(81643),me=be(33603),oe=be(53124),te=be(83062),ue=be(66330),ce=be(20136),le=function(ie,ne){var a={};for(var y in ie)Object.prototype.hasOwnProperty.call(ie,y)&&ne.indexOf(y)<0&&(a[y]=ie[y]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,y=Object.getOwnPropertySymbols(ie);x{let{title:ne,content:a,prefixCls:y}=ie;return E.createElement(E.Fragment,null,ne&&E.createElement("div",{className:`${y}-title`},(0,ye.Z)(ne)),E.createElement("div",{className:`${y}-inner-content`},(0,ye.Z)(a)))},ae=E.forwardRef((ie,ne)=>{const{prefixCls:a,title:y,content:x,overlayClassName:b,placement:z="top",trigger:ee="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:se=.1,overlayStyle:fe={}}=ie,ve=le(ie,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:ge}=E.useContext(oe.E_),he=ge("popover",a),[pe,Se]=(0,ce.Z)(he),Pe=ge(),je=Ze()(b,Se);return pe(E.createElement(te.Z,Object.assign({placement:z,trigger:ee,mouseEnterDelay:re,mouseLeaveDelay:se,overlayStyle:fe},ve,{prefixCls:he,overlayClassName:je,ref:ne,overlay:y||x?E.createElement(de,{prefixCls:he,title:y,content:x}):null,transitionName:(0,me.m)(Pe,"zoom-big",ve.transitionName),"data-popover-inject":!0})))});ae._InternalPanelDoNotUseOrYouWillBeFired=ue.ZP,wt.Z=ae},20136:function(jt,wt,be){"use strict";var Ce=be(14747),Ze=be(50438),E=be(97414),ye=be(8796),me=be(67968),oe=be(45503);const te=le=>{const{componentCls:de,popoverColor:ae,minWidth:ie,fontWeightStrong:ne,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:z,marginXS:ee,colorBgElevated:re,popoverBg:se}=le;return[{[de]:Object.assign(Object.assign({},(0,Ce.Wf)(le)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":re,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${de}-content`]:{position:"relative"},[`${de}-inner`]:{backgroundColor:se,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${de}-title`]:{minWidth:ie,marginBottom:ee,color:x,fontWeight:ne},[`${de}-inner-content`]:{color:ae}})},(0,E.ZP)(le,{colorBg:"var(--antd-arrow-background-color)"}),{[`${de}-pure`]:{position:"relative",maxWidth:"none",margin:le.sizePopupArrow,display:"inline-block",[`${de}-content`]:{display:"inline-block"}}}]},ue=le=>{const{componentCls:de}=le;return{[de]:ye.i.map(ae=>{const ie=le[`${ae}6`];return{[`&${de}-${ae}`]:{"--antd-arrow-background-color":ie,[`${de}-inner`]:{backgroundColor:ie},[`${de}-arrow`]:{background:"transparent"}}}})}},ce=le=>{const{componentCls:de,lineWidth:ae,lineType:ie,colorSplit:ne,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:z}=le,ee=y-Math.round(x*b),re=ee/2,se=ee/2-ae,fe=z;return{[de]:{[`${de}-inner`]:{padding:0},[`${de}-title`]:{margin:0,padding:`${re}px ${fe}px ${se}px`,borderBottom:`${ae}px ${ie} ${ne}`},[`${de}-inner-content`]:{padding:`${a}px ${fe}px`}}}};wt.Z=(0,me.Z)("Popover",le=>{const{colorBgElevated:de,colorText:ae,wireframe:ie}=le,ne=(0,oe.TS)(le,{popoverPadding:12,popoverBg:de,popoverColor:ae});return[te(ne),ue(ne),ie&&ce(ne),(0,Ze._y)(ne,"zoom-big")]},le=>({width:177,minWidth:177,zIndexPopup:le.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},38703:function(jt,wt,be){"use strict";be.d(wt,{Z:function(){return Ct}});var Ce=be(67294),Ze=be(87725),E=be(18299),ye=be(16646),me=be(73475),oe=be(94184),te=be.n(oe),ue=be(10366),ce=be(53124),le=be(87462),de=be(1413),ae=be(45987),ie={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ne=function(){var Ve=(0,Ce.useRef)([]),yt=(0,Ce.useRef)(null);return(0,Ce.useEffect)(function(){var Pt=Date.now(),At=!1;Ve.current.forEach(function(Gt){if(Gt){At=!0;var on=Gt.style;on.transitionDuration=".3s, .3s, .3s, .06s",yt.current&&Pt-yt.current<100&&(on.transitionDuration="0s, 0s")}}),At&&(yt.current=Date.now())}),Ve.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(Ve){var yt=(0,de.Z)((0,de.Z)({},ie),Ve),Pt=yt.className,At=yt.percent,Gt=yt.prefixCls,on=yt.strokeColor,un=yt.strokeLinecap,Cn=yt.strokeWidth,Dn=yt.style,Ln=yt.trailColor,Yn=yt.trailWidth,br=yt.transition,Wr=(0,ae.Z)(yt,a);delete Wr.gapPosition;var aa=Array.isArray(At)?At:[At],ta=Array.isArray(on)?on:[on],Gr=ne(),Sa=Cn/2,Pa=100-Cn/2,Cr="M ".concat(un==="round"?Sa:0,",").concat(Sa,` L `).concat(un==="round"?Pa:100,",").concat(Sa),ca="0 0 100 ".concat(Cn),bn=0;return Ce.createElement("svg",(0,le.Z)({className:te()("".concat(Gt,"-line"),Pt),viewBox:ca,preserveAspectRatio:"none",style:Dn},Wr),Ce.createElement("path",{className:"".concat(Gt,"-line-trail"),d:Cr,strokeLinecap:un,stroke:Ln,strokeWidth:Yn||Cn,fillOpacity:"0"}),aa.map(function(Tn,Nn){var oa=1;switch(un){case"round":oa=1-Cn/100;break;case"square":oa=1-Cn/2/100;break;default:oa=1;break}var Ir={strokeDasharray:"".concat(Tn*oa,"px, 100px"),strokeDashoffset:"-".concat(bn,"px"),transition:br||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},nr=ta[Nn]||ta[ta.length-1];return bn+=Tn,Ce.createElement("path",{key:Nn,className:"".concat(Gt,"-line-path"),d:Cr,strokeLinecap:un,stroke:nr,strokeWidth:Cn,fillOpacity:"0",ref:function(kt){Gr[Nn]=kt},style:Ir})}))},x=y,b=be(71002),z=be(97685),ee=be(98924),re=0,se=(0,ee.Z)();function fe(){var ot;return se?(ot=re,re+=1):ot="TEST_OR_SSR",ot}var ve=function(ot){var Ve=Ce.useState(),yt=(0,z.Z)(Ve,2),Pt=yt[0],At=yt[1];return Ce.useEffect(function(){At("rc_progress_".concat(fe()))},[]),ot||Pt},ge=function(Ve){var yt=Ve.bg,Pt=Ve.children;return Ce.createElement("div",{style:{width:"100%",height:"100%",background:yt}},Pt)};function he(ot,Ve){return Object.keys(ot).map(function(yt){var Pt=parseFloat(yt),At="".concat(Math.floor(Pt*Ve),"%");return"".concat(ot[yt]," ").concat(At)})}var pe=Ce.forwardRef(function(ot,Ve){var yt=ot.prefixCls,Pt=ot.color,At=ot.gradientId,Gt=ot.radius,on=ot.style,un=ot.ptg,Cn=ot.strokeLinecap,Dn=ot.strokeWidth,Ln=ot.size,Yn=ot.gapDegree,br=Pt&&(0,b.Z)(Pt)==="object",Wr=br?"#FFF":void 0,aa=Ln/2,ta=Ce.createElement("circle",{className:"".concat(yt,"-circle-path"),r:Gt,cx:aa,cy:aa,stroke:Wr,strokeLinecap:Cn,strokeWidth:Dn,opacity:un===0?0:1,style:on,ref:Ve});if(!br)return ta;var Gr="".concat(At,"-conic"),Sa=Yn?"".concat(180+Yn/2,"deg"):"0deg",Pa=he(Pt,(360-Yn)/360),Cr=he(Pt,1),ca="conic-gradient(from ".concat(Sa,", ").concat(Pa.join(", "),")"),bn="linear-gradient(to ".concat(Yn?"bottom":"top",", ").concat(Cr.join(", "),")");return Ce.createElement(Ce.Fragment,null,Ce.createElement("mask",{id:Gr},ta),Ce.createElement("foreignObject",{x:0,y:0,width:Ln,height:Ln,mask:"url(#".concat(Gr,")")},Ce.createElement(ge,{bg:bn},Ce.createElement(ge,{bg:ca}))))}),Se=pe,Pe=100,je=function(Ve,yt,Pt,At,Gt,on,un,Cn,Dn,Ln){var Yn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,br=Pt/100*360*((360-on)/360),Wr=on===0?0:{bottom:0,top:180,left:90,right:-90}[un],aa=(100-At)/100*yt;Dn==="round"&&At!==100&&(aa+=Ln/2,aa>=yt&&(aa=yt-.01));var ta=Pe/2;return{stroke:typeof Cn=="string"?Cn:void 0,strokeDasharray:"".concat(yt,"px ").concat(Ve),strokeDashoffset:aa+Yn,transform:"rotate(".concat(Gt+br+Wr,"deg)"),transformOrigin:"".concat(ta,"px ").concat(ta,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},we=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Oe(ot){var Ve=ot!=null?ot:[];return Array.isArray(Ve)?Ve:[Ve]}var Ae=function(Ve){var yt=(0,de.Z)((0,de.Z)({},ie),Ve),Pt=yt.id,At=yt.prefixCls,Gt=yt.steps,on=yt.strokeWidth,un=yt.trailWidth,Cn=yt.gapDegree,Dn=Cn===void 0?0:Cn,Ln=yt.gapPosition,Yn=yt.trailColor,br=yt.strokeLinecap,Wr=yt.style,aa=yt.className,ta=yt.strokeColor,Gr=yt.percent,Sa=(0,ae.Z)(yt,we),Pa=Pe/2,Cr=ve(Pt),ca="".concat(Cr,"-gradient"),bn=Pa-on/2,Tn=Math.PI*2*bn,Nn=Dn>0?90+Dn/2:-90,oa=Tn*((360-Dn)/360),Ir=(0,b.Z)(Gt)==="object"?Gt:{count:Gt,space:2},nr=Ir.count,Bt=Ir.space,kt=Oe(Gr),Nt=Oe(ta),hn=Nt.find(function(ga){return ga&&(0,b.Z)(ga)==="object"}),Zn=hn&&(0,b.Z)(hn)==="object",Vn=Zn?"butt":br,Yr=je(Tn,oa,0,100,Nn,Dn,Ln,Yn,Vn,on),$r=ne(),zr=function(){var En=0;return kt.map(function(Dr,xt){var Xt=Nt[xt]||Nt[Nt.length-1],Vt=je(Tn,oa,En,Dr,Nn,Dn,Ln,Xt,Vn,on);return En+=Dr,Ce.createElement(Se,{key:xt,color:Xt,ptg:Dr,radius:bn,prefixCls:At,gradientId:ca,style:Vt,strokeLinecap:Vn,strokeWidth:on,gapDegree:Dn,ref:function(wn){$r[xt]=wn},size:Pe})}).reverse()},ia=function(){var En=Math.round(nr*(kt[0]/100)),Dr=100/nr,xt=0;return new Array(nr).fill(null).map(function(Xt,Vt){var en=Vt<=En-1?Nt[0]:Yn,wn=en&&(0,b.Z)(en)==="object"?"url(#".concat(ca,")"):void 0,qt=je(Tn,oa,xt,Dr,Nn,Dn,Ln,en,"butt",on,Bt);return xt+=(oa-qt.strokeDashoffset+Bt)*100/oa,Ce.createElement("circle",{key:Vt,className:"".concat(At,"-circle-path"),r:bn,cx:Pa,cy:Pa,stroke:wn,strokeWidth:on,opacity:1,style:qt,ref:function(an){$r[Vt]=an}})})};return Ce.createElement("svg",(0,le.Z)({className:te()("".concat(At,"-circle"),aa),viewBox:"0 0 ".concat(Pe," ").concat(Pe),style:Wr,id:Pt,role:"presentation"},Sa),!nr&&Ce.createElement("circle",{className:"".concat(At,"-circle-trail"),r:bn,cx:Pa,cy:Pa,stroke:Yn,strokeLinecap:Vn,strokeWidth:un||on,style:Yr}),nr?ia():zr())},Fe=Ae,ke={Line:x,Circle:Fe},He=be(83062),Me=be(47448);function ut(ot){return!ot||ot<0?0:ot>100?100:ot}function rt(ot){let{success:Ve,successPercent:yt}=ot,Pt=yt;return Ve&&"progress"in Ve&&(Pt=Ve.progress),Ve&&"percent"in Ve&&(Pt=Ve.percent),Pt}const et=ot=>{let{percent:Ve,success:yt,successPercent:Pt}=ot;const At=ut(rt({success:yt,successPercent:Pt}));return[At,ut(ut(Ve)-At)]},Xe=ot=>{let{success:Ve={},strokeColor:yt}=ot;const{strokeColor:Pt}=Ve;return[Pt||Me.presetPrimaryColors.green,yt||null]},_e=(ot,Ve,yt)=>{var Pt,At,Gt,on;let un=-1,Cn=-1;if(Ve==="step"){const Dn=yt.steps,Ln=yt.strokeWidth;typeof ot=="string"||typeof ot=="undefined"?(un=ot==="small"?2:14,Cn=Ln!=null?Ln:8):typeof ot=="number"?[un,Cn]=[ot,ot]:[un=14,Cn=8]=ot,un*=Dn}else if(Ve==="line"){const Dn=yt==null?void 0:yt.strokeWidth;typeof ot=="string"||typeof ot=="undefined"?Cn=Dn||(ot==="small"?6:8):typeof ot=="number"?[un,Cn]=[ot,ot]:[un=-1,Cn=8]=ot}else(Ve==="circle"||Ve==="dashboard")&&(typeof ot=="string"||typeof ot=="undefined"?[un,Cn]=ot==="small"?[60,60]:[120,120]:typeof ot=="number"?[un,Cn]=[ot,ot]:(un=(At=(Pt=ot[0])!==null&&Pt!==void 0?Pt:ot[1])!==null&&At!==void 0?At:120,Cn=(on=(Gt=ot[0])!==null&&Gt!==void 0?Gt:ot[1])!==null&&on!==void 0?on:120));return[un,Cn]},$e=3,Be=ot=>$e/ot*100;var Je=ot=>{const{prefixCls:Ve,trailColor:yt=null,strokeLinecap:Pt="round",gapPosition:At,gapDegree:Gt,width:on=120,type:un,children:Cn,success:Dn,size:Ln=on}=ot,[Yn,br]=_e(Ln,"circle");let{strokeWidth:Wr}=ot;Wr===void 0&&(Wr=Math.max(Be(Yn),6));const aa={width:Yn,height:br,fontSize:Yn*.15+6},ta=Ce.useMemo(()=>{if(Gt||Gt===0)return Gt;if(un==="dashboard")return 75},[Gt,un]),Gr=At||un==="dashboard"&&"bottom"||void 0,Sa=Object.prototype.toString.call(ot.strokeColor)==="[object Object]",Pa=Xe({success:Dn,strokeColor:ot.strokeColor}),Cr=te()(`${Ve}-inner`,{[`${Ve}-circle-gradient`]:Sa}),ca=Ce.createElement(Fe,{percent:et(ot),strokeWidth:Wr,trailWidth:Wr,strokeColor:Pa,strokeLinecap:Pt,trailColor:yt,prefixCls:Ve,gapDegree:ta,gapPosition:Gr});return Ce.createElement("div",{className:Cr,style:aa},Yn<=20?Ce.createElement(He.Z,{title:Cn},Ce.createElement("span",null,ca)):Ce.createElement(Ce.Fragment,null,ca,Cn))},ft=function(ot,Ve){var yt={};for(var Pt in ot)Object.prototype.hasOwnProperty.call(ot,Pt)&&Ve.indexOf(Pt)<0&&(yt[Pt]=ot[Pt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Pt=Object.getOwnPropertySymbols(ot);At{let Ve=[];return Object.keys(ot).forEach(yt=>{const Pt=parseFloat(yt.replace(/%/g,""));isNaN(Pt)||Ve.push({key:Pt,value:ot[yt]})}),Ve=Ve.sort((yt,Pt)=>yt.key-Pt.key),Ve.map(yt=>{let{key:Pt,value:At}=yt;return`${At} ${Pt}%`}).join(", ")},Ue=(ot,Ve)=>{const{from:yt=Me.presetPrimaryColors.blue,to:Pt=Me.presetPrimaryColors.blue,direction:At=Ve==="rtl"?"to left":"to right"}=ot,Gt=ft(ot,["from","to","direction"]);if(Object.keys(Gt).length!==0){const on=Ke(Gt);return{backgroundImage:`linear-gradient(${At}, ${on})`}}return{backgroundImage:`linear-gradient(${At}, ${yt}, ${Pt})`}};var ze=ot=>{const{prefixCls:Ve,direction:yt,percent:Pt,size:At,strokeWidth:Gt,strokeColor:on,strokeLinecap:un="round",children:Cn,trailColor:Dn=null,success:Ln}=ot,Yn=on&&typeof on!="string"?Ue(on,yt):{backgroundColor:on},br=un==="square"||un==="butt"?0:void 0,Wr={backgroundColor:Dn||void 0,borderRadius:br},aa=At!=null?At:[-1,Gt||(At==="small"?6:8)],[ta,Gr]=_e(aa,"line",{strokeWidth:Gt}),Sa=Object.assign({width:`${ut(Pt)}%`,height:Gr,borderRadius:br},Yn),Pa=rt(ot),Cr={width:`${ut(Pa)}%`,height:Gr,borderRadius:br,backgroundColor:Ln==null?void 0:Ln.strokeColor},ca={width:ta<0?"100%":ta,height:Gr};return Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{className:`${Ve}-outer`,style:ca},Ce.createElement("div",{className:`${Ve}-inner`,style:Wr},Ce.createElement("div",{className:`${Ve}-bg`,style:Sa}),Pa!==void 0?Ce.createElement("div",{className:`${Ve}-success-bg`,style:Cr}):null)),Cn)},Re=ot=>{const{size:Ve,steps:yt,percent:Pt=0,strokeWidth:At=8,strokeColor:Gt,trailColor:on=null,prefixCls:un,children:Cn}=ot,Dn=Math.round(yt*(Pt/100)),Ln=Ve==="small"?2:14,Yn=Ve!=null?Ve:[Ln,At],[br,Wr]=_e(Yn,"step",{steps:yt,strokeWidth:At}),aa=br/yt,ta=new Array(yt);for(let Gr=0;Gr{const Ve=ot?"100%":"-100%";return new qe.Keyframes(`antProgress${ot?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Ve}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Ve}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ne=ot=>{const{componentCls:Ve,iconCls:yt}=ot;return{[Ve]:Object.assign(Object.assign({},(0,Ye.Wf)(ot)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ot.fontSize,marginInlineEnd:ot.marginXS,marginBottom:ot.marginXS},[`${Ve}-outer`]:{display:"inline-block",width:"100%"},[`&${Ve}-show-info`]:{[`${Ve}-outer`]:{marginInlineEnd:`calc(-2em - ${ot.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ot.paddingXS}px)`}},[`${Ve}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ot.remainingColor,borderRadius:ot.lineBorderRadius},[`${Ve}-inner:not(${Ve}-circle-gradient)`]:{[`${Ve}-circle-path`]:{stroke:ot.defaultColor}},[`${Ve}-success-bg, ${Ve}-bg`]:{position:"relative",backgroundColor:ot.defaultColor,borderRadius:ot.lineBorderRadius,transition:`all ${ot.motionDurationSlow} ${ot.motionEaseInOutCirc}`},[`${Ve}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ot.colorSuccess},[`${Ve}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ot.marginXS,color:ot.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[yt]:{fontSize:ot.fontSize}},[`&${Ve}-status-active`]:{[`${Ve}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ot.colorBgContainer,borderRadius:ot.lineBorderRadius,opacity:0,animationName:xe(),animationDuration:ot.progressActiveMotionDuration,animationTimingFunction:ot.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Ve}-rtl${Ve}-status-active`]:{[`${Ve}-bg::before`]:{animationName:xe(!0)}},[`&${Ve}-status-exception`]:{[`${Ve}-bg`]:{backgroundColor:ot.colorError},[`${Ve}-text`]:{color:ot.colorError}},[`&${Ve}-status-exception ${Ve}-inner:not(${Ve}-circle-gradient)`]:{[`${Ve}-circle-path`]:{stroke:ot.colorError}},[`&${Ve}-status-success`]:{[`${Ve}-bg`]:{backgroundColor:ot.colorSuccess},[`${Ve}-text`]:{color:ot.colorSuccess}},[`&${Ve}-status-success ${Ve}-inner:not(${Ve}-circle-gradient)`]:{[`${Ve}-circle-path`]:{stroke:ot.colorSuccess}}})}},Ge=ot=>{const{componentCls:Ve,iconCls:yt}=ot;return{[Ve]:{[`${Ve}-circle-trail`]:{stroke:ot.remainingColor},[`&${Ve}-circle ${Ve}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Ve}-circle ${Ve}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ot.circleTextColor,fontSize:ot.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[yt]:{fontSize:`${ot.fontSize/ot.fontSizeSM}em`}},[`${Ve}-circle&-status-exception`]:{[`${Ve}-text`]:{color:ot.colorError}},[`${Ve}-circle&-status-success`]:{[`${Ve}-text`]:{color:ot.colorSuccess}}},[`${Ve}-inline-circle`]:{lineHeight:1,[`${Ve}-inner`]:{verticalAlign:"bottom"}}}},st=ot=>{const{componentCls:Ve}=ot;return{[Ve]:{[`${Ve}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ot.progressStepMinWidth,marginInlineEnd:ot.progressStepMarginInlineEnd,backgroundColor:ot.remainingColor,transition:`all ${ot.motionDurationSlow}`,"&-active":{backgroundColor:ot.defaultColor}}}}}},bt=ot=>{const{componentCls:Ve,iconCls:yt}=ot;return{[Ve]:{[`${Ve}-small&-line, ${Ve}-small&-line ${Ve}-text ${yt}`]:{fontSize:ot.fontSizeSM}}}};var dt=(0,We.Z)("Progress",ot=>{const Ve=ot.marginXXS/2,yt=(0,Te.TS)(ot,{progressStepMarginInlineEnd:Ve,progressStepMinWidth:Ve,progressActiveMotionDuration:"2.4s"});return[Ne(yt),Ge(yt),st(yt),bt(yt)]},ot=>({circleTextColor:ot.colorText,defaultColor:ot.colorInfo,remainingColor:ot.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Qe=function(ot,Ve){var yt={};for(var Pt in ot)Object.prototype.hasOwnProperty.call(ot,Pt)&&Ve.indexOf(Pt)<0&&(yt[Pt]=ot[Pt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Pt=Object.getOwnPropertySymbols(ot);At{const{prefixCls:yt,className:Pt,rootClassName:At,steps:Gt,strokeColor:on,percent:un=0,size:Cn="default",showInfo:Dn=!0,type:Ln="line",status:Yn,format:br,style:Wr}=ot,aa=Qe(ot,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),ta=Ce.useMemo(()=>{var kt,Nt;const hn=rt(ot);return parseInt(hn!==void 0?(kt=hn!=null?hn:0)===null||kt===void 0?void 0:kt.toString():(Nt=un!=null?un:0)===null||Nt===void 0?void 0:Nt.toString(),10)},[un,ot.success,ot.successPercent]),Gr=Ce.useMemo(()=>!Lt.includes(Yn)&&ta>=100?"success":Yn||"normal",[Yn,ta]),{getPrefixCls:Sa,direction:Pa,progress:Cr}=Ce.useContext(ce.E_),ca=Sa("progress",yt),[bn,Tn]=dt(ca),Nn=Ce.useMemo(()=>{if(!Dn)return null;const kt=rt(ot);let Nt;const hn=br||(Vn=>`${Vn}%`),Zn=Ln==="line";return br||Gr!=="exception"&&Gr!=="success"?Nt=hn(ut(un),ut(kt)):Gr==="exception"?Nt=Zn?Ce.createElement(ye.Z,null):Ce.createElement(me.Z,null):Gr==="success"&&(Nt=Zn?Ce.createElement(Ze.Z,null):Ce.createElement(E.Z,null)),Ce.createElement("span",{className:`${ca}-text`,title:typeof Nt=="string"?Nt:void 0},Nt)},[Dn,un,ta,Gr,Ln,ca,br]),oa=Array.isArray(on)?on[0]:on,Ir=typeof on=="string"||Array.isArray(on)?on:void 0;let nr;Ln==="line"?nr=Gt?Ce.createElement(Re,Object.assign({},ot,{strokeColor:Ir,prefixCls:ca,steps:Gt}),Nn):Ce.createElement(ze,Object.assign({},ot,{strokeColor:oa,prefixCls:ca,direction:Pa}),Nn):(Ln==="circle"||Ln==="dashboard")&&(nr=Ce.createElement(Je,Object.assign({},ot,{strokeColor:oa,prefixCls:ca,progressStatus:Gr}),Nn));const Bt=te()(ca,`${ca}-status-${Gr}`,`${ca}-${Ln==="dashboard"&&"circle"||Gt&&"steps"||Ln}`,{[`${ca}-inline-circle`]:Ln==="circle"&&_e(Cn,"circle")[0]<=20,[`${ca}-show-info`]:Dn,[`${ca}-${Cn}`]:typeof Cn=="string",[`${ca}-rtl`]:Pa==="rtl"},Cr==null?void 0:Cr.className,Pt,At,Tn);return bn(Ce.createElement("div",Object.assign({ref:Ve,style:Object.assign(Object.assign({},Cr==null?void 0:Cr.style),Wr),className:Bt,role:"progressbar","aria-valuenow":ta},(0,ue.Z)(aa,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),nr))}),Ct=at},49867:function(jt,wt,be){"use strict";be.d(wt,{N:function(){return Ce}});const Ce=Ze=>({color:Ze.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Ze.motionDurationSlow}`,"&:focus, &:hover":{color:Ze.colorLinkHover},"&:active":{color:Ze.colorLinkActive}})},9430:function(jt,wt,be){"use strict";be.d(wt,{default:function(){return ss}});var Ce={},Ze="rc-table-internal-hook",E=be(97685),ye=be(66680),me=be(8410),oe=be(91881),te=be(67294),ue=be(73935);function ce(Ie){var De=te.createContext(void 0),tt=function(gt){var vt=gt.value,Ot=gt.children,Ft=te.useRef(vt);Ft.current=vt;var It=te.useState(function(){return{getValue:function(){return Ft.current},listeners:new Set}}),Zt=(0,E.Z)(It,1),Qt=Zt[0];return(0,me.Z)(function(){(0,ue.unstable_batchedUpdates)(function(){Qt.listeners.forEach(function(Ht){Ht(vt)})})},[vt]),te.createElement(De.Provider,{value:Qt},Ot)};return{Context:De,Provider:tt,defaultValue:Ie}}function le(Ie,De){var tt=(0,ye.Z)(typeof De=="function"?De:function(Ht){if(De===void 0)return Ht;if(!Array.isArray(De))return Ht[De];var cn={};return De.forEach(function(dn){cn[dn]=Ht[dn]}),cn}),lt=te.useContext(Ie==null?void 0:Ie.Context),gt=lt||{},vt=gt.listeners,Ot=gt.getValue,Ft=te.useRef();Ft.current=tt(lt?Ot():Ie==null?void 0:Ie.defaultValue);var It=te.useState({}),Zt=(0,E.Z)(It,2),Qt=Zt[1];return(0,me.Z)(function(){if(!lt)return;function Ht(cn){var dn=tt(cn);(0,oe.Z)(Ft.current,dn,!0)||Qt({})}return vt.add(Ht),function(){vt.delete(Ht)}},[lt]),Ft.current}var de=be(87462),ae=be(42550);function ie(){var Ie=te.createContext(null);function De(){return te.useContext(Ie)}function tt(gt,vt){var Ot=(0,ae.Yr)(gt),Ft=function(Zt,Qt){var Ht=Ot?{ref:Qt}:{},cn=te.useRef(0),dn=te.useRef(Zt),pn=De();return pn!==null?te.createElement(gt,(0,de.Z)({},Zt,Ht)):((!vt||vt(dn.current,Zt))&&(cn.current+=1),dn.current=Zt,te.createElement(Ie.Provider,{value:cn.current},te.createElement(gt,(0,de.Z)({},Zt,Ht))))};return Ot?te.forwardRef(Ft):Ft}function lt(gt,vt){var Ot=(0,ae.Yr)(gt),Ft=function(Zt,Qt){var Ht=Ot?{ref:Qt}:{};return De(),te.createElement(gt,(0,de.Z)({},Zt,Ht))};return Ot?te.memo(te.forwardRef(Ft),vt):te.memo(Ft,vt)}return{makeImmutable:tt,responseImmutable:lt,useImmutableMark:De}}var ne=ie(),a=ne.makeImmutable,y=ne.responseImmutable,x=ne.useImmutableMark,b=ie(),z=b.makeImmutable,ee=b.responseImmutable,re=b.useImmutableMark,se=ce(),fe=se;function ve(Ie,De){var tt=te.useRef(0);tt.current+=1;var lt=te.useRef(Ie),gt=[];Object.keys(Ie||{}).map(function(Ot){var Ft;(Ie==null?void 0:Ie[Ot])!==((Ft=lt.current)===null||Ft===void 0?void 0:Ft[Ot])&>.push(Ot)}),lt.current=Ie;var vt=te.useRef([]);return gt.length&&(vt.current=gt),te.useDebugValue(tt.current),te.useDebugValue(vt.current.join(", ")),De&&console.log("".concat(De,":"),tt.current,vt.current),tt.current}var ge=null,he=te.memo(function(){var Ie=ve();return te.createElement("h1",null,"Render Times: ",Ie)});he.displayName="RenderBlock";var pe=be(71002),Se=be(1413),Pe=be(4942),je=be(94184),we=be.n(je);function Oe(Ie,De,tt){var lt=te.useRef({});return(!("value"in lt.current)||tt(lt.current.condition,De))&&(lt.current.value=Ie(),lt.current.condition=De),lt.current.value}var Ae={},Fe=[],ke=function(De){Fe.push(De)};function He(Ie,De){if(0)var tt}function Me(Ie,De){if(0)var tt}function ut(){Ae={}}function rt(Ie,De,tt){!De&&!Ae[tt]&&(Ie(!1,tt),Ae[tt]=!0)}function et(Ie,De){rt(He,Ie,De)}function Xe(Ie,De){rt(Me,Ie,De)}et.preMessage=ke,et.resetWarned=ut,et.noteOnce=Xe;var _e=et;function $e(Ie,De){var tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,lt=new Set;function gt(vt,Ot){var Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,It=lt.has(vt);if(_e(!It,"Warning: There may be circular references"),It)return!1;if(vt===Ot)return!0;if(tt&&Ft>1)return!1;lt.add(vt);var Zt=Ft+1;if(Array.isArray(vt)){if(!Array.isArray(Ot)||vt.length!==Ot.length)return!1;for(var Qt=0;Qt=tt}function Ye(Ie,De){return le(fe,function(tt){var lt=qe(Ie,De||1,tt.hoverStartRow,tt.hoverEndRow);return[lt,tt.onHover]})}var We=function(De){var tt=De.ellipsis,lt=De.rowType,gt=De.children,vt,Ot=tt===!0?{showTitle:!0}:tt;return Ot&&(Ot.showTitle||lt==="header")&&(typeof gt=="string"||typeof gt=="number"?vt=gt.toString():te.isValidElement(gt)&&typeof gt.props.children=="string"&&(vt=gt.props.children)),vt};function Te(Ie){var De,tt,lt,gt,vt,Ot,Ft,It,Zt=Ie.component,Qt=Ie.children,Ht=Ie.ellipsis,cn=Ie.scope,dn=Ie.prefixCls,pn=Ie.className,Bn=Ie.align,On=Ie.record,_n=Ie.render,Rn=Ie.dataIndex,Wn=Ie.renderIndex,yr=Ie.shouldCellUpdate,jr=Ie.index,mr=Ie.rowType,Zr=Ie.colSpan,qr=Ie.rowSpan,ar=Ie.fixLeft,pr=Ie.fixRight,tr=Ie.firstFixLeft,Hn=Ie.lastFixLeft,dr=Ie.firstFixRight,wr=Ie.lastFixRight,ea=Ie.appendNode,Qr=Ie.additionalProps,Er=Qr===void 0?{}:Qr,ua=Ie.isSticky,ba="".concat(dn,"-cell"),_a=le(fe,["supportSticky","allColumnsFixedLeft"]),La=_a.supportSticky,uo=_a.allColumnsFixedLeft,co=Re(On,Rn,Wn,Qt,_n,yr),ra=(0,E.Z)(co,2),Po=ra[0],Gn=ra[1],Rr={},ya=typeof ar=="number"&&La,Ja=typeof pr=="number"&&La;ya&&(Rr.position="sticky",Rr.left=ar),Ja&&(Rr.position="sticky",Rr.right=pr);var or=(De=(tt=(lt=Gn==null?void 0:Gn.colSpan)!==null&<!==void 0?lt:Er.colSpan)!==null&&tt!==void 0?tt:Zr)!==null&&De!==void 0?De:1,Fr=(gt=(vt=(Ot=Gn==null?void 0:Gn.rowSpan)!==null&&Ot!==void 0?Ot:Er.rowSpan)!==null&&vt!==void 0?vt:qr)!==null&>!==void 0?gt:1,Mr=Ye(jr,Fr),xr=(0,E.Z)(Mr,2),Na=xr[0],Nr=xr[1],fa=function(Do){var pi;On&&Nr(jr,jr+Fr-1),Er==null||(pi=Er.onMouseEnter)===null||pi===void 0||pi.call(Er,Do)},Da=function(Do){var pi;On&&Nr(-1,-1),Er==null||(pi=Er.onMouseLeave)===null||pi===void 0||pi.call(Er,Do)};if(or===0||Fr===0)return null;var Ra=(Ft=Er.title)!==null&&Ft!==void 0?Ft:We({rowType:mr,ellipsis:Ht,children:Po}),ei=we()(ba,pn,(It={},(0,Pe.Z)(It,"".concat(ba,"-fix-left"),ya&&La),(0,Pe.Z)(It,"".concat(ba,"-fix-left-first"),tr&&La),(0,Pe.Z)(It,"".concat(ba,"-fix-left-last"),Hn&&La),(0,Pe.Z)(It,"".concat(ba,"-fix-left-all"),Hn&&uo&&La),(0,Pe.Z)(It,"".concat(ba,"-fix-right"),Ja&&La),(0,Pe.Z)(It,"".concat(ba,"-fix-right-first"),dr&&La),(0,Pe.Z)(It,"".concat(ba,"-fix-right-last"),wr&&La),(0,Pe.Z)(It,"".concat(ba,"-ellipsis"),Ht),(0,Pe.Z)(It,"".concat(ba,"-with-append"),ea),(0,Pe.Z)(It,"".concat(ba,"-fix-sticky"),(ya||Ja)&&ua&&La),(0,Pe.Z)(It,"".concat(ba,"-row-hover"),!Gn&&Na),It),Er.className,Gn==null?void 0:Gn.className),Zo={};Bn&&(Zo.textAlign=Bn);var Ui=(0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)({},Rr),Er.style),Zo),Gn==null?void 0:Gn.style),Mo=Po;return(0,pe.Z)(Mo)==="object"&&!Array.isArray(Mo)&&!te.isValidElement(Mo)&&(Mo=null),Ht&&(Hn||dr)&&(Mo=te.createElement("span",{className:"".concat(ba,"-content")},Mo)),te.createElement(Zt,(0,de.Z)({},Gn,Er,{className:ei,style:Ui,title:Ra,scope:cn,onMouseEnter:fa,onMouseLeave:Da,colSpan:or!==1?or:null,rowSpan:Fr!==1?Fr:null}),ea,Mo)}var xe=te.memo(Te);function Ne(Ie,De,tt,lt,gt,vt){var Ot=tt[Ie]||{},Ft=tt[De]||{},It,Zt;Ot.fixed==="left"?It=lt.left[gt==="rtl"?De:Ie]:Ft.fixed==="right"&&(Zt=lt.right[gt==="rtl"?Ie:De]);var Qt=!1,Ht=!1,cn=!1,dn=!1,pn=tt[De+1],Bn=tt[Ie-1],On=!(vt!=null&&vt.children);if(gt==="rtl"){if(It!==void 0){var _n=Bn&&Bn.fixed==="left";dn=!_n&&On}else if(Zt!==void 0){var Rn=pn&&pn.fixed==="right";cn=!Rn&&On}}else if(It!==void 0){var Wn=pn&&pn.fixed==="left";Qt=!Wn&&On}else if(Zt!==void 0){var yr=Bn&&Bn.fixed==="right";Ht=!yr&&On}return{fixLeft:It,fixRight:Zt,lastFixLeft:Qt,firstFixRight:Ht,lastFixRight:cn,firstFixLeft:dn,isSticky:lt.isSticky}}var Ge=te.createContext({}),st=Ge;function bt(Ie){var De=Ie.className,tt=Ie.index,lt=Ie.children,gt=Ie.colSpan,vt=gt===void 0?1:gt,Ot=Ie.rowSpan,Ft=Ie.align,It=le(fe,["prefixCls","direction"]),Zt=It.prefixCls,Qt=It.direction,Ht=te.useContext(st),cn=Ht.scrollColumnIndex,dn=Ht.stickyOffsets,pn=Ht.flattenColumns,Bn=Ht.columns,On=tt+vt-1,_n=On+1===cn?vt+1:vt,Rn=Ne(tt,tt+_n-1,pn,dn,Qt,Bn==null?void 0:Bn[tt]);return te.createElement(xe,(0,de.Z)({className:De,index:tt,component:"td",prefixCls:Zt,record:null,dataIndex:null,align:Ft,colSpan:_n,rowSpan:Ot,render:function(){return lt}},Rn))}var dt=be(45987),Qe=["children"];function mt(Ie){var De=Ie.children,tt=(0,dt.Z)(Ie,Qe);return te.createElement("tr",tt,De)}function Lt(Ie){var De=Ie.children;return De}Lt.Row=mt,Lt.Cell=bt;var Mt=Lt;function at(Ie){var De=Ie.children,tt=Ie.stickyOffsets,lt=Ie.flattenColumns,gt=Ie.columns,vt=le(fe,"prefixCls"),Ot=lt.length-1,Ft=lt[Ot],It=te.useMemo(function(){return{stickyOffsets:tt,flattenColumns:lt,scrollColumnIndex:Ft!=null&&Ft.scrollbar?Ot:null,columns:gt}},[Ft,lt,Ot,tt,gt]);return te.createElement(st.Provider,{value:It},te.createElement("tfoot",{className:"".concat(vt,"-summary")},De))}var Ct=ee(at),ot=Mt;function Ve(Ie){var De=te.useRef();De.current=Ie;var tt=te.useCallback(function(){for(var lt,gt=arguments.length,vt=new Array(gt),Ot=0;Ot3&&arguments[3]!==void 0?arguments[3]:!1;return De.length&<&&tt===void 0&&!get(Ie,De.slice(0,-1))?Ie:Gr(Ie,De,tt,lt)}function Pa(Ie){return _typeof(Ie)==="object"&&Ie!==null&&Object.getPrototypeOf(Ie)===Object.prototype}function Cr(Ie){return Array.isArray(Ie)?[]:{}}var ca=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function bn(){for(var Ie=arguments.length,De=new Array(Ie),tt=0;tt