(self.webpackChunk=self.webpackChunk||[]).push([[6913],{89489:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return le}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(se,ue){return nt.createElement(ve.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},59477:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return le}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(se,ue){return nt.createElement(ve.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},65363:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return le}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(se,ue){return nt.createElement(ve.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},26227:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return le}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(se,ue){return nt.createElement(ve.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},49198:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return le}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(se,ue){return nt.createElement(ve.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},41464:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return le}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(se,ue){return nt.createElement(ve.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},52671:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return le}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(se,ue){return nt.createElement(ve.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},8657:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return le}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(se,ue){return nt.createElement(ve.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},56082:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return le}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(se,ue){return nt.createElement(ve.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},33853:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return le}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(se,ue){return nt.createElement(ve.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},15075:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return le}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(se,ue){return nt.createElement(ve.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},43531:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return le}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(se,ue){return nt.createElement(ve.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},76618:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return le}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(se,ue){return nt.createElement(ve.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},38819:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return le}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(se,ue){return nt.createElement(ve.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},88010:function(Ct,bt){"use strict";bt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},38476:function(){"use strict"},74413:function(){"use strict";function Ct(ne,a,y,E){y===void 0&&(y=0),E===void 0&&(E=1/0),this._name=ne,this._defaultValue=a,this._minimum=y,this._maximum=E}Object.defineProperty(Ct.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(Ct.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(Ct.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(Ct.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 Ct))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 E=go.Shape._FigureParameters[ne];E||(E=[],go.Shape._FigureParameters[ne]=E),E[a]=y};var bt=[];function Oe(ne,a){var y=bt.pop();return y===void 0?new go.Point(ne,a):(y.x=ne,y.y=a,y)}function Be(){var ne=bt.pop();return ne===void 0?new go.Point:ne}function nt(ne){bt.push(ne)}function x(ne,a,y,E,b,z,ee,re,ce){ce||(ce=new go.Point);var me=ne-y,he=b-ee,fe=NaN,pe=NaN;if(me===0)if(he===0)ne===y&&(fe=ne,pe=a);else{var ge=(z-re)/he,ye=z-ge*b;fe=ne,pe=ge*fe+ye}else if(he===0){var be=(a-E)/me,Ae=a-be*ne;fe=b,pe=be*fe+Ae}else{var be=(a-E)/me,ge=(z-re)/he,Ae=a-be*ne,ye=z-ge*b;fe=(ye-Ae)/(be-ge),pe=be*fe+Ae}return ce.x=fe,ce.y=pe,ce}function Se(ne,a,y,E,b,z,ee,re,ce,me,he,fe,pe,ge){var ye=1-ce,be=ce,Ae=ne*ye+y*be,Pe=a*ye+E*be,Le=y*ye+b*be,Ne=E*ye+z*be,De=b*ye+ee*be,ze=z*ye+re*be,et=Ae*ye+Le*be,Me=Pe*ye+Ne*be,it=Le*ye+De*be,at=Ne*ye+ze*be,Je=et*ye+it*be,Ye=Me*ye+at*be;me.x=Ae,me.y=Pe,he.x=et,he.y=Me,fe.x=Je,fe.y=Ye,pe.x=it,pe.y=at,ge.x=De,ge.y=ze}var ve=new go.Spot(.156,.156),ae=new go.Spot(.844,.844),te=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ct("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ne,a,y){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=5),E=Math.min(E,a/3),E=Math.min(E,y/3);var b=E*te,z=new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,E,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-E)).add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Bezier,E,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 E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=y/2,E.endX=a,E.endY=y/2,E}),go.Shape.defineFigureGenerator("LineV",function(ne,a,y){var E=new go.Geometry(go.Geometry.Line);return E.startX=a/2,E.startY=0,E.endX=a/2,E.endY=y,E}),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 E=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(E*a,(1-E)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,E*y)).add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,(1-E)*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 E=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close()));return b.spot1=ve,b.spot2=ae,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ne,a,y){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}),go.Shape.defineFigureGenerator("Line2",function(ne,a,y){var E=new go.Geometry(go.Geometry.Line);return E.startX=a,E.startY=0,E.endX=0,E.endY=y,E}),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 Ct("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)?E=.1:E<-1?E=-1:E>1&&(E=1);var b=Math.abs(E)*a;if(E===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 E>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&&(E=a);var b=Math.abs(E);if(E===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 E>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&&(E=.5);var b=Math.abs(E)*a;if(E===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 E>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&&(E=a/2);var b=Math.abs(E);if(E===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 E>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&&(E=a/2);var b=Math.abs(E);if(E===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 E>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=ve,z.spot2=ae,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 E=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(E*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)).add(new go.PathSegment(go.PathSegment.Line,E*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y)).add(new go.PathSegment(go.PathSegment.Line,0,E*y).close())).setSpots(E/2,E/2,1-E/2,1-E/2)}),go.Shape.setFigureParameter("Pie",0,new Ct("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Ct("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ne,a,y){var E=ne?ne.parameter1:NaN,b=ne?ne.parameter2:NaN;isNaN(E)&&(E=0),isNaN(b)&&(b=315);var z=E%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 E=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-E)*y,(b+E)*a,(z+E)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ne,a,y){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=30);var b=Math.min(E,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 Ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ne,a,y){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=Math.min(E,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 Ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ne,a,y){var E=ne?ne.parameter1:NaN;if((isNaN(E)||E<0)&&(E=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),ce=E-Math.min(Math.cos(re)*E/2,z),me=E-Math.min(Math.sin(re)*E/2,ee),b=new go.Geometry,he=new go.PathFigure(ce,0,!0);return b.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),he.add(new go.PathSegment(go.PathSegment.Line,a-ce,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,me)),he.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),he.add(new go.PathSegment(go.PathSegment.Line,a,y-me)),he.add(new go.PathSegment(go.PathSegment.Line,a-ce,y)),he.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),he.add(new go.PathSegment(go.PathSegment.Line,ce,y)),he.add(new go.PathSegment(go.PathSegment.Line,0,y-me)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),he.add(new go.PathSegment(go.PathSegment.Line,0,me).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ne,a,y){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=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 Ct("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.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,E*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*a,E*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*a,(1-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*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-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*a,(1-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*a,E*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,E*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ct("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.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-E)*a,.25*y,Math.abs(1-E)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*a,.75*y,E*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 E=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);E.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,ce=z*te;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+ce+re)*y,(.5-ce+ee)*a,(.5+z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+re)*y,(.5+ce+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+ce+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee)*a,(.5-ce+re)*y,(.5+ce+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-ce+ee)*a,(.5-z+re)*y,(.5-z+ee+.05)*a,(.5-ce+re-.02)*y)),z=.2,ee=0,re=-.3,ce=z*te,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+re)*y,(.5+ce+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+ce+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee)*a,(.5-ce+re)*y,(.5+ce+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+re)*y,(.5-ce+ee)*a,(.5-z+re)*y,(.5-z+ee)*a,(.5-ce+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ce+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+ce+re)*y,(.5-ce+ee)*a,(.5+z+re)*y)),z=.2,ee=-.3,re=0,ce=z*te,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee-.05)*a,(.5-ce+re-.02)*y,(.5+ce+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+re)*y,(.5-ce+ee)*a,(.5-z+re)*y,(.5-z+ee)*a,(.5-ce+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+ce+re)*y,(.5-ce+ee)*a,(.5+z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+ce+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+ce+re)*y).close()),E.setSpots(.06,.33,.93,.68),E}),go.Shape.defineFigureGenerator("YinYang",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);E.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),E.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),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*re,z*a,z*a).close()),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Peace",function(ne,a,y){var E=.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-E)*a,E*y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,E*a,E*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ne,a,y){var E=new go.Geometry,b=te*.5,z=.5,ee=.5,re=.5,ce=new go.PathFigure(ee*a,(re-z)*y);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ce.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 me=Be(),he=Be(),fe=Be(),pe=Be();Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.42,me,he,fe,pe,pe);var ge=Be(),ye=Be(),be=Be();Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.58,pe,pe,be,ge,ye);var Ae=Be(),Pe=Be(),Le=Be();Se(ee,re+z,ee-b,re+z,ee-z,re+b,ee-z,re,.42,Ae,Pe,Le,pe,pe);var Ne=Be(),De=Be(),ze=Be();return Se(ee,re+z,ee-b,re+z,ee-z,re+b,ee-z,re,.58,pe,pe,ze,Ne,De),ce.add(new go.PathSegment(go.PathSegment.Move,ze.x*a,ze.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,Ne.x*a,Ne.y*y,De.x*a,De.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*a,fe.y*y,me.x*a,me.y*y,he.x*a,he.y*y)),ce.add(new go.PathSegment(go.PathSegment.Line,ze.x*a,ze.y*y).close()),ce.add(new go.PathSegment(go.PathSegment.Move,Le.x*a,Le.y*y)),ce.add(new go.PathSegment(go.PathSegment.Line,be.x*a,be.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,ge.x*a,ge.y*y,ye.x*a,ye.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Le.x*a,Le.y*y,Ae.x*a,Ae.y*y,Pe.x*a,Pe.y*y).close()),nt(me),nt(he),nt(fe),nt(pe),nt(ge),nt(ye),nt(be),nt(Ae),nt(Pe),nt(Le),nt(Ne),nt(De),nt(ze),E.defaultStretch=go.GraphObject.Uniform,E}),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 Ct("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ne,a,y){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=30),E>a&&(E=a);var b=(a-E)/2,z=b+E;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 E=new go.Geometry,b=te*.4,z=.4,ee=.5,re=.5,ce=Be(),me=Be(),he=Be(),fe=Be(),pe=new go.PathFigure((ee-z)*a,re*y,!1);E.add(pe),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)),Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.44,he,fe,me,ce,ce),pe.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,he.x*a,he.y*y,fe.x*a,fe.y*y));var ge=Oe(me.x,me.y);Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.56,ce,ce,me,he,fe);var ye=Oe(me.x,me.y);pe.add(new go.PathSegment(go.PathSegment.Line,(ge.x*.1+.95*.9)*a,ge.y*.1*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,ge.y*.1*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),pe.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.9)*a,.15*y)),pe.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.9)*a,(ye.y*.1+.05*.9)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,ye.x*a,ye.y*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,he.x*a,he.y*y,fe.x*a,fe.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)),z=.35,b=te*.35;var be=new go.PathFigure(ee*a,(re-z)*y,!1);E.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y));var Ae=new go.PathFigure((ee-z)*a,re*y,!1);return E.add(Ae),nt(ce),nt(me),nt(he),nt(fe),nt(ge),nt(ye),E.spot1=new go.Spot(.202,.257),E.spot2=new go.Spot(.792,.739),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("GenderFemale",function(ne,a,y){var E=new go.Geometry,b=.375,z=0,ee=-.125,re=b*te,ce=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);E.add(ce),ce.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)),ce.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)),ce.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)),ce.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)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,ee=-.125,re=b*te;var ce=new go.PathFigure((1-.5+b+z)*a,(.5+ee)*y,!1);E.add(ce),ce.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)),ce.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)),ce.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)),ce.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 ce=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);return E.add(ce),E.spot1=new go.Spot(.232,.136),E.spot2=new go.Spot(.682,.611),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicImplies",function(ne,a,y){var E=ne?ne.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*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 E=ne?ne.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*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,E*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,E*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 E=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 E.defaultStretch=go.GraphObject.Uniform,E}),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 E=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,E*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,E*a,E*y,E*a,E*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ne,a,y){var E=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,E*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,E*a,E*y,E*a,E*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Ct("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Ct("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.3);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-E)*a,ee=(.5-b/2)*y,re=(.5+b/2)*y,ce=new go.Geometry,me=new go.PathFigure(0,ee,!0);ce.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z,ee)),me.add(new go.PathSegment(go.PathSegment.Line,z,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,z,y)),me.add(new go.PathSegment(go.PathSegment.Line,z,re)),me.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ce.spot1=new go.Spot(0,ee/y);var he=x(0,re/y,1,re/y,z/a,1,1,.5,Be());return ce.spot2=new go.Spot(he.x,he.y),nt(he),ce}),go.Shape.setFigureParameter("Arrow2",0,new Ct("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Ct("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=30),E>a&&(E=a);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var z=a-E,ee=(y-b)/2,re=ee+b,ce=new go.Geometry,me=new go.PathFigure(0,ee,!0);ce.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z,ee)),me.add(new go.PathSegment(go.PathSegment.Line,z,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,z,y)),me.add(new go.PathSegment(go.PathSegment.Line,z,re)),me.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ce.spot1=new go.Spot(0,ee/y);var he=x(0,re/y,1,re/y,z/a,1,1,.5,Be());return ce.spot2=new go.Spot(he.x,he.y),nt(he),ce}),go.Shape.defineFigureGenerator("Chevron",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.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()),E}),go.Shape.defineFigureGenerator("DoubleArrow",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.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()),E}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Ct("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*y,z=(.5+E/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 ce=x(0,.5,.3,0,0,b/y,.1,b/y,Be());return ee.spot1=new go.Spot(ce.x,ce.y),ce=x(.7,1,1,.5,0,z/y,1,z/y,ce),ee.spot2=new go.Spot(ce.x,ce.y),nt(ce),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Ct("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Ct("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-E)/2,ee=z+E,re=(y-b)/2,ce=re+b;(E>y||b>y)&&(b>E?(E=E*y/b,z=(y-E)/2,ee=z+E,re=0,ce=y):(z=0,ee=y,re=0,ce=y));var me=new go.Geometry,he=new go.PathFigure(a,.5*y,!0);me.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),he.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),he.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),he.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),he.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close());var fe=x(0,.5,.3,re/y,0,z/y,1,z/y,Be());return me.spot1=new go.Spot(fe.x,fe.y),fe=x(.7,ce/y,1,.5,0,ee/y,1,ee/y,fe),me.spot2=new go.Spot(fe.x,fe.y),nt(fe),me}),go.Shape.setFigureParameter("IBeamArrow",0,new Ct("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*y,z=(.5+E/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 ce=x(.7,1,1,.5,0,z/y,1,z/y,Be());return ee.spot2=new go.Spot(ce.x,ce.y),nt(ce),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new Ct("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Ct("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-E)/2,ee=z+E,re=(y-b)/2,ce=re+b;(E>y||b>y)&&(b>E?(E=E*y/b,z=(y-E)/2,ee=z+E,re=0,ce=y):(z=0,ee=y,re=0,ce=y));var me=new go.Geometry,he=new go.PathFigure(a,.5*y,!0);me.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),he.add(new go.PathSegment(go.PathSegment.Line,0,ce)),he.add(new go.PathSegment(go.PathSegment.Line,0,re)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close()),me.spot1=new go.Spot(0,z/y);var fe=x(.7,ce/y,1,.5,0,ee/y,1,ee/y,Be());return me.spot2=new go.Spot(fe.x,fe.y),nt(fe),me}),go.Shape.setFigureParameter("Pointer",0,new Ct("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.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,E*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(E,.35);var ee=x(.2,.65,1,.65,0,1,1,.5,Be());return b.spot2=new go.Spot(ee.x,ee.y),nt(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Ct("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.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,E*a,.75*y,E*a,.25*y).close()),b.spot1=new go.Spot(E,.35);var ee=x(0,.65,1,.65,0,1,1,.5,Be());return b.spot2=new go.Spot(ee.x,ee.y),nt(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Ct("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.4);var b=(.5-E/2)*y,z=(.5+E/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 ce=x(.7,1,1,.5,0,z/y,1,z/y,Be());return ee.spot2=new go.Spot(ce.x,ce.y),nt(ce),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Ct("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=50);var b=(y-E)/2,z=b+E;E>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 ce=x(.7,1,1,.5,0,z/y,1,z/y,Be());return ee.spot2=new go.Spot(ce.x,ce.y),nt(ce),ee}),go.Shape.setFigureParameter("SquareArrow",0,new Ct("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.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,E*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,E*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(E,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ne,a,y){var E=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(0,.9*y,!0);return E.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()),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.97),E}),go.Shape.defineFigureGenerator("Cone2",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);E.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 E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.82),E}),go.Shape.defineFigureGenerator("Cube1",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);E.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 E.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)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.5,.85),E}),go.Shape.defineFigureGenerator("Cube2",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);E.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 E.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)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.7,1),E}),go.Shape.defineFigureGenerator("Cylinder1",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(0,E,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,te*E,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,E,(.5+z)*a,0,1*a,te*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-te*E,(.5+z)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,(.5-z)*a,1*y,0,y-te*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E));var re=new go.PathFigure(a,E,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*E,1*a,2*E-te*E,(.5+z)*a,2*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,E,(.5-z)*a,2*E,0,2*E-te*E)),b.spot1=new go.Spot(0,0,0,2*E),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(0,y-E,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,te*E,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,E,(.5+z)*a,0,a,te*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-te*E,(.5+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,(.5-z)*a,y,0,y-te*E));var re=new go.PathFigure(0,y-E,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*E,0,y-E-te*E,(.5-z)*a,y-2*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,y-E,(.5+z)*a,y-2*E,a,y-E-te*E)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*E),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(E,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-te*E,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,(.5+z)*y,a-te*E,y)),ee.add(new go.PathSegment(go.PathSegment.Line,E,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,te*E,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-z)*y,te*E,0));var re=new go.PathFigure(E,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*E,.5*y,E+te*E,0,2*E,(.5-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,y,2*E,(.5+z)*y,E+te*E,y)),b.spot1=new go.Spot(0,0,2*E,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(a-E,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-te*E,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,(.5+z)*y,a-te*E,y)),ee.add(new go.PathSegment(go.PathSegment.Line,E,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,te*E,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-z)*y,te*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-E,0));var re=new go.PathFigure(a-E,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a-2*E,.5*y,a-E-te*E,0,a-2*E,(.5-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a-2*E,(.5+z)*y,a-E-te*E,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*E,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);E.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 E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.spot1=new go.Spot(.408,.172),E.spot2=new go.Spot(.833,.662),E}),go.Shape.defineFigureGenerator("Prism2",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);E.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 E.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)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("Pyramid1",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);E.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 E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Pyramid2",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);E.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 E.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)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Actor",function(ne,a,y){var E=new go.Geometry,b=.2,z=.1,ee=te*b,re=te*z,ce=.5,me=.1,he=new go.PathFigure(ce*a,(me+z)*y,!0);E.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ce-b)*a,me*y,(ce-ee)*a,(me+z)*y,(ce-b)*a,(me+re)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-z)*y,(ce-b)*a,(me-re)*y,(ce-ee)*a,(me-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ce+b)*a,me*y,(ce+ee)*a,(me-z)*y,(ce+b)*a,(me-re)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me+z)*y,(ce+b)*a,(me+re)*y,(ce+ee)*a,(me+z)*y));var fe=.05,pe=te*fe;ce=.05,me=.25;var ge=new go.PathFigure(.5*a,.2*y,!0);return E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),ce=.95,me=.25,ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce+fe)*a,me*y,(ce+pe)*a,(me-fe)*y,(ce+fe)*a,(me-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),fe=.025,pe=te*fe,ce=.825,me=.35,ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-fe)*y,(ce+fe)*a,(me-pe)*y,(ce+pe)*a,(me-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-fe)*a,me*y,(ce-pe)*a,(me-fe)*y,(ce-fe)*a,(me-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),fe=.05,pe=te*fe,ce=.5,me=.7,ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-fe)*y,(ce+fe)*a,(me-pe)*y,(ce+pe)*a,(me-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-fe)*a,me*y,(ce-pe)*a,(me-fe)*y,(ce-fe)*a,(me-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),fe=.025,pe=te*fe,ce=.175,me=.35,ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-fe)*y,(ce+fe)*a,(me-pe)*y,(ce+pe)*a,(me-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-fe)*a,me*y,(ce-pe)*a,(me-fe)*y,(ce-fe)*a,(me-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),fe=.05,pe=te*fe,ce=.05,me=.25,ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-fe)*y,(ce-fe)*a,(me-pe)*y,(ce-pe)*a,(me-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),E.spot1=new go.Spot(.2,.2),E.spot2=new go.Spot(.8,.65),E}),go.Shape.setFigureParameter("Card",0,new Ct("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.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,E*y)),z.add(new go.PathSegment(go.PathSegment.Line,E*a,0).close()),b.spot1=new go.Spot(0,E),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);E.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 E.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)),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,.25),E}),go.Shape.defineFigureGenerator("CreateRequest",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);E.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 E.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)),E}),go.Shape.defineFigureGenerator("Database",function(ne,a,y){var E=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(a,.1*y,!0);E.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 E.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)),E.spot1=new go.Spot(0,.4),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("DataStorage",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.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()),E.spot1=new go.Spot(.226,0),E.spot2=new go.Spot(.81,1),E}),go.Shape.defineFigureGenerator("DiskStorage",function(ne,a,y){var E=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(a,.1*y,!0);E.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 E.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)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("Display",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return E.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()),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("DividedEvent",function(ne,a,y){var E=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);E.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 E.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),E}),go.Shape.defineFigureGenerator("DividedProcess",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var z=new go.PathFigure(0,0,!0);E.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 E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),E}),go.Shape.defineFigureGenerator("Document",function(ne,a,y){var E=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return E.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()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var z=new go.PathFigure(0,0,!0);E.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 E.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)),E}),go.Shape.defineFigureGenerator("ExternalProcess",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);E.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 E.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)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("File",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.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 E.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)),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Interrupt",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);E.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);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("InternalStorage",function(ne,a,y){var E=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);E.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 E.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)),E}),go.Shape.defineFigureGenerator("Junction",function(ne,a,y){var E=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ee=te*.5,re=.5,ce=new go.PathFigure(a,re*y,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,a,(re+ee)*y,(re+ee)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,re*y,(re-ee)*a,y,0,(re+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a,0,0,(re-ee)*y,(re-ee)*a,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,re*y,(re+ee)*a,0,a,(re-ee)*y));var me=new go.PathFigure((z+b)*a,(z+b)*y,!1);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),me.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),me.add(new go.PathSegment(go.PathSegment.Line,(z+b)*a,z*y)),E}),go.Shape.defineFigureGenerator("LinedDocument",function(ne,a,y){var E=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);E.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 E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),E.spot1=new go.Spot(.1,0),E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("LoopLimit",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);return E.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()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MagneticTape",function(ne,a,y){var E=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(.5*a,y,!0);return E.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)),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.8),E}),go.Shape.defineFigureGenerator("ManualInput",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a,0,!0);return E.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()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MessageFromUser",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.7);var z=new go.PathFigure(0,0,!0);return E.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()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return E.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()),E}),go.Shape.defineFigureGenerator("MicroformRecording",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.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()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("MultiDocument",function(ne,a,y){var E=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);E.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 E.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)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.8,.77),E}),go.Shape.defineFigureGenerator("MultiProcess",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);E.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 E.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)),E.spot1=new go.Spot(0,.2),E.spot2=new go.Spot(.8,1),E}),go.Shape.defineFigureGenerator("OfflineStorage",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=1-b,ee=new go.PathFigure(0,0,!0);E.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 E.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),E}),go.Shape.defineFigureGenerator("OffPageConnector",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.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()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("Or",function(ne,a,y){var E=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);E.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 E.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)),E}),go.Shape.defineFigureGenerator("PaperTape",function(ne,a,y){var E=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return E.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()),E.spot1=new go.Spot(0,.49),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ne,a,y){var E=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 E.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()),E}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ne,a,y){var E=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 E.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()),E}),go.Shape.defineFigureGenerator("Procedure",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);E.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 E.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)),E}),go.Shape.defineFigureGenerator("Process",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);E.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 E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Sort",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);E.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 E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.5),E}),go.Shape.defineFigureGenerator("Start",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*a,0,!0);E.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 E.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)),E.spot1=new go.Spot(b,0),E.spot2=new go.Spot(1-b,1),E}),go.Shape.defineFigureGenerator("Terminator",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return E.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)),E.spot1=new go.Spot(.23,0),E.spot2=new go.Spot(.77,1),E}),go.Shape.defineFigureGenerator("TransmittalTape",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);return E.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()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("AndGate",function(ne,a,y){var E=new go.Geometry,b=te*.5,z=new go.PathFigure(0,0,!0);return E.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()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.55,1),E}),go.Shape.defineFigureGenerator("Buffer",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Clock",function(ne,a,y){var E=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);E.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);E.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var ce=new go.PathFigure(.8*a,.75*y,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),E}),go.Shape.defineFigureGenerator("Ground",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return E.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)),E}),go.Shape.defineFigureGenerator("Inverter",function(ne,a,y){var E=new go.Geometry,b=te*.1,z=.1,ee=.9,re=.5,ce=new go.PathFigure(.8*a,.5*y,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var me=new go.PathFigure((ee+z)*a,re*y,!0);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re-z)*y,(ee+z)*a,(re-b)*y)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.4,.75),E}),go.Shape.defineFigureGenerator("NandGate",function(ne,a,y){var E=new go.Geometry,b=te*.5,z=te*.4,ee=te*.1,re=.1,ce=.9,me=.5,he=new go.PathFigure(.8*a,.5*y,!0);E.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+b)*a,y)),he.add(new go.PathSegment(go.PathSegment.Line,0,y)),he.add(new go.PathSegment(go.PathSegment.Line,0,0)),he.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-z)*y));var fe=new go.PathFigure((ce+re)*a,me*y,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me+re)*y,(ce+re)*a,(me+ee)*y,(ce+ee)*a,(me+re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*a,me*y,(ce-ee)*a,(me+re)*y,(ce-re)*a,(me+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-re)*y,(ce-re)*a,(me-ee)*y,(ce-ee)*a,(me-re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*a,me*y,(ce+ee)*a,(me-re)*y,(ce+re)*a,(me-ee)*y)),E.spot1=new go.Spot(0,.05),E.spot2=new go.Spot(.55,.95),E}),go.Shape.defineFigureGenerator("NorGate",function(ne,a,y){var E=new go.Geometry,b=.5,z=te*b,ee=0,re=.5,ce=new go.PathFigure(.8*a,.5*y,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),ce.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 me=new go.PathFigure((ee-b)*a,re*y,!0);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.6,.75),E}),go.Shape.defineFigureGenerator("OrGate",function(ne,a,y){var E=new go.Geometry,b=.5,z=te*b,ee=0,re=.5,ce=new go.PathFigure(0,0,!0);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z+z)*a,(re-b)*y,.8*a,(re-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(re+z)*y,(ee+z+z)*a,(re+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("XnorGate",function(ne,a,y){var E=new go.Geometry,b=.5,z=te*b,ee=.2,re=.5,ce=new go.PathFigure(.1*a,0,!1);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var me=new go.PathFigure(.8*a,.5*y,!0);E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(re+z)*y,(ee+z)*a,(re+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),me.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 he=new go.PathFigure((ee-b)*a,re*y,!0);return E.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.65,.75),E}),go.Shape.defineFigureGenerator("XorGate",function(ne,a,y){var E=new go.Geometry,b=.5,z=te*b,ee=.2,re=.5,ce=new go.PathFigure(.1*a,0,!1);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var me=new go.PathFigure(.2*a,0,!0);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z)*a,(re-b)*y,.9*a,(re-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(re+z)*y,(ee+z)*a,(re+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.8,.75),E}),go.Shape.defineFigureGenerator("Capacitor",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.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)),E}),go.Shape.defineFigureGenerator("Resistor",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return E.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)),E}),go.Shape.defineFigureGenerator("Inductor",function(ne,a,y){var E=new go.Geometry,b=te*.1,z=.1,ee=.1,re=.5,ce=new go.PathFigure((ee-b*.5)*a,y,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.3,ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.5,ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.7,ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.9,ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b*.5)*a,y,(ee+z)*a,0,(ee+b)*a,y)),E}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ne,a,y){var E=new go.Geometry,b=te*.5,z=.5,ee=.5,re=.5,ce=new go.PathFigure((ee-z)*a,re*y,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re-z)*y,(ee+z)*a,(re-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,(ee-z+.1)*a,re*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z-.1)*a,re*y,ee*a,(re-z)*y,ee*a,(re+z)*y)),E}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return E.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)),E}),go.Shape.defineFigureGenerator("Diode",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a,0,!1);return E.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)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Wifi",function(ne,a,y){var E=new go.Geometry,b=a,z=y;a=a*.38,y=y*.6;var ee=te*.8,re=.8,ce=0,me=.5,he=(b-a)/2,fe=(z-y)/2,pe=new go.PathFigure(ce*a+he,(me+re)*y+fe,!0);E.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*a+he,me*y+fe,(ce-ee)*a+he,(me+re)*y+fe,(ce-re)*a+he,(me+ee)*y+fe)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+he,(me-re)*y+fe,(ce-re)*a+he,(me-ee)*y+fe,(ce-ee)*a+he,(me-re)*y+fe)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re+ee*.5)*a+he,me*y+fe,ce*a+he,(me-re)*y+fe,(ce-re+ee*.5)*a+he,(me-ee)*y+fe)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+he,(me+re)*y+fe,(ce-re+ee*.5)*a+he,(me+ee)*y+fe,ce*a+he,(me+re)*y+fe).close()),ee=te*.4,re=.4,ce=.2,me=.5;var ge=new go.PathFigure(ce*a+he,(me+re)*y+fe,!0);E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*a+he,me*y+fe,(ce-ee)*a+he,(me+re)*y+fe,(ce-re)*a+he,(me+ee)*y+fe)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+he,(me-re)*y+fe,(ce-re)*a+he,(me-ee)*y+fe,(ce-ee)*a+he,(me-re)*y+fe)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re+ee*.5)*a+he,me*y+fe,ce*a+he,(me-re)*y+fe,(ce-re+ee*.5)*a+he,(me-ee)*y+fe)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+he,(me+re)*y+fe,(ce-re+ee*.5)*a+he,(me+ee)*y+fe,ce*a+he,(me+re)*y+fe).close()),ee=te*.2,re=.2,ce=.5,me=.5;var ye=new go.PathFigure((ce-re)*a+he,me*y+fe,!0);E.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+he,(me-re)*y+fe,(ce-re)*a+he,(me-ee)*y+fe,(ce-ee)*a+he,(me-re)*y+fe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*a+he,me*y+fe,(ce+ee)*a+he,(me-re)*y+fe,(ce+re)*a+he,(me-ee)*y+fe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+he,(me+re)*y+fe,(ce+re)*a+he,(me+ee)*y+fe,(ce+ee)*a+he,(me+re)*y+fe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*a+he,me*y+fe,(ce-ee)*a+he,(me+re)*y+fe,(ce-re)*a+he,(me+ee)*y+fe)),ee=te*.4,re=.4,ce=.8,me=.5;var be=new go.PathFigure(ce*a+he,(me-re)*y+fe,!0);E.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*a+he,me*y+fe,(ce+ee)*a+he,(me-re)*y+fe,(ce+re)*a+he,(me-ee)*y+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+he,(me+re)*y+fe,(ce+re)*a+he,(me+ee)*y+fe,(ce+ee)*a+he,(me+re)*y+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re-ee*.5)*a+he,me*y+fe,ce*a+he,(me+re)*y+fe,(ce+re-ee*.5)*a+he,(me+ee)*y+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+he,(me-re)*y+fe,(ce+re-ee*.5)*a+he,(me-ee)*y+fe,ce*a+he,(me-re)*y+fe).close()),ee=te*.8,re=.8,ce=1,me=.5;var Ae=new go.PathFigure(ce*a+he,(me-re)*y+fe,!0);return E.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*a+he,me*y+fe,(ce+ee)*a+he,(me-re)*y+fe,(ce+re)*a+he,(me-ee)*y+fe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+he,(me+re)*y+fe,(ce+re)*a+he,(me+ee)*y+fe,(ce+ee)*a+he,(me+re)*y+fe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re-ee*.5)*a+he,me*y+fe,ce*a+he,(me+re)*y+fe,(ce+re-ee*.5)*a+he,(me+ee)*y+fe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+he,(me-re)*y+fe,(ce+re-ee*.5)*a+he,(me-ee)*y+fe,ce*a+he,(me-re)*y+fe).close()),E}),go.Shape.defineFigureGenerator("Email",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.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 E.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)),E}),go.Shape.defineFigureGenerator("Ethernet",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);E.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);E.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);E.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 E.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)),E}),go.Shape.defineFigureGenerator("Power",function(ne,a,y){var E=new go.Geometry,b=te*.4,z=.4,ee=.5,re=.5,ce=Be(),me=Be(),he=Be(),fe=Be();Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.5,ce,ce,me,he,fe);var pe=Oe(me.x,me.y),ge=new go.PathFigure(me.x*a,me.y*y,!0);E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,he.x*a,he.y*y,fe.x*a,fe.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),ge.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(ee-z,re,ee-z,re-b,ee-b,re-z,ee,re-z,.5,he,fe,me,ce,ce),ge.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,he.x*a,he.y*y,fe.x*a,fe.y*y)),b=te*.3,z=.3,Se(ee-z,re,ee-z,re-b,ee-b,re-z,ee,re-z,.5,he,fe,me,ce,ce),ge.add(new go.PathSegment(go.PathSegment.Line,me.x*a,me.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,fe.x*a,fe.y*y,he.x*a,he.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),ge.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(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.5,ce,ce,me,he,fe),ge.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,fe.x*a,fe.y*y,he.x*a,he.y*y).close());var ge=new go.PathFigure(.45*a,0,!0);return E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),nt(ce),nt(me),nt(he),nt(fe),nt(pe),E.spot1=new go.Spot(.25,.45),E.spot2=new go.Spot(.75,.8),E}),go.Shape.defineFigureGenerator("Fallout",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y/2,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function z(ee,re,ce){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*a,(.8+ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*a,(.5+ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*a,(.5+ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*a,(.8+ce)*y).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),E}),go.Shape.defineFigureGenerator("IrritationHazard",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return E.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()),E.spot1=new go.Spot(.3,.3),E.spot2=new go.Spot(.7,.7),E}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return E.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()),E}),go.Shape.defineFigureGenerator("FireHazard",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return E.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()),E.spot1=new go.Spot(.07,.445),E.spot2=new go.Spot(.884,.958),E}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ne,a,y){var E=new go.Geometry,b=.5,z=0,ee=0,re=b*te,ce=.4*Math.SQRT2/2+.5,me=.5-.5*Math.SQRT2/2,he=1,fe=.5,pe=.5,ge=0,ye=new go.PathFigure(ce*a,(1-me)*y,!1);return E.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,he*a,fe*y,he*a,.7*y,he*a,fe*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+z)*a,(ge+z)*y,(.5+b+z)*a,(.5-re+z)*y,(.5+re+z)*a,(.5-b+z)*y)),ye.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)),ye.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)),ye.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*y)),E}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.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)),E}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.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)),E}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var z=new go.PathFigure(a,y,!1);E.add(z);var ee=new go.PathFigure(0,.5*y,!1);return E.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)),E}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return E.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()),E}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);E.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 E.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)),E}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);E.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 E.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)),E}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var z=new go.PathFigure(.335*a,(1-.555)*y,!0);E.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,ce=ee,me=Math.PI/4,he=4*(1-Math.cos(me))/(3*Math.sin(me)),fe=he*.5,pe=ee,ge=ee,ye=he*pe,be=he*ge;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-pe)*a,ce*y,(re-(ye+pe)/2)*a,(ce+(ge+be)/2)*y,(re-pe)*a,(ce+be)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ce-ge)*y,(re-pe)*a,(ce-be)*y,(re-ye)*a,(ce-ge)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+pe)*a,ce*y,(re+ye)*a,(ce-ge)*y,(re+pe)*a,(ce-be)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(re+pe)*a,(ce+be)*y,(re+(ye+pe)/2)*a,(ce+(ge+be)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Ae=new go.PathFigure(.2*a,y,!1);E.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Pe=new go.PathFigure(.8*a,y,!1);return E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),E}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);E.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 E.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)),E}),go.Shape.defineFigureGenerator("BpmnEventError",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);return E.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()),E}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var z=new go.PathFigure(a,y,!1);E.add(z);var ee=new go.PathFigure(.1*a,y,!0);return E.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()),E}),go.Shape.defineFigureGenerator("Caution",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);E.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)),E}),go.Shape.defineFigureGenerator("Recycle",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);E.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);E.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 E.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)),E}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ne,a,y){var E=new go.Geometry,b=.5,z=te*.5,ee=new go.PathFigure(a,b*y,!0);E.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 E.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)),E}),go.Shape.defineFigureGenerator("Package",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);E.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 E.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()),E.spot1=new go.Spot(0,.1),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Class",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.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);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),E}),go.Shape.defineFigureGenerator("Component",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a,y,!0);E.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);E.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 E.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()),E}),go.Shape.defineFigureGenerator("Boat Shipment",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);E.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 E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),E}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a,y,!0);return E.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()),E}),go.Shape.defineFigureGenerator("Workcell",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);return E.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()),E}),go.Shape.defineFigureGenerator("Supermarket",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.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)),E}),go.Shape.defineFigureGenerator("TruckShipment",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.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);E.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,ce=.2,me=.9,he=new go.PathFigure((ce-ee)*a,me*y,!0);E.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-ee)*y,(ce-ee)*a,(me-re)*y,(ce-re)*a,(me-ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ee)*a,me*y,(ce+re)*a,(me-ee)*y,(ce+ee)*a,(me-re)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me+ee)*y,(ce+ee)*a,(me+re)*y,(ce+re)*a,(me+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ee)*a,me*y,(ce-re)*a,(me+ee)*y,(ce-ee)*a,(me+re)*y).close()),ee=.1,re=te*.1,ce=.8,me=.9;var fe=new go.PathFigure((ce-ee)*a,me*y,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-ee)*y,(ce-ee)*a,(me-re)*y,(ce-re)*a,(me-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ee)*a,me*y,(ce+re)*a,(me-ee)*y,(ce+ee)*a,(me-re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me+ee)*y,(ce+ee)*a,(me+re)*y,(ce+re)*a,(me+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ee)*a,me*y,(ce-re)*a,(me+ee)*y,(ce-ee)*a,(me+re)*y).close()),E}),go.Shape.defineFigureGenerator("KanbanPost",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return E.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)),E}),go.Shape.defineFigureGenerator("Forklift",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.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);E.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);E.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);E.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var ce=.1,me=te*.1,he=.1,fe=.9,pe=new go.PathFigure((he-ce)*a,fe*y,!0);E.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(fe-ce)*y,(he-ce)*a,(fe-me)*y,(he-me)*a,(fe-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a,fe*y,(he+me)*a,(fe-ce)*y,(he+ce)*a,(fe-me)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(fe+ce)*y,(he+ce)*a,(fe+me)*y,(he+me)*a,(fe+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a,fe*y,(he-me)*a,(fe+ce)*y,(he-ce)*a,(fe+me)*y)),ce=.1,me=te*.1,he=.4,fe=.9;var ge=new go.PathFigure((he-ce)*a,fe*y,!0);return E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(fe-ce)*y,(he-ce)*a,(fe-me)*y,(he-me)*a,(fe-ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a,fe*y,(he+me)*a,(fe-ce)*y,(he+ce)*a,(fe-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(fe+ce)*y,(he+ce)*a,(fe+me)*y,(he+me)*a,(fe+ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a,fe*y,(he-me)*a,(fe+ce)*y,(he-ce)*a,(fe+me)*y)),E}),go.Shape.defineFigureGenerator("RailShipment",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);E.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);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);E.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 he=.05,fe=te*.05,pe=.175,ge=.95,re=new go.PathFigure((pe-he)*a,ge*y,!0);E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ge-he)*y,(pe-he)*a,(ge-fe)*y,(pe-fe)*a,(ge-he)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(pe+he)*a,ge*y,(pe+fe)*a,(ge-he)*y,(pe+he)*a,(ge-fe)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ge+he)*y,(pe+he)*a,(ge+fe)*y,(pe+fe)*a,(ge+he)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(pe-he)*a,ge*y,(pe-fe)*a,(ge+he)*y,(pe-he)*a,(ge+fe)*y));var he=.05,fe=te*.05,pe=.375,ge=.95,ce=new go.PathFigure((pe-he)*a,ge*y,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ge-he)*y,(pe-he)*a,(ge-fe)*y,(pe-fe)*a,(ge-he)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(pe+he)*a,ge*y,(pe+fe)*a,(ge-he)*y,(pe+he)*a,(ge-fe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ge+he)*y,(pe+he)*a,(ge+fe)*y,(pe+fe)*a,(ge+he)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(pe-he)*a,ge*y,(pe-fe)*a,(ge+he)*y,(pe-he)*a,(ge+fe)*y));var he=.05,fe=te*.05,pe=.625,ge=.95,me=new go.PathFigure((pe-he)*a,ge*y,!0);E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ge-he)*y,(pe-he)*a,(ge-fe)*y,(pe-fe)*a,(ge-he)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(pe+he)*a,ge*y,(pe+fe)*a,(ge-he)*y,(pe+he)*a,(ge-fe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ge+he)*y,(pe+he)*a,(ge+fe)*y,(pe+fe)*a,(ge+he)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(pe-he)*a,ge*y,(pe-fe)*a,(ge+he)*y,(pe-he)*a,(ge+fe)*y));var he=.05,fe=te*.05,pe=.825,ge=.95,ye=new go.PathFigure((pe-he)*a,ge*y,!0);E.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ge-he)*y,(pe-he)*a,(ge-fe)*y,(pe-fe)*a,(ge-he)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+he)*a,ge*y,(pe+fe)*a,(ge-he)*y,(pe+he)*a,(ge-fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ge+he)*y,(pe+he)*a,(ge+fe)*y,(pe+fe)*a,(ge+he)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe-he)*a,ge*y,(pe-fe)*a,(ge+he)*y,(pe-he)*a,(ge+fe)*y).close());var be=new go.PathFigure(0,y,!1);return E.add(be),be.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),E}),go.Shape.defineFigureGenerator("Warehouse",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.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);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);E.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,ce=te*.05,me=.35,he=.775,fe=new go.PathFigure((me-re)*a,he*y,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(he-re)*y,(me-re)*a,(he-ce)*y,(me-ce)*a,(he-re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(me+re)*a,he*y,(me+ce)*a,(he-re)*y,(me+re)*a,(he-ce)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(he+re)*y,(me+re)*a,(he+ce)*y,(me+ce)*a,(he+re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(me-re)*a,he*y,(me-ce)*a,(he+re)*y,(me-re)*a,(he+ce)*y).close()),E}),go.Shape.defineFigureGenerator("ControlCenter",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);return E.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()),E}),go.Shape.defineFigureGenerator("Bluetooth",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return E.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)),E}),go.Shape.defineFigureGenerator("Bookmark",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.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)),E}),go.Shape.defineFigureGenerator("Bookmark",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.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)),E}),go.Shape.defineFigureGenerator("Globe",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return E.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)),E}),go.Shape.defineFigureGenerator("Wave",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return E.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)),E}),go.Shape.defineFigureGenerator("Operator",function(ne,a,y){var E=new go.Geometry,b=.3,z=te*.3,ee=.5,re=.7,ce=new go.PathFigure((ee-b)*a,re*y,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ce.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 me=new go.PathFigure(0,.7*y,!1);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),E}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return E.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)),E}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a,0,!0);return E.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)),E}),go.Shape.defineFigureGenerator("Battery",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);E.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 E.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E}),go.Shape.defineFigureGenerator("Delete",function(ne,a,y){var E=new go.Geometry,b=.5,z=te*.5,ee=.5,re=.5,ce=new go.PathFigure((ee-b)*a,re*y,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ce.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 me=new go.PathFigure(.15*a,.5*y,!1);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),E}),go.Shape.defineFigureGenerator("Flag",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return E.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()),E}),go.Shape.defineFigureGenerator("Help",function(ne,a,y){var E=new go.Geometry,b=.5,z=te*.5,ee=.5,re=.5,ce=new go.PathFigure((ee-b)*a,re*y,!1);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ce.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 me=new go.PathFigure((ee-b)*a,re*y,!1);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),me.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()),me.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),me.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),E}),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 E=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);E.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 E.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)),E}),go.Shape.defineFigureGenerator("Unlocked",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);E.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 E.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)),E}),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 E=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return E.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()),E}),go.Shape.defineFigureGenerator("Map",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return E.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)),E}),go.Shape.defineFigureGenerator("Eject",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);E.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 E.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()),E}),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 E=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);E.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);E.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);E.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);E.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 ce=new go.PathFigure(.5*a,.1*y,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),E}),go.Shape.defineFigureGenerator("Staircase",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return E.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()),E}),go.Shape.defineFigureGenerator("5Bars",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y*1,!0);E.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);E.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);E.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);E.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 ce=new go.PathFigure(a*.816,y,!0);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),ce.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),E}),go.Shape.defineFigureGenerator("PC",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.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);E.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);E.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);E.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 ce=new go.PathFigure(a*1,0,!0);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),ce.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),E}),go.Shape.defineFigureGenerator("Plane",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return E.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()),E}),go.Shape.defineFigureGenerator("Key",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return E.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()),E}),go.Shape.defineFigureGenerator("FilmTape",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.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);E.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);E.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);E.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 ce=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),E}),go.Shape.defineFigureGenerator("FloppyDisk",function(ne,a,y){var E=new go.Geometry,b=8,z=b*te,ee=new go.PathFigure(b,0,!1);E.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);E.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 ce=new go.PathFigure(a*.83,y*1,!1);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var me=new go.PathFigure(a*.78,y*.05,!1);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),me.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),me.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),E}),go.Shape.defineFigureGenerator("SpeechBubble",function(ne,a,y){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=15),E=Math.min(E,a/3),E=Math.min(E,y/3);var b=E*te,z=y*.8,ee=new go.Geometry,re=new go.PathFigure(E,0,!0);return ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a-E,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,E,a-b,0,a,b)),re.add(new go.PathSegment(go.PathSegment.Line,a,z-E)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-E,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,E,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-E,b,z,0,z-b)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,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 E=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);E.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 E.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()),E}),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 E=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);E.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);E.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 E.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()),E}),go.Shape.defineFigureGenerator("Beaker",function(ne,a,y){var E=new go.Geometry,b=15,z=b*te,ee=new go.PathFigure(a*.62,y*.475,!0);return E.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?(E.spot1=new go.Spot(0,0,z,z),E.spot2=new go.Spot(1,1,-z,-z)):(E.spot1=go.Spot.TopLeft,E.spot2=go.Spot.BottomRight),E}),go.Shape.defineFigureGenerator("Download",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);E.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 E.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()),E}),go.Shape.defineFigureGenerator("Bin",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);E.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()),E}),go.Shape.defineFigureGenerator("Upload",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);E.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 E.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()),E}),go.Shape.defineFigureGenerator("EmptyDrink",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return E.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()),E}),go.Shape.defineFigureGenerator("Drink",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);E.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 E.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()),E}),go.Shape.defineFigureGenerator("4Arrows",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return E.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()),E}),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")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Ct={},bt="5.0",Oe={},Be=null,nt=!1,x=!1,Se=null,ve=!1,ae=null,te=null,le=0;le4?parseFloat(Ge):5};Ct.setHTML5Codebase=function(Ge,_e){te=Ge,at(Ge,_e)},Ct.setJavaCodebase=Ct.setJavaCodebaseVersion=Ct.isCompiledInstalled=Ct.setPreCompiledScriptPath=Ct.setPreCompiledResourcePath=function(){},Ct.setHTML5CodebaseVersion=function(Ge,_e){var ke=parseFloat(Ge);if(ke!==NaN&&ke<5){console.log("The GeoGebra HTML5 codebase version "+ke+" is deprecated. Using version latest instead.");return}ae=Ge,it(Ge,_e)},Ct.getHTML5CodebaseVersion=function(){return ne},Ct.getParameters=function(){return Oe},Ct.setFontsCSSURL=function(Ge){ee=Ge},Ct.setGiacJSURL=function(Ge){},Ct.setJNLPFile=function(Ge){se=Ge},Ct.setJNLPBaseDir=function(Ge){},Ct.inject=function(){function Ge(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var _e="auto",ke=Oe.id,rt,Ve=!1,ut=0;ut=5)return!0;var Ge=Ct.getAppletObject();return Ge&&typeof Ge.recalculateEnvironments=="function"?(Ge.recalculateEnvironments(),!0):!1},Ct.startAnimation=function(){var Ge=Ct.getAppletObject();return Ge&&typeof Ge.startAnimation=="function"?(Ge.startAnimation(),!0):!1},Ct.stopAnimation=function(){var Ge=Ct.getAppletObject();return Ge&&typeof Ge.stopAnimation=="function"?(Ge.stopAnimation(),!0):!1},Ct.getAppletObject=function(){var Ge=Oe.id!==void 0?Oe.id:"ggbApplet";return window[Ge]},Ct.resize=function(){};var ye=function(Ge,_e,ke){var rt=document.createElement("param");rt.setAttribute("name",_e),rt.setAttribute("value",ke),Ge.appendChild(rt)},be=function(Ge){return Ge&&Ge!=="false"},Ae=function(Ge,_e,ke){ce(ne)<=4.2&&(ke=!0);var rt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ne||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(rt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ve=document.createElement("div");Ve.classList.add("appletParameters","notranslate");var ut=_e.width,We=_e.height;if(_e.disableAutoScale=_e.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():_e.disableAutoScale,_e.width!==void 0)if(ce(ne)<=4.4)be(_e.showToolBar)&&(_e.height-=7),be(_e.showAlgebraInput)&&(_e.height-=37),_e.width<605&&be(_e.showToolBar)&&(_e.width=605,ut=605);else{var Re=100;(be(_e.showToolBar)||be(_e.showMenuBar))&&(_e.hasOwnProperty("customToolBar")&&(_e.customToolbar=_e.customToolBar),Re=be(_e.showMenuBar)?245:155),ut=5?(_e.appletOnLoad=function($e){var st=Ge.querySelector(".ggb_preview");st&&st.parentNode.removeChild(st),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ee),window.GGBT_wsf_view&&$(window).trigger("resize"),Ke($e)},Ie||Ee.appendChild(Xe)):Ve.appendChild(Xe),Ee.appendChild(Ve),Ie||Ge.appendChild(Ee),setTimeout(function(){Ct.resize()},1)}else{var Ze=document.createElement("div");Ze.className="applet_scaler",Ze.style.position="relative",Ze.style.display="block",Ze.appendChild(Ve),Ge.appendChild(Ze),_e.appletOnLoad=function($e){Ct.resize(),Ke($e)}}function Fe($e,st){st&&typeof st.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,st.appletOnLoad):renderGGBElement($e),Je("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",st)}function xe($e,st){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:$e,params:st}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(St){Fe(St.article,St.params)}),html5AppletsToProcess=null)},ce(ne)<5&&($e.className+=" geogebraweb")):Fe($e,st)}if(rt){scriptLoadStarted=!0;for(var Ce=0;Ce0?(Te.remove(),Ee.attr("id","fullscreencontent").show(),jQuery(Ke).append(Ee),window.dispatchEvent(new Event("resize"))):Ae(Te,_e,!1),window.GGBT_wsf_view.launchFullScreen(Ke)}else ie=rt,Ae(Ge,_e,!1);if(!window.GGBT_wsf_view)for(We=0;WeGe/4*3&&(Te=Ge/4*3),Ke=Te/5.8,Re.setAttribute("src",b),Re.setAttribute("width",Te),Re.setAttribute("height",Ke);var Ee=(Ge-Te)/2,Ie=(_e-Ke)/2;Re.style.left=Ee+"px",Re.style.top=Ie+"px",Ve.appendChild(Re)}}return Ve.appendChild(We),Ve},et=function(Ge){return Ge=Ge.toLowerCase(),Ge==="html5"||Ge==="screenshot"?Ge:"html5"},Me=["web","webSimple","web3d","tablet","tablet3d","phone"],it=function(Ge,_e){if(ne=Ge,_e){at(ne,!0);return}var ke=!nt;if(ke){var rt=ce(ne);!isNaN(rt)&&rt<4.4&&(ke=!1)}var Ve,ut;window.location.protocol.substr(0,4)==="http"?Ve=window.location.protocol:Ve="http:";var We=ne.indexOf("//");We>0?ut=ne:We===0?ut=Ve+ne:ut="https://www.geogebra.org/apps/5.2.814.0/";for(var Re in Me)if(ne.slice(Me[Re].length*-1)===Me[Re]||ne.slice((Me[Re].length+1)*-1)===Me[Re]+"/"){at(ut,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ke&&!Be.is3D&&!Be.AV&&!Be.SV&&!Be.CV&&!Be.EV2&&!Be.CP&&!Be.PC&&!Be.DA&&!Be.FI&&!Be.PV&&!be(Oe.showToolBar)&&!be(Oe.showMenuBar)&&!be(Oe.showAlgebraInput)&&!be(Oe.enableRightClick)&&(!Oe.appName||Oe.appName=="classic")?ut+="webSimple/":ut+="web3d/",at(ut,!1)},at=function(Ge,_e){if(Ge.requirejs){ue=Ge;return}Ge.slice(-1)!=="/"&&(Ge+="/"),ue=Ge,_e===null&&(_e=Ge.indexOf("http")===-1),oe=_e,a="web.nocache.js",y=!1;var ke=ue.split("/");ke.length>1&&(!_e&&ke[ke.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Me.indexOf(ke[ke.length-2])>=0&&(a=ke[ke.length-2]+".nocache.js")),ke=Ge.split("/"),ne=ke[ke.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 rt=parseFloat(ne);rt!==NaN&&rt<5&&Ge.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+rt+" is deprecated. Using version latest instead."),it("5.0",_e))},Je=function(Ge,_e){window.console&&window.console.log&&(!_e||typeof _e.showLogging=="undefined"||_e.showLogging&&_e.showLogging!=="false")&&console.log(Ge)};Oe.material_id!==void 0?fe(Ye):Ye();function Ye(){var Ge=bt;ae!==null?Ge=ae:parseFloat(Ge)<5&&(Ge="5.0"),it(Ge,!1),te!==null&&at(te,oe),ve=!0}return Ct},GGBAppletUtils=function(){"use strict";function Ct(){return window.GGBT_wsf_edit!==void 0}function bt(ve,ae){ae!=1?(ve.style.transformOrigin="0% 0% 0px",ve.style.webkitTransformOrigin="0% 0% 0px",ve.style.transform="scale("+ae+","+ae+")",ve.style.webkitTransform="scale("+ae+","+ae+")",ve.style.maxWidth="initial",ve.querySelector(".ggb_preview")!==null&&(ve.querySelector(".ggb_preview").style.maxWidth="initial"),ve.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ve.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ve.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ve.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ve.style.transform="none",ve.style.webkitTransform="none")}function Oe(ve,ae,te,le,de,se){var ue=null;if(se!=null&&se!="")for(var oe=ve.parentNode;oe!=null;)if((" "+oe.className+" ").indexOf(" "+se+" ")>-1){ue=oe;break}else oe=oe.parentNode;var ie=0,ne=0,a=0,y=0,E=0,b=0,z=0;if(ue)ie=ue.offsetWidth,ne=Math.max(le?ue.offsetWidth:0,ue.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),ve){var ee=ve.getBoundingClientRect();ee.left>0&&ee.left<=ie&&(de===void 0||!de)&&(document.dir==="rtl"?(E=ie-ee.width-ee.left,b=a<=480?10:30):(b=ee.left,E=a<=480?10:30),y=b+E)}if(ve&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=ve.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return ve&&((te===void 0||!te)&&ae>0&&ae+y1&&(se=!0)),ae&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se=!0),!(ve.hasOwnProperty("disableAutoScale")&&ve.disableAutoScale))de=Be(ve,ae,se,te,ve.scaleContainerClass);else return le;return se&&(!ve.hasOwnProperty("scale")||le===1)?de:Math.min(le,de)}function x(ve){var ae=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),le=ve.getBoundingClientRect(),de=(ae-le.width)/2,se=(te-le.height)/2;se<0&&(se=0),ve.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(de<40?ve.style.left="40px":ve.style.left=de+"px",ve.style.top=se+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(se<40?ve.style.top="40px":ve.style.top=se+"px",ve.style.left=de+"px")}function Se(ve,ae){var te=ve.querySelector(".appletParameters");if(te){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ae.id!==te.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ve)}if(te.parentElement&&/fullscreen/.test(te.parentElement.className))return;var le=nt(ae,ve);Ct()&&te.setAttribute("data-param-scale",le);for(var de=null,se=0;se=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ct){var bt=c[Ct];return bt==null?null:bt},r=d,webModule.__errFn=e}function B(){function Ct(ve){var ae=ve.lastIndexOf(rb);ae==-1&&(ae=ve.length);var te=ve.indexOf(sb);te==-1&&(te=ve.length);var le=ve.lastIndexOf(tb,Math.min(te,ae));return le>=O?ve.substring(O,le+P):W}function bt(ve){if(!ve.match(/^\w+:\/\//)){var ae=o.createElement(ub);ae.src=ve+vb,ve=Ct(ae.src)}return ve}function Oe(){var ve=__gwt_getMetaProperty(wb);return ve!=null?ve:W}function Be(){for(var ve=o.getElementsByTagName(_),ae=O;aeO?ve[ve.length-P].href:W}function x(){var ve=o.location;return ve.href==ve.protocol+zb+ve.host+ve.pathname+ve.search+ve.hash}var Se=Oe();return Se==W&&(Se=Be()),Se==W&&(Se=nt()),Se==W&&x()&&(Se=Ct(o.location.href)),Se=bt(Se),Se}function C(Ct){return Ct.match(/^\//)||Ct.match(/^[a-zA-Z]+:\/\//)?Ct:webModule.__moduleBase+Ct}function D(){var Ct=[],bt=O,Oe=[],Be=[];function nt(ve){var ae=Be[ve](),te=Oe[ve];if(ae in te)return ae;var le=[];for(var de in te)le[te[de]]=de;throw r&&r(ve,le,ae),null}if(__gwt_isKnownPropertyValue=function(ve,ae){return ae in Oe[ve]},webModule.__getPropMap=function(){var ve={};for(var ae in Oe)Oe.hasOwnProperty(ae)&&(ve[ae]=nt(ae));return ve},webModule.__computePropValue=nt,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var x;try{x=Cb;var Se=x.indexOf(Db);Se!=-1&&(bt=parseInt(x.substring(Se+P),$),x=x.substring(O,Se))}catch(ve){}return webModule.__softPermutationId=bt,C(x+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})()},77903:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Ax:function(){return Se},Ds:function(){return ve},KI:function(){return te},SI:function(){return x},f1:function(){return nt}});var Be=Oe(3294);function nt(le){let de=!0;if(le.length>0){for(let se=0;senew Promise((a,y)=>{var E=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(E,b);z((ne=ne.apply(oe,ie)).next())}),ue=({data:oe,className:ie,fullWidth:ne,style:a={},onClose:y,onOk:E,showFullTools:b,noAssociationId:z})=>{const ee=(0,Be.useRef)(null),re=(0,Be.useRef)(null),ce=(0,Be.useRef)(null),me=(0,Be.useRef)(null),[he,fe]=(0,Be.useState)(!1),[pe,ge]=(0,Be.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Be.useEffect)(()=>{ce.current||(ce.current=document.createElement("style"),document.head.appendChild(ce.current)),oe!=null&&oe.visible?(document.body.setAttribute("data-custom","y-hidden"),ce.current.innerHTML=" html { overflow-y: hidden; }",oe!=null&&oe.src&&ye()):(document.body.removeAttribute("data-custom"),ce.current&&(document.head.removeChild(ce.current),ce.current=null))},[oe==null?void 0:oe.visible]);const ye=()=>de(void 0,null,function*(){fe(!0),ge("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ne=yield(0,le.ZJ)(oe==null?void 0:oe.src);ee.current.src="",ee.current.src=Ne,ee.current.onload=function(){Le()},fe(!1),ge("")}),be=()=>{document.body.removeAttribute("data-custom"),ce.current.innerHTML=" ",y()},Ae=Ne=>de(void 0,null,function*(){fe(!0),ge("\u6B63\u5728\u4FDD\u5B58\u4E2D");const De=yield(0,te.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:oe.title,file:Ne.dataUrl}});De!=null&&De.id&&!z?(yield(0,te.ZP)(`/api/attachments/${oe.id}/add_subitem.json`,{method:"post",body:{subitem_id:De==null?void 0:De.id,settings:JSON.stringify(Ne.state)}})).status===0&&E():De!=null&&De.id&&E(De),document.body.removeAttribute("data-custom"),ce.current.innerHTML=" ",fe(!1),ge("")}),Pe=()=>{const Ne=document.querySelector('a[href="https://markerjs.com/"]');Ne&&Ne.parentNode&&(Ne.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(ze=>{const et=document.querySelector(ze.name);et&&et.setAttribute("title",ze.title)})},Le=()=>{re.current=new ae.hP(ee.current),re.current.targetRoot=me.current,re.current.addEventListener("render",Ae),re.current.addEventListener("beforeclose",be),b&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),oe!=null&&oe.snapshotData&&re.current.restoreState(oe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Pe()},300)};return Be.createElement(Be.Fragment,null,(oe==null?void 0:oe.visible)&&Be.createElement(ve.Z,{spinning:he,tip:pe,style:{position:"absolute"}},Be.createElement("div",{ref:me,className:Se()(nt.imageDimensions,ie,ne?nt.fullWidth:""),style:a},Be.createElement("img",{className:nt.img,ref:ee}))))}},41588:function(Ct,bt,Oe){"use strict";var Be=Oe(59301),nt=Oe(95237),x=Oe(43604),Se=Oe(99313),ve=Oe(3113),ae=Oe(85149),te=Oe(88010),le=Oe(48136),de=Oe(59301);const se=(0,Be.forwardRef)(({callback:ue,showSaveButton:oe,value:ie=""},ne)=>{const a=(0,Be.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],E=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],b=re=>{a.current.setValue(a.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:de.createElement(nt.Z,{className:te.Z.lists,gutter:[10,10]},y.map((re,ce)=>de.createElement(x.Z,{flex:"110px",className:te.Z.item},de.createElement("div",null,de.createElement(ae.Z,{value:`$$${re.value}$$`}),re.name),de.createElement("div",{className:te.Z.children},re.children.map((me,he)=>de.createElement("div",{key:he},de.createElement("h1",null,me.name),de.createElement(nt.Z,{gutter:[10,10]},me.data.map((fe,pe)=>de.createElement(x.Z,{key:pe,onClick:()=>b(fe),className:te.Z.diamond},de.createElement(ae.Z,{value:"`$$"+fe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:de.createElement(nt.Z,{className:te.Z.lists,gutter:[10,10]},E.map((re,ce)=>de.createElement(x.Z,{flex:"110px",className:te.Z.item},de.createElement("div",null,de.createElement(ae.Z,{value:"`$$"+re.value+"$$`"}),re.name),de.createElement("div",{className:te.Z.children},re.children.map((me,he)=>de.createElement("div",{key:he},me.name&&de.createElement("h1",null,me.name),de.createElement(nt.Z,{gutter:[10,10]},me.data.map((fe,pe)=>de.createElement(x.Z,{key:pe,onClick:()=>b(fe),className:te.Z.diamond},de.createElement(ae.Z,{value:"`$$"+fe.value+"$$`"}))))))))))}],ee=()=>{var re=document.createElement("div");re.innerHTML=a.current.getValue();var ce=re.innerText;return ue&&ue(ce),ce};return(0,Be.useImperativeHandle)(ne,()=>({getData:ee})),de.createElement("div",{className:te.Z.mathWrap},de.createElement(Se.default,{defaultActiveKey:"1",items:z}),de.createElement("math-field",{locale:"zh_cn",className:te.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ie||""),oe&&de.createElement("div",{className:te.Z.button},de.createElement(ve.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});bt.Z=se},17064:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return Se}});var Be=Oe(59301),nt=Oe(34604),x=Oe(59301),Se=({defaultX:ve="40%",leftChild:ae,rightChild:te,className:le,hideResize:de=!1})=>{const[se,ue]=(0,Be.useState)(ve),oe=(0,Be.useRef)();function ie(){oe.current=!0}(0,Be.useEffect)(()=>{function y(b){oe.current&&(nt.Z.publish("resize-move-bar",b),ue(b.pageX))}function E(){oe.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",E),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",E)}},[]);const ne=typeof se=="number"&&se!==.01?`${se}px`:ve,a=`calc(100% - ${de?"0px":"4px"} - ${ne})`;return x.createElement("div",{className:`split-panel-container ${le}`},x.createElement("section",{style:{width:ne,display:se===.01?"none":""}},ae),x.createElement("section",{className:"resize-x-bar",onMouseDown:ie},x.createElement("a",{className:"btn-resize"},x.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},x.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"})))),x.createElement("section",{style:{width:a}},te))}},97692:function(Ct,bt,Oe){"use strict";Oe.d(bt,{h:function(){return re}});var Be=Oe(59301),nt=Oe(57809),x=Oe(78241),Se=Oe(3113),ve=Oe(89780),ae=Oe.n(ve),te=Oe(37036),le=Oe(95625),de=Object.defineProperty,se=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,a=(ce,me,he)=>me in ce?de(ce,me,{enumerable:!0,configurable:!0,writable:!0,value:he}):ce[me]=he,y=(ce,me)=>{for(var he in me||(me={}))ie.call(me,he)&&a(ce,he,me[he]);if(oe)for(var he of oe(me))ne.call(me,he)&&a(ce,he,me[he]);return ce},E=(ce,me)=>se(ce,ue(me));const b=nt.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"]};bt.Z=({callback:ce,onCancel:me})=>{const[he,fe]=(0,Be.useState)("python");function pe(ye){fe(ee[ye][1])}function ge(ye){ce(ye)}return Be.createElement(x.default,E(y({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ge,style:{width:500}}),Be.createElement(x.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Be.createElement(nt.default,{getPopupContainer:ye=>ye.parentNode,onChange:pe},Object.keys(ee).map(ye=>Be.createElement(b,{key:ye,value:ye},ee[ye][0])))),Be.createElement(x.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Be.createElement(re,{mode:he})),Be.createElement("div",{className:"flex-container flex-end"},Be.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Be.createElement(Se.ZP,{type:"ghost",onClick:me},"\u53D6\u6D88")))};function re({value:ce,onChange:me,mode:he,options:fe={}}){const pe=(0,Be.useRef)(),[ge,ye]=(0,Be.useState)();return(0,Be.useEffect)(()=>{if(ge){let be=function(Ae){const Pe=Ae.getValue();me&&me(Pe)};return ge.on("change",be),()=>{ge.off("change",be)}}},[ge,me]),(0,Be.useEffect)(()=>{ge&&ge.setOption("mode",he)},[ge,he]),(0,Be.useEffect)(()=>{ge&&(ce!==ge.getValue()||ce==="")&&setTimeout(()=>{ge.setValue(ce||"")},300)},[ge,ce]),(0,Be.useEffect)(()=>{if(pe.current&&!ge){const be=ae().fromTextArea(pe.current,y({mode:he,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},fe));ye(be)}},[pe.current,ge]),Be.createElement("div",{className:"my-codemirror-container"},Be.createElement("textarea",{ref:pe}))}},12290:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return zn}});var Be=Oe(59301),nt=Oe(89780),x=Oe.n(nt),Se=Oe(76374),ve=Oe(37036),ae=Oe(6313),te=Oe(25717),le=Oe(99498),de=Oe(25419),se=Oe(67549),ue=Oe(85149),oe=({value:Et="",className:Tt,showTextOnly:xt,showLines:zt,style:dn={}})=>{const ln=(0,Be.useMemo)(()=>"",[Et]);return Be.createElement(Be.Fragment,null,Be.createElement("div",{dangerouslySetInnerHTML:{__html:ln}}))},ie=Oe(59301),ne=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ee=(Et,Tt,xt)=>Tt in Et?ne(Et,Tt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Et[Tt]=xt,re=(Et,Tt)=>{for(var xt in Tt||(Tt={}))b.call(Tt,xt)&&ee(Et,xt,Tt[xt]);if(E)for(var xt of E(Tt))z.call(Tt,xt)&&ee(Et,xt,Tt[xt]);return Et},ce=(Et,Tt)=>a(Et,y(Tt));let me=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function he({onActionCallback:Et,title:Tt,icon:xt,actionName:zt,className:dn="",children:ln}){function ir(){Et(zt)}return ie.createElement("a",{title:Tt,className:dn,onClick:ir},ie.createElement("i",{className:`${xt}`}),ln)}var fe=({watch:Et,showNullButton:Tt,showNullProgramButton:xt,onActionCallback:zt,fullScreen:dn,insertTemp:ln,hidetoolBar:ir,extraUse:kn})=>{const wn=[...me,{title:`${Et?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Et?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ie.createElement("ul",{className:"markdown-toolbar-container"},!ir&&wn.map((Yn,sr)=>ie.createElement("li",{key:sr},Yn.actionName?ie.createElement(he,ce(re({},Yn),{onActionCallback:zt})):ie.createElement("span",{className:"v-line"}))),Tt?ie.createElement("li",null,ie.createElement(he,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:zt},ie.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,xt?ie.createElement(ie.Fragment,null,ie.createElement("li",null,ie.createElement(he,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:zt},ie.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ie.createElement("li",null,ie.createElement(he,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:zt},ie.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,ln&&ie.createElement("li",null,ie.createElement(he,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${ln}`,onActionCallback:zt},ie.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),kn&&ie.createElement("li",null,kn),ie.createElement("li",{className:"btn-full-screen"},ie.createElement(he,{icon:`${dn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:dn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:zt})))},pe=Oe(79346),ge=Oe(78241),ye=Oe(92832),be=Oe(3113),Ae=Object.defineProperty,Pe=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,et=(Et,Tt,xt)=>Tt in Et?Ae(Et,Tt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Et[Tt]=xt,Me=(Et,Tt)=>{for(var xt in Tt||(Tt={}))De.call(Tt,xt)&&et(Et,xt,Tt[xt]);if(Ne)for(var xt of Ne(Tt))ze.call(Tt,xt)&&et(Et,xt,Tt[xt]);return Et},it=(Et,Tt)=>Pe(Et,Le(Tt));const at={labelCol:{span:4},wrapperCol:{span:20}};var Je=({callback:Et,onCancel:Tt})=>{function xt(zt){Et(zt)}return Be.createElement(ge.default,it(Me({},at),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:xt,style:{width:500}}),Be.createElement(ge.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Be.createElement(ye.default,null)),Be.createElement(ge.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Be.createElement(ye.default,null)),Be.createElement("div",{className:"flex-container flex-end"},Be.createElement(be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Be.createElement(be.ZP,{type:"ghost",onClick:Tt},"\u53D6\u6D88")))},Ye=Oe(97692),Ge=Oe(28451),_e=Oe(43418),ke=Oe(95237),rt=Oe(73524),Ve=Oe(59301),ut=({callback:Et,onCancel:Tt})=>{const xt=document.createElement("canvas"),zt=xt.getContext("2d");xt.width=1e3,xt.height=800,zt.fillStyle="#ffffff",zt.fillRect(0,0,xt.width,xt.height);const dn=xt.toDataURL("image/png");return Ve.createElement(_e.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ve.createElement(ke.Z,{style:{height:"100vh"}},Ve.createElement(rt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:dn,visible:!0,title:String(Date.now())},onOk:ln=>{Et({src:ln.url})},onClose:Tt})))},We=Oe(12378);function Re(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Re,go.CommandHandler),Re.prototype.canAlignSelection=function(){var Et=this.diagram;return!(Et===null||Et.isReadOnly||Et.isModelReadOnly||Et.selection.count<2)},Re.prototype.alignLeft=function(){var Et=this.diagram;Et.startTransaction("aligning left");var Tt=1/0;Et.selection.each(function(xt){xt instanceof go.Link||(Tt=Math.min(xt.position.x,Tt))}),Et.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(Tt,xt.position.y))}),Et.commitTransaction("aligning left")},Re.prototype.alignRight=function(){var Et=this.diagram;Et.startTransaction("aligning right");var Tt=-1/0;Et.selection.each(function(xt){if(!(xt instanceof go.Link)){var zt=xt.actualBounds.x+xt.actualBounds.width;Tt=Math.max(zt,Tt)}}),Et.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(Tt-xt.actualBounds.width,xt.position.y))}),Et.commitTransaction("aligning right")},Re.prototype.alignTop=function(){var Et=this.diagram;Et.startTransaction("alignTop");var Tt=1/0;Et.selection.each(function(xt){xt instanceof go.Link||(Tt=Math.min(xt.position.y,Tt))}),Et.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(xt.position.x,Tt))}),Et.commitTransaction("alignTop")},Re.prototype.alignBottom=function(){var Et=this.diagram;Et.startTransaction("aligning bottom");var Tt=-1/0;Et.selection.each(function(xt){if(!(xt instanceof go.Link)){var zt=xt.actualBounds.y+xt.actualBounds.height;Tt=Math.max(zt,Tt)}}),Et.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(xt.actualBounds.x,Tt-xt.actualBounds.height))}),Et.commitTransaction("aligning bottom")},Re.prototype.alignCenterX=function(){var Et=this.diagram,Tt=Et.selection.first();if(Tt){Et.startTransaction("aligning Center X");var xt=Tt.actualBounds.x+Tt.actualBounds.width/2;Et.selection.each(function(zt){zt instanceof go.Link||zt.move(new go.Point(xt-zt.actualBounds.width/2,zt.actualBounds.y))}),Et.commitTransaction("aligning Center X")}},Re.prototype.alignCenterY=function(){var Et=this.diagram,Tt=Et.selection.first();if(Tt){Et.startTransaction("aligning Center Y");var xt=Tt.actualBounds.y+Tt.actualBounds.height/2;Et.selection.each(function(zt){zt instanceof go.Link||zt.move(new go.Point(zt.actualBounds.x,xt-zt.actualBounds.height/2))}),Et.commitTransaction("aligning Center Y")}},Re.prototype.alignColumn=function(Et){var Tt=this.diagram;Tt.startTransaction("align Column"),Et===void 0&&(Et=0),Et=parseFloat(Et);var xt=new Array;Tt.selection.each(function(kn){kn instanceof go.Link||xt.push(kn)});for(var zt=0;zt0){for(var kn=ln.elt(ir-1);kn!==null&&kn.isTreeExpanded&&!kn.isTreeLeaf;){var wn=this._sortTreeChildrenByY(kn);kn=wn.last()}kn!==null&&Et.select(kn)}else Et.select(dn)}}else if(xt.key==="Down")if(Tt.isTreeExpanded&&!Tt.isTreeLeaf){var zt=this._sortTreeChildrenByY(Tt).first();zt!==null&&Et.select(zt)}else for(;Tt!==null;){var dn=Tt.findTreeParentNode();if(dn===null)break;var ln=this._sortTreeChildrenByY(dn),ir=ln.indexOf(Tt);if(irln.y?1:dn.xln.x?1:0}),Tt},Re.prototype.copyToClipboard=function(Et){go.CommandHandler.prototype.copyToClipboard.call(this,Et),this._lastPasteOffset.set(this.pasteOffset)},Re.prototype.pasteFromClipboard=function(){var Et=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Et,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Et},Object.defineProperty(Re.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Et){if(Et!=="move"&&Et!=="select"&&Et!=="scroll"&&Et!=="tree"&&Et!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Et);this._arrowKeyBehavior=Et}}),Object.defineProperty(Re.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Et){if(!(Et instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Et);this._pasteOffset.set(Et)}});var Te=Re,Ke=Oe(74413),Ee=Oe(43604),Ie=Oe(99064),Xe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ze=Oe(59301),Fe=(Et,Tt,xt)=>new Promise((zt,dn)=>{var ln=wn=>{try{kn(xt.next(wn))}catch(Yn){dn(Yn)}},ir=wn=>{try{kn(xt.throw(wn))}catch(Yn){dn(Yn)}},kn=wn=>wn.done?zt(wn.value):Promise.resolve(wn.value).then(ln,ir);kn((xt=xt.apply(Et,Tt)).next())});function xe({onCancel:Et,callback:Tt}){let xt=(0,Be.useRef)(),zt=(0,Be.useRef)(),dn=(0,Be.useRef)(),ln=(0,Be.useRef)(!1);const ir=(0,Be.useRef)(!1),[kn,wn]=(0,Be.useState)(0);function Yn(){const Ht=We.bx.make,Bn={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"};xt.current=new We.S0(zt.current,{padding:20,grid:Ht(We.s_,"Grid",Ht(We.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ht(We.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Qt=>{var sn=Qt.diagram.commandHandler.addTopLevelParts(Qt.diagram.selection,!0);sn||Qt.diagram.currentTool.doCancel()},commandHandler:Ht(Te),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Qt=>{var sn=Qt.subject;sn.location=sn.location.copy().snapToGridPoint(Qt.diagram.grid.gridOrigin,Qt.diagram.grid.gridCellSize),setTimeout(()=>{Qt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Qt=>{var sn=Qt.subject;setTimeout(()=>{Qt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Qt=>{var sn=Qt.parameter.part;sn.invalidateConnectedLinks();var Gn=Qt.subject;Qt.diagram.toolManager.linkingTool.isForwards?Gn.toNode.invalidateConnectedLinks():Gn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),xt.current.nodeTemplate=Ht(We.NB,"Auto",{locationSpot:We.z6.Center,locationObjectName:"SHAPE",desiredSize:new We.$u(120,60),minSize:new We.$u(40,40),resizable:!0,resizeCellSize:new We.$u(10,10),rotatable:!0},new We.KX("location","loc",We.E9.parse).makeTwoWay(We.E9.stringify),new We.KX("desiredSize","size",We.$u.parse).makeTwoWay(We.$u.stringify),Ht(We.bn,{name:"SHAPE",fill:Bn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:We.z6.AllSides,toSpot:We.z6.AllSides},new We.KX("figure"),new We.KX("fill"),new We.KX("stroke","borderColor"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),Ht(We.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Ht(We.al,{margin:1,textAlign:"center",overflow:We.al.OverflowEllipsis,editable:!0},new We.KX("text").makeTwoWay(),new We.KX("stroke","color"))),xt.current.nodeTemplate.toolTip=Ht("ToolTip",Ht(We.s_,"Vertical",{maxSize:new We.$u(200,NaN)},Ht(We.al,{font:"bold 10pt sans-serif",textAlign:"center"},new We.KX("text")),Ht(We.al,{font:"10pt sans-serif",textAlign:"center"},new We.KX("text","details"))));function $n(Qt,sn){var Gn=(yn,dr)=>{yn.handled=!0,yn.diagram.model.commit(cr=>{var Qn=dr.part.adornedPart,Fr=new We.E9().setRectSpot(Qn.actualBounds,Qt);Fr.subtract(Qn.location),Fr.scale(2,2),Fr.x+=Math.sign(Fr.x)*130,Fr.y+=Math.sign(Fr.y)*130,Fr.add(Qn.location),Fr.snapToGridPoint(yn.diagram.grid.gridOrigin,yn.diagram.grid.gridCellSize);var jr=cr.copyNodeData(Qn.data);cr.setGroupKeyForNodeData(jr,cr.getGroupKeyForNodeData(Qn.data)),cr.addNodeData(jr);var Ea={from:Qn.key,to:cr.getKeyForNodeData(jr)};cr.addLinkData(Ea);var ha=yn.diagram.findNodeForData(jr);ha.location=Fr,yn.diagram.select(ha),setTimeout(()=>{yn.diagram.commandHandler.editTextBlock()},20)})};return Ht(We.bn,{figure:sn,alignment:Qt,alignmentFocus:Qt.opposite(),width:Qt.equals(We.z6.Top)||Qt.equals(We.z6.Bottom)?25:18,height:Qt.equals(We.z6.Top)||Qt.equals(We.z6.Bottom)?18:25,fill:"orange",stroke:Bn.white,strokeWidth:4,mouseEnter:(yn,dr)=>dr.fill="dodgerblue",mouseLeave:(yn,dr)=>dr.fill="orange",isActionable:!0,click:Gn,contextClick:Gn})}function Xn(Qt){return Ht(We.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(sn,Gn)=>Gn.fill="dodgerblue",mouseLeave:(sn,Gn)=>Gn.fill="orange",click:(sn,Gn)=>{sn.diagram.commandHandler.showContextMenu(Gn.part.adornedPart)}},Qt||{})}xt.current.nodeTemplate.selectionAdornmentTemplate=Ht(We.uz,"Spot",Ht(We.Vm,{padding:10}),$n(We.z6.Top,"TriangleUp"),$n(We.z6.Left,"TriangleLeft"),$n(We.z6.Right,"TriangleRight"),$n(We.z6.Bottom,"TriangleDown"),Xn({alignment:new We.z6(.75,0)}));function ur(Qt,sn){return(Gn,yn)=>{Gn.handled=!0,Gn.diagram.model.commit(dr=>{dr.set(yn.part.adornedPart.data,Qt,sn)})}}function wt(Qt,sn){return sn||(sn="color"),Ht(We.bn,{width:16,height:16,stroke:"lightgray",fill:Qt,margin:1,background:"transparent",mouseEnter:(Gn,yn)=>yn.stroke="dodgerblue",mouseLeave:(Gn,yn)=>yn.stroke="lightgray",click:ur(sn,Qt),contextClick:ur(sn,Qt)})}function Nt(){return[Ht("ContextMenuButton",Ht(We.s_,"Horizontal",wt(Bn.white,"fill"),wt(Bn.beige,"fill"),wt(Bn.extralightblue,"fill"),wt(Bn.extralightred,"fill"))),Ht("ContextMenuButton",Ht(We.s_,"Horizontal",wt(Bn.lightgray,"fill"),wt(Bn.lightgreen,"fill"),wt(Bn.lightblue,"fill"),wt(Bn.lightred,"fill")))]}function Mt(){return[Ht("ContextMenuButton",Ht(We.s_,"Horizontal",wt(Bn.black),wt(Bn.green),wt(Bn.blue),wt(Bn.red))),Ht("ContextMenuButton",Ht(We.s_,"Horizontal",wt(Bn.white),wt(Bn.magenta),wt(Bn.purple),wt(Bn.orange)))]}function _t(Qt,sn){return sn||(sn="thickness"),Ht(We.bn,"LineH",{width:16,height:16,strokeWidth:Qt,margin:1,background:"transparent",mouseEnter:(Gn,yn)=>yn.background="dodgerblue",mouseLeave:(Gn,yn)=>yn.background="transparent",click:ur(sn,Qt),contextClick:ur(sn,Qt)})}function Xt(Qt,sn){return sn||(sn="dash"),Ht(We.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Qt,margin:1,background:"transparent",mouseEnter:(Gn,yn)=>yn.background="dodgerblue",mouseLeave:(Gn,yn)=>yn.background="transparent",click:ur(sn,Qt),contextClick:ur(sn,Qt)})}function Yt(){return[Ht("ContextMenuButton",Ht(We.s_,"Horizontal",_t(1),_t(2),_t(3),_t(4))),Ht("ContextMenuButton",Ht(We.s_,"Horizontal",Xt(null),Xt([2,4]),Xt([4,4])))]}function Gt(Qt,sn){return sn||(sn="figure"),Ht(We.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Qt,margin:1,background:"transparent",mouseEnter:(Gn,yn)=>yn.fill="dodgerblue",mouseLeave:(Gn,yn)=>yn.fill="lightgray",click:ur(sn,Qt),contextClick:ur(sn,Qt)})}xt.current.nodeTemplate.contextMenu=Ht("ContextMenu",Ht("ContextMenuButton",Ht(We.s_,"Horizontal",Gt("Rectangle"),Gt("RoundedRectangle"),Gt("Ellipse"),Gt("Diamond"))),Ht("ContextMenuButton",Ht(We.s_,"Horizontal",Gt("Parallelogram2"),Gt("ManualOperation"),Gt("Procedure"),Gt("Cylinder1"))),Ht("ContextMenuButton",Ht(We.s_,"Horizontal",Gt("Terminator"),Gt("CreateRequest"),Gt("Document"),Gt("TriangleDown"))),Nt(),Mt(),Yt()),xt.current.groupTemplate=Ht(We.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:We.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Qt,sn)=>{var Gn=sn.addMembers(sn.diagram.selection,!0);Gn||sn.diagram.currentTool.doCancel()},avoidable:!1},new We.KX("location","loc",We.E9.parse).makeTwoWay(We.E9.stringify),Ht(We.s_,"Auto",{name:"BODY"},Ht(We.bn,{parameter1:10,fill:Bn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:We.z6.AllSides,toSpot:We.z6.AllSides},new We.KX("fill"),new We.KX("stroke","color"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),Ht(We.Vm,{background:"transparent",margin:20})),Ht(We.al,{alignment:We.z6.Top,alignmentFocus:We.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new We.KX("text"),new We.KX("stroke","color"))),xt.current.groupTemplate.selectionAdornmentTemplate=Ht(We.uz,"Spot",Ht(We.s_,"Auto",Ht(We.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Ht(We.Vm,{margin:1.5})),Xn({alignment:We.z6.TopRight,alignmentFocus:We.z6.BottomRight})),xt.current.groupTemplate.contextMenu=Ht("ContextMenu",Nt(),Mt(),Yt()),xt.current.linkTemplate=Ht(We.rU,{layerName:"Foreground",routing:We.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new We.KX("fromSpot","fromSpot",We.z6.parse),new We.KX("toSpot","toSpot",We.z6.parse),new We.KX("fromShortLength","dir",Qt=>Qt>=1?10:0),new We.KX("toShortLength","dir",Qt=>Qt>=1?10:0),new We.KX("points").makeTwoWay(),Ht(We.bn,{strokeWidth:2},new We.KX("stroke","color"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),Ht(We.bn,{segmentIndex:0,segmentOffset:new We.E9(15,0),segmentOrientation:We.rU.OrientAlong,alignmentFocus:We.z6.Right,figure:"circle",width:10,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Qt=>Qt===1)),Ht(We.bn,{segmentIndex:-1,segmentOffset:new We.E9(-10,6),segmentOrientation:We.rU.OrientPlus90,alignmentFocus:We.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Qt=>Qt>=1),new We.KX("width","thickness",Qt=>7+3*Qt),new We.KX("height","thickness",Qt=>7+3*Qt),new We.KX("segmentOffset","thickness",Qt=>new We.E9(-15,4+1.5*Qt))),Ht(We.bn,{segmentIndex:0,segmentOffset:new We.E9(15,-6),segmentOrientation:We.rU.OrientMinus90,alignmentFocus:We.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Qt=>Qt===2),new We.KX("width","thickness",Qt=>7+3*Qt),new We.KX("height","thickness",Qt=>7+3*Qt),new We.KX("segmentOffset","thickness",Qt=>new We.E9(-15,4+1.5*Qt))),Ht(We.al,{alignmentFocus:new We.z6(0,1,-4,0),editable:!0},new We.KX("text").makeTwoWay(),new We.KX("stroke","color"))),xt.current.linkTemplate.selectionAdornmentTemplate=Ht(We.uz,Ht(We.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Rt(2)},new We.KX("pathPattern","thickness",Rt)),Xn({alignmentFocus:new We.z6(0,0,-6,-4)}));function Rt(Qt){return Ht(We.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Qt+4).toString()+" H3"})}function pn(Qt){var sn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Qt===0?sn="M0 0 M16 16 M0 8 L16 8":Qt===2&&(sn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Ht(We.bn,{geometryString:sn,margin:2,background:"transparent",mouseEnter:(Gn,yn)=>yn.background="dodgerblue",mouseLeave:(Gn,yn)=>yn.background="transparent",click:ur("dir",Qt),contextClick:ur("dir",Qt)})}function En(Qt){var sn=(Gn,yn)=>{Gn.handled=!0,Gn.diagram.model.commit(dr=>{var cr=yn.part.adornedPart;dr.set(cr.data,Qt?"toSpot":"fromSpot",We.z6.stringify(We.z6.AllSides)),(Qt?cr.toNode:cr.fromNode).invalidateConnectedLinks()})};return Ht(We.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Gn,yn)=>yn.background="dodgerblue",mouseLeave:(Gn,yn)=>yn.background="transparent",click:sn,contextClick:sn})}function Bt(Qt,sn){var Gn=0,yn=We.z6.RightSide;Qt.equals(We.z6.Top)?(Gn=270,yn=We.z6.TopSide):Qt.equals(We.z6.Left)?(Gn=180,yn=We.z6.LeftSide):Qt.equals(We.z6.Bottom)&&(Gn=90,yn=We.z6.BottomSide),sn||(Gn-=180);var dr=(cr,Qn)=>{cr.handled=!0,cr.diagram.model.commit(Fr=>{var jr=Qn.part.adornedPart;Fr.set(jr.data,sn?"toSpot":"fromSpot",We.z6.stringify(yn)),(sn?jr.toNode:jr.fromNode).invalidateConnectedLinks()})};return Ht(We.bn,{alignment:Qt,alignmentFocus:Qt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Gn,background:"transparent",mouseEnter:(cr,Qn)=>Qn.background="dodgerblue",mouseLeave:(cr,Qn)=>Qn.background="transparent",click:dr,contextClick:dr})}xt.current.linkTemplate.contextMenu=Ht("ContextMenu",Mt(),Yt(),Ht("ContextMenuButton",Ht(We.s_,"Horizontal",pn(0),pn(1),pn(2))),Ht("ContextMenuButton",Ht(We.s_,"Horizontal",Ht(We.s_,"Spot",En(!1),Bt(We.z6.Top,!1),Bt(We.z6.Left,!1),Bt(We.z6.Right,!1),Bt(We.z6.Bottom,!1)),Ht(We.s_,"Spot",{margin:new We.Zt(0,0,0,2)},En(!0),Bt(We.z6.Top,!0),Bt(We.z6.Left,!0),Bt(We.z6.Right,!0),Bt(We.z6.Bottom,!0)))));const hr=`{ "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 Pr=["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 Rr(Qt){return console.log("shapeName:",Qt),Pr.indexOf(Qt)>=0}var Kr=new We.YI(dn.current,{maxSelectionCount:1,linkTemplate:Ht(We.rU,{locationSpot:We.z6.Center,selectionAdornmentTemplate:Ht(We.uz,"Link",{locationSpot:We.z6.Center},Ht(We.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Ht(We.bn,{toArrow:"Standard",stroke:null}))},{routing:We.rU.AvoidsNodes,curve:We.rU.JumpOver,corner:5,toShortLength:4},new We.KX("points"),Ht(We.bn,{isPanelMain:!0,strokeWidth:2}),Ht(We.bn,{toArrow:"Standard",stroke:null})),model:new We.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...We.bn.getFigureGenerators().toArray().map(Qt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Qt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return xt.current.addDiagramListener("TextEdited",function(Qt){var sn;const Gn=Qt.subject.part;var yn=(sn=document.activeElement)==null?void 0:sn.value;typeof yn=="string"&&yn.trim()===""&&xt.current.model.commit(function(dr){dr.set(Gn.data,"text","\u672A\u547D\u540D"),xt.current.commandHandler.stopCommand()},"increment")}),Kr.nodeTemplate=Ht(We.NB,"Auto",{locationSpot:We.z6.Center},new We.KX("location","location",We.E9.parse).makeTwoWay(We.E9.stringify),Ht(We.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new We.KX("stroke").makeTwoWay(),new We.KX("fill").makeTwoWay(),new We.KX("figure")),Ht(We.al,{margin:new We.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new We.$u(16,16),maxSize:new We.$u(10,NaN),textAlign:"center",editable:!0},new We.KX("key").makeTwoWay())),setTimeout(()=>{xt.current.grid=Ht(We.s_,"Grid",Ht(We.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ht(We.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),xt.current.grid.visible=!0,xt.current.grid.gridCellStroke="darkgray",xt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=xt.current,xt.current}const sr=()=>Fe(this,null,function*(){var Ht=xt.current.makeImage();const Bn=yield(0,Ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Ht.src}});Tt({src:Bn.url})});return(0,Be.useEffect)(()=>(setTimeout(()=>{Yn()},500),wn(kn+1),()=>{xt.current=null}),[]),Ze.createElement("div",{ref:ir,className:ln.current?`${Xe.maxH60} body-overflow-initial`:"body-overflow-initial"},Ze.createElement(_e.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!kn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ze.createElement(ke.Z,null,Ze.createElement(Ee.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ze.createElement(Ee.Z,{onClick:()=>{var Ht,Bn,$n=xt.current.selection.first();if(ln.current=!ln.current,document.activeElement&&$n){let Xn=(Bn=(Ht=document.activeElement)==null?void 0:Ht.value)==null?void 0:Bn.trim();typeof Xn=="string"&&xt.current.model.commit(function(ur){ur.set($n.data,"text",Xn||"\u672A\u547D\u540D"),xt.current.commandHandler.stopCommand()},"increment")}wn(kn+1)}},Ze.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Et},Ze.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Xe.flowChartWrp},Ze.createElement("div",{style:{display:"flex",height:"100%"}},Ze.createElement("div",{style:{width:"300px",height:"100%"}},Ze.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ze.createElement("div",{style:{height:"calc(100% - 50px)"},className:Xe.myPaletteDiv,ref:dn})),Ze.createElement("div",{style:{flex:1,position:"relative"}},Ze.createElement("div",{ref:zt,style:{height:"80vh"}}))),Ze.createElement("div",{className:"tr"},Ze.createElement(be.ZP,{size:"large",onClick:sr,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Ce=xe,we=Oe(5112),je=Oe(5871);const Ue=we.ZP.Group,ot={margin:"0 8px"};var $e=({callback:Et,onCancel:Tt})=>{function xt(zt){Et(zt)}return Be.createElement(ge.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:xt},Be.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Be.createElement("span",{style:ot},"\u5355\u5143\u683C\u6570\uFF1A"),Be.createElement("span",{style:ot},"\u884C\u6570"),Be.createElement(ge.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Be.createElement(je.Z,null)),Be.createElement("span",{style:ot},"\u5217\u6570"),Be.createElement(ge.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Be.createElement(je.Z,null))),Be.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Be.createElement("span",{style:ot},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),Be.createElement(ge.default.Item,{name:"align"},Be.createElement(Ue,null,Be.createElement(we.ZP,{value:"default"},Be.createElement("i",{className:"fa fa-align-justify"})),Be.createElement(we.ZP,{value:"left"},Be.createElement("i",{className:"fa fa-align-left"})),Be.createElement(we.ZP,{value:"center"},Be.createElement("i",{className:"fa fa-align-center"})),Be.createElement(we.ZP,{value:"right"},Be.createElement("i",{className:"fa fa-align-right"}))))),Be.createElement("div",{className:"flex-container flex-end"},Be.createElement(be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Be.createElement(be.ZP,{type:"ghost",onClick:Tt},"\u53D6\u6D88")))},st=Oe(78673),St=Oe(80727),ft=Oe.n(St),lt=(0,Be.forwardRef)(({use3d:Et,width:Tt,height:xt,callback:zt,showSaveButton:dn},ln)=>{const ir=(0,Be.useRef)(),kn=(0,Be.useRef)(),[wn,Yn]=(0,Be.useState)(!1),sr=(0,Be.useRef)({id:ir,appName:"graphing",width:Tt||1e3,height:xt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Be.useEffect)(()=>{kn.current=new(ft())(sr.current,!0),window.onload=function(){kn.current.inject("applet_container")}},[]);const Ht=()=>{var Bn=window.ggbApplet.getPNGBase64(1,!0,72);return zt&&zt(Bn),Bn};return(0,Be.useEffect)(()=>{sr.current.appName=wn?"3D":"graphing",kn.current.inject("applet_container")},[wn]),(0,Be.useEffect)(()=>{Yn(Et)},[Et]),(0,Be.useImperativeHandle)(ln,()=>({getImgData:Ht})),Be.createElement(Be.Fragment,null,Be.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ir}),Be.createElement(ke.Z,{align:"middle"},Be.createElement(Ee.Z,{flex:1},Be.createElement(st.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:wn,onChange:Bn=>Yn(Bn)})),Be.createElement(Ee.Z,null,Be.createElement(be.ZP,{size:"large",onClick:Ht,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),pt=Oe(41588),tt=Oe(1012),Qe=Oe(8591);const dt="link",mt="upload-image",Pt="add-flowchart",jt="draw-image",Dt="add-flowchart",$t="code-block",qt="add-table",Vt="------------",Jt={default:Vt,left:`:${Vt}`,center:`:${Vt}:`,right:`${Vt}:`};var en=Oe(58856),Pn=(Et,Tt,xt)=>new Promise((zt,dn)=>{var ln=wn=>{try{kn(xt.next(wn))}catch(Yn){dn(Yn)}},ir=wn=>{try{kn(xt.throw(wn))}catch(Yn){dn(Yn)}},kn=wn=>wn.done?zt(wn.value):Promise.resolve(wn.value).then(ln,ir);kn((xt=xt.apply(Et,Tt)).next())});function In(){}let an=0;const Zn=1e4,Fn="\u2581",Ln="@\u2581\u2581@",Hn="@\u2581@",tr=` **\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`,lr=["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 Ut(Et){return/^\d+$/.test(Et)?`${Et}px`:Et}const rn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",er={[rn+"-B"]:"bold",[rn+"-I"]:"italic"},fn={[dt]:"\u6DFB\u52A0\u94FE\u63A5",[$t]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[mt]:"\u6DFB\u52A0\u56FE\u7247",[jt]:"\u6DFB\u52A0\u753B\u56FE",[Pt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[qt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var zn=({defaultValue:Et="",onChange:Tt,width:xt="100%",height:zt=400,miniToolbar:dn=!1,isFocus:ln=!1,watch:ir,insertTemp:kn,mode:wn="markdown",id:Yn="markdown-editor-id",showResizeBar:sr=!1,noStorage:Ht=!1,showNullButton:Bn=!1,showNullProgramButton:$n=!1,hidetoolBar:Xn=!1,fullScreen:ur=!1,onBlur:wt,onCMBeforeChange:Nt,onFullScreen:Mt,className:_t="",disablePaste:Xt=!1,disabled:Yt=!1,disabledFill:Gt=!1,placeholder:Rt="",values:pn="",extraUse:En})=>{const[Bt,hr]=(0,Be.useState)(null),[Pr,Rr]=(0,Be.useState)(Et),[Kr,Qt]=(0,Be.useState)(ir),[sn,Gn]=(0,Be.useState)(ur),[yn,dr]=(0,Be.useState)(""),[cr,Qn]=(0,Be.useState)(0),[Fr,jr]=(0,Be.useState)(zt),[Ea,ha]=(0,Be.useState)(!1),va=(0,Be.useRef)((0,tt.Z)()),za=(0,Be.useRef)(!1),Ua=(0,Be.useRef)(),[Ka,ka]=(0,Be.useState)(0),[pa,Vr]=(0,Be.useState)(0),wa=(0,Be.useRef)(),La=(0,Be.useRef)(),Na=(0,Be.useRef)(),Ca=(0,Be.useRef)(),ya=()=>Pn(void 0,null,function*(){var Rn;const hn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:va.current}});(Rn=hn==null?void 0:hn.attachments)!=null&&Rn.length&&(console.log("cm:",Bt,wa),hn.attachments.map(xn=>{xn.content_type.indexOf("image")>-1?Bt.replaceSelection(`![,](/api/attachments/${xn.id}?type=${xn.content_type})`):xn.content_type.indexOf("video")>-1?Bt.replaceSelection(``):xn.content_type.indexOf("pdf")>-1?Bt.replaceSelection(`${xn.name}`):Bt.replaceSelection(`[${xn.name}](${ENV.API_SERVER}/api/attachments/${xn.id}?type=${xn.content_type})`)}))});(0,Be.useEffect)(()=>{const Rn=window.scrollY||window.pageYOffset;Rr(pn),Bt==null||Bt.setValue(pn),window.scrollTo(0,Rn)},[pn]),(0,Be.useEffect)(()=>{Mt==null||Mt(sn)},[sn]),(0,Be.useEffect)(()=>{if(wa.current){let Rn=function(xn,An){var br;if(Xt){An.preventDefault();return}const zr=An.clipboardData;if(zr){const na=zr.types.toString(),Yr=zr.items;if(na==="Files"||zr.types.indexOf("Files")>-1){if(An.preventDefault(),wn=="stex")return;try{let da=Yr[1];((br=Yr[0])==null?void 0:br.kind)==="file"&&(da=Yr[0]);const oa=da.getAsFile(),Aa=oa.name.split(".").pop();(0,Ge.I)(oa,ba=>{var gr,Dr,Hr;ba.id?((gr=oa==null?void 0:oa.type)==null?void 0:gr.indexOf("image"))>-1?hn.replaceSelection(``):((Dr=oa==null?void 0:oa.type)==null?void 0:Dr.indexOf("video"))>-1?hn.replaceSelection(``):((Hr=oa==null?void 0:oa.type)==null?void 0:Hr.indexOf("pdf"))>-1?hn.replaceSelection(`${oa.name}`):lr.includes(Aa)?hn.replaceSelection(`${oa.name}`):hn.replaceSelection(`[${oa.name}](/api/attachments/${ba.id}?type=${ba.content_type})`):(ba==null?void 0:ba.status)===401&&(Qe.ZP.warning((ba==null?void 0:ba.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(da){Qe.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const hn=x().fromTextArea(wa.current,{mode:wn,lineNumbers:!dn,lineWrapping:!0,value:Et,autoCloseTags:!$n,autoCloseBrackets:!0});return hn.on("keyup",function(xn,An){An.keyCode===8&&(xn.getValue()==""?hn.setOption("placeholder",Rt):hn.setOption("placeholder",null))}),hn.on("keydown",function(xn,An){if(An.keyCode===8){var br=gn(xn);br&&An.preventDefault()}}),ln&&hn.focus(),hn.on("paste",Rn),hn.on("dragleave",function(xn,An){La.current.classList.remove("mouse-hover-md")}),Yt&&hn.on("beforeChange",function(xn,An){(An.origin==="paste"||An.origin==="+input")&&An.cancel()}),hr(hn),()=>{hn.off("paste",Rn)}}},[]);const On=(0,Be.useCallback)(()=>{if(La.current)try{}catch(Rn){console.log(Rn,"---- to set md editor body height")}},[Fr,La,sn]);(0,Be.useEffect)(()=>{function Rn(){let hn=new Se.Z(xn=>{for(let An of xn)(An.target.offsetHeight>0||An.target.offsetWidth>0)&&(On(),Bt.setSize("100%","100%"),Bt.refresh())});return hn.observe(wa.current.parentElement),hn}if(Bt){const hn=Rn();return()=>{var xn,An;(xn=wa.current)!=null&&xn.parentElement&&hn.unobserve((An=wa.current)==null?void 0:An.parentElement)}}},[Bt,On]),(0,Be.useEffect)(()=>{if(Bt){let Rn=[];for(const[hn,xn]of Object.entries(er)){let An={[hn]:()=>{vr(xn)}};Rn.push(An),Bt.addKeyMap(An)}return Ua.current=setInterval(()=>{za.current&&ya()},4e3),()=>{clearInterval(Ua.current);for(let hn of Rn)Bt.removeKeyMap(hn)}}},[Bt]),(0,Be.useEffect)(()=>{ur!==sn&&Gn(ur)},[ur]),(0,en.Z)(()=>{if(!Ht&&cr>0){let Rn=new Date().getTime(),hn=window.sessionStorage.getItem(Yn);Rn>=cr+Zn&&(!hn||hn!==Pr)&&(window.sessionStorage.setItem(Yn,Pr),ha(!0))}},Zn),(0,Be.useEffect)(()=>{Qt(ir)},[Bt,ir]),(0,Be.useEffect)(()=>{Bt&&ln&&Bt.focus()},[Bt,ln]),(0,Be.useEffect)(()=>{if(Kr&&Bt){let Rn=function(xn){let An=xn.target;if(Ca.current){let br=An.scrollTop/An.scrollHeight;Ca.current.scrollTop=Ca.current.scrollHeight*br}};const hn=Bt.getScrollerElement();return hn.addEventListener("scroll",Rn),()=>{hn.removeEventListener("scroll",Rn)}}},[Bt,Kr]),(0,Be.useEffect)(()=>{if(Bt&&Nt){let Rn=function(hn,xn){Nt(hn,xn)};return Bt.on("beforeChange",Rn),()=>{Bt.off("beforeChange",Rn)}}},[Bt,Nt]),(0,Be.useEffect)(()=>{if(Bt&&wt){let Rn=function(){wt(Bt.getValue())};return Bt.on("blur",Rn),()=>{Bt.off("blur",Rn)}}},[Bt,wt]);function gn(Rn,hn){var xn=Rn.getDoc(),An=xn.getCursor(),br=xn.getLine(An.line),zr=br.charAt(An.ch-1),na=br.lastIndexOf("@\u2581@",An.ch),Yr=br.lastIndexOf("@\u2581\u2581@",An.ch),da=na>Yr?na:Yr,oa=na>Yr?3:4;if(Ln.indexOf(zr)===-1)return null;if(console.log("change1:",hn,Rn,br,An,da,na,Yr,zr),da>=0&&An.ch-da<5){var Aa=da+oa;return xn.replaceRange("",{line:An.line,ch:da},{line:An.line,ch:Aa}),{line:An.line,ch:Aa}}return null}(0,Be.useEffect)(()=>{if(Bt){let Rn=function(hn,xn){const An=hn.getValue();Rr(An),Qn(new Date().getTime()),hn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Tt&&($n?Tt(An,Gr(An)):Tt(An))};return Bt.on("change",Rn),()=>{Bt.off("change",Rn)}}},[Bt,Tt]),(0,Be.useEffect)(()=>{if(Bt)if(Et==null)Bt.setValue(""),Rr("");else{const Rn=window.scrollY||window.pageYOffset;Et!==Bt.getValue()&&(Bt.setValue(Et),Rr(Et),Bt.setCursor(Yt?1:Bt.lineCount(),0),window.scrollTo(0,Rn))}},[Bt,Et]);const vr=(0,Be.useCallback)(Rn=>{const hn=Bt.getCursor(),xn=Bt.getSelection();let An=xn.split(` `);switch(Rn){case"bold":return Bt.replaceSelection("**"+xn+"**"),xn===""&&Bt.setCursor(hn.line,hn.ch+2),Bt.focus();case"italic":return Bt.replaceSelection("*"+xn+"*"),xn===""&&Bt.setCursor(hn.line,hn.ch+1),Bt.focus();case"code":return Bt.replaceSelection("`"+xn+"`"),xn===""&&Bt.setCursor(hn.line,hn.ch+1),Bt.focus();case"inline-latex":return dr("inline-latex"),Bt.focus();case"latex":return Bt.replaceSelection("```latex\n"+xn+"\n```"),Bt.setCursor(hn.line+1,xn.length+1),Bt.focus();case"line-break":return Bt.replaceSelection(`
`),Bt.focus();case"list-ul":return xn===""?Bt.replaceSelection("- "+xn):Bt.replaceSelection(An.map(br=>br===""?"":`- ${br}`).join(` `)),Bt.focus();case"list-ol":return xn===""?Bt.replaceSelection("1. "+xn):Bt.replaceSelection(An.map((br,zr)=>br===""?"":`${zr+1}. ${br}`).join(` `)),Bt.focus();case"add-null-ch":return xn===""&&Bt.setCursor(hn.line,hn.ch),Bt.replaceSelection(Fn),Bt.focus();case"add-signal":return xn===""&&Bt.setCursor(hn.line,hn.ch),Bt.replaceSelection(Hn),Bt.focus();case"add-multiple":return xn===""&&Bt.setCursor(hn.line,hn.ch),Bt.replaceSelection(Ln),Bt.focus();case"inster-template-1":return xn===""&&Bt.setCursor(hn.line,hn.ch),Bt.replaceSelection(tr),Bt.focus();case"eraser":return Bt.setValue(""),Bt.focus();case"trigger-watch":return Qt(!Kr),Bt.focus();case"trigger-full-screen":return Gn(!sn),Bt.focus();case dt:dr(dt);return;case $t:dr($t);return;case mt:dr(mt);return;case jt:dr(jt);return;case"maths-latex":dr("maths-latex");return;case Pt:dr(Pt);return;case qt:dr(qt);return;default:throw new Error}},[Bt,Kr,sn]),fr=(0,Be.useCallback)((Rn,hn)=>{var xn,An,br,zr,na,Yr;switch(dr(""),yn){case dt:const{title:gr,link:Dr}=Rn;return Bt.replaceSelection(`[${gr}](${Dr})`),Bt.focus();case $t:const{language:Hr,content:Lr}=Rn;return Bt.replaceSelection(["```"+Hr,Lr,"```"].join(` `)),Bt.focus();case"maths-latex":for(var da=atob(Rn),oa=new Uint8Array(da.length),Aa=0;Aa{Wa.id?Bt.replaceSelection(`![,](/api/attachments/${Wa.id}?type=${Wa.content_type})`):(Wa==null?void 0:Wa.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Bt.replaceSelection("`$$"+Rn+"$$`");break;case mt:case jt:case Dt:const{src:Mr,alt:sa}=Rn,Wr=hn,Ya=(br=(An=(xn=Wr==null?void 0:Wr.name)==null?void 0:xn.split("."))==null?void 0:An.pop)==null?void 0:br.call(An);return((zr=Wr==null?void 0:Wr.type)==null?void 0:zr.indexOf("image"))>-1||!(Wr!=null&&Wr.type)?Wr.align||Wr.width?Bt.replaceSelection(`

${sa||

`):Bt.replaceSelection(`${sa||`):((na=Wr==null?void 0:Wr.type)==null?void 0:na.indexOf("video"))>-1?Bt.replaceSelection(``):((Yr=Wr==null?void 0:Wr.type)==null?void 0:Yr.indexOf("pdf"))>-1?Bt.replaceSelection(`${Wr.name}`):lr.includes(Ya)?Bt.replaceSelection(`${Wr.name}`):Bt.replaceSelection(`[${Wr.name}](${Mr})`),Bt.focus();case qt:const{row:Ja,col:yo,align:xo}=Rn;let So=` `;for(let Wa=0;Wa{switch(yn){case dt:return Be.createElement(Je,{callback:fr,onCancel:$r});case $t:return Be.createElement(Ye.Z,{callback:fr,onCancel:$r});case mt:return Be.createElement(Ge.Z,{callback:fr,onCancel:$r});case Pt:return Be.createElement(Ce,{callback:fr,onCancel:$r});case qt:return Be.createElement($e,{callback:fr,onCancel:$r});case"maths-latex":return Be.createElement(lt,{showSaveButton:!0,callback:fr});case"inline-latex":return Be.createElement(pt.Z,{showSaveButton:!0,callback:fr});default:return null}},[yn]);function $r(){dr("")}(0,Be.useEffect)(()=>{if(Na.current){let Rn=function(na){br=!0,zr=na.pageY},hn=function(){br=!1},xn=function(na){if(br){let Yr=na.pageY-zr;Yr<0&&(Yr=0),Yr>300&&(Yr=300);let da=zt+Yr+"px";jr(da)}},An=Na.current,br=!1,zr=0;return An.addEventListener("mousedown",Rn),document.addEventListener("mousemove",xn),document.addEventListener("mouseup",hn),()=>{An.removeEventListener("mousedown",Rn),document.removeEventListener("mousemove",xn),document.removeEventListener("mouseup",hn)}}},[Bt,Na]),(0,Be.useEffect)(()=>{jr(zt)},[zt]);const ia=Ut(xt),$a=Ut(Fr),Sa={width:ia,height:$a},Er=(0,Be.useMemo)(()=>{if(cr){let Rn=new Date(cr),hn=Rn.getHours(),xn=Rn.getMinutes(),An=Rn.getSeconds();return hn=hn<10?"0"+hn:hn,xn=xn<10?"0"+xn:xn,An=An<10?"0"+An:An,`${hn}:${xn}:${An}`}return 0},[cr]),Gr=Rn=>{const hn=[];if($n){let xn=-1;Rn=Rn.replace(/(@▁▁@|@▁@)/g,function(An,br,zr){hn.push({multiLine:An!==Hn})})}return hn};function Nr(){window.sessionStorage.removeItem(Yn),ha(!1),Qn(0)}function Va(){ha(!1),Qn(0),Bt.setValue(window.sessionStorage.getItem(Yn))}(0,Be.useEffect)(()=>{fn[yn]&&yn!==jt&&yn!==Pt&&setTimeout(()=>{const Rn=document.getElementsByClassName("markdown-popup-form")[0],hn=window.innerWidth/2-Rn.offsetWidth/2,xn=window.innerHeight/2-Rn.offsetHeight/2;ka(hn),Vr(xn)},0)},[yn]);const ro=Rn=>{Rn.preventDefault();const hn=Rn.clientX-Ka,xn=Rn.clientY-pa;document.body.onmousemove=An=>{let br=An.clientX-hn,zr=An.clientY-xn;const na=document.getElementsByClassName("markdown-popup-form")[0],Yr=window.innerWidth-na.offsetWidth,da=window.innerHeight-na.offsetHeight;br=Math.max(0,Math.min(br,Yr)),zr=Math.max(0,Math.min(zr,da)),so(An.clientX,An.clientY,hn,xn)&&(ka(br),Vr(zr))},document.body.onmouseup=function(){document.body.onmousemove=null}},so=(Rn,hn,xn,An)=>{const br=document.body.clientHeight,zr=document.body.clientWidth;return Rn<20&&xn>Rn||Rn>zr-20&&xnhn||hn>br-20&&Anye in ge?oe(ge,ye,{enumerable:!0,configurable:!0,writable:!0,value:be}):ge[ye]=be,z=(ge,ye)=>{for(var be in ye||(ye={}))y.call(ye,be)&&b(ge,be,ye[be]);if(a)for(var be of a(ye))E.call(ye,be)&&b(ge,be,ye[be]);return ge},ee=(ge,ye)=>ie(ge,ne(ye));const{useForm:re}=Be.default,ce={width:280,marginRight:10},me={labelCol:{span:5},wrapperCol:{span:19}};var he=({callback:ge,onCancel:ye})=>{const[be]=re();let Ae=(0,de.useRef)();function Pe(De){Ae.current.width=be.getFieldValue("width"),Ae.current.align=be.getFieldValue("align"),ge(De,Ae.current)}function Le(De,ze){if(De.status===-1){nt.ZP.error(De.message);return}be.setFieldsValue({src:`/api/attachments/${De.id}`,type:ze.type})}function Ne(De){let ze=De.target.files[0];Ae.current=ze,pe(ze,Le)}return ue.createElement(Be.default,ee(z({form:be},me),{className:"upload-image-panel",onFinish:Pe,style:{width:470,overflow:"hidden"}}),ue.createElement(Be.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ue.createElement("div",{className:"flex-container"},ue.createElement(Be.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ue.createElement(x.default,{style:ce})),ue.createElement(fe,{onFileChange:Ne}))),ue.createElement(Be.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ue.createElement(x.default,{style:{width:264}})),ue.createElement(Be.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ue.createElement(Se.Z,null,ue.createElement(Be.default.Item,{name:"width",style:{margin:0}},ue.createElement(ve.Z,{style:{width:264}})),ue.createElement("span",{className:"ml8"},"%"))),ue.createElement(Be.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ue.createElement(ae.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"}]})),ue.createElement("aside",null,ue.createElement(Be.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ue.createElement(te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(te.ZP,{type:"default",onClick:ye},"\u53D6\u6D88"))))};function fe({onFileChange:ge}){return ue.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ue.createElement("input",{type:"file",onChange:ge}))}function pe(ge,ye){if(!ge)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,se.bg)())throw nt.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let be=new FormData;be.append("editormd-image-file",ge),be.append("file_param_name","editormd-image-file"),be.append("byxhr","true");var Ae=new window.XMLHttpRequest;Ae.withCredentials=!0,Ae.addEventListener("load",function(Pe){ye(JSON.parse(Pe.target.responseText),ge)},!1),Ae.addEventListener("error",function(Pe){console.error(Pe)},!1),Ae.open("POST",`${le.KI}/api/attachments.json`),Ae.send(be)}},79346:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return x}});var Be=Oe(59301),nt=Oe(4676);class x extends Be.Component{constructor(ve){super(ve);const ae=window.document;this.node=ae.createElement("div"),ae.body.appendChild(this.node)}render(){const{children:ve}=this.props;return(0,nt.createPortal)(ve,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},16869:function(Ct,bt,Oe){"use strict";var Be=Oe(38476),nt=Oe(57809),x=Oe(78673),Se=Oe(59301);const ve=nt.default.Option;bt.Z=({isTheoretical:ae,onFontSizeChange:te,cmFontSize:le,cmCodeMode:de,autoFormat:se,onCodeModeChange:ue,onTabToSpace:oe,onAutoFormat:ie,formatDocument:ne,className:a="",tabToSpace:y,children:E,code_editor:b,challenge:z})=>{const ee={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return Se.createElement("div",{className:`tpi-code-setting ${a}`},Se.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),Se.createElement("section",null,Se.createElement("div",{className:"file-item"},Se.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),Se.createElement(nt.default,{bordered:!1,size:"small",value:de,onChange:ue},Se.createElement(ve,{value:"vs"},"\u767D\u8272\u80CC\u666F"),Se.createElement(ve,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!ae&&Se.createElement(Se.Fragment,null,Se.createElement("div",{className:"file-item"},Se.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),Se.createElement(nt.default,{bordered:!1,size:"small",value:le,onChange:te},Se.createElement(ve,{value:12},"12px"),Se.createElement(ve,{value:14},"14px"),Se.createElement(ve,{value:16},"16px"),Se.createElement(ve,{value:18},"18px"),Se.createElement(ve,{value:20},"20px"),Se.createElement(ve,{value:22},"22px"))),Se.createElement("div",{className:"file-item"},Se.createElement("b",null,"Tab\u8F6C\u6362"),Se.createElement(x.Z,{checked:y,onChange:oe})),Se.createElement("div",{className:"file-item",onClick:ne},Se.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!ae&&Se.createElement(Se.Fragment,null,Se.createElement("h3",null,"\u5FEB\u6377\u952E"),Se.createElement("section",null,Se.createElement("div",{className:"file-item"},Se.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),Se.createElement("span",null,"Ctrl + S")),Se.createElement("div",{className:"file-item"},Se.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),Se.createElement("span",null,"F1 / Alt + F1")),Se.createElement("div",{className:"file-item"},Se.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),Se.createElement("span",null,"Ctrl + ]/[")),Se.createElement("div",{className:"file-item"},Se.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),Se.createElement("span",null,"Ctrl + Shift + \\")),Se.createElement("div",{className:"file-item"},Se.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),Se.createElement("span",null,"Home")),Se.createElement("div",{className:"file-item"},Se.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),Se.createElement("span",null,"End"))),E),!ae&&Se.createElement(Se.Fragment,null,Se.createElement("h3",null,"\u5FEB\u6377\u952E"),Se.createElement("section",null,Se.createElement("div",{className:"file-item"},Se.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),Se.createElement("span",null,ee[z==null?void 0:z.difficulty])),Se.createElement("div",{className:"file-item"},Se.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),Se.createElement("span",null,b==null?void 0:b.name)),Se.createElement("div",{className:"file-item"},Se.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),Se.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},58856:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return nt}});var Be=Oe(59301);function nt(x,Se){const ve=(0,Be.useRef)();(0,Be.useEffect)(()=>{ve.current=x}),(0,Be.useEffect)(()=>{function ae(){ve.current()}if(Se!==null){let te=setInterval(ae,Se);return()=>clearInterval(te)}},[Se])}},95480:function(Ct,bt,Oe){"use strict";Oe.r(bt),Oe.d(bt,{Types:function(){return Fn},default:function(){return tr}});var Be=Oe(59301),nt={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"},x=Oe(92832),Se=Oe(43418),ve=Oe(36381),ae=Oe(78241),te=Oe(8591),le=Oe(95237),de=Oe(43604),se=Oe(71418),ue=Oe(3113),oe=Oe(1710),ie=Oe(57809),ne=Oe(5871),a=Oe(5112),y=Oe(24905),E=Oe(81327),b=Oe(14478),z=Oe(59301);const{Option:ee}=ie.default;var re=(Ut=>(Ut[Ut.language=0]="language",Ut[Ut.difficulty=1]="difficulty",Ut[Ut.category=2]="category",Ut[Ut.openOrNot=3]="openOrNot",Ut))(re||{});const ce={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 me(Ut){return ce[Ut].map(on=>z.createElement(ee,{key:on.title,value:on.key}," ",on.title," "))}function he(Ut,on){Ut.map(rn=>{const{id:er,name:fn,sub_disciplines:zn}=rn;let Et={value:er,label:fn};on.push(Et),zn&&zn.length>0&&(Et.children=[],he(zn,Et.children))})}function fe(Ut,on){var rn;let er=[];for(let fn=0;fn0){er[0]=zn.id;for(let Et=0;Eton in Ut?rt(Ut,on,{enumerable:!0,configurable:!0,writable:!0,value:rn}):Ut[on]=rn,Ee=(Ut,on)=>{for(var rn in on||(on={}))Re.call(on,rn)&&Ke(Ut,rn,on[rn]);if(We)for(var rn of We(on))Te.call(on,rn)&&Ke(Ut,rn,on[rn]);return Ut},Ie=(Ut,on)=>Ve(Ut,ut(on));const Xe={theme:(0,_e.G)("cmCodeMode","vs-dark"),fontSize:(0,_e.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,_e.G)("cmTabToSpace",!0)};var Ze=(Ut=>(Ut[Ut.set_font_size=0]="set_font_size",Ut[Ut.set_theme=1]="set_theme",Ut[Ut.on_tab_to_space=2]="on_tab_to_space",Ut[Ut.set_show_editor_setting=3]="set_show_editor_setting",Ut))(Ze||{});function Fe(Ut,on){switch(on.type){case 3:return Ie(Ee({},Ut),{showEditorSetting:on.payload});case 1:return Ie(Ee({},Ut),{theme:on.payload});case 0:return Ie(Ee({},Ut),{fontSize:on.payload});case 2:return Ie(Ee({},Ut),{tabToSpace:on.payload});default:throw new Error}}var xe=({value:Ut,onChange:on,language:rn,onLanguage:er,languageItems:fn,ActionBarRender:zn=Et=>Be.createElement(Ce,{languageItems:fn,onLanguage:er,language:rn,onShowCodeSetting:Et})})=>{const[Et,Tt]=(0,Be.useReducer)(Fe,Xe),{theme:xt,fontSize:zt,showEditorSetting:dn,tabToSpace:ln}=Et;console.log(Ut,rn,"value");const ir={onFontSizeChange:sr=>{Tt({type:0,payload:sr}),(0,_e.t)("cmFontSize",sr)},tabToSpace:ln,cmFontSize:zt,className:"oj",cmCodeMode:xt,onTabToSpace:sr=>{Tt({type:2,payload:sr}),(0,_e.t)("cmTabToSpace",sr)},onCodeModeChange:sr=>{Tt({type:1,payload:sr}),(0,_e.t)("cmCodeMode",sr)}};function kn(){Tt({type:3,payload:!1})}function wn(){Tt({type:3,payload:!0})}const Yn={value:Ut,language:rn,onChange:on,theme:xt,height:"calc(100% - 56px)",options:{fontSize:zt,insertSpaces:ln}};return Be.createElement(Be.Fragment,null,Be.createElement("div",{className:ke["code-panel-container"]},zn(wn),Be.createElement(Je.ZP,Ee({key:rn},Yn))),Be.createElement(Ge.Z,null,Be.createElement(at.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:dn,onClose:kn},Be.createElement(Ye.Z,Ee({},ir)))))};function Ce({languageItems:Ut,language:on,onShowCodeSetting:rn,onLanguage:er}){return Be.createElement("div",{className:ke["action-oj-bar"]},Ut==null?void 0:Ut.map(fn=>Be.createElement("div",{className:on===(fn==null?void 0:fn.language)?ke.active:"",onClick:()=>er(fn==null?void 0:fn.language),key:fn==null?void 0:fn.language},fn==null?void 0:fn.language)),Be.createElement("a",{onClick:rn},Be.createElement("i",{className:"iconfont icon-shezhi"})))}var we=Oe(99313),je={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"},Ue=(Ut,on,rn)=>new Promise((er,fn)=>{var zn=xt=>{try{Tt(rn.next(xt))}catch(zt){fn(zt)}},Et=xt=>{try{Tt(rn.throw(xt))}catch(zt){fn(zt)}},Tt=xt=>xt.done?er(xt.value):Promise.resolve(xt.value).then(zn,Et);Tt((rn=rn.apply(Ut,on)).next())}),$e=({visible:Ut,onOK:on,onCancel:rn})=>{const[er,fn]=(0,Be.useState)(!1),[zn,Et]=(0,Be.useState)(!1),[Tt,xt]=(0,Be.useState)("1"),[zt,dn]=(0,Be.useState)(""),[ln,ir]=(0,Be.useState)([]),kn=()=>Ue(void 0,null,function*(){if(!zt){te.ZP.warning(`\u9898\u76EE${Bn}\u4E0D\u80FD\u4E3A\u7A7A`);return}Et(!0);const $n=yield(0,Pe.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:Ut,name:zt}});if(($n==null?void 0:$n.status)===0){on();return}Et(!1)}),wn=($n="")=>Ue(void 0,null,function*(){fn(!0);let Xn=yield(0,Pe.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:Ut,search:$n}});ir(Xn.tag_disciplines||[]),fn(!1)}),Yn=$n=>{let Xn=$n.name;Se.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u91CD\u547D\u540D",content:Be.createElement("div",null,Be.createElement(x.default,{defaultValue:Xn,placeholder:`\u8BF7\u8F93\u5165${Bn}\u540D\u79F0\uFF0C\u4E0D\u8D85\u8FC720\u4E2A\u5B57`,maxLength:20,onChange:ur=>{Xn=ur.target.value}})),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){if(!Xn)return te.ZP.warning(`\u9898\u76EE${Bn}\u4E0D\u80FD\u4E3A\u7A7A`),Promise.reject();const ur=yield(0,Pe.ZP)(`/api/tag_disciplines/${$n.id}/rename.json`,{method:"post",body:{id:$n.id,name:Xn}});(ur==null?void 0:ur.status)===0&&wn()})})},sr=$n=>{Se.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:570,title:"\u5220\u9664",content:Ut==="practice"?Be.createElement("div",null,"\u786E\u8BA4\u5C06\u9898\u76EE\u6765\u6E90\u201C",Be.createElement("span",{className:"c-light-primary"},$n.name),"\u201D\u5220\u9664\u5417\uFF1F",Be.createElement("br",null),"\u5220\u9664\u540E\uFF0C\u4F1A\u5C06\u76F8\u5173\u9898\u76EE\u4E2D\u7684\u6765\u6E90\u8FDB\u884C\u6E05\u9664\u3002"):Be.createElement("div",null,"\u786E\u8BA4\u5C06\u9898\u76EE\u77E5\u8BC6\u70B9\u201C",Be.createElement("span",{className:"c-light-primary"},$n.name),"\u201D\u5220\u9664\u5417\uFF1F",Be.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:()=>Ue(void 0,null,function*(){const Xn=yield(0,Pe.ZP)(`/api/tag_disciplines/${$n.id}.json`,{method:"delete",body:{id:$n.id}});(Xn==null?void 0:Xn.status)===0&&wn()})})},Ht=$n=>{wn($n)},Bn=Ut==="practice"?"\u77E5\u8BC6\u70B9":"\u6765\u6E90";return Be.createElement(Se.default,{afterClose:()=>{Et(!1),fn(!1),dn(""),xt("1"),ir([])},centered:!0,keyboard:!1,width:600,title:`${Bn}\u7BA1\u7406`,open:!!Ut,className:je.customModal,footer:null,onCancel:rn},Be.createElement("section",{className:je.wrap},Be.createElement(we.default,{activeKey:Tt,onChange:$n=>{dn(""),xt($n),wn()}},Be.createElement(we.default.TabPane,{tab:`\u65B0\u589E${Bn}`,key:"1"},Be.createElement(x.default,{value:zt,onChange:$n=>dn($n.target.value),className:je.in,placeholder:`\u8F93\u5165${Bn}\u540D\u79F0\uFF0C\u4E0D\u8D85\u8FC720\u4E2A\u5B57`,maxLength:20}),Be.createElement("div",{className:je.btns},Be.createElement(ue.ZP,{onClick:rn,className:"mr20"},"\u53D6\u6D88 "),Be.createElement(ue.ZP,{loading:zn,onClick:kn,type:"primary"},"\u786E\u8BA4\u65B0\u5EFA"))),Be.createElement(we.default.TabPane,{tab:`\u5DF2\u6709${Bn}`,key:"2"},Be.createElement(x.default.Search,{allowClear:!0,onSearch:Ht,value:zt,onChange:$n=>dn($n.target.value),className:je.in,placeholder:`\u8F93\u5165${Bn}\u540D\u79F0\u8FDB\u884C\u67E5\u8BE2`}),Be.createElement(oe.default,{dataSource:ln,bordered:!1,loading:er,scroll:ln.length>7?{y:300}:{},style:{padding:"0 0px 20px 0px"},columns:[{title:`${Bn}\u540D\u79F0`,dataIndex:"name",ellipsis:!0},{title:"\u64CD\u4F5C",dataIndex:"action",width:120,render:($n,Xn)=>Be.createElement("span",null,Be.createElement("span",{onClick:()=>Yn(Xn),className:"current mr10 c-light-primary"},"\u91CD\u547D\u540D"),Be.createElement("span",{onClick:()=>sr(Xn),className:"current c-grey-666"},"\u5220\u9664"))}],pagination:!1})))))},st=Oe(3294),St=Oe(72161),ft=Oe(61186),yt=Oe.n(ft),lt=Oe(955),pt=Oe(85149),tt=Oe(24065),Qe=Oe(59301),dt=Object.defineProperty,mt=Object.defineProperties,Pt=Object.getOwnPropertyDescriptors,jt=Object.getOwnPropertySymbols,Dt=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,qt=(Ut,on,rn)=>on in Ut?dt(Ut,on,{enumerable:!0,configurable:!0,writable:!0,value:rn}):Ut[on]=rn,Vt=(Ut,on)=>{for(var rn in on||(on={}))Dt.call(on,rn)&&qt(Ut,rn,on[rn]);if(jt)for(var rn of jt(on))$t.call(on,rn)&&qt(Ut,rn,on[rn]);return Ut},Jt=(Ut,on)=>mt(Ut,Pt(on)),en=(Ut,on,rn)=>new Promise((er,fn)=>{var zn=xt=>{try{Tt(rn.next(xt))}catch(zt){fn(zt)}},Et=xt=>{try{Tt(rn.throw(xt))}catch(zt){fn(zt)}},Tt=xt=>xt.done?er(xt.value):Promise.resolve(xt.value).then(zn,Et);Tt((rn=rn.apply(Ut,on)).next())});const{TextArea:Pn}=x.default,{confirm:In}=Se.default,{Panel:an}=ve.default,Zn={loading:!0,user:null,status:0,data:void 0,lastedUpdateTime:0};var Fn=(Ut=>(Ut[Ut.SET_INITAL_DATA=0]="SET_INITAL_DATA",Ut[Ut.SET_LOADING=1]="SET_LOADING",Ut[Ut.SET_STATUS=2]="SET_STATUS",Ut))(Fn||{});const Ln="#### \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 Hn(Ut,on){switch(on.type){case 0:return Vt(Vt({},Ut),on.payload);case 1:return Jt(Vt({},Ut),{loading:on.payload});case 2:return Jt(Vt({},Ut),{status:on.payload});default:throw new Error}}var tr=()=>{var Ut,on,rn;const er=(0,pe.useLocation)(),{id:fn}=(0,pe.useParams)(),[zn]=ae.default.useForm(),[Et,Tt]=(0,Be.useState)(),[xt,zt]=(0,Be.useState)(!1),[dn,ln]=(0,Be.useState)([]),[ir,kn]=(0,Be.useState)([]),[wn,Yn]=(0,Be.useState)([]),[sr,Ht]=(0,Be.useState)([]),[Bn,$n]=(0,Be.useState)([]),[Xn,ur]=(0,Be.useState)("C"),[wt,Nt]=(0,Be.useReducer)(Hn,Zn),{loading:Mt,data:_t,user:Xt,status:Yt}=wt,Gt=_t==null?void 0:_t.hack_sets,Rt=(Ut=_t==null?void 0:_t.hack)==null?void 0:Ut.test_set_average,[pn,En]=(0,Be.useState)(!1),Bt=(0,Be.useRef)([]),[hr,Pr]=(0,Be.useState)(!1),[Rr,Kr]=(0,Be.useState)(!1),Qt=(0,Be.useRef)(!0),[sn,Gn]=(0,Be.useState)({});(0,Be.useEffect)(()=>((0,pe.getDvaApp)()._store.dispatch({type:"globalSetting/headerFooterToggle",payload:!1}),(0,pe.getDvaApp)()._store.dispatch({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),()=>{(0,pe.getDvaApp)()._store.dispatch({type:"globalSetting/headerFooterToggle",payload:!0}),(0,pe.getDvaApp)()._store.dispatch({type:"globalSetting/onlyShowBackTopToggle",payload:!1})}),[]),(0,Be.useEffect)(()=>{setTimeout(()=>{document.title="\u5728\u7EBF\u5237\u9898"},400)});const yn=()=>en(void 0,null,function*(){const On=yield(0,Pe.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:"practice"}}),gn=yield(0,Pe.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:"practice_source"}});kn(On.tag_disciplines||[]),Yn(gn.tag_disciplines||[])});var dr=[{language:"C",code:""},{language:"C++",code:""},{language:"Java",code:""},{language:"Python",code:""}];const cr=(0,Be.useCallback)(()=>en(void 0,null,function*(){if(Nt({type:1,payload:!0}),fn){const On=yield De(fn),{user:gn,language:vr,practice_sets:fr,practice_codes:wr,description:$r,difficulty:ia,name:$a,open_or_not:Sa,time_limit:Er,test_set_average:Gr,test_set_score:Nr,status:Va,tag_discipline_ids:ro,source_discipline_ids:so,item_banks_group_id:Rn,is_file:hn=!1,hide_actual_output:xn,review_privilege:An,review_description:br,submit_rule:zr}=On;Gn({review_privilege:An,status:Va,review_description:br,name:$a}),En(xn);const Yr=hn?[{input:"",output:"",score:100,position:1}]:fr;hn?(ln(fr),zn.setFieldsValue({hack_sets:Yr})):ln([]),Nt({type:0,payload:{loading:!0,user:gn,status:Va,data:{hack:{difficulty:ia,name:$a,description:$r,open_or_not:Sa,time_limit:Er,test_set_average:Gr,test_set_score:Nr,tag_discipline_ids:ro,source_discipline_ids:so,is_file:hn,submit_rule:zr},hack_sets:Yr}}}),Tt({hack:{difficulty:ia,name:$a,description:$r,open_or_not:Sa,time_limit:Er,test_set_average:Gr,test_set_score:Nr,tag_discipline_ids:ro,source_discipline_ids:so,is_file:hn}});const oa=wr==null?void 0:wr.map(Aa=>Jt(Vt({},Aa),{code:ge.Base64.decode(Aa==null?void 0:Aa.code)}));$n(oa),Bt.current=oa}else{const{user:On}=yield Ne();Nt({type:0,payload:{loading:!0,status:0,user:On,data:{hack:{difficulty:"",time_limit:3,description:Ln,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}]}}}),Tt({hack:{difficulty:"",time_limit:3,description:"",test_set_average:!0,open_or_not:!0,name:"",is_file:!1}}),$n(dr),Bt.current=dr}Nt({type:1,payload:!1})}),[fn]);(0,Be.useEffect)(()=>{try{cr(),yn()}catch(On){console.log(On,"----")}},[]);function Qn(On,gn){return en(this,null,function*(){var vr;const{hack_sets:fr,hack:wr}=Vt({},On);wr.hide_actual_output=pn;let $r=[],ia=[],$a=0;const Sa=wr!=null&&wr.is_file?dn.map((Nr,Va)=>Jt(Vt({},Nr),{position:Va+1})):fr.map(Nr=>Jt(Vt({},Nr),{is_file:!1}));for(let Nr of Sa)$a+=Nr.score,Nr.id&&Nr.id>=0?$r.push(Nr):ia.push(Nr);if(!(Sa!=null&&Sa.length)){te.ZP.error("\u6D4B\u8BD5\u96C6\u4E0D\u80FD\u4E3A\u7A7A");return}if($a!==100&&!wr.test_set_score){te.ZP.error("\u6D4B\u8BD5\u96C6\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}if(Sa!=null&&Sa.some(Nr=>!Nr.output)){te.ZP.error("\u6D4B\u8BD5\u96C6\u8F93\u51FA\u4E0D\u80FD\u4E3A\u7A7A");return}Qt.current?Pr(!0):Kr(!0);let Er;const Gr=Bn==null?void 0:Bn.map(Nr=>Jt(Vt({},Nr),{code:ge.Base64.encode(Nr==null?void 0:Nr.code)}));if(fn?Er=yield ze(fn,{practice:wr,practice_codes:Gr,practice_sets:ia,update_practice_sets:$r}):Er=yield Le({practice:wr,practice_codes:Gr,practice_sets:Sa,publish:!Qt.current}),Pr(!1),Kr(!1),(Er==null?void 0:Er.status)===0){if((vr=Er==null?void 0:Er.similar_practice)!=null&&vr.length){zt(!0),Ht(Er==null?void 0:Er.similar_practice);return}if(fn){if(te.ZP.success("\u4FDD\u5B58\u6210\u529F"),!Qt.current){const Nr=yield(0,Pe.ZP)(`/api/practices/${fn}/start`,{method:"get"});(Nr==null?void 0:Nr.status)===0&&pe.history.push(`/problems/${Nr==null?void 0:Nr.identifier}/oj/${fn}`)}}else te.ZP.success("\u65B0\u5EFA\u6210\u529F"),pe.history.replace(`/problems/${Er==null?void 0:Er.identifier}/ojedit`)}})}function Fr(){pe.history.replace("/problems")}const jr=On=>{const gn=Math.floor(100/On.length),vr=gn+100%On.length;On=On.map((fr,wr)=>wr===On.length-1?Jt(Vt({},fr),{score:vr}):Jt(Vt({},fr),{score:gn})),ln(On)};function Ea(On){On.target.value||jr(dn),Nt({type:0,payload:{data:Jt(Vt({},_t),{hack:Jt(Vt({},_t.hack),{test_set_score:On.target.value})})}})}function ha(On){Nt({type:0,payload:{data:Jt(Vt({},_t),{hack:Jt(Vt({},_t.hack),{is_file:On.target.value})})}})}function va(On){En(On.target.checked)}function za(On){const gn=On.target.value;gn&&jr(dn),Nt({type:0,payload:{data:Jt(Vt({},_t),{hack:Jt(Vt({},_t.hack),{test_set_average:gn})})}})}function Ua(){let On=zn.getFieldValue("hack_sets");const gn=On.length+1,vr=Math.floor(100/gn),fr=100%gn;On.map((wr,$r)=>(Rt&&(wr.score=vr),wr.position=$r+1,wr)),On.push({input:"",output:"",position:gn,score:Rt?vr+fr:0}),zn.setFieldsValue({hack_sets:On}),Nt({type:0,payload:{data:Jt(Vt({},_t),{hack_sets:On})}})}(0,Be.useEffect)(()=>{if(Rt){const On=Gt==null?void 0:Gt.length,gn=Math.floor(100/On),vr=100%On;Gt==null||Gt.map((fr,wr)=>(fr.score=gn,fr.position=wr+1,wr===On-1&&(fr.score=gn+vr),fr)),Nt({type:0,payload:{data:Jt(Vt({},_t),{hack_sets:Gt})}}),zn.setFieldsValue({hack_sets:Gt})}},[Rt]);function Ka(On){let gn=zn.getFieldValue("hack_sets");const vr=(gn==null?void 0:gn.length)-1,fr=Math.ceil(100/vr),wr=100%vr;gn.splice(On,1),gn==null||gn.map(($r,ia)=>(Rt&&($r.score=fr,ia===vr-1&&($r.score=fr+wr)),$r.position=ia+1,$r)),Nt({type:0,payload:{data:Jt(Vt({},_t),{hack_sets:gn})}}),zn.setFieldsValue({hack_sets:gn})}function ka(On){ur(On)}const pa=On=>{var gn;const vr=(gn=Bt.current)==null?void 0:gn.findIndex(fr=>fr.language===Xn);Bt.current[vr].code=On,$n(Bt.current)},Vr=On=>{Tt(Vt({},zn.getFieldsValue()))},wa=On=>en(void 0,null,function*(){const gn=yield(0,Pe.ZP)(`/api/practices/${On}/start`,{method:"get"});(gn==null?void 0:gn.status)===0&&(0,lt.xg)(`/problems/${gn==null?void 0:gn.identifier}/oj/${On}`)}),La=()=>en(void 0,null,function*(){const On=yield De(fn),{name:gn,status:vr,review_privilege:fr,review_description:wr}=On;Gn({review_privilege:fr,status:vr,review_description:wr,name:gn})}),Na=()=>{let On="";Se.default.confirm({icon:null,width:700,className:"custom-modal-divider",centered:!0,title:"\u4E0D\u901A\u8FC7\u539F\u56E0",content:Qe.createElement("div",{className:"mt20"},Qe.createElement(Ae.Z,{className:nt.MdEditor,defaultValue:On,onChange:gn=>{On=gn}})),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>en(void 0,null,function*(){if(!On)return te.ZP.warning("\u4E0D\u901A\u8FC7\u539F\u56E0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const gn=yield(0,Pe.ZP)(`/api/practices/${fn}/review.json`,{method:"post",body:{op:"fail",description:On}});(gn==null?void 0:gn.status)===0&&(te.ZP.success("\u63D0\u4EA4\u6210\u529F"),La())})})},Ca=()=>en(void 0,null,function*(){Se.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u63D0\u793A",content:`\u786E\u8BA4\u5C06\u9898\u76EE\u300A${sn==null?void 0:sn.name}\u300B\u7684\u5BA1\u6838\u901A\u8FC7\u5417\uFF1F`,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>en(void 0,null,function*(){const On=yield(0,Pe.ZP)(`/api/practices/${fn}/review.json`,{method:"post",body:{op:"pass"}});(On==null?void 0:On.status)===0&&(te.ZP.success("\u63D0\u4EA4\u6210\u529F"),La())})})}),ya=()=>{const On=Se.default.confirm({icon:null,width:700,className:`${nt.cusModal} custom-modal-divider`,centered:!0,title:Qe.createElement(le.Z,null,Qe.createElement(de.Z,{flex:"1"},"\u4E0D\u901A\u8FC7\u539F\u56E0"),Qe.createElement(de.Z,null,Qe.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>On.destroy()}))),content:Qe.createElement("div",null,Qe.createElement(pt.Z,{className:"mt20",value:(sn==null?void 0:sn.review_description)||""}))})};return Qe.createElement(se.Z,{spinning:Mt,size:"large",className:nt["oj-custom-large-spin"]},_t?Qe.createElement(Be.Fragment,null,Qe.createElement("header",{className:nt.header},Qe.createElement("div",null,Qe.createElement("img",{src:`${st.Z.IMG_SERVER}/images/${Xt==null?void 0:Xt.image_url}`,alt:"user",width:30}),Qe.createElement("span",null,Xt==null?void 0:Xt.name)),Qe.createElement("h2",null," ",(on=_t==null?void 0:_t.hack)==null?void 0:on.name," "),fn?Qe.createElement("a",{className:nt.btn_back,onClick:Fr}," ",Qe.createElement(ye.Z,null),"\u9000\u51FA"):null),Qe.createElement(ae.default,{form:zn,initialValues:_t,layout:"vertical",className:nt["oj-form-container"],onValuesChange:Vr,onFinish:Qn},Qe.createElement(it.Z,{hideResize:!0,className:nt["oj-problems"],leftChild:Qe.createElement(lr,{formValue:Et,onRemoveTestCase:Ka,onAddTestCase:Ua,hack:_t.hack,onChangeScore:Ea,onChangehide:va,onChangeAverage:za,onChangeFile:ha,uploadData:dn,setUploadData:ln,handleUploadRatio:jr,ischecked:pn,pointData:ir,sourceData:wn,getPointData:yn}),rightChild:Qe.createElement(xe,{value:(rn=Bn==null?void 0:Bn.find(On=>On.language===Xn))==null?void 0:rn.code,onChange:pa,onLanguage:ka,languageItems:Bn,language:Xn})}),Qe.createElement("div",{className:nt.footer},!!fn&&Qe.createElement("div",{className:nt.result},Qe.createElement("span",null,"\u5BA1\u6838\u7ED3\u679C:"),sn!=null&&sn.review_privilege?Qe.createElement(Qe.Fragment,null,Qe.createElement("div",{onClick:Ca,className:nt.pass},"\u901A\u8FC7"),Qe.createElement("div",{onClick:Na,className:nt.noPass},"\u4E0D\u901A\u8FC7")):Qe.createElement(Qe.Fragment,null,(sn==null?void 0:sn.status)===0&&Qe.createElement("div",{className:nt.passText},Qe.createElement("i",{className:"iconfont icon-tongguo"}),"\u672A\u53D1\u5E03"),(sn==null?void 0:sn.status)===1&&Qe.createElement("div",{className:nt.passText},Qe.createElement("i",{className:"iconfont icon-tongguo"}),"\u5DF2\u516C\u5F00"),(sn==null?void 0:sn.status)===2&&Qe.createElement("div",{className:nt.passText},Qe.createElement("i",{className:"iconfont icon-tongguo"}),"\u672A\u5BA1\u6279"),(sn==null?void 0:sn.status)===3&&Qe.createElement("div",{className:nt.passText},Qe.createElement("i",{className:"iconfont icon-tongguo"}),"\u5BA1\u6838\u4E2D"),(sn==null?void 0:sn.status)===4&&Qe.createElement("div",{className:nt.passText},Qe.createElement("i",{className:"iconfont icon-tongguo"}),"\u5BA1\u6838\u5B8C\u6210\u5F85\u516C\u5F00"),(sn==null?void 0:sn.status)===5&&Qe.createElement("div",{className:nt.noPassText},Qe.createElement("i",{className:"iconfont icon-weitongguo1"}),"\u5BA1\u6838\u4E0D\u901A\u8FC7",Qe.createElement("span",{onClick:ya},"\u67E5\u770B\u539F\u56E0")))),Qe.createElement(ue.ZP,{type:"primary",ghost:!0,onClick:Fr},"\u9000\u51FA\u7F16\u8F91"),Qe.createElement(ue.ZP,{disabled:Rr,loading:hr,type:"primary",onClick:()=>{Qt.current=!0,zn.submit()}},"\u4FDD\u5B58 "),fn?Qe.createElement(ue.ZP,{disabled:hr,loading:Rr,style:{background:"#2FC25B",border:0},type:"primary",onClick:()=>{Qt.current=!1,zn.submit()}},"\u7ACB\u5373\u4F53\u9A8C"):Qe.createElement(ue.ZP,{disabled:hr,loading:Rr,type:"primary",onClick:()=>{Qt.current=!1,zn.submit()}},"\u4FDD\u5B58\u5E76\u53D1\u5E03\u5BA1\u6838")))):null,Qe.createElement(Se.default,{centered:!0,destroyOnClose:!0,footer:null,open:xt,onCancel:()=>zt(!1),title:"\u76F8\u4F3C\u6027\u68C0\u6D4B",width:"600px"},Qe.createElement("div",null,Qe.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"),Qe.createElement(oe.default,{dataSource:sr,bordered:!1,scroll:sr.length>7?{y:300}:{},columns:[{title:"\u76F8\u4F3C\u9898\u9898\u76EE",dataIndex:"name",ellipsis:!0,render:(On,gn)=>Qe.createElement("span",{onClick:()=>wa(gn==null?void 0:gn.identifier),style:{textDecorationLine:"underline"},className:"current c-light-primary"},On)},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"create_time",width:170,render:On=>{var gn;return(gn=yt()(On))==null?void 0:gn.format("YYYY-MM-DD HH:mm")}}],pagination:!1}))))};function lr({ischecked:Ut,formValue:on,hack:rn,onChangeAverage:er,onChangeScore:fn,onChangehide:zn,onChangeFile:Et,onAddTestCase:Tt,onRemoveTestCase:xt,uploadData:zt,setUploadData:dn,handleUploadRatio:ln,pointData:ir,sourceData:kn,getPointData:wn}){var Yn,sr;const{test_set_average:Ht,test_set_score:Bn}=rn,[$n,Xn]=(0,Be.useState)(!1),[ur,wt]=(0,Be.useState)(!1),Nt=(Rt,pn)=>{const En=[...zt];En.splice(pn,1),Ht?ln(En):dn(En)},Mt=(Rt,pn)=>{console.log(Rt,pn);const En=zt.map((Bt,hr)=>hr===pn?Jt(Vt({},Bt),{score:Rt.target.value?Number(Rt.target.value):0}):Bt);dn(En)},_t=Rt=>{const pn=zt.concat(Rt);rn.test_set_average?ln(pn):dn(pn)};function Xt(Rt){Rt.stopPropagation()}function Yt(){if((0,tt.Ny)()){wt("practice");return}let Rt="";Se.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u65B0\u5EFA\u77E5\u8BC6\u70B9",content:Qe.createElement("div",null,Qe.createElement(x.default,{placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0\uFF0C\u4E0D\u8D85\u8FC720\u4E2A\u5B57",maxLength:20,onChange:pn=>{Rt=pn.target.value}})),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>en(this,null,function*(){const pn=yield(0,Pe.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:"practice",name:Rt}});(pn==null?void 0:pn.status)===0&&wn()})})}function Gt(){if((0,tt.Ny)()){wt("practice_source");return}let Rt="";Se.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u65B0\u5EFA\u6765\u6E90",content:Qe.createElement("div",null,Qe.createElement(x.default,{placeholder:"\u8BF7\u8F93\u5165\u6765\u6E90\u540D\u79F0\uFF0C\u4E0D\u8D85\u8FC720\u4E2A\u5B57",maxLength:20,onChange:pn=>{Rt=pn.target.value}})),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>en(this,null,function*(){const pn=yield(0,Pe.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:"practice_source",name:Rt}});(pn==null?void 0:pn.status)===0&&wn()})})}return Qe.createElement("div",{className:nt["oj-left-panel"]},Qe.createElement("div",{className:nt["oj-form-info"]},Qe.createElement(ae.default.Item,{label:"\u9898\u76EE\u540D\u79F0",name:["hack","name"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0"}],className:nt.inputOne},Qe.createElement(x.default,{bordered:!1,maxLength:60,placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0",suffix:Qe.createElement("span",null,((sr=(Yn=on==null?void 0:on.hack)==null?void 0:Yn.name)==null?void 0:sr.length)||0,"/",Qe.createElement("span",{className:"c-grey-999"},"60"))})),Qe.createElement(ae.default.Item,{name:["hack","description"],valuePropName:"defaultValue",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63CF\u8FF0\u5185\u5BB9"}]},Qe.createElement(Ae.Z,{placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u63CF\u8FF0\u2026",miniToolbar:!0,id:"moop_cases_content",noStorage:!0,height:200})),Qe.createElement("div",{className:nt.row},Qe.createElement("div",{className:nt.a},Qe.createElement(ae.default.Item,{label:"\u96BE\u6613\u5EA6",name:["hack","difficulty"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u6613\u5EA6"}]},Qe.createElement(ie.default,null,me(re.difficulty)))),Qe.createElement("div",{className:nt.b},Qe.createElement(ae.default.Item,{label:"\u9898\u76EE\u6765\u6E90",name:["hack","source_discipline_ids"]},Qe.createElement(ie.default,{placeholder:"\u9009\u62E9\u9898\u76EE\u6765\u6E90",showSearch:!1,mode:"multiple",showArrow:!0,getPopupContainer:Rt=>Rt.parentNode},kn.map(Rt=>Qe.createElement(ie.default.Option,{key:Rt.id,value:Rt.id},Rt.name)))),Qe.createElement(ue.ZP,{style:{padding:"0 18px"},type:"primary",ghost:!0,onClick:()=>Gt()},(0,tt.Ny)()?"\u6765\u6E90\u7BA1\u7406":"\u65B0\u5EFA\u6765\u6E90"))),Qe.createElement("div",{className:nt.row},Qe.createElement("div",{className:nt.b,style:{width:"100%",marginLeft:0}},Qe.createElement(ae.default.Item,{label:"\u77E5\u8BC6\u70B9",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"}],name:["hack","tag_discipline_ids"]},Qe.createElement(ie.default,{placeholder:"\u9009\u62E9\u77E5\u8BC6\u70B9",showSearch:!1,mode:"multiple",showArrow:!0,getPopupContainer:Rt=>Rt.parentNode},ir.map(Rt=>Qe.createElement(ie.default.Option,{key:Rt.id,value:Rt.id},Rt.name)))),Qe.createElement(ue.ZP,{type:"primary",ghost:!0,onClick:()=>Yt()},(0,tt.Ny)()?"\u77E5\u8BC6\u70B9\u7BA1\u7406":"\u65B0\u5EFA\u77E5\u8BC6\u70B9"))),Qe.createElement("div",{className:nt.field},Qe.createElement(ae.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:nt.inputTwo,extra:Qe.createElement("span",{style:{position:"absolute",left:200,top:11,color:"#333"}},"\u79D2",Qe.createElement("span",{className:"ml5 c-grey-999"},"(\u4EE3\u7801\u6267\u884C\u6240\u5141\u8BB8\u7684\u6700\u5927\u65F6\u957F)"))},Qe.createElement(ne.Z,{style:{width:185},min:1}))),Qe.createElement("div",{className:"tst-case-info"},Qe.createElement("h3",{className:"flex-container",style:{justifyContent:"space-between"}}," ","\u6D4B\u8BD5\u7528\u4F8B\u4E0E\u7CFB\u7EDF\u8BC4\u5206\u89C4\u5219",!rn.is_file&&Qe.createElement(ue.ZP,{style:{height:40},type:"primary",ghost:!0,onClick:Tt},"\u6DFB\u52A0\u6D4B\u8BD5\u7528\u4F8B")),Qe.createElement(ae.default.Item,{name:["hack","test_set_score"]},Qe.createElement(a.ZP.Group,{onChange:fn},Qe.createElement(a.ZP,{value:!0},"\u901A\u8FC7\u5168\u90E8\u6D4B\u8BD5\u96C6",Qe.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")),Qe.createElement(a.ZP,{value:!1},"\u901A\u8FC7\u90E8\u5206\u6D4B\u8BD5\u96C6",Qe.createElement("span",{className:"tip"}," ","\uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u901A\u8FC7\u6D4B\u8BD5\u96C6\u5373\u53EF\u83B7\u5F97\u5BF9\u5E94\u5956\u52B1\uFF09")))),Qe.createElement(y.default,{style:{marginBottom:"5px"},checked:Ut,onChange:zn},"\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"),Qe.createElement(ae.default.Item,{className:nt.testJi,name:["hack","is_file"],label:"\u7528\u4F8B\u7C7B\u578B:"},Qe.createElement(a.ZP.Group,{onChange:Et},Qe.createElement(E.Z,{direction:"horizontal"},Qe.createElement(a.ZP,{value:!1},"\u6587\u672C"),Qe.createElement(a.ZP,{value:!0},"\u6587\u4EF6")))),Qe.createElement(ae.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"}]},Qe.createElement(a.ZP.Group,null,Qe.createElement(a.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),Qe.createElement(a.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),Qe.createElement(a.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),!rn.test_set_score&&Qe.createElement(ae.default.Item,{name:["hack","test_set_average"],label:"\u7CFB\u7EDF\u8BC4\u5206\u5360\u6BD4"},Qe.createElement(a.ZP.Group,{onChange:er},Qe.createElement(a.ZP,{value:!0},"\u5747\u5206\u6BD4\u4F8B"),Qe.createElement(a.ZP,{value:!1},"\u81EA\u5B9A\u4E49\u6BD4\u4F8B"))),rn.is_file&&Qe.createElement("div",{className:nt.upBtn},Qe.createElement(ue.ZP,{ghost:!0,type:"primary",className:"mb20",onClick:()=>Xn(!0)},"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"),Qe.createElement(St.Y2,{disabled:rn==null?void 0:rn.test_set_average,inputChange:Mt,showScore:!rn.test_set_score,data:zt,onRemove:Nt})),!rn.is_file&&Qe.createElement(ae.default.List,{name:"hack_sets"},(Rt,{})=>Qe.createElement(ve.default,{accordion:!0},Rt.map((pn,En)=>Qe.createElement(an,{key:`${pn.key}--${En}`,header:Qe.createElement("a",{className:nt["test-case-name"]},Qe.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",En+1),Bn?null:Qe.createElement(Qe.Fragment,null,Qe.createElement(ae.default.Item,{name:[pn.name,"score"],fieldKey:[pn.fieldKey,"score"],rules:[{required:!0,message:`\u8BF7\u8F93\u5165\u6D4B\u8BD5\u96C6${En+1}\u8BC4\u5206`}]},Qe.createElement(ne.Z,{onClick:Xt,min:0,max:100,disabled:Ht})),Qe.createElement("span",null,"%"))),extra:En>0?Qe.createElement("div",{onClick:Xt},Qe.createElement(b.Z,{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u5B9A\u5220\u9664\u6D4B\u8BD5\u96C6\b"+(En+1),onConfirm:()=>{xt(En)}},Qe.createElement(be.Z,{className:nt["btn-remove-case"]}))):null},Qe.createElement(ae.default.Item,{label:"\u8F93\u5165",name:[pn.name,"input"],fieldKey:[pn.fieldKey,"input"]},Qe.createElement(Pn,null)),Qe.createElement(ae.default.Item,{label:"\u8F93\u51FA",name:[pn.name,"output"],fieldKey:[pn.fieldKey,"output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},Qe.createElement(Pn,null)))))))),Qe.createElement(St.ZP,{rootIdentifier:null,visible:$n,onClose:()=>Xn(!1),onOK:_t}),Qe.createElement($e,{visible:ur,onCancel:()=>{wt(!1),wn()},onOK:()=>{wt(!1),wn()}}))}},72161:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Y2:function(){return Ne},ZP:function(){return De}});var Be=Oe(59301),nt=Oe(54580),x=Oe(8591),Se=Oe(43418),ve=Oe(95237),ae=Oe(5112),te=Oe(3113),le=Oe(24905),de=Oe(6848),se=Oe(92832),ue={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"},oe="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=Oe(47257),ne=Oe.n(ie),a=Oe(99064),y=Oe(1012),E=Oe(955),b=Oe(39298),z=Oe(59301),ee=Object.defineProperty,re=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,pe=(ze,et,Me)=>et in ze?ee(ze,et,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ze[et]=Me,ge=(ze,et)=>{for(var Me in et||(et={}))he.call(et,Me)&&pe(ze,Me,et[Me]);if(me)for(var Me of me(et))fe.call(et,Me)&&pe(ze,Me,et[Me]);return ze},ye=(ze,et)=>re(ze,ce(et)),be=(ze,et,Me)=>new Promise((it,at)=>{var Je=_e=>{try{Ge(Me.next(_e))}catch(ke){at(ke)}},Ye=_e=>{try{Ge(Me.throw(_e))}catch(ke){at(ke)}},Ge=_e=>_e.done?it(_e.value):Promise.resolve(_e.value).then(Je,Ye);Ge((Me=Me.apply(ze,et)).next())});const{Dragger:Ae}=nt.default,Pe=ze=>{const et=ke=>ke&&ke.substring(0,ke.lastIndexOf("."));for(var Me=[...ze],it=0,at=[],Je=0;Je{if(ke.forEach(rt=>{let Ve=rt.name.split(/\.(?=[^\.]+$)/);rt.name=`${Ve[0]}.${Ve[1].toLowerCase()}`}),ke[0].name.includes(".in"))return ke.length===2?ke:[ke[0],{}];if(ke[0].name.includes(".out"))return ke.length===2?ke.reverse():[{},ke[0]]})},Le=({onClose:ze,onOK:et,visible:Me,wrapClassName:it,rootIdentifier:at,multiple:Je=!1,defaultMultipleValue:Ye=!0})=>{const[Ge,_e]=(0,Be.useState)([]),[ke,rt]=(0,Be.useState)({}),[Ve,ut]=(0,Be.useState)(!1),[We,Re]=(0,Be.useState)(!0),[Te,Ke]=(0,Be.useState)(null),Ee=(0,Be.useRef)([]),Ie=(0,Be.useRef)(0),Xe=()=>{ze()};(0,Be.useEffect)(()=>{Ze()},[]),(0,Be.useEffect)(()=>{Me&&(Ee.current=[],Ie.current=0,_e([]),Re(Ye))},[Me]);const Ze=()=>be(void 0,null,function*(){try{Ke(!0)}catch($e){}}),Fe=$e=>$e&&$e.substring(0,$e.lastIndexOf(".")),xe=$e=>{var st,St;const ft=Fe((st=$e[0])==null?void 0:st.name)||Fe((St=$e[1])==null?void 0:St.name),yt=Ge.filter(lt=>Fe(lt.name)!==ft);Ee.current=[...yt],_e([...yt])},Ce=$e=>{if(!We){const pt=new FormData;pt.append("file",$e.file),(0,a.ZP)("/api/attachments/get_file_content.json",{method:"post",body:pt},!0).then(Qe=>{if(Qe.status===0){Ie.current=Ie.current+1;const dt=Ee.current.map(mt=>{var Pt;if(mt.name===$e.name){const jt=ge({},mt);return(Pt=$e==null?void 0:$e.name)!=null&&Pt.includes(".in")?jt.input=Qe==null?void 0:Qe.content:jt.output=Qe==null?void 0:Qe.content,jt}return mt});if(Ee.current=[...dt],_e([...dt]),Ie.current>0&&Ie.current===Ge.length){ut(!1);let mt=Pe(dt);mt=mt.filter(Pt=>{var jt,Dt;return!!((jt=Pt[0])!=null&&jt.name&&((Dt=Pt[1])!=null&&Dt.name))}),mt=mt.map(Pt=>ye(ge(ge({},Pt[0]),Pt[1]),{is_file:!1})),et(mt),ze()}}else ut(!1),ze()});return}if(Te){const pt=new FormData;pt.append("file",$e.file),at===null?pt.append("identifier","testsets"):pt.append("identifier",at),(0,a.ZP)("/api/attachments.json",{method:"post",body:pt},!0).then(Qe=>{if(Qe.filename){Ie.current=Ie.current+1;const dt=Ee.current.map(mt=>{var Pt;if(mt.name===(Qe==null?void 0:Qe.filename)){const jt=ye(ge({},mt),{is_oss:!Te});return(Pt=Qe==null?void 0:Qe.filename)!=null&&Pt.includes(".in")?(jt.in_object_key=Qe==null?void 0:Qe.object,jt.in_object_size=Qe==null?void 0:Qe.size,jt.input=Qe==null?void 0:Qe.filename,jt.in_file=$e):(jt.out_object_key=Qe==null?void 0:Qe.object,jt.out_object_size=Qe==null?void 0:Qe.size,jt.output=Qe==null?void 0:Qe.filename,jt.out_file=$e),jt}return mt});if(Ee.current=[...dt],_e([...dt]),Ie.current>0&&Ie.current===Ge.length){ut(!1);let mt=Pe(dt);mt=mt.filter(Pt=>{var jt,Dt;return!!((jt=Pt[0])!=null&&jt.name&&((Dt=Pt[1])!=null&&Dt.name))}),mt=mt.map(Pt=>ye(ge(ge({},Pt[0]),Pt[1]),{is_file:!0})),et(mt),ze()}}else ut(!1),ze()});return}const st=new(ne())({endpoint:ke.end_point,region:ke.region,accessKeyId:ke.access_key_id,accessKeySecret:ke.access_key_secret,bucket:ke.bucket,stsToken:ke.security_token}),St=$e.name,ft={container_type:"TestSet",file_name:St},yt=(0,y.Z)();let lt=`testsets/${at}/${yt}${St.indexOf(".")>-1?"."+St.split(".").pop():""}`;at===null&&(lt=`testsets/${yt}${St.indexOf(".")>-1?"."+St.split(".").pop():""}`),st.multipartUpload(lt,new Blob([$e.file],{type:$e.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:St+""},url:ke==null?void 0:ke.callback_url,host:ke==null?void 0:ke.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,a.rz)(ft)}}).then(function(pt){if(pt.data.status===0){Ie.current=Ie.current+1;const tt=Ee.current.map(Qe=>{var dt,mt,Pt,jt,Dt,$t,qt,Vt,Jt,en,Pn,In,an,Zn,Fn,Ln,Hn;if(Qe.name===((mt=(dt=pt.data)==null?void 0:dt.data)==null?void 0:mt.file_name)){const tr=ye(ge({},Qe),{is_oss:!Te});return(Dt=(jt=(Pt=pt.data)==null?void 0:Pt.data)==null?void 0:jt.file_name)!=null&&Dt.includes(".in")?(tr.in_object_key=(qt=($t=pt.data)==null?void 0:$t.data)==null?void 0:qt.object,tr.in_object_size=(Jt=(Vt=pt.data)==null?void 0:Vt.data)==null?void 0:Jt.size,tr.input=(Pn=(en=pt.data)==null?void 0:en.data)==null?void 0:Pn.file_name,tr.in_file=$e):(tr.out_object_key=(an=(In=pt.data)==null?void 0:In.data)==null?void 0:an.object,tr.out_object_size=(Fn=(Zn=pt.data)==null?void 0:Zn.data)==null?void 0:Fn.size,tr.output=(Hn=(Ln=pt.data)==null?void 0:Ln.data)==null?void 0:Hn.file_name,tr.out_file=$e),tr}return Qe});if(Ee.current=[...tt],_e([...tt]),Ie.current>0&&Ie.current===Ge.length){ut(!1);let Qe=Pe(tt);Qe=Qe.filter(dt=>{var mt,Pt;return!!((mt=dt[0])!=null&&mt.name&&((Pt=dt[1])!=null&&Pt.name))}),Qe=Qe.map(dt=>ye(ge(ge({},dt[0]),dt[1]),{is_file:!0})),et(Qe),ze()}}})},we=$e=>new Promise((st,St)=>{let ft=0,yt=[];for(let lt=0;lt<$e.length;lt++)$e[lt].file.slice(0,1).arrayBuffer().then(()=>{ft++,ft===$e.length&&(yt.length?(x.ZP.warning(`${yt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),St()):st($e))}).catch(pt=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",pt),ft++,yt.push($e[lt].name),ft===$e.length&&(yt.length?(x.ZP.warning(`${yt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),St()):st($e))})}),je=()=>be(void 0,null,function*(){if(Ge.length===0){x.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield we(Ge),ut(!0),Pe(Ge).some(st=>{var St,ft;return!((St=st[0])!=null&&St.name&&((ft=st[1])!=null&&ft.name))})){Se.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>be(void 0,null,function*(){Ge.map(st=>be(void 0,null,function*(){Ce(st)}))}),onCancel:()=>{ut(!1)}});return}Ge.map(st=>be(void 0,null,function*(){Ce(st)}))}),Ue={name:"file",fileList:Ge,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:$e=>{if(Ge!=null&&Ge.some(St=>St.name===$e.name))return x.ZP.info(`${$e.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if($e.size/1024/1024>100)return x.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test($e.name))return x.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const st={name:$e.name,uid:$e.uid,file:$e,percent:0};return Ge.push(st),Ee.current=[...Ge],_e([...Ge]),!1}},ot=Pe(Ge);return console.log(Ge,ot,"fileList"),z.createElement(Se.default,{open:Me,wrapClassName:it,onOk:je,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:Ve},onCancel:Xe,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:ue.wrap},Ge.length?z.createElement("div",null,z.createElement(ve.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:Je?"visible":"hidden"}},z.createElement("span",{className:ue.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(ae.ZP.Group,{className:`ml20 ${ue.testCaseRadio}`,optionType:"button",value:We,onChange:$e=>Re($e.target.value)},z.createElement(ae.ZP,{value:!1},"\u6587\u672C"),z.createElement(ae.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(nt.default,ge({},Ue),z.createElement(te.ZP,{type:"primary",className:ue.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(Ne,{data:ot,onRemove:xe})):z.createElement("div",{className:`${ue.noData} mb30`},z.createElement(nt.default.Dragger,ye(ge({},Ue),{className:ue.dragger}),z.createElement("img",{src:oe,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),z.createElement("span",{className:ue.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:ue.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))))},Ne=({data:ze=[],onRemove:et,width:Me="auto",showScore:it=!1,disabled:at=!1,inputChange:Je,onEvaluatingChange:Ye,onSelectAll:Ge,checkAll1:_e,checkAll2:ke,checkAll3:rt,checkAll4:Ve,checkAll5:ut,showEvaluatingSetting:We=!1,className:Re="",isProgramHomework:Te=!1})=>{const Ke={value:"",filename:"",dataUrl:""},[Ee,Ie]=(0,Be.useState)(ge({},Ke)),Xe=xe=>{let Ce=document.createElement("a");document.body.appendChild(Ce);let we=URL.createObjectURL(xe.file);Ce.href=we,Ce.download=xe.name,Ce.click(),URL.revokeObjectURL(we),document.body.removeChild(Ce)},Ze=(xe,Ce)=>{(0,E.LR)(xe,Ce)},Fe=(xe,Ce)=>{Se.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:()=>{et(xe,Ce)},onCancel:()=>{}})};return ze.length?z.createElement("div",{className:Re,style:{width:Me}},z.createElement("div",{className:`${Te?ue.headProgram:ue.head}`},We&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(le.default,{checked:_e,onChange:xe=>{Ge(xe.target.checked,"hidden")}}),z.createElement(de.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},z.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{style:{width:Te?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:it?Te?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:it?Te?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),it&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),We&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(le.default,{checked:Ve,onChange:xe=>{Ge(xe.target.checked,"input_visible")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),We&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(le.default,{checked:ke,onChange:xe=>{Ge(xe.target.checked,"is_invisible")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),We&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(le.default,{checked:ut,onChange:xe=>{Ge(xe.target.checked,"actual_output_visible")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),We&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(le.default,{checked:rt,onChange:xe=>{Ge(xe.target.checked,"last_match_rule")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},z.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{className:ue.operation,style:Te?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:ue.listWrapper,style:{boxShadow:Te?"0px 2px 4px 0px #EAEEF4":"unset"}},ze.map((xe,Ce)=>{var we,je,Ue,ot;return z.createElement("div",{key:Ce,className:ue.list,style:Te?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},We&&z.createElement("div",{style:{width:"15%"}},z.createElement(le.default,{checked:!!xe.hidden,onChange:$e=>{Ye($e.target.checked,Ce,"hidden")}})),z.createElement("div",{style:{width:Te?"25%":"15%",paddingLeft:Te?"5px":"0px",paddingRight:Te?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",Ce+1),z.createElement("div",{className:ue.info,style:{width:it?Te?"20%":"15%":"25%"}},z.createElement("span",{title:xe.input||((we=xe[0])==null?void 0:we.name),onClick:()=>be(void 0,null,function*(){let $e;xe.input?xe.input_file_url?$e=xe.input_file_url:$e=xe.in_file:$e=xe[0];let st;typeof $e=="string"?(st=yield fetch($e,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Ie({value:yield st.text(),filename:"",dataUrl:$e})):(st=yield(0,E.db)($e.file),Ie({value:st.text,filename:$e.name,dataUrl:st.link}))})},xe.input||((je=xe[0])==null?void 0:je.name))),z.createElement("div",{className:ue.info,style:{width:it?Te?"20%":"15%":"25%"}},z.createElement("span",{title:xe.output||((Ue=xe[1])==null?void 0:Ue.name),onClick:()=>be(void 0,null,function*(){let $e;xe.input?xe.output_file_url?$e=xe.output_file_url:$e=xe.out_file:$e=xe[1];let st;typeof $e=="string"?(st=yield fetch($e,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Ie({value:yield st.text(),filename:"",dataUrl:$e})):(st=yield(0,E.db)($e.file),Ie({value:st.text,filename:$e.name,dataUrl:st.link}))})},xe.output||((ot=xe[1])==null?void 0:ot.name))),it&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{size:"large",addonAfter:Te?"%":null,disabled:at,style:{width:"80%"},onChange:$e=>Je($e,Ce),value:xe.score}),!Te&&z.createElement("span",null,"\xA0%")),We&&z.createElement("div",{style:{width:"20%"}},z.createElement(le.default,{checked:xe.input_visible||!1,onChange:$e=>{Ye($e.target.checked,Ce,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),We&&z.createElement("div",{style:{width:"20%"}},z.createElement(le.default,{checked:xe.is_invisible||!1,onChange:$e=>{Ye($e.target.checked,Ce,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),We&&z.createElement("div",{style:{width:"20%"}},z.createElement(le.default,{checked:xe.actual_output_visible||!1,onChange:$e=>{Ye($e.target.checked,Ce,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),We&&z.createElement("div",{style:{width:"20%"}},z.createElement(le.default,{checked:xe.last_match_rule||!1,onChange:$e=>{Ye($e.target.checked,Ce,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>Fe(xe,Ce),style:Te?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:ue.del},"\u5220\u9664")))})),z.createElement(b.Z,{close:!0,data:Ee.dataUrl,filename:Ee.filename,type:Ee.dataUrl.length?"txt":"",onClose:()=>Ie(ge({},Ke)),monacoEditor:{value:Ee.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var De=Le},16479:function(Ct,bt,Oe){"use strict";Oe.d(bt,{G:function(){return ve},t:function(){return Se}});var Be=Oe(7062),nt=Oe.n(Be);const x=null;function Se(ae,te){let le=nt().get("__ec");le||(le={}),le[ae]=te,nt().set("__ec",le)}function ve(ae,te){let le=nt().get("__ec");return le?le[ae]===void 0?te:le[ae]:te}},47257:function(Ct){(function(bt){(function(Oe){if(1)Ct.exports=Oe();else var Be})(function(){var Oe,Be,nt;return function(){function x(Se,ve,ae){function te(se,ue){if(!ve[se]){if(!Se[se]){var oe=void 0;if(!ue&&oe)return require(se,!0);if(le)return le(se,!0);var ie=new Error("Cannot find module '"+se+"'");throw ie.code="MODULE_NOT_FOUND",ie}var ne=ve[se]={exports:{}};Se[se][0].call(ne.exports,function(a){var y=Se[se][1][a];return te(y||a)},ne,ne.exports,x,Se,ve,ae)}return ve[se].exports}for(var le=void 0,de=0;de `.concat(b,` `),z&&(ce+="".concat(z,` `)),ce+=` `,re.content=ce,re.mime="xml",re.successStatuses=[200],fe.next=9,this.request(re);case 9:return me=fe.sent,fe.abrupt("return",{res:me.res});case 11:case"end":return fe.stop()}},E,this)}));function y(E,b,z){return a.apply(this,arguments)}return y}(),oe.getBucketLogging=function(){var a=(0,le.default)(te.default.mark(function E(b,z){var ee,re,ce;return te.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return ee=this._bucketRequestParams("GET",b,"logging",z),ee.successStatuses=[200],ee.xmlResponse=!0,he.next=5,this.request(ee);case 5:return re=he.sent,ce=re.data.LoggingEnabled,he.abrupt("return",{enable:!!ce,prefix:ce&&ce.TargetPrefix||null,res:re.res});case 8:case"end":return he.stop()}},E,this)}));function y(E,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketLogging=function(){var a=(0,le.default)(te.default.mark(function E(b,z){var ee,re;return te.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"logging",z),ee.successStatuses=[204,200],me.next=4,this.request(ee);case 4:return re=me.sent,me.abrupt("return",{res:re.res});case 6:case"end":return me.stop()}},E,this)}));function y(E,b){return a.apply(this,arguments)}return y}(),oe.putBucketCORS=function(){var a=(0,le.default)(te.default.mark(function E(b,z,ee){var re,ce,me,he,fe,pe,ge,ye,be,Ae;return te.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:for(z=z||[],de(z.length,"rules is required"),z.forEach(function(Ne){de(Ne.allowedOrigin,"allowedOrigin is required"),de(Ne.allowedMethod,"allowedMethod is required")}),re=this._bucketRequestParams("PUT",b,"cors",ee),ce=` `,me=function(De){ce+="".concat(De,"")},he=function(De){ce+="".concat(De,"")},fe=function(De){ce+="".concat(De,"")},pe=function(De){ce+="".concat(De,"")},ge=0,ye=z.length;ge",ne(be.allowedOrigin).forEach(me),ne(be.allowedMethod).forEach(he),ne(be.allowedHeader).forEach(fe),ne(be.exposeHeader).forEach(pe),be.maxAgeSeconds&&(ce+="".concat(be.maxAgeSeconds,"")),ce+="";return ce+="",re.content=ce,re.mime="xml",re.successStatuses=[200],Le.next=16,this.request(re);case 16:return Ae=Le.sent,Le.abrupt("return",{res:Ae.res});case 18:case"end":return Le.stop()}},E,this)}));function y(E,b,z){return a.apply(this,arguments)}return y}(),oe.getBucketCORS=function(){var a=(0,le.default)(te.default.mark(function E(b,z){var ee,re,ce,me;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ee=this._bucketRequestParams("GET",b,"cors",z),ee.successStatuses=[200],ee.xmlResponse=!0,fe.next=5,this.request(ee);case 5:return re=fe.sent,ce=[],re.data&&re.data.CORSRule&&(me=re.data.CORSRule,ie(me)||(me=[me]),me.forEach(function(pe){var ge={};Object.keys(pe).forEach(function(ye){ge[ye.slice(0,1).toLowerCase()+ye.slice(1,ye.length)]=pe[ye]}),ce.push(ge)})),fe.abrupt("return",{rules:ce,res:re.res});case 9:case"end":return fe.stop()}},E,this)}));function y(E,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketCORS=function(){var a=(0,le.default)(te.default.mark(function E(b,z){var ee,re;return te.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"cors",z),ee.successStatuses=[204],me.next=4,this.request(ee);case 4:return re=me.sent,me.abrupt("return",{res:re.res});case 6:case"end":return me.stop()}},E,this)}));function y(E,b){return a.apply(this,arguments)}return y}(),oe.putBucketReferer=function(){var a=(0,le.default)(te.default.mark(function E(b,z,ee,re){var ce,me,he,fe;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:if(ce=this._bucketRequestParams("PUT",b,"referer",re),me=` `,me+=" ".concat(z?"true":"false",` `),ee&&ee.length>0){for(me+=` `,he=0;he".concat(ee[he],` `);me+=` `}else me+=` `;return me+="",ce.content=me,ce.mime="xml",ce.successStatuses=[200],ge.next=10,this.request(ce);case 10:return fe=ge.sent,ge.abrupt("return",{res:fe.res});case 12:case"end":return ge.stop()}},E,this)}));function y(E,b,z,ee){return a.apply(this,arguments)}return y}(),oe.getBucketReferer=function(){var a=(0,le.default)(te.default.mark(function E(b,z){var ee,re,ce;return te.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return ee=this._bucketRequestParams("GET",b,"referer",z),ee.successStatuses=[200],ee.xmlResponse=!0,he.next=5,this.request(ee);case 5:return re=he.sent,ce=re.data.RefererList.Referer||null,ce&&(ie(ce)||(ce=[ce])),he.abrupt("return",{allowEmpty:re.data.AllowEmptyReferer==="true",referers:ce,res:re.res});case 9:case"end":return he.stop()}},E,this)}));function y(E,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketReferer=function(){var a=(0,le.default)(te.default.mark(function E(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()}},E,this)}));function y(E,b){return a.apply(this,arguments)}return y}(),oe._bucketRequestParams=function(y,E,b,z){return{method:y,bucket:E,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(x,Se,ve){(function(ae,te){(function(){"use strict";var le=x("@babel/runtime/helpers/interopRequireDefault"),de=le(x("@babel/runtime/regenerator")),se=le(x("@babel/runtime/helpers/asyncToGenerator"));x("core-js/modules/es.function.name.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.split.js"),x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.array.includes.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.symbol.js"),x("core-js/modules/es.symbol.description.js"),x("core-js/modules/es.array.slice.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.regexp.to-string.js");var ue=x("debug")("ali-oss"),oe=x("xml2js"),ie=x("agentkeepalive"),ne=x("merge-descriptors"),a=x("platform"),y=x("utility"),E=x("urllib"),b=x("./version"),z=x("bowser"),ee=x("../common/signUtils"),re=x("../common/client/initOptions"),ce=x("../common/utils/createRequest"),me=ce.createRequest,he=x("../common/utils/encoder"),fe=he.encoder,pe=x("../common/client/getReqUrl"),ge=pe.getReqUrl,ye=x("../common/utils/setSTSToken"),be=ye.setSTSToken,Ae=x("../common/utils/retry"),Pe=Ae.retry,Le=x("../common/utils/isFunction"),Ne=Le.isFunction,De=new ie;function ze(){var Ye=a.name,Ge=a.version;Ye&&Ye.toLowerCase&&Ye.toLowerCase()==="ie"&&Ge.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function et(){return location&&location.protocol==="https:"}function Me(Ye,Ge){if(ze(),!(this instanceof Me))return new Me(Ye,Ge);Ye&&Ye.inited?this.options=Ye:this.options=Me.initOptions(Ye),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=E,this.agent=this.options.agent||De),this.ctx=Ge,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}Se.exports=Me,Me.initOptions=function(Ge){Ge.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:et(),useFetch:!1},Ge);return re(_e)};var it=Me.prototype;it.debug=ue,ne(it,x("./object")),ne(it,x("./bucket")),ne(it,x("../common/bucket/getBucketWebsite")),ne(it,x("../common/bucket/putBucketWebsite")),ne(it,x("../common/bucket/deleteBucketWebsite")),ne(it,x("../common/bucket/getBucketLifecycle")),ne(it,x("../common/bucket/putBucketLifecycle")),ne(it,x("../common/bucket/deleteBucketLifecycle")),ne(it,x("../common/bucket/putBucketVersioning")),ne(it,x("../common/bucket/getBucketVersioning")),ne(it,x("../common/bucket/getBucketInventory")),ne(it,x("../common/bucket/deleteBucketInventory")),ne(it,x("../common/bucket/listBucketInventory")),ne(it,x("../common/bucket/putBucketInventory")),ne(it,x("../common/bucket/abortBucketWorm")),ne(it,x("../common/bucket/completeBucketWorm")),ne(it,x("../common/bucket/extendBucketWorm")),ne(it,x("../common/bucket/getBucketWorm")),ne(it,x("../common/bucket/initiateBucketWorm")),ne(it,x("./managed-upload")),ne(it,x("../common/multipart-copy")),ne(it,x("../common/multipart")),ne(it,x("../common/parallel")),it.signature=function(Ge){return this.debug("authorization stringToSign: %s",Ge,"info"),ee.computeSignature(this.options.accessKeySecret,Ge,this.options.headerEncoding)},it._getReqUrl=ge,it.authorization=function(Ge,_e,ke,rt){var Ve=ee.buildCanonicalString(Ge.toUpperCase(),_e,{headers:rt,parameters:ke});return ee.authorization(this.options.accessKeyId,this.options.accessKeySecret,Ve,this.options.headerEncoding)},it.request=function(){var Ye=(0,se.default)(de.default.mark(function Ge(_e){var ke=this;return de.default.wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:if(!this.options.retryMax){Ve.next=6;break}return Ve.next=3,Pe(at.bind(this),this.options.retryMax,{errorHandler:function(We){var Re=function(Ke){if(_e.stream)return!1;var Ee=[-1,-2].includes(Ke.status),Ie=ke.options.requestErrorRetryHandle||function(){return!0};return Ee&&Ie(Ke)};return!!Re(We)}})(_e);case 3:return Ve.abrupt("return",Ve.sent);case 6:return Ve.abrupt("return",at.call(this,_e));case 7:case"end":return Ve.stop()}},Ge,this)}));return function(Ge){return Ye.apply(this,arguments)}}();function at(Ye){return Je.apply(this,arguments)}function Je(){return Je=(0,se.default)(de.default.mark(function Ye(Ge){var _e,ke,rt,Ve,ut,We;return de.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(!(this.options.stsToken&&Ne(this.options.refreshSTSToken))){Te.next=3;break}return Te.next=3,be.call(this);case 3:return _e=me.call(this,Ge),this.options.useFetch||(_e.params.mode="disable-fetch"),Ve=!!Ge.stream,Te.prev=6,Te.next=9,this.urllib.request(_e.url,_e.params);case 9:ke=Te.sent,this.debug("response %s %s, got %s, headers: %j",Ge.method,_e.url,ke.status,ke.headers,"info"),Te.next=16;break;case 13:Te.prev=13,Te.t0=Te.catch(6),rt=Te.t0;case 16:if(!(ke&&Ge.successStatuses&&Ge.successStatuses.indexOf(ke.status)===-1)){Te.next=28;break}return Te.next=19,this.requestError(ke);case 19:if(ut=Te.sent,!(ut.code==="RequestTimeTooSkewed"&&!Ve)){Te.next=25;break}return this.options.amendTimeSkewed=+new Date(ut.serverTime)-new Date,Te.next=24,this.request(Ge);case 24:return Te.abrupt("return",Te.sent);case 25:ut.params=Ge,Te.next=32;break;case 28:if(!rt){Te.next=32;break}return Te.next=31,this.requestError(rt);case 31:ut=Te.sent;case 32:if(!ut){Te.next=34;break}throw ut;case 34:if(!Ge.xmlResponse){Te.next=39;break}return Te.next=37,this.parseXML(ke.data);case 37:We=Te.sent,ke.data=We;case 39:return Te.abrupt("return",ke);case 40:case"end":return Te.stop()}},Ye,this,[[6,13]])})),Je.apply(this,arguments)}it._getResource=function(Ge){var _e="/";return Ge.bucket&&(_e+="".concat(Ge.bucket,"/")),Ge.object&&(_e+=fe(Ge.object,this.options.headerEncoding)),_e},it._escape=function(Ge){return y.encodeURIComponent(Ge).replace(/%2F/g,"/")},it._getUserAgent=function(){var Ge=te&&te.browser?"js":"nodejs",_e="aliyun-sdk-".concat(Ge,"/").concat(b.version),ke=a.description;return!ke&&te&&(ke="Node.js ".concat(te.version.slice(1)," on ").concat(te.platform," ").concat(te.arch)),this._checkUserAgent("".concat(_e," ").concat(ke))},it._checkUserAgent=function(Ge){var _e=Ge.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return _e},it.checkBrowserAndVersion=function(Ge,_e){return z.name===Ge&&z.version.split(".")[0]===_e},it.parseXML=function(Ge){return new Promise(function(_e,ke){ae.isBuffer(Ge)&&(Ge=Ge.toString()),oe.parseString(Ge,{explicitRoot:!1,explicitArray:!1},function(rt,Ve){rt?ke(rt):_e(Ve)})})},it.requestError=function(){var Ye=(0,se.default)(de.default.mark(function _e(ke){var rt,Ve,ut,We;return de.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(rt=null,!(!ke.data||!ke.data.length)){Te.next=5;break}ke.status===-1||ke.status===-2?(rt=new Error(ke.message),rt.name=ke.name,rt.status=ke.status,rt.code=ke.name):(ke.status===404?(rt=new Error("Object not exists"),rt.name="NoSuchKeyError",rt.status=404,rt.code="NoSuchKey"):ke.status===412?(rt=new Error("Pre condition failed"),rt.name="PreconditionFailedError",rt.status=412,rt.code="PreconditionFailed"):(rt=new Error("Unknow error, status: ".concat(ke.status)),rt.name="UnknownError",rt.status=ke.status),rt.requestId=ke.headers["x-oss-request-id"],rt.host=""),Te.next=32;break;case 5:return Ve=String(ke.data),this.debug("request response error data: %s",Ve,"error"),Te.prev=7,Te.next=10,this.parseXML(Ve);case 10:if(Te.t0=Te.sent,Te.t0){Te.next=13;break}Te.t0={};case 13:ut=Te.t0,Te.next=23;break;case 16:return Te.prev=16,Te.t1=Te.catch(7),this.debug(Ve,"error"),Te.t1.message+=` raw xml: `.concat(Ve),Te.t1.status=ke.status,Te.t1.requestId=ke.headers["x-oss-request-id"],Te.abrupt("return",Te.t1);case 23:We=ut.Message||"unknow request error, status: ".concat(ke.status),ut.Condition&&(We+=" (condition: ".concat(ut.Condition,")")),rt=new Error(We),rt.name=ut.Code?"".concat(ut.Code,"Error"):"UnknownError",rt.status=ke.status,rt.code=ut.Code,rt.requestId=ut.RequestId,rt.hostId=ut.HostId,rt.serverTime=ut.ServerTime;case 32:return this.debug("generate error %j",rt,"error"),Te.abrupt("return",rt);case 34:case"end":return Te.stop()}},_e,this,[[7,16]])}));function Ge(_e){return Ye.apply(this,arguments)}return Ge}()}).call(this)}).call(this,{isBuffer:x("../../node_modules/is-buffer/index.js")},x("_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(x,Se,ve){(function(ae){(function(){"use strict";var te=x("@babel/runtime/helpers/interopRequireDefault"),le=te(x("@babel/runtime/regenerator"));x("core-js/modules/es.function.name.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.array.from.js"),x("core-js/modules/es.string.iterator.js"),x("core-js/modules/es.array.map.js"),x("core-js/modules/es.array.filter.js"),x("core-js/modules/es.array.find.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.regexp.to-string.js"),x("core-js/modules/es.array.slice.js"),x("core-js/modules/es.array.iterator.js"),x("core-js/modules/es.array-buffer.slice.js"),x("core-js/modules/es.typed-array.uint8-array.js"),x("core-js/modules/es.typed-array.copy-within.js"),x("core-js/modules/es.typed-array.every.js"),x("core-js/modules/es.typed-array.fill.js"),x("core-js/modules/es.typed-array.filter.js"),x("core-js/modules/es.typed-array.find.js"),x("core-js/modules/es.typed-array.find-index.js"),x("core-js/modules/es.typed-array.for-each.js"),x("core-js/modules/es.typed-array.includes.js"),x("core-js/modules/es.typed-array.index-of.js"),x("core-js/modules/es.typed-array.iterator.js"),x("core-js/modules/es.typed-array.join.js"),x("core-js/modules/es.typed-array.last-index-of.js"),x("core-js/modules/es.typed-array.map.js"),x("core-js/modules/es.typed-array.reduce.js"),x("core-js/modules/es.typed-array.reduce-right.js"),x("core-js/modules/es.typed-array.reverse.js"),x("core-js/modules/es.typed-array.set.js"),x("core-js/modules/es.typed-array.slice.js"),x("core-js/modules/es.typed-array.some.js"),x("core-js/modules/es.typed-array.sort.js"),x("core-js/modules/es.typed-array.subarray.js"),x("core-js/modules/es.typed-array.to-locale-string.js"),x("core-js/modules/es.typed-array.to-string.js");var de=te(x("@babel/runtime/helpers/asyncToGenerator")),se=x("util"),ue=x("path"),oe=x("mime"),ie=x("copy-to"),ne=x("../common/utils/isBlob"),a=ne.isBlob,y=x("../common/utils/isFile"),E=y.isFile,b=x("../common/utils/isBuffer"),z=b.isBuffer,ee=ve;ee.multipartUpload=function(){var fe=(0,de.default)(le.default.mark(function ge(ye,be){var Ae,Pe,Le,Ne,De,ze,et,Me,it,at=arguments;return le.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(Ae=at.length>2&&at[2]!==void 0?at[2]:{},this.resetCancelFlag(),Ae.disabledMD5=Ae.disabledMD5===void 0?!0:!!Ae.disabledMD5,!(Ae.checkpoint&&Ae.checkpoint.uploadId)){Ye.next=8;break}return be&&E(be)&&(Ae.checkpoint.file=be),Ye.next=7,this._resumeMultipart(Ae.checkpoint,Ae);case 7:return Ye.abrupt("return",Ye.sent);case 8:return Pe=102400,Ae.mime||(E(be)?Ae.mime=oe.getType(ue.extname(be.name)):a(be)?Ae.mime=be.type:z(be)?Ae.mime="":Ae.mime=oe.getType(ue.extname(be))),Ae.headers=Ae.headers||{},this._convertMetaToHeaders(Ae.meta,Ae.headers),Ye.next=14,this._getFileSize(be);case 14:if(Le=Ye.sent,!(Le0&&ie(ze).to(Me),it=this._divideParts(Le,Ne),at=it.length,Je=!1,Ye=function(Ee,Ie){return new Promise(function(){var Xe=(0,de.default)(le.default.mark(function Ze(Fe,xe){var Ce,we,je,Ue,ot;return le.default.wrap(function(st){for(;;)switch(st.prev=st.next){case 0:if(st.prev=0,Ee.isCancel()){st.next=29;break}return Ce=it[Ie-1],st.next=5,Ee._createBuffer(Pe,Ce.start,Ce.end);case 5:return we=st.sent,je={content:we,size:Ce.end-Ce.start},st.prev=7,st.next=10,Ee._uploadPart(et,De,Ie,je,be);case 10:Ue=st.sent,st.next=18;break;case 13:if(st.prev=13,st.t0=st.catch(7),st.t0.status!==404){st.next=17;break}throw Ee._makeAbortEvent();case 17:throw st.t0;case 18:if(!(!Ee.isCancel()&&!Je)){st.next=26;break}if(ye.doneParts.push({number:Ie,etag:Ue.res.headers.etag}),!be.progress){st.next=23;break}return st.next=23,be.progress(ze.length/(at+1),ye,Ue.res);case 23:Fe({number:Ie,etag:Ue.res.headers.etag}),st.next=27;break;case 26:Fe();case 27:st.next=30;break;case 29:Fe();case 30:st.next=41;break;case 32:st.prev=32,st.t1=st.catch(0),ot=new Error,ot.name=st.t1.name,ot.message=st.t1.message,ot.stack=st.t1.stack,ot.partNum=Ie,ie(st.t1).to(ot),xe(ot);case 41:case"end":return st.stop()}},Ze,null,[[0,32],[7,13]])}));return function(Ze,Fe){return Xe.apply(this,arguments)}}())},Ge=Array.from(new Array(at),function(Ke,Ee){return Ee+1}),_e=Me.map(function(Ke){return Ke.number}),ke=Ge.filter(function(Ke){return _e.indexOf(Ke)<0}),rt=5,Ve=be.parallel||rt,Te.next=17,this._parallel(ke,Ve,function(Ke){return new Promise(function(Ee,Ie){Ye(Ae,Ke).then(function(Xe){Xe&&Me.push(Xe),Ee()}).catch(function(Xe){Ie(Xe)})})});case 17:if(ut=Te.sent,Je=!0,We=ut.find(function(Ke){return Ke.name==="abort"}),!We){Te.next=22;break}throw We;case 22:if(!this.isCancel()){Te.next=25;break}throw Ye=null,this._makeCancelEvent();case 25:if(!(ut&&ut.length>0)){Te.next=28;break}throw ut[0].message="Failed to upload some parts with error: ".concat(ut[0].toString()," part_num: ").concat(ut[0].partNum),ut[0];case 28:return Te.next=30,this.completeMultipartUpload(et,De,Me,be);case 30:return Te.abrupt("return",Te.sent);case 31:case"end":return Te.stop()}},ge,this)}));function pe(ge,ye){return fe.apply(this,arguments)}return pe}(),ee._getFileSize=function(){var fe=(0,de.default)(le.default.mark(function ge(ye){return le.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:if(!z(ye)){Ae.next=4;break}return Ae.abrupt("return",ye.length);case 4:if(!(a(ye)||E(ye))){Ae.next=6;break}return Ae.abrupt("return",ye.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Ae.stop()}},ge)}));function pe(ge){return fe.apply(this,arguments)}return pe}();var re=x("stream"),ce=re.Readable;function me(fe,pe){if(!(this instanceof me))return new me(fe,pe);ce.call(this,pe),this.file=fe,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}se.inherits(me,ce),me.prototype.readFileAndPush=function(pe){if(this.fileBuffer)for(var ge=!0;ge&&this.fileBuffer&&this.startthis.fileBuffer.length?this.fileBuffer.length:be,this.start=be,ge=this.push(this.fileBuffer.slice(ye,be))}},me.prototype._read=function(pe){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 ge=16*1024;pe=pe||ge;var ye=this;this.reader.onload=function(Ae){ye.fileBuffer=ae.from(new Uint8Array(Ae.target.result)),ye.file=null,ye.readFileAndPush(pe)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(pe)};function he(fe){return fe.arrayBuffer?fe.arrayBuffer():new Promise(function(pe,ge){var ye=new FileReader;ye.onload=function(be){pe(be.target.result)},ye.onerror=function(be){ge(be)},ye.readAsArrayBuffer(fe)})}ee._createBuffer=function(){var fe=(0,de.default)(le.default.mark(function ge(ye,be,Ae){var Pe,Le;return le.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:if(!(a(ye)||E(ye))){De.next=8;break}return Pe=ye.slice(be,Ae),De.next=4,he(Pe);case 4:return Le=De.sent,De.abrupt("return",ae.from(Le));case 8:if(!z(ye)){De.next=12;break}return De.abrupt("return",ye.subarray(be,Ae));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return De.stop()}},ge)}));function pe(ge,ye,be){return fe.apply(this,arguments)}return pe}(),ee._getPartSize=function(pe,ge){var ye=1e4,be=1*1024*1024;ge||(ge=be);var Ae=Math.ceil(pe/ye);return ge1&&ze[1]!==void 0?ze[1]:{},be=ge["continuation-token"]||ge.continuationToken,be&&(ye.subres=Object.assign({"continuation-token":be},ye.subres)),Ae=this._objectRequestParams("GET","",ye),Ae.query=Object.assign({"list-type":2},ge),delete Ae.query["continuation-token"],delete Ae.query.continuationToken,Ae.xmlResponse=!0,Ae.successStatuses=[200],Me.next=11,this.request(Ae);case 11:return Pe=Me.sent,Le=Pe.data.Contents||[],Ne=this,Le&&(Array.isArray(Le)||(Le=[Le]),Le=Le.map(function(it){var at=null;return it.Owner&&(at={id:it.Owner.ID,displayName:it.Owner.DisplayName}),{name:it.Key,url:Ne._objectUrl(it.Key),lastModified:it.LastModified,etag:it.ETag,type:it.Type,size:Number(it.Size),storageClass:it.StorageClass,owner:at}})),De=Pe.data.CommonPrefixes||null,De&&(Array.isArray(De)||(De=[De]),De=De.map(function(it){return it.Prefix})),Me.abrupt("return",{res:Pe.res,objects:Le,prefixes:De,isTruncated:Pe.data.IsTruncated==="true",keyCount:+Pe.data.KeyCount,continuationToken:Pe.data.ContinuationToken||null,nextContinuationToken:Pe.data.NextContinuationToken||null});case 18:case"end":return Me.stop()}},pe,this)}));function fe(pe){return he.apply(this,arguments)}return fe}(),me.restore=function(){var he=(0,le.default)(te.default.mark(function pe(ge){var ye,be,Ae,Pe,Le=arguments;return te.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return ye=Le.length>1&&Le[1]!==void 0?Le[1]:{type:"Archive"},ye=ye||{},ye.subres=Object.assign({restore:""},ye.subres),ye.versionId&&(ye.subres.versionId=ye.versionId),be=this._objectRequestParams("POST",ge,ye),ye.type==="ColdArchive"&&(Ae={RestoreRequest:{Days:ye.Days?ye.Days:2,JobParameters:{Tier:ye.JobParameters?ye.JobParameters:"Standard"}}},be.content=ce(Ae,{headers:!0}),be.mime="xml"),be.successStatuses=[202],De.next=9,this.request(be);case 9:return Pe=De.sent,De.abrupt("return",{res:Pe.res});case 11:case"end":return De.stop()}},pe,this)}));function fe(pe){return he.apply(this,arguments)}return fe}(),me._objectUrl=function(fe){return this._getReqUrl({bucket:this.options.bucket,object:fe})},me._objectRequestParams=function(fe,pe,ge){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");ge=ge||{},pe=this._objectName(pe);var ye={object:pe,bucket:this.options.bucket,method:fe,subres:ge&&ge.subres,timeout:ge&&ge.timeout,ctx:ge&&ge.ctx};return ge.headers&&(ye.headers={},se(ge.headers).to(ye.headers)),ye},me._objectName=function(fe){return fe.replace(/^\/+/,"")},me._convertMetaToHeaders=function(fe,pe){fe&&Object.keys(fe).forEach(function(ge){pe["x-oss-meta-".concat(ge)]=fe[ge]})},me._deleteFileSafe=function(fe){var pe=this;return new Promise(function(ge){de.exists(fe,function(ye){ye?de.unlink(fe,function(be){be&&pe.debug("unlink %j error: %s",fe,be,"error"),ge()}):ge()})})}},{"../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(x,Se,ve){"use strict";ve.version="6.18.1"},{}],7:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.abortBucketWorm=void 0;var de=x("../utils/checkBucketName");function se(oe,ie){return ue.apply(this,arguments)}function ue(){return ue=(0,le.default)(te.default.mark(function oe(ie,ne){var a,y;return te.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return de.checkBucketName(ie),a=this._bucketRequestParams("DELETE",ie,"worm",ne),b.next=4,this.request(a);case 4:return y=b.sent,b.abrupt("return",{res:y.res,status:y.status});case 6:case"end":return b.stop()}},oe,this)})),ue.apply(this,arguments)}ve.abortBucketWorm=se},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.completeBucketWorm=void 0;var de=x("../utils/checkBucketName");function se(oe,ie,ne){return ue.apply(this,arguments)}function ue(){return ue=(0,le.default)(te.default.mark(function oe(ie,ne,a){var y,E;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return de.checkBucketName(ie),y=this._bucketRequestParams("POST",ie,{wormId:ne},a),z.next=4,this.request(y);case 4:return E=z.sent,z.abrupt("return",{res:E.res,status:E.status});case 6:case"end":return z.stop()}},oe,this)})),ue.apply(this,arguments)}ve.completeBucketWorm=se},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.deleteBucketInventory=void 0;var de=x("../utils/checkBucketName");function se(oe,ie){return ue.apply(this,arguments)}function ue(){return ue=(0,le.default)(te.default.mark(function oe(ie,ne){var a,y,E,b,z=arguments;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return a=z.length>2&&z[2]!==void 0?z[2]:{},y=Object.assign({inventory:"",inventoryId:ne},a.subres),de.checkBucketName(ie),E=this._bucketRequestParams("DELETE",ie,y,a),E.successStatuses=[204],re.next=7,this.request(E);case 7:return b=re.sent,re.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return re.stop()}},oe,this)})),ue.apply(this,arguments)}ve.deleteBucketInventory=se},{"../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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("../utils/checkBucketName"),se=de.checkBucketName,ue=ve;ue.deleteBucketLifecycle=function(){var oe=(0,le.default)(te.default.mark(function ne(a,y){var E,b;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return se(a),E=this._bucketRequestParams("DELETE",a,"lifecycle",y),E.successStatuses=[204],ee.next=5,this.request(E);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 oe.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("../utils/checkBucketName"),se=de.checkBucketName,ue=ve;ue.deleteBucketWebsite=function(){var oe=(0,le.default)(te.default.mark(function ne(a,y){var E,b;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return se(a),E=this._bucketRequestParams("DELETE",a,"website",y),E.successStatuses=[204],ee.next=5,this.request(E);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 oe.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.extendBucketWorm=void 0;var de=x("../utils/checkBucketName"),se=x("../utils/obj2xml");function ue(ie,ne,a,y){return oe.apply(this,arguments)}function oe(){return oe=(0,le.default)(te.default.mark(function ie(ne,a,y,E){var b,z,ee;return te.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return de.checkBucketName(ne),b=this._bucketRequestParams("POST",ne,{wormExtend:"",wormId:a},E),z={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=se.obj2xml(z,{headers:!0}),b.successStatuses=[200],ce.next=8,this.request(b);case 8:return ee=ce.sent,ce.abrupt("return",{res:ee.res,status:ee.status});case 10:case"end":return ce.stop()}},ie,this)})),oe.apply(this,arguments)}ve.extendBucketWorm=ue},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.getBucketInventory=void 0;var de=x("../utils/checkBucketName"),se=x("../utils/formatInventoryConfig");function ue(ie,ne){return oe.apply(this,arguments)}function oe(){return oe=(0,le.default)(te.default.mark(function ie(ne,a){var y,E,b,z,ee=arguments;return te.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return y=ee.length>2&&ee[2]!==void 0?ee[2]:{},E=Object.assign({inventory:"",inventoryId:a},y.subres),de.checkBucketName(ne),b=this._bucketRequestParams("GET",ne,E,y),b.successStatuses=[200],b.xmlResponse=!0,ce.next=8,this.request(b);case 8:return z=ce.sent,ce.abrupt("return",{status:z.status,res:z.res,inventory:se.formatInventoryConfig(z.data)});case 10:case"end":return ce.stop()}},ie,this)})),oe.apply(this,arguments)}ve.getBucketInventory=ue},{"../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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.map.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("../utils/checkBucketName"),se=de.checkBucketName,ue=x("../utils/isArray"),oe=ue.isArray,ie=x("../utils/formatObjKey"),ne=ie.formatObjKey,a=ve;a.getBucketLifecycle=function(){var y=(0,le.default)(te.default.mark(function b(z,ee){var re,ce,me;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return se(z),re=this._bucketRequestParams("GET",z,"lifecycle",ee),re.successStatuses=[200],re.xmlResponse=!0,fe.next=6,this.request(re);case 6:return ce=fe.sent,me=ce.data.Rule||null,me&&(oe(me)||(me=[me]),me=me.map(function(pe){return pe.ID&&(pe.id=pe.ID,delete pe.ID),pe.Tag&&!oe(pe.Tag)&&(pe.Tag=[pe.Tag]),ne(pe,"firstLowerCase")})),fe.abrupt("return",{rules:me,res:ce.res});case 10:case"end":return fe.stop()}},b,this)}));function E(b,z){return y.apply(this,arguments)}return E}()},{"../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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("../utils/checkBucketName"),se=de.checkBucketName,ue=ve;ue.getBucketVersioning=function(){var oe=(0,le.default)(te.default.mark(function ne(a,y){var E,b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return se(a),E=this._bucketRequestParams("GET",a,"versioning",y),E.xmlResponse=!0,E.successStatuses=[200],re.next=6,this.request(E);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 oe.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("../utils/checkBucketName"),se=de.checkBucketName,ue=x("../utils/isObject"),oe=ue.isObject,ie=ve;ie.getBucketWebsite=function(){var ne=(0,le.default)(te.default.mark(function y(E,b){var z,ee,re;return te.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return se(E),z=this._bucketRequestParams("GET",E,"website",b),z.successStatuses=[200],z.xmlResponse=!0,me.next=6,this.request(z);case 6:return ee=me.sent,re=[],ee.data.RoutingRules&&ee.data.RoutingRules.RoutingRule&&(oe(ee.data.RoutingRules.RoutingRule)?re=[ee.data.RoutingRules.RoutingRule]:re=ee.data.RoutingRules.RoutingRule),me.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 me.stop()}},y,this)}));function a(y,E){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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.getBucketWorm=void 0;var de=x("../utils/checkBucketName"),se=x("../utils/dataFix");function ue(ie,ne){return oe.apply(this,arguments)}function oe(){return oe=(0,le.default)(te.default.mark(function ie(ne,a){var y,E;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return de.checkBucketName(ne),y=this._bucketRequestParams("GET",ne,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,z.next=6,this.request(y);case 6:return E=z.sent,se.dataFix(E.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),z.abrupt("return",Object.assign(Object.assign({},E.data),{res:E.res,status:E.status}));case 9:case"end":return z.stop()}},ie,this)})),oe.apply(this,arguments)}ve.getBucketWorm=ue},{"../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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.initiateBucketWorm=void 0;var de=x("../utils/obj2xml"),se=x("../utils/checkBucketName");function ue(ie,ne,a){return oe.apply(this,arguments)}function oe(){return oe=(0,le.default)(te.default.mark(function ie(ne,a,y){var E,b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return se.checkBucketName(ne),E=this._bucketRequestParams("POST",ne,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},E.mime="xml",E.content=de.obj2xml(b,{headers:!0}),E.successStatuses=[200],re.next=8,this.request(E);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)})),oe.apply(this,arguments)}ve.initiateBucketWorm=ue},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.listBucketInventory=void 0;var de=x("../utils/checkBucketName"),se=x("../utils/formatInventoryConfig");function ue(ie){return oe.apply(this,arguments)}function oe(){return oe=(0,le.default)(te.default.mark(function ie(ne){var a,y,E,b,z,ee,re,ce,me=arguments;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return a=me.length>1&&me[1]!==void 0?me[1]:{},y=a.continuationToken,E=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),de.checkBucketName(ne),b=this._bucketRequestParams("GET",ne,E,a),b.successStatuses=[200],b.xmlResponse=!0,fe.next=9,this.request(b);case 9:return z=fe.sent,ee=z.data,re=z.res,ce=z.status,fe.abrupt("return",{isTruncated:ee.IsTruncated==="true",nextContinuationToken:ee.NextContinuationToken,inventoryList:se.formatInventoryConfig(ee.InventoryConfiguration,!0),status:ce,res:re});case 12:case"end":return fe.stop()}},ie,this)})),oe.apply(this,arguments)}ve.listBucketInventory=ue},{"../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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.array.concat.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.putBucketInventory=void 0;var de=x("../utils/checkBucketName"),se=x("../utils/obj2xml");function ue(ie,ne){return oe.apply(this,arguments)}function oe(){return oe=(0,le.default)(te.default.mark(function ie(ne,a){var y,E,b,z,ee,re,ce,me,he,fe,pe,ge=arguments;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return y=ge.length>2&&ge[2]!==void 0?ge[2]:{},E=Object.assign({inventory:"",inventoryId:a.id},y.subres),de.checkBucketName(ne),b=a.OSSBucketDestination,z=a.optionalFields,ee=a.includedObjectVersions,re="acs:oss:::",ce="acs:ram::".concat(b.accountId,":role/"),me={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(ce).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)||[]}}},he=se.obj2xml(me,{headers:!0,firstUpperCase:!0}),fe=this._bucketRequestParams("PUT",ne,E,y),fe.successStatuses=[200],fe.mime="xml",fe.content=he,be.next=14,this.request(fe);case 14:return pe=be.sent,be.abrupt("return",{status:pe.status,res:pe.res});case 16:case"end":return be.stop()}},ie,this)})),oe.apply(this,arguments)}ve.putBucketInventory=ue},{"../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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.array.includes.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("../utils/checkBucketName"),se=de.checkBucketName,ue=x("../utils/isArray"),oe=ue.isArray,ie=x("../utils/deepCopy"),ne=ie.deepCopy,a=x("../utils/isObject"),y=a.isObject,E=x("../utils/obj2xml"),b=E.obj2xml,z=x("../utils/checkObjectTag"),ee=z.checkObjectTag,re=x("../utils/getStrBytesCount"),ce=re.getStrBytesCount,me=ve;me.putBucketLifecycle=function(){var ye=(0,le.default)(te.default.mark(function Ae(Pe,Le,Ne){var De,ze,et,Me,it;return te.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(se(Pe),oe(Le)){Je.next=3;break}throw new Error("rules must be Array");case 3:return De=this._bucketRequestParams("PUT",Pe,"lifecycle",Ne),ze=[],et={LifecycleConfiguration:{Rule:ze}},Le.forEach(function(Ye){he(Ye),ge(Ye),Ye.id&&(Ye.ID=Ye.id,delete Ye.id),ze.push(Ye)}),Me=b(et,{headers:!0,firstUpperCase:!0}),De.content=Me,De.mime="xml",De.successStatuses=[200],Je.next=13,this.request(De);case 13:return it=Je.sent,Je.abrupt("return",{res:it.res});case 15:case"end":return Je.stop()}},Ae,this)}));function be(Ae,Pe,Le){return ye.apply(this,arguments)}return be}();function he(ye){ye.days&&(ye.expiration={days:ye.days}),ye.date&&(ye.expiration={createdBeforeDate:ye.date})}function fe(ye,be){var Ae=ye.days,Pe=ye.createdBeforeDate;if(!Ae&&!Pe)throw new Error("".concat(be," must includes days or createdBeforeDate"));if(Ae&&!/^[1-9][0-9]*$/.test(Ae))throw new Error("days must be a positive integer");if(Pe&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(Pe))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function pe(ye){if(!oe(ye)&&!y(ye))throw new Error("tag must be Object or Array");ye=y(ye)?[ye]:ye;var be={},Ae=ne(ye);Ae.forEach(function(Pe){be[Pe.key]=Pe.value}),ee(be)}function ge(ye){if(ye.id&&ce(ye.id)>255)throw new Error("ID is composed of 255 bytes at most");if(ye.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(ye.status))throw new Error("Status must be Enabled or Disabled");if(ye.transition){if(!["IA","Archive"].includes(ye.transition.storageClass))throw new Error("StorageClass must be IA or Archive");fe(ye.transition,"Transition")}if(ye.expiration){if(!ye.expiration.expiredObjectDeleteMarker)fe(ye.expiration,"Expiration");else if(ye.expiration.days||ye.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(ye.abortMultipartUpload&&fe(ye.abortMultipartUpload,"AbortMultipartUpload"),!ye.expiration&&!ye.abortMultipartUpload&&!ye.transition&&!ye.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(ye.tag){if(ye.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");pe(ye.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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.includes.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("../utils/checkBucketName"),se=de.checkBucketName,ue=x("../utils/obj2xml"),oe=ue.obj2xml,ie=ve;ie.putBucketVersioning=function(){var ne=(0,le.default)(te.default.mark(function y(E,b){var z,ee,re,ce,me=arguments;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:if(z=me.length>2&&me[2]!==void 0?me[2]:{},se(E),["Enabled","Suspended"].includes(b)){fe.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return ee=this._bucketRequestParams("PUT",E,"versioning",z),re={VersioningConfiguration:{Status:b}},ee.mime="xml",ee.content=oe(re,{headers:!0}),fe.next=10,this.request(ee);case 10:return ce=fe.sent,fe.abrupt("return",{res:ce.res,status:ce.status});case 12:case"end":return fe.stop()}},y,this)}));function a(y,E){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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("../utils/checkBucketName"),se=de.checkBucketName,ue=x("../utils/obj2xml"),oe=ue.obj2xml,ie=x("../utils/isArray"),ne=ie.isArray,a=ve;a.putBucketWebsite=function(){var y=(0,le.default)(te.default.mark(function b(z){var ee,re,ce,me,he,fe,pe,ge=arguments;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:if(ee=ge.length>1&&ge[1]!==void 0?ge[1]:{},re=ge.length>2?ge[2]:void 0,se(z),ce=this._bucketRequestParams("PUT",z,"website",re),me={Suffix:ee.index||"index.html"},he={IndexDocument:me},fe={WebsiteConfiguration:he},ee.supportSubDir&&(me.SupportSubDir=ee.supportSubDir),ee.type&&(me.Type=ee.type),ee.error&&(he.ErrorDocument={Key:ee.error}),ee.routingRules===void 0){be.next=14;break}if(ne(ee.routingRules)){be.next=13;break}throw new Error("RoutingRules must be Array");case 13:he.RoutingRules={RoutingRule:ee.routingRules};case 14:return fe=oe(fe),ce.content=fe,ce.mime="xml",ce.successStatuses=[200],be.next=20,this.request(ce);case 20:return pe=be.sent,be.abrupt("return",{res:pe.res});case 22:case"end":return be.stop()}},b,this)}));function E(b){return y.apply(this,arguments)}return E}()},{"../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(x,Se,ve){(function(ae){(function(){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.regexp.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),ve.encodeCallback=function(le,de){if(le.headers=le.headers||{},!Object.prototype.hasOwnProperty.call(le.headers,"x-oss-callback")&&de.callback){var se={callbackUrl:encodeURI(de.callback.url),callbackBody:de.callback.body};de.callback.host&&(se.callbackHost=de.callback.host),de.callback.contentType&&(se.callbackBodyType=de.callback.contentType);var ue=ae.from(JSON.stringify(se)).toString("base64");if(le.headers["x-oss-callback"]=ue,de.callback.customValue){var oe={};Object.keys(de.callback.customValue).forEach(function(ie){oe["x:".concat(ie)]=de.callback.customValue[ie].toString()}),le.headers["x-oss-callback-var"]=ae.from(JSON.stringify(oe)).toString("base64")}}}}).call(this)}).call(this,x("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(x,Se,ve){"use strict";x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js");var ae=function(ne){return ne&&ne.__esModule?ne:{default:ne}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.getReqUrl=void 0;var te=ae(x("copy-to")),le=ae(x("url")),de=ae(x("merge-descriptors")),se=ae(x("is-type-of")),ue=x("../utils/isIP"),oe=x("../utils/checkConfigValid");function ie(ne){var a={},y=this.options.cname;oe.checkConfigValid(this.options.endpoint,"endpoint"),te.default(this.options.endpoint,!1).to(a),ne.bucket&&!y&&!ue.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(ne.bucket,".").concat(a.host));var E="/";ne.bucket&&this.options.sldEnable&&(E+="".concat(ne.bucket,"/")),ne.object&&(E+=this._escape(ne.object).replace(/\+/g,"%2B")),a.pathname=E;var b={};if(ne.query&&de.default(b,ne.query),ne.subres){var z={};se.default.string(ne.subres)?z[ne.subres]="":se.default.array(ne.subres)?ne.subres.forEach(function(ee){z[ee]=""}):z=ne.subres,de.default(b,z)}return a.query=b,le.default.format(a)}ve.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(x,Se,ve){"use strict";x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.string.trim.js");var ae=x("humanize-ms"),te=x("url"),le=x("../utils/checkBucketName"),de=le.checkBucketName,se=x("../utils/setRegion"),ue=se.setRegion,oe=x("../utils/checkConfigValid"),ie=oe.checkConfigValid;function ne(a,y){ie(a,"endpoint");var E=te.parse(a);if(E.protocol||(E=te.parse("http".concat(y?"s":"","://").concat(a))),E.protocol!=="http:"&&E.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return E}Se.exports=function(a){if(!a||!a.accessKeyId||!a.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");a.stsToken&&!a.refreshSTSToken&&!a.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),a.bucket&&de(a.bucket);var y=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},a);if(y.accessKeyId=y.accessKeyId.trim(),y.accessKeySecret=y.accessKeySecret.trim(),y.timeout&&(y.timeout=ae(y.timeout)),y.endpoint)y.endpoint=ne(y.endpoint,y.secure);else if(y.region)y.endpoint=ue(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(x,Se,ve){"use strict";var ae=x("merge-descriptors"),te=ve;ae(te,x("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.concat.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("../utils/checkBucketName"),se=de.checkBucketName,ue=x("querystring"),oe=x("js-base64"),ie=oe.Base64.encode,ne=ve;ne.processObjectSave=function(){var y=(0,le.default)(te.default.mark(function b(z,ee,re,ce){var me,he,fe,pe;return te.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return a(z,"sourceObject"),a(ee,"targetObject"),a(re,"process"),ee=this._objectName(ee),ce&&se(ce),me=this._objectRequestParams("POST",z,{subres:"x-oss-process"}),he=ce?",b_".concat(ie(ce)):"",ee=ie(ee),fe={"x-oss-process":"".concat(re,"|sys/saveas,o_").concat(ee).concat(he)},me.content=ue.stringify(fe),ye.next=12,this.request(me);case 12:return pe=ye.sent,ye.abrupt("return",{res:pe.res,status:pe.res.status});case 14:case"end":return ye.stop()}},b,this)}));function E(b,z,ee,re){return y.apply(this,arguments)}return E}();function a(y,E){if(!y)throw new Error("".concat(E," is required"));if(typeof y!="string")throw new Error("".concat(E," 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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.function.name.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.array.from.js"),x("core-js/modules/es.string.iterator.js"),x("core-js/modules/es.array.map.js"),x("core-js/modules/es.array.filter.js"),x("core-js/modules/es.array.find.js"),x("core-js/modules/es.regexp.to-string.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("debug")("ali-oss:multipart-copy"),se=x("copy-to"),ue=ve;ue.uploadPartCopy=function(){var oe=(0,le.default)(te.default.mark(function ne(a,y,E,b,z){var ee,re,ce,me,he,fe=arguments;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ee=fe.length>5&&fe[5]!==void 0?fe[5]:{},ee.headers=ee.headers||{},re=ee.versionId||ee.subres&&ee.subres.versionId||null,re?ce="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey),"?versionId=").concat(re):ce="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey)),ee.headers["x-oss-copy-source"]=ce,b&&(ee.headers["x-oss-copy-source-range"]="bytes=".concat(b)),ee.subres={partNumber:E,uploadId:y},me=this._objectRequestParams("PUT",a,ee),me.mime=ee.mime,me.successStatuses=[200],ge.next=12,this.request(me);case 12:return he=ge.sent,ge.abrupt("return",{name:a,etag:he.res.headers.etag,res:he.res});case 14:case"end":return ge.stop()}},ne,this)}));function ie(ne,a,y,E,b){return oe.apply(this,arguments)}return ie}(),ue.multipartUploadCopy=function(){var oe=(0,le.default)(te.default.mark(function ne(a,y){var E,b,z,ee,re,ce,me,he,fe,pe,ge,ye,be=arguments;return te.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return E=be.length>2&&be[2]!==void 0?be[2]:{},this.resetCancelFlag(),b=E.versionId,z=b===void 0?null:b,ee={versionId:z},Pe.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,ee);case 6:if(re=Pe.sent,ce=re.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||ce,!(E.checkpoint&&E.checkpoint.uploadId)){Pe.next=14;break}return Pe.next=13,this._resumeMultipartCopy(E.checkpoint,y,E);case 13:return Pe.abrupt("return",Pe.sent);case 14:if(me=102400,he=y.endOffset-y.startOffset,!(he0)){Je.next=40;break}throw it=et[0],it.message="Failed to copy some parts with error: ".concat(it.toString()," part_num: ").concat(it.partNum),it;case 40:return Je.next=42,this.completeMultipartUpload(fe,me,he,E);case 42:return Je.abrupt("return",Je.sent);case 43:case"end":return Je.stop()}},ne,this)}));function ie(ne,a,y){return oe.apply(this,arguments)}return ie}(),ue._divideMultipartCopyParts=function(ie,ne,a){for(var y=Math.ceil(ie/ne),E=[],b=0;b `,ye=0;ye `,ge+="".concat(be.number,` `),ge+="".concat(be.etag,` `),ge+=` `;return ge+="",fe=fe||{},Ae={},Ae=ie(fe,function(et){if(a(et))return null}),Ae.subres={uploadId:me},Ae.headers=E(Ae.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Pe=this._objectRequestParams("POST",ce,Ae),ue.encodeCallback(Pe,Ae),Pe.mime="xml",Pe.content=ge,Pe.headers&&Pe.headers["x-oss-callback"]||(Pe.xmlResponse=!0),Pe.successStatuses=[200],ze.next=17,this.request(Pe);case 17:if(Le=ze.sent,!fe.progress){ze.next=21;break}return ze.next=21,fe.progress(1,null,Le.res);case 21:return Ne={res:Le.res,bucket:Pe.bucket,name:ce,etag:Le.res.headers.etag},Pe.headers&&Pe.headers["x-oss-callback"]&&(Ne.data=JSON.parse(Le.data.toString())),ze.abrupt("return",Ne);case 24:case"end":return ze.stop()}},re,this)}));function ee(re,ce,me,he){return z.apply(this,arguments)}return ee}(),b._uploadPart=function(){var z=(0,de.default)(le.default.mark(function re(ce,me,he,fe,pe){var ge,ye,be,Ae;return le.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return pe=pe||{},ge={},se(pe).to(ge),ge.headers=ge.headers||{},ge.headers["Content-Length"]=fe.size,ge.headers=E(ge.headers,["x-oss-server-side-encryption"]),ge.subres={partNumber:he,uploadId:me},ye=this._objectRequestParams("PUT",ce,ge),ye.mime=ge.mime,be=ae&&ae.browser,be?ye.content=fe.content:ye.stream=fe.stream,ye.successStatuses=[200],ye.disabledMD5=pe.disabledMD5,Le.next=15,this.request(ye);case 15:if(Ae=Le.sent,Ae.res.headers.etag){Le.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 fe.stream&&(fe.stream=null,ye.stream=null),Le.abrupt("return",{name:ce,etag:Ae.res.headers.etag,res:Ae.res});case 20:case"end":return Le.stop()}},re,this)}));function ee(re,ce,me,he,fe){return z.apply(this,arguments)}return ee}()}).call(this)}).call(this,x("_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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("url"),se=x("utility"),ue=x("copy-to"),oe=x("../../common/signUtils"),ie=x("../utils/isIP"),ne=ie.isIP,a=x("../utils/setSTSToken"),y=a.setSTSToken,E=x("../utils/isFunction"),b=E.isFunction,z=ve;z.asyncSignatureUrl=function(){var ee=(0,le.default)(te.default.mark(function ce(me,he){var fe,pe,ge,ye,be;return te.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(!ne(this.options.endpoint.hostname)){Pe.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(he=he||{},me=this._objectName(me),he.method=he.method||"GET",fe=se.timestamp()+(he.expires||1800),pe={bucket:this.options.bucket,object:me},ge=this._getResource(pe),!(this.options.stsToken&&b(this.options.refreshSTSToken))){Pe.next=11;break}return Pe.next=11,y.call(this);case 11:return this.options.stsToken&&(he["security-token"]=this.options.stsToken),ye=oe._signatureForURL(this.options.accessKeySecret,he,ge,fe),be=de.parse(this._getReqUrl(pe)),be.query={OSSAccessKeyId:this.options.accessKeyId,Expires:fe,Signature:ye.Signature},ue(ye.subResource).to(be.query),Pe.abrupt("return",be.format());case 17:case"end":return Pe.stop()}},ce,this)}));function re(ce,me){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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.array.find.js"),x("core-js/modules/es.array.includes.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js");var le=ae(x("@babel/runtime/helpers/typeof")),de=ae(x("@babel/runtime/helpers/asyncToGenerator")),se=x("../utils/checkBucketName"),ue=se.checkBucketName,oe=ve,ie=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];oe.copy=function(){var ne=(0,de.default)(te.default.mark(function y(E,b,z,ee){var re,ce,me;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return(0,le.default)(z)==="object"&&(ee=z),ee=ee||{},ee.headers=ee.headers||{},Object.keys(ee.headers).forEach(function(pe){ee.headers["x-oss-copy-source-".concat(pe.toLowerCase())]=ee.headers[pe]}),(ee.meta||Object.keys(ee.headers).find(function(pe){return ie.includes(pe.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",E,ee),re.xmlResponse=!0,re.successStatuses=[200,304],fe.next=14,this.request(re);case 14:return ce=fe.sent,me=ce.data,me&&(me={etag:me.ETag,lastModified:me.LastModified}),fe.abrupt("return",{data:me,res:ce.res});case 18:case"end":return fe.stop()}},y,this)}));function a(y,E,b,z){return ne.apply(this,arguments)}return a}(),oe._getSourceName=function(a,y){return typeof y=="string"?a=this._objectName(a):a[0]!=="/"?y=this.options.bucket:(y=a.replace(/\/(.+?)(\/.*)/,"$1"),a=a.replace(/(\/.+?\/)(.*)/,"$2")),ue(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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=ve;de.delete=function(){var se=(0,le.default)(te.default.mark(function oe(ie){var ne,a,y,E=arguments;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ne=E.length>1&&E[1]!==void 0?E[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()}},oe,this)}));function ue(oe){return se.apply(this,arguments)}return ue}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("utility"),se=x("../utils/obj2xml"),ue=se.obj2xml,oe=ve;oe.deleteMulti=function(){var ie=(0,le.default)(te.default.mark(function a(y){var E,b,z,ee,re,ce,me,he,fe,pe,ge,ye,be,Ae=arguments;return te.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(E=Ae.length>1&&Ae[1]!==void 0?Ae[1]:{},b=[],!(!y||!y.length)){Le.next=4;break}throw new Error("names is required");case 4:for(z=0;z1&&E[1]!==void 0?E[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()}},oe,this)}));function ue(oe){return se.apply(this,arguments)}return ue}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(x,Se,ve){"use strict";x("core-js/modules/es.array.concat.js");var ae=x("url"),te=x("../utils/isIP"),le=te.isIP,de=ve;de.generateObjectUrl=function(ue,oe){if(le(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(oe)oe[oe.length-1]!=="/"&&(oe+="/");else{oe=this.options.endpoint.format();var ie=ae.parse(oe),ne=this.options.bucket;ie.hostname="".concat(ne,".").concat(ie.hostname),ie.host="".concat(ne,".").concat(ie.host),oe=ie.format()}return oe+this._escape(this._objectName(ue))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(x,Se,ve){(function(ae){(function(){"use strict";var te=x("@babel/runtime/helpers/interopRequireDefault"),le=te(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var de=te(x("@babel/runtime/helpers/asyncToGenerator")),se=x("fs"),ue=x("is-type-of"),oe=ve;oe.get=function(){var ie=(0,de.default)(le.default.mark(function a(y,E){var b,z,ee,re,ce,me,he,fe,pe=arguments;return le.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return b=pe.length>2&&pe[2]!==void 0?pe[2]:{},z=null,ee=!1,ue.writableStream(E)?z=E:ue.string(E)?(z=se.createWriteStream(E),ee=!0):b=E,b=b||{},re=ae&&ae.browser,ce=b.responseCacheControl===null?"":"no-cache",me=re&&ce?{"response-cache-control":ce}:{},b.subres=Object.assign(me,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),ye.prev=11,fe=this._objectRequestParams("GET",y,b),fe.writeStream=z,fe.successStatuses=[200,206,304],ye.next=17,this.request(fe);case 17:he=ye.sent,ee&&z.destroy(),ye.next=28;break;case 21:if(ye.prev=21,ye.t0=ye.catch(11),!ee){ye.next=27;break}return z.destroy(),ye.next=27,this._deleteFileSafe(E);case 27:throw ye.t0;case 28:return ye.abrupt("return",{res:he.res,content:he.data});case 29:case"end":return ye.stop()}},a,this,[[11,21]])}));function ne(a,y){return ie.apply(this,arguments)}return ne}()}).call(this)}).call(this,x("_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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=ve;de.getACL=function(){var se=(0,le.default)(te.default.mark(function oe(ie){var ne,a,y,E=arguments;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ne=E.length>1&&E[1]!==void 0?E[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()}},oe,this)}));function ue(oe){return se.apply(this,arguments)}return ue}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.array.map.js"),x("core-js/modules/es.number.constructor.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=ve,se=x("../utils/isObject"),ue=se.isObject,oe=x("../utils/isArray"),ie=oe.isArray;de.getBucketVersions=ne,de.listObjectVersions=ne;function ne(){return a.apply(this,arguments)}function a(){return a=(0,le.default)(te.default.mark(function b(){var z,ee,re,ce,me,he,fe,pe,ge=arguments;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:if(z=ge.length>0&&ge[0]!==void 0?ge[0]:{},ee=ge.length>1&&ge[1]!==void 0?ge[1]:{},!(z.versionIdMarker&&z.keyMarker===void 0)){be.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return ee.subres=Object.assign({versions:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),re=this._objectRequestParams("GET","",ee),re.xmlResponse=!0,re.successStatuses=[200],re.query=E(z),be.next=12,this.request(re);case 12:return ce=be.sent,me=ce.data.Version||[],he=ce.data.DeleteMarker||[],fe=this,me&&(Array.isArray(me)||(me=[me]),me=me.map(function(Ae){return{name:Ae.Key,url:fe._objectUrl(Ae.Key),lastModified:Ae.LastModified,isLatest:Ae.IsLatest==="true",versionId:Ae.VersionId,etag:Ae.ETag,type:Ae.Type,size:Number(Ae.Size),storageClass:Ae.StorageClass,owner:{id:Ae.Owner.ID,displayName:Ae.Owner.DisplayName}}})),he&&(ie(he)||(he=[he]),he=he.map(function(Ae){return{name:Ae.Key,lastModified:Ae.LastModified,versionId:Ae.VersionId,owner:{id:Ae.Owner.ID,displayName:Ae.Owner.DisplayName}}})),pe=ce.data.CommonPrefixes||null,pe&&(ie(pe)||(pe=[pe]),pe=pe.map(function(Ae){return Ae.Prefix})),be.abrupt("return",{res:ce.res,objects:me,deleteMarker:he,prefixes:pe,nextMarker:ce.data.NextKeyMarker||null,NextVersionIdMarker:ce.data.NextVersionIdMarker||null,nextKeyMarker:ce.data.NextKeyMarker||null,nextVersionIdMarker:ce.data.NextVersionIdMarker||null,isTruncated:ce.data.IsTruncated==="true"});case 21:case"end":return be.stop()}},b,this)})),a.apply(this,arguments)}function y(b){return b.replace(/([A-Z])/g,"-$1").toLowerCase()}function E(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z={};return ue(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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=ve;de.getObjectMeta=function(){var se=(0,le.default)(te.default.mark(function oe(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()}},oe,this)}));function ue(oe,ie){return se.apply(this,arguments)}return ue}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=ve,se=x("../utils/isObject"),ue=se.isObject;de.getObjectTagging=function(){var oe=(0,le.default)(te.default.mark(function ne(a){var y,E,b,z,ee,re,ce=arguments;return te.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return y=ce.length>1&&ce[1]!==void 0?ce[1]:{},y.subres=Object.assign({tagging:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),a=this._objectName(a),E=this._objectRequestParams("GET",a,y),E.successStatuses=[200],he.next=8,this.request(E);case 8:return b=he.sent,he.next=11,this.parseXML(b.data);case 11:return z=he.sent,ee=z.TagSet.Tag,ee=ee&&ue(ee)?[ee]:ee||[],re={},ee.forEach(function(fe){re[fe.Key]=fe.Value}),he.abrupt("return",{status:b.status,res:b.res,tag:re});case 17:case"end":return he.stop()}},ne,this)}));function ie(ne){return oe.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(x,Se,ve){"use strict";var ae=x("../utils/isIP"),te=ae.isIP,le=ve;le.getObjectUrl=function(se,ue){if(te(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return ue?ue[ue.length-1]!=="/"&&(ue+="/"):ue=this.options.endpoint.format(),ue+this._escape(this._objectName(se))}},{"../utils/isIP":69}],43:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=ve;de.getSymlink=function(){var se=(0,le.default)(te.default.mark(function oe(ie){var ne,a,y,E,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,E=y.res.headers["x-oss-symlink-target"],ee.abrupt("return",{targetName:decodeURIComponent(E),res:y.res});case 11:case"end":return ee.stop()}},oe,this)}));function ue(oe){return se.apply(this,arguments)}return ue}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("../utils/checkEnv"),se=de.checkEnv,ue=ve;ue.head=function(){var oe=(0,le.default)(te.default.mark(function ne(a){var y,E,b,z,ee=arguments;return te.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return y=ee.length>1&&ee[1]!==void 0?ee[1]:{},se("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),E=this._objectRequestParams("HEAD",a,y),E.successStatuses=[200,304],ce.next=8,this.request(E);case 8:return b=ce.sent,z={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(me){me.indexOf("x-oss-meta-")===0&&(z.meta||(z.meta={}),z.meta[me.substring(11)]=b.headers[me])}),ce.abrupt("return",z);case 12:case"end":return ce.stop()}},ne,this)}));function ie(ne){return oe.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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=ve;de.putACL=function(){var se=(0,le.default)(te.default.mark(function oe(ie,ne,a){var y,E;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 E=z.sent,z.abrupt("return",{res:E.res});case 12:case"end":return z.stop()}},oe,this)}));function ue(oe,ie,ne){return se.apply(this,arguments)}return ue}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.array.map.js"),x("core-js/modules/es.object.keys.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("../utils/obj2xml"),se=de.obj2xml,ue=x("../utils/checkObjectTag"),oe=ue.checkObjectTag,ie=ve;ie.putObjectTagging=function(){var ne=(0,le.default)(te.default.mark(function y(E,b){var z,ee,re,ce,me=arguments;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return z=me.length>2&&me[2]!==void 0?me[2]:{},oe(b),z.subres=Object.assign({tagging:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),E=this._objectName(E),ee=this._objectRequestParams("PUT",E,z),ee.successStatuses=[200],b=Object.keys(b).map(function(pe){return{Key:pe,Value:b[pe]}}),re={Tagging:{TagSet:{Tag:b}}},ee.mime="xml",ee.content=se(re),fe.next=13,this.request(ee);case 13:return ce=fe.sent,fe.abrupt("return",{res:ce.res,status:ce.status});case 15:case"end":return fe.stop()}},y,this)}));function a(y,E){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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=ve;de.putSymlink=function(){var se=(0,le.default)(te.default.mark(function oe(ie,ne,a){var y,E;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 E=z.sent,z.abrupt("return",{res:E.res});case 15:case"end":return z.stop()}},oe,this)}));function ue(oe,ie,ne){return se.apply(this,arguments)}return ue}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(x,Se,ve){"use strict";var ae=x("url"),te=x("utility"),le=x("copy-to"),de=x("../../common/signUtils"),se=x("../utils/isIP"),ue=se.isIP,oe=ve;oe.signatureUrl=function(ne,a){if(ue(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),E={bucket:this.options.bucket,object:ne},b=this._getResource(E);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var z=de._signatureForURL(this.options.accessKeySecret,a,b,y),ee=ae.parse(this._getReqUrl(E));return ee.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:z.Signature},le(z.subResource).to(ee.query),ee.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.iterator.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.string.iterator.js"),x("core-js/modules/web.dom-collections.iterator.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.function.name.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("./utils/isArray"),se=de.isArray,ue=ve;ue._parallelNode=function(){var oe=(0,le.default)(te.default.mark(function ne(a,y,E,b){var z,ee,re,ce,me,he,fe,pe;return te.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:z=this,ee=[],re=[],ce=a.length/y,me=a.length%y,he=me===0?ce:(a.length-me)/y+1,fe=1,pe=0;case 8:if(!(pe0){ce=!0,me<=0&&E(b);return}me+=1,pe(ye.value,z(fe))}he=!1}ge()})},ue.cancel=function(ie){this.options.cancelFlag=!0,se(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)},ue.isCancel=function(){return this.options.cancelFlag},ue.resetCancelFlag=function(){this.options.cancelFlag=!1},ue._stop=function(){this.options.cancelFlag=!0},ue._makeCancelEvent=function(){var ie={status:0,name:"cancel"};return ie},ue._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(x,Se,ve){(function(ae){(function(){"use strict";x("core-js/modules/es.string.trim.js"),x("core-js/modules/es.array.sort.js"),x("core-js/modules/es.array.join.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.regexp.to-string.js");var te=x("./../../shims/crypto/crypto.js"),le=x("is-type-of"),de=x("./utils/lowercaseKeyHeader"),se=de.lowercaseKeyHeader;ve.buildCanonicalizedResource=function(oe,ie){var ne="".concat(oe),a="?";if(le.string(ie)&&ie.trim()!=="")ne+=a+ie;else if(le.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",oe);return a.update(ae.from(ie,ne)).digest("base64")},ve.authorization=function(oe,ie,ne,a){return"OSS ".concat(oe,":").concat(this.computeSignature(ie,ne,a))},ve._signatureForURL=function(oe){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,E={},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(fe){var pe="response-".concat(fe.toLowerCase());z[pe]=ie.response[fe]}),Object.keys(ie).forEach(function(fe){var pe=fe.toLowerCase(),ge=ie[fe];pe.indexOf("x-oss-")===0?E[pe]=ge:(pe.indexOf("content-md5")===0||pe.indexOf("content-type")===0)&&(E[fe]=ge)}),Object.prototype.hasOwnProperty.call(ie,"security-token")&&(z["security-token"]=ie["security-token"]),Object.prototype.hasOwnProperty.call(ie,"callback")){var ce={callbackUrl:encodeURI(ie.callback.url),callbackBody:ie.callback.body};if(ie.callback.host&&(ce.callbackHost=ie.callback.host),ie.callback.contentType&&(ce.callbackBodyType=ie.callback.contentType),z.callback=ae.from(JSON.stringify(ce)).toString("base64"),ie.callback.customValue){var me={};Object.keys(ie.callback.customValue).forEach(function(fe){me["x:".concat(fe)]=ie.callback.customValue[fe]}),z["callback-var"]=ae.from(JSON.stringify(me)).toString("base64")}}var he=this.buildCanonicalString(ie.method,ne,{headers:E,parameters:z},a.toString());return{Signature:this.computeSignature(oe,he,y),subResource:z}}}).call(this)}).call(this,x("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(x,Se,ve){"use strict";x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkBucketName=void 0,ve.checkBucketName=function(ae){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,le=te?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!le.test(ae))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(x,Se,ve){"use strict";x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkConfigValid=void 0;var ae={endpoint:te,region:/^[a-zA-Z0-9\-_]+$/};function te(le){return typeof le=="string"?/^[a-zA-Z0-9._:/-]+$/.test(le):le.host?/^[a-zA-Z0-9._:/-]+$/.test(le.host):!1}ve.checkConfigValid=function(le,de){if(ae[de]){var se=!0;if(ae[de]instanceof Function?se=ae[de](le):se=ae[de].test(le),!se)throw new Error("The ".concat(de," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(x,Se,ve){(function(ae){(function(){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkEnv=void 0;function te(le){ae.browser&&console.warn(le)}ve.checkEnv=te}).call(this)}).call(this,x("_process"))},{_process:467}],54:[function(x,Se,ve){"use strict";x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.object.entries.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkObjectTag=void 0;var ae=x("./checkValid"),te=ae.checkValid,le=x("./isObject"),de=le.isObject,se=[{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 (/)"}],ue={key:[].concat(se,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(se,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function oe(ie){if(!de(ie))throw new Error("tag must be Object");var ne=Object.entries(ie);if(ne.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];ne.forEach(function(y){y.forEach(function(E,b){te(E,ue[a[b]])})})}ve.checkObjectTag=oe},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(x,Se,ve){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkValid=void 0;function ae(te,le){le.forEach(function(de){if(de.validator)de.validator(te);else if(de.pattern&&!de.pattern.test(te))throw new Error(de.msg)})}ve.checkValid=ae},{"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(x,Se,ve){(function(ae){(function(){"use strict";x("core-js/modules/es.array.includes.js"),x("core-js/modules/es.string.includes.js"),x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.array.concat.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.createRequest=void 0;var te=x("./../../../shims/crypto/crypto.js"),le=x("debug")("ali-oss"),de=x("mime"),se=x("dateformat"),ue=x("copy-to"),oe=x("path"),ie=x("./encoder"),ne=ie.encoder,a=x("./isIP"),y=a.isIP,E=x("./setRegion"),b=E.setRegion,z=x("../client/getReqUrl"),ee=z.getReqUrl,re=x("./isDingTalk"),ce=re.isDingTalk;function me(pe,ge){return pe[ge]||pe[ge.toLowerCase()]}function he(pe,ge){delete pe[ge],delete pe[ge.toLowerCase()]}function fe(pe){var ge=new Date;this.options.amendTimeSkewed&&(ge=+new Date+this.options.amendTimeSkewed);var ye={"x-oss-date":se(ge,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(ye["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(ye["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(ye,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(ye["x-oss-security-token"]=this.options.stsToken),ue(pe.headers).to(ye),me(ye,"Content-Type")||(pe.mime&&pe.mime.indexOf("/")>0?ye["Content-Type"]=pe.mime:ce()?ye["Content-Type"]="application/octet-stream":ye["Content-Type"]=de.getType(pe.mime||oe.extname(pe.object||""))),me(ye,"Content-Type")||he(ye,"Content-Type"),pe.content&&(pe.disabledMD5||(!pe.headers||!pe.headers["Content-MD5"]?ye["Content-MD5"]=te.createHash("md5").update(ae.from(pe.content,"utf8")).digest("base64"):ye["Content-MD5"]=pe.headers["Content-MD5"]),ye["Content-Length"]||(ye["Content-Length"]=pe.content.length));var be=Object.prototype.hasOwnProperty;for(var Ae in ye)ye[Ae]&&be.call(ye,Ae)&&(ye[Ae]=ne(String(ye[Ae]),this.options.headerEncoding));var Pe=this._getResource(pe);if(ye.authorization=this.authorization(pe.method,Pe,pe.subres,ye,this.options.headerEncoding),y(this.options.endpoint.hostname)){var Le=this.options,Ne=Le.region,De=Le.internal,ze=Le.secure,et=b(Ne,De,ze);ye.host="".concat(pe.bucket,".").concat(et.host)}var Me=ee.bind(this)(pe);le("request %s %s, with headers %j, !!stream: %s",pe.method,Me,ye,!!pe.stream);var it=pe.timeout||this.options.timeout,at={method:pe.method,content:pe.content,stream:pe.stream,headers:ye,timeout:it,writeStream:pe.writeStream,customResponse:pe.customResponse,ctx:pe.ctx||this.ctx};return this.agent&&(at.agent=this.agent),this.httpsAgent&&(at.httpsAgent=this.httpsAgent),at.enableProxy=!!this.options.enableProxy,at.proxy=this.options.proxy?this.options.proxy:null,{url:Me,params:at}}ve.createRequest=fe}).call(this)}).call(this,x("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(x,Se,ve){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.entries.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/es.array.includes.js"),x("core-js/modules/es.object.keys.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.dataFix=void 0;var ae=x("./isObject"),te=["true","TRUE","1",1],le=["false","FALSE","0",0];function de(oe,ie,ne){if(ae.isObject(oe)){var a=ie.remove,y=a===void 0?[]:a,E=ie.rename,b=E===void 0?{}:E,z=ie.camel,ee=z===void 0?[]:z,re=ie.bool,ce=re===void 0?[]:re,me=ie.lowerFirst,he=me===void 0?!1:me;return y.forEach(function(fe){return delete oe[fe]}),Object.entries(b).forEach(function(fe){oe[fe[0]]&&(oe[fe[1]]||(oe[fe[1]]=oe[fe[0]],delete oe[fe[0]]))}),ee.forEach(function(fe){if(oe[fe]){var pe=fe.replace(/^(.)/,function(ge){return ge.toLowerCase()}).replace(/-(\w)/g,function(ge,ye){return ye.toUpperCase()});oe[pe]||(oe[pe]=oe[fe])}}),ce.forEach(function(fe){oe[fe]=se(oe[fe])}),typeof ne=="function"&&ne(oe),ue(oe,he),de}}ve.dataFix=de;function se(oe){return oe?te.includes(oe)?!0:le.includes(oe)?!1:oe:!1}function ue(oe,ie){ie&&Object.keys(oe).forEach(function(ne){var a=ne.replace(/^\w/,function(y){return y.toLowerCase()});typeof oe[a]=="undefined"&&(oe[a]=oe[ne],delete oe[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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault");x("core-js/modules/es.array.slice.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js");var te=ae(x("@babel/runtime/helpers/typeof"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.deepCopyWith=ve.deepCopy=void 0;var le=x("./isBuffer");ve.deepCopy=function(de){if(de===null||(0,te.default)(de)!=="object")return de;if(le.isBuffer(de))return de.slice();var se=Array.isArray(de)?[]:{};return Object.keys(de).forEach(function(ue){se[ue]=ve.deepCopy(de[ue])}),se},ve.deepCopyWith=function(de,se){function ue(oe,ie,ne){var a=se(oe,ie,ne);if(a!==void 0)return a;if(oe===null||(0,te.default)(oe)!=="object")return oe;if(le.isBuffer(oe))return oe.slice();var y=Array.isArray(oe)?[]:{};return Object.keys(oe).forEach(function(E){y[E]=ue(oe[E],E,oe)}),y}return se?ue(de,"",null):ve.deepCopy(de)}},{"./isBuffer":65,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],59:[function(x,Se,ve){(function(ae){(function(){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.encoder=void 0;function te(le){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return de==="utf-8"?le:ae.from(le).toString("latin1")}ve.encoder=te}).call(this)}).call(this,x("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(x,Se,ve){"use strict";x("core-js/modules/es.array.map.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.formatInventoryConfig=void 0;var ae=x("../utils/dataFix"),te=x("../utils/isObject"),le=x("../utils/isArray"),de=x("../utils/formatObjKey");function se(oe){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ie&&te.isObject(oe)&&(oe=[oe]),le.isArray(oe)?oe=oe.map(ue):oe=ue(oe),oe}ve.formatInventoryConfig=se;function ue(oe){return ae.dataFix(oe,{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&&!le.isArray((a=ie.OptionalFields)===null||a===void 0?void 0:a.Field)&&(ie.OptionalFields.Field=[ie.OptionalFields.Field])}),oe=de.formatObjKey(oe,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),oe}},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault");x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.array.includes.js"),x("core-js/modules/es.string.includes.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js");var te=ae(x("@babel/runtime/helpers/typeof"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.formatObjKey=void 0;function le(se,ue,oe){if(se===null||(0,te.default)(se)!=="object")return se;var ie;if(Array.isArray(se)){ie=[];for(var ne=0;ne `),se&&se.firstUpperCase&&(de=ae.formatObjKey(de,"firstUpperCase")),te(de)==="object"?Object.keys(de).forEach(function(oe){te(de[oe])!=="undefined"&&te(de[oe])!=="null"&&(te(de[oe])==="string"||te(de[oe])==="number"?ue+="<".concat(oe,">").concat(de[oe],""):te(de[oe])==="object"?ue+="<".concat(oe,">").concat(le(de[oe]),""):te(de[oe])==="array"?ue+=de[oe].map(function(ie){return"<".concat(oe,">").concat(le(ie),"")}).join(""):ue+="<".concat(oe,">").concat(de[oe].toString(),""))}):ue+=de.toString(),ue}ve.obj2xml=le},{"./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(x,Se,ve){"use strict";x("core-js/modules/es.array.slice.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.function.name.js"),x("core-js/modules/es.array.from.js"),x("core-js/modules/es.string.iterator.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.symbol.js"),x("core-js/modules/es.symbol.description.js"),x("core-js/modules/es.symbol.iterator.js"),x("core-js/modules/es.array.iterator.js"),x("core-js/modules/web.dom-collections.iterator.js"),x("core-js/modules/es.object.assign.js");function ae(se,ue){var oe=typeof Symbol!="undefined"&&se[Symbol.iterator]||se["@@iterator"];if(!oe){if(Array.isArray(se)||(oe=te(se))||ue&&se&&typeof se.length=="number"){oe&&(se=oe);var ie=0,ne=function(){};return{s:ne,n:function(){return ie>=se.length?{done:!0}:{done:!1,value:se[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,E;return{s:function(){oe=oe.call(se)},n:function(){var z=oe.next();return a=z.done,z},e:function(z){y=!0,E=z},f:function(){try{!a&&oe.return!=null&&oe.return()}finally{if(y)throw E}}}}function te(se,ue){if(se){if(typeof se=="string")return le(se,ue);var oe=Object.prototype.toString.call(se).slice(8,-1);if(oe==="Object"&&se.constructor&&(oe=se.constructor.name),oe==="Map"||oe==="Set")return Array.from(se);if(oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(oe))return le(se,ue)}}function le(se,ue){(ue==null||ue>se.length)&&(ue=se.length);for(var oe=0,ie=new Array(ue);oe2&&arguments[2]!==void 0?arguments[2]:{},se=0,ue=de.retryDelay,oe=ue===void 0?500:ue,ie=de.errorHandler,ne=ie===void 0?function(){return!0}:ie,a=function y(){for(var E=arguments.length,b=new Array(E),z=0;z1&&arguments[1]!==void 0?arguments[1]:!1,oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;le.checkConfigValid(se,"region");var ie=oe?"https://":"http://",ne=ue?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return se.substr(0,a.length)===a&&(ne=".aliyuncs.com"),te.default.parse(ie+se+ne)}ve.setRegion=de},{"./checkConfigValid":52,url:472}],76:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.array.find.js"),x("core-js/modules/es.object.assign.js");var le=ae(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkCredentials=ve.setSTSToken=void 0;var de=x("./formatObjKey");function se(){return ue.apply(this,arguments)}function ue(){return ue=(0,le.default)(te.default.mark(function ie(){var ne,a;return te.default.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(this.options||(this.options={}),ne=new Date,!this.stsTokenFreshTime){E.next=14;break}if(!(+ne-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){E.next=12;break}return this.stsTokenFreshTime=ne,E.next=7,this.options.refreshSTSToken();case 7:a=E.sent,a=de.formatObjKey(a,"firstLowerCase"),a.securityToken&&(a.stsToken=a.securityToken),oe(a),Object.assign(this.options,a);case 12:E.next=15;break;case 14:this.stsTokenFreshTime=ne;case 15:return E.abrupt("return",null);case 16:case"end":return E.stop()}},ie,this)})),ue.apply(this,arguments)}ve.setSTSToken=se;function oe(ie){var ne=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(ie);ne.forEach(function(y){if(!a.find(function(E){return E===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}ve.checkCredentials=oe},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(x,Se,ve){function ae(le,de,se,ue,oe,ie,ne){try{var a=le[ie](ne),y=a.value}catch(E){se(E);return}a.done?de(y):Promise.resolve(y).then(ue,oe)}function te(le){return function(){var de=this,se=arguments;return new Promise(function(ue,oe){var ie=le.apply(de,se);function ne(y){ae(ie,ue,oe,ne,a,"next",y)}function a(y){ae(ie,ue,oe,ne,a,"throw",y)}ne(void 0)})}}Se.exports=te,Se.exports.__esModule=!0,Se.exports.default=Se.exports},{}],78:[function(x,Se,ve){function ae(te){return te&&te.__esModule?te:{default:te}}Se.exports=ae,Se.exports.__esModule=!0,Se.exports.default=Se.exports},{}],79:[function(x,Se,ve){function ae(te){"@babel/helpers - typeof";return Se.exports=ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(le){return typeof le}:function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},Se.exports.__esModule=!0,Se.exports.default=Se.exports,ae(te)}Se.exports=ae,Se.exports.__esModule=!0,Se.exports.default=Se.exports},{}],80:[function(x,Se,ve){Se.exports=x("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(x,Se,ve){Se.exports=ae,Se.exports.HttpsAgent=ae;function ae(){}},{}],82:[function(x,Se,ve){(function(ae){(function(){"use strict";var te=x("object-assign");function le(Ne,De){if(Ne===De)return 0;for(var ze=Ne.length,et=De.length,Me=0,it=Math.min(ze,et);Me=0){var Je=Me.indexOf(` `,at+1);Me=Me.substring(Je+1)}this.stack=Me}}},se.inherits(y.AssertionError,Error);function z(Ne,De){return typeof Ne=="string"?Ne.length=0;Ge--)if(at[Ge]!==Je[Ge])return!1;for(Ge=at.length-1;Ge>=0;Ge--)if(Ye=at[Ge],!he(Ne[Ye],De[Ye],ze,et))return!1;return!0}y.notDeepEqual=function(De,ze,et){he(De,ze,!1)&&ce(De,ze,et,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=ge;function ge(Ne,De,ze){he(Ne,De,!0)&&ce(Ne,De,ze,"notDeepStrictEqual",ge)}y.strictEqual=function(De,ze,et){De!==ze&&ce(De,ze,et,"===",y.strictEqual)},y.notStrictEqual=function(De,ze,et){De===ze&&ce(De,ze,et,"!==",y.notStrictEqual)};function ye(Ne,De){if(!Ne||!De)return!1;if(Object.prototype.toString.call(De)=="[object RegExp]")return De.test(Ne);try{if(Ne instanceof De)return!0}catch(ze){}return Error.isPrototypeOf(De)?!1:De.call({},Ne)===!0}function be(Ne){var De;try{Ne()}catch(ze){De=ze}return De}function Ae(Ne,De,ze,et){var Me;if(typeof De!="function")throw new TypeError('"block" argument must be a function');typeof ze=="string"&&(et=ze,ze=null),Me=be(De),et=(ze&&ze.name?" ("+ze.name+").":".")+(et?" "+et:"."),Ne&&!Me&&ce(Me,ze,"Missing expected exception"+et);var it=typeof et=="string",at=!Ne&&se.isError(Me),Je=!Ne&&Me&&!ze;if((at&&it&&ye(Me,ze)||Je)&&ce(Me,ze,"Got unwanted exception"+et),Ne&&Me&&ze&&!ye(Me,ze)||!Ne&&Me)throw Me}y.throws=function(Ne,De,ze){Ae(!0,Ne,De,ze)},y.doesNotThrow=function(Ne,De,ze){Ae(!1,Ne,De,ze)},y.ifError=function(Ne){if(Ne)throw Ne};function Pe(Ne,De){Ne||ce(Ne,!0,De,"==",Pe)}y.strict=te(Pe,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var Le=Object.keys||function(Ne){var De=[];for(var ze in Ne)ue.call(Ne,ze)&&De.push(ze);return De}}).call(this)}).call(this,typeof bt!="undefined"?bt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(x,Se,ve){typeof Object.create=="function"?Se.exports=function(te,le){te.super_=le,te.prototype=Object.create(le.prototype,{constructor:{value:te,enumerable:!1,writable:!0,configurable:!0}})}:Se.exports=function(te,le){te.super_=le;var de=function(){};de.prototype=le.prototype,te.prototype=new de,te.prototype.constructor=te}},{}],84:[function(x,Se,ve){Se.exports=function(te){return te&&typeof te=="object"&&typeof te.copy=="function"&&typeof te.fill=="function"&&typeof te.readUInt8=="function"}},{}],85:[function(x,Se,ve){(function(ae,te){(function(){var le=/%[sdj%]/g;ve.format=function(Je){if(!pe(Je)){for(var Ye=[],Ge=0;Ge=ke)return ut;switch(ut){case"%s":return String(_e[Ge++]);case"%d":return Number(_e[Ge++]);case"%j":try{return JSON.stringify(_e[Ge++])}catch(We){return"[Circular]"}default:return ut}}),Ve=_e[Ge];Ge=3&&(Ge.depth=arguments[2]),arguments.length>=4&&(Ge.colors=arguments[3]),ce(Ye)?Ge.showHidden=Ye:Ye&&ve._extend(Ge,Ye),ye(Ge.showHidden)&&(Ge.showHidden=!1),ye(Ge.depth)&&(Ge.depth=2),ye(Ge.colors)&&(Ge.colors=!1),ye(Ge.customInspect)&&(Ge.customInspect=!0),Ge.colors&&(Ge.stylize=oe),a(Ge,Je,Ge.depth)}ve.inspect=ue,ue.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]},ue.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function oe(Je,Ye){var Ge=ue.styles[Ye];return Ge?"\x1B["+ue.colors[Ge][0]+"m"+Je+"\x1B["+ue.colors[Ge][1]+"m":Je}function ie(Je,Ye){return Je}function ne(Je){var Ye={};return Je.forEach(function(Ge,_e){Ye[Ge]=!0}),Ye}function a(Je,Ye,Ge){if(Je.customInspect&&Ye&&Ne(Ye.inspect)&&Ye.inspect!==ve.inspect&&!(Ye.constructor&&Ye.constructor.prototype===Ye)){var _e=Ye.inspect(Ge,Je);return pe(_e)||(_e=a(Je,_e,Ge)),_e}var ke=y(Je,Ye);if(ke)return ke;var rt=Object.keys(Ye),Ve=ne(rt);if(Je.showHidden&&(rt=Object.getOwnPropertyNames(Ye)),Le(Ye)&&(rt.indexOf("message")>=0||rt.indexOf("description")>=0))return E(Ye);if(rt.length===0){if(Ne(Ye)){var ut=Ye.name?": "+Ye.name:"";return Je.stylize("[Function"+ut+"]","special")}if(be(Ye))return Je.stylize(RegExp.prototype.toString.call(Ye),"regexp");if(Pe(Ye))return Je.stylize(Date.prototype.toString.call(Ye),"date");if(Le(Ye))return E(Ye)}var We="",Re=!1,Te=["{","}"];if(re(Ye)&&(Re=!0,Te=["[","]"]),Ne(Ye)){var Ke=Ye.name?": "+Ye.name:"";We=" [Function"+Ke+"]"}if(be(Ye)&&(We=" "+RegExp.prototype.toString.call(Ye)),Pe(Ye)&&(We=" "+Date.prototype.toUTCString.call(Ye)),Le(Ye)&&(We=" "+E(Ye)),rt.length===0&&(!Re||Ye.length==0))return Te[0]+We+Te[1];if(Ge<0)return be(Ye)?Je.stylize(RegExp.prototype.toString.call(Ye),"regexp"):Je.stylize("[Object]","special");Je.seen.push(Ye);var Ee;return Re?Ee=b(Je,Ye,Ge,Ve,rt):Ee=rt.map(function(Ie){return z(Je,Ye,Ge,Ve,Ie,Re)}),Je.seen.pop(),ee(Ee,We,Te)}function y(Je,Ye){if(ye(Ye))return Je.stylize("undefined","undefined");if(pe(Ye)){var Ge="'"+JSON.stringify(Ye).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Je.stylize(Ge,"string")}if(fe(Ye))return Je.stylize(""+Ye,"number");if(ce(Ye))return Je.stylize(""+Ye,"boolean");if(me(Ye))return Je.stylize("null","null")}function E(Je){return"["+Error.prototype.toString.call(Je)+"]"}function b(Je,Ye,Ge,_e,ke){for(var rt=[],Ve=0,ut=Ye.length;Ve-1&&(rt?ut=ut.split(` `).map(function(Re){return" "+Re}).join(` `).substr(2):ut=` `+ut.split(` `).map(function(Re){return" "+Re}).join(` `))):ut=Je.stylize("[Circular]","special")),ye(Ve)){if(rt&&ke.match(/^\d+$/))return ut;Ve=JSON.stringify(""+ke),Ve.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Ve=Ve.substr(1,Ve.length-2),Ve=Je.stylize(Ve,"name")):(Ve=Ve.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Ve=Je.stylize(Ve,"string"))}return Ve+": "+ut}function ee(Je,Ye,Ge){var _e=0,ke=Je.reduce(function(rt,Ve){return _e++,Ve.indexOf(` `)>=0&&_e++,rt+Ve.replace(/\u001b\[\d\d?m/g,"").length+1},0);return ke>60?Ge[0]+(Ye===""?"":Ye+` `)+" "+Je.join(`, `)+" "+Ge[1]:Ge[0]+Ye+" "+Je.join(", ")+" "+Ge[1]}function re(Je){return Array.isArray(Je)}ve.isArray=re;function ce(Je){return typeof Je=="boolean"}ve.isBoolean=ce;function me(Je){return Je===null}ve.isNull=me;function he(Je){return Je==null}ve.isNullOrUndefined=he;function fe(Je){return typeof Je=="number"}ve.isNumber=fe;function pe(Je){return typeof Je=="string"}ve.isString=pe;function ge(Je){return typeof Je=="symbol"}ve.isSymbol=ge;function ye(Je){return Je===void 0}ve.isUndefined=ye;function be(Je){return Ae(Je)&&ze(Je)==="[object RegExp]"}ve.isRegExp=be;function Ae(Je){return typeof Je=="object"&&Je!==null}ve.isObject=Ae;function Pe(Je){return Ae(Je)&&ze(Je)==="[object Date]"}ve.isDate=Pe;function Le(Je){return Ae(Je)&&(ze(Je)==="[object Error]"||Je instanceof Error)}ve.isError=Le;function Ne(Je){return typeof Je=="function"}ve.isFunction=Ne;function De(Je){return Je===null||typeof Je=="boolean"||typeof Je=="number"||typeof Je=="string"||typeof Je=="symbol"||typeof Je=="undefined"}ve.isPrimitive=De,ve.isBuffer=x("./support/isBuffer");function ze(Je){return Object.prototype.toString.call(Je)}function et(Je){return Je<10?"0"+Je.toString(10):Je.toString(10)}var Me=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function it(){var Je=new Date,Ye=[et(Je.getHours()),et(Je.getMinutes()),et(Je.getSeconds())].join(":");return[Je.getDate(),Me[Je.getMonth()],Ye].join(" ")}ve.log=function(){console.log("%s - %s",it(),ve.format.apply(ve,arguments))},ve.inherits=x("inherits"),ve._extend=function(Je,Ye){if(!Ye||!Ae(Ye))return Je;for(var Ge=Object.keys(Ye),_e=Ge.length;_e--;)Je[Ge[_e]]=Ye[Ge[_e]];return Je};function at(Je,Ye){return Object.prototype.hasOwnProperty.call(Je,Ye)}}).call(this)}).call(this,x("_process"),typeof bt!="undefined"?bt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(x,Se,ve){(function(ae){(function(){"use strict";var te=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],le=typeof globalThis=="undefined"?ae:globalThis;Se.exports=function(){for(var se=[],ue=0;ue0)throw new Error("Invalid string. Length must be a multiple of 4");var re=z.indexOf("=");re===-1&&(re=ee);var ce=re===ee?0:4-re%4;return[re,ce]}function ie(z){var ee=oe(z),re=ee[0],ce=ee[1];return(re+ce)*3/4-ce}function ne(z,ee,re){return(ee+re)*3/4-re}function a(z){var ee,re=oe(z),ce=re[0],me=re[1],he=new le(ne(z,ce,me)),fe=0,pe=me>0?ce-4:ce,ge;for(ge=0;ge>16&255,he[fe++]=ee>>8&255,he[fe++]=ee&255;return me===2&&(ee=te[z.charCodeAt(ge)]<<2|te[z.charCodeAt(ge+1)]>>4,he[fe++]=ee&255),me===1&&(ee=te[z.charCodeAt(ge)]<<10|te[z.charCodeAt(ge+1)]<<4|te[z.charCodeAt(ge+2)]>>2,he[fe++]=ee>>8&255,he[fe++]=ee&255),he}function y(z){return ae[z>>18&63]+ae[z>>12&63]+ae[z>>6&63]+ae[z&63]}function E(z,ee,re){for(var ce,me=[],he=ee;hepe?pe:fe+he));return ce===1?(ee=z[re-1],me.push(ae[ee>>2]+ae[ee<<4&63]+"==")):ce===2&&(ee=(z[re-2]<<8)+z[re-1],me.push(ae[ee>>10]+ae[ee>>4&63]+ae[ee<<2&63]+"=")),me.join("")}},{}],88:[function(x,Se,ve){(function(ae,te,le){typeof Se!="undefined"&&Se.exports?Se.exports=le():typeof Oe=="function"&&Oe.amd?Oe(te,le):ae[te]=le()})(this,"bowser",function(){var ae=!0;function te(ne){function a(Ye){var Ge=ne.match(Ye);return Ge&&Ge.length>1&&Ge[1]||""}function y(Ye){var Ge=ne.match(Ye);return Ge&&Ge.length>1&&Ge[2]||""}var E=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),ce=/CrOS/.test(ne),me=/silk/i.test(ne),he=/sailfish/i.test(ne),fe=/tizen/i.test(ne),pe=/(web|hpw)(o|0)s/i.test(ne),ge=/windows phone/i.test(ne),ye=/SamsungBrowser/i.test(ne),be=!ge&&/windows/i.test(ne),Ae=!E&&!me&&/macintosh/i.test(ne),Pe=!z&&!he&&!fe&&!pe&&/linux/i.test(ne),Le=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Ne=a(/version\/(\d+(\.\d+)?)/i),De=/tablet/i.test(ne)&&!/tablet pc/i.test(ne),ze=!De&&/[^-]mobi/i.test(ne),et=/xbox/i.test(ne),Me;/opera/i.test(ne)?Me={name:"Opera",opera:ae,version:Ne||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ne)?Me={name:"Opera",opera:ae,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Ne}:/SamsungBrowser/i.test(ne)?Me={name:"Samsung Internet for Android",samsungBrowser:ae,version:Ne||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ne)?Me={name:"NAVER Whale browser",whale:ae,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ne)?Me={name:"MZ Browser",mzbrowser:ae,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ne)?Me={name:"Opera Coast",coast:ae,version:Ne||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ne)?Me={name:"Focus",focus:ae,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ne)?Me={name:"Yandex Browser",yandexbrowser:ae,version:Ne||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ne)?Me={name:"UC Browser",ucbrowser:ae,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ne)?Me={name:"Maxthon",maxthon:ae,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ne)?Me={name:"Epiphany",epiphany:ae,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ne)?Me={name:"Puffin",puffin:ae,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ne)?Me={name:"Sleipnir",sleipnir:ae,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ne)?Me={name:"K-Meleon",kMeleon:ae,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:ge?(Me={name:"Windows Phone",osname:"Windows Phone",windowsphone:ae},Le?(Me.msedge=ae,Me.version=Le):(Me.msie=ae,Me.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ne)?Me={name:"Internet Explorer",msie:ae,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:ce?Me={name:"Chrome",osname:"Chrome OS",chromeos:ae,chromeBook:ae,chrome:ae,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ne)?Me={name:"Microsoft Edge",msedge:ae,version:Le}:/vivaldi/i.test(ne)?Me={name:"Vivaldi",vivaldi:ae,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||Ne}:he?Me={name:"Sailfish",osname:"Sailfish OS",sailfish:ae,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ne)?Me={name:"SeaMonkey",seamonkey:ae,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ne)?(Me={name:"Firefox",firefox:ae,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ne)&&(Me.firefoxos=ae,Me.osname="Firefox OS")):me?Me={name:"Amazon Silk",silk:ae,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ne)?Me={name:"PhantomJS",phantom:ae,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ne)?Me={name:"SlimerJS",slimer:ae,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ne)||/rim\stablet/i.test(ne)?Me={name:"BlackBerry",osname:"BlackBerry OS",blackberry:ae,version:Ne||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:pe?(Me={name:"WebOS",osname:"WebOS",webos:ae,version:Ne||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ne)&&(Me.touchpad=ae)):/bada/i.test(ne)?Me={name:"Bada",osname:"Bada",bada:ae,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:fe?Me={name:"Tizen",osname:"Tizen",tizen:ae,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Ne}:/qupzilla/i.test(ne)?Me={name:"QupZilla",qupzilla:ae,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Ne}:/chromium/i.test(ne)?Me={name:"Chromium",chromium:ae,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Ne}:/chrome|crios|crmo/i.test(ne)?Me={name:"Chrome",chrome:ae,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:z?Me={name:"Android",version:Ne}:/safari|applewebkit/i.test(ne)?(Me={name:"Safari",safari:ae},Ne&&(Me.version=Ne)):E?(Me={name:E=="iphone"?"iPhone":E=="ipad"?"iPad":"iPod"},Ne&&(Me.version=Ne)):/googlebot/i.test(ne)?Me={name:"Googlebot",googlebot:ae,version:a(/googlebot\/(\d+(\.\d+))/i)||Ne}: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=ae):(Me.name=Me.name||"Webkit",Me.webkit=ae),!Me.version&&Ne&&(Me.version=Ne)):!Me.opera&&/gecko\//i.test(ne)&&(Me.name=Me.name||"Gecko",Me.gecko=ae,Me.version=Me.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Me.windowsphone&&(z||Me.silk)?(Me.android=ae,Me.osname="Android"):!Me.windowsphone&&E?(Me[E]=ae,Me.ios=ae,Me.osname="iOS"):Ae?(Me.mac=ae,Me.osname="macOS"):et?(Me.xbox=ae,Me.osname="Xbox"):be?(Me.windows=ae,Me.osname="Windows"):Pe&&(Me.linux=ae,Me.osname="Linux");function it(Ye){switch(Ye){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 at="";Me.windows?at=it(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Me.windowsphone?at=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Me.mac?(at=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),at=at.replace(/[_\s]/g,".")):E?(at=a(/os (\d+([_\s]\d+)*) like mac os x/i),at=at.replace(/[_\s]/g,".")):z?at=a(/android[ \/-](\d+(\.\d+)*)/i):Me.webos?at=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Me.blackberry?at=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Me.bada?at=a(/bada\/(\d+(\.\d+)*)/i):Me.tizen&&(at=a(/tizen[\/\s](\d+(\.\d+)*)/i)),at&&(Me.osversion=at);var Je=!Me.windows&&at.split(".")[0];return De||re||E=="ipad"||z&&(Je==3||Je>=4&&!ze)||Me.silk?Me.tablet=ae:(ze||E=="iphone"||E=="ipod"||z||ee||Me.blackberry||Me.webos||Me.bada)&&(Me.mobile=ae),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&&ue([Me.version,"1.0"])===1||Me.mzbrowser&&ue([Me.version,"6.0"])===1||Me.focus&&ue([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=ae: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=ae:Me.x=ae,Me}var le=te(typeof navigator!="undefined"&&navigator.userAgent||"");le.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 oe(ne,a,y){var E=le;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(E=te(y));var b=""+E.version;for(var z in ne)if(ne.hasOwnProperty(z)&&E[z]){if(typeof ne[z]!="string")throw new Error("Browser version in the minVersion map should be a string: "+z+": "+String(ne));return ue([b,ne[z]])<0}return a}function ie(ne,a,y){return!oe(ne,a,y)}return le.isUnsupportedBrowser=oe,le.compareVersions=ue,le.check=ie,le._detect=te,le.detect=te,le})},{}],89:[function(x,Se,ve){},{}],90:[function(x,Se,ve){(function(ae){(function(){"use strict";var te=x("base64-js"),le=x("ieee754");ve.Buffer=oe,ve.SlowBuffer=ce,ve.INSPECT_MAX_BYTES=50;var de=2147483647;ve.kMaxLength=de,oe.TYPED_ARRAY_SUPPORT=se(),!oe.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function se(){try{var xe=new Uint8Array(1);return xe.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},xe.foo()===42}catch(Ce){return!1}}Object.defineProperty(oe.prototype,"parent",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.buffer}}),Object.defineProperty(oe.prototype,"offset",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.byteOffset}});function ue(xe){if(xe>de)throw new RangeError('The value "'+xe+'" is invalid for option "size"');var Ce=new Uint8Array(xe);return Ce.__proto__=oe.prototype,Ce}function oe(xe,Ce,we){if(typeof xe=="number"){if(typeof Ce=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(xe)}return ie(xe,Ce,we)}typeof Symbol!="undefined"&&Symbol.species!=null&&oe[Symbol.species]===oe&&Object.defineProperty(oe,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),oe.poolSize=8192;function ie(xe,Ce,we){if(typeof xe=="string")return E(xe,Ce);if(ArrayBuffer.isView(xe))return b(xe);if(xe==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof xe);if(Ze(xe,ArrayBuffer)||xe&&Ze(xe.buffer,ArrayBuffer))return z(xe,Ce,we);if(typeof xe=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var je=xe.valueOf&&xe.valueOf();if(je!=null&&je!==xe)return oe.from(je,Ce,we);var Ue=ee(xe);if(Ue)return Ue;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof xe[Symbol.toPrimitive]=="function")return oe.from(xe[Symbol.toPrimitive]("string"),Ce,we);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof xe)}oe.from=function(xe,Ce,we){return ie(xe,Ce,we)},oe.prototype.__proto__=Uint8Array.prototype,oe.__proto__=Uint8Array;function ne(xe){if(typeof xe!="number")throw new TypeError('"size" argument must be of type number');if(xe<0)throw new RangeError('The value "'+xe+'" is invalid for option "size"')}function a(xe,Ce,we){return ne(xe),xe<=0?ue(xe):Ce!==void 0?typeof we=="string"?ue(xe).fill(Ce,we):ue(xe).fill(Ce):ue(xe)}oe.alloc=function(xe,Ce,we){return a(xe,Ce,we)};function y(xe){return ne(xe),ue(xe<0?0:re(xe)|0)}oe.allocUnsafe=function(xe){return y(xe)},oe.allocUnsafeSlow=function(xe){return y(xe)};function E(xe,Ce){if((typeof Ce!="string"||Ce==="")&&(Ce="utf8"),!oe.isEncoding(Ce))throw new TypeError("Unknown encoding: "+Ce);var we=me(xe,Ce)|0,je=ue(we),Ue=je.write(xe,Ce);return Ue!==we&&(je=je.slice(0,Ue)),je}function b(xe){for(var Ce=xe.length<0?0:re(xe.length)|0,we=ue(Ce),je=0;je=de)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+de.toString(16)+" bytes");return xe|0}function ce(xe){return+xe!=xe&&(xe=0),oe.alloc(+xe)}oe.isBuffer=function(Ce){return Ce!=null&&Ce._isBuffer===!0&&Ce!==oe.prototype},oe.compare=function(Ce,we){if(Ze(Ce,Uint8Array)&&(Ce=oe.from(Ce,Ce.offset,Ce.byteLength)),Ze(we,Uint8Array)&&(we=oe.from(we,we.offset,we.byteLength)),!oe.isBuffer(Ce)||!oe.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ce===we)return 0;for(var je=Ce.length,Ue=we.length,ot=0,$e=Math.min(je,Ue);ot<$e;++ot)if(Ce[ot]!==we[ot]){je=Ce[ot],Ue=we[ot];break}return je2&&arguments[2]===!0;if(!je&&we===0)return 0;for(var Ue=!1;;)switch(Ce){case"ascii":case"latin1":case"binary":return we;case"utf8":case"utf-8":return Te(xe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we*2;case"hex":return we>>>1;case"base64":return Ie(xe).length;default:if(Ue)return je?-1:Te(xe).length;Ce=(""+Ce).toLowerCase(),Ue=!0}}oe.byteLength=me;function he(xe,Ce,we){var je=!1;if((Ce===void 0||Ce<0)&&(Ce=0),Ce>this.length||((we===void 0||we>this.length)&&(we=this.length),we<=0)||(we>>>=0,Ce>>>=0,we<=Ce))return"";for(xe||(xe="utf8");;)switch(xe){case"hex":return Je(this,Ce,we);case"utf8":case"utf-8":return ze(this,Ce,we);case"ascii":return it(this,Ce,we);case"latin1":case"binary":return at(this,Ce,we);case"base64":return De(this,Ce,we);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ye(this,Ce,we);default:if(je)throw new TypeError("Unknown encoding: "+xe);xe=(xe+"").toLowerCase(),je=!0}}oe.prototype._isBuffer=!0;function fe(xe,Ce,we){var je=xe[Ce];xe[Ce]=xe[we],xe[we]=je}oe.prototype.swap16=function(){var Ce=this.length;if(Ce%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(Ce+=" ... "),""},oe.prototype.compare=function(Ce,we,je,Ue,ot){if(Ze(Ce,Uint8Array)&&(Ce=oe.from(Ce,Ce.offset,Ce.byteLength)),!oe.isBuffer(Ce))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ce);if(we===void 0&&(we=0),je===void 0&&(je=Ce?Ce.length:0),Ue===void 0&&(Ue=0),ot===void 0&&(ot=this.length),we<0||je>Ce.length||Ue<0||ot>this.length)throw new RangeError("out of range index");if(Ue>=ot&&we>=je)return 0;if(Ue>=ot)return-1;if(we>=je)return 1;if(we>>>=0,je>>>=0,Ue>>>=0,ot>>>=0,this===Ce)return 0;for(var $e=ot-Ue,st=je-we,St=Math.min($e,st),ft=this.slice(Ue,ot),yt=Ce.slice(we,je),lt=0;lt2147483647?we=2147483647:we<-2147483648&&(we=-2147483648),we=+we,Fe(we)&&(we=Ue?0:xe.length-1),we<0&&(we=xe.length+we),we>=xe.length){if(Ue)return-1;we=xe.length-1}else if(we<0)if(Ue)we=0;else return-1;if(typeof Ce=="string"&&(Ce=oe.from(Ce,je)),oe.isBuffer(Ce))return Ce.length===0?-1:ge(xe,Ce,we,je,Ue);if(typeof Ce=="number")return Ce=Ce&255,typeof Uint8Array.prototype.indexOf=="function"?Ue?Uint8Array.prototype.indexOf.call(xe,Ce,we):Uint8Array.prototype.lastIndexOf.call(xe,Ce,we):ge(xe,[Ce],we,je,Ue);throw new TypeError("val must be string, number or Buffer")}function ge(xe,Ce,we,je,Ue){var ot=1,$e=xe.length,st=Ce.length;if(je!==void 0&&(je=String(je).toLowerCase(),je==="ucs2"||je==="ucs-2"||je==="utf16le"||je==="utf-16le")){if(xe.length<2||Ce.length<2)return-1;ot=2,$e/=2,st/=2,we/=2}function St(tt,Qe){return ot===1?tt[Qe]:tt.readUInt16BE(Qe*ot)}var ft;if(Ue){var yt=-1;for(ft=we;ft<$e;ft++)if(St(xe,ft)===St(Ce,yt===-1?0:ft-yt)){if(yt===-1&&(yt=ft),ft-yt+1===st)return yt*ot}else yt!==-1&&(ft-=ft-yt),yt=-1}else for(we+st>$e&&(we=$e-st),ft=we;ft>=0;ft--){for(var lt=!0,pt=0;ptUe&&(je=Ue)):je=Ue;var ot=Ce.length;je>ot/2&&(je=ot/2);for(var $e=0;$e>>0,isFinite(je)?(je=je>>>0,Ue===void 0&&(Ue="utf8")):(Ue=je,je=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ot=this.length-we;if((je===void 0||je>ot)&&(je=ot),Ce.length>0&&(je<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ue||(Ue="utf8");for(var $e=!1;;)switch(Ue){case"hex":return ye(this,Ce,we,je);case"utf8":case"utf-8":return be(this,Ce,we,je);case"ascii":return Ae(this,Ce,we,je);case"latin1":case"binary":return Pe(this,Ce,we,je);case"base64":return Le(this,Ce,we,je);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ne(this,Ce,we,je);default:if($e)throw new TypeError("Unknown encoding: "+Ue);Ue=(""+Ue).toLowerCase(),$e=!0}},oe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function De(xe,Ce,we){return Ce===0&&we===xe.length?te.fromByteArray(xe):te.fromByteArray(xe.slice(Ce,we))}function ze(xe,Ce,we){we=Math.min(xe.length,we);for(var je=[],Ue=Ce;Ue239?4:ot>223?3:ot>191?2:1;if(Ue+st<=we){var St,ft,yt,lt;switch(st){case 1:ot<128&&($e=ot);break;case 2:St=xe[Ue+1],(St&192)===128&&(lt=(ot&31)<<6|St&63,lt>127&&($e=lt));break;case 3:St=xe[Ue+1],ft=xe[Ue+2],(St&192)===128&&(ft&192)===128&&(lt=(ot&15)<<12|(St&63)<<6|ft&63,lt>2047&&(lt<55296||lt>57343)&&($e=lt));break;case 4:St=xe[Ue+1],ft=xe[Ue+2],yt=xe[Ue+3],(St&192)===128&&(ft&192)===128&&(yt&192)===128&&(lt=(ot&15)<<18|(St&63)<<12|(ft&63)<<6|yt&63,lt>65535&<<1114112&&($e=lt))}}$e===null?($e=65533,st=1):$e>65535&&($e-=65536,je.push($e>>>10&1023|55296),$e=56320|$e&1023),je.push($e),Ue+=st}return Me(je)}var et=4096;function Me(xe){var Ce=xe.length;if(Ce<=et)return String.fromCharCode.apply(String,xe);for(var we="",je=0;jeje)&&(we=je);for(var Ue="",ot=Ce;otje&&(Ce=je),we<0?(we+=je,we<0&&(we=0)):we>je&&(we=je),wewe)throw new RangeError("Trying to access beyond buffer length")}oe.prototype.readUIntLE=function(Ce,we,je){Ce=Ce>>>0,we=we>>>0,je||Ge(Ce,we,this.length);for(var Ue=this[Ce],ot=1,$e=0;++$e>>0,we=we>>>0,je||Ge(Ce,we,this.length);for(var Ue=this[Ce+--we],ot=1;we>0&&(ot*=256);)Ue+=this[Ce+--we]*ot;return Ue},oe.prototype.readUInt8=function(Ce,we){return Ce=Ce>>>0,we||Ge(Ce,1,this.length),this[Ce]},oe.prototype.readUInt16LE=function(Ce,we){return Ce=Ce>>>0,we||Ge(Ce,2,this.length),this[Ce]|this[Ce+1]<<8},oe.prototype.readUInt16BE=function(Ce,we){return Ce=Ce>>>0,we||Ge(Ce,2,this.length),this[Ce]<<8|this[Ce+1]},oe.prototype.readUInt32LE=function(Ce,we){return Ce=Ce>>>0,we||Ge(Ce,4,this.length),(this[Ce]|this[Ce+1]<<8|this[Ce+2]<<16)+this[Ce+3]*16777216},oe.prototype.readUInt32BE=function(Ce,we){return Ce=Ce>>>0,we||Ge(Ce,4,this.length),this[Ce]*16777216+(this[Ce+1]<<16|this[Ce+2]<<8|this[Ce+3])},oe.prototype.readIntLE=function(Ce,we,je){Ce=Ce>>>0,we=we>>>0,je||Ge(Ce,we,this.length);for(var Ue=this[Ce],ot=1,$e=0;++$e=ot&&(Ue-=Math.pow(2,8*we)),Ue},oe.prototype.readIntBE=function(Ce,we,je){Ce=Ce>>>0,we=we>>>0,je||Ge(Ce,we,this.length);for(var Ue=we,ot=1,$e=this[Ce+--Ue];Ue>0&&(ot*=256);)$e+=this[Ce+--Ue]*ot;return ot*=128,$e>=ot&&($e-=Math.pow(2,8*we)),$e},oe.prototype.readInt8=function(Ce,we){return Ce=Ce>>>0,we||Ge(Ce,1,this.length),this[Ce]&128?(255-this[Ce]+1)*-1:this[Ce]},oe.prototype.readInt16LE=function(Ce,we){Ce=Ce>>>0,we||Ge(Ce,2,this.length);var je=this[Ce]|this[Ce+1]<<8;return je&32768?je|4294901760:je},oe.prototype.readInt16BE=function(Ce,we){Ce=Ce>>>0,we||Ge(Ce,2,this.length);var je=this[Ce+1]|this[Ce]<<8;return je&32768?je|4294901760:je},oe.prototype.readInt32LE=function(Ce,we){return Ce=Ce>>>0,we||Ge(Ce,4,this.length),this[Ce]|this[Ce+1]<<8|this[Ce+2]<<16|this[Ce+3]<<24},oe.prototype.readInt32BE=function(Ce,we){return Ce=Ce>>>0,we||Ge(Ce,4,this.length),this[Ce]<<24|this[Ce+1]<<16|this[Ce+2]<<8|this[Ce+3]},oe.prototype.readFloatLE=function(Ce,we){return Ce=Ce>>>0,we||Ge(Ce,4,this.length),le.read(this,Ce,!0,23,4)},oe.prototype.readFloatBE=function(Ce,we){return Ce=Ce>>>0,we||Ge(Ce,4,this.length),le.read(this,Ce,!1,23,4)},oe.prototype.readDoubleLE=function(Ce,we){return Ce=Ce>>>0,we||Ge(Ce,8,this.length),le.read(this,Ce,!0,52,8)},oe.prototype.readDoubleBE=function(Ce,we){return Ce=Ce>>>0,we||Ge(Ce,8,this.length),le.read(this,Ce,!1,52,8)};function _e(xe,Ce,we,je,Ue,ot){if(!oe.isBuffer(xe))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ce>Ue||Cexe.length)throw new RangeError("Index out of range")}oe.prototype.writeUIntLE=function(Ce,we,je,Ue){if(Ce=+Ce,we=we>>>0,je=je>>>0,!Ue){var ot=Math.pow(2,8*je)-1;_e(this,Ce,we,je,ot,0)}var $e=1,st=0;for(this[we]=Ce&255;++st>>0,je=je>>>0,!Ue){var ot=Math.pow(2,8*je)-1;_e(this,Ce,we,je,ot,0)}var $e=je-1,st=1;for(this[we+$e]=Ce&255;--$e>=0&&(st*=256);)this[we+$e]=Ce/st&255;return we+je},oe.prototype.writeUInt8=function(Ce,we,je){return Ce=+Ce,we=we>>>0,je||_e(this,Ce,we,1,255,0),this[we]=Ce&255,we+1},oe.prototype.writeUInt16LE=function(Ce,we,je){return Ce=+Ce,we=we>>>0,je||_e(this,Ce,we,2,65535,0),this[we]=Ce&255,this[we+1]=Ce>>>8,we+2},oe.prototype.writeUInt16BE=function(Ce,we,je){return Ce=+Ce,we=we>>>0,je||_e(this,Ce,we,2,65535,0),this[we]=Ce>>>8,this[we+1]=Ce&255,we+2},oe.prototype.writeUInt32LE=function(Ce,we,je){return Ce=+Ce,we=we>>>0,je||_e(this,Ce,we,4,4294967295,0),this[we+3]=Ce>>>24,this[we+2]=Ce>>>16,this[we+1]=Ce>>>8,this[we]=Ce&255,we+4},oe.prototype.writeUInt32BE=function(Ce,we,je){return Ce=+Ce,we=we>>>0,je||_e(this,Ce,we,4,4294967295,0),this[we]=Ce>>>24,this[we+1]=Ce>>>16,this[we+2]=Ce>>>8,this[we+3]=Ce&255,we+4},oe.prototype.writeIntLE=function(Ce,we,je,Ue){if(Ce=+Ce,we=we>>>0,!Ue){var ot=Math.pow(2,8*je-1);_e(this,Ce,we,je,ot-1,-ot)}var $e=0,st=1,St=0;for(this[we]=Ce&255;++$e>0)-St&255;return we+je},oe.prototype.writeIntBE=function(Ce,we,je,Ue){if(Ce=+Ce,we=we>>>0,!Ue){var ot=Math.pow(2,8*je-1);_e(this,Ce,we,je,ot-1,-ot)}var $e=je-1,st=1,St=0;for(this[we+$e]=Ce&255;--$e>=0&&(st*=256);)Ce<0&&St===0&&this[we+$e+1]!==0&&(St=1),this[we+$e]=(Ce/st>>0)-St&255;return we+je},oe.prototype.writeInt8=function(Ce,we,je){return Ce=+Ce,we=we>>>0,je||_e(this,Ce,we,1,127,-128),Ce<0&&(Ce=255+Ce+1),this[we]=Ce&255,we+1},oe.prototype.writeInt16LE=function(Ce,we,je){return Ce=+Ce,we=we>>>0,je||_e(this,Ce,we,2,32767,-32768),this[we]=Ce&255,this[we+1]=Ce>>>8,we+2},oe.prototype.writeInt16BE=function(Ce,we,je){return Ce=+Ce,we=we>>>0,je||_e(this,Ce,we,2,32767,-32768),this[we]=Ce>>>8,this[we+1]=Ce&255,we+2},oe.prototype.writeInt32LE=function(Ce,we,je){return Ce=+Ce,we=we>>>0,je||_e(this,Ce,we,4,2147483647,-2147483648),this[we]=Ce&255,this[we+1]=Ce>>>8,this[we+2]=Ce>>>16,this[we+3]=Ce>>>24,we+4},oe.prototype.writeInt32BE=function(Ce,we,je){return Ce=+Ce,we=we>>>0,je||_e(this,Ce,we,4,2147483647,-2147483648),Ce<0&&(Ce=4294967295+Ce+1),this[we]=Ce>>>24,this[we+1]=Ce>>>16,this[we+2]=Ce>>>8,this[we+3]=Ce&255,we+4};function ke(xe,Ce,we,je,Ue,ot){if(we+je>xe.length)throw new RangeError("Index out of range");if(we<0)throw new RangeError("Index out of range")}function rt(xe,Ce,we,je,Ue){return Ce=+Ce,we=we>>>0,Ue||ke(xe,Ce,we,4,34028234663852886e22,-34028234663852886e22),le.write(xe,Ce,we,je,23,4),we+4}oe.prototype.writeFloatLE=function(Ce,we,je){return rt(this,Ce,we,!0,je)},oe.prototype.writeFloatBE=function(Ce,we,je){return rt(this,Ce,we,!1,je)};function Ve(xe,Ce,we,je,Ue){return Ce=+Ce,we=we>>>0,Ue||ke(xe,Ce,we,8,17976931348623157e292,-17976931348623157e292),le.write(xe,Ce,we,je,52,8),we+8}oe.prototype.writeDoubleLE=function(Ce,we,je){return Ve(this,Ce,we,!0,je)},oe.prototype.writeDoubleBE=function(Ce,we,je){return Ve(this,Ce,we,!1,je)},oe.prototype.copy=function(Ce,we,je,Ue){if(!oe.isBuffer(Ce))throw new TypeError("argument should be a Buffer");if(je||(je=0),!Ue&&Ue!==0&&(Ue=this.length),we>=Ce.length&&(we=Ce.length),we||(we=0),Ue>0&&Ue=this.length)throw new RangeError("Index out of range");if(Ue<0)throw new RangeError("sourceEnd out of bounds");Ue>this.length&&(Ue=this.length),Ce.length-we=0;--$e)Ce[$e+we]=this[$e+je];else Uint8Array.prototype.set.call(Ce,this.subarray(je,Ue),we);return ot},oe.prototype.fill=function(Ce,we,je,Ue){if(typeof Ce=="string"){if(typeof we=="string"?(Ue=we,we=0,je=this.length):typeof je=="string"&&(Ue=je,je=this.length),Ue!==void 0&&typeof Ue!="string")throw new TypeError("encoding must be a string");if(typeof Ue=="string"&&!oe.isEncoding(Ue))throw new TypeError("Unknown encoding: "+Ue);if(Ce.length===1){var ot=Ce.charCodeAt(0);(Ue==="utf8"&&ot<128||Ue==="latin1")&&(Ce=ot)}}else typeof Ce=="number"&&(Ce=Ce&255);if(we<0||this.length>>0,je=je===void 0?this.length:je>>>0,Ce||(Ce=0);var $e;if(typeof Ce=="number")for($e=we;$e55295&&we<57344){if(!Ue){if(we>56319){(Ce-=3)>-1&&ot.push(239,191,189);continue}else if($e+1===je){(Ce-=3)>-1&&ot.push(239,191,189);continue}Ue=we;continue}if(we<56320){(Ce-=3)>-1&&ot.push(239,191,189),Ue=we;continue}we=(Ue-55296<<10|we-56320)+65536}else Ue&&(Ce-=3)>-1&&ot.push(239,191,189);if(Ue=null,we<128){if((Ce-=1)<0)break;ot.push(we)}else if(we<2048){if((Ce-=2)<0)break;ot.push(we>>6|192,we&63|128)}else if(we<65536){if((Ce-=3)<0)break;ot.push(we>>12|224,we>>6&63|128,we&63|128)}else if(we<1114112){if((Ce-=4)<0)break;ot.push(we>>18|240,we>>12&63|128,we>>6&63|128,we&63|128)}else throw new Error("Invalid code point")}return ot}function Ke(xe){for(var Ce=[],we=0;we>8,Ue=we%256,ot.push(Ue),ot.push(je);return ot}function Ie(xe){return te.toByteArray(We(xe))}function Xe(xe,Ce,we,je){for(var Ue=0;Ue=Ce.length||Ue>=xe.length);++Ue)Ce[Ue+we]=xe[Ue];return Ue}function Ze(xe,Ce){return xe instanceof Ce||xe!=null&&xe.constructor!=null&&xe.constructor.name!=null&&xe.constructor.name===Ce.name}function Fe(xe){return xe!==xe}}).call(this)}).call(this,x("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(x,Se,ve){Se.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(x,Se,ve){"use strict";var ae=x("get-intrinsic"),te=x("./"),le=te(ae("String.prototype.indexOf"));Se.exports=function(se,ue){var oe=ae(se,!!ue);return typeof oe=="function"&&le(se,".prototype.")>-1?te(oe):oe}},{"./":93,"get-intrinsic":348}],93:[function(x,Se,ve){"use strict";var ae=x("function-bind"),te=x("get-intrinsic"),le=te("%Function.prototype.apply%"),de=te("%Function.prototype.call%"),se=te("%Reflect.apply%",!0)||ae.call(de,le),ue=te("%Object.getOwnPropertyDescriptor%",!0),oe=te("%Object.defineProperty%",!0),ie=te("%Math.max%");if(oe)try{oe({},"a",{value:1})}catch(a){oe=null}Se.exports=function(y){var E=se(ae,de,arguments);if(ue&&oe){var b=ue(E,"length");b.configurable&&oe(E,"length",{value:1+ie(0,y.length-(arguments.length-1))})}return E};var ne=function(){return se(ae,le,arguments)};oe?oe(Se.exports,"apply",{value:ne}):Se.exports.apply=ne},{"function-bind":347,"get-intrinsic":348}],94:[function(x,Se,ve){"use strict";var ae=Array.prototype.slice;Se.exports=te;function te(de,se){if(!(this instanceof te))return new te(de,se);this.src=de,this._withAccess=se}te.prototype.withAccess=function(de){return this._withAccess=de!==!1,this},te.prototype.pick=function(de){return Array.isArray(de)||(de=ae.call(arguments)),de.length&&(this.keys=de),this},te.prototype.to=function(de){if(de=de||{},!this.src)return de;var se=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ue=0;ue>8&255]},Te=function($e){return[$e&255,$e>>8&255,$e>>16&255,$e>>24&255]},Ke=function($e){return $e[3]<<24|$e[2]<<16|$e[1]<<8|$e[0]},Ee=function($e){return Ve($e,23,4)},Ie=function($e){return Ve($e,52,8)},Xe=function($e,st){ce($e[Ne],st,{get:function(){return be(this)[st]}})},Ze=function($e,st,St,ft){var yt=E(St),lt=be($e);if(yt+st>lt.byteLength)throw _e(ze);var pt=be(lt.buffer).bytes,tt=yt+lt.byteOffset,Qe=he(pt,tt,tt+st);return ft?Qe:rt(Qe)},Fe=function($e,st,St,ft,yt,lt){var pt=E(St),tt=be($e);if(pt+st>tt.byteLength)throw _e(ze);for(var Qe=be(tt.buffer).bytes,dt=pt+tt.byteOffset,mt=ft(+yt),Pt=0;Ptyt)throw _e("Wrong offset");if(ft=ft===void 0?yt-lt:y(ft),lt+ft>yt)throw _e(De);Ae(this,{buffer:st,byteLength:ft,byteOffset:lt}),le||(this.buffer=st,this.byteLength=ft,this.byteOffset=lt)},Je=at[Ne],le&&(Xe(Me,"byteLength"),Xe(at,"buffer"),Xe(at,"byteLength"),Xe(at,"byteOffset")),oe(Je,{getInt8:function(st){return Ze(this,1,st)[0]<<24>>24},getUint8:function(st){return Ze(this,1,st)[0]},getInt16:function(st){var St=Ze(this,2,st,arguments.length>1?arguments[1]:void 0);return(St[1]<<8|St[0])<<16>>16},getUint16:function(st){var St=Ze(this,2,st,arguments.length>1?arguments[1]:void 0);return St[1]<<8|St[0]},getInt32:function(st){return Ke(Ze(this,4,st,arguments.length>1?arguments[1]:void 0))},getUint32:function(st){return Ke(Ze(this,4,st,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(st){return ut(Ze(this,4,st,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(st){return ut(Ze(this,8,st,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(st,St){Fe(this,1,st,We,St)},setUint8:function(st,St){Fe(this,1,st,We,St)},setInt16:function(st,St){Fe(this,2,st,Re,St,arguments.length>2?arguments[2]:void 0)},setUint16:function(st,St){Fe(this,2,st,Re,St,arguments.length>2?arguments[2]:void 0)},setInt32:function(st,St){Fe(this,4,st,Te,St,arguments.length>2?arguments[2]:void 0)},setUint32:function(st,St){Fe(this,4,st,Te,St,arguments.length>2?arguments[2]:void 0)},setFloat32:function(st,St){Fe(this,4,st,Ee,St,arguments.length>2?arguments[2]:void 0)},setFloat64:function(st,St){Fe(this,8,st,Ie,St,arguments.length>2?arguments[2]:void 0)}});else{var xe=ge&&et.name!==Pe;if(!ie(function(){et(1)})||!ie(function(){new et(-1)})||ie(function(){return new et,new et(1.5),new et(NaN),xe&&!ye})){Me=function(st){return ne(this,it),new et(E(st))},Me[Ne]=it;for(var Ce=re(et),we=0,je;Ce.length>we;)(je=Ce[we++])in Me||ue(Me,je,et[je]);it.constructor=Me}else xe&&ye&&ue(et,"name",Pe);ee&&z(Je)!==Ye&&ee(Je,Ye);var Ue=new at(new Me(2)),ot=te(Je.setInt8);Ue.setInt8(0,2147483648),Ue.setInt8(1,2147483649),(Ue.getInt8(0)||!Ue.getInt8(1))&&oe(Je,{setInt8:function(st,St){ot(this,st,St<<24>>24)},setUint8:function(st,St){ot(this,st,St<<24>>24)}},{unsafe:!0})}fe(Me,Pe),fe(at,Le),Se.exports={ArrayBuffer:Me,DataView:at}},{"../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(x,Se,ve){"use strict";var ae=x("../internals/to-object"),te=x("../internals/to-absolute-index"),le=x("../internals/length-of-array-like"),de=Math.min;Se.exports=[].copyWithin||function(ue,oe){var ie=ae(this),ne=le(ie),a=te(ue,ne),y=te(oe,ne),E=arguments.length>2?arguments[2]:void 0,b=de((E===void 0?ne:te(E,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(x,Se,ve){"use strict";var ae=x("../internals/to-object"),te=x("../internals/to-absolute-index"),le=x("../internals/length-of-array-like");Se.exports=function(se){for(var ue=ae(this),oe=le(ue),ie=arguments.length,ne=te(ie>1?arguments[1]:void 0,oe),a=ie>2?arguments[2]:void 0,y=a===void 0?oe:te(a,oe);y>ne;)ue[ne++]=se;return ue}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(x,Se,ve){"use strict";var ae=x("../internals/array-iteration").forEach,te=x("../internals/array-method-is-strict"),le=te("forEach");Se.exports=le?[].forEach:function(se){return ae(this,se,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(x,Se,ve){var ae=x("../internals/length-of-array-like");Se.exports=function(te,le){for(var de=0,se=ae(le),ue=new te(se);se>de;)ue[de]=le[de++];return ue}},{"../internals/length-of-array-like":188}],109:[function(x,Se,ve){"use strict";var ae=x("../internals/global"),te=x("../internals/function-bind-context"),le=x("../internals/function-call"),de=x("../internals/to-object"),se=x("../internals/call-with-safe-iteration-closing"),ue=x("../internals/is-array-iterator-method"),oe=x("../internals/is-constructor"),ie=x("../internals/length-of-array-like"),ne=x("../internals/create-property"),a=x("../internals/get-iterator"),y=x("../internals/get-iterator-method"),E=ae.Array;Se.exports=function(z){var ee=de(z),re=oe(this),ce=arguments.length,me=ce>1?arguments[1]:void 0,he=me!==void 0;he&&(me=te(me,ce>2?arguments[2]:void 0));var fe=y(ee),pe=0,ge,ye,be,Ae,Pe,Le;if(fe&&!(this==E&&ue(fe)))for(Ae=a(ee,fe),Pe=Ae.next,ye=re?new this:[];!(be=le(Pe,Ae)).done;pe++)Le=he?se(Ae,me,[be.value,pe],!0):be.value,ne(ye,pe,Le);else for(ge=ie(ee),ye=re?new this(ge):E(ge);ge>pe;pe++)Le=he?me(ee[pe],pe):ee[pe],ne(ye,pe,Le);return ye.length=pe,ye}},{"../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(x,Se,ve){var ae=x("../internals/to-indexed-object"),te=x("../internals/to-absolute-index"),le=x("../internals/length-of-array-like"),de=function(se){return function(ue,oe,ie){var ne=ae(ue),a=le(ne),y=te(ie,a),E;if(se&&oe!=oe){for(;a>y;)if(E=ne[y++],E!=E)return!0}else for(;a>y;y++)if((se||y in ne)&&ne[y]===oe)return se||y||0;return!se&&-1}};Se.exports={includes:de(!0),indexOf:de(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(x,Se,ve){var ae=x("../internals/function-bind-context"),te=x("../internals/function-uncurry-this"),le=x("../internals/indexed-object"),de=x("../internals/to-object"),se=x("../internals/length-of-array-like"),ue=x("../internals/array-species-create"),oe=te([].push),ie=function(ne){var a=ne==1,y=ne==2,E=ne==3,b=ne==4,z=ne==6,ee=ne==7,re=ne==5||z;return function(ce,me,he,fe){for(var pe=de(ce),ge=le(pe),ye=ae(me,he),be=se(ge),Ae=0,Pe=fe||ue,Le=a?Pe(ce,be):y||ee?Pe(ce,0):void 0,Ne,De;be>Ae;Ae++)if((re||Ae in ge)&&(Ne=ge[Ae],De=ye(Ne,Ae,pe),ne))if(a)Le[Ae]=De;else if(De)switch(ne){case 3:return!0;case 5:return Ne;case 6:return Ae;case 2:oe(Le,Ne)}else switch(ne){case 4:return!1;case 7:oe(Le,Ne)}return z?-1:E||b?b:Le}};Se.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(x,Se,ve){"use strict";var ae=x("../internals/function-apply"),te=x("../internals/to-indexed-object"),le=x("../internals/to-integer-or-infinity"),de=x("../internals/length-of-array-like"),se=x("../internals/array-method-is-strict"),ue=Math.min,oe=[].lastIndexOf,ie=!!oe&&1/[1].lastIndexOf(1,-0)<0,ne=se("lastIndexOf"),a=ie||!ne;Se.exports=a?function(E){if(ie)return ae(oe,this,arguments)||0;var b=te(this),z=de(b),ee=z-1;for(arguments.length>1&&(ee=ue(ee,le(arguments[1]))),ee<0&&(ee=z+ee);ee>=0;ee--)if(ee in b&&b[ee]===E)return ee||0;return-1}:oe},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(x,Se,ve){var ae=x("../internals/fails"),te=x("../internals/well-known-symbol"),le=x("../internals/engine-v8-version"),de=te("species");Se.exports=function(se){return le>=51||!ae(function(){var ue=[],oe=ue.constructor={};return oe[de]=function(){return{foo:1}},ue[se](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(x,Se,ve){"use strict";var ae=x("../internals/fails");Se.exports=function(te,le){var de=[][te];return!!de&&ae(function(){de.call(null,le||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/a-callable"),le=x("../internals/to-object"),de=x("../internals/indexed-object"),se=x("../internals/length-of-array-like"),ue=ae.TypeError,oe=function(ie){return function(ne,a,y,E){te(a);var b=le(ne),z=de(b),ee=se(b),re=ie?ee-1:0,ce=ie?-1:1;if(y<2)for(;;){if(re in z){E=z[re],re+=ce;break}if(re+=ce,ie?re<0:ee<=re)throw ue("Reduce of empty array with no initial value")}for(;ie?re>=0:ee>re;re+=ce)re in z&&(E=a(E,z[re],re,b));return E}};Se.exports={left:oe(!1),right:oe(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/to-absolute-index"),le=x("../internals/length-of-array-like"),de=x("../internals/create-property"),se=ae.Array,ue=Math.max;Se.exports=function(oe,ie,ne){for(var a=le(oe),y=te(ie,a),E=te(ne===void 0?a:ne,a),b=se(ue(E-y,0)),z=0;y0;)ue[y]=ue[--y];y!==ne++&&(ue[y]=a)}return ue},se=function(ue,oe,ie,ne){for(var a=oe.length,y=ie.length,E=0,b=0;E0&&oe[0]<4?1:+(oe[0]+oe[1])),!ie&&te&&(oe=te.match(/Edge\/(\d+)/),(!oe||oe[1]>=74)&&(oe=te.match(/Chrome\/(\d+)/),oe&&(ie=+oe[1]))),Se.exports=ie},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(x,Se,ve){var ae=x("../internals/engine-user-agent"),te=ae.match(/AppleWebKit\/(\d+)\./);Se.exports=!!te&&+te[1]},{"../internals/engine-user-agent":145}],148:[function(x,Se,ve){Se.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/object-get-own-property-descriptor").f,le=x("../internals/create-non-enumerable-property"),de=x("../internals/redefine"),se=x("../internals/set-global"),ue=x("../internals/copy-constructor-properties"),oe=x("../internals/is-forced");Se.exports=function(ie,ne){var a=ie.target,y=ie.global,E=ie.stat,b,z,ee,re,ce,me;if(y?z=ae:E?z=ae[a]||se(a,{}):z=(ae[a]||{}).prototype,z)for(ee in ne){if(ce=ne[ee],ie.noTargetGet?(me=te(z,ee),re=me&&me.value):re=z[ee],b=oe(y?ee:a+(E?".":"#")+ee,ie.forced),!b&&re!==void 0){if(typeof ce==typeof re)continue;ue(ce,re)}(ie.sham||re&&re.sham)&&le(ce,"sham",!0),de(z,ee,ce,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(x,Se,ve){Se.exports=function(ae){try{return!!ae()}catch(te){return!0}}},{}],151:[function(x,Se,ve){"use strict";x("../modules/es.regexp.exec");var ae=x("../internals/function-uncurry-this"),te=x("../internals/redefine"),le=x("../internals/regexp-exec"),de=x("../internals/fails"),se=x("../internals/well-known-symbol"),ue=x("../internals/create-non-enumerable-property"),oe=se("species"),ie=RegExp.prototype;Se.exports=function(ne,a,y,E){var b=se(ne),z=!de(function(){var me={};return me[b]=function(){return 7},""[ne](me)!=7}),ee=z&&!de(function(){var me=!1,he=/a/;return ne==="split"&&(he={},he.constructor={},he.constructor[oe]=function(){return he},he.flags="",he[b]=/./[b]),he.exec=function(){return me=!0,null},he[b](""),!me});if(!z||!ee||y){var re=ae(/./[b]),ce=a(b,""[ne],function(me,he,fe,pe,ge){var ye=ae(me),be=he.exec;return be===le||be===ie.exec?z&&!ge?{done:!0,value:re(he,fe,pe)}:{done:!0,value:ye(fe,he,pe)}:{done:!1}});te(String.prototype,ne,ce[0]),te(ie,b,ce[1])}E&&ue(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(x,Se,ve){var ae=x("../internals/function-bind-native"),te=Function.prototype,le=te.apply,de=te.call;Se.exports=typeof Reflect=="object"&&Reflect.apply||(ae?de.bind(le):function(){return de.apply(le,arguments)})},{"../internals/function-bind-native":154}],153:[function(x,Se,ve){var ae=x("../internals/function-uncurry-this"),te=x("../internals/a-callable"),le=x("../internals/function-bind-native"),de=ae(ae.bind);Se.exports=function(se,ue){return te(se),ue===void 0?se:le?de(se,ue):function(){return se.apply(ue,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(x,Se,ve){var ae=x("../internals/fails");Se.exports=!ae(function(){var te=function(){}.bind();return typeof te!="function"||te.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(x,Se,ve){var ae=x("../internals/function-bind-native"),te=Function.prototype.call;Se.exports=ae?te.bind(te):function(){return te.apply(te,arguments)}},{"../internals/function-bind-native":154}],156:[function(x,Se,ve){var ae=x("../internals/descriptors"),te=x("../internals/has-own-property"),le=Function.prototype,de=ae&&Object.getOwnPropertyDescriptor,se=te(le,"name"),ue=se&&function(){}.name==="something",oe=se&&(!ae||ae&&de(le,"name").configurable);Se.exports={EXISTS:se,PROPER:ue,CONFIGURABLE:oe}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(x,Se,ve){var ae=x("../internals/function-bind-native"),te=Function.prototype,le=te.bind,de=te.call,se=ae&&le.bind(de,de);Se.exports=ae?function(ue){return ue&&se(ue)}:function(ue){return ue&&function(){return de.apply(ue,arguments)}}},{"../internals/function-bind-native":154}],158:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/is-callable"),le=function(de){return te(de)?de:void 0};Se.exports=function(de,se){return arguments.length<2?le(ae[de]):ae[de]&&ae[de][se]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(x,Se,ve){var ae=x("../internals/classof"),te=x("../internals/get-method"),le=x("../internals/iterators"),de=x("../internals/well-known-symbol"),se=de("iterator");Se.exports=function(ue){if(ue!=null)return te(ue,se)||te(ue,"@@iterator")||le[ae(ue)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/function-call"),le=x("../internals/a-callable"),de=x("../internals/an-object"),se=x("../internals/try-to-string"),ue=x("../internals/get-iterator-method"),oe=ae.TypeError;Se.exports=function(ie,ne){var a=arguments.length<2?ue(ie):ne;if(le(a))return de(te(a,ie));throw oe(se(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(x,Se,ve){var ae=x("../internals/a-callable");Se.exports=function(te,le){var de=te[le];return de==null?void 0:ae(de)}},{"../internals/a-callable":95}],162:[function(x,Se,ve){var ae=x("../internals/function-uncurry-this"),te=x("../internals/to-object"),le=Math.floor,de=ae("".charAt),se=ae("".replace),ue=ae("".slice),oe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ie=/\$([$&'`]|\d{1,2})/g;Se.exports=function(ne,a,y,E,b,z){var ee=y+ne.length,re=E.length,ce=ie;return b!==void 0&&(b=te(b),ce=oe),se(z,ce,function(me,he){var fe;switch(de(he,0)){case"$":return"$";case"&":return ne;case"`":return ue(a,0,y);case"'":return ue(a,ee);case"<":fe=b[ue(he,1,-1)];break;default:var pe=+he;if(pe===0)return me;if(pe>re){var ge=le(pe/10);return ge===0?me:ge<=re?E[ge-1]===void 0?de(he,1):E[ge-1]+de(he,1):me}fe=E[pe-1]}return fe===void 0?"":fe})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(x,Se,ve){(function(ae){(function(){var te=function(le){return le&&le.Math==Math&&le};Se.exports=te(typeof globalThis=="object"&&globalThis)||te(typeof window=="object"&&window)||te(typeof self=="object"&&self)||te(typeof ae=="object"&&ae)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof bt!="undefined"?bt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(x,Se,ve){var ae=x("../internals/function-uncurry-this"),te=x("../internals/to-object"),le=ae({}.hasOwnProperty);Se.exports=Object.hasOwn||function(se,ue){return le(te(se),ue)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(x,Se,ve){Se.exports={}},{}],166:[function(x,Se,ve){var ae=x("../internals/global");Se.exports=function(te,le){var de=ae.console;de&&de.error&&(arguments.length==1?de.error(te):de.error(te,le))}},{"../internals/global":163}],167:[function(x,Se,ve){var ae=x("../internals/get-built-in");Se.exports=ae("document","documentElement")},{"../internals/get-built-in":158}],168:[function(x,Se,ve){var ae=x("../internals/descriptors"),te=x("../internals/fails"),le=x("../internals/document-create-element");Se.exports=!ae&&!te(function(){return Object.defineProperty(le("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(x,Se,ve){var ae=x("../internals/global"),te=ae.Array,le=Math.abs,de=Math.pow,se=Math.floor,ue=Math.log,oe=Math.LN2,ie=function(a,y,E){var b=te(E),z=E*8-y-1,ee=(1<>1,ce=y===23?de(2,-24)-de(2,-77):0,me=a<0||a===0&&1/a<0?1:0,he=0,fe,pe,ge;for(a=le(a),a!=a||a===1/0?(pe=a!=a?1:0,fe=ee):(fe=se(ue(a)/oe),ge=de(2,-fe),a*ge<1&&(fe--,ge*=2),fe+re>=1?a+=ce/ge:a+=ce*de(2,1-re),a*ge>=2&&(fe++,ge/=2),fe+re>=ee?(pe=0,fe=ee):fe+re>=1?(pe=(a*ge-1)*de(2,y),fe=fe+re):(pe=a*de(2,re-1)*de(2,y),fe=0));y>=8;)b[he++]=pe&255,pe/=256,y-=8;for(fe=fe<0;)b[he++]=fe&255,fe/=256,z-=8;return b[--he]|=me*128,b},ne=function(a,y){var E=a.length,b=E*8-y-1,z=(1<>1,re=b-7,ce=E-1,me=a[ce--],he=me&127,fe;for(me>>=7;re>0;)he=he*256+a[ce--],re-=8;for(fe=he&(1<<-re)-1,he>>=-re,re+=y;re>0;)fe=fe*256+a[ce--],re-=8;if(he===0)he=1-ee;else{if(he===z)return fe?NaN:me?-1/0:1/0;fe=fe+de(2,y),he=he-ee}return(me?-1:1)*fe*de(2,he-y)};Se.exports={pack:ie,unpack:ne}},{"../internals/global":163}],170:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/function-uncurry-this"),le=x("../internals/fails"),de=x("../internals/classof-raw"),se=ae.Object,ue=te("".split);Se.exports=le(function(){return!se("z").propertyIsEnumerable(0)})?function(oe){return de(oe)=="String"?ue(oe,""):se(oe)}:se},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(x,Se,ve){var ae=x("../internals/is-callable"),te=x("../internals/is-object"),le=x("../internals/object-set-prototype-of");Se.exports=function(de,se,ue){var oe,ie;return le&&ae(oe=se.constructor)&&oe!==ue&&te(ie=oe.prototype)&&ie!==ue.prototype&&le(de,ie),de}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(x,Se,ve){var ae=x("../internals/function-uncurry-this"),te=x("../internals/is-callable"),le=x("../internals/shared-store"),de=ae(Function.toString);te(le.inspectSource)||(le.inspectSource=function(se){return de(se)}),Se.exports=le.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(x,Se,ve){var ae=x("../internals/native-weak-map"),te=x("../internals/global"),le=x("../internals/function-uncurry-this"),de=x("../internals/is-object"),se=x("../internals/create-non-enumerable-property"),ue=x("../internals/has-own-property"),oe=x("../internals/shared-store"),ie=x("../internals/shared-key"),ne=x("../internals/hidden-keys"),a="Object already initialized",y=te.TypeError,E=te.WeakMap,b,z,ee,re=function(ye){return ee(ye)?z(ye):b(ye,{})},ce=function(ye){return function(be){var Ae;if(!de(be)||(Ae=z(be)).type!==ye)throw y("Incompatible receiver, "+ye+" required");return Ae}};if(ae||oe.state){var me=oe.state||(oe.state=new E),he=le(me.get),fe=le(me.has),pe=le(me.set);b=function(ye,be){if(fe(me,ye))throw new y(a);return be.facade=ye,pe(me,ye,be),be},z=function(ye){return he(me,ye)||{}},ee=function(ye){return fe(me,ye)}}else{var ge=ie("state");ne[ge]=!0,b=function(ye,be){if(ue(ye,ge))throw new y(a);return be.facade=ye,se(ye,ge,be),be},z=function(ye){return ue(ye,ge)?ye[ge]:{}},ee=function(ye){return ue(ye,ge)}}Se.exports={set:b,get:z,has:ee,enforce:re,getterFor:ce}},{"../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(x,Se,ve){var ae=x("../internals/well-known-symbol"),te=x("../internals/iterators"),le=ae("iterator"),de=Array.prototype;Se.exports=function(se){return se!==void 0&&(te.Array===se||de[le]===se)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(x,Se,ve){var ae=x("../internals/classof-raw");Se.exports=Array.isArray||function(le){return ae(le)=="Array"}},{"../internals/classof-raw":123}],176:[function(x,Se,ve){Se.exports=function(ae){return typeof ae=="function"}},{}],177:[function(x,Se,ve){var ae=x("../internals/function-uncurry-this"),te=x("../internals/fails"),le=x("../internals/is-callable"),de=x("../internals/classof"),se=x("../internals/get-built-in"),ue=x("../internals/inspect-source"),oe=function(){},ie=[],ne=se("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=ae(a.exec),E=!a.exec(oe),b=function(re){if(!le(re))return!1;try{return ne(oe,ie,re),!0}catch(ce){return!1}},z=function(re){if(!le(re))return!1;switch(de(re)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return E||!!y(a,ue(re))}catch(ce){return!0}};z.sham=!0,Se.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(x,Se,ve){var ae=x("../internals/fails"),te=x("../internals/is-callable"),le=/#|\.prototype\./,de=function(ne,a){var y=ue[se(ne)];return y==ie?!0:y==oe?!1:te(a)?ae(a):!!a},se=de.normalize=function(ne){return String(ne).replace(le,".").toLowerCase()},ue=de.data={},oe=de.NATIVE="N",ie=de.POLYFILL="P";Se.exports=de},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(x,Se,ve){var ae=x("../internals/is-object"),te=Math.floor;Se.exports=Number.isInteger||function(de){return!ae(de)&&isFinite(de)&&te(de)===de}},{"../internals/is-object":180}],180:[function(x,Se,ve){var ae=x("../internals/is-callable");Se.exports=function(te){return typeof te=="object"?te!==null:ae(te)}},{"../internals/is-callable":176}],181:[function(x,Se,ve){Se.exports=!1},{}],182:[function(x,Se,ve){var ae=x("../internals/is-object"),te=x("../internals/classof-raw"),le=x("../internals/well-known-symbol"),de=le("match");Se.exports=function(se){var ue;return ae(se)&&((ue=se[de])!==void 0?!!ue:te(se)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/get-built-in"),le=x("../internals/is-callable"),de=x("../internals/object-is-prototype-of"),se=x("../internals/use-symbol-as-uid"),ue=ae.Object;Se.exports=se?function(oe){return typeof oe=="symbol"}:function(oe){var ie=te("Symbol");return le(ie)&&de(ie.prototype,ue(oe))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/function-bind-context"),le=x("../internals/function-call"),de=x("../internals/an-object"),se=x("../internals/try-to-string"),ue=x("../internals/is-array-iterator-method"),oe=x("../internals/length-of-array-like"),ie=x("../internals/object-is-prototype-of"),ne=x("../internals/get-iterator"),a=x("../internals/get-iterator-method"),y=x("../internals/iterator-close"),E=ae.TypeError,b=function(ee,re){this.stopped=ee,this.result=re},z=b.prototype;Se.exports=function(ee,re,ce){var me=ce&&ce.that,he=!!(ce&&ce.AS_ENTRIES),fe=!!(ce&&ce.IS_ITERATOR),pe=!!(ce&&ce.INTERRUPTED),ge=te(re,me),ye,be,Ae,Pe,Le,Ne,De,ze=function(Me){return ye&&y(ye,"normal",Me),new b(!0,Me)},et=function(Me){return he?(de(Me),pe?ge(Me[0],Me[1],ze):ge(Me[0],Me[1])):pe?ge(Me,ze):ge(Me)};if(fe)ye=ee;else{if(be=a(ee),!be)throw E(se(ee)+" is not iterable");if(ue(be)){for(Ae=0,Pe=oe(ee);Pe>Ae;Ae++)if(Le=et(ee[Ae]),Le&&ie(z,Le))return Le;return new b(!1)}ye=ne(ee,be)}for(Ne=ye.next;!(De=le(Ne,ye)).done;){try{Le=et(De.value)}catch(Me){y(ye,"throw",Me)}if(typeof Le=="object"&&Le&&ie(z,Le))return Le}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(x,Se,ve){var ae=x("../internals/function-call"),te=x("../internals/an-object"),le=x("../internals/get-method");Se.exports=function(de,se,ue){var oe,ie;te(de);try{if(oe=le(de,"return"),!oe){if(se==="throw")throw ue;return ue}oe=ae(oe,de)}catch(ne){ie=!0,oe=ne}if(se==="throw")throw ue;if(ie)throw oe;return te(oe),ue}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(x,Se,ve){"use strict";var ae=x("../internals/fails"),te=x("../internals/is-callable"),le=x("../internals/object-create"),de=x("../internals/object-get-prototype-of"),se=x("../internals/redefine"),ue=x("../internals/well-known-symbol"),oe=x("../internals/is-pure"),ie=ue("iterator"),ne=!1,a,y,E;[].keys&&(E=[].keys(),"next"in E?(y=de(de(E)),y!==Object.prototype&&(a=y)):ne=!0);var b=a==null||ae(function(){var z={};return a[ie].call(z)!==z});b?a={}:oe&&(a=le(a)),te(a[ie])||se(a,ie,function(){return this}),Se.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(x,Se,ve){arguments[4][165][0].apply(ve,arguments)},{dup:165}],188:[function(x,Se,ve){var ae=x("../internals/to-length");Se.exports=function(te){return ae(te.length)}},{"../internals/to-length":249}],189:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/function-bind-context"),le=x("../internals/object-get-own-property-descriptor").f,de=x("../internals/task").set,se=x("../internals/engine-is-ios"),ue=x("../internals/engine-is-ios-pebble"),oe=x("../internals/engine-is-webos-webkit"),ie=x("../internals/engine-is-node"),ne=ae.MutationObserver||ae.WebKitMutationObserver,a=ae.document,y=ae.process,E=ae.Promise,b=le(ae,"queueMicrotask"),z=b&&b.value,ee,re,ce,me,he,fe,pe,ge;z||(ee=function(){var ye,be;for(ie&&(ye=y.domain)&&ye.exit();re;){be=re.fn,re=re.next;try{be()}catch(Ae){throw re?me():ce=void 0,Ae}}ce=void 0,ye&&ye.enter()},!se&&!ie&&!oe&&ne&&a?(he=!0,fe=a.createTextNode(""),new ne(ee).observe(fe,{characterData:!0}),me=function(){fe.data=he=!he}):!ue&&E&&E.resolve?(pe=E.resolve(void 0),pe.constructor=E,ge=te(pe.then,pe),me=function(){ge(ee)}):ie?me=function(){y.nextTick(ee)}:(de=te(de,ae),me=function(){de(ee)})),Se.exports=z||function(ye){var be={fn:ye,next:void 0};ce&&(ce.next=be),re||(re=be,me()),ce=be}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(x,Se,ve){var ae=x("../internals/native-symbol");Se.exports=ae&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(x,Se,ve){var ae=x("../internals/engine-v8-version"),te=x("../internals/fails");Se.exports=!!Object.getOwnPropertySymbols&&!te(function(){var le=Symbol();return!String(le)||!(Object(le)instanceof Symbol)||!Symbol.sham&&ae&&ae<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/is-callable"),le=x("../internals/inspect-source"),de=ae.WeakMap;Se.exports=te(de)&&/native code/.test(le(de))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(x,Se,ve){"use strict";var ae=x("../internals/a-callable"),te=function(le){var de,se;this.promise=new le(function(ue,oe){if(de!==void 0||se!==void 0)throw TypeError("Bad Promise constructor");de=ue,se=oe}),this.resolve=ae(de),this.reject=ae(se)};Se.exports.f=function(le){return new te(le)}},{"../internals/a-callable":95}],194:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/is-regexp"),le=ae.TypeError;Se.exports=function(de){if(te(de))throw le("The method doesn't accept regular expressions");return de}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(x,Se,ve){"use strict";var ae=x("../internals/descriptors"),te=x("../internals/function-uncurry-this"),le=x("../internals/function-call"),de=x("../internals/fails"),se=x("../internals/object-keys"),ue=x("../internals/object-get-own-property-symbols"),oe=x("../internals/object-property-is-enumerable"),ie=x("../internals/to-object"),ne=x("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,E=te([].concat);Se.exports=!a||de(function(){if(ae&&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(ce){z[ce]=ce}),a({},b)[ee]!=7||se(a({},z)).join("")!=re})?function(z,ee){for(var re=ie(z),ce=arguments.length,me=1,he=ue.f,fe=oe.f;ce>me;)for(var pe=ne(arguments[me++]),ge=he?E(se(pe),he(pe)):se(pe),ye=ge.length,be=0,Ae;ye>be;)Ae=ge[be++],(!ae||le(fe,pe,Ae))&&(re[Ae]=pe[Ae]);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(x,Se,ve){var ae=x("../internals/an-object"),te=x("../internals/object-define-properties"),le=x("../internals/enum-bug-keys"),de=x("../internals/hidden-keys"),se=x("../internals/html"),ue=x("../internals/document-create-element"),oe=x("../internals/shared-key"),ie=">",ne="<",a="prototype",y="script",E=oe("IE_PROTO"),b=function(){},z=function(he){return ne+y+ie+he+ne+"/"+y+ie},ee=function(he){he.write(z("")),he.close();var fe=he.parentWindow.Object;return he=null,fe},re=function(){var he=ue("iframe"),fe="java"+y+":",pe;return he.style.display="none",se.appendChild(he),he.src=String(fe),pe=he.contentWindow.document,pe.open(),pe.write(z("document.F=Object")),pe.close(),pe.F},ce,me=function(){try{ce=new ActiveXObject("htmlfile")}catch(fe){}me=typeof document!="undefined"?document.domain&&ce?ee(ce):re():ee(ce);for(var he=le.length;he--;)delete me[a][le[he]];return me()};de[E]=!0,Se.exports=Object.create||function(fe,pe){var ge;return fe!==null?(b[a]=ae(fe),ge=new b,b[a]=null,ge[E]=fe):ge=me(),pe===void 0?ge:te.f(ge,pe)}},{"../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(x,Se,ve){var ae=x("../internals/descriptors"),te=x("../internals/v8-prototype-define-bug"),le=x("../internals/object-define-property"),de=x("../internals/an-object"),se=x("../internals/to-indexed-object"),ue=x("../internals/object-keys");ve.f=ae&&!te?Object.defineProperties:function(ie,ne){de(ie);for(var a=se(ne),y=ue(ne),E=y.length,b=0,z;E>b;)le.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(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/descriptors"),le=x("../internals/ie8-dom-define"),de=x("../internals/v8-prototype-define-bug"),se=x("../internals/an-object"),ue=x("../internals/to-property-key"),oe=ae.TypeError,ie=Object.defineProperty,ne=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",E="writable";ve.f=te?de?function(z,ee,re){if(se(z),ee=ue(ee),se(re),typeof z=="function"&&ee==="prototype"&&"value"in re&&E in re&&!re[E]){var ce=ne(z,ee);ce&&ce[E]&&(z[ee]=re.value,re={configurable:y in re?re[y]:ce[y],enumerable:a in re?re[a]:ce[a],writable:!1})}return ie(z,ee,re)}:ie:function(z,ee,re){if(se(z),ee=ue(ee),se(re),le)try{return ie(z,ee,re)}catch(ce){}if("get"in re||"set"in re)throw oe("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(x,Se,ve){var ae=x("../internals/descriptors"),te=x("../internals/function-call"),le=x("../internals/object-property-is-enumerable"),de=x("../internals/create-property-descriptor"),se=x("../internals/to-indexed-object"),ue=x("../internals/to-property-key"),oe=x("../internals/has-own-property"),ie=x("../internals/ie8-dom-define"),ne=Object.getOwnPropertyDescriptor;ve.f=ae?ne:function(y,E){if(y=se(y),E=ue(E),ie)try{return ne(y,E)}catch(b){}if(oe(y,E))return de(!te(le.f,y,E),y[E])}},{"../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(x,Se,ve){var ae=x("../internals/classof-raw"),te=x("../internals/to-indexed-object"),le=x("../internals/object-get-own-property-names").f,de=x("../internals/array-slice-simple"),se=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ue=function(oe){try{return le(oe)}catch(ie){return de(se)}};Se.exports.f=function(ie){return se&&ae(ie)=="Window"?ue(ie):le(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(x,Se,ve){var ae=x("../internals/object-keys-internal"),te=x("../internals/enum-bug-keys"),le=te.concat("length","prototype");ve.f=Object.getOwnPropertyNames||function(se){return ae(se,le)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(x,Se,ve){ve.f=Object.getOwnPropertySymbols},{}],203:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/has-own-property"),le=x("../internals/is-callable"),de=x("../internals/to-object"),se=x("../internals/shared-key"),ue=x("../internals/correct-prototype-getter"),oe=se("IE_PROTO"),ie=ae.Object,ne=ie.prototype;Se.exports=ue?ie.getPrototypeOf:function(a){var y=de(a);if(te(y,oe))return y[oe];var E=y.constructor;return le(E)&&y instanceof E?E.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(x,Se,ve){var ae=x("../internals/function-uncurry-this");Se.exports=ae({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(x,Se,ve){var ae=x("../internals/function-uncurry-this"),te=x("../internals/has-own-property"),le=x("../internals/to-indexed-object"),de=x("../internals/array-includes").indexOf,se=x("../internals/hidden-keys"),ue=ae([].push);Se.exports=function(oe,ie){var ne=le(oe),a=0,y=[],E;for(E in ne)!te(se,E)&&te(ne,E)&&ue(y,E);for(;ie.length>a;)te(ne,E=ie[a++])&&(~de(y,E)||ue(y,E));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(x,Se,ve){var ae=x("../internals/object-keys-internal"),te=x("../internals/enum-bug-keys");Se.exports=Object.keys||function(de){return ae(de,te)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(x,Se,ve){"use strict";var ae={}.propertyIsEnumerable,te=Object.getOwnPropertyDescriptor,le=te&&!ae.call({1:2},1);ve.f=le?function(se){var ue=te(this,se);return!!ue&&ue.enumerable}:ae},{}],208:[function(x,Se,ve){var ae=x("../internals/function-uncurry-this"),te=x("../internals/an-object"),le=x("../internals/a-possible-prototype");Se.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var de=!1,se={},ue;try{ue=ae(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ue(se,[]),de=se instanceof Array}catch(oe){}return function(ie,ne){return te(ie),le(ne),de?ue(ie,ne):ie.__proto__=ne,ie}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(x,Se,ve){var ae=x("../internals/descriptors"),te=x("../internals/function-uncurry-this"),le=x("../internals/object-keys"),de=x("../internals/to-indexed-object"),se=x("../internals/object-property-is-enumerable").f,ue=te(se),oe=te([].push),ie=function(ne){return function(a){for(var y=de(a),E=le(y),b=E.length,z=0,ee=[],re;b>z;)re=E[z++],(!ae||ue(y,re))&&oe(ee,ne?[re,y[re]]:y[re]);return ee}};Se.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(x,Se,ve){"use strict";var ae=x("../internals/to-string-tag-support"),te=x("../internals/classof");Se.exports=ae?{}.toString:function(){return"[object "+te(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/function-call"),le=x("../internals/is-callable"),de=x("../internals/is-object"),se=ae.TypeError;Se.exports=function(ue,oe){var ie,ne;if(oe==="string"&&le(ie=ue.toString)&&!de(ne=te(ie,ue))||le(ie=ue.valueOf)&&!de(ne=te(ie,ue))||oe!=="string"&&le(ie=ue.toString)&&!de(ne=te(ie,ue)))return ne;throw se("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(x,Se,ve){var ae=x("../internals/get-built-in"),te=x("../internals/function-uncurry-this"),le=x("../internals/object-get-own-property-names"),de=x("../internals/object-get-own-property-symbols"),se=x("../internals/an-object"),ue=te([].concat);Se.exports=ae("Reflect","ownKeys")||function(ie){var ne=le.f(se(ie)),a=de.f;return a?ue(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(x,Se,ve){var ae=x("../internals/global");Se.exports=ae},{"../internals/global":163}],214:[function(x,Se,ve){Se.exports=function(ae){try{return{error:!1,value:ae()}}catch(te){return{error:!0,value:te}}}},{}],215:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/promise-native-constructor"),le=x("../internals/is-callable"),de=x("../internals/is-forced"),se=x("../internals/inspect-source"),ue=x("../internals/well-known-symbol"),oe=x("../internals/engine-is-browser"),ie=x("../internals/is-pure"),ne=x("../internals/engine-v8-version"),a=te&&te.prototype,y=ue("species"),E=!1,b=le(ae.PromiseRejectionEvent),z=de("Promise",function(){var ee=se(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 ce=new te(function(fe){fe(1)}),me=function(fe){fe(function(){},function(){})},he=ce.constructor={};return he[y]=me,E=ce.then(function(){})instanceof me,E?!re&&oe&&!b:!0});Se.exports={CONSTRUCTOR:z,REJECTION_EVENT:b,SUBCLASSING:E}},{"../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(x,Se,ve){var ae=x("../internals/global");Se.exports=ae.Promise},{"../internals/global":163}],217:[function(x,Se,ve){var ae=x("../internals/an-object"),te=x("../internals/is-object"),le=x("../internals/new-promise-capability");Se.exports=function(de,se){if(ae(de),te(se)&&se.constructor===de)return se;var ue=le.f(de),oe=ue.resolve;return oe(se),ue.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(x,Se,ve){var ae=x("../internals/promise-native-constructor"),te=x("../internals/check-correctness-of-iteration"),le=x("../internals/promise-constructor-detection").CONSTRUCTOR;Se.exports=le||!te(function(de){ae.all(de).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(x,Se,ve){var ae=x("../internals/object-define-property").f;Se.exports=function(te,le,de){de in te||ae(te,de,{configurable:!0,get:function(){return le[de]},set:function(se){le[de]=se}})}},{"../internals/object-define-property":198}],220:[function(x,Se,ve){var ae=function(){this.head=null,this.tail=null};ae.prototype={add:function(te){var le={item:te,next:null};this.head?this.tail.next=le:this.head=le,this.tail=le},get:function(){var te=this.head;if(te)return this.head=te.next,this.tail===te&&(this.tail=null),te.item}},Se.exports=ae},{}],221:[function(x,Se,ve){var ae=x("../internals/redefine");Se.exports=function(te,le,de){for(var se in le)ae(te,se,le[se],de);return te}},{"../internals/redefine":222}],222:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/is-callable"),le=x("../internals/has-own-property"),de=x("../internals/create-non-enumerable-property"),se=x("../internals/set-global"),ue=x("../internals/inspect-source"),oe=x("../internals/internal-state"),ie=x("../internals/function-name").CONFIGURABLE,ne=oe.get,a=oe.enforce,y=String(String).split("String");(Se.exports=function(E,b,z,ee){var re=ee?!!ee.unsafe:!1,ce=ee?!!ee.enumerable:!1,me=ee?!!ee.noTargetGet:!1,he=ee&&ee.name!==void 0?ee.name:b,fe;if(te(z)&&(String(he).slice(0,7)==="Symbol("&&(he="["+String(he).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!le(z,"name")||ie&&z.name!==he)&&de(z,"name",he),fe=a(z),fe.source||(fe.source=y.join(typeof he=="string"?he:""))),E===ae){ce?E[b]=z:se(b,z);return}else re?!me&&E[b]&&(ce=!0):delete E[b];ce?E[b]=z:de(E,b,z)})(Function.prototype,"toString",function(){return te(this)&&ne(this).source||ue(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(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/function-call"),le=x("../internals/an-object"),de=x("../internals/is-callable"),se=x("../internals/classof-raw"),ue=x("../internals/regexp-exec"),oe=ae.TypeError;Se.exports=function(ie,ne){var a=ie.exec;if(de(a)){var y=te(a,ie,ne);return y!==null&&le(y),y}if(se(ie)==="RegExp")return te(ue,ie,ne);throw oe("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(x,Se,ve){"use strict";var ae=x("../internals/function-call"),te=x("../internals/function-uncurry-this"),le=x("../internals/to-string"),de=x("../internals/regexp-flags"),se=x("../internals/regexp-sticky-helpers"),ue=x("../internals/shared"),oe=x("../internals/object-create"),ie=x("../internals/internal-state").get,ne=x("../internals/regexp-unsupported-dot-all"),a=x("../internals/regexp-unsupported-ncg"),y=ue("native-string-replace",String.prototype.replace),E=RegExp.prototype.exec,b=E,z=te("".charAt),ee=te("".indexOf),re=te("".replace),ce=te("".slice),me=function(){var ge=/a/,ye=/b*/g;return ae(E,ge,"a"),ae(E,ye,"a"),ge.lastIndex!==0||ye.lastIndex!==0}(),he=se.BROKEN_CARET,fe=/()??/.exec("")[1]!==void 0,pe=me||fe||he||ne||a;pe&&(b=function(ye){var be=this,Ae=ie(be),Pe=le(ye),Le=Ae.raw,Ne,De,ze,et,Me,it,at;if(Le)return Le.lastIndex=be.lastIndex,Ne=ae(b,Le,Pe),be.lastIndex=Le.lastIndex,Ne;var Je=Ae.groups,Ye=he&&be.sticky,Ge=ae(de,be),_e=be.source,ke=0,rt=Pe;if(Ye&&(Ge=re(Ge,"y",""),ee(Ge,"g")===-1&&(Ge+="g"),rt=ce(Pe,be.lastIndex),be.lastIndex>0&&(!be.multiline||be.multiline&&z(Pe,be.lastIndex-1)!==` `)&&(_e="(?: "+_e+")",rt=" "+rt,ke++),De=new RegExp("^(?:"+_e+")",Ge)),fe&&(De=new RegExp("^"+_e+"$(?!\\s)",Ge)),me&&(ze=be.lastIndex),et=ae(E,Ye?De:be,rt),Ye?et?(et.input=ce(et.input,ke),et[0]=ce(et[0],ke),et.index=be.lastIndex,be.lastIndex+=et[0].length):be.lastIndex=0:me&&et&&(be.lastIndex=be.global?et.index+et[0].length:ze),fe&&et&&et.length>1&&ae(y,et[0],De,function(){for(Me=1;Meb)","g");return de.exec("b").groups.a!=="b"||"b".replace(de,"$c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(x,Se,ve){var ae=x("../internals/global"),te=ae.TypeError;Se.exports=function(le){if(le==null)throw te("Can't call method on "+le);return le}},{"../internals/global":163}],231:[function(x,Se,ve){Se.exports=Object.is||function(te,le){return te===le?te!==0||1/te===1/le:te!=te&&le!=le}},{}],232:[function(x,Se,ve){var ae=x("../internals/global"),te=Object.defineProperty;Se.exports=function(le,de){try{te(ae,le,{value:de,configurable:!0,writable:!0})}catch(se){ae[le]=de}return de}},{"../internals/global":163}],233:[function(x,Se,ve){"use strict";var ae=x("../internals/get-built-in"),te=x("../internals/object-define-property"),le=x("../internals/well-known-symbol"),de=x("../internals/descriptors"),se=le("species");Se.exports=function(ue){var oe=ae(ue),ie=te.f;de&&oe&&!oe[se]&&ie(oe,se,{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(x,Se,ve){var ae=x("../internals/object-define-property").f,te=x("../internals/has-own-property"),le=x("../internals/well-known-symbol"),de=le("toStringTag");Se.exports=function(se,ue,oe){se&&!oe&&(se=se.prototype),se&&!te(se,de)&&ae(se,de,{configurable:!0,value:ue})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(x,Se,ve){var ae=x("../internals/shared"),te=x("../internals/uid"),le=ae("keys");Se.exports=function(de){return le[de]||(le[de]=te(de))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/set-global"),le="__core-js_shared__",de=ae[le]||te(le,{});Se.exports=de},{"../internals/global":163,"../internals/set-global":232}],237:[function(x,Se,ve){var ae=x("../internals/is-pure"),te=x("../internals/shared-store");(Se.exports=function(le,de){return te[le]||(te[le]=de!==void 0?de:{})})("versions",[]).push({version:"3.22.1",mode:ae?"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(x,Se,ve){var ae=x("../internals/an-object"),te=x("../internals/a-constructor"),le=x("../internals/well-known-symbol"),de=le("species");Se.exports=function(se,ue){var oe=ae(se).constructor,ie;return oe===void 0||(ie=ae(oe)[de])==null?ue:te(ie)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(x,Se,ve){var ae=x("../internals/function-uncurry-this"),te=x("../internals/to-integer-or-infinity"),le=x("../internals/to-string"),de=x("../internals/require-object-coercible"),se=ae("".charAt),ue=ae("".charCodeAt),oe=ae("".slice),ie=function(ne){return function(a,y){var E=le(de(a)),b=te(y),z=E.length,ee,re;return b<0||b>=z?ne?"":void 0:(ee=ue(E,b),ee<55296||ee>56319||b+1===z||(re=ue(E,b+1))<56320||re>57343?ne?se(E,b):ee:ne?oe(E,b,b+2):(ee-55296<<10)+(re-56320)+65536)}};Se.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(x,Se,ve){var ae=x("../internals/function-name").PROPER,te=x("../internals/fails"),le=x("../internals/whitespaces"),de="\u200B\x85\u180E";Se.exports=function(se){return te(function(){return!!le[se]()||de[se]()!==de||ae&&le[se].name!==se})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(x,Se,ve){var ae=x("../internals/function-uncurry-this"),te=x("../internals/require-object-coercible"),le=x("../internals/to-string"),de=x("../internals/whitespaces"),se=ae("".replace),ue="["+de+"]",oe=RegExp("^"+ue+ue+"*"),ie=RegExp(ue+ue+"*$"),ne=function(a){return function(y){var E=le(te(y));return a&1&&(E=se(E,oe,"")),a&2&&(E=se(E,ie,"")),E}};Se.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(x,Se,ve){var ae=x("../internals/function-call"),te=x("../internals/get-built-in"),le=x("../internals/well-known-symbol"),de=x("../internals/redefine");Se.exports=function(){var se=te("Symbol"),ue=se&&se.prototype,oe=ue&&ue.valueOf,ie=le("toPrimitive");ue&&!ue[ie]&&de(ue,ie,function(ne){return ae(oe,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/function-apply"),le=x("../internals/function-bind-context"),de=x("../internals/is-callable"),se=x("../internals/has-own-property"),ue=x("../internals/fails"),oe=x("../internals/html"),ie=x("../internals/array-slice"),ne=x("../internals/document-create-element"),a=x("../internals/validate-arguments-length"),y=x("../internals/engine-is-ios"),E=x("../internals/engine-is-node"),b=ae.setImmediate,z=ae.clearImmediate,ee=ae.process,re=ae.Dispatch,ce=ae.Function,me=ae.MessageChannel,he=ae.String,fe=0,pe={},ge="onreadystatechange",ye,be,Ae,Pe;try{ye=ae.location}catch(et){}var Le=function(et){if(se(pe,et)){var Me=pe[et];delete pe[et],Me()}},Ne=function(et){return function(){Le(et)}},De=function(et){Le(et.data)},ze=function(et){ae.postMessage(he(et),ye.protocol+"//"+ye.host)};(!b||!z)&&(b=function(Me){a(arguments.length,1);var it=de(Me)?Me:ce(Me),at=ie(arguments,1);return pe[++fe]=function(){te(it,void 0,at)},be(fe),fe},z=function(Me){delete pe[Me]},E?be=function(et){ee.nextTick(Ne(et))}:re&&re.now?be=function(et){re.now(Ne(et))}:me&&!y?(Ae=new me,Pe=Ae.port2,Ae.port1.onmessage=De,be=le(Pe.postMessage,Pe)):ae.addEventListener&&de(ae.postMessage)&&!ae.importScripts&&ye&&ye.protocol!=="file:"&&!ue(ze)?(be=ze,ae.addEventListener("message",De,!1)):ge in ne("script")?be=function(et){oe.appendChild(ne("script"))[ge]=function(){oe.removeChild(this),Le(et)}}:be=function(et){setTimeout(Ne(et),0)}),Se.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(x,Se,ve){var ae=x("../internals/function-uncurry-this");Se.exports=ae(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(x,Se,ve){var ae=x("../internals/to-integer-or-infinity"),te=Math.max,le=Math.min;Se.exports=function(de,se){var ue=ae(de);return ue<0?te(ue+se,0):le(ue,se)}},{"../internals/to-integer-or-infinity":248}],246:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/to-integer-or-infinity"),le=x("../internals/to-length"),de=ae.RangeError;Se.exports=function(se){if(se===void 0)return 0;var ue=te(se),oe=le(ue);if(ue!==oe)throw de("Wrong length or index");return oe}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(x,Se,ve){var ae=x("../internals/indexed-object"),te=x("../internals/require-object-coercible");Se.exports=function(le){return ae(te(le))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(x,Se,ve){var ae=Math.ceil,te=Math.floor;Se.exports=function(le){var de=+le;return de!==de||de===0?0:(de>0?te:ae)(de)}},{}],249:[function(x,Se,ve){var ae=x("../internals/to-integer-or-infinity"),te=Math.min;Se.exports=function(le){return le>0?te(ae(le),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/require-object-coercible"),le=ae.Object;Se.exports=function(de){return le(te(de))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/to-positive-integer"),le=ae.RangeError;Se.exports=function(de,se){var ue=te(de);if(ue%se)throw le("Wrong offset");return ue}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/to-integer-or-infinity"),le=ae.RangeError;Se.exports=function(de){var se=te(de);if(se<0)throw le("The argument can't be less than 0");return se}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/function-call"),le=x("../internals/is-object"),de=x("../internals/is-symbol"),se=x("../internals/get-method"),ue=x("../internals/ordinary-to-primitive"),oe=x("../internals/well-known-symbol"),ie=ae.TypeError,ne=oe("toPrimitive");Se.exports=function(a,y){if(!le(a)||de(a))return a;var E=se(a,ne),b;if(E){if(y===void 0&&(y="default"),b=te(E,a,y),!le(b)||de(b))return b;throw ie("Can't convert object to primitive value")}return y===void 0&&(y="number"),ue(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(x,Se,ve){var ae=x("../internals/to-primitive"),te=x("../internals/is-symbol");Se.exports=function(le){var de=ae(le,"string");return te(de)?de:de+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(x,Se,ve){var ae=x("../internals/well-known-symbol"),te=ae("toStringTag"),le={};le[te]="z",Se.exports=String(le)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/classof"),le=ae.String;Se.exports=function(de){if(te(de)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return le(de)}},{"../internals/classof":124,"../internals/global":163}],257:[function(x,Se,ve){var ae=x("../internals/global"),te=ae.String;Se.exports=function(le){try{return te(le)}catch(de){return"Object"}}},{"../internals/global":163}],258:[function(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/global"),le=x("../internals/function-call"),de=x("../internals/descriptors"),se=x("../internals/typed-array-constructors-require-wrappers"),ue=x("../internals/array-buffer-view-core"),oe=x("../internals/array-buffer"),ie=x("../internals/an-instance"),ne=x("../internals/create-property-descriptor"),a=x("../internals/create-non-enumerable-property"),y=x("../internals/is-integral-number"),E=x("../internals/to-length"),b=x("../internals/to-index"),z=x("../internals/to-offset"),ee=x("../internals/to-property-key"),re=x("../internals/has-own-property"),ce=x("../internals/classof"),me=x("../internals/is-object"),he=x("../internals/is-symbol"),fe=x("../internals/object-create"),pe=x("../internals/object-is-prototype-of"),ge=x("../internals/object-set-prototype-of"),ye=x("../internals/object-get-own-property-names").f,be=x("../internals/typed-array-from"),Ae=x("../internals/array-iteration").forEach,Pe=x("../internals/set-species"),Le=x("../internals/object-define-property"),Ne=x("../internals/object-get-own-property-descriptor"),De=x("../internals/internal-state"),ze=x("../internals/inherit-if-required"),et=De.get,Me=De.set,it=Le.f,at=Ne.f,Je=Math.round,Ye=te.RangeError,Ge=oe.ArrayBuffer,_e=Ge.prototype,ke=oe.DataView,rt=ue.NATIVE_ARRAY_BUFFER_VIEWS,Ve=ue.TYPED_ARRAY_CONSTRUCTOR,ut=ue.TYPED_ARRAY_TAG,We=ue.TypedArray,Re=ue.TypedArrayPrototype,Te=ue.aTypedArrayConstructor,Ke=ue.isTypedArray,Ee="BYTES_PER_ELEMENT",Ie="Wrong length",Xe=function(je,Ue){Te(je);for(var ot=0,$e=Ue.length,st=new je($e);$e>ot;)st[ot]=Ue[ot++];return st},Ze=function(je,Ue){it(je,Ue,{get:function(){return et(this)[Ue]}})},Fe=function(je){var Ue;return pe(_e,je)||(Ue=ce(je))=="ArrayBuffer"||Ue=="SharedArrayBuffer"},xe=function(je,Ue){return Ke(je)&&!he(Ue)&&Ue in je&&y(+Ue)&&Ue>=0},Ce=function(Ue,ot){return ot=ee(ot),xe(Ue,ot)?ne(2,Ue[ot]):at(Ue,ot)},we=function(Ue,ot,$e){return ot=ee(ot),xe(Ue,ot)&&me($e)&&re($e,"value")&&!re($e,"get")&&!re($e,"set")&&!$e.configurable&&(!re($e,"writable")||$e.writable)&&(!re($e,"enumerable")||$e.enumerable)?(Ue[ot]=$e.value,Ue):it(Ue,ot,$e)};de?(rt||(Ne.f=Ce,Le.f=we,Ze(Re,"buffer"),Ze(Re,"byteOffset"),Ze(Re,"byteLength"),Ze(Re,"length")),ae({target:"Object",stat:!0,forced:!rt},{getOwnPropertyDescriptor:Ce,defineProperty:we}),Se.exports=function(je,Ue,ot){var $e=je.match(/\d+$/)[0]/8,st=je+(ot?"Clamped":"")+"Array",St="get"+je,ft="set"+je,yt=te[st],lt=yt,pt=lt&<.prototype,tt={},Qe=function(Pt,jt){var Dt=et(Pt);return Dt.view[St](jt*$e+Dt.byteOffset,!0)},dt=function(Pt,jt,Dt){var $t=et(Pt);ot&&(Dt=(Dt=Je(Dt))<0?0:Dt>255?255:Dt&255),$t.view[ft](jt*$e+$t.byteOffset,Dt,!0)},mt=function(Pt,jt){it(Pt,jt,{get:function(){return Qe(this,jt)},set:function(Dt){return dt(this,jt,Dt)},enumerable:!0})};rt?se&&(lt=Ue(function(Pt,jt,Dt,$t){return ie(Pt,pt),ze(function(){return me(jt)?Fe(jt)?$t!==void 0?new yt(jt,z(Dt,$e),$t):Dt!==void 0?new yt(jt,z(Dt,$e)):new yt(jt):Ke(jt)?Xe(lt,jt):le(be,lt,jt):new yt(b(jt))}(),Pt,lt)}),ge&&ge(lt,We),Ae(ye(yt),function(Pt){Pt in lt||a(lt,Pt,yt[Pt])}),lt.prototype=pt):(lt=Ue(function(Pt,jt,Dt,$t){ie(Pt,pt);var qt=0,Vt=0,Jt,en,Pn;if(!me(jt))Pn=b(jt),en=Pn*$e,Jt=new Ge(en);else if(Fe(jt)){Jt=jt,Vt=z(Dt,$e);var In=jt.byteLength;if($t===void 0){if(In%$e||(en=In-Vt,en<0))throw Ye(Ie)}else if(en=E($t)*$e,en+Vt>In)throw Ye(Ie);Pn=en/$e}else return Ke(jt)?Xe(lt,jt):le(be,lt,jt);for(Me(Pt,{buffer:Jt,byteOffset:Vt,byteLength:en,length:Pn,view:new ke(Jt)});qt1?arguments[1]:void 0,re=ee!==void 0,ce=oe(b),me,he,fe,pe,ge,ye;if(ce&&!ie(ce))for(ge=ue(b,ce),ye=ge.next,b=[];!(pe=te(ye,ge)).done;)b.push(pe.value);for(re&&z>2&&(ee=ae(ee,arguments[2])),he=se(b),fe=new(ne(E))(he),me=0;he>me;me++)fe[me]=re?ee(b[me],me):b[me];return fe}},{"../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(x,Se,ve){var ae=x("../internals/array-buffer-view-core"),te=x("../internals/species-constructor"),le=ae.TYPED_ARRAY_CONSTRUCTOR,de=ae.aTypedArrayConstructor;Se.exports=function(se){return de(te(se,se[le]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(x,Se,ve){var ae=x("../internals/function-uncurry-this"),te=0,le=Math.random(),de=ae(1 .toString);Se.exports=function(se){return"Symbol("+(se===void 0?"":se)+")_"+de(++te+le,36)}},{"../internals/function-uncurry-this":157}],264:[function(x,Se,ve){var ae=x("../internals/native-symbol");Se.exports=ae&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(x,Se,ve){var ae=x("../internals/descriptors"),te=x("../internals/fails");Se.exports=ae&&te(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(x,Se,ve){var ae=x("../internals/global"),te=ae.TypeError;Se.exports=function(le,de){if(le=51||!le(function(){var pe=[];return pe[b]=!1,pe.concat()[0]!==pe}),me=a("concat"),he=function(pe){if(!se(pe))return!1;var ge=pe[b];return ge!==void 0?!!ge:de(pe)},fe=!ce||!me;ae({target:"Array",proto:!0,forced:fe},{concat:function(ge){var ye=ue(this),be=ne(ye,0),Ae=0,Pe,Le,Ne,De,ze;for(Pe=-1,Ne=arguments.length;Pez)throw re(ee);for(Le=0;Le=z)throw re(ee);ie(be,Ae++,ze)}return be.length=Ae,be}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(x,Se,ve){var ae=x("../internals/export"),te=x("../internals/array-fill"),le=x("../internals/add-to-unscopables");ae({target:"Array",proto:!0},{fill:te}),le("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/array-iteration").filter,le=x("../internals/array-method-has-species-support"),de=le("filter");ae({target:"Array",proto:!0,forced:!de},{filter:function(ue){return te(this,ue,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/array-iteration").find,le=x("../internals/add-to-unscopables"),de="find",se=!0;de in[]&&Array(1)[de](function(){se=!1}),ae({target:"Array",proto:!0,forced:se},{find:function(oe){return te(this,oe,arguments.length>1?arguments[1]:void 0)}}),le(de)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(x,Se,ve){var ae=x("../internals/export"),te=x("../internals/array-from"),le=x("../internals/check-correctness-of-iteration"),de=!le(function(se){Array.from(se)});ae({target:"Array",stat:!0,forced:de},{from:te})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/array-includes").includes,le=x("../internals/add-to-unscopables");ae({target:"Array",proto:!0},{includes:function(se){return te(this,se,arguments.length>1?arguments[1]:void 0)}}),le("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(x,Se,ve){"use strict";var ae=x("../internals/to-indexed-object"),te=x("../internals/add-to-unscopables"),le=x("../internals/iterators"),de=x("../internals/internal-state"),se=x("../internals/object-define-property").f,ue=x("../internals/define-iterator"),oe=x("../internals/is-pure"),ie=x("../internals/descriptors"),ne="Array Iterator",a=de.set,y=de.getterFor(ne);Se.exports=ue(Array,"Array",function(b,z){a(this,{type:ne,target:ae(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 E=le.Arguments=le.Array;if(te("keys"),te("values"),te("entries"),!oe&&ie&&E.name!=="values")try{se(E,"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(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/function-uncurry-this"),le=x("../internals/indexed-object"),de=x("../internals/to-indexed-object"),se=x("../internals/array-method-is-strict"),ue=te([].join),oe=le!=Object,ie=se("join",",");ae({target:"Array",proto:!0,forced:oe||!ie},{join:function(a){return ue(de(this),a===void 0?",":a)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/array-iteration").map,le=x("../internals/array-method-has-species-support"),de=le("map");ae({target:"Array",proto:!0,forced:!de},{map:function(ue){return te(this,ue,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/global"),le=x("../internals/is-array"),de=x("../internals/is-constructor"),se=x("../internals/is-object"),ue=x("../internals/to-absolute-index"),oe=x("../internals/length-of-array-like"),ie=x("../internals/to-indexed-object"),ne=x("../internals/create-property"),a=x("../internals/well-known-symbol"),y=x("../internals/array-method-has-species-support"),E=x("../internals/array-slice"),b=y("slice"),z=a("species"),ee=te.Array,re=Math.max;ae({target:"Array",proto:!0,forced:!b},{slice:function(me,he){var fe=ie(this),pe=oe(fe),ge=ue(me,pe),ye=ue(he===void 0?pe:he,pe),be,Ae,Pe;if(le(fe)&&(be=fe.constructor,de(be)&&(be===ee||le(be.prototype))?be=void 0:se(be)&&(be=be[z],be===null&&(be=void 0)),be===ee||be===void 0))return E(fe,ge,ye);for(Ae=new(be===void 0?ee:be)(re(ye-ge,0)),Pe=0;ge3)){if(y)return!0;if(b)return b<603;var ye="",be,Ae,Pe,Le;for(be=65;be<76;be++){switch(Ae=String.fromCharCode(be),be){case 66:case 69:case 70:case 72:Pe=3;break;case 68:case 71:Pe=4;break;default:Pe=2}for(Le=0;Le<47;Le++)z.push({k:Ae+Le,v:Pe})}for(z.sort(function(Ne,De){return De.v-Ne.v}),Le=0;Leue(Ae)?1:-1}};ae({target:"Array",proto:!0,forced:pe},{sort:function(be){be!==void 0&&le(be);var Ae=de(this);if(fe)return be===void 0?ee(Ae):ee(Ae,be);var Pe=[],Le=se(Ae),Ne,De;for(De=0;Dez)throw y(ee);for(Ae=oe(he,be),Pe=0;Pefe-be+ye;Pe--)delete he[Pe-1]}else if(ye>be)for(Pe=fe-be;Pe>pe;Pe--)Le=Pe+be-1,Ne=Pe+ye-1,Le in he?he[Ne]=he[Le]:delete he[Ne];for(Pe=0;Pe2){if(ze=re(ze),et=ge(ze,0),et===43||et===45){if(Me=ge(ze,2),Me===88||Me===120)return NaN}else if(et===48){switch(ge(ze,1)){case 66:case 98:it=2,at=49;break;case 79:case 111:it=8,at=55;break;default:return+ze}for(Je=pe(ze,2),Ye=Je.length,Ge=0;Geat)return NaN;return parseInt(Je,it)}}return+ze};if(de(ce,!me(" 0o1")||!me("0b1")||me("+0x1"))){for(var Ae=function(ze){var et=arguments.length<1?0:me(ye(ze)),Me=this;return ie(he,Me)&&y(function(){ee(Me)})?oe(Object(et),Me,Ae):et},Pe=ae?E(me):"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(","),Le=0,Ne;Pe.length>Le;Le++)ue(me,Ne=Pe[Le])&&!ue(Ae,Ne)&&z(Ae,Ne,b(me,Ne));Ae.prototype=he,he.constructor=Ae,se(te,ce,Ae)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(x,Se,ve){var ae=x("../internals/export"),te=x("../internals/object-assign");ae({target:"Object",stat:!0,forced:Object.assign!==te},{assign:te})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(x,Se,ve){var ae=x("../internals/export"),te=x("../internals/object-to-array").entries;ae({target:"Object",stat:!0},{entries:function(de){return te(de)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(x,Se,ve){var ae=x("../internals/export"),te=x("../internals/native-symbol"),le=x("../internals/fails"),de=x("../internals/object-get-own-property-symbols"),se=x("../internals/to-object"),ue=!te||le(function(){de.f(1)});ae({target:"Object",stat:!0,forced:ue},{getOwnPropertySymbols:function(ie){var ne=de.f;return ne?ne(se(ie)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(x,Se,ve){var ae=x("../internals/export"),te=x("../internals/to-object"),le=x("../internals/object-keys"),de=x("../internals/fails"),se=de(function(){le(1)});ae({target:"Object",stat:!0,forced:se},{keys:function(oe){return le(te(oe))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(x,Se,ve){var ae=x("../internals/to-string-tag-support"),te=x("../internals/redefine"),le=x("../internals/object-to-string");ae||te(Object.prototype,"toString",le,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/function-call"),le=x("../internals/a-callable"),de=x("../internals/new-promise-capability"),se=x("../internals/perform"),ue=x("../internals/iterate"),oe=x("../internals/promise-statics-incorrect-iteration");ae({target:"Promise",stat:!0,forced:oe},{all:function(ne){var a=this,y=de.f(a),E=y.resolve,b=y.reject,z=se(function(){var ee=le(a.resolve),re=[],ce=0,me=1;ue(ne,function(he){var fe=ce++,pe=!1;me++,te(ee,a,he).then(function(ge){pe||(pe=!0,re[fe]=ge,--me||E(re))},b)}),--me||E(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(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/is-pure"),le=x("../internals/promise-constructor-detection").CONSTRUCTOR,de=x("../internals/promise-native-constructor"),se=x("../internals/get-built-in"),ue=x("../internals/is-callable"),oe=x("../internals/redefine"),ie=de&&de.prototype;if(ae({target:"Promise",proto:!0,forced:le,real:!0},{catch:function(a){return this.then(void 0,a)}}),!te&&ue(de)){var ne=se("Promise").prototype.catch;ie.catch!==ne&&oe(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(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/is-pure"),le=x("../internals/engine-is-node"),de=x("../internals/global"),se=x("../internals/function-call"),ue=x("../internals/redefine"),oe=x("../internals/redefine-all"),ie=x("../internals/object-set-prototype-of"),ne=x("../internals/set-to-string-tag"),a=x("../internals/set-species"),y=x("../internals/a-callable"),E=x("../internals/is-callable"),b=x("../internals/is-object"),z=x("../internals/an-instance"),ee=x("../internals/species-constructor"),re=x("../internals/task").set,ce=x("../internals/microtask"),me=x("../internals/host-report-errors"),he=x("../internals/perform"),fe=x("../internals/queue"),pe=x("../internals/internal-state"),ge=x("../internals/promise-native-constructor"),ye=x("../internals/promise-constructor-detection"),be=x("../internals/new-promise-capability"),Ae="Promise",Pe=ye.CONSTRUCTOR,Le=ye.REJECTION_EVENT,Ne=ye.SUBCLASSING,De=pe.getterFor(Ae),ze=pe.set,et=ge&&ge.prototype,Me=ge,it=et,at=de.TypeError,Je=de.document,Ye=de.process,Ge=be.f,_e=Ge,ke=!!(Je&&Je.createEvent&&de.dispatchEvent),rt="unhandledrejection",Ve="rejectionhandled",ut=0,We=1,Re=2,Te=1,Ke=2,Ee,Ie,Xe,Ze,Fe=function(ft){var yt;return b(ft)&&E(yt=ft.then)?yt:!1},xe=function(ft,yt){var lt=yt.value,pt=yt.state==We,tt=pt?ft.ok:ft.fail,Qe=ft.resolve,dt=ft.reject,mt=ft.domain,Pt,jt,Dt;try{tt?(pt||(yt.rejection===Ke&&ot(yt),yt.rejection=Te),tt===!0?Pt=lt:(mt&&mt.enter(),Pt=tt(lt),mt&&(mt.exit(),Dt=!0)),Pt===ft.promise?dt(at("Promise-chain cycle")):(jt=Fe(Pt))?se(jt,Pt,Qe,dt):Qe(Pt)):dt(lt)}catch($t){mt&&!Dt&&mt.exit(),dt($t)}},Ce=function(ft,yt){ft.notified||(ft.notified=!0,ce(function(){for(var lt=ft.reactions,pt;pt=lt.get();)xe(pt,ft);ft.notified=!1,yt&&!ft.rejection&&je(ft)}))},we=function(ft,yt,lt){var pt,tt;ke?(pt=Je.createEvent("Event"),pt.promise=yt,pt.reason=lt,pt.initEvent(ft,!1,!0),de.dispatchEvent(pt)):pt={promise:yt,reason:lt},!Le&&(tt=de["on"+ft])?tt(pt):ft===rt&&me("Unhandled promise rejection",lt)},je=function(ft){se(re,de,function(){var yt=ft.facade,lt=ft.value,pt=Ue(ft),tt;if(pt&&(tt=he(function(){le?Ye.emit("unhandledRejection",lt,yt):we(rt,yt,lt)}),ft.rejection=le||Ue(ft)?Ke:Te,tt.error))throw tt.value})},Ue=function(ft){return ft.rejection!==Te&&!ft.parent},ot=function(ft){se(re,de,function(){var yt=ft.facade;le?Ye.emit("rejectionHandled",yt):we(Ve,yt,ft.value)})},$e=function(ft,yt,lt){return function(pt){ft(yt,pt,lt)}},st=function(ft,yt,lt){ft.done||(ft.done=!0,lt&&(ft=lt),ft.value=yt,ft.state=Re,Ce(ft,!0))},St=function(ft,yt,lt){if(!ft.done){ft.done=!0,lt&&(ft=lt);try{if(ft.facade===yt)throw at("Promise can't be resolved itself");var pt=Fe(yt);pt?ce(function(){var tt={done:!1};try{se(pt,yt,$e(St,tt,ft),$e(st,tt,ft))}catch(Qe){st(tt,Qe,ft)}}):(ft.value=yt,ft.state=We,Ce(ft,!1))}catch(tt){st({done:!1},tt,ft)}}};if(Pe&&(Me=function(yt){z(this,it),y(yt),se(Ee,this);var lt=De(this);try{yt($e(St,lt),$e(st,lt))}catch(pt){st(lt,pt)}},it=Me.prototype,Ee=function(yt){ze(this,{type:Ae,done:!1,notified:!1,parent:!1,reactions:new fe,rejection:!1,state:ut,value:void 0})},Ee.prototype=oe(it,{then:function(yt,lt){var pt=De(this),tt=Ge(ee(this,Me));return pt.parent=!0,tt.ok=E(yt)?yt:!0,tt.fail=E(lt)&<,tt.domain=le?Ye.domain:void 0,pt.state==ut?pt.reactions.add(tt):ce(function(){xe(tt,pt)}),tt.promise}}),Ie=function(){var ft=new Ee,yt=De(ft);this.promise=ft,this.resolve=$e(St,yt),this.reject=$e(st,yt)},be.f=Ge=function(ft){return ft===Me||ft===Xe?new Ie(ft):_e(ft)},!te&&E(ge)&&et!==Object.prototype)){Ze=et.then,Ne||ue(et,"then",function(yt,lt){var pt=this;return new Me(function(tt,Qe){se(Ze,pt,tt,Qe)}).then(yt,lt)},{unsafe:!0});try{delete et.constructor}catch(ft){}ie&&ie(et,it)}ae({global:!0,wrap:!0,forced:Pe},{Promise:Me}),ne(Me,Ae,!1,!0),a(Ae)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(x,Se,ve){x("../modules/es.promise.constructor"),x("../modules/es.promise.all"),x("../modules/es.promise.catch"),x("../modules/es.promise.race"),x("../modules/es.promise.reject"),x("../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(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/function-call"),le=x("../internals/a-callable"),de=x("../internals/new-promise-capability"),se=x("../internals/perform"),ue=x("../internals/iterate"),oe=x("../internals/promise-statics-incorrect-iteration");ae({target:"Promise",stat:!0,forced:oe},{race:function(ne){var a=this,y=de.f(a),E=y.reject,b=se(function(){var z=le(a.resolve);ue(ne,function(ee){te(z,a,ee).then(y.resolve,E)})});return b.error&&E(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(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/function-call"),le=x("../internals/new-promise-capability"),de=x("../internals/promise-constructor-detection").CONSTRUCTOR;ae({target:"Promise",stat:!0,forced:de},{reject:function(ue){var oe=le.f(this);return te(oe.reject,void 0,ue),oe.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/get-built-in"),le=x("../internals/is-pure"),de=x("../internals/promise-native-constructor"),se=x("../internals/promise-constructor-detection").CONSTRUCTOR,ue=x("../internals/promise-resolve"),oe=te("Promise"),ie=le&&!se;ae({target:"Promise",stat:!0,forced:le||se},{resolve:function(a){return ue(ie&&this===oe?de:this,a)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(x,Se,ve){var ae=x("../internals/descriptors"),te=x("../internals/global"),le=x("../internals/function-uncurry-this"),de=x("../internals/is-forced"),se=x("../internals/inherit-if-required"),ue=x("../internals/create-non-enumerable-property"),oe=x("../internals/object-get-own-property-names").f,ie=x("../internals/object-is-prototype-of"),ne=x("../internals/is-regexp"),a=x("../internals/to-string"),y=x("../internals/regexp-get-flags"),E=x("../internals/regexp-sticky-helpers"),b=x("../internals/proxy-accessor"),z=x("../internals/redefine"),ee=x("../internals/fails"),re=x("../internals/has-own-property"),ce=x("../internals/internal-state").enforce,me=x("../internals/set-species"),he=x("../internals/well-known-symbol"),fe=x("../internals/regexp-unsupported-dot-all"),pe=x("../internals/regexp-unsupported-ncg"),ge=he("match"),ye=te.RegExp,be=ye.prototype,Ae=te.SyntaxError,Pe=le(be.exec),Le=le("".charAt),Ne=le("".replace),De=le("".indexOf),ze=le("".slice),et=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Me=/a/g,it=/a/g,at=new ye(Me)!==Me,Je=E.MISSED_STICKY,Ye=E.UNSUPPORTED_Y,Ge=ae&&(!at||Je||fe||pe||ee(function(){return it[ge]=!1,ye(Me)!=Me||ye(it)==it||ye(Me,"i")!="/a/i"})),_e=function(We){for(var Re=We.length,Te=0,Ke="",Ee=!1,Ie;Te<=Re;Te++){if(Ie=Le(We,Te),Ie==="\\"){Ke+=Ie+Le(We,++Te);continue}!Ee&&Ie==="."?Ke+="[\\s\\S]":(Ie==="["?Ee=!0:Ie==="]"&&(Ee=!1),Ke+=Ie)}return Ke},ke=function(We){for(var Re=We.length,Te=0,Ke="",Ee=[],Ie={},Xe=!1,Ze=!1,Fe=0,xe="",Ce;Te<=Re;Te++){if(Ce=Le(We,Te),Ce==="\\")Ce=Ce+Le(We,++Te);else if(Ce==="]")Xe=!1;else if(!Xe)switch(!0){case Ce==="[":Xe=!0;break;case Ce==="(":Pe(et,ze(We,Te+1))&&(Te+=2,Ze=!0),Ke+=Ce,Fe++;continue;case(Ce===">"&&Ze):if(xe===""||re(Ie,xe))throw new Ae("Invalid capture group name");Ie[xe]=!0,Ee[Ee.length]=[xe,Fe],Ze=!1,xe="";continue}Ze?xe+=Ce:Ke+=Ce}return[Ke,Ee]};if(de("RegExp",Ge)){for(var rt=function(Re,Te){var Ke=ie(be,this),Ee=ne(Re),Ie=Te===void 0,Xe=[],Ze=Re,Fe,xe,Ce,we,je,Ue;if(!Ke&&Ee&&Ie&&Re.constructor===rt)return Re;if((Ee||ie(be,Re))&&(Re=Re.source,Ie&&(Te=y(Ze))),Re=Re===void 0?"":a(Re),Te=Te===void 0?"":a(Te),Ze=Re,fe&&"dotAll"in Me&&(xe=!!Te&&De(Te,"s")>-1,xe&&(Te=Ne(Te,/s/g,""))),Fe=Te,Je&&"sticky"in Me&&(Ce=!!Te&&De(Te,"y")>-1,Ce&&Ye&&(Te=Ne(Te,/y/g,""))),pe&&(we=ke(Re),Re=we[0],Xe=we[1]),je=se(ye(Re,Te),Ke?this:be,rt),(xe||Ce||Xe.length)&&(Ue=ce(je),xe&&(Ue.dotAll=!0,Ue.raw=rt(_e(Re),Fe)),Ce&&(Ue.sticky=!0),Xe.length&&(Ue.groups=Xe)),Re!==Ze)try{ue(je,"source",Ze===""?"(?:)":Ze)}catch(ot){}return je},Ve=oe(ye),ut=0;Ve.length>ut;)b(rt,ye,Ve[ut++]);be.constructor=rt,rt.prototype=be,z(te,"RegExp",rt)}me("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(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/regexp-exec");ae({target:"RegExp",proto:!0,forced:/./.exec!==te},{exec:te})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(x,Se,ve){"use strict";var ae=x("../internals/function-name").PROPER,te=x("../internals/redefine"),le=x("../internals/an-object"),de=x("../internals/to-string"),se=x("../internals/fails"),ue=x("../internals/regexp-get-flags"),oe="toString",ie=RegExp.prototype,ne=ie[oe],a=se(function(){return ne.call({source:"a",flags:"b"})!="/a/b"}),y=ae&&ne.name!=oe;(a||y)&&te(RegExp.prototype,oe,function(){var b=le(this),z=de(b.source),ee=de(ue(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(x,Se,ve){"use strict";var ae=x("../internals/export"),te=x("../internals/function-uncurry-this"),le=x("../internals/not-a-regexp"),de=x("../internals/require-object-coercible"),se=x("../internals/to-string"),ue=x("../internals/correct-is-regexp-logic"),oe=te("".indexOf);ae({target:"String",proto:!0,forced:!ue("includes")},{includes:function(ne){return!!~oe(se(de(this)),se(le(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(x,Se,ve){"use strict";var ae=x("../internals/string-multibyte").charAt,te=x("../internals/to-string"),le=x("../internals/internal-state"),de=x("../internals/define-iterator"),se="String Iterator",ue=le.set,oe=le.getterFor(se);de(String,"String",function(ie){ue(this,{type:se,string:te(ie),index:0})},function(){var ne=oe(this),a=ne.string,y=ne.index,E;return y>=a.length?{value:void 0,done:!0}:(E=ae(a,y),ne.index+=E.length,{value:E,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(x,Se,ve){"use strict";var ae=x("../internals/function-call"),te=x("../internals/fix-regexp-well-known-symbol-logic"),le=x("../internals/an-object"),de=x("../internals/to-length"),se=x("../internals/to-string"),ue=x("../internals/require-object-coercible"),oe=x("../internals/get-method"),ie=x("../internals/advance-string-index"),ne=x("../internals/regexp-exec-abstract");te("match",function(a,y,E){return[function(z){var ee=ue(this),re=z==null?void 0:oe(z,a);return re?ae(re,z,ee):new RegExp(z)[a](se(ee))},function(b){var z=le(this),ee=se(b),re=E(y,z,ee);if(re.done)return re.value;if(!z.global)return ne(z,ee);var ce=z.unicode;z.lastIndex=0;for(var me=[],he=0,fe;(fe=ne(z,ee))!==null;){var pe=se(fe[0]);me[he]=pe,pe===""&&(z.lastIndex=ie(ee,de(z.lastIndex),ce)),he++}return he===0?null:me}]})},{"../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(x,Se,ve){"use strict";var ae=x("../internals/function-apply"),te=x("../internals/function-call"),le=x("../internals/function-uncurry-this"),de=x("../internals/fix-regexp-well-known-symbol-logic"),se=x("../internals/fails"),ue=x("../internals/an-object"),oe=x("../internals/is-callable"),ie=x("../internals/to-integer-or-infinity"),ne=x("../internals/to-length"),a=x("../internals/to-string"),y=x("../internals/require-object-coercible"),E=x("../internals/advance-string-index"),b=x("../internals/get-method"),z=x("../internals/get-substitution"),ee=x("../internals/regexp-exec-abstract"),re=x("../internals/well-known-symbol"),ce=re("replace"),me=Math.max,he=Math.min,fe=le([].concat),pe=le([].push),ge=le("".indexOf),ye=le("".slice),be=function(Ne){return Ne===void 0?Ne:String(Ne)},Ae=function(){return"a".replace(/./,"$0")==="$0"}(),Pe=function(){return/./[ce]?/./[ce]("a","$0")==="":!1}(),Le=!se(function(){var Ne=/./;return Ne.exec=function(){var De=[];return De.groups={a:"7"},De},"".replace(Ne,"$")!=="7"});de("replace",function(Ne,De,ze){var et=Pe?"$":"$0";return[function(it,at){var Je=y(this),Ye=it==null?void 0:b(it,ce);return Ye?te(Ye,it,Je,at):te(De,a(Je),it,at)},function(Me,it){var at=ue(this),Je=a(Me);if(typeof it=="string"&&ge(it,et)===-1&&ge(it,"$<")===-1){var Ye=ze(De,at,Je,it);if(Ye.done)return Ye.value}var Ge=oe(it);Ge||(it=a(it));var _e=at.global;if(_e){var ke=at.unicode;at.lastIndex=0}for(var rt=[];;){var Ve=ee(at,Je);if(Ve===null||(pe(rt,Ve),!_e))break;var ut=a(Ve[0]);ut===""&&(at.lastIndex=E(Je,ne(at.lastIndex),ke))}for(var We="",Re=0,Te=0;Te=Re&&(We+=ye(Je,Re,Ee)+xe,Re=Ee+Ke.length)}return We+ye(Je,Re)}]},!Le||!Ae||Pe)},{"../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(x,Se,ve){"use strict";var ae=x("../internals/function-call"),te=x("../internals/fix-regexp-well-known-symbol-logic"),le=x("../internals/an-object"),de=x("../internals/require-object-coercible"),se=x("../internals/same-value"),ue=x("../internals/to-string"),oe=x("../internals/get-method"),ie=x("../internals/regexp-exec-abstract");te("search",function(ne,a,y){return[function(b){var z=de(this),ee=b==null?void 0:oe(b,ne);return ee?ae(ee,b,z):new RegExp(b)[ne](ue(z))},function(E){var b=le(this),z=ue(E),ee=y(a,b,z);if(ee.done)return ee.value;var re=b.lastIndex;se(re,0)||(b.lastIndex=0);var ce=ie(b,z);return se(b.lastIndex,re)||(b.lastIndex=re),ce===null?-1:ce.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(x,Se,ve){"use strict";var ae=x("../internals/function-apply"),te=x("../internals/function-call"),le=x("../internals/function-uncurry-this"),de=x("../internals/fix-regexp-well-known-symbol-logic"),se=x("../internals/is-regexp"),ue=x("../internals/an-object"),oe=x("../internals/require-object-coercible"),ie=x("../internals/species-constructor"),ne=x("../internals/advance-string-index"),a=x("../internals/to-length"),y=x("../internals/to-string"),E=x("../internals/get-method"),b=x("../internals/array-slice-simple"),z=x("../internals/regexp-exec-abstract"),ee=x("../internals/regexp-exec"),re=x("../internals/regexp-sticky-helpers"),ce=x("../internals/fails"),me=re.UNSUPPORTED_Y,he=4294967295,fe=Math.min,pe=[].push,ge=le(/./.exec),ye=le(pe),be=le("".slice),Ae=!ce(function(){var Pe=/(?:)/,Le=Pe.exec;Pe.exec=function(){return Le.apply(this,arguments)};var Ne="ab".split(Pe);return Ne.length!==2||Ne[0]!=="a"||Ne[1]!=="b"});de("split",function(Pe,Le,Ne){var De;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?De=function(ze,et){var Me=y(oe(this)),it=et===void 0?he:et>>>0;if(it===0)return[];if(ze===void 0)return[Me];if(!se(ze))return te(Le,Me,ze,it);for(var at=[],Je=(ze.ignoreCase?"i":"")+(ze.multiline?"m":"")+(ze.unicode?"u":"")+(ze.sticky?"y":""),Ye=0,Ge=new RegExp(ze.source,Je+"g"),_e,ke,rt;(_e=te(ee,Ge,Me))&&(ke=Ge.lastIndex,!(ke>Ye&&(ye(at,be(Me,Ye,_e.index)),_e.length>1&&_e.index=it)));)Ge.lastIndex===_e.index&&Ge.lastIndex++;return Ye===Me.length?(rt||!ge(Ge,""))&&ye(at,""):ye(at,be(Me,Ye)),at.length>it?b(at,0,it):at}:"0".split(void 0,0).length?De=function(ze,et){return ze===void 0&&et===0?[]:te(Le,this,ze,et)}:De=Le,[function(et,Me){var it=oe(this),at=et==null?void 0:E(et,Pe);return at?te(at,et,it,Me):te(De,y(it),et,Me)},function(ze,et){var Me=ue(this),it=y(ze),at=Ne(De,Me,it,et,De!==Le);if(at.done)return at.value;var Je=ie(Me,RegExp),Ye=Me.unicode,Ge=(Me.ignoreCase?"i":"")+(Me.multiline?"m":"")+(Me.unicode?"u":"")+(me?"g":"y"),_e=new Je(me?"^(?:"+Me.source+")":Me,Ge),ke=et===void 0?he:et>>>0;if(ke===0)return[];if(it.length===0)return z(_e,it)===null?[it]:[];for(var rt=0,Ve=0,ut=[];Ve2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/array-iteration").every,le=ae.aTypedArray,de=ae.exportTypedArrayMethod;de("every",function(ue){return te(le(this),ue,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/function-call"),le=x("../internals/array-fill"),de=ae.aTypedArray,se=ae.exportTypedArrayMethod;se("fill",function(oe){var ie=arguments.length;return te(le,de(this),oe,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(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/array-iteration").filter,le=x("../internals/typed-array-from-species-and-list"),de=ae.aTypedArray,se=ae.exportTypedArrayMethod;se("filter",function(oe){var ie=te(de(this),oe,arguments.length>1?arguments[1]:void 0);return le(this,ie)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/array-iteration").findIndex,le=ae.aTypedArray,de=ae.exportTypedArrayMethod;de("findIndex",function(ue){return te(le(this),ue,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/array-iteration").find,le=ae.aTypedArray,de=ae.exportTypedArrayMethod;de("find",function(ue){return te(le(this),ue,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/array-iteration").forEach,le=ae.aTypedArray,de=ae.exportTypedArrayMethod;de("forEach",function(ue){te(le(this),ue,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/array-includes").includes,le=ae.aTypedArray,de=ae.exportTypedArrayMethod;de("includes",function(ue){return te(le(this),ue,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/array-includes").indexOf,le=ae.aTypedArray,de=ae.exportTypedArrayMethod;de("indexOf",function(ue){return te(le(this),ue,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(x,Se,ve){"use strict";var ae=x("../internals/global"),te=x("../internals/fails"),le=x("../internals/function-uncurry-this"),de=x("../internals/array-buffer-view-core"),se=x("../modules/es.array.iterator"),ue=x("../internals/well-known-symbol"),oe=ue("iterator"),ie=ae.Uint8Array,ne=le(se.values),a=le(se.keys),y=le(se.entries),E=de.aTypedArray,b=de.exportTypedArrayMethod,z=ie&&ie.prototype,ee=!te(function(){z[oe].call([1])}),re=!!z&&z.values&&z[oe]===z.values&&z.values.name==="values",ce=function(){return ne(E(this))};b("entries",function(){return y(E(this))},ee),b("keys",function(){return a(E(this))},ee),b("values",ce,ee||!re,{name:"values"}),b(oe,ce,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(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/function-uncurry-this"),le=ae.aTypedArray,de=ae.exportTypedArrayMethod,se=te([].join);de("join",function(oe){return se(le(this),oe)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/function-apply"),le=x("../internals/array-last-index-of"),de=ae.aTypedArray,se=ae.exportTypedArrayMethod;se("lastIndexOf",function(oe){var ie=arguments.length;return te(le,de(this),ie>1?[oe,arguments[1]]:[oe])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/array-iteration").map,le=x("../internals/typed-array-species-constructor"),de=ae.aTypedArray,se=ae.exportTypedArrayMethod;se("map",function(oe){return te(de(this),oe,arguments.length>1?arguments[1]:void 0,function(ie,ne){return new(le(ie))(ne)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/array-reduce").right,le=ae.aTypedArray,de=ae.exportTypedArrayMethod;de("reduceRight",function(ue){var oe=arguments.length;return te(le(this),ue,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/array-reduce").left,le=ae.aTypedArray,de=ae.exportTypedArrayMethod;de("reduce",function(ue){var oe=arguments.length;return te(le(this),ue,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=ae.aTypedArray,le=ae.exportTypedArrayMethod,de=Math.floor;le("reverse",function(){for(var ue=this,oe=te(ue).length,ie=de(oe/2),ne=0,a;ne1?arguments[1]:void 0,1),he=ue(ce);if(z)return te(y,this,he,me);var fe=this.length,pe=de(he),ge=0;if(pe+me>fe)throw ie("Wrong length");for(;geb;)ee[b]=y[b++];return ee},oe)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/array-iteration").some,le=ae.aTypedArray,de=ae.exportTypedArrayMethod;de("some",function(ue){return te(le(this),ue,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(x,Se,ve){"use strict";var ae=x("../internals/global"),te=x("../internals/function-uncurry-this"),le=x("../internals/fails"),de=x("../internals/a-callable"),se=x("../internals/array-sort"),ue=x("../internals/array-buffer-view-core"),oe=x("../internals/engine-ff-version"),ie=x("../internals/engine-is-ie-or-edge"),ne=x("../internals/engine-v8-version"),a=x("../internals/engine-webkit-version"),y=ue.aTypedArray,E=ue.exportTypedArrayMethod,b=ae.Uint16Array,z=b&&te(b.prototype.sort),ee=!!z&&!(le(function(){z(new b(2),null)})&&le(function(){z(new b(2),{})})),re=!!z&&!le(function(){if(ne)return ne<74;if(oe)return oe<67;if(ie)return!0;if(a)return a<602;var me=new b(516),he=Array(516),fe,pe;for(fe=0;fe<516;fe++)pe=fe%4,me[fe]=515-fe,he[fe]=fe-2*pe+3;for(z(me,function(ge,ye){return(ge/4|0)-(ye/4|0)}),fe=0;fe<516;fe++)if(me[fe]!==he[fe])return!0}),ce=function(me){return function(he,fe){return me!==void 0?+me(he,fe)||0:fe!==fe?-1:he!==he?1:he===0&&fe===0?1/he>0&&1/fe<0?1:-1:he>fe}};E("sort",function(he){return he!==void 0&&de(he),re?z(this,he):se(y(this),ce(he))},!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(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/to-length"),le=x("../internals/to-absolute-index"),de=x("../internals/typed-array-species-constructor"),se=ae.aTypedArray,ue=ae.exportTypedArrayMethod;ue("subarray",function(ie,ne){var a=se(this),y=a.length,E=le(ie,y),b=de(a);return new b(a.buffer,a.byteOffset+E*a.BYTES_PER_ELEMENT,te((ne===void 0?y:le(ne,y))-E))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(x,Se,ve){"use strict";var ae=x("../internals/global"),te=x("../internals/function-apply"),le=x("../internals/array-buffer-view-core"),de=x("../internals/fails"),se=x("../internals/array-slice"),ue=ae.Int8Array,oe=le.aTypedArray,ie=le.exportTypedArrayMethod,ne=[].toLocaleString,a=!!ue&&de(function(){ne.call(new ue(1))}),y=de(function(){return[1,2].toLocaleString()!=new ue([1,2]).toLocaleString()})||!de(function(){ue.prototype.toLocaleString.call([1,2])});ie("toLocaleString",function(){return te(ne,a?se(oe(this)):oe(this),se(arguments))},y)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(x,Se,ve){"use strict";var ae=x("../internals/array-buffer-view-core").exportTypedArrayMethod,te=x("../internals/fails"),le=x("../internals/global"),de=x("../internals/function-uncurry-this"),se=le.Uint8Array,ue=se&&se.prototype||{},oe=[].toString,ie=de([].join);te(function(){oe.call({})})&&(oe=function(){return ie(this)});var ne=ue.toString!=oe;ae("toString",oe,ne)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(x,Se,ve){var ae=x("../internals/typed-array-constructor");ae("Uint8",function(te){return function(de,se,ue){return te(this,de,se,ue)}})},{"../internals/typed-array-constructor":258}],339:[function(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/dom-iterables"),le=x("../internals/dom-token-list-prototype"),de=x("../internals/array-for-each"),se=x("../internals/create-non-enumerable-property"),ue=function(ie){if(ie&&ie.forEach!==de)try{se(ie,"forEach",de)}catch(ne){ie.forEach=de}};for(var oe in te)te[oe]&&ue(ae[oe]&&ae[oe].prototype);ue(le)},{"../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(x,Se,ve){var ae=x("../internals/global"),te=x("../internals/dom-iterables"),le=x("../internals/dom-token-list-prototype"),de=x("../modules/es.array.iterator"),se=x("../internals/create-non-enumerable-property"),ue=x("../internals/well-known-symbol"),oe=ue("iterator"),ie=ue("toStringTag"),ne=de.values,a=function(E,b){if(E){if(E[oe]!==ne)try{se(E,oe,ne)}catch(ee){E[oe]=ne}if(E[ie]||se(E,ie,b),te[b]){for(var z in de)if(E[z]!==de[z])try{se(E,z,de[z])}catch(ee){E[z]=de[z]}}}};for(var y in te)a(ae[y]&&ae[y].prototype,y);a(le,"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(x,Se,ve){function ae(re){return Array.isArray?Array.isArray(re):ee(re)==="[object Array]"}ve.isArray=ae;function te(re){return typeof re=="boolean"}ve.isBoolean=te;function le(re){return re===null}ve.isNull=le;function de(re){return re==null}ve.isNullOrUndefined=de;function se(re){return typeof re=="number"}ve.isNumber=se;function ue(re){return typeof re=="string"}ve.isString=ue;function oe(re){return typeof re=="symbol"}ve.isSymbol=oe;function ie(re){return re===void 0}ve.isUndefined=ie;function ne(re){return ee(re)==="[object RegExp]"}ve.isRegExp=ne;function a(re){return typeof re=="object"&&re!==null}ve.isObject=a;function y(re){return ee(re)==="[object Date]"}ve.isDate=y;function E(re){return ee(re)==="[object Error]"||re instanceof Error}ve.isError=E;function b(re){return typeof re=="function"}ve.isFunction=b;function z(re){return re===null||typeof re=="boolean"||typeof re=="number"||typeof re=="string"||typeof re=="symbol"||typeof re=="undefined"}ve.isPrimitive=z,ve.isBuffer=x("buffer").Buffer.isBuffer;function ee(re){return Object.prototype.toString.call(re)}},{buffer:90}],342:[function(x,Se,ve){(function(ae){"use strict";var te=function(){var oe=/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,E,b){if(arguments.length===1&&ue(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),E=!0,z==="GMT:"&&(b=!0));var ee=E?"getUTC":"get",re=a[ee+"Date"](),ce=a[ee+"Day"](),me=a[ee+"Month"](),he=a[ee+"FullYear"](),fe=a[ee+"Hours"](),pe=a[ee+"Minutes"](),ge=a[ee+"Seconds"](),ye=a[ee+"Milliseconds"](),be=E?0:a.getTimezoneOffset(),Ae=de(a),Pe=se(a),Le={d:re,dd:le(re),ddd:te.i18n.dayNames[ce],dddd:te.i18n.dayNames[ce+7],m:me+1,mm:le(me+1),mmm:te.i18n.monthNames[me],mmmm:te.i18n.monthNames[me+12],yy:String(he).slice(2),yyyy:he,h:fe%12||12,hh:le(fe%12||12),H:fe,HH:le(fe),M:pe,MM:le(pe),s:ge,ss:le(ge),l:le(ye,3),L:le(Math.round(ye/10)),t:fe<12?"a":"p",tt:fe<12?"am":"pm",T:fe<12?"A":"P",TT:fe<12?"AM":"PM",Z:b?"GMT":E?"UTC":(String(a).match(ie)||[""]).pop().replace(ne,""),o:(be>0?"-":"+")+le(Math.floor(Math.abs(be)/60)*100+Math.abs(be)%60,4),S:["th","st","nd","rd"][re%10>3?0:(re%100-re%10!=10)*re%10],W:Ae,N:Pe};return y.replace(oe,function(Ne){return Ne in Le?Le[Ne]:Ne.slice(1,Ne.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 le(oe,ie){for(oe=String(oe),ie=ie||2;oe.length]/;Se.exports=te;function te(le){var de=""+le,se=ae.exec(de);if(!se)return de;var ue,oe="",ie=0,ne=0;for(ie=se.index;ie0&&(Le=ye[0]),Le instanceof Error)throw Le;var Ne=new Error("Unhandled error."+(Le?" ("+Le.message+")":""));throw Ne.context=Le,Ne}var De=Pe[ge];if(De===void 0)return!1;if(typeof De=="function")te(De,this,ye);else for(var ze=De.length,et=ee(De,ze),be=0;be0&&Le.length>Ae&&!Le.warned){Le.warned=!0;var Ne=new Error("Possible EventEmitter memory leak detected. "+Le.length+" "+String(ge)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ne.name="MaxListenersExceededWarning",Ne.emitter=pe,Ne.type=ge,Ne.count=Le.length,de(Ne)}return pe}ue.prototype.addListener=function(ge,ye){return a(this,ge,ye,!1)},ue.prototype.on=ue.prototype.addListener,ue.prototype.prependListener=function(ge,ye){return a(this,ge,ye,!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 E(pe,ge,ye){var be={fired:!1,wrapFn:void 0,target:pe,type:ge,listener:ye},Ae=y.bind(be);return Ae.listener=ye,be.wrapFn=Ae,Ae}ue.prototype.once=function(ge,ye){return ie(ye),this.on(ge,E(this,ge,ye)),this},ue.prototype.prependOnceListener=function(ge,ye){return ie(ye),this.prependListener(ge,E(this,ge,ye)),this},ue.prototype.removeListener=function(ge,ye){var be,Ae,Pe,Le,Ne;if(ie(ye),Ae=this._events,Ae===void 0)return this;if(be=Ae[ge],be===void 0)return this;if(be===ye||be.listener===ye)--this._eventsCount===0?this._events=Object.create(null):(delete Ae[ge],Ae.removeListener&&this.emit("removeListener",ge,be.listener||ye));else if(typeof be!="function"){for(Pe=-1,Le=be.length-1;Le>=0;Le--)if(be[Le]===ye||be[Le].listener===ye){Ne=be[Le].listener,Pe=Le;break}if(Pe<0)return this;Pe===0?be.shift():re(be,Pe),be.length===1&&(Ae[ge]=be[0]),Ae.removeListener!==void 0&&this.emit("removeListener",ge,Ne||ye)}return this},ue.prototype.off=ue.prototype.removeListener,ue.prototype.removeAllListeners=function(ge){var ye,be,Ae;if(be=this._events,be===void 0)return this;if(be.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):be[ge]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete be[ge]),this;if(arguments.length===0){var Pe=Object.keys(be),Le;for(Ae=0;Ae=0;Ae--)this.removeListener(ge,ye[Ae]);return this};function b(pe,ge,ye){var be=pe._events;if(be===void 0)return[];var Ae=be[ge];return Ae===void 0?[]:typeof Ae=="function"?ye?[Ae.listener||Ae]:[Ae]:ye?ce(Ae):ee(Ae,Ae.length)}ue.prototype.listeners=function(ge){return b(this,ge,!0)},ue.prototype.rawListeners=function(ge){return b(this,ge,!1)},ue.listenerCount=function(pe,ge){return typeof pe.listenerCount=="function"?pe.listenerCount(ge):z.call(pe,ge)},ue.prototype.listenerCount=z;function z(pe){var ge=this._events;if(ge!==void 0){var ye=ge[pe];if(typeof ye=="function")return 1;if(ye!==void 0)return ye.length}return 0}ue.prototype.eventNames=function(){return this._eventsCount>0?le(this._events):[]};function ee(pe,ge){for(var ye=new Array(ge),be=0;be=3&&(E=y),te.call(ne)==="[object Array]"?de(ne,a,E):typeof ne=="string"?se(ne,a,E):ue(ne,a,E)};Se.exports=oe},{"is-callable":367}],346:[function(x,Se,ve){"use strict";var ae="Function.prototype.bind called on incompatible ",te=Array.prototype.slice,le=Object.prototype.toString,de="[object Function]";Se.exports=function(ue){var oe=this;if(typeof oe!="function"||le.call(oe)!==de)throw new TypeError(ae+oe);for(var ie=te.call(arguments,1),ne,a=function(){if(this instanceof ne){var ee=oe.apply(this,ie.concat(te.call(arguments)));return Object(ee)===ee?ee:this}else return oe.apply(ue,ie.concat(te.call(arguments)))},y=Math.max(0,oe.length-ie.length),E=[],b=0;b1&&typeof et!="boolean")throw new de('"allowMissing" argument must be a boolean');if(be(/^%?[^%]*%?$/,ze)===null)throw new te("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Me=Le(ze),it=Me.length>0?Me[0]:"",at=Ne("%"+it+"%",et),Je=at.name,Ye=at.value,Ge=!1,_e=at.alias;_e&&(it=_e[0],pe(Me,fe([0,1],_e)));for(var ke=1,rt=!0;ke=Me.length){var Re=ue(Ye,Ve);rt=!!Re,rt&&"get"in Re&&!("originalValue"in Re.get)?Ye=Re.get:Ye=Ye[Ve]}else rt=he(Ye,Ve),Ye=Ye[Ve];rt&&!Ge&&(z[Je]=Ye)}}return Ye}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(x,Se,ve){"use strict";var ae=x("get-intrinsic"),te=ae("%Object.getOwnPropertyDescriptor%",!0);if(te)try{te([],"length")}catch(le){te=null}Se.exports=te},{"get-intrinsic":348}],350:[function(x,Se,ve){"use strict";var ae={foo:{}},te=Object;Se.exports=function(){return{__proto__:ae}.foo===ae.foo&&!({__proto__:null}instanceof te)}},{}],351:[function(x,Se,ve){"use strict";var ae=typeof Symbol!="undefined"&&Symbol,te=x("./shams");Se.exports=function(){return typeof ae!="function"||typeof Symbol!="function"||typeof ae("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:te()}},{"./shams":352}],352:[function(x,Se,ve){"use strict";Se.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var te={},le=Symbol("test"),de=Object(le);if(typeof le=="string"||Object.prototype.toString.call(le)!=="[object Symbol]"||Object.prototype.toString.call(de)!=="[object Symbol]")return!1;var se=42;te[le]=se;for(le 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 ue=Object.getOwnPropertySymbols(te);if(ue.length!==1||ue[0]!==le||!Object.prototype.propertyIsEnumerable.call(te,le))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var oe=Object.getOwnPropertyDescriptor(te,le);if(oe.value!==se||oe.enumerable!==!0)return!1}return!0}},{}],353:[function(x,Se,ve){"use strict";var ae=x("has-symbols/shams");Se.exports=function(){return ae()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(x,Se,ve){"use strict";var ae=x("function-bind");Se.exports=ae.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(x,Se,ve){var ae=x("http"),te=x("url"),le=Se.exports;for(var de in ae)ae.hasOwnProperty(de)&&(le[de]=ae[de]);le.request=function(ue,oe){return ue=se(ue),ae.request.call(this,ue,oe)},le.get=function(ue,oe){return ue=se(ue),ae.get.call(this,ue,oe)};function se(ue){if(typeof ue=="string"&&(ue=te.parse(ue)),ue.protocol||(ue.protocol="https:"),ue.protocol!=="https:")throw new Error('Protocol "'+ue.protocol+'" not supported. Expected "https:"');return ue}},{http:468,url:472}],356:[function(x,Se,ve){"use strict";var ae=x("util"),te=x("ms");Se.exports=function(le){if(typeof le=="number")return le;var de=te(le);if(de===void 0){var se=new Error(ae.format("humanize-ms(%j) result undefined",le));console.warn(se.stack)}return de}},{ms:376,util:419}],357:[function(x,Se,ve){ve.read=function(ae,te,le,de,se){var ue,oe,ie=se*8-de-1,ne=(1<>1,y=-7,E=le?se-1:0,b=le?-1:1,z=ae[te+E];for(E+=b,ue=z&(1<<-y)-1,z>>=-y,y+=ie;y>0;ue=ue*256+ae[te+E],E+=b,y-=8);for(oe=ue&(1<<-y)-1,ue>>=-y,y+=de;y>0;oe=oe*256+ae[te+E],E+=b,y-=8);if(ue===0)ue=1-a;else{if(ue===ne)return oe?NaN:(z?-1:1)*(1/0);oe=oe+Math.pow(2,de),ue=ue-a}return(z?-1:1)*oe*Math.pow(2,ue-de)},ve.write=function(ae,te,le,de,se,ue){var oe,ie,ne,a=ue*8-se-1,y=(1<>1,b=se===23?Math.pow(2,-24)-Math.pow(2,-77):0,z=de?0:ue-1,ee=de?1:-1,re=te<0||te===0&&1/te<0?1:0;for(te=Math.abs(te),isNaN(te)||te===1/0?(ie=isNaN(te)?1:0,oe=y):(oe=Math.floor(Math.log(te)/Math.LN2),te*(ne=Math.pow(2,-oe))<1&&(oe--,ne*=2),oe+E>=1?te+=b/ne:te+=b*Math.pow(2,1-E),te*ne>=2&&(oe++,ne/=2),oe+E>=y?(ie=0,oe=y):oe+E>=1?(ie=(te*ne-1)*Math.pow(2,se),oe=oe+E):(ie=te*Math.pow(2,E-1)*Math.pow(2,se),oe=0));se>=8;ae[le+z]=ie&255,z+=ee,ie/=256,se-=8);for(oe=oe<0;ae[le+z]=oe&255,z+=ee,oe/=256,a-=8);ae[le+z-ee]|=re*128}},{}],358:[function(x,Se,ve){"use strict";var ae=[x("./nextTick"),x("./queueMicrotask"),x("./mutation.js"),x("./messageChannel"),x("./stateChange"),x("./timeout")],te,le,de=-1,se=[],ue=!1;function oe(){!te||!le||(te=!1,le.length?se=le.concat(se):de=-1,se.length&&ie())}function ie(){if(!te){ue=!1,te=!0;for(var z=se.length,ee=setTimeout(oe);z;){for(le=se,se=[];le&&++de1)for(var re=1;re=0&&le(ie)!=="[object Array]"&&le(ie.callee)==="[object Function]"},ue=function(){return de(arguments)}();de.isLegacyArguments=se,Se.exports=ue?de:se},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(x,Se,ve){Se.exports=function(le){return le!=null&&(ae(le)||te(le)||!!le._isBuffer)};function ae(le){return!!le.constructor&&typeof le.constructor.isBuffer=="function"&&le.constructor.isBuffer(le)}function te(le){return typeof le.readFloatLE=="function"&&typeof le.slice=="function"&&ae(le.slice(0,0))}},{}],367:[function(x,Se,ve){"use strict";var ae=Function.prototype.toString,te=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,le,de;if(typeof te=="function"&&typeof Object.defineProperty=="function")try{le=Object.defineProperty({},"length",{get:function(){throw de}}),de={},te(function(){throw 42},null,le)}catch(he){he!==de&&(te=null)}else te=null;var se=/^\s*class\b/,ue=function(fe){try{var pe=ae.call(fe);return se.test(pe)}catch(ge){return!1}},oe=function(fe){try{return ue(fe)?!1:(ae.call(fe),!0)}catch(pe){return!1}},ie=Object.prototype.toString,ne="[object Object]",a="[object Function]",y="[object GeneratorFunction]",E="[object HTMLAllCollection]",b="[object HTML document.all class]",z="[object HTMLCollection]",ee=typeof Symbol=="function"&&!!Symbol.toStringTag,re=!(0 in[,]),ce=function(){return!1};if(typeof document=="object"){var me=document.all;ie.call(me)===ie.call(document.all)&&(ce=function(fe){if((re||!fe)&&(typeof fe=="undefined"||typeof fe=="object"))try{var pe=ie.call(fe);return(pe===E||pe===b||pe===z||pe===ne)&&fe("")==null}catch(ge){}return!1})}Se.exports=te?function(fe){if(ce(fe))return!0;if(!fe||typeof fe!="function"&&typeof fe!="object")return!1;try{te(fe,null,le)}catch(pe){if(pe!==de)return!1}return!ue(fe)&&oe(fe)}:function(fe){if(ce(fe))return!0;if(!fe||typeof fe!="function"&&typeof fe!="object")return!1;if(ee)return oe(fe);if(ue(fe))return!1;var pe=ie.call(fe);return pe!==a&&pe!==y&&!/^\[object HTML/.test(pe)?!1:oe(fe)}},{}],368:[function(x,Se,ve){"use strict";var ae=Object.prototype.toString,te=Function.prototype.toString,le=/^\s*(?:function)?\*/,de=x("has-tostringtag/shams")(),se=Object.getPrototypeOf,ue=function(){if(!de)return!1;try{return Function("return function*() {}")()}catch(ie){}},oe;Se.exports=function(ne){if(typeof ne!="function")return!1;if(le.test(te.call(ne)))return!0;if(!de){var a=ae.call(ne);return a==="[object GeneratorFunction]"}if(!se)return!1;if(typeof oe=="undefined"){var y=ue();oe=y?se(y):!1}return se(ne)===oe}},{"has-tostringtag/shams":353}],369:[function(x,Se,ve){"use strict";var ae=x("which-typed-array");Se.exports=function(le){return!!ae(le)}},{"which-typed-array":420}],370:[function(x,Se,ve){var ae={}.toString;Se.exports=Array.isArray||function(te){return ae.call(te)=="[object Array]"}},{}],371:[function(x,Se,ve){(function(ae){(function(){(function(te,le){typeof ve=="object"&&typeof Se!="undefined"?Se.exports=le(te):typeof Oe=="function"&&Oe.amd?Oe(le):le(te)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ae!="undefined"?ae:this,function(te){"use strict";te=te||{};var le=te.Base64,de="2.6.4",se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ue=function(ze){for(var et={},Me=0,it=ze.length;Me>>6)+oe(128|et&63):oe(224|et>>>12&15)+oe(128|et>>>6&63)+oe(128|et&63)}else{var et=65536+(ze.charCodeAt(0)-55296)*1024+(ze.charCodeAt(1)-56320);return oe(240|et>>>18&7)+oe(128|et>>>12&63)+oe(128|et>>>6&63)+oe(128|et&63)}},ne=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(ze){return ze.replace(ne,ie)},y=function(ze){var et=[0,2,1][ze.length%3],Me=ze.charCodeAt(0)<<16|(ze.length>1?ze.charCodeAt(1):0)<<8|(ze.length>2?ze.charCodeAt(2):0),it=[se.charAt(Me>>>18),se.charAt(Me>>>12&63),et>=2?"=":se.charAt(Me>>>6&63),et>=1?"=":se.charAt(Me&63)];return it.join("")},E=te.btoa&&typeof te.btoa=="function"?function(ze){return te.btoa(ze)}:function(ze){if(ze.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ze.replace(/[\s\S]{1,3}/g,y)},b=function(ze){return E(a(String(ze)))},z=function(ze){return ze.replace(/[+\/]/g,function(et){return et=="+"?"-":"_"}).replace(/=/g,"")},ee=function(ze,et){return et?z(b(ze)):b(ze)},re=function(ze){return ee(ze,!0)},ce;te.Uint8Array&&(ce=function(ze,et){for(var Me="",it=0,at=ze.length;it>>18)+se.charAt(_e>>>12&63)+(typeof Ye!="undefined"?se.charAt(_e>>>6&63):"=")+(typeof Ge!="undefined"?se.charAt(_e&63):"=")}return et?z(Me):Me});var me=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,he=function(ze){switch(ze.length){case 4:var et=(7&ze.charCodeAt(0))<<18|(63&ze.charCodeAt(1))<<12|(63&ze.charCodeAt(2))<<6|63&ze.charCodeAt(3),Me=et-65536;return oe((Me>>>10)+55296)+oe((Me&1023)+56320);case 3:return oe((15&ze.charCodeAt(0))<<12|(63&ze.charCodeAt(1))<<6|63&ze.charCodeAt(2));default:return oe((31&ze.charCodeAt(0))<<6|63&ze.charCodeAt(1))}},fe=function(ze){return ze.replace(me,he)},pe=function(ze){var et=ze.length,Me=et%4,it=(et>0?ue[ze.charAt(0)]<<18:0)|(et>1?ue[ze.charAt(1)]<<12:0)|(et>2?ue[ze.charAt(2)]<<6:0)|(et>3?ue[ze.charAt(3)]:0),at=[oe(it>>>16),oe(it>>>8&255),oe(it&255)];return at.length-=[0,0,2,1][Me],at.join("")},ge=te.atob&&typeof te.atob=="function"?function(ze){return te.atob(ze)}:function(ze){return ze.replace(/\S{1,4}/g,pe)},ye=function(ze){return ge(String(ze).replace(/[^A-Za-z0-9\+\/]/g,""))},be=function(ze){return fe(ge(ze))},Ae=function(ze){return String(ze).replace(/[-_]/g,function(et){return et=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Pe=function(ze){return be(Ae(ze))},Le;te.Uint8Array&&(Le=function(ze){return Uint8Array.from(ye(Ae(ze)),function(et){return et.charCodeAt(0)})});var Ne=function(){var ze=te.Base64;return te.Base64=le,ze};if(te.Base64={VERSION:de,atob:ye,btoa:E,fromBase64:Pe,toBase64:ee,utob:a,encode:ee,encodeURI:re,btou:fe,decode:Pe,noConflict:Ne,fromUint8Array:ce,toUint8Array:Le},typeof Object.defineProperty=="function"){var De=function(ze){return{value:ze,enumerable:!1,writable:!0,configurable:!0}};te.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",De(function(){return Pe(this)})),Object.defineProperty(String.prototype,"toBase64",De(function(ze){return ee(this,ze)})),Object.defineProperty(String.prototype,"toBase64URI",De(function(){return ee(this,!0)}))}}return te.Meteor&&(Base64=te.Base64),typeof Se!="undefined"&&Se.exports?Se.exports.Base64=te.Base64:typeof Oe=="function"&&Oe.amd&&Oe([],function(){return te.Base64}),{Base64:te.Base64}})}).call(this)}).call(this,typeof bt!="undefined"?bt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(x,Se,ve){"use strict";Se.exports=te;var ae=Object.prototype.hasOwnProperty;function te(le,de,se){if(!le)throw new TypeError("argument dest is required");if(!de)throw new TypeError("argument src is required");return se===void 0&&(se=!0),Object.getOwnPropertyNames(de).forEach(function(oe){if(!(!se&&ae.call(le,oe))){var ie=Object.getOwnPropertyDescriptor(de,oe);Object.defineProperty(le,oe,ie)}}),le}},{}],373:[function(x,Se,ve){"use strict";x("core-js/modules/es.array.map.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/es.regexp.constructor.js"),x("core-js/modules/es.regexp.to-string.js");function ae(){this._types=Object.create(null),this._extensions=Object.create(null);for(var te=0;te0)return oe(y);if(b==="number"&&isFinite(y))return E.long?ne(y):ie(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function oe(y){if(y=String(y),!(y.length>100)){var E=/^(-?(?:\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(E){var b=parseFloat(E[1]),z=(E[2]||"ms").toLowerCase();switch(z){case"years":case"year":case"yrs":case"yr":case"y":return b*ue;case"weeks":case"week":case"w":return b*se;case"days":case"day":case"d":return b*de;case"hours":case"hour":case"hrs":case"hr":case"h":return b*le;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*ae;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function ie(y){var E=Math.abs(y);return E>=de?Math.round(y/de)+"d":E>=le?Math.round(y/le)+"h":E>=te?Math.round(y/te)+"m":E>=ae?Math.round(y/ae)+"s":y+"ms"}function ne(y){var E=Math.abs(y);return E>=de?a(y,E,de,"day"):E>=le?a(y,E,le,"hour"):E>=te?a(y,E,te,"minute"):E>=ae?a(y,E,ae,"second"):y+" ms"}function a(y,E,b,z){var ee=E>=b*1.5;return Math.round(y/b)+" "+z+(ee?"s":"")}},{}],377:[function(x,Se,ve){"use strict";var ae=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;function de(ue){if(ue==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(ue)}function se(){try{if(!Object.assign)return!1;var ue=new String("abc");if(ue[5]="de",Object.getOwnPropertyNames(ue)[0]==="5")return!1;for(var oe={},ie=0;ie<10;ie++)oe["_"+String.fromCharCode(ie)]=ie;var ne=Object.getOwnPropertyNames(oe).map(function(y){return oe[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}}Se.exports=se()?Object.assign:function(ue,oe){for(var ie,ne=de(ue),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}}oe&&(ie.length>0?ie+="/..":ie="..",ne=2)}else ie.length>0?ie+="/"+ue.slice(a+1,b):ie=ue.slice(a+1,b),ne=b-a-1;a=b,y=0}else E===46&&y!==-1?++y:y=-1}return ie}function de(ue,oe){var ie=oe.dir||oe.root,ne=oe.base||(oe.name||"")+(oe.ext||"");return ie?ie===oe.root?ie+ne:ie+ue+ne:ne}var se={resolve:function(){for(var oe="",ie=!1,ne,a=arguments.length-1;a>=-1&&!ie;a--){var y;a>=0?y=arguments[a]:(ne===void 0&&(ne=ae.cwd()),y=ne),te(y),y.length!==0&&(oe=y+"/"+oe,ie=y.charCodeAt(0)===47)}return oe=le(oe,!ie),ie?oe.length>0?"/"+oe:"/":oe.length>0?oe:"."},normalize:function(oe){if(te(oe),oe.length===0)return".";var ie=oe.charCodeAt(0)===47,ne=oe.charCodeAt(oe.length-1)===47;return oe=le(oe,!ie),oe.length===0&&!ie&&(oe="."),oe.length>0&&ne&&(oe+="/"),ie?"/"+oe:oe},isAbsolute:function(oe){return te(oe),oe.length>0&&oe.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var oe,ie=0;ie0&&(oe===void 0?oe=ne:oe+="/"+ne)}return oe===void 0?".":se.normalize(oe)},relative:function(oe,ie){if(te(oe),te(ie),oe===ie||(oe=se.resolve(oe),ie=se.resolve(ie),oe===ie))return"";for(var ne=1;neee){if(ie.charCodeAt(E+ce)===47)return ie.slice(E+ce+1);if(ce===0)return ie.slice(E+ce)}else y>ee&&(oe.charCodeAt(ne+ce)===47?re=ce:ce===0&&(re=0));break}var me=oe.charCodeAt(ne+ce),he=ie.charCodeAt(E+ce);if(me!==he)break;me===47&&(re=ce)}var fe="";for(ce=ne+re+1;ce<=a;++ce)(ce===a||oe.charCodeAt(ce)===47)&&(fe.length===0?fe+="..":fe+="/..");return fe.length>0?fe+ie.slice(E+re):(E+=re,ie.charCodeAt(E)===47&&++E,ie.slice(E))},_makeLong:function(oe){return oe},dirname:function(oe){if(te(oe),oe.length===0)return".";for(var ie=oe.charCodeAt(0),ne=ie===47,a=-1,y=!0,E=oe.length-1;E>=1;--E)if(ie=oe.charCodeAt(E),ie===47){if(!y){a=E;break}}else y=!1;return a===-1?ne?"/":".":ne&&a===1?"//":oe.slice(0,a)},basename:function(oe,ie){if(ie!==void 0&&typeof ie!="string")throw new TypeError('"ext" argument must be a string');te(oe);var ne=0,a=-1,y=!0,E;if(ie!==void 0&&ie.length>0&&ie.length<=oe.length){if(ie.length===oe.length&&ie===oe)return"";var b=ie.length-1,z=-1;for(E=oe.length-1;E>=0;--E){var ee=oe.charCodeAt(E);if(ee===47){if(!y){ne=E+1;break}}else z===-1&&(y=!1,z=E+1),b>=0&&(ee===ie.charCodeAt(b)?--b===-1&&(a=E):(b=-1,a=z))}return ne===a?a=z:a===-1&&(a=oe.length),oe.slice(ne,a)}else{for(E=oe.length-1;E>=0;--E)if(oe.charCodeAt(E)===47){if(!y){ne=E+1;break}}else a===-1&&(y=!1,a=E+1);return a===-1?"":oe.slice(ne,a)}},extname:function(oe){te(oe);for(var ie=-1,ne=0,a=-1,y=!0,E=0,b=oe.length-1;b>=0;--b){var z=oe.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:E!==1&&(E=1):ie!==-1&&(E=-1)}return ie===-1||a===-1||E===0||E===1&&ie===a-1&&ie===ne+1?"":oe.slice(ie,a)},format:function(oe){if(oe===null||typeof oe!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof oe);return de("/",oe)},parse:function(oe){te(oe);var ie={root:"",dir:"",base:"",ext:"",name:""};if(oe.length===0)return ie;var ne=oe.charCodeAt(0),a=ne===47,y;a?(ie.root="/",y=1):y=0;for(var E=-1,b=0,z=-1,ee=!0,re=oe.length-1,ce=0;re>=y;--re){if(ne=oe.charCodeAt(re),ne===47){if(!ee){b=re+1;break}continue}z===-1&&(ee=!1,z=re+1),ne===46?E===-1?E=re:ce!==1&&(ce=1):E!==-1&&(ce=-1)}return E===-1||z===-1||ce===0||ce===1&&E===z-1&&E===b+1?z!==-1&&(b===0&&a?ie.base=ie.name=oe.slice(1,z):ie.base=ie.name=oe.slice(b,z)):(b===0&&a?(ie.name=oe.slice(1,E),ie.base=oe.slice(1,z)):(ie.name=oe.slice(b,E),ie.base=oe.slice(b,z)),ie.ext=oe.slice(E,z)),b>0?ie.dir=oe.slice(0,b-1):a&&(ie.dir="/"),ie},sep:"/",delimiter:":",win32:null,posix:null};se.posix=se,Se.exports=se}).call(this)}).call(this,x("_process"))},{_process:467}],379:[function(x,Se,ve){(function(ae){(function(){(function(){"use strict";var te={function:!0,object:!0},le=te[typeof window]&&window||this,de=le,se=te[typeof ve]&&ve,ue=te[typeof Se]&&Se&&!Se.nodeType&&Se,oe=se&&ue&&typeof ae=="object"&&ae;oe&&(oe.global===oe||oe.window===oe||oe.self===oe)&&(le=oe);var ie=Math.pow(2,53)-1,ne=/\bOpera/,a=this,y=Object.prototype,E=y.hasOwnProperty,b=y.toString;function z(Pe){return Pe=String(Pe),Pe.charAt(0).toUpperCase()+Pe.slice(1)}function ee(Pe,Le,Ne){var De={"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 Le&&Ne&&/^Win/i.test(Pe)&&!/^Windows Phone /i.test(Pe)&&(De=De[/[\d.]+$/.exec(Pe)])&&(Pe="Windows "+De),Pe=String(Pe),Le&&Ne&&(Pe=Pe.replace(RegExp(Le,"i"),Ne)),Pe=ce(Pe.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]),Pe}function re(Pe,Le){var Ne=-1,De=Pe?Pe.length:0;if(typeof De=="number"&&De>-1&&De<=ie)for(;++Ne3&&"WebKit"||/\bOpera\b/.test(Ce)&&(/\bOPR\b/.test(Pe)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Pe)&&!/^(?:Trident|EdgeHTML)$/.test(xe)&&"WebKit"||!xe&&/\bMSIE\b/i.test(Pe)&&(Ue=="Mac OS"?"Tasman":"Trident")||xe=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Ce)&&"NetFront")&&(xe=[Te]),Ce=="IE"&&(Te=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Pe)||0)[1])?(Ce+=" Mobile",Ue="Windows Phone "+(/\+$/.test(Te)?Te:Te+".x"),Ee.unshift("desktop mode")):/\bWPDesktop\b/i.test(Pe)?(Ce="IE Mobile",Ue="Windows Phone 8.x",Ee.unshift("desktop mode"),Ze||(Ze=(/\brv:([\d.]+)/.exec(Pe)||0)[1])):Ce!="IE"&&xe=="Trident"&&(Te=/\brv:([\d.]+)/.exec(Pe))&&(Ce&&Ee.push("identifying as "+Ce+(Ze?" "+Ze:"")),Ce="IE",Ze=Te[1]),Xe){if(fe(Le,"global"))if(_e&&(Te=_e.lang.System,Ke=Te.getProperty("os.arch"),Ue=Ue||Te.getProperty("os.name")+" "+Te.getProperty("os.version")),ke){try{Ze=Le.require("ringo/engine").version.join("."),Ce="RingoJS"}catch(tt){(Te=Le.system)&&Te.global.system==Le.system&&(Ce="Narwhal",Ue||(Ue=Te[0].os||null))}Ce||(Ce="Rhino")}else typeof Le.process=="object"&&!Le.process.browser&&(Te=Le.process)&&(typeof Te.versions=="object"&&(typeof Te.versions.electron=="string"?(Ee.push("Node "+Te.versions.node),Ce="Electron",Ze=Te.versions.electron):typeof Te.versions.nw=="string"&&(Ee.push("Chromium "+Ze,"Node "+Te.versions.node),Ce="NW.js",Ze=Te.versions.nw)),Ce||(Ce="Node.js",Ke=Te.arch,Ue=Te.platform,Ze=/[\d.]+/.exec(Te.version),Ze=Ze?Ze[0]:null));else he(Te=Le.runtime)==at?(Ce="Adobe AIR",Ue=Te.flash.system.Capabilities.os):he(Te=Le.phantom)==Ge?(Ce="PhantomJS",Ze=(Te=Te.version||null)&&Te.major+"."+Te.minor+"."+Te.patch):typeof ut.documentMode=="number"&&(Te=/\bTrident\/(\d+)/i.exec(Pe))?(Ze=[Ze,ut.documentMode],(Te=+Te[1]+4)!=Ze[1]&&(Ee.push("IE "+Ze[1]+" mode"),xe&&(xe[1]=""),Ze[1]=Te),Ze=Ce=="IE"?String(Ze[1].toFixed(1)):Ze[0]):typeof ut.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Ce)&&(Ee.push("masking as "+Ce+" "+Ze),Ce="IE",Ze="11.0",xe=["Trident"],Ue="Windows");Ue=Ue&&ce(Ue)}if(Ze&&(Te=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ze)||/(?:alpha|beta)(?: ?\d)?/i.exec(Pe+";"+(Xe&&De.appMinorVersion))||/\bMinefield\b/i.test(Pe)&&"a")&&(Ie=/b/i.test(Te)?"beta":"alpha",Ze=Ze.replace(RegExp(Te+"\\+?$"),"")+(Ie=="beta"?Ve:rt)+(/\d+\+?/.exec(Te)||"")),Ce=="Fennec"||Ce=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(Ue))Ce="Firefox Mobile";else if(Ce=="Maxthon"&&Ze)Ze=Ze.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(we))we=="Xbox 360"&&(Ue=null),we=="Xbox 360"&&/\bIEMobile\b/.test(Pe)&&Ee.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Ce)||Ce&&!we&&!/Browser|Mobi/.test(Ce))&&(Ue=="Windows CE"||/Mobi/i.test(Pe)))Ce+=" Mobile";else if(Ce=="IE"&&Xe)try{Le.external===null&&Ee.unshift("platform preview")}catch(tt){Ee.unshift("embedded")}else(/\bBlackBerry\b/.test(we)||/\bBB10\b/.test(Pe))&&(Te=(RegExp(we.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Pe)||0)[1]||Ze)?(Te=[Te,/BB10/.test(Pe)],Ue=(Te[1]?(we=null,je="BlackBerry"):"Device Software")+" "+Te[0],Ze=null):this!=me&&we!="Wii"&&(Xe&&We||/Opera/.test(Ce)&&/\b(?:MSIE|Firefox)\b/i.test(Pe)||Ce=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Ue)||Ce=="IE"&&(Ue&&!/^Win/.test(Ue)&&Ze>5.5||/\bWindows XP\b/.test(Ue)&&Ze>8||Ze==8&&!/\bTrident\b/.test(Pe)))&&!ne.test(Te=be.call(me,Pe.replace(ne,"")+";"))&&Te.name&&(Te="ing as "+Te.name+((Te=Te.version)?" "+Te:""),ne.test(Ce)?(/\bIE\b/.test(Te)&&Ue=="Mac OS"&&(Ue=null),Te="identify"+Te):(Te="mask"+Te,Re?Ce=ce(Re.replace(/([a-z])([A-Z])/g,"$1 $2")):Ce="Opera",/\bIE\b/.test(Te)&&(Ue=null),Xe||(Ze=null)),xe=["Presto"],Ee.push(Te));(Te=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Pe)||0)[1])&&(Te=[parseFloat(Te.replace(/\.(\d)$/,".0$1")),Te],Ce=="Safari"&&Te[1].slice(-1)=="+"?(Ce="WebKit Nightly",Ie="alpha",Ze=Te[1].slice(0,-1)):(Ze==Te[1]||Ze==(Te[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Pe)||0)[1]))&&(Ze=null),Te[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Pe)||0)[1],Te[0]==537.36&&Te[2]==537.36&&parseFloat(Te[1])>=28&&xe=="WebKit"&&(xe=["Blink"]),!Xe||!Me&&!Te[1]?(xe&&(xe[1]="like Safari"),Te=(Te=Te[0],Te<400?1:Te<500?2:Te<526?3:Te<533?4:Te<534?"4+":Te<535?5:Te<537?6:Te<538?7:Te<601?8:Te<602?9:Te<604?10:Te<606?11:Te<608?12:"12")):(xe&&(xe[1]="like Chrome"),Te=Te[1]||(Te=Te[0],Te<530?1:Te<532?2:Te<532.05?3:Te<533?4:Te<534.03?5:Te<534.07?6:Te<534.1?7:Te<534.13?8:Te<534.16?9:Te<534.24?10:Te<534.3?11:Te<535.01?12:Te<535.02?"13+":Te<535.07?15:Te<535.11?16:Te<535.19?17:Te<536.05?18:Te<536.1?19:Te<537.01?20:Te<537.11?"21+":Te<537.13?23:Te<537.18?24:Te<537.24?25:Te<537.36?26:xe!="Blink"?"27":"28")),xe&&(xe[1]+=" "+(Te+=typeof Te=="number"?".x":/[.+]/.test(Te)?"":"+")),Ce=="Safari"&&(!Ze||parseInt(Ze)>45)?Ze=Te:Ce=="Chrome"&&/\bHeadlessChrome/i.test(Pe)&&Ee.unshift("headless")),Ce=="Opera"&&(Te=/\bzbov|zvav$/.exec(Ue))?(Ce+=" ",Ee.unshift("desktop mode"),Te=="zvav"?(Ce+="Mini",Ze=null):Ce+="Mobile",Ue=Ue.replace(RegExp(" *"+Te+"$"),"")):Ce=="Safari"&&/\bChrome\b/.exec(xe&&xe[1])?(Ee.unshift("desktop mode"),Ce="Chrome Mobile",Ze=null,/\bOS X\b/.test(Ue)?(je="Apple",Ue="iOS 4.3+"):Ue=null):/\bSRWare Iron\b/.test(Ce)&&!Ze&&(Ze=yt("Chrome")),Ze&&Ze.indexOf(Te=/[\d.]+$/.exec(Ue))==0&&Pe.indexOf("/"+Te+"-")>-1&&(Ue=ye(Ue.replace(Te,""))),Ue&&Ue.indexOf(Ce)!=-1&&!RegExp(Ce+" OS").test(Ue)&&(Ue=Ue.replace(RegExp(" *"+pe(Ce)+" *"),"")),xe&&!/\b(?:Avant|Nook)\b/.test(Ce)&&(/Browser|Lunascape|Maxthon/.test(Ce)||Ce!="Safari"&&/^iOS/.test(Ue)&&/\bSafari\b/.test(xe[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Ce)&&xe[1])&&(Te=xe[xe.length-1])&&Ee.push(Te),Ee.length&&(Ee=["("+Ee.join("; ")+")"]),je&&we&&we.indexOf(je)<0&&Ee.push("on "+je),we&&Ee.push((/^on /.test(Ee[Ee.length-1])?"":"on ")+we),Ue&&(Te=/ ([\d.+]+)$/.exec(Ue),Fe=Te&&Ue.charAt(Ue.length-Te[0].length-1)=="/",Ue={architecture:32,family:Te&&!Fe?Ue.replace(Te[0],""):Ue,version:Te?Te[1]:null,toString:function(){var tt=this.version;return this.family+(tt&&!Fe?" "+tt:"")+(this.architecture==64?" 64-bit":"")}}),(Te=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ke))&&!/\bi686\b/i.test(Ke)?(Ue&&(Ue.architecture=64,Ue.family=Ue.family.replace(RegExp(" *"+Te),"")),Ce&&(/\bWOW64\b/i.test(Pe)||Xe&&/\w(?:86|32)$/.test(De.cpuClass||De.platform)&&!/\bWin64; x64\b/i.test(Pe))&&Ee.unshift("32-bit")):Ue&&/^OS X/.test(Ue.family)&&Ce=="Chrome"&&parseFloat(Ze)>=39&&(Ue.architecture=64),Pe||(Pe=null);var pt={};return pt.description=Pe,pt.layout=xe&&xe[0],pt.manufacturer=je,pt.name=Ce,pt.prerelease=Ie,pt.product=we,pt.ua=Pe,pt.version=Ce&&Ze,pt.os=Ue||{architecture:null,family:null,version:null,toString:function(){return"null"}},pt.parse=be,pt.toString=lt,pt.version&&Ee.unshift(Ze),pt.name&&Ee.unshift(Ce),Ue&&Ce&&!(Ue==String(Ue).split(" ")[0]&&(Ue==Ce.split(" ")[0]||we))&&Ee.push(we?"("+Ue+")":"on "+Ue),Ee.length&&(pt.description=Ee.join(" ")),pt}var Ae=be();typeof Oe=="function"&&typeof Oe.amd=="object"&&Oe.amd?(le.platform=Ae,Oe(function(){return Ae})):se&&ue?me(Ae,function(Pe,Le){se[Le]=Pe}):le.platform=Ae}).call(this)}).call(this)}).call(this,typeof bt!="undefined"?bt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(x,Se,ve){(function(ae){(function(){"use strict";typeof ae=="undefined"||!ae.version||ae.version.indexOf("v0.")===0||ae.version.indexOf("v1.")===0&&ae.version.indexOf("v1.8.")!==0?Se.exports={nextTick:te}:Se.exports=ae;function te(le,de,se,ue){if(typeof le!="function")throw new TypeError('"callback" argument must be a function');var oe=arguments.length,ie,ne;switch(oe){case 0:case 1:return ae.nextTick(le);case 2:return ae.nextTick(function(){le.call(null,de)});case 3:return ae.nextTick(function(){le.call(null,de,se)});case 4:return ae.nextTick(function(){le.call(null,de,se,ue)});default:for(ie=new Array(oe-1),ne=0;ne1)for(var me=1;me= 0x80 (not a basic code point)","invalid-input":"Invalid input"},fe=ie-ne,pe=Math.floor,ge=String.fromCharCode,ye;function be(Ye){throw new RangeError(he[Ye])}function Ae(Ye,Ge){for(var _e=Ye.length,ke=[];_e--;)ke[_e]=Ge(Ye[_e]);return ke}function Pe(Ye,Ge){var _e=Ye.split("@"),ke="";_e.length>1&&(ke=_e[0]+"@",Ye=_e[1]),Ye=Ye.replace(me,".");var rt=Ye.split("."),Ve=Ae(rt,Ge).join(".");return ke+Ve}function Le(Ye){for(var Ge=[],_e=0,ke=Ye.length,rt,Ve;_e=55296&&rt<=56319&&_e65535&&(Ge-=65536,_e+=ge(Ge>>>10&1023|55296),Ge=56320|Ge&1023),_e+=ge(Ge),_e}).join("")}function De(Ye){return Ye-48<10?Ye-22:Ye-65<26?Ye-65:Ye-97<26?Ye-97:ie}function ze(Ye,Ge){return Ye+22+75*(Ye<26)-((Ge!=0)<<5)}function et(Ye,Ge,_e){var ke=0;for(Ye=_e?pe(Ye/E):Ye>>1,Ye+=pe(Ye/Ge);Ye>fe*a>>1;ke+=ie)Ye=pe(Ye/fe);return pe(ke+(fe+1)*Ye/(Ye+y))}function Me(Ye){var Ge=[],_e=Ye.length,ke,rt=0,Ve=z,ut=b,We,Re,Te,Ke,Ee,Ie,Xe,Ze,Fe;for(We=Ye.lastIndexOf(ee),We<0&&(We=0),Re=0;Re=128&&be("not-basic"),Ge.push(Ye.charCodeAt(Re));for(Te=We>0?We+1:0;Te<_e;){for(Ke=rt,Ee=1,Ie=ie;Te>=_e&&be("invalid-input"),Xe=De(Ye.charCodeAt(Te++)),(Xe>=ie||Xe>pe((oe-rt)/Ee))&&be("overflow"),rt+=Xe*Ee,Ze=Ie<=ut?ne:Ie>=ut+a?a:Ie-ut,!(Xepe(oe/Fe)&&be("overflow"),Ee*=Fe;ke=Ge.length+1,ut=et(rt-Ke,ke,Ke==0),pe(rt/ke)>oe-Ve&&be("overflow"),Ve+=pe(rt/ke),rt%=ke,Ge.splice(rt++,0,Ve)}return Ne(Ge)}function it(Ye){var Ge,_e,ke,rt,Ve,ut,We,Re,Te,Ke,Ee,Ie=[],Xe,Ze,Fe,xe;for(Ye=Le(Ye),Xe=Ye.length,Ge=z,_e=0,Ve=b,ut=0;ut=Ge&&Eepe((oe-_e)/Ze)&&be("overflow"),_e+=(We-Ge)*Ze,Ge=We,ut=0;utoe&&be("overflow"),Ee==Ge){for(Re=_e,Te=ie;Ke=Te<=Ve?ne:Te>=Ve+a?a:Te-Ve,!(Re0&&a>ne&&(a=ne);for(var y=0;y=0?(z=E.substr(0,b),ee=E.substr(b+1)):(z=E,ee=""),re=decodeURIComponent(z),ce=decodeURIComponent(ee),ae(oe,re)?te(oe[re])?oe[re].push(ce):oe[re]=[oe[re],ce]:oe[re]=ce}return oe};var te=Array.isArray||function(le){return Object.prototype.toString.call(le)==="[object Array]"}},{}],384:[function(x,Se,ve){"use strict";var ae=function(se){switch(typeof se){case"string":return se;case"boolean":return se?"true":"false";case"number":return isFinite(se)?se:"";default:return""}};Se.exports=function(se,ue,oe,ie){return ue=ue||"&",oe=oe||"=",se===null&&(se=void 0),typeof se=="object"?le(de(se),function(ne){var a=encodeURIComponent(ae(ne))+oe;return te(se[ne])?le(se[ne],function(y){return a+encodeURIComponent(ae(y))}).join(ue):a+encodeURIComponent(ae(se[ne]))}).join(ue):ie?encodeURIComponent(ae(ie))+oe+encodeURIComponent(ae(se)):""};var te=Array.isArray||function(se){return Object.prototype.toString.call(se)==="[object Array]"};function le(se,ue){if(se.map)return se.map(ue);for(var oe=[],ie=0;ie0?(typeof Ie!="string"&&!xe.objectMode&&Object.getPrototypeOf(Ie)!==ne.prototype&&(Ie=y(Ie)),Ze?xe.endEmitted?Ee.emit("error",new Error("stream.unshift() after end event")):be(Ee,xe,Ie,!0):xe.ended?Ee.emit("error",new Error("stream.push() after EOF")):(xe.reading=!1,xe.decoder&&!Xe?(Ie=xe.decoder.write(Ie),xe.objectMode||Ie.length!==0?be(Ee,xe,Ie,!1):it(Ee,xe)):be(Ee,xe,Ie,!1))):Ze||(xe.reading=!1)}return Pe(xe)}function be(Ee,Ie,Xe,Ze){Ie.flowing&&Ie.length===0&&!Ie.sync?(Ee.emit("data",Xe),Ee.read(0)):(Ie.length+=Ie.objectMode?1:Xe.length,Ze?Ie.buffer.unshift(Xe):Ie.buffer.push(Xe),Ie.needReadable&&et(Ee)),it(Ee,Ie)}function Ae(Ee,Ie){var Xe;return!E(Ie)&&typeof Ie!="string"&&Ie!==void 0&&!Ee.objectMode&&(Xe=new TypeError("Invalid non-string/buffer chunk")),Xe}function Pe(Ee){return!Ee.ended&&(Ee.needReadable||Ee.length=Le?Ee=Le:(Ee--,Ee|=Ee>>>1,Ee|=Ee>>>2,Ee|=Ee>>>4,Ee|=Ee>>>8,Ee|=Ee>>>16,Ee++),Ee}function De(Ee,Ie){return Ee<=0||Ie.length===0&&Ie.ended?0:Ie.objectMode?1:Ee!==Ee?Ie.flowing&&Ie.length?Ie.buffer.head.data.length:Ie.length:(Ee>Ie.highWaterMark&&(Ie.highWaterMark=Ne(Ee)),Ee<=Ie.length?Ee:Ie.ended?Ie.length:(Ie.needReadable=!0,0))}ge.prototype.read=function(Ee){ee("read",Ee),Ee=parseInt(Ee,10);var Ie=this._readableState,Xe=Ee;if(Ee!==0&&(Ie.emittedReadable=!1),Ee===0&&Ie.needReadable&&(Ie.length>=Ie.highWaterMark||Ie.ended))return ee("read: emitReadable",Ie.length,Ie.ended),Ie.length===0&&Ie.ended?Re(this):et(this),null;if(Ee=De(Ee,Ie),Ee===0&&Ie.ended)return Ie.length===0&&Re(this),null;var Ze=Ie.needReadable;ee("need readable",Ze),(Ie.length===0||Ie.length-Ee0?Fe=rt(Ee,Ie):Fe=null,Fe===null?(Ie.needReadable=!0,Ee=0):Ie.length-=Ee,Ie.length===0&&(Ie.ended||(Ie.needReadable=!0),Xe!==Ee&&Ie.ended&&Re(this)),Fe!==null&&this.emit("data",Fe),Fe};function ze(Ee,Ie){if(!Ie.ended){if(Ie.decoder){var Xe=Ie.decoder.end();Xe&&Xe.length&&(Ie.buffer.push(Xe),Ie.length+=Ie.objectMode?1:Xe.length)}Ie.ended=!0,et(Ee)}}function et(Ee){var Ie=Ee._readableState;Ie.needReadable=!1,Ie.emittedReadable||(ee("emitReadable",Ie.flowing),Ie.emittedReadable=!0,Ie.sync?le.nextTick(Me,Ee):Me(Ee))}function Me(Ee){ee("emit readable"),Ee.emit("readable"),ke(Ee)}function it(Ee,Ie){Ie.readingMore||(Ie.readingMore=!0,le.nextTick(at,Ee,Ie))}function at(Ee,Ie){for(var Xe=Ie.length;!Ie.reading&&!Ie.flowing&&!Ie.ended&&Ie.length1&&Ke(Ze.pipes,Ee)!==-1)&&!Ue&&(ee("false write response, pause",Xe._readableState.awaitDrain),Xe._readableState.awaitDrain++,$e=!0),Xe.pause())}function St(pt){ee("onerror",pt),lt(),Ee.removeListener("error",St),oe(Ee,"error")===0&&Ee.emit("error",pt)}fe(Ee,"error",St);function ft(){Ee.removeListener("finish",yt),lt()}Ee.once("close",ft);function yt(){ee("onfinish"),Ee.removeListener("close",ft),lt()}Ee.once("finish",yt);function lt(){ee("unpipe"),Xe.unpipe(Ee)}return Ee.emit("pipe",Xe),Ze.flowing||(ee("pipe resume"),Xe.resume()),Ee};function Je(Ee){return function(){var Ie=Ee._readableState;ee("pipeOnDrain",Ie.awaitDrain),Ie.awaitDrain&&Ie.awaitDrain--,Ie.awaitDrain===0&&oe(Ee,"data")&&(Ie.flowing=!0,ke(Ee))}}ge.prototype.unpipe=function(Ee){var Ie=this._readableState,Xe={hasUnpiped:!1};if(Ie.pipesCount===0)return this;if(Ie.pipesCount===1)return Ee&&Ee!==Ie.pipes?this:(Ee||(Ee=Ie.pipes),Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1,Ee&&Ee.emit("unpipe",this,Xe),this);if(!Ee){var Ze=Ie.pipes,Fe=Ie.pipesCount;Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1;for(var xe=0;xe=Ie.length?(Ie.decoder?Xe=Ie.buffer.join(""):Ie.buffer.length===1?Xe=Ie.buffer.head.data:Xe=Ie.buffer.concat(Ie.length),Ie.buffer.clear()):Xe=Ve(Ee,Ie.buffer,Ie.decoder),Xe}function Ve(Ee,Ie,Xe){var Ze;return Eexe.length?xe.length:Ee;if(Ce===xe.length?Fe+=xe:Fe+=xe.slice(0,Ee),Ee-=Ce,Ee===0){Ce===xe.length?(++Ze,Xe.next?Ie.head=Xe.next:Ie.head=Ie.tail=null):(Ie.head=Xe,Xe.data=xe.slice(Ce));break}++Ze}return Ie.length-=Ze,Fe}function We(Ee,Ie){var Xe=ne.allocUnsafe(Ee),Ze=Ie.head,Fe=1;for(Ze.data.copy(Xe),Ee-=Ze.data.length;Ze=Ze.next;){var xe=Ze.data,Ce=Ee>xe.length?xe.length:Ee;if(xe.copy(Xe,Xe.length-Ee,0,Ce),Ee-=Ce,Ee===0){Ce===xe.length?(++Fe,Ze.next?Ie.head=Ze.next:Ie.head=Ie.tail=null):(Ie.head=Ze,Ze.data=xe.slice(Ce));break}++Fe}return Ie.length-=Fe,Xe}function Re(Ee){var Ie=Ee._readableState;if(Ie.length>0)throw new Error('"endReadable()" called on non-empty stream');Ie.endEmitted||(Ie.ended=!0,le.nextTick(Te,Ie,Ee))}function Te(Ee,Ie){!Ee.endEmitted&&Ee.length===0&&(Ee.endEmitted=!0,Ie.readable=!1,Ie.emit("end"))}function Ke(Ee,Ie){for(var Xe=0,Ze=Ee.length;Xe-1?le:de.nextTick,ie;fe.WritableState=me;var ne=Object.create(x("core-util-is"));ne.inherits=x("inherits");var a={deprecate:x("util-deprecate")},y=x("./internal/streams/stream"),E=x("safe-buffer").Buffer,b=te.Uint8Array||function(){};function z(_e){return E.from(_e)}function ee(_e){return E.isBuffer(_e)||_e instanceof b}var re=x("./internal/streams/destroy");ne.inherits(fe,y);function ce(){}function me(_e,ke){ie=ie||x("./_stream_duplex"),_e=_e||{};var rt=ke instanceof ie;this.objectMode=!!_e.objectMode,rt&&(this.objectMode=this.objectMode||!!_e.writableObjectMode);var Ve=_e.highWaterMark,ut=_e.writableHighWaterMark,We=this.objectMode?16:16*1024;Ve||Ve===0?this.highWaterMark=Ve:rt&&(ut||ut===0)?this.highWaterMark=ut:this.highWaterMark=We,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Re=_e.decodeStrings===!1;this.decodeStrings=!Re,this.defaultEncoding=_e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Te){Ne(ke,Te)},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 ue(this)}me.prototype.getBuffer=function(){for(var ke=this.bufferedRequest,rt=[];ke;)rt.push(ke),ke=ke.next;return rt},function(){try{Object.defineProperty(me.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(_e){}}();var he;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(he=Function.prototype[Symbol.hasInstance],Object.defineProperty(fe,Symbol.hasInstance,{value:function(_e){return he.call(this,_e)?!0:this!==fe?!1:_e&&_e._writableState instanceof me}})):he=function(_e){return _e instanceof this};function fe(_e){if(ie=ie||x("./_stream_duplex"),!he.call(fe,this)&&!(this instanceof ie))return new fe(_e);this._writableState=new me(_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)}fe.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function pe(_e,ke){var rt=new Error("write after end");_e.emit("error",rt),de.nextTick(ke,rt)}function ge(_e,ke,rt,Ve){var ut=!0,We=!1;return rt===null?We=new TypeError("May not write null values to stream"):typeof rt!="string"&&rt!==void 0&&!ke.objectMode&&(We=new TypeError("Invalid non-string/buffer chunk")),We&&(_e.emit("error",We),de.nextTick(Ve,We),ut=!1),ut}fe.prototype.write=function(_e,ke,rt){var Ve=this._writableState,ut=!1,We=!Ve.objectMode&&ee(_e);return We&&!E.isBuffer(_e)&&(_e=z(_e)),typeof ke=="function"&&(rt=ke,ke=null),We?ke="buffer":ke||(ke=Ve.defaultEncoding),typeof rt!="function"&&(rt=ce),Ve.ended?pe(this,rt):(We||ge(this,Ve,_e,rt))&&(Ve.pendingcb++,ut=be(this,Ve,We,_e,ke,rt)),ut},fe.prototype.cork=function(){var _e=this._writableState;_e.corked++},fe.prototype.uncork=function(){var _e=this._writableState;_e.corked&&(_e.corked--,!_e.writing&&!_e.corked&&!_e.finished&&!_e.bufferProcessing&&_e.bufferedRequest&&et(this,_e))},fe.prototype.setDefaultEncoding=function(ke){if(typeof ke=="string"&&(ke=ke.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ke+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+ke);return this._writableState.defaultEncoding=ke,this};function ye(_e,ke,rt){return!_e.objectMode&&_e.decodeStrings!==!1&&typeof ke=="string"&&(ke=E.from(ke,rt)),ke}Object.defineProperty(fe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function be(_e,ke,rt,Ve,ut,We){if(!rt){var Re=ye(ke,Ve,ut);Ve!==Re&&(rt=!0,ut="buffer",Ve=Re)}var Te=ke.objectMode?1:Ve.length;ke.length+=Te;var Ke=ke.length0?this.tail.next=ie:this.head=ie,this.tail=ie,++this.length},se.prototype.unshift=function(oe){var ie={data:oe,next:this.head};this.length===0&&(this.tail=ie),this.head=ie,++this.length},se.prototype.shift=function(){if(this.length!==0){var oe=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,oe}},se.prototype.clear=function(){this.head=this.tail=null,this.length=0},se.prototype.join=function(oe){if(this.length===0)return"";for(var ie=this.head,ne=""+ie.data;ie=ie.next;)ne+=oe+ie.data;return ne},se.prototype.concat=function(oe){if(this.length===0)return te.alloc(0);if(this.length===1)return this.head.data;for(var ie=te.allocUnsafe(oe>>>0),ne=this.head,a=0;ne;)de(ne.data,ie,a),a+=ne.data.length,ne=ne.next;return ie},se}(),le&&le.inspect&&le.inspect.custom&&(Se.exports.prototype[le.inspect.custom]=function(){var se=le.inspect({length:this.length});return this.constructor.name+" "+se})},{"safe-buffer":396,util:89}],392:[function(x,Se,ve){"use strict";var ae=x("process-nextick-args");function te(se,ue){var oe=this,ie=this._readableState&&this._readableState.destroyed,ne=this._writableState&&this._writableState.destroyed;return ie||ne?(ue?ue(se):se&&(!this._writableState||!this._writableState.errorEmitted)&&ae.nextTick(de,this,se),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(se||null,function(a){!ue&&a?(ae.nextTick(de,oe,a),oe._writableState&&(oe._writableState.errorEmitted=!0)):ue&&ue(a)}),this)}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.finished=!1,this._writableState.errorEmitted=!1)}function de(se,ue){se.emit("error",ue)}Se.exports={destroy:te,undestroy:le}},{"process-nextick-args":380}],393:[function(x,Se,ve){Se.exports=x("events").EventEmitter},{events:344}],394:[function(x,Se,ve){ve=Se.exports=x("./lib/_stream_readable.js"),ve.Stream=ve,ve.Readable=ve,ve.Writable=x("./lib/_stream_writable.js"),ve.Duplex=x("./lib/_stream_duplex.js"),ve.Transform=x("./lib/_stream_transform.js"),ve.PassThrough=x("./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(x,Se,ve){var ae=function(te){"use strict";var le=Object.prototype,de=le.hasOwnProperty,se,ue=typeof Symbol=="function"?Symbol:{},oe=ue.iterator||"@@iterator",ie=ue.asyncIterator||"@@asyncIterator",ne=ue.toStringTag||"@@toStringTag";function a(at,Je,Ye){return Object.defineProperty(at,Je,{value:Ye,enumerable:!0,configurable:!0,writable:!0}),at[Je]}try{a({},"")}catch(at){a=function(Je,Ye,Ge){return Je[Ye]=Ge}}function y(at,Je,Ye,Ge){var _e=Je&&Je.prototype instanceof me?Je:me,ke=Object.create(_e.prototype),rt=new et(Ge||[]);return ke._invoke=Le(at,Ye,rt),ke}te.wrap=y;function E(at,Je,Ye){try{return{type:"normal",arg:at.call(Je,Ye)}}catch(Ge){return{type:"throw",arg:Ge}}}var b="suspendedStart",z="suspendedYield",ee="executing",re="completed",ce={};function me(){}function he(){}function fe(){}var pe={};a(pe,oe,function(){return this});var ge=Object.getPrototypeOf,ye=ge&&ge(ge(Me([])));ye&&ye!==le&&de.call(ye,oe)&&(pe=ye);var be=fe.prototype=me.prototype=Object.create(pe);he.prototype=fe,a(be,"constructor",fe),a(fe,"constructor",he),he.displayName=a(fe,ne,"GeneratorFunction");function Ae(at){["next","throw","return"].forEach(function(Je){a(at,Je,function(Ye){return this._invoke(Je,Ye)})})}te.isGeneratorFunction=function(at){var Je=typeof at=="function"&&at.constructor;return Je?Je===he||(Je.displayName||Je.name)==="GeneratorFunction":!1},te.mark=function(at){return Object.setPrototypeOf?Object.setPrototypeOf(at,fe):(at.__proto__=fe,a(at,ne,"GeneratorFunction")),at.prototype=Object.create(be),at},te.awrap=function(at){return{__await:at}};function Pe(at,Je){function Ye(ke,rt,Ve,ut){var We=E(at[ke],at,rt);if(We.type==="throw")ut(We.arg);else{var Re=We.arg,Te=Re.value;return Te&&typeof Te=="object"&&de.call(Te,"__await")?Je.resolve(Te.__await).then(function(Ke){Ye("next",Ke,Ve,ut)},function(Ke){Ye("throw",Ke,Ve,ut)}):Je.resolve(Te).then(function(Ke){Re.value=Ke,Ve(Re)},function(Ke){return Ye("throw",Ke,Ve,ut)})}}var Ge;function _e(ke,rt){function Ve(){return new Je(function(ut,We){Ye(ke,rt,ut,We)})}return Ge=Ge?Ge.then(Ve,Ve):Ve()}this._invoke=_e}Ae(Pe.prototype),a(Pe.prototype,ie,function(){return this}),te.AsyncIterator=Pe,te.async=function(at,Je,Ye,Ge,_e){_e===void 0&&(_e=Promise);var ke=new Pe(y(at,Je,Ye,Ge),_e);return te.isGeneratorFunction(Je)?ke:ke.next().then(function(rt){return rt.done?rt.value:ke.next()})};function Le(at,Je,Ye){var Ge=b;return function(ke,rt){if(Ge===ee)throw new Error("Generator is already running");if(Ge===re){if(ke==="throw")throw rt;return it()}for(Ye.method=ke,Ye.arg=rt;;){var Ve=Ye.delegate;if(Ve){var ut=Ne(Ve,Ye);if(ut){if(ut===ce)continue;return ut}}if(Ye.method==="next")Ye.sent=Ye._sent=Ye.arg;else if(Ye.method==="throw"){if(Ge===b)throw Ge=re,Ye.arg;Ye.dispatchException(Ye.arg)}else Ye.method==="return"&&Ye.abrupt("return",Ye.arg);Ge=ee;var We=E(at,Je,Ye);if(We.type==="normal"){if(Ge=Ye.done?re:z,We.arg===ce)continue;return{value:We.arg,done:Ye.done}}else We.type==="throw"&&(Ge=re,Ye.method="throw",Ye.arg=We.arg)}}}function Ne(at,Je){var Ye=at.iterator[Je.method];if(Ye===se){if(Je.delegate=null,Je.method==="throw"){if(at.iterator.return&&(Je.method="return",Je.arg=se,Ne(at,Je),Je.method==="throw"))return ce;Je.method="throw",Je.arg=new TypeError("The iterator does not provide a 'throw' method")}return ce}var Ge=E(Ye,at.iterator,Je.arg);if(Ge.type==="throw")return Je.method="throw",Je.arg=Ge.arg,Je.delegate=null,ce;var _e=Ge.arg;if(!_e)return Je.method="throw",Je.arg=new TypeError("iterator result is not an object"),Je.delegate=null,ce;if(_e.done)Je[at.resultName]=_e.value,Je.next=at.nextLoc,Je.method!=="return"&&(Je.method="next",Je.arg=se);else return _e;return Je.delegate=null,ce}Ae(be),a(be,ne,"Generator"),a(be,oe,function(){return this}),a(be,"toString",function(){return"[object Generator]"});function De(at){var Je={tryLoc:at[0]};1 in at&&(Je.catchLoc=at[1]),2 in at&&(Je.finallyLoc=at[2],Je.afterLoc=at[3]),this.tryEntries.push(Je)}function ze(at){var Je=at.completion||{};Je.type="normal",delete Je.arg,at.completion=Je}function et(at){this.tryEntries=[{tryLoc:"root"}],at.forEach(De,this),this.reset(!0)}te.keys=function(at){var Je=[];for(var Ye in at)Je.push(Ye);return Je.reverse(),function Ge(){for(;Je.length;){var _e=Je.pop();if(_e in at)return Ge.value=_e,Ge.done=!1,Ge}return Ge.done=!0,Ge}};function Me(at){if(at){var Je=at[oe];if(Je)return Je.call(at);if(typeof at.next=="function")return at;if(!isNaN(at.length)){var Ye=-1,Ge=function _e(){for(;++Ye=0;--Ge){var _e=this.tryEntries[Ge],ke=_e.completion;if(_e.tryLoc==="root")return Ye("end");if(_e.tryLoc<=this.prev){var rt=de.call(_e,"catchLoc"),Ve=de.call(_e,"finallyLoc");if(rt&&Ve){if(this.prev<_e.catchLoc)return Ye(_e.catchLoc,!0);if(this.prev<_e.finallyLoc)return Ye(_e.finallyLoc)}else if(rt){if(this.prev<_e.catchLoc)return Ye(_e.catchLoc,!0)}else if(Ve){if(this.prev<_e.finallyLoc)return Ye(_e.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(at,Je){for(var Ye=this.tryEntries.length-1;Ye>=0;--Ye){var Ge=this.tryEntries[Ye];if(Ge.tryLoc<=this.prev&&de.call(Ge,"finallyLoc")&&this.prev=0;--Je){var Ye=this.tryEntries[Je];if(Ye.finallyLoc===at)return this.complete(Ye.completion,Ye.afterLoc),ze(Ye),ce}},catch:function(at){for(var Je=this.tryEntries.length-1;Je>=0;--Je){var Ye=this.tryEntries[Je];if(Ye.tryLoc===at){var Ge=Ye.completion;if(Ge.type==="throw"){var _e=Ge.arg;ze(Ye)}return _e}}throw new Error("illegal catch attempt")},delegateYield:function(at,Je,Ye){return this.delegate={iterator:Me(at),resultName:Je,nextLoc:Ye},this.method==="next"&&(this.arg=se),ce}},te}(typeof Se=="object"?Se.exports:{});try{regeneratorRuntime=ae}catch(te){typeof globalThis=="object"?globalThis.regeneratorRuntime=ae:Function("r","regeneratorRuntime = r")(ae)}},{}],396:[function(x,Se,ve){var ae=x("buffer"),te=ae.Buffer;function le(se,ue){for(var oe in se)ue[oe]=se[oe]}te.from&&te.alloc&&te.allocUnsafe&&te.allocUnsafeSlow?Se.exports=ae:(le(ae,ve),ve.Buffer=de);function de(se,ue,oe){return te(se,ue,oe)}le(te,de),de.from=function(se,ue,oe){if(typeof se=="number")throw new TypeError("Argument must not be a number");return te(se,ue,oe)},de.alloc=function(se,ue,oe){if(typeof se!="number")throw new TypeError("Argument must be a number");var ie=te(se);return ue!==void 0?typeof oe=="string"?ie.fill(ue,oe):ie.fill(ue):ie.fill(0),ie},de.allocUnsafe=function(se){if(typeof se!="number")throw new TypeError("Argument must be a number");return te(se)},de.allocUnsafeSlow=function(se){if(typeof se!="number")throw new TypeError("Argument must be a number");return ae.SlowBuffer(se)}},{buffer:90}],397:[function(x,Se,ve){(function(ae){(function(){(function(te){te.parser=function(Re,Te){return new de(Re,Te)},te.SAXParser=de,te.SAXStream=y,te.createStream=a,te.MAX_BUFFER_LENGTH=64*1024;var le=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];te.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function de(Re,Te){if(!(this instanceof de))return new de(Re,Te);var Ke=this;ue(Ke),Ke.q=Ke.c="",Ke.bufferCheckPosition=te.MAX_BUFFER_LENGTH,Ke.opt=Te||{},Ke.opt.lowercase=Ke.opt.lowercase||Ke.opt.lowercasetags,Ke.looseCase=Ke.opt.lowercase?"toLowerCase":"toUpperCase",Ke.tags=[],Ke.closed=Ke.closedRoot=Ke.sawRoot=!1,Ke.tag=Ke.error=null,Ke.strict=!!Re,Ke.noscript=!!(Re||Ke.opt.noscript),Ke.state=Pe.BEGIN,Ke.strictEntities=Ke.opt.strictEntities,Ke.ENTITIES=Ke.strictEntities?Object.create(te.XML_ENTITIES):Object.create(te.ENTITIES),Ke.attribList=[],Ke.opt.xmlns&&(Ke.ns=Object.create(re)),Ke.trackPosition=Ke.opt.position!==!1,Ke.trackPosition&&(Ke.position=Ke.line=Ke.column=0),Ne(Ke,"onready")}Object.create||(Object.create=function(Re){function Te(){}Te.prototype=Re;var Ke=new Te;return Ke}),Object.keys||(Object.keys=function(Re){var Te=[];for(var Ke in Re)Re.hasOwnProperty(Ke)&&Te.push(Ke);return Te});function se(Re){for(var Te=Math.max(te.MAX_BUFFER_LENGTH,10),Ke=0,Ee=0,Ie=le.length;EeTe)switch(le[Ee]){case"textNode":ze(Re);break;case"cdata":De(Re,"oncdata",Re.cdata),Re.cdata="";break;case"script":De(Re,"onscript",Re.script),Re.script="";break;default:Me(Re,"Max buffer length exceeded: "+le[Ee])}Ke=Math.max(Ke,Xe)}var Ze=te.MAX_BUFFER_LENGTH-Ke;Re.bufferCheckPosition=Ze+Re.position}function ue(Re){for(var Te=0,Ke=le.length;Te"||pe(Re)}function be(Re,Te){return Re.test(Te)}function Ae(Re,Te){return!be(Re,Te)}var Pe=0;te.STATE={BEGIN:Pe++,BEGIN_WHITESPACE:Pe++,TEXT:Pe++,TEXT_ENTITY:Pe++,OPEN_WAKA:Pe++,SGML_DECL:Pe++,SGML_DECL_QUOTED:Pe++,DOCTYPE:Pe++,DOCTYPE_QUOTED:Pe++,DOCTYPE_DTD:Pe++,DOCTYPE_DTD_QUOTED:Pe++,COMMENT_STARTING:Pe++,COMMENT:Pe++,COMMENT_ENDING:Pe++,COMMENT_ENDED:Pe++,CDATA:Pe++,CDATA_ENDING:Pe++,CDATA_ENDING_2:Pe++,PROC_INST:Pe++,PROC_INST_BODY:Pe++,PROC_INST_ENDING:Pe++,OPEN_TAG:Pe++,OPEN_TAG_SLASH:Pe++,ATTRIB:Pe++,ATTRIB_NAME:Pe++,ATTRIB_NAME_SAW_WHITE:Pe++,ATTRIB_VALUE:Pe++,ATTRIB_VALUE_QUOTED:Pe++,ATTRIB_VALUE_CLOSED:Pe++,ATTRIB_VALUE_UNQUOTED:Pe++,ATTRIB_VALUE_ENTITY_Q:Pe++,ATTRIB_VALUE_ENTITY_U:Pe++,CLOSE_TAG:Pe++,CLOSE_TAG_SAW_WHITE:Pe++,SCRIPT:Pe++,SCRIPT_ENDING:Pe++},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(Re){var Te=te.ENTITIES[Re],Ke=typeof Te=="number"?String.fromCharCode(Te):Te;te.ENTITIES[Re]=Ke});for(var Le in te.STATE)te.STATE[te.STATE[Le]]=Le;Pe=te.STATE;function Ne(Re,Te,Ke){Re[Te]&&Re[Te](Ke)}function De(Re,Te,Ke){Re.textNode&&ze(Re),Ne(Re,Te,Ke)}function ze(Re){Re.textNode=et(Re.opt,Re.textNode),Re.textNode&&Ne(Re,"ontext",Re.textNode),Re.textNode=""}function et(Re,Te){return Re.trim&&(Te=Te.trim()),Re.normalize&&(Te=Te.replace(/\s+/g," ")),Te}function Me(Re,Te){return ze(Re),Re.trackPosition&&(Te+=` Line: `+Re.line+` Column: `+Re.column+` Char: `+Re.c),Te=new Error(Te),Re.error=Te,Ne(Re,"onerror",Te),Re}function it(Re){return Re.sawRoot&&!Re.closedRoot&&at(Re,"Unclosed root tag"),Re.state!==Pe.BEGIN&&Re.state!==Pe.BEGIN_WHITESPACE&&Re.state!==Pe.TEXT&&Me(Re,"Unexpected end"),ze(Re),Re.c="",Re.closed=!0,Ne(Re,"onend"),de.call(Re,Re.strict,Re.opt),Re}function at(Re,Te){if(typeof Re!="object"||!(Re instanceof de))throw new Error("bad call to strictFail");Re.strict&&Me(Re,Te)}function Je(Re){Re.strict||(Re.tagName=Re.tagName[Re.looseCase]());var Te=Re.tags[Re.tags.length-1]||Re,Ke=Re.tag={name:Re.tagName,attributes:{}};Re.opt.xmlns&&(Ke.ns=Te.ns),Re.attribList.length=0,De(Re,"onopentagstart",Ke)}function Ye(Re,Te){var Ke=Re.indexOf(":"),Ee=Ke<0?["",Re]:Re.split(":"),Ie=Ee[0],Xe=Ee[1];return Te&&Re==="xmlns"&&(Ie="xmlns",Xe=""),{prefix:Ie,local:Xe}}function Ge(Re){if(Re.strict||(Re.attribName=Re.attribName[Re.looseCase]()),Re.attribList.indexOf(Re.attribName)!==-1||Re.tag.attributes.hasOwnProperty(Re.attribName)){Re.attribName=Re.attribValue="";return}if(Re.opt.xmlns){var Te=Ye(Re.attribName,!0),Ke=Te.prefix,Ee=Te.local;if(Ke==="xmlns")if(Ee==="xml"&&Re.attribValue!==z)at(Re,"xml: prefix must be bound to "+z+` Actual: `+Re.attribValue);else if(Ee==="xmlns"&&Re.attribValue!==ee)at(Re,"xmlns: prefix must be bound to "+ee+` Actual: `+Re.attribValue);else{var Ie=Re.tag,Xe=Re.tags[Re.tags.length-1]||Re;Ie.ns===Xe.ns&&(Ie.ns=Object.create(Xe.ns)),Ie.ns[Ee]=Re.attribValue}Re.attribList.push([Re.attribName,Re.attribValue])}else Re.tag.attributes[Re.attribName]=Re.attribValue,De(Re,"onattribute",{name:Re.attribName,value:Re.attribValue});Re.attribName=Re.attribValue=""}function _e(Re,Te){if(Re.opt.xmlns){var Ke=Re.tag,Ee=Ye(Re.tagName);Ke.prefix=Ee.prefix,Ke.local=Ee.local,Ke.uri=Ke.ns[Ee.prefix]||"",Ke.prefix&&!Ke.uri&&(at(Re,"Unbound namespace prefix: "+JSON.stringify(Re.tagName)),Ke.uri=Ee.prefix);var Ie=Re.tags[Re.tags.length-1]||Re;Ke.ns&&Ie.ns!==Ke.ns&&Object.keys(Ke.ns).forEach(function(st){De(Re,"onopennamespace",{prefix:st,uri:Ke.ns[st]})});for(var Xe=0,Ze=Re.attribList.length;Xe",Re.tagName="",Re.state=Pe.SCRIPT;return}De(Re,"onscript",Re.script),Re.script=""}var Te=Re.tags.length,Ke=Re.tagName;Re.strict||(Ke=Ke[Re.looseCase]());for(var Ee=Ke;Te--;){var Ie=Re.tags[Te];if(Ie.name!==Ee)at(Re,"Unexpected close tag");else break}if(Te<0){at(Re,"Unmatched closing tag: "+Re.tagName),Re.textNode+="",Re.state=Pe.TEXT;return}Re.tagName=Ke;for(var Xe=Re.tags.length;Xe-- >Te;){var Ze=Re.tag=Re.tags.pop();Re.tagName=Re.tag.name,De(Re,"onclosetag",Re.tagName);var Fe={};for(var xe in Ze.ns)Fe[xe]=Ze.ns[xe];var Ce=Re.tags[Re.tags.length-1]||Re;Re.opt.xmlns&&Ze.ns!==Ce.ns&&Object.keys(Ze.ns).forEach(function(we){var je=Ze.ns[we];De(Re,"onclosenamespace",{prefix:we,uri:je})})}Te===0&&(Re.closedRoot=!0),Re.tagName=Re.attribValue=Re.attribName="",Re.attribList.length=0,Re.state=Pe.TEXT}function rt(Re){var Te=Re.entity,Ke=Te.toLowerCase(),Ee,Ie="";return Re.ENTITIES[Te]?Re.ENTITIES[Te]:Re.ENTITIES[Ke]?Re.ENTITIES[Ke]:(Te=Ke,Te.charAt(0)==="#"&&(Te.charAt(1)==="x"?(Te=Te.slice(2),Ee=parseInt(Te,16),Ie=Ee.toString(16)):(Te=Te.slice(1),Ee=parseInt(Te,10),Ie=Ee.toString(10))),Te=Te.replace(/^0+/,""),isNaN(Ee)||Ie.toLowerCase()!==Te?(at(Re,"Invalid character entity"),"&"+Re.entity+";"):String.fromCodePoint(Ee))}function Ve(Re,Te){Te==="<"?(Re.state=Pe.OPEN_WAKA,Re.startTagPosition=Re.position):pe(Te)||(at(Re,"Non-whitespace before first tag."),Re.textNode=Te,Re.state=Pe.TEXT)}function ut(Re,Te){var Ke="";return Te"?(De(Te,"onsgmldeclaration",Te.sgmlDecl),Te.sgmlDecl="",Te.state=Pe.TEXT):(ge(Ee)&&(Te.state=Pe.SGML_DECL_QUOTED),Te.sgmlDecl+=Ee);continue;case Pe.SGML_DECL_QUOTED:Ee===Te.q&&(Te.state=Pe.SGML_DECL,Te.q=""),Te.sgmlDecl+=Ee;continue;case Pe.DOCTYPE:Ee===">"?(Te.state=Pe.TEXT,De(Te,"ondoctype",Te.doctype),Te.doctype=!0):(Te.doctype+=Ee,Ee==="["?Te.state=Pe.DOCTYPE_DTD:ge(Ee)&&(Te.state=Pe.DOCTYPE_QUOTED,Te.q=Ee));continue;case Pe.DOCTYPE_QUOTED:Te.doctype+=Ee,Ee===Te.q&&(Te.q="",Te.state=Pe.DOCTYPE);continue;case Pe.DOCTYPE_DTD:Te.doctype+=Ee,Ee==="]"?Te.state=Pe.DOCTYPE:ge(Ee)&&(Te.state=Pe.DOCTYPE_DTD_QUOTED,Te.q=Ee);continue;case Pe.DOCTYPE_DTD_QUOTED:Te.doctype+=Ee,Ee===Te.q&&(Te.state=Pe.DOCTYPE_DTD,Te.q="");continue;case Pe.COMMENT:Ee==="-"?Te.state=Pe.COMMENT_ENDING:Te.comment+=Ee;continue;case Pe.COMMENT_ENDING:Ee==="-"?(Te.state=Pe.COMMENT_ENDED,Te.comment=et(Te.opt,Te.comment),Te.comment&&De(Te,"oncomment",Te.comment),Te.comment=""):(Te.comment+="-"+Ee,Te.state=Pe.COMMENT);continue;case Pe.COMMENT_ENDED:Ee!==">"?(at(Te,"Malformed comment"),Te.comment+="--"+Ee,Te.state=Pe.COMMENT):Te.state=Pe.TEXT;continue;case Pe.CDATA:Ee==="]"?Te.state=Pe.CDATA_ENDING:Te.cdata+=Ee;continue;case Pe.CDATA_ENDING:Ee==="]"?Te.state=Pe.CDATA_ENDING_2:(Te.cdata+="]"+Ee,Te.state=Pe.CDATA);continue;case Pe.CDATA_ENDING_2:Ee===">"?(Te.cdata&&De(Te,"oncdata",Te.cdata),De(Te,"onclosecdata"),Te.cdata="",Te.state=Pe.TEXT):Ee==="]"?Te.cdata+="]":(Te.cdata+="]]"+Ee,Te.state=Pe.CDATA);continue;case Pe.PROC_INST:Ee==="?"?Te.state=Pe.PROC_INST_ENDING:pe(Ee)?Te.state=Pe.PROC_INST_BODY:Te.procInstName+=Ee;continue;case Pe.PROC_INST_BODY:if(!Te.procInstBody&&pe(Ee))continue;Ee==="?"?Te.state=Pe.PROC_INST_ENDING:Te.procInstBody+=Ee;continue;case Pe.PROC_INST_ENDING:Ee===">"?(De(Te,"onprocessinginstruction",{name:Te.procInstName,body:Te.procInstBody}),Te.procInstName=Te.procInstBody="",Te.state=Pe.TEXT):(Te.procInstBody+="?"+Ee,Te.state=Pe.PROC_INST_BODY);continue;case Pe.OPEN_TAG:be(me,Ee)?Te.tagName+=Ee:(Je(Te),Ee===">"?_e(Te):Ee==="/"?Te.state=Pe.OPEN_TAG_SLASH:(pe(Ee)||at(Te,"Invalid character in tag name"),Te.state=Pe.ATTRIB));continue;case Pe.OPEN_TAG_SLASH:Ee===">"?(_e(Te,!0),ke(Te)):(at(Te,"Forward-slash in opening tag not followed by >"),Te.state=Pe.ATTRIB);continue;case Pe.ATTRIB:if(pe(Ee))continue;Ee===">"?_e(Te):Ee==="/"?Te.state=Pe.OPEN_TAG_SLASH:be(ce,Ee)?(Te.attribName=Ee,Te.attribValue="",Te.state=Pe.ATTRIB_NAME):at(Te,"Invalid attribute name");continue;case Pe.ATTRIB_NAME:Ee==="="?Te.state=Pe.ATTRIB_VALUE:Ee===">"?(at(Te,"Attribute without value"),Te.attribValue=Te.attribName,Ge(Te),_e(Te)):pe(Ee)?Te.state=Pe.ATTRIB_NAME_SAW_WHITE:be(me,Ee)?Te.attribName+=Ee:at(Te,"Invalid attribute name");continue;case Pe.ATTRIB_NAME_SAW_WHITE:if(Ee==="=")Te.state=Pe.ATTRIB_VALUE;else{if(pe(Ee))continue;at(Te,"Attribute without value"),Te.tag.attributes[Te.attribName]="",Te.attribValue="",De(Te,"onattribute",{name:Te.attribName,value:""}),Te.attribName="",Ee===">"?_e(Te):be(ce,Ee)?(Te.attribName=Ee,Te.state=Pe.ATTRIB_NAME):(at(Te,"Invalid attribute name"),Te.state=Pe.ATTRIB)}continue;case Pe.ATTRIB_VALUE:if(pe(Ee))continue;ge(Ee)?(Te.q=Ee,Te.state=Pe.ATTRIB_VALUE_QUOTED):(at(Te,"Unquoted attribute value"),Te.state=Pe.ATTRIB_VALUE_UNQUOTED,Te.attribValue=Ee);continue;case Pe.ATTRIB_VALUE_QUOTED:if(Ee!==Te.q){Ee==="&"?Te.state=Pe.ATTRIB_VALUE_ENTITY_Q:Te.attribValue+=Ee;continue}Ge(Te),Te.q="",Te.state=Pe.ATTRIB_VALUE_CLOSED;continue;case Pe.ATTRIB_VALUE_CLOSED:pe(Ee)?Te.state=Pe.ATTRIB:Ee===">"?_e(Te):Ee==="/"?Te.state=Pe.OPEN_TAG_SLASH:be(ce,Ee)?(at(Te,"No whitespace between attributes"),Te.attribName=Ee,Te.attribValue="",Te.state=Pe.ATTRIB_NAME):at(Te,"Invalid attribute name");continue;case Pe.ATTRIB_VALUE_UNQUOTED:if(!ye(Ee)){Ee==="&"?Te.state=Pe.ATTRIB_VALUE_ENTITY_U:Te.attribValue+=Ee;continue}Ge(Te),Ee===">"?_e(Te):Te.state=Pe.ATTRIB;continue;case Pe.CLOSE_TAG:if(Te.tagName)Ee===">"?ke(Te):be(me,Ee)?Te.tagName+=Ee:Te.script?(Te.script+=""?ke(Te):at(Te,"Invalid characters in closing tag");continue;case Pe.TEXT_ENTITY:case Pe.ATTRIB_VALUE_ENTITY_Q:case Pe.ATTRIB_VALUE_ENTITY_U:var Ze,Fe;switch(Te.state){case Pe.TEXT_ENTITY:Ze=Pe.TEXT,Fe="textNode";break;case Pe.ATTRIB_VALUE_ENTITY_Q:Ze=Pe.ATTRIB_VALUE_QUOTED,Fe="attribValue";break;case Pe.ATTRIB_VALUE_ENTITY_U:Ze=Pe.ATTRIB_VALUE_UNQUOTED,Fe="attribValue";break}Ee===";"?(Te[Fe]+=rt(Te),Te.entity="",Te.state=Ze):be(Te.entity.length?fe:he,Ee)?Te.entity+=Ee:(at(Te,"Invalid character in entity name"),Te[Fe]+="&"+Te.entity+Ee,Te.entity="",Te.state=Ze);continue;default:throw new Error(Te,"Unknown state: "+Te.state)}return Te.position>=Te.bufferCheckPosition&&se(Te),Te}String.fromCodePoint||function(){var Re=String.fromCharCode,Te=Math.floor,Ke=function(){var Ee=16384,Ie=[],Xe,Ze,Fe=-1,xe=arguments.length;if(!xe)return"";for(var Ce="";++Fe1114111||Te(we)!==we)throw RangeError("Invalid code point: "+we);we<=65535?Ie.push(we):(we-=65536,Xe=(we>>10)+55296,Ze=we%1024+56320,Ie.push(Xe,Ze)),(Fe+1===xe||Ie.length>Ee)&&(Ce+=Re.apply(null,Ie),Ie.length=0)}return Ce};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ke,configurable:!0,writable:!0}):String.fromCodePoint=Ke}()})(typeof ve=="undefined"?this.sax={}:ve)}).call(this)}).call(this,x("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(x,Se,ve){Se.exports=le;var ae=x("events").EventEmitter,te=x("inherits");te(le,ae),le.Readable=x("readable-stream/lib/_stream_readable.js"),le.Writable=x("readable-stream/lib/_stream_writable.js"),le.Duplex=x("readable-stream/lib/_stream_duplex.js"),le.Transform=x("readable-stream/lib/_stream_transform.js"),le.PassThrough=x("readable-stream/lib/_stream_passthrough.js"),le.finished=x("readable-stream/lib/internal/streams/end-of-stream.js"),le.pipeline=x("readable-stream/lib/internal/streams/pipeline.js"),le.Stream=le;function le(){ae.call(this)}le.prototype.pipe=function(de,se){var ue=this;function oe(z){de.writable&&de.write(z)===!1&&ue.pause&&ue.pause()}ue.on("data",oe);function ie(){ue.readable&&ue.resume&&ue.resume()}de.on("drain",ie),!de._isStdio&&(!se||se.end!==!1)&&(ue.on("end",a),ue.on("close",y));var ne=!1;function a(){ne||(ne=!0,de.end())}function y(){ne||(ne=!0,typeof de.destroy=="function"&&de.destroy())}function E(z){if(b(),ae.listenerCount(this,"error")===0)throw z}ue.on("error",E),de.on("error",E);function b(){ue.removeListener("data",oe),de.removeListener("drain",ie),ue.removeListener("end",a),ue.removeListener("close",y),ue.removeListener("error",E),de.removeListener("error",E),ue.removeListener("end",b),ue.removeListener("close",b),de.removeListener("close",b)}return ue.on("end",b),ue.on("close",b),de.on("close",b),de.emit("pipe",ue),de}},{events:344,inherits:364,"readable-stream/lib/_stream_duplex.js":400,"readable-stream/lib/_stream_passthrough.js":401,"readable-stream/lib/_stream_readable.js":402,"readable-stream/lib/_stream_transform.js":403,"readable-stream/lib/_stream_writable.js":404,"readable-stream/lib/internal/streams/end-of-stream.js":408,"readable-stream/lib/internal/streams/pipeline.js":410}],399:[function(x,Se,ve){"use strict";function ae(ie,ne){ie.prototype=Object.create(ne.prototype),ie.prototype.constructor=ie,ie.__proto__=ne}var te={};function le(ie,ne,a){a||(a=Error);function y(b,z,ee){return typeof ne=="string"?ne:ne(b,z,ee)}var E=function(b){ae(z,b);function z(ee,re,ce){return b.call(this,y(ee,re,ce))||this}return z}(a);E.prototype.name=a.name,E.prototype.code=ie,te[ie]=E}function de(ie,ne){if(Array.isArray(ie)){var a=ie.length;return ie=ie.map(function(y){return String(y)}),a>2?"one of ".concat(ne," ").concat(ie.slice(0,a-1).join(", "),", or ")+ie[a-1]:a===2?"one of ".concat(ne," ").concat(ie[0]," or ").concat(ie[1]):"of ".concat(ne," ").concat(ie[0])}else return"of ".concat(ne," ").concat(String(ie))}function se(ie,ne,a){return ie.substr(!a||a<0?0:+a,ne.length)===ne}function ue(ie,ne,a){return(a===void 0||a>ie.length)&&(a=ie.length),ie.substring(a-ne.length,a)===ne}function oe(ie,ne,a){return typeof a!="number"&&(a=0),a+ne.length>ie.length?!1:ie.indexOf(ne,a)!==-1}le("ERR_INVALID_OPT_VALUE",function(ie,ne){return'The value "'+ne+'" is invalid for option "'+ie+'"'},TypeError),le("ERR_INVALID_ARG_TYPE",function(ie,ne,a){var y;typeof ne=="string"&&se(ne,"not ")?(y="must not be",ne=ne.replace(/^not /,"")):y="must be";var E;if(ue(ie," argument"))E="The ".concat(ie," ").concat(y," ").concat(de(ne,"type"));else{var b=oe(ie,".")?"property":"argument";E='The "'.concat(ie,'" ').concat(b," ").concat(y," ").concat(de(ne,"type"))}return E+=". Received type ".concat(typeof a),E},TypeError),le("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),le("ERR_METHOD_NOT_IMPLEMENTED",function(ie){return"The "+ie+" method is not implemented"}),le("ERR_STREAM_PREMATURE_CLOSE","Premature close"),le("ERR_STREAM_DESTROYED",function(ie){return"Cannot call "+ie+" after a stream was destroyed"}),le("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),le("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),le("ERR_STREAM_WRITE_AFTER_END","write after end"),le("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),le("ERR_UNKNOWN_ENCODING",function(ie){return"Unknown encoding: "+ie},TypeError),le("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Se.exports.codes=te},{}],400:[function(x,Se,ve){(function(ae){(function(){"use strict";var te=Object.keys||function(y){var E=[];for(var b in y)E.push(b);return E};Se.exports=ie;var le=x("./_stream_readable"),de=x("./_stream_writable");x("inherits")(ie,le);for(var se=te(de.prototype),ue=0;ue0)if(typeof xe!="string"&&!Ue.objectMode&&Object.getPrototypeOf(xe)!==oe.prototype&&(xe=ne(xe)),we)Ue.endEmitted?Ae(Fe,new pe):et(Fe,Ue,xe,!0);else if(Ue.ended)Ae(Fe,new he);else{if(Ue.destroyed)return!1;Ue.reading=!1,Ue.decoder&&!Ce?(xe=Ue.decoder.write(xe),Ue.objectMode||xe.length!==0?et(Fe,Ue,xe,!1):ke(Fe,Ue)):et(Fe,Ue,xe,!1)}else we||(Ue.reading=!1,ke(Fe,Ue))}return!Ue.ended&&(Ue.length=it?Fe=it:(Fe--,Fe|=Fe>>>1,Fe|=Fe>>>2,Fe|=Fe>>>4,Fe|=Fe>>>8,Fe|=Fe>>>16,Fe++),Fe}function Je(Fe,xe){return Fe<=0||xe.length===0&&xe.ended?0:xe.objectMode?1:Fe!==Fe?xe.flowing&&xe.length?xe.buffer.head.data.length:xe.length:(Fe>xe.highWaterMark&&(xe.highWaterMark=at(Fe)),Fe<=xe.length?Fe:xe.ended?xe.length:(xe.needReadable=!0,0))}De.prototype.read=function(Fe){E("read",Fe),Fe=parseInt(Fe,10);var xe=this._readableState,Ce=Fe;if(Fe!==0&&(xe.emittedReadable=!1),Fe===0&&xe.needReadable&&((xe.highWaterMark!==0?xe.length>=xe.highWaterMark:xe.length>0)||xe.ended))return E("read: emitReadable",xe.length,xe.ended),xe.length===0&&xe.ended?Ie(this):Ge(this),null;if(Fe=Je(Fe,xe),Fe===0&&xe.ended)return xe.length===0&&Ie(this),null;var we=xe.needReadable;E("need readable",we),(xe.length===0||xe.length-Fe0?je=Ee(Fe,xe):je=null,je===null?(xe.needReadable=xe.length<=xe.highWaterMark,Fe=0):(xe.length-=Fe,xe.awaitDrain=0),xe.length===0&&(xe.ended||(xe.needReadable=!0),Ce!==Fe&&xe.ended&&Ie(this)),je!==null&&this.emit("data",je),je};function Ye(Fe,xe){if(E("onEofChunk"),!xe.ended){if(xe.decoder){var Ce=xe.decoder.end();Ce&&Ce.length&&(xe.buffer.push(Ce),xe.length+=xe.objectMode?1:Ce.length)}xe.ended=!0,xe.sync?Ge(Fe):(xe.needReadable=!1,xe.emittedReadable||(xe.emittedReadable=!0,_e(Fe)))}}function Ge(Fe){var xe=Fe._readableState;E("emitReadable",xe.needReadable,xe.emittedReadable),xe.needReadable=!1,xe.emittedReadable||(E("emitReadable",xe.flowing),xe.emittedReadable=!0,ae.nextTick(_e,Fe))}function _e(Fe){var xe=Fe._readableState;E("emitReadable_",xe.destroyed,xe.length,xe.ended),!xe.destroyed&&(xe.length||xe.ended)&&(Fe.emit("readable"),xe.emittedReadable=!1),xe.needReadable=!xe.flowing&&!xe.ended&&xe.length<=xe.highWaterMark,Ke(Fe)}function ke(Fe,xe){xe.readingMore||(xe.readingMore=!0,ae.nextTick(rt,Fe,xe))}function rt(Fe,xe){for(;!xe.reading&&!xe.ended&&(xe.length1&&Ze(we.pipes,Fe)!==-1)&&!St&&(E("false write response, pause",we.awaitDrain),we.awaitDrain++),Ce.pause())}function lt(dt){E("onerror",dt),Qe(),Fe.removeListener("error",lt),se(Fe,"error")===0&&Ae(Fe,dt)}Le(Fe,"error",lt);function pt(){Fe.removeListener("finish",tt),Qe()}Fe.once("close",pt);function tt(){E("onfinish"),Fe.removeListener("close",pt),Qe()}Fe.once("finish",tt);function Qe(){E("unpipe"),Ce.unpipe(Fe)}return Fe.emit("pipe",Ce),we.flowing||(E("pipe resume"),Ce.resume()),Fe};function Ve(Fe){return function(){var Ce=Fe._readableState;E("pipeOnDrain",Ce.awaitDrain),Ce.awaitDrain&&Ce.awaitDrain--,Ce.awaitDrain===0&&se(Fe,"data")&&(Ce.flowing=!0,Ke(Fe))}}De.prototype.unpipe=function(Fe){var xe=this._readableState,Ce={hasUnpiped:!1};if(xe.pipesCount===0)return this;if(xe.pipesCount===1)return Fe&&Fe!==xe.pipes?this:(Fe||(Fe=xe.pipes),xe.pipes=null,xe.pipesCount=0,xe.flowing=!1,Fe&&Fe.emit("unpipe",this,Ce),this);if(!Fe){var we=xe.pipes,je=xe.pipesCount;xe.pipes=null,xe.pipesCount=0,xe.flowing=!1;for(var Ue=0;Ue0,we.flowing!==!1&&this.resume()):Fe==="readable"&&!we.endEmitted&&!we.readableListening&&(we.readableListening=we.needReadable=!0,we.flowing=!1,we.emittedReadable=!1,E("on readable",we.length,we.reading),we.length?Ge(this):we.reading||ae.nextTick(We,this)),Ce},De.prototype.addListener=De.prototype.on,De.prototype.removeListener=function(Fe,xe){var Ce=ue.prototype.removeListener.call(this,Fe,xe);return Fe==="readable"&&ae.nextTick(ut,this),Ce},De.prototype.removeAllListeners=function(Fe){var xe=ue.prototype.removeAllListeners.apply(this,arguments);return(Fe==="readable"||Fe===void 0)&&ae.nextTick(ut,this),xe};function ut(Fe){var xe=Fe._readableState;xe.readableListening=Fe.listenerCount("readable")>0,xe.resumeScheduled&&!xe.paused?xe.flowing=!0:Fe.listenerCount("data")>0&&Fe.resume()}function We(Fe){E("readable nexttick read 0"),Fe.read(0)}De.prototype.resume=function(){var Fe=this._readableState;return Fe.flowing||(E("resume"),Fe.flowing=!Fe.readableListening,Re(this,Fe)),Fe.paused=!1,this};function Re(Fe,xe){xe.resumeScheduled||(xe.resumeScheduled=!0,ae.nextTick(Te,Fe,xe))}function Te(Fe,xe){E("resume",xe.reading),xe.reading||Fe.read(0),xe.resumeScheduled=!1,Fe.emit("resume"),Ke(Fe),xe.flowing&&!xe.reading&&Fe.read(0)}De.prototype.pause=function(){return E("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(E("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Ke(Fe){var xe=Fe._readableState;for(E("flow",xe.flowing);xe.flowing&&Fe.read()!==null;);}De.prototype.wrap=function(Fe){var xe=this,Ce=this._readableState,we=!1;Fe.on("end",function(){if(E("wrapped end"),Ce.decoder&&!Ce.ended){var ot=Ce.decoder.end();ot&&ot.length&&xe.push(ot)}xe.push(null)}),Fe.on("data",function(ot){if(E("wrapped data"),Ce.decoder&&(ot=Ce.decoder.write(ot)),!(Ce.objectMode&&ot==null)&&!(!Ce.objectMode&&(!ot||!ot.length))){var $e=xe.push(ot);$e||(we=!0,Fe.pause())}});for(var je in Fe)this[je]===void 0&&typeof Fe[je]=="function"&&(this[je]=function($e){return function(){return Fe[$e].apply(Fe,arguments)}}(je));for(var Ue=0;Ue=xe.length?(xe.decoder?Ce=xe.buffer.join(""):xe.buffer.length===1?Ce=xe.buffer.first():Ce=xe.buffer.concat(xe.length),xe.buffer.clear()):Ce=xe.buffer.consume(Fe,xe.decoder),Ce}function Ie(Fe){var xe=Fe._readableState;E("endReadable",xe.endEmitted),xe.endEmitted||(xe.ended=!0,ae.nextTick(Xe,xe,Fe))}function Xe(Fe,xe){if(E("endReadableNT",Fe.endEmitted,Fe.length),!Fe.endEmitted&&Fe.length===0&&(Fe.endEmitted=!0,xe.readable=!1,xe.emit("end"),Fe.autoDestroy)){var Ce=xe._writableState;(!Ce||Ce.autoDestroy&&Ce.finished)&&xe.destroy()}}typeof Symbol=="function"&&(De.from=function(Fe,xe){return be===void 0&&(be=x("./internal/streams/from")),be(De,Fe,xe)});function Ze(Fe,xe){for(var Ce=0,we=Fe.length;Ce-1))throw new ye(Ee);return this._writableState.defaultEncoding=Ee,this},Object.defineProperty(Ne.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function et(Ke,Ee,Ie){return!Ke.objectMode&&Ke.decodeStrings!==!1&&typeof Ee=="string"&&(Ee=ie.from(Ee,Ie)),Ee}Object.defineProperty(Ne.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Me(Ke,Ee,Ie,Xe,Ze,Fe){if(!Ie){var xe=et(Ee,Xe,Ze);Xe!==xe&&(Ie=!0,Ze="buffer",Xe=xe)}var Ce=Ee.objectMode?1:Xe.length;Ee.length+=Ce;var we=Ee.length0?this.tail.next=me:this.head=me,this.tail=me,++this.length}},{key:"unshift",value:function(ce){var me={data:ce,next:this.head};this.length===0&&(this.tail=me),this.head=me,++this.length}},{key:"shift",value:function(){if(this.length!==0){var ce=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ce}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(ce){if(this.length===0)return"";for(var me=this.head,he=""+me.data;me=me.next;)he+=ce+me.data;return he}},{key:"concat",value:function(ce){if(this.length===0)return a.alloc(0);for(var me=a.allocUnsafe(ce>>>0),he=this.head,fe=0;he;)z(he.data,me,fe),fe+=he.data.length,he=he.next;return me}},{key:"consume",value:function(ce,me){var he;return cepe.length?pe.length:ce;if(ge===pe.length?fe+=pe:fe+=pe.slice(0,ce),ce-=ge,ce===0){ge===pe.length?(++he,me.next?this.head=me.next:this.head=this.tail=null):(this.head=me,me.data=pe.slice(ge));break}++he}return this.length-=he,fe}},{key:"_getBuffer",value:function(ce){var me=a.allocUnsafe(ce),he=this.head,fe=1;for(he.data.copy(me),ce-=he.data.length;he=he.next;){var pe=he.data,ge=ce>pe.length?pe.length:ce;if(pe.copy(me,me.length-ce,0,ge),ce-=ge,ce===0){ge===pe.length?(++fe,he.next?this.head=he.next:this.head=this.tail=null):(this.head=he,he.data=pe.slice(ge));break}++fe}return this.length-=fe,me}},{key:b,value:function(ce,me){return E(this,te(te({},me),{},{depth:0,customInspect:!1}))}}]),ee}()},{buffer:90,util:89}],407:[function(x,Se,ve){(function(ae){(function(){"use strict";function te(ie,ne){var a=this,y=this._readableState&&this._readableState.destroyed,E=this._writableState&&this._writableState.destroyed;return y||E?(ne?ne(ie):ie&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,ae.nextTick(ue,this,ie)):ae.nextTick(ue,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?ae.nextTick(de,a):(a._writableState.errorEmitted=!0,ae.nextTick(le,a,b)):ae.nextTick(le,a,b):ne?(ae.nextTick(de,a),ne(b)):ae.nextTick(de,a)}),this)}function le(ie,ne){ue(ie,ne),de(ie)}function de(ie){ie._writableState&&!ie._writableState.emitClose||ie._readableState&&!ie._readableState.emitClose||ie.emit("close")}function se(){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 ue(ie,ne){ie.emit("error",ne)}function oe(ie,ne){var a=ie._readableState,y=ie._writableState;a&&a.autoDestroy||y&&y.autoDestroy?ie.destroy(ne):ie.emit("error",ne)}Se.exports={destroy:te,undestroy:se,errorOrDestroy:oe}}).call(this)}).call(this,x("_process"))},{_process:467}],408:[function(x,Se,ve){"use strict";var ae=x("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function te(ue){var oe=!1;return function(){if(!oe){oe=!0;for(var ie=arguments.length,ne=new Array(ie),a=0;a0;return ie(he,pe,ge,function(ye){ce||(ce=ye),ye&&me.forEach(ne),!pe&&(me.forEach(ne),re(ce))})});return z.reduce(a)}Se.exports=E},{"../../../errors":399,"./end-of-stream":408}],411:[function(x,Se,ve){"use strict";var ae=x("../../../errors").codes.ERR_INVALID_OPT_VALUE;function te(de,se,ue){return de.highWaterMark!=null?de.highWaterMark:se?de[ue]:null}function le(de,se,ue,oe){var ie=te(se,oe,ue);if(ie!=null){if(!(isFinite(ie)&&Math.floor(ie)===ie)||ie<0){var ne=oe?ue:"highWaterMark";throw new ae(ne,ie)}return Math.floor(ie)}return de.objectMode?16:16*1024}Se.exports={getHighWaterMark:le}},{"../../../errors":399}],412:[function(x,Se,ve){arguments[4][393][0].apply(ve,arguments)},{dup:393,events:344}],413:[function(x,Se,ve){"use strict";var ae=x("safe-buffer").Buffer,te=ae.isEncoding||function(me){switch(me=""+me,me&&me.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 le(me){if(!me)return"utf8";for(var he;;)switch(me){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 me;default:if(he)return;me=(""+me).toLowerCase(),he=!0}}function de(me){var he=le(me);if(typeof he!="string"&&(ae.isEncoding===te||!te(me)))throw new Error("Unknown encoding: "+me);return he||me}ve.StringDecoder=se;function se(me){this.encoding=de(me);var he;switch(this.encoding){case"utf16le":this.text=E,this.end=b,he=4;break;case"utf8":this.fillLast=ne,he=4;break;case"base64":this.text=z,this.end=ee,he=3;break;default:this.write=re,this.end=ce;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=ae.allocUnsafe(he)}se.prototype.write=function(me){if(me.length===0)return"";var he,fe;if(this.lastNeed){if(he=this.fillLast(me),he===void 0)return"";fe=this.lastNeed,this.lastNeed=0}else fe=0;return fe>5===6?2:me>>4===14?3:me>>3===30?4:me>>6===2?-1:-2}function oe(me,he,fe){var pe=he.length-1;if(pe=0?(ge>0&&(me.lastNeed=ge-1),ge):--pe=0?(ge>0&&(me.lastNeed=ge-2),ge):--pe=0?(ge>0&&(ge===2?ge=0:me.lastNeed=ge-3),ge):0))}function ie(me,he,fe){if((he[0]&192)!==128)return me.lastNeed=0,"\uFFFD";if(me.lastNeed>1&&he.length>1){if((he[1]&192)!==128)return me.lastNeed=1,"\uFFFD";if(me.lastNeed>2&&he.length>2&&(he[2]&192)!==128)return me.lastNeed=2,"\uFFFD"}}function ne(me){var he=this.lastTotal-this.lastNeed,fe=ie(this,me,he);if(fe!==void 0)return fe;if(this.lastNeed<=me.length)return me.copy(this.lastChar,he,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);me.copy(this.lastChar,he,0,me.length),this.lastNeed-=me.length}function a(me,he){var fe=oe(this,me,he);if(!this.lastNeed)return me.toString("utf8",he);this.lastTotal=fe;var pe=me.length-(fe-this.lastNeed);return me.copy(this.lastChar,0,pe),me.toString("utf8",he,pe)}function y(me){var he=me&&me.length?this.write(me):"";return this.lastNeed?he+"\uFFFD":he}function E(me,he){if((me.length-he)%2===0){var fe=me.toString("utf16le",he);if(fe){var pe=fe.charCodeAt(fe.length-1);if(pe>=55296&&pe<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=me[me.length-2],this.lastChar[1]=me[me.length-1],fe.slice(0,-1)}return fe}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=me[me.length-1],me.toString("utf16le",he,me.length-1)}function b(me){var he=me&&me.length?this.write(me):"";if(this.lastNeed){var fe=this.lastTotal-this.lastNeed;return he+this.lastChar.toString("utf16le",0,fe)}return he}function z(me,he){var fe=(me.length-he)%3;return fe===0?me.toString("base64",he):(this.lastNeed=3-fe,this.lastTotal=3,fe===1?this.lastChar[0]=me[me.length-1]:(this.lastChar[0]=me[me.length-2],this.lastChar[1]=me[me.length-1]),me.toString("base64",he,me.length-fe))}function ee(me){var he=me&&me.length?this.write(me):"";return this.lastNeed?he+this.lastChar.toString("base64",0,3-this.lastNeed):he}function re(me){return me.toString(this.encoding)}function ce(me){return me&&me.length?this.write(me):""}},{"safe-buffer":396}],414:[function(x,Se,ve){(function(ae,te){(function(){var le=x("process/browser.js").nextTick,de=Function.prototype.apply,se=Array.prototype.slice,ue={},oe=0;ve.setTimeout=function(){return new ie(de.call(setTimeout,window,arguments),clearTimeout)},ve.setInterval=function(){return new ie(de.call(setInterval,window,arguments),clearInterval)},ve.clearTimeout=ve.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)},ve.enroll=function(ne,a){clearTimeout(ne._idleTimeoutId),ne._idleTimeout=a},ve.unenroll=function(ne){clearTimeout(ne._idleTimeoutId),ne._idleTimeout=-1},ve._unrefActive=ve.active=function(ne){clearTimeout(ne._idleTimeoutId);var a=ne._idleTimeout;a>=0&&(ne._idleTimeoutId=setTimeout(function(){ne._onTimeout&&ne._onTimeout()},a))},ve.setImmediate=typeof ae=="function"?ae:function(ne){var a=oe++,y=arguments.length<2?!1:se.call(arguments,1);return ue[a]=!0,le(function(){ue[a]&&(y?ne.apply(null,y):ne.call(null),ve.clearImmediate(a))}),a},ve.clearImmediate=typeof te=="function"?te:function(ne){delete ue[ne]}}).call(this)}).call(this,x("timers").setImmediate,x("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(x,Se,ve){var ae=x("buffer").Buffer;Se.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(ae.isBuffer(te)){for(var le=new Uint8Array(te.length),de=te.length,se=0;se=We)return Ke;switch(Ke){case"%s":return String(ut[Ve++]);case"%d":return Number(ut[Ve++]);case"%j":try{return JSON.stringify(ut[Ve++])}catch(Ee){return"[Circular]"}default:return Ke}}),Te=ut[Ve];Ve=3&&(Ve.depth=arguments[2]),arguments.length>=4&&(Ve.colors=arguments[3]),me(rt)?Ve.showHidden=rt:rt&&ve._extend(Ve,rt),be(Ve.showHidden)&&(Ve.showHidden=!1),be(Ve.depth)&&(Ve.depth=2),be(Ve.colors)&&(Ve.colors=!1),be(Ve.customInspect)&&(Ve.customInspect=!0),Ve.colors&&(Ve.stylize=ie),y(Ve,ke,Ve.depth)}ve.inspect=oe,oe.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},oe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ie(ke,rt){var Ve=oe.styles[rt];return Ve?"\x1B["+oe.colors[Ve][0]+"m"+ke+"\x1B["+oe.colors[Ve][1]+"m":ke}function ne(ke,rt){return ke}function a(ke){var rt={};return ke.forEach(function(Ve,ut){rt[Ve]=!0}),rt}function y(ke,rt,Ve){if(ke.customInspect&&rt&&De(rt.inspect)&&rt.inspect!==ve.inspect&&!(rt.constructor&&rt.constructor.prototype===rt)){var ut=rt.inspect(Ve,ke);return ge(ut)||(ut=y(ke,ut,Ve)),ut}var We=E(ke,rt);if(We)return We;var Re=Object.keys(rt),Te=a(Re);if(ke.showHidden&&(Re=Object.getOwnPropertyNames(rt)),Ne(rt)&&(Re.indexOf("message")>=0||Re.indexOf("description")>=0))return b(rt);if(Re.length===0){if(De(rt)){var Ke=rt.name?": "+rt.name:"";return ke.stylize("[Function"+Ke+"]","special")}if(Ae(rt))return ke.stylize(RegExp.prototype.toString.call(rt),"regexp");if(Le(rt))return ke.stylize(Date.prototype.toString.call(rt),"date");if(Ne(rt))return b(rt)}var Ee="",Ie=!1,Xe=["{","}"];if(ce(rt)&&(Ie=!0,Xe=["[","]"]),De(rt)){var Ze=rt.name?": "+rt.name:"";Ee=" [Function"+Ze+"]"}if(Ae(rt)&&(Ee=" "+RegExp.prototype.toString.call(rt)),Le(rt)&&(Ee=" "+Date.prototype.toUTCString.call(rt)),Ne(rt)&&(Ee=" "+b(rt)),Re.length===0&&(!Ie||rt.length==0))return Xe[0]+Ee+Xe[1];if(Ve<0)return Ae(rt)?ke.stylize(RegExp.prototype.toString.call(rt),"regexp"):ke.stylize("[Object]","special");ke.seen.push(rt);var Fe;return Ie?Fe=z(ke,rt,Ve,Te,Re):Fe=Re.map(function(xe){return ee(ke,rt,Ve,Te,xe,Ie)}),ke.seen.pop(),re(Fe,Ee,Xe)}function E(ke,rt){if(be(rt))return ke.stylize("undefined","undefined");if(ge(rt)){var Ve="'"+JSON.stringify(rt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ke.stylize(Ve,"string")}if(pe(rt))return ke.stylize(""+rt,"number");if(me(rt))return ke.stylize(""+rt,"boolean");if(he(rt))return ke.stylize("null","null")}function b(ke){return"["+Error.prototype.toString.call(ke)+"]"}function z(ke,rt,Ve,ut,We){for(var Re=[],Te=0,Ke=rt.length;Te-1&&(Re?Ke=Ke.split(` `).map(function(Ie){return" "+Ie}).join(` `).slice(2):Ke=` `+Ke.split(` `).map(function(Ie){return" "+Ie}).join(` `))):Ke=ke.stylize("[Circular]","special")),be(Te)){if(Re&&We.match(/^\d+$/))return Ke;Te=JSON.stringify(""+We),Te.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Te=Te.slice(1,-1),Te=ke.stylize(Te,"name")):(Te=Te.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Te=ke.stylize(Te,"string"))}return Te+": "+Ke}function re(ke,rt,Ve){var ut=0,We=ke.reduce(function(Re,Te){return ut++,Te.indexOf(` `)>=0&&ut++,Re+Te.replace(/\u001b\[\d\d?m/g,"").length+1},0);return We>60?Ve[0]+(rt===""?"":rt+` `)+" "+ke.join(`, `)+" "+Ve[1]:Ve[0]+rt+" "+ke.join(", ")+" "+Ve[1]}ve.types=x("./support/types");function ce(ke){return Array.isArray(ke)}ve.isArray=ce;function me(ke){return typeof ke=="boolean"}ve.isBoolean=me;function he(ke){return ke===null}ve.isNull=he;function fe(ke){return ke==null}ve.isNullOrUndefined=fe;function pe(ke){return typeof ke=="number"}ve.isNumber=pe;function ge(ke){return typeof ke=="string"}ve.isString=ge;function ye(ke){return typeof ke=="symbol"}ve.isSymbol=ye;function be(ke){return ke===void 0}ve.isUndefined=be;function Ae(ke){return Pe(ke)&&et(ke)==="[object RegExp]"}ve.isRegExp=Ae,ve.types.isRegExp=Ae;function Pe(ke){return typeof ke=="object"&&ke!==null}ve.isObject=Pe;function Le(ke){return Pe(ke)&&et(ke)==="[object Date]"}ve.isDate=Le,ve.types.isDate=Le;function Ne(ke){return Pe(ke)&&(et(ke)==="[object Error]"||ke instanceof Error)}ve.isError=Ne,ve.types.isNativeError=Ne;function De(ke){return typeof ke=="function"}ve.isFunction=De;function ze(ke){return ke===null||typeof ke=="boolean"||typeof ke=="number"||typeof ke=="string"||typeof ke=="symbol"||typeof ke=="undefined"}ve.isPrimitive=ze,ve.isBuffer=x("./support/isBuffer");function et(ke){return Object.prototype.toString.call(ke)}function Me(ke){return ke<10?"0"+ke.toString(10):ke.toString(10)}var it=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function at(){var ke=new Date,rt=[Me(ke.getHours()),Me(ke.getMinutes()),Me(ke.getSeconds())].join(":");return[ke.getDate(),it[ke.getMonth()],rt].join(" ")}ve.log=function(){console.log("%s - %s",at(),ve.format.apply(ve,arguments))},ve.inherits=x("inherits"),ve._extend=function(ke,rt){if(!rt||!Pe(rt))return ke;for(var Ve=Object.keys(rt),ut=Ve.length;ut--;)ke[Ve[ut]]=rt[Ve[ut]];return ke};function Je(ke,rt){return Object.prototype.hasOwnProperty.call(ke,rt)}var Ye=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;ve.promisify=function(rt){if(typeof rt!="function")throw new TypeError('The "original" argument must be of type Function');if(Ye&&rt[Ye]){var Ve=rt[Ye];if(typeof Ve!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Ve,Ye,{value:Ve,enumerable:!1,writable:!1,configurable:!0}),Ve}function Ve(){for(var ut,We,Re=new Promise(function(Ee,Ie){ut=Ee,We=Ie}),Te=[],Ke=0;Ke-1?he:he!=="Object"?!1:re(me)}return ue?ee(me):null}}).call(this)}).call(this,typeof bt!="undefined"?bt: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(x,Se,ve){(function(){"use strict";ve.stripBOM=function(ae){return ae[0]==="\uFEFF"?ae.substring(1):ae}}).call(this)},{}],422:[function(x,Se,ve){(function(){"use strict";var ae,te,le,de,se,ue={}.hasOwnProperty;ae=x("xmlbuilder"),te=x("./defaults").defaults,de=function(oe){return typeof oe=="string"&&(oe.indexOf("&")>=0||oe.indexOf(">")>=0||oe.indexOf("<")>=0)},se=function(oe){return""},le=function(oe){return oe.replace("]]>","]]]]>")},ve.Builder=function(){function oe(ie){var ne,a,y;this.options={},a=te["0.2"];for(ne in a)ue.call(a,ne)&&(y=a[ne],this.options[ne]=y);for(ne in ie)ue.call(ie,ne)&&(y=ie[ne],this.options[ne]=y)}return oe.prototype.buildObject=function(ie){var ne,a,y,E,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 ce,me,he,fe,pe,ge;if(typeof re!="object")z.options.cdata&&de(re)?ee.raw(se(re)):ee.txt(re);else if(Array.isArray(re)){for(fe in re)if(ue.call(re,fe)){me=re[fe];for(pe in me)he=me[pe],ee=y(ee.ele(pe),he).up()}}else for(pe in re)if(ue.call(re,pe))if(me=re[pe],pe===ne){if(typeof me=="object")for(ce in me)ge=me[ce],ee=ee.att(ce,ge)}else if(pe===a)z.options.cdata&&de(me)?ee=ee.raw(se(me)):ee=ee.txt(me);else if(Array.isArray(me))for(fe in me)ue.call(me,fe)&&(he=me[fe],typeof he=="string"?z.options.cdata&&de(he)?ee=ee.ele(pe).raw(se(he)).up():ee=ee.ele(pe,he).up():ee=y(ee.ele(pe),he).up());else typeof me=="object"?ee=y(ee.ele(pe),me).up():typeof me=="string"&&z.options.cdata&&de(me)?ee=ee.ele(pe).raw(se(me)).up():(me==null&&(me=""),ee=ee.ele(pe,me.toString()).up());return ee}}(this),E=ae.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(E,ie).end(this.options.renderOpts)},oe}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(x,Se,ve){(function(){ve.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(x,Se,ve){(function(){"use strict";var ae,te,le,de,se,ue,oe,ie,ne,a=function(b,z){return function(){return b.apply(z,arguments)}},y=function(b,z){for(var ee in z)E.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},E={}.hasOwnProperty;ie=x("sax"),de=x("events"),ae=x("./bom"),oe=x("./processors"),ne=x("timers").setImmediate,te=x("./defaults").defaults,se=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ue=function(b,z,ee){var re,ce,me;for(re=0,ce=b.length;re0&&(ye[he.options.childkey]=Ae),Ae=ye;else if(Ne){Ne[he.options.childkey]=Ne[he.options.childkey]||[],Pe={};for(ge in Ae)E.call(Ae,ge)&&le(Pe,ge,Ae[ge]);Ne[he.options.childkey].push(Pe),delete Ae["#name"],Object.keys(Ae).length===1&&re in Ae&&!he.EXPLICIT_CHARKEY&&(Ae=Ae[re])}}return me.length>0?he.assignOrPush(Ne,be,Ae):(he.options.explicitRoot&&(Le=Ae,Ae={},le(Ae,be,Le)),he.resultObject=Ae,he.saxParser.ended=!0,he.emit("end",he.resultObject))}}(this),ce=function(he){return function(fe){var pe,ge;if(ge=me[me.length-1],ge)return ge[re]+=fe,he.options.explicitChildren&&he.options.preserveChildrenOrder&&he.options.charsAsChildren&&(he.options.includeWhiteChars||fe.replace(/\\n/g,"").trim()!=="")&&(ge[he.options.childkey]=ge[he.options.childkey]||[],pe={"#name":"__text__"},pe[re]=fe,he.options.normalize&&(pe[re]=pe[re].replace(/\s{2,}/g," ").trim()),ge[he.options.childkey].push(pe)),ge}}(this),this.saxParser.ontext=ce,this.saxParser.oncdata=function(he){return function(fe){var pe;if(pe=ce(fe),pe)return pe.cdata=!0}}(this)},z.prototype.parseString=function(ee,re){var ce;re!=null&&typeof re=="function"&&(this.on("end",function(me){return this.reset(),re(null,me)}),this.on("error",function(me){return this.reset(),re(me)}));try{return ee=ee.toString(),ee.trim()===""?(this.emit("end",null),!0):(ee=ae.stripBOM(ee),this.options.async?(this.remaining=ee,ne(this.processAsync),this.saxParser):this.saxParser.write(ee).close())}catch(me){if(ce=me,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw ce}else return this.emit("error",ce),this.saxParser.errThrown=!0}},z.prototype.parseStringPromise=function(ee){return new Promise(function(re){return function(ce,me){return re.parseString(ee,function(he,fe){return he?me(he):ce(fe)})}}(this))},z}(de),ve.parseString=function(b,z,ee){var re,ce,me;return ee!=null?(typeof ee=="function"&&(re=ee),typeof z=="object"&&(ce=z)):(typeof z=="function"&&(re=z),ce={}),me=new ve.Parser(ce),me.parseString(b,re)},ve.parseStringPromise=function(b,z){var ee,re;return typeof z=="object"&&(ee=z),re=new ve.Parser(ee),re.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(x,Se,ve){(function(){"use strict";var ae;ae=new RegExp(/(?!xmlns)^.*:/),ve.normalize=function(te){return te.toLowerCase()},ve.firstCharLowerCase=function(te){return te.charAt(0).toLowerCase()+te.slice(1)},ve.stripPrefix=function(te){return te.replace(ae,"")},ve.parseNumbers=function(te){return isNaN(te)||(te=te%1===0?parseInt(te,10):parseFloat(te)),te},ve.parseBooleans=function(te){return/^(?:true|false)$/i.test(te)&&(te=te.toLowerCase()==="true"),te}}).call(this)},{}],426:[function(x,Se,ve){(function(){"use strict";var ae,te,le,de,se=function(oe,ie){for(var ne in ie)ue.call(ie,ne)&&(oe[ne]=ie[ne]);function a(){this.constructor=oe}return a.prototype=ie.prototype,oe.prototype=new a,oe.__super__=ie.prototype,oe},ue={}.hasOwnProperty;te=x("./defaults"),ae=x("./builder"),le=x("./parser"),de=x("./processors"),ve.defaults=te.defaults,ve.processors=de,ve.ValidationError=function(oe){se(ie,oe);function ie(ne){this.message=ne}return ie}(Error),ve.Builder=ae.Builder,ve.Parser=le.Parser,ve.parseString=le.parseString,ve.parseStringPromise=le.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(x,Se,ve){(function(){Se.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(x,Se,ve){(function(){Se.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(x,Se,ve){(function(){var ae,te,le,de,se,ue,oe,ie=[].slice,ne={}.hasOwnProperty;ae=function(){var a,y,E,b,z,ee;if(ee=arguments[0],z=2<=arguments.length?ie.call(arguments,1):[],se(Object.assign))Object.assign.apply(null,arguments);else for(a=0,E=z.length;a":"attribute: {"+se+"}, parent: <"+this.parent.name+">"},de.prototype.isEqualNode=function(se){return!(se.namespaceURI!==this.namespaceURI||se.prefix!==this.prefix||se.localName!==this.localName||se.value!==this.value)},de}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(x,Se,ve){(function(){var ae,te,le,de=function(ue,oe){for(var ie in oe)se.call(oe,ie)&&(ue[ie]=oe[ie]);function ne(){this.constructor=ue}return ne.prototype=oe.prototype,ue.prototype=new ne,ue.__super__=oe.prototype,ue},se={}.hasOwnProperty;ae=x("./NodeType"),le=x("./XMLCharacterData"),Se.exports=te=function(ue){de(oe,ue);function oe(ie,ne){if(oe.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=ae.CData,this.value=this.stringify.cdata(ne)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ie){return this.options.writer.cdata(this,this.options.writer.filterOptions(ie))},oe}(le)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(x,Se,ve){(function(){var ae,te,le=function(se,ue){for(var oe in ue)de.call(ue,oe)&&(se[oe]=ue[oe]);function ie(){this.constructor=se}return ie.prototype=ue.prototype,se.prototype=new ie,se.__super__=ue.prototype,se},de={}.hasOwnProperty;te=x("./XMLNode"),Se.exports=ae=function(se){le(ue,se);function ue(oe){ue.__super__.constructor.call(this,oe),this.value=""}return Object.defineProperty(ue.prototype,"data",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),Object.defineProperty(ue.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ue.prototype,"textContent",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),ue.prototype.clone=function(){return Object.create(this)},ue.prototype.substringData=function(oe,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ue.prototype.appendData=function(oe){throw new Error("This DOM method is not implemented."+this.debugInfo())},ue.prototype.insertData=function(oe,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ue.prototype.deleteData=function(oe,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ue.prototype.replaceData=function(oe,ie,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ue.prototype.isEqualNode=function(oe){return!(!ue.__super__.isEqualNode.apply(this,arguments).isEqualNode(oe)||oe.data!==this.data)},ue}(te)}).call(this)},{"./XMLNode":450}],434:[function(x,Se,ve){(function(){var ae,te,le,de=function(ue,oe){for(var ie in oe)se.call(oe,ie)&&(ue[ie]=oe[ie]);function ne(){this.constructor=ue}return ne.prototype=oe.prototype,ue.prototype=new ne,ue.__super__=oe.prototype,ue},se={}.hasOwnProperty;ae=x("./NodeType"),te=x("./XMLCharacterData"),Se.exports=le=function(ue){de(oe,ue);function oe(ie,ne){if(oe.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=ae.Comment,this.value=this.stringify.comment(ne)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ie){return this.options.writer.comment(this,this.options.writer.filterOptions(ie))},oe}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(x,Se,ve){(function(){var ae,te,le;te=x("./XMLDOMErrorHandler"),le=x("./XMLDOMStringList"),Se.exports=ae=function(){function de(){var se;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=se=Object.create(this.defaultParams)}return Object.defineProperty(de.prototype,"parameterNames",{get:function(){return new le(Object.keys(this.defaultParams))}}),de.prototype.getParameter=function(se){return this.params.hasOwnProperty(se)?this.params[se]:null},de.prototype.canSetParameter=function(se,ue){return!0},de.prototype.setParameter=function(se,ue){return ue!=null?this.params[se]=ue:delete this.params[se]},de}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(x,Se,ve){(function(){var ae;Se.exports=ae=function(){function te(){}return te.prototype.handleError=function(le){throw new Error(le)},te}()}).call(this)},{}],437:[function(x,Se,ve){(function(){var ae;Se.exports=ae=function(){function te(){}return te.prototype.hasFeature=function(le,de){return!0},te.prototype.createDocumentType=function(le,de,se){throw new Error("This DOM method is not implemented.")},te.prototype.createDocument=function(le,de,se){throw new Error("This DOM method is not implemented.")},te.prototype.createHTMLDocument=function(le){throw new Error("This DOM method is not implemented.")},te.prototype.getFeature=function(le,de){throw new Error("This DOM method is not implemented.")},te}()}).call(this)},{}],438:[function(x,Se,ve){(function(){var ae;Se.exports=ae=function(){function te(le){this.arr=le||[]}return Object.defineProperty(te.prototype,"length",{get:function(){return this.arr.length}}),te.prototype.item=function(le){return this.arr[le]||null},te.prototype.contains=function(le){return this.arr.indexOf(le)!==-1},te}()}).call(this)},{}],439:[function(x,Se,ve){(function(){var ae,te,le,de=function(ue,oe){for(var ie in oe)se.call(oe,ie)&&(ue[ie]=oe[ie]);function ne(){this.constructor=ue}return ne.prototype=oe.prototype,ue.prototype=new ne,ue.__super__=oe.prototype,ue},se={}.hasOwnProperty;le=x("./XMLNode"),ae=x("./NodeType"),Se.exports=te=function(ue){de(oe,ue);function oe(ie,ne,a,y,E,b){if(oe.__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(!E)throw new Error("Missing DTD attribute default. "+this.debugInfo(ne));if(E.indexOf("#")!==0&&(E="#"+E),!E.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(ne));if(b&&!E.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=ae.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=E}return oe.prototype.toString=function(ie){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ie))},oe}(le)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(x,Se,ve){(function(){var ae,te,le,de=function(ue,oe){for(var ie in oe)se.call(oe,ie)&&(ue[ie]=oe[ie]);function ne(){this.constructor=ue}return ne.prototype=oe.prototype,ue.prototype=new ne,ue.__super__=oe.prototype,ue},se={}.hasOwnProperty;le=x("./XMLNode"),ae=x("./NodeType"),Se.exports=te=function(ue){de(oe,ue);function oe(ie,ne,a){if(oe.__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=ae.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return oe.prototype.toString=function(ie){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(ie))},oe}(le)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(x,Se,ve){(function(){var ae,te,le,de,se=function(oe,ie){for(var ne in ie)ue.call(ie,ne)&&(oe[ne]=ie[ne]);function a(){this.constructor=oe}return a.prototype=ie.prototype,oe.prototype=new a,oe.__super__=ie.prototype,oe},ue={}.hasOwnProperty;de=x("./Utility").isObject,le=x("./XMLNode"),ae=x("./NodeType"),Se.exports=te=function(oe){se(ie,oe);function ie(ne,a,y,E){if(ie.__super__.constructor.call(this,ne),y==null)throw new Error("Missing DTD entity name. "+this.debugInfo(y));if(E==null)throw new Error("Missing DTD entity value. "+this.debugInfo(y));if(this.pe=!!a,this.name=this.stringify.name(y),this.type=ae.EntityDeclaration,!de(E))this.value=this.stringify.dtdEntityValue(E),this.internal=!0;else{if(!E.pubID&&!E.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(y));if(E.pubID&&!E.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(y));if(this.internal=!1,E.pubID!=null&&(this.pubID=this.stringify.dtdPubID(E.pubID)),E.sysID!=null&&(this.sysID=this.stringify.dtdSysID(E.sysID)),E.nData!=null&&(this.nData=this.stringify.dtdNData(E.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}(le)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(x,Se,ve){(function(){var ae,te,le,de=function(ue,oe){for(var ie in oe)se.call(oe,ie)&&(ue[ie]=oe[ie]);function ne(){this.constructor=ue}return ne.prototype=oe.prototype,ue.prototype=new ne,ue.__super__=oe.prototype,ue},se={}.hasOwnProperty;le=x("./XMLNode"),ae=x("./NodeType"),Se.exports=te=function(ue){de(oe,ue);function oe(ie,ne,a){if(oe.__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=ae.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(oe.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(oe.prototype,"systemId",{get:function(){return this.sysID}}),oe.prototype.toString=function(ie){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ie))},oe}(le)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(x,Se,ve){(function(){var ae,te,le,de,se=function(oe,ie){for(var ne in ie)ue.call(ie,ne)&&(oe[ne]=ie[ne]);function a(){this.constructor=oe}return a.prototype=ie.prototype,oe.prototype=new a,oe.__super__=ie.prototype,oe},ue={}.hasOwnProperty;de=x("./Utility").isObject,le=x("./XMLNode"),ae=x("./NodeType"),Se.exports=te=function(oe){se(ie,oe);function ie(ne,a,y,E){var b;ie.__super__.constructor.call(this,ne),de(a)&&(b=a,a=b.version,y=b.encoding,E=b.standalone),a||(a="1.0"),this.type=ae.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),E!=null&&(this.standalone=this.stringify.xmlStandalone(E))}return ie.prototype.toString=function(ne){return this.options.writer.declaration(this,this.options.writer.filterOptions(ne))},ie}(le)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(x,Se,ve){(function(){var ae,te,le,de,se,ue,oe,ie,ne,a=function(E,b){for(var z in b)y.call(b,z)&&(E[z]=b[z]);function ee(){this.constructor=E}return ee.prototype=b.prototype,E.prototype=new ee,E.__super__=b.prototype,E},y={}.hasOwnProperty;ne=x("./Utility").isObject,ie=x("./XMLNode"),ae=x("./NodeType"),te=x("./XMLDTDAttList"),de=x("./XMLDTDEntity"),le=x("./XMLDTDElement"),se=x("./XMLDTDNotation"),oe=x("./XMLNamedNodeMap"),Se.exports=ue=function(E){a(b,E);function b(z,ee,re){var ce,me,he,fe,pe,ge;if(b.__super__.constructor.call(this,z),this.type=ae.DocType,z.children){for(fe=z.children,me=0,he=fe.length;me=0;)this.up();return this.onEnd()},Pe.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Pe.prototype.openNode=function(Le){var Ne,De,ze,et;if(!Le.isOpen){if(!this.root&&this.currentLevel===0&&Le.type===ae.Element&&(this.root=Le),De="",Le.type===ae.Element){this.writerOptions.state=te.OpenTag,De=this.writer.indent(Le,this.writerOptions,this.currentLevel)+"<"+Le.name,et=Le.attribs;for(ze in et)Ae.call(et,ze)&&(Ne=et[ze],De+=this.writer.attribute(Ne,this.writerOptions,this.currentLevel));De+=(Le.children?">":"/>")+this.writer.endline(Le,this.writerOptions,this.currentLevel),this.writerOptions.state=te.InsideTag}else this.writerOptions.state=te.OpenTag,De=this.writer.indent(Le,this.writerOptions,this.currentLevel)+""),De+=this.writer.endline(Le,this.writerOptions,this.currentLevel);return this.onData(De,this.currentLevel),Le.isOpen=!0}},Pe.prototype.closeNode=function(Le){var Ne;if(!Le.isClosed)return Ne="",this.writerOptions.state=te.CloseTag,Le.type===ae.Element?Ne=this.writer.indent(Le,this.writerOptions,this.currentLevel)+""+this.writer.endline(Le,this.writerOptions,this.currentLevel):Ne=this.writer.indent(Le,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Le,this.writerOptions,this.currentLevel),this.writerOptions.state=te.None,this.onData(Ne,this.currentLevel),Le.isClosed=!0},Pe.prototype.onData=function(Le,Ne){return this.documentStarted=!0,this.onDataCallback(Le,Ne+1)},Pe.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Pe.prototype.debugInfo=function(Le){return Le==null?"":"node: <"+Le+">"},Pe.prototype.ele=function(){return this.element.apply(this,arguments)},Pe.prototype.nod=function(Le,Ne,De){return this.node(Le,Ne,De)},Pe.prototype.txt=function(Le){return this.text(Le)},Pe.prototype.dat=function(Le){return this.cdata(Le)},Pe.prototype.com=function(Le){return this.comment(Le)},Pe.prototype.ins=function(Le,Ne){return this.instruction(Le,Ne)},Pe.prototype.dec=function(Le,Ne,De){return this.declaration(Le,Ne,De)},Pe.prototype.dtd=function(Le,Ne,De){return this.doctype(Le,Ne,De)},Pe.prototype.e=function(Le,Ne,De){return this.element(Le,Ne,De)},Pe.prototype.n=function(Le,Ne,De){return this.node(Le,Ne,De)},Pe.prototype.t=function(Le){return this.text(Le)},Pe.prototype.d=function(Le){return this.cdata(Le)},Pe.prototype.c=function(Le){return this.comment(Le)},Pe.prototype.r=function(Le){return this.raw(Le)},Pe.prototype.i=function(Le,Ne){return this.instruction(Le,Ne)},Pe.prototype.att=function(){return this.currentNode&&this.currentNode.type===ae.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Pe.prototype.a=function(){return this.currentNode&&this.currentNode.type===ae.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Pe.prototype.ent=function(Le,Ne){return this.entity(Le,Ne)},Pe.prototype.pent=function(Le,Ne){return this.pEntity(Le,Ne)},Pe.prototype.not=function(Le,Ne){return this.notation(Le,Ne)},Pe}()}).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(x,Se,ve){(function(){var ae,te,le,de=function(ue,oe){for(var ie in oe)se.call(oe,ie)&&(ue[ie]=oe[ie]);function ne(){this.constructor=ue}return ne.prototype=oe.prototype,ue.prototype=new ne,ue.__super__=oe.prototype,ue},se={}.hasOwnProperty;le=x("./XMLNode"),ae=x("./NodeType"),Se.exports=te=function(ue){de(oe,ue);function oe(ie){oe.__super__.constructor.call(this,ie),this.type=ae.Dummy}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ie){return""},oe}(le)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(x,Se,ve){(function(){var ae,te,le,de,se,ue,oe,ie,ne,a=function(E,b){for(var z in b)y.call(b,z)&&(E[z]=b[z]);function ee(){this.constructor=E}return ee.prototype=b.prototype,E.prototype=new ee,E.__super__=b.prototype,E},y={}.hasOwnProperty;ne=x("./Utility"),ie=ne.isObject,oe=ne.isFunction,ue=ne.getValue,se=x("./XMLNode"),ae=x("./NodeType"),te=x("./XMLAttribute"),de=x("./XMLNamedNodeMap"),Se.exports=le=function(E){a(b,E);function b(z,ee,re){var ce,me,he,fe;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=ae.Element,this.attribs={},this.schemaTypeInfo=null,re!=null&&this.attribute(re),z.type===ae.Document&&(this.isRoot=!0,this.documentObject=z,z.rootObject=this,z.children)){for(fe=z.children,me=0,he=fe.length;me=ce;ee=0<=ce?++re:--re)if(!this.attribs[ee].isEqualNode(z.attribs[ee]))return!1;return!0},b}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(x,Se,ve){(function(){var ae;Se.exports=ae=function(){function te(le){this.nodes=le}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(le){return this.nodes[le]},te.prototype.setNamedItem=function(le){var de;return de=this.nodes[le.nodeName],this.nodes[le.nodeName]=le,de||null},te.prototype.removeNamedItem=function(le){var de;return de=this.nodes[le],delete this.nodes[le],de||null},te.prototype.item=function(le){return this.nodes[Object.keys(this.nodes)[le]]||null},te.prototype.getNamedItemNS=function(le,de){throw new Error("This DOM method is not implemented.")},te.prototype.setNamedItemNS=function(le){throw new Error("This DOM method is not implemented.")},te.prototype.removeNamedItemNS=function(le,de){throw new Error("This DOM method is not implemented.")},te}()}).call(this)},{}],450:[function(x,Se,ve){(function(){var ae,te,le,de,se,ue,oe,ie,ne,a,y,E,b,z,ee,re,ce,me,he,fe={}.hasOwnProperty;he=x("./Utility"),me=he.isObject,ce=he.isFunction,re=he.isEmpty,ee=he.getValue,ie=null,le=null,de=null,se=null,ue=null,b=null,z=null,E=null,oe=null,te=null,y=null,ne=null,ae=null,Se.exports=a=function(){function pe(ge){this.parent=ge,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ie||(ie=x("./XMLElement"),le=x("./XMLCData"),de=x("./XMLComment"),se=x("./XMLDeclaration"),ue=x("./XMLDocType"),b=x("./XMLRaw"),z=x("./XMLText"),E=x("./XMLProcessingInstruction"),oe=x("./XMLDummy"),te=x("./NodeType"),y=x("./XMLNodeList"),ne=x("./XMLNamedNodeMap"),ae=x("./DocumentPosition"))}return Object.defineProperty(pe.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(pe.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(pe.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(pe.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(pe.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(pe.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(pe.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(pe.prototype,"previousSibling",{get:function(){var ge;return ge=this.parent.children.indexOf(this),this.parent.children[ge-1]||null}}),Object.defineProperty(pe.prototype,"nextSibling",{get:function(){var ge;return ge=this.parent.children.indexOf(this),this.parent.children[ge+1]||null}}),Object.defineProperty(pe.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(pe.prototype,"textContent",{get:function(){var ge,ye,be,Ae,Pe;if(this.nodeType===te.Element||this.nodeType===te.DocumentFragment){for(Pe="",Ae=this.children,ye=0,be=Ae.length;ye":(be=this.parent)!=null&&be.name?"node: <"+ge+">, parent: <"+this.parent.name+">":"node: <"+ge+">"},pe.prototype.ele=function(ge,ye,be){return this.element(ge,ye,be)},pe.prototype.nod=function(ge,ye,be){return this.node(ge,ye,be)},pe.prototype.txt=function(ge){return this.text(ge)},pe.prototype.dat=function(ge){return this.cdata(ge)},pe.prototype.com=function(ge){return this.comment(ge)},pe.prototype.ins=function(ge,ye){return this.instruction(ge,ye)},pe.prototype.doc=function(){return this.document()},pe.prototype.dec=function(ge,ye,be){return this.declaration(ge,ye,be)},pe.prototype.e=function(ge,ye,be){return this.element(ge,ye,be)},pe.prototype.n=function(ge,ye,be){return this.node(ge,ye,be)},pe.prototype.t=function(ge){return this.text(ge)},pe.prototype.d=function(ge){return this.cdata(ge)},pe.prototype.c=function(ge){return this.comment(ge)},pe.prototype.r=function(ge){return this.raw(ge)},pe.prototype.i=function(ge,ye){return this.instruction(ge,ye)},pe.prototype.u=function(){return this.up()},pe.prototype.importXMLBuilder=function(ge){return this.importDocument(ge)},pe.prototype.replaceChild=function(ge,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.removeChild=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.appendChild=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.hasChildNodes=function(){return this.children.length!==0},pe.prototype.cloneNode=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.isSupported=function(ge,ye){return!0},pe.prototype.hasAttributes=function(){return this.attribs.length!==0},pe.prototype.compareDocumentPosition=function(ge){var ye,be;return ye=this,ye===ge?0:this.document()!==ge.document()?(be=ae.Disconnected|ae.ImplementationSpecific,Math.random()<.5?be|=ae.Preceding:be|=ae.Following,be):ye.isAncestor(ge)?ae.Contains|ae.Preceding:ye.isDescendant(ge)?ae.Contains|ae.Following:ye.isPreceding(ge)?ae.Preceding:ae.Following},pe.prototype.isSameNode=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.lookupPrefix=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.isDefaultNamespace=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.lookupNamespaceURI=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.isEqualNode=function(ge){var ye,be,Ae;if(ge.nodeType!==this.nodeType||ge.children.length!==this.children.length)return!1;for(ye=be=0,Ae=this.children.length-1;0<=Ae?be<=Ae:be>=Ae;ye=0<=Ae?++be:--be)if(!this.children[ye].isEqualNode(ge.children[ye]))return!1;return!0},pe.prototype.getFeature=function(ge,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.setUserData=function(ge,ye,be){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.getUserData=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.contains=function(ge){return ge?ge===this||this.isDescendant(ge):!1},pe.prototype.isDescendant=function(ge){var ye,be,Ae,Pe,Le;for(Le=this.children,Ae=0,Pe=Le.length;Aebe},pe.prototype.treePosition=function(ge){var ye,be;return be=0,ye=!1,this.foreachTreeNode(this.document(),function(Ae){if(be++,!ye&&Ae===ge)return ye=!0}),ye?be:-1},pe.prototype.foreachTreeNode=function(ge,ye){var be,Ae,Pe,Le,Ne;for(ge||(ge=this.document()),Le=ge.children,Ae=0,Pe=Le.length;Ae0){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 E,b,z,ee,re,ce,me,he,fe,pe;y||(y=0),this.openNode(ne,a,y),a.state=te.OpenTag,this.stream.write(this.indent(ne,a,y)+"<"+ne.name),fe=ne.attribs;for(me in fe)ue.call(fe,me)&&(E=fe[me],this.attribute(E,a,y));if(z=ne.children.length,ee=z===0?null:ne.children[0],z===0||ne.children.every(function(ge){return(ge.type===ae.Text||ge.type===ae.Raw)&&ge.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===ae.Text||ee.type===ae.Raw)&&ee.value!=null)this.stream.write(">"),a.state=te.InsideTag,a.suppressPrettyCount++,he=!0,this.writeChildNode(ee,a,y+1),a.suppressPrettyCount--,he=!1,a.state=te.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(ne,a,y)),a.state=te.InsideTag,pe=ne.children,re=0,ce=pe.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}(de)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(x,Se,ve){(function(){var ae,te,le=function(se,ue){for(var oe in ue)de.call(ue,oe)&&(se[oe]=ue[oe]);function ie(){this.constructor=se}return ie.prototype=ue.prototype,se.prototype=new ie,se.__super__=ue.prototype,se},de={}.hasOwnProperty;te=x("./XMLWriterBase"),Se.exports=ae=function(se){le(ue,se);function ue(oe){ue.__super__.constructor.call(this,oe)}return ue.prototype.document=function(oe,ie){var ne,a,y,E,b;for(ie=this.filterOptions(ie),E="",b=oe.children,a=0,y=b.length;a","]]]]>"),this.assertLegalChar(se))},de.prototype.comment=function(se){if(this.options.noValidation)return se;if(se=""+se||"",se.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+se);return this.assertLegalChar(se)},de.prototype.raw=function(se){return this.options.noValidation?se:""+se||""},de.prototype.attValue=function(se){return this.options.noValidation?se:this.assertLegalChar(this.attEscape(se=""+se||""))},de.prototype.insTarget=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},de.prototype.insValue=function(se){if(this.options.noValidation)return se;if(se=""+se||"",se.match(/\?>/))throw new Error("Invalid processing instruction value: "+se);return this.assertLegalChar(se)},de.prototype.xmlVersion=function(se){if(this.options.noValidation)return se;if(se=""+se||"",!se.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+se);return se},de.prototype.xmlEncoding=function(se){if(this.options.noValidation)return se;if(se=""+se||"",!se.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+se);return this.assertLegalChar(se)},de.prototype.xmlStandalone=function(se){return this.options.noValidation?se:se?"yes":"no"},de.prototype.dtdPubID=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},de.prototype.dtdSysID=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},de.prototype.dtdElementValue=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},de.prototype.dtdAttType=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},de.prototype.dtdAttDefault=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},de.prototype.dtdEntityValue=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},de.prototype.dtdNData=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},de.prototype.convertAttKey="@",de.prototype.convertPIKey="?",de.prototype.convertTextKey="#text",de.prototype.convertCDataKey="#cdata",de.prototype.convertCommentKey="#comment",de.prototype.convertRawKey="#raw",de.prototype.assertLegalChar=function(se){var ue,oe;if(this.options.noValidation)return se;if(ue="",this.options.version==="1.0"){if(ue=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=se.match(ue))throw new Error("Invalid character in string: "+se+" at index "+oe.index)}else if(this.options.version==="1.1"&&(ue=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=se.match(ue)))throw new Error("Invalid character in string: "+se+" at index "+oe.index);return se},de.prototype.assertLegalName=function(se){var ue;if(this.options.noValidation)return se;if(this.assertLegalChar(se),ue=/^([: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])*$/,!se.match(ue))throw new Error("Invalid character in name");return se},de.prototype.textEscape=function(se){var ue;return this.options.noValidation?se:(ue=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,se.replace(ue,"&").replace(//g,">").replace(/\r/g," "))},de.prototype.attEscape=function(se){var ue;return this.options.noValidation?se:(ue=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,se.replace(ue,"&").replace(/0)?new Array(ye).join(pe.indent):""},he.prototype.endline=function(fe,pe,ge){return!pe.pretty||pe.suppressPrettyCount?"":pe.newline},he.prototype.attribute=function(fe,pe,ge){var ye;return this.openAttribute(fe,pe,ge),ye=" "+fe.name+'="'+fe.value+'"',this.closeAttribute(fe,pe,ge),ye},he.prototype.cdata=function(fe,pe,ge){var ye;return this.openNode(fe,pe,ge),pe.state=te.OpenTag,ye=this.indent(fe,pe,ge)+""+this.endline(fe,pe,ge),pe.state=te.None,this.closeNode(fe,pe,ge),ye},he.prototype.comment=function(fe,pe,ge){var ye;return this.openNode(fe,pe,ge),pe.state=te.OpenTag,ye=this.indent(fe,pe,ge)+""+this.endline(fe,pe,ge),pe.state=te.None,this.closeNode(fe,pe,ge),ye},he.prototype.declaration=function(fe,pe,ge){var ye;return this.openNode(fe,pe,ge),pe.state=te.OpenTag,ye=this.indent(fe,pe,ge)+"",ye+=this.endline(fe,pe,ge),pe.state=te.None,this.closeNode(fe,pe,ge),ye},he.prototype.docType=function(fe,pe,ge){var ye,be,Ae,Pe,Le;if(ge||(ge=0),this.openNode(fe,pe,ge),pe.state=te.OpenTag,Pe=this.indent(fe,pe,ge),Pe+="0){for(Pe+=" [",Pe+=this.endline(fe,pe,ge),pe.state=te.InsideTag,Le=fe.children,be=0,Ae=Le.length;be",Pe+=this.endline(fe,pe,ge),pe.state=te.None,this.closeNode(fe,pe,ge),Pe},he.prototype.element=function(fe,pe,ge){var ye,be,Ae,Pe,Le,Ne,De,ze,et,Me,it,at,Je,Ye;ge||(ge=0),Me=!1,it="",this.openNode(fe,pe,ge),pe.state=te.OpenTag,it+=this.indent(fe,pe,ge)+"<"+fe.name,at=fe.attribs;for(et in at)me.call(at,et)&&(ye=at[et],it+=this.attribute(ye,pe,ge));if(Ae=fe.children.length,Pe=Ae===0?null:fe.children[0],Ae===0||fe.children.every(function(Ge){return(Ge.type===ae.Text||Ge.type===ae.Raw)&&Ge.value===""}))pe.allowEmpty?(it+=">",pe.state=te.CloseTag,it+=""+this.endline(fe,pe,ge)):(pe.state=te.CloseTag,it+=pe.spaceBeforeSlash+"/>"+this.endline(fe,pe,ge));else if(pe.pretty&&Ae===1&&(Pe.type===ae.Text||Pe.type===ae.Raw)&&Pe.value!=null)it+=">",pe.state=te.InsideTag,pe.suppressPrettyCount++,Me=!0,it+=this.writeChildNode(Pe,pe,ge+1),pe.suppressPrettyCount--,Me=!1,pe.state=te.CloseTag,it+=""+this.endline(fe,pe,ge);else{if(pe.dontPrettyTextNodes){for(Je=fe.children,Le=0,De=Je.length;Le"+this.endline(fe,pe,ge),pe.state=te.InsideTag,Ye=fe.children,Ne=0,ze=Ye.length;Ne",Me&&pe.suppressPrettyCount--,it+=this.endline(fe,pe,ge),pe.state=te.None}return this.closeNode(fe,pe,ge),it},he.prototype.writeChildNode=function(fe,pe,ge){switch(fe.type){case ae.CData:return this.cdata(fe,pe,ge);case ae.Comment:return this.comment(fe,pe,ge);case ae.Element:return this.element(fe,pe,ge);case ae.Raw:return this.raw(fe,pe,ge);case ae.Text:return this.text(fe,pe,ge);case ae.ProcessingInstruction:return this.processingInstruction(fe,pe,ge);case ae.Dummy:return"";case ae.Declaration:return this.declaration(fe,pe,ge);case ae.DocType:return this.docType(fe,pe,ge);case ae.AttributeDeclaration:return this.dtdAttList(fe,pe,ge);case ae.ElementDeclaration:return this.dtdElement(fe,pe,ge);case ae.EntityDeclaration:return this.dtdEntity(fe,pe,ge);case ae.NotationDeclaration:return this.dtdNotation(fe,pe,ge);default:throw new Error("Unknown XML node type: "+fe.constructor.name)}},he.prototype.processingInstruction=function(fe,pe,ge){var ye;return this.openNode(fe,pe,ge),pe.state=te.OpenTag,ye=this.indent(fe,pe,ge)+"",ye+=this.endline(fe,pe,ge),pe.state=te.None,this.closeNode(fe,pe,ge),ye},he.prototype.raw=function(fe,pe,ge){var ye;return this.openNode(fe,pe,ge),pe.state=te.OpenTag,ye=this.indent(fe,pe,ge),pe.state=te.InsideTag,ye+=fe.value,pe.state=te.CloseTag,ye+=this.endline(fe,pe,ge),pe.state=te.None,this.closeNode(fe,pe,ge),ye},he.prototype.text=function(fe,pe,ge){var ye;return this.openNode(fe,pe,ge),pe.state=te.OpenTag,ye=this.indent(fe,pe,ge),pe.state=te.InsideTag,ye+=fe.value,pe.state=te.CloseTag,ye+=this.endline(fe,pe,ge),pe.state=te.None,this.closeNode(fe,pe,ge),ye},he.prototype.dtdAttList=function(fe,pe,ge){var ye;return this.openNode(fe,pe,ge),pe.state=te.OpenTag,ye=this.indent(fe,pe,ge)+""+this.endline(fe,pe,ge),pe.state=te.None,this.closeNode(fe,pe,ge),ye},he.prototype.dtdElement=function(fe,pe,ge){var ye;return this.openNode(fe,pe,ge),pe.state=te.OpenTag,ye=this.indent(fe,pe,ge)+""+this.endline(fe,pe,ge),pe.state=te.None,this.closeNode(fe,pe,ge),ye},he.prototype.dtdEntity=function(fe,pe,ge){var ye;return this.openNode(fe,pe,ge),pe.state=te.OpenTag,ye=this.indent(fe,pe,ge)+""+this.endline(fe,pe,ge),pe.state=te.None,this.closeNode(fe,pe,ge),ye},he.prototype.dtdNotation=function(fe,pe,ge){var ye;return this.openNode(fe,pe,ge),pe.state=te.OpenTag,ye=this.indent(fe,pe,ge)+""+this.endline(fe,pe,ge),pe.state=te.None,this.closeNode(fe,pe,ge),ye},he.prototype.openNode=function(fe,pe,ge){},he.prototype.closeNode=function(fe,pe,ge){},he.prototype.openAttribute=function(fe,pe,ge){},he.prototype.closeAttribute=function(fe,pe,ge){},he}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(x,Se,ve){(function(){var ae,te,le,de,se,ue,oe,ie,ne,a;a=x("./Utility"),ie=a.assign,ne=a.isFunction,le=x("./XMLDOMImplementation"),de=x("./XMLDocument"),se=x("./XMLDocumentCB"),oe=x("./XMLStringWriter"),ue=x("./XMLStreamWriter"),ae=x("./NodeType"),te=x("./WriterState"),Se.exports.create=function(y,E,b,z){var ee,re;if(y==null)throw new Error("Root element needs a name.");return z=ie({},E,b,z),ee=new de(z),re=ee.element(y),z.headless||(ee.declaration(z),(z.pubID!=null||z.sysID!=null)&&ee.dtd(z)),re},Se.exports.begin=function(y,E,b){var z;return ne(y)&&(z=[y,E],E=z[0],b=z[1],y={}),E?new se(y,E,b):new de(y)},Se.exports.stringWriter=function(y){return new oe(y)},Se.exports.streamWriter=function(y,E){return new ue(y,E)},Se.exports.implementation=new le,Se.exports.nodeType=ae,Se.exports.writerState=te}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(x,Se,ve){Se.exports=te;var ae=Object.prototype.hasOwnProperty;function te(){for(var le={},de=0;dese?y=a(y):y.length>5]|=128<>>9<<4)+14]=E;for(var b=1732584193,z=-271733879,ee=-1732584194,re=271733878,ce=0;ce>16)+(E>>16)+(b>>16);return z<<16|b&65535}function a(y,E){return y<>>32-E}Se.exports=function(E){return ae.hash(E,le,16)}},{"./helpers":462}],464:[function(x,Se,ve){"use strict";var ae=x("./helpers");function te(oe,ie){oe[ie>>5]|=128<<24-ie%32,oe[(ie+64>>9<<4)+15]=ie;for(var ne=Array(80),a=1732584193,y=-271733879,E=-1732584194,b=271733878,z=-1009589776,ee=0;ee>16)+(ie>>16)+(ne>>16);return a<<16|ne&65535}function ue(oe,ie){return oe<>>32-ie}Se.exports=function(ie){return ae.hash(ie,te,20,!0)}},{"./helpers":462}],465:[function(x,Se,ve){"use strict";Se.exports=function(){return function(){}}},{}],466:[function(x,Se,ve){(function(ae){(function(){"use strict";var te=x("@babel/runtime/helpers/interopRequireDefault"),le=te(x("@babel/runtime/helpers/typeof")),de=x("stream"),se=de.Stream,ue=x("../lib/common/utils/isArray"),oe=ue.isArray;Se.exports.string=function(a){return typeof a=="string"},Se.exports.array=oe,Se.exports.buffer=ae.isBuffer;function ie(ne){return ne instanceof se}Se.exports.writableStream=function(a){return ie(a)&&typeof a._write=="function"&&(0,le.default)(a._writableState)==="object"}}).call(this)}).call(this,{isBuffer:x("../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(x,Se,ve){"use strict";var ae=x("immediate"),te=Se.exports={};te.nextTick=ae,te.title="browser",te.browser=!0,te.env={},te.argv=[],te.version="",te.versions={};function le(){}te.on=le,te.addListener=le,te.once=le,te.off=le,te.removeListener=le,te.removeAllListeners=le,te.emit=le,te.prependListener=le,te.prependOnceListener=le,te.listeners=function(de){return[]},te.binding=function(de){throw new Error("process.binding is not supported")},te.cwd=function(){return"/"},te.chdir=function(de){throw new Error("process.chdir is not supported")},te.umask=function(){return 0}},{immediate:358}],468:[function(x,Se,ve){(function(ae){(function(){"use strict";x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.search.js");var te=x("./lib/request"),le=x("./lib/response"),de=x("xtend"),se=x("builtin-status-codes"),ue=x("url"),oe=ve;oe.request=function(ie,ne){typeof ie=="string"?ie=ue.parse(ie):ie=de(ie);var a=ae.location.protocol.search(/^https?:$/)===-1?"http:":"",y=ie.protocol||a,E=ie.hostname||ie.host,b=ie.port,z=ie.path||"/";E&&E.indexOf(":")!==-1&&(E="["+E+"]"),ie.url=(E?y+"//"+E:"")+(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},oe.get=function(ne,a){var y=oe.request(ne,a);return y.end(),y},oe.ClientRequest=te,oe.IncomingMessage=le.IncomingMessage,oe.Agent=function(){},oe.Agent.defaultMaxSockets=4,oe.globalAgent=new oe.Agent,oe.STATUS_CODES=se,oe.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof bt!="undefined"?bt: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(x,Se,ve){(function(ae){(function(){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.array-buffer.constructor.js"),x("core-js/modules/es.array-buffer.slice.js"),x("core-js/modules/es.array.slice.js"),ve.fetch=oe(ae.fetch)&&oe(ae.ReadableStream),ve.writableStream=oe(ae.WritableStream),ve.abortController=oe(ae.AbortController),ve.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),ve.blobConstructor=!0}catch(ie){}var te;function le(){if(te!==void 0)return te;if(ae.XMLHttpRequest){te=new ae.XMLHttpRequest;try{te.open("GET",ae.XDomainRequest?"/":"https://example.com")}catch(ie){te=null}}else te=null;return te}function de(ie){var ne=le();if(!ne)return!1;try{return ne.responseType=ie,ne.responseType===ie}catch(a){}return!1}var se=typeof ae.ArrayBuffer!="undefined",ue=se&&oe(ae.ArrayBuffer.prototype.slice);ve.arraybuffer=ve.fetch||se&&de("arraybuffer"),ve.msstream=!ve.fetch&&ue&&de("ms-stream"),ve.mozchunkedarraybuffer=!ve.fetch&&se&&de("moz-chunked-arraybuffer"),ve.overrideMimeType=ve.fetch||(le()?oe(le().overrideMimeType):!1),ve.vbArray=oe(ae.VBArray);function oe(ie){return typeof ie=="function"}te=null}).call(this)}).call(this,typeof bt!="undefined"?bt: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(x,Se,ve){(function(ae,te,le){(function(){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.regexp.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.array.map.js"),x("core-js/modules/es.function.name.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.split.js");var de=x("./capability"),se=x("inherits"),ue=x("./response"),oe=x("readable-stream"),ie=x("to-arraybuffer"),ne=ue.IncomingMessage,a=ue.readyStates;function y(ee,re){return de.fetch&&re?"fetch":de.mozchunkedarraybuffer?"moz-chunked-arraybuffer":de.msstream?"ms-stream":de.arraybuffer&&ee?"arraybuffer":de.vbArray&&ee?"text:vbarray":"text"}var E=Se.exports=function(ee){var re=this;oe.Writable.call(re),re._opts=ee,re._body=[],re._headers={},ee.auth&&re.setHeader("Authorization","Basic "+new le(ee.auth).toString("base64")),Object.keys(ee.headers).forEach(function(he){re.setHeader(he,ee.headers[he])});var ce,me=!0;if(ee.mode==="disable-fetch"||"requestTimeout"in ee&&!de.abortController)me=!1,ce=!0;else if(ee.mode==="prefer-streaming")ce=!1;else if(ee.mode==="allow-wrong-content-type")ce=!de.overrideMimeType;else if(!ee.mode||ee.mode==="default"||ee.mode==="prefer-fast")ce=!0;else throw new Error("Invalid value for opts.mode");re._mode=y(ce,me),re._fetchTimer=null,re.on("finish",function(){re._onFinish()})};se(E,oe.Writable),E.prototype.setHeader=function(ee,re){var ce=this,me=ee.toLowerCase();z.indexOf(me)===-1&&(ce._headers[me]={name:ee,value:re})},E.prototype.getHeader=function(ee){var re=this._headers[ee.toLowerCase()];return re?re.value:null},E.prototype.removeHeader=function(ee){var re=this;delete re._headers[ee.toLowerCase()]},E.prototype._onFinish=function(){var ee=this;if(!ee._destroyed){var re=ee._opts,ce=ee._headers,me=null;re.method!=="GET"&&re.method!=="HEAD"&&(de.arraybuffer?me=ie(le.concat(ee._body)):de.blobConstructor?me=new te.Blob(ee._body.map(function(be){return ie(be)}),{type:(ce["content-type"]||{}).value||""}):me=le.concat(ee._body).toString());var he=[];if(Object.keys(ce).forEach(function(be){var Ae=ce[be].name,Pe=ce[be].value;Array.isArray(Pe)?Pe.forEach(function(Le){he.push([Ae,Le])}):he.push([Ae,Pe])}),ee._mode==="fetch"){var fe=null,pe=null;if(de.abortController){var ge=new AbortController;fe=ge.signal,ee._fetchAbortController=ge,"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:he,body:me||void 0,mode:"cors",credentials:re.withCredentials?"include":"same-origin",signal:fe}).then(function(be){ee._fetchResponse=be,ee._connect()},function(be){te.clearTimeout(ee._fetchTimer),ee._destroyed||ee.emit("error",be)})}else{var ye=ee._xhr=new te.XMLHttpRequest;try{ye.open(ee._opts.method,ee._opts.url,!0)}catch(be){ae.nextTick(function(){ee.emit("error",be)});return}"responseType"in ye&&(ye.responseType=ee._mode.split(":")[0]),"withCredentials"in ye&&(ye.withCredentials=!!re.withCredentials),ee._mode==="text"&&"overrideMimeType"in ye&&ye.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in re&&(ye.timeout=re.requestTimeout,ye.ontimeout=function(){ee.emit("requestTimeout")}),he.forEach(function(be){ye.setRequestHeader(be[0],be[1])}),ee._response=null,ye.onreadystatechange=function(){switch(ye.readyState){case a.LOADING:case a.DONE:ee._onXHRProgress();break}},ee._mode==="moz-chunked-arraybuffer"&&(ye.onprogress=function(){ee._onXHRProgress()}),ye.onerror=function(){ee._destroyed||ee.emit("error",new Error("XHR error"))};try{ye.send(me)}catch(be){ae.nextTick(function(){ee.emit("error",be)});return}}}};function b(ee){try{var re=ee.status;return re!==null&&re!==0}catch(ce){return!1}}E.prototype._onXHRProgress=function(){var ee=this;!b(ee._xhr)||ee._destroyed||(ee._response||ee._connect(),ee._response._onXHRProgress())},E.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))},E.prototype._write=function(ee,re,ce){var me=this;me._body.push(ee),ce()},E.prototype.abort=E.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()},E.prototype.end=function(ee,re,ce){var me=this;typeof ee=="function"&&(ce=ee,ee=void 0),oe.Writable.prototype.end.call(me,ee,re,ce)},E.prototype.flushHeaders=function(){},E.prototype.setTimeout=function(){},E.prototype.setNoDelay=function(){},E.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,x("_process"),typeof bt!="undefined"?bt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},x("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(x,Se,ve){(function(ae,te,le){(function(){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.split.js"),x("core-js/modules/es.string.match.js"),x("core-js/modules/es.array.iterator.js"),x("core-js/modules/es.array-buffer.slice.js"),x("core-js/modules/es.typed-array.uint8-array.js"),x("core-js/modules/es.typed-array.copy-within.js"),x("core-js/modules/es.typed-array.every.js"),x("core-js/modules/es.typed-array.fill.js"),x("core-js/modules/es.typed-array.filter.js"),x("core-js/modules/es.typed-array.find.js"),x("core-js/modules/es.typed-array.find-index.js"),x("core-js/modules/es.typed-array.for-each.js"),x("core-js/modules/es.typed-array.includes.js"),x("core-js/modules/es.typed-array.index-of.js"),x("core-js/modules/es.typed-array.iterator.js"),x("core-js/modules/es.typed-array.join.js"),x("core-js/modules/es.typed-array.last-index-of.js"),x("core-js/modules/es.typed-array.map.js"),x("core-js/modules/es.typed-array.reduce.js"),x("core-js/modules/es.typed-array.reduce-right.js"),x("core-js/modules/es.typed-array.reverse.js"),x("core-js/modules/es.typed-array.set.js"),x("core-js/modules/es.typed-array.slice.js"),x("core-js/modules/es.typed-array.some.js"),x("core-js/modules/es.typed-array.sort.js"),x("core-js/modules/es.typed-array.subarray.js"),x("core-js/modules/es.typed-array.to-locale-string.js"),x("core-js/modules/es.typed-array.to-string.js"),x("core-js/modules/es.array.slice.js");var de=x("./capability"),se=x("inherits"),ue=x("readable-stream"),oe=ve.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ie=ve.IncomingMessage=function(ne,a,y,E){var b=this;if(ue.Readable.call(b),b._mode=y,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){ae.nextTick(function(){b.emit("close")})}),y==="fetch"){var z=function fe(){re.read().then(function(pe){if(!b._destroyed){if(pe.done){te.clearTimeout(E),b.push(null);return}b.push(new le(pe.value)),fe()}}).catch(function(pe){te.clearTimeout(E),b._destroyed||b.emit("error",pe)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(fe,pe){b.headers[pe.toLowerCase()]=fe,b.rawHeaders.push(pe,fe)}),de.writableStream){var ee=new WritableStream({write:function(pe){return new Promise(function(ge,ye){b._destroyed?ye():b.push(new le(pe))?ge():b._resumeFetch=ge})},close:function(){te.clearTimeout(E),b._destroyed||b.push(null)},abort:function(pe){b._destroyed||b.emit("error",pe)}});try{a.body.pipeTo(ee).catch(function(fe){te.clearTimeout(E),b._destroyed||b.emit("error",fe)});return}catch(fe){}}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 ce=ne.getAllResponseHeaders().split(/\r?\n/);if(ce.forEach(function(fe){var pe=fe.match(/^([^:]+):\s*(.*)/);if(pe){var ge=pe[1].toLowerCase();ge==="set-cookie"?(b.headers[ge]===void 0&&(b.headers[ge]=[]),b.headers[ge].push(pe[2])):b.headers[ge]!==void 0?b.headers[ge]+=", "+pe[2]:b.headers[ge]=pe[2],b.rawHeaders.push(pe[1],pe[2])}}),b._charset="x-user-defined",!de.overrideMimeType){var me=b.rawHeaders["mime-type"];if(me){var he=me.match(/;\s*charset=([^;])(;|$)/);he&&(b._charset=he[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};se(ie,ue.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!==oe.DONE)break;try{y=new te.VBArray(a.responseBody).toArray()}catch(re){}if(y!==null){ne.push(new le(y));break}case"text":try{y=a.responseText}catch(re){ne._mode="text:vbarray";break}if(y.length>ne._pos){var E=y.substr(ne._pos);if(ne._charset==="x-user-defined"){for(var b=new le(E.length),z=0;zne._pos&&(ne.push(new le(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===oe.DONE&&ne._mode!=="ms-stream"&&ne.push(null)}}).call(this)}).call(this,x("_process"),typeof bt!="undefined"?bt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},x("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(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/helpers/typeof"));x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.search.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.string.split.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/es.array.join.js"),x("core-js/modules/es.string.trim.js"),x("core-js/modules/es.string.match.js"),x("core-js/modules/es.array.slice.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.array.splice.js");var le=x("punycode"),de=x("./util");ve.parse=pe,ve.resolve=ye,ve.resolveObject=be,ve.format=ge,ve.Url=se;function se(){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 ue=/^([a-z0-9.+-]+:)/i,oe=/:[0-9]*$/,ie=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ne=["<",">",'"',"`"," ","\r",` `," "],a=["{","}","|","\\","^","`"].concat(ne),y=["'"].concat(a),E=["%","/","?",";","#"].concat(y),b=["/","?","#"],z=255,ee=/^[+a-z0-9A-Z_-]{0,63}$/,re=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ce={javascript:!0,"javascript:":!0},me={javascript:!0,"javascript:":!0},he={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},fe=x("querystring");function pe(Ae,Pe,Le){if(Ae&&de.isObject(Ae)&&Ae instanceof se)return Ae;var Ne=new se;return Ne.parse(Ae,Pe,Le),Ne}se.prototype.parse=function(Ae,Pe,Le){if(!de.isString(Ae))throw new TypeError("Parameter 'url' must be a string, not "+(0,te.default)(Ae));var Ne=Ae.indexOf("?"),De=Ne!==-1&&Ne127?Ke+="x":Ke+=Te[Ee];if(!Ke.match(ee)){var Xe=We.slice(0,_e),Ze=We.slice(_e+1),Fe=Te.match(re);Fe&&(Xe.push(Fe[1]),Ze.unshift(Fe[2])),Ze.length&&(Me="/"+Ze.join(".")+Me),this.hostname=Xe.join(".");break}}}this.hostname.length>z?this.hostname="":this.hostname=this.hostname.toLowerCase(),ut||(this.hostname=le.toASCII(this.hostname));var xe=this.port?":"+this.port:"",Ce=this.hostname||"";this.host=Ce+xe,this.href+=this.host,ut&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Me[0]!=="/"&&(Me="/"+Me))}if(!ce[Je])for(var _e=0,Re=y.length;_e0?Le.host.split("@"):!1;Ke&&(Le.auth=Ke.shift(),Le.host=Le.hostname=Ke.shift())}return Le.search=Ae.search,Le.query=Ae.query,(!de.isNull(Le.pathname)||!de.isNull(Le.search))&&(Le.path=(Le.pathname?Le.pathname:"")+(Le.search?Le.search:"")),Le.href=Le.format(),Le}if(!We.length)return Le.pathname=null,Le.search?Le.path="/"+Le.search:Le.path=null,Le.href=Le.format(),Le;for(var Ee=We.slice(-1)[0],Ie=(Le.host||Ae.host||We.length>1)&&(Ee==="."||Ee==="..")||Ee==="",Xe=0,Ze=We.length;Ze>=0;Ze--)Ee=We[Ze],Ee==="."?We.splice(Ze,1):Ee===".."?(We.splice(Ze,1),Xe++):Xe&&(We.splice(Ze,1),Xe--);if(!Ve&&!ut)for(;Xe--;Xe)We.unshift("..");Ve&&We[0]!==""&&(!We[0]||We[0].charAt(0)!=="/")&&We.unshift(""),Ie&&We.join("/").substr(-1)!=="/"&&We.push("");var Fe=We[0]===""||We[0]&&We[0].charAt(0)==="/";if(Te){Le.hostname=Le.host=Fe?"":We.length?We.shift():"";var Ke=Le.host&&Le.host.indexOf("@")>0?Le.host.split("@"):!1;Ke&&(Le.auth=Ke.shift(),Le.host=Le.hostname=Ke.shift())}return Ve=Ve||Le.host&&We.length,Ve&&!Fe&&We.unshift(""),We.length?Le.pathname=We.join("/"):(Le.pathname=null,Le.path=null),(!de.isNull(Le.pathname)||!de.isNull(Le.search))&&(Le.path=(Le.pathname?Le.pathname:"")+(Le.search?Le.search:"")),Le.auth=Ae.auth||Le.auth,Le.slashes=Le.slashes||Ae.slashes,Le.href=Le.format(),Le},se.prototype.parseHost=function(){var Ae=this.host,Pe=oe.exec(Ae);Pe&&(Pe=Pe[0],Pe!==":"&&(this.port=Pe.substr(1)),Ae=Ae.substr(0,Ae.length-Pe.length)),Ae&&(this.hostname=Ae)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(x,Se,ve){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/helpers/typeof"));Se.exports={isString:function(de){return typeof de=="string"},isObject:function(de){return(0,te.default)(de)==="object"&&de!==null},isNull:function(de){return de===null},isNullOrUndefined:function(de){return de==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(x,Se,ve){"use strict";x("core-js/modules/es.number.constructor.js"),ve.encodeURIComponent=function(ae){try{return encodeURIComponent(ae)}catch(te){return ae}},ve.escape=x("escape-html"),ve.timestamp=function(te){if(te){var le=te;return typeof le=="string"&&(le=Number(le)),String(te).length===10&&(le*=1e3),new Date(le)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(x,Se,ve){(function(ae,te){(function(){"use strict";var le=x("@babel/runtime/helpers/interopRequireDefault"),de=le(x("@babel/runtime/helpers/typeof"));x("core-js/modules/es.string.trim.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.split.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.function.name.js"),x("core-js/modules/es.array.concat.js");var se=x("util"),ue=x("url"),oe=x("http"),ie=x("https"),ne=x("debug")("urllib"),a=x("humanize-ms"),y=0,E=Math.pow(2,31)-10,b=/^https?:\/\//i;function z(me,he){return me===void 0?he:me}function ee(me){return me?me.split(";")[0].trim().toLowerCase():""}function re(me,he){return function(fe,pe,ge){if(fe)return he(fe);me({data:pe,status:ge.statusCode,headers:ge.headers,res:ge})}}ve.TIMEOUTS=[a("300s"),a("300s")];var ce=["json","text"];ve.request=function(he,fe,pe){return arguments.length===2&&typeof fe=="function"&&(pe=fe,fe=null),typeof pe=="function"?ve.requestWithCallback(he,fe,pe):new Promise(function(ge,ye){ve.requestWithCallback(he,fe,re(ge,ye))})},ve.requestWithCallback=function(he,fe,pe){if(!he||typeof he!="string"&&(0,de.default)(he)!=="object"){var ge=se.format("expect request url to be a string or a http request options, but got %j",he);throw new Error(ge)}arguments.length===2&&typeof fe=="function"&&(pe=fe,fe=null),fe=fe||{},y>=E&&(y=0);var ye=++y;fe.requestUrls=fe.requestUrls||[];var be={requestId:ye,url:he,args:fe,ctx:fe.ctx};fe.emitter&&fe.emitter.emit("request",be),fe.timeout=fe.timeout||ve.TIMEOUTS,fe.maxRedirects=fe.maxRedirects||10,fe.streaming=fe.streaming||fe.customResponse;var Ae=Date.now(),Pe;typeof he=="string"?(b.test(he)||(he="https://"+he),Pe=ue.parse(he)):Pe=he;var Le=(fe.type||fe.method||Pe.method||"GET").toUpperCase(),Ne=Pe.port||80,De=oe,ze=z(fe.agent,ve.agent),et=fe.fixJSONCtlChars;Pe.protocol==="https:"&&(De=ie,ze=z(fe.httpsAgent,ve.httpsAgent),Pe.port||(Ne=443));var Me={host:Pe.hostname||Pe.host||"localhost",path:Pe.path||"/",method:Le,port:Ne,agent:ze,headers:fe.headers||{},lookup:fe.lookup};Array.isArray(fe.timeout)?Me.requestTimeout=fe.timeout[fe.timeout.length-1]:typeof fe.timeout!="undefined"&&(Me.requestTimeout=fe.timeout);var it=fe.auth||Pe.auth;it&&(Me.auth=it);var at=fe.content||fe.data,Je=Le==="GET"||Le==="HEAD"||fe.dataAsQueryString;if(!fe.content&&at&&!(typeof at=="string"||te.isBuffer(at)))if(Je)at=fe.nestedQuerystring?qs.stringify(at):querystring.stringify(at);else{var Ye=Me.headers["Content-Type"]||Me.headers["content-type"];Ye||(fe.contentType==="json"?Ye="application/json":Ye="application/x-www-form-urlencoded",Me.headers["Content-Type"]=Ye),ee(Ye)==="application/json"?at=JSON.stringify(at):at=fe.nestedQuerystring?qs.stringify(at):querystring.stringify(at)}Je&&at&&(Me.path+=(Pe.query?"&":"?")+at,at=null);var Ge=0;if(at){var _e=at.length;te.isBuffer(at)||(_e=te.byteLength(at)),Ge=Me.headers["Content-Length"]=_e}fe.dataType==="json"&&(Me.headers.Accept="application/json"),typeof fe.beforeRequest=="function"&&fe.beforeRequest(Me);var ke=null,rt=null,Ve=null,ut=!1,We=!1,Re=0,Te=-1,Ke=!1,Ee="",Ie="",Xe=null;fe.timing&&(Xe={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Ze(){ke&&(clearTimeout(ke),ke=null)}function Fe(){rt&&(clearTimeout(rt),rt=null)}function xe(lt,pt,tt){if(Fe(),!pe){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),ye,ae.pid,Me.method,he),lt&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s stack: %s`,Date(),ye,ae.pid,lt.name,lt.message,lt.stack);return}var Qe=pe;pe=null;var dt={};tt&&(Te=tt.statusCode,dt=tt.headers);var mt=Date.now()-Ae;Xe&&(Xe.contentDownload=mt),ne("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",mt,Re,Te,Me.method,Me.host,Me.path,We,Xe);var Pt={status:Te,statusCode:Te,headers:dt,size:Re,aborted:Ke,rt:mt,keepAliveSocket:We,data:pt,requestUrls:fe.requestUrls,timing:Xe,remoteAddress:Ee,remotePort:Ie};if(lt){var jt="";ze&&typeof ze.getCurrentStatus=="function"&&(jt=", agent status: "+JSON.stringify(ze.getCurrentStatus())),lt.message+=", "+Me.method+" "+he+" "+Te+" (connected: "+ut+", keepalive socket: "+We+jt+`) headers: `+JSON.stringify(dt),lt.data=pt,lt.path=Me.path,lt.status=Te,lt.headers=dt,lt.res=Pt}Qe(lt,pt,fe.streaming?tt:Pt),fe.emitter&&(be.url=he,be.socket=ft&&ft.connection,be.options=Me,be.size=Ge,fe.emitter.emit("response",{requestId:ye,error:lt,ctx:fe.ctx,req:be,res:Pt}))}function Ce(lt){var pt=null;if(fe.followRedirect&&statuses.redirect[lt.statusCode]){fe._followRedirectCount=(fe._followRedirectCount||0)+1;var tt=lt.headers.location;if(!tt)pt=new Error("Got statusCode "+lt.statusCode+" but cannot resolve next location from headers"),pt.name="FollowRedirectError";else if(fe._followRedirectCount>fe.maxRedirects)pt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+he),pt.name="MaxRedirectError";else{var Qe=fe.formatRedirectUrl?fe.formatRedirectUrl(he,tt):ue.resolve(he,tt);ne("Request#%d %s: `redirected` from %s to %s",ye,Me.path,he,Qe),Fe(),fe.headers&&fe.headers.Host&&b.test(tt)&&(fe.headers.Host=null);var dt=pe;return pe=null,ve.requestWithCallback(Qe,fe,dt),{redirect:!0,error:null}}}return{redirect:!1,error:pt}}fe.gzip&&!Me.headers["Accept-Encoding"]&&!Me.headers["accept-encoding"]&&(Me.headers["Accept-Encoding"]="gzip");function we(lt,pt,tt){var Qe=lt.headers["content-encoding"];return tt(null,pt,Qe)}var je=fe.writeStream;ne("Request#%d %s %s with headers %j, options.path: %s",ye,Le,he,Me.headers,Me.path),fe.requestUrls.push(he);function Ue(lt){if(Xe&&(Xe.waiting=Date.now()-Ae),ne("Request#%d %s `req response` event emit: status %d, headers: %j",ye,he,lt.statusCode,lt.headers),fe.streaming){var pt=Ce(lt);if(pt.redirect){lt.resume();return}return pt.error?(lt.resume(),xe(pt.error,null,lt)):xe(null,null,lt)}if(lt.on("close",function(){ne("Request#%d %s: `res close` event emit, total size %d",ye,he,Re)}),lt.on("error",function(){ne("Request#%d %s: `res error` event emit, total size %d",ye,he,Re)}),lt.on("aborted",function(){Ke=!0,ne("Request#%d %s: `res aborted` event emit, total size %d",ye,he,Re)}),je){var tt=Ce(lt);if(tt.redirect){lt.resume();return}return tt.error?(lt.resume(),je.end(),xe(tt.error,null,lt)):(fe.consumeWriteStream===!1?lt.on("end",xe.bind(null,null,null,lt)):je.on("close",function(){ne("Request#%d %s: writeStream close event emitted",ye,he),xe(Ve||null,null,lt)}),lt.pipe(je))}var Qe=[];lt.on("data",function(dt){ne("Request#%d %s: `res data` event emit, size %d",ye,he,dt.length),Re+=dt.length,Qe.push(dt)}),lt.on("end",function(){var dt=te.concat(Qe,Re);if(ne("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",ye,he,Re,lt._dumped),Ve)return xe(Ve,dt,lt);var mt=Ce(lt);if(mt.error)return xe(mt.error,dt,lt);mt.redirect||we(lt,dt,function(Pt,jt,Dt){if(Pt)return xe(Pt,dt,lt);if(!Dt&&ce.indexOf(fe.dataType)>=0){try{jt=decodeBodyByCharset(jt,lt)}catch(qt){return ne("decodeBodyByCharset error: %s",qt),xe(null,jt,lt)}if(fe.dataType==="json")if(Re===0)jt=null;else{var $t=parseJSON(jt,et);$t.error?Pt=$t.error:jt=$t.data}}Ke&&ne("Request#%d %s: Remote socket was terminated before `response.end()` was called",ye,he),xe(Pt,jt,lt)})})}var ot,$e;Array.isArray(fe.timeout)?(ot=a(fe.timeout[0]),$e=a(fe.timeout[1])):ot=$e=a(fe.timeout),ne("ConnectTimeout: %d, ResponseTimeout: %d",ot,$e);function st(){ne("Connect timer ticking, timeout: %d",ot),ke=setTimeout(function(){ke=null,Te===-1&&(Te=-2);var lt="Connect timeout for "+ot+"ms",pt="ConnectionTimeoutError";ft.socket||(pt="SocketAssignTimeoutError",lt+=", working sockets is full"),Ve=new Error(lt),Ve.name=pt,Ve.requestId=ye,ne("ConnectTimeout: Request#%d %s %s: %s, connected: %s",ye,he,Ve.name,lt,ut),yt()},ot)}function St(){ne("Response timer ticking, timeout: %d",$e),rt=setTimeout(function(){rt=null;var lt="Response timeout for "+$e+"ms",pt="ResponseTimeoutError";Ve=new Error(lt),Ve.name=pt,Ve.requestId=ye,ne("ResponseTimeout: Request#%d %s %s: %s, connected: %s",ye,he,Ve.name,lt,ut),yt()},$e)}var ft;Me.mode=fe.mode?fe.mode:"";try{ft=De.request(Me,Ue)}catch(lt){return xe(lt)}typeof window=="undefined"?st():ft.on("requestTimeout",function(){Te===-1&&(Te=-2);var lt="Connect timeout for "+ot+"ms",pt="ConnectionTimeoutError";Ve=new Error(lt),Ve.name=pt,Ve.requestId=ye,yt()});function yt(){ne("Request#%d %s abort, connected: %s",ye,he,ut),ft.socket||(Ve.noSocket=!0,xe(Ve)),ft.abort()}return Xe&&ft.on("finish",function(){Xe.requestSent=Date.now()-Ae}),ft.once("socket",function(lt){Xe&&(Xe.queuing=Date.now()-Ae);var pt=lt.readyState;if(pt==="opening"){lt.once("lookup",function(tt,Qe,dt){ne("Request#%d %s lookup: %s, %s, %s",ye,he,tt,Qe,dt),Xe&&(Xe.dnslookup=Date.now()-Ae),Qe&&(Ee=Qe)}),lt.once("connect",function(){Xe&&(Xe.connected=Date.now()-Ae),Ze(),St(),ne("Request#%d %s new socket connected",ye,he),ut=!0,Ee||(Ee=lt.remoteAddress),Ie=lt.remotePort});return}ne("Request#%d %s reuse socket connected, readyState: %s",ye,he,pt),ut=!0,We=!0,Ee||(Ee=lt.remoteAddress),Ie=lt.remotePort,Ze(),St()}),ft.on("error",function(lt){(lt.name==="Error"||lt.name==="TypeError")&&(lt.name=ut?"ResponseError":"RequestError"),lt.message+=' (req "error")',ne("Request#%d %s `req error` event emit, %s: %s",ye,he,lt.name,lt.message),xe(Ve||lt)}),je&&je.once("error",function(lt){lt.message+=' (writeStream "error")',Ve=lt,ne("Request#%d %s `writeStream error` event emit, %s: %s",ye,he,lt.name,lt.message),yt()}),fe.stream?(fe.stream.pipe(ft),fe.stream.once("error",function(lt){lt.message+=' (stream "error")',Ve=lt,ne("Request#%d %s `readStream error` event emit, %s: %s",ye,he,lt.name,lt.message),yt()})):ft.end(at),ft.requestId=ye,ft}}).call(this)}).call(this,x("_process"),x("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)},50371:function(Ct,bt){"use strict";function Oe(){const Be=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let nt=1;nt{const ve=x[Se];ve!==void 0&&(Be[Se]=ve)})}return Be}bt.Z=Oe},77578:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return Be}});const Be=nt=>nt?typeof nt=="function"?nt():nt:null},13845:function(Ct,bt,Oe){"use strict";Oe.d(bt,{F:function(){return Be},Z:function(){return nt}});function Be(x){return x!=null&&x===x.window}function nt(x,Se){var ve,ae;if(typeof window=="undefined")return 0;const te=Se?"scrollTop":"scrollLeft";let le=0;return Be(x)?le=x[Se?"pageYOffset":"pageXOffset"]:x instanceof Document?le=x.documentElement[te]:(x instanceof HTMLElement||x)&&(le=x[te]),x&&!Be(x)&&typeof le!="number"&&(le=(ae=((ve=x.ownerDocument)!==null&&ve!==void 0?ve:x).documentElement)===null||ae===void 0?void 0:ae[te]),le}},56762:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return nt}});var Be=Oe(59301);function nt(){const[,x]=Be.useReducer(Se=>Se+1,0);return x}},68031:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return Se}});var Be=Oe(16089);function nt(ve,ae,te,le){const de=te-ae;return ve/=le/2,ve<1?de/2*ve*ve*ve+ae:de/2*((ve-=2)*ve*ve+2)+ae}var x=Oe(13845);function Se(ve){let ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:te=()=>window,callback:le,duration:de=450}=ae,se=te(),ue=(0,x.Z)(se,!0),oe=Date.now(),ie=()=>{const a=Date.now()-oe,y=nt(a>de?de:a,ue,ve,de);(0,x.F)(se)?se.scrollTo(window.pageXOffset,y):se instanceof Document||se.constructor.name==="HTMLDocument"?se.documentElement.scrollTop=y:se.scrollTop=y,a{var ge;const{prefixCls:ye,className:be,rootClassName:Ae,children:Pe,indeterminate:Le=!1,style:Ne,onMouseEnter:De,onMouseLeave:ze,skipGroup:et=!1,disabled:Me}=fe,it=ie(fe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:at,direction:Je,checkbox:Ye}=Se.useContext(ve.E_),Ge=Se.useContext(de),{isFormItemInput:_e}=Se.useContext(te.aM),ke=Se.useContext(ae.Z),rt=(ge=(Ge==null?void 0:Ge.disabled)||Me)!==null&&ge!==void 0?ge:ke,Ve=Se.useRef(it.value);Se.useEffect(()=>{Ge==null||Ge.registerValue(it.value)},[]),Se.useEffect(()=>{if(!et)return it.value!==Ve.current&&(Ge==null||Ge.cancelValue(Ve.current),Ge==null||Ge.registerValue(it.value),Ve.current=it.value),()=>Ge==null?void 0:Ge.cancelValue(it.value)},[it.value]);const ut=at("checkbox",ye),[We,Re]=(0,se.ZP)(ut),Te=Object.assign({},it);Ge&&!et&&(Te.onChange=function(){it.onChange&&it.onChange.apply(it,arguments),Ge.toggleOption&&Ge.toggleOption({label:Pe,value:it.value})},Te.name=Ge.name,Te.checked=Ge.value.includes(it.value));const Ke=nt()(`${ut}-wrapper`,{[`${ut}-rtl`]:Je==="rtl",[`${ut}-wrapper-checked`]:Te.checked,[`${ut}-wrapper-disabled`]:rt,[`${ut}-wrapper-in-form-item`]:_e},Ye==null?void 0:Ye.className,be,Ae,Re),Ee=nt()({[`${ut}-indeterminate`]:Le},oe.A,Re),Ie=Le?"mixed":void 0;return We(Se.createElement(ue.Z,{component:"Checkbox",disabled:rt},Se.createElement("label",{className:Ke,style:Object.assign(Object.assign({},Ye==null?void 0:Ye.style),Ne),onMouseEnter:De,onMouseLeave:ze},Se.createElement(x.Z,Object.assign({"aria-checked":Ie},Te,{prefixCls:ut,className:Ee,disabled:rt,ref:pe})),Pe!==void 0&&Se.createElement("span",null,Pe))))};var y=Se.forwardRef(ne),E=Oe(26407),b=Oe(2738),z=function(fe,pe){var ge={};for(var ye in fe)Object.prototype.hasOwnProperty.call(fe,ye)&&pe.indexOf(ye)<0&&(ge[ye]=fe[ye]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,ye=Object.getOwnPropertySymbols(fe);be{const{defaultValue:ge,children:ye,options:be=[],prefixCls:Ae,className:Pe,rootClassName:Le,style:Ne,onChange:De}=fe,ze=z(fe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:et,direction:Me}=Se.useContext(ve.E_),[it,at]=Se.useState(ze.value||ge||[]),[Je,Ye]=Se.useState([]);Se.useEffect(()=>{"value"in ze&&at(ze.value||[])},[ze.value]);const Ge=Se.useMemo(()=>be.map(Xe=>typeof Xe=="string"||typeof Xe=="number"?{label:Xe,value:Xe}:Xe),[be]),_e=Xe=>{Ye(Ze=>Ze.filter(Fe=>Fe!==Xe))},ke=Xe=>{Ye(Ze=>[].concat((0,E.Z)(Ze),[Xe]))},rt=Xe=>{const Ze=it.indexOf(Xe.value),Fe=(0,E.Z)(it);Ze===-1?Fe.push(Xe.value):Fe.splice(Ze,1),"value"in ze||at(Fe),De==null||De(Fe.filter(xe=>Je.includes(xe)).sort((xe,Ce)=>{const we=Ge.findIndex(Ue=>Ue.value===xe),je=Ge.findIndex(Ue=>Ue.value===Ce);return we-je}))},Ve=et("checkbox",Ae),ut=`${Ve}-group`,[We,Re]=(0,se.ZP)(Ve),Te=(0,b.Z)(ze,["value","disabled"]),Ke=be.length?Ge.map(Xe=>Se.createElement(y,{prefixCls:Ve,key:Xe.value.toString(),disabled:"disabled"in Xe?Xe.disabled:ze.disabled,value:Xe.value,checked:it.includes(Xe.value),onChange:Xe.onChange,className:`${ut}-item`,style:Xe.style,title:Xe.title},Xe.label)):ye,Ee={toggleOption:rt,value:it,disabled:ze.disabled,name:ze.name,registerValue:ke,cancelValue:_e},Ie=nt()(ut,{[`${ut}-rtl`]:Me==="rtl"},Pe,Le,Re);return We(Se.createElement("div",Object.assign({className:Ie,style:Ne},Te,{ref:pe}),Se.createElement(de.Provider,{value:Ee},Ke)))},re=Se.forwardRef(ee);var ce=Se.memo(re);const me=y;me.Group=ce,me.__ANT_CHECKBOX=!0;var he=me},98447:function(Ct,bt,Oe){"use strict";Oe.d(bt,{C2:function(){return ve}});var Be=Oe(17313),nt=Oe(37613),x=Oe(83116);const Se=ae=>{const{checkboxCls:te}=ae,le=`${te}-wrapper`;return[{[`${te}-group`]:Object.assign(Object.assign({},(0,Be.Wf)(ae)),{display:"inline-flex",flexWrap:"wrap",columnGap:ae.marginXS,[`> ${ae.antCls}-row`]:{flex:1}}),[le]:Object.assign(Object.assign({},(0,Be.Wf)(ae)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${le}`]:{marginInlineStart:0},[`&${le}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[te]:Object.assign(Object.assign({},(0,Be.Wf)(ae)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ae.borderRadiusSM,alignSelf:"center",[`${te}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${te}-inner`]:Object.assign({},(0,Be.oN)(ae))},[`${te}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ae.checkboxSize,height:ae.checkboxSize,direction:"ltr",backgroundColor:ae.colorBgContainer,border:`${ae.lineWidth}px ${ae.lineType} ${ae.colorBorder}`,borderRadius:ae.borderRadiusSM,borderCollapse:"separate",transition:`all ${ae.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ae.checkboxSize/14*5,height:ae.checkboxSize/14*8,border:`${ae.lineWidthBold}px solid ${ae.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ae.motionDurationFast} ${ae.motionEaseInBack}, opacity ${ae.motionDurationFast}`}},"& + span":{paddingInlineStart:ae.paddingXS,paddingInlineEnd:ae.paddingXS}})},{[` ${le}:not(${le}-disabled), ${te}:not(${te}-disabled) `]:{[`&:hover ${te}-inner`]:{borderColor:ae.colorPrimary}},[`${le}:not(${le}-disabled)`]:{[`&:hover ${te}-checked:not(${te}-disabled) ${te}-inner`]:{backgroundColor:ae.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${te}-checked:not(${te}-disabled):after`]:{borderColor:ae.colorPrimaryHover}}},{[`${te}-checked`]:{[`${te}-inner`]:{backgroundColor:ae.colorPrimary,borderColor:ae.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ae.motionDurationMid} ${ae.motionEaseOutBack} ${ae.motionDurationFast}`}}},[` ${le}-checked:not(${le}-disabled), ${te}-checked:not(${te}-disabled) `]:{[`&:hover ${te}-inner`]:{backgroundColor:ae.colorPrimaryHover,borderColor:"transparent"}}},{[te]:{"&-indeterminate":{[`${te}-inner`]:{backgroundColor:ae.colorBgContainer,borderColor:ae.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ae.fontSizeLG/2,height:ae.fontSizeLG/2,backgroundColor:ae.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${le}-disabled`]:{cursor:"not-allowed"},[`${te}-disabled`]:{[`&, ${te}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${te}-inner`]:{background:ae.colorBgContainerDisabled,borderColor:ae.colorBorder,"&:after":{borderColor:ae.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ae.colorTextDisabled},[`&${te}-indeterminate ${te}-inner::after`]:{background:ae.colorTextDisabled}}}]};function ve(ae,te){const le=(0,nt.TS)(te,{checkboxCls:`.${ae}`,checkboxSize:te.controlInteractiveSize});return[Se(le)]}bt.ZP=(0,x.Z)("Checkbox",(ae,te)=>{let{prefixCls:le}=te;return[ve(le,ae)]})},36381:function(Ct,bt,Oe){"use strict";Oe.d(bt,{default:function(){return Te}});var Be=Oe(38819),nt=Oe(92310),x=Oe.n(nt),Se=Oe(92413),ve=Oe(26407),ae=Oe(33606),te=Oe(39559),le=Oe(18929),de=Oe(48736),se=Oe(59301),ue=Oe(37061),oe=Oe(11592),ie=Oe(400),ne=Oe(77900),a=Oe(10228),y=se.forwardRef(function(Ke,Ee){var Ie=Ke.prefixCls,Xe=Ke.forceRender,Ze=Ke.className,Fe=Ke.style,xe=Ke.children,Ce=Ke.isActive,we=Ke.role,je=se.useState(Ce||Xe),Ue=(0,ae.Z)(je,2),ot=Ue[0],$e=Ue[1];return se.useEffect(function(){(Xe||Ce)&&$e(!0)},[Xe,Ce]),ot?se.createElement("div",{ref:Ee,className:x()("".concat(Ie,"-content"),(0,ie.Z)((0,ie.Z)({},"".concat(Ie,"-content-active"),Ce),"".concat(Ie,"-content-inactive"),!Ce),Ze),style:Fe,role:we},se.createElement("div",{className:"".concat(Ie,"-content-box")},xe)):null});y.displayName="PanelContent";var E=y,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=se.forwardRef(function(Ke,Ee){var Ie=Ke.showArrow,Xe=Ie===void 0?!0:Ie,Ze=Ke.headerClass,Fe=Ke.isActive,xe=Ke.onItemClick,Ce=Ke.forceRender,we=Ke.className,je=Ke.prefixCls,Ue=Ke.collapsible,ot=Ke.accordion,$e=Ke.panelKey,st=Ke.extra,St=Ke.header,ft=Ke.expandIcon,yt=Ke.openMotion,lt=Ke.destroyInactivePanel,pt=Ke.children,tt=(0,ue.Z)(Ke,b),Qe=Ue==="disabled",dt=Ue==="header",mt=Ue==="icon",Pt=st!=null&&typeof st!="boolean",jt=function(){xe==null||xe($e)},Dt=function(Pn){(Pn.key==="Enter"||Pn.keyCode===a.Z.ENTER||Pn.which===a.Z.ENTER)&&jt()},$t=typeof ft=="function"?ft(Ke):se.createElement("i",{className:"arrow"});$t&&($t=se.createElement("div",{className:"".concat(je,"-expand-icon"),onClick:["header","icon"].includes(Ue)?jt:void 0},$t));var qt=x()((0,ie.Z)((0,ie.Z)((0,ie.Z)({},"".concat(je,"-item"),!0),"".concat(je,"-item-active"),Fe),"".concat(je,"-item-disabled"),Qe),we),Vt=x()(Ze,(0,ie.Z)((0,ie.Z)((0,ie.Z)({},"".concat(je,"-header"),!0),"".concat(je,"-header-collapsible-only"),dt),"".concat(je,"-icon-collapsible-only"),mt)),Jt={className:Vt,"aria-expanded":Fe,"aria-disabled":Qe,onKeyDown:Dt};return!dt&&!mt&&(Jt.onClick=jt,Jt.role=ot?"tab":"button",Jt.tabIndex=Qe?-1:0),se.createElement("div",(0,Se.Z)({},tt,{ref:Ee,className:qt}),se.createElement("div",Jt,Xe&&$t,se.createElement("span",{className:"".concat(je,"-header-text"),onClick:Ue==="header"?jt:void 0},St),Pt&&se.createElement("div",{className:"".concat(je,"-extra")},st)),se.createElement(ne.default,(0,Se.Z)({visible:Fe,leavedClassName:"".concat(je,"-content-hidden")},yt,{forceRender:Ce,removeOnLeave:lt}),function(en,Pn){var In=en.className,an=en.style;return se.createElement(E,{ref:Pn,prefixCls:je,className:In,style:an,isActive:Fe,forceRender:Ce,role:ot?"tabpanel":void 0},pt)}))}),ee=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ce=function(Ee,Ie){var Xe=Ie.prefixCls,Ze=Ie.accordion,Fe=Ie.collapsible,xe=Ie.destroyInactivePanel,Ce=Ie.onItemClick,we=Ie.activeKey,je=Ie.openMotion,Ue=Ie.expandIcon;return Ee.map(function(ot,$e){var st=ot.children,St=ot.label,ft=ot.key,yt=ot.collapsible,lt=ot.onItemClick,pt=ot.destroyInactivePanel,tt=(0,ue.Z)(ot,re),Qe=String(ft!=null?ft:$e),dt=yt!=null?yt:Fe,mt=pt!=null?pt:xe,Pt=function($t){dt!=="disabled"&&(Ce($t),lt==null||lt($t))},jt=!1;return Ze?jt=we[0]===Qe:jt=we.indexOf(Qe)>-1,se.createElement(ee,(0,Se.Z)({},tt,{prefixCls:Xe,key:Qe,panelKey:Qe,isActive:jt,accordion:Ze,openMotion:je,expandIcon:Ue,header:St,collapsible:dt,onItemClick:Pt,destroyInactivePanel:mt}),st)})},me=function(Ee,Ie,Xe){if(!Ee)return null;var Ze=Xe.prefixCls,Fe=Xe.accordion,xe=Xe.collapsible,Ce=Xe.destroyInactivePanel,we=Xe.onItemClick,je=Xe.activeKey,Ue=Xe.openMotion,ot=Xe.expandIcon,$e=Ee.key||String(Ie),st=Ee.props,St=st.header,ft=st.headerClass,yt=st.destroyInactivePanel,lt=st.collapsible,pt=st.onItemClick,tt=!1;Fe?tt=je[0]===$e:tt=je.indexOf($e)>-1;var Qe=lt!=null?lt:xe,dt=function(jt){Qe!=="disabled"&&(we(jt),pt==null||pt(jt))},mt={key:$e,panelKey:$e,header:St,headerClass:ft,isActive:tt,prefixCls:Ze,destroyInactivePanel:yt!=null?yt:Ce,openMotion:Ue,accordion:Fe,children:Ee.props.children,onItemClick:dt,expandIcon:ot,collapsible:Qe};return typeof Ee.type=="string"?Ee:(Object.keys(mt).forEach(function(Pt){typeof mt[Pt]=="undefined"&&delete mt[Pt]}),se.cloneElement(Ee,mt))};function he(Ke,Ee,Ie){return Array.isArray(Ke)?ce(Ke,Ie):(0,oe.Z)(Ee).map(function(Xe,Ze){return me(Xe,Ze,Ie)})}var fe=he,pe=Oe(26112);function ge(Ke){var Ee=Ke;if(!Array.isArray(Ee)){var Ie=(0,te.Z)(Ee);Ee=Ie==="number"||Ie==="string"?[Ee]:[]}return Ee.map(function(Xe){return String(Xe)})}var ye=se.forwardRef(function(Ke,Ee){var Ie=Ke.prefixCls,Xe=Ie===void 0?"rc-collapse":Ie,Ze=Ke.destroyInactivePanel,Fe=Ze===void 0?!1:Ze,xe=Ke.style,Ce=Ke.accordion,we=Ke.className,je=Ke.children,Ue=Ke.collapsible,ot=Ke.openMotion,$e=Ke.expandIcon,st=Ke.activeKey,St=Ke.defaultActiveKey,ft=Ke.onChange,yt=Ke.items,lt=x()(Xe,we),pt=(0,le.Z)([],{value:st,onChange:function(Dt){return ft==null?void 0:ft(Dt)},defaultValue:St,postState:ge}),tt=(0,ae.Z)(pt,2),Qe=tt[0],dt=tt[1],mt=function(Dt){return dt(function(){if(Ce)return Qe[0]===Dt?[]:[Dt];var $t=Qe.indexOf(Dt),qt=$t>-1;return qt?Qe.filter(function(Vt){return Vt!==Dt}):[].concat((0,ve.Z)(Qe),[Dt])})};(0,de.ZP)(!je,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Pt=fe(yt,je,{prefixCls:Xe,accordion:Ce,openMotion:ot,expandIcon:$e,collapsible:Ue,destroyInactivePanel:Fe,onItemClick:mt,activeKey:Qe});return se.createElement("div",(0,Se.Z)({ref:Ee,className:lt,style:xe,role:Ce?"tablist":void 0},(0,pe.Z)(Ke,{aria:!0,data:!0})),Pt)}),be=Object.assign(ye,{Panel:ee}),Ae=be,Pe=be.Panel,Le=Oe(2738),Ne=Oe(62892),De=Oe(92343),ze=Oe(36355),et=Oe(19716),it=se.forwardRef((Ke,Ee)=>{const{getPrefixCls:Ie}=se.useContext(ze.E_),{prefixCls:Xe,className:Ze,showArrow:Fe=!0}=Ke,xe=Ie("collapse",Xe),Ce=x()({[`${xe}-no-arrow`]:!Fe},Ze);return se.createElement(Ae.Panel,Object.assign({ref:Ee},Ke,{prefixCls:xe,className:Ce}))}),at=Oe(17313),Je=Oe(8378),Ye=Oe(83116),Ge=Oe(37613);const _e=Ke=>{const{componentCls:Ee,contentBg:Ie,padding:Xe,headerBg:Ze,headerPadding:Fe,collapseHeaderPaddingSM:xe,collapseHeaderPaddingLG:Ce,collapsePanelBorderRadius:we,lineWidth:je,lineType:Ue,colorBorder:ot,colorText:$e,colorTextHeading:st,colorTextDisabled:St,fontSize:ft,fontSizeLG:yt,lineHeight:lt,marginSM:pt,paddingSM:tt,paddingLG:Qe,paddingXS:dt,motionDurationSlow:mt,fontSizeIcon:Pt,contentPadding:jt}=Ke,Dt=`${je}px ${Ue} ${ot}`;return{[Ee]:Object.assign(Object.assign({},(0,at.Wf)(Ke)),{backgroundColor:Ze,border:Dt,borderBottom:0,borderRadius:`${we}px`,"&-rtl":{direction:"rtl"},[`& > ${Ee}-item`]:{borderBottom:Dt,"&:last-child":{[` &, & > ${Ee}-header`]:{borderRadius:`0 0 ${we}px ${we}px`}},[`> ${Ee}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Fe,color:st,lineHeight:lt,cursor:"pointer",transition:`all ${mt}, visibility 0s`,[`> ${Ee}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Ee}-expand-icon`]:{height:ft*lt,display:"flex",alignItems:"center",paddingInlineEnd:pt},[`${Ee}-arrow`]:Object.assign(Object.assign({},(0,at.Ro)()),{fontSize:Pt,svg:{transition:`transform ${mt}`}}),[`${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:$e,backgroundColor:Ie,borderTop:Dt,[`& > ${Ee}-content-box`]:{padding:jt},"&-hidden":{display:"none"}},"&-small":{[`> ${Ee}-item`]:{[`> ${Ee}-header`]:{padding:xe,paddingInlineStart:dt,[`> ${Ee}-expand-icon`]:{marginInlineStart:tt-dt}},[`> ${Ee}-content > ${Ee}-content-box`]:{padding:tt}}},"&-large":{[`> ${Ee}-item`]:{fontSize:yt,[`> ${Ee}-header`]:{padding:Ce,paddingInlineStart:Xe,[`> ${Ee}-expand-icon`]:{height:yt*lt,marginInlineStart:Qe-Xe}},[`> ${Ee}-content > ${Ee}-content-box`]:{padding:Qe}}},[`${Ee}-item:last-child`]:{[`> ${Ee}-content`]:{borderRadius:`0 0 ${we}px ${we}px`}},[`& ${Ee}-item-disabled > ${Ee}-header`]:{"\n &,\n & > .arrow\n ":{color:St,cursor:"not-allowed"}},[`&${Ee}-icon-position-end`]:{[`& > ${Ee}-item`]:{[`> ${Ee}-header`]:{[`${Ee}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:pt}}}}})}},ke=Ke=>{const{componentCls:Ee}=Ke,Ie=`> ${Ee}-item > ${Ee}-header ${Ee}-arrow svg`;return{[`${Ee}-rtl`]:{[Ie]:{transform:"rotate(180deg)"}}}},rt=Ke=>{const{componentCls:Ee,headerBg:Ie,paddingXXS:Xe,colorBorder:Ze}=Ke;return{[`${Ee}-borderless`]:{backgroundColor:Ie,border:0,[`> ${Ee}-item`]:{borderBottom:`1px solid ${Ze}`},[` > ${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:Xe}}}},Ve=Ke=>{const{componentCls:Ee,paddingSM:Ie}=Ke;return{[`${Ee}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Ee}-item`]:{borderBottom:0,[`> ${Ee}-content`]:{backgroundColor:"transparent",border:0,[`> ${Ee}-content-box`]:{paddingBlock:Ie}}}}}};var ut=(0,Ye.Z)("Collapse",Ke=>{const Ee=(0,Ge.TS)(Ke,{collapseHeaderPaddingSM:`${Ke.paddingXS}px ${Ke.paddingSM}px`,collapseHeaderPaddingLG:`${Ke.padding}px ${Ke.paddingLG}px`,collapsePanelBorderRadius:Ke.borderRadiusLG});return[_e(Ee),rt(Ee),Ve(Ee),ke(Ee),(0,Je.Z)(Ee)]},Ke=>({headerPadding:`${Ke.paddingSM}px ${Ke.padding}px`,headerBg:Ke.colorFillAlter,contentPadding:`${Ke.padding}px 16px`,contentBg:Ke.colorBgContainer})),Re=Object.assign(se.forwardRef((Ke,Ee)=>{const{getPrefixCls:Ie,direction:Xe,collapse:Ze}=se.useContext(ze.E_),{prefixCls:Fe,className:xe,rootClassName:Ce,style:we,bordered:je=!0,ghost:Ue,size:ot,expandIconPosition:$e="start",children:st,expandIcon:St}=Ke,ft=(0,et.Z)(Dt=>{var $t;return($t=ot!=null?ot:Dt)!==null&&$t!==void 0?$t:"middle"}),yt=Ie("collapse",Fe),lt=Ie(),[pt,tt]=ut(yt),Qe=se.useMemo(()=>$e==="left"?"start":$e==="right"?"end":$e,[$e]),dt=function(){let Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const $t=St?St(Dt):se.createElement(Be.Z,{rotate:Dt.isActive?90:void 0});return(0,De.Tm)($t,()=>({className:x()($t.props.className,`${yt}-arrow`)}))},mt=x()(`${yt}-icon-position-${Qe}`,{[`${yt}-borderless`]:!je,[`${yt}-rtl`]:Xe==="rtl",[`${yt}-ghost`]:!!Ue,[`${yt}-${ft}`]:ft!=="middle"},Ze==null?void 0:Ze.className,xe,Ce,tt),Pt=Object.assign(Object.assign({},(0,Ne.Z)(lt)),{motionAppear:!1,leavedClassName:`${yt}-content-hidden`}),jt=se.useMemo(()=>st?(0,oe.Z)(st).map((Dt,$t)=>{var qt,Vt;if(!((qt=Dt.props)===null||qt===void 0)&&qt.disabled){const Jt=(Vt=Dt.key)!==null&&Vt!==void 0?Vt:String($t),{disabled:en,collapsible:Pn}=Dt.props,In=Object.assign(Object.assign({},(0,Le.Z)(Dt.props,["disabled"])),{key:Jt,collapsible:Pn!=null?Pn:en?"disabled":void 0});return(0,De.Tm)(Dt,In)}return Dt}):null,[st]);return pt(se.createElement(Ae,Object.assign({ref:Ee,openMotion:Pt},(0,Le.Z)(Ke,["rootClassName"]),{expandIcon:dt,prefixCls:yt,className:mt,style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),we)}),jt))}),{Panel:it}),Te=Re},43428:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return We}});var Be=Oe(92310),nt=Oe.n(Be),x=Oe(33708),Se=Oe(33606),ve=Oe(43403),ae=Oe(34280),te=Oe(59301),le=te.createContext(null),de=te.createContext({}),se=le,ue=Oe(400),oe=Oe(92413),ie=Oe(77900),ne=Oe(10228),a=Oe(26112),y=Oe(70425),E=function(Te){var Ke=Te.prefixCls,Ee=Te.className,Ie=Te.style,Xe=Te.children,Ze=Te.containerRef,Fe=Te.id,xe=Te.onMouseEnter,Ce=Te.onMouseOver,we=Te.onMouseLeave,je=Te.onClick,Ue=Te.onKeyDown,ot=Te.onKeyUp,$e={onMouseEnter:xe,onMouseOver:Ce,onMouseLeave:we,onClick:je,onKeyDown:Ue,onKeyUp:ot},st=te.useContext(de),St=st.panel,ft=(0,y.useComposeRef)(St,Ze);return te.createElement(te.Fragment,null,te.createElement("div",(0,oe.Z)({id:Fe,className:nt()("".concat(Ke,"-content"),Ee),style:(0,x.Z)({},Ie),"aria-modal":"true",role:"dialog",ref:ft},$e),Xe))},b=E,z=Oe(48736);function ee(Re){return typeof Re=="string"&&String(Number(Re))===Re?((0,z.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Re)):Re}function re(Re){warning(!("wrapperClassName"in Re),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Re.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ce={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function me(Re,Te){var Ke,Ee,Ie,Xe,Ze=Re.prefixCls,Fe=Re.open,xe=Re.placement,Ce=Re.inline,we=Re.push,je=Re.forceRender,Ue=Re.autoFocus,ot=Re.keyboard,$e=Re.rootClassName,st=Re.rootStyle,St=Re.zIndex,ft=Re.className,yt=Re.id,lt=Re.style,pt=Re.motion,tt=Re.width,Qe=Re.height,dt=Re.children,mt=Re.contentWrapperStyle,Pt=Re.mask,jt=Re.maskClosable,Dt=Re.maskMotion,$t=Re.maskClassName,qt=Re.maskStyle,Vt=Re.afterOpenChange,Jt=Re.onClose,en=Re.onMouseEnter,Pn=Re.onMouseOver,In=Re.onMouseLeave,an=Re.onClick,Zn=Re.onKeyDown,Fn=Re.onKeyUp,Ln=te.useRef(),Hn=te.useRef(),tr=te.useRef();te.useImperativeHandle(Te,function(){return Ln.current});var lr=function(Yn){var sr=Yn.keyCode,Ht=Yn.shiftKey;switch(sr){case ne.Z.TAB:{if(sr===ne.Z.TAB){if(!Ht&&document.activeElement===tr.current){var Bn;(Bn=Hn.current)===null||Bn===void 0||Bn.focus({preventScroll:!0})}else if(Ht&&document.activeElement===Hn.current){var $n;($n=tr.current)===null||$n===void 0||$n.focus({preventScroll:!0})}}break}case ne.Z.ESC:{Jt&&ot&&(Yn.stopPropagation(),Jt(Yn));break}}};te.useEffect(function(){if(Fe&&Ue){var wn;(wn=Ln.current)===null||wn===void 0||wn.focus({preventScroll:!0})}},[Fe]);var Ut=te.useState(!1),on=(0,Se.Z)(Ut,2),rn=on[0],er=on[1],fn=te.useContext(se),zn;we===!1?zn={distance:0}:we===!0?zn={}:zn=we||{};var Et=(Ke=(Ee=(Ie=zn)===null||Ie===void 0?void 0:Ie.distance)!==null&&Ee!==void 0?Ee:fn==null?void 0:fn.pushDistance)!==null&&Ke!==void 0?Ke:180,Tt=te.useMemo(function(){return{pushDistance:Et,push:function(){er(!0)},pull:function(){er(!1)}}},[Et]);te.useEffect(function(){if(Fe){var wn;fn==null||(wn=fn.push)===null||wn===void 0||wn.call(fn)}else{var Yn;fn==null||(Yn=fn.pull)===null||Yn===void 0||Yn.call(fn)}},[Fe]),te.useEffect(function(){return function(){var wn;fn==null||(wn=fn.pull)===null||wn===void 0||wn.call(fn)}},[]);var xt=Pt&&te.createElement(ie.default,(0,oe.Z)({key:"mask"},Dt,{visible:Fe}),function(wn,Yn){var sr=wn.className,Ht=wn.style;return te.createElement("div",{className:nt()("".concat(Ze,"-mask"),sr,$t),style:(0,x.Z)((0,x.Z)({},Ht),qt),onClick:jt&&Fe?Jt:void 0,ref:Yn})}),zt=typeof pt=="function"?pt(xe):pt,dn={};if(rn&&Et)switch(xe){case"top":dn.transform="translateY(".concat(Et,"px)");break;case"bottom":dn.transform="translateY(".concat(-Et,"px)");break;case"left":dn.transform="translateX(".concat(Et,"px)");break;default:dn.transform="translateX(".concat(-Et,"px)");break}xe==="left"||xe==="right"?dn.width=ee(tt):dn.height=ee(Qe);var ln={onMouseEnter:en,onMouseOver:Pn,onMouseLeave:In,onClick:an,onKeyDown:Zn,onKeyUp:Fn},ir=te.createElement(ie.default,(0,oe.Z)({key:"panel"},zt,{visible:Fe,forceRender:je,onVisibleChanged:function(Yn){Vt==null||Vt(Yn)},removeOnLeave:!1,leavedClassName:"".concat(Ze,"-content-wrapper-hidden")}),function(wn,Yn){var sr=wn.className,Ht=wn.style;return te.createElement("div",(0,oe.Z)({className:nt()("".concat(Ze,"-content-wrapper"),sr),style:(0,x.Z)((0,x.Z)((0,x.Z)({},dn),Ht),mt)},(0,a.Z)(Re,{data:!0})),te.createElement(b,(0,oe.Z)({id:yt,containerRef:Yn,prefixCls:Ze,className:ft,style:lt},ln),dt))}),kn=(0,x.Z)({},st);return St&&(kn.zIndex=St),te.createElement(se.Provider,{value:Tt},te.createElement("div",{className:nt()(Ze,"".concat(Ze,"-").concat(xe),$e,(Xe={},(0,ue.Z)(Xe,"".concat(Ze,"-open"),Fe),(0,ue.Z)(Xe,"".concat(Ze,"-inline"),Ce),Xe)),style:kn,tabIndex:-1,ref:Ln,onKeyDown:lr},xt,te.createElement("div",{tabIndex:0,ref:Hn,style:ce,"aria-hidden":"true","data-sentinel":"start"}),ir,te.createElement("div",{tabIndex:0,ref:tr,style:ce,"aria-hidden":"true","data-sentinel":"end"})))}var he=te.forwardRef(me),fe=he,pe=function(Te){var Ke=Te.open,Ee=Ke===void 0?!1:Ke,Ie=Te.prefixCls,Xe=Ie===void 0?"rc-drawer":Ie,Ze=Te.placement,Fe=Ze===void 0?"right":Ze,xe=Te.autoFocus,Ce=xe===void 0?!0:xe,we=Te.keyboard,je=we===void 0?!0:we,Ue=Te.width,ot=Ue===void 0?378:Ue,$e=Te.mask,st=$e===void 0?!0:$e,St=Te.maskClosable,ft=St===void 0?!0:St,yt=Te.getContainer,lt=Te.forceRender,pt=Te.afterOpenChange,tt=Te.destroyOnClose,Qe=Te.onMouseEnter,dt=Te.onMouseOver,mt=Te.onMouseLeave,Pt=Te.onClick,jt=Te.onKeyDown,Dt=Te.onKeyUp,$t=Te.panelRef,qt=te.useState(!1),Vt=(0,Se.Z)(qt,2),Jt=Vt[0],en=Vt[1],Pn=te.useState(!1),In=(0,Se.Z)(Pn,2),an=In[0],Zn=In[1];(0,ae.Z)(function(){Zn(!0)},[]);var Fn=an?Ee:!1,Ln=te.useRef(),Hn=te.useRef();(0,ae.Z)(function(){Fn&&(Hn.current=document.activeElement)},[Fn]);var tr=function(er){var fn;if(en(er),pt==null||pt(er),!er&&Hn.current&&!((fn=Ln.current)!==null&&fn!==void 0&&fn.contains(Hn.current))){var zn;(zn=Hn.current)===null||zn===void 0||zn.focus({preventScroll:!0})}},lr=te.useMemo(function(){return{panel:$t}},[$t]);if(!lt&&!Jt&&!Fn&&tt)return null;var Ut={onMouseEnter:Qe,onMouseOver:dt,onMouseLeave:mt,onClick:Pt,onKeyDown:jt,onKeyUp:Dt},on=(0,x.Z)((0,x.Z)({},Te),{},{open:Fn,prefixCls:Xe,placement:Fe,autoFocus:Ce,keyboard:je,width:ot,mask:st,maskClosable:ft,inline:yt===!1,afterOpenChange:tr,ref:Ln},Ut);return te.createElement(de.Provider,{value:lr},te.createElement(ve.Z,{open:Fn||lt||Jt,autoDestroy:!1,getContainer:yt,autoLock:st&&(Fn||Jt)},te.createElement(fe,on)))},ge=pe,ye=ge,be=Oe(62892),Ae=Oe(36355),Pe=Oe(32441),Le=Oe(47729),De=Re=>{const{prefixCls:Te,title:Ke,footer:Ee,extra:Ie,closeIcon:Xe,closable:Ze,onClose:Fe,headerStyle:xe,drawerStyle:Ce,bodyStyle:we,footerStyle:je,children:Ue}=Re,ot=te.useCallback(yt=>te.createElement("button",{type:"button",onClick:Fe,"aria-label":"Close",className:`${Te}-close`},yt),[Fe]),[$e,st]=(0,Le.Z)(Ze,Xe,ot,void 0,!0),St=te.useMemo(()=>!Ke&&!$e?null:te.createElement("div",{style:xe,className:nt()(`${Te}-header`,{[`${Te}-header-close-only`]:$e&&!Ke&&!Ie})},te.createElement("div",{className:`${Te}-header-title`},st,Ke&&te.createElement("div",{className:`${Te}-title`},Ke)),Ie&&te.createElement("div",{className:`${Te}-extra`},Ie)),[$e,st,Ie,xe,Te,Ke]),ft=te.useMemo(()=>{if(!Ee)return null;const yt=`${Te}-footer`;return te.createElement("div",{className:yt,style:je},Ee)},[Ee,je,Te]);return te.createElement("div",{className:`${Te}-wrapper-body`,style:Ce},St,te.createElement("div",{className:`${Te}-body`,style:we},Ue),ft)},ze=Oe(33234),et=Oe(83116),Me=Oe(37613),at=Re=>{const{componentCls:Te,motionDurationSlow:Ke}=Re,Ee={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Ke}`}}};return{[Te]:{[`${Te}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Ke}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Te}-panel-motion`]:{"&-left":[Ee,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Ee,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Ee,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Ee,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Je=Re=>{const{componentCls:Te,zIndexPopup:Ke,colorBgMask:Ee,colorBgElevated:Ie,motionDurationSlow:Xe,motionDurationMid:Ze,padding:Fe,paddingLG:xe,fontSizeLG:Ce,lineHeightLG:we,lineWidth:je,lineType:Ue,colorSplit:ot,marginSM:$e,colorIcon:st,colorIconHover:St,colorText:ft,fontWeightStrong:yt,footerPaddingBlock:lt,footerPaddingInline:pt}=Re,tt=`${Te}-content-wrapper`;return{[Te]:{position:"fixed",inset:0,zIndex:Ke,pointerEvents:"none","&-pure":{position:"relative",background:Ie,[`&${Te}-left`]:{boxShadow:Re.boxShadowDrawerLeft},[`&${Te}-right`]:{boxShadow:Re.boxShadowDrawerRight},[`&${Te}-top`]:{boxShadow:Re.boxShadowDrawerUp},[`&${Te}-bottom`]:{boxShadow:Re.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Te}-mask`]:{position:"absolute",inset:0,zIndex:Ke,background:Ee,pointerEvents:"auto"},[tt]:{position:"absolute",zIndex:Ke,maxWidth:"100vw",transition:`all ${Xe}`,"&-hidden":{display:"none"}},[`&-left > ${tt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Re.boxShadowDrawerLeft},[`&-right > ${tt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Re.boxShadowDrawerRight},[`&-top > ${tt}`]:{top:0,insetInline:0,boxShadow:Re.boxShadowDrawerUp},[`&-bottom > ${tt}`]:{bottom:0,insetInline:0,boxShadow:Re.boxShadowDrawerDown},[`${Te}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Ie,pointerEvents:"auto"},[`${Te}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Te}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Fe}px ${xe}px`,fontSize:Ce,lineHeight:we,borderBottom:`${je}px ${Ue} ${ot}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Te}-extra`]:{flex:"none"},[`${Te}-close`]:{display:"inline-block",marginInlineEnd:$e,color:st,fontWeight:yt,fontSize:Ce,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${Ze}`,textRendering:"auto","&:focus, &:hover":{color:St,textDecoration:"none"}},[`${Te}-title`]:{flex:1,margin:0,color:ft,fontWeight:Re.fontWeightStrong,fontSize:Ce,lineHeight:we},[`${Te}-body`]:{flex:1,minWidth:0,minHeight:0,padding:xe,overflow:"auto"},[`${Te}-footer`]:{flexShrink:0,padding:`${lt}px ${pt}px`,borderTop:`${je}px ${Ue} ${ot}`},"&-rtl":{direction:"rtl"}}}};var Ye=(0,et.Z)("Drawer",Re=>{const Te=(0,Me.TS)(Re,{});return[Je(Te),at(Te)]},Re=>({zIndexPopup:Re.zIndexPopupBase,footerPaddingBlock:Re.paddingXS,footerPaddingInline:Re.padding})),Ge=Oe(11575),_e=function(Re,Te){var Ke={};for(var Ee in Re)Object.prototype.hasOwnProperty.call(Re,Ee)&&Te.indexOf(Ee)<0&&(Ke[Ee]=Re[Ee]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Ee=Object.getOwnPropertySymbols(Re);Ie{var Te;const{rootClassName:Ke,width:Ee,height:Ie,size:Xe="default",mask:Ze=!0,push:Fe=rt,open:xe,afterOpenChange:Ce,onClose:we,prefixCls:je,getContainer:Ue,style:ot,className:$e,visible:st,afterVisibleChange:St}=Re,ft=_e(Re,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:yt,getPrefixCls:lt,direction:pt,drawer:tt}=te.useContext(Ae.E_),Qe=lt("drawer",je),[dt,mt]=Ye(Qe),Pt=Ue===void 0&&yt?()=>yt(document.body):Ue,jt=nt()({"no-mask":!Ze,[`${Qe}-rtl`]:pt==="rtl"},Ke,mt),Dt=te.useMemo(()=>Ee!=null?Ee:Xe==="large"?736:378,[Ee,Xe]),$t=te.useMemo(()=>Ie!=null?Ie:Xe==="large"?736:378,[Ie,Xe]),qt={motionName:(0,be.m)(Qe,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Vt=en=>({motionName:(0,be.m)(Qe,`panel-motion-${en}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Jt=(0,Ge.H)();return dt(te.createElement(ze.BR,null,te.createElement(Pe.Ux,{status:!0,override:!0},te.createElement(ye,Object.assign({prefixCls:Qe,onClose:we,maskMotion:qt,motion:Vt},ft,{open:xe!=null?xe:st,mask:Ze,push:Fe,width:Dt,height:$t,style:Object.assign(Object.assign({},tt==null?void 0:tt.style),ot),className:nt()(tt==null?void 0:tt.className,$e),rootClassName:jt,getContainer:Pt,afterOpenChange:Ce!=null?Ce:St,panelRef:Jt}),te.createElement(De,Object.assign({prefixCls:Qe},ft,{onClose:we}))))))},ut=Re=>{const{prefixCls:Te,style:Ke,className:Ee,placement:Ie="right"}=Re,Xe=_e(Re,["prefixCls","style","className","placement"]),{getPrefixCls:Ze}=te.useContext(Ae.E_),Fe=Ze("drawer",Te),[xe,Ce]=Ye(Fe),we=nt()(Fe,`${Fe}-pure`,`${Fe}-${Ie}`,Ce,Ee);return xe(te.createElement("div",{className:we,style:Ke},te.createElement(De,Object.assign({prefixCls:Fe},Xe))))};Ve._InternalPanelDoNotUseOrYouWillBeFired=ut;var We=Ve},91857:function(Ct,bt,Oe){"use strict";var Be=Oe(59301),nt=Oe(38819),x=Oe(92310),Se=Oe.n(x),ve=Oe(31561),ae=Oe(70425),te=Oe(18929),le=Oe(2738),de=Oe(79676),se=Oe(53487),ue=Oe(92343),oe=Oe(36355),ie=Oe(20834),ne=Oe(40875),a=Oe(88088),y=Oe(47211);const E=null,b=ce=>{const{menu:me,arrow:he,prefixCls:fe,children:pe,trigger:ge,disabled:ye,dropdownRender:be,getPopupContainer:Ae,overlayClassName:Pe,rootClassName:Le,open:Ne,onOpenChange:De,visible:ze,onVisibleChange:et,mouseEnterDelay:Me=.15,mouseLeaveDelay:it=.1,autoAdjustOverflow:at=!0,placement:Je="",overlay:Ye,transitionName:Ge}=ce,{getPopupContainer:_e,getPrefixCls:ke,direction:rt}=Be.useContext(oe.E_),Ve=Be.useMemo(()=>{const $e=ke();return Ge!==void 0?Ge:Je.includes("top")?`${$e}-slide-down`:`${$e}-slide-up`},[ke,Je,Ge]),ut=Be.useMemo(()=>Je?Je.includes("Center")?Je.slice(0,Je.indexOf("Center")):Je:rt==="rtl"?"bottomRight":"bottomLeft",[Je,rt]),We=ke("dropdown",fe),[Re,Te]=(0,y.Z)(We),[,Ke]=(0,a.Z)(),Ee=Be.Children.only(pe),Ie=(0,ue.Tm)(Ee,{className:Se()(`${We}-trigger`,{[`${We}-rtl`]:rt==="rtl"},Ee.props.className),disabled:ye}),Xe=ye?[]:ge;let Ze;Xe&&Xe.includes("contextMenu")&&(Ze=!0);const[Fe,xe]=(0,te.Z)(!1,{value:Ne!=null?Ne:ze}),Ce=(0,ae.useEvent)($e=>{De==null||De($e),et==null||et($e),xe($e)}),we=Se()(Pe,Le,Te,{[`${We}-rtl`]:rt==="rtl"}),je=(0,de.Z)({arrowPointAtCenter:typeof he=="object"&&he.pointAtCenter,autoAdjustOverflow:at,offset:Ke.marginXXS,arrowWidth:he?Ke.sizePopupArrow:0,borderRadius:Ke.borderRadius}),Ue=Be.useCallback(()=>{xe(!1)},[]),ot=()=>{let $e;return me!=null&&me.items?$e=Be.createElement(ie.default,Object.assign({},me)):typeof Ye=="function"?$e=Ye():$e=Ye,be&&($e=be($e)),$e=Be.Children.only(typeof $e=="string"?Be.createElement("span",null,$e):$e),Be.createElement(ne.J,{prefixCls:`${We}-menu`,expandIcon:Be.createElement("span",{className:`${We}-menu-submenu-arrow`},Be.createElement(nt.Z,{className:`${We}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ue,validator:st=>{let{mode:St}=st}},$e)};return Re(Be.createElement(ve.Z,Object.assign({alignPoint:Ze},(0,le.Z)(ce,["rootClassName"]),{mouseEnterDelay:Me,mouseLeaveDelay:it,visible:Fe,builtinPlacements:je,arrow:!!he,overlayClassName:we,prefixCls:We,getPopupContainer:Ae||_e,transitionName:Ve,trigger:Xe,overlay:ot,placement:ut,onVisibleChange:Ce}),Ie))};function z(ce){return Object.assign(Object.assign({},ce),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ee=(0,se.Z)(b,"dropdown",ce=>ce,z),re=ce=>Be.createElement(ee,Object.assign({},ce),Be.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=re,bt.Z=b},38854:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return a}});var Be=Oe(91857),nt=Oe(92310),x=Oe.n(nt),Se=Oe(59301),ve=Oe(18785),ae=Oe(3113),te=Oe(36355),le=Oe(81327),de=Oe(33234),se=Oe(47211),ue=function(y,E){var b={};for(var z in y)Object.prototype.hasOwnProperty.call(y,z)&&E.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:E,getPrefixCls:b,direction:z}=Se.useContext(te.E_),{prefixCls:ee,type:re="default",danger:ce,disabled:me,loading:he,onClick:fe,htmlType:pe,children:ge,className:ye,menu:be,arrow:Ae,autoFocus:Pe,overlay:Le,trigger:Ne,align:De,open:ze,onOpenChange:et,placement:Me,getPopupContainer:it,href:at,icon:Je=Se.createElement(ve.Z,null),title:Ye,buttonsRender:Ge=ot=>ot,mouseEnterDelay:_e,mouseLeaveDelay:ke,overlayClassName:rt,overlayStyle:Ve,destroyPopupOnHide:ut,dropdownRender:We}=y,Re=ue(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"]),Te=b("dropdown",ee),Ke=`${Te}-button`,[Ee,Ie]=(0,se.Z)(Te),Xe={menu:be,arrow:Ae,autoFocus:Pe,align:De,disabled:me,trigger:me?[]:Ne,onOpenChange:et,getPopupContainer:it||E,mouseEnterDelay:_e,mouseLeaveDelay:ke,overlayClassName:rt,overlayStyle:Ve,destroyPopupOnHide:ut,dropdownRender:We},{compactSize:Ze,compactItemClassnames:Fe}=(0,de.ri)(Te,z),xe=x()(Ke,Fe,ye,Ie);"overlay"in y&&(Xe.overlay=Le),"open"in y&&(Xe.open=ze),"placement"in y?Xe.placement=Me:Xe.placement=z==="rtl"?"bottomLeft":"bottomRight";const Ce=Se.createElement(ae.ZP,{type:re,danger:ce,disabled:me,loading:he,onClick:fe,htmlType:pe,href:at,title:Ye},ge),we=Se.createElement(ae.ZP,{type:re,danger:ce,icon:Je}),[je,Ue]=Ge([Ce,we]);return Ee(Se.createElement(le.Z.Compact,Object.assign({className:xe,size:Ze,block:!0},Re),je,Se.createElement(Be.Z,Object.assign({},Xe),Ue)))};oe.__ANT_BUTTON=!0;var ie=oe;const ne=Be.Z;ne.Button=ie;var a=ne},47211:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return ue}});var Be=Oe(17313),nt=Oe(13826),x=Oe(92899),Se=Oe(29878),ve=Oe(19447),ae=Oe(83116),te=Oe(37613),de=oe=>{const{componentCls:ie,menuCls:ne,colorError:a,colorTextLightSolid:y}=oe,E=`${ne}-item`;return{[`${ie}, ${ie}-menu-submenu`]:{[`${ne} ${E}`]:{[`&${E}-danger:not(${E}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const se=oe=>{const{componentCls:ie,menuCls:ne,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:E,antCls:b,iconCls:z,motionDurationMid:ee,dropdownPaddingVertical:re,fontSize:ce,dropdownEdgeChildPadding:me,colorTextDisabled:he,fontSizeIcon:fe,controlPaddingHorizontal:pe,colorBgElevated:ge}=oe;return[{[ie]:Object.assign(Object.assign({},(0,Be.Wf)(oe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+E/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${z}-down, & > ${b}-btn-icon > ${z}-down`]:{fontSize:fe}},[`${ie}-wrap`]:{position:"relative",[`${b}-btn > ${z}-down`]:{fontSize:fe},[`${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:nt.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:nt.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:nt.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:nt.ly}})},(0,ve.ZP)(oe,{colorBg:ge,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:me,listStyleType:"none",backgroundColor:ge,backgroundClip:"padding-box",borderRadius:oe.borderRadiusLG,outline:"none",boxShadow:oe.boxShadowSecondary},(0,Be.Qy)(oe)),{[`${ne}-item-group-title`]:{padding:`${re}px ${pe}px`,color:oe.colorTextDescription,transition:`all ${ee}`},[`${ne}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ne}-item-icon`]:{minWidth:ce,marginInlineEnd:oe.marginXS,fontSize:oe.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 ${pe}px`,color:oe.colorText,fontWeight:"normal",fontSize:ce,lineHeight:oe.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:oe.borderRadiusSM,"&:hover, &-active":{backgroundColor:oe.controlItemBgHover}},(0,Be.Qy)(oe)),{"&-selected":{color:oe.colorPrimary,backgroundColor:oe.controlItemBgActive,"&:hover, &-active":{backgroundColor:oe.controlItemBgActiveHover}},"&-disabled":{color:he,cursor:"not-allowed","&:hover":{color:he,backgroundColor:ge,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${oe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:oe.colorSplit},[`${ie}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:oe.paddingXS,[`${ie}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:oe.colorTextDescription,fontSize:fe,fontStyle:"normal"}}}),[`${ne}-item-group-list`]:{margin:`0 ${oe.marginXS}px`,padding:0,listStyle:"none"},[`${ne}-submenu-title`]:{paddingInlineEnd:pe+oe.fontSizeSM},[`${ne}-submenu-vertical`]:{position:"relative"},[`${ne}-submenu${ne}-submenu-disabled ${ie}-menu-submenu-title`]:{[`&, ${ie}-menu-submenu-arrow-icon`]:{color:he,backgroundColor:ge,cursor:"not-allowed"}},[`${ne}-submenu-selected ${ie}-menu-submenu-title`]:{color:oe.colorPrimary}})}},[(0,nt.oN)(oe,"slide-up"),(0,nt.oN)(oe,"slide-down"),(0,x.Fm)(oe,"move-up"),(0,x.Fm)(oe,"move-down"),(0,Se._y)(oe,"zoom-big")]]};var ue=(0,ae.Z)("Dropdown",(oe,ie)=>{let{rootPrefixCls:ne}=ie;const{marginXXS:a,sizePopupArrow:y,controlHeight:E,fontSize:b,lineHeight:z,paddingXXS:ee,componentCls:re,borderRadiusLG:ce}=oe,me=(E-b*z)/2,{dropdownArrowOffset:he}=(0,ve.fS)({contentRadius:ce}),fe=(0,te.TS)(oe,{menuCls:`${re}-menu`,rootPrefixCls:ne,dropdownArrowDistance:y/2+a,dropdownArrowOffset:he,dropdownPaddingVertical:me,dropdownEdgeChildPadding:ee});return[se(fe),de(fe)]},oe=>({zIndexPopup:oe.zIndexPopupBase+50}))},8628:function(Ct,bt,Oe){"use strict";var Be=Oe(59301),nt=Oe(34280),x=Oe(56762),Se=Oe(69507);function ve(){let ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const te=(0,Be.useRef)({}),le=(0,x.Z)(),de=(0,Se.ZP)();return(0,nt.Z)(()=>{const se=de.subscribe(ue=>{te.current=ue,ae&&le()});return()=>de.unsubscribe(se)},[]),te.current}bt.Z=ve},45818:function(Ct,bt,Oe){"use strict";Oe.d(bt,{D:function(){return ee},Z:function(){return me}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(fe,pe){return nt.createElement(ve.Z,(0,Be.Z)({},fe,{ref:pe,icon:Se}))},te=nt.forwardRef(ae),le=te,de=Oe(33853),se=Oe(38819),ue=Oe(92310),oe=Oe.n(ue),ie=Oe(2738),a=he=>!isNaN(parseFloat(he))&&isFinite(he),y=Oe(36355),E=Oe(84966),b=function(he,fe){var pe={};for(var ge in he)Object.prototype.hasOwnProperty.call(he,ge)&&fe.indexOf(ge)<0&&(pe[ge]=he[ge]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,ge=Object.getOwnPropertySymbols(he);ye{let he=0;return function(){let fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return he+=1,`${fe}${he}`}})();var me=nt.forwardRef((he,fe)=>{const{prefixCls:pe,className:ge,trigger:ye,children:be,defaultCollapsed:Ae=!1,theme:Pe="dark",style:Le={},collapsible:Ne=!1,reverseArrow:De=!1,width:ze=200,collapsedWidth:et=80,zeroWidthTriggerStyle:Me,breakpoint:it,onCollapse:at,onBreakpoint:Je}=he,Ye=b(he,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ge}=(0,nt.useContext)(E.Gs),[_e,ke]=(0,nt.useState)("collapsed"in he?he.collapsed:Ae),[rt,Ve]=(0,nt.useState)(!1);(0,nt.useEffect)(()=>{"collapsed"in he&&ke(he.collapsed)},[he.collapsed]);const ut=(Ie,Xe)=>{"collapsed"in he||ke(Ie),at==null||at(Ie,Xe)},We=(0,nt.useRef)();We.current=Ie=>{Ve(Ie.matches),Je==null||Je(Ie.matches),_e!==Ie.matches&&ut(Ie.matches,"responsive")},(0,nt.useEffect)(()=>{function Ie(Ze){return We.current(Ze)}let Xe;if(typeof window!="undefined"){const{matchMedia:Ze}=window;if(Ze&&it&&it in z){Xe=Ze(`(max-width: ${z[it]})`);try{Xe.addEventListener("change",Ie)}catch(Fe){Xe.addListener(Ie)}Ie(Xe)}}return()=>{try{Xe==null||Xe.removeEventListener("change",Ie)}catch(Ze){Xe==null||Xe.removeListener(Ie)}}},[it]),(0,nt.useEffect)(()=>{const Ie=re("ant-sider-");return Ge.addSider(Ie),()=>Ge.removeSider(Ie)},[]);const Re=()=>{ut(!_e,"clickTrigger")},{getPrefixCls:Te}=(0,nt.useContext)(y.E_),Ke=()=>{const Ie=Te("layout-sider",pe),Xe=(0,ie.Z)(Ye,["collapsed"]),Ze=_e?et:ze,Fe=a(Ze)?`${Ze}px`:String(Ze),xe=parseFloat(String(et||0))===0?nt.createElement("span",{onClick:Re,className:oe()(`${Ie}-zero-width-trigger`,`${Ie}-zero-width-trigger-${De?"right":"left"}`),style:Me},ye||nt.createElement(le,null)):null,je={expanded:De?nt.createElement(se.Z,null):nt.createElement(de.Z,null),collapsed:De?nt.createElement(de.Z,null):nt.createElement(se.Z,null)}[_e?"collapsed":"expanded"],Ue=ye!==null?xe||nt.createElement("div",{className:`${Ie}-trigger`,onClick:Re,style:{width:Fe}},ye||je):null,ot=Object.assign(Object.assign({},Le),{flex:`0 0 ${Fe}`,maxWidth:Fe,minWidth:Fe,width:Fe}),$e=oe()(Ie,`${Ie}-${Pe}`,{[`${Ie}-collapsed`]:!!_e,[`${Ie}-has-trigger`]:Ne&&ye!==null&&!xe,[`${Ie}-below`]:!!rt,[`${Ie}-zero-width`]:parseFloat(Fe)===0},ge);return nt.createElement("aside",Object.assign({className:$e},Xe,{style:ot,ref:fe}),nt.createElement("div",{className:`${Ie}-children`},be),Ne||rt&&xe?Ue:null)},Ee=nt.useMemo(()=>({siderCollapsed:_e}),[_e]);return nt.createElement(ee.Provider,{value:Ee},Ke())})},84966:function(Ct,bt,Oe){"use strict";Oe.d(bt,{VY:function(){return ee},$_:function(){return z},h4:function(){return b},Gs:function(){return ie},ZP:function(){return re}});var Be=Oe(26407),nt=Oe(92310),x=Oe.n(nt),Se=Oe(2738),ve=Oe(59301),ae=Oe(36355),te=Oe(83116),de=ce=>{const{componentCls:me,bodyBg:he,lightSiderBg:fe,lightTriggerBg:pe,lightTriggerColor:ge}=ce;return{[`${me}-sider-light`]:{background:fe,[`${me}-sider-trigger`]:{color:ge,background:pe},[`${me}-sider-zero-width-trigger`]:{color:ge,background:pe,border:`1px solid ${he}`,borderInlineStart:0}}}};const se=ce=>{const{antCls:me,componentCls:he,colorText:fe,triggerColor:pe,footerBg:ge,triggerBg:ye,headerHeight:be,headerPadding:Ae,headerColor:Pe,footerPadding:Le,triggerHeight:Ne,zeroTriggerHeight:De,zeroTriggerWidth:ze,motionDurationMid:et,motionDurationSlow:Me,fontSize:it,borderRadius:at,bodyBg:Je,headerBg:Ye,siderBg:Ge}=ce;return{[he]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Je,"&, *":{boxSizing:"border-box"},[`&${he}-has-sider`]:{flexDirection:"row",[`> ${he}, > ${he}-content`]:{width:0}},[`${he}-header, &${he}-footer`]:{flex:"0 0 auto"},[`${he}-sider`]:{position:"relative",minWidth:0,background:Ge,transition:`all ${et}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${me}-menu${me}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ne},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ne,color:pe,lineHeight:`${Ne}px`,textAlign:"center",background:ye,cursor:"pointer",transition:`all ${et}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:be,insetInlineEnd:-ze,zIndex:1,width:ze,height:De,color:pe,fontSize:ce.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ge,borderStartStartRadius:0,borderStartEndRadius:at,borderEndEndRadius:at,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:-ze,borderStartStartRadius:at,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:at}}}}},de(ce)),{"&-rtl":{direction:"rtl"}}),[`${he}-header`]:{height:be,padding:Ae,color:Pe,lineHeight:`${be}px`,background:Ye,[`${me}-menu`]:{lineHeight:"inherit"}},[`${he}-footer`]:{padding:Le,color:fe,fontSize:it,background:ge},[`${he}-content`]:{flex:"auto",minHeight:0}}};var ue=(0,te.Z)("Layout",ce=>[se(ce)],ce=>{const{colorBgLayout:me,controlHeight:he,controlHeightLG:fe,colorText:pe,controlHeightSM:ge,marginXXS:ye,colorTextLightSolid:be,colorBgContainer:Ae}=ce,Pe=fe*1.25;return{colorBgHeader:"#001529",colorBgBody:me,colorBgTrigger:"#002140",bodyBg:me,headerBg:"#001529",headerHeight:he*2,headerPadding:`0 ${Pe}px`,headerColor:pe,footerPadding:`${ge}px ${Pe}px`,footerBg:me,siderBg:"#001529",triggerHeight:fe+ye*2,triggerBg:"#002140",triggerColor:be,zeroTriggerWidth:fe,zeroTriggerHeight:fe,lightSiderBg:Ae,lightTriggerBg:Ae,lightTriggerColor:pe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),oe=function(ce,me){var he={};for(var fe in ce)Object.prototype.hasOwnProperty.call(ce,fe)&&me.indexOf(fe)<0&&(he[fe]=ce[fe]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,fe=Object.getOwnPropertySymbols(ce);penull,removeSider:()=>null}});function ne(ce){let{suffixCls:me,tagName:he,displayName:fe}=ce;return pe=>ve.forwardRef((ye,be)=>ve.createElement(pe,Object.assign({ref:be,suffixCls:me,tagName:he},ye)))}const a=ve.forwardRef((ce,me)=>{const{prefixCls:he,suffixCls:fe,className:pe,tagName:ge}=ce,ye=oe(ce,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:be}=ve.useContext(ae.E_),Ae=be("layout",he),[Pe,Le]=ue(Ae),Ne=fe?`${Ae}-${fe}`:Ae;return Pe(ve.createElement(ge,Object.assign({className:x()(he||Ne,pe,Le),ref:me},ye)))}),y=ve.forwardRef((ce,me)=>{const{direction:he}=ve.useContext(ae.E_),[fe,pe]=ve.useState([]),{prefixCls:ge,className:ye,rootClassName:be,children:Ae,hasSider:Pe,tagName:Le,style:Ne}=ce,De=oe(ce,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ze=(0,Se.Z)(De,["suffixCls"]),{getPrefixCls:et,layout:Me}=ve.useContext(ae.E_),it=et("layout",ge),[at,Je]=ue(it),Ye=x()(it,{[`${it}-has-sider`]:typeof Pe=="boolean"?Pe:fe.length>0,[`${it}-rtl`]:he==="rtl"},Me==null?void 0:Me.className,ye,be,Je),Ge=ve.useMemo(()=>({siderHook:{addSider:_e=>{pe(ke=>[].concat((0,Be.Z)(ke),[_e]))},removeSider:_e=>{pe(ke=>ke.filter(rt=>rt!==_e))}}}),[]);return at(ve.createElement(ie.Provider,{value:Ge},ve.createElement(Le,Object.assign({ref:me,className:Ye,style:Object.assign(Object.assign({},Me==null?void 0:Me.style),Ne)},ze),Ae)))}),E=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=E},40875:function(Ct,bt,Oe){"use strict";Oe.d(bt,{J:function(){return ae}});var Be=Oe(59301),nt=Oe(33234),x=Oe(70425),Se=function(te,le){var de={};for(var se in te)Object.prototype.hasOwnProperty.call(te,se)&&le.indexOf(se)<0&&(de[se]=te[se]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,se=Object.getOwnPropertySymbols(te);ue{const{children:de}=te,se=Se(te,["children"]),ue=Be.useContext(ve),oe=Be.useMemo(()=>Object.assign(Object.assign({},ue),se),[ue,se.prefixCls,se.mode,se.selectable]);return Be.createElement(ve.Provider,{value:oe},Be.createElement(nt.BR,null,(0,x.supportNodeRef)(de)?Be.cloneElement(de,{ref:le}):de))});bt.Z=ve},20834:function(Ct,bt,Oe){"use strict";Oe.d(bt,{default:function(){return Ee}});var Be=Oe(15285),nt=Oe(59301),x=Oe(45818),Se=Oe(92310),ve=Oe.n(Se),ae=Oe(36355),te=function(Ie,Xe){var Ze={};for(var Fe in Ie)Object.prototype.hasOwnProperty.call(Ie,Fe)&&Xe.indexOf(Fe)<0&&(Ze[Fe]=Ie[Fe]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,Fe=Object.getOwnPropertySymbols(Ie);xe{const{prefixCls:Xe,className:Ze,dashed:Fe}=Ie,xe=te(Ie,["prefixCls","className","dashed"]),{getPrefixCls:Ce}=nt.useContext(ae.E_),we=Ce("menu",Xe),je=ve()({[`${we}-item-divider-dashed`]:!!Fe},Ze);return nt.createElement(Be.iz,Object.assign({className:je},xe))},se=Oe(11592),ue=Oe(2738),oe=Oe(6848),ie=Oe(92343),a=(0,nt.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),E=Ie=>{var Xe;const{className:Ze,children:Fe,icon:xe,title:Ce,danger:we}=Ie,{prefixCls:je,firstLevel:Ue,direction:ot,disableMenuItemTitleTooltip:$e,inlineCollapsed:st}=nt.useContext(a),St=Qe=>{const dt=nt.createElement("span",{className:`${je}-title-content`},Fe);return(!xe||(0,ie.l$)(Fe)&&Fe.type==="span")&&Fe&&Qe&&Ue&&typeof Fe=="string"?nt.createElement("div",{className:`${je}-inline-collapsed-noicon`},Fe.charAt(0)):dt},{siderCollapsed:ft}=nt.useContext(x.D);let yt=Ce;typeof Ce=="undefined"?yt=Ue?Fe:"":Ce===!1&&(yt="");const lt={title:yt};!ft&&!st&&(lt.title=null,lt.open=!1);const pt=(0,se.Z)(Fe).length;let tt=nt.createElement(Be.ck,Object.assign({},(0,ue.Z)(Ie,["title","icon","danger"]),{className:ve()({[`${je}-item-danger`]:we,[`${je}-item-only-child`]:(xe?pt+1:pt)===1},Ze),title:typeof Ce=="string"?Ce:void 0}),(0,ie.Tm)(xe,{className:ve()((0,ie.l$)(xe)?(Xe=xe.props)===null||Xe===void 0?void 0:Xe.className:"",`${je}-item-icon`)}),St(st));return $e||(tt=nt.createElement(oe.Z,Object.assign({},lt,{placement:ot==="rtl"?"left":"right",overlayClassName:`${je}-inline-collapsed-tooltip`}),tt)),tt},z=Ie=>{var Xe;const{popupClassName:Ze,icon:Fe,title:xe,theme:Ce}=Ie,we=nt.useContext(a),{prefixCls:je,inlineCollapsed:Ue,theme:ot}=we,$e=(0,Be.Xl)();let st;if(!Fe)st=Ue&&!$e.length&&xe&&typeof xe=="string"?nt.createElement("div",{className:`${je}-inline-collapsed-noicon`},xe.charAt(0)):nt.createElement("span",{className:`${je}-title-content`},xe);else{const ft=(0,ie.l$)(xe)&&xe.type==="span";st=nt.createElement(nt.Fragment,null,(0,ie.Tm)(Fe,{className:ve()((0,ie.l$)(Fe)?(Xe=Fe.props)===null||Xe===void 0?void 0:Xe.className:"",`${je}-item-icon`)}),ft?xe:nt.createElement("span",{className:`${je}-title-content`},xe))}const St=nt.useMemo(()=>Object.assign(Object.assign({},we),{firstLevel:!1}),[we]);return nt.createElement(a.Provider,{value:St},nt.createElement(Be.Wd,Object.assign({},(0,ue.Z)(Ie,["icon"]),{title:st,popupClassName:ve()(je,Ze,`${je}-${Ce||ot}`)})))},ee=Oe(18785),re=Oe(70425),ce=Oe(62892),me=Oe(40875),he=function(Ie,Xe){var Ze={};for(var Fe in Ie)Object.prototype.hasOwnProperty.call(Ie,Fe)&&Xe.indexOf(Fe)<0&&(Ze[Fe]=Ie[Fe]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,Fe=Object.getOwnPropertySymbols(Ie);xe{if(Xe&&typeof Xe=="object"){const Fe=Xe,{label:xe,children:Ce,key:we,type:je}=Fe,Ue=he(Fe,["label","children","key","type"]),ot=we!=null?we:`tmp-${Ze}`;return Ce||je==="group"?je==="group"?nt.createElement(Be.BW,Object.assign({key:ot},Ue,{title:xe}),fe(Ce)):nt.createElement(z,Object.assign({key:ot},Ue,{title:xe}),fe(Ce)):je==="divider"?nt.createElement(de,Object.assign({key:ot},Ue)):nt.createElement(E,Object.assign({key:ot},Ue),xe)}return null}).filter(Xe=>Xe)}function pe(Ie){return nt.useMemo(()=>Ie&&fe(Ie),[Ie])}var ge=Oe(64993),ye=Oe(17313),be=Oe(8378),Ae=Oe(13826),Pe=Oe(29878),Le=Oe(83116),Ne=Oe(37613),ze=Ie=>{const{componentCls:Xe,motionDurationSlow:Ze,horizontalLineHeight:Fe,colorSplit:xe,lineWidth:Ce,lineType:we,itemPaddingInline:je}=Ie;return{[`${Xe}-horizontal`]:{lineHeight:Fe,border:0,borderBottom:`${Ce}px ${we} ${xe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Xe}-item, ${Xe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:je},[`> ${Xe}-item:hover, > ${Xe}-item-active, > ${Xe}-submenu ${Xe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Xe}-item, ${Xe}-submenu-title`]:{transition:[`border-color ${Ze}`,`background ${Ze}`].join(",")},[`${Xe}-submenu-arrow`]:{display:"none"}}}},Me=Ie=>{let{componentCls:Xe,menuArrowOffset:Ze}=Ie;return{[`${Xe}-rtl`]:{direction:"rtl"},[`${Xe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Xe}-rtl${Xe}-vertical, ${Xe}-submenu-rtl ${Xe}-vertical`]:{[`${Xe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Ze})`},"&::after":{transform:`rotate(45deg) translateY(${Ze})`}}}}};const it=Ie=>Object.assign({},(0,ye.oN)(Ie));var Je=(Ie,Xe)=>{const{componentCls:Ze,itemColor:Fe,itemSelectedColor:xe,groupTitleColor:Ce,itemBg:we,subMenuItemBg:je,itemSelectedBg:Ue,activeBarHeight:ot,activeBarWidth:$e,activeBarBorderWidth:st,motionDurationSlow:St,motionEaseInOut:ft,motionEaseOut:yt,itemPaddingInline:lt,motionDurationMid:pt,itemHoverColor:tt,lineType:Qe,colorSplit:dt,itemDisabledColor:mt,dangerItemColor:Pt,dangerItemHoverColor:jt,dangerItemSelectedColor:Dt,dangerItemActiveBg:$t,dangerItemSelectedBg:qt,itemHoverBg:Vt,itemActiveBg:Jt,menuSubMenuBg:en,horizontalItemSelectedColor:Pn,horizontalItemSelectedBg:In,horizontalItemBorderRadius:an,horizontalItemHoverBg:Zn,popupBg:Fn}=Ie;return{[`${Ze}-${Xe}, ${Ze}-${Xe} > ${Ze}`]:{color:Fe,background:we,[`&${Ze}-root:focus-visible`]:Object.assign({},it(Ie)),[`${Ze}-item-group-title`]:{color:Ce},[`${Ze}-submenu-selected`]:{[`> ${Ze}-submenu-title`]:{color:xe}},[`${Ze}-item-disabled, ${Ze}-submenu-disabled`]:{color:`${mt} !important`},[`${Ze}-item:not(${Ze}-item-selected):not(${Ze}-submenu-selected)`]:{[`&:hover, > ${Ze}-submenu-title:hover`]:{color:tt}},[`&:not(${Ze}-horizontal)`]:{[`${Ze}-item:not(${Ze}-item-selected)`]:{"&:hover":{backgroundColor:Vt},"&:active":{backgroundColor:Jt}},[`${Ze}-submenu-title`]:{"&:hover":{backgroundColor:Vt},"&:active":{backgroundColor:Jt}}},[`${Ze}-item-danger`]:{color:Pt,[`&${Ze}-item:hover`]:{[`&:not(${Ze}-item-selected):not(${Ze}-submenu-selected)`]:{color:jt}},[`&${Ze}-item:active`]:{background:$t}},[`${Ze}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ze}-item-selected`]:{color:xe,[`&${Ze}-item-danger`]:{color:Dt},"a, a:hover":{color:"inherit"}},[`& ${Ze}-item-selected`]:{backgroundColor:Ue,[`&${Ze}-item-danger`]:{backgroundColor:qt}},[`${Ze}-item, ${Ze}-submenu-title`]:{[`&:not(${Ze}-item-disabled):focus-visible`]:Object.assign({},it(Ie))},[`&${Ze}-submenu > ${Ze}`]:{backgroundColor:en},[`&${Ze}-popup > ${Ze}`]:{backgroundColor:Fn},[`&${Ze}-horizontal`]:Object.assign(Object.assign({},Xe==="dark"?{borderBottom:0}:{}),{[`> ${Ze}-item, > ${Ze}-submenu`]:{top:st,marginTop:-st,marginBottom:0,borderRadius:an,"&::after":{position:"absolute",insetInline:lt,bottom:0,borderBottom:`${ot}px solid transparent`,transition:`border-color ${St} ${ft}`,content:'""'},"&:hover, &-active, &-open":{background:Zn,"&::after":{borderBottomWidth:ot,borderBottomColor:Pn}},"&-selected":{color:Pn,backgroundColor:In,"&:hover":{backgroundColor:In},"&::after":{borderBottomWidth:ot,borderBottomColor:Pn}}}}),[`&${Ze}-root`]:{[`&${Ze}-inline, &${Ze}-vertical`]:{borderInlineEnd:`${st}px ${Qe} ${dt}`}},[`&${Ze}-inline`]:{[`${Ze}-sub${Ze}-inline`]:{background:je},[`${Ze}-item, ${Ze}-submenu-title`]:st&&$e?{width:`calc(100% + ${st}px)`}:{},[`${Ze}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${$e}px solid ${xe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${pt} ${yt}`,`opacity ${pt} ${yt}`].join(","),content:'""'},[`&${Ze}-item-danger`]:{"&::after":{borderInlineEndColor:Dt}}},[`${Ze}-selected, ${Ze}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${pt} ${ft}`,`opacity ${pt} ${ft}`].join(",")}}}}}};const Ye=Ie=>{const{componentCls:Xe,itemHeight:Ze,itemMarginInline:Fe,padding:xe,menuArrowSize:Ce,marginXS:we,itemMarginBlock:je}=Ie,Ue=xe+Ce+we;return{[`${Xe}-item`]:{position:"relative",overflow:"hidden"},[`${Xe}-item, ${Xe}-submenu-title`]:{height:Ze,lineHeight:`${Ze}px`,paddingInline:xe,overflow:"hidden",textOverflow:"ellipsis",marginInline:Fe,marginBlock:je,width:`calc(100% - ${Fe*2}px)`},[`> ${Xe}-item, > ${Xe}-submenu > ${Xe}-submenu-title`]:{height:Ze,lineHeight:`${Ze}px`},[`${Xe}-item-group-list ${Xe}-submenu-title, ${Xe}-submenu-title`]:{paddingInlineEnd:Ue}}};var _e=Ie=>{const{componentCls:Xe,iconCls:Ze,itemHeight:Fe,colorTextLightSolid:xe,dropdownWidth:Ce,controlHeightLG:we,motionDurationMid:je,motionEaseOut:Ue,paddingXL:ot,itemMarginInline:$e,fontSizeLG:st,motionDurationSlow:St,paddingXS:ft,boxShadowSecondary:yt,collapsedWidth:lt,collapsedIconSize:pt}=Ie,tt={height:Fe,lineHeight:`${Fe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Xe]:{"&-inline, &-vertical":Object.assign({[`&${Xe}-root`]:{boxShadow:"none"}},Ye(Ie))},[`${Xe}-submenu-popup`]:{[`${Xe}-vertical`]:Object.assign(Object.assign({},Ye(Ie)),{boxShadow:yt})}},{[`${Xe}-submenu-popup ${Xe}-vertical${Xe}-sub`]:{minWidth:Ce,maxHeight:`calc(100vh - ${we*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Xe}-inline`]:{width:"100%",[`&${Xe}-root`]:{[`${Xe}-item, ${Xe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${St}`,`background ${St}`,`padding ${je} ${Ue}`].join(","),[`> ${Xe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Xe}-sub${Xe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Xe}-submenu > ${Xe}-submenu-title`]:tt,[`& ${Xe}-item-group-title`]:{paddingInlineStart:ot}},[`${Xe}-item`]:tt}},{[`${Xe}-inline-collapsed`]:{width:lt,[`&${Xe}-root`]:{[`${Xe}-item, ${Xe}-submenu ${Xe}-submenu-title`]:{[`> ${Xe}-inline-collapsed-noicon`]:{fontSize:st,textAlign:"center"}}},[`> ${Xe}-item, > ${Xe}-item-group > ${Xe}-item-group-list > ${Xe}-item, > ${Xe}-item-group > ${Xe}-item-group-list > ${Xe}-submenu > ${Xe}-submenu-title, > ${Xe}-submenu > ${Xe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${st/2}px - ${$e}px)`,textOverflow:"clip",[` ${Xe}-submenu-arrow, ${Xe}-submenu-expand-icon `]:{opacity:0},[`${Xe}-item-icon, ${Ze}`]:{margin:0,fontSize:pt,lineHeight:`${Fe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Xe}-item-icon, ${Ze}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Xe}-item-icon, ${Ze}`]:{display:"none"},"a, a:hover":{color:xe}},[`${Xe}-item-group-title`]:Object.assign(Object.assign({},ye.vS),{paddingInline:ft})}}]};const ke=Ie=>{const{componentCls:Xe,motionDurationSlow:Ze,motionDurationMid:Fe,motionEaseInOut:xe,motionEaseOut:Ce,iconCls:we,iconSize:je,iconMarginInlineEnd:Ue}=Ie;return{[`${Xe}-item, ${Xe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ze}`,`background ${Ze}`,`padding ${Ze} ${xe}`].join(","),[`${Xe}-item-icon, ${we}`]:{minWidth:je,fontSize:je,transition:[`font-size ${Fe} ${Ce}`,`margin ${Ze} ${xe}`,`color ${Ze}`].join(","),"+ span":{marginInlineStart:Ue,opacity:1,transition:[`opacity ${Ze} ${xe}`,`margin ${Ze}`,`color ${Ze}`].join(",")}},[`${Xe}-item-icon`]:Object.assign({},(0,ye.Ro)()),[`&${Xe}-item-only-child`]:{[`> ${we}, > ${Xe}-item-icon`]:{marginInlineEnd:0}}},[`${Xe}-item-disabled, ${Xe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Xe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},rt=Ie=>{const{componentCls:Xe,motionDurationSlow:Ze,motionEaseInOut:Fe,borderRadius:xe,menuArrowSize:Ce,menuArrowOffset:we}=Ie;return{[`${Xe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ie.margin,width:Ce,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ze} ${Fe}, opacity ${Ze}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ce*.6,height:Ce*.15,backgroundColor:"currentcolor",borderRadius:xe,transition:[`background ${Ze} ${Fe}`,`transform ${Ze} ${Fe}`,`top ${Ze} ${Fe}`,`color ${Ze} ${Fe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${we})`},"&::after":{transform:`rotate(-45deg) translateY(${we})`}}}}},Ve=Ie=>{const{antCls:Xe,componentCls:Ze,fontSize:Fe,motionDurationSlow:xe,motionDurationMid:Ce,motionEaseInOut:we,paddingXS:je,padding:Ue,colorSplit:ot,lineWidth:$e,zIndexPopup:st,borderRadiusLG:St,subMenuItemBorderRadius:ft,menuArrowSize:yt,menuArrowOffset:lt,lineType:pt,menuPanelMaskInset:tt,groupTitleLineHeight:Qe,groupTitleFontSize:dt}=Ie;return[{"":{[`${Ze}`]:Object.assign(Object.assign({},(0,ye.dF)()),{"&-hidden":{display:"none"}})},[`${Ze}-submenu-hidden`]:{display:"none"}},{[Ze]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ye.Wf)(Ie)),(0,ye.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Fe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${xe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ze}-item`]:{flex:"none"}},[`${Ze}-item, ${Ze}-submenu, ${Ze}-submenu-title`]:{borderRadius:Ie.itemBorderRadius},[`${Ze}-item-group-title`]:{padding:`${je}px ${Ue}px`,fontSize:dt,lineHeight:Qe,transition:`all ${xe}`},[`&-horizontal ${Ze}-submenu`]:{transition:[`border-color ${xe} ${we}`,`background ${xe} ${we}`].join(",")},[`${Ze}-submenu, ${Ze}-submenu-inline`]:{transition:[`border-color ${xe} ${we}`,`background ${xe} ${we}`,`padding ${Ce} ${we}`].join(",")},[`${Ze}-submenu ${Ze}-sub`]:{cursor:"initial",transition:[`background ${xe} ${we}`,`padding ${xe} ${we}`].join(",")},[`${Ze}-title-content`]:{transition:`color ${xe}`},[`${Ze}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ze}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ot,borderStyle:pt,borderWidth:0,borderTopWidth:$e,marginBlock:$e,padding:0,"&-dashed":{borderStyle:"dashed"}}}),ke(Ie)),{[`${Ze}-item-group`]:{[`${Ze}-item-group-list`]:{margin:0,padding:0,[`${Ze}-item, ${Ze}-submenu-title`]:{paddingInline:`${Fe*2}px ${Ue}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:st,borderRadius:St,boxShadow:"none",transformOrigin:"0 0",[`&${Ze}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${tt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:tt},"\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:Ie.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ie.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ie.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ie.paddingXS},[`> ${Ze}`]:Object.assign(Object.assign(Object.assign({borderRadius:St},ke(Ie)),rt(Ie)),{[`${Ze}-item, ${Ze}-submenu > ${Ze}-submenu-title`]:{borderRadius:ft},[`${Ze}-submenu-title::after`]:{transition:`transform ${xe} ${we}`}})}}),rt(Ie)),{[`&-inline-collapsed ${Ze}-submenu-arrow, &-inline ${Ze}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${lt})`},"&::after":{transform:`rotate(45deg) translateX(-${lt})`}},[`${Ze}-submenu-open${Ze}-submenu-inline > ${Ze}-submenu-title > ${Ze}-submenu-arrow`]:{transform:`translateY(-${yt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${lt})`},"&::before":{transform:`rotate(45deg) translateX(${lt})`}}})},{[`${Xe}-layout-header`]:{[Ze]:{lineHeight:"inherit"}}}]};var ut=(Ie,Xe)=>(0,Le.Z)("Menu",Fe=>{if(Xe===!1)return[];const{colorBgElevated:xe,colorPrimary:Ce,colorTextLightSolid:we,controlHeightLG:je,fontSize:Ue,darkItemColor:ot,darkDangerItemColor:$e,darkItemBg:st,darkSubMenuItemBg:St,darkItemSelectedColor:ft,darkItemSelectedBg:yt,darkDangerItemSelectedBg:lt,darkItemHoverBg:pt,darkGroupTitleColor:tt,darkItemHoverColor:Qe,darkItemDisabledColor:dt,darkDangerItemHoverColor:mt,darkDangerItemSelectedColor:Pt,darkDangerItemActiveBg:jt}=Fe,Dt=Ue/7*5,$t=(0,Ne.TS)(Fe,{menuArrowSize:Dt,menuHorizontalHeight:je*1.15,menuArrowOffset:`${Dt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:xe}),qt=(0,Ne.TS)($t,{itemColor:ot,itemHoverColor:Qe,groupTitleColor:tt,itemSelectedColor:ft,itemBg:st,popupBg:st,subMenuItemBg:St,itemActiveBg:"transparent",itemSelectedBg:yt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:pt,itemDisabledColor:dt,dangerItemColor:$e,dangerItemHoverColor:mt,dangerItemSelectedColor:Pt,dangerItemActiveBg:jt,dangerItemSelectedBg:lt,menuSubMenuBg:St,horizontalItemSelectedColor:we,horizontalItemSelectedBg:Ce});return[Ve($t),ze($t),_e($t),Je($t,"light"),Je(qt,"dark"),Me($t),(0,be.Z)($t),(0,Ae.oN)($t,"slide-up"),(0,Ae.oN)($t,"slide-down"),(0,Pe._y)($t,"zoom-big")]},Fe=>{const{colorPrimary:xe,colorError:Ce,colorTextDisabled:we,colorErrorBg:je,colorText:Ue,colorTextDescription:ot,colorBgContainer:$e,colorFillAlter:st,colorFillContent:St,lineWidth:ft,lineWidthBold:yt,controlItemBgActive:lt,colorBgTextHover:pt,controlHeightLG:tt,lineHeight:Qe,colorBgElevated:dt,marginXXS:mt,padding:Pt,fontSize:jt,controlHeightSM:Dt,fontSizeLG:$t,colorTextLightSolid:qt,colorErrorHover:Vt}=Fe,Jt=new ge.C(qt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Fe.zIndexPopupBase+50,radiusItem:Fe.borderRadiusLG,itemBorderRadius:Fe.borderRadiusLG,radiusSubMenuItem:Fe.borderRadiusSM,subMenuItemBorderRadius:Fe.borderRadiusSM,colorItemText:Ue,itemColor:Ue,colorItemTextHover:Ue,itemHoverColor:Ue,colorItemTextHoverHorizontal:xe,horizontalItemHoverColor:xe,colorGroupTitle:ot,groupTitleColor:ot,colorItemTextSelected:xe,itemSelectedColor:xe,colorItemTextSelectedHorizontal:xe,horizontalItemSelectedColor:xe,colorItemBg:$e,itemBg:$e,colorItemBgHover:pt,itemHoverBg:pt,colorItemBgActive:St,itemActiveBg:lt,colorSubItemBg:st,subMenuItemBg:st,colorItemBgSelected:lt,itemSelectedBg:lt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:yt,activeBarHeight:yt,colorActiveBarBorderSize:ft,activeBarBorderWidth:ft,colorItemTextDisabled:we,itemDisabledColor:we,colorDangerItemText:Ce,dangerItemColor:Ce,colorDangerItemTextHover:Ce,dangerItemHoverColor:Ce,colorDangerItemTextSelected:Ce,dangerItemSelectedColor:Ce,colorDangerItemBgActive:je,dangerItemActiveBg:je,colorDangerItemBgSelected:je,dangerItemSelectedBg:je,itemMarginInline:Fe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:tt,groupTitleLineHeight:Qe,collapsedWidth:tt*2,popupBg:dt,itemMarginBlock:mt,itemPaddingInline:Pt,horizontalLineHeight:`${tt*1.15}px`,iconSize:jt,iconMarginInlineEnd:Dt-jt,collapsedIconSize:$t,groupTitleFontSize:jt,darkItemDisabledColor:new ge.C(qt).setAlpha(.25).toRgbString(),darkItemColor:Jt,darkDangerItemColor:Ce,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:qt,darkItemSelectedBg:xe,darkDangerItemSelectedBg:Ce,darkItemHoverBg:"transparent",darkGroupTitleColor:Jt,darkItemHoverColor:qt,darkDangerItemHoverColor:Vt,darkDangerItemSelectedColor:qt,darkDangerItemActiveBg:Ce}},{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"]]})(Ie),We=function(Ie,Xe){var Ze={};for(var Fe in Ie)Object.prototype.hasOwnProperty.call(Ie,Fe)&&Xe.indexOf(Fe)<0&&(Ze[Fe]=Ie[Fe]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,Fe=Object.getOwnPropertySymbols(Ie);xe{var Ze,Fe;const xe=nt.useContext(me.Z),Ce=xe||{},{getPrefixCls:we,getPopupContainer:je,direction:Ue,menu:ot}=nt.useContext(ae.E_),$e=we(),{prefixCls:st,className:St,style:ft,theme:yt="light",expandIcon:lt,_internalDisableMenuItemTitleTooltip:pt,inlineCollapsed:tt,siderCollapsed:Qe,items:dt,children:mt,rootClassName:Pt,mode:jt,selectable:Dt,onClick:$t,overflowedIndicatorPopupClassName:qt}=Ie,Vt=We(Ie,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Jt=(0,ue.Z)(Vt,["collapsedWidth"]),en=pe(dt)||mt;(Ze=Ce.validator)===null||Ze===void 0||Ze.call(Ce,{mode:jt});const Pn=(0,re.useEvent)(function(){var rn;$t==null||$t.apply(void 0,arguments),(rn=Ce.onClick)===null||rn===void 0||rn.call(Ce)}),In=Ce.mode||jt,an=Dt!=null?Dt:Ce.selectable,Zn=nt.useMemo(()=>Qe!==void 0?Qe:tt,[tt,Qe]),Fn={horizontal:{motionName:`${$e}-slide-up`},inline:(0,ce.Z)($e),other:{motionName:`${$e}-zoom-big`}},Ln=we("menu",st||Ce.prefixCls),[Hn,tr]=ut(Ln,!xe),lr=ve()(`${Ln}-${yt}`,ot==null?void 0:ot.className,St);let Ut;if(typeof lt=="function")Ut=lt;else if(lt===null||lt===!1)Ut=null;else if(Ce.expandIcon===null||Ce.expandIcon===!1)Ut=null;else{const rn=lt!=null?lt:Ce.expandIcon;Ut=(0,ie.Tm)(rn,{className:ve()(`${Ln}-submenu-expand-icon`,(0,ie.l$)(rn)?(Fe=rn.props)===null||Fe===void 0?void 0:Fe.className:"")})}const on=nt.useMemo(()=>({prefixCls:Ln,inlineCollapsed:Zn||!1,direction:Ue,firstLevel:!0,theme:yt,mode:In,disableMenuItemTitleTooltip:pt}),[Ln,Zn,Ue,pt,yt]);return Hn(nt.createElement(me.Z.Provider,{value:null},nt.createElement(a.Provider,{value:on},nt.createElement(Be.ZP,Object.assign({getPopupContainer:je,overflowedIndicator:nt.createElement(ee.Z,null),overflowedIndicatorPopupClassName:ve()(Ln,`${Ln}-${yt}`,qt),mode:In,selectable:an,onClick:Pn},Jt,{inlineCollapsed:Zn,style:Object.assign(Object.assign({},ot==null?void 0:ot.style),ft),className:lr,prefixCls:Ln,direction:Ue,defaultMotions:Fn,expandIcon:Ut,ref:Xe,rootClassName:ve()(Pt,tr)}),en))))});const Ke=(0,nt.forwardRef)((Ie,Xe)=>{const Ze=(0,nt.useRef)(null),Fe=nt.useContext(x.D);return(0,nt.useImperativeHandle)(Xe,()=>({menu:Ze.current,focus:xe=>{var Ce;(Ce=Ze.current)===null||Ce===void 0||Ce.focus(xe)}})),nt.createElement(Te,Object.assign({ref:Ze},Ie,Fe))});Ke.Item=E,Ke.SubMenu=z,Ke.Divider=de,Ke.ItemGroup=Be.BW;var Ee=Ke},58421:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return Ce}});var Be=Oe(92413),nt=Oe(59301),x={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"},Se=x,ve=Oe(7657),ae=function(je,Ue){return nt.createElement(ve.Z,(0,Be.Z)({},je,{ref:Ue,icon:Se}))},te=nt.forwardRef(ae),le=te,de=Oe(49198),se=Oe(33853),ue=Oe(38819),oe=Oe(92310),ie=Oe.n(oe),ne=Oe(400),a=Oe(33708),y=Oe(6909),E=Oe(4771),b=Oe(9427),z=Oe(25440),ee=Oe(26112),re={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ce=re,me=Oe(91735),he=function(we){(0,b.Z)(Ue,we);var je=(0,z.Z)(Ue);function Ue(){var ot;(0,y.Z)(this,Ue);for(var $e=arguments.length,st=new Array($e),St=0;St<$e;St++)st[St]=arguments[St];return ot=je.call.apply(je,[this].concat(st)),ot.state={goInputText:""},ot.getValidValue=function(){var ft=ot.state.goInputText;return!ft||Number.isNaN(ft)?void 0:Number(ft)},ot.buildOptionText=function(ft){return"".concat(ft," ").concat(ot.props.locale.items_per_page)},ot.changeSize=function(ft){ot.props.changeSize(Number(ft))},ot.handleChange=function(ft){ot.setState({goInputText:ft.target.value})},ot.handleBlur=function(ft){var yt=ot.props,lt=yt.goButton,pt=yt.quickGo,tt=yt.rootPrefixCls,Qe=ot.state.goInputText;lt||Qe===""||(ot.setState({goInputText:""}),!(ft.relatedTarget&&(ft.relatedTarget.className.indexOf("".concat(tt,"-item-link"))>=0||ft.relatedTarget.className.indexOf("".concat(tt,"-item"))>=0))&&pt(ot.getValidValue()))},ot.go=function(ft){var yt=ot.state.goInputText;yt!==""&&(ft.keyCode===ce.ENTER||ft.type==="click")&&(ot.setState({goInputText:""}),ot.props.quickGo(ot.getValidValue()))},ot}return(0,E.Z)(Ue,[{key:"getPageSizeOptions",value:function(){var $e=this.props,st=$e.pageSize,St=$e.pageSizeOptions;return St.some(function(ft){return ft.toString()===st.toString()})?St:St.concat([st.toString()]).sort(function(ft,yt){var lt=Number.isNaN(Number(ft))?0:Number(ft),pt=Number.isNaN(Number(yt))?0:Number(yt);return lt-pt})}},{key:"render",value:function(){var $e=this,st=this.props,St=st.pageSize,ft=st.locale,yt=st.rootPrefixCls,lt=st.changeSize,pt=st.quickGo,tt=st.goButton,Qe=st.selectComponentClass,dt=st.buildOptionText,mt=st.selectPrefixCls,Pt=st.disabled,jt=this.state.goInputText,Dt="".concat(yt,"-options"),$t=Qe,qt=null,Vt=null,Jt=null;if(!lt&&!pt)return null;var en=this.getPageSizeOptions();if(lt&&$t){var Pn=en.map(function(In,an){return nt.createElement($t.Option,{key:an,value:In.toString()},(dt||$e.buildOptionText)(In))});qt=nt.createElement($t,{disabled:Pt,prefixCls:mt,showSearch:!1,className:"".concat(Dt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(St||en[0]).toString(),onChange:this.changeSize,getPopupContainer:function(an){return an.parentNode},"aria-label":ft.page_size,defaultOpen:!1},Pn)}return pt&&(tt&&(Jt=typeof tt=="boolean"?nt.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Pt,className:"".concat(Dt,"-quick-jumper-button")},ft.jump_to_confirm):nt.createElement("span",{onClick:this.go,onKeyUp:this.go},tt)),Vt=nt.createElement("div",{className:"".concat(Dt,"-quick-jumper")},ft.jump_to,nt.createElement("input",{disabled:Pt,type:"text",value:jt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ft.page}),ft.page,Jt)),nt.createElement("li",{className:"".concat(Dt)},qt,Vt)}}]),Ue}(nt.Component);he.defaultProps={pageSizeOptions:["10","20","50","100"]};var fe=he,pe=function(je){var Ue,ot=je.rootPrefixCls,$e=je.page,st=je.active,St=je.className,ft=je.showTitle,yt=je.onClick,lt=je.onKeyPress,pt=je.itemRender,tt="".concat(ot,"-item"),Qe=ie()(tt,"".concat(tt,"-").concat($e),(Ue={},(0,ne.Z)(Ue,"".concat(tt,"-active"),st),(0,ne.Z)(Ue,"".concat(tt,"-disabled"),!$e),(0,ne.Z)(Ue,je.className,St),Ue)),dt=function(){yt($e)},mt=function(Dt){lt(Dt,yt,$e)},Pt=pt($e,"page",nt.createElement("a",{rel:"nofollow"},$e));return Pt?nt.createElement("li",{title:ft?$e.toString():null,className:Qe,onClick:dt,onKeyPress:mt,tabIndex:0},Pt):null},ge=pe;function ye(){}function be(we){var je=Number(we);return typeof je=="number"&&!Number.isNaN(je)&&isFinite(je)&&Math.floor(je)===je}var Ae=function(je,Ue,ot){return ot};function Pe(we,je,Ue){var ot=typeof we=="undefined"?je.pageSize:we;return Math.floor((Ue.total-1)/ot)+1}var Le=function(we){(0,b.Z)(Ue,we);var je=(0,z.Z)(Ue);function Ue(ot){var $e;(0,y.Z)(this,Ue),$e=je.call(this,ot),$e.paginationNode=nt.createRef(),$e.getJumpPrevPage=function(){return Math.max(1,$e.state.current-($e.props.showLessItems?3:5))},$e.getJumpNextPage=function(){return Math.min(Pe(void 0,$e.state,$e.props),$e.state.current+($e.props.showLessItems?3:5))},$e.getItemIcon=function(lt,pt){var tt=$e.props.prefixCls,Qe=lt||nt.createElement("button",{type:"button","aria-label":pt,className:"".concat(tt,"-item-link")});return typeof lt=="function"&&(Qe=nt.createElement(lt,(0,a.Z)({},$e.props))),Qe},$e.isValid=function(lt){var pt=$e.props.total;return be(lt)&<!==$e.state.current&&be(pt)&&pt>0},$e.shouldDisplayQuickJumper=function(){var lt=$e.props,pt=lt.showQuickJumper,tt=lt.total,Qe=$e.state.pageSize;return tt<=Qe?!1:pt},$e.handleKeyDown=function(lt){(lt.keyCode===ce.ARROW_UP||lt.keyCode===ce.ARROW_DOWN)&<.preventDefault()},$e.handleKeyUp=function(lt){var pt=$e.getValidValue(lt),tt=$e.state.currentInputValue;pt!==tt&&$e.setState({currentInputValue:pt}),lt.keyCode===ce.ENTER?$e.handleChange(pt):lt.keyCode===ce.ARROW_UP?$e.handleChange(pt-1):lt.keyCode===ce.ARROW_DOWN&&$e.handleChange(pt+1)},$e.handleBlur=function(lt){var pt=$e.getValidValue(lt);$e.handleChange(pt)},$e.changePageSize=function(lt){var pt=$e.state.current,tt=Pe(lt,$e.state,$e.props);pt=pt>tt?tt:pt,tt===0&&(pt=$e.state.current),typeof lt=="number"&&("pageSize"in $e.props||$e.setState({pageSize:lt}),"current"in $e.props||$e.setState({current:pt,currentInputValue:pt})),$e.props.onShowSizeChange(pt,lt),"onChange"in $e.props&&$e.props.onChange&&$e.props.onChange(pt,lt)},$e.handleChange=function(lt){var pt=$e.props,tt=pt.disabled,Qe=pt.onChange,dt=$e.state,mt=dt.pageSize,Pt=dt.current,jt=dt.currentInputValue;if($e.isValid(lt)&&!tt){var Dt=Pe(void 0,$e.state,$e.props),$t=lt;return lt>Dt?$t=Dt:lt<1&&($t=1),"current"in $e.props||$e.setState({current:$t}),$t!==jt&&$e.setState({currentInputValue:$t}),Qe($t,mt),$t}return Pt},$e.prev=function(){$e.hasPrev()&&$e.handleChange($e.state.current-1)},$e.next=function(){$e.hasNext()&&$e.handleChange($e.state.current+1)},$e.jumpPrev=function(){$e.handleChange($e.getJumpPrevPage())},$e.jumpNext=function(){$e.handleChange($e.getJumpNextPage())},$e.hasPrev=function(){return $e.state.current>1},$e.hasNext=function(){return $e.state.current2?tt-2:0),dt=2;dt=St?yt=St:yt=Number(st),yt}},{key:"getShowSizeChanger",value:function(){var $e=this.props,st=$e.showSizeChanger,St=$e.total,ft=$e.totalBoundaryShowSizeChanger;return typeof st!="undefined"?st:St>ft}},{key:"render",value:function(){var $e=this.props,st=$e.prefixCls,St=$e.className,ft=$e.style,yt=$e.disabled,lt=$e.hideOnSinglePage,pt=$e.total,tt=$e.locale,Qe=$e.showQuickJumper,dt=$e.showLessItems,mt=$e.showTitle,Pt=$e.showTotal,jt=$e.simple,Dt=$e.itemRender,$t=$e.showPrevNextJumpers,qt=$e.jumpPrevIcon,Vt=$e.jumpNextIcon,Jt=$e.selectComponentClass,en=$e.selectPrefixCls,Pn=$e.pageSizeOptions,In=this.state,an=In.current,Zn=In.pageSize,Fn=In.currentInputValue;if(lt===!0&&pt<=Zn)return null;var Ln=Pe(void 0,this.state,this.props),Hn=[],tr=null,lr=null,Ut=null,on=null,rn=null,er=Qe&&Qe.goButton,fn=dt?1:2,zn=an-1>0?an-1:0,Et=an+1pt?pt:an*Zn]));if(jt){er&&(typeof er=="boolean"?rn=nt.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},tt.jump_to_confirm):rn=nt.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},er),rn=nt.createElement("li",{title:mt?"".concat(tt.jump_to).concat(an,"/").concat(Ln):null,className:"".concat(st,"-simple-pager")},rn));var zt=this.renderPrev(zn);return nt.createElement("ul",(0,Be.Z)({className:ie()(st,"".concat(st,"-simple"),(0,ne.Z)({},"".concat(st,"-disabled"),yt),St),style:ft,ref:this.paginationNode},Tt),xt,zt?nt.createElement("li",{title:mt?tt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ie()("".concat(st,"-prev"),(0,ne.Z)({},"".concat(st,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},zt):null,nt.createElement("li",{title:mt?"".concat(an,"/").concat(Ln):null,className:"".concat(st,"-simple-pager")},nt.createElement("input",{type:"text",value:Fn,disabled:yt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),nt.createElement("span",{className:"".concat(st,"-slash")},"/"),Ln),nt.createElement("li",{title:mt?tt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ie()("".concat(st,"-next"),(0,ne.Z)({},"".concat(st,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Et)),rn)}if(Ln<=3+fn*2){var dn={locale:tt,rootPrefixCls:st,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:mt,itemRender:Dt};Ln||Hn.push(nt.createElement(ge,(0,Be.Z)({},dn,{key:"noPager",page:1,className:"".concat(st,"-item-disabled")})));for(var ln=1;ln<=Ln;ln+=1){var ir=an===ln;Hn.push(nt.createElement(ge,(0,Be.Z)({},dn,{key:ln,page:ln,active:ir})))}}else{var kn=dt?tt.prev_3:tt.prev_5,wn=dt?tt.next_3:tt.next_5,Yn=Dt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(qt,"prev page")),sr=Dt(this.getJumpNextPage(),"jump-next",this.getItemIcon(Vt,"next page"));$t&&(tr=Yn?nt.createElement("li",{title:mt?kn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ie()("".concat(st,"-jump-prev"),(0,ne.Z)({},"".concat(st,"-jump-prev-custom-icon"),!!qt))},Yn):null,lr=sr?nt.createElement("li",{title:mt?wn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ie()("".concat(st,"-jump-next"),(0,ne.Z)({},"".concat(st,"-jump-next-custom-icon"),!!Vt))},sr):null),on=nt.createElement(ge,{locale:tt,last:!0,rootPrefixCls:st,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ln,page:Ln,active:!1,showTitle:mt,itemRender:Dt}),Ut=nt.createElement(ge,{locale:tt,rootPrefixCls:st,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:mt,itemRender:Dt});var Ht=Math.max(1,an-fn),Bn=Math.min(an+fn,Ln);an-1<=fn&&(Bn=1+fn*2),Ln-an<=fn&&(Ht=Ln-fn*2);for(var $n=Ht;$n<=Bn;$n+=1){var Xn=an===$n;Hn.push(nt.createElement(ge,{locale:tt,rootPrefixCls:st,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:$n,page:$n,active:Xn,showTitle:mt,itemRender:Dt}))}an-1>=fn*2&&an!==3&&(Hn[0]=(0,nt.cloneElement)(Hn[0],{className:"".concat(st,"-item-after-jump-prev")}),Hn.unshift(tr)),Ln-an>=fn*2&&an!==Ln-2&&(Hn[Hn.length-1]=(0,nt.cloneElement)(Hn[Hn.length-1],{className:"".concat(st,"-item-before-jump-next")}),Hn.push(lr)),Ht!==1&&Hn.unshift(Ut),Bn!==Ln&&Hn.push(on)}var ur=!this.hasPrev()||!Ln,wt=!this.hasNext()||!Ln,Nt=this.renderPrev(zn),Mt=this.renderNext(Et);return nt.createElement("ul",(0,Be.Z)({className:ie()(st,St,(0,ne.Z)({},"".concat(st,"-disabled"),yt)),style:ft,ref:this.paginationNode},Tt),xt,Nt?nt.createElement("li",{title:mt?tt.prev_page:null,onClick:this.prev,tabIndex:ur?null:0,onKeyPress:this.runIfEnterPrev,className:ie()("".concat(st,"-prev"),(0,ne.Z)({},"".concat(st,"-disabled"),ur)),"aria-disabled":ur},Nt):null,Hn,Mt?nt.createElement("li",{title:mt?tt.next_page:null,onClick:this.next,tabIndex:wt?null:0,onKeyPress:this.runIfEnterNext,className:ie()("".concat(st,"-next"),(0,ne.Z)({},"".concat(st,"-disabled"),wt)),"aria-disabled":wt},Mt):null,nt.createElement(fe,{disabled:yt,locale:tt,rootPrefixCls:st,selectComponentClass:Jt,selectPrefixCls:en,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:an,pageSize:Zn,pageSizeOptions:Pn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:er}))}}],[{key:"getDerivedStateFromProps",value:function($e,st){var St={};if("current"in $e&&(St.current=$e.current,$e.current!==st.current&&(St.currentInputValue=St.current)),"pageSize"in $e&&$e.pageSize!==st.pageSize){var ft=st.current,yt=Pe($e.pageSize,st,$e);ft=ft>yt?yt:ft,"current"in $e||(St.current=ft,St.currentInputValue=ft),St.pageSize=$e.pageSize}return St}}]),Ue}(nt.Component);Le.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:ye,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:ye,locale:me.Z,style:{},itemRender:Ae,totalBoundaryShowSizeChanger:50};var Ne=Le,De=Oe(22075),ze=Oe(36355),et=Oe(19716),Me=Oe(8628),it=Oe(9763),at=Oe(57809);const Je=we=>nt.createElement(at.default,Object.assign({},we,{showSearch:!0,size:"small"})),Ye=we=>nt.createElement(at.default,Object.assign({},we,{showSearch:!0,size:"middle"}));Je.Option=at.default.Option,Ye.Option=at.default.Option;var Ge=Oe(9937),_e=Oe(17313),ke=Oe(83116),rt=Oe(37613);const Ve=we=>{const{componentCls:je}=we;return{[`${je}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${je}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${je}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed"}}},[`&${je}-disabled`]:{cursor:"not-allowed",[`${je}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:we.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:we.colorBorder,backgroundColor:we.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:we.itemActiveBgDisabled},a:{color:we.itemActiveColorDisabled}}},[`${je}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${je}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${je}-simple-pager`]:{color:we.colorTextDisabled},[`${je}-jump-prev, ${je}-jump-next`]:{[`${je}-item-link-icon`]:{opacity:0},[`${je}-item-ellipsis`]:{opacity:1}}},[`&${je}-simple`]:{[`${je}-prev, ${je}-next`]:{[`&${je}-disabled ${je}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ut=we=>{const{componentCls:je}=we;return{[`&${je}-mini ${je}-total-text, &${je}-mini ${je}-simple-pager`]:{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`},[`&${je}-mini ${je}-item`]:{minWidth:we.itemSizeSM,height:we.itemSizeSM,margin:0,lineHeight:`${we.itemSizeSM-2}px`},[`&${je}-mini:not(${je}-disabled) ${je}-item:not(${je}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive}},[`&${je}-mini ${je}-prev, &${je}-mini ${je}-next`]:{minWidth:we.itemSizeSM,height:we.itemSizeSM,margin:0,lineHeight:`${we.itemSizeSM}px`},[`&${je}-mini:not(${je}-disabled)`]:{[`${je}-prev, ${je}-next`]:{[`&:hover ${je}-item-link`]:{backgroundColor:we.colorBgTextHover},[`&:active ${je}-item-link`]:{backgroundColor:we.colorBgTextActive},[`&${je}-disabled:hover ${je}-item-link`]:{backgroundColor:"transparent"}}},[` &${je}-mini ${je}-prev ${je}-item-link, &${je}-mini ${je}-next ${je}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`}},[`&${je}-mini ${je}-jump-prev, &${je}-mini ${je}-jump-next`]:{height:we.itemSizeSM,marginInlineEnd:0,lineHeight:`${we.itemSizeSM}px`},[`&${je}-mini ${je}-options`]:{marginInlineStart:we.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:we.miniOptionsSizeChangerTop},"&-quick-jumper":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ge.x0)(we)),{width:we.paginationMiniQuickJumperInputWidth,height:we.controlHeightSM})}}}},We=we=>{const{componentCls:je}=we;return{[` &${je}-simple ${je}-prev, &${je}-simple ${je}-next `]:{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`,verticalAlign:"top",[`${je}-item-link`]:{height:we.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive},"&::after":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`}}},[`&${je}-simple ${je}-simple-pager`]:{display:"inline-block",height:we.itemSizeSM,marginInlineEnd:we.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:we.marginXS,padding:`0 ${we.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:we.itemInputBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadius,outline:"none",transition:`border-color ${we.motionDurationMid}`,color:"inherit","&:hover":{borderColor:we.colorPrimary},"&:focus":{borderColor:we.colorPrimaryHover,boxShadow:`${we.inputOutlineOffset}px 0 ${we.controlOutlineWidth}px ${we.controlOutline}`},"&[disabled]":{color:we.colorTextDisabled,backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,cursor:"not-allowed"}}}}},Re=we=>{const{componentCls:je}=we;return{[`${je}-jump-prev, ${je}-jump-next`]:{outline:0,[`${je}-item-container`]:{position:"relative",[`${je}-item-link-icon`]:{color:we.colorPrimary,fontSize:we.fontSizeSM,opacity:0,transition:`all ${we.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${je}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:we.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:we.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:we.paginationEllipsisTextIndent,opacity:1,transition:`all ${we.motionDurationMid}`}},"&:hover":{[`${je}-item-link-icon`]:{opacity:1},[`${je}-item-ellipsis`]:{opacity:0}}},[` ${je}-prev, ${je}-jump-prev, ${je}-jump-next `]:{marginInlineEnd:we.marginXS},[` ${je}-prev, ${je}-next, ${je}-jump-prev, ${je}-jump-next `]:{display:"inline-block",minWidth:we.itemSize,height:we.itemSize,color:we.colorText,fontFamily:we.fontFamily,lineHeight:`${we.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:we.borderRadius,cursor:"pointer",transition:`all ${we.motionDurationMid}`},[`${je}-prev, ${je}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:we.colorText,cursor:"pointer",userSelect:"none"},[`${je}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:we.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${we.lineWidth}px ${we.lineType} transparent`,borderRadius:we.borderRadius,outline:"none",transition:`all ${we.motionDurationMid}`},[`&:hover ${je}-item-link`]:{backgroundColor:we.colorBgTextHover},[`&:active ${je}-item-link`]:{backgroundColor:we.colorBgTextActive},[`&${je}-disabled:hover`]:{[`${je}-item-link`]:{backgroundColor:"transparent"}}},[`${je}-slash`]:{marginInlineEnd:we.paginationSlashMarginInlineEnd,marginInlineStart:we.paginationSlashMarginInlineStart},[`${je}-options`]:{display:"inline-block",marginInlineStart:we.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:we.controlHeight,marginInlineStart:we.marginXS,lineHeight:`${we.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ge.ik)(we)),{width:we.controlHeightLG*1.25,height:we.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:we.marginXS,marginInlineEnd:we.marginXS})}}}},Te=we=>{const{componentCls:je}=we;return{[`${je}-item`]:{display:"inline-block",minWidth:we.itemSize,height:we.itemSize,marginInlineEnd:we.marginXS,fontFamily:we.fontFamily,lineHeight:`${we.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${we.lineWidth}px ${we.lineType} transparent`,borderRadius:we.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${we.paginationItemPaddingInline}px`,color:we.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${je}-item-active)`]:{"&:hover":{transition:`all ${we.motionDurationMid}`,backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive}},"&-active":{fontWeight:we.fontWeightStrong,backgroundColor:we.itemActiveBg,borderColor:we.colorPrimary,a:{color:we.colorPrimary},"&:hover":{borderColor:we.colorPrimaryHover},"&:hover a":{color:we.colorPrimaryHover}}}}},Ke=we=>{const{componentCls:je}=we;return{[je]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,_e.Wf)(we)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${je}-total-text`]:{display:"inline-block",height:we.itemSize,marginInlineEnd:we.marginXS,lineHeight:`${we.itemSize-2}px`,verticalAlign:"middle"}}),Te(we)),Re(we)),We(we)),ut(we)),Ve(we)),{[`@media only screen and (max-width: ${we.screenLG}px)`]:{[`${je}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${we.screenSM}px)`]:{[`${je}-options`]:{display:"none"}}}),[`&${we.componentCls}-rtl`]:{direction:"rtl"}}},Ee=we=>{const{componentCls:je}=we;return{[`${je}${je}-disabled:not(${je}-mini)`]:{"&, &:hover":{[`${je}-item-link`]:{borderColor:we.colorBorder}},"&:focus-visible":{[`${je}-item-link`]:{borderColor:we.colorBorder}},[`${je}-item, ${je}-item-link`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,[`&:hover:not(${je}-item-active)`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,a:{color:we.colorTextDisabled}},[`&${je}-item-active`]:{backgroundColor:we.itemActiveBgDisabled}},[`${je}-prev, ${je}-next`]:{"&:hover button":{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,color:we.colorTextDisabled},[`${je}-item-link`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder}}},[`${je}:not(${je}-mini)`]:{[`${je}-prev, ${je}-next`]:{"&:hover button":{borderColor:we.colorPrimaryHover,backgroundColor:we.itemBg},[`${je}-item-link`]:{backgroundColor:we.itemLinkBg,borderColor:we.colorBorder},[`&:hover ${je}-item-link`]:{borderColor:we.colorPrimary,backgroundColor:we.itemBg,color:we.colorPrimary},[`&${je}-disabled`]:{[`${je}-item-link`]:{borderColor:we.colorBorder,color:we.colorTextDisabled}}},[`${je}-item`]:{backgroundColor:we.itemBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,[`&:hover:not(${je}-item-active)`]:{borderColor:we.colorPrimary,backgroundColor:we.itemBg,a:{color:we.colorPrimary}},"&-active":{borderColor:we.colorPrimary}}}}},Ie=we=>{const{componentCls:je}=we;return{[`${je}:not(${je}-disabled)`]:{[`${je}-item`]:Object.assign({},(0,_e.Qy)(we)),[`${je}-jump-prev, ${je}-jump-next`]:{"&:focus-visible":Object.assign({[`${je}-item-link-icon`]:{opacity:1},[`${je}-item-ellipsis`]:{opacity:0}},(0,_e.oN)(we))},[`${je}-prev, ${je}-next`]:{[`&:focus-visible ${je}-item-link`]:Object.assign({},(0,_e.oN)(we))}}}};var Xe=(0,ke.Z)("Pagination",we=>{const je=(0,rt.TS)(we,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:we.marginXXS/2,paginationMiniQuickJumperInputWidth:we.controlHeightLG*1.1,paginationItemPaddingInline:we.marginXXS*1.5,paginationEllipsisLetterSpacing:we.marginXXS/2,paginationSlashMarginInlineStart:we.marginXXS,paginationSlashMarginInlineEnd:we.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ge.e5)(we),(0,Ge.TM)(we));return[Ke(je),Ie(je),we.wireframe&&Ee(je)]},we=>({itemBg:we.colorBgContainer,itemSize:we.controlHeight,itemSizeSM:we.controlHeightSM,itemActiveBg:we.colorBgContainer,itemLinkBg:we.colorBgContainer,itemActiveColorDisabled:we.colorTextDisabled,itemActiveBgDisabled:we.controlItemBgActiveDisabled,itemInputBg:we.colorBgContainer,miniOptionsSizeChangerTop:0})),Ze=function(we,je){var Ue={};for(var ot in we)Object.prototype.hasOwnProperty.call(we,ot)&&je.indexOf(ot)<0&&(Ue[ot]=we[ot]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,ot=Object.getOwnPropertySymbols(we);$e{const{prefixCls:je,selectPrefixCls:Ue,className:ot,rootClassName:$e,style:st,size:St,locale:ft,selectComponentClass:yt,responsive:lt,showSizeChanger:pt}=we,tt=Ze(we,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Qe}=(0,Me.Z)(lt),{getPrefixCls:dt,direction:mt,pagination:Pt={}}=nt.useContext(ze.E_),jt=dt("pagination",je),[Dt,$t]=Xe(jt),qt=pt!=null?pt:Pt.showSizeChanger,Vt=nt.useMemo(()=>{const Ln=nt.createElement("span",{className:`${jt}-item-ellipsis`},"\u2022\u2022\u2022"),Hn=nt.createElement("button",{className:`${jt}-item-link`,type:"button",tabIndex:-1},mt==="rtl"?nt.createElement(ue.Z,null):nt.createElement(se.Z,null)),tr=nt.createElement("button",{className:`${jt}-item-link`,type:"button",tabIndex:-1},mt==="rtl"?nt.createElement(se.Z,null):nt.createElement(ue.Z,null)),lr=nt.createElement("a",{className:`${jt}-item-link`},nt.createElement("div",{className:`${jt}-item-container`},mt==="rtl"?nt.createElement(de.Z,{className:`${jt}-item-link-icon`}):nt.createElement(le,{className:`${jt}-item-link-icon`}),Ln)),Ut=nt.createElement("a",{className:`${jt}-item-link`},nt.createElement("div",{className:`${jt}-item-container`},mt==="rtl"?nt.createElement(le,{className:`${jt}-item-link-icon`}):nt.createElement(de.Z,{className:`${jt}-item-link-icon`}),Ln));return{prevIcon:Hn,nextIcon:tr,jumpPrevIcon:lr,jumpNextIcon:Ut}},[mt,jt]),[Jt]=(0,it.Z)("Pagination",De.Z),en=Object.assign(Object.assign({},Jt),ft),Pn=(0,et.Z)(St),In=Pn==="small"||!!(Qe&&!Pn&<),an=dt("select",Ue),Zn=ie()({[`${jt}-mini`]:In,[`${jt}-rtl`]:mt==="rtl"},Pt==null?void 0:Pt.className,ot,$e,$t),Fn=Object.assign(Object.assign({},Pt==null?void 0:Pt.style),st);return Dt(nt.createElement(Ne,Object.assign({},Vt,tt,{style:Fn,prefixCls:jt,selectPrefixCls:an,className:Zn,selectComponentClass:yt||(In?Je:Ye),locale:en,showSizeChanger:qt})))},Ce=xe},14478:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return ge}});var Be=Oe(96512),nt=Oe(92310),x=Oe.n(nt),Se=Oe(10228),ve=Oe(18929),ae=Oe(2738),te=Oe(59301),le=Oe(92343),de=Oe(36355),se=Oe(60324),ue=Oe(92806),oe=Oe(77578),ie=Oe(3113),ne=Oe(67797),a=Oe(9763),y=Oe(31724),E=Oe(39722),b=Oe(83116);const z=ye=>{const{componentCls:be,iconCls:Ae,antCls:Pe,zIndexPopup:Le,colorText:Ne,colorWarning:De,marginXXS:ze,marginXS:et,fontSize:Me,fontWeightStrong:it,colorTextHeading:at}=ye;return{[be]:{zIndex:Le,[`&${Pe}-popover`]:{fontSize:Me},[`${be}-message`]:{marginBottom:et,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${be}-message-icon ${Ae}`]:{color:De,fontSize:Me,lineHeight:1,marginInlineEnd:et},[`${be}-title`]:{fontWeight:it,color:at,"&:only-child":{fontWeight:"normal"}},[`${be}-description`]:{marginTop:ze,color:Ne}},[`${be}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:et}}}}};var ee=(0,b.Z)("Popconfirm",ye=>z(ye),ye=>{const{zIndexPopupBase:be}=ye;return{zIndexPopup:be+60}},{resetStyle:!1}),re=function(ye,be){var Ae={};for(var Pe in ye)Object.prototype.hasOwnProperty.call(ye,Pe)&&be.indexOf(Pe)<0&&(Ae[Pe]=ye[Pe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Pe=Object.getOwnPropertySymbols(ye);Le{const{prefixCls:be,okButtonProps:Ae,cancelButtonProps:Pe,title:Le,description:Ne,cancelText:De,okText:ze,okType:et="primary",icon:Me=te.createElement(Be.Z,null),showCancel:it=!0,close:at,onConfirm:Je,onCancel:Ye,onPopupClick:Ge}=ye,{getPrefixCls:_e}=te.useContext(de.E_),[ke]=(0,a.Z)("Popconfirm",y.Z.Popconfirm),rt=(0,oe.Z)(Le),Ve=(0,oe.Z)(Ne);return te.createElement("div",{className:`${be}-inner-content`,onClick:Ge},te.createElement("div",{className:`${be}-message`},Me&&te.createElement("span",{className:`${be}-message-icon`},Me),te.createElement("div",{className:`${be}-message-text`},rt&&te.createElement("div",{className:x()(`${be}-title`)},rt),Ve&&te.createElement("div",{className:`${be}-description`},Ve))),te.createElement("div",{className:`${be}-buttons`},it&&te.createElement(ie.ZP,Object.assign({onClick:Ye,size:"small"},Pe),De!=null?De:ke==null?void 0:ke.cancelText),te.createElement(ue.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,ne.n)(et)),Ae),actionFn:Je,close:at,prefixCls:_e("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},ze!=null?ze:ke==null?void 0:ke.okText)))};var he=ye=>{const{prefixCls:be,placement:Ae,className:Pe,style:Le}=ye,Ne=re(ye,["prefixCls","placement","className","style"]),{getPrefixCls:De}=te.useContext(de.E_),ze=De("popconfirm",be),[et]=ee(ze);return et(te.createElement(E.ZP,{placement:Ae,className:x()(ze,Pe),style:Le,content:te.createElement(ce,Object.assign({prefixCls:ze},Ne))}))},fe=function(ye,be){var Ae={};for(var Pe in ye)Object.prototype.hasOwnProperty.call(ye,Pe)&&be.indexOf(Pe)<0&&(Ae[Pe]=ye[Pe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Pe=Object.getOwnPropertySymbols(ye);Le{const{prefixCls:Ae,placement:Pe="top",trigger:Le="click",okType:Ne="primary",icon:De=te.createElement(Be.Z,null),children:ze,overlayClassName:et,onOpenChange:Me,onVisibleChange:it}=ye,at=fe(ye,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:Je}=te.useContext(de.E_),[Ye,Ge]=(0,ve.Z)(!1,{value:ye.open,defaultValue:ye.defaultOpen}),_e=(Ee,Ie)=>{Ge(Ee,!0),it==null||it(Ee),Me==null||Me(Ee,Ie)},ke=Ee=>{_e(!1,Ee)},rt=Ee=>{var Ie;return(Ie=ye.onConfirm)===null||Ie===void 0?void 0:Ie.call(void 0,Ee)},Ve=Ee=>{var Ie;_e(!1,Ee),(Ie=ye.onCancel)===null||Ie===void 0||Ie.call(void 0,Ee)},ut=Ee=>{Ee.keyCode===Se.Z.ESC&&Ye&&_e(!1,Ee)},We=Ee=>{const{disabled:Ie=!1}=ye;Ie||_e(Ee)},Re=Je("popconfirm",Ae),Te=x()(Re,et),[Ke]=ee(Re);return Ke(te.createElement(se.Z,Object.assign({},(0,ae.Z)(at,["title"]),{trigger:Le,placement:Pe,onOpenChange:We,open:Ye,ref:be,overlayClassName:Te,content:te.createElement(ce,Object.assign({okType:Ne,icon:De},ye,{prefixCls:Re,close:ke,onConfirm:rt,onCancel:Ve})),"data-popover-inject":!0}),(0,le.Tm)(ze,{onKeyDown:Ee=>{var Ie,Xe;te.isValidElement(ze)&&((Xe=ze==null?void 0:(Ie=ze.props).onKeyDown)===null||Xe===void 0||Xe.call(Ie,Ee)),ut(Ee)}})))});pe._InternalPanelDoNotUseOrYouWillBeFired=he;var ge=pe},39722:function(Ct,bt,Oe){"use strict";Oe.d(bt,{t5:function(){return se}});var Be=Oe(92310),nt=Oe.n(Be),x=Oe(55477),Se=Oe(59301),ve=Oe(36355),ae=Oe(77578),te=Oe(17356),le=function(oe,ie){var ne={};for(var a in oe)Object.prototype.hasOwnProperty.call(oe,a)&&ie.indexOf(a)<0&&(ne[a]=oe[a]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(oe);y{if(!(!ie&&!ne))return Se.createElement(Se.Fragment,null,ie&&Se.createElement("div",{className:`${oe}-title`},(0,ae.Z)(ie)),Se.createElement("div",{className:`${oe}-inner-content`},(0,ae.Z)(ne)))},se=oe=>{const{hashId:ie,prefixCls:ne,className:a,style:y,placement:E="top",title:b,content:z,children:ee}=oe;return Se.createElement("div",{className:nt()(ie,ne,`${ne}-pure`,`${ne}-placement-${E}`,a),style:y},Se.createElement("div",{className:`${ne}-arrow`}),Se.createElement(x.G,Object.assign({},oe,{className:ie,prefixCls:ne}),ee||de(ne,b,z)))},ue=oe=>{const{prefixCls:ie}=oe,ne=le(oe,["prefixCls"]),{getPrefixCls:a}=Se.useContext(ve.E_),y=a("popover",ie),[E,b]=(0,te.Z)(y);return E(Se.createElement(se,Object.assign({},ne,{prefixCls:y,hashId:b})))};bt.ZP=ue},60324:function(Ct,bt,Oe){"use strict";var Be=Oe(92310),nt=Oe.n(Be),x=Oe(59301),Se=Oe(77578),ve=Oe(62892),ae=Oe(36355),te=Oe(6848),le=Oe(39722),de=Oe(17356),se=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 E=0,y=Object.getOwnPropertySymbols(ie);E{let{title:ne,content:a,prefixCls:y}=ie;return x.createElement(x.Fragment,null,ne&&x.createElement("div",{className:`${y}-title`},(0,Se.Z)(ne)),x.createElement("div",{className:`${y}-inner-content`},(0,Se.Z)(a)))},oe=x.forwardRef((ie,ne)=>{const{prefixCls:a,title:y,content:E,overlayClassName:b,placement:z="top",trigger:ee="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:ce=.1,overlayStyle:me={}}=ie,he=se(ie,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:fe}=x.useContext(ae.E_),pe=fe("popover",a),[ge,ye]=(0,de.Z)(pe),be=fe(),Ae=nt()(b,ye);return ge(x.createElement(te.Z,Object.assign({placement:z,trigger:ee,mouseEnterDelay:re,mouseLeaveDelay:ce,overlayStyle:me},he,{prefixCls:pe,overlayClassName:Ae,ref:ne,overlay:y||E?x.createElement(ue,{prefixCls:pe,title:y,content:E}):null,transitionName:(0,ve.m)(be,"zoom-big",he.transitionName),"data-popover-inject":!0})))});oe._InternalPanelDoNotUseOrYouWillBeFired=le.ZP,bt.Z=oe},17356:function(Ct,bt,Oe){"use strict";var Be=Oe(17313),nt=Oe(29878),x=Oe(19447),Se=Oe(33166),ve=Oe(83116),ae=Oe(37613);const te=se=>{const{componentCls:ue,popoverColor:oe,minWidth:ie,fontWeightStrong:ne,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:E,borderRadiusLG:b,zIndexPopup:z,marginXS:ee,colorBgElevated:re,popoverBg:ce}=se;return[{[ue]:Object.assign(Object.assign({},(0,Be.Wf)(se)),{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"},[`${ue}-content`]:{position:"relative"},[`${ue}-inner`]:{backgroundColor:ce,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${ue}-title`]:{minWidth:ie,marginBottom:ee,color:E,fontWeight:ne},[`${ue}-inner-content`]:{color:oe}})},(0,x.ZP)(se,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ue}-pure`]:{position:"relative",maxWidth:"none",margin:se.sizePopupArrow,display:"inline-block",[`${ue}-content`]:{display:"inline-block"}}}]},le=se=>{const{componentCls:ue}=se;return{[ue]:Se.i.map(oe=>{const ie=se[`${oe}6`];return{[`&${ue}-${oe}`]:{"--antd-arrow-background-color":ie,[`${ue}-inner`]:{backgroundColor:ie},[`${ue}-arrow`]:{background:"transparent"}}}})}},de=se=>{const{componentCls:ue,lineWidth:oe,lineType:ie,colorSplit:ne,paddingSM:a,controlHeight:y,fontSize:E,lineHeight:b,padding:z}=se,ee=y-Math.round(E*b),re=ee/2,ce=ee/2-oe,me=z;return{[ue]:{[`${ue}-inner`]:{padding:0},[`${ue}-title`]:{margin:0,padding:`${re}px ${me}px ${ce}px`,borderBottom:`${oe}px ${ie} ${ne}`},[`${ue}-inner-content`]:{padding:`${a}px ${me}px`}}}};bt.Z=(0,ve.Z)("Popover",se=>{const{colorBgElevated:ue,colorText:oe,wireframe:ie}=se,ne=(0,ae.TS)(se,{popoverPadding:12,popoverBg:ue,popoverColor:oe});return[te(ne),le(ne),ie&&de(ne),(0,nt._y)(ne,"zoom-big")]},se=>({width:177,minWidth:177,zIndexPopup:se.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return pt}});var Be=Oe(59301),nt=Oe(29679),x=Oe(40001),Se=Oe(19248),ve=Oe(99267),ae=Oe(92310),te=Oe.n(ae),le=Oe(2738),de=Oe(36355),se=Oe(92413),ue=Oe(33708),oe=Oe(37061),ie={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ne=function(){var Qe=(0,Be.useRef)([]),dt=(0,Be.useRef)(null);return(0,Be.useEffect)(function(){var mt=Date.now(),Pt=!1;Qe.current.forEach(function(jt){if(jt){Pt=!0;var Dt=jt.style;Dt.transitionDuration=".3s, .3s, .3s, .06s",dt.current&&mt-dt.current<100&&(Dt.transitionDuration="0s, 0s")}}),Pt&&(dt.current=Date.now())}),Qe.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(Qe){var dt=(0,ue.Z)((0,ue.Z)({},ie),Qe),mt=dt.className,Pt=dt.percent,jt=dt.prefixCls,Dt=dt.strokeColor,$t=dt.strokeLinecap,qt=dt.strokeWidth,Vt=dt.style,Jt=dt.trailColor,en=dt.trailWidth,Pn=dt.transition,In=(0,oe.Z)(dt,a);delete In.gapPosition;var an=Array.isArray(Pt)?Pt:[Pt],Zn=Array.isArray(Dt)?Dt:[Dt],Fn=ne(),Ln=qt/2,Hn=100-qt/2,tr="M ".concat($t==="round"?Ln:0,",").concat(Ln,` L `).concat($t==="round"?Hn:100,",").concat(Ln),lr="0 0 100 ".concat(qt),Ut=0;return Be.createElement("svg",(0,se.Z)({className:te()("".concat(jt,"-line"),mt),viewBox:lr,preserveAspectRatio:"none",style:Vt},In),Be.createElement("path",{className:"".concat(jt,"-line-trail"),d:tr,strokeLinecap:$t,stroke:Jt,strokeWidth:en||qt,fillOpacity:"0"}),an.map(function(on,rn){var er=1;switch($t){case"round":er=1-qt/100;break;case"square":er=1-qt/2/100;break;default:er=1;break}var fn={strokeDasharray:"".concat(on*er,"px, 100px"),strokeDashoffset:"-".concat(Ut,"px"),transition:Pn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},zn=Zn[rn]||Zn[Zn.length-1];return Ut+=on,Be.createElement("path",{key:rn,className:"".concat(jt,"-line-path"),d:tr,strokeLinecap:$t,stroke:zn,strokeWidth:qt,fillOpacity:"0",ref:function(Tt){Fn[rn]=Tt},style:fn})}))},E=y,b=Oe(39559),z=Oe(33606),ee=Oe(47273),re=0,ce=(0,ee.Z)();function me(){var tt;return ce?(tt=re,re+=1):tt="TEST_OR_SSR",tt}var he=function(tt){var Qe=Be.useState(),dt=(0,z.Z)(Qe,2),mt=dt[0],Pt=dt[1];return Be.useEffect(function(){Pt("rc_progress_".concat(me()))},[]),tt||mt},fe=function(Qe){var dt=Qe.bg,mt=Qe.children;return Be.createElement("div",{style:{width:"100%",height:"100%",background:dt}},mt)};function pe(tt,Qe){return Object.keys(tt).map(function(dt){var mt=parseFloat(dt),Pt="".concat(Math.floor(mt*Qe),"%");return"".concat(tt[dt]," ").concat(Pt)})}var ge=Be.forwardRef(function(tt,Qe){var dt=tt.prefixCls,mt=tt.color,Pt=tt.gradientId,jt=tt.radius,Dt=tt.style,$t=tt.ptg,qt=tt.strokeLinecap,Vt=tt.strokeWidth,Jt=tt.size,en=tt.gapDegree,Pn=mt&&(0,b.Z)(mt)==="object",In=Pn?"#FFF":void 0,an=Jt/2,Zn=Be.createElement("circle",{className:"".concat(dt,"-circle-path"),r:jt,cx:an,cy:an,stroke:In,strokeLinecap:qt,strokeWidth:Vt,opacity:$t===0?0:1,style:Dt,ref:Qe});if(!Pn)return Zn;var Fn="".concat(Pt,"-conic"),Ln=en?"".concat(180+en/2,"deg"):"0deg",Hn=pe(mt,(360-en)/360),tr=pe(mt,1),lr="conic-gradient(from ".concat(Ln,", ").concat(Hn.join(", "),")"),Ut="linear-gradient(to ".concat(en?"bottom":"top",", ").concat(tr.join(", "),")");return Be.createElement(Be.Fragment,null,Be.createElement("mask",{id:Fn},Zn),Be.createElement("foreignObject",{x:0,y:0,width:Jt,height:Jt,mask:"url(#".concat(Fn,")")},Be.createElement(fe,{bg:Ut},Be.createElement(fe,{bg:lr}))))}),ye=ge,be=100,Ae=function(Qe,dt,mt,Pt,jt,Dt,$t,qt,Vt,Jt){var en=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Pn=mt/100*360*((360-Dt)/360),In=Dt===0?0:{bottom:0,top:180,left:90,right:-90}[$t],an=(100-Pt)/100*dt;Vt==="round"&&Pt!==100&&(an+=Jt/2,an>=dt&&(an=dt-.01));var Zn=be/2;return{stroke:typeof qt=="string"?qt:void 0,strokeDasharray:"".concat(dt,"px ").concat(Qe),strokeDashoffset:an+en,transform:"rotate(".concat(jt+Pn+In,"deg)"),transformOrigin:"".concat(Zn,"px ").concat(Zn,"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}},Pe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Le(tt){var Qe=tt!=null?tt:[];return Array.isArray(Qe)?Qe:[Qe]}var Ne=function(Qe){var dt=(0,ue.Z)((0,ue.Z)({},ie),Qe),mt=dt.id,Pt=dt.prefixCls,jt=dt.steps,Dt=dt.strokeWidth,$t=dt.trailWidth,qt=dt.gapDegree,Vt=qt===void 0?0:qt,Jt=dt.gapPosition,en=dt.trailColor,Pn=dt.strokeLinecap,In=dt.style,an=dt.className,Zn=dt.strokeColor,Fn=dt.percent,Ln=(0,oe.Z)(dt,Pe),Hn=be/2,tr=he(mt),lr="".concat(tr,"-gradient"),Ut=Hn-Dt/2,on=Math.PI*2*Ut,rn=Vt>0?90+Vt/2:-90,er=on*((360-Vt)/360),fn=(0,b.Z)(jt)==="object"?jt:{count:jt,space:2},zn=fn.count,Et=fn.space,Tt=Le(Fn),xt=Le(Zn),zt=xt.find(function(sr){return sr&&(0,b.Z)(sr)==="object"}),dn=zt&&(0,b.Z)(zt)==="object",ln=dn?"butt":Pn,ir=Ae(on,er,0,100,rn,Vt,Jt,en,ln,Dt),kn=ne(),wn=function(){var Ht=0;return Tt.map(function(Bn,$n){var Xn=xt[$n]||xt[xt.length-1],ur=Ae(on,er,Ht,Bn,rn,Vt,Jt,Xn,ln,Dt);return Ht+=Bn,Be.createElement(ye,{key:$n,color:Xn,ptg:Bn,radius:Ut,prefixCls:Pt,gradientId:lr,style:ur,strokeLinecap:ln,strokeWidth:Dt,gapDegree:Vt,ref:function(Nt){kn[$n]=Nt},size:be})}).reverse()},Yn=function(){var Ht=Math.round(zn*(Tt[0]/100)),Bn=100/zn,$n=0;return new Array(zn).fill(null).map(function(Xn,ur){var wt=ur<=Ht-1?xt[0]:en,Nt=wt&&(0,b.Z)(wt)==="object"?"url(#".concat(lr,")"):void 0,Mt=Ae(on,er,$n,Bn,rn,Vt,Jt,wt,"butt",Dt,Et);return $n+=(er-Mt.strokeDashoffset+Et)*100/er,Be.createElement("circle",{key:ur,className:"".concat(Pt,"-circle-path"),r:Ut,cx:Hn,cy:Hn,stroke:Nt,strokeWidth:Dt,opacity:1,style:Mt,ref:function(Xt){kn[ur]=Xt}})})};return Be.createElement("svg",(0,se.Z)({className:te()("".concat(Pt,"-circle"),an),viewBox:"0 0 ".concat(be," ").concat(be),style:In,id:mt,role:"presentation"},Ln),!zn&&Be.createElement("circle",{className:"".concat(Pt,"-circle-trail"),r:Ut,cx:Hn,cy:Hn,stroke:en,strokeLinecap:ln,strokeWidth:$t||Dt,style:ir}),zn?Yn():wn())},De=Ne,ze={Line:E,Circle:De},et=Oe(6848),Me=Oe(93398);function it(tt){return!tt||tt<0?0:tt>100?100:tt}function at(tt){let{success:Qe,successPercent:dt}=tt,mt=dt;return Qe&&"progress"in Qe&&(mt=Qe.progress),Qe&&"percent"in Qe&&(mt=Qe.percent),mt}const Je=tt=>{let{percent:Qe,success:dt,successPercent:mt}=tt;const Pt=it(at({success:dt,successPercent:mt}));return[Pt,it(it(Qe)-Pt)]},Ye=tt=>{let{success:Qe={},strokeColor:dt}=tt;const{strokeColor:mt}=Qe;return[mt||Me.presetPrimaryColors.green,dt||null]},Ge=(tt,Qe,dt)=>{var mt,Pt,jt,Dt;let $t=-1,qt=-1;if(Qe==="step"){const Vt=dt.steps,Jt=dt.strokeWidth;typeof tt=="string"||typeof tt=="undefined"?($t=tt==="small"?2:14,qt=Jt!=null?Jt:8):typeof tt=="number"?[$t,qt]=[tt,tt]:[$t=14,qt=8]=tt,$t*=Vt}else if(Qe==="line"){const Vt=dt==null?void 0:dt.strokeWidth;typeof tt=="string"||typeof tt=="undefined"?qt=Vt||(tt==="small"?6:8):typeof tt=="number"?[$t,qt]=[tt,tt]:[$t=-1,qt=8]=tt}else(Qe==="circle"||Qe==="dashboard")&&(typeof tt=="string"||typeof tt=="undefined"?[$t,qt]=tt==="small"?[60,60]:[120,120]:typeof tt=="number"?[$t,qt]=[tt,tt]:($t=(Pt=(mt=tt[0])!==null&&mt!==void 0?mt:tt[1])!==null&&Pt!==void 0?Pt:120,qt=(Dt=(jt=tt[0])!==null&&jt!==void 0?jt:tt[1])!==null&&Dt!==void 0?Dt:120));return[$t,qt]},_e=3,ke=tt=>_e/tt*100;var Ve=tt=>{const{prefixCls:Qe,trailColor:dt=null,strokeLinecap:mt="round",gapPosition:Pt,gapDegree:jt,width:Dt=120,type:$t,children:qt,success:Vt,size:Jt=Dt}=tt,[en,Pn]=Ge(Jt,"circle");let{strokeWidth:In}=tt;In===void 0&&(In=Math.max(ke(en),6));const an={width:en,height:Pn,fontSize:en*.15+6},Zn=Be.useMemo(()=>{if(jt||jt===0)return jt;if($t==="dashboard")return 75},[jt,$t]),Fn=Pt||$t==="dashboard"&&"bottom"||void 0,Ln=Object.prototype.toString.call(tt.strokeColor)==="[object Object]",Hn=Ye({success:Vt,strokeColor:tt.strokeColor}),tr=te()(`${Qe}-inner`,{[`${Qe}-circle-gradient`]:Ln}),lr=Be.createElement(De,{percent:Je(tt),strokeWidth:In,trailWidth:In,strokeColor:Hn,strokeLinecap:mt,trailColor:dt,prefixCls:Qe,gapDegree:Zn,gapPosition:Fn});return Be.createElement("div",{className:tr,style:an},en<=20?Be.createElement(et.Z,{title:qt},Be.createElement("span",null,lr)):Be.createElement(Be.Fragment,null,lr,qt))},ut=function(tt,Qe){var dt={};for(var mt in tt)Object.prototype.hasOwnProperty.call(tt,mt)&&Qe.indexOf(mt)<0&&(dt[mt]=tt[mt]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,mt=Object.getOwnPropertySymbols(tt);Pt{let Qe=[];return Object.keys(tt).forEach(dt=>{const mt=parseFloat(dt.replace(/%/g,""));isNaN(mt)||Qe.push({key:mt,value:tt[dt]})}),Qe=Qe.sort((dt,mt)=>dt.key-mt.key),Qe.map(dt=>{let{key:mt,value:Pt}=dt;return`${Pt} ${mt}%`}).join(", ")},Re=(tt,Qe)=>{const{from:dt=Me.presetPrimaryColors.blue,to:mt=Me.presetPrimaryColors.blue,direction:Pt=Qe==="rtl"?"to left":"to right"}=tt,jt=ut(tt,["from","to","direction"]);if(Object.keys(jt).length!==0){const Dt=We(jt);return{backgroundImage:`linear-gradient(${Pt}, ${Dt})`}}return{backgroundImage:`linear-gradient(${Pt}, ${dt}, ${mt})`}};var Ke=tt=>{const{prefixCls:Qe,direction:dt,percent:mt,size:Pt,strokeWidth:jt,strokeColor:Dt,strokeLinecap:$t="round",children:qt,trailColor:Vt=null,success:Jt}=tt,en=Dt&&typeof Dt!="string"?Re(Dt,dt):{backgroundColor:Dt},Pn=$t==="square"||$t==="butt"?0:void 0,In={backgroundColor:Vt||void 0,borderRadius:Pn},an=Pt!=null?Pt:[-1,jt||(Pt==="small"?6:8)],[Zn,Fn]=Ge(an,"line",{strokeWidth:jt}),Ln=Object.assign({width:`${it(mt)}%`,height:Fn,borderRadius:Pn},en),Hn=at(tt),tr={width:`${it(Hn)}%`,height:Fn,borderRadius:Pn,backgroundColor:Jt==null?void 0:Jt.strokeColor},lr={width:Zn<0?"100%":Zn,height:Fn};return Be.createElement(Be.Fragment,null,Be.createElement("div",{className:`${Qe}-outer`,style:lr},Be.createElement("div",{className:`${Qe}-inner`,style:In},Be.createElement("div",{className:`${Qe}-bg`,style:Ln}),Hn!==void 0?Be.createElement("div",{className:`${Qe}-success-bg`,style:tr}):null)),qt)},Ie=tt=>{const{size:Qe,steps:dt,percent:mt=0,strokeWidth:Pt=8,strokeColor:jt,trailColor:Dt=null,prefixCls:$t,children:qt}=tt,Vt=Math.round(dt*(mt/100)),Jt=Qe==="small"?2:14,en=Qe!=null?Qe:[Jt,Pt],[Pn,In]=Ge(en,"step",{steps:dt,strokeWidth:Pt}),an=Pn/dt,Zn=new Array(dt);for(let Fn=0;Fn{const Qe=tt?"100%":"-100%";return new Xe.Keyframes(`antProgress${tt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Qe}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Qe}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},we=tt=>{const{componentCls:Qe,iconCls:dt}=tt;return{[Qe]:Object.assign(Object.assign({},(0,Ze.Wf)(tt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:tt.fontSize,marginInlineEnd:tt.marginXS,marginBottom:tt.marginXS},[`${Qe}-outer`]:{display:"inline-block",width:"100%"},[`&${Qe}-show-info`]:{[`${Qe}-outer`]:{marginInlineEnd:`calc(-2em - ${tt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${tt.paddingXS}px)`}},[`${Qe}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:tt.remainingColor,borderRadius:tt.lineBorderRadius},[`${Qe}-inner:not(${Qe}-circle-gradient)`]:{[`${Qe}-circle-path`]:{stroke:tt.defaultColor}},[`${Qe}-success-bg, ${Qe}-bg`]:{position:"relative",backgroundColor:tt.defaultColor,borderRadius:tt.lineBorderRadius,transition:`all ${tt.motionDurationSlow} ${tt.motionEaseInOutCirc}`},[`${Qe}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:tt.colorSuccess},[`${Qe}-text`]:{display:"inline-block",width:"2em",marginInlineStart:tt.marginXS,color:tt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[dt]:{fontSize:tt.fontSize}},[`&${Qe}-status-active`]:{[`${Qe}-bg::before`]:{position:"absolute",inset:0,backgroundColor:tt.colorBgContainer,borderRadius:tt.lineBorderRadius,opacity:0,animationName:Ce(),animationDuration:tt.progressActiveMotionDuration,animationTimingFunction:tt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Qe}-rtl${Qe}-status-active`]:{[`${Qe}-bg::before`]:{animationName:Ce(!0)}},[`&${Qe}-status-exception`]:{[`${Qe}-bg`]:{backgroundColor:tt.colorError},[`${Qe}-text`]:{color:tt.colorError}},[`&${Qe}-status-exception ${Qe}-inner:not(${Qe}-circle-gradient)`]:{[`${Qe}-circle-path`]:{stroke:tt.colorError}},[`&${Qe}-status-success`]:{[`${Qe}-bg`]:{backgroundColor:tt.colorSuccess},[`${Qe}-text`]:{color:tt.colorSuccess}},[`&${Qe}-status-success ${Qe}-inner:not(${Qe}-circle-gradient)`]:{[`${Qe}-circle-path`]:{stroke:tt.colorSuccess}}})}},je=tt=>{const{componentCls:Qe,iconCls:dt}=tt;return{[Qe]:{[`${Qe}-circle-trail`]:{stroke:tt.remainingColor},[`&${Qe}-circle ${Qe}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Qe}-circle ${Qe}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:tt.circleTextColor,fontSize:tt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[dt]:{fontSize:`${tt.fontSize/tt.fontSizeSM}em`}},[`${Qe}-circle&-status-exception`]:{[`${Qe}-text`]:{color:tt.colorError}},[`${Qe}-circle&-status-success`]:{[`${Qe}-text`]:{color:tt.colorSuccess}}},[`${Qe}-inline-circle`]:{lineHeight:1,[`${Qe}-inner`]:{verticalAlign:"bottom"}}}},Ue=tt=>{const{componentCls:Qe}=tt;return{[Qe]:{[`${Qe}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:tt.progressStepMinWidth,marginInlineEnd:tt.progressStepMarginInlineEnd,backgroundColor:tt.remainingColor,transition:`all ${tt.motionDurationSlow}`,"&-active":{backgroundColor:tt.defaultColor}}}}}},ot=tt=>{const{componentCls:Qe,iconCls:dt}=tt;return{[Qe]:{[`${Qe}-small&-line, ${Qe}-small&-line ${Qe}-text ${dt}`]:{fontSize:tt.fontSizeSM}}}};var $e=(0,Fe.Z)("Progress",tt=>{const Qe=tt.marginXXS/2,dt=(0,xe.TS)(tt,{progressStepMarginInlineEnd:Qe,progressStepMinWidth:Qe,progressActiveMotionDuration:"2.4s"});return[we(dt),je(dt),Ue(dt),ot(dt)]},tt=>({circleTextColor:tt.colorText,defaultColor:tt.colorInfo,remainingColor:tt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),st=function(tt,Qe){var dt={};for(var mt in tt)Object.prototype.hasOwnProperty.call(tt,mt)&&Qe.indexOf(mt)<0&&(dt[mt]=tt[mt]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,mt=Object.getOwnPropertySymbols(tt);Pt{const{prefixCls:dt,className:mt,rootClassName:Pt,steps:jt,strokeColor:Dt,percent:$t=0,size:qt="default",showInfo:Vt=!0,type:Jt="line",status:en,format:Pn,style:In}=tt,an=st(tt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Zn=Be.useMemo(()=>{var Tt,xt;const zt=at(tt);return parseInt(zt!==void 0?(Tt=zt!=null?zt:0)===null||Tt===void 0?void 0:Tt.toString():(xt=$t!=null?$t:0)===null||xt===void 0?void 0:xt.toString(),10)},[$t,tt.success,tt.successPercent]),Fn=Be.useMemo(()=>!ft.includes(en)&&Zn>=100?"success":en||"normal",[en,Zn]),{getPrefixCls:Ln,direction:Hn,progress:tr}=Be.useContext(de.E_),lr=Ln("progress",dt),[Ut,on]=$e(lr),rn=Be.useMemo(()=>{if(!Vt)return null;const Tt=at(tt);let xt;const zt=Pn||(ln=>`${ln}%`),dn=Jt==="line";return Pn||Fn!=="exception"&&Fn!=="success"?xt=zt(it($t),it(Tt)):Fn==="exception"?xt=dn?Be.createElement(Se.Z,null):Be.createElement(ve.Z,null):Fn==="success"&&(xt=dn?Be.createElement(nt.Z,null):Be.createElement(x.Z,null)),Be.createElement("span",{className:`${lr}-text`,title:typeof xt=="string"?xt:void 0},xt)},[Vt,$t,Zn,Fn,Jt,lr,Pn]),er=Array.isArray(Dt)?Dt[0]:Dt,fn=typeof Dt=="string"||Array.isArray(Dt)?Dt:void 0;let zn;Jt==="line"?zn=jt?Be.createElement(Ie,Object.assign({},tt,{strokeColor:fn,prefixCls:lr,steps:jt}),rn):Be.createElement(Ke,Object.assign({},tt,{strokeColor:er,prefixCls:lr,direction:Hn}),rn):(Jt==="circle"||Jt==="dashboard")&&(zn=Be.createElement(Ve,Object.assign({},tt,{strokeColor:er,prefixCls:lr,progressStatus:Fn}),rn));const Et=te()(lr,`${lr}-status-${Fn}`,`${lr}-${Jt==="dashboard"&&"circle"||jt&&"steps"||Jt}`,{[`${lr}-inline-circle`]:Jt==="circle"&&Ge(qt,"circle")[0]<=20,[`${lr}-show-info`]:Vt,[`${lr}-${qt}`]:typeof qt=="string",[`${lr}-rtl`]:Hn==="rtl"},tr==null?void 0:tr.className,mt,Pt,on);return Ut(Be.createElement("div",Object.assign({ref:Qe,style:Object.assign(Object.assign({},tr==null?void 0:tr.style),In),className:Et,role:"progressbar","aria-valuenow":Zn},(0,le.Z)(an,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),zn))}),pt=lt},15969:function(Ct,bt,Oe){"use strict";Oe.d(bt,{N:function(){return Be}});const Be=nt=>({color:nt.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${nt.motionDurationSlow}`,"&:focus, &:hover":{color:nt.colorLinkHover},"&:active":{color:nt.colorLinkActive}})},1710:function(Ct,bt,Oe){"use strict";Oe.d(bt,{default:function(){return Ts}});var Be={},nt="rc-table-internal-hook",x=Oe(33606),Se=Oe(6089),ve=Oe(34280),ae=Oe(13697),te=Oe(59301),le=Oe(4676);function de(He){var qe=te.createContext(void 0),ct=function(ht){var vt=ht.value,Lt=ht.children,At=te.useRef(vt);At.current=vt;var Ot=te.useState(function(){return{getValue:function(){return At.current},listeners:new Set}}),It=(0,x.Z)(Ot,1),kt=It[0];return(0,ve.Z)(function(){(0,le.unstable_batchedUpdates)(function(){kt.listeners.forEach(function(Ft){Ft(vt)})})},[vt]),te.createElement(qe.Provider,{value:kt},Lt)};return{Context:qe,Provider:ct,defaultValue:He}}function se(He,qe){var ct=(0,Se.Z)(typeof qe=="function"?qe:function(Ft){if(qe===void 0)return Ft;if(!Array.isArray(qe))return Ft[qe];var Zt={};return qe.forEach(function(Kt){Zt[Kt]=Ft[Kt]}),Zt}),gt=te.useContext(He==null?void 0:He.Context),ht=gt||{},vt=ht.listeners,Lt=ht.getValue,At=te.useRef();At.current=ct(gt?Lt():He==null?void 0:He.defaultValue);var Ot=te.useState({}),It=(0,x.Z)(Ot,2),kt=It[1];return(0,ve.Z)(function(){if(!gt)return;function Ft(Zt){var Kt=ct(Zt);(0,ae.Z)(At.current,Kt,!0)||kt({})}return vt.add(Ft),function(){vt.delete(Ft)}},[gt]),At.current}var ue=Oe(92413),oe=Oe(8654);function ie(){var He=te.createContext(null);function qe(){return te.useContext(He)}function ct(ht,vt){var Lt=(0,oe.Yr)(ht),At=function(It,kt){var Ft=Lt?{ref:kt}:{},Zt=te.useRef(0),Kt=te.useRef(It),Wt=qe();return Wt!==null?te.createElement(ht,(0,ue.Z)({},It,Ft)):((!vt||vt(Kt.current,It))&&(Zt.current+=1),Kt.current=It,te.createElement(He.Provider,{value:Zt.current},te.createElement(ht,(0,ue.Z)({},It,Ft))))};return Lt?te.forwardRef(At):At}function gt(ht,vt){var Lt=(0,oe.Yr)(ht),At=function(It,kt){var Ft=Lt?{ref:kt}:{};return qe(),te.createElement(ht,(0,ue.Z)({},It,Ft))};return Lt?te.memo(te.forwardRef(At),vt):te.memo(At,vt)}return{makeImmutable:ct,responseImmutable:gt,useImmutableMark:qe}}var ne=ie(),a=ne.makeImmutable,y=ne.responseImmutable,E=ne.useImmutableMark,b=ie(),z=b.makeImmutable,ee=b.responseImmutable,re=b.useImmutableMark,ce=de(),me=ce;function he(He,qe){var ct=te.useRef(0);ct.current+=1;var gt=te.useRef(He),ht=[];Object.keys(He||{}).map(function(Lt){var At;(He==null?void 0:He[Lt])!==((At=gt.current)===null||At===void 0?void 0:At[Lt])&&ht.push(Lt)}),gt.current=He;var vt=te.useRef([]);return ht.length&&(vt.current=ht),te.useDebugValue(ct.current),te.useDebugValue(vt.current.join(", ")),qe&&console.log("".concat(qe,":"),ct.current,vt.current),ct.current}var fe=null,pe=te.memo(function(){var He=he();return te.createElement("h1",null,"Render Times: ",He)});pe.displayName="RenderBlock";var ge=Oe(39559),ye=Oe(33708),be=Oe(400),Ae=Oe(92310),Pe=Oe.n(Ae),Le=Oe(80547),Ne=Oe(97938),De=Oe(48736),ze=te.createContext({renderWithProps:!1}),et=ze,Me="RC_TABLE_KEY";function it(He){return He==null?[]:Array.isArray(He)?He:[He]}function at(He){var qe=[],ct={};return He.forEach(function(gt){for(var ht=gt||{},vt=ht.key,Lt=ht.dataIndex,At=vt||it(Lt).join("-")||Me;ct[At];)At="".concat(At,"_next");ct[At]=!0,qe.push(At)}),qe}function Je(He){return He!=null}function Ye(He){return He&&(0,ge.Z)(He)==="object"&&!Array.isArray(He)&&!te.isValidElement(He)}function Ge(He,qe,ct,gt,ht,vt){var Lt=te.useContext(et),At=re(),Ot=(0,Le.Z)(function(){if(Je(gt))return[gt];var It=qe==null||qe===""?[]:Array.isArray(qe)?qe:[qe],kt=(0,Ne.Z)(He,It),Ft=kt,Zt=void 0;if(ht){var Kt=ht(kt,He,ct);Ye(Kt)?(Ft=Kt.children,Zt=Kt.props,Lt.renderWithProps=!0):Ft=Kt}return[Ft,Zt]},[At,He,gt,qe,ht,ct],function(It,kt){if(vt){var Ft=(0,x.Z)(It,2),Zt=Ft[1],Kt=(0,x.Z)(kt,2),Wt=Kt[1];return vt(Wt,Zt)}return Lt.renderWithProps?!0:!(0,ae.Z)(It,kt,!0)});return Ot}function _e(He,qe,ct,gt){var ht=He+qe-1;return He<=gt&&ht>=ct}function ke(He,qe){return se(me,function(ct){var gt=_e(He,qe||1,ct.hoverStartRow,ct.hoverEndRow);return[gt,ct.onHover]})}var rt=function(qe){var ct=qe.ellipsis,gt=qe.rowType,ht=qe.children,vt,Lt=ct===!0?{showTitle:!0}:ct;return Lt&&(Lt.showTitle||gt==="header")&&(typeof ht=="string"||typeof ht=="number"?vt=ht.toString():te.isValidElement(ht)&&typeof ht.props.children=="string"&&(vt=ht.props.children)),vt};function Ve(He){var qe,ct,gt,ht,vt,Lt,At,Ot,It=He.component,kt=He.children,Ft=He.ellipsis,Zt=He.scope,Kt=He.prefixCls,Wt=He.className,un=He.align,tn=He.record,cn=He.render,nn=He.dataIndex,vn=He.renderIndex,Mn=He.shouldCellUpdate,_n=He.index,Tn=He.rowType,qn=He.colSpan,ar=He.rowSpan,Sn=He.fixLeft,jn=He.fixRight,bn=He.firstFixLeft,mn=He.lastFixLeft,Cn=He.firstFixRight,Jn=He.lastFixRight,mr=He.appendNode,rr=He.additionalProps,Un=rr===void 0?{}:rr,pr=He.isSticky,yr="".concat(Kt,"-cell"),Ur=se(me,["supportSticky","allColumnsFixedLeft"]),Or=Ur.supportSticky,ra=Ur.allColumnsFixedLeft,aa=Ge(tn,nn,vn,kt,cn,Mn),or=(0,x.Z)(aa,2),la=or[0],Ar=or[1],Jr={},Xr=typeof Sn=="number"&&Or,Da=typeof jn=="number"&⩔Xr&&(Jr.position="sticky",Jr.left=Sn),Da&&(Jr.position="sticky",Jr.right=jn);var Vn=(qe=(ct=(gt=Ar==null?void 0:Ar.colSpan)!==null&>!==void 0?gt:Un.colSpan)!==null&&ct!==void 0?ct:qn)!==null&&qe!==void 0?qe:1,Wn=(ht=(vt=(Lt=Ar==null?void 0:Ar.rowSpan)!==null&&Lt!==void 0?Lt:Un.rowSpan)!==null&&vt!==void 0?vt:ar)!==null&&ht!==void 0?ht:1,Kn=ke(_n,Wn),Nn=(0,x.Z)(Kn,2),Ir=Nn[0],Dn=Nn[1],nr=function(ca){var Ba;tn&&Dn(_n,_n+Wn-1),Un==null||(Ba=Un.onMouseEnter)===null||Ba===void 0||Ba.call(Un,ca)},Cr=function(ca){var Ba;tn&&Dn(-1,-1),Un==null||(Ba=Un.onMouseLeave)===null||Ba===void 0||Ba.call(Un,ca)};if(Vn===0||Wn===0)return null;var xr=(At=Un.title)!==null&&At!==void 0?At:rt({rowType:Tn,ellipsis:Ft,children:la}),Ta=Pe()(yr,Wt,(Ot={},(0,be.Z)(Ot,"".concat(yr,"-fix-left"),Xr&&Or),(0,be.Z)(Ot,"".concat(yr,"-fix-left-first"),bn&&Or),(0,be.Z)(Ot,"".concat(yr,"-fix-left-last"),mn&&Or),(0,be.Z)(Ot,"".concat(yr,"-fix-left-all"),mn&&ra&&Or),(0,be.Z)(Ot,"".concat(yr,"-fix-right"),Da&&Or),(0,be.Z)(Ot,"".concat(yr,"-fix-right-first"),Cn&&Or),(0,be.Z)(Ot,"".concat(yr,"-fix-right-last"),Jn&&Or),(0,be.Z)(Ot,"".concat(yr,"-ellipsis"),Ft),(0,be.Z)(Ot,"".concat(yr,"-with-append"),mr),(0,be.Z)(Ot,"".concat(yr,"-fix-sticky"),(Xr||Da)&&pr&&Or),(0,be.Z)(Ot,"".concat(yr,"-row-hover"),!Ar&&Ir),Ot),Un.className,Ar==null?void 0:Ar.className),Pa={};un&&(Pa.textAlign=un);var Qa=(0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)({},Jr),Un.style),Pa),Ar==null?void 0:Ar.style),ua=la;return(0,ge.Z)(ua)==="object"&&!Array.isArray(ua)&&!te.isValidElement(ua)&&(ua=null),Ft&&(mn||Cn)&&(ua=te.createElement("span",{className:"".concat(yr,"-content")},ua)),te.createElement(It,(0,ue.Z)({},Ar,Un,{className:Ta,style:Qa,title:xr,scope:Zt,onMouseEnter:nr,onMouseLeave:Cr,colSpan:Vn!==1?Vn:null,rowSpan:Wn!==1?Wn:null}),mr,ua)}var ut=te.memo(Ve);function We(He,qe,ct,gt,ht,vt){var Lt=ct[He]||{},At=ct[qe]||{},Ot,It;Lt.fixed==="left"?Ot=gt.left[ht==="rtl"?qe:He]:At.fixed==="right"&&(It=gt.right[ht==="rtl"?He:qe]);var kt=!1,Ft=!1,Zt=!1,Kt=!1,Wt=ct[qe+1],un=ct[He-1],tn=!(vt!=null&&vt.children);if(ht==="rtl"){if(Ot!==void 0){var cn=un&&un.fixed==="left";Kt=!cn&&tn}else if(It!==void 0){var nn=Wt&&Wt.fixed==="right";Zt=!nn&&tn}}else if(Ot!==void 0){var vn=Wt&&Wt.fixed==="left";kt=!vn&&tn}else if(It!==void 0){var Mn=un&&un.fixed==="right";Ft=!Mn&&tn}return{fixLeft:Ot,fixRight:It,lastFixLeft:kt,firstFixRight:Ft,lastFixRight:Zt,firstFixLeft:Kt,isSticky:gt.isSticky}}var Re=te.createContext({}),Te=Re;function Ke(He){var qe=He.className,ct=He.index,gt=He.children,ht=He.colSpan,vt=ht===void 0?1:ht,Lt=He.rowSpan,At=He.align,Ot=se(me,["prefixCls","direction"]),It=Ot.prefixCls,kt=Ot.direction,Ft=te.useContext(Te),Zt=Ft.scrollColumnIndex,Kt=Ft.stickyOffsets,Wt=Ft.flattenColumns,un=Ft.columns,tn=ct+vt-1,cn=tn+1===Zt?vt+1:vt,nn=We(ct,ct+cn-1,Wt,Kt,kt,un==null?void 0:un[ct]);return te.createElement(ut,(0,ue.Z)({className:qe,index:ct,component:"td",prefixCls:It,record:null,dataIndex:null,align:At,colSpan:cn,rowSpan:Lt,render:function(){return gt}},nn))}var Ee=Oe(37061),Ie=["children"];function Xe(He){var qe=He.children,ct=(0,Ee.Z)(He,Ie);return te.createElement("tr",ct,qe)}function Ze(He){var qe=He.children;return qe}Ze.Row=Xe,Ze.Cell=Ke;var Fe=Ze;function xe(He){var qe=He.children,ct=He.stickyOffsets,gt=He.flattenColumns,ht=He.columns,vt=se(me,"prefixCls"),Lt=gt.length-1,At=gt[Lt],Ot=te.useMemo(function(){return{stickyOffsets:ct,flattenColumns:gt,scrollColumnIndex:At!=null&&At.scrollbar?Lt:null,columns:ht}},[At,gt,Lt,ct,ht]);return te.createElement(Te.Provider,{value:Ot},te.createElement("tfoot",{className:"".concat(vt,"-summary")},qe))}var Ce=ee(xe),we=Fe,je=Oe(70425),Ue=Oe(29301),ot=Oe(29194),$e=Oe(24514),st=Oe(75152),St=Oe(26112);function ft(He,qe,ct,gt,ht,vt,Lt){He.push({record:qe,indent:ct,index:Lt});var At=vt(qe),Ot=ht==null?void 0:ht.has(At);if(qe&&Array.isArray(qe[gt])&&Ot)for(var It=0;It1?bn-1:0),Cn=1;Cn=0;At-=1){var Ot=qe[At],It=ct&&ct[At],kt=It&&It[Vt];if(Ot||kt||Lt){var Ft=kt||{},Zt=Ft.columnType,Kt=(0,Ee.Z)(Ft,en);ht.unshift(te.createElement("col",(0,ue.Z)({key:At,style:{width:Ot}},Kt))),Lt=!0}}return te.createElement("colgroup",null,ht)}var In=Pn,an=Oe(26407),Zn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Fn(He,qe){return(0,te.useMemo)(function(){for(var ct=[],gt=0;gt1?"colgroup":"col":null,ellipsis:tn.ellipsis,align:tn.align,component:tn.title?vt:Lt,prefixCls:kt,key:Kt[un]},cn,{additionalProps:nn,rowType:"header"}))}))}tr.displayName="HeaderRow";var lr=tr;function Ut(He){var qe=[];function ct(Lt,At){var Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;qe[Ot]=qe[Ot]||[];var It=At,kt=Lt.filter(Boolean).map(function(Ft){var Zt={key:Ft.key,className:Ft.className||"",children:Ft.title,column:Ft,colStart:It},Kt=1,Wt=Ft.children;return Wt&&Wt.length>0&&(Kt=ct(Wt,It,Ot+1).reduce(function(un,tn){return un+tn},0),Zt.hasSubColumns=!0),"colSpan"in Ft&&(Kt=Ft.colSpan),"rowSpan"in Ft&&(Zt.rowSpan=Ft.rowSpan),Zt.colSpan=Kt,Zt.colEnd=Zt.colStart+Kt-1,qe[Ot].push(Zt),It+=Kt,Kt});return kt}ct(He,0);for(var gt=qe.length,ht=function(At){qe[At].forEach(function(Ot){!("rowSpan"in Ot)&&!Ot.hasSubColumns&&(Ot.rowSpan=gt-At)})},vt=0;vt1&&arguments[1]!==void 0?arguments[1]:"";return typeof qe=="number"?qe:qe.endsWith("%")?He*parseFloat(qe)/100:null}function zn(He,qe){return te.useMemo(function(){if(qe&&qe>0){var ct=0,gt=0;He.forEach(function(It){var kt=fn(qe,It.width);kt?ct+=kt:gt+=1});var ht=qe-ct,vt=gt,Lt=ht/gt,At=0,Ot=He.map(function(It){var kt=(0,ye.Z)({},It),Ft=fn(qe,kt.width);if(Ft)kt.width=Ft;else{var Zt=Math.floor(Lt);kt.width=vt===1?ht:Zt,ht-=Zt,vt-=1}return At+=kt.width,kt});return[Ot,At]}return[He,qe]},[He,qe])}var Et=["children"],Tt=["fixed"];function xt(He){return(0,er.Z)(He).filter(function(qe){return te.isValidElement(qe)}).map(function(qe){var ct=qe.key,gt=qe.props,ht=gt.children,vt=(0,Ee.Z)(gt,Et),Lt=(0,ye.Z)({key:ct},vt);return ht&&(Lt.children=xt(ht)),Lt})}function zt(He){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return He.filter(function(ct){return ct&&(0,ge.Z)(ct)==="object"}).reduce(function(ct,gt,ht){var vt=gt.fixed,Lt=vt===!0?"left":vt,At="".concat(qe,"-").concat(ht),Ot=gt.children;return Ot&&Ot.length>0?[].concat((0,an.Z)(ct),(0,an.Z)(zt(Ot,At).map(function(It){return(0,ye.Z)({fixed:Lt},It)}))):[].concat((0,an.Z)(ct),[(0,ye.Z)((0,ye.Z)({key:At},gt),{},{fixed:Lt})])},[])}function dn(He){for(var qe=!0,ct=0;ct=0;vt-=1){var Lt=He[vt];if(ht&&Lt.fixed!=="right")ht=!1;else if(!ht&&Lt.fixed==="right"){warning(!1,"Index ".concat(vt+1," of `columns` missing `fixed='right'` prop."));break}}}function ln(He){return He.map(function(qe){var ct=qe.fixed,gt=(0,Ee.Z)(qe,Tt),ht=ct;return ct==="left"?ht="right":ct==="right"&&(ht="left"),(0,ye.Z)({fixed:ht},gt)})}function ir(He,qe){var ct=He.prefixCls,gt=He.columns,ht=He.children,vt=He.expandable,Lt=He.expandedKeys,At=He.columnTitle,Ot=He.getRowKey,It=He.onTriggerExpand,kt=He.expandIcon,Ft=He.rowExpandable,Zt=He.expandIconColumnIndex,Kt=He.direction,Wt=He.expandRowByClick,un=He.columnWidth,tn=He.fixed,cn=He.scrollWidth,nn=te.useMemo(function(){return gt||xt(ht)},[gt,ht]),vn=te.useMemo(function(){if(vt){var jn,bn=nn.slice();if(!bn.includes(Be)){var mn=Zt||0;mn>=0&&bn.splice(mn,0,Be)}var Cn=bn.indexOf(Be);bn=bn.filter(function(Un,pr){return Un!==Be||pr===Cn});var Jn=nn[Cn],mr;(tn==="left"||tn)&&!Zt?mr="left":(tn==="right"||tn)&&Zt===nn.length?mr="right":mr=Jn?Jn.fixed:null;var rr=(jn={},(0,be.Z)(jn,Vt,{className:"".concat(ct,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,be.Z)(jn,"title",At),(0,be.Z)(jn,"fixed",mr),(0,be.Z)(jn,"className","".concat(ct,"-row-expand-icon-cell")),(0,be.Z)(jn,"width",un),(0,be.Z)(jn,"render",function(pr,yr,Ur){var Or=Ot(yr,Ur),ra=Lt.has(Or),aa=Ft?Ft(yr):!0,or=kt({prefixCls:ct,expanded:ra,expandable:aa,record:yr,onExpand:It});return Wt?te.createElement("span",{onClick:function(Ar){return Ar.stopPropagation()}},or):or}),jn);return bn.map(function(Un){return Un===Be?rr:Un})}return nn.filter(function(Un){return Un!==Be})},[vt,nn,Ot,Lt,kt,Kt]),Mn=te.useMemo(function(){var jn=vn;return qe&&(jn=qe(jn)),jn.length||(jn=[{render:function(){return null}}]),jn},[qe,vn,Kt]),_n=te.useMemo(function(){return Kt==="rtl"?ln(zt(Mn)):zt(Mn)},[Mn,Kt,cn]),Tn=zn(_n,cn),qn=(0,x.Z)(Tn,2),ar=qn[0],Sn=qn[1];return[Mn,ar,Sn]}var kn=ir;function wn(He){var qe,ct=He.prefixCls,gt=He.record,ht=He.onExpand,vt=He.expanded,Lt=He.expandable,At="".concat(ct,"-row-expand-icon");if(!Lt)return te.createElement("span",{className:Pe()(At,"".concat(ct,"-row-spaced"))});var Ot=function(kt){ht(gt,kt),kt.stopPropagation()};return te.createElement("span",{className:Pe()(At,(qe={},(0,be.Z)(qe,"".concat(ct,"-row-expanded"),vt),(0,be.Z)(qe,"".concat(ct,"-row-collapsed"),!vt),qe)),onClick:Ot})}function Yn(He,qe,ct){var gt=[];function ht(vt){(vt||[]).forEach(function(Lt,At){gt.push(qe(Lt,At)),ht(Lt[ct])})}return ht(He),gt}function sr(He,qe,ct){var gt=Jt(He),ht=gt.expandIcon,vt=gt.expandedRowKeys,Lt=gt.defaultExpandedRowKeys,At=gt.defaultExpandAllRows,Ot=gt.expandedRowRender,It=gt.onExpand,kt=gt.onExpandedRowsChange,Ft=gt.childrenColumnName,Zt=ht||wn,Kt=Ft||"children",Wt=te.useMemo(function(){return Ot?"row":He.expandable&&He.internalHooks===nt&&He.expandable.__PARENT_RENDER_ICON__||qe.some(function(_n){return _n&&(0,ge.Z)(_n)==="object"&&_n[Kt]})?"nest":!1},[!!Ot,qe]),un=te.useState(function(){return Lt||(At?Yn(qe,ct,Kt):[])}),tn=(0,x.Z)(un,2),cn=tn[0],nn=tn[1],vn=te.useMemo(function(){return new Set(vt||cn||[])},[vt,cn]),Mn=te.useCallback(function(_n){var Tn=ct(_n,qe.indexOf(_n)),qn,ar=vn.has(Tn);ar?(vn.delete(Tn),qn=(0,an.Z)(vn)):qn=[].concat((0,an.Z)(vn),[Tn]),nn(qn),It&&It(!ar,_n),kt&&kt(qn)},[ct,vn,qe,It,kt]);return[gt,Wt,vn,Zt,Kt,Mn]}function Ht(He,qe,ct,gt){var ht=He.map(function(vt,Lt){return We(Lt,Lt,He,qe,ct,gt==null?void 0:gt[Lt])});return(0,Le.Z)(function(){return ht},[ht],function(vt,Lt){return!(0,ae.Z)(vt,Lt)})}function Bn(He){var qe=(0,te.useRef)(He),ct=(0,te.useState)({}),gt=(0,x.Z)(ct,2),ht=gt[1],vt=(0,te.useRef)(null),Lt=(0,te.useRef)([]);function At(Ot){Lt.current.push(Ot);var It=Promise.resolve();vt.current=It,It.then(function(){if(vt.current===It){var kt=Lt.current,Ft=qe.current;Lt.current=[],kt.forEach(function(Zt){qe.current=Zt(qe.current)}),vt.current=null,Ft!==qe.current&&ht({})}})}return(0,te.useEffect)(function(){return function(){vt.current=null}},[]),[qe.current,At]}function $n(He){var qe=(0,te.useRef)(He||null),ct=(0,te.useRef)();function gt(){window.clearTimeout(ct.current)}function ht(Lt){qe.current=Lt,gt(),ct.current=window.setTimeout(function(){qe.current=null,ct.current=void 0},100)}function vt(){return qe.current}return(0,te.useEffect)(function(){return gt},[]),[ht,vt]}function Xn(){var He=te.useState(-1),qe=(0,x.Z)(He,2),ct=qe[0],gt=qe[1],ht=te.useState(-1),vt=(0,x.Z)(ht,2),Lt=vt[0],At=vt[1],Ot=te.useCallback(function(It,kt){gt(It),At(kt)},[]);return[ct,Lt,Ot]}var ur=Oe(47273),wt=(0,ur.Z)()?window:null;function Nt(He,qe){var ct=(0,ge.Z)(He)==="object"?He:{},gt=ct.offsetHeader,ht=gt===void 0?0:gt,vt=ct.offsetSummary,Lt=vt===void 0?0:vt,At=ct.offsetScroll,Ot=At===void 0?0:At,It=ct.getContainer,kt=It===void 0?function(){return wt}:It,Ft=kt()||wt;return te.useMemo(function(){var Zt=!!He;return{isSticky:Zt,stickyClassName:Zt?"".concat(qe,"-sticky-holder"):"",offsetHeader:ht,offsetSummary:Lt,offsetScroll:Ot,container:Ft}},[Ot,ht,Lt,qe,Ft])}function Mt(He,qe,ct){var gt=(0,te.useMemo)(function(){for(var ht=[],vt=[],Lt=0,At=0,Ot=0;Ot=Ft&&(Un=Ft-Zt),Lt({scrollLeft:Un/Ft*(kt+2)}),nn.current.x=Cn.pageX},jn=function(){if(vt.current){var Cn=(0,Rt.os)(vt.current).top,Jn=Cn+vt.current.offsetHeight,mr=Ot===window?document.documentElement.scrollTop+window.innerHeight:(0,Rt.os)(Ot).top+Ot.clientHeight;Jn-(0,st.Z)()<=mr||Cn>=mr-At?cn(function(rr){return(0,ye.Z)((0,ye.Z)({},rr),{},{isHiddenScrollBar:!0})}):cn(function(rr){return(0,ye.Z)((0,ye.Z)({},rr),{},{isHiddenScrollBar:!1})})}},bn=function(Cn){cn(function(Jn){return(0,ye.Z)((0,ye.Z)({},Jn),{},{scrollLeft:Cn/kt*Ft||0})})};return te.useImperativeHandle(ct,function(){return{setScrollLeft:bn}}),te.useEffect(function(){var mn=(0,Gt.Z)(document.body,"mouseup",qn,!1),Cn=(0,Gt.Z)(document.body,"mousemove",Sn,!1);return jn(),function(){mn.remove(),Cn.remove()}},[Zt,_n]),te.useEffect(function(){var mn=(0,Gt.Z)(Ot,"scroll",jn,!1),Cn=(0,Gt.Z)(window,"resize",jn,!1);return function(){mn.remove(),Cn.remove()}},[Ot]),te.useEffect(function(){tn.isHiddenScrollBar||cn(function(mn){var Cn=vt.current;return Cn?(0,ye.Z)((0,ye.Z)({},mn),{},{scrollLeft:Cn.scrollLeft/Cn.scrollWidth*Cn.clientWidth}):mn})},[tn.isHiddenScrollBar]),kt<=Ft||!Zt||tn.isHiddenScrollBar?null:te.createElement("div",{style:{height:(0,st.Z)(),width:Ft,bottom:At},className:"".concat(It,"-sticky-scroll")},te.createElement("div",{onMouseDown:ar,ref:Kt,className:Pe()("".concat(It,"-sticky-scroll-bar"),(0,be.Z)({},"".concat(It,"-sticky-scroll-bar-active"),_n)),style:{width:"".concat(Zt,"px"),transform:"translate3d(".concat(tn.scrollLeft,"px, 0, 0)")}}))},En=te.forwardRef(pn);function Bt(He){return null}var hr=Bt;function Pr(He){return null}var Rr=Pr,Kr="rc-table",Qt=[],sn={};function Gn(){return"No Data"}function yn(He){var qe,ct=(0,ye.Z)({rowKey:"key",prefixCls:Kr,emptyText:Gn},He),gt=ct.prefixCls,ht=ct.className,vt=ct.rowClassName,Lt=ct.style,At=ct.data,Ot=ct.rowKey,It=ct.scroll,kt=ct.tableLayout,Ft=ct.direction,Zt=ct.title,Kt=ct.footer,Wt=ct.summary,un=ct.caption,tn=ct.id,cn=ct.showHeader,nn=ct.components,vn=ct.emptyText,Mn=ct.onRow,_n=ct.onHeaderRow,Tn=ct.internalHooks,qn=ct.transformColumns,ar=ct.internalRefs,Sn=ct.tailor,jn=ct.sticky,bn=At||Qt,mn=!!bn.length,Cn=Tn===nt,Jn=te.useCallback(function(kr,Qr){return(0,Ne.Z)(nn,kr)||Qr},[nn]),mr=te.useMemo(function(){return typeof Ot=="function"?Ot:function(kr){var Qr=kr&&kr[Ot];return Qr}},[Ot]),rr=Jn(["body"]),Un=Xn(),pr=(0,x.Z)(Un,3),yr=pr[0],Ur=pr[1],Or=pr[2],ra=sr(ct,bn,mr),aa=(0,x.Z)(ra,6),or=aa[0],la=aa[1],Ar=aa[2],Jr=aa[3],Xr=aa[4],Da=aa[5],Vn=It==null?void 0:It.x,Wn=te.useState(0),Kn=(0,x.Z)(Wn,2),Nn=Kn[0],Ir=Kn[1],Dn=kn((0,ye.Z)((0,ye.Z)((0,ye.Z)({},ct),or),{},{expandable:!!or.expandedRowRender,columnTitle:or.columnTitle,expandedKeys:Ar,getRowKey:mr,onTriggerExpand:Da,expandIcon:Jr,expandIconColumnIndex:or.expandIconColumnIndex,direction:Ft,scrollWidth:Cn&&Sn&&typeof Vn=="number"?Vn:null}),Cn?qn:null),nr=(0,x.Z)(Dn,3),Cr=nr[0],xr=nr[1],Ta=nr[2],Pa=Ta!=null?Ta:Vn,Qa=te.useMemo(function(){return{columns:Cr,flattenColumns:xr}},[Cr,xr]),ua=te.useRef(),Za=te.useRef(),ca=te.useRef(),Ba=te.useRef(),mo=te.useRef(),Br=te.useState(!1),_r=(0,x.Z)(Br,2),qr=_r[0],fa=_r[1],ga=te.useState(!1),Sr=(0,x.Z)(ga,2),Ia=Sr[0],Oa=Sr[1],Ga=Bn(new Map),eo=(0,x.Z)(Ga,2),qa=eo[0],wo=eo[1],oo=at(xr),Ha=oo.map(function(kr){return qa.get(kr)}),Ra=te.useMemo(function(){return Ha},[Ha.join("_")]),Fa=_t(Ra,xr.length,Ft),ma=It&&Je(It.y),ea=It&&Je(Pa)||!!or.fixed,to=ea&&xr.some(function(kr){var Qr=kr.fixed;return Qr}),po=te.useRef(),uo=Nt(jn,gt),no=uo.isSticky,Lo=uo.offsetHeader,Go=uo.offsetSummary,Tr=uo.offsetScroll,Zr=uo.stickyClassName,xa=uo.container,ta=te.useMemo(function(){return Wt==null?void 0:Wt(bn)},[Wt,bn]),ja=(ma||no)&&te.isValidElement(ta)&&ta.type===Fe&&ta.props.fixed,Ma,_a,io;ma&&(_a={overflowY:"scroll",maxHeight:It.y}),ea&&(Ma={overflowX:"auto"},ma||(_a={overflowY:"hidden"}),io={width:Pa===!0?"auto":Pa,minWidth:"100%"});var gi=te.useCallback(function(kr,Qr){(0,ot.Z)(ua.current)&&wo(function(Xa){if(Xa.get(kr)!==Qr){var co=new Map(Xa);return co.set(kr,Qr),co}return Xa})},[]),Os=$n(null),mi=(0,x.Z)(Os,2),js=mi[0],pi=mi[1];function Ao(kr,Qr){Qr&&(typeof Qr=="function"?Qr(kr):Qr.scrollLeft!==kr&&(Qr.scrollLeft=kr,Qr.scrollLeft!==kr&&setTimeout(function(){Qr.scrollLeft=kr},0)))}var vo=(0,Se.Z)(function(kr){var Qr=kr.currentTarget,Xa=kr.scrollLeft,co=Ft==="rtl",fo=typeof Xa=="number"?Xa:Qr.scrollLeft,Ai=Qr||sn;if(!pi()||pi()===Ai){var Zo;js(Ai),Ao(fo,Za.current),Ao(fo,ca.current),Ao(fo,mo.current),Ao(fo,(Zo=po.current)===null||Zo===void 0?void 0:Zo.setScrollLeft)}var Ho=Qr||Za.current;if(Ho){var Xo=Ho.scrollWidth,Vo=Ho.clientWidth;if(Xo===Vo){fa(!1),Oa(!1);return}co?(fa(-fo0)):(fa(fo>0),Oa(fo1?un-Cn:0,mr=(0,ye.Z)((0,ye.Z)((0,ye.Z)({},qn),Ot),{},{flex:"0 0 ".concat(Cn,"px"),width:"".concat(Cn,"px"),marginRight:Jn,pointerEvents:"auto"}),rr=te.useMemo(function(){return kt?bn<=1:Sn===0||bn===0||bn>1},[bn,Sn,kt]);rr?mr.visibility="hidden":kt&&(mr.height=Ft==null?void 0:Ft(bn));var Un=rr?function(){return null}:Zt,pr={};return(bn===0||Sn===0)&&(pr.rowSpan=1,pr.colSpan=1),te.createElement(ut,(0,ue.Z)({className:Pe()(Wt,It),ellipsis:ct.ellipsis,align:ct.align,scope:ct.rowScope,component:"div",prefixCls:qe.prefixCls,key:vn,record:At,index:vt,renderIndex:Lt,dataIndex:Kt,render:Un,shouldCellUpdate:ct.shouldCellUpdate},Mn,{appendNode:_n,additionalProps:(0,ye.Z)((0,ye.Z)({},Tn),{},{style:mr},pr)}))}var za=va,Ua=["data","index","className","rowKey","style","extra","getHeight"],Ka=te.forwardRef(function(He,qe){var ct=He.data,gt=He.index,ht=He.className,vt=He.rowKey,Lt=He.style,At=He.extra,Ot=He.getHeight,It=(0,Ee.Z)(He,Ua),kt=ct.record,Ft=ct.indent,Zt=ct.index,Kt=se(me,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Wt=Kt.scrollX,un=Kt.flattenColumns,tn=Kt.prefixCls,cn=Kt.fixColumn,nn=Kt.componentWidth,vn=tt(kt,vt,gt,Ft),Mn=vn.rowSupportExpand,_n=vn.expanded,Tn=vn.rowProps,qn=vn.expandedRowRender,ar=vn.expandedRowClassName,Sn;if(Mn&&_n){var jn=qn(kt,gt,Ft+1,_n),bn=ar==null?void 0:ar(kt,gt,Ft),mn={};cn&&(mn={style:(0,be.Z)({},"--virtual-width","".concat(nn,"px"))});var Cn="".concat(tn,"-expanded-row-cell");Sn=te.createElement("div",{className:Pe()("".concat(tn,"-expanded-row"),"".concat(tn,"-expanded-row-level-").concat(Ft+1),bn)},te.createElement(ut,{component:"div",prefixCls:tn,className:Pe()(Cn,(0,be.Z)({},"".concat(Cn,"-fixed"),cn)),additionalProps:mn},jn))}var Jn=(0,ye.Z)((0,ye.Z)({},Lt),{},{width:Wt});At&&(Jn.position="absolute",Jn.pointerEvents="none");var mr=te.createElement("div",(0,ue.Z)({},Tn,It,{ref:Mn?null:qe,className:Pe()(ht,"".concat(tn,"-row"),Tn==null?void 0:Tn.className,(0,be.Z)({},"".concat(tn,"-row-extra"),At)),style:(0,ye.Z)((0,ye.Z)({},Jn),Tn==null?void 0:Tn.style)}),un.map(function(rr,Un){return te.createElement(za,{key:Un,rowInfo:vn,column:rr,colIndex:Un,indent:Ft,index:gt,renderIndex:Zt,record:kt,inverse:At,getHeight:Ot})}));return Mn?te.createElement("div",{ref:qe},mr,Sn):mr}),ka=ee(Ka),pa=ka,Vr=te.forwardRef(function(He,qe){var ct=He.data,gt=He.onScroll,ht=se(me,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),vt=ht.flattenColumns,Lt=ht.onColumnResize,At=ht.getRowKey,Ot=ht.expandedKeys,It=ht.prefixCls,kt=ht.childrenColumnName,Ft=ht.emptyNode,Zt=ht.scrollX,Kt=se(jr),Wt=Kt.scrollY,un=Kt.listItemHeight,tn=te.useRef(),cn=yt(ct,kt,Ot,At),nn=te.useMemo(function(){var Sn=0;return vt.map(function(jn){var bn=jn.width,mn=jn.key;return Sn+=bn,[mn,bn,Sn]})},[vt]),vn=te.useMemo(function(){return nn.map(function(Sn){return Sn[2]})},[nn]);te.useEffect(function(){nn.forEach(function(Sn){var jn=(0,x.Z)(Sn,2),bn=jn[0],mn=jn[1];Lt(bn,mn)})},[nn]),te.useImperativeHandle(qe,function(){var Sn={};return Object.defineProperty(Sn,"scrollLeft",{get:function(){var bn;return((bn=tn.current)===null||bn===void 0?void 0:bn.getScrollInfo().x)||0},set:function(bn){var mn;(mn=tn.current)===null||mn===void 0||mn.scrollTo({left:bn})}}),Sn});var Mn=function(jn,bn){var mn,Cn=(mn=cn[bn])===null||mn===void 0?void 0:mn.record,Jn=jn.onCell;if(Jn){var mr,rr=Jn(Cn,bn);return(mr=rr==null?void 0:rr.rowSpan)!==null&&mr!==void 0?mr:1}return 1},_n=function(jn){var bn=jn.start,mn=jn.end,Cn=jn.getSize,Jn=jn.offsetY;if(mn<0)return null;for(var mr=vt.filter(function(Vn){return Mn(Vn,bn)===0}),rr=bn,Un=function(Wn){if(mr=mr.filter(function(Kn){return Mn(Kn,Wn)===0}),!mr.length)return rr=Wn,"break"},pr=bn;pr>=0;pr-=1){var yr=Un(pr);if(yr==="break")break}for(var Ur=vt.filter(function(Vn){return Mn(Vn,mn)!==1}),Or=mn,ra=function(Wn){if(Ur=Ur.filter(function(Kn){return Mn(Kn,Wn)!==1}),!Ur.length)return Or=Math.max(Wn-1,mn),"break"},aa=mn;aa1})&&la.push(Wn)},Jr=rr;Jr<=Or;Jr+=1)var Xr=Ar(Jr);var Da=la.map(function(Vn){var Wn=cn[Vn],Kn=At(Wn.record,Vn),Nn=function(nr){var Cr=Vn+nr-1,xr=At(cn[Cr].record,Cr),Ta=Cn(Kn,xr);return Ta.bottom-Ta.top},Ir=Cn(Kn);return te.createElement(pa,{key:Vn,data:Wn,rowKey:Kn,index:Vn,style:{top:-Jn+Ir.top},extra:!0,getHeight:Nn})});return Da},Tn=te.useMemo(function(){return{columnsOffset:vn}},[vn]),qn="".concat(It,"-tbody"),ar;return cn.length?ar=te.createElement(Fr.Z,{fullHeight:!1,ref:tn,className:Pe()(qn,"".concat(qn,"-virtual")),height:Wt,itemHeight:un||24,data:cn,itemKey:function(jn){return At(jn.record)},scrollWidth:Zt,onVirtualScroll:function(jn){var bn=jn.x;gt({scrollLeft:bn})},extraRender:_n},function(Sn,jn,bn){var mn=At(Sn.record,jn);return te.createElement(pa,(0,ue.Z)({data:Sn,rowKey:mn,index:jn},bn))}):ar=te.createElement("div",{className:Pe()("".concat(It,"-placeholder"))},te.createElement(ut,{component:"div",prefixCls:It},Ft)),te.createElement(Ea.Provider,{value:Tn},ar)}),wa=ee(Vr),La=wa,Na=function(qe,ct){var gt=ct.ref,ht=ct.onScroll;return te.createElement(La,{ref:gt,data:qe,onScroll:ht})},Ca=100;function ya(He){var qe=He.columns,ct=He.scroll,gt=He.prefixCls,ht=gt===void 0?Kr:gt,vt=He.className,Lt=He.listItemHeight,At=ct||{},Ot=At.x,It=At.y;typeof Ot!="number"&&(Ot=((qe||[]).length+1)*Ca),typeof It!="number"&&(It=500);var kt=te.useMemo(function(){return{scrollY:It,listItemHeight:Lt}},[It,Lt]);return te.createElement(jr.Provider,{value:kt},te.createElement(Qn,(0,ue.Z)({},He,{className:Pe()(vt,"".concat(ht,"-virtual")),scroll:(0,ye.Z)((0,ye.Z)({},ct),{},{x:Ot}),components:{body:Na},columns:qe,internalHooks:nt,tailor:!0})))}function On(He){return z(ya,He)}var gn=On(),vr=null;function fr(He){return null}var wr=fr;function $r(He){return null}var ia=$r,$a=Oe(2738),Sa=Oe(68031),Er=Oe(36355),Gr=Oe(93891),Nr=Oe(19716),Va=Oe(8628),ro=Oe(31724),so=Oe(58421),Rn=Oe(71418),hn=Oe(88088);function xn(He){return function(ct){let{prefixCls:gt,onExpand:ht,record:vt,expanded:Lt,expandable:At}=ct;const Ot=`${gt}-row-expand-icon`;return te.createElement("button",{type:"button",onClick:It=>{ht(vt,It),It.stopPropagation()},className:Pe()(Ot,{[`${Ot}-spaced`]:!At,[`${Ot}-expanded`]:At&&Lt,[`${Ot}-collapsed`]:At&&!Lt}),"aria-label":Lt?He.collapse:He.expand,"aria-expanded":Lt})}}var An=xn;function br(He,qe){return"key"in He&&He.key!==void 0&&He.key!==null?He.key:He.dataIndex?Array.isArray(He.dataIndex)?He.dataIndex.join("."):He.dataIndex:qe}function zr(He,qe){return qe?`${qe}-${He}`:`${He}`}function na(He,qe){return typeof He=="function"?He(qe):He}function Yr(He,qe){const ct=na(He,qe);return Object.prototype.toString.call(ct)==="[object Object]"?"":ct}var da={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},oa=da,Aa=Oe(7657),ba=function(qe,ct){return te.createElement(Aa.Z,(0,ue.Z)({},qe,{ref:ct,icon:oa}))},gr=te.forwardRef(ba),Dr=gr,Hr=Oe(56762);function Lr(He){const qe=te.useRef(He),ct=(0,Hr.Z)();return[()=>qe.current,gt=>{qe.current=gt,ct()}]}var Mr=Oe(3113),sa=Oe(24905),Wr=Oe(38854),Ya=Oe(64165),Ja=Oe(20834),yo=Oe(40875),xo=Oe(5112),So=Oe(17574),Wa=Oe(47472),Eo=Oe(92832);function Co(He){let{value:qe,onChange:ct,filterSearch:gt,tablePrefixCls:ht,locale:vt}=He;return gt?te.createElement("div",{className:`${ht}-filter-dropdown-search`},te.createElement(Eo.default,{prefix:te.createElement(Wa.Z,null),placeholder:vt.filterSearchPlaceholder,onChange:ct,value:qe,htmlSize:1,className:`${ht}-filter-dropdown-search-input`})):null}var bo=Co,Yo=Oe(10228);const Ii=He=>{const{keyCode:qe}=He;qe===Yo.Z.ENTER&&He.stopPropagation()};var Fi=te.forwardRef((He,qe)=>te.createElement("div",{className:He.className,onClick:ct=>ct.stopPropagation(),onKeyDown:Ii,ref:qe},He.children));function ho(He){let qe=[];return(He||[]).forEach(ct=>{let{value:gt,children:ht}=ct;qe.push(gt),ht&&(qe=[].concat((0,an.Z)(qe),(0,an.Z)(ho(ht))))}),qe}function Ni(He){return He.some(qe=>{let{children:ct}=qe;return ct})}function Jo(He,qe){return typeof qe=="string"||typeof qe=="number"?qe==null?void 0:qe.toString().toLowerCase().includes(He.trim().toLowerCase()):!1}function Qo(He){let{filters:qe,prefixCls:ct,filteredKeys:gt,filterMultiple:ht,searchValue:vt,filterSearch:Lt}=He;return qe.map((At,Ot)=>{const It=String(At.value);if(At.children)return{key:It||Ot,label:At.text,popupClassName:`${ct}-dropdown-submenu`,children:Qo({filters:At.children,prefixCls:ct,filteredKeys:gt,filterMultiple:ht,searchValue:vt,filterSearch:Lt})};const kt=ht?sa.default:xo.ZP,Ft={key:At.value!==void 0?It:Ot,label:te.createElement(te.Fragment,null,te.createElement(kt,{checked:gt.includes(It)}),te.createElement("span",null,At.text))};return vt.trim()?typeof Lt=="function"?Lt(vt,At)?Ft:null:Jo(vt,At.text)?Ft:null:Ft})}function Di(He){var qe,ct;const{tablePrefixCls:gt,prefixCls:ht,column:vt,dropdownPrefixCls:Lt,columnKey:At,filterMultiple:Ot,filterMode:It="menu",filterSearch:kt=!1,filterState:Ft,triggerFilter:Zt,locale:Kt,children:Wt,getPopupContainer:un}=He,{filterDropdownOpen:tn,onFilterDropdownOpenChange:cn,filterResetToDefaultFilteredValue:nn,defaultFilteredValue:vn,filterDropdownVisible:Mn,onFilterDropdownVisibleChange:_n}=vt,[Tn,qn]=te.useState(!1),ar=!!(Ft&&(!((qe=Ft.filteredKeys)===null||qe===void 0)&&qe.length||Ft.forceFiltered)),Sn=Dn=>{qn(Dn),cn==null||cn(Dn),_n==null||_n(Dn)},jn=(ct=tn!=null?tn:Mn)!==null&&ct!==void 0?ct:Tn,bn=Ft==null?void 0:Ft.filteredKeys,[mn,Cn]=Lr(bn||[]),Jn=Dn=>{let{selectedKeys:nr}=Dn;Cn(nr)},mr=(Dn,nr)=>{let{node:Cr,checked:xr}=nr;Jn(Ot?{selectedKeys:Dn}:{selectedKeys:xr&&Cr.key?[Cr.key]:[]})};te.useEffect(()=>{Tn&&Jn({selectedKeys:bn||[]})},[bn]);const[rr,Un]=te.useState([]),pr=Dn=>{Un(Dn)},[yr,Ur]=te.useState(""),Or=Dn=>{const{value:nr}=Dn.target;Ur(nr)};te.useEffect(()=>{Tn||Ur("")},[Tn]);const ra=Dn=>{const nr=Dn&&Dn.length?Dn:null;if(nr===null&&(!Ft||!Ft.filteredKeys)||(0,ae.Z)(nr,Ft==null?void 0:Ft.filteredKeys,!0))return null;Zt({column:vt,key:At,filteredKeys:nr})},aa=()=>{Sn(!1),ra(mn())},or=function(){let{confirm:Dn,closeDropdown:nr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Dn&&ra([]),nr&&Sn(!1),Ur(""),Cn(nn?(vn||[]).map(Cr=>String(Cr)):[])},la=function(){let{closeDropdown:Dn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Dn&&Sn(!1),ra(mn())},Ar=Dn=>{Dn&&bn!==void 0&&Cn(bn||[]),Sn(Dn),!Dn&&!vt.filterDropdown&&aa()},Jr=Pe()({[`${Lt}-menu-without-submenu`]:!Ni(vt.filters||[])}),Xr=Dn=>{if(Dn.target.checked){const nr=ho(vt==null?void 0:vt.filters).map(Cr=>String(Cr));Cn(nr)}else Cn([])},Da=Dn=>{let{filters:nr}=Dn;return(nr||[]).map((Cr,xr)=>{const Ta=String(Cr.value),Pa={title:Cr.text,key:Cr.value!==void 0?Ta:xr};return Cr.children&&(Pa.children=Da({filters:Cr.children})),Pa})},Vn=Dn=>{var nr;return Object.assign(Object.assign({},Dn),{text:Dn.title,value:Dn.key,children:((nr=Dn.children)===null||nr===void 0?void 0:nr.map(Cr=>Vn(Cr)))||[]})};let Wn;if(typeof vt.filterDropdown=="function")Wn=vt.filterDropdown({prefixCls:`${Lt}-custom`,setSelectedKeys:Dn=>Jn({selectedKeys:Dn}),selectedKeys:mn(),confirm:la,clearFilters:or,filters:vt.filters,visible:jn,close:()=>{Sn(!1)}});else if(vt.filterDropdown)Wn=vt.filterDropdown;else{const Dn=mn()||[],nr=()=>(vt.filters||[]).length===0?te.createElement(Ya.Z,{image:Ya.Z.PRESENTED_IMAGE_SIMPLE,description:Kt.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):It==="tree"?te.createElement(te.Fragment,null,te.createElement(bo,{filterSearch:kt,value:yr,onChange:Or,tablePrefixCls:gt,locale:Kt}),te.createElement("div",{className:`${gt}-filter-dropdown-tree`},Ot?te.createElement(sa.default,{checked:Dn.length===ho(vt.filters).length,indeterminate:Dn.length>0&&Dn.lengthtypeof kt=="function"?kt(yr,Vn(xr)):Jo(yr,xr.title):void 0}))):te.createElement(te.Fragment,null,te.createElement(bo,{filterSearch:kt,value:yr,onChange:Or,tablePrefixCls:gt,locale:Kt}),te.createElement(Ja.default,{selectable:!0,multiple:Ot,prefixCls:`${Lt}-menu`,className:Jr,onSelect:Jn,onDeselect:Jn,selectedKeys:Dn,getPopupContainer:un,openKeys:rr,onOpenChange:pr,items:Qo({filters:vt.filters||[],filterSearch:kt,prefixCls:ht,filteredKeys:mn(),filterMultiple:Ot,searchValue:yr})})),Cr=()=>nn?(0,ae.Z)((vn||[]).map(xr=>String(xr)),Dn,!0):Dn.length===0;Wn=te.createElement(te.Fragment,null,nr(),te.createElement("div",{className:`${ht}-dropdown-btns`},te.createElement(Mr.ZP,{type:"link",size:"small",disabled:Cr(),onClick:()=>or()},Kt.filterReset),te.createElement(Mr.ZP,{type:"primary",size:"small",onClick:aa},Kt.filterConfirm)))}vt.filterDropdown&&(Wn=te.createElement(yo.J,{selectable:void 0},Wn));const Kn=()=>te.createElement(Fi,{className:`${ht}-dropdown`},Wn);let Nn;typeof vt.filterIcon=="function"?Nn=vt.filterIcon(ar):vt.filterIcon?Nn=vt.filterIcon:Nn=te.createElement(Dr,null);const{direction:Ir}=te.useContext(Er.E_);return te.createElement("div",{className:`${ht}-column`},te.createElement("span",{className:`${gt}-column-title`},Wt),te.createElement(Wr.Z,{dropdownRender:Kn,trigger:["click"],open:jn,onOpenChange:Ar,getPopupContainer:un,placement:Ir==="rtl"?"bottomLeft":"bottomRight"},te.createElement("span",{role:"button",tabIndex:-1,className:Pe()(`${ht}-trigger`,{active:ar}),onClick:Dn=>{Dn.stopPropagation()}},Nn)))}var Bi=Di;function No(He,qe,ct){let gt=[];return(He||[]).forEach((ht,vt)=>{var Lt;const At=zr(vt,ct);if(ht.filters||"filterDropdown"in ht||"onFilter"in ht)if("filteredValue"in ht){let Ot=ht.filteredValue;"filterDropdown"in ht||(Ot=(Lt=Ot==null?void 0:Ot.map(String))!==null&&Lt!==void 0?Lt:Ot),gt.push({column:ht,key:br(ht,At),filteredKeys:Ot,forceFiltered:ht.filtered})}else gt.push({column:ht,key:br(ht,At),filteredKeys:qe&&ht.defaultFilteredValue?ht.defaultFilteredValue:void 0,forceFiltered:ht.filtered});"children"in ht&&(gt=[].concat((0,an.Z)(gt),(0,an.Z)(No(ht.children,qe,At))))}),gt}function qo(He,qe,ct,gt,ht,vt,Lt,At){return ct.map((Ot,It)=>{const kt=zr(It,At),{filterMultiple:Ft=!0,filterMode:Zt,filterSearch:Kt}=Ot;let Wt=Ot;if(Wt.filters||Wt.filterDropdown){const un=br(Wt,kt),tn=gt.find(cn=>{let{key:nn}=cn;return un===nn});Wt=Object.assign(Object.assign({},Wt),{title:cn=>te.createElement(Bi,{tablePrefixCls:He,prefixCls:`${He}-filter`,dropdownPrefixCls:qe,column:Wt,columnKey:un,filterState:tn,filterMultiple:Ft,filterMode:Zt,filterSearch:Kt,triggerFilter:vt,locale:ht,getPopupContainer:Lt},na(Ot.title,cn))})}return"children"in Wt&&(Wt=Object.assign(Object.assign({},Wt),{children:qo(He,qe,Wt.children,gt,ht,vt,Lt,kt)})),Wt})}function ei(He){const qe={};return He.forEach(ct=>{let{key:gt,filteredKeys:ht,column:vt}=ct;const{filters:Lt,filterDropdown:At}=vt;if(At)qe[gt]=ht||null;else if(Array.isArray(ht)){const Ot=ho(Lt);qe[gt]=Ot.filter(It=>ht.includes(String(It)))}else qe[gt]=null}),qe}function ti(He,qe){return qe.reduce((ct,gt)=>{const{column:{onFilter:ht,filters:vt},filteredKeys:Lt}=gt;return ht&&Lt&&Lt.length?ct.filter(At=>Lt.some(Ot=>{const It=ho(vt),kt=It.findIndex(Zt=>String(Zt)===String(Ot)),Ft=kt!==-1?It[kt]:Ot;return ht(Ft,At)})):ct},He)}const ni=He=>He.flatMap(qe=>"children"in qe?[qe].concat((0,an.Z)(ni(qe.children||[]))):[qe]);function Ri(He){let{prefixCls:qe,dropdownPrefixCls:ct,mergedColumns:gt,onFilterChange:ht,getPopupContainer:vt,locale:Lt}=He;const At=te.useMemo(()=>ni(gt||[]),[gt]),[Ot,It]=te.useState(()=>No(At,!0)),kt=te.useMemo(()=>{const Wt=No(At,!1);if(Wt.length===0)return Wt;let un=!0,tn=!0;if(Wt.forEach(cn=>{let{filteredKeys:nn}=cn;nn!==void 0?un=!1:tn=!1}),un){const cn=(At||[]).map((nn,vn)=>br(nn,zr(vn)));return Ot.filter(nn=>{let{key:vn}=nn;return cn.includes(vn)}).map(nn=>{const vn=At[cn.findIndex(Mn=>Mn===nn.key)];return Object.assign(Object.assign({},nn),{column:Object.assign(Object.assign({},nn.column),vn),forceFiltered:vn.filtered})})}return Wt},[At,Ot]),Ft=te.useMemo(()=>ei(kt),[kt]),Zt=Wt=>{const un=kt.filter(tn=>{let{key:cn}=tn;return cn!==Wt.key});un.push(Wt),It(un),ht(ei(un),un)};return[Wt=>qo(qe,ct,Wt,kt,Lt,Zt,vt),kt,Ft]}var Mi=Ri;function _i(He,qe,ct){const gt=te.useRef({});function ht(vt){if(!gt.current||gt.current.data!==He||gt.current.childrenColumnName!==qe||gt.current.getRowKey!==ct){let At=function(Ot){Ot.forEach((It,kt)=>{const Ft=ct(It,kt);Lt.set(Ft,It),It&&typeof It=="object"&&qe in It&&At(It[qe]||[])})};const Lt=new Map;At(He),gt.current={data:He,childrenColumnName:qe,kvMap:Lt,getRowKey:ct}}return gt.current.kvMap.get(vt)}return[ht]}var ki=Oe(50371),$i=function(He,qe){var ct={};for(var gt in He)Object.prototype.hasOwnProperty.call(He,gt)&&qe.indexOf(gt)<0&&(ct[gt]=He[gt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,gt=Object.getOwnPropertySymbols(He);ht{const vt=He[ht];typeof vt!="function"&&(ct[ht]=vt)}),ct}function zi(He,qe,ct){const gt=ct&&typeof ct=="object"?ct:{},{total:ht=0}=gt,vt=$i(gt,["total"]),[Lt,At]=(0,te.useState)(()=>({current:"defaultCurrent"in vt?vt.defaultCurrent:1,pageSize:"defaultPageSize"in vt?vt.defaultPageSize:ri})),Ot=(0,ki.Z)(Lt,vt,{total:ht>0?ht:He}),It=Math.ceil((ht||He)/Ot.pageSize);Ot.current>It&&(Ot.current=It||1);const kt=(Zt,Kt)=>{At({current:Zt!=null?Zt:1,pageSize:Kt||Ot.pageSize})},Ft=(Zt,Kt)=>{var Wt;ct&&((Wt=ct.onChange)===null||Wt===void 0||Wt.call(ct,Zt,Kt)),kt(Zt,Kt),qe(Zt,Kt||(Ot==null?void 0:Ot.pageSize))};return ct===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ot),{onChange:Ft}),kt]}var Ui=zi,Ki=Oe(84105),ai=Oe(35654),Do=Oe(90782),Wi=Oe(71430),Zi=Oe(18929);const lo={},Bo="SELECT_ALL",Ro="SELECT_INVERT",Mo="SELECT_NONE",oi=[],ii=(He,qe)=>{let ct=[];return(qe||[]).forEach(gt=>{ct.push(gt),gt&&typeof gt=="object"&&He in gt&&(ct=[].concat((0,an.Z)(ct),(0,an.Z)(ii(He,gt[He]))))}),ct};var Hi=(He,qe)=>{const{preserveSelectedRowKeys:ct,selectedRowKeys:gt,defaultSelectedRowKeys:ht,getCheckboxProps:vt,onChange:Lt,onSelect:At,onSelectAll:Ot,onSelectInvert:It,onSelectNone:kt,onSelectMultiple:Ft,columnWidth:Zt,type:Kt,selections:Wt,fixed:un,renderCell:tn,hideSelectAll:cn,checkStrictly:nn=!0}=qe||{},{prefixCls:vn,data:Mn,pageData:_n,getRecordByKey:Tn,getRowKey:qn,expandType:ar,childrenColumnName:Sn,locale:jn,getPopupContainer:bn}=He,[mn,Cn]=(0,Zi.Z)(gt||ht||oi,{value:gt}),Jn=te.useRef(new Map),mr=(0,te.useCallback)(Vn=>{if(ct){const Wn=new Map;Vn.forEach(Kn=>{let Nn=Tn(Kn);!Nn&&Jn.current.has(Kn)&&(Nn=Jn.current.get(Kn)),Wn.set(Kn,Nn)}),Jn.current=Wn}},[Tn,ct]);te.useEffect(()=>{mr(mn)},[mn]);const{keyEntities:rr}=(0,te.useMemo)(()=>{if(nn)return{keyEntities:null};let Vn=Mn;if(ct){const Wn=new Set(Mn.map((Nn,Ir)=>qn(Nn,Ir))),Kn=Array.from(Jn.current).reduce((Nn,Ir)=>{let[Dn,nr]=Ir;return Wn.has(Dn)?Nn:Nn.concat(nr)},[]);Vn=[].concat((0,an.Z)(Vn),(0,an.Z)(Kn))}return(0,Wi.I8)(Vn,{externalGetKey:qn,childrenPropName:Sn})},[Mn,qn,nn,Sn,ct]),Un=(0,te.useMemo)(()=>ii(Sn,_n),[Sn,_n]),pr=(0,te.useMemo)(()=>{const Vn=new Map;return Un.forEach((Wn,Kn)=>{const Nn=qn(Wn,Kn),Ir=(vt?vt(Wn):null)||{};Vn.set(Nn,Ir)}),Vn},[Un,qn,vt]),yr=(0,te.useCallback)(Vn=>{var Wn;return!!(!((Wn=pr.get(qn(Vn)))===null||Wn===void 0)&&Wn.disabled)},[pr,qn]),[Ur,Or]=(0,te.useMemo)(()=>{if(nn)return[mn||[],[]];const{checkedKeys:Vn,halfCheckedKeys:Wn}=(0,Do.S)(mn,!0,rr,yr);return[Vn||[],Wn]},[mn,nn,rr,yr]),ra=(0,te.useMemo)(()=>{const Vn=Kt==="radio"?Ur.slice(0,1):Ur;return new Set(Vn)},[Ur,Kt]),aa=(0,te.useMemo)(()=>Kt==="radio"?new Set:new Set(Or),[Or,Kt]),[or,la]=(0,te.useState)(null);te.useEffect(()=>{qe||Cn(oi)},[!!qe]);const Ar=(0,te.useCallback)((Vn,Wn)=>{let Kn,Nn;mr(Vn),ct?(Kn=Vn,Nn=Vn.map(Ir=>Jn.current.get(Ir))):(Kn=[],Nn=[],Vn.forEach(Ir=>{const Dn=Tn(Ir);Dn!==void 0&&(Kn.push(Ir),Nn.push(Dn))})),Cn(Kn),Lt==null||Lt(Kn,Nn,{type:Wn})},[Cn,Tn,Lt,ct]),Jr=(0,te.useCallback)((Vn,Wn,Kn,Nn)=>{if(At){const Ir=Kn.map(Dn=>Tn(Dn));At(Tn(Vn),Wn,Ir,Nn)}Ar(Kn,"single")},[At,Tn,Ar]),Xr=(0,te.useMemo)(()=>!Wt||cn?null:(Wt===!0?[Bo,Ro,Mo]:Wt).map(Wn=>Wn===Bo?{key:"all",text:jn.selectionAll,onSelect(){Ar(Mn.map((Kn,Nn)=>qn(Kn,Nn)).filter(Kn=>{const Nn=pr.get(Kn);return!(Nn!=null&&Nn.disabled)||ra.has(Kn)}),"all")}}:Wn===Ro?{key:"invert",text:jn.selectInvert,onSelect(){const Kn=new Set(ra);_n.forEach((Ir,Dn)=>{const nr=qn(Ir,Dn),Cr=pr.get(nr);Cr!=null&&Cr.disabled||(Kn.has(nr)?Kn.delete(nr):Kn.add(nr))});const Nn=Array.from(Kn);It&&It(Nn),Ar(Nn,"invert")}}:Wn===Mo?{key:"none",text:jn.selectNone,onSelect(){kt==null||kt(),Ar(Array.from(ra).filter(Kn=>{const Nn=pr.get(Kn);return Nn==null?void 0:Nn.disabled}),"none")}}:Wn).map(Wn=>Object.assign(Object.assign({},Wn),{onSelect:function(){for(var Kn,Nn,Ir=arguments.length,Dn=new Array(Ir),nr=0;nr{var Wn;if(!qe)return Vn.filter(Br=>Br!==lo);let Kn=(0,an.Z)(Vn);const Nn=new Set(ra),Ir=Un.map(qn).filter(Br=>!pr.get(Br).disabled),Dn=Ir.every(Br=>Nn.has(Br)),nr=Ir.some(Br=>Nn.has(Br)),Cr=()=>{const Br=[];Dn?Ir.forEach(qr=>{Nn.delete(qr),Br.push(qr)}):Ir.forEach(qr=>{Nn.has(qr)||(Nn.add(qr),Br.push(qr))});const _r=Array.from(Nn);Ot==null||Ot(!Dn,_r.map(qr=>Tn(qr)),Br.map(qr=>Tn(qr))),Ar(_r,"all"),la(null)};let xr;if(Kt!=="radio"){let Br;if(Xr){const Sr={getPopupContainer:bn,items:Xr.map((Ia,Oa)=>{const{key:Ga,text:eo,onSelect:qa}=Ia;return{key:Ga!=null?Ga:Oa,onClick:()=>{qa==null||qa(Ir)},label:eo}})};Br=te.createElement("div",{className:`${vn}-selection-extra`},te.createElement(Wr.Z,{menu:Sr,getPopupContainer:bn},te.createElement("span",null,te.createElement(Ki.Z,null))))}const _r=Un.map((Sr,Ia)=>{const Oa=qn(Sr,Ia),Ga=pr.get(Oa)||{};return Object.assign({checked:Nn.has(Oa)},Ga)}).filter(Sr=>{let{disabled:Ia}=Sr;return Ia}),qr=!!_r.length&&_r.length===Un.length,fa=qr&&_r.every(Sr=>{let{checked:Ia}=Sr;return Ia}),ga=qr&&_r.some(Sr=>{let{checked:Ia}=Sr;return Ia});xr=!cn&&te.createElement("div",{className:`${vn}-selection`},te.createElement(sa.default,{checked:qr?fa:!!Un.length&&Dn,indeterminate:qr?!fa&&ga:!Dn&&nr,onChange:Cr,disabled:Un.length===0||qr,"aria-label":Br?"Custom selection":"Select all",skipGroup:!0}),Br)}let Ta;Kt==="radio"?Ta=(Br,_r,qr)=>{const fa=qn(_r,qr),ga=Nn.has(fa);return{node:te.createElement(xo.ZP,Object.assign({},pr.get(fa),{checked:ga,onClick:Sr=>Sr.stopPropagation(),onChange:Sr=>{Nn.has(fa)||Jr(fa,!0,[fa],Sr.nativeEvent)}})),checked:ga}}:Ta=(Br,_r,qr)=>{var fa;const ga=qn(_r,qr),Sr=Nn.has(ga),Ia=aa.has(ga),Oa=pr.get(ga);let Ga;return ar==="nest"?Ga=Ia:Ga=(fa=Oa==null?void 0:Oa.indeterminate)!==null&&fa!==void 0?fa:Ia,{node:te.createElement(sa.default,Object.assign({},Oa,{indeterminate:Ga,checked:Sr,skipGroup:!0,onClick:eo=>eo.stopPropagation(),onChange:eo=>{let{nativeEvent:qa}=eo;const{shiftKey:wo}=qa;let oo=-1,Ha=-1;if(wo&&nn){const Ra=new Set([or,ga]);Ir.some((Fa,ma)=>{if(Ra.has(Fa))if(oo===-1)oo=ma;else return Ha=ma,!0;return!1})}if(Ha!==-1&&oo!==Ha&&nn){const Ra=Ir.slice(oo,Ha+1),Fa=[];Sr?Ra.forEach(ea=>{Nn.has(ea)&&(Fa.push(ea),Nn.delete(ea))}):Ra.forEach(ea=>{Nn.has(ea)||(Fa.push(ea),Nn.add(ea))});const ma=Array.from(Nn);Ft==null||Ft(!Sr,ma.map(ea=>Tn(ea)),Fa.map(ea=>Tn(ea))),Ar(ma,"multiple")}else{const Ra=Ur;if(nn){const Fa=Sr?(0,ai._5)(Ra,ga):(0,ai.L0)(Ra,ga);Jr(ga,!Sr,Fa,qa)}else{const Fa=(0,Do.S)([].concat((0,an.Z)(Ra),[ga]),!0,rr,yr),{checkedKeys:ma,halfCheckedKeys:ea}=Fa;let to=ma;if(Sr){const po=new Set(ma);po.delete(ga),to=(0,Do.S)(Array.from(po),{checked:!1,halfCheckedKeys:ea},rr,yr).checkedKeys}Jr(ga,!Sr,to,qa)}}la(Sr?null:ga)}})),checked:Sr}};const Pa=(Br,_r,qr)=>{const{node:fa,checked:ga}=Ta(Br,_r,qr);return tn?tn(ga,_r,qr,fa):fa};if(!Kn.includes(lo))if(Kn.findIndex(Br=>{var _r;return((_r=Br[Vt])===null||_r===void 0?void 0:_r.columnType)==="EXPAND_COLUMN"})===0){const[Br,..._r]=Kn;Kn=[Br,lo].concat((0,an.Z)(_r))}else Kn=[lo].concat((0,an.Z)(Kn));const Qa=Kn.indexOf(lo);Kn=Kn.filter((Br,_r)=>Br!==lo||_r===Qa);const ua=Kn[Qa-1],Za=Kn[Qa+1];let ca=un;ca===void 0&&((Za==null?void 0:Za.fixed)!==void 0?ca=Za.fixed:(ua==null?void 0:ua.fixed)!==void 0&&(ca=ua.fixed)),ca&&ua&&((Wn=ua[Vt])===null||Wn===void 0?void 0:Wn.columnType)==="EXPAND_COLUMN"&&ua.fixed===void 0&&(ua.fixed=ca);const Ba=Pe()(`${vn}-selection-col`,{[`${vn}-selection-col-with-dropdown`]:Wt&&Kt==="checkbox"}),mo={fixed:ca,width:Zt,className:`${vn}-selection-column`,title:qe.columnTitle||xr,render:Pa,onCell:qe.onCell,[Vt]:{className:Ba}};return Kn.map(Br=>Br===lo?mo:Br)},[qn,Un,qe,Ur,ra,aa,Zt,Xr,ar,or,pr,Ft,Jr,yr]),ra]},Xi=Oe(89489),Vi=Oe(59477),Yi=Oe(6848);const To="ascend",_o="descend";function Oo(He){return typeof He.sorter=="object"&&typeof He.sorter.multiple=="number"?He.sorter.multiple:!1}function si(He){return typeof He=="function"?He:He&&typeof He=="object"&&He.compare?He.compare:!1}function Ji(He,qe){return qe?He[He.indexOf(qe)+1]:He[0]}function ko(He,qe,ct){let gt=[];function ht(vt,Lt){gt.push({column:vt,key:br(vt,Lt),multiplePriority:Oo(vt),sortOrder:vt.sortOrder})}return(He||[]).forEach((vt,Lt)=>{const At=zr(Lt,ct);vt.children?("sortOrder"in vt&&ht(vt,At),gt=[].concat((0,an.Z)(gt),(0,an.Z)(ko(vt.children,qe,At)))):vt.sorter&&("sortOrder"in vt?ht(vt,At):qe&&vt.defaultSortOrder&>.push({column:vt,key:br(vt,At),multiplePriority:Oo(vt),sortOrder:vt.defaultSortOrder}))}),gt}function li(He,qe,ct,gt,ht,vt,Lt,At){return(qe||[]).map((Ot,It)=>{const kt=zr(It,At);let Ft=Ot;if(Ft.sorter){const Zt=Ft.sortDirections||ht,Kt=Ft.showSorterTooltip===void 0?Lt:Ft.showSorterTooltip,Wt=br(Ft,kt),un=ct.find(ar=>{let{key:Sn}=ar;return Sn===Wt}),tn=un?un.sortOrder:null,cn=Ji(Zt,tn);let nn;if(Ot.sortIcon)nn=Ot.sortIcon({sortOrder:tn});else{const ar=Zt.includes(To)&&te.createElement(Vi.Z,{className:Pe()(`${He}-column-sorter-up`,{active:tn===To})}),Sn=Zt.includes(_o)&&te.createElement(Xi.Z,{className:Pe()(`${He}-column-sorter-down`,{active:tn===_o})});nn=te.createElement("span",{className:Pe()(`${He}-column-sorter`,{[`${He}-column-sorter-full`]:!!(ar&&Sn)})},te.createElement("span",{className:`${He}-column-sorter-inner`,"aria-hidden":"true"},ar,Sn))}const{cancelSort:vn,triggerAsc:Mn,triggerDesc:_n}=vt||{};let Tn=vn;cn===_o?Tn=_n:cn===To&&(Tn=Mn);const qn=typeof Kt=="object"?Kt:{title:Tn};Ft=Object.assign(Object.assign({},Ft),{className:Pe()(Ft.className,{[`${He}-column-sort`]:tn}),title:ar=>{const Sn=te.createElement("div",{className:`${He}-column-sorters`},te.createElement("span",{className:`${He}-column-title`},na(Ot.title,ar)),nn);return Kt?te.createElement(Yi.Z,Object.assign({},qn),Sn):Sn},onHeaderCell:ar=>{const Sn=Ot.onHeaderCell&&Ot.onHeaderCell(ar)||{},jn=Sn.onClick,bn=Sn.onKeyDown;Sn.onClick=Jn=>{gt({column:Ot,key:Wt,sortOrder:cn,multiplePriority:Oo(Ot)}),jn==null||jn(Jn)},Sn.onKeyDown=Jn=>{Jn.keyCode===Yo.Z.ENTER&&(gt({column:Ot,key:Wt,sortOrder:cn,multiplePriority:Oo(Ot)}),bn==null||bn(Jn))};const mn=Yr(Ot.title,{}),Cn=mn==null?void 0:mn.toString();return tn?Sn["aria-sort"]=tn==="ascend"?"ascending":"descending":Sn["aria-label"]=Cn||"",Sn.className=Pe()(Sn.className,`${He}-column-has-sorters`),Sn.tabIndex=0,Ot.ellipsis&&(Sn.title=(mn!=null?mn:"").toString()),Sn}})}return"children"in Ft&&(Ft=Object.assign(Object.assign({},Ft),{children:li(He,Ft.children,ct,gt,ht,vt,Lt,kt)})),Ft})}function ui(He){const{column:qe,sortOrder:ct}=He;return{column:qe,order:ct,field:qe.dataIndex,columnKey:qe.key}}function ci(He){const qe=He.filter(ct=>{let{sortOrder:gt}=ct;return gt}).map(ui);return qe.length===0&&He.length?Object.assign(Object.assign({},ui(He[He.length-1])),{column:void 0}):qe.length<=1?qe[0]||{}:qe}function $o(He,qe,ct){const gt=qe.slice().sort((Lt,At)=>At.multiplePriority-Lt.multiplePriority),ht=He.slice(),vt=gt.filter(Lt=>{let{column:{sorter:At},sortOrder:Ot}=Lt;return si(At)&&Ot});return vt.length?ht.sort((Lt,At)=>{for(let Ot=0;Ot{const At=Lt[ct];return At?Object.assign(Object.assign({},Lt),{[ct]:$o(At,qe,ct)}):Lt}):ht}function Qi(He){let{prefixCls:qe,mergedColumns:ct,onSorterChange:gt,sortDirections:ht,tableLocale:vt,showSorterTooltip:Lt}=He;const[At,Ot]=te.useState(ko(ct,!0)),It=te.useMemo(()=>{let Wt=!0;const un=ko(ct,!1);if(!un.length)return At;const tn=[];function cn(vn){Wt?tn.push(vn):tn.push(Object.assign(Object.assign({},vn),{sortOrder:null}))}let nn=null;return un.forEach(vn=>{nn===null?(cn(vn),vn.sortOrder&&(vn.multiplePriority===!1?Wt=!1:nn=!0)):(nn&&vn.multiplePriority!==!1||(Wt=!1),cn(vn))}),tn},[ct,At]),kt=te.useMemo(()=>{const Wt=It.map(un=>{let{column:tn,sortOrder:cn}=un;return{column:tn,order:cn}});return{sortColumns:Wt,sortColumn:Wt[0]&&Wt[0].column,sortOrder:Wt[0]&&Wt[0].order}},[It]);function Ft(Wt){let un;Wt.multiplePriority===!1||!It.length||It[0].multiplePriority===!1?un=[Wt]:un=[].concat((0,an.Z)(It.filter(tn=>{let{key:cn}=tn;return cn!==Wt.key})),[Wt]),Ot(un),gt(ci(un),un)}return[Wt=>li(qe,Wt,It,Ft,ht,vt,Lt),It,kt,()=>ci(It)]}function di(He,qe){return He.map(ct=>{const gt=Object.assign({},ct);return gt.title=na(ct.title,qe),"children"in gt&&(gt.children=di(gt.children,qe)),gt})}function qi(He){return[te.useCallback(ct=>di(ct,He),[He])]}var es=dr((He,qe)=>{const{_renderTimes:ct}=He,{_renderTimes:gt}=qe;return ct!==gt}),ts=On((He,qe)=>{const{_renderTimes:ct}=He,{_renderTimes:gt}=qe;return ct!==gt}),Po=Oe(64993),jo=Oe(17313),ns=Oe(83116),rs=Oe(37613),as=He=>{const{componentCls:qe}=He,ct=`${He.lineWidth}px ${He.lineType} ${He.tableBorderColor}`,gt=(ht,vt,Lt)=>({[`&${qe}-${ht}`]:{[`> ${qe}-container`]:{[`> ${qe}-content, > ${qe}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${qe}-expanded-row-fixed`]:{margin:`-${vt}px -${Lt+He.lineWidth}px`}}}}}});return{[`${qe}-wrapper`]:{[`${qe}${qe}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${qe}-title`]:{border:ct,borderBottom:0},[`> ${qe}-container`]:{borderInlineStart:ct,borderTop:ct,[` > ${qe}-content, > ${qe}-header, > ${qe}-body, > ${qe}-summary `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:ct},"> thead":{"> tr:not(:last-child) > th":{borderBottom:ct},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${qe}-cell-fix-right-first::after`]:{borderInlineEnd:ct}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${qe}-expanded-row-fixed`]:{margin:`-${He.tablePaddingVertical}px -${He.tablePaddingHorizontal+He.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:He.lineWidth,bottom:0,borderInlineEnd:ct,content:'""'}}}}}},[`&${qe}-scroll-horizontal`]:{[`> ${qe}-container > ${qe}-body`]:{"> table > tbody":{[` > tr${qe}-expanded-row, > tr${qe}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},gt("middle",He.tablePaddingVerticalMiddle,He.tablePaddingHorizontalMiddle)),gt("small",He.tablePaddingVerticalSmall,He.tablePaddingHorizontalSmall)),{[`> ${qe}-footer`]:{border:ct,borderTop:0}}),[`${qe}-cell`]:{[`${qe}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${He.lineWidth}px 0 ${He.lineWidth}px ${He.tableHeaderBg}`}},[`${qe}-bordered ${qe}-cell-scrollbar`]:{borderInlineEnd:ct}}}},os=He=>{const{componentCls:qe}=He;return{[`${qe}-wrapper`]:{[`${qe}-cell-ellipsis`]:Object.assign(Object.assign({},jo.vS),{wordBreak:"keep-all",[` &${qe}-cell-fix-left-last, &${qe}-cell-fix-right-first `]:{overflow:"visible",[`${qe}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${qe}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},is=He=>{const{componentCls:qe}=He;return{[`${qe}-wrapper`]:{[`${qe}-tbody > tr${qe}-placeholder`]:{textAlign:"center",color:He.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:He.colorBgContainer}}}}},ss=Oe(15969),ls=He=>{const{componentCls:qe,antCls:ct,controlInteractiveSize:gt,motionDurationSlow:ht,lineWidth:vt,paddingXS:Lt,lineType:At,tableBorderColor:Ot,tableExpandIconBg:It,tableExpandColumnWidth:kt,borderRadius:Ft,fontSize:Zt,fontSizeSM:Kt,lineHeight:Wt,tablePaddingVertical:un,tablePaddingHorizontal:tn,tableExpandedRowBg:cn,paddingXXS:nn}=He,vn=gt/2-vt,Mn=vn*2+vt*3,_n=`${vt}px ${At} ${Ot}`,Tn=nn-vt;return{[`${qe}-wrapper`]:{[`${qe}-expand-icon-col`]:{width:kt},[`${qe}-row-expand-icon-cell`]:{textAlign:"center",[`${qe}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${qe}-row-indent`]:{height:1,float:"left"},[`${qe}-row-expand-icon`]:Object.assign(Object.assign({},(0,ss.N)(He)),{position:"relative",float:"left",boxSizing:"border-box",width:Mn,height:Mn,padding:0,color:"inherit",lineHeight:`${Mn}px`,background:It,border:_n,borderRadius:Ft,transform:`scale(${gt/Mn})`,transition:`all ${ht}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ht} ease-out`,content:'""'},"&::before":{top:vn,insetInlineEnd:Tn,insetInlineStart:Tn,height:vt},"&::after":{top:Tn,bottom:Tn,insetInlineStart:vn,width:vt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${qe}-row-indent + ${qe}-row-expand-icon`]:{marginTop:(Zt*Wt-vt*3)/2-Math.ceil((Kt*1.4-vt*3)/2),marginInlineEnd:Lt},[`tr${qe}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:cn}},[`${ct}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${qe}-expanded-row-fixed`]:{position:"relative",margin:`-${un}px -${tn}px`,padding:`${un}px ${tn}px`}}}},us=He=>{const{componentCls:qe,antCls:ct,iconCls:gt,tableFilterDropdownWidth:ht,tableFilterDropdownSearchWidth:vt,paddingXXS:Lt,paddingXS:At,colorText:Ot,lineWidth:It,lineType:kt,tableBorderColor:Ft,tableHeaderIconColor:Zt,fontSizeSM:Kt,tablePaddingHorizontal:Wt,borderRadius:un,motionDurationSlow:tn,colorTextDescription:cn,colorPrimary:nn,tableHeaderFilterActiveBg:vn,colorTextDisabled:Mn,tableFilterDropdownBg:_n,tableFilterDropdownHeight:Tn,controlItemBgHover:qn,controlItemBgActive:ar,boxShadowSecondary:Sn,filterDropdownMenuBg:jn}=He,bn=`${ct}-dropdown`,mn=`${qe}-filter-dropdown`,Cn=`${ct}-tree`,Jn=`${It}px ${kt} ${Ft}`;return[{[`${qe}-wrapper`]:{[`${qe}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${qe}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Lt,marginInline:`${Lt}px ${-Wt/2}px`,padding:`0 ${Lt}px`,color:Zt,fontSize:Kt,borderRadius:un,cursor:"pointer",transition:`all ${tn}`,"&:hover":{color:cn,background:vn},"&.active":{color:nn}}}},{[`${ct}-dropdown`]:{[mn]:Object.assign(Object.assign({},(0,jo.Wf)(He)),{minWidth:ht,backgroundColor:_n,borderRadius:un,boxShadow:Sn,overflow:"hidden",[`${bn}-menu`]:{maxHeight:Tn,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:jn,"&:empty::after":{display:"block",padding:`${At}px 0`,color:Mn,fontSize:Kt,textAlign:"center",content:'"Not Found"'}},[`${mn}-tree`]:{paddingBlock:`${At}px 0`,paddingInline:At,[Cn]:{padding:0},[`${Cn}-treenode ${Cn}-node-content-wrapper:hover`]:{backgroundColor:qn},[`${Cn}-treenode-checkbox-checked ${Cn}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:ar}}},[`${mn}-search`]:{padding:At,borderBottom:Jn,"&-input":{input:{minWidth:vt},[gt]:{color:Mn}}},[`${mn}-checkall`]:{width:"100%",marginBottom:Lt,marginInlineStart:Lt},[`${mn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${At-It}px ${At}px`,overflow:"hidden",borderTop:Jn}})}},{[`${ct}-dropdown ${mn}, ${mn}-submenu`]:{[`${ct}-checkbox-wrapper + span`]:{paddingInlineStart:At,color:Ot},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},cs=He=>{const{componentCls:qe,lineWidth:ct,colorSplit:gt,motionDurationSlow:ht,zIndexTableFixed:vt,tableBg:Lt,zIndexTableSticky:At}=He,Ot=gt;return{[`${qe}-wrapper`]:{[` ${qe}-cell-fix-left, ${qe}-cell-fix-right `]:{position:"sticky !important",zIndex:vt,background:Lt},[` ${qe}-cell-fix-left-first::after, ${qe}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-ct,width:30,transform:"translateX(100%)",transition:`box-shadow ${ht}`,content:'""',pointerEvents:"none"},[`${qe}-cell-fix-left-all::after`]:{display:"none"},[` ${qe}-cell-fix-right-first::after, ${qe}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:-ct,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ht}`,content:'""',pointerEvents:"none"},[`${qe}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:At+1,width:30,transition:`box-shadow ${ht}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${qe}-ping-left`]:{[`&:not(${qe}-has-fix-left) ${qe}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Ot}`}},[` ${qe}-cell-fix-left-first::after, ${qe}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${Ot}`},[`${qe}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${qe}-ping-right`]:{[`&:not(${qe}-has-fix-right) ${qe}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Ot}`}},[` ${qe}-cell-fix-right-first::after, ${qe}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${Ot}`}}}}},ds=He=>{const{componentCls:qe,antCls:ct}=He;return{[`${qe}-wrapper`]:{[`${qe}-pagination${ct}-pagination`]:{margin:`${He.margin}px 0`},[`${qe}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:He.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},fs=He=>{const{componentCls:qe,tableRadius:ct}=He;return{[`${qe}-wrapper`]:{[qe]:{[`${qe}-title, ${qe}-header`]:{borderRadius:`${ct}px ${ct}px 0 0`},[`${qe}-title + ${qe}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${qe}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:ct,borderStartEndRadius:ct,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ct},"> *:last-child":{borderStartEndRadius:ct}}},"&-footer":{borderRadius:`0 0 ${ct}px ${ct}px`}}}}},gs=He=>{const{componentCls:qe}=He;return{[`${qe}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${qe}-pagination-left`]:{justifyContent:"flex-end"},[`${qe}-pagination-right`]:{justifyContent:"flex-start"},[`${qe}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${qe}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${qe}-row-indent`]:{float:"right"}}}}},ms=He=>{const{componentCls:qe,antCls:ct,iconCls:gt,fontSizeIcon:ht,padding:vt,paddingXS:Lt,tableHeaderIconColor:At,tableHeaderIconColorHover:Ot,tableSelectionColumnWidth:It}=He;return{[`${qe}-wrapper`]:{[`${qe}-selection-col`]:{width:It,[`&${qe}-selection-col-with-dropdown`]:{width:It+ht+vt/4}},[`${qe}-bordered ${qe}-selection-col`]:{width:It+Lt*2,[`&${qe}-selection-col-with-dropdown`]:{width:It+ht+vt/4+Lt*2}},[` table tr th${qe}-selection-column, table tr td${qe}-selection-column `]:{paddingInlineEnd:He.paddingXS,paddingInlineStart:He.paddingXS,textAlign:"center",[`${ct}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${qe}-selection-column${qe}-cell-fix-left`]:{zIndex:He.zIndexTableFixed+1},[`table tr th${qe}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${qe}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${qe}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${He.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${He.tablePaddingHorizontal/4}px`,[gt]:{color:At,fontSize:ht,verticalAlign:"baseline","&:hover":{color:Ot}}}}}},ps=He=>{const{componentCls:qe}=He,ct=(gt,ht,vt,Lt)=>({[`${qe}${qe}-${gt}`]:{fontSize:Lt,[` ${qe}-title, ${qe}-footer, ${qe}-cell, ${qe}-thead > tr > th, ${qe}-tbody > tr > th, ${qe}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${ht}px ${vt}px`},[`${qe}-filter-trigger`]:{marginInlineEnd:`-${vt/2}px`},[`${qe}-expanded-row-fixed`]:{margin:`-${ht}px -${vt}px`},[`${qe}-tbody`]:{[`${qe}-wrapper:only-child ${qe}`]:{marginBlock:`-${ht}px`,marginInline:`${He.tableExpandColumnWidth-vt}px -${vt}px`}},[`${qe}-selection-column`]:{paddingInlineStart:`${vt/4}px`}}});return{[`${qe}-wrapper`]:Object.assign(Object.assign({},ct("middle",He.tablePaddingVerticalMiddle,He.tablePaddingHorizontalMiddle,He.tableFontSizeMiddle)),ct("small",He.tablePaddingVerticalSmall,He.tablePaddingHorizontalSmall,He.tableFontSizeSmall))}},hs=He=>{const{componentCls:qe,marginXXS:ct,fontSizeIcon:gt,tableHeaderIconColor:ht,tableHeaderIconColorHover:vt}=He;return{[`${qe}-wrapper`]:{[`${qe}-thead th${qe}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${He.motionDurationSlow}`,"&:hover":{background:He.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:He.colorPrimary},[` &${qe}-cell-fix-left:hover, &${qe}-cell-fix-right:hover `]:{background:He.tableFixedHeaderSortActiveBg}},[`${qe}-thead th${qe}-column-sort`]:{background:He.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${qe}-column-sort`]:{background:He.tableBodySortBg},[`${qe}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${qe}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${qe}-column-sorter`]:{marginInlineStart:ct,color:ht,fontSize:0,transition:`color ${He.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:gt,"&.active":{color:He.colorPrimary}},[`${qe}-column-sorter-up + ${qe}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${qe}-column-sorters:hover ${qe}-column-sorter`]:{color:vt}}}},vs=He=>{const{componentCls:qe,opacityLoading:ct,tableScrollThumbBg:gt,tableScrollThumbBgHover:ht,tableScrollThumbSize:vt,tableScrollBg:Lt,zIndexTableSticky:At,stickyScrollBarBorderRadius:Ot}=He,It=`${He.lineWidth}px ${He.lineType} ${He.tableBorderColor}`;return{[`${qe}-wrapper`]:{[`${qe}-sticky`]:{"&-holder":{position:"sticky",zIndex:At,background:He.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${vt}px !important`,zIndex:At,display:"flex",alignItems:"center",background:Lt,borderTop:It,opacity:ct,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:vt,backgroundColor:gt,borderRadius:Ot,transition:`all ${He.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ht}}}}}}},fi=He=>{const{componentCls:qe,lineWidth:ct,tableBorderColor:gt}=He,ht=`${ct}px ${He.lineType} ${gt}`;return{[`${qe}-wrapper`]:{[`${qe}-summary`]:{position:"relative",zIndex:He.zIndexTableFixed,background:He.tableBg,"> tr":{"> th, > td":{borderBottom:ht}}},[`div${qe}-summary`]:{boxShadow:`0 -${ct}px 0 ${gt}`}}}},ys=He=>{const{componentCls:qe}=He,ct=`${He.lineWidth}px ${He.lineType} ${He.tableBorderColor}`,gt=`${qe}-expanded-row-cell`;return{[`${qe}-wrapper`]:{[`${qe}-tbody-virtual`]:{[`${qe}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${qe}-cell`]:{borderBottom:ct},[`${qe}-expanded-row`]:{[`${gt}${gt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${He.lineWidth}px)`,borderInlineEnd:"none"}}},[`${qe}-bordered`]:{[`${qe}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ct,position:"absolute"},[`${qe}-cell`]:{borderInlineEnd:ct,[`&${qe}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-He.lineWidth,borderInlineStart:ct}}}}}}};const Ss=He=>{const{componentCls:qe,fontWeightStrong:ct,tablePaddingVertical:gt,tablePaddingHorizontal:ht,lineWidth:vt,lineType:Lt,tableBorderColor:At,tableFontSize:Ot,tableBg:It,tableRadius:kt,tableHeaderTextColor:Ft,motionDurationMid:Zt,tableHeaderBg:Kt,tableHeaderCellSplitColor:Wt,tableRowHoverBg:un,tableSelectedRowBg:tn,tableSelectedRowHoverBg:cn,tableFooterTextColor:nn,tableFooterBg:vn,paddingContentVerticalLG:Mn}=He,_n=`${vt}px ${Lt} ${At}`;return{[`${qe}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,jo.dF)()),{[qe]:Object.assign(Object.assign({},(0,jo.Wf)(He)),{fontSize:Ot,background:It,borderRadius:`${kt}px ${kt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${kt}px ${kt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${qe}-cell, ${qe}-thead > tr > th, ${qe}-tbody > tr > th, ${qe}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${Mn}px ${ht}px`,overflowWrap:"break-word"},[`${qe}-title`]:{padding:`${gt}px ${ht}px`},[`${qe}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Ft,fontWeight:ct,textAlign:"start",background:Kt,borderBottom:_n,transition:`background ${Zt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${qe}-selection-column):not(${qe}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Wt,transform:"translateY(-50%)",transition:`background-color ${Zt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${qe}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Zt}, border-color ${Zt}`,borderBottom:_n,[` > ${qe}-wrapper:only-child, > ${qe}-expanded-row-fixed > ${qe}-wrapper:only-child `]:{[qe]:{marginBlock:`-${gt}px`,marginInline:`${He.tableExpandColumnWidth-ht}px -${ht}px`,[`${qe}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Ft,fontWeight:ct,textAlign:"start",background:Kt,borderBottom:_n,transition:`background ${Zt} ease`},[` &${qe}-row:hover > th, &${qe}-row:hover > td, > th${qe}-cell-row-hover, > td${qe}-cell-row-hover `]:{background:un},[`&${qe}-row-selected`]:{"> th, > td":{background:tn},"&:hover > th, &:hover > td":{background:cn}}}},[`${qe}-footer`]:{padding:`${gt}px ${ht}px`,color:nn,background:vn}})}};var bs=(0,ns.Z)("Table",He=>{const{colorTextHeading:qe,colorSplit:ct,colorIcon:gt,colorIconHover:ht,opacityLoading:vt,colorBgContainer:Lt,controlInteractiveSize:At,headerBg:Ot,headerColor:It,headerSortActiveBg:kt,headerSortHoverBg:Ft,bodySortBg:Zt,rowHoverBg:Kt,rowSelectedBg:Wt,rowSelectedHoverBg:un,rowExpandedBg:tn,cellPaddingBlock:cn,cellPaddingInline:nn,cellPaddingBlockMD:vn,cellPaddingInlineMD:Mn,cellPaddingBlockSM:_n,cellPaddingInlineSM:Tn,borderColor:qn,footerBg:ar,footerColor:Sn,headerBorderRadius:jn,cellFontSize:bn,cellFontSizeMD:mn,cellFontSizeSM:Cn,headerSplitColor:Jn,fixedHeaderSortActiveBg:mr,headerFilterHoverBg:rr,filterDropdownBg:Un,expandIconBg:pr,selectionColumnWidth:yr,stickyScrollBarBg:Ur}=He,Or=new Po.C(gt),ra=new Po.C(ht),aa=2,or=(0,rs.TS)(He,{tableFontSize:bn,tableBg:Lt,tableRadius:jn,tablePaddingVertical:cn,tablePaddingHorizontal:nn,tablePaddingVerticalMiddle:vn,tablePaddingHorizontalMiddle:Mn,tablePaddingVerticalSmall:_n,tablePaddingHorizontalSmall:Tn,tableBorderColor:qn,tableHeaderTextColor:It,tableHeaderBg:Ot,tableFooterTextColor:Sn,tableFooterBg:ar,tableHeaderCellSplitColor:Jn,tableHeaderSortBg:kt,tableHeaderSortHoverBg:Ft,tableHeaderIconColor:Or.clone().setAlpha(Or.getAlpha()*vt).toRgbString(),tableHeaderIconColorHover:ra.clone().setAlpha(ra.getAlpha()*vt).toRgbString(),tableBodySortBg:Zt,tableFixedHeaderSortActiveBg:mr,tableHeaderFilterActiveBg:rr,tableFilterDropdownBg:Un,tableRowHoverBg:Kt,tableSelectedRowBg:Wt,tableSelectedRowHoverBg:un,zIndexTableFixed:aa,zIndexTableSticky:aa+1,tableFontSizeMiddle:mn,tableFontSizeSmall:Cn,tableSelectionColumnWidth:yr,tableExpandIconBg:pr,tableExpandColumnWidth:At+2*He.padding,tableExpandedRowBg:tn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ur,tableScrollThumbBgHover:qe,tableScrollBg:ct});return[Ss(or),ds(or),fi(or),hs(or),us(or),as(or),fs(or),ls(or),fi(or),is(or),ms(or),cs(or),vs(or),os(or),ps(or),gs(or),ys(or)]},He=>{const{colorFillAlter:qe,colorBgContainer:ct,colorTextHeading:gt,colorFillSecondary:ht,colorFillContent:vt,controlItemBgActive:Lt,controlItemBgActiveHover:At,padding:Ot,paddingSM:It,paddingXS:kt,colorBorderSecondary:Ft,borderRadiusLG:Zt,fontSize:Kt,controlHeight:Wt,colorTextPlaceholder:un}=He,tn=new Po.C(ht).onBackground(ct).toHexShortString(),cn=new Po.C(vt).onBackground(ct).toHexShortString(),nn=new Po.C(qe).onBackground(ct).toHexShortString();return{headerBg:nn,headerColor:gt,headerSortActiveBg:tn,headerSortHoverBg:cn,bodySortBg:nn,rowHoverBg:nn,rowSelectedBg:Lt,rowSelectedHoverBg:At,rowExpandedBg:qe,cellPaddingBlock:Ot,cellPaddingInline:Ot,cellPaddingBlockMD:It,cellPaddingInlineMD:kt,cellPaddingBlockSM:kt,cellPaddingInlineSM:kt,borderColor:Ft,headerBorderRadius:Zt,footerBg:nn,footerColor:gt,cellFontSize:Kt,cellFontSizeMD:Kt,cellFontSizeSM:Kt,headerSplitColor:Ft,fixedHeaderSortActiveBg:tn,headerFilterHoverBg:vt,filterDropdownMenuBg:ct,filterDropdownBg:ct,expandIconBg:ct,selectionColumnWidth:Wt,stickyScrollBarBg:un,stickyScrollBarBorderRadius:100}});const Ps=[],ws=(He,qe)=>{const{prefixCls:ct,className:gt,rootClassName:ht,style:vt,size:Lt,bordered:At,dropdownPrefixCls:Ot,dataSource:It,pagination:kt,rowSelection:Ft,rowKey:Zt="key",rowClassName:Kt,columns:Wt,children:un,childrenColumnName:tn,onChange:cn,getPopupContainer:nn,loading:vn,expandIcon:Mn,expandable:_n,expandedRowRender:Tn,expandIconColumnIndex:qn,indentSize:ar,scroll:Sn,sortDirections:jn,locale:bn,showSorterTooltip:mn=!0,virtual:Cn}=He,Jn=te.useMemo(()=>Wt||xt(un),[Wt,un]),mr=te.useMemo(()=>Jn.some(Tr=>Tr.responsive),[Jn]),rr=(0,Va.Z)(mr),Un=te.useMemo(()=>{const Tr=new Set(Object.keys(rr).filter(Zr=>rr[Zr]));return Jn.filter(Zr=>!Zr.responsive||Zr.responsive.some(xa=>Tr.has(xa)))},[Jn,rr]),pr=(0,$a.Z)(He,["className","style","columns"]),{locale:yr=ro.Z,direction:Ur,table:Or,renderEmpty:ra,getPrefixCls:aa,getPopupContainer:or}=te.useContext(Er.E_),la=(0,Nr.Z)(Lt),Ar=Object.assign(Object.assign({},yr.Table),bn),Jr=It||Ps,Xr=aa("table",ct),Da=aa("dropdown",Ot),Vn=Object.assign({childrenColumnName:tn,expandIconColumnIndex:qn},_n),{childrenColumnName:Wn="children"}=Vn,Kn=te.useMemo(()=>Jr.some(Tr=>Tr==null?void 0:Tr[Wn])?"nest":Tn||_n&&_n.expandedRowRender?"row":null,[Jr]),Nn={body:te.useRef()},Ir=te.useMemo(()=>typeof Zt=="function"?Zt:Tr=>Tr==null?void 0:Tr[Zt],[Zt]),[Dn]=_i(Jr,Wn,Ir),nr={},Cr=function(Tr,Zr){let xa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ta,ja,Ma;const _a=Object.assign(Object.assign({},nr),Tr);xa&&((ta=nr.resetPagination)===null||ta===void 0||ta.call(nr),!((ja=_a.pagination)===null||ja===void 0)&&ja.current&&(_a.pagination.current=1),kt&&kt.onChange&&kt.onChange(1,(Ma=_a.pagination)===null||Ma===void 0?void 0:Ma.pageSize)),Sn&&Sn.scrollToFirstRowOnChange!==!1&&Nn.body.current&&(0,Sa.Z)(0,{getContainer:()=>Nn.body.current}),cn==null||cn(_a.pagination,_a.filters,_a.sorter,{currentDataSource:ti($o(Jr,_a.sorterStates,Wn),_a.filterStates),action:Zr})},xr=(Tr,Zr)=>{Cr({sorter:Tr,sorterStates:Zr},"sort",!1)},[Ta,Pa,Qa,ua]=Qi({prefixCls:Xr,mergedColumns:Un,onSorterChange:xr,sortDirections:jn||["ascend","descend"],tableLocale:Ar,showSorterTooltip:mn}),Za=te.useMemo(()=>$o(Jr,Pa,Wn),[Jr,Pa]);nr.sorter=ua(),nr.sorterStates=Pa;const ca=(Tr,Zr)=>{Cr({filters:Tr,filterStates:Zr},"filter",!0)},[Ba,mo,Br]=Mi({prefixCls:Xr,locale:Ar,dropdownPrefixCls:Da,mergedColumns:Un,onFilterChange:ca,getPopupContainer:nn||or}),_r=ti(Za,mo);nr.filters=Br,nr.filterStates=mo;const qr=te.useMemo(()=>{const Tr={};return Object.keys(Br).forEach(Zr=>{Br[Zr]!==null&&(Tr[Zr]=Br[Zr])}),Object.assign(Object.assign({},Qa),{filters:Tr})},[Qa,Br]),[fa]=qi(qr),ga=(Tr,Zr)=>{Cr({pagination:Object.assign(Object.assign({},nr.pagination),{current:Tr,pageSize:Zr})},"paginate")},[Sr,Ia]=Ui(_r.length,ga,kt);nr.pagination=kt===!1?{}:Gi(Sr,kt),nr.resetPagination=Ia;const Oa=te.useMemo(()=>{if(kt===!1||!Sr.pageSize)return _r;const{current:Tr=1,total:Zr,pageSize:xa=ri}=Sr;return _r.lengthxa?_r.slice((Tr-1)*xa,Tr*xa):_r:_r.slice((Tr-1)*xa,Tr*xa)},[!!kt,_r,Sr&&Sr.current,Sr&&Sr.pageSize,Sr&&Sr.total]),[Ga,eo]=Hi({prefixCls:Xr,data:_r,pageData:Oa,getRowKey:Ir,getRecordByKey:Dn,expandType:Kn,childrenColumnName:Wn,locale:Ar,getPopupContainer:nn||or},Ft),qa=(Tr,Zr,xa)=>{let ta;return typeof Kt=="function"?ta=Pe()(Kt(Tr,Zr,xa)):ta=Pe()(Kt),Pe()({[`${Xr}-row-selected`]:eo.has(Ir(Tr,Zr))},ta)};Vn.__PARENT_RENDER_ICON__=Vn.expandIcon,Vn.expandIcon=Vn.expandIcon||Mn||An(Ar),Kn==="nest"&&Vn.expandIconColumnIndex===void 0?Vn.expandIconColumnIndex=Ft?1:0:Vn.expandIconColumnIndex>0&&Ft&&(Vn.expandIconColumnIndex-=1),typeof Vn.indentSize!="number"&&(Vn.indentSize=typeof ar=="number"?ar:15);const wo=te.useCallback(Tr=>fa(Ga(Ba(Ta(Tr)))),[Ta,Ba,Ga]);let oo,Ha;if(kt!==!1&&(Sr!=null&&Sr.total)){let Tr;Sr.size?Tr=Sr.size:Tr=la==="small"||la==="middle"?"small":void 0;const Zr=ja=>te.createElement(so.Z,Object.assign({},Sr,{className:Pe()(`${Xr}-pagination ${Xr}-pagination-${ja}`,Sr.className),size:Tr})),xa=Ur==="rtl"?"left":"right",{position:ta}=Sr;if(ta!==null&&Array.isArray(ta)){const ja=ta.find(io=>io.includes("top")),Ma=ta.find(io=>io.includes("bottom")),_a=ta.every(io=>`${io}`=="none");!ja&&!Ma&&!_a&&(Ha=Zr(xa)),ja&&(oo=Zr(ja.toLowerCase().replace("top",""))),Ma&&(Ha=Zr(Ma.toLowerCase().replace("bottom","")))}else Ha=Zr(xa)}let Ra;typeof vn=="boolean"?Ra={spinning:vn}:typeof vn=="object"&&(Ra=Object.assign({spinning:!0},vn));const[Fa,ma]=bs(Xr),[,ea]=(0,hn.Z)(),to=Pe()(`${Xr}-wrapper`,Or==null?void 0:Or.className,{[`${Xr}-wrapper-rtl`]:Ur==="rtl"},gt,ht,ma),po=Object.assign(Object.assign({},Or==null?void 0:Or.style),vt),uo=bn&&bn.emptyText||(ra==null?void 0:ra("Table"))||te.createElement(Gr.Z,{componentName:"Table"}),no=Cn?ts:es,Lo={},Go=te.useMemo(()=>{const{fontSize:Tr,lineHeight:Zr,padding:xa,paddingXS:ta,paddingSM:ja}=ea,Ma=Math.floor(Tr*Zr);switch(la){case"large":return xa*2+Ma;case"small":return ta*2+Ma;default:return ja*2+Ma}},[ea,la]);return Cn&&(Lo.listItemHeight=Go),Fa(te.createElement("div",{ref:qe,className:to,style:po},te.createElement(Rn.Z,Object.assign({spinning:!1},Ra),oo,te.createElement(no,Object.assign({},Lo,pr,{columns:Un,direction:Ur,expandable:Vn,prefixCls:Xr,className:Pe()({[`${Xr}-middle`]:la==="middle",[`${Xr}-small`]:la==="small",[`${Xr}-bordered`]:At,[`${Xr}-empty`]:Jr.length===0}),data:Oa,rowKey:Ir,rowClassName:qa,emptyText:uo,internalHooks:nt,internalRefs:Nn,transformColumns:wo})),Ha)))};var xs=te.forwardRef(ws);const Es=(He,qe)=>{const ct=te.useRef(0);return ct.current+=1,te.createElement(xs,Object.assign({},He,{ref:qe,_renderTimes:ct.current}))},ao=te.forwardRef(Es);ao.SELECTION_COLUMN=lo,ao.EXPAND_COLUMN=Be,ao.SELECTION_ALL=Bo,ao.SELECTION_INVERT=Ro,ao.SELECTION_NONE=Mo,ao.Column=wr,ao.ColumnGroup=ia,ao.Summary=we;var Cs=ao,Ts=Cs},17574:function(Ct,bt,Oe){"use strict";Oe.d(bt,{default:function(){return Me}});var Be=Oe(23130),nt=Oe(26407),x=Oe(52671),Se=Oe(8657),ve=Oe(92413),ae=Oe(59301),te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},le=te,de=Oe(7657),se=function(at,Je){return ae.createElement(de.Z,(0,ve.Z)({},at,{ref:Je,icon:le}))},ue=ae.forwardRef(se),oe=ue,ie=Oe(92310),ne=Oe.n(ie),a=Oe(35654),y=Oe(71430),E=Oe(36355),b=Oe(56082),z=Oe(62892),ee=Oe(20648);const re=4;function ce(it){const{dropPosition:at,dropLevelOffset:Je,prefixCls:Ye,indent:Ge,direction:_e="ltr"}=it,ke=_e==="ltr"?"left":"right",rt=_e==="ltr"?"right":"left",Ve={[ke]:-Je*Ge+re,[rt]:0};switch(at){case-1:Ve.top=-3;break;case 1:Ve.bottom=-3;break;default:Ve.bottom=-3,Ve[ke]=Ge+re;break}return ae.createElement("div",{style:Ve,className:`${Ye}-drop-indicator`})}var me=Oe(71997),fe=ae.forwardRef((it,at)=>{const{getPrefixCls:Je,direction:Ye,virtual:Ge,tree:_e}=ae.useContext(E.E_),{prefixCls:ke,className:rt,showIcon:Ve=!1,showLine:ut,switcherIcon:We,blockNode:Re=!1,children:Te,checkable:Ke=!1,selectable:Ee=!0,draggable:Ie,motion:Xe,style:Ze}=it,Fe=Je("tree",ke),xe=Je(),Ce=Xe!=null?Xe:Object.assign(Object.assign({},(0,z.Z)(xe)),{motionAppear:!1}),we=Object.assign(Object.assign({},it),{checkable:Ke,selectable:Ee,showIcon:Ve,motion:Ce,blockNode:Re,showLine:!!ut,dropIndicatorRender:ce}),[je,Ue]=(0,ee.ZP)(Fe),ot=ae.useMemo(()=>{if(!Ie)return!1;let st={};switch(typeof Ie){case"function":st.nodeDraggable=Ie;break;case"object":st=Object.assign({},Ie);break;default:break}return st.icon!==!1&&(st.icon=st.icon||ae.createElement(b.Z,null)),st},[Ie]),$e=st=>ae.createElement(me.Z,{prefixCls:Fe,switcherIcon:We,treeNodeProps:st,showLine:ut});return je(ae.createElement(Be.Z,Object.assign({itemHeight:20,ref:at,virtual:Ge},we,{style:Object.assign(Object.assign({},_e==null?void 0:_e.style),Ze),prefixCls:Fe,className:ne()({[`${Fe}-icon-hide`]:!Ve,[`${Fe}-block-node`]:Re,[`${Fe}-unselectable`]:!Ee,[`${Fe}-rtl`]:Ye==="rtl"},_e==null?void 0:_e.className,rt,Ue),direction:Ye,checkable:Ke&&ae.createElement("span",{className:`${Fe}-checkbox-inner`}),selectable:Ee,switcherIcon:$e,draggable:ot}),Te))}),pe;(function(it){it[it.None=0]="None",it[it.Start=1]="Start",it[it.End=2]="End"})(pe||(pe={}));function ge(it,at){function Je(Ye){const{key:Ge,children:_e}=Ye;at(Ge,Ye)!==!1&&ge(_e||[],at)}it.forEach(Je)}function ye(it){let{treeData:at,expandedKeys:Je,startKey:Ye,endKey:Ge}=it;const _e=[];let ke=pe.None;if(Ye&&Ye===Ge)return[Ye];if(!Ye||!Ge)return[];function rt(Ve){return Ve===Ye||Ve===Ge}return ge(at,Ve=>{if(ke===pe.End)return!1;if(rt(Ve)){if(_e.push(Ve),ke===pe.None)ke=pe.Start;else if(ke===pe.Start)return ke=pe.End,!1}else ke===pe.Start&&_e.push(Ve);return Je.includes(Ve)}),_e}function be(it,at){const Je=(0,nt.Z)(at),Ye=[];return ge(it,(Ge,_e)=>{const ke=Je.indexOf(Ge);return ke!==-1&&(Ye.push(_e),Je.splice(ke,1)),!!Je.length}),Ye}var Ae=function(it,at){var Je={};for(var Ye in it)Object.prototype.hasOwnProperty.call(it,Ye)&&at.indexOf(Ye)<0&&(Je[Ye]=it[Ye]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ye=Object.getOwnPropertySymbols(it);Ge{var{defaultExpandAll:Je,defaultExpandParent:Ye,defaultExpandedKeys:Ge}=it,_e=Ae(it,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const ke=ae.useRef(),rt=ae.useRef(),Ve=()=>{const{keyEntities:ot}=(0,y.I8)(Le(_e));let $e;return Je?$e=Object.keys(ot):Ye?$e=(0,a.r7)(_e.expandedKeys||Ge||[],ot):$e=_e.expandedKeys||Ge,$e},[ut,We]=ae.useState(_e.selectedKeys||_e.defaultSelectedKeys||[]),[Re,Te]=ae.useState(()=>Ve());ae.useEffect(()=>{"selectedKeys"in _e&&We(_e.selectedKeys)},[_e.selectedKeys]),ae.useEffect(()=>{"expandedKeys"in _e&&Te(_e.expandedKeys)},[_e.expandedKeys]);const Ke=(ot,$e)=>{var st;return"expandedKeys"in _e||Te(ot),(st=_e.onExpand)===null||st===void 0?void 0:st.call(_e,ot,$e)},Ee=(ot,$e)=>{var st;const{multiple:St}=_e,{node:ft,nativeEvent:yt}=$e,{key:lt=""}=ft,pt=Le(_e),tt=Object.assign(Object.assign({},$e),{selected:!0}),Qe=(yt==null?void 0:yt.ctrlKey)||(yt==null?void 0:yt.metaKey),dt=yt==null?void 0:yt.shiftKey;let mt;St&&Qe?(mt=ot,ke.current=lt,rt.current=mt,tt.selectedNodes=be(pt,mt)):St&&dt?(mt=Array.from(new Set([].concat((0,nt.Z)(rt.current||[]),(0,nt.Z)(ye({treeData:pt,expandedKeys:Re,startKey:lt,endKey:ke.current}))))),tt.selectedNodes=be(pt,mt)):(mt=[lt],ke.current=lt,rt.current=mt,tt.selectedNodes=be(pt,mt)),(st=_e.onSelect)===null||st===void 0||st.call(_e,mt,tt),"selectedKeys"in _e||We(mt)},{getPrefixCls:Ie,direction:Xe}=ae.useContext(E.E_),{prefixCls:Ze,className:Fe,showIcon:xe=!0,expandAction:Ce="click"}=_e,we=Ae(_e,["prefixCls","className","showIcon","expandAction"]),je=Ie("tree",Ze),Ue=ne()(`${je}-directory`,{[`${je}-directory-rtl`]:Xe==="rtl"},Fe);return ae.createElement(fe,Object.assign({icon:Pe,ref:at,blockNode:!0},we,{showIcon:xe,expandAction:Ce,prefixCls:je,className:Ue,expandedKeys:Re,selectedKeys:ut,onSelect:Ee,onExpand:Ke}))};var ze=ae.forwardRef(Ne);const et=fe;et.DirectoryTree=ze,et.TreeNode=Be.O;var Me=et},20648:function(Ct,bt,Oe){"use strict";Oe.d(bt,{TM:function(){return ie},Yk:function(){return oe}});var Be=Oe(93083),nt=Oe(98447),x=Oe(17313),Se=Oe(8378),ve=Oe(37613),ae=Oe(83116);const te=new Be.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),le=(ne,a)=>({[`.${ne}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),de=(ne,a)=>({[`.${ne}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),se=(ne,a)=>{const{treeCls:y,treeNodeCls:E,treeNodePadding:b,titleHeight:z,nodeSelectedBg:ee,nodeHoverBg:re}=a,ce=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,x.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,x.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${E}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:te,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${E}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,x.oN)(a)),[`&:not(${E}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${E}:hover &`]:{opacity:.45}},[`&${E}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},le(ne,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:ce},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${y}-node-selected`]:{backgroundColor:ee},[`${y}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},de(ne,a)),[`${E}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${E}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},ue=ne=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:E,directoryNodeSelectedBg:b,directoryNodeSelectedColor:z}=ne;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,transition:`background-color ${ne.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ne.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${ne.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${a}-switcher`]:{color:z},[`${a}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},oe=(ne,a)=>{const y=`.${ne}`,E=`${y}-treenode`,b=a.paddingXS/2,z=(0,ve.TS)(a,{treeCls:y,treeNodeCls:E,treeNodePadding:b});return[se(ne,z),ue(z)]},ie=ne=>{const{controlHeightSM:a}=ne;return{titleHeight:a,nodeHoverBg:ne.controlItemBgHover,nodeSelectedBg:ne.controlItemBgActive}};bt.ZP=(0,ae.Z)("Tree",(ne,a)=>{let{prefixCls:y}=a;return[{[ne.componentCls]:(0,nt.C2)(`${y}-checkbox`,ne)},oe(y,ne),(0,Se.Z)(ne)]},ne=>{const{colorTextLightSolid:a,colorPrimary:y}=ne;return Object.assign(Object.assign({},ie(ne)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},71997:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return E}});var Be=Oe(92413),nt=Oe(59301),x={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Se=x,ve=Oe(7657),ae=function(z,ee){return nt.createElement(ve.Z,(0,Be.Z)({},z,{ref:ee,icon:Se}))},te=nt.forwardRef(ae),le=te,de=Oe(52671),se=Oe(58617),ue=Oe(15075),oe=Oe(43531),ie=Oe(92310),ne=Oe.n(ie),a=Oe(92343),E=b=>{const{prefixCls:z,switcherIcon:ee,treeNodeProps:re,showLine:ce}=b,{isLeaf:me,expanded:he,loading:fe}=re;if(fe)return nt.createElement(se.Z,{className:`${z}-switcher-loading-icon`});let pe;if(ce&&typeof ce=="object"&&(pe=ce.showLeafIcon),me){if(!ce)return null;if(typeof pe!="boolean"&&pe){const be=typeof pe=="function"?pe(re):pe,Ae=`${z}-switcher-line-custom-icon`;return(0,a.l$)(be)?(0,a.Tm)(be,{className:ne()(be.props.className||"",Ae)}):be}return pe?nt.createElement(de.Z,{className:`${z}-switcher-line-icon`}):nt.createElement("span",{className:`${z}-switcher-leaf-line`})}const ge=`${z}-switcher-icon`,ye=typeof ee=="function"?ee(re):ee;return(0,a.l$)(ye)?(0,a.Tm)(ye,{className:ne()(ye.props.className||"",ge)}):ye!==void 0?ye:ce?he?nt.createElement(ue.Z,{className:`${z}-switcher-line-icon`}):nt.createElement(oe.Z,{className:`${z}-switcher-line-icon`}):nt.createElement(le,{className:ge})}},54580:function(Ct,bt,Oe){"use strict";Oe.d(bt,{default:function(){return ur}});var Be=Oe(59301),nt=Oe(26407),x=Oe(92310),Se=Oe.n(x),ve=Oe(92413),ae=Oe(6909),te=Oe(4771),le=Oe(9427),de=Oe(25440),se=Oe(400),ue=Oe(37061),oe=Oe(85195),ie=Oe(39559),ne=Oe(20569),a=Oe(26112);function y(wt,Nt){var Mt="cannot ".concat(wt.method," ").concat(wt.action," ").concat(Nt.status,"'"),_t=new Error(Mt);return _t.status=Nt.status,_t.method=wt.method,_t.url=wt.action,_t}function E(wt){var Nt=wt.responseText||wt.response;if(!Nt)return Nt;try{return JSON.parse(Nt)}catch(Mt){return Nt}}function b(wt){var Nt=new XMLHttpRequest;wt.onProgress&&Nt.upload&&(Nt.upload.onprogress=function(Yt){Yt.total>0&&(Yt.percent=Yt.loaded/Yt.total*100),wt.onProgress(Yt)});var Mt=new FormData;wt.data&&Object.keys(wt.data).forEach(function(Xt){var Yt=wt.data[Xt];if(Array.isArray(Yt)){Yt.forEach(function(Gt){Mt.append("".concat(Xt,"[]"),Gt)});return}Mt.append(Xt,Yt)}),wt.file instanceof Blob?Mt.append(wt.filename,wt.file,wt.file.name):Mt.append(wt.filename,wt.file),Nt.onerror=function(Yt){wt.onError(Yt)},Nt.onload=function(){return Nt.status<200||Nt.status>=300?wt.onError(y(wt,Nt),E(Nt)):wt.onSuccess(E(Nt),Nt)},Nt.open(wt.method,wt.action,!0),wt.withCredentials&&"withCredentials"in Nt&&(Nt.withCredentials=!0);var _t=wt.headers||{};return _t["X-Requested-With"]!==null&&Nt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(_t).forEach(function(Xt){_t[Xt]!==null&&Nt.setRequestHeader(Xt,_t[Xt])}),Nt.send(Mt),{abort:function(){Nt.abort()}}}var z=+new Date,ee=0;function re(){return"rc-upload-".concat(z,"-").concat(++ee)}var ce=Oe(48736),me=function(wt,Nt){if(wt&&Nt){var Mt=Array.isArray(Nt)?Nt:Nt.split(","),_t=wt.name||"",Xt=wt.type||"",Yt=Xt.replace(/\/.*$/,"");return Mt.some(function(Gt){var Rt=Gt.trim();if(/^\*(\/\*)?$/.test(Gt))return!0;if(Rt.charAt(0)==="."){var pn=_t.toLowerCase(),En=Rt.toLowerCase(),Bt=[En];return(En===".jpg"||En===".jpeg")&&(Bt=[".jpg",".jpeg"]),Bt.some(function(hr){return pn.endsWith(hr)})}return/\/\*$/.test(Rt)?Yt===Rt.replace(/\/.*$/,""):Xt===Rt?!0:/^\w+$/.test(Rt)?((0,ce.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Rt,"'.Skip for check.")),!0):!1})}return!0};function he(wt,Nt){var Mt=wt.createReader(),_t=[];function Xt(){Mt.readEntries(function(Yt){var Gt=Array.prototype.slice.apply(Yt);_t=_t.concat(Gt);var Rt=!Gt.length;Rt?Nt(_t):Xt()})}Xt()}var fe=function(Nt,Mt,_t){var Xt=function Yt(Gt,Rt){Gt&&(Gt.path=Rt||"",Gt.isFile?Gt.file(function(pn){_t(pn)&&(Gt.fullPath&&!pn.webkitRelativePath&&(Object.defineProperties(pn,{webkitRelativePath:{writable:!0}}),pn.webkitRelativePath=Gt.fullPath.replace(/^\//,""),Object.defineProperties(pn,{webkitRelativePath:{writable:!1}})),Mt([pn]))}):Gt.isDirectory&&he(Gt,function(pn){pn.forEach(function(En){Yt(En,"".concat(Rt).concat(Gt.name,"/"))})}))};Nt.forEach(function(Yt){Xt(Yt.webkitGetAsEntry())})},pe=fe,ge=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],ye=function(wt){(0,le.Z)(Mt,wt);var Nt=(0,de.Z)(Mt);function Mt(){var _t;(0,ae.Z)(this,Mt);for(var Xt=arguments.length,Yt=new Array(Xt),Gt=0;Gt{let{uid:Yt}=Xt;return Yt===wt.uid});return _t===-1?Mt.push(wt):Mt[_t]=wt,Mt}function st(wt,Nt){const Mt=wt.uid!==void 0?"uid":"name";return Nt.filter(_t=>_t[Mt]===wt[Mt])[0]}function St(wt,Nt){const Mt=wt.uid!==void 0?"uid":"name",_t=Nt.filter(Xt=>Xt[Mt]!==wt[Mt]);return _t.length===Nt.length?null:_t}const ft=function(){const Nt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),_t=Nt[Nt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(_t)||[""])[0]},yt=wt=>wt.indexOf("image/")===0,lt=wt=>{if(wt.type&&!wt.thumbUrl)return yt(wt.type);const Nt=wt.thumbUrl||wt.url||"",Mt=ft(Nt);return/^data:image\//.test(Nt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Mt)?!0:!(/^data:/.test(Nt)||Mt)},pt=200;function tt(wt){return new Promise(Nt=>{if(!wt.type||!yt(wt.type)){Nt("");return}const Mt=document.createElement("canvas");Mt.width=pt,Mt.height=pt,Mt.style.cssText=`position: fixed; left: 0; top: 0; width: ${pt}px; height: ${pt}px; z-index: 9999; display: none;`,document.body.appendChild(Mt);const _t=Mt.getContext("2d"),Xt=new Image;if(Xt.onload=()=>{const{width:Yt,height:Gt}=Xt;let Rt=pt,pn=pt,En=0,Bt=0;Yt>Gt?(pn=Gt*(pt/Yt),Bt=-(pn-Rt)/2):(Rt=Yt*(pt/Gt),En=-(Rt-pn)/2),_t.drawImage(Xt,En,Bt,Rt,pn);const hr=Mt.toDataURL();document.body.removeChild(Mt),window.URL.revokeObjectURL(Xt.src),Nt(hr)},Xt.crossOrigin="anonymous",wt.type.startsWith("image/svg+xml")){const Yt=new FileReader;Yt.onload=()=>{Yt.result&&(Xt.src=Yt.result)},Yt.readAsDataURL(wt)}else if(wt.type.startsWith("image/gif")){const Yt=new FileReader;Yt.onload=()=>{Yt.result&&Nt(Yt.result)},Yt.readAsDataURL(wt)}else Xt.src=window.URL.createObjectURL(wt)})}var Qe=Oe(26227),dt=Oe(41464),mt=Oe(15277),Pt=Oe(93948),jt=Oe(6848),$t=Be.forwardRef((wt,Nt)=>{let{prefixCls:Mt,className:_t,style:Xt,locale:Yt,listType:Gt,file:Rt,items:pn,progress:En,iconRender:Bt,actionIconRender:hr,itemRender:Pr,isImgUrl:Rr,showPreviewIcon:Kr,showRemoveIcon:Qt,showDownloadIcon:sn,previewIcon:Gn,removeIcon:yn,downloadIcon:dr,onPreview:cr,onDownload:Qn,onClose:Fr}=wt;var jr,Ea;const{status:ha}=Rt,[va,za]=Be.useState(ha);Be.useEffect(()=>{ha!=="removed"&&za(ha)},[ha]);const[Ua,Ka]=Be.useState(!1);Be.useEffect(()=>{const Er=setTimeout(()=>{Ka(!0)},300);return()=>{clearTimeout(Er)}},[]);const ka=Bt(Rt);let pa=Be.createElement("div",{className:`${Mt}-icon`},ka);if(Gt==="picture"||Gt==="picture-card"||Gt==="picture-circle")if(va==="uploading"||!Rt.thumbUrl&&!Rt.url){const Er=Se()(`${Mt}-list-item-thumbnail`,{[`${Mt}-list-item-file`]:va!=="uploading"});pa=Be.createElement("div",{className:Er},ka)}else{const Er=Rr!=null&&Rr(Rt)?Be.createElement("img",{src:Rt.thumbUrl||Rt.url,alt:Rt.name,className:`${Mt}-list-item-image`,crossOrigin:Rt.crossOrigin}):ka,Gr=Se()(`${Mt}-list-item-thumbnail`,{[`${Mt}-list-item-file`]:Rr&&!Rr(Rt)});pa=Be.createElement("a",{className:Gr,onClick:Nr=>cr(Rt,Nr),href:Rt.url||Rt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Er)}const Vr=Se()(`${Mt}-list-item`,`${Mt}-list-item-${va}`),wa=typeof Rt.linkProps=="string"?JSON.parse(Rt.linkProps):Rt.linkProps,La=Qt?hr((typeof yn=="function"?yn(Rt):yn)||Be.createElement(Qe.Z,null),()=>Fr(Rt),Mt,Yt.removeFile):null,Na=sn&&va==="done"?hr((typeof dr=="function"?dr(Rt):dr)||Be.createElement(dt.Z,null),()=>Qn(Rt),Mt,Yt.downloadFile):null,Ca=Gt!=="picture-card"&&Gt!=="picture-circle"&&Be.createElement("span",{key:"download-delete",className:Se()(`${Mt}-list-item-actions`,{picture:Gt==="picture"})},Na,La),ya=Se()(`${Mt}-list-item-name`),On=Rt.url?[Be.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ya,title:Rt.name},wa,{href:Rt.url,onClick:Er=>cr(Rt,Er)}),Rt.name),Ca]:[Be.createElement("span",{key:"view",className:ya,onClick:Er=>cr(Rt,Er),title:Rt.name},Rt.name),Ca],gn={pointerEvents:"none",opacity:.5},vr=Kr?Be.createElement("a",{href:Rt.url||Rt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Rt.url||Rt.thumbUrl?void 0:gn,onClick:Er=>cr(Rt,Er),title:Yt.previewFile},typeof Gn=="function"?Gn(Rt):Gn||Be.createElement(mt.Z,null)):null,fr=(Gt==="picture-card"||Gt==="picture-circle")&&va!=="uploading"&&Be.createElement("span",{className:`${Mt}-list-item-actions`},vr,va==="done"&&Na,La),{getPrefixCls:wr}=Be.useContext(et.E_),$r=wr(),ia=Be.createElement("div",{className:Vr},pa,On,fr,Ua&&Be.createElement(xe.default,{motionName:`${$r}-fade`,visible:va==="uploading",motionDeadline:2e3},Er=>{let{className:Gr}=Er;const Nr="percent"in Rt?Be.createElement(Pt.Z,Object.assign({},En,{type:"line",percent:Rt.percent,"aria-label":Rt["aria-label"],"aria-labelledby":Rt["aria-labelledby"]})):null;return Be.createElement("div",{className:Se()(`${Mt}-list-item-progress`,Gr)},Nr)})),$a=Rt.response&&typeof Rt.response=="string"?Rt.response:((jr=Rt.error)===null||jr===void 0?void 0:jr.statusText)||((Ea=Rt.error)===null||Ea===void 0?void 0:Ea.message)||Yt.uploadError,Sa=va==="error"?Be.createElement(jt.Z,{title:$a,getPopupContainer:Er=>Er.parentNode},ia):ia;return Be.createElement("div",{className:Se()(`${Mt}-list-item-container`,_t),style:Xt,ref:Nt},Pr?Pr(Sa,Rt,pn,{download:Qn.bind(null,Rt),preview:cr.bind(null,Rt),remove:Fr.bind(null,Rt)}):Sa)});const qt=(wt,Nt)=>{const{listType:Mt="text",previewFile:_t=tt,onPreview:Xt,onDownload:Yt,onRemove:Gt,locale:Rt,iconRender:pn,isImageUrl:En=lt,prefixCls:Bt,items:hr=[],showPreviewIcon:Pr=!0,showRemoveIcon:Rr=!0,showDownloadIcon:Kr=!1,removeIcon:Qt,previewIcon:sn,downloadIcon:Gn,progress:yn={size:[-1,2],showInfo:!1},appendAction:dr,appendActionVisible:cr=!0,itemRender:Qn,disabled:Fr}=wt,jr=(0,Ce.Z)(),[Ea,ha]=Be.useState(!1);Be.useEffect(()=>{Mt!=="picture"&&Mt!=="picture-card"&&Mt!=="picture-circle"||(hr||[]).forEach(gn=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(gn.originFileObj instanceof File||gn.originFileObj instanceof Blob)||gn.thumbUrl!==void 0||(gn.thumbUrl="",_t&&_t(gn.originFileObj).then(vr=>{gn.thumbUrl=vr||"",jr()}))})},[Mt,hr,_t]),Be.useEffect(()=>{ha(!0)},[]);const va=(gn,vr)=>{if(Xt)return vr==null||vr.preventDefault(),Xt(gn)},za=gn=>{typeof Yt=="function"?Yt(gn):gn.url&&window.open(gn.url)},Ua=gn=>{Gt==null||Gt(gn)},Ka=gn=>{if(pn)return pn(gn,Mt);const vr=gn.status==="uploading",fr=En&&En(gn)?Be.createElement(Fe,null):Be.createElement(rt,null);let wr=vr?Be.createElement(Ve.Z,null):Be.createElement(Ke,null);return Mt==="picture"?wr=vr?Be.createElement(Ve.Z,null):fr:(Mt==="picture-card"||Mt==="picture-circle")&&(wr=vr?Rt.uploading:fr),wr},ka=(gn,vr,fr,wr)=>{const $r={type:"text",size:"small",title:wr,onClick:ia=>{vr(),(0,je.l$)(gn)&&gn.props.onClick&&gn.props.onClick(ia)},className:`${fr}-list-item-action`,disabled:Fr};if((0,je.l$)(gn)){const ia=(0,je.Tm)(gn,Object.assign(Object.assign({},gn.props),{onClick:()=>{}}));return Be.createElement(Ue.ZP,Object.assign({},$r,{icon:ia}))}return Be.createElement(Ue.ZP,Object.assign({},$r),Be.createElement("span",null,gn))};Be.useImperativeHandle(Nt,()=>({handlePreview:va,handleDownload:za}));const{getPrefixCls:pa}=Be.useContext(et.E_),Vr=pa("upload",Bt),wa=pa(),La=Se()(`${Vr}-list`,`${Vr}-list-${Mt}`),Na=(0,nt.Z)(hr.map(gn=>({key:gn.uid,file:gn})));let ya={motionDeadline:2e3,motionName:`${Vr}-${Mt==="picture-card"||Mt==="picture-circle"?"animate-inline":"animate"}`,keys:Na,motionAppear:Ea};const On=Be.useMemo(()=>{const gn=Object.assign({},(0,we.Z)(wa));return delete gn.onAppearEnd,delete gn.onEnterEnd,delete gn.onLeaveEnd,gn},[wa]);return Mt!=="picture-card"&&Mt!=="picture-circle"&&(ya=Object.assign(Object.assign({},On),ya)),Be.createElement("div",{className:La},Be.createElement(xe.CSSMotionList,Object.assign({},ya,{component:!1}),gn=>{let{key:vr,file:fr,className:wr,style:$r}=gn;return Be.createElement($t,{key:vr,locale:Rt,prefixCls:Vr,className:wr,style:$r,file:fr,items:hr,progress:yn,listType:Mt,isImgUrl:En,showPreviewIcon:Pr,showRemoveIcon:Rr,showDownloadIcon:Kr,removeIcon:Qt,previewIcon:sn,downloadIcon:Gn,iconRender:Ka,actionIconRender:ka,itemRender:Qn,onPreview:va,onDownload:za,onClose:Ua})}),dr&&Be.createElement(xe.default,Object.assign({},ya,{visible:cr,forceRender:!0}),gn=>{let{className:vr,style:fr}=gn;return(0,je.Tm)(dr,wr=>({className:Se()(wr.className,vr),style:Object.assign(Object.assign(Object.assign({},fr),{pointerEvents:vr?"none":void 0}),wr.style)}))}))};var Jt=Be.forwardRef(qt),en=Oe(17313),Pn=Oe(8378),In=Oe(83116),an=Oe(37613),Fn=wt=>{const{componentCls:Nt,iconCls:Mt}=wt;return{[`${Nt}-wrapper`]:{[`${Nt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:wt.colorFillAlter,border:`${wt.lineWidth}px dashed ${wt.colorBorder}`,borderRadius:wt.borderRadiusLG,cursor:"pointer",transition:`border-color ${wt.motionDurationSlow}`,[Nt]:{padding:`${wt.padding}px 0`},[`${Nt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Nt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Nt}-disabled):hover`]:{borderColor:wt.colorPrimaryHover},[`p${Nt}-drag-icon`]:{marginBottom:wt.margin,[Mt]:{color:wt.colorPrimary,fontSize:wt.uploadThumbnailSize}},[`p${Nt}-text`]:{margin:`0 0 ${wt.marginXXS}px`,color:wt.colorTextHeading,fontSize:wt.fontSizeLG},[`p${Nt}-hint`]:{color:wt.colorTextDescription,fontSize:wt.fontSize},[`&${Nt}-disabled`]:{cursor:"not-allowed",[`p${Nt}-drag-icon ${Mt}, p${Nt}-text, p${Nt}-hint `]:{color:wt.colorTextDisabled}}}}}},Hn=wt=>{const{componentCls:Nt,antCls:Mt,iconCls:_t,fontSize:Xt,lineHeight:Yt}=wt,Gt=`${Nt}-list-item`,Rt=`${Gt}-actions`,pn=`${Gt}-action`,En=Math.round(Xt*Yt);return{[`${Nt}-wrapper`]:{[`${Nt}-list`]:Object.assign(Object.assign({},(0,en.dF)()),{lineHeight:wt.lineHeight,[Gt]:{position:"relative",height:wt.lineHeight*Xt,marginTop:wt.marginXS,fontSize:Xt,display:"flex",alignItems:"center",transition:`background-color ${wt.motionDurationSlow}`,"&:hover":{backgroundColor:wt.controlItemBgHover},[`${Gt}-name`]:Object.assign(Object.assign({},en.vS),{padding:`0 ${wt.paddingXS}px`,lineHeight:Yt,flex:"auto",transition:`all ${wt.motionDurationSlow}`}),[Rt]:{[pn]:{opacity:0},[`${pn}${Mt}-btn-sm`]:{height:En,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` ${pn}:focus-visible, &.picture ${pn} `]:{opacity:1},[_t]:{color:wt.actionsColor,transition:`all ${wt.motionDurationSlow}`},[`&:hover ${_t}`]:{color:wt.colorText}},[`${Nt}-icon ${_t}`]:{color:wt.colorTextDescription,fontSize:Xt},[`${Gt}-progress`]:{position:"absolute",bottom:-wt.uploadProgressOffset,width:"100%",paddingInlineStart:Xt+wt.paddingXS,fontSize:Xt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Gt}:hover ${pn}`]:{opacity:1,color:wt.colorText},[`${Gt}-error`]:{color:wt.colorError,[`${Gt}-name, ${Nt}-icon ${_t}`]:{color:wt.colorError},[Rt]:{[`${_t}, ${_t}:hover`]:{color:wt.colorError},[pn]:{opacity:1}}},[`${Nt}-list-item-container`]:{transition:`opacity ${wt.motionDurationSlow}, height ${wt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},tr=Oe(93083),lr=Oe(1950);const Ut=new tr.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),on=new tr.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var er=wt=>{const{componentCls:Nt}=wt,Mt=`${Nt}-animate-inline`;return[{[`${Nt}-wrapper`]:{[`${Mt}-appear, ${Mt}-enter, ${Mt}-leave`]:{animationDuration:wt.motionDurationSlow,animationTimingFunction:wt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Mt}-appear, ${Mt}-enter`]:{animationName:Ut},[`${Mt}-leave`]:{animationName:on}}},{[`${Nt}-wrapper`]:(0,lr.J$)(wt)},Ut,on]},fn=Oe(93398),zn=Oe(64993);const Et=wt=>{const{componentCls:Nt,iconCls:Mt,uploadThumbnailSize:_t,uploadProgressOffset:Xt}=wt,Yt=`${Nt}-list`,Gt=`${Yt}-item`;return{[`${Nt}-wrapper`]:{[` ${Yt}${Yt}-picture, ${Yt}${Yt}-picture-card, ${Yt}${Yt}-picture-circle `]:{[Gt]:{position:"relative",height:_t+wt.lineWidth*2+wt.paddingXS*2,padding:wt.paddingXS,border:`${wt.lineWidth}px ${wt.lineType} ${wt.colorBorder}`,borderRadius:wt.borderRadiusLG,"&:hover":{background:"transparent"},[`${Gt}-thumbnail`]:Object.assign(Object.assign({},en.vS),{width:_t,height:_t,lineHeight:`${_t+wt.paddingSM}px`,textAlign:"center",flex:"none",[Mt]:{fontSize:wt.fontSizeHeading2,color:wt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Gt}-progress`]:{bottom:Xt,width:`calc(100% - ${wt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:_t+wt.paddingXS}},[`${Gt}-error`]:{borderColor:wt.colorError,[`${Gt}-thumbnail ${Mt}`]:{[`svg path[fill='${fn.blue[0]}']`]:{fill:wt.colorErrorBg},[`svg path[fill='${fn.blue.primary}']`]:{fill:wt.colorError}}},[`${Gt}-uploading`]:{borderStyle:"dashed",[`${Gt}-name`]:{marginBottom:Xt}}},[`${Yt}${Yt}-picture-circle ${Gt}`]:{[`&, &::before, ${Gt}-thumbnail`]:{borderRadius:"50%"}}}}},Tt=wt=>{const{componentCls:Nt,iconCls:Mt,fontSizeLG:_t,colorTextLightSolid:Xt}=wt,Yt=`${Nt}-list`,Gt=`${Yt}-item`,Rt=wt.uploadPicCardSize;return{[` ${Nt}-wrapper${Nt}-picture-card-wrapper, ${Nt}-wrapper${Nt}-picture-circle-wrapper `]:Object.assign(Object.assign({},(0,en.dF)()),{display:"inline-block",width:"100%",[`${Nt}${Nt}-select`]:{width:Rt,height:Rt,marginInlineEnd:wt.marginXS,marginBottom:wt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:wt.colorFillAlter,border:`${wt.lineWidth}px dashed ${wt.colorBorder}`,borderRadius:wt.borderRadiusLG,cursor:"pointer",transition:`border-color ${wt.motionDurationSlow}`,[`> ${Nt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Nt}-disabled):hover`]:{borderColor:wt.colorPrimary}},[`${Yt}${Yt}-picture-card, ${Yt}${Yt}-picture-circle`]:{[`${Yt}-item-container`]:{display:"inline-block",width:Rt,height:Rt,marginBlock:`0 ${wt.marginXS}px`,marginInline:`0 ${wt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Gt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${wt.paddingXS*2}px)`,height:`calc(100% - ${wt.paddingXS*2}px)`,backgroundColor:wt.colorBgMask,opacity:0,transition:`all ${wt.motionDurationSlow}`,content:'" "'}},[`${Gt}:hover`]:{[`&::before, ${Gt}-actions`]:{opacity:1}},[`${Gt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${wt.motionDurationSlow}`,[`${Mt}-eye, ${Mt}-download, ${Mt}-delete`]:{zIndex:10,width:_t,margin:`0 ${wt.marginXXS}px`,fontSize:_t,cursor:"pointer",transition:`all ${wt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Gt}-actions, ${Gt}-actions:hover`]:{[`${Mt}-eye, ${Mt}-download, ${Mt}-delete`]:{color:new zn.C(Xt).setAlpha(.65).toRgbString(),"&:hover":{color:Xt}}},[`${Gt}-thumbnail, ${Gt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Gt}-name`]:{display:"none",textAlign:"center"},[`${Gt}-file + ${Gt}-name`]:{position:"absolute",bottom:wt.margin,display:"block",width:`calc(100% - ${wt.paddingXS*2}px)`},[`${Gt}-uploading`]:{[`&${Gt}`]:{backgroundColor:wt.colorFillAlter},[`&::before, ${Mt}-eye, ${Mt}-download, ${Mt}-delete`]:{display:"none"}},[`${Gt}-progress`]:{bottom:wt.marginXL,width:`calc(100% - ${wt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Nt}-wrapper${Nt}-picture-circle-wrapper`]:{[`${Nt}${Nt}-select`]:{borderRadius:"50%"}}}};var zt=wt=>{const{componentCls:Nt}=wt;return{[`${Nt}-rtl`]:{direction:"rtl"}}};const dn=wt=>{const{componentCls:Nt,colorTextDisabled:Mt}=wt;return{[`${Nt}-wrapper`]:Object.assign(Object.assign({},(0,en.Wf)(wt)),{[Nt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Nt}-select`]:{display:"inline-block"},[`${Nt}-disabled`]:{color:Mt,cursor:"not-allowed"}})}};var ln=(0,In.Z)("Upload",wt=>{const{fontSizeHeading3:Nt,fontSize:Mt,lineHeight:_t,lineWidth:Xt,controlHeightLG:Yt}=wt,Gt=Math.round(Mt*_t),Rt=(0,an.TS)(wt,{uploadThumbnailSize:Nt*2,uploadProgressOffset:Gt/2+Xt,uploadPicCardSize:Yt*2.55});return[dn(Rt),Fn(Rt),Et(Rt),Tt(Rt),Hn(Rt),er(Rt),zt(Rt),(0,Pn.Z)(Rt)]},wt=>({actionsColor:wt.colorTextDescription})),ir=function(wt,Nt,Mt,_t){function Xt(Yt){return Yt instanceof Mt?Yt:new Mt(function(Gt){Gt(Yt)})}return new(Mt||(Mt=Promise))(function(Yt,Gt){function Rt(Bt){try{En(_t.next(Bt))}catch(hr){Gt(hr)}}function pn(Bt){try{En(_t.throw(Bt))}catch(hr){Gt(hr)}}function En(Bt){Bt.done?Yt(Bt.value):Xt(Bt.value).then(Rt,pn)}En((_t=_t.apply(wt,Nt||[])).next())})};const kn=`__LIST_IGNORE_${Date.now()}__`,wn=(wt,Nt)=>{const{fileList:Mt,defaultFileList:_t,onRemove:Xt,showUploadList:Yt=!0,listType:Gt="text",onPreview:Rt,onDownload:pn,onChange:En,onDrop:Bt,previewFile:hr,disabled:Pr,locale:Rr,iconRender:Kr,isImageUrl:Qt,progress:sn,prefixCls:Gn,className:yn,type:dr="select",children:cr,style:Qn,itemRender:Fr,maxCount:jr,data:Ea={},multiple:ha=!1,action:va="",accept:za="",supportServerRender:Ua=!0,rootClassName:Ka}=wt,ka=Be.useContext(Me.Z),pa=Pr!=null?Pr:ka,[Vr,wa]=(0,De.Z)(_t||[],{value:Mt,postState:gr=>gr!=null?gr:[]}),[La,Na]=Be.useState("drop"),Ca=Be.useRef(null);Be.useMemo(()=>{const gr=Date.now();(Mt||[]).forEach((Dr,Hr)=>{!Dr.uid&&!Object.isFrozen(Dr)&&(Dr.uid=`__AUTO__${gr}_${Hr}__`)})},[Mt]);const ya=(gr,Dr,Hr)=>{let Lr=(0,nt.Z)(Dr),Mr=!1;jr===1?Lr=Lr.slice(-1):jr&&(Mr=Lr.length>jr,Lr=Lr.slice(0,jr)),(0,ze.flushSync)(()=>{wa(Lr)});const sa={file:gr,fileList:Lr};Hr&&(sa.event=Hr),(!Mr||Lr.some(Wr=>Wr.uid===gr.uid))&&(0,ze.flushSync)(()=>{En==null||En(sa)})},On=(gr,Dr)=>ir(void 0,void 0,void 0,function*(){const{beforeUpload:Hr,transformFile:Lr}=wt;let Mr=gr;if(Hr){const sa=yield Hr(gr,Dr);if(sa===!1)return!1;if(delete gr[kn],sa===kn)return Object.defineProperty(gr,kn,{value:!0,configurable:!0}),!1;typeof sa=="object"&&sa&&(Mr=sa)}return Lr&&(Mr=yield Lr(Mr)),Mr}),gn=gr=>{const Dr=gr.filter(Mr=>!Mr.file[kn]);if(!Dr.length)return;const Hr=Dr.map(Mr=>ot(Mr.file));let Lr=(0,nt.Z)(Vr);Hr.forEach(Mr=>{Lr=$e(Mr,Lr)}),Hr.forEach((Mr,sa)=>{let Wr=Mr;if(Dr[sa].parsedFile)Mr.status="uploading";else{const{originFileObj:Ya}=Mr;let Ja;try{Ja=new File([Ya],Ya.name,{type:Ya.type})}catch(yo){Ja=new Blob([Ya],{type:Ya.type}),Ja.name=Ya.name,Ja.lastModifiedDate=new Date,Ja.lastModified=new Date().getTime()}Ja.uid=Mr.uid,Wr=Ja}ya(Wr,Lr)})},vr=(gr,Dr,Hr)=>{try{typeof gr=="string"&&(gr=JSON.parse(gr))}catch(sa){}if(!st(Dr,Vr))return;const Lr=ot(Dr);Lr.status="done",Lr.percent=100,Lr.response=gr,Lr.xhr=Hr;const Mr=$e(Lr,Vr);ya(Lr,Mr)},fr=(gr,Dr)=>{if(!st(Dr,Vr))return;const Hr=ot(Dr);Hr.status="uploading",Hr.percent=gr.percent;const Lr=$e(Hr,Vr);ya(Hr,Lr,gr)},wr=(gr,Dr,Hr)=>{if(!st(Hr,Vr))return;const Lr=ot(Hr);Lr.error=gr,Lr.response=Dr,Lr.status="error";const Mr=$e(Lr,Vr);ya(Lr,Mr)},$r=gr=>{let Dr;Promise.resolve(typeof Xt=="function"?Xt(gr):Xt).then(Hr=>{var Lr;if(Hr===!1)return;const Mr=St(gr,Vr);Mr&&(Dr=Object.assign(Object.assign({},gr),{status:"removed"}),Vr==null||Vr.forEach(sa=>{const Wr=Dr.uid!==void 0?"uid":"name";sa[Wr]===Dr[Wr]&&!Object.isFrozen(sa)&&(sa.status="removed")}),(Lr=Ca.current)===null||Lr===void 0||Lr.abort(Dr),ya(Dr,Mr))})},ia=gr=>{Na(gr.type),gr.type==="drop"&&(Bt==null||Bt(gr))};Be.useImperativeHandle(Nt,()=>({onBatchStart:gn,onSuccess:vr,onProgress:fr,onError:wr,fileList:Vr,upload:Ca.current}));const{getPrefixCls:$a,direction:Sa,upload:Er}=Be.useContext(et.E_),Gr=$a("upload",Gn),Nr=Object.assign(Object.assign({onBatchStart:gn,onError:wr,onProgress:fr,onSuccess:vr},wt),{data:Ea,multiple:ha,action:va,accept:za,supportServerRender:Ua,prefixCls:Gr,disabled:pa,beforeUpload:On,onChange:void 0});delete Nr.className,delete Nr.style,(!cr||pa)&&delete Nr.id;const[Va,ro]=ln(Gr),[so]=(0,it.Z)("Upload",at.Z.Upload),{showRemoveIcon:Rn,showPreviewIcon:hn,showDownloadIcon:xn,removeIcon:An,previewIcon:br,downloadIcon:zr}=typeof Yt=="boolean"?{}:Yt,na=(gr,Dr)=>Yt?Be.createElement(Jt,{prefixCls:Gr,listType:Gt,items:Vr,previewFile:hr,onPreview:Rt,onDownload:pn,onRemove:$r,showRemoveIcon:!pa&&Rn,showPreviewIcon:hn,showDownloadIcon:xn,removeIcon:An,previewIcon:br,downloadIcon:zr,iconRender:Kr,locale:Object.assign(Object.assign({},so),Rr),isImageUrl:Qt,progress:sn,appendAction:gr,appendActionVisible:Dr,itemRender:Fr,disabled:pa}):gr,Yr=Se()(`${Gr}-wrapper`,yn,Ka,ro,Er==null?void 0:Er.className,{[`${Gr}-rtl`]:Sa==="rtl",[`${Gr}-picture-card-wrapper`]:Gt==="picture-card",[`${Gr}-picture-circle-wrapper`]:Gt==="picture-circle"}),da=Object.assign(Object.assign({},Er==null?void 0:Er.style),Qn);if(dr==="drag"){const gr=Se()(ro,Gr,`${Gr}-drag`,{[`${Gr}-drag-uploading`]:Vr.some(Dr=>Dr.status==="uploading"),[`${Gr}-drag-hover`]:La==="dragover",[`${Gr}-disabled`]:pa,[`${Gr}-rtl`]:Sa==="rtl"});return Va(Be.createElement("span",{className:Yr},Be.createElement("div",{className:gr,style:da,onDrop:ia,onDragOver:ia,onDragLeave:ia},Be.createElement(Ne,Object.assign({},Nr,{ref:Ca,className:`${Gr}-btn`}),Be.createElement("div",{className:`${Gr}-drag-container`},cr))),na()))}const oa=Se()(Gr,`${Gr}-select`,{[`${Gr}-disabled`]:pa}),ba=(gr=>Be.createElement("div",{className:oa,style:gr},Be.createElement(Ne,Object.assign({},Nr,{ref:Ca}))))(cr?void 0:{display:"none"});return Va(Gt==="picture-card"||Gt==="picture-circle"?Be.createElement("span",{className:Yr},na(ba,!!cr)):Be.createElement("span",{className:Yr},ba,na()))};var sr=Be.forwardRef(wn),Ht=function(wt,Nt){var Mt={};for(var _t in wt)Object.prototype.hasOwnProperty.call(wt,_t)&&Nt.indexOf(_t)<0&&(Mt[_t]=wt[_t]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,_t=Object.getOwnPropertySymbols(wt);Xt<_t.length;Xt++)Nt.indexOf(_t[Xt])<0&&Object.prototype.propertyIsEnumerable.call(wt,_t[Xt])&&(Mt[_t[Xt]]=wt[_t[Xt]]);return Mt},$n=Be.forwardRef((wt,Nt)=>{var{style:Mt,height:_t}=wt,Xt=Ht(wt,["style","height"]);return Be.createElement(sr,Object.assign({ref:Nt},Xt,{type:"drag",style:Object.assign(Object.assign({},Mt),{height:_t})}))});const Xn=sr;Xn.Dragger=$n,Xn.LIST_IGNORE=kn;var ur=Xn},24334:function(Ct,bt,Oe){var Be,nt;(function(x,Se){Ct.exports=Se(x)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof Oe.g!="undefined"?Oe.g:this,function(x){"use strict";x=x||{};var Se=x.Base64,ve="2.6.4",ae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",te=function(Pe){for(var Le={},Ne=0,De=Pe.length;Ne>>6)+le(128|Le&63):le(224|Le>>>12&15)+le(128|Le>>>6&63)+le(128|Le&63)}else{var Le=65536+(Pe.charCodeAt(0)-55296)*1024+(Pe.charCodeAt(1)-56320);return le(240|Le>>>18&7)+le(128|Le>>>12&63)+le(128|Le>>>6&63)+le(128|Le&63)}},se=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ue=function(Pe){return Pe.replace(se,de)},oe=function(Pe){var Le=[0,2,1][Pe.length%3],Ne=Pe.charCodeAt(0)<<16|(Pe.length>1?Pe.charCodeAt(1):0)<<8|(Pe.length>2?Pe.charCodeAt(2):0),De=[ae.charAt(Ne>>>18),ae.charAt(Ne>>>12&63),Le>=2?"=":ae.charAt(Ne>>>6&63),Le>=1?"=":ae.charAt(Ne&63)];return De.join("")},ie=x.btoa&&typeof x.btoa=="function"?function(Pe){return x.btoa(Pe)}:function(Pe){if(Pe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Pe.replace(/[\s\S]{1,3}/g,oe)},ne=function(Pe){return ie(ue(String(Pe)))},a=function(Pe){return Pe.replace(/[+\/]/g,function(Le){return Le=="+"?"-":"_"}).replace(/=/g,"")},y=function(Pe,Le){return Le?a(ne(Pe)):ne(Pe)},E=function(Pe){return y(Pe,!0)},b;x.Uint8Array&&(b=function(Pe,Le){for(var Ne="",De=0,ze=Pe.length;De>>18)+ae.charAt(at>>>12&63)+(typeof Me!="undefined"?ae.charAt(at>>>6&63):"=")+(typeof it!="undefined"?ae.charAt(at&63):"=")}return Le?a(Ne):Ne});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ee=function(Pe){switch(Pe.length){case 4:var Le=(7&Pe.charCodeAt(0))<<18|(63&Pe.charCodeAt(1))<<12|(63&Pe.charCodeAt(2))<<6|63&Pe.charCodeAt(3),Ne=Le-65536;return le((Ne>>>10)+55296)+le((Ne&1023)+56320);case 3:return le((15&Pe.charCodeAt(0))<<12|(63&Pe.charCodeAt(1))<<6|63&Pe.charCodeAt(2));default:return le((31&Pe.charCodeAt(0))<<6|63&Pe.charCodeAt(1))}},re=function(Pe){return Pe.replace(z,ee)},ce=function(Pe){var Le=Pe.length,Ne=Le%4,De=(Le>0?te[Pe.charAt(0)]<<18:0)|(Le>1?te[Pe.charAt(1)]<<12:0)|(Le>2?te[Pe.charAt(2)]<<6:0)|(Le>3?te[Pe.charAt(3)]:0),ze=[le(De>>>16),le(De>>>8&255),le(De&255)];return ze.length-=[0,0,2,1][Ne],ze.join("")},me=x.atob&&typeof x.atob=="function"?function(Pe){return x.atob(Pe)}:function(Pe){return Pe.replace(/\S{1,4}/g,ce)},he=function(Pe){return me(String(Pe).replace(/[^A-Za-z0-9\+\/]/g,""))},fe=function(Pe){return re(me(Pe))},pe=function(Pe){return String(Pe).replace(/[-_]/g,function(Le){return Le=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ge=function(Pe){return fe(pe(Pe))},ye;x.Uint8Array&&(ye=function(Pe){return Uint8Array.from(he(pe(Pe)),function(Le){return Le.charCodeAt(0)})});var be=function(){var Pe=x.Base64;return x.Base64=Se,Pe};if(x.Base64={VERSION:ve,atob:he,btoa:ie,fromBase64:ge,toBase64:y,utob:ue,encode:y,encodeURI:E,btou:re,decode:ge,noConflict:be,fromUint8Array:b,toUint8Array:ye},typeof Object.defineProperty=="function"){var Ae=function(Pe){return{value:Pe,enumerable:!1,writable:!0,configurable:!0}};x.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ae(function(){return ge(this)})),Object.defineProperty(String.prototype,"toBase64",Ae(function(Pe){return y(this,Pe)})),Object.defineProperty(String.prototype,"toBase64URI",Ae(function(){return y(this,!0)}))}}return x.Meteor&&(Base64=x.Base64),Ct.exports?Ct.exports.Base64=x.Base64:(Be=[],nt=function(){return x.Base64}.apply(bt,Be),nt!==void 0&&(Ct.exports=nt)),{Base64:x.Base64}})},39417:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return fe}});var Be=Oe(92413),nt=Oe(400),x=Oe(37061),Se=Oe(33708),ve=Oe(6909),ae=Oe(4771),te=Oe(25314),le=Oe(9427),de=Oe(25440),se=Oe(92310),ue=Oe.n(se),oe=Oe(26112),ie=Oe(59301),ne=Oe(39378),a=function(ge){for(var ye=ge.prefixCls,be=ge.level,Ae=ge.isStart,Pe=ge.isEnd,Le="".concat(ye,"-indent-unit"),Ne=[],De=0;De0&&arguments[0]!==void 0?arguments[0]:[],Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ze=Ie.length,Fe=Xe.length;if(Math.abs(Ze-Fe)!==1)return{add:!1,key:null};function xe(Ce,we){var je=new Map;Ce.forEach(function(ot){je.set(ot,!0)});var Ue=we.filter(function(ot){return!je.has(ot)});return Ue.length===1?Ue[0]:null}return Ze ").concat(Xe);return Xe}var ke=y.forwardRef(function(Ie,Xe){var Ze=Ie.prefixCls,Fe=Ie.data,xe=Ie.selectable,Ce=Ie.checkable,we=Ie.expandedKeys,je=Ie.selectedKeys,Ue=Ie.checkedKeys,ot=Ie.loadedKeys,$e=Ie.loadingKeys,st=Ie.halfCheckedKeys,St=Ie.keyEntities,ft=Ie.disabled,yt=Ie.dragging,lt=Ie.dragOverNodeKey,pt=Ie.dropPosition,tt=Ie.motion,Qe=Ie.height,dt=Ie.itemHeight,mt=Ie.virtual,Pt=Ie.focusable,jt=Ie.activeItem,Dt=Ie.focused,$t=Ie.tabIndex,qt=Ie.onKeyDown,Vt=Ie.onFocus,Jt=Ie.onBlur,en=Ie.onActiveChange,Pn=Ie.onListChangeStart,In=Ie.onListChangeEnd,an=(0,re.Z)(Ie,De),Zn=y.useRef(null),Fn=y.useRef(null);y.useImperativeHandle(Xe,function(){return{scrollTo:function(ur){Zn.current.scrollTo(ur)},getIndentWidth:function(){return Fn.current.offsetWidth}}});var Ln=y.useState(we),Hn=(0,ee.Z)(Ln,2),tr=Hn[0],lr=Hn[1],Ut=y.useState(Fe),on=(0,ee.Z)(Ut,2),rn=on[0],er=on[1],fn=y.useState(Fe),zn=(0,ee.Z)(fn,2),Et=zn[0],Tt=zn[1],xt=y.useState([]),zt=(0,ee.Z)(xt,2),dn=zt[0],ln=zt[1],ir=y.useState(null),kn=(0,ee.Z)(ir,2),wn=kn[0],Yn=kn[1],sr=y.useRef(Fe);sr.current=Fe;function Ht(){var Xn=sr.current;er(Xn),Tt(Xn),ln([]),Yn(null),In()}(0,ce.Z)(function(){lr(we);var Xn=Le(tr,we);if(Xn.key!==null)if(Xn.add){var ur=rn.findIndex(function(Yt){var Gt=Yt.key;return Gt===Xn.key}),wt=Ye(Ne(rn,Fe,Xn.key),mt,Qe,dt),Nt=rn.slice();Nt.splice(ur+1,0,Je),Tt(Nt),ln(wt),Yn("show")}else{var Mt=Fe.findIndex(function(Yt){var Gt=Yt.key;return Gt===Xn.key}),_t=Ye(Ne(Fe,rn,Xn.key),mt,Qe,dt),Xt=Fe.slice();Xt.splice(Mt+1,0,Je),Tt(Xt),ln(_t),Yn("hide")}else rn!==Fe&&(er(Fe),Tt(Fe))},[we,Fe]),y.useEffect(function(){yt||Ht()},[yt]);var Bn=tt?Et:Fe,$n={expandedKeys:we,selectedKeys:je,loadedKeys:ot,loadingKeys:$e,checkedKeys:Ue,halfCheckedKeys:st,dragOverNodeKey:lt,dropPosition:pt,keyEntities:St};return y.createElement(y.Fragment,null,Dt&&jt&&y.createElement("span",{style:ze,"aria-live":"assertive"},_e(jt)),y.createElement("div",null,y.createElement("input",{style:ze,disabled:Pt===!1||ft,tabIndex:Pt!==!1?$t:null,onKeyDown:qt,onFocus:Vt,onBlur:Jt,value:"",onChange:et,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(Ze,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(Ze,"-indent")},y.createElement("div",{ref:Fn,className:"".concat(Ze,"-indent-unit")}))),y.createElement(me.Z,(0,Be.Z)({},an,{data:Bn,itemKey:Ge,height:Qe,fullHeight:!1,virtual:mt,itemHeight:dt,prefixCls:"".concat(Ze,"-list"),ref:Zn,onVisibleChange:function(ur,wt){var Nt=new Set(ur),Mt=wt.filter(function(_t){return!Nt.has(_t)});Mt.some(function(_t){return Ge(_t)===Me})&&Ht()}}),function(Xn){var ur=Xn.pos,wt=(0,Be.Z)({},(z(Xn.data),Xn.data)),Nt=Xn.title,Mt=Xn.key,_t=Xn.isStart,Xt=Xn.isEnd,Yt=(0,ge.km)(Mt,ur);delete wt.key,delete wt.children;var Gt=(0,ge.H8)(Yt,$n);return y.createElement(Pe,(0,Be.Z)({},wt,Gt,{title:Nt,active:!!jt&&Mt===jt.key,pos:ur,data:Xn.data,isStart:_t,isEnd:Xt,motion:tt,motionNodes:Mt===Me?dn:null,motionType:wn,onMotionStart:Pn,onMotionEnd:Ht,treeNodeRequiredProps:$n,onMouseMove:function(){en(null)}}))}))});ke.displayName="NodeList";var rt=ke,Ve=Oe(35654),ut=Oe(90782),We=Oe(67841),Re=10,Te=function(Ie){(0,de.Z)(Ze,Ie);var Xe=(0,se.Z)(Ze);function Ze(){var Fe;(0,ae.Z)(this,Ze);for(var xe=arguments.length,Ce=new Array(xe),we=0;we2&&arguments[2]!==void 0?arguments[2]:!1,st=Fe.state,St=st.dragChildrenKeys,ft=st.dropPosition,yt=st.dropTargetKey,lt=st.dropTargetPos,pt=st.dropAllowed;if(pt){var tt=Fe.props.onDrop;if(Fe.setState({dragOverNodeKey:null}),Fe.cleanDragState(),yt!==null){var Qe=(0,Se.Z)((0,Se.Z)({},(0,ge.H8)(yt,Fe.getTreeNodeRequiredProps())),{},{active:((ot=Fe.getActiveItem())===null||ot===void 0?void 0:ot.key)===yt,data:(0,We.Z)(Fe.state.keyEntities,yt).node}),dt=St.indexOf(yt)!==-1;(0,a.ZP)(!dt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var mt=(0,Ve.yx)(lt),Pt={event:je,node:(0,ge.F)(Qe),dragNode:Fe.dragNode?(0,ge.F)(Fe.dragNode.props):null,dragNodesKeys:[Fe.dragNode.props.eventKey].concat(St),dropToGap:ft!==0,dropPosition:ft+Number(mt[mt.length-1])};$e||tt==null||tt(Pt),Fe.dragNode=null}}},Fe.cleanDragState=function(){var je=Fe.state.draggingNodeKey;je!==null&&Fe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Fe.dragStartMousePosition=null,Fe.currentMouseOverDroppableNodeKey=null},Fe.triggerExpandActionExpand=function(je,Ue){var ot=Fe.state,$e=ot.expandedKeys,st=ot.flattenNodes,St=Ue.expanded,ft=Ue.key,yt=Ue.isLeaf;if(!(yt||je.shiftKey||je.metaKey||je.ctrlKey)){var lt=st.filter(function(tt){return tt.key===ft})[0],pt=(0,ge.F)((0,Se.Z)((0,Se.Z)({},(0,ge.H8)(ft,Fe.getTreeNodeRequiredProps())),{},{data:lt.data}));Fe.setExpandedKeys(St?(0,Ve._5)($e,ft):(0,Ve.L0)($e,ft)),Fe.onNodeExpand(je,pt)}},Fe.onNodeClick=function(je,Ue){var ot=Fe.props,$e=ot.onClick,st=ot.expandAction;st==="click"&&Fe.triggerExpandActionExpand(je,Ue),$e==null||$e(je,Ue)},Fe.onNodeDoubleClick=function(je,Ue){var ot=Fe.props,$e=ot.onDoubleClick,st=ot.expandAction;st==="doubleClick"&&Fe.triggerExpandActionExpand(je,Ue),$e==null||$e(je,Ue)},Fe.onNodeSelect=function(je,Ue){var ot=Fe.state.selectedKeys,$e=Fe.state,st=$e.keyEntities,St=$e.fieldNames,ft=Fe.props,yt=ft.onSelect,lt=ft.multiple,pt=Ue.selected,tt=Ue[St.key],Qe=!pt;Qe?lt?ot=(0,Ve.L0)(ot,tt):ot=[tt]:ot=(0,Ve._5)(ot,tt);var dt=ot.map(function(mt){var Pt=(0,We.Z)(st,mt);return Pt?Pt.node:null}).filter(function(mt){return mt});Fe.setUncontrolledState({selectedKeys:ot}),yt==null||yt(ot,{event:"select",selected:Qe,node:Ue,selectedNodes:dt,nativeEvent:je.nativeEvent})},Fe.onNodeCheck=function(je,Ue,ot){var $e=Fe.state,st=$e.keyEntities,St=$e.checkedKeys,ft=$e.halfCheckedKeys,yt=Fe.props,lt=yt.checkStrictly,pt=yt.onCheck,tt=Ue.key,Qe,dt={event:"check",node:Ue,checked:ot,nativeEvent:je.nativeEvent};if(lt){var mt=ot?(0,Ve.L0)(St,tt):(0,Ve._5)(St,tt),Pt=(0,Ve._5)(ft,tt);Qe={checked:mt,halfChecked:Pt},dt.checkedNodes=mt.map(function(Jt){return(0,We.Z)(st,Jt)}).filter(function(Jt){return Jt}).map(function(Jt){return Jt.node}),Fe.setUncontrolledState({checkedKeys:mt})}else{var jt=(0,ut.S)([].concat((0,ve.Z)(St),[tt]),!0,st),Dt=jt.checkedKeys,$t=jt.halfCheckedKeys;if(!ot){var qt=new Set(Dt);qt.delete(tt);var Vt=(0,ut.S)(Array.from(qt),{checked:!1,halfCheckedKeys:$t},st);Dt=Vt.checkedKeys,$t=Vt.halfCheckedKeys}Qe=Dt,dt.checkedNodes=[],dt.checkedNodesPositions=[],dt.halfCheckedKeys=$t,Dt.forEach(function(Jt){var en=(0,We.Z)(st,Jt);if(en){var Pn=en.node,In=en.pos;dt.checkedNodes.push(Pn),dt.checkedNodesPositions.push({node:Pn,pos:In})}}),Fe.setUncontrolledState({checkedKeys:Dt},!1,{halfCheckedKeys:$t})}pt==null||pt(Qe,dt)},Fe.onNodeLoad=function(je){var Ue=je.key,ot=new Promise(function($e,st){Fe.setState(function(St){var ft=St.loadedKeys,yt=ft===void 0?[]:ft,lt=St.loadingKeys,pt=lt===void 0?[]:lt,tt=Fe.props,Qe=tt.loadData,dt=tt.onLoad;if(!Qe||yt.indexOf(Ue)!==-1||pt.indexOf(Ue)!==-1)return null;var mt=Qe(je);return mt.then(function(){var Pt=Fe.state.loadedKeys,jt=(0,Ve.L0)(Pt,Ue);dt==null||dt(jt,{event:"load",node:je}),Fe.setUncontrolledState({loadedKeys:jt}),Fe.setState(function(Dt){return{loadingKeys:(0,Ve._5)(Dt.loadingKeys,Ue)}}),$e()}).catch(function(Pt){if(Fe.setState(function(Dt){return{loadingKeys:(0,Ve._5)(Dt.loadingKeys,Ue)}}),Fe.loadingRetryTimes[Ue]=(Fe.loadingRetryTimes[Ue]||0)+1,Fe.loadingRetryTimes[Ue]>=Re){var jt=Fe.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Fe.setUncontrolledState({loadedKeys:(0,Ve.L0)(jt,Ue)}),$e()}st(Pt)}),{loadingKeys:(0,Ve.L0)(pt,Ue)}})});return ot.catch(function(){}),ot},Fe.onNodeMouseEnter=function(je,Ue){var ot=Fe.props.onMouseEnter;ot==null||ot({event:je,node:Ue})},Fe.onNodeMouseLeave=function(je,Ue){var ot=Fe.props.onMouseLeave;ot==null||ot({event:je,node:Ue})},Fe.onNodeContextMenu=function(je,Ue){var ot=Fe.props.onRightClick;ot&&(je.preventDefault(),ot({event:je,node:Ue}))},Fe.onFocus=function(){var je=Fe.props.onFocus;Fe.setState({focused:!0});for(var Ue=arguments.length,ot=new Array(Ue),$e=0;$e1&&arguments[1]!==void 0?arguments[1]:!1,ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Fe.destroyed){var $e=!1,st=!0,St={};Object.keys(je).forEach(function(ft){if(ft in Fe.props){st=!1;return}$e=!0,St[ft]=je[ft]}),$e&&(!Ue||st)&&Fe.setState((0,Se.Z)((0,Se.Z)({},St),ot))}},Fe.scrollTo=function(je){Fe.listRef.current.scrollTo(je)},Fe}return(0,te.Z)(Ze,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var xe=this.props.activeKey;xe!==void 0&&xe!==this.state.activeKey&&(this.setState({activeKey:xe}),xe!==null&&this.scrollTo({key:xe}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var xe,Ce=this.state,we=Ce.focused,je=Ce.flattenNodes,Ue=Ce.keyEntities,ot=Ce.draggingNodeKey,$e=Ce.activeKey,st=Ce.dropLevelOffset,St=Ce.dropContainerKey,ft=Ce.dropTargetKey,yt=Ce.dropPosition,lt=Ce.dragOverNodeKey,pt=Ce.indent,tt=this.props,Qe=tt.prefixCls,dt=tt.className,mt=tt.style,Pt=tt.showLine,jt=tt.focusable,Dt=tt.tabIndex,$t=Dt===void 0?0:Dt,qt=tt.selectable,Vt=tt.showIcon,Jt=tt.icon,en=tt.switcherIcon,Pn=tt.draggable,In=tt.checkable,an=tt.checkStrictly,Zn=tt.disabled,Fn=tt.motion,Ln=tt.loadData,Hn=tt.filterTreeNode,tr=tt.height,lr=tt.itemHeight,Ut=tt.virtual,on=tt.titleRender,rn=tt.dropIndicatorRender,er=tt.onContextMenu,fn=tt.onScroll,zn=tt.direction,Et=tt.rootClassName,Tt=tt.rootStyle,xt=(0,ne.Z)(this.props,{aria:!0,data:!0}),zt;return Pn&&((0,x.Z)(Pn)==="object"?zt=Pn:typeof Pn=="function"?zt={nodeDraggable:Pn}:zt={}),y.createElement(E.k.Provider,{value:{prefixCls:Qe,selectable:qt,showIcon:Vt,icon:Jt,switcherIcon:en,draggable:zt,draggingNodeKey:ot,checkable:In,checkStrictly:an,disabled:Zn,keyEntities:Ue,dropLevelOffset:st,dropContainerKey:St,dropTargetKey:ft,dropPosition:yt,dragOverNodeKey:lt,indent:pt,direction:zn,dropIndicatorRender:rn,loadData:Ln,filterTreeNode:Hn,titleRender:on,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},y.createElement("div",{role:"tree",className:oe()(Qe,dt,Et,(xe={},(0,nt.Z)(xe,"".concat(Qe,"-show-line"),Pt),(0,nt.Z)(xe,"".concat(Qe,"-focused"),we),(0,nt.Z)(xe,"".concat(Qe,"-active-focused"),$e!==null),xe)),style:Tt},y.createElement(rt,(0,Be.Z)({ref:this.listRef,prefixCls:Qe,style:mt,data:je,disabled:Zn,selectable:qt,checkable:!!In,motion:Fn,dragging:ot!==null,height:tr,itemHeight:lr,virtual:Ut,focusable:jt,focused:we,tabIndex:$t,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:er,onScroll:fn},this.getTreeNodeRequiredProps(),xt))))}}],[{key:"getDerivedStateFromProps",value:function(xe,Ce){var we=Ce.prevProps,je={prevProps:xe};function Ue(jt){return!we&&jt in xe||we&&we[jt]!==xe[jt]}var ot,$e=Ce.fieldNames;if(Ue("fieldNames")&&($e=(0,ge.w$)(xe.fieldNames),je.fieldNames=$e),Ue("treeData")?ot=xe.treeData:Ue("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ot=(0,ge.zn)(xe.children)),ot){je.treeData=ot;var st=(0,ge.I8)(ot,{fieldNames:$e});je.keyEntities=(0,Se.Z)((0,nt.Z)({},Me,at),st.keyEntities)}var St=je.keyEntities||Ce.keyEntities;if(Ue("expandedKeys")||we&&Ue("autoExpandParent"))je.expandedKeys=xe.autoExpandParent||!we&&xe.defaultExpandParent?(0,Ve.r7)(xe.expandedKeys,St):xe.expandedKeys;else if(!we&&xe.defaultExpandAll){var ft=(0,Se.Z)({},St);delete ft[Me],je.expandedKeys=Object.keys(ft).map(function(jt){return ft[jt].key})}else!we&&xe.defaultExpandedKeys&&(je.expandedKeys=xe.autoExpandParent||xe.defaultExpandParent?(0,Ve.r7)(xe.defaultExpandedKeys,St):xe.defaultExpandedKeys);if(je.expandedKeys||delete je.expandedKeys,ot||je.expandedKeys){var yt=(0,ge.oH)(ot||Ce.treeData,je.expandedKeys||Ce.expandedKeys,$e);je.flattenNodes=yt}if(xe.selectable&&(Ue("selectedKeys")?je.selectedKeys=(0,Ve.BT)(xe.selectedKeys,xe):!we&&xe.defaultSelectedKeys&&(je.selectedKeys=(0,Ve.BT)(xe.defaultSelectedKeys,xe))),xe.checkable){var lt;if(Ue("checkedKeys")?lt=(0,Ve.E6)(xe.checkedKeys)||{}:!we&&xe.defaultCheckedKeys?lt=(0,Ve.E6)(xe.defaultCheckedKeys)||{}:ot&&(lt=(0,Ve.E6)(xe.checkedKeys)||{checkedKeys:Ce.checkedKeys,halfCheckedKeys:Ce.halfCheckedKeys}),lt){var pt=lt,tt=pt.checkedKeys,Qe=tt===void 0?[]:tt,dt=pt.halfCheckedKeys,mt=dt===void 0?[]:dt;if(!xe.checkStrictly){var Pt=(0,ut.S)(Qe,!0,St);Qe=Pt.checkedKeys,mt=Pt.halfCheckedKeys}je.checkedKeys=Qe,je.halfCheckedKeys=mt}}return Ue("loadedKeys")&&(je.loadedKeys=xe.loadedKeys),je}}]),Ze}(y.Component);Te.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:b,allowDrop:function(){return!0},expandAction:!1},Te.TreeNode=fe.Z;var Ke=Te,Ee=Ke},35654:function(Ct,bt,Oe){"use strict";Oe.d(bt,{BT:function(){return y},E6:function(){return z},L0:function(){return se},OM:function(){return a},_5:function(){return de},r7:function(){return ee},wA:function(){return oe},yx:function(){return ue}});var Be=Oe(26407),nt=Oe(39559),x=Oe(48736),Se=Oe(59301),ve=Oe(39417),ae=Oe(67841),te=Oe(71430),le=null;function de(re,ce){if(!re)return[];var me=re.slice(),he=me.indexOf(ce);return he>=0&&me.splice(he,1),me}function se(re,ce){var me=(re||[]).slice();return me.indexOf(ce)===-1&&me.push(ce),me}function ue(re){return re.split("-")}function oe(re,ce){var me=[],he=(0,ae.Z)(ce,re);function fe(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];pe.forEach(function(ge){var ye=ge.key,be=ge.children;me.push(ye),fe(be)})}return fe(he.children),me}function ie(re){if(re.parent){var ce=ue(re.pos);return Number(ce[ce.length-1])===re.parent.children.length-1}return!1}function ne(re){var ce=ue(re.pos);return Number(ce[ce.length-1])===0}function a(re,ce,me,he,fe,pe,ge,ye,be,Ae){var Pe,Le=re.clientX,Ne=re.clientY,De=re.target.getBoundingClientRect(),ze=De.top,et=De.height,Me=(Ae==="rtl"?-1:1)*(((fe==null?void 0:fe.x)||0)-Le),it=(Me-12)/he,at=(0,ae.Z)(ye,me.props.eventKey);if(Ne-1.5?pe({dragNode:Re,dropNode:Te,dropPosition:1})?Ve=1:Ke=!1:pe({dragNode:Re,dropNode:Te,dropPosition:0})?Ve=0:pe({dragNode:Re,dropNode:Te,dropPosition:1})?Ve=1:Ke=!1:pe({dragNode:Re,dropNode:Te,dropPosition:1})?Ve=1:Ke=!1,{dropPosition:Ve,dropLevelOffset:ut,dropTargetKey:at.key,dropTargetPos:at.pos,dragOverNodeKey:rt,dropContainerKey:Ve===0?null:((Pe=at.parent)===null||Pe===void 0?void 0:Pe.key)||null,dropAllowed:Ke}}function y(re,ce){if(re){var me=ce.multiple;return me?re.slice():re.length?[re[0]]:re}}var E=function(ce){return ce};function b(re,ce){if(!re)return[];var me=ce||{},he=me.processProps,fe=he===void 0?E:he,pe=Array.isArray(re)?re:[re];return pe.map(function(ge){var ye=ge.children,be=_objectWithoutProperties(ge,le),Ae=b(ye,ce);return React.createElement(TreeNode,_extends({key:be.key},fe(be)),Ae)})}function z(re){if(!re)return null;var ce;if(Array.isArray(re))ce={checkedKeys:re,halfCheckedKeys:void 0};else if((0,nt.Z)(re)==="object")ce={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,x.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ce}function ee(re,ce){var me=new Set;function he(fe){if(!me.has(fe)){var pe=(0,ae.Z)(ce,fe);if(pe){me.add(fe);var ge=pe.parent,ye=pe.node;ye.disabled||ge&&he(ge.key)}}}return(re||[]).forEach(function(fe){he(fe)}),(0,Be.Z)(me)}},90782:function(Ct,bt,Oe){"use strict";Oe.d(bt,{S:function(){return te}});var Be=Oe(48736),nt=Oe(67841);function x(le,de){var se=new Set;return le.forEach(function(ue){de.has(ue)||se.add(ue)}),se}function Se(le){var de=le||{},se=de.disabled,ue=de.disableCheckbox,oe=de.checkable;return!!(se||ue)||oe===!1}function ve(le,de,se,ue){for(var oe=new Set(le),ie=new Set,ne=0;ne<=se;ne+=1){var a=de.get(ne)||new Set;a.forEach(function(z){var ee=z.key,re=z.node,ce=z.children,me=ce===void 0?[]:ce;oe.has(ee)&&!ue(re)&&me.filter(function(he){return!ue(he.node)}).forEach(function(he){oe.add(he.key)})})}for(var y=new Set,E=se;E>=0;E-=1){var b=de.get(E)||new Set;b.forEach(function(z){var ee=z.parent,re=z.node;if(!(ue(re)||!z.parent||y.has(z.parent.key))){if(ue(z.parent.node)){y.add(ee.key);return}var ce=!0,me=!1;(ee.children||[]).filter(function(he){return!ue(he.node)}).forEach(function(he){var fe=he.key,pe=oe.has(fe);ce&&!pe&&(ce=!1),!me&&(pe||ie.has(fe))&&(me=!0)}),ce&&oe.add(ee.key),me&&ie.add(ee.key),y.add(ee.key)}})}return{checkedKeys:Array.from(oe),halfCheckedKeys:Array.from(x(ie,oe))}}function ae(le,de,se,ue,oe){for(var ie=new Set(le),ne=new Set(de),a=0;a<=ue;a+=1){var y=se.get(a)||new Set;y.forEach(function(ee){var re=ee.key,ce=ee.node,me=ee.children,he=me===void 0?[]:me;!ie.has(re)&&!ne.has(re)&&!oe(ce)&&he.filter(function(fe){return!oe(fe.node)}).forEach(function(fe){ie.delete(fe.key)})})}ne=new Set;for(var E=new Set,b=ue;b>=0;b-=1){var z=se.get(b)||new Set;z.forEach(function(ee){var re=ee.parent,ce=ee.node;if(!(oe(ce)||!ee.parent||E.has(ee.parent.key))){if(oe(ee.parent.node)){E.add(re.key);return}var me=!0,he=!1;(re.children||[]).filter(function(fe){return!oe(fe.node)}).forEach(function(fe){var pe=fe.key,ge=ie.has(pe);me&&!ge&&(me=!1),!he&&(ge||ne.has(pe))&&(he=!0)}),me||ie.delete(re.key),he&&ne.add(re.key),E.add(re.key)}})}return{checkedKeys:Array.from(ie),halfCheckedKeys:Array.from(x(ne,ie))}}function te(le,de,se,ue){var oe=[],ie;ue?ie=ue:ie=Se;var ne=new Set(le.filter(function(b){var z=!!(0,nt.Z)(se,b);return z||oe.push(b),z})),a=new Map,y=0;Object.keys(se).forEach(function(b){var z=se[b],ee=z.level,re=a.get(ee);re||(re=new Set,a.set(ee,re)),re.add(z),y=Math.max(y,ee)}),(0,Be.ZP)(!oe.length,"Tree missing follow keys: ".concat(oe.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var E;return de===!0?E=ve(ne,a,y,ie):E=ae(ne,de.halfCheckedKeys,a,y,ie),E}},67841:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return Be}});function Be(nt,x){return nt[x]}},71430:function(Ct,bt,Oe){"use strict";Oe.d(bt,{F:function(){return ee},H8:function(){return z},I8:function(){return b},km:function(){return oe},oH:function(){return y},w$:function(){return ie},zn:function(){return a}});var Be=Oe(39559),nt=Oe(26407),x=Oe(33708),Se=Oe(37061),ve=Oe(11592),ae=Oe(2738),te=Oe(48736),le=Oe(67841),de=["children"];function se(re,ce){return"".concat(re,"-").concat(ce)}function ue(re){return re&&re.type&&re.type.isTreeNode}function oe(re,ce){return re!=null?re:ce}function ie(re){var ce=re||{},me=ce.title,he=ce._title,fe=ce.key,pe=ce.children,ge=me||"title";return{title:ge,_title:he||[ge],key:fe||"key",children:pe||"children"}}function ne(re,ce){var me=new Map;function he(fe){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(fe||[]).forEach(function(ge){var ye=ge[ce.key],be=ge[ce.children];warning(ye!=null,"Tree node must have a certain key: [".concat(pe).concat(ye,"]"));var Ae=String(ye);warning(!me.has(Ae)||ye===null||ye===void 0,"Same 'key' exist in the Tree: ".concat(Ae)),me.set(Ae,!0),he(be,"".concat(pe).concat(Ae," > "))})}he(re)}function a(re){function ce(me){var he=(0,ve.Z)(me);return he.map(function(fe){if(!ue(fe))return(0,te.ZP)(!fe,"Tree/TreeNode can only accept TreeNode as children."),null;var pe=fe.key,ge=fe.props,ye=ge.children,be=(0,Se.Z)(ge,de),Ae=(0,x.Z)({key:pe},be),Pe=ce(ye);return Pe.length&&(Ae.children=Pe),Ae}).filter(function(fe){return fe})}return ce(re)}function y(re,ce,me){var he=ie(me),fe=he._title,pe=he.key,ge=he.children,ye=new Set(ce===!0?[]:ce),be=[];function Ae(Pe){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Pe.map(function(Ne,De){for(var ze=se(Le?Le.pos:"0",De),et=oe(Ne[pe],ze),Me,it=0;it1&&arguments[1]!==void 0?arguments[1]:{},me=ce.initWrapper,he=ce.processEntity,fe=ce.onProcessFinished,pe=ce.externalGetKey,ge=ce.childrenPropName,ye=ce.fieldNames,be=arguments.length>2?arguments[2]:void 0,Ae=pe||be,Pe={},Le={},Ne={posEntities:Pe,keyEntities:Le};return me&&(Ne=me(Ne)||Ne),E(re,function(De){var ze=De.node,et=De.index,Me=De.pos,it=De.key,at=De.parentPos,Je=De.level,Ye=De.nodes,Ge={node:ze,nodes:Ye,index:et,key:it,pos:Me,level:Je},_e=oe(it,Me);Pe[Me]=Ge,Le[_e]=Ge,Ge.parent=Pe[at],Ge.parent&&(Ge.parent.children=Ge.parent.children||[],Ge.parent.children.push(Ge)),he&&he(Ge,Ne)},{externalGetKey:Ae,childrenPropName:ge,fieldNames:ye}),fe&&fe(Ne),Ne}function z(re,ce){var me=ce.expandedKeys,he=ce.selectedKeys,fe=ce.loadedKeys,pe=ce.loadingKeys,ge=ce.checkedKeys,ye=ce.halfCheckedKeys,be=ce.dragOverNodeKey,Ae=ce.dropPosition,Pe=ce.keyEntities,Le=(0,le.Z)(Pe,re),Ne={eventKey:re,expanded:me.indexOf(re)!==-1,selected:he.indexOf(re)!==-1,loaded:fe.indexOf(re)!==-1,loading:pe.indexOf(re)!==-1,checked:ge.indexOf(re)!==-1,halfChecked:ye.indexOf(re)!==-1,pos:String(Le?Le.pos:""),dragOver:be===re&&Ae===0,dragOverGapTop:be===re&&Ae===-1,dragOverGapBottom:be===re&&Ae===1};return Ne}function ee(re){var ce=re.data,me=re.expanded,he=re.selected,fe=re.checked,pe=re.loaded,ge=re.loading,ye=re.halfChecked,be=re.dragOver,Ae=re.dragOverGapTop,Pe=re.dragOverGapBottom,Le=re.pos,Ne=re.active,De=re.eventKey,ze=(0,x.Z)((0,x.Z)({},ce),{},{expanded:me,selected:he,checked:fe,loaded:pe,loading:ge,halfChecked:ye,dragOver:be,dragOverGapTop:Ae,dragOverGapBottom:Pe,pos:Le,active:Ne,key:De});return"props"in ze||Object.defineProperty(ze,"props",{get:function(){return(0,te.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),re}}),ze}},8224:function(Ct,bt,Oe){"use strict";Oe.d(bt,{Z:function(){return nt}});var Be=Oe(4676);function nt(x,Se,ve,ae){var te=Be.unstable_batchedUpdates?function(de){Be.unstable_batchedUpdates(ve,de)}:ve;return x!=null&&x.addEventListener&&x.addEventListener(Se,te,ae),{remove:function(){x!=null&&x.removeEventListener&&x.removeEventListener(Se,te,ae)}}}},55468:function(Ct,bt,Oe){"use strict";Oe.d(bt,{g1:function(){return ue},os:function(){return ie}});var Be=/margin|padding|width|height|max|min|offset/,nt={left:!0,top:!0},x={cssFloat:1,styleFloat:1,float:1};function Se(ne){return ne.nodeType===1?ne.ownerDocument.defaultView.getComputedStyle(ne,null):{}}function ve(ne,a,y){if(a=a.toLowerCase(),y==="auto"){if(a==="height")return ne.offsetHeight;if(a==="width")return ne.offsetWidth}return a in nt||(nt[a]=Be.test(a)),nt[a]?parseFloat(y)||0:y}function ae(ne,a){var y=arguments.length,E=Se(ne);return a=x[a]?"cssFloat"in ne.style?"cssFloat":"styleFloat":a,y===1?E:ve(ne,a,E[a]||ne.style[a])}function te(ne,a,y){var E=arguments.length;if(a=x[a]?"cssFloat"in ne.style?"cssFloat":"styleFloat":a,E===3)return typeof y=="number"&&Be.test(a)&&(y="".concat(y,"px")),ne.style[a]=y,y;for(var b in a)a.hasOwnProperty(b)&&te(ne,b,a[b]);return Se(ne)}function le(ne){return ne===document.body?document.documentElement.clientWidth:ne.offsetWidth}function de(ne){return ne===document.body?window.innerHeight||document.documentElement.clientHeight:ne.offsetHeight}function se(){var ne=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ne,height:a}}function ue(){var ne=document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight;return{width:ne,height:a}}function oe(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ie(ne){var a=ne.getBoundingClientRect(),y=document.documentElement;return{left:a.left+(window.pageXOffset||y.scrollLeft)-(y.clientLeft||document.body.clientLeft||0),top:a.top+(window.pageYOffset||y.scrollTop)-(y.clientTop||document.body.clientTop||0)}}},24514:function(Ct,bt,Oe){"use strict";Oe.d(bt,{G:function(){return Se}});var Be=Oe(47273),nt=function(ae){if((0,Be.Z)()&&window.document.documentElement){var te=Array.isArray(ae)?ae:[ae],le=window.document.documentElement;return te.some(function(de){return de in le.style})}return!1},x=function(ae,te){if(!nt(ae))return!1;var le=document.createElement("div"),de=le.style[ae];return le.style[ae]=te,le.style[ae]!==de};function Se(ve,ae){return!Array.isArray(ve)&&ae!==void 0?x(ve,ae):nt(ve)}},7062:function(Ct,bt,Oe){var Be=Oe(19637),nt=Oe(97573),x=[Oe(96627)];Ct.exports=Be.createStore(nt,x)},96627:function(Ct,bt,Oe){Ct.exports=Be;function Be(){return Oe(42424),{}}},42424:function(){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(Ct){return Ct<10?"0"+Ct:Ct}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(Ct){return rx_escapable.lastIndex=0,rx_escapable.test(Ct)?'"'+Ct.replace(rx_escapable,function(bt){var Oe=meta[bt];return typeof Oe=="string"?Oe:"\\u"+("0000"+bt.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+Ct+'"'}function str(Ct,bt){var Oe,Be,nt,x,Se=gap,ve,ae=bt[Ct];switch(ae&&typeof ae=="object"&&typeof ae.toJSON=="function"&&(ae=ae.toJSON(Ct)),typeof rep=="function"&&(ae=rep.call(bt,Ct,ae)),typeof ae){case"string":return quote(ae);case"number":return isFinite(ae)?String(ae):"null";case"boolean":case"null":return String(ae);case"object":if(!ae)return"null";if(gap+=indent,ve=[],Object.prototype.toString.apply(ae)==="[object Array]"){for(x=ae.length,Oe=0;Oe=0;ie--)if(x(oe[ie])){var ne=oe[ie].split("="),a=unescape(ne[0]),y=unescape(ne[1]);ue(y,a)}}function te(ue,oe){ue&&(Se.cookie=escape(ue)+"="+escape(oe)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function le(ue){!ue||!se(ue)||(Se.cookie=escape(ue)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function de(){ae(function(ue,oe){le(oe)})}function se(ue){return new RegExp("(?:^|;\\s*)"+escape(ue).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(Se.cookie)}},52496:function(Ct,bt,Oe){var Be=Oe(67039),nt=Be.Global;Ct.exports={name:"localStorage",read:Se,write:ve,each:ae,remove:te,clearAll:le};function x(){return nt.localStorage}function Se(de){return x().getItem(de)}function ve(de,se){return x().setItem(de,se)}function ae(de){for(var se=x().length-1;se>=0;se--){var ue=x().key(se);de(Se(ue),ue)}}function te(de){return x().removeItem(de)}function le(){return x().clear()}},65300:function(Ct){Ct.exports={name:"memoryStorage",read:Oe,write:Be,each:nt,remove:x,clearAll:Se};var bt={};function Oe(ve){return bt[ve]}function Be(ve,ae){bt[ve]=ae}function nt(ve){for(var ae in bt)bt.hasOwnProperty(ae)&&ve(bt[ae],ae)}function x(ve){delete bt[ve]}function Se(ve){bt={}}},16436:function(Ct,bt,Oe){var Be=Oe(67039),nt=Be.Global;Ct.exports={name:"oldFF-globalStorage",read:Se,write:ve,each:ae,remove:te,clearAll:le};var x=nt.globalStorage;function Se(de){return x[de]}function ve(de,se){x[de]=se}function ae(de){for(var se=x.length-1;se>=0;se--){var ue=x.key(se);de(x[ue],ue)}}function te(de){return x.removeItem(de)}function le(){ae(function(de,se){delete x[de]})}},76673:function(Ct,bt,Oe){var Be=Oe(67039),nt=Be.Global;Ct.exports={name:"oldIE-userDataStorage",write:te,read:le,each:de,remove:se,clearAll:ue};var x="storejs",Se=nt.document,ve=ne(),ae=(nt.navigator?nt.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function te(a,y){if(!ae){var E=ie(a);ve(function(b){b.setAttribute(E,y),b.save(x)})}}function le(a){if(!ae){var y=ie(a),E=null;return ve(function(b){E=b.getAttribute(y)}),E}}function de(a){ve(function(y){for(var E=y.XMLDocument.documentElement.attributes,b=E.length-1;b>=0;b--){var z=E[b];a(y.getAttribute(z.name),z.name)}})}function se(a){var y=ie(a);ve(function(E){E.removeAttribute(y),E.save(x)})}function ue(){ve(function(a){var y=a.XMLDocument.documentElement.attributes;a.load(x);for(var E=y.length-1;E>=0;E--)a.removeAttribute(y[E].name);a.save(x)})}var oe=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function ie(a){return a.replace(/^\d/,"___$&").replace(oe,"___")}function ne(){if(!Se||!Se.documentElement||!Se.documentElement.addBehavior)return null;var a="script",y,E,b;try{E=new ActiveXObject("htmlfile"),E.open(),E.write("<"+a+">document.w=window'),E.close(),y=E.w.frames[0].document,b=y.createElement("div")}catch(z){b=Se.createElement("div"),y=Se.body}return function(z){var ee=[].slice.call(arguments,0);ee.unshift(b),y.appendChild(b),b.addBehavior("#default#userData"),b.load(x),z.apply(this,ee),y.removeChild(b)}}},65578:function(Ct,bt,Oe){var Be=Oe(67039),nt=Be.Global;Ct.exports={name:"sessionStorage",read:Se,write:ve,each:ae,remove:te,clearAll:le};function x(){return nt.sessionStorage}function Se(de){return x().getItem(de)}function ve(de,se){return x().setItem(de,se)}function ae(de){for(var se=x().length-1;se>=0;se--){var ue=x().key(se);de(Se(ue),ue)}}function te(de){return x().removeItem(de)}function le(){return x().clear()}}}]);