You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
291 lines
1.3 MiB
291 lines
1.3 MiB
(self.webpackChunk=self.webpackChunk||[]).push([[6913],{89489:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return le}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(se,ue){return nt.createElement(he.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},59477:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return le}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(se,ue){return nt.createElement(he.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},65363:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return le}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(se,ue){return nt.createElement(he.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},26227:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return le}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(se,ue){return nt.createElement(he.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},49198:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return le}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(se,ue){return nt.createElement(he.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},41464:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return le}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(se,ue){return nt.createElement(he.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},52671:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return le}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(se,ue){return nt.createElement(he.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},8657:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return le}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(se,ue){return nt.createElement(he.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},56082:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return le}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(se,ue){return nt.createElement(he.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},33853:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return le}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(se,ue){return nt.createElement(he.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},15075:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return le}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(se,ue){return nt.createElement(he.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},43531:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return le}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(se,ue){return nt.createElement(he.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},76618:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return le}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(se,ue){return nt.createElement(he.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},38819:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return le}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(se,ue){return nt.createElement(he.Z,(0,Be.Z)({},se,{ref:ue,icon:Se}))},te=nt.forwardRef(ae),le=te},81230:function(Ct,Pt){"use strict";Pt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},29695:function(){"use strict"},77319: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.defaultValue<y.minimum||y.defaultValue>y.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 Pt=[];function Ce(ne,a){var y=Pt.pop();return y===void 0?new go.Point(ne,a):(y.x=ne,y.y=a,y)}function Be(){var ne=Pt.pop();return ne===void 0?new go.Point:ne}function nt(ne){Pt.push(ne)}function x(ne,a,y,E,b,z,ee,re,ce){ce||(ce=new go.Point);var ge=ne-y,ve=b-ee,fe=NaN,pe=NaN;if(ge===0)if(ve===0)ne===y&&(fe=ne,pe=a);else{var me=(z-re)/ve,ye=z-me*b;fe=ne,pe=me*fe+ye}else if(ve===0){var be=(a-E)/ge,Le=a-be*ne;fe=b,pe=be*fe+Le}else{var be=(a-E)/ge,me=(z-re)/ve,Le=a-be*ne,ye=z-me*b;fe=(ye-Le)/(be-me),pe=be*fe+Le}return ce.x=fe,ce.y=pe,ce}function Se(ne,a,y,E,b,z,ee,re,ce,ge,ve,fe,pe,me){var ye=1-ce,be=ce,Le=ne*ye+y*be,we=a*ye+E*be,Ae=y*ye+b*be,Me=E*ye+z*be,De=b*ye+ee*be,ze=z*ye+re*be,qe=Le*ye+Ae*be,Re=we*ye+Me*be,ot=Ae*ye+De*be,rt=Me*ye+ze*be,Qe=qe*ye+ot*be,Je=Re*ye+rt*be;ge.x=Le,ge.y=we,ve.x=qe,ve.y=Re,fe.x=Qe,fe.y=Je,pe.x=ot,pe.y=rt,me.x=De,me.y=ze}var he=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=he,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())),b<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)?E=10:E<-a?E=-a:E>a&&(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<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.setFigureParameter("Trapezoid1",0,new Ct("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)?E=.2:E<.5?E=-.5:E>.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())),b<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Ct("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)?E=20:E<-a?E=-a/2:E>a&&(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())),b<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.setFigureParameter("ManualOperation",0,new Ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)?E=10:E<-a?E=-a/2:E>a&&(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())),b<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}});var le=[];function de(){var ne=le.pop();return ne===void 0?[]:ne}function se(ne){ne.length=0,le.push(ne)}function ue(ne){for(var a=de(),y=.5,E=.5,b=Math.PI*1.5,z=0,ee=0;ee<ne;ee++)z=2*Math.PI/ne*ee+b,a[ee]=new go.Point(E+y*Math.cos(z),E+y*Math.sin(z));return a.push(a[0]),a}function oe(ne){var a=ie(ne),y=de();y[0]=a[0];for(var E=1,b=1;E<a.length;E+=2,b+=3)y[b]=a[E],y[b+1]=a[E],y[b+2]=a[E+1];return se(a),y}function ie(ne){for(var a=ue(ne),y=de(),E=Math.floor(a.length/2),b=a.length-1,z=ne%2===0?2:1,ee=0;ee<b;ee++){var re=a[ee],ce=a[ee+1],ge=a[(E+ee-1)%b],ve=a[(E+ee+z)%b];y[ee*2]=re,y[ee*2+1]=x(re.x,re.y,ge.x,ge.y,ce.x,ce.y,ve.x,ve.y,new go.Point)}return y[y.length]=y[0],se(a),y}go.Shape.defineFigureGenerator("Pentagon",function(ne,a,y){var E=ue(5),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<5;ee++)z.add(new go.PathSegment(go.PathSegment.Line,E[ee].x*a,E[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*y).close()),se(E),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(ne,a,y){var E=ue(6),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<6;ee++)z.add(new go.PathSegment(go.PathSegment.Line,E[ee].x*a,E[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*y).close()),se(E),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(ne,a,y){var E=ue(7),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<7;ee++)z.add(new go.PathSegment(go.PathSegment.Line,E[ee].x*a,E[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*y).close()),se(E),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(ne,a,y){var E=ue(8),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<8;ee++)z.add(new go.PathSegment(go.PathSegment.Line,E[ee].x*a,E[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*y).close()),se(E),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(ne,a,y){var E=ue(9),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<9;ee++)z.add(new go.PathSegment(go.PathSegment.Line,E[ee].x*a,E[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*y).close()),se(E),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(ne,a,y){var E=ue(10),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<10;ee++)z.add(new go.PathSegment(go.PathSegment.Line,E[ee].x*a,E[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*y).close()),se(E),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(ne,a,y){var E=ue(12),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<12;ee++)z.add(new go.PathSegment(go.PathSegment.Line,E[ee].x*a,E[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*y).close()),se(E),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(ne,a,y){var E=ie(5),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<10;ee++)z.add(new go.PathSegment(go.PathSegment.Line,E[ee].x*a,E[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*y).close()),se(E),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(ne,a,y){var E=ie(6),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<12;ee++)z.add(new go.PathSegment(go.PathSegment.Line,E[ee].x*a,E[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*y).close()),se(E),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ne,a,y){var E=ie(7),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<14;ee++)z.add(new go.PathSegment(go.PathSegment.Line,E[ee].x*a,E[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*y).close()),se(E),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(ne,a,y){var E=ie(8),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<16;ee++)z.add(new go.PathSegment(go.PathSegment.Line,E[ee].x*a,E[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*y).close()),se(E),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(ne,a,y){var E=ie(9),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<18;ee++)z.add(new go.PathSegment(go.PathSegment.Line,E[ee].x*a,E[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*y).close()),se(E),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(ne,a,y){var E=ie(10),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<20;ee++)z.add(new go.PathSegment(go.PathSegment.Line,E[ee].x*a,E[ee].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*y).close()),se(E),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ne,a,y){var E=oe(5),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<E.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,E[ee+2].x*a,E[ee+2].y*y,E[ee].x*a,E[ee].y*y,E[ee+1].x*a,E[ee+1].y*y));return z.segments.last().close(),se(E),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ne,a,y){var E=oe(6),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<E.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,E[ee+2].x*a,E[ee+2].y*y,E[ee].x*a,E[ee].y*y,E[ee+1].x*a,E[ee+1].y*y));return z.segments.last().close(),se(E),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ne,a,y){var E=oe(7),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<E.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,E[ee+2].x*a,E[ee+2].y*y,E[ee].x*a,E[ee].y*y,E[ee+1].x*a,E[ee+1].y*y));return z.segments.last().close(),se(E),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ne,a,y){var E=oe(8),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<E.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,E[ee+2].x*a,E[ee+2].y*y,E[ee].x*a,E[ee].y*y,E[ee+1].x*a,E[ee+1].y*y));return z.segments.last().close(),se(E),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ne,a,y){var E=oe(9),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<E.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,E[ee+2].x*a,E[ee+2].y*y,E[ee].x*a,E[ee].y*y,E[ee+1].x*a,E[ee+1].y*y));return z.segments.last().close(),se(E),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ne,a,y){var E=oe(10),b=new go.Geometry,z=new go.PathFigure(E[0].x*a,E[0].y*y,!0);b.add(z);for(var ee=1;ee<E.length;ee+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,E[ee+2].x*a,E[ee+2].y*y,E[ee].x*a,E[ee].y*y,E[ee+1].x*a,E[ee+1].y*y));return z.segments.last().close(),se(E),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new Ct("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Ct("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ne,a,y){var E=ne?ne.parameter1:NaN,b=ne?ne.parameter2:NaN;isNaN(E)&&(E=8),isNaN(b)&&(b=8);var z=new go.Geometry,ee=new go.PathFigure(0,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E<a/2&&b<y/2&&(ee.add(new go.PathSegment(go.PathSegment.Move,E,b)),ee.add(new go.PathSegment(go.PathSegment.Line,E,y-b)),ee.add(new go.PathSegment(go.PathSegment.Line,a-E,y-b)),ee.add(new go.PathSegment(go.PathSegment.Line,a-E,b).close())),z.setSpots(0,0,1,1,E,b,-E,-b),z}),go.Shape.setFigureParameter("Ring",0,new Ct("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ne,a,y){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=8);var b=a/2,z=new go.Geometry,ee=new go.PathFigure(a,a/2,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var re=Math.max(b-E,0);return re>0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+re,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,re,re).close())),z.spot1=he,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),ge=E-Math.min(Math.sin(re)*E/2,ee),b=new go.Geometry,ve=new go.PathFigure(ce,0,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a-ce,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),ve.add(new go.PathSegment(go.PathSegment.Line,a-ce,y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,ce,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(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 ge=Be(),ve=Be(),fe=Be(),pe=Be();Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.42,ge,ve,fe,pe,pe);var me=Be(),ye=Be(),be=Be();Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.58,pe,pe,be,me,ye);var Le=Be(),we=Be(),Ae=Be();Se(ee,re+z,ee-b,re+z,ee-z,re+b,ee-z,re,.42,Le,we,Ae,pe,pe);var Me=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,Me,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,Me.x*a,Me.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,ge.x*a,ge.y*y,ve.x*a,ve.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,Ae.x*a,Ae.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,me.x*a,me.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,Ae.x*a,Ae.y*y,Le.x*a,Le.y*y,we.x*a,we.y*y).close()),nt(ge),nt(ve),nt(fe),nt(pe),nt(me),nt(ye),nt(be),nt(Le),nt(we),nt(Ae),nt(Me),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(),ge=Be(),ve=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,ve,fe,ge,ce,ce),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,ve.x*a,ve.y*y,fe.x*a,fe.y*y));var me=Ce(ge.x,ge.y);Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.56,ce,ce,ge,ve,fe);var ye=Ce(ge.x,ge.y);pe.add(new go.PathSegment(go.PathSegment.Line,(me.x*.1+.95*.9)*a,me.y*.1*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,me.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,ve.x*a,ve.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 Le=new go.PathFigure((ee-z)*a,re*y,!1);return E.add(Le),nt(ce),nt(ge),nt(ve),nt(fe),nt(me),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,ge=new go.PathFigure(0,ee,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,z,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,z,y)),ge.add(new go.PathSegment(go.PathSegment.Line,z,re)),ge.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ce.spot1=new go.Spot(0,ee/y);var ve=x(0,re/y,1,re/y,z/a,1,1,.5,Be());return ce.spot2=new go.Spot(ve.x,ve.y),nt(ve),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,ge=new go.PathFigure(0,ee,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,z,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,z,y)),ge.add(new go.PathSegment(go.PathSegment.Line,z,re)),ge.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ce.spot1=new go.Spot(0,ee/y);var ve=x(0,re/y,1,re/y,z/a,1,1,.5,Be());return ce.spot2=new go.Spot(ve.x,ve.y),nt(ve),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 ge=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);ge.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close());var fe=x(0,.5,.3,re/y,0,z/y,1,z/y,Be());return ge.spot1=new go.Spot(fe.x,fe.y),fe=x(.7,ce/y,1,.5,0,ee/y,1,ee/y,fe),ge.spot2=new go.Spot(fe.x,fe.y),nt(fe),ge}),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 ge=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);ge.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,0,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close()),ge.spot1=new go.Spot(0,z/y);var fe=x(.7,ce/y,1,.5,0,ee/y,1,ee/y,Be());return ge.spot2=new go.Spot(fe.x,fe.y),nt(fe),ge}),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,ge=.1,ve=new go.PathFigure(ce*a,(ge+z)*y,!0);E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ce-b)*a,ge*y,(ce-ee)*a,(ge+z)*y,(ce-b)*a,(ge+re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-z)*y,(ce-b)*a,(ge-re)*y,(ce-ee)*a,(ge-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ce+b)*a,ge*y,(ce+ee)*a,(ge-z)*y,(ce+b)*a,(ge-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge+z)*y,(ce+b)*a,(ge+re)*y,(ce+ee)*a,(ge+z)*y));var fe=.05,pe=te*fe;ce=.05,ge=.25;var me=new go.PathFigure(.5*a,.2*y,!0);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),ce=.95,ge=.25,me.add(new go.PathSegment(go.PathSegment.Bezier,(ce+fe)*a,ge*y,(ce+pe)*a,(ge-fe)*y,(ce+fe)*a,(ge-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),fe=.025,pe=te*fe,ce=.825,ge=.35,me.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-fe)*y,(ce+fe)*a,(ge-pe)*y,(ce+pe)*a,(ge-fe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ce-fe)*a,ge*y,(ce-pe)*a,(ge-fe)*y,(ce-fe)*a,(ge-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),fe=.05,pe=te*fe,ce=.5,ge=.7,me.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-fe)*y,(ce+fe)*a,(ge-pe)*y,(ce+pe)*a,(ge-fe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ce-fe)*a,ge*y,(ce-pe)*a,(ge-fe)*y,(ce-fe)*a,(ge-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),fe=.025,pe=te*fe,ce=.175,ge=.35,me.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-fe)*y,(ce+fe)*a,(ge-pe)*y,(ce+pe)*a,(ge-fe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ce-fe)*a,ge*y,(ce-pe)*a,(ge-fe)*y,(ce-fe)*a,(ge-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),fe=.05,pe=te*fe,ce=.05,ge=.25,me.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-fe)*y,(ce-fe)*a,(ge-pe)*y,(ce-pe)*a,(ge-fe)*y)),me.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 ge=new go.PathFigure((z+b)*a,(z+b)*y,!1);return E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),ge.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),ge.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 ge=new go.PathFigure((ee+z)*a,re*y,!0);return E.add(ge),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)),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)),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,ge=.5,ve=new go.PathFigure(.8*a,.5*y,!0);E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+b)*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-z)*y));var fe=new go.PathFigure((ce+re)*a,ge*y,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge+re)*y,(ce+re)*a,(ge+ee)*y,(ce+ee)*a,(ge+re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*a,ge*y,(ce-ee)*a,(ge+re)*y,(ce-re)*a,(ge+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-re)*y,(ce-re)*a,(ge-ee)*y,(ce-ee)*a,(ge-re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*a,ge*y,(ce+ee)*a,(ge-re)*y,(ce+re)*a,(ge-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 ge=new go.PathFigure((ee-b)*a,re*y,!0);return E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ge.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 ge=new go.PathFigure(.8*a,.5*y,!0);E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(re-b)*y,.7*a,(re-z)*y)),b=.1,z=te*.1,ee=.9,re=.5;var ve=new go.PathFigure((ee-b)*a,re*y,!0);return E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),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 ge=new go.PathFigure(.2*a,0,!0);return E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z)*a,(re-b)*y,.9*a,(re-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ge.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,ge=.5,ve=(b-a)/2,fe=(z-y)/2,pe=new go.PathFigure(ce*a+ve,(ge+re)*y+fe,!0);E.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*a+ve,ge*y+fe,(ce-ee)*a+ve,(ge+re)*y+fe,(ce-re)*a+ve,(ge+ee)*y+fe)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(ge-re)*y+fe,(ce-re)*a+ve,(ge-ee)*y+fe,(ce-ee)*a+ve,(ge-re)*y+fe)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re+ee*.5)*a+ve,ge*y+fe,ce*a+ve,(ge-re)*y+fe,(ce-re+ee*.5)*a+ve,(ge-ee)*y+fe)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(ge+re)*y+fe,(ce-re+ee*.5)*a+ve,(ge+ee)*y+fe,ce*a+ve,(ge+re)*y+fe).close()),ee=te*.4,re=.4,ce=.2,ge=.5;var me=new go.PathFigure(ce*a+ve,(ge+re)*y+fe,!0);E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*a+ve,ge*y+fe,(ce-ee)*a+ve,(ge+re)*y+fe,(ce-re)*a+ve,(ge+ee)*y+fe)),me.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(ge-re)*y+fe,(ce-re)*a+ve,(ge-ee)*y+fe,(ce-ee)*a+ve,(ge-re)*y+fe)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re+ee*.5)*a+ve,ge*y+fe,ce*a+ve,(ge-re)*y+fe,(ce-re+ee*.5)*a+ve,(ge-ee)*y+fe)),me.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(ge+re)*y+fe,(ce-re+ee*.5)*a+ve,(ge+ee)*y+fe,ce*a+ve,(ge+re)*y+fe).close()),ee=te*.2,re=.2,ce=.5,ge=.5;var ye=new go.PathFigure((ce-re)*a+ve,ge*y+fe,!0);E.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(ge-re)*y+fe,(ce-re)*a+ve,(ge-ee)*y+fe,(ce-ee)*a+ve,(ge-re)*y+fe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*a+ve,ge*y+fe,(ce+ee)*a+ve,(ge-re)*y+fe,(ce+re)*a+ve,(ge-ee)*y+fe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(ge+re)*y+fe,(ce+re)*a+ve,(ge+ee)*y+fe,(ce+ee)*a+ve,(ge+re)*y+fe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*a+ve,ge*y+fe,(ce-ee)*a+ve,(ge+re)*y+fe,(ce-re)*a+ve,(ge+ee)*y+fe)),ee=te*.4,re=.4,ce=.8,ge=.5;var be=new go.PathFigure(ce*a+ve,(ge-re)*y+fe,!0);E.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*a+ve,ge*y+fe,(ce+ee)*a+ve,(ge-re)*y+fe,(ce+re)*a+ve,(ge-ee)*y+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(ge+re)*y+fe,(ce+re)*a+ve,(ge+ee)*y+fe,(ce+ee)*a+ve,(ge+re)*y+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re-ee*.5)*a+ve,ge*y+fe,ce*a+ve,(ge+re)*y+fe,(ce+re-ee*.5)*a+ve,(ge+ee)*y+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(ge-re)*y+fe,(ce+re-ee*.5)*a+ve,(ge-ee)*y+fe,ce*a+ve,(ge-re)*y+fe).close()),ee=te*.8,re=.8,ce=1,ge=.5;var Le=new go.PathFigure(ce*a+ve,(ge-re)*y+fe,!0);return E.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*a+ve,ge*y+fe,(ce+ee)*a+ve,(ge-re)*y+fe,(ce+re)*a+ve,(ge-ee)*y+fe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(ge+re)*y+fe,(ce+re)*a+ve,(ge+ee)*y+fe,(ce+ee)*a+ve,(ge+re)*y+fe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re-ee*.5)*a+ve,ge*y+fe,ce*a+ve,(ge+re)*y+fe,(ce+re-ee*.5)*a+ve,(ge+ee)*y+fe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(ge-re)*y+fe,(ce+re-ee*.5)*a+ve,(ge-ee)*y+fe,ce*a+ve,(ge-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(),ge=Be(),ve=Be(),fe=Be();Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.5,ce,ce,ge,ve,fe);var pe=Ce(ge.x,ge.y),me=new go.PathFigure(ge.x*a,ge.y*y,!0);E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,ve.x*a,ve.y*y,fe.x*a,fe.y*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)),Se(ee-z,re,ee-z,re-b,ee-b,re-z,ee,re-z,.5,ve,fe,ge,ce,ce),me.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,ve.x*a,ve.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,ve,fe,ge,ce,ce),me.add(new go.PathSegment(go.PathSegment.Line,ge.x*a,ge.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,fe.x*a,fe.y*y,ve.x*a,ve.y*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)),Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.5,ce,ce,ge,ve,fe),me.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,fe.x*a,fe.y*y,ve.x*a,ve.y*y).close());var me=new go.PathFigure(.45*a,0,!0);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),nt(ce),nt(ge),nt(ve),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,ge=.5-.5*Math.SQRT2/2,ve=1,fe=.5,pe=.5,me=0,ye=new go.PathFigure(ce*a,(1-ge)*y,!1);return E.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,fe*y,ve*a,.7*y,ve*a,fe*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+z)*a,(me+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,ge=Math.PI/4,ve=4*(1-Math.cos(ge))/(3*Math.sin(ge)),fe=ve*.5,pe=ee,me=ee,ye=ve*pe,be=ve*me;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-pe)*a,ce*y,(re-(ye+pe)/2)*a,(ce+(me+be)/2)*y,(re-pe)*a,(ce+be)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ce-me)*y,(re-pe)*a,(ce-be)*y,(re-ye)*a,(ce-me)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+pe)*a,ce*y,(re+ye)*a,(ce-me)*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+(me+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 Le=new go.PathFigure(.2*a,y,!1);E.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var we=new go.PathFigure(.8*a,y,!1);return E.add(we),we.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,ge=.9,ve=new go.PathFigure((ce-ee)*a,ge*y,!0);E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-ee)*y,(ce-ee)*a,(ge-re)*y,(ce-re)*a,(ge-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ee)*a,ge*y,(ce+re)*a,(ge-ee)*y,(ce+ee)*a,(ge-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge+ee)*y,(ce+ee)*a,(ge+re)*y,(ce+re)*a,(ge+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ee)*a,ge*y,(ce-re)*a,(ge+ee)*y,(ce-ee)*a,(ge+re)*y).close()),ee=.1,re=te*.1,ce=.8,ge=.9;var fe=new go.PathFigure((ce-ee)*a,ge*y,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-ee)*y,(ce-ee)*a,(ge-re)*y,(ce-re)*a,(ge-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ee)*a,ge*y,(ce+re)*a,(ge-ee)*y,(ce+ee)*a,(ge-re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge+ee)*y,(ce+ee)*a,(ge+re)*y,(ce+re)*a,(ge+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ee)*a,ge*y,(ce-re)*a,(ge+ee)*y,(ce-ee)*a,(ge+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,ge=te*.1,ve=.1,fe=.9,pe=new go.PathFigure((ve-ce)*a,fe*y,!0);E.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(fe-ce)*y,(ve-ce)*a,(fe-ge)*y,(ve-ge)*a,(fe-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ce)*a,fe*y,(ve+ge)*a,(fe-ce)*y,(ve+ce)*a,(fe-ge)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(fe+ce)*y,(ve+ce)*a,(fe+ge)*y,(ve+ge)*a,(fe+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ce)*a,fe*y,(ve-ge)*a,(fe+ce)*y,(ve-ce)*a,(fe+ge)*y)),ce=.1,ge=te*.1,ve=.4,fe=.9;var me=new go.PathFigure((ve-ce)*a,fe*y,!0);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(fe-ce)*y,(ve-ce)*a,(fe-ge)*y,(ve-ge)*a,(fe-ce)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ce)*a,fe*y,(ve+ge)*a,(fe-ce)*y,(ve+ce)*a,(fe-ge)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(fe+ce)*y,(ve+ce)*a,(fe+ge)*y,(ve+ge)*a,(fe+ce)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ce)*a,fe*y,(ve-ge)*a,(fe+ce)*y,(ve-ce)*a,(fe+ge)*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 ve=.05,fe=te*.05,pe=.175,me=.95,re=new go.PathFigure((pe-ve)*a,me*y,!0);E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(me-ve)*y,(pe-ve)*a,(me-fe)*y,(pe-fe)*a,(me-ve)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ve)*a,me*y,(pe+fe)*a,(me-ve)*y,(pe+ve)*a,(me-fe)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(me+ve)*y,(pe+ve)*a,(me+fe)*y,(pe+fe)*a,(me+ve)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ve)*a,me*y,(pe-fe)*a,(me+ve)*y,(pe-ve)*a,(me+fe)*y));var ve=.05,fe=te*.05,pe=.375,me=.95,ce=new go.PathFigure((pe-ve)*a,me*y,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(me-ve)*y,(pe-ve)*a,(me-fe)*y,(pe-fe)*a,(me-ve)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ve)*a,me*y,(pe+fe)*a,(me-ve)*y,(pe+ve)*a,(me-fe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(me+ve)*y,(pe+ve)*a,(me+fe)*y,(pe+fe)*a,(me+ve)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ve)*a,me*y,(pe-fe)*a,(me+ve)*y,(pe-ve)*a,(me+fe)*y));var ve=.05,fe=te*.05,pe=.625,me=.95,ge=new go.PathFigure((pe-ve)*a,me*y,!0);E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(me-ve)*y,(pe-ve)*a,(me-fe)*y,(pe-fe)*a,(me-ve)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ve)*a,me*y,(pe+fe)*a,(me-ve)*y,(pe+ve)*a,(me-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(me+ve)*y,(pe+ve)*a,(me+fe)*y,(pe+fe)*a,(me+ve)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ve)*a,me*y,(pe-fe)*a,(me+ve)*y,(pe-ve)*a,(me+fe)*y));var ve=.05,fe=te*.05,pe=.825,me=.95,ye=new go.PathFigure((pe-ve)*a,me*y,!0);E.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(me-ve)*y,(pe-ve)*a,(me-fe)*y,(pe-fe)*a,(me-ve)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ve)*a,me*y,(pe+fe)*a,(me-ve)*y,(pe+ve)*a,(me-fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(me+ve)*y,(pe+ve)*a,(me+fe)*y,(pe+fe)*a,(me+ve)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ve)*a,me*y,(pe-fe)*a,(me+ve)*y,(pe-ve)*a,(me+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,ge=.35,ve=.775,fe=new go.PathFigure((ge-re)*a,ve*y,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ve-re)*y,(ge-re)*a,(ve-ce)*y,(ge-ce)*a,(ve-re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+re)*a,ve*y,(ge+ce)*a,(ve-re)*y,(ge+re)*a,(ve-ce)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ve+re)*y,(ge+re)*a,(ve+ce)*y,(ge+ce)*a,(ve+re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-re)*a,ve*y,(ge-ce)*a,(ve+re)*y,(ge-re)*a,(ve+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 ge=new go.PathFigure(0,.7*y,!1);return E.add(ge),ge.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 ge=new go.PathFigure(.15*a,.5*y,!1);return E.add(ge),ge.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 ge=new go.PathFigure((ee-b)*a,re*y,!1);return E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ge.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()),ge.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),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 ge=new go.PathFigure(a*.78,y*.05,!1);return E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),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")},44764: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={},Pt="5.0",Ce={},Be=null,nt=!1,x=!1,Se=null,he=!1,ae=null,te=null,le=0;le<arguments.length;le++){var de=arguments[le];if(de!==null)switch(typeof de){case"number":Pt=de.toFixed(1);break;case"string":de.match(new RegExp("^[0-9]\\.[0-9]+$"))?Pt=de:Se=de;break;case"object":typeof de.is3D!="undefined"?Be=de:Ce=de;break;case"boolean":nt=de,x=!0;break}}Be===null&&(Be={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},Ce.material_id!==void 0&&!x&&(nt=!0)),Se!==null&&Ce.id===void 0&&(Ce.id=Se);var se="",ue="",oe=!1,ie=null,ne=null,a=null,y=!1,E=null,b=null,z=null,ee=null,re=null;Ce.height!==void 0&&(Ce.height=Math.round(Ce.height)),Ce.width!==void 0&&(Ce.width=Math.round(Ce.width));var ce=function(Ge){return parseFloat(Ge)>4?parseFloat(Ge):5};Ct.setHTML5Codebase=function(Ge,ke){te=Ge,rt(Ge,ke)},Ct.setJavaCodebase=Ct.setJavaCodebaseVersion=Ct.isCompiledInstalled=Ct.setPreCompiledScriptPath=Ct.setPreCompiledResourcePath=function(){},Ct.setHTML5CodebaseVersion=function(Ge,ke){var _e=parseFloat(Ge);if(_e!==NaN&&_e<5){console.log("The GeoGebra HTML5 codebase version "+_e+" is deprecated. Using version latest instead.");return}ae=Ge,ot(Ge,ke)},Ct.getHTML5CodebaseVersion=function(){return ne},Ct.getParameters=function(){return Ce},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 ke="auto",_e=Ce.id,tt,Xe=!1,ct=0;ct<arguments.length;ct++){var Ye=arguments[ct];typeof Ye=="string"?(Ye=Ye.toLowerCase(),Ye.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ke=Ye:_e=arguments[ct]):typeof Ye=="boolean"?Xe=Ye:Ye instanceof HTMLElement&&(tt=Ye)}Ne();function Ne(){if(!he){setTimeout(Ne,200);return}ke=qe(ke);var Oe=tt||document.getElementById(_e);if(!Oe){console.log("possibly bug on ajax loading? ");return}if(Ct.removeExistingApplet(Oe,!1),Ce.width===void 0&&Oe.clientWidth&&(Ce.width=Oe.clientWidth),Ce.height===void 0&&Oe.clientHeight&&(Ce.height=Oe.clientHeight),!(Ce.width&&Ce.height)&&ke==="html5"&&(delete Ce.width,delete Ce.height),ie=ke,ke==="screenshot")we(Oe,Ce);else{var Ue=!1;Ce.hasOwnProperty("playButton")&&Ce.playButton||Ce.hasOwnProperty("clickToLoad")&&Ce.clickToLoad?Ue=!0:Ce.hasOwnProperty("playButtonAutoDecide")&&Ce.playButtonAutoDecide&&(Ue=(!ge()||Ge())&&ve()),Ue?(ie="screenshot",Me(Oe,Ce,Xe,ke)):Le(Oe,Ce,Xe)}}};function ge(){try{return window.self!==window.top}catch(Ge){return!0}}function ve(){return Ce.hasOwnProperty("screenshotGenerator")&&Ce.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Ct.getViews=function(){return Be},Ct.isJavaInstalled=function(){return!1};var fe=function(Ge){var ke=function(ct){var Ye=JSON.parse(ct),Ne=function(xe){return xe.type=="G"||xe.type=="E"},Oe=Ye.elements?Ye.elements.filter(Ne)[0]:Ye;if(!Oe||!Oe.url){_e();return}Ce.fileName=Oe.url,pe(Oe.settings||{}),Be.is3D=!0;var Ue="https://www.geogebra.org/images/";Ct.setPreviewImage(E||Oe.previewUrl,Ue+"GeoGebra_loading.png",Ue+"applet_play.png"),Ge()},_e=function(){Ce.onError&&Ce.onError(),Qe("Error: Fetching material (id "+Ce.material_id+") failed.",Ce)},tt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Xe="/materials/"+Ce.material_id+"?scope=basic";me("https://"+tt+"/api/proxy.php?path="+encodeURIComponent(Xe),ke,_e)};function pe(Ge){var ke=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(_e){Ge[_e]=!!Ge[_e]}),ke.forEach(function(_e){Ce[_e]===void 0&&Ge[_e]!==void 0&&(Ce[_e]=Ge[_e])}),Ce.showToolBarHelp===void 0&&(Ce.showToolBarHelp=Ce.showToolBar)}function me(Ge,ke,_e){var tt=new XMLHttpRequest;tt.open("GET",Ge),tt.onload=function(){ke(tt.responseText)},tt.onerror=_e,tt.send()}Ct.isHTML5Installed=function(){return!0},Ct.getLoadedAppletType=function(){return ie},Ct.setPreviewImage=function(Ge,ke,_e){E=Ge,b=ke,z=_e},Ct.removeExistingApplet=function(Ge,ke){var _e;typeof Ge=="string"&&(Ge=document.getElementById(Ge)),ie=null;var tt=null;for(_e=0;_e<Ge.childNodes.length;_e++){var Xe=Ge.childNodes[_e],ct=Xe.className;ct==="applet_screenshot"?ke?(Xe.style.display="block",ie="screenshot"):Xe.style.display="none":ct!=="applet_scaler prerender"&&(Ge.removeChild(Xe),tt=ct&&ct.indexOf("appletParameters")!=-1?Xe.id:null,_e--)}var Ye=Ce.id!==void 0?Ce.id:tt,Ne=window[Ye];Ne&&typeof Ne.getBase64=="function"&&(Ne.remove(),window[Ye]=null)},Ct.refreshHitPoints=function(){if(ce(ggbHTML5LoadedCodebaseVersion)>=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=Ce.id!==void 0?Ce.id:"ggbApplet";return window[Ge]},Ct.resize=function(){};var ye=function(Ge,ke,_e){var tt=document.createElement("param");tt.setAttribute("name",ke),tt.setAttribute("value",_e),Ge.appendChild(tt)},be=function(Ge){return Ge&&Ge!=="false"},Le=function(Ge,ke,_e){ce(ne)<=4.2&&(_e=!0);var tt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ne||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(tt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Xe=document.createElement("div");Xe.classList.add("appletParameters","notranslate");var ct=ke.width,Ye=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(ce(ne)<=4.4)be(ke.showToolBar)&&(ke.height-=7),be(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&be(ke.showToolBar)&&(ke.width=605,ct=605);else{var Ne=100;(be(ke.showToolBar)||be(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Ne=be(ke.showMenuBar)?245:155),ct<Ne&&(ke.width=Ne,ct=Ne)}Xe.style.border="none",Xe.style.display="inline-block";for(var Oe in ke)ke.hasOwnProperty(Oe)&&Oe!=="appletOnLoad"&&Xe.setAttribute("data-param-"+Oe,ke[Oe]);ee&&Xe.setAttribute("data-param-fontscssurl",ee),Ct.resize=function(){GGBAppletUtils.responsiveResize(Ge,ke)},window.addEventListener("resize",function(Ze){Ct.resize()});var Ue=typeof ke.appletOnLoad=="function"?ke.appletOnLoad:function(){};if(!_e&&ke.width!==void 0){ke.hasOwnProperty("showSplash")||Xe.setAttribute("data-param-showSplash","false");var xe=Ge.querySelector(".applet_scaler.prerender"),Fe=xe!==null;if(Fe)var He=xe.querySelector(".ggb_preview");else{var He=ze(ct,Ye,ke.borderColor,!1);xe=document.createElement("div"),xe.className="applet_scaler",xe.style.position="relative",xe.style.display="block",xe.style.width=ct+"px",xe.style.height=Ye+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(xe,"66%"),ce(ne)>=5?(ke.appletOnLoad=function(Ze){var it=Ge.querySelector(".ggb_preview");it&&it.parentNode.removeChild(it),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(xe),window.GGBT_wsf_view&&$(window).trigger("resize"),Ue(Ze)},Fe||xe.appendChild(He)):Xe.appendChild(He),xe.appendChild(Xe),Fe||Ge.appendChild(xe),setTimeout(function(){Ct.resize()},1)}else{var We=document.createElement("div");We.className="applet_scaler",We.style.position="relative",We.style.display="block",We.appendChild(Xe),Ge.appendChild(We),ke.appletOnLoad=function(Ze){Ct.resize(),Ue(Ze)}}function Ie(Ze,it){it&&typeof it.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ze,it.appletOnLoad):renderGGBElement(Ze),Qe("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",it)}function Te(Ze,it){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ze,params:it}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(pt){Ie(pt.article,pt.params)}),html5AppletsToProcess=null)},ce(ne)<5&&(Ze.className+=" geogebraweb")):Ie(Ze,it)}if(tt){scriptLoadStarted=!0;for(var Ee=0;Ee<Xe.childNodes.length;Ee++){var Pe=Xe.childNodes[Ee].tagName;Pe==="TABLE"&&(Xe.removeChild(Xe.childNodes[Ee]),Ee--)}if(ggbHTML5LoadedScript!==null){var je=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');je!=null&&je.parentNode.removeChild(je)}var Ke=document.createElement("script"),at=function(){Te(Xe,ke)};Ke.src=ue+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=ne,ggbHTML5LoadedScript=Ke.src,Qe("GeoGebra HTML5 codebase loaded: '"+ue+"'.",ke),!te&&(!ae||ae=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),at()):ue.requirejs?__webpack_require__.e(6892).then(function(){var Ze=[__webpack_require__(6892)];at.apply(null,Ze)}.bind(this)).catch(__webpack_require__.oe):(Ke.onload=at,Ge.appendChild(Ke))}else Te(Xe,ke);ke.height=Ye,ke.width=ct},we=function(Ge,ke,_e){var tt=ze(ke.width,ke.height,ke.borderColor,_e),Xe=document.createElement("div");Xe.style.position="relative",Xe.style.display="block",Xe.style.width=ke.width+"px",Xe.style.height=ke.height+"px",Xe.className="applet_screenshot applet_scaler"+(_e?" applet_screenshot_play":""),Xe.appendChild(tt);var ct=GGBAppletUtils.getScale(ke,Ge,_e);_e?(Ge.appendChild(De()),window.GGBT_wsf_view||(Ge.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Xe,"66%"),Ge.appendChild(Xe),ct!==1&&!isNaN(ct)&&(GGBAppletUtils.scaleElement(Xe,ct),Xe.style.width=ke.width+"px",Xe.style.height=ke.height+"px",Xe.parentNode.style.width=ke.width*ct+"px",Xe.parentNode.style.height=ke.height*ct+"px"),Ct.resize=function(){Ae(Ge,tt,Xe,_e)},window.addEventListener("resize",function(Ye){Ct.resize()}),Ct.resize()};function Ae(Ge,ke,_e,tt){if(Ge.contains(ke)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ge.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ge)}var Xe=GGBAppletUtils.getScale(Ce,Ge,tt);_e.parentNode!==null&&(!isNaN(Xe)&&Xe!==1?(GGBAppletUtils.scaleElement(_e,Xe),_e.parentNode.style.width=Ce.width*Xe+"px",_e.parentNode.style.height=Ce.height*Xe+"px"):(GGBAppletUtils.scaleElement(_e,1),_e.parentNode.style.width=Ce.width+"px",_e.parentNode.style.height=Ce.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ge),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Ct.onExitFullscreen=function(Ge,ke){ke.appendChild(Ge)};var Me=function(Ge,ke,_e,tt){we(Ge,ke,!0);for(var Xe=function(){var Ne=[];for(Ye=0;Ye<Ge.childNodes.length;Ye++)Ne.push(Ge.childNodes[Ye]);if(window.GGBT_wsf_view){var Oe=window.GGBT_wsf_view.renderFullScreen(Ge,ke.id),Ue=document.getElementById("fullscreencontainer"),xe=jQuery(Ge).find(".fullscreencontent");xe.length>0?(Oe.remove(),xe.attr("id","fullscreencontent").show(),jQuery(Ue).append(xe),window.dispatchEvent(new Event("resize"))):Le(Oe,ke,!1),window.GGBT_wsf_view.launchFullScreen(Ue)}else ie=tt,Le(Ge,ke,!1);if(!window.GGBT_wsf_view)for(Ye=0;Ye<Ne.length;Ye++)Ge.removeChild(Ne[Ye])},ct=Ge.getElementsByClassName("ggb_preview_play"),Ye=0;Ye<ct.length;Ye++)ct[Ye].addEventListener("click",Xe,!1),ct[Ye].addEventListener("ontouchstart",Xe,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ge),ve()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},De=function(){var Ge=document.createElement("div");if(Ge.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ke='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',_e=document.createElement("style");_e.styleSheet?_e.styleSheet.cssText=ke:_e.appendChild(document.createTextNode(ke)),document.getElementsByTagName("head")[0].appendChild(_e)}return Ge},ze=function(Ge,ke,_e,tt){var Xe=document.createElement("div");Xe.className="ggb_preview",Xe.style.position="absolute",Xe.style.zIndex="90",Xe.style.width=Ge-2+"px",Xe.style.height=ke-2+"px",Xe.style.top="0px",Xe.style.left="0px",Xe.style.overflow="hidden",Xe.style.backgroundColor="white";var ct="lightgrey";_e!==void 0&&(_e==="none"?ct="transparent":ct=_e),Xe.style.border="1px solid "+ct;var Ye=document.createElement("img");if(Ye.style.position="relative",Ye.style.zIndex="1000",Ye.style.top="-1px",Ye.style.left="-1px",E!==null&&Ye.setAttribute("src",E),Ye.style.opacity=.7,b!==null){var Ne,Oe,Ue;if(!tt){Ne=document.createElement("img"),Ne.style.position="absolute",Ne.style.zIndex="1001",Ne.style.opacity=1,Ye.style.opacity=.3,Oe=360,Oe>Ge/4*3&&(Oe=Ge/4*3),Ue=Oe/5.8,Ne.setAttribute("src",b),Ne.setAttribute("width",Oe),Ne.setAttribute("height",Ue);var xe=(Ge-Oe)/2,Fe=(ke-Ue)/2;Ne.style.left=xe+"px",Ne.style.top=Fe+"px",Xe.appendChild(Ne)}}return Xe.appendChild(Ye),Xe},qe=function(Ge){return Ge=Ge.toLowerCase(),Ge==="html5"||Ge==="screenshot"?Ge:"html5"},Re=["web","webSimple","web3d","tablet","tablet3d","phone"],ot=function(Ge,ke){if(ne=Ge,ke){rt(ne,!0);return}var _e=!nt;if(_e){var tt=ce(ne);!isNaN(tt)&&tt<4.4&&(_e=!1)}var Xe,ct;window.location.protocol.substr(0,4)==="http"?Xe=window.location.protocol:Xe="http:";var Ye=ne.indexOf("//");Ye>0?ct=ne:Ye===0?ct=Xe+ne:ct="https://www.geogebra.org/apps/5.2.814.0/";for(var Ne in Re)if(ne.slice(Re[Ne].length*-1)===Re[Ne]||ne.slice((Re[Ne].length+1)*-1)===Re[Ne]+"/"){rt(ct,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&_e&&!Be.is3D&&!Be.AV&&!Be.SV&&!Be.CV&&!Be.EV2&&!Be.CP&&!Be.PC&&!Be.DA&&!Be.FI&&!Be.PV&&!be(Ce.showToolBar)&&!be(Ce.showMenuBar)&&!be(Ce.showAlgebraInput)&&!be(Ce.enableRightClick)&&(!Ce.appName||Ce.appName=="classic")?ct+="webSimple/":ct+="web3d/",rt(ct,!1)},rt=function(Ge,ke){if(Ge.requirejs){ue=Ge;return}Ge.slice(-1)!=="/"&&(Ge+="/"),ue=Ge,ke===null&&(ke=Ge.indexOf("http")===-1),oe=ke,a="web.nocache.js",y=!1;var _e=ue.split("/");_e.length>1&&(!ke&&_e[_e.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Re.indexOf(_e[_e.length-2])>=0&&(a=_e[_e.length-2]+".nocache.js")),_e=Ge.split("/"),ne=_e[_e.length-3],ne.substr(0,4)==="test"?ne=ne.substr(4,1)+"."+ne.substr(5,1):(ne.substr(0,3)==="war"||ne.substr(0,4)==="beta")&&(ne="5.0");var tt=parseFloat(ne);tt!==NaN&&tt<5&&Ge.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+tt+" is deprecated. Using version latest instead."),ot("5.0",ke))},Qe=function(Ge,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(Ge)};Ce.material_id!==void 0?fe(Je):Je();function Je(){var Ge=Pt;ae!==null?Ge=ae:parseFloat(Ge)<5&&(Ge="5.0"),ot(Ge,!1),te!==null&&rt(te,oe),he=!0}return Ct},GGBAppletUtils=function(){"use strict";function Ct(){return window.GGBT_wsf_edit!==void 0}function Pt(he,ae){ae!=1?(he.style.transformOrigin="0% 0% 0px",he.style.webkitTransformOrigin="0% 0% 0px",he.style.transform="scale("+ae+","+ae+")",he.style.webkitTransform="scale("+ae+","+ae+")",he.style.maxWidth="initial",he.querySelector(".ggb_preview")!==null&&(he.querySelector(".ggb_preview").style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[0]!==void 0&&(he.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[1]!==void 0&&(he.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(he.style.transform="none",he.style.webkitTransform="none")}function Ce(he,ae,te,le,de,se){var ue=null;if(se!=null&&se!="")for(var oe=he.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),he){var ee=he.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(he&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=he.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return he&&((te===void 0||!te)&&ae>0&&ae+y<ie?ie=ae:ie-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(te===void 0||!te)&&(ne-=z)),{width:ie,height:ne}}function Be(he,ae,te,le,de){if(he.isScreenshoGenerator)return 1;var se=le!==void 0&&le,ue=he.noScaleMargin!=null&&he.noScaleMargin,oe=function(re){return re&&re!=="false"},ie=oe(he.autoHeight),ne=Ce(ae,he.width,te,ie,se&&window.GGBT_wsf_view||ue,de),a=parseInt(ne.width),y=he.width,E=he.height;if(y===void 0){var b=ae.querySelector(".appletParameters");b&&(y=b.offsetWidth,E=b.offsetHeight)}var z=a/y,ee=se?1:ne.height/E;return te!==void 0&&!te&&(z=Math.min(1,z),ee=Math.min(1,ee)),Math.min(z,ee)}function nt(he,ae,te){var le=1,de,se=!1;if(he.hasOwnProperty("allowUpscale")&&(se=he.allowUpscale),he.hasOwnProperty("scale")&&(le=parseFloat(he.scale),(isNaN(le)||le===null||le===0)&&(le=1),le>1&&(se=!0)),ae&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))de=Be(he,ae,se,te,he.scaleContainerClass);else return le;return se&&(!he.hasOwnProperty("scale")||le===1)?de:Math.min(le,de)}function x(he){var ae=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),le=he.getBoundingClientRect(),de=(ae-le.width)/2,se=(te-le.height)/2;se<0&&(se=0),he.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(de<40?he.style.left="40px":he.style.left=de+"px",he.style.top=se+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(se<40?he.style.top="40px":he.style.top=se+"px",he.style.left=de+"px")}function Se(he,ae){var te=he.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(he)}if(te.parentElement&&/fullscreen/.test(te.parentElement.className))return;var le=nt(ae,he);Ct()&&te.setAttribute("data-param-scale",le);for(var de=null,se=0;se<he.childNodes.length;se++)if(he.childNodes[se].className!==void 0&&he.childNodes[se].className.match(/^applet_scaler/)){de=he.childNodes[se];break}if(de!==null&&de.querySelector(".noscale")!==null)return;var ue=ae.id!==void 0?ae.id:"ggbApplet",oe=window[ue];(oe==null||!oe.recalculateEnvironments)&&de!==null&&!de.className.match(/fullscreen/)&&(de.parentNode.style.transform="",!isNaN(le)&&le!==1?(de.parentNode.style.width=ae.width*le+"px",de.parentNode.style.height=ae.height*le+"px",Pt(de,le)):(Pt(de,1),de.parentNode.style.width=ae.width+"px",de.parentNode.style.height=ae.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&x(he),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(te).parents(".content-added-content"))}}return{responsiveResize:Se,isFlexibleWorksheetEditor:Ct,positionCenter:x,getScale:nt,scaleElement:Pt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Ct=n.location.search;return Ct.indexOf(J)!=-1||Ct.indexOf(K)!=-1}function q(Ct,Pt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Ct){var Pt=s[L].bindings;s[L].bindings=function(){for(var Ce=Pt?Pt():{},Be=Ct[webModule.__softPermutationId],nt=O;nt<Be.length;nt++){var x=Be[nt];Ce[x[O]]=x[P]}return Ce}};var t;function u(){return v(),t}function v(){if(!t){var Ct=o.createElement(Q);if(Ct.id=L,Ct.style.cssText=R+S,Ct.tabIndex=-1,o.body.appendChild(Ct),t=Ct.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Pt=document.compatMode==U?V:W;t.write(Pt+X),t.close()}}}function w(Ct){function Pt(Be){function nt(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var x=nt();if(x){Be();return}function Se(){if(!x){if(!nt())return;x=!0,Be(),o.removeEventListener&&o.removeEventListener(Z,Se,!1),he&&clearInterval(he)}}o.addEventListener&&o.addEventListener(Z,Se,!1);var he=setInterval(function(){Se()},$)}function Ce(Be){var nt=u(),x=nt.body,Se=nt.createElement(_);Se.language=ab,Se.crossOrigin=W,Se.src=Be,webModule.__errFn&&(Se.onerror=function(){webModule.__errFn(L,new Error(bb+Be))}),x.appendChild(Se)}Pt(function(){Ce(Ct)})}webModule.__startLoadingFragment=function(Ct){return C(Ct)},webModule.__installRunAsyncCode=function(Ct){var Pt=u(),Ce=Pt.body,Be=Pt.createElement(_);Be.language=ab,Be.text=Ct,Ce.appendChild(Be),Ce.removeChild(Be)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ct){var Pt=c[Ct];return Pt==null?null:Pt},r=d,webModule.__errFn=e}function B(){function Ct(he){var ae=he.lastIndexOf(rb);ae==-1&&(ae=he.length);var te=he.indexOf(sb);te==-1&&(te=he.length);var le=he.lastIndexOf(tb,Math.min(te,ae));return le>=O?he.substring(O,le+P):W}function Pt(he){if(!he.match(/^\w+:\/\//)){var ae=o.createElement(ub);ae.src=he+vb,he=Ct(ae.src)}return he}function Ce(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function Be(){for(var he=o.getElementsByTagName(_),ae=O;ae<he.length;++ae)if(he[ae].src.indexOf(xb)!=-1)return Ct(he[ae].src);return W}function nt(){var he=o.getElementsByTagName(yb);return he.length>O?he[he.length-P].href:W}function x(){var he=o.location;return he.href==he.protocol+zb+he.host+he.pathname+he.search+he.hash}var Se=Ce();return Se==W&&(Se=Be()),Se==W&&(Se=nt()),Se==W&&x()&&(Se=Ct(o.location.href)),Se=Pt(Se),Se}function C(Ct){return Ct.match(/^\//)||Ct.match(/^[a-zA-Z]+:\/\//)?Ct:webModule.__moduleBase+Ct}function D(){var Ct=[],Pt=O,Ce=[],Be=[];function nt(he){var ae=Be[he](),te=Ce[he];if(ae in te)return ae;var le=[];for(var de in te)le[te[de]]=de;throw r&&r(he,le,ae),null}if(__gwt_isKnownPropertyValue=function(he,ae){return ae in Ce[he]},webModule.__getPropMap=function(){var he={};for(var ae in Ce)Ce.hasOwnProperty(ae)&&(he[ae]=nt(ae));return he},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&&(Pt=parseInt(x.substring(Se+P),$),x=x.substring(O,Se))}catch(he){}return webModule.__softPermutationId=Pt,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})()},92746:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Ax:function(){return Se},Ds:function(){return he},KI:function(){return te},SI:function(){return x},f1:function(){return nt}});var Be=Ce(35545);function nt(le){let de=!0;if(le.length>0){for(let se=0;se<le.length;se++)if(le[se].compile_success==0||!le[se].compile_success){de=!1;break}}else de=!1;return de}function x(le,de=""){let se=[];for(let ue=0;ue<le.length;ue++){let oe=le[ue],ie=de?`${de}/${oe.name}`:`${oe.name}`;se.push({title:oe.name,type:oe.type,isLeaf:oe.type!=="tree",key:ie})}return se}function Se(le,de,se){for(let ue=0;ue<le.length;ue++){let oe=le[ue];if(oe.key===de){oe.children=se;break}oe.children&&Se(oe.children,de,se)}return le}function he(le,de,se){let ue;return function(){let oe=this,ie=arguments,ne=function(){ue=null,se||le.apply(oe,ie)},a=se&&!ue;clearTimeout(ue),ue=setTimeout(ne,de),a&&le.apply(oe,ie)}}const ae=!0,te=Be.Z.API_SERVER},12338:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return oe}});var Be=Ce(59301),nt={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},x=Ce(92310),Se=Ce.n(x),he=Ce(71418),ae=Ce(2859),te=Ce(79884),le=Ce(19694),de=Ce(75759),se=(ie,ne,a)=>new Promise((y,E)=>{var b=re=>{try{ee(a.next(re))}catch(ce){E(ce)}},z=re=>{try{ee(a.throw(re))}catch(ce){E(ce)}},ee=re=>re.done?y(re.value):Promise.resolve(re.value).then(b,z);ee((a=a.apply(ie,ne)).next())}),oe=({data:ie,className:ne,fullWidth:a,style:y={},onClose:E,onOk:b,showFullTools:z,noAssociationId:ee})=>{const re=(0,de.useIntl)(),ce=(0,Be.useRef)(null),ge=(0,Be.useRef)(null),ve=(0,Be.useRef)(null),fe=(0,Be.useRef)(null),[pe,me]=(0,Be.useState)(!1),[ye,be]=(0,Be.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Be.useEffect)(()=>{ve.current||(ve.current=document.createElement("style"),document.head.appendChild(ve.current)),ie!=null&&ie.visible?(document.body.setAttribute("data-custom","y-hidden"),ve.current.innerHTML=" html { overflow-y: hidden; }",ie!=null&&ie.src&&Le()):(document.body.removeAttribute("data-custom"),ve.current&&(document.head.removeChild(ve.current),ve.current=null))},[ie==null?void 0:ie.visible]);const Le=()=>se(void 0,null,function*(){me(!0),be("\u6B63\u5728\u52A0\u8F7D\u4E2D");const ze=yield(0,le.ZJ)(ie==null?void 0:ie.src);ce.current.src="",ce.current.src=ze,ce.current.onload=function(){De()},me(!1),be("")}),we=()=>{document.body.removeAttribute("data-custom"),ve.current.innerHTML=" ",E()},Ae=ze=>se(void 0,null,function*(){me(!0),be("\u6B63\u5728\u4FDD\u5B58\u4E2D");const qe=yield(0,te.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ie.title,file:ze.dataUrl}});qe!=null&&qe.id&&!ee?(yield(0,te.ZP)(`/api/attachments/${ie.id}/add_subitem.json`,{method:"post",body:{subitem_id:qe==null?void 0:qe.id,settings:JSON.stringify(ze.state)}})).status===0&&b():qe!=null&&qe.id&&b(qe),document.body.removeAttribute("data-custom"),ve.current.innerHTML=" ",me(!1),be("")}),Me=()=>{const ze=document.querySelector('a[href="https://markerjs.com/"]');ze&&ze.parentNode&&(ze.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:re.formatMessage({id:"shixuns.text",defaultMessage:"\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:re.formatMessage({id:"classroomClassroomExperiments.save",defaultMessage:"\u4FDD\u5B58"})},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Re=>{const ot=document.querySelector(Re.name);ot&&ot.setAttribute("title",Re.title)})},De=()=>{ge.current=new ae.hP(ce.current),ge.current.targetRoot=fe.current,ge.current.addEventListener("render",Ae),ge.current.addEventListener("beforeclose",we),z&&(ge.current.availableMarkerTypes=ge.current.ALL_MARKER_TYPES,ge.current.uiStyleSettings.redoButtonVisible=!0,ge.current.uiStyleSettings.notesButtonVisible=!0,ge.current.uiStyleSettings.zoomButtonVisible=!0,ge.current.uiStyleSettings.zoomOutButtonVisible=!0,ge.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ge.current.uiStyleSettings,ge.current.show(),ie!=null&&ie.snapshotData&&ge.current.restoreState(ie.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Me()},300)};return Be.createElement(Be.Fragment,null,(ie==null?void 0:ie.visible)&&Be.createElement(he.Z,{spinning:pe,tip:ye,style:{position:"absolute"}},Be.createElement("div",{ref:fe,className:Se()(nt.imageDimensions,ne,a?nt.fullWidth:""),style:y},Be.createElement("img",{className:nt.img,ref:ce}))))}},12051:function(Ct,Pt,Ce){"use strict";var Be=Ce(59301),nt=Ce(95237),x=Ce(43604),Se=Ce(99313),he=Ce(3113),ae=Ce(52628),te=Ce(81230),le=Ce(48136),de=Ce(75759),se=Ce(59301);const ue=(0,Be.forwardRef)(({callback:oe,showSaveButton:ie,value:ne=""},a)=>{const y=(0,Be.useRef)(),E=(0,de.useIntl)(),b=[{name:E.formatMessage({id:"markdownEditor.fractionsScores",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.rootsSuperscripts",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.limitsLogarithms",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.trigonometricFunctions",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.integralOperations",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.largeOperations",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.bracketsRounding",defaultMessage:"\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 "}]}]}],z=[{name:E.formatMessage({id:"markdownEditor.algebra",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.geometry",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.inequalities",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.integrals",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.trigonometry",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.statistics",defaultMessage:"\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}`}]}]}],ee=ge=>{y.current.setValue(y.current.getValue()+" "+ge.value+" ")},re=[{key:"1",label:E.formatMessage({id:"markdownEditor.quickTemplates",defaultMessage:"\u5FEB\u6377\u6A21\u677F"}),children:se.createElement(nt.Z,{className:te.Z.lists,gutter:[10,10]},b.map((ge,ve)=>se.createElement(x.Z,{flex:"110px",className:te.Z.item},se.createElement("div",null,se.createElement(ae.Z,{value:`$$${ge.value}$$`}),ge.name),se.createElement("div",{className:te.Z.children},ge.children.map((fe,pe)=>se.createElement("div",{key:pe},se.createElement("h1",null,fe.name),se.createElement(nt.Z,{gutter:[10,10]},fe.data.map((me,ye)=>se.createElement(x.Z,{key:ye,onClick:()=>ee(me),className:te.Z.diamond},se.createElement(ae.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:E.formatMessage({id:"markdownEditor.formulaTemplates",defaultMessage:"\u516C\u5F0F\u6A21\u677F"}),children:se.createElement(nt.Z,{className:te.Z.lists,gutter:[10,10]},z.map((ge,ve)=>se.createElement(x.Z,{flex:"110px",className:te.Z.item},se.createElement("div",null,se.createElement(ae.Z,{value:"`$$"+ge.value+"$$`"}),ge.name),se.createElement("div",{className:te.Z.children},ge.children.map((fe,pe)=>se.createElement("div",{key:pe},fe.name&&se.createElement("h1",null,fe.name),se.createElement(nt.Z,{gutter:[10,10]},fe.data.map((me,ye)=>se.createElement(x.Z,{key:ye,onClick:()=>ee(me),className:te.Z.diamond},se.createElement(ae.Z,{value:"`$$"+me.value+"$$`"}))))))))))}],ce=()=>{var ge=document.createElement("div");ge.innerHTML=y.current.getValue();var ve=ge.innerText;return oe&&oe(ve),ve};return(0,Be.useImperativeHandle)(a,()=>({getData:ce})),se.createElement("div",{className:te.Z.mathWrap},se.createElement(Se.default,{defaultActiveKey:"1",items:re}),se.createElement("math-field",{locale:"zh_cn",className:te.Z.mathField,placeholder:E.formatMessage({id:"markdownEditor.pleaseOpenKeyboardEnterFormula",defaultMessage:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F"}),ref:y,style:{width:800,marginTop:30,fontSize:18}},ne||""),ie&&se.createElement("div",{className:te.Z.button},se.createElement(he.ZP,{size:"large",onClick:ce,style:{zIndex:8,marginTop:10},type:"primary"},E.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"}))))});Pt.Z=ue},11659:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return Se}});var Be=Ce(59301),nt=Ce(90328),x=Ce(59301),Se=({defaultX:he="40%",leftChild:ae,rightChild:te,className:le,hideResize:de=!1})=>{const[se,ue]=(0,Be.useState)(he),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`:he,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))}},9218:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{h:function(){return ce}});var Be=Ce(59301),nt=Ce(57809),x=Ce(78241),Se=Ce(3113),he=Ce(89780),ae=Ce.n(he),te=Ce(10658),le=Ce(89274),de=Ce(75759),se=Object.defineProperty,ue=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(ge,ve,fe)=>ve in ge?se(ge,ve,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ge[ve]=fe,E=(ge,ve)=>{for(var fe in ve||(ve={}))ne.call(ve,fe)&&y(ge,fe,ve[fe]);if(ie)for(var fe of ie(ve))a.call(ve,fe)&&y(ge,fe,ve[fe]);return ge},b=(ge,ve)=>ue(ge,oe(ve));const z=nt.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},re={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"]};Pt.Z=({callback:ge,onCancel:ve})=>{const[fe,pe]=(0,Be.useState)("python");function me(Le){pe(re[Le][1])}function ye(Le){ge(Le)}const be=(0,de.useIntl)();return Be.createElement(x.default,b(E({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ye,style:{width:500}}),Be.createElement(x.default.Item,{label:be.formatMessage({id:"markdownEditor.codeLanguage",defaultMessage:"\u4EE3\u7801\u8BED\u8A00"}),name:"language"},Be.createElement(nt.default,{getPopupContainer:Le=>Le.parentNode,onChange:me},Object.keys(re).map(Le=>Be.createElement(z,{key:Le,value:Le},re[Le][0])))),Be.createElement(x.default.Item,{label:be.formatMessage({id:"markdownEditor.codeContent",defaultMessage:"\u4EE3\u7801\u5185\u5BB9"}),name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Be.createElement(ce,{mode:fe})),Be.createElement("div",{className:"flex-container flex-end"},Be.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},be.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Be.createElement(Se.ZP,{type:"ghost",onClick:ve},be.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))};function ce({value:ge,onChange:ve,mode:fe,options:pe={}}){const me=(0,Be.useRef)(),[ye,be]=(0,Be.useState)();return(0,Be.useEffect)(()=>{if(ye){let Le=function(we){const Ae=we.getValue();ve&&ve(Ae)};return ye.on("change",Le),()=>{ye.off("change",Le)}}},[ye,ve]),(0,Be.useEffect)(()=>{ye&&ye.setOption("mode",fe)},[ye,fe]),(0,Be.useEffect)(()=>{ye&&(ge!==ye.getValue()||ge==="")&&setTimeout(()=>{ye.setValue(ge||"")},300)},[ye,ge]),(0,Be.useEffect)(()=>{if(me.current&&!ye){const Le=ae().fromTextArea(me.current,E({mode:fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pe));be(Le)}},[me.current,ye]),Be.createElement("div",{className:"my-codemirror-container"},Be.createElement("textarea",{ref:me}))}},30741:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return vn}});var Be=Ce(59301),nt=Ce(89780),x=Ce.n(nt),Se=Ce(76374),he=Ce(10658),ae=Ce(6313),te=Ce(25717),le=Ce(99498),de=Ce(25419),se=Ce(67549),ue=Ce(52628),oe=({value:bt="",className:Tt,showTextOnly:Et,showLines:Wt,style:tn={}})=>{const sn=(0,Be.useMemo)(()=>"",[bt]);return Be.createElement(Be.Fragment,null,Be.createElement("div",{dangerouslySetInnerHTML:{__html:sn}}))},ie=Ce(75759),ne=Ce(59301),a=Object.defineProperty,y=Object.defineProperties,E=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,re=(bt,Tt,Et)=>Tt in bt?a(bt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):bt[Tt]=Et,ce=(bt,Tt)=>{for(var Et in Tt||(Tt={}))z.call(Tt,Et)&&re(bt,Et,Tt[Et]);if(b)for(var Et of b(Tt))ee.call(Tt,Et)&&re(bt,Et,Tt[Et]);return bt},ge=(bt,Tt)=>y(bt,E(Tt));function ve({onActionCallback:bt,title:Tt,icon:Et,actionName:Wt,className:tn="",children:sn}){function Un(){bt(Wt)}return ne.createElement("a",{title:Tt,className:tn,onClick:Un},ne.createElement("i",{className:`${Et}`}),sn)}var fe=({watch:bt,showNullButton:Tt,showNullProgramButton:Et,onActionCallback:Wt,fullScreen:tn,insertTemp:sn,hidetoolBar:Un,extraUse:Qn})=>{const yn=(0,ie.useIntl)(),rr=[...[{title:yn.formatMessage({id:"markdownEditor.bold",defaultMessage:"\u7C97\u4F53"}),icon:"md-iconfont icon-bold",actionName:"bold"},{title:yn.formatMessage({id:"markdownEditor.italic",defaultMessage:"\u659C\u4F53"}),icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:yn.formatMessage({id:"markdownEditor.unorderedList",defaultMessage:"\u65E0\u5E8F\u5217\u8868"}),icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:yn.formatMessage({id:"markdownEditor.orderedList",defaultMessage:"\u6709\u5E8F\u5217\u8868"}),icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:yn.formatMessage({id:"markdownEditor.inlineCode",defaultMessage:"\u884C\u5185\u4EE3\u7801"}),icon:"md-iconfont icon-code",actionName:"code"},{title:yn.formatMessage({id:"markdownEditor.codeBlockMultiLanguage",defaultMessage:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09"}),icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:yn.formatMessage({id:"markdownEditor.link",defaultMessage:"\u94FE\u63A5"}),icon:"md-iconfont icon-link",actionName:"link"},"|",{title:yn.formatMessage({id:"markdownEditor.inlineFormula",defaultMessage:"\u884C\u5185\u516C\u5F0F"}),icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:yn.formatMessage({id:"markdownEditor.mathImage",defaultMessage:"\u6570\u5B66\u56FE\u50CF"}),icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:yn.formatMessage({id:"markdownEditor.multiLineFormula",defaultMessage:"\u591A\u884C\u516C\u5F0F"}),icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:yn.formatMessage({id:"markdownEditor.addImage",defaultMessage:"\u6DFB\u52A0\u56FE\u7247"}),icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:yn.formatMessage({id:"markdownEditor.insertDrawing",defaultMessage:"\u63D2\u5165\u753B\u56FE"}),icon:"iconfont icon-sheji",actionName:"draw-image"},{title:yn.formatMessage({id:"markdownEditor.insertFlowchart",defaultMessage:"\u63D2\u5165\u6D41\u7A0B\u56FE"}),icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:yn.formatMessage({id:"markdownEditor.table",defaultMessage:"\u8868\u683C"}),icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:yn.formatMessage({id:"markdownEditor.lineBreak",defaultMessage:"\u6362\u884C"}),icon:"md-iconfont icon-minus",actionName:"line-break"},{title:yn.formatMessage({id:"markdownEditor.clear",defaultMessage:"\u6E05\u7A7A"}),icon:"md-iconfont icon-eraser",actionName:"eraser"}],{title:`${bt?yn.formatMessage({id:"markdownEditor.disableRealTimePreview",defaultMessage:"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8"}):yn.formatMessage({id:"markdownEditor.enableRealTimePreview",defaultMessage:"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"})}`,icon:`${bt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!Un&&rr.map((hr,Yt)=>ne.createElement("li",{key:Yt},hr.actionName?ne.createElement(ve,ge(ce({},hr),{onActionCallback:Wt})):ne.createElement("span",{className:"v-line"}))),Tt?ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Wt},ne.createElement("span",{className:"fill-tip"},yn.formatMessage({id:"questionBankAddQuestion.clickToInsertBlank",defaultMessage:"\u70B9\u51FB\u63D2\u5165"}),"\b",yn.formatMessage({id:"questionBankAddQuestion.blank",defaultMessage:"\u586B\u7A7A\u9879"})))):null,Et?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Wt},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Wt},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,sn&&ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${sn}`,onActionCallback:Wt},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Qn&&ne.createElement("li",null,Qn),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(ve,{icon:`${tn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:tn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Wt})))},pe=Ce(89147),me=Ce(78241),ye=Ce(92832),be=Ce(3113),Le=Object.defineProperty,we=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,qe=(bt,Tt,Et)=>Tt in bt?Le(bt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):bt[Tt]=Et,Re=(bt,Tt)=>{for(var Et in Tt||(Tt={}))De.call(Tt,Et)&&qe(bt,Et,Tt[Et]);if(Me)for(var Et of Me(Tt))ze.call(Tt,Et)&&qe(bt,Et,Tt[Et]);return bt},ot=(bt,Tt)=>we(bt,Ae(Tt));const rt={labelCol:{span:4},wrapperCol:{span:20}};var Qe=({callback:bt,onCancel:Tt})=>{function Et(tn){bt(tn)}const Wt=(0,ie.useIntl)();return Be.createElement(me.default,ot(Re({},rt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Et,style:{width:500}}),Be.createElement(me.default.Item,{label:Wt.formatMessage({id:"markdownEditor.linkAddress",defaultMessage:"\u94FE\u63A5\u5730\u5740"}),name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Be.createElement(ye.default,null)),Be.createElement(me.default.Item,{label:Wt.formatMessage({id:"markdownEditor.linkTitle",defaultMessage:"\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}},Wt.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Be.createElement(be.ZP,{type:"ghost",onClick:Tt},Wt.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))},Je=Ce(9218),Ge=Ce(94491),ke=Ce(43418),_e=Ce(95237),tt=Ce(12338),Xe=Ce(59301),ct=({callback:bt,onCancel:Tt})=>{const Et=document.createElement("canvas"),Wt=Et.getContext("2d");Et.width=1e3,Et.height=800,Wt.fillStyle="#ffffff",Wt.fillRect(0,0,Et.width,Et.height);const tn=Et.toDataURL("image/png");return Xe.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Xe.createElement(_e.Z,{style:{height:"100vh"}},Xe.createElement(tt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:tn,visible:!0,title:String(Date.now())},onOk:sn=>{bt({src:sn.url})},onClose:Tt})))},Ye=Ce(12378);function Ne(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ne,go.CommandHandler),Ne.prototype.canAlignSelection=function(){var bt=this.diagram;return!(bt===null||bt.isReadOnly||bt.isModelReadOnly||bt.selection.count<2)},Ne.prototype.alignLeft=function(){var bt=this.diagram;bt.startTransaction("aligning left");var Tt=1/0;bt.selection.each(function(Et){Et instanceof go.Link||(Tt=Math.min(Et.position.x,Tt))}),bt.selection.each(function(Et){Et instanceof go.Link||Et.move(new go.Point(Tt,Et.position.y))}),bt.commitTransaction("aligning left")},Ne.prototype.alignRight=function(){var bt=this.diagram;bt.startTransaction("aligning right");var Tt=-1/0;bt.selection.each(function(Et){if(!(Et instanceof go.Link)){var Wt=Et.actualBounds.x+Et.actualBounds.width;Tt=Math.max(Wt,Tt)}}),bt.selection.each(function(Et){Et instanceof go.Link||Et.move(new go.Point(Tt-Et.actualBounds.width,Et.position.y))}),bt.commitTransaction("aligning right")},Ne.prototype.alignTop=function(){var bt=this.diagram;bt.startTransaction("alignTop");var Tt=1/0;bt.selection.each(function(Et){Et instanceof go.Link||(Tt=Math.min(Et.position.y,Tt))}),bt.selection.each(function(Et){Et instanceof go.Link||Et.move(new go.Point(Et.position.x,Tt))}),bt.commitTransaction("alignTop")},Ne.prototype.alignBottom=function(){var bt=this.diagram;bt.startTransaction("aligning bottom");var Tt=-1/0;bt.selection.each(function(Et){if(!(Et instanceof go.Link)){var Wt=Et.actualBounds.y+Et.actualBounds.height;Tt=Math.max(Wt,Tt)}}),bt.selection.each(function(Et){Et instanceof go.Link||Et.move(new go.Point(Et.actualBounds.x,Tt-Et.actualBounds.height))}),bt.commitTransaction("aligning bottom")},Ne.prototype.alignCenterX=function(){var bt=this.diagram,Tt=bt.selection.first();if(Tt){bt.startTransaction("aligning Center X");var Et=Tt.actualBounds.x+Tt.actualBounds.width/2;bt.selection.each(function(Wt){Wt instanceof go.Link||Wt.move(new go.Point(Et-Wt.actualBounds.width/2,Wt.actualBounds.y))}),bt.commitTransaction("aligning Center X")}},Ne.prototype.alignCenterY=function(){var bt=this.diagram,Tt=bt.selection.first();if(Tt){bt.startTransaction("aligning Center Y");var Et=Tt.actualBounds.y+Tt.actualBounds.height/2;bt.selection.each(function(Wt){Wt instanceof go.Link||Wt.move(new go.Point(Wt.actualBounds.x,Et-Wt.actualBounds.height/2))}),bt.commitTransaction("aligning Center Y")}},Ne.prototype.alignColumn=function(bt){var Tt=this.diagram;Tt.startTransaction("align Column"),bt===void 0&&(bt=0),bt=parseFloat(bt);var Et=new Array;Tt.selection.each(function(Qn){Qn instanceof go.Link||Et.push(Qn)});for(var Wt=0;Wt<Et.length-1;Wt++){var tn=Et[Wt],sn=tn.actualBounds.y+tn.actualBounds.height+bt,Un=Et[Wt+1];Un.move(new go.Point(tn.actualBounds.x,sn))}Tt.commitTransaction("align Column")},Ne.prototype.alignRow=function(bt){bt===void 0&&(bt=0),bt=parseFloat(bt);var Tt=this.diagram;Tt.startTransaction("align Row");var Et=new Array;Tt.selection.each(function(Qn){Qn instanceof go.Link||Et.push(Qn)});for(var Wt=0;Wt<Et.length-1;Wt++){var tn=Et[Wt],sn=tn.actualBounds.x+tn.actualBounds.width+bt,Un=Et[Wt+1];Un.move(new go.Point(sn,tn.actualBounds.y))}Tt.commitTransaction("align Row")},Ne.prototype.canRotate=function(bt){var Tt=this.diagram;return!(Tt===null||Tt.isReadOnly||Tt.isModelReadOnly||Tt.selection.count<1)},Ne.prototype.rotate=function(bt){bt===void 0&&(bt=90);var Tt=this.diagram;Tt.startTransaction("rotate "+bt.toString());var Tt=this.diagram;Tt.selection.each(function(Et){Et instanceof go.Link||Et instanceof go.Group||(Et.angle+=bt)}),Tt.commitTransaction("rotate "+bt.toString())},Ne.prototype.pullToFront=function(){var bt=this.diagram;bt.startTransaction("pullToFront");var Tt=new go.Map;bt.selection.each(function(Et){Tt.set(Et.layer,0)}),Tt.iteratorKeys.each(function(Et){var Wt=0;Et.parts.each(function(tn){if(!tn.isSelected){var sn=tn.zOrder;isNaN(sn)?tn.zOrder=0:Wt=Math.max(Wt,sn)}}),Tt.set(Et,Wt)}),bt.selection.each(function(Et){Ne._assignZOrder(Et,Tt.get(Et.layer)+1)}),bt.commitTransaction("pullToFront")},Ne.prototype.pushToBack=function(){var bt=this.diagram;bt.startTransaction("pushToBack");var Tt=new go.Map;bt.selection.each(function(Et){Tt.set(Et.layer,0)}),Tt.iteratorKeys.each(function(Et){var Wt=0;Et.parts.each(function(tn){if(!tn.isSelected){var sn=tn.zOrder;isNaN(sn)?tn.zOrder=0:Wt=Math.min(Wt,sn)}}),Tt.set(Et,Wt)}),bt.selection.each(function(Et){Ne._assignZOrder(Et,Tt.get(Et.layer)-1-Ne._findGroupDepth(Et))}),bt.commitTransaction("pushToBack")},Ne._assignZOrder=function(bt,Tt,Et){Et===void 0&&(Et=bt),bt.layer===Et.layer&&(bt.zOrder=Tt),bt instanceof go.Group&&bt.memberParts.each(function(Wt){Ne._assignZOrder(Wt,Tt+1,Et)})},Ne._findGroupDepth=function(bt){if(bt instanceof go.Group){var Tt=0;return bt.memberParts.each(function(Et){Tt=Math.max(Tt,Ne._findGroupDepth(Et))}),Tt+1}else return 0},Ne.prototype.doKeyDown=function(){var bt=this.diagram;if(bt!==null){var Tt=bt.lastInput;if(Tt.key==="Up"||Tt.key==="Down"||Tt.key==="Left"||Tt.key==="Right"){var Et=this.arrowKeyBehavior;if(Et==="none")return;if(Et==="select"){this._arrowKeySelect();return}else if(Et==="move"){this._arrowKeyMove();return}else if(Et==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Ne.prototype._getAllParts=function(){var bt=new Array;return this.diagram.nodes.each(function(Tt){bt.push(Tt)}),this.diagram.parts.each(function(Tt){bt.push(Tt)}),bt},Ne.prototype._arrowKeyMove=function(){var bt=this.diagram,Tt=bt.lastInput,Et=0,Wt=0;if(Tt.control||Tt.meta)Et=1,Wt=1;else if(bt.grid!==null){var tn=bt.grid.gridCellSize;Wt=tn.width,Et=tn.height}bt.startTransaction("arrowKeyMove"),bt.selection.each(function(sn){Tt.key==="Up"?sn.move(new go.Point(sn.actualBounds.x,sn.actualBounds.y-Et)):Tt.key==="Down"?sn.move(new go.Point(sn.actualBounds.x,sn.actualBounds.y+Et)):Tt.key==="Left"?sn.move(new go.Point(sn.actualBounds.x-Wt,sn.actualBounds.y)):Tt.key==="Right"&&sn.move(new go.Point(sn.actualBounds.x+Wt,sn.actualBounds.y))}),bt.commitTransaction("arrowKeyMove")},Ne.prototype._arrowKeySelect=function(){var bt=this.diagram,Tt=bt.lastInput,Et=null;Tt.key==="Up"?Et=this._findNearestPartTowards(270):Tt.key==="Down"?Et=this._findNearestPartTowards(90):Tt.key==="Left"?Et=this._findNearestPartTowards(180):Tt.key==="Right"&&(Et=this._findNearestPartTowards(0)),Et!==null&&(Tt.shift?Et.isSelected=!0:Tt.control||Tt.meta?Et.isSelected=!Et.isSelected:bt.select(Et))},Ne.prototype._findNearestPartTowards=function(bt){var Tt=this.diagram.selection.first();if(Tt===null)return null;for(var Et=Tt.actualBounds.center,Wt=this._getAllParts(),tn=1/0,sn=Tt,Un=0;Un<Wt.length;Un++){var Qn=Wt[Un];if(Qn!==Tt&&Qn.canSelect()){var yn=Qn.actualBounds.center,mn=Et.directionPoint(yn),rr=this._angleCloseness(mn,bt);if(rr<=45){var hr=Et.distanceSquaredPoint(yn);hr*=1+Math.sin(rr*Math.PI/180),hr<tn&&(tn=hr,sn=Qn)}}}return sn},Ne.prototype._angleCloseness=function(bt,Tt){return Math.min(Math.abs(Tt-bt),Math.min(Math.abs(Tt+360-bt),Math.abs(Tt-360-bt)))},Ne.prototype._arrowKeyTree=function(){var bt=this.diagram,Tt=bt.selection.first();if(Tt instanceof go.Node){var Et=bt.lastInput;if(Et.key==="Right"){if(!Tt.isTreeLeaf)if(!Tt.isTreeExpanded)bt.commandHandler.canExpandTree(Tt)&&bt.commandHandler.expandTree(Tt);else{var Wt=this._sortTreeChildrenByY(Tt).first();Wt!==null&&bt.select(Wt)}}else if(Et.key==="Left")if(!Tt.isTreeLeaf&&Tt.isTreeExpanded)bt.commandHandler.canCollapseTree(Tt)&&bt.commandHandler.collapseTree(Tt);else{var tn=Tt.findTreeParentNode();tn!==null&&bt.select(tn)}else if(Et.key==="Up"){var tn=Tt.findTreeParentNode();if(tn!==null){var sn=this._sortTreeChildrenByY(tn),Un=sn.indexOf(Tt);if(Un>0){for(var Qn=sn.elt(Un-1);Qn!==null&&Qn.isTreeExpanded&&!Qn.isTreeLeaf;){var yn=this._sortTreeChildrenByY(Qn);Qn=yn.last()}Qn!==null&&bt.select(Qn)}else bt.select(tn)}}else if(Et.key==="Down")if(Tt.isTreeExpanded&&!Tt.isTreeLeaf){var Wt=this._sortTreeChildrenByY(Tt).first();Wt!==null&&bt.select(Wt)}else for(;Tt!==null;){var tn=Tt.findTreeParentNode();if(tn===null)break;var sn=this._sortTreeChildrenByY(tn),Un=sn.indexOf(Tt);if(Un<sn.length-1){bt.select(sn.elt(Un+1));break}else Tt=tn}var mn=bt.selection.first();mn!==null&&bt.scrollToRect(mn.actualBounds)}},Ne.prototype._sortTreeChildrenByY=function(bt){var Tt=new go.List().addAll(bt.findTreeChildrenNodes());return Tt.sort(function(Et,Wt){var tn=Et.location,sn=Wt.location;return tn.y<sn.y?-1:tn.y>sn.y?1:tn.x<sn.x?-1:tn.x>sn.x?1:0}),Tt},Ne.prototype.copyToClipboard=function(bt){go.CommandHandler.prototype.copyToClipboard.call(this,bt),this._lastPasteOffset.set(this.pasteOffset)},Ne.prototype.pasteFromClipboard=function(){var bt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(bt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),bt},Object.defineProperty(Ne.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(bt){if(bt!=="move"&&bt!=="select"&&bt!=="scroll"&&bt!=="tree"&&bt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+bt);this._arrowKeyBehavior=bt}}),Object.defineProperty(Ne.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(bt){if(!(bt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+bt);this._pasteOffset.set(bt)}});var Oe=Ne,Ue=Ce(77319),xe=Ce(43604),Fe=Ce(79884),He={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},We=Ce(59301),Ie=(bt,Tt,Et)=>new Promise((Wt,tn)=>{var sn=yn=>{try{Qn(Et.next(yn))}catch(mn){tn(mn)}},Un=yn=>{try{Qn(Et.throw(yn))}catch(mn){tn(mn)}},Qn=yn=>yn.done?Wt(yn.value):Promise.resolve(yn.value).then(sn,Un);Qn((Et=Et.apply(bt,Tt)).next())});function Te({onCancel:bt,callback:Tt}){let Et=(0,Be.useRef)(),Wt=(0,Be.useRef)(),tn=(0,Be.useRef)(),sn=(0,Be.useRef)(!1);const Un=(0,Be.useRef)(!1),[Qn,yn]=(0,Be.useState)(0);function mn(){const Yt=Ye.bx.make,In={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"};Et.current=new Ye.S0(Wt.current,{padding:20,grid:Yt(Ye.s_,"Grid",Yt(Ye.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Yt(Ye.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Jt=>{var dn=Jt.diagram.commandHandler.addTopLevelParts(Jt.diagram.selection,!0);dn||Jt.diagram.currentTool.doCancel()},commandHandler:Yt(Oe),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Jt=>{var dn=Jt.subject;dn.location=dn.location.copy().snapToGridPoint(Jt.diagram.grid.gridOrigin,Jt.diagram.grid.gridCellSize),setTimeout(()=>{Jt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Jt=>{var dn=Jt.subject;setTimeout(()=>{Jt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Jt=>{var dn=Jt.parameter.part;dn.invalidateConnectedLinks();var Pn=Jt.subject;Jt.diagram.toolManager.linkingTool.isForwards?Pn.toNode.invalidateConnectedLinks():Pn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Et.current.nodeTemplate=Yt(Ye.NB,"Auto",{locationSpot:Ye.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ye.$u(120,60),minSize:new Ye.$u(40,40),resizable:!0,resizeCellSize:new Ye.$u(10,10),rotatable:!0},new Ye.KX("location","loc",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),new Ye.KX("desiredSize","size",Ye.$u.parse).makeTwoWay(Ye.$u.stringify),Yt(Ye.bn,{name:"SHAPE",fill:In.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ye.z6.AllSides,toSpot:Ye.z6.AllSides},new Ye.KX("figure"),new Ye.KX("fill"),new Ye.KX("stroke","borderColor"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),Yt(Ye.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Yt(Ye.al,{margin:1,textAlign:"center",overflow:Ye.al.OverflowEllipsis,editable:!0},new Ye.KX("text").makeTwoWay(),new Ye.KX("stroke","color"))),Et.current.nodeTemplate.toolTip=Yt("ToolTip",Yt(Ye.s_,"Vertical",{maxSize:new Ye.$u(200,NaN)},Yt(Ye.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ye.KX("text")),Yt(Ye.al,{font:"10pt sans-serif",textAlign:"center"},new Ye.KX("text","details"))));function Yn(Jt,dn){var Pn=(Tn,Sr)=>{Tn.handled=!0,Tn.diagram.model.commit(fr=>{var tr=Sr.part.adornedPart,Fr=new Ye.E9().setRectSpot(tr.actualBounds,Jt);Fr.subtract(tr.location),Fr.scale(2,2),Fr.x+=Math.sign(Fr.x)*130,Fr.y+=Math.sign(Fr.y)*130,Fr.add(tr.location),Fr.snapToGridPoint(Tn.diagram.grid.gridOrigin,Tn.diagram.grid.gridCellSize);var Mr=fr.copyNodeData(tr.data);fr.setGroupKeyForNodeData(Mr,fr.getGroupKeyForNodeData(tr.data)),fr.addNodeData(Mr);var ha={from:tr.key,to:fr.getKeyForNodeData(Mr)};fr.addLinkData(ha);var wa=Tn.diagram.findNodeForData(Mr);wa.location=Fr,Tn.diagram.select(wa),setTimeout(()=>{Tn.diagram.commandHandler.editTextBlock()},20)})};return Yt(Ye.bn,{figure:dn,alignment:Jt,alignmentFocus:Jt.opposite(),width:Jt.equals(Ye.z6.Top)||Jt.equals(Ye.z6.Bottom)?25:18,height:Jt.equals(Ye.z6.Top)||Jt.equals(Ye.z6.Bottom)?18:25,fill:"orange",stroke:In.white,strokeWidth:4,mouseEnter:(Tn,Sr)=>Sr.fill="dodgerblue",mouseLeave:(Tn,Sr)=>Sr.fill="orange",isActionable:!0,click:Pn,contextClick:Pn})}function _n(Jt){return Yt(Ye.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:(dn,Pn)=>Pn.fill="dodgerblue",mouseLeave:(dn,Pn)=>Pn.fill="orange",click:(dn,Pn)=>{dn.diagram.commandHandler.showContextMenu(Pn.part.adornedPart)}},Jt||{})}Et.current.nodeTemplate.selectionAdornmentTemplate=Yt(Ye.uz,"Spot",Yt(Ye.Vm,{padding:10}),Yn(Ye.z6.Top,"TriangleUp"),Yn(Ye.z6.Left,"TriangleLeft"),Yn(Ye.z6.Right,"TriangleRight"),Yn(Ye.z6.Bottom,"TriangleDown"),_n({alignment:new Ye.z6(.75,0)}));function cr(Jt,dn){return(Pn,Tn)=>{Pn.handled=!0,Pn.diagram.model.commit(Sr=>{Sr.set(Tn.part.adornedPart.data,Jt,dn)})}}function xt(Jt,dn){return dn||(dn="color"),Yt(Ye.bn,{width:16,height:16,stroke:"lightgray",fill:Jt,margin:1,background:"transparent",mouseEnter:(Pn,Tn)=>Tn.stroke="dodgerblue",mouseLeave:(Pn,Tn)=>Tn.stroke="lightgray",click:cr(dn,Jt),contextClick:cr(dn,Jt)})}function Bt(){return[Yt("ContextMenuButton",Yt(Ye.s_,"Horizontal",xt(In.white,"fill"),xt(In.beige,"fill"),xt(In.extralightblue,"fill"),xt(In.extralightred,"fill"))),Yt("ContextMenuButton",Yt(Ye.s_,"Horizontal",xt(In.lightgray,"fill"),xt(In.lightgreen,"fill"),xt(In.lightblue,"fill"),xt(In.lightred,"fill")))]}function Rt(){return[Yt("ContextMenuButton",Yt(Ye.s_,"Horizontal",xt(In.black),xt(In.green),xt(In.blue),xt(In.red))),Yt("ContextMenuButton",Yt(Ye.s_,"Horizontal",xt(In.white),xt(In.magenta),xt(In.purple),xt(In.orange)))]}function _t(Jt,dn){return dn||(dn="thickness"),Yt(Ye.bn,"LineH",{width:16,height:16,strokeWidth:Jt,margin:1,background:"transparent",mouseEnter:(Pn,Tn)=>Tn.background="dodgerblue",mouseLeave:(Pn,Tn)=>Tn.background="transparent",click:cr(dn,Jt),contextClick:cr(dn,Jt)})}function Vt(Jt,dn){return dn||(dn="dash"),Yt(Ye.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Jt,margin:1,background:"transparent",mouseEnter:(Pn,Tn)=>Tn.background="dodgerblue",mouseLeave:(Pn,Tn)=>Tn.background="transparent",click:cr(dn,Jt),contextClick:cr(dn,Jt)})}function Ut(){return[Yt("ContextMenuButton",Yt(Ye.s_,"Horizontal",_t(1),_t(2),_t(3),_t(4))),Yt("ContextMenuButton",Yt(Ye.s_,"Horizontal",Vt(null),Vt([2,4]),Vt([4,4])))]}function kt(Jt,dn){return dn||(dn="figure"),Yt(Ye.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Jt,margin:1,background:"transparent",mouseEnter:(Pn,Tn)=>Tn.fill="dodgerblue",mouseLeave:(Pn,Tn)=>Tn.fill="lightgray",click:cr(dn,Jt),contextClick:cr(dn,Jt)})}Et.current.nodeTemplate.contextMenu=Yt("ContextMenu",Yt("ContextMenuButton",Yt(Ye.s_,"Horizontal",kt("Rectangle"),kt("RoundedRectangle"),kt("Ellipse"),kt("Diamond"))),Yt("ContextMenuButton",Yt(Ye.s_,"Horizontal",kt("Parallelogram2"),kt("ManualOperation"),kt("Procedure"),kt("Cylinder1"))),Yt("ContextMenuButton",Yt(Ye.s_,"Horizontal",kt("Terminator"),kt("CreateRequest"),kt("Document"),kt("TriangleDown"))),Bt(),Rt(),Ut()),Et.current.groupTemplate=Yt(Ye.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ye.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Jt,dn)=>{var Pn=dn.addMembers(dn.diagram.selection,!0);Pn||dn.diagram.currentTool.doCancel()},avoidable:!1},new Ye.KX("location","loc",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),Yt(Ye.s_,"Auto",{name:"BODY"},Yt(Ye.bn,{parameter1:10,fill:In.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ye.z6.AllSides,toSpot:Ye.z6.AllSides},new Ye.KX("fill"),new Ye.KX("stroke","color"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),Yt(Ye.Vm,{background:"transparent",margin:20})),Yt(Ye.al,{alignment:Ye.z6.Top,alignmentFocus:Ye.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ye.KX("text"),new Ye.KX("stroke","color"))),Et.current.groupTemplate.selectionAdornmentTemplate=Yt(Ye.uz,"Spot",Yt(Ye.s_,"Auto",Yt(Ye.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Yt(Ye.Vm,{margin:1.5})),_n({alignment:Ye.z6.TopRight,alignmentFocus:Ye.z6.BottomRight})),Et.current.groupTemplate.contextMenu=Yt("ContextMenu",Bt(),Rt(),Ut()),Et.current.linkTemplate=Yt(Ye.rU,{layerName:"Foreground",routing:Ye.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ye.KX("fromSpot","fromSpot",Ye.z6.parse),new Ye.KX("toSpot","toSpot",Ye.z6.parse),new Ye.KX("fromShortLength","dir",Jt=>Jt>=1?10:0),new Ye.KX("toShortLength","dir",Jt=>Jt>=1?10:0),new Ye.KX("points").makeTwoWay(),Yt(Ye.bn,{strokeWidth:2},new Ye.KX("stroke","color"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),Yt(Ye.bn,{segmentIndex:0,segmentOffset:new Ye.E9(15,0),segmentOrientation:Ye.rU.OrientAlong,alignmentFocus:Ye.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",Jt=>Jt===1)),Yt(Ye.bn,{segmentIndex:-1,segmentOffset:new Ye.E9(-10,6),segmentOrientation:Ye.rU.OrientPlus90,alignmentFocus:Ye.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",Jt=>Jt>=1),new Ye.KX("width","thickness",Jt=>7+3*Jt),new Ye.KX("height","thickness",Jt=>7+3*Jt),new Ye.KX("segmentOffset","thickness",Jt=>new Ye.E9(-15,4+1.5*Jt))),Yt(Ye.bn,{segmentIndex:0,segmentOffset:new Ye.E9(15,-6),segmentOrientation:Ye.rU.OrientMinus90,alignmentFocus:Ye.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",Jt=>Jt===2),new Ye.KX("width","thickness",Jt=>7+3*Jt),new Ye.KX("height","thickness",Jt=>7+3*Jt),new Ye.KX("segmentOffset","thickness",Jt=>new Ye.E9(-15,4+1.5*Jt))),Yt(Ye.al,{alignmentFocus:new Ye.z6(0,1,-4,0),editable:!0},new Ye.KX("text").makeTwoWay(),new Ye.KX("stroke","color"))),Et.current.linkTemplate.selectionAdornmentTemplate=Yt(Ye.uz,Yt(Ye.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Gt(2)},new Ye.KX("pathPattern","thickness",Gt)),_n({alignmentFocus:new Ye.z6(0,0,-6,-4)}));function Gt(Jt){return Yt(Ye.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Jt+4).toString()+" H3"})}function Gn(Jt){var dn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Jt===0?dn="M0 0 M16 16 M0 8 L16 8":Jt===2&&(dn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Yt(Ye.bn,{geometryString:dn,margin:2,background:"transparent",mouseEnter:(Pn,Tn)=>Tn.background="dodgerblue",mouseLeave:(Pn,Tn)=>Tn.background="transparent",click:cr("dir",Jt),contextClick:cr("dir",Jt)})}function Dt(Jt){var dn=(Pn,Tn)=>{Pn.handled=!0,Pn.diagram.model.commit(Sr=>{var fr=Tn.part.adornedPart;Sr.set(fr.data,Jt?"toSpot":"fromSpot",Ye.z6.stringify(Ye.z6.AllSides)),(Jt?fr.toNode:fr.fromNode).invalidateConnectedLinks()})};return Yt(Ye.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Pn,Tn)=>Tn.background="dodgerblue",mouseLeave:(Pn,Tn)=>Tn.background="transparent",click:dn,contextClick:dn})}function zn(Jt,dn){var Pn=0,Tn=Ye.z6.RightSide;Jt.equals(Ye.z6.Top)?(Pn=270,Tn=Ye.z6.TopSide):Jt.equals(Ye.z6.Left)?(Pn=180,Tn=Ye.z6.LeftSide):Jt.equals(Ye.z6.Bottom)&&(Pn=90,Tn=Ye.z6.BottomSide),dn||(Pn-=180);var Sr=(fr,tr)=>{fr.handled=!0,fr.diagram.model.commit(Fr=>{var Mr=tr.part.adornedPart;Fr.set(Mr.data,dn?"toSpot":"fromSpot",Ye.z6.stringify(Tn)),(dn?Mr.toNode:Mr.fromNode).invalidateConnectedLinks()})};return Yt(Ye.bn,{alignment:Jt,alignmentFocus:Jt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Pn,background:"transparent",mouseEnter:(fr,tr)=>tr.background="dodgerblue",mouseLeave:(fr,tr)=>tr.background="transparent",click:Sr,contextClick:Sr})}Et.current.linkTemplate.contextMenu=Yt("ContextMenu",Rt(),Ut(),Yt("ContextMenuButton",Yt(Ye.s_,"Horizontal",Gn(0),Gn(1),Gn(2))),Yt("ContextMenuButton",Yt(Ye.s_,"Horizontal",Yt(Ye.s_,"Spot",Dt(!1),zn(Ye.z6.Top,!1),zn(Ye.z6.Left,!1),zn(Ye.z6.Right,!1),zn(Ye.z6.Bottom,!1)),Yt(Ye.s_,"Spot",{margin:new Ye.Zt(0,0,0,2)},Dt(!0),zn(Ye.z6.Top,!0),zn(Ye.z6.Left,!0),zn(Ye.z6.Right,!0),zn(Ye.z6.Bottom,!0)))));const pr=`{ "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 br=["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 Lr(Jt){return console.log("shapeName:",Jt),br.indexOf(Jt)>=0}var ea=new Ye.YI(tn.current,{maxSelectionCount:1,linkTemplate:Yt(Ye.rU,{locationSpot:Ye.z6.Center,selectionAdornmentTemplate:Yt(Ye.uz,"Link",{locationSpot:Ye.z6.Center},Yt(Ye.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Yt(Ye.bn,{toArrow:"Standard",stroke:null}))},{routing:Ye.rU.AvoidsNodes,curve:Ye.rU.JumpOver,corner:5,toShortLength:4},new Ye.KX("points"),Yt(Ye.bn,{isPanelMain:!0,strokeWidth:2}),Yt(Ye.bn,{toArrow:"Standard",stroke:null})),model:new Ye.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ye.bn.getFigureGenerators().toArray().map(Jt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Jt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Et.current.addDiagramListener("TextEdited",function(Jt){var dn;const Pn=Jt.subject.part;var Tn=(dn=document.activeElement)==null?void 0:dn.value;typeof Tn=="string"&&Tn.trim()===""&&Et.current.model.commit(function(Sr){Sr.set(Pn.data,"text","\u672A\u547D\u540D"),Et.current.commandHandler.stopCommand()},"increment")}),ea.nodeTemplate=Yt(Ye.NB,"Auto",{locationSpot:Ye.z6.Center},new Ye.KX("location","location",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),Yt(Ye.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 Ye.KX("stroke").makeTwoWay(),new Ye.KX("fill").makeTwoWay(),new Ye.KX("figure")),Yt(Ye.al,{margin:new Ye.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ye.$u(16,16),maxSize:new Ye.$u(10,NaN),textAlign:"center",editable:!0},new Ye.KX("key").makeTwoWay())),setTimeout(()=>{Et.current.grid=Yt(Ye.s_,"Grid",Yt(Ye.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Yt(Ye.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Et.current.grid.visible=!0,Et.current.grid.gridCellStroke="darkgray",Et.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Et.current,Et.current}const rr=()=>Ie(this,null,function*(){var Yt=Et.current.makeImage();const In=yield(0,Fe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Yt.src}});Tt({src:In.url})});(0,Be.useEffect)(()=>(setTimeout(()=>{mn()},500),yn(Qn+1),()=>{Et.current=null}),[]);const hr=(0,ie.useIntl)();return We.createElement("div",{ref:Un,className:sn.current?`${He.maxH60} body-overflow-initial`:"body-overflow-initial"},We.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Qn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:We.createElement(_e.Z,null,We.createElement(xe.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),We.createElement(xe.Z,{onClick:()=>{var Yt,In,Yn=Et.current.selection.first();if(sn.current=!sn.current,document.activeElement&&Yn){let _n=(In=(Yt=document.activeElement)==null?void 0:Yt.value)==null?void 0:In.trim();typeof _n=="string"&&Et.current.model.commit(function(cr){cr.set(Yn.data,"text",_n||"\u672A\u547D\u540D"),Et.current.commandHandler.stopCommand()},"increment")}yn(Qn+1)}},We.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/",hr.formatMessage({id:"shixuns.collapse",defaultMessage:"\u6536\u8D77"})))),onCancel:bt},We.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:He.flowChartWrp},We.createElement("div",{style:{display:"flex",height:"100%"}},We.createElement("div",{style:{width:"300px",height:"100%"}},We.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),We.createElement("div",{style:{height:"calc(100% - 50px)"},className:He.myPaletteDiv,ref:tn})),We.createElement("div",{style:{flex:1,position:"relative"}},We.createElement("div",{ref:Wt,style:{height:"80vh"}}))),We.createElement("div",{className:"tr"},We.createElement(be.ZP,{size:"large",onClick:rr,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},hr.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"}))))))}var Ee=Te,Pe=Ce(5112),je=Ce(5871);const Ke=Pe.ZP.Group,at={margin:"0 8px"};var Ze=({callback:bt,onCancel:Tt})=>{function Et(tn){bt(tn)}const Wt=(0,ie.useIntl)();return Be.createElement(me.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Et},Be.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Be.createElement("span",{style:at},Wt.formatMessage({id:"markdownEditor.numberOfCells",defaultMessage:"\u5355\u5143\u683C\u6570"}),"\uFF1A"),Be.createElement("span",{style:at},Wt.formatMessage({id:"markdownEditor.numberOfRows",defaultMessage:"\u884C\u6570"})),Be.createElement(me.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Be.createElement(je.Z,null)),Be.createElement("span",{style:at},Wt.formatMessage({id:"markdownEditor.numberOfColumns",defaultMessage:"\u5217\u6570"})),Be.createElement(me.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:at},Wt.formatMessage({id:"markdownEditor.alignment",defaultMessage:"\u5BF9\u9F50\u65B9\u5F0F"}),"\uFF1A"),Be.createElement(me.default.Item,{name:"align"},Be.createElement(Ke,null,Be.createElement(Pe.ZP,{value:"default"},Be.createElement("i",{className:"fa fa-align-justify"})),Be.createElement(Pe.ZP,{value:"left"},Be.createElement("i",{className:"fa fa-align-left"})),Be.createElement(Pe.ZP,{value:"center"},Be.createElement("i",{className:"fa fa-align-center"})),Be.createElement(Pe.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}},Wt.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Be.createElement(be.ZP,{type:"ghost",onClick:Tt},Wt.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))},it=Ce(78673),pt=Ce(44764),dt=Ce.n(pt),st=(0,Be.forwardRef)(({use3d:bt,width:Tt,height:Et,callback:Wt,showSaveButton:tn},sn)=>{const Un=(0,Be.useRef)(),Qn=(0,Be.useRef)(),yn=(0,ie.useIntl)(),[mn,rr]=(0,Be.useState)(!1),hr=(0,Be.useRef)({id:Un,appName:"graphing",width:Tt||1e3,height:Et||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)(()=>{Qn.current=new(dt())(hr.current,!0),window.onload=function(){Qn.current.inject("applet_container")}},[]);const Yt=()=>{var In=window.ggbApplet.getPNGBase64(1,!0,72);return Wt&&Wt(In),In};return(0,Be.useEffect)(()=>{hr.current.appName=mn?"3D":"graphing",Qn.current.inject("applet_container")},[mn]),(0,Be.useEffect)(()=>{rr(bt)},[bt]),(0,Be.useImperativeHandle)(sn,()=>({getImgData:Yt})),Be.createElement(Be.Fragment,null,Be.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Un}),Be.createElement(_e.Z,{align:"middle"},Be.createElement(xe.Z,{flex:1},Be.createElement(it.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:yn.formatMessage({id:"markdownEditor.enable3DImage",defaultMessage:"\u5F00\u542F3D\u56FE\u50CF"}),checked:mn,onChange:In=>rr(In)})),Be.createElement(xe.Z,null,Be.createElement(be.ZP,{size:"large",onClick:Yt,style:{zIndex:8,marginTop:10},type:"primary"},yn.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"})))))}),ht=Ce(12051),$e=Ce(1012),lt=Ce(8591);const ft="link",mt="upload-image",wt="add-flowchart",jt="draw-image",It="add-flowchart",Mt="code-block",Kt="add-table",qt="------------",en={default:qt,left:`:${qt}`,center:`:${qt}:`,right:`${qt}:`};var on=Ce(40835),wn=(bt,Tt,Et)=>new Promise((Wt,tn)=>{var sn=yn=>{try{Qn(Et.next(yn))}catch(mn){tn(mn)}},Un=yn=>{try{Qn(Et.throw(yn))}catch(mn){tn(mn)}},Qn=yn=>yn.done?Wt(yn.value):Promise.resolve(yn.value).then(sn,Un);Qn((Et=Et.apply(bt,Tt)).next())});function Nn(){}let an=0;const Zn=1e4,Rn="\u2581",An="@\u2581\u2581@",Vn="@\u2581@",dr=`
|
|
**\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`,zt=["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 Qt(bt){return/^\d+$/.test(bt)?`${bt}px`:bt}const jn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Hn={[jn+"-B"]:"bold",[jn+"-I"]:"italic"};var vn=({defaultValue:bt="",onChange:Tt,width:Et="100%",height:Wt=400,miniToolbar:tn=!1,isFocus:sn=!1,watch:Un,insertTemp:Qn,mode:yn="markdown",id:mn="markdown-editor-id",showResizeBar:rr=!1,noStorage:hr=!1,showNullButton:Yt=!1,showNullProgramButton:In=!1,hidetoolBar:Yn=!1,fullScreen:_n=!1,onBlur:cr,onCMBeforeChange:xt,onFullScreen:Bt,className:Rt="",disablePaste:_t=!1,disabled:Vt=!1,disabledFill:Ut=!1,placeholder:kt="",values:Gt="",extraUse:Gn})=>{const[Dt,zn]=(0,Be.useState)(null),[pr,br]=(0,Be.useState)(bt),[Lr,ea]=(0,Be.useState)(Un),[Jt,dn]=(0,Be.useState)(_n),[Pn,Tn]=(0,Be.useState)(""),[Sr,fr]=(0,Be.useState)(0),[tr,Fr]=(0,Be.useState)(Wt),[Mr,ha]=(0,Be.useState)(!1),wa=(0,Be.useRef)((0,$e.Z)()),ya=(0,Be.useRef)(!1),za=(0,Be.useRef)(),[Ka,Wa]=(0,Be.useState)(0),[Ra,pa]=(0,Be.useState)(0),_r=(0,Be.useRef)(),Aa=(0,Be.useRef)(),Ta=(0,Be.useRef)(),Ia=(0,Be.useRef)(),ka=()=>wn(void 0,null,function*(){var Mn;const pn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:wa.current}});(Mn=pn==null?void 0:pn.attachments)!=null&&Mn.length&&(console.log("cm:",Dt,_r),pn.attachments.map(xn=>{xn.content_type.indexOf("image")>-1?Dt.replaceSelection(``):xn.content_type.indexOf("video")>-1?Dt.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):xn.content_type.indexOf("pdf")>-1?Dt.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${xn.id}?type=${xn.content_type}&disposition=inline" target="_blank">${xn.name}</a>`):Dt.replaceSelection(`[${xn.name}](${ENV.API_SERVER}/api/attachments/${xn.id}?type=${xn.content_type})`)}))});(0,Be.useEffect)(()=>{const Mn=window.scrollY||window.pageYOffset;br(Gt),Dt==null||Dt.setValue(Gt),window.scrollTo(0,Mn)},[Gt]),(0,Be.useEffect)(()=>{Bt==null||Bt(Jt)},[Jt]),(0,Be.useEffect)(()=>{if(_r.current){let Mn=function(xn,En){var xr;if(_t){En.preventDefault();return}const $r=En.clipboardData;if($r){const aa=$r.types.toString(),oa=$r.items;if(aa==="Files"||$r.types.indexOf("Files")>-1){if(En.preventDefault(),yn=="stex")return;try{let ia=oa[1];((xr=oa[0])==null?void 0:xr.kind)==="file"&&(ia=oa[0]);const sa=ia.getAsFile(),$a=sa.name.split(".").pop();(0,Ge.I)(sa,nr=>{var Br,Wr,Er;nr.id?((Br=sa==null?void 0:sa.type)==null?void 0:Br.indexOf("image"))>-1?pn.replaceSelection(`<img width="100%" src="/api/attachments/${nr.id}?type=${nr.content_type})" alt="" />`):((Wr=sa==null?void 0:sa.type)==null?void 0:Wr.indexOf("video"))>-1?pn.replaceSelection(`<video width="100%" controls src="/api/attachments/${nr.id}"></video>`):((Er=sa==null?void 0:sa.type)==null?void 0:Er.indexOf("pdf"))>-1?pn.replaceSelection(`<a href="/api/attachments/${nr.id}?type=${sa.type}&disposition=inline" target="_blank">${sa.name}</a>`):zt.includes($a)?pn.replaceSelection(`<a href="/api/attachments/${nr.id}?type=office&disposition=inline" target="_blank">${sa.name}</a>`):pn.replaceSelection(`[${sa.name}](/api/attachments/${nr.id}?type=${nr.content_type})`):(nr==null?void 0:nr.status)===401&&(lt.ZP.warning((nr==null?void 0:nr.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(ia){lt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const pn=x().fromTextArea(_r.current,{mode:yn,lineNumbers:!tn,lineWrapping:!0,value:bt,autoCloseTags:!In,autoCloseBrackets:!0});return pn.on("keyup",function(xn,En){En.keyCode===8&&(xn.getValue()==""?pn.setOption("placeholder",kt):pn.setOption("placeholder",null))}),pn.on("keydown",function(xn,En){if(En.keyCode===8){var xr=Fn(xn);xr&&En.preventDefault()}}),sn&&pn.focus(),pn.on("paste",Mn),pn.on("dragleave",function(xn,En){Aa.current.classList.remove("mouse-hover-md")}),Vt&&pn.on("beforeChange",function(xn,En){(En.origin==="paste"||En.origin==="+input")&&En.cancel()}),zn(pn),()=>{pn.off("paste",Mn)}}},[]);const va=(0,Be.useCallback)(()=>{if(Aa.current)try{}catch(Mn){console.log(Mn,"---- to set md editor body height")}},[tr,Aa,Jt]);(0,Be.useEffect)(()=>{function Mn(){let pn=new Se.Z(xn=>{for(let En of xn)(En.target.offsetHeight>0||En.target.offsetWidth>0)&&(va(),Dt.setSize("100%","100%"),Dt.refresh())});return pn.observe(_r.current.parentElement),pn}if(Dt){const pn=Mn();return()=>{var xn,En;(xn=_r.current)!=null&&xn.parentElement&&pn.unobserve((En=_r.current)==null?void 0:En.parentElement)}}},[Dt,va]),(0,Be.useEffect)(()=>{if(Dt){let Mn=[];for(const[pn,xn]of Object.entries(Hn)){let En={[pn]:()=>{cn(xn)}};Mn.push(En),Dt.addKeyMap(En)}return za.current=setInterval(()=>{ya.current&&ka()},4e3),()=>{clearInterval(za.current);for(let pn of Mn)Dt.removeKeyMap(pn)}}},[Dt]),(0,Be.useEffect)(()=>{_n!==Jt&&dn(_n)},[_n]),(0,on.Z)(()=>{if(!hr&&Sr>0){let Mn=new Date().getTime(),pn=window.sessionStorage.getItem(mn);Mn>=Sr+Zn&&(!pn||pn!==pr)&&(window.sessionStorage.setItem(mn,pr),ha(!0))}},Zn),(0,Be.useEffect)(()=>{ea(Un)},[Dt,Un]),(0,Be.useEffect)(()=>{Dt&&sn&&Dt.focus()},[Dt,sn]),(0,Be.useEffect)(()=>{if(Lr&&Dt){let Mn=function(xn){let En=xn.target;if(Ia.current){let xr=En.scrollTop/En.scrollHeight;Ia.current.scrollTop=Ia.current.scrollHeight*xr}};const pn=Dt.getScrollerElement();return pn.addEventListener("scroll",Mn),()=>{pn.removeEventListener("scroll",Mn)}}},[Dt,Lr]),(0,Be.useEffect)(()=>{if(Dt&&xt){let Mn=function(pn,xn){xt(pn,xn)};return Dt.on("beforeChange",Mn),()=>{Dt.off("beforeChange",Mn)}}},[Dt,xt]),(0,Be.useEffect)(()=>{if(Dt&&cr){let Mn=function(){cr(Dt.getValue())};return Dt.on("blur",Mn),()=>{Dt.off("blur",Mn)}}},[Dt,cr]);function Fn(Mn,pn){var xn=Mn.getDoc(),En=xn.getCursor(),xr=xn.getLine(En.line),$r=xr.charAt(En.ch-1),aa=xr.lastIndexOf("@\u2581@",En.ch),oa=xr.lastIndexOf("@\u2581\u2581@",En.ch),ia=aa>oa?aa:oa,sa=aa>oa?3:4;if(An.indexOf($r)===-1)return null;if(console.log("change1:",pn,Mn,xr,En,ia,aa,oa,$r),ia>=0&&En.ch-ia<5){var $a=ia+sa;return xn.replaceRange("",{line:En.line,ch:ia},{line:En.line,ch:$a}),{line:En.line,ch:$a}}return null}(0,Be.useEffect)(()=>{if(Dt){let Mn=function(pn,xn){const En=pn.getValue();br(En),fr(new Date().getTime()),pn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Tt&&(In?Tt(En,wr(En)):Tt(En))};return Dt.on("change",Mn),()=>{Dt.off("change",Mn)}}},[Dt,Tt]),(0,Be.useEffect)(()=>{if(Dt)if(bt==null)Dt.setValue(""),br("");else{const Mn=window.scrollY||window.pageYOffset;bt!==Dt.getValue()&&(Dt.setValue(bt),br(bt),Dt.setCursor(Vt?1:Dt.lineCount(),0),window.scrollTo(0,Mn))}},[Dt,bt]);const cn=(0,Be.useCallback)(Mn=>{const pn=Dt.getCursor(),xn=Dt.getSelection();let En=xn.split(`
|
|
`);switch(Mn){case"bold":return Dt.replaceSelection("**"+xn+"**"),xn===""&&Dt.setCursor(pn.line,pn.ch+2),Dt.focus();case"italic":return Dt.replaceSelection("*"+xn+"*"),xn===""&&Dt.setCursor(pn.line,pn.ch+1),Dt.focus();case"code":return Dt.replaceSelection("`"+xn+"`"),xn===""&&Dt.setCursor(pn.line,pn.ch+1),Dt.focus();case"inline-latex":return Tn("inline-latex"),Dt.focus();case"latex":return Dt.replaceSelection("```latex\n"+xn+"\n```"),Dt.setCursor(pn.line+1,xn.length+1),Dt.focus();case"line-break":return Dt.replaceSelection(`<br/>
|
|
`),Dt.focus();case"list-ul":return xn===""?Dt.replaceSelection("- "+xn):Dt.replaceSelection(En.map(xr=>xr===""?"":`- ${xr}`).join(`
|
|
`)),Dt.focus();case"list-ol":return xn===""?Dt.replaceSelection("1. "+xn):Dt.replaceSelection(En.map((xr,$r)=>xr===""?"":`${$r+1}. ${xr}`).join(`
|
|
`)),Dt.focus();case"add-null-ch":return xn===""&&Dt.setCursor(pn.line,pn.ch),Dt.replaceSelection(Rn),Dt.focus();case"add-signal":return xn===""&&Dt.setCursor(pn.line,pn.ch),Dt.replaceSelection(Vn),Dt.focus();case"add-multiple":return xn===""&&Dt.setCursor(pn.line,pn.ch),Dt.replaceSelection(An),Dt.focus();case"inster-template-1":return xn===""&&Dt.setCursor(pn.line,pn.ch),Dt.replaceSelection(dr),Dt.focus();case"eraser":return Dt.setValue(""),Dt.focus();case"trigger-watch":return ea(!Lr),Dt.focus();case"trigger-full-screen":return dn(!Jt),Dt.focus();case ft:Tn(ft);return;case Mt:Tn(Mt);return;case mt:Tn(mt);return;case jt:Tn(jt);return;case"maths-latex":Tn("maths-latex");return;case wt:Tn(wt);return;case Kt:Tn(Kt);return;default:throw new Error}},[Dt,Lr,Jt]),lr=(0,Be.useCallback)((Mn,pn)=>{var xn,En,xr,$r,aa,oa;switch(Tn(""),Pn){case ft:const{title:Br,link:Wr}=Mn;return Dt.replaceSelection(`[${Br}](${Wr})`),Dt.focus();case Mt:const{language:Er,content:Ur}=Mn;return Dt.replaceSelection(["```"+Er,Ur,"```"].join(`
|
|
`)),Dt.focus();case"maths-latex":for(var ia=atob(Mn),sa=new Uint8Array(ia.length),$a=0;$a<ia.length;$a++)sa[$a]=ia.charCodeAt($a);var nr=new Blob([sa],{type:"image/png"});(0,Ge.I)(nr,Za=>{Za.id?Dt.replaceSelection(``):(Za==null?void 0:Za.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Dt.replaceSelection("`$$"+Mn+"$$`");break;case mt:case jt:case It:const{src:Yr,alt:Ua}=Mn,Zr=pn,Ja=(xr=(En=(xn=Zr==null?void 0:Zr.name)==null?void 0:xn.split("."))==null?void 0:En.pop)==null?void 0:xr.call(En);return(($r=Zr==null?void 0:Zr.type)==null?void 0:$r.indexOf("image"))>-1||!(Zr!=null&&Zr.type)?Zr.align||Zr.width?Dt.replaceSelection(`<p style="text-align:${Zr.align||"initial"}"><img width="${Zr.width?Zr.width+"%":"initial"}" src="${Yr}" alt="${Ua||""}" /></p>`):Dt.replaceSelection(`<img width="100%" src="${Yr}" alt="${Ua||""}" />`):((aa=Zr==null?void 0:Zr.type)==null?void 0:aa.indexOf("video"))>-1?Dt.replaceSelection(`<video width="100%" controls src="${Yr}"></video>`):((oa=Zr==null?void 0:Zr.type)==null?void 0:oa.indexOf("pdf"))>-1?Dt.replaceSelection(`<a href="${Yr}?type=${Zr.type}&disposition=inline" target="_blank">${Zr.name}</a>`):zt.includes(Ja)?Dt.replaceSelection(`<a href="${Yr}?type=office&disposition=inline" target="_blank">${Zr.name}</a>`):Dt.replaceSelection(`[${Zr.name}](${Yr})`),Dt.focus();case Kt:const{row:Eo,col:yo,align:Mo}=Mn;let So=`
|
|
`;for(let Za=0;Za<Eo;Za++){let Co=[],bo=[];for(let Po=0;Po<yo;Po++)Za===1&&bo.push(en[Mo]),Co.push(" ");Za===1&&(So+=`| ${bo.join(" | ")} |
|
|
`),So+=`| ${Co.join(yo===1?"":" | ")} |
|
|
`}return Dt.replaceSelection(So+`
|
|
`),Dt.focus();default:throw new Error}},[Dt,Pn]),Or=(0,Be.useMemo)(()=>{switch(Pn){case ft:return Be.createElement(Qe,{callback:lr,onCancel:ur});case Mt:return Be.createElement(Je.Z,{callback:lr,onCancel:ur});case mt:return Be.createElement(Ge.Z,{callback:lr,onCancel:ur});case wt:return Be.createElement(Ee,{callback:lr,onCancel:ur});case Kt:return Be.createElement(Ze,{callback:lr,onCancel:ur});case"maths-latex":return Be.createElement(st,{showSaveButton:!0,callback:lr});case"inline-latex":return Be.createElement(ht.Z,{showSaveButton:!0,callback:lr});default:return null}},[Pn]);function ur(){Tn("")}(0,Be.useEffect)(()=>{if(Ta.current){let Mn=function(aa){xr=!0,$r=aa.pageY},pn=function(){xr=!1},xn=function(aa){if(xr){let oa=aa.pageY-$r;oa<0&&(oa=0),oa>300&&(oa=300);let ia=Wt+oa+"px";Fr(ia)}},En=Ta.current,xr=!1,$r=0;return En.addEventListener("mousedown",Mn),document.addEventListener("mousemove",xn),document.addEventListener("mouseup",pn),()=>{En.removeEventListener("mousedown",Mn),document.removeEventListener("mousemove",xn),document.removeEventListener("mouseup",pn)}}},[Dt,Ta]),(0,Be.useEffect)(()=>{Fr(Wt)},[Wt]);const ta=Qt(Et),la=Qt(tr),_a={width:ta,height:la},ba=(0,Be.useMemo)(()=>{if(Sr){let Mn=new Date(Sr),pn=Mn.getHours(),xn=Mn.getMinutes(),En=Mn.getSeconds();return pn=pn<10?"0"+pn:pn,xn=xn<10?"0"+xn:xn,En=En<10?"0"+En:En,`${pn}:${xn}:${En}`}return 0},[Sr]),wr=Mn=>{const pn=[];if(In){let xn=-1;Mn=Mn.replace(/(@▁▁@|@▁@)/g,function(En,xr,$r){pn.push({multiLine:En!==Vn})})}return pn};function zr(){window.sessionStorage.removeItem(mn),ha(!1),fr(0)}function Nr(){ha(!1),fr(0),Dt.setValue(window.sessionStorage.getItem(mn))}const Oa=(0,ie.useIntl)(),Ya={[ft]:"\u6DFB\u52A0\u94FE\u63A5",[Mt]:Oa.formatMessage({id:"markdownEditor.addCodeBlock",defaultMessage:"\u6DFB\u52A0\u4EE3\u7801\u5757"}),[mt]:Oa.formatMessage({id:"markdownEditor.addImage",defaultMessage:"\u6DFB\u52A0\u56FE\u7247"}),[jt]:"\u6DFB\u52A0\u753B\u56FE",[wt]:Oa.formatMessage({id:"markdownEditor.insertFlowchart",defaultMessage:"\u63D2\u5165\u6D41\u7A0B\u56FE"}),[Kt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":Oa.formatMessage({id:"markdownEditor.mathImage",defaultMessage:"\u6570\u5B66\u56FE\u50CF"}),"inline-latex":Oa.formatMessage({id:"markdownEditor.latexFormula",defaultMessage:"LATEX\u516C\u5F0F"})};(0,Be.useEffect)(()=>{Ya[Pn]&&Pn!==jt&&Pn!==wt&&setTimeout(()=>{const Mn=document.getElementsByClassName("markdown-popup-form")[0],pn=window.innerWidth/2-Mn.offsetWidth/2,xn=window.innerHeight/2-Mn.offsetHeight/2;Wa(pn),pa(xn)},0)},[Pn]);const io=Mn=>{Mn.preventDefault();const pn=Mn.clientX-Ka,xn=Mn.clientY-Ra;document.body.onmousemove=En=>{let xr=En.clientX-pn,$r=En.clientY-xn;const aa=document.getElementsByClassName("markdown-popup-form")[0],oa=window.innerWidth-aa.offsetWidth,ia=window.innerHeight-aa.offsetHeight;xr=Math.max(0,Math.min(xr,oa)),$r=Math.max(0,Math.min($r,ia)),po(En.clientX,En.clientY,pn,xn)&&(Wa(xr),pa($r))},document.body.onmouseup=function(){document.body.onmousemove=null}},po=(Mn,pn,xn,En)=>{const xr=document.body.clientHeight,$r=document.body.clientWidth;return Mn<20&&xn>Mn||Mn>$r-20&&xn<Mn||pn<20&&En>pn||pn>xr-20&&En<pn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return Be.createElement(Be.Fragment,null,Be.createElement("div",{className:"markdown-editor-wrapper",ref:Aa},Be.createElement("div",{className:`markdown-editor-container ${Rt} ${Lr?"on-preview":""} ${tn?"mini":""} ${Jt?"full-screen":""}`,style:_a},Be.createElement(fe,{insertTemp:Qn,watch:Lr,fullScreen:Jt,showNullButton:Yt,showNullProgramButton:In,onActionCallback:cn,hidetoolBar:Yn,extraUse:Gn}),Be.createElement("div",{className:"markdown-editor-body"},Be.createElement("div",{className:"codemirror-container"},Be.createElement("textarea",{ref:_r,placeholder:kt})),Lr?Be.createElement("div",{ref:Ia,className:"preview-container"},yn==="stex"&&Be.createElement(oe,{value:pr}),yn!=="stex"&&Be.createElement(ue.Z,{disabledFill:Ut,showProgramFill:In,value:pr})):null))),rr?Be.createElement("a",{ref:Ta,className:"editor-resize"}):null,Pn===jt&&Be.createElement(ct,{callback:lr,onCancel:ur}),Pn===wt&&Be.createElement(Ee,{callback:lr,onCancel:ur}),Be.createElement(pe.Z,null,Ya[Pn]&&Pn!==jt&&Pn!==wt?Be.createElement(ke.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ka,top:Ra},title:Be.createElement("div",{style:{cursor:"move"},onMouseDown:io},Ya[Pn]),open:!0,onCancel:ur,footer:null,destroyOnClose:!0,width:Pn===wt?"1200px":null,height:Pn===wt?"80vh":null,className:"markdown-popup-form"},Or):null))}},94491:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return fe},I:function(){return me}});var Be=Ce(78241),nt=Ce(8591),x=Ce(92832),Se=Ce(81327),he=Ce(5871),ae=Ce(5112),te=Ce(3113),le=Ce(92746),de=Ce(59301),se=Ce(96141),ue=Ce(75759),oe=Ce(59301),ie=Object.defineProperty,ne=Object.defineProperties,a=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,z=(ye,be,Le)=>be in ye?ie(ye,be,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ye[be]=Le,ee=(ye,be)=>{for(var Le in be||(be={}))E.call(be,Le)&&z(ye,Le,be[Le]);if(y)for(var Le of y(be))b.call(be,Le)&&z(ye,Le,be[Le]);return ye},re=(ye,be)=>ne(ye,a(be));const{useForm:ce}=Be.default,ge={width:280,marginRight:10},ve={labelCol:{span:5},wrapperCol:{span:19}};var fe=({callback:ye,onCancel:be})=>{const[Le]=ce();let we=(0,de.useRef)();const Ae=(0,ue.useIntl)();function Me(qe){we.current.width=Le.getFieldValue("width"),we.current.align=Le.getFieldValue("align"),ye(qe,we.current)}function De(qe,Re){if(qe.status===-1){nt.ZP.error(qe.message);return}Le.setFieldsValue({src:`/api/attachments/${qe.id}`,type:Re.type})}function ze(qe){let Re=qe.target.files[0];we.current=Re,me(Re,De)}return oe.createElement(Be.default,re(ee({form:Le},ve),{className:"upload-image-panel",onFinish:Me,style:{width:470,overflow:"hidden"}}),oe.createElement(Be.default.Item,{label:Ae.formatMessage({id:"markdownEditor.imageAddress",defaultMessage:"\u56FE\u7247\u5730\u5740"}),required:!0},oe.createElement("div",{className:"flex-container"},oe.createElement(Be.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},oe.createElement(x.default,{style:ge})),oe.createElement(pe,{onFileChange:ze}))),oe.createElement(Be.default.Item,{label:Ae.formatMessage({id:"markdownEditor.imageDescription",defaultMessage:"\u56FE\u7247\u63CF\u8FF0"}),name:"alt"},oe.createElement(x.default,{style:{width:264}})),oe.createElement(Be.default.Item,{label:Ae.formatMessage({id:"markdownEditor.imageWidth",defaultMessage:"\u56FE\u7247\u5BBD\u5EA6"}),name:"width"},oe.createElement(Se.Z,null,oe.createElement(Be.default.Item,{name:"width",style:{margin:0}},oe.createElement(he.Z,{style:{width:264}})),oe.createElement("span",{className:"ml8"},"%"))),oe.createElement(Be.default.Item,{label:Ae.formatMessage({id:"markdownEditor.alignment",defaultMessage:"\u5BF9\u9F50\u65B9\u5F0F"}),name:"align"},oe.createElement(ae.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:Ae.formatMessage({id:"markdownEditor.leftAlign",defaultMessage:"\u5DE6\u5BF9\u9F50"})},{value:"center",label:Ae.formatMessage({id:"markdownEditor.centerAlign",defaultMessage:"\u5C45\u4E2D\u5BF9\u9F50"})},{value:"right",label:Ae.formatMessage({id:"markdownEditor.rightAlign",defaultMessage:"\u53F3\u5BF9\u9F50"})}]})),oe.createElement("aside",null,oe.createElement(Be.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},oe.createElement(te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},Ae.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),oe.createElement(te.ZP,{type:"default",onClick:be},Ae.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"})))))};function pe({onFileChange:ye}){return oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",oe.createElement("input",{type:"file",onChange:ye}))}function me(ye,be){if(!ye)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 Le=new FormData;Le.append("editormd-image-file",ye),Le.append("file_param_name","editormd-image-file"),Le.append("byxhr","true");var we=new window.XMLHttpRequest;we.withCredentials=!0,we.addEventListener("load",function(Ae){be(JSON.parse(Ae.target.responseText),ye)},!1),we.addEventListener("error",function(Ae){console.error(Ae)},!1),we.open("POST",`${le.KI}/api/attachments.json`),we.send(Le)}},89147:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return x}});var Be=Ce(59301),nt=Ce(4676);class x extends Be.Component{constructor(he){super(he);const ae=window.document;this.node=ae.createElement("div"),ae.body.appendChild(this.node)}render(){const{children:he}=this.props;return(0,nt.createPortal)(he,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},89054:function(Ct,Pt,Ce){"use strict";var Be=Ce(29695),nt=Ce(57809),x=Ce(78673),Se=Ce(75759),he=Ce(59301);const ae=nt.default.Option;Pt.Z=({isTheoretical:te,onFontSizeChange:le,cmFontSize:de,cmCodeMode:se,autoFormat:ue,onCodeModeChange:oe,onTabToSpace:ie,onAutoFormat:ne,formatDocument:a,className:y="",tabToSpace:E,children:b,code_editor:z,challenge:ee,shixun_environment_id:re,shixun_environments:ce})=>{var ge;const ve=(0,Se.useIntl)(),fe={1:ve.formatMessage({id:"shixuns.easy",defaultMessage:"\u7B80\u5355"}),2:ve.formatMessage({id:"shixuns.medium",defaultMessage:"\u9002\u4E2D"}),3:ve.formatMessage({id:"shixuns.difficult",defaultMessage:"\u56F0\u96BE"})},pe=(ge=ce==null?void 0:ce.find(me=>me.shixun_environment_id===re))==null?void 0:ge.program_language;return he.createElement("div",{className:`tpi-code-setting ${y}`},he.createElement("h3",null,ve.formatMessage({id:"shixuns.codeFormat",defaultMessage:"\u4EE3\u7801\u683C\u5F0F"})),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,ve.formatMessage({id:"shixuns.displayMode",defaultMessage:"\u663E\u793A\u6A21\u5F0F"})),he.createElement(nt.default,{bordered:!1,size:"small",value:se,onChange:oe},he.createElement(ae,{value:"vs"},ve.formatMessage({id:"shixuns.whiteBackground",defaultMessage:"\u767D\u8272\u80CC\u666F"})),he.createElement(ae,{value:"vs-dark"},ve.formatMessage({id:"shixuns.blackBackground",defaultMessage:"\u9ED1\u8272\u80CC\u666F"})))),!te&&he.createElement(he.Fragment,null,he.createElement("div",{className:"file-item"},he.createElement("b",null,ve.formatMessage({id:"shixuns.fontSize",defaultMessage:"\u5B57\u4F53\u5927\u5C0F"})),he.createElement(nt.default,{bordered:!1,size:"small",value:de,onChange:le},he.createElement(ae,{value:12},"12px"),he.createElement(ae,{value:14},"14px"),he.createElement(ae,{value:16},"16px"),he.createElement(ae,{value:18},"18px"),he.createElement(ae,{value:20},"20px"),he.createElement(ae,{value:22},"22px"))),he.createElement("div",{className:"file-item"},he.createElement("b",null,ve.formatMessage({id:"shixuns.tabConversion",defaultMessage:"Tab\u8F6C\u6362"})),he.createElement(x.Z,{checked:E,onChange:ie})),he.createElement("div",{className:"file-item",onClick:a},he.createElement("b",{style:{cursor:"pointer"}},ve.formatMessage({id:"shixuns.formatCode",defaultMessage:"\u683C\u5F0F\u5316\u4EE3\u7801"}))))),!te&&he.createElement(he.Fragment,null,he.createElement("h3",null,ve.formatMessage({id:"shixuns.shortcuts",defaultMessage:"\u5FEB\u6377\u952E"})),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,ve.formatMessage({id:"shixuns.saveCode",defaultMessage:"\u4FDD\u5B58\u4EE3\u7801"})),he.createElement("span",null,"Ctrl + S")),he.createElement("div",{className:"file-item"},he.createElement("b",null,ve.formatMessage({id:"shixuns.showShortcutsList",defaultMessage:"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"})),he.createElement("span",null,"F1 / Alt + F1")),he.createElement("div",{className:"file-item"},he.createElement("b",null,ve.formatMessage({id:"shixuns.indentLeftRight",defaultMessage:"\u5DE6\u53F3\u7F29\u8FDB"})),he.createElement("span",null,"Ctrl + ]/[")),he.createElement("div",{className:"file-item"},he.createElement("b",null,ve.formatMessage({id:"shixuns.jumpToMatchingBracket",defaultMessage:"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"})),he.createElement("span",null,"Ctrl + Shift + \\")),he.createElement("div",{className:"file-item"},he.createElement("b",null,ve.formatMessage({id:"shixuns.goToLineStart",defaultMessage:"\u8F6C\u5230\u884C\u9996"})),he.createElement("span",null,"Home")),he.createElement("div",{className:"file-item"},he.createElement("b",null,ve.formatMessage({id:"shixuns.goToLineEnd",defaultMessage:"\u8F6C\u5230\u884C\u5C3E"})),he.createElement("span",null,"End"))),b),!te&&he.createElement(he.Fragment,null,he.createElement("h3",null,ve.formatMessage({id:"shixuns.shortcuts",defaultMessage:"\u5FEB\u6377\u952E"})),he.createElement("section",null,pe&&he.createElement("div",{className:"file-item"},he.createElement("b",null,ve.formatMessage({id:"questionBankAddQuestion.programmingLanguage",defaultMessage:"\u7F16\u7A0B\u8BED\u8A00"})),he.createElement("span",null,pe)),he.createElement("div",{className:"file-item"},he.createElement("b",null,ve.formatMessage({id:"shixuns.practicalDifficulty",defaultMessage:"\u5B9E\u8BAD\u96BE\u6613\u5EA6"})),he.createElement("span",null,fe[ee==null?void 0:ee.difficulty])),he.createElement("div",{className:"file-item"},he.createElement("b",null,ve.formatMessage({id:"shixuns.labEnvironment",defaultMessage:"\u5B9E\u9A8C\u73AF\u5883"})),he.createElement("span",null,z==null?void 0:z.name)),he.createElement("div",{className:"file-item"},he.createElement("b",null,ve.formatMessage({id:"shixuns.labContainerNetwork",defaultMessage:"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"})),he.createElement("span",null,z!=null&&z.close_internet?"\u5173\u95ED\u5916\u7F51":ve.formatMessage({id:"shixuns.enableExternalNetwork",defaultMessage:"\u5F00\u542F\u5916\u7F51"}))))))}},40835:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return nt}});var Be=Ce(59301);function nt(x,Se){const he=(0,Be.useRef)();(0,Be.useEffect)(()=>{he.current=x}),(0,Be.useEffect)(()=>{function ae(){he.current()}if(Se!==null){let te=setInterval(ae,Se);return()=>clearInterval(te)}},[Se])}},89761:function(Ct,Pt,Ce){"use strict";Ce.r(Pt),Ce.d(Pt,{Types:function(){return Zn},default:function(){return Vn}});var Be=Ce(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=Ce(92832),Se=Ce(43418),he=Ce(36381),ae=Ce(78241),te=Ce(8591),le=Ce(95237),de=Ce(43604),se=Ce(71418),ue=Ce(3113),oe=Ce(1710),ie=Ce(57809),ne=Ce(5871),a=Ce(5112),y=Ce(24905),E=Ce(81327),b=Ce(14478),z=Ce(75759),ee=Ce(59301);const{Option:re}=ie.default;var ce=(zt=>(zt[zt.language=0]="language",zt[zt.difficulty=1]="difficulty",zt[zt.category=2]="category",zt[zt.openOrNot=3]="openOrNot",zt))(ce||{});function ge(zt){const Qt=(0,z.useIntl)();return{0:[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],1:[{title:Qt.formatMessage({id:"shixuns.easy",defaultMessage:"\u7B80\u5355"}),key:1},{title:Qt.formatMessage({id:"shixuns.medium",defaultMessage:"\u9002\u4E2D"}),key:2},{title:Qt.formatMessage({id:"shixuns.difficult",defaultMessage:"\u56F0\u96BE"}),key:3}],2:[{title:"\u7A0B\u5E8F\u8BBE\u8BA1",key:1},{title:"\u7B97\u6CD5",key:2}],3:[{title:Qt.formatMessage({id:"classrooms.public",defaultMessage:"\u516C\u5F00"}),key:1},{title:"\u79C1\u6709",key:0}]}[zt].map(jn=>ee.createElement(re,{key:jn.title,value:jn.key}," ",jn.title," "))}function ve(zt,Qt){zt.map(gn=>{const{id:jn,name:Hn,sub_disciplines:vn}=gn;let bt={value:jn,label:Hn};Qt.push(bt),vn&&vn.length>0&&(bt.children=[],ve(vn,bt.children))})}function fe(zt,Qt){var gn;let jn=[];for(let Hn=0;Hn<zt.length;Hn++){const vn=zt[Hn];if(((gn=vn.sub_disciplines)==null?void 0:gn.length)>0){jn[0]=vn.id;for(let bt=0;bt<vn.sub_disciplines.length;bt++){const Tt=vn.sub_disciplines[bt];if(Tt.id===Qt)return jn[1]=Tt.id,[jn,Tt.tag_disciplines||Tt.sub_disciplines||[]]}}}return[jn,[]]}var pe=Ce(24334),me=Ce(76618),ye=Ce(65363),be=Ce(30741),Le=Ce(79884);function we(zt){return(0,Le.v_)("practices.json",zt)}function Ae(){return(0,Le.U2)("problems/new.json")}function Me(zt){return(0,Le.U2)(`practices/${zt}/edit.json`)}function De(zt,Qt){return(0,Le.gz)(`practices/${zt}`,Qt)}function ze(zt,Qt){return post(`exercises/${zt}/exercise_questions.json`,Qt)}function qe(zt,Qt){return put(`exercise_questions/${zt}.json`,Qt)}var Re=Ce(11659),ot=Ce(43428),rt=Ce(63003),Qe=Ce(89054),Je=Ce(89147),Ge=Ce(53619),ke={"code-panel-container":"code-panel-container___BZjjl","action-oj-bar":"action-oj-bar___xbXpK",active:"active___EMVKI"},_e=Object.defineProperty,tt=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Oe=(zt,Qt,gn)=>Qt in zt?_e(zt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:gn}):zt[Qt]=gn,Ue=(zt,Qt)=>{for(var gn in Qt||(Qt={}))Ye.call(Qt,gn)&&Oe(zt,gn,Qt[gn]);if(ct)for(var gn of ct(Qt))Ne.call(Qt,gn)&&Oe(zt,gn,Qt[gn]);return zt},xe=(zt,Qt)=>tt(zt,Xe(Qt));const Fe={theme:(0,Ge.G)("cmCodeMode","vs-dark"),fontSize:(0,Ge.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,Ge.G)("cmTabToSpace",!0)};var He=(zt=>(zt[zt.set_font_size=0]="set_font_size",zt[zt.set_theme=1]="set_theme",zt[zt.on_tab_to_space=2]="on_tab_to_space",zt[zt.set_show_editor_setting=3]="set_show_editor_setting",zt))(He||{});function We(zt,Qt){switch(Qt.type){case 3:return xe(Ue({},zt),{showEditorSetting:Qt.payload});case 1:return xe(Ue({},zt),{theme:Qt.payload});case 0:return xe(Ue({},zt),{fontSize:Qt.payload});case 2:return xe(Ue({},zt),{tabToSpace:Qt.payload});default:throw new Error}}var Ie=({value:zt,onChange:Qt,language:gn,onLanguage:jn,languageItems:Hn,ActionBarRender:vn=bt=>Be.createElement(Te,{languageItems:Hn,onLanguage:jn,language:gn,onShowCodeSetting:bt})})=>{const[bt,Tt]=(0,Be.useReducer)(We,Fe),{theme:Et,fontSize:Wt,showEditorSetting:tn,tabToSpace:sn}=bt;console.log(zt,gn,"value");const Un={onFontSizeChange:rr=>{Tt({type:0,payload:rr}),(0,Ge.t)("cmFontSize",rr)},tabToSpace:sn,cmFontSize:Wt,className:"oj",cmCodeMode:Et,onTabToSpace:rr=>{Tt({type:2,payload:rr}),(0,Ge.t)("cmTabToSpace",rr)},onCodeModeChange:rr=>{Tt({type:1,payload:rr}),(0,Ge.t)("cmCodeMode",rr)}};function Qn(){Tt({type:3,payload:!1})}function yn(){Tt({type:3,payload:!0})}const mn={value:zt,language:gn,onChange:Qt,theme:Et,height:"calc(100% - 56px)",options:{fontSize:Wt,insertSpaces:sn}};return Be.createElement(Be.Fragment,null,Be.createElement("div",{className:ke["code-panel-container"]},vn(yn),Be.createElement(rt.ZP,Ue({key:gn},mn))),Be.createElement(Je.Z,null,Be.createElement(ot.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:tn,onClose:Qn},Be.createElement(Qe.Z,Ue({},Un)))))};function Te({languageItems:zt,language:Qt,onShowCodeSetting:gn,onLanguage:jn}){return Be.createElement("div",{className:ke["action-oj-bar"]},zt==null?void 0:zt.map(Hn=>Be.createElement("div",{className:Qt===(Hn==null?void 0:Hn.language)?ke.active:"",onClick:()=>jn(Hn==null?void 0:Hn.language),key:Hn==null?void 0:Hn.language},Hn==null?void 0:Hn.language)),Be.createElement("a",{onClick:gn},Be.createElement("i",{className:"iconfont icon-shezhi"})))}var Ee=Ce(99313),Pe={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"},je=(zt,Qt,gn)=>new Promise((jn,Hn)=>{var vn=Et=>{try{Tt(gn.next(Et))}catch(Wt){Hn(Wt)}},bt=Et=>{try{Tt(gn.throw(Et))}catch(Wt){Hn(Wt)}},Tt=Et=>Et.done?jn(Et.value):Promise.resolve(Et.value).then(vn,bt);Tt((gn=gn.apply(zt,Qt)).next())}),at=({visible:zt,onOK:Qt,onCancel:gn})=>{const jn=(0,z.useIntl)(),[Hn,vn]=(0,Be.useState)(!1),[bt,Tt]=(0,Be.useState)(!1),[Et,Wt]=(0,Be.useState)("1"),[tn,sn]=(0,Be.useState)(""),[Un,Qn]=(0,Be.useState)([]),yn=()=>je(void 0,null,function*(){if(!tn){te.ZP.warning(`\u9898\u76EE${In}\u4E0D\u80FD\u4E3A\u7A7A`);return}Tt(!0);const Yn=yield(0,Le.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:zt,name:tn}});if((Yn==null?void 0:Yn.status)===0){Qt();return}Tt(!1)}),mn=(Yn="")=>je(void 0,null,function*(){vn(!0);let _n=yield(0,Le.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:zt,search:Yn}});Qn(_n.tag_disciplines||[]),vn(!1)}),rr=Yn=>{let _n=Yn.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:_n,placeholder:`${jn.formatMessage({id:"user.pleaseEnter",defaultMessage:"\u8BF7\u8F93\u5165"})}${In}\u540D\u79F0`,onChange:cr=>{_n=cr.target.value}})),okText:"\u786E\u8BA4",cancelText:jn.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>je(void 0,null,function*(){if(!_n)return te.ZP.warning(`\u9898\u76EE${In}\u4E0D\u80FD\u4E3A\u7A7A`),Promise.reject();const cr=yield(0,Le.ZP)(`/api/tag_disciplines/${Yn.id}/rename.json`,{method:"post",body:{id:Yn.id,name:_n}});(cr==null?void 0:cr.status)===0&&mn()})})},hr=Yn=>{Se.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:570,title:"\u5220\u9664",content:zt==="practice"?Be.createElement("div",null,"\u786E\u8BA4\u5C06\u9898\u76EE\u6765\u6E90\u201C",Be.createElement("span",{className:"c-light-primary"},Yn.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"},Yn.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:jn.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>je(void 0,null,function*(){const _n=yield(0,Le.ZP)(`/api/tag_disciplines/${Yn.id}.json`,{method:"delete",body:{id:Yn.id}});(_n==null?void 0:_n.status)===0&&mn()})})},Yt=Yn=>{mn(Yn)},In=zt==="practice"?"\u77E5\u8BC6\u70B9":"\u6765\u6E90";return Be.createElement(Se.default,{afterClose:()=>{Tt(!1),vn(!1),sn(""),Wt("1"),Qn([])},centered:!0,keyboard:!1,width:600,title:`${In}\u7BA1\u7406`,open:!!zt,className:Pe.customModal,footer:null,onCancel:gn},Be.createElement("section",{className:Pe.wrap},Be.createElement(Ee.default,{activeKey:Et,onChange:Yn=>{sn(""),Wt(Yn),mn()}},Be.createElement(Ee.default.TabPane,{tab:`\u65B0\u589E${In}`,key:"1"},Be.createElement(x.default,{value:tn,onChange:Yn=>sn(Yn.target.value),className:Pe.in,placeholder:`\u8F93\u5165${In}\u540D\u79F0`}),Be.createElement("div",{className:Pe.btns},Be.createElement(ue.ZP,{onClick:gn,className:"mr20"},jn.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"})),Be.createElement(ue.ZP,{loading:bt,onClick:yn,type:"primary"},"\u786E\u8BA4\u65B0\u5EFA"))),Be.createElement(Ee.default.TabPane,{tab:`\u5DF2\u6709${In}`,key:"2"},Be.createElement(x.default.Search,{allowClear:!0,onSearch:Yt,value:tn,onChange:Yn=>sn(Yn.target.value),className:Pe.in,placeholder:`\u8F93\u5165${In}\u540D\u79F0\u8FDB\u884C\u67E5\u8BE2`}),Be.createElement(oe.default,{dataSource:Un,bordered:!1,loading:Hn,scroll:Un.length>7?{y:300}:{},style:{padding:"0 0px 20px 0px"},columns:[{title:`${In}\u540D\u79F0`,dataIndex:"name",ellipsis:!0},{title:"\u64CD\u4F5C",dataIndex:"action",width:120,render:(Yn,_n)=>Be.createElement("span",null,Be.createElement("span",{onClick:()=>rr(_n),className:"current mr10 c-light-primary"},"\u91CD\u547D\u540D"),Be.createElement("span",{onClick:()=>hr(_n),className:"current c-grey-666"},jn.formatMessage({id:"questionBankAddQuestion.delete",defaultMessage:"\u5220\u9664"})))}],pagination:!1})))))},Ze=Ce(35545),it=Ce(30007),pt=Ce(66649),dt=Ce.n(pt),vt=Ce(19694),st=Ce(52628),ht=Ce(96141),$e=Ce(59301),lt=Object.defineProperty,ft=Object.defineProperties,mt=Object.getOwnPropertyDescriptors,wt=Object.getOwnPropertySymbols,jt=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,Mt=(zt,Qt,gn)=>Qt in zt?lt(zt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:gn}):zt[Qt]=gn,Kt=(zt,Qt)=>{for(var gn in Qt||(Qt={}))jt.call(Qt,gn)&&Mt(zt,gn,Qt[gn]);if(wt)for(var gn of wt(Qt))It.call(Qt,gn)&&Mt(zt,gn,Qt[gn]);return zt},qt=(zt,Qt)=>ft(zt,mt(Qt)),en=(zt,Qt,gn)=>new Promise((jn,Hn)=>{var vn=Et=>{try{Tt(gn.next(Et))}catch(Wt){Hn(Wt)}},bt=Et=>{try{Tt(gn.throw(Et))}catch(Wt){Hn(Wt)}},Tt=Et=>Et.done?jn(Et.value):Promise.resolve(Et.value).then(vn,bt);Tt((gn=gn.apply(zt,Qt)).next())});const{TextArea:on}=x.default,{confirm:wn}=Se.default,{Panel:Nn}=he.default,an={loading:!0,user:null,status:0,data:void 0,lastedUpdateTime:0};var Zn=(zt=>(zt[zt.SET_INITAL_DATA=0]="SET_INITAL_DATA",zt[zt.SET_LOADING=1]="SET_LOADING",zt[zt.SET_STATUS=2]="SET_STATUS",zt))(Zn||{});const Rn="#### \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 An(zt,Qt){switch(Qt.type){case 0:return Kt(Kt({},zt),Qt.payload);case 1:return qt(Kt({},zt),{loading:Qt.payload});case 2:return qt(Kt({},zt),{status:Qt.payload});default:throw new Error}}var Vn=()=>{var zt,Qt,gn;const jn=(0,z.useIntl)(),Hn=(0,z.useLocation)(),{id:vn}=(0,z.useParams)(),[bt]=ae.default.useForm(),[Tt,Et]=(0,Be.useState)(),[Wt,tn]=(0,Be.useState)(!1),[sn,Un]=(0,Be.useState)([]),[Qn,yn]=(0,Be.useState)([]),[mn,rr]=(0,Be.useState)([]),[hr,Yt]=(0,Be.useState)([]),[In,Yn]=(0,Be.useState)([]),[_n,cr]=(0,Be.useState)("C"),[xt,Bt]=(0,Be.useReducer)(An,an),{loading:Rt,data:_t,user:Vt,status:Ut}=xt,kt=_t==null?void 0:_t.hack_sets,Gt=(zt=_t==null?void 0:_t.hack)==null?void 0:zt.test_set_average,[Gn,Dt]=(0,Be.useState)(!1),zn=(0,Be.useRef)([]),[pr,br]=(0,Be.useState)(!1),[Lr,ea]=(0,Be.useState)(!1),Jt=(0,Be.useRef)(!0),[dn,Pn]=(0,Be.useState)({});(0,Be.useEffect)(()=>((0,z.getDvaApp)()._store.dispatch({type:"globalSetting/headerFooterToggle",payload:!1}),(0,z.getDvaApp)()._store.dispatch({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),()=>{(0,z.getDvaApp)()._store.dispatch({type:"globalSetting/headerFooterToggle",payload:!0}),(0,z.getDvaApp)()._store.dispatch({type:"globalSetting/onlyShowBackTopToggle",payload:!1})}),[]),(0,Be.useEffect)(()=>{setTimeout(()=>{document.title="\u5728\u7EBF\u5237\u9898"},400)});const Tn=()=>en(void 0,null,function*(){const Fn=yield(0,Le.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:"practice"}}),cn=yield(0,Le.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:"practice_source"}});yn(Fn.tag_disciplines||[]),rr(cn.tag_disciplines||[])});var Sr=[{language:"C",code:""},{language:"C++",code:""},{language:"Java",code:""},{language:"Python",code:""}];const fr=(0,Be.useCallback)(()=>en(void 0,null,function*(){if(Bt({type:1,payload:!0}),vn){const Fn=yield Me(vn),{user:cn,language:lr,practice_sets:Or,practice_codes:ur,description:ta,difficulty:la,name:_a,open_or_not:ba,time_limit:wr,test_set_average:zr,test_set_score:Nr,status:Oa,tag_discipline_ids:Ya,source_discipline_ids:io,item_banks_group_id:po,is_file:Mn=!1,hide_actual_output:pn,review_privilege:xn,review_description:En,submit_rule:xr}=Fn;Pn({review_privilege:xn,status:Oa,review_description:En,name:_a}),Dt(pn);const aa=Mn?[{input:"",output:"",score:100,position:1}]:Or;Mn?(Un(Or),bt.setFieldsValue({hack_sets:aa})):Un([]),Bt({type:0,payload:{loading:!0,user:cn,status:Oa,data:{hack:{difficulty:la,name:_a,description:ta,open_or_not:ba,time_limit:wr,test_set_average:zr,test_set_score:Nr,tag_discipline_ids:Ya,source_discipline_ids:io,is_file:Mn,submit_rule:xr},hack_sets:aa}}}),Et({hack:{difficulty:la,name:_a,description:ta,open_or_not:ba,time_limit:wr,test_set_average:zr,test_set_score:Nr,tag_discipline_ids:Ya,source_discipline_ids:io,is_file:Mn}});const ia=ur==null?void 0:ur.map(sa=>qt(Kt({},sa),{code:pe.Base64.decode(sa==null?void 0:sa.code)}));Yn(ia),zn.current=ia}else{const{user:Fn}=yield Ae();Bt({type:0,payload:{loading:!0,status:0,user:Fn,data:{hack:{difficulty:"",time_limit:3,description:Rn,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}]}}}),Et({hack:{difficulty:"",time_limit:3,description:"",test_set_average:!0,open_or_not:!0,name:"",is_file:!1}}),Yn(Sr),zn.current=Sr}Bt({type:1,payload:!1})}),[vn]);(0,Be.useEffect)(()=>{try{fr(),Tn()}catch(Fn){console.log(Fn,"----")}},[]);function tr(Fn,cn){return en(this,null,function*(){var lr;const{hack_sets:Or,hack:ur}=Kt({},Fn);ur.hide_actual_output=Gn;let ta=[],la=[],_a=0;const ba=ur!=null&&ur.is_file?sn.map((Nr,Oa)=>qt(Kt({},Nr),{position:Oa+1})):Or.map(Nr=>qt(Kt({},Nr),{is_file:!1}));for(let Nr of ba)_a+=Nr.score,Nr.id&&Nr.id>=0?ta.push(Nr):la.push(Nr);if(!(ba!=null&&ba.length)){te.ZP.error("\u6D4B\u8BD5\u96C6\u4E0D\u80FD\u4E3A\u7A7A");return}if(_a!==100&&!ur.test_set_score){te.ZP.error("\u6D4B\u8BD5\u96C6\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}if(ba!=null&&ba.some(Nr=>!Nr.output)){te.ZP.error("\u6D4B\u8BD5\u96C6\u8F93\u51FA\u4E0D\u80FD\u4E3A\u7A7A");return}Jt.current?br(!0):ea(!0);let wr;const zr=In==null?void 0:In.map(Nr=>qt(Kt({},Nr),{code:pe.Base64.encode(Nr==null?void 0:Nr.code)}));if(vn?wr=yield De(vn,{practice:ur,practice_codes:zr,practice_sets:la,update_practice_sets:ta}):wr=yield we({practice:ur,practice_codes:zr,practice_sets:ba,publish:!Jt.current}),br(!1),ea(!1),(wr==null?void 0:wr.status)===0){if((lr=wr==null?void 0:wr.similar_practice)!=null&&lr.length){tn(!0),Yt(wr==null?void 0:wr.similar_practice);return}if(vn){if(te.ZP.success("\u4FDD\u5B58\u6210\u529F"),!Jt.current){const Nr=yield(0,Le.ZP)(`/api/practices/${vn}/start`,{method:"get"});(Nr==null?void 0:Nr.status)===0&&z.history.push(`/problems/${Nr==null?void 0:Nr.identifier}/oj/${vn}`)}}else te.ZP.success("\u65B0\u5EFA\u6210\u529F"),z.history.replace(`/problems/${wr==null?void 0:wr.identifier}/ojedit`)}})}function Fr(){z.history.replace("/problems")}const Mr=Fn=>{const cn=Math.floor(100/Fn.length),lr=cn+100%Fn.length;Fn=Fn.map((Or,ur)=>ur===Fn.length-1?qt(Kt({},Or),{score:lr}):qt(Kt({},Or),{score:cn})),Un(Fn)};function ha(Fn){Fn.target.value||Mr(sn),Bt({type:0,payload:{data:qt(Kt({},_t),{hack:qt(Kt({},_t.hack),{test_set_score:Fn.target.value})})}})}function wa(Fn){Bt({type:0,payload:{data:qt(Kt({},_t),{hack:qt(Kt({},_t.hack),{is_file:Fn.target.value})})}})}function ya(Fn){Dt(Fn.target.checked)}function za(Fn){const cn=Fn.target.value;cn&&Mr(sn),Bt({type:0,payload:{data:qt(Kt({},_t),{hack:qt(Kt({},_t.hack),{test_set_average:cn})})}})}function Ka(){let Fn=bt.getFieldValue("hack_sets");const cn=Fn.length+1,lr=Math.floor(100/cn),Or=100%cn;Fn.map((ur,ta)=>(Gt&&(ur.score=lr),ur.position=ta+1,ur)),Fn.push({input:"",output:"",position:cn,score:Gt?lr+Or:0}),bt.setFieldsValue({hack_sets:Fn}),Bt({type:0,payload:{data:qt(Kt({},_t),{hack_sets:Fn})}})}(0,Be.useEffect)(()=>{if(Gt){const Fn=kt==null?void 0:kt.length,cn=Math.floor(100/Fn),lr=100%Fn;kt==null||kt.map((Or,ur)=>(Or.score=cn,Or.position=ur+1,ur===Fn-1&&(Or.score=cn+lr),Or)),Bt({type:0,payload:{data:qt(Kt({},_t),{hack_sets:kt})}}),bt.setFieldsValue({hack_sets:kt})}},[Gt]);function Wa(Fn){let cn=bt.getFieldValue("hack_sets");const lr=(cn==null?void 0:cn.length)-1,Or=Math.ceil(100/lr),ur=100%lr;cn.splice(Fn,1),cn==null||cn.map((ta,la)=>(Gt&&(ta.score=Or,la===lr-1&&(ta.score=Or+ur)),ta.position=la+1,ta)),Bt({type:0,payload:{data:qt(Kt({},_t),{hack_sets:cn})}}),bt.setFieldsValue({hack_sets:cn})}function Ra(Fn){cr(Fn)}const pa=Fn=>{var cn;const lr=(cn=zn.current)==null?void 0:cn.findIndex(Or=>Or.language===_n);zn.current[lr].code=Fn,Yn(zn.current)},_r=Fn=>{Et(Kt({},bt.getFieldsValue()))},Aa=Fn=>en(void 0,null,function*(){const cn=yield(0,Le.ZP)(`/api/practices/${Fn}/start`,{method:"get"});(cn==null?void 0:cn.status)===0&&(0,vt.xg)(`/problems/${cn==null?void 0:cn.identifier}/oj/${Fn}`)}),Ta=()=>en(void 0,null,function*(){const Fn=yield Me(vn),{name:cn,status:lr,review_privilege:Or,review_description:ur}=Fn;Pn({review_privilege:Or,status:lr,review_description:ur,name:cn})}),Ia=()=>{let Fn="";Se.default.confirm({icon:null,width:700,className:"custom-modal-divider",centered:!0,title:"\u4E0D\u901A\u8FC7\u539F\u56E0",content:$e.createElement("div",{className:"mt20"},$e.createElement(be.Z,{className:nt.MdEditor,defaultValue:Fn,onChange:cn=>{Fn=cn}})),okText:"\u786E\u8BA4",cancelText:jn.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>en(void 0,null,function*(){if(!Fn)return te.ZP.warning("\u4E0D\u901A\u8FC7\u539F\u56E0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const cn=yield(0,Le.ZP)(`/api/practices/${vn}/review.json`,{method:"post",body:{op:"fail",description:Fn}});(cn==null?void 0:cn.status)===0&&(te.ZP.success("\u63D0\u4EA4\u6210\u529F"),Ta())})})},ka=()=>en(void 0,null,function*(){Se.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:jn.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:`\u786E\u8BA4\u5C06\u9898\u76EE\u300A${dn==null?void 0:dn.name}\u300B\u7684\u5BA1\u6838\u901A\u8FC7\u5417\uFF1F`,okText:"\u786E\u8BA4",cancelText:jn.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>en(void 0,null,function*(){const Fn=yield(0,Le.ZP)(`/api/practices/${vn}/review.json`,{method:"post",body:{op:"pass"}});(Fn==null?void 0:Fn.status)===0&&(te.ZP.success("\u63D0\u4EA4\u6210\u529F"),Ta())})})}),va=()=>{const Fn=Se.default.confirm({icon:null,width:700,className:`${nt.cusModal} custom-modal-divider`,centered:!0,title:$e.createElement(le.Z,null,$e.createElement(de.Z,{flex:"1"},"\u4E0D\u901A\u8FC7\u539F\u56E0"),$e.createElement(de.Z,null,$e.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>Fn.destroy()}))),content:$e.createElement("div",null,$e.createElement(st.Z,{className:"mt20",value:(dn==null?void 0:dn.review_description)||""}))})};return $e.createElement(se.Z,{spinning:Rt,size:"large",className:nt["oj-custom-large-spin"]},_t?$e.createElement(Be.Fragment,null,$e.createElement("header",{className:nt.header},$e.createElement("div",null,$e.createElement("img",{src:`${Ze.Z.IMG_SERVER}/images/${Vt==null?void 0:Vt.image_url}`,alt:"user",width:30}),$e.createElement("span",null,Vt==null?void 0:Vt.name)),$e.createElement("h2",null," ",(Qt=_t==null?void 0:_t.hack)==null?void 0:Qt.name," "),vn?$e.createElement("a",{className:nt.btn_back,onClick:Fr}," ",$e.createElement(me.Z,null),"\u9000\u51FA"):null),$e.createElement(ae.default,{form:bt,initialValues:_t,layout:"vertical",className:nt["oj-form-container"],onValuesChange:_r,onFinish:tr},$e.createElement(Re.Z,{hideResize:!0,className:nt["oj-problems"],leftChild:$e.createElement(dr,{formValue:Tt,onRemoveTestCase:Wa,onAddTestCase:Ka,hack:_t.hack,onChangeScore:ha,onChangehide:ya,onChangeAverage:za,onChangeFile:wa,uploadData:sn,setUploadData:Un,handleUploadRatio:Mr,ischecked:Gn,pointData:Qn,sourceData:mn,getPointData:Tn}),rightChild:$e.createElement(Ie,{value:(gn=In==null?void 0:In.find(Fn=>Fn.language===_n))==null?void 0:gn.code,onChange:pa,onLanguage:Ra,languageItems:In,language:_n})}),$e.createElement("div",{className:nt.footer},!!vn&&$e.createElement("div",{className:nt.result},$e.createElement("span",null,"\u5BA1\u6838\u7ED3\u679C:"),dn!=null&&dn.review_privilege?$e.createElement($e.Fragment,null,$e.createElement("div",{onClick:ka,className:nt.pass},"\u901A\u8FC7"),$e.createElement("div",{onClick:Ia,className:nt.noPass},"\u4E0D\u901A\u8FC7")):$e.createElement($e.Fragment,null,(dn==null?void 0:dn.status)===0&&$e.createElement("div",{className:nt.passText},$e.createElement("i",{className:"iconfont icon-tongguo"}),"\u672A\u53D1\u5E03"),(dn==null?void 0:dn.status)===1&&$e.createElement("div",{className:nt.passText},$e.createElement("i",{className:"iconfont icon-tongguo"}),"\u5DF2\u516C\u5F00"),(dn==null?void 0:dn.status)===2&&$e.createElement("div",{className:nt.passText},$e.createElement("i",{className:"iconfont icon-tongguo"}),"\u672A\u5BA1\u6279"),(dn==null?void 0:dn.status)===3&&$e.createElement("div",{className:nt.passText},$e.createElement("i",{className:"iconfont icon-tongguo"}),"\u5BA1\u6838\u4E2D"),(dn==null?void 0:dn.status)===4&&$e.createElement("div",{className:nt.passText},$e.createElement("i",{className:"iconfont icon-tongguo"}),"\u5BA1\u6838\u5B8C\u6210\u5F85\u516C\u5F00"),(dn==null?void 0:dn.status)===5&&$e.createElement("div",{className:nt.noPassText},$e.createElement("i",{className:"iconfont icon-weitongguo1"}),"\u5BA1\u6838\u4E0D\u901A\u8FC7",$e.createElement("span",{onClick:va},"\u67E5\u770B\u539F\u56E0")))),$e.createElement(ue.ZP,{type:"primary",ghost:!0,onClick:Fr},"\u9000\u51FA\u7F16\u8F91"),$e.createElement(ue.ZP,{disabled:Lr,loading:pr,type:"primary",onClick:()=>{Jt.current=!0,bt.submit()}},jn.formatMessage({id:"questionBankAddQuestion.save",defaultMessage:"\u4FDD\u5B58"})),vn?$e.createElement(ue.ZP,{disabled:pr,loading:Lr,style:{background:"#2FC25B",border:0},type:"primary",onClick:()=>{Jt.current=!1,bt.submit()}},"\u7ACB\u5373\u4F53\u9A8C"):$e.createElement(ue.ZP,{disabled:pr,loading:Lr,type:"primary",onClick:()=>{Jt.current=!1,bt.submit()}},"\u4FDD\u5B58\u5E76\u53D1\u5E03\u5BA1\u6838")))):null,$e.createElement(Se.default,{centered:!0,destroyOnClose:!0,footer:null,open:Wt,onCancel:()=>tn(!1),title:"\u76F8\u4F3C\u6027\u68C0\u6D4B",width:"600px"},$e.createElement("div",null,$e.createElement("p",{className:"font14"},"\u7ECF\u7CFB\u7EDF\u68C0\u6D4B\u53D1\u73B0\uFF0C\u672C\u9898\u76EE\u4E0E\u7CFB\u7EDF\u4E2D\u5DF2\u521B\u5EFA\u7684\u9898\u76EE\u9AD8\u5EA6\u96F7\u540C\uFF0C\u8BF7\u8C03\u6574\u9898\u76EE\u540E\u518D\u8FDB\u884C\u4FDD\u5B58"),$e.createElement(oe.default,{dataSource:hr,bordered:!1,scroll:hr.length>7?{y:300}:{},columns:[{title:"\u76F8\u4F3C\u9898\u9898\u76EE",dataIndex:"name",ellipsis:!0,render:(Fn,cn)=>$e.createElement("span",{onClick:()=>Aa(cn==null?void 0:cn.identifier),style:{textDecorationLine:"underline"},className:"current c-light-primary"},Fn)},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"create_time",width:170,render:Fn=>{var cn;return(cn=dt()(Fn))==null?void 0:cn.format("YYYY-MM-DD HH:mm")}}],pagination:!1}))))};function dr({ischecked:zt,formValue:Qt,hack:gn,onChangeAverage:jn,onChangeScore:Hn,onChangehide:vn,onChangeFile:bt,onAddTestCase:Tt,onRemoveTestCase:Et,uploadData:Wt,setUploadData:tn,handleUploadRatio:sn,pointData:Un,sourceData:Qn,getPointData:yn}){const mn=(0,z.useIntl)(),{test_set_average:rr,test_set_score:hr}=gn,[Yt,In]=(0,Be.useState)(!1),[Yn,_n]=(0,Be.useState)(!1),cr=(Ut,kt)=>{const Gt=[...Wt];Gt.splice(kt,1),rr?sn(Gt):tn(Gt)},xt=(Ut,kt)=>{console.log(Ut,kt);const Gt=Wt.map((Gn,Dt)=>Dt===kt?qt(Kt({},Gn),{score:Ut.target.value?Number(Ut.target.value):0}):Gn);tn(Gt)},Bt=Ut=>{const kt=Wt.concat(Ut);gn.test_set_average?sn(kt):tn(kt)};function Rt(Ut){Ut.stopPropagation()}function _t(){if((0,ht.Ny)()){_n("practice");return}let Ut="";Se.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:mn.formatMessage({id:"questionBankAddQuestion.createNewKnowledgePoints",defaultMessage:"\u65B0\u5EFA\u77E5\u8BC6\u70B9"}),content:$e.createElement("div",null,$e.createElement(x.default,{placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0",onChange:kt=>{Ut=kt.target.value}})),okText:"\u786E\u8BA4",cancelText:mn.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>en(this,null,function*(){const kt=yield(0,Le.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:"practice",name:Ut}});(kt==null?void 0:kt.status)===0&&yn()})})}function Vt(){if((0,ht.Ny)()){_n("practice_source");return}let Ut="";Se.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,title:"\u65B0\u5EFA\u6765\u6E90",content:$e.createElement("div",null,$e.createElement(x.default,{placeholder:"\u8BF7\u8F93\u5165\u6765\u6E90\u540D\u79F0",onChange:kt=>{Ut=kt.target.value}})),okText:"\u786E\u8BA4",cancelText:mn.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>en(this,null,function*(){const kt=yield(0,Le.ZP)("/api/tag_disciplines.json",{method:"post",body:{target:"practice_source",name:Ut}});(kt==null?void 0:kt.status)===0&&yn()})})}return $e.createElement("div",{className:nt["oj-left-panel"]},$e.createElement("div",{className:nt["oj-form-info"]},$e.createElement(ae.default.Item,{label:mn.formatMessage({id:"classroomProgrammingHomework.questionName",defaultMessage:"\u9898\u76EE\u540D\u79F0"}),name:["hack","name"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0"}],className:nt.inputOne},$e.createElement(x.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0"})),$e.createElement(ae.default.Item,{name:["hack","description"],valuePropName:"defaultValue",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63CF\u8FF0\u5185\u5BB9"}]},$e.createElement(be.Z,{placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u63CF\u8FF0\u2026",miniToolbar:!0,id:"moop_cases_content",noStorage:!0,height:200})),$e.createElement("div",{className:nt.row},$e.createElement("div",{className:nt.a},$e.createElement(ae.default.Item,{label:"\u96BE\u6613\u5EA6",name:["hack","difficulty"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u6613\u5EA6"}]},$e.createElement(ie.default,null,ge(ce.difficulty)))),$e.createElement("div",{className:nt.b},$e.createElement(ae.default.Item,{label:"\u9898\u76EE\u6765\u6E90",name:["hack","source_discipline_ids"]},$e.createElement(ie.default,{placeholder:"\u9009\u62E9\u9898\u76EE\u6765\u6E90",showSearch:!1,mode:"multiple",showArrow:!0,getPopupContainer:Ut=>Ut.parentNode},Qn.map(Ut=>$e.createElement(ie.default.Option,{key:Ut.id,value:Ut.id},Ut.name)))),$e.createElement(ue.ZP,{style:{padding:"0 18px"},type:"primary",ghost:!0,onClick:()=>Vt()},(0,ht.Ny)()?"\u6765\u6E90\u7BA1\u7406":"\u65B0\u5EFA\u6765\u6E90"))),$e.createElement("div",{className:nt.row},$e.createElement("div",{className:nt.b,style:{width:"100%",marginLeft:0}},$e.createElement(ae.default.Item,{label:mn.formatMessage({id:"questionBankList.knowledgePoints",defaultMessage:"\u77E5\u8BC6\u70B9"}),rules:[{required:!0,message:mn.formatMessage({id:"questionBankAddQuestion.pleaseSelectKnowledgePoints",defaultMessage:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"})}],name:["hack","tag_discipline_ids"]},$e.createElement(ie.default,{placeholder:"\u9009\u62E9\u77E5\u8BC6\u70B9",showSearch:!1,mode:"multiple",showArrow:!0,getPopupContainer:Ut=>Ut.parentNode},Un.map(Ut=>$e.createElement(ie.default.Option,{key:Ut.id,value:Ut.id},Ut.name)))),$e.createElement(ue.ZP,{type:"primary",ghost:!0,onClick:()=>_t()},(0,ht.Ny)()?"\u77E5\u8BC6\u70B9\u7BA1\u7406":"\u65B0\u5EFA\u77E5\u8BC6\u70B9"))),$e.createElement("div",{className:nt.field},$e.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:$e.createElement("span",{style:{position:"absolute",left:200,top:11,color:"#333"}},"\u79D2",$e.createElement("span",{className:"ml5 c-grey-999"},"(\u4EE3\u7801\u6267\u884C\u6240\u5141\u8BB8\u7684\u6700\u5927\u65F6\u957F)"))},$e.createElement(ne.Z,{style:{width:185},min:1}))),$e.createElement("div",{className:"tst-case-info"},$e.createElement("h3",{className:"flex-container",style:{justifyContent:"space-between"}}," ","\u6D4B\u8BD5\u7528\u4F8B\u4E0E\u7CFB\u7EDF\u8BC4\u5206\u89C4\u5219",!gn.is_file&&$e.createElement(ue.ZP,{style:{height:40},type:"primary",ghost:!0,onClick:Tt},"\u6DFB\u52A0\u6D4B\u8BD5\u7528\u4F8B")),$e.createElement(ae.default.Item,{name:["hack","test_set_score"]},$e.createElement(a.ZP.Group,{onChange:Hn},$e.createElement(a.ZP,{value:!0},mn.formatMessage({id:"questionBankAddQuestion.passAllTestSets",defaultMessage:"\u901A\u8FC7\u5168\u90E8\u6D4B\u8BD5\u96C6"}),$e.createElement("span",{className:"tip"}," ","\uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u4EC5\u5F53\u6240\u6709\u6D4B\u8BD5\u96C6\u90FD\u6B63\u786E\u65F6\uFF0C\u624D\u83B7\u5F97\u4E00\u6B21\u6027\u5956\u52B1\uFF09")),$e.createElement(a.ZP,{value:!1},mn.formatMessage({id:"questionBankAddQuestion.passPartialTestSets",defaultMessage:"\u901A\u8FC7\u90E8\u5206\u6D4B\u8BD5\u96C6"}),$e.createElement("span",{className:"tip"}," ","\uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u901A\u8FC7\u6D4B\u8BD5\u96C6\u5373\u53EF\u83B7\u5F97\u5BF9\u5E94\u5956\u52B1\uFF09")))),$e.createElement(y.default,{style:{marginBottom:"5px"},checked:zt,onChange:vn},"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA \uFF08\u9009\u4E2D\uFF0C\u5219\u5728\u5B66\u751F\u505A\u9898\u8FC7\u7A0B\u4E2D\u65E0\u6CD5\u770B\u5230\u5B9E\u9645\u8F93\u51FA\u7ED3\u679C\uFF0C\u4EC5\u5C55\u793A\u662F\u5426\u8BC4\u6D4B\u662F\u5426\u901A\u8FC7\uFF09"),$e.createElement(ae.default.Item,{className:nt.testJi,name:["hack","is_file"],label:`${mn.formatMessage({id:"shixuns.testCaseType",defaultMessage:"\u7528\u4F8B\u7C7B\u578B"})}:`},$e.createElement(a.ZP.Group,{onChange:bt},$e.createElement(E.Z,{direction:"horizontal"},$e.createElement(a.ZP,{value:!1},mn.formatMessage({id:"shixuns.text",defaultMessage:"\u6587\u672C"})),$e.createElement(a.ZP,{value:!0},mn.formatMessage({id:"shixuns.file",defaultMessage:"\u6587\u4EF6"}))))),$e.createElement(ae.default.Item,{label:mn.formatMessage({id:"questionBankAddQuestion.spaceHandlingInEvaluation",defaultMessage:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}),name:["hack","submit_rule"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},$e.createElement(a.ZP.Group,null,$e.createElement(a.ZP,{value:0},mn.formatMessage({id:"questionBankAddQuestion.doNotIgnoreSpaces",defaultMessage:"\u4E0D\u5FFD\u7565\u7A7A\u683C"})),$e.createElement(a.ZP,{value:1},mn.formatMessage({id:"questionBankAddQuestion.ignoreLeadingTrailingSpaces",defaultMessage:"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"})),$e.createElement(a.ZP,{value:2},mn.formatMessage({id:"questionBankAddQuestion.ignoreAllSpaces",defaultMessage:"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"})))),!gn.test_set_score&&$e.createElement(ae.default.Item,{name:["hack","test_set_average"],label:mn.formatMessage({id:"questionBankAddQuestion.systemRating",defaultMessage:"\u7CFB\u7EDF\u8BC4\u5206\u5360\u6BD4"})},$e.createElement(a.ZP.Group,{onChange:jn},$e.createElement(a.ZP,{value:!0},mn.formatMessage({id:"questionBankAddQuestion.equalRatio",defaultMessage:"\u5747\u5206\u6BD4\u4F8B"})),$e.createElement(a.ZP,{value:!1},mn.formatMessage({id:"questionBankAddQuestion.customRatio",defaultMessage:"\u81EA\u5B9A\u4E49\u6BD4\u4F8B"})))),gn.is_file&&$e.createElement("div",{className:nt.upBtn},$e.createElement(ue.ZP,{ghost:!0,type:"primary",className:"mb20",onClick:()=>In(!0)},"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"),$e.createElement(it.Y2,{disabled:gn==null?void 0:gn.test_set_average,inputChange:xt,showScore:!gn.test_set_score,data:Wt,onRemove:cr})),!gn.is_file&&$e.createElement(ae.default.List,{name:"hack_sets"},(Ut,{})=>$e.createElement(he.default,{accordion:!0},Ut.map((kt,Gt)=>$e.createElement(Nn,{key:`${kt.key}--${Gt}`,header:$e.createElement("a",{className:nt["test-case-name"]},$e.createElement("span",null,mn.formatMessage({id:"shixuns.testCases",defaultMessage:"\u6D4B\u8BD5\u7528\u4F8B"}),Gt+1),hr?null:$e.createElement($e.Fragment,null,$e.createElement(ae.default.Item,{name:[kt.name,"score"],fieldKey:[kt.fieldKey,"score"],rules:[{required:!0,message:`\u8BF7\u8F93\u5165\u6D4B\u8BD5\u96C6${Gt+1}\u8BC4\u5206`}]},$e.createElement(ne.Z,{onClick:Rt,min:0,max:100,disabled:rr})),$e.createElement("span",null,"%"))),extra:Gt>0?$e.createElement("div",{onClick:Rt},$e.createElement(b.Z,{okText:"\u786E\u5B9A",cancelText:mn.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),title:"\u786E\u5B9A\u5220\u9664\u6D4B\u8BD5\u96C6\b"+(Gt+1),onConfirm:()=>{Et(Gt)}},$e.createElement(ye.Z,{className:nt["btn-remove-case"]}))):null},$e.createElement(ae.default.Item,{label:"\u8F93\u5165",name:[kt.name,"input"],fieldKey:[kt.fieldKey,"input"]},$e.createElement(on,null)),$e.createElement(ae.default.Item,{label:mn.formatMessage({id:"questionBankAddQuestion.output",defaultMessage:"\u8F93\u51FA"}),name:[kt.name,"output"],fieldKey:[kt.fieldKey,"output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},$e.createElement(on,null)))))))),$e.createElement(it.ZP,{rootIdentifier:null,visible:Yt,onClose:()=>In(!1),onOK:Bt}),$e.createElement(at,{visible:Yn,onCancel:()=>{_n(!1),yn()},onOK:()=>{_n(!1),yn()}}))}},30007:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Y2:function(){return De},ZP:function(){return ze}});var Be=Ce(59301),nt=Ce(54580),x=Ce(8591),Se=Ce(43418),he=Ce(95237),ae=Ce(5112),te=Ce(3113),le=Ce(24905),de=Ce(6848),se=Ce(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=Ce(47257),ne=Ce.n(ie),a=Ce(79884),y=Ce(1012),E=Ce(19694),b=Ce(58880),z=Ce(75759),ee=Ce(59301),re=Object.defineProperty,ce=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,me=(qe,Re,ot)=>Re in qe?re(qe,Re,{enumerable:!0,configurable:!0,writable:!0,value:ot}):qe[Re]=ot,ye=(qe,Re)=>{for(var ot in Re||(Re={}))fe.call(Re,ot)&&me(qe,ot,Re[ot]);if(ve)for(var ot of ve(Re))pe.call(Re,ot)&&me(qe,ot,Re[ot]);return qe},be=(qe,Re)=>ce(qe,ge(Re)),Le=(qe,Re,ot)=>new Promise((rt,Qe)=>{var Je=_e=>{try{ke(ot.next(_e))}catch(tt){Qe(tt)}},Ge=_e=>{try{ke(ot.throw(_e))}catch(tt){Qe(tt)}},ke=_e=>_e.done?rt(_e.value):Promise.resolve(_e.value).then(Je,Ge);ke((ot=ot.apply(qe,Re)).next())});const{Dragger:we}=nt.default,Ae=qe=>{const Re=tt=>tt&&tt.substring(0,tt.lastIndexOf("."));for(var ot=[...qe],rt=0,Qe=[],Je=0;Je<ot.length;Je++){for(var Ge="",ke=0;ke<Qe.length;ke++)if(Re(Qe[ke][0].name)==Re(ot[Je].name)){rt=1,Ge=ke;break}if(rt==1)Qe[Ge].push(ot[Je]),rt=0;else if(rt==0){let tt=new Array;tt.push(ot[Je]),Qe.push(tt)}}return Qe.map(tt=>{if(tt.forEach(Xe=>{let ct=Xe.name.split(/\.(?=[^\.]+$)/);Xe.name=`${ct[0]}.${ct[1].toLowerCase()}`}),tt[0].name.includes(".in"))return tt.length===2?tt:[tt[0],{}];if(tt[0].name.includes(".out"))return tt.length===2?tt.reverse():[{},tt[0]]})},Me=({onClose:qe,onOK:Re,visible:ot,wrapClassName:rt,rootIdentifier:Qe,multiple:Je=!1,defaultMultipleValue:Ge=!0})=>{const ke=(0,z.useIntl)(),[_e,tt]=(0,Be.useState)([]),[Xe,ct]=(0,Be.useState)({}),[Ye,Ne]=(0,Be.useState)(!1),[Oe,Ue]=(0,Be.useState)(!0),[xe,Fe]=(0,Be.useState)(null),He=(0,Be.useRef)([]),We=(0,Be.useRef)(0),Ie=()=>{qe()};(0,Be.useEffect)(()=>{Te()},[]),(0,Be.useEffect)(()=>{ot&&(He.current=[],We.current=0,tt([]),Ue(Ge))},[ot]);const Te=()=>Le(void 0,null,function*(){try{Fe(!0)}catch(pt){}}),Ee=pt=>pt&&pt.substring(0,pt.lastIndexOf(".")),Pe=pt=>{var dt,vt;const st=Ee((dt=pt[0])==null?void 0:dt.name)||Ee((vt=pt[1])==null?void 0:vt.name),ht=_e.filter($e=>Ee($e.name)!==st);He.current=[...ht],tt([...ht])},je=pt=>{if(!Oe){const lt=new FormData;lt.append("file",pt.file),(0,a.ZP)("/api/attachments/get_file_content.json",{method:"post",body:lt},!0).then(mt=>{if(mt.status===0){We.current=We.current+1;const wt=He.current.map(jt=>{var It;if(jt.name===pt.name){const Mt=ye({},jt);return(It=pt==null?void 0:pt.name)!=null&&It.includes(".in")?Mt.input=mt==null?void 0:mt.content:Mt.output=mt==null?void 0:mt.content,Mt}return jt});if(He.current=[...wt],tt([...wt]),We.current>0&&We.current===_e.length){Ne(!1);let jt=Ae(wt);jt=jt.filter(It=>{var Mt,Kt;return!!((Mt=It[0])!=null&&Mt.name&&((Kt=It[1])!=null&&Kt.name))}),jt=jt.map(It=>be(ye(ye({},It[0]),It[1]),{is_file:!1})),Re(jt),qe()}}else Ne(!1),qe()});return}if(xe){const lt=new FormData;lt.append("file",pt.file),Qe===null?lt.append("identifier","testsets"):lt.append("identifier",Qe),(0,a.ZP)("/api/attachments.json",{method:"post",body:lt},!0).then(mt=>{if(mt.filename){We.current=We.current+1;const wt=He.current.map(jt=>{var It;if(jt.name===(mt==null?void 0:mt.filename)){const Mt=be(ye({},jt),{is_oss:!xe});return(It=mt==null?void 0:mt.filename)!=null&&It.includes(".in")?(Mt.in_object_key=mt==null?void 0:mt.object,Mt.in_object_size=mt==null?void 0:mt.size,Mt.input=mt==null?void 0:mt.filename,Mt.in_file=pt):(Mt.out_object_key=mt==null?void 0:mt.object,Mt.out_object_size=mt==null?void 0:mt.size,Mt.output=mt==null?void 0:mt.filename,Mt.out_file=pt),Mt}return jt});if(He.current=[...wt],tt([...wt]),We.current>0&&We.current===_e.length){Ne(!1);let jt=Ae(wt);jt=jt.filter(It=>{var Mt,Kt;return!!((Mt=It[0])!=null&&Mt.name&&((Kt=It[1])!=null&&Kt.name))}),jt=jt.map(It=>be(ye(ye({},It[0]),It[1]),{is_file:!0})),Re(jt),qe()}}else Ne(!1),qe()});return}const dt=new(ne())({endpoint:Xe.end_point,region:Xe.region,accessKeyId:Xe.access_key_id,accessKeySecret:Xe.access_key_secret,bucket:Xe.bucket,stsToken:Xe.security_token}),vt=pt.name,st={container_type:"TestSet",file_name:vt},ht=(0,y.Z)();let $e=`testsets/${Qe}/${ht}${vt.indexOf(".")>-1?"."+vt.split(".").pop():""}`;Qe===null&&($e=`testsets/${ht}${vt.indexOf(".")>-1?"."+vt.split(".").pop():""}`),dt.multipartUpload($e,new Blob([pt.file],{type:pt.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:vt+""},url:Xe==null?void 0:Xe.callback_url,host:Xe==null?void 0:Xe.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,a.rz)(st)}}).then(function(lt){if(lt.data.status===0){We.current=We.current+1;const ft=He.current.map(mt=>{var wt,jt,It,Mt,Kt,qt,en,on,wn,Nn,an,Zn,Rn,An,Vn,dr,zt;if(mt.name===((jt=(wt=lt.data)==null?void 0:wt.data)==null?void 0:jt.file_name)){const Qt=be(ye({},mt),{is_oss:!xe});return(Kt=(Mt=(It=lt.data)==null?void 0:It.data)==null?void 0:Mt.file_name)!=null&&Kt.includes(".in")?(Qt.in_object_key=(en=(qt=lt.data)==null?void 0:qt.data)==null?void 0:en.object,Qt.in_object_size=(wn=(on=lt.data)==null?void 0:on.data)==null?void 0:wn.size,Qt.input=(an=(Nn=lt.data)==null?void 0:Nn.data)==null?void 0:an.file_name,Qt.in_file=pt):(Qt.out_object_key=(Rn=(Zn=lt.data)==null?void 0:Zn.data)==null?void 0:Rn.object,Qt.out_object_size=(Vn=(An=lt.data)==null?void 0:An.data)==null?void 0:Vn.size,Qt.output=(zt=(dr=lt.data)==null?void 0:dr.data)==null?void 0:zt.file_name,Qt.out_file=pt),Qt}return mt});if(He.current=[...ft],tt([...ft]),We.current>0&&We.current===_e.length){Ne(!1);let mt=Ae(ft);mt=mt.filter(wt=>{var jt,It;return!!((jt=wt[0])!=null&&jt.name&&((It=wt[1])!=null&&It.name))}),mt=mt.map(wt=>be(ye(ye({},wt[0]),wt[1]),{is_file:!0})),Re(mt),qe()}}})},Ke=pt=>new Promise((dt,vt)=>{let st=0,ht=[];for(let $e=0;$e<pt.length;$e++)pt[$e].file.slice(0,1).arrayBuffer().then(()=>{st++,st===pt.length&&(ht.length?(x.ZP.warning(`${ht.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),vt()):dt(pt))}).catch(lt=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",lt),st++,ht.push(pt[$e].name),st===pt.length&&(ht.length?(x.ZP.warning(`${ht.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),vt()):dt(pt))})}),at=()=>Le(void 0,null,function*(){if(_e.length===0){x.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Ke(_e),Ne(!0),Ae(_e).some(dt=>{var vt,st;return!((vt=dt[0])!=null&&vt.name&&((st=dt[1])!=null&&st.name))})){Se.default.confirm({centered:!0,okText:ke.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:ke.formatMessage({id:"shixuns.cancel",defaultMessage:"\u53D6\u6D88"}),title:ke.formatMessage({id:"shixuns.prompt",defaultMessage:"\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:()=>Le(void 0,null,function*(){_e.map(dt=>Le(void 0,null,function*(){je(dt)}))}),onCancel:()=>{Ne(!1)}});return}_e.map(dt=>Le(void 0,null,function*(){je(dt)}))}),Ze={name:"file",fileList:_e,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:pt=>{if(_e!=null&&_e.some(vt=>vt.name===pt.name))return x.ZP.info(`${pt.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(pt.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(pt.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 dt={name:pt.name,uid:pt.uid,file:pt,percent:0};return _e.push(dt),He.current=[..._e],tt([..._e]),!1}},it=Ae(_e);return console.log(_e,it,"fileList"),ee.createElement(Se.default,{open:ot,wrapClassName:rt,onOk:at,centered:!0,okText:ke.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u8BA4"}),cancelText:ke.formatMessage({id:"shixuns.cancel",defaultMessage:"\u53D6\u6D88"}),okButtonProps:{loading:Ye},onCancel:Ie,width:730,title:ke.formatMessage({id:"shixuns.batchUploadTestCases",defaultMessage:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"})},ee.createElement("div",{className:ue.wrap},_e.length?ee.createElement("div",null,ee.createElement(he.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},ee.createElement("div",{style:{visibility:Je?"visible":"hidden"}},ee.createElement("span",{className:ue.greyText},ke.formatMessage({id:"shixuns.testCaseType",defaultMessage:"\u7528\u4F8B\u7C7B\u578B"})),ee.createElement(ae.ZP.Group,{className:`ml20 ${ue.testCaseRadio}`,optionType:"button",value:Oe,onChange:pt=>Ue(pt.target.value)},ee.createElement(ae.ZP,{value:!1},ke.formatMessage({id:"shixuns.text",defaultMessage:"\u6587\u672C"})),ee.createElement(ae.ZP,{value:!0},ke.formatMessage({id:"shixuns.file",defaultMessage:"\u6587\u4EF6"})))),ee.createElement(nt.default,ye({},Ze),ee.createElement(te.ZP,{type:"primary",className:ue.btnS},ee.createElement("i",{className:"iconfont icon-shangchuan2"}),ke.formatMessage({id:"shixuns.uploadFile",defaultMessage:"\u4E0A\u4F20\u6587\u4EF6"})))),ee.createElement(De,{data:it,onRemove:Pe})):ee.createElement("div",{className:`${ue.noData} mb30`},ee.createElement(nt.default.Dragger,be(ye({},Ze),{className:ue.dragger}),ee.createElement("img",{src:oe,alt:"",className:"mb20"}),ee.createElement("div",null,ee.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),ee.createElement("span",{className:ue.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),ee.createElement("div",{className:ue.text},ee.createElement("span",{style:{color:"#FA6400"}},ke.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"})),ee.createElement("br",null),ke.formatMessage({id:"shixuns.filesMustBeInAndOutTextFiles",defaultMessage:"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002"}),ee.createElement("br",null),ke.formatMessage({id:"shixuns.uploadedFilesEncodingSupportsOnlyUTF8",defaultMessage:"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"}),ee.createElement("br",null),ke.formatMessage({id:"shixuns.inputOutputFilesMustCorrespondByName",defaultMessage:"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"}),ee.createElement("br",null),ke.formatMessage({id:"shixuns.singleUploadedFileCannotExceed100MB",defaultMessage:"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002"}),ee.createElement("br",null))))},De=({data:qe=[],onRemove:Re,width:ot="auto",showScore:rt=!1,disabled:Qe=!1,inputChange:Je,onEvaluatingChange:Ge,onSelectAll:ke,checkAll1:_e,checkAll2:tt,checkAll3:Xe,checkAll4:ct,checkAll5:Ye,showEvaluatingSetting:Ne=!1,className:Oe="",isProgramHomework:Ue=!1})=>{const xe=(0,z.useIntl)(),Fe={value:"",filename:"",dataUrl:""},[He,We]=(0,Be.useState)(ye({},Fe)),Ie=Pe=>{let je=document.createElement("a");document.body.appendChild(je);let Ke=URL.createObjectURL(Pe.file);je.href=Ke,je.download=Pe.name,je.click(),URL.revokeObjectURL(Ke),document.body.removeChild(je)},Te=(Pe,je)=>{(0,E.LR)(Pe,je)},Ee=(Pe,je)=>{Se.default.confirm({centered:!0,okText:xe.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:xe.formatMessage({id:"shixuns.cancel",defaultMessage:"\u53D6\u6D88"}),title:xe.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:ee.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Re(Pe,je)},onCancel:()=>{}})};return qe.length?ee.createElement("div",{className:Oe,style:{width:ot}},ee.createElement("div",{className:`${Ue?ue.headProgram:ue.head}`},Ne&&ee.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},ee.createElement(le.default,{checked:_e,onChange:Pe=>{ke(Pe.target.checked,"hidden")}}),ee.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'},ee.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ee.createElement("div",{style:{width:Ue?"25%":"15%"}},"\u7528\u4F8B"),ee.createElement("div",{style:{width:rt?Ue?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),ee.createElement("div",{style:{width:rt?Ue?"20%":"15%":"25%",padding:"0 12px"}},xe.formatMessage({id:"questionBankAddQuestion.output",defaultMessage:"\u8F93\u51FA"})),rt&&ee.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Ne&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(le.default,{checked:ct,onChange:Pe=>{ke(Pe.target.checked,"input_visible")}}),ee.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ne&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(le.default,{checked:tt,onChange:Pe=>{ke(Pe.target.checked,"is_invisible")}}),ee.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},xe.formatMessage({id:"shixuns.expectedOutput",defaultMessage:"\u9884\u671F\u8F93\u51FA"})),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ne&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(le.default,{checked:Ye,onChange:Pe=>{ke(Pe.target.checked,"actual_output_visible")}}),ee.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},xe.formatMessage({id:"shixuns.actualOutput",defaultMessage:"\u5B9E\u9645\u8F93\u51FA"})),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ne&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(le.default,{checked:Xe,onChange:Pe=>{ke(Pe.target.checked,"last_match_rule")}}),ee.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"},ee.createElement("span",{style:{marginLeft:"8px"}},xe.formatMessage({id:"shixuns.specialCriteria",defaultMessage:"\u7279\u6B8A\u5224\u5B9A"})),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ee.createElement("div",{className:ue.operation,style:Ue?{flex:1,textAlign:"right"}:{width:"10%"}},xe.formatMessage({id:"shixuns.operation",defaultMessage:"\u64CD\u4F5C"}))),ee.createElement("div",{className:ue.listWrapper,style:{boxShadow:Ue?"0px 2px 4px 0px #EAEEF4":"unset"}},qe.map((Pe,je)=>{var Ke,at,Ze,it;return ee.createElement("div",{key:je,className:ue.list,style:Ue?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Ne&&ee.createElement("div",{style:{width:"15%"}},ee.createElement(le.default,{checked:!!Pe.hidden,onChange:pt=>{Ge(pt.target.checked,je,"hidden")}})),ee.createElement("div",{style:{width:Ue?"25%":"15%",paddingLeft:Ue?"5px":"0px",paddingRight:Ue?"5px":"0px"}},xe.formatMessage({id:"shixuns.testCases",defaultMessage:"\u6D4B\u8BD5\u7528\u4F8B"}),je+1),ee.createElement("div",{className:ue.info,style:{width:rt?Ue?"20%":"15%":"25%"}},ee.createElement("span",{title:Pe.input||((Ke=Pe[0])==null?void 0:Ke.name),onClick:()=>Le(void 0,null,function*(){let pt;Pe.input?Pe.input_file_url?pt=Pe.input_file_url:pt=Pe.in_file:pt=Pe[0];let dt;typeof pt=="string"?(dt=yield fetch(pt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),We({value:yield dt.text(),filename:"",dataUrl:pt})):(dt=yield(0,E.db)(pt.file),We({value:dt.text,filename:pt.name,dataUrl:dt.link}))})},Pe.input||((at=Pe[0])==null?void 0:at.name))),ee.createElement("div",{className:ue.info,style:{width:rt?Ue?"20%":"15%":"25%"}},ee.createElement("span",{title:Pe.output||((Ze=Pe[1])==null?void 0:Ze.name),onClick:()=>Le(void 0,null,function*(){let pt;Pe.input?Pe.output_file_url?pt=Pe.output_file_url:pt=Pe.out_file:pt=Pe[1];let dt;typeof pt=="string"?(dt=yield fetch(pt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),We({value:yield dt.text(),filename:"",dataUrl:pt})):(dt=yield(0,E.db)(pt.file),We({value:dt.text,filename:pt.name,dataUrl:dt.link}))})},Pe.output||((it=Pe[1])==null?void 0:it.name))),rt&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(se.default,{size:"large",addonAfter:Ue?"%":null,disabled:Qe,style:{width:"80%"},onChange:pt=>Je(pt,je),value:Pe.score}),!Ue&&ee.createElement("span",null,"\xA0%")),Ne&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(le.default,{checked:Pe.input_visible||!1,onChange:pt=>{Ge(pt.target.checked,je,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ne&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(le.default,{checked:Pe.is_invisible||!1,onChange:pt=>{Ge(pt.target.checked,je,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ne&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(le.default,{checked:Pe.actual_output_visible||!1,onChange:pt=>{Ge(pt.target.checked,je,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ne&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(le.default,{checked:Pe.last_match_rule||!1,onChange:pt=>{Ge(pt.target.checked,je,"last_match_rule")},className:"font14"},xe.formatMessage({id:"shixuns.tailMatching",defaultMessage:"\u672B\u5C3E\u5339\u914D"}))),ee.createElement("div",{onClick:()=>Ee(Pe,je),style:Ue?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},ee.createElement("span",{className:ue.del},xe.formatMessage({id:"shixuns.delete",defaultMessage:"\u5220\u9664"}))))})),ee.createElement(b.Z,{close:!0,data:He.dataUrl,filename:He.filename,type:He.dataUrl.length?"txt":"",onClose:()=>We(ye({},Fe)),monacoEditor:{value:He.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):ee.createElement(ee.Fragment,null)};var ze=Me},53619:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{G:function(){return he},t:function(){return Se}});var Be=Ce(7062),nt=Ce.n(Be);const x=null;function Se(ae,te){let le=nt().get("__ec");le||(le={}),le[ae]=te,nt().set("__ec",le)}function he(ae,te){let le=nt().get("__ec");return le?le[ae]===void 0?te:le[ae]:te}},47257:function(Ct){(function(Pt){(function(Ce){if(1)Ct.exports=Ce();else var Be})(function(){var Ce,Be,nt;return function(){function x(Se,he,ae){function te(se,ue){if(!he[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=he[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,he,ae)}return he[se].exports}for(var le=void 0,de=0;de<ae.length;de++)te(ae[de]);return te}return x}()({1:[function(x,Se,he){"use strict";var ae=x("./browser/client");ae.Buffer=x("buffer").Buffer,ae.urllib=x("../shims/xhr"),ae.version=x("./browser/version").version,Se.exports=ae},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(x,Se,he){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator"));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.slice.js");var de=x("assert"),se=x("../common/utils/checkBucketName"),ue=se.checkBucketName,oe=he;function ie(a){return Array.isArray?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"}function ne(a){return a?ie(a)?a:[a]:[]}oe.useBucket=function(y){return ue(y),this.options.bucket=y,this},oe.setBucket=function(y){return ue(y),this.options.bucket=y,this},oe.getBucket=function(){return this.options.bucket},oe.deleteBucket=function(){var a=(0,le.default)(te.default.mark(function E(b,z){var ee,re;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"",z),ge.next=3,this.request(ee);case 3:if(re=ge.sent,!(re.status===200||re.status===204)){ge.next=6;break}return ge.abrupt("return",{res:re.res});case 6:return ge.next=8,this.requestError(re);case 8:throw ge.sent;case 9:case"end":return ge.stop()}},E,this)}));function y(E,b){return a.apply(this,arguments)}return y}(),oe.putBucketACL=function(){var a=(0,le.default)(te.default.mark(function E(b,z,ee){var re,ce;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return re=this._bucketRequestParams("PUT",b,"acl",ee),re.headers={"x-oss-acl":z},re.successStatuses=[200],ve.next=5,this.request(re);case 5:return ce=ve.sent,ve.abrupt("return",{bucket:ce.headers.location&&ce.headers.location.substring(1)||null,res:ce.res});case 7:case"end":return ve.stop()}},E,this)}));function y(E,b,z){return a.apply(this,arguments)}return y}(),oe.getBucketACL=function(){var a=(0,le.default)(te.default.mark(function E(b,z){var ee,re;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ee=this._bucketRequestParams("GET",b,"acl",z),ee.successStatuses=[200],ee.xmlResponse=!0,ge.next=5,this.request(ee);case 5:return re=ge.sent,ge.abrupt("return",{acl:re.data.AccessControlList.Grant,owner:{id:re.data.Owner.ID,displayName:re.data.Owner.DisplayName},res:re.res});case 7:case"end":return ge.stop()}},E,this)}));function y(E,b){return a.apply(this,arguments)}return y}(),oe.putBucketLogging=function(){var a=(0,le.default)(te.default.mark(function E(b,z,ee){var re,ce,ge;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return re=this._bucketRequestParams("PUT",b,"logging",ee),ce=`<?xml version="1.0" encoding="UTF-8"?>
|
|
<BucketLoggingStatus>
|
|
<LoggingEnabled>
|
|
<TargetBucket>`.concat(b,`</TargetBucket>
|
|
`),z&&(ce+="<TargetPrefix>".concat(z,`</TargetPrefix>
|
|
`)),ce+=`</LoggingEnabled>
|
|
</BucketLoggingStatus>`,re.content=ce,re.mime="xml",re.successStatuses=[200],fe.next=9,this.request(re);case 9:return ge=fe.sent,fe.abrupt("return",{res:ge.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(ve){for(;;)switch(ve.prev=ve.next){case 0:return ee=this._bucketRequestParams("GET",b,"logging",z),ee.successStatuses=[200],ee.xmlResponse=!0,ve.next=5,this.request(ee);case 5:return re=ve.sent,ce=re.data.LoggingEnabled,ve.abrupt("return",{enable:!!ce,prefix:ce&&ce.TargetPrefix||null,res:re.res});case 8:case"end":return ve.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(ge){for(;;)switch(ge.prev=ge.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"logging",z),ee.successStatuses=[204,200],ge.next=4,this.request(ee);case 4:return re=ge.sent,ge.abrupt("return",{res:re.res});case 6:case"end":return ge.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,ge,ve,fe,pe,me,ye,be,Le;return te.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:for(z=z||[],de(z.length,"rules is required"),z.forEach(function(Me){de(Me.allowedOrigin,"allowedOrigin is required"),de(Me.allowedMethod,"allowedMethod is required")}),re=this._bucketRequestParams("PUT",b,"cors",ee),ce=`<?xml version="1.0" encoding="UTF-8"?>
|
|
<CORSConfiguration>`,ge=function(De){ce+="<AllowedOrigin>".concat(De,"</AllowedOrigin>")},ve=function(De){ce+="<AllowedMethod>".concat(De,"</AllowedMethod>")},fe=function(De){ce+="<AllowedHeader>".concat(De,"</AllowedHeader>")},pe=function(De){ce+="<ExposeHeader>".concat(De,"</ExposeHeader>")},me=0,ye=z.length;me<ye;me++)be=z[me],ce+="<CORSRule>",ne(be.allowedOrigin).forEach(ge),ne(be.allowedMethod).forEach(ve),ne(be.allowedHeader).forEach(fe),ne(be.exposeHeader).forEach(pe),be.maxAgeSeconds&&(ce+="<MaxAgeSeconds>".concat(be.maxAgeSeconds,"</MaxAgeSeconds>")),ce+="</CORSRule>";return ce+="</CORSConfiguration>",re.content=ce,re.mime="xml",re.successStatuses=[200],Ae.next=16,this.request(re);case 16:return Le=Ae.sent,Ae.abrupt("return",{res:Le.res});case 18:case"end":return Ae.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,ge;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&&(ge=re.data.CORSRule,ie(ge)||(ge=[ge]),ge.forEach(function(pe){var me={};Object.keys(pe).forEach(function(ye){me[ye.slice(0,1).toLowerCase()+ye.slice(1,ye.length)]=pe[ye]}),ce.push(me)})),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(ge){for(;;)switch(ge.prev=ge.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"cors",z),ee.successStatuses=[204],ge.next=4,this.request(ee);case 4:return re=ge.sent,ge.abrupt("return",{res:re.res});case 6:case"end":return ge.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,ge,ve,fe;return te.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(ce=this._bucketRequestParams("PUT",b,"referer",re),ge=`<?xml version="1.0" encoding="UTF-8"?>
|
|
<RefererConfiguration>
|
|
`,ge+=" <AllowEmptyReferer>".concat(z?"true":"false",`</AllowEmptyReferer>
|
|
`),ee&&ee.length>0){for(ge+=` <RefererList>
|
|
`,ve=0;ve<ee.length;ve++)ge+=" <Referer>".concat(ee[ve],`</Referer>
|
|
`);ge+=` </RefererList>
|
|
`}else ge+=` <RefererList />
|
|
`;return ge+="</RefererConfiguration>",ce.content=ge,ce.mime="xml",ce.successStatuses=[200],me.next=10,this.request(ce);case 10:return fe=me.sent,me.abrupt("return",{res:fe.res});case 12:case"end":return me.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(ve){for(;;)switch(ve.prev=ve.next){case 0:return ee=this._bucketRequestParams("GET",b,"referer",z),ee.successStatuses=[200],ee.xmlResponse=!0,ve.next=5,this.request(ee);case 5:return re=ve.sent,ce=re.data.RefererList.Referer||null,ce&&(ie(ce)||(ce=[ce])),ve.abrupt("return",{allowEmpty:re.data.AllowEmptyReferer==="true",referers:ce,res:re.res});case 9:case"end":return ve.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,he){(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"),ge=ce.createRequest,ve=x("../common/utils/encoder"),fe=ve.encoder,pe=x("../common/client/getReqUrl"),me=pe.getReqUrl,ye=x("../common/utils/setSTSToken"),be=ye.setSTSToken,Le=x("../common/utils/retry"),we=Le.retry,Ae=x("../common/utils/isFunction"),Me=Ae.isFunction,De=new ie;function ze(){var Je=a.name,Ge=a.version;Je&&Je.toLowerCase&&Je.toLowerCase()==="ie"&&Ge.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function qe(){return location&&location.protocol==="https:"}function Re(Je,Ge){if(ze(),!(this instanceof Re))return new Re(Je,Ge);Je&&Je.inited?this.options=Je:this.options=Re.initOptions(Je),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=Re,Re.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 ke=Object.assign({secure:qe(),useFetch:!1},Ge);return re(ke)};var ot=Re.prototype;ot.debug=ue,ne(ot,x("./object")),ne(ot,x("./bucket")),ne(ot,x("../common/bucket/getBucketWebsite")),ne(ot,x("../common/bucket/putBucketWebsite")),ne(ot,x("../common/bucket/deleteBucketWebsite")),ne(ot,x("../common/bucket/getBucketLifecycle")),ne(ot,x("../common/bucket/putBucketLifecycle")),ne(ot,x("../common/bucket/deleteBucketLifecycle")),ne(ot,x("../common/bucket/putBucketVersioning")),ne(ot,x("../common/bucket/getBucketVersioning")),ne(ot,x("../common/bucket/getBucketInventory")),ne(ot,x("../common/bucket/deleteBucketInventory")),ne(ot,x("../common/bucket/listBucketInventory")),ne(ot,x("../common/bucket/putBucketInventory")),ne(ot,x("../common/bucket/abortBucketWorm")),ne(ot,x("../common/bucket/completeBucketWorm")),ne(ot,x("../common/bucket/extendBucketWorm")),ne(ot,x("../common/bucket/getBucketWorm")),ne(ot,x("../common/bucket/initiateBucketWorm")),ne(ot,x("./managed-upload")),ne(ot,x("../common/multipart-copy")),ne(ot,x("../common/multipart")),ne(ot,x("../common/parallel")),ot.signature=function(Ge){return this.debug("authorization stringToSign: %s",Ge,"info"),ee.computeSignature(this.options.accessKeySecret,Ge,this.options.headerEncoding)},ot._getReqUrl=me,ot.authorization=function(Ge,ke,_e,tt){var Xe=ee.buildCanonicalString(Ge.toUpperCase(),ke,{headers:tt,parameters:_e});return ee.authorization(this.options.accessKeyId,this.options.accessKeySecret,Xe,this.options.headerEncoding)},ot.request=function(){var Je=(0,se.default)(de.default.mark(function Ge(ke){var _e=this;return de.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(!this.options.retryMax){Xe.next=6;break}return Xe.next=3,we(rt.bind(this),this.options.retryMax,{errorHandler:function(Ye){var Ne=function(Ue){if(ke.stream)return!1;var xe=[-1,-2].includes(Ue.status),Fe=_e.options.requestErrorRetryHandle||function(){return!0};return xe&&Fe(Ue)};return!!Ne(Ye)}})(ke);case 3:return Xe.abrupt("return",Xe.sent);case 6:return Xe.abrupt("return",rt.call(this,ke));case 7:case"end":return Xe.stop()}},Ge,this)}));return function(Ge){return Je.apply(this,arguments)}}();function rt(Je){return Qe.apply(this,arguments)}function Qe(){return Qe=(0,se.default)(de.default.mark(function Je(Ge){var ke,_e,tt,Xe,ct,Ye;return de.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(!(this.options.stsToken&&Me(this.options.refreshSTSToken))){Oe.next=3;break}return Oe.next=3,be.call(this);case 3:return ke=ge.call(this,Ge),this.options.useFetch||(ke.params.mode="disable-fetch"),Xe=!!Ge.stream,Oe.prev=6,Oe.next=9,this.urllib.request(ke.url,ke.params);case 9:_e=Oe.sent,this.debug("response %s %s, got %s, headers: %j",Ge.method,ke.url,_e.status,_e.headers,"info"),Oe.next=16;break;case 13:Oe.prev=13,Oe.t0=Oe.catch(6),tt=Oe.t0;case 16:if(!(_e&&Ge.successStatuses&&Ge.successStatuses.indexOf(_e.status)===-1)){Oe.next=28;break}return Oe.next=19,this.requestError(_e);case 19:if(ct=Oe.sent,!(ct.code==="RequestTimeTooSkewed"&&!Xe)){Oe.next=25;break}return this.options.amendTimeSkewed=+new Date(ct.serverTime)-new Date,Oe.next=24,this.request(Ge);case 24:return Oe.abrupt("return",Oe.sent);case 25:ct.params=Ge,Oe.next=32;break;case 28:if(!tt){Oe.next=32;break}return Oe.next=31,this.requestError(tt);case 31:ct=Oe.sent;case 32:if(!ct){Oe.next=34;break}throw ct;case 34:if(!Ge.xmlResponse){Oe.next=39;break}return Oe.next=37,this.parseXML(_e.data);case 37:Ye=Oe.sent,_e.data=Ye;case 39:return Oe.abrupt("return",_e);case 40:case"end":return Oe.stop()}},Je,this,[[6,13]])})),Qe.apply(this,arguments)}ot._getResource=function(Ge){var ke="/";return Ge.bucket&&(ke+="".concat(Ge.bucket,"/")),Ge.object&&(ke+=fe(Ge.object,this.options.headerEncoding)),ke},ot._escape=function(Ge){return y.encodeURIComponent(Ge).replace(/%2F/g,"/")},ot._getUserAgent=function(){var Ge=te&&te.browser?"js":"nodejs",ke="aliyun-sdk-".concat(Ge,"/").concat(b.version),_e=a.description;return!_e&&te&&(_e="Node.js ".concat(te.version.slice(1)," on ").concat(te.platform," ").concat(te.arch)),this._checkUserAgent("".concat(ke," ").concat(_e))},ot._checkUserAgent=function(Ge){var ke=Ge.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return ke},ot.checkBrowserAndVersion=function(Ge,ke){return z.name===Ge&&z.version.split(".")[0]===ke},ot.parseXML=function(Ge){return new Promise(function(ke,_e){ae.isBuffer(Ge)&&(Ge=Ge.toString()),oe.parseString(Ge,{explicitRoot:!1,explicitArray:!1},function(tt,Xe){tt?_e(tt):ke(Xe)})})},ot.requestError=function(){var Je=(0,se.default)(de.default.mark(function ke(_e){var tt,Xe,ct,Ye;return de.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(tt=null,!(!_e.data||!_e.data.length)){Oe.next=5;break}_e.status===-1||_e.status===-2?(tt=new Error(_e.message),tt.name=_e.name,tt.status=_e.status,tt.code=_e.name):(_e.status===404?(tt=new Error("Object not exists"),tt.name="NoSuchKeyError",tt.status=404,tt.code="NoSuchKey"):_e.status===412?(tt=new Error("Pre condition failed"),tt.name="PreconditionFailedError",tt.status=412,tt.code="PreconditionFailed"):(tt=new Error("Unknow error, status: ".concat(_e.status)),tt.name="UnknownError",tt.status=_e.status),tt.requestId=_e.headers["x-oss-request-id"],tt.host=""),Oe.next=32;break;case 5:return Xe=String(_e.data),this.debug("request response error data: %s",Xe,"error"),Oe.prev=7,Oe.next=10,this.parseXML(Xe);case 10:if(Oe.t0=Oe.sent,Oe.t0){Oe.next=13;break}Oe.t0={};case 13:ct=Oe.t0,Oe.next=23;break;case 16:return Oe.prev=16,Oe.t1=Oe.catch(7),this.debug(Xe,"error"),Oe.t1.message+=`
|
|
raw xml: `.concat(Xe),Oe.t1.status=_e.status,Oe.t1.requestId=_e.headers["x-oss-request-id"],Oe.abrupt("return",Oe.t1);case 23:Ye=ct.Message||"unknow request error, status: ".concat(_e.status),ct.Condition&&(Ye+=" (condition: ".concat(ct.Condition,")")),tt=new Error(Ye),tt.name=ct.Code?"".concat(ct.Code,"Error"):"UnknownError",tt.status=_e.status,tt.code=ct.Code,tt.requestId=ct.RequestId,tt.hostId=ct.HostId,tt.serverTime=ct.ServerTime;case 32:return this.debug("generate error %j",tt,"error"),Oe.abrupt("return",tt);case 34:case"end":return Oe.stop()}},ke,this,[[7,16]])}));function Ge(ke){return Je.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,he){(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=he;ee.multipartUpload=function(){var fe=(0,de.default)(le.default.mark(function me(ye,be){var Le,we,Ae,Me,De,ze,qe,Re,ot,rt=arguments;return le.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(Le=rt.length>2&&rt[2]!==void 0?rt[2]:{},this.resetCancelFlag(),Le.disabledMD5=Le.disabledMD5===void 0?!0:!!Le.disabledMD5,!(Le.checkpoint&&Le.checkpoint.uploadId)){Je.next=8;break}return be&&E(be)&&(Le.checkpoint.file=be),Je.next=7,this._resumeMultipart(Le.checkpoint,Le);case 7:return Je.abrupt("return",Je.sent);case 8:return we=102400,Le.mime||(E(be)?Le.mime=oe.getType(ue.extname(be.name)):a(be)?Le.mime=be.type:z(be)?Le.mime="":Le.mime=oe.getType(ue.extname(be))),Le.headers=Le.headers||{},this._convertMetaToHeaders(Le.meta,Le.headers),Je.next=14,this._getFileSize(be);case 14:if(Ae=Je.sent,!(Ae<we)){Je.next=26;break}return Le.contentLength=Ae,Je.next=19,this.put(ye,be,Le);case 19:if(Me=Je.sent,!(Le&&Le.progress)){Je.next=23;break}return Je.next=23,Le.progress(1);case 23:return De={res:Me.res,bucket:this.options.bucket,name:ye,etag:Me.res.headers.etag},(Le.headers&&Le.headers["x-oss-callback"]||Le.callback)&&(De.data=Me.data),Je.abrupt("return",De);case 26:if(!(Le.partSize&&parseInt(Le.partSize,10)!==Le.partSize)){Je.next=28;break}throw new Error("partSize must be int number");case 28:if(!(Le.partSize&&Le.partSize<we)){Je.next=30;break}throw new Error("partSize must not be smaller than ".concat(we));case 30:return Je.next=32,this.initMultipartUpload(ye,Le);case 32:if(ze=Je.sent,qe=ze.uploadId,Re=this._getPartSize(Ae,Le.partSize),ot={file:be,name:ye,fileSize:Ae,partSize:Re,uploadId:qe,doneParts:[]},!(Le&&Le.progress)){Je.next=39;break}return Je.next=39,Le.progress(0,ot,ze.res);case 39:return Je.next=41,this._resumeMultipart(ot,Le);case 41:return Je.abrupt("return",Je.sent);case 42:case"end":return Je.stop()}},me,this)}));function pe(me,ye){return fe.apply(this,arguments)}return pe}(),ee._resumeMultipart=function(){var fe=(0,de.default)(le.default.mark(function me(ye,be){var Le,we,Ae,Me,De,ze,qe,Re,ot,rt,Qe,Je,Ge,ke,_e,tt,Xe,ct,Ye;return le.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(Le=this,!this.isCancel()){Oe.next=3;break}throw this._makeCancelEvent();case 3:return we=ye.file,Ae=ye.fileSize,Me=ye.partSize,De=ye.uploadId,ze=ye.doneParts,qe=ye.name,Re=[],ze.length>0&&ie(ze).to(Re),ot=this._divideParts(Ae,Me),rt=ot.length,Qe=!1,Je=function(xe,Fe){return new Promise(function(){var He=(0,de.default)(le.default.mark(function We(Ie,Te){var Ee,Pe,je,Ke,at;return le.default.wrap(function(it){for(;;)switch(it.prev=it.next){case 0:if(it.prev=0,xe.isCancel()){it.next=29;break}return Ee=ot[Fe-1],it.next=5,xe._createBuffer(we,Ee.start,Ee.end);case 5:return Pe=it.sent,je={content:Pe,size:Ee.end-Ee.start},it.prev=7,it.next=10,xe._uploadPart(qe,De,Fe,je,be);case 10:Ke=it.sent,it.next=18;break;case 13:if(it.prev=13,it.t0=it.catch(7),it.t0.status!==404){it.next=17;break}throw xe._makeAbortEvent();case 17:throw it.t0;case 18:if(!(!xe.isCancel()&&!Qe)){it.next=26;break}if(ye.doneParts.push({number:Fe,etag:Ke.res.headers.etag}),!be.progress){it.next=23;break}return it.next=23,be.progress(ze.length/(rt+1),ye,Ke.res);case 23:Ie({number:Fe,etag:Ke.res.headers.etag}),it.next=27;break;case 26:Ie();case 27:it.next=30;break;case 29:Ie();case 30:it.next=41;break;case 32:it.prev=32,it.t1=it.catch(0),at=new Error,at.name=it.t1.name,at.message=it.t1.message,at.stack=it.t1.stack,at.partNum=Fe,ie(it.t1).to(at),Te(at);case 41:case"end":return it.stop()}},We,null,[[0,32],[7,13]])}));return function(We,Ie){return He.apply(this,arguments)}}())},Ge=Array.from(new Array(rt),function(Ue,xe){return xe+1}),ke=Re.map(function(Ue){return Ue.number}),_e=Ge.filter(function(Ue){return ke.indexOf(Ue)<0}),tt=5,Xe=be.parallel||tt,Oe.next=17,this._parallel(_e,Xe,function(Ue){return new Promise(function(xe,Fe){Je(Le,Ue).then(function(He){He&&Re.push(He),xe()}).catch(function(He){Fe(He)})})});case 17:if(ct=Oe.sent,Qe=!0,Ye=ct.find(function(Ue){return Ue.name==="abort"}),!Ye){Oe.next=22;break}throw Ye;case 22:if(!this.isCancel()){Oe.next=25;break}throw Je=null,this._makeCancelEvent();case 25:if(!(ct&&ct.length>0)){Oe.next=28;break}throw ct[0].message="Failed to upload some parts with error: ".concat(ct[0].toString()," part_num: ").concat(ct[0].partNum),ct[0];case 28:return Oe.next=30,this.completeMultipartUpload(qe,De,Re,be);case 30:return Oe.abrupt("return",Oe.sent);case 31:case"end":return Oe.stop()}},me,this)}));function pe(me,ye){return fe.apply(this,arguments)}return pe}(),ee._getFileSize=function(){var fe=(0,de.default)(le.default.mark(function me(ye){return le.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(!z(ye)){Le.next=4;break}return Le.abrupt("return",ye.length);case 4:if(!(a(ye)||E(ye))){Le.next=6;break}return Le.abrupt("return",ye.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Le.stop()}},me)}));function pe(me){return fe.apply(this,arguments)}return pe}();var re=x("stream"),ce=re.Readable;function ge(fe,pe){if(!(this instanceof ge))return new ge(fe,pe);ce.call(this,pe),this.file=fe,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}se.inherits(ge,ce),ge.prototype.readFileAndPush=function(pe){if(this.fileBuffer)for(var me=!0;me&&this.fileBuffer&&this.start<this.fileBuffer.length;){var ye=this.start,be=ye+pe;be=be>this.fileBuffer.length?this.fileBuffer.length:be,this.start=be,me=this.push(this.fileBuffer.slice(ye,be))}},ge.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 me=16*1024;pe=pe||me;var ye=this;this.reader.onload=function(Le){ye.fileBuffer=ae.from(new Uint8Array(Le.target.result)),ye.file=null,ye.readFileAndPush(pe)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(pe)};function ve(fe){return fe.arrayBuffer?fe.arrayBuffer():new Promise(function(pe,me){var ye=new FileReader;ye.onload=function(be){pe(be.target.result)},ye.onerror=function(be){me(be)},ye.readAsArrayBuffer(fe)})}ee._createBuffer=function(){var fe=(0,de.default)(le.default.mark(function me(ye,be,Le){var we,Ae;return le.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:if(!(a(ye)||E(ye))){De.next=8;break}return we=ye.slice(be,Le),De.next=4,ve(we);case 4:return Ae=De.sent,De.abrupt("return",ae.from(Ae));case 8:if(!z(ye)){De.next=12;break}return De.abrupt("return",ye.subarray(be,Le));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return De.stop()}},me)}));function pe(me,ye,be){return fe.apply(this,arguments)}return pe}(),ee._getPartSize=function(pe,me){var ye=1e4,be=1*1024*1024;me||(me=be);var Le=Math.ceil(pe/ye);return me<Le&&(me=Le,console.warn("partSize has been set to ".concat(me,", because the partSize you provided causes partNumber to be greater than 10,000"))),me},ee._divideParts=function(pe,me){for(var ye=Math.ceil(pe/me),be=[],Le=0;Le<ye;Le++){var we=me*Le,Ae=Math.min(we+me,pe);be.push({start:we,end:Ae})}return be}}).call(this)}).call(this,x("buffer").Buffer)},{"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,buffer:90,"copy-to":94,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,mime:374,path:378,stream:398,util:419}],5:[function(x,Se,he){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault");x("core-js/modules/es.function.name.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.regexp.to-string.js"),x("core-js/modules/es.array.map.js"),x("core-js/modules/es.number.constructor.js"),x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.promise.js");var te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator")),de=x("fs"),se=x("copy-to"),ue=x("path"),oe=x("mime"),ie=x("../common/callback"),ne=x("merge-descriptors"),a=x("../common/utils/isBlob"),y=a.isBlob,E=x("../common/utils/isFile"),b=E.isFile,z=x("../common/utils/isBuffer"),ee=z.isBuffer,re=x("../common/utils/obj2xml"),ce=re.obj2xml,ge=he;ge.append=function(){var ve=(0,le.default)(te.default.mark(function pe(me,ye,be){var Le;return te.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return be=be||{},be.position===void 0&&(be.position="0"),be.subres={append:"",position:be.position},be.method="POST",Ae.next=6,this.put(me,ye,be);case 6:return Le=Ae.sent,Le.nextAppendPosition=Le.res.headers["x-oss-next-append-position"],Ae.abrupt("return",Le);case 9:case"end":return Ae.stop()}},pe,this)}));function fe(pe,me,ye){return ve.apply(this,arguments)}return fe}(),ge.put=function(){var ve=(0,le.default)(te.default.mark(function pe(me,ye,be){var Le,we,Ae,Me,De;return te.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(be=be||{},be.disabledMD5=be.disabledMD5===void 0?!0:!!be.disabledMD5,be.headers=be.headers||{},me=this._objectName(me),!ee(ye)){qe.next=8;break}Le=ye,qe.next=19;break;case 8:if(!(y(ye)||b(ye))){qe.next=18;break}return be.mime||(b(ye)?be.mime=oe.getType(ue.extname(ye.name)):be.mime=ye.type),qe.next=12,this._createBuffer(ye,0,ye.size);case 12:return Le=qe.sent,qe.next=15,this._getFileSize(ye);case 15:be.contentLength=qe.sent,qe.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(be.meta,be.headers),we=be.method||"PUT",Ae=this._objectRequestParams(we,me,be),ie.encodeCallback(Ae,be),Ae.mime=be.mime,Ae.disabledMD5=be.disabledMD5,Ae.content=Le,Ae.successStatuses=[200],qe.next=29,this.request(Ae);case 29:return Me=qe.sent,De={name:me,url:this._objectUrl(me),res:Me.res},Ae.headers&&Ae.headers["x-oss-callback"]&&(De.data=JSON.parse(Me.data.toString())),qe.abrupt("return",De);case 33:case"end":return qe.stop()}},pe,this)}));function fe(pe,me,ye){return ve.apply(this,arguments)}return fe}(),ge.putStream=function(){var ve=(0,le.default)(te.default.mark(function pe(me,ye,be){var Le,we,Ae,Me;return te.default.wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return be=be||{},be.headers=be.headers||{},me=this._objectName(me),be.contentLength?be.headers["Content-Length"]=be.contentLength:be.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(be.meta,be.headers),Le=be.method||"PUT",we=this._objectRequestParams(Le,me,be),ie.encodeCallback(we,be),we.mime=be.mime,we.stream=ye,we.successStatuses=[200],ze.next=13,this.request(we);case 13:return Ae=ze.sent,Me={name:me,url:this._objectUrl(me),res:Ae.res},we.headers&&we.headers["x-oss-callback"]&&(Me.data=JSON.parse(Ae.data.toString())),ze.abrupt("return",Me);case 17:case"end":return ze.stop()}},pe,this)}));function fe(pe,me,ye){return ve.apply(this,arguments)}return fe}(),ne(ge,x("../common/object/copyObject")),ne(ge,x("../common/object/getObjectTagging")),ne(ge,x("../common/object/putObjectTagging")),ne(ge,x("../common/object/deleteObjectTagging")),ne(ge,x("../common/image")),ne(ge,x("../common/object/getBucketVersions")),ne(ge,x("../common/object/getACL")),ne(ge,x("../common/object/putACL")),ne(ge,x("../common/object/head")),ne(ge,x("../common/object/delete")),ne(ge,x("../common/object/get")),ne(ge,x("../common/object/putSymlink")),ne(ge,x("../common/object/getSymlink")),ne(ge,x("../common/object/deleteMulti")),ne(ge,x("../common/object/getObjectMeta")),ne(ge,x("../common/object/getObjectUrl")),ne(ge,x("../common/object/generateObjectUrl")),ne(ge,x("../common/object/signatureUrl")),ne(ge,x("../common/object/asyncSignatureUrl")),ge.putMeta=function(){var ve=(0,le.default)(te.default.mark(function pe(me,ye,be){var Le;return te.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,this.copy(me,me,{meta:ye||{},timeout:be&&be.timeout,ctx:be&&be.ctx});case 2:return Le=Ae.sent,Ae.abrupt("return",Le);case 4:case"end":return Ae.stop()}},pe,this)}));function fe(pe,me,ye){return ve.apply(this,arguments)}return fe}(),ge.list=function(){var ve=(0,le.default)(te.default.mark(function pe(me,ye){var be,Le,we,Ae,Me;return te.default.wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return be=this._objectRequestParams("GET","",ye),be.query=me,be.xmlResponse=!0,be.successStatuses=[200],ze.next=6,this.request(be);case 6:return Le=ze.sent,we=Le.data.Contents||[],Ae=this,we&&(Array.isArray(we)||(we=[we]),we=we.map(function(qe){return{name:qe.Key,url:Ae._objectUrl(qe.Key),lastModified:qe.LastModified,etag:qe.ETag,type:qe.Type,size:Number(qe.Size),storageClass:qe.StorageClass,owner:{id:qe.Owner.ID,displayName:qe.Owner.DisplayName}}})),Me=Le.data.CommonPrefixes||null,Me&&(Array.isArray(Me)||(Me=[Me]),Me=Me.map(function(qe){return qe.Prefix})),ze.abrupt("return",{res:Le.res,objects:we,prefixes:Me,nextMarker:Le.data.NextMarker||null,isTruncated:Le.data.IsTruncated==="true"});case 13:case"end":return ze.stop()}},pe,this)}));function fe(pe,me){return ve.apply(this,arguments)}return fe}(),ge.listV2=function(){var ve=(0,le.default)(te.default.mark(function pe(me){var ye,be,Le,we,Ae,Me,De,ze=arguments;return te.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return ye=ze.length>1&&ze[1]!==void 0?ze[1]:{},be=me["continuation-token"]||me.continuationToken,be&&(ye.subres=Object.assign({"continuation-token":be},ye.subres)),Le=this._objectRequestParams("GET","",ye),Le.query=Object.assign({"list-type":2},me),delete Le.query["continuation-token"],delete Le.query.continuationToken,Le.xmlResponse=!0,Le.successStatuses=[200],Re.next=11,this.request(Le);case 11:return we=Re.sent,Ae=we.data.Contents||[],Me=this,Ae&&(Array.isArray(Ae)||(Ae=[Ae]),Ae=Ae.map(function(ot){var rt=null;return ot.Owner&&(rt={id:ot.Owner.ID,displayName:ot.Owner.DisplayName}),{name:ot.Key,url:Me._objectUrl(ot.Key),lastModified:ot.LastModified,etag:ot.ETag,type:ot.Type,size:Number(ot.Size),storageClass:ot.StorageClass,owner:rt}})),De=we.data.CommonPrefixes||null,De&&(Array.isArray(De)||(De=[De]),De=De.map(function(ot){return ot.Prefix})),Re.abrupt("return",{res:we.res,objects:Ae,prefixes:De,isTruncated:we.data.IsTruncated==="true",keyCount:+we.data.KeyCount,continuationToken:we.data.ContinuationToken||null,nextContinuationToken:we.data.NextContinuationToken||null});case 18:case"end":return Re.stop()}},pe,this)}));function fe(pe){return ve.apply(this,arguments)}return fe}(),ge.restore=function(){var ve=(0,le.default)(te.default.mark(function pe(me){var ye,be,Le,we,Ae=arguments;return te.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return ye=Ae.length>1&&Ae[1]!==void 0?Ae[1]:{type:"Archive"},ye=ye||{},ye.subres=Object.assign({restore:""},ye.subres),ye.versionId&&(ye.subres.versionId=ye.versionId),be=this._objectRequestParams("POST",me,ye),ye.type==="ColdArchive"&&(Le={RestoreRequest:{Days:ye.Days?ye.Days:2,JobParameters:{Tier:ye.JobParameters?ye.JobParameters:"Standard"}}},be.content=ce(Le,{headers:!0}),be.mime="xml"),be.successStatuses=[202],De.next=9,this.request(be);case 9:return we=De.sent,De.abrupt("return",{res:we.res});case 11:case"end":return De.stop()}},pe,this)}));function fe(pe){return ve.apply(this,arguments)}return fe}(),ge._objectUrl=function(fe){return this._getReqUrl({bucket:this.options.bucket,object:fe})},ge._objectRequestParams=function(fe,pe,me){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");me=me||{},pe=this._objectName(pe);var ye={object:pe,bucket:this.options.bucket,method:fe,subres:me&&me.subres,timeout:me&&me.timeout,ctx:me&&me.ctx};return me.headers&&(ye.headers={},se(me.headers).to(ye.headers)),ye},ge._objectName=function(fe){return fe.replace(/^\/+/,"")},ge._convertMetaToHeaders=function(fe,pe){fe&&Object.keys(fe).forEach(function(me){pe["x-oss-meta-".concat(me)]=fe[me]})},ge._deleteFileSafe=function(fe){var pe=this;return new Promise(function(me){de.exists(fe,function(ye){ye?de.unlink(fe,function(be){be&&pe.debug("unlink %j error: %s",fe,be,"error"),me()}):me()})})}},{"../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,he){"use strict";he.version="6.18.1"},{}],7:[function(x,Se,he){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.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)}he.abortBucketWorm=se},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(x,Se,he){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.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)}he.completeBucketWorm=se},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(x,Se,he){"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(he,"__esModule",{value:!0}),he.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)}he.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,he){"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=he;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,he){"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=he;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,he){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.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)}he.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,he){"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(he,"__esModule",{value:!0}),he.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)}he.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,he){"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=he;a.getBucketLifecycle=function(){var y=(0,le.default)(te.default.mark(function b(z,ee){var re,ce,ge;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,ge=ce.data.Rule||null,ge&&(oe(ge)||(ge=[ge]),ge=ge.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:ge,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,he){"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=he;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,he){"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=he;ie.getBucketWebsite=function(){var ne=(0,le.default)(te.default.mark(function y(E,b){var z,ee,re;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return se(E),z=this._bucketRequestParams("GET",E,"website",b),z.successStatuses=[200],z.xmlResponse=!0,ge.next=6,this.request(z);case 6:return ee=ge.sent,re=[],ee.data.RoutingRules&&ee.data.RoutingRules.RoutingRule&&(oe(ee.data.RoutingRules.RoutingRule)?re=[ee.data.RoutingRules.RoutingRule]:re=ee.data.RoutingRules.RoutingRule),ge.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 ge.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,he){"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(he,"__esModule",{value:!0}),he.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)}he.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,he){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),te=ae(x("@babel/runtime/regenerator")),le=ae(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.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)}he.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,he){"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(he,"__esModule",{value:!0}),he.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,ge=arguments;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return a=ge.length>1&&ge[1]!==void 0?ge[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)}he.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,he){"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(he,"__esModule",{value:!0}),he.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,ge,ve,fe,pe,me=arguments;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return y=me.length>2&&me[2]!==void 0?me[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/"),ge={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)||[]}}},ve=se.obj2xml(ge,{headers:!0,firstUpperCase:!0}),fe=this._bucketRequestParams("PUT",ne,E,y),fe.successStatuses=[200],fe.mime="xml",fe.content=ve,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)}he.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,he){"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,ge=he;ge.putBucketLifecycle=function(){var ye=(0,le.default)(te.default.mark(function Le(we,Ae,Me){var De,ze,qe,Re,ot;return te.default.wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(se(we),oe(Ae)){Qe.next=3;break}throw new Error("rules must be Array");case 3:return De=this._bucketRequestParams("PUT",we,"lifecycle",Me),ze=[],qe={LifecycleConfiguration:{Rule:ze}},Ae.forEach(function(Je){ve(Je),me(Je),Je.id&&(Je.ID=Je.id,delete Je.id),ze.push(Je)}),Re=b(qe,{headers:!0,firstUpperCase:!0}),De.content=Re,De.mime="xml",De.successStatuses=[200],Qe.next=13,this.request(De);case 13:return ot=Qe.sent,Qe.abrupt("return",{res:ot.res});case 15:case"end":return Qe.stop()}},Le,this)}));function be(Le,we,Ae){return ye.apply(this,arguments)}return be}();function ve(ye){ye.days&&(ye.expiration={days:ye.days}),ye.date&&(ye.expiration={createdBeforeDate:ye.date})}function fe(ye,be){var Le=ye.days,we=ye.createdBeforeDate;if(!Le&&!we)throw new Error("".concat(be," must includes days or createdBeforeDate"));if(Le&&!/^[1-9][0-9]*$/.test(Le))throw new Error("days must be a positive integer");if(we&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(we))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function pe(ye){if(!oe(ye)&&!y(ye))throw new Error("tag must be Object or Array");ye=y(ye)?[ye]:ye;var be={},Le=ne(ye);Le.forEach(function(we){be[we.key]=we.value}),ee(be)}function me(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,he){"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=he;ie.putBucketVersioning=function(){var ne=(0,le.default)(te.default.mark(function y(E,b){var z,ee,re,ce,ge=arguments;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:if(z=ge.length>2&&ge[2]!==void 0?ge[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,he){"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=he;a.putBucketWebsite=function(){var y=(0,le.default)(te.default.mark(function b(z){var ee,re,ce,ge,ve,fe,pe,me=arguments;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:if(ee=me.length>1&&me[1]!==void 0?me[1]:{},re=me.length>2?me[2]:void 0,se(z),ce=this._bucketRequestParams("PUT",z,"website",re),ge={Suffix:ee.index||"index.html"},ve={IndexDocument:ge},fe={WebsiteConfiguration:ve},ee.supportSubDir&&(ge.SupportSubDir=ee.supportSubDir),ee.type&&(ge.Type=ee.type),ee.error&&(ve.ErrorDocument={Key:ee.error}),ee.routingRules===void 0){be.next=14;break}if(ne(ee.routingRules)){be.next=13;break}throw new Error("RoutingRules must be Array");case 13:ve.RoutingRules={RoutingRule:ee.routingRules};case 14:return 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,he){(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"),he.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,he){"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(he,"__esModule",{value:!0}),he.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)}he.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,he){"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,he){"use strict";var ae=x("merge-descriptors"),te=he;ae(te,x("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(x,Se,he){"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=he;ne.processObjectSave=function(){var y=(0,le.default)(te.default.mark(function b(z,ee,re,ce){var ge,ve,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),ge=this._objectRequestParams("POST",z,{subres:"x-oss-process"}),ve=ce?",b_".concat(ie(ce)):"",ee=ie(ee),fe={"x-oss-process":"".concat(re,"|sys/saveas,o_").concat(ee).concat(ve)},ge.content=ue.stringify(fe),ye.next=12,this.request(ge);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,he){"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=he;ue.uploadPartCopy=function(){var oe=(0,le.default)(te.default.mark(function ne(a,y,E,b,z){var ee,re,ce,ge,ve,fe=arguments;return te.default.wrap(function(me){for(;;)switch(me.prev=me.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},ge=this._objectRequestParams("PUT",a,ee),ge.mime=ee.mime,ge.successStatuses=[200],me.next=12,this.request(ge);case 12:return ve=me.sent,me.abrupt("return",{name:a,etag:ve.res.headers.etag,res:ve.res});case 14:case"end":return me.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,ge,ve,fe,pe,me,ye,be=arguments;return te.default.wrap(function(we){for(;;)switch(we.prev=we.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},we.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,ee);case 6:if(re=we.sent,ce=re.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||ce,!(E.checkpoint&&E.checkpoint.uploadId)){we.next=14;break}return we.next=13,this._resumeMultipartCopy(E.checkpoint,y,E);case 13:return we.abrupt("return",we.sent);case 14:if(ge=102400,ve=y.endOffset-y.startOffset,!(ve<ge)){we.next=18;break}throw new Error("copySize must not be smaller than ".concat(ge));case 18:if(!(E.partSize&&E.partSize<ge)){we.next=20;break}throw new Error("partSize must not be smaller than ".concat(ge));case 20:return we.next=22,this.initMultipartUpload(a,E);case 22:if(fe=we.sent,pe=fe.uploadId,me=this._getPartSize(ve,E.partSize),ye={name:a,copySize:ve,partSize:me,uploadId:pe,doneParts:[]},!(E&&E.progress)){we.next=29;break}return we.next=29,E.progress(0,ye,fe.res);case 29:return we.next=31,this._resumeMultipartCopy(ye,y,E);case 31:return we.abrupt("return",we.sent);case 32:case"end":return we.stop()}},ne,this)}));function ie(ne,a){return oe.apply(this,arguments)}return ie}(),ue._resumeMultipartCopy=function(){var oe=(0,le.default)(te.default.mark(function ne(a,y,E){var b,z,ee,re,ce,ge,ve,fe,pe,me,ye,be,Le,we,Ae,Me,De,ze,qe,Re,ot;return te.default.wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(!this.isCancel()){Qe.next=2;break}throw this._makeCancelEvent();case 2:if(b=E.versionId,z=b===void 0?null:b,ee={versionId:z},re=a.copySize,ce=a.partSize,ge=a.uploadId,ve=a.doneParts,fe=a.name,pe=this._divideMultipartCopyParts(re,ce,y.startOffset),me=pe.length,ye={headers:{}},E.copyheaders&&se(E.copyheaders).to(ye.headers),z&&se(ee).to(ye),be=function(Ge,ke,_e){return new Promise(function(){var tt=(0,le.default)(te.default.mark(function Xe(ct,Ye){var Ne,Oe,Ue;return te.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:if(Fe.prev=0,Ge.isCancel()){Fe.next=22;break}return Ne=pe[ke-1],Oe="".concat(Ne.start,"-").concat(Ne.end-1),Fe.prev=4,Fe.next=7,Ge.uploadPartCopy(fe,ge,ke,Oe,_e,ye);case 7:Ue=Fe.sent,Fe.next=15;break;case 10:if(Fe.prev=10,Fe.t0=Fe.catch(4),Fe.t0.status!==404){Fe.next=14;break}throw Ge._makeAbortEvent();case 14:throw Fe.t0;case 15:if(Ge.isCancel()){Fe.next=22;break}if(de("content-range ".concat(Ue.res.headers["content-range"])),ve.push({number:ke,etag:Ue.res.headers.etag}),a.doneParts=ve,!(E&&E.progress)){Fe.next=22;break}return Fe.next=22,E.progress(ve.length/me,a,Ue.res);case 22:ct(),Fe.next=29;break;case 25:Fe.prev=25,Fe.t1=Fe.catch(0),Fe.t1.partNum=ke,Ye(Fe.t1);case 29:case"end":return Fe.stop()}},Xe,null,[[0,25],[4,10]])}));return function(Xe,ct){return tt.apply(this,arguments)}}())},Le=Array.from(new Array(me),function(Je,Ge){return Ge+1}),we=ve.map(function(Je){return Je.number}),Ae=Le.filter(function(Je){return we.indexOf(Je)<0}),Me=5,De=E.parallel||Me,!(this.checkBrowserAndVersion("Internet Explorer","10")||De===1)){Qe.next=28;break}ze=0;case 18:if(!(ze<Ae.length)){Qe.next=26;break}if(!this.isCancel()){Qe.next=21;break}throw this._makeCancelEvent();case 21:return Qe.next=23,be(this,Ae[ze],y);case 23:ze++,Qe.next=18;break;case 26:Qe.next=40;break;case 28:return Qe.next=30,this._parallelNode(Ae,De,be,y);case 30:if(qe=Qe.sent,Re=qe.find(function(Je){return Je.name==="abort"}),!Re){Qe.next=34;break}throw Re;case 34:if(!this.isCancel()){Qe.next=36;break}throw this._makeCancelEvent();case 36:if(!(qe&&qe.length>0)){Qe.next=40;break}throw ot=qe[0],ot.message="Failed to copy some parts with error: ".concat(ot.toString()," part_num: ").concat(ot.partNum),ot;case 40:return Qe.next=42,this.completeMultipartUpload(fe,ge,ve,E);case 42:return Qe.abrupt("return",Qe.sent);case 43:case"end":return Qe.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<y;b++){var z=ne*b+a,ee=Math.min(z+ne,ie+a);E.push({start:z,end:ee})}return E},ue._getObjectMeta=function(){var oe=(0,le.default)(te.default.mark(function ne(a,y,E){var b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return b=this.getBucket(),this.setBucket(a),re.next=4,this.head(y,E);case 4:return z=re.sent,this.setBucket(b),re.abrupt("return",z);case 7:case"end":return re.stop()}},ne,this)}));function ie(ne,a,y){return oe.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,debug:465}],30:[function(x,Se,he){(function(ae){(function(){"use strict";var te=x("@babel/runtime/helpers/interopRequireDefault"),le=te(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.map.js"),x("core-js/modules/es.array.filter.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.array.sort.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.regexp.to-string.js");var de=te(x("@babel/runtime/helpers/asyncToGenerator")),se=x("copy-to"),ue=x("./callback"),oe=x("./utils/deepCopy"),ie=oe.deepCopyWith,ne=x("./utils/isBuffer"),a=ne.isBuffer,y=x("./utils/omit"),E=y.omit,b=he;b.listUploads=function(){var z=(0,de.default)(le.default.mark(function re(ce,ge){var ve,fe,pe,me;return le.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return ge=ge||{},ve={},se(ge).to(ve),ve.subres="uploads",fe=this._objectRequestParams("GET","",ve),fe.query=ce,fe.xmlResponse=!0,fe.successStatuses=[200],be.next=10,this.request(fe);case 10:return pe=be.sent,me=pe.data.Upload||[],Array.isArray(me)||(me=[me]),me=me.map(function(Le){return{name:Le.Key,uploadId:Le.UploadId,initiated:Le.Initiated}}),be.abrupt("return",{res:pe.res,uploads:me,bucket:pe.data.Bucket,nextKeyMarker:pe.data.NextKeyMarker,nextUploadIdMarker:pe.data.NextUploadIdMarker,isTruncated:pe.data.IsTruncated==="true"});case 15:case"end":return be.stop()}},re,this)}));function ee(re,ce){return z.apply(this,arguments)}return ee}(),b.listParts=function(){var z=(0,de.default)(le.default.mark(function re(ce,ge,ve,fe){var pe,me,ye;return le.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return fe=fe||{},pe={},se(fe).to(pe),pe.subres={uploadId:ge},me=this._objectRequestParams("GET",ce,pe),me.query=ve,me.xmlResponse=!0,me.successStatuses=[200],Le.next=10,this.request(me);case 10:return ye=Le.sent,Le.abrupt("return",{res:ye.res,uploadId:ye.data.UploadId,bucket:ye.data.Bucket,name:ye.data.Key,partNumberMarker:ye.data.PartNumberMarker,nextPartNumberMarker:ye.data.NextPartNumberMarker,maxParts:ye.data.MaxParts,isTruncated:ye.data.IsTruncated,parts:ye.data.Part||[]});case 12:case"end":return Le.stop()}},re,this)}));function ee(re,ce,ge,ve){return z.apply(this,arguments)}return ee}(),b.abortMultipartUpload=function(){var z=(0,de.default)(le.default.mark(function re(ce,ge,ve){var fe,pe,me;return le.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return this._stop(),ve=ve||{},fe={},se(ve).to(fe),fe.subres={uploadId:ge},pe=this._objectRequestParams("DELETE",ce,fe),pe.successStatuses=[204],be.next=9,this.request(pe);case 9:return me=be.sent,be.abrupt("return",{res:me.res});case 11:case"end":return be.stop()}},re,this)}));function ee(re,ce,ge){return z.apply(this,arguments)}return ee}(),b.initMultipartUpload=function(){var z=(0,de.default)(le.default.mark(function re(ce,ge){var ve,fe,pe;return le.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ge=ge||{},ve={},se(ge).to(ve),ve.headers=ve.headers||{},this._convertMetaToHeaders(ge.meta,ve.headers),ve.subres="uploads",fe=this._objectRequestParams("POST",ce,ve),fe.mime=ge.mime,fe.xmlResponse=!0,fe.successStatuses=[200],ye.next=12,this.request(fe);case 12:return pe=ye.sent,ye.abrupt("return",{res:pe.res,bucket:pe.data.Bucket,name:pe.data.Key,uploadId:pe.data.UploadId});case 14:case"end":return ye.stop()}},re,this)}));function ee(re,ce){return z.apply(this,arguments)}return ee}(),b.uploadPart=function(){var z=(0,de.default)(le.default.mark(function re(ce,ge,ve,fe,pe,me,ye){var be,Le;return le.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:if(be={size:me-pe},Le=ae&&ae.browser,!Le){Ae.next=8;break}return Ae.next=5,this._createBuffer(fe,pe,me);case 5:be.content=Ae.sent,Ae.next=11;break;case 8:return Ae.next=10,this._createStream(fe,pe,me);case 10:be.stream=Ae.sent;case 11:return Ae.next=13,this._uploadPart(ce,ge,ve,be,ye);case 13:return Ae.abrupt("return",Ae.sent);case 14:case"end":return Ae.stop()}},re,this)}));function ee(re,ce,ge,ve,fe,pe,me){return z.apply(this,arguments)}return ee}(),b.completeMultipartUpload=function(){var z=(0,de.default)(le.default.mark(function re(ce,ge,ve,fe){var pe,me,ye,be,Le,we,Ae,Me;return le.default.wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:for(pe=ve.concat().sort(function(qe,Re){return qe.number-Re.number}).filter(function(qe,Re,ot){return!Re||qe.number!==ot[Re-1].number}),me=`<?xml version="1.0" encoding="UTF-8"?>
|
|
<CompleteMultipartUpload>
|
|
`,ye=0;ye<pe.length;ye++)be=pe[ye],me+=`<Part>
|
|
`,me+="<PartNumber>".concat(be.number,`</PartNumber>
|
|
`),me+="<ETag>".concat(be.etag,`</ETag>
|
|
`),me+=`</Part>
|
|
`;return me+="</CompleteMultipartUpload>",fe=fe||{},Le={},Le=ie(fe,function(qe){if(a(qe))return null}),Le.subres={uploadId:ge},Le.headers=E(Le.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),we=this._objectRequestParams("POST",ce,Le),ue.encodeCallback(we,Le),we.mime="xml",we.content=me,we.headers&&we.headers["x-oss-callback"]||(we.xmlResponse=!0),we.successStatuses=[200],ze.next=17,this.request(we);case 17:if(Ae=ze.sent,!fe.progress){ze.next=21;break}return ze.next=21,fe.progress(1,null,Ae.res);case 21:return Me={res:Ae.res,bucket:we.bucket,name:ce,etag:Ae.res.headers.etag},we.headers&&we.headers["x-oss-callback"]&&(Me.data=JSON.parse(Ae.data.toString())),ze.abrupt("return",Me);case 24:case"end":return ze.stop()}},re,this)}));function ee(re,ce,ge,ve){return z.apply(this,arguments)}return ee}(),b._uploadPart=function(){var z=(0,de.default)(le.default.mark(function re(ce,ge,ve,fe,pe){var me,ye,be,Le;return le.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return pe=pe||{},me={},se(pe).to(me),me.headers=me.headers||{},me.headers["Content-Length"]=fe.size,me.headers=E(me.headers,["x-oss-server-side-encryption"]),me.subres={partNumber:ve,uploadId:ge},ye=this._objectRequestParams("PUT",ce,me),ye.mime=me.mime,be=ae&&ae.browser,be?ye.content=fe.content:ye.stream=fe.stream,ye.successStatuses=[200],ye.disabledMD5=pe.disabledMD5,Ae.next=15,this.request(ye);case 15:if(Le=Ae.sent,Le.res.headers.etag){Ae.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),Ae.abrupt("return",{name:ce,etag:Le.res.headers.etag,res:Le.res});case 20:case"end":return Ae.stop()}},re,this)}));function ee(re,ce,ge,ve,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,he){"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=he;z.asyncSignatureUrl=function(){var ee=(0,le.default)(te.default.mark(function ce(ge,ve){var fe,pe,me,ye,be;return te.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(!ne(this.options.endpoint.hostname)){we.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(ve=ve||{},ge=this._objectName(ge),ve.method=ve.method||"GET",fe=se.timestamp()+(ve.expires||1800),pe={bucket:this.options.bucket,object:ge},me=this._getResource(pe),!(this.options.stsToken&&b(this.options.refreshSTSToken))){we.next=11;break}return we.next=11,y.call(this);case 11:return this.options.stsToken&&(ve["security-token"]=this.options.stsToken),ye=oe._signatureForURL(this.options.accessKeySecret,ve,me,fe),be=de.parse(this._getReqUrl(pe)),be.query={OSSAccessKeyId:this.options.accessKeyId,Expires:fe,Signature:ye.Signature},ue(ye.subResource).to(be.query),we.abrupt("return",be.format());case 17:case"end":return we.stop()}},ce,this)}));function re(ce,ge){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,he){"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=he,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,ge;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,ge=ce.data,ge&&(ge={etag:ge.ETag,lastModified:ge.LastModified}),fe.abrupt("return",{data:ge,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,he){"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=he;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,he){"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=he;oe.deleteMulti=function(){var ie=(0,le.default)(te.default.mark(function a(y){var E,b,z,ee,re,ce,ge,ve,fe,pe,me,ye,be,Le=arguments;return te.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:if(E=Le.length>1&&Le[1]!==void 0?Le[1]:{},b=[],!(!y||!y.length)){Ae.next=4;break}throw new Error("names is required");case 4:for(z=0;z<y.length;z++)ee={},typeof y[z]=="string"?ee.Key=de.escape(this._objectName(y[z])):(re=y[z],ce=re.key,ge=re.versionId,ee.Key=de.escape(this._objectName(ce)),ee.VersionId=ge),b.push(ee);return ve={Delete:{Quiet:!!E.quiet,Object:b}},fe=ue(ve,{headers:!0}),E.subres=Object.assign({delete:""},E.subres),E.versionId&&(E.subres.versionId=E.versionId),pe=this._objectRequestParams("POST","",E),pe.mime="xml",pe.content=fe,pe.xmlResponse=!0,pe.successStatuses=[200],Ae.next=16,this.request(pe);case 16:return me=Ae.sent,ye=me.data,be=ye&&ye.Deleted||null,be&&(Array.isArray(be)||(be=[be])),Ae.abrupt("return",{res:me.res,deleted:be||[]});case 21:case"end":return Ae.stop()}},a,this)}));function ne(a){return ie.apply(this,arguments)}return ne}()},{"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,utility:474}],35:[function(x,Se,he){"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=he;de.deleteObjectTagging=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({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,he){"use strict";x("core-js/modules/es.array.concat.js");var ae=x("url"),te=x("../utils/isIP"),le=te.isIP,de=he;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,he){(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=he;oe.get=function(){var ie=(0,de.default)(le.default.mark(function a(y,E){var b,z,ee,re,ce,ge,ve,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",ge=re&&ce?{"response-cache-control":ce}:{},b.subres=Object.assign(ge,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:ve=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:ve.res,content:ve.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,he){"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=he;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,he){"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=he,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,ge,ve,fe,pe,me=arguments;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:if(z=me.length>0&&me[0]!==void 0?me[0]:{},ee=me.length>1&&me[1]!==void 0?me[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,ge=ce.data.Version||[],ve=ce.data.DeleteMarker||[],fe=this,ge&&(Array.isArray(ge)||(ge=[ge]),ge=ge.map(function(Le){return{name:Le.Key,url:fe._objectUrl(Le.Key),lastModified:Le.LastModified,isLatest:Le.IsLatest==="true",versionId:Le.VersionId,etag:Le.ETag,type:Le.Type,size:Number(Le.Size),storageClass:Le.StorageClass,owner:{id:Le.Owner.ID,displayName:Le.Owner.DisplayName}}})),ve&&(ie(ve)||(ve=[ve]),ve=ve.map(function(Le){return{name:Le.Key,lastModified:Le.LastModified,versionId:Le.VersionId,owner:{id:Le.Owner.ID,displayName:Le.Owner.DisplayName}}})),pe=ce.data.CommonPrefixes||null,pe&&(ie(pe)||(pe=[pe]),pe=pe.map(function(Le){return Le.Prefix})),be.abrupt("return",{res:ce.res,objects:ge,deleteMarker:ve,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,he){"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=he;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,he){"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=he,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(ve){for(;;)switch(ve.prev=ve.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],ve.next=8,this.request(E);case 8:return b=ve.sent,ve.next=11,this.parseXML(b.data);case 11:return z=ve.sent,ee=z.TagSet.Tag,ee=ee&&ue(ee)?[ee]:ee||[],re={},ee.forEach(function(fe){re[fe.Key]=fe.Value}),ve.abrupt("return",{status:b.status,res:b.res,tag:re});case 17:case"end":return ve.stop()}},ne,this)}));function ie(ne){return 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,he){"use strict";var ae=x("../utils/isIP"),te=ae.isIP,le=he;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,he){"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=he;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,he){"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=he;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(ge){ge.indexOf("x-oss-meta-")===0&&(z.meta||(z.meta={}),z.meta[ge.substring(11)]=b.headers[ge])}),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,he){"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=he;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,he){"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=he;ie.putObjectTagging=function(){var ne=(0,le.default)(te.default.mark(function y(E,b){var z,ee,re,ce,ge=arguments;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return z=ge.length>2&&ge[2]!==void 0?ge[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,he){"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=he;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,he){"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=he;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,he){"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=he;ue._parallelNode=function(){var oe=(0,le.default)(te.default.mark(function ne(a,y,E,b){var z,ee,re,ce,ge,ve,fe,pe;return te.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:z=this,ee=[],re=[],ce=a.length/y,ge=a.length%y,ve=ge===0?ce:(a.length-ge)/y+1,fe=1,pe=0;case 8:if(!(pe<a.length)){ye.next=26;break}if(!z.isCancel()){ye.next=11;break}return ye.abrupt("break",26);case 11:if(b?re.push(E(z,a[pe],b)):re.push(E(z,a[pe])),!(re.length===y||fe===ve&&pe===a.length-1)){ye.next=23;break}return ye.prev=13,fe+=1,ye.next=17,Promise.all(re);case 17:ye.next=22;break;case 19:ye.prev=19,ye.t0=ye.catch(13),ee.push(ye.t0);case 22:re=[];case 23:pe++,ye.next=8;break;case 26:return ye.abrupt("return",ee);case 27:case"end":return ye.stop()}},ne,this,[[13,19]])}));function ie(ne,a,y,E){return oe.apply(this,arguments)}return ie}(),ue._parallel=function(ie,ne,a){var y=this;return new Promise(function(E){var b=[];if(ne<=0||!ie){E(b);return}function z(ye){return function(){if(ye===null)throw new Error("Callback was already called.");var be=ye;ye=null;for(var Le=arguments.length,we=new Array(Le),Ae=0;Ae<Le;Ae++)we[Ae]=arguments[Ae];be.apply(this,we)}}function ee(ye){var be=-1,Le=ye.length;return function(){return++be<Le&&!y.isCancel()?{value:ye[be],key:be}:null}}var re=ee(ie),ce=!1,ge=0,ve=!1;function fe(ye){ge-=1,ye?(ce=!0,b.push(ye),E(b)):ce&&ge<=0?(ce=!0,E(b)):ve||(y.isCancel()?E(b):me())}function pe(ye,be){a(ye).then(function(Le){be(null,Le)}).catch(function(Le){be(Le)})}function me(){for(ve=!0;ge<ne&&!ce&&!y.isCancel();){var ye=re();if(ye===null||b.length>0){ce=!0,ge<=0&&E(b);return}ge+=1,pe(ye.value,z(fe))}ve=!1}me()})},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,he){(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;he.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]<ee[0]?-1:0},E=function(z){ne+=a+z,(ie[z]||ie[z]===0)&&(ne+="=".concat(ie[z])),a="&"};Object.keys(ie).sort(y).forEach(E)}return ne},he.buildCanonicalString=function(oe,ie,ne,a){ne=ne||{};var y=se(ne.headers),E="x-oss-",b=[],z={},ee=[oe.toUpperCase(),y["content-md5"]||"",y["content-type"],a||y["x-oss-date"]];return Object.keys(y).forEach(function(re){var ce=re.toLowerCase();ce.indexOf(E)===0&&(z[ce]=String(y[re]).trim())}),Object.keys(z).sort().forEach(function(re){b.push("".concat(re,":").concat(z[re]))}),ee=ee.concat(b),ee.push(this.buildCanonicalizedResource(ie,ne.parameters)),ee.join(`
|
|
`)},he.computeSignature=function(oe,ie){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=te.createHmac("sha1",oe);return a.update(ae.from(ie,ne)).digest("base64")},he.authorization=function(oe,ie,ne,a){return"OSS ".concat(oe,":").concat(this.computeSignature(ie,ne,a))},he._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(),me=ie[fe];pe.indexOf("x-oss-")===0?E[pe]=me:(pe.indexOf("content-md5")===0||pe.indexOf("content-type")===0)&&(E[fe]=me)}),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 ge={};Object.keys(ie.callback.customValue).forEach(function(fe){ge["x:".concat(fe)]=ie.callback.customValue[fe]}),z["callback-var"]=ae.from(JSON.stringify(ge)).toString("base64")}}var ve=this.buildCanonicalString(ie.method,ne,{headers:E,parameters:z},a.toString());return{Signature:this.computeSignature(oe,ve,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,he){"use strict";x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.checkBucketName=void 0,he.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,he){"use strict";x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.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}he.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,he){(function(ae){(function(){"use strict";Object.defineProperty(he,"__esModule",{value:!0}),he.checkEnv=void 0;function te(le){ae.browser&&console.warn(le)}he.checkEnv=te}).call(this)}).call(this,x("_process"))},{_process:467}],54:[function(x,Se,he){"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(he,"__esModule",{value:!0}),he.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]])})})}he.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,he){"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(he,"__esModule",{value:!0}),he.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)})}he.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,he){(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(he,"__esModule",{value:!0}),he.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 ge(pe,me){return pe[me]||pe[me.toLowerCase()]}function ve(pe,me){delete pe[me],delete pe[me.toLowerCase()]}function fe(pe){var me=new Date;this.options.amendTimeSkewed&&(me=+new Date+this.options.amendTimeSkewed);var ye={"x-oss-date":se(me,"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),ge(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||""))),ge(ye,"Content-Type")||ve(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 Le in ye)ye[Le]&&be.call(ye,Le)&&(ye[Le]=ne(String(ye[Le]),this.options.headerEncoding));var we=this._getResource(pe);if(ye.authorization=this.authorization(pe.method,we,pe.subres,ye,this.options.headerEncoding),y(this.options.endpoint.hostname)){var Ae=this.options,Me=Ae.region,De=Ae.internal,ze=Ae.secure,qe=b(Me,De,ze);ye.host="".concat(pe.bucket,".").concat(qe.host)}var Re=ee.bind(this)(pe);le("request %s %s, with headers %j, !!stream: %s",pe.method,Re,ye,!!pe.stream);var ot=pe.timeout||this.options.timeout,rt={method:pe.method,content:pe.content,stream:pe.stream,headers:ye,timeout:ot,writeStream:pe.writeStream,customResponse:pe.customResponse,ctx:pe.ctx||this.ctx};return this.agent&&(rt.agent=this.agent),this.httpsAgent&&(rt.httpsAgent=this.httpsAgent),rt.enableProxy=!!this.options.enableProxy,rt.proxy=this.options.proxy?this.options.proxy:null,{url:Re,params:rt}}he.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,he){"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(he,"__esModule",{value:!0}),he.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,ge=ie.lowerFirst,ve=ge===void 0?!1:ge;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(me){return me.toLowerCase()}).replace(/-(\w)/g,function(me,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,ve),de}}he.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,he){"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(he,"__esModule",{value:!0}),he.deepCopyWith=he.deepCopy=void 0;var le=x("./isBuffer");he.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]=he.deepCopy(de[ue])}),se},he.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):he.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,he){(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(he,"__esModule",{value:!0}),he.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")}he.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,he){"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(he,"__esModule",{value:!0}),he.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}he.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,he){"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(he,"__esModule",{value:!0}),he.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.length;ne++)ie.push(le(se[ne],ue,oe))}else ie={},Object.keys(se).forEach(function(a){ie[de(a,ue,oe)]=le(se[a],ue,oe)});return ie}he.formatObjKey=le;function de(se,ue,oe){return oe&&oe.exclude&&oe.exclude.includes(se)||(ue==="firstUpperCase"?se=se.replace(/^./,function(ie){return ie.toUpperCase()}):ue==="firstLowerCase"&&(se=se.replace(/^./,function(ie){return ie.toLowerCase()}))),se}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.includes.js":302,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],62:[function(x,Se,he){"use strict";x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.getStrBytesCount=void 0;function ae(te){for(var le=0,de=0;de<te.length;de++){var se=te.charAt(de);/^[\u00-\uff]$/.test(se)?le+=1:le+=2}return le}he.getStrBytesCount=ae},{"core-js/modules/es.regexp.exec.js":300}],63:[function(x,Se,he){"use strict";x("core-js/modules/es.object.to-string.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.isArray=void 0,he.isArray=function(ae){return Object.prototype.toString.call(ae)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(x,Se,he){"use strict";Object.defineProperty(he,"__esModule",{value:!0}),he.isBlob=void 0;function ae(te){return typeof Blob!="undefined"&&te instanceof Blob}he.isBlob=ae},{}],65:[function(x,Se,he){(function(ae){(function(){"use strict";Object.defineProperty(he,"__esModule",{value:!0}),he.isBuffer=void 0;function te(le){return ae.isBuffer(le)}he.isBuffer=te}).call(this)}).call(this,{isBuffer:x("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(x,Se,he){(function(ae){(function(){"use strict";x("core-js/modules/es.array.includes.js"),x("core-js/modules/es.string.includes.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.isDingTalk=void 0;function te(){return!!(ae.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}he.isDingTalk=te}).call(this)}).call(this,x("_process"))},{_process:467,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.string.includes.js":302}],67:[function(x,Se,he){"use strict";Object.defineProperty(he,"__esModule",{value:!0}),he.isFile=void 0,he.isFile=function(ae){return typeof File!="undefined"&&ae instanceof File}},{}],68:[function(x,Se,he){"use strict";Object.defineProperty(he,"__esModule",{value:!0}),he.isFunction=void 0,he.isFunction=function(ae){return typeof ae=="function"}},{}],69:[function(x,Se,he){"use strict";x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.isIP=void 0,he.isIP=function(ae){var te=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,le=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return te.test(ae)||le.test(ae)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(x,Se,he){"use strict";x("core-js/modules/es.object.to-string.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.isObject=void 0,he.isObject=function(ae){return Object.prototype.toString.call(ae)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(x,Se,he){"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.keys.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.lowercaseKeyHeader=void 0;var ae=x("./isObject");function te(le){var de={};return ae.isObject(le)&&Object.keys(le).forEach(function(se){de[se.toLowerCase()]=le[se]}),de}he.lowercaseKeyHeader=te},{"./isObject":70,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],72:[function(x,Se,he){"use strict";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.array.concat.js"),x("core-js/modules/es.array.join.js"),x("core-js/modules/es.array.map.js"),x("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.obj2xml=void 0;var ae=x("./formatObjKey");function te(de){return Object.prototype.toString.call(de).replace(/(.*? |])/g,"").toLowerCase()}function le(de,se){var ue="";return se&&se.headers&&(ue=`<?xml version="1.0" encoding="UTF-8"?>
|
|
`),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],"</").concat(oe,">"):te(de[oe])==="object"?ue+="<".concat(oe,">").concat(le(de[oe]),"</").concat(oe,">"):te(de[oe])==="array"?ue+=de[oe].map(function(ie){return"<".concat(oe,">").concat(le(ie),"</").concat(oe,">")}).join(""):ue+="<".concat(oe,">").concat(de[oe].toString(),"</").concat(oe,">"))}):ue+=de.toString(),ue}he.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,he){"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);oe<ue;oe++)ie[oe]=se[oe];return ie}Object.defineProperty(he,"__esModule",{value:!0}),he.omit=void 0;function de(se,ue){var oe=Object.assign({},se),ie=ae(ue),ne;try{for(ie.s();!(ne=ie.n()).done;){var a=ne.value;delete oe[a]}}catch(y){ie.e(y)}finally{ie.f()}return oe}he.omit=de},{"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.iterator.js":312,"core-js/modules/es.symbol.js":313,"core-js/modules/web.dom-collections.iterator.js":340}],74:[function(x,Se,he){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.retry=void 0;function ae(te,le){var de=arguments.length>2&&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;z<E;z++)b[z]=arguments[z];return new Promise(function(ee,re){te.apply(void 0,b).then(function(ce){se=0,ee(ce)}).catch(function(ce){se<le&&ne(ce)?(se++,setTimeout(function(){ee(y.apply(void 0,b))},oe)):(se=0,re(ce))})})};return a}he.retry=ae},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(x,Se,he){"use strict";var ae=function(se){return se&&se.__esModule?se:{default:se}};Object.defineProperty(he,"__esModule",{value:!0}),he.setRegion=void 0;var te=ae(x("url")),le=x("./checkConfigValid");function de(se){var ue=arguments.length>1&&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)}he.setRegion=de},{"./checkConfigValid":52,url:472}],76:[function(x,Se,he){"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(he,"__esModule",{value:!0}),he.checkCredentials=he.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)}he.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))})}he.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,he){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,he){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,he){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,he){Se.exports=x("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(x,Se,he){Se.exports=ae,Se.exports.HttpsAgent=ae;function ae(){}},{}],82:[function(x,Se,he){(function(ae){(function(){"use strict";var te=x("object-assign");function le(Me,De){if(Me===De)return 0;for(var ze=Me.length,qe=De.length,Re=0,ot=Math.min(ze,qe);Re<ot;++Re)if(Me[Re]!==De[Re]){ze=Me[Re],qe=De[Re];break}return ze<qe?-1:qe<ze?1:0}function de(Me){return ae.Buffer&&typeof ae.Buffer.isBuffer=="function"?ae.Buffer.isBuffer(Me):!!(Me!=null&&Me._isBuffer)}var se=x("util/"),ue=Object.prototype.hasOwnProperty,oe=Array.prototype.slice,ie=function(){return function(){}.name==="foo"}();function ne(Me){return Object.prototype.toString.call(Me)}function a(Me){return de(Me)||typeof ae.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(Me):Me?!!(Me instanceof DataView||Me.buffer&&Me.buffer instanceof ArrayBuffer):!1}var y=Se.exports=ge,E=/\s*function\s+([^\(\s]*)\s*/;function b(Me){if(se.isFunction(Me)){if(ie)return Me.name;var De=Me.toString(),ze=De.match(E);return ze&&ze[1]}}y.AssertionError=function(De){this.name="AssertionError",this.actual=De.actual,this.expected=De.expected,this.operator=De.operator,De.message?(this.message=De.message,this.generatedMessage=!1):(this.message=re(this),this.generatedMessage=!0);var ze=De.stackStartFunction||ce;if(Error.captureStackTrace)Error.captureStackTrace(this,ze);else{var qe=new Error;if(qe.stack){var Re=qe.stack,ot=b(ze),rt=Re.indexOf(`
|
|
`+ot);if(rt>=0){var Qe=Re.indexOf(`
|
|
`,rt+1);Re=Re.substring(Qe+1)}this.stack=Re}}},se.inherits(y.AssertionError,Error);function z(Me,De){return typeof Me=="string"?Me.length<De?Me:Me.slice(0,De):Me}function ee(Me){if(ie||!se.isFunction(Me))return se.inspect(Me);var De=b(Me),ze=De?": "+De:"";return"[Function"+ze+"]"}function re(Me){return z(ee(Me.actual),128)+" "+Me.operator+" "+z(ee(Me.expected),128)}function ce(Me,De,ze,qe,Re){throw new y.AssertionError({message:ze,actual:Me,expected:De,operator:qe,stackStartFunction:Re})}y.fail=ce;function ge(Me,De){Me||ce(Me,!0,De,"==",y.ok)}y.ok=ge,y.equal=function(De,ze,qe){De!=ze&&ce(De,ze,qe,"==",y.equal)},y.notEqual=function(De,ze,qe){De==ze&&ce(De,ze,qe,"!=",y.notEqual)},y.deepEqual=function(De,ze,qe){ve(De,ze,!1)||ce(De,ze,qe,"deepEqual",y.deepEqual)},y.deepStrictEqual=function(De,ze,qe){ve(De,ze,!0)||ce(De,ze,qe,"deepStrictEqual",y.deepStrictEqual)};function ve(Me,De,ze,qe){if(Me===De)return!0;if(de(Me)&&de(De))return le(Me,De)===0;if(se.isDate(Me)&&se.isDate(De))return Me.getTime()===De.getTime();if(se.isRegExp(Me)&&se.isRegExp(De))return Me.source===De.source&&Me.global===De.global&&Me.multiline===De.multiline&&Me.lastIndex===De.lastIndex&&Me.ignoreCase===De.ignoreCase;if((Me===null||typeof Me!="object")&&(De===null||typeof De!="object"))return ze?Me===De:Me==De;if(a(Me)&&a(De)&&ne(Me)===ne(De)&&!(Me instanceof Float32Array||Me instanceof Float64Array))return le(new Uint8Array(Me.buffer),new Uint8Array(De.buffer))===0;if(de(Me)!==de(De))return!1;qe=qe||{actual:[],expected:[]};var Re=qe.actual.indexOf(Me);return Re!==-1&&Re===qe.expected.indexOf(De)?!0:(qe.actual.push(Me),qe.expected.push(De),pe(Me,De,ze,qe))}function fe(Me){return Object.prototype.toString.call(Me)=="[object Arguments]"}function pe(Me,De,ze,qe){if(Me==null||De===null||De===void 0)return!1;if(se.isPrimitive(Me)||se.isPrimitive(De))return Me===De;if(ze&&Object.getPrototypeOf(Me)!==Object.getPrototypeOf(De))return!1;var Re=fe(Me),ot=fe(De);if(Re&&!ot||!Re&&ot)return!1;if(Re)return Me=oe.call(Me),De=oe.call(De),ve(Me,De,ze);var rt=Ae(Me),Qe=Ae(De),Je,Ge;if(rt.length!==Qe.length)return!1;for(rt.sort(),Qe.sort(),Ge=rt.length-1;Ge>=0;Ge--)if(rt[Ge]!==Qe[Ge])return!1;for(Ge=rt.length-1;Ge>=0;Ge--)if(Je=rt[Ge],!ve(Me[Je],De[Je],ze,qe))return!1;return!0}y.notDeepEqual=function(De,ze,qe){ve(De,ze,!1)&&ce(De,ze,qe,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=me;function me(Me,De,ze){ve(Me,De,!0)&&ce(Me,De,ze,"notDeepStrictEqual",me)}y.strictEqual=function(De,ze,qe){De!==ze&&ce(De,ze,qe,"===",y.strictEqual)},y.notStrictEqual=function(De,ze,qe){De===ze&&ce(De,ze,qe,"!==",y.notStrictEqual)};function ye(Me,De){if(!Me||!De)return!1;if(Object.prototype.toString.call(De)=="[object RegExp]")return De.test(Me);try{if(Me instanceof De)return!0}catch(ze){}return Error.isPrototypeOf(De)?!1:De.call({},Me)===!0}function be(Me){var De;try{Me()}catch(ze){De=ze}return De}function Le(Me,De,ze,qe){var Re;if(typeof De!="function")throw new TypeError('"block" argument must be a function');typeof ze=="string"&&(qe=ze,ze=null),Re=be(De),qe=(ze&&ze.name?" ("+ze.name+").":".")+(qe?" "+qe:"."),Me&&!Re&&ce(Re,ze,"Missing expected exception"+qe);var ot=typeof qe=="string",rt=!Me&&se.isError(Re),Qe=!Me&&Re&&!ze;if((rt&&ot&&ye(Re,ze)||Qe)&&ce(Re,ze,"Got unwanted exception"+qe),Me&&Re&&ze&&!ye(Re,ze)||!Me&&Re)throw Re}y.throws=function(Me,De,ze){Le(!0,Me,De,ze)},y.doesNotThrow=function(Me,De,ze){Le(!1,Me,De,ze)},y.ifError=function(Me){if(Me)throw Me};function we(Me,De){Me||ce(Me,!0,De,"==",we)}y.strict=te(we,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var Ae=Object.keys||function(Me){var De=[];for(var ze in Me)ue.call(Me,ze)&&De.push(ze);return De}}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(x,Se,he){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,he){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,he){(function(ae,te){(function(){var le=/%[sdj%]/g;he.format=function(Qe){if(!pe(Qe)){for(var Je=[],Ge=0;Ge<arguments.length;Ge++)Je.push(ue(arguments[Ge]));return Je.join(" ")}for(var Ge=1,ke=arguments,_e=ke.length,tt=String(Qe).replace(le,function(ct){if(ct==="%%")return"%";if(Ge>=_e)return ct;switch(ct){case"%s":return String(ke[Ge++]);case"%d":return Number(ke[Ge++]);case"%j":try{return JSON.stringify(ke[Ge++])}catch(Ye){return"[Circular]"}default:return ct}}),Xe=ke[Ge];Ge<_e;Xe=ke[++Ge])ge(Xe)||!Le(Xe)?tt+=" "+Xe:tt+=" "+ue(Xe);return tt},he.deprecate=function(Qe,Je){if(ye(te.process))return function(){return he.deprecate(Qe,Je).apply(this,arguments)};if(ae.noDeprecation===!0)return Qe;var Ge=!1;function ke(){if(!Ge){if(ae.throwDeprecation)throw new Error(Je);ae.traceDeprecation?console.trace(Je):console.error(Je),Ge=!0}return Qe.apply(this,arguments)}return ke};var de={},se;he.debuglog=function(Qe){if(ye(se)&&(se=ae.env.NODE_DEBUG||""),Qe=Qe.toUpperCase(),!de[Qe])if(new RegExp("\\b"+Qe+"\\b","i").test(se)){var Je=ae.pid;de[Qe]=function(){var Ge=he.format.apply(he,arguments);console.error("%s %d: %s",Qe,Je,Ge)}}else de[Qe]=function(){};return de[Qe]};function ue(Qe,Je){var Ge={seen:[],stylize:ie};return arguments.length>=3&&(Ge.depth=arguments[2]),arguments.length>=4&&(Ge.colors=arguments[3]),ce(Je)?Ge.showHidden=Je:Je&&he._extend(Ge,Je),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,Qe,Ge.depth)}he.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(Qe,Je){var Ge=ue.styles[Je];return Ge?"\x1B["+ue.colors[Ge][0]+"m"+Qe+"\x1B["+ue.colors[Ge][1]+"m":Qe}function ie(Qe,Je){return Qe}function ne(Qe){var Je={};return Qe.forEach(function(Ge,ke){Je[Ge]=!0}),Je}function a(Qe,Je,Ge){if(Qe.customInspect&&Je&&Me(Je.inspect)&&Je.inspect!==he.inspect&&!(Je.constructor&&Je.constructor.prototype===Je)){var ke=Je.inspect(Ge,Qe);return pe(ke)||(ke=a(Qe,ke,Ge)),ke}var _e=y(Qe,Je);if(_e)return _e;var tt=Object.keys(Je),Xe=ne(tt);if(Qe.showHidden&&(tt=Object.getOwnPropertyNames(Je)),Ae(Je)&&(tt.indexOf("message")>=0||tt.indexOf("description")>=0))return E(Je);if(tt.length===0){if(Me(Je)){var ct=Je.name?": "+Je.name:"";return Qe.stylize("[Function"+ct+"]","special")}if(be(Je))return Qe.stylize(RegExp.prototype.toString.call(Je),"regexp");if(we(Je))return Qe.stylize(Date.prototype.toString.call(Je),"date");if(Ae(Je))return E(Je)}var Ye="",Ne=!1,Oe=["{","}"];if(re(Je)&&(Ne=!0,Oe=["[","]"]),Me(Je)){var Ue=Je.name?": "+Je.name:"";Ye=" [Function"+Ue+"]"}if(be(Je)&&(Ye=" "+RegExp.prototype.toString.call(Je)),we(Je)&&(Ye=" "+Date.prototype.toUTCString.call(Je)),Ae(Je)&&(Ye=" "+E(Je)),tt.length===0&&(!Ne||Je.length==0))return Oe[0]+Ye+Oe[1];if(Ge<0)return be(Je)?Qe.stylize(RegExp.prototype.toString.call(Je),"regexp"):Qe.stylize("[Object]","special");Qe.seen.push(Je);var xe;return Ne?xe=b(Qe,Je,Ge,Xe,tt):xe=tt.map(function(Fe){return z(Qe,Je,Ge,Xe,Fe,Ne)}),Qe.seen.pop(),ee(xe,Ye,Oe)}function y(Qe,Je){if(ye(Je))return Qe.stylize("undefined","undefined");if(pe(Je)){var Ge="'"+JSON.stringify(Je).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Qe.stylize(Ge,"string")}if(fe(Je))return Qe.stylize(""+Je,"number");if(ce(Je))return Qe.stylize(""+Je,"boolean");if(ge(Je))return Qe.stylize("null","null")}function E(Qe){return"["+Error.prototype.toString.call(Qe)+"]"}function b(Qe,Je,Ge,ke,_e){for(var tt=[],Xe=0,ct=Je.length;Xe<ct;++Xe)rt(Je,String(Xe))?tt.push(z(Qe,Je,Ge,ke,String(Xe),!0)):tt.push("");return _e.forEach(function(Ye){Ye.match(/^\d+$/)||tt.push(z(Qe,Je,Ge,ke,Ye,!0))}),tt}function z(Qe,Je,Ge,ke,_e,tt){var Xe,ct,Ye;if(Ye=Object.getOwnPropertyDescriptor(Je,_e)||{value:Je[_e]},Ye.get?Ye.set?ct=Qe.stylize("[Getter/Setter]","special"):ct=Qe.stylize("[Getter]","special"):Ye.set&&(ct=Qe.stylize("[Setter]","special")),rt(ke,_e)||(Xe="["+_e+"]"),ct||(Qe.seen.indexOf(Ye.value)<0?(ge(Ge)?ct=a(Qe,Ye.value,null):ct=a(Qe,Ye.value,Ge-1),ct.indexOf(`
|
|
`)>-1&&(tt?ct=ct.split(`
|
|
`).map(function(Ne){return" "+Ne}).join(`
|
|
`).substr(2):ct=`
|
|
`+ct.split(`
|
|
`).map(function(Ne){return" "+Ne}).join(`
|
|
`))):ct=Qe.stylize("[Circular]","special")),ye(Xe)){if(tt&&_e.match(/^\d+$/))return ct;Xe=JSON.stringify(""+_e),Xe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Xe=Xe.substr(1,Xe.length-2),Xe=Qe.stylize(Xe,"name")):(Xe=Xe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Xe=Qe.stylize(Xe,"string"))}return Xe+": "+ct}function ee(Qe,Je,Ge){var ke=0,_e=Qe.reduce(function(tt,Xe){return ke++,Xe.indexOf(`
|
|
`)>=0&&ke++,tt+Xe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return _e>60?Ge[0]+(Je===""?"":Je+`
|
|
`)+" "+Qe.join(`,
|
|
`)+" "+Ge[1]:Ge[0]+Je+" "+Qe.join(", ")+" "+Ge[1]}function re(Qe){return Array.isArray(Qe)}he.isArray=re;function ce(Qe){return typeof Qe=="boolean"}he.isBoolean=ce;function ge(Qe){return Qe===null}he.isNull=ge;function ve(Qe){return Qe==null}he.isNullOrUndefined=ve;function fe(Qe){return typeof Qe=="number"}he.isNumber=fe;function pe(Qe){return typeof Qe=="string"}he.isString=pe;function me(Qe){return typeof Qe=="symbol"}he.isSymbol=me;function ye(Qe){return Qe===void 0}he.isUndefined=ye;function be(Qe){return Le(Qe)&&ze(Qe)==="[object RegExp]"}he.isRegExp=be;function Le(Qe){return typeof Qe=="object"&&Qe!==null}he.isObject=Le;function we(Qe){return Le(Qe)&&ze(Qe)==="[object Date]"}he.isDate=we;function Ae(Qe){return Le(Qe)&&(ze(Qe)==="[object Error]"||Qe instanceof Error)}he.isError=Ae;function Me(Qe){return typeof Qe=="function"}he.isFunction=Me;function De(Qe){return Qe===null||typeof Qe=="boolean"||typeof Qe=="number"||typeof Qe=="string"||typeof Qe=="symbol"||typeof Qe=="undefined"}he.isPrimitive=De,he.isBuffer=x("./support/isBuffer");function ze(Qe){return Object.prototype.toString.call(Qe)}function qe(Qe){return Qe<10?"0"+Qe.toString(10):Qe.toString(10)}var Re=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ot(){var Qe=new Date,Je=[qe(Qe.getHours()),qe(Qe.getMinutes()),qe(Qe.getSeconds())].join(":");return[Qe.getDate(),Re[Qe.getMonth()],Je].join(" ")}he.log=function(){console.log("%s - %s",ot(),he.format.apply(he,arguments))},he.inherits=x("inherits"),he._extend=function(Qe,Je){if(!Je||!Le(Je))return Qe;for(var Ge=Object.keys(Je),ke=Ge.length;ke--;)Qe[Ge[ke]]=Je[Ge[ke]];return Qe};function rt(Qe,Je){return Object.prototype.hasOwnProperty.call(Qe,Je)}}).call(this)}).call(this,x("_process"),typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(x,Se,he){(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;ue<te.length;ue++)typeof le[te[ue]]=="function"&&(se[se.length]=te[ue]);return se}}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(x,Se,he){"use strict";he.byteLength=ie,he.toByteArray=a,he.fromByteArray=b;for(var ae=[],te=[],le=typeof Uint8Array!="undefined"?Uint8Array:Array,de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=0,ue=de.length;se<ue;++se)ae[se]=de[se],te[de.charCodeAt(se)]=se;te[45]=62,te[95]=63;function oe(z){var ee=z.length;if(ee%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var re=z.indexOf("=");re===-1&&(re=ee);var 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],ge=re[1],ve=new le(ne(z,ce,ge)),fe=0,pe=ge>0?ce-4:ce,me;for(me=0;me<pe;me+=4)ee=te[z.charCodeAt(me)]<<18|te[z.charCodeAt(me+1)]<<12|te[z.charCodeAt(me+2)]<<6|te[z.charCodeAt(me+3)],ve[fe++]=ee>>16&255,ve[fe++]=ee>>8&255,ve[fe++]=ee&255;return ge===2&&(ee=te[z.charCodeAt(me)]<<2|te[z.charCodeAt(me+1)]>>4,ve[fe++]=ee&255),ge===1&&(ee=te[z.charCodeAt(me)]<<10|te[z.charCodeAt(me+1)]<<4|te[z.charCodeAt(me+2)]>>2,ve[fe++]=ee>>8&255,ve[fe++]=ee&255),ve}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,ge=[],ve=ee;ve<re;ve+=3)ce=(z[ve]<<16&16711680)+(z[ve+1]<<8&65280)+(z[ve+2]&255),ge.push(y(ce));return ge.join("")}function b(z){for(var ee,re=z.length,ce=re%3,ge=[],ve=16383,fe=0,pe=re-ce;fe<pe;fe+=ve)ge.push(E(z,fe,fe+ve>pe?pe:fe+ve));return ce===1?(ee=z[re-1],ge.push(ae[ee>>2]+ae[ee<<4&63]+"==")):ce===2&&(ee=(z[re-2]<<8)+z[re-1],ge.push(ae[ee>>10]+ae[ee>>4&63]+ae[ee<<2&63]+"=")),ge.join("")}},{}],88:[function(x,Se,he){(function(ae,te,le){typeof Se!="undefined"&&Se.exports?Se.exports=le():typeof Ce=="function"&&Ce.amd?Ce(te,le):ae[te]=le()})(this,"bowser",function(){var ae=!0;function te(ne){function a(Je){var Ge=ne.match(Je);return Ge&&Ge.length>1&&Ge[1]||""}function y(Je){var Ge=ne.match(Je);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),ge=/silk/i.test(ne),ve=/sailfish/i.test(ne),fe=/tizen/i.test(ne),pe=/(web|hpw)(o|0)s/i.test(ne),me=/windows phone/i.test(ne),ye=/SamsungBrowser/i.test(ne),be=!me&&/windows/i.test(ne),Le=!E&&!ge&&/macintosh/i.test(ne),we=!z&&!ve&&!fe&&!pe&&/linux/i.test(ne),Ae=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Me=a(/version\/(\d+(\.\d+)?)/i),De=/tablet/i.test(ne)&&!/tablet pc/i.test(ne),ze=!De&&/[^-]mobi/i.test(ne),qe=/xbox/i.test(ne),Re;/opera/i.test(ne)?Re={name:"Opera",opera:ae,version:Me||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ne)?Re={name:"Opera",opera:ae,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Me}:/SamsungBrowser/i.test(ne)?Re={name:"Samsung Internet for Android",samsungBrowser:ae,version:Me||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ne)?Re={name:"NAVER Whale browser",whale:ae,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ne)?Re={name:"MZ Browser",mzbrowser:ae,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ne)?Re={name:"Opera Coast",coast:ae,version:Me||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ne)?Re={name:"Focus",focus:ae,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ne)?Re={name:"Yandex Browser",yandexbrowser:ae,version:Me||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ne)?Re={name:"UC Browser",ucbrowser:ae,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ne)?Re={name:"Maxthon",maxthon:ae,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ne)?Re={name:"Epiphany",epiphany:ae,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ne)?Re={name:"Puffin",puffin:ae,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ne)?Re={name:"Sleipnir",sleipnir:ae,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ne)?Re={name:"K-Meleon",kMeleon:ae,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:me?(Re={name:"Windows Phone",osname:"Windows Phone",windowsphone:ae},Ae?(Re.msedge=ae,Re.version=Ae):(Re.msie=ae,Re.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ne)?Re={name:"Internet Explorer",msie:ae,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:ce?Re={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)?Re={name:"Microsoft Edge",msedge:ae,version:Ae}:/vivaldi/i.test(ne)?Re={name:"Vivaldi",vivaldi:ae,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||Me}:ve?Re={name:"Sailfish",osname:"Sailfish OS",sailfish:ae,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ne)?Re={name:"SeaMonkey",seamonkey:ae,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ne)?(Re={name:"Firefox",firefox:ae,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ne)&&(Re.firefoxos=ae,Re.osname="Firefox OS")):ge?Re={name:"Amazon Silk",silk:ae,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ne)?Re={name:"PhantomJS",phantom:ae,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ne)?Re={name:"SlimerJS",slimer:ae,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ne)||/rim\stablet/i.test(ne)?Re={name:"BlackBerry",osname:"BlackBerry OS",blackberry:ae,version:Me||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:pe?(Re={name:"WebOS",osname:"WebOS",webos:ae,version:Me||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ne)&&(Re.touchpad=ae)):/bada/i.test(ne)?Re={name:"Bada",osname:"Bada",bada:ae,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:fe?Re={name:"Tizen",osname:"Tizen",tizen:ae,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Me}:/qupzilla/i.test(ne)?Re={name:"QupZilla",qupzilla:ae,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Me}:/chromium/i.test(ne)?Re={name:"Chromium",chromium:ae,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Me}:/chrome|crios|crmo/i.test(ne)?Re={name:"Chrome",chrome:ae,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:z?Re={name:"Android",version:Me}:/safari|applewebkit/i.test(ne)?(Re={name:"Safari",safari:ae},Me&&(Re.version=Me)):E?(Re={name:E=="iphone"?"iPhone":E=="ipad"?"iPad":"iPod"},Me&&(Re.version=Me)):/googlebot/i.test(ne)?Re={name:"Googlebot",googlebot:ae,version:a(/googlebot\/(\d+(\.\d+))/i)||Me}:Re={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!Re.msedge&&/(apple)?webkit/i.test(ne)?(/(apple)?webkit\/537\.36/i.test(ne)?(Re.name=Re.name||"Blink",Re.blink=ae):(Re.name=Re.name||"Webkit",Re.webkit=ae),!Re.version&&Me&&(Re.version=Me)):!Re.opera&&/gecko\//i.test(ne)&&(Re.name=Re.name||"Gecko",Re.gecko=ae,Re.version=Re.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Re.windowsphone&&(z||Re.silk)?(Re.android=ae,Re.osname="Android"):!Re.windowsphone&&E?(Re[E]=ae,Re.ios=ae,Re.osname="iOS"):Le?(Re.mac=ae,Re.osname="macOS"):qe?(Re.xbox=ae,Re.osname="Xbox"):be?(Re.windows=ae,Re.osname="Windows"):we&&(Re.linux=ae,Re.osname="Linux");function ot(Je){switch(Je){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var rt="";Re.windows?rt=ot(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Re.windowsphone?rt=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Re.mac?(rt=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),rt=rt.replace(/[_\s]/g,".")):E?(rt=a(/os (\d+([_\s]\d+)*) like mac os x/i),rt=rt.replace(/[_\s]/g,".")):z?rt=a(/android[ \/-](\d+(\.\d+)*)/i):Re.webos?rt=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Re.blackberry?rt=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Re.bada?rt=a(/bada\/(\d+(\.\d+)*)/i):Re.tizen&&(rt=a(/tizen[\/\s](\d+(\.\d+)*)/i)),rt&&(Re.osversion=rt);var Qe=!Re.windows&&rt.split(".")[0];return De||re||E=="ipad"||z&&(Qe==3||Qe>=4&&!ze)||Re.silk?Re.tablet=ae:(ze||E=="iphone"||E=="ipod"||z||ee||Re.blackberry||Re.webos||Re.bada)&&(Re.mobile=ae),Re.msedge||Re.msie&&Re.version>=10||Re.yandexbrowser&&Re.version>=15||Re.vivaldi&&Re.version>=1||Re.chrome&&Re.version>=20||Re.samsungBrowser&&Re.version>=4||Re.whale&&ue([Re.version,"1.0"])===1||Re.mzbrowser&&ue([Re.version,"6.0"])===1||Re.focus&&ue([Re.version,"1.0"])===1||Re.firefox&&Re.version>=20||Re.safari&&Re.version>=6||Re.opera&&Re.version>=10||Re.ios&&Re.osversion&&Re.osversion.split(".")[0]>=6||Re.blackberry&&Re.version>=10.1||Re.chromium&&Re.version>=20?Re.a=ae:Re.msie&&Re.version<10||Re.chrome&&Re.version<20||Re.firefox&&Re.version<20||Re.safari&&Re.version<6||Re.opera&&Re.version<10||Re.ios&&Re.osversion&&Re.osversion.split(".")[0]<6||Re.chromium&&Re.version<20?Re.c=ae:Re.x=ae,Re}var le=te(typeof navigator!="undefined"&&navigator.userAgent||"");le.test=function(ne){for(var a=0;a<ne.length;++a){var y=ne[a];if(typeof y=="string"&&y in le)return!0}return!1};function de(ne){return ne.split(".").length}function se(ne,a){var y=[],E;if(Array.prototype.map)return Array.prototype.map.call(ne,a);for(E=0;E<ne.length;E++)y.push(a(ne[E]));return y}function ue(ne){for(var a=Math.max(de(ne[0]),de(ne[1])),y=se(ne,function(E){var b=a-de(E);return E=E+new Array(b+1).join(".0"),se(E.split("."),function(z){return new Array(20-z.length).join("0")+z}).reverse()});--a>=0;){if(y[0][a]>y[1][a])return 1;if(y[0][a]===y[1][a]){if(a===0)return 0}else return-1}}function 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,he){},{}],90:[function(x,Se,he){(function(ae){(function(){"use strict";var te=x("base64-js"),le=x("ieee754");he.Buffer=oe,he.SlowBuffer=ce,he.INSPECT_MAX_BYTES=50;var de=2147483647;he.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 Te=new Uint8Array(1);return Te.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Te.foo()===42}catch(Ee){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(Te){if(Te>de)throw new RangeError('The value "'+Te+'" is invalid for option "size"');var Ee=new Uint8Array(Te);return Ee.__proto__=oe.prototype,Ee}function oe(Te,Ee,Pe){if(typeof Te=="number"){if(typeof Ee=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(Te)}return ie(Te,Ee,Pe)}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(Te,Ee,Pe){if(typeof Te=="string")return E(Te,Ee);if(ArrayBuffer.isView(Te))return b(Te);if(Te==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Te);if(We(Te,ArrayBuffer)||Te&&We(Te.buffer,ArrayBuffer))return z(Te,Ee,Pe);if(typeof Te=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var je=Te.valueOf&&Te.valueOf();if(je!=null&&je!==Te)return oe.from(je,Ee,Pe);var Ke=ee(Te);if(Ke)return Ke;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Te[Symbol.toPrimitive]=="function")return oe.from(Te[Symbol.toPrimitive]("string"),Ee,Pe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Te)}oe.from=function(Te,Ee,Pe){return ie(Te,Ee,Pe)},oe.prototype.__proto__=Uint8Array.prototype,oe.__proto__=Uint8Array;function ne(Te){if(typeof Te!="number")throw new TypeError('"size" argument must be of type number');if(Te<0)throw new RangeError('The value "'+Te+'" is invalid for option "size"')}function a(Te,Ee,Pe){return ne(Te),Te<=0?ue(Te):Ee!==void 0?typeof Pe=="string"?ue(Te).fill(Ee,Pe):ue(Te).fill(Ee):ue(Te)}oe.alloc=function(Te,Ee,Pe){return a(Te,Ee,Pe)};function y(Te){return ne(Te),ue(Te<0?0:re(Te)|0)}oe.allocUnsafe=function(Te){return y(Te)},oe.allocUnsafeSlow=function(Te){return y(Te)};function E(Te,Ee){if((typeof Ee!="string"||Ee==="")&&(Ee="utf8"),!oe.isEncoding(Ee))throw new TypeError("Unknown encoding: "+Ee);var Pe=ge(Te,Ee)|0,je=ue(Pe),Ke=je.write(Te,Ee);return Ke!==Pe&&(je=je.slice(0,Ke)),je}function b(Te){for(var Ee=Te.length<0?0:re(Te.length)|0,Pe=ue(Ee),je=0;je<Ee;je+=1)Pe[je]=Te[je]&255;return Pe}function z(Te,Ee,Pe){if(Ee<0||Te.byteLength<Ee)throw new RangeError('"offset" is outside of buffer bounds');if(Te.byteLength<Ee+(Pe||0))throw new RangeError('"length" is outside of buffer bounds');var je;return Ee===void 0&&Pe===void 0?je=new Uint8Array(Te):Pe===void 0?je=new Uint8Array(Te,Ee):je=new Uint8Array(Te,Ee,Pe),je.__proto__=oe.prototype,je}function ee(Te){if(oe.isBuffer(Te)){var Ee=re(Te.length)|0,Pe=ue(Ee);return Pe.length===0||Te.copy(Pe,0,0,Ee),Pe}if(Te.length!==void 0)return typeof Te.length!="number"||Ie(Te.length)?ue(0):b(Te);if(Te.type==="Buffer"&&Array.isArray(Te.data))return b(Te.data)}function re(Te){if(Te>=de)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+de.toString(16)+" bytes");return Te|0}function ce(Te){return+Te!=Te&&(Te=0),oe.alloc(+Te)}oe.isBuffer=function(Ee){return Ee!=null&&Ee._isBuffer===!0&&Ee!==oe.prototype},oe.compare=function(Ee,Pe){if(We(Ee,Uint8Array)&&(Ee=oe.from(Ee,Ee.offset,Ee.byteLength)),We(Pe,Uint8Array)&&(Pe=oe.from(Pe,Pe.offset,Pe.byteLength)),!oe.isBuffer(Ee)||!oe.isBuffer(Pe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ee===Pe)return 0;for(var je=Ee.length,Ke=Pe.length,at=0,Ze=Math.min(je,Ke);at<Ze;++at)if(Ee[at]!==Pe[at]){je=Ee[at],Ke=Pe[at];break}return je<Ke?-1:Ke<je?1:0},oe.isEncoding=function(Ee){switch(String(Ee).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},oe.concat=function(Ee,Pe){if(!Array.isArray(Ee))throw new TypeError('"list" argument must be an Array of Buffers');if(Ee.length===0)return oe.alloc(0);var je;if(Pe===void 0)for(Pe=0,je=0;je<Ee.length;++je)Pe+=Ee[je].length;var Ke=oe.allocUnsafe(Pe),at=0;for(je=0;je<Ee.length;++je){var Ze=Ee[je];if(We(Ze,Uint8Array)&&(Ze=oe.from(Ze)),!oe.isBuffer(Ze))throw new TypeError('"list" argument must be an Array of Buffers');Ze.copy(Ke,at),at+=Ze.length}return Ke};function ge(Te,Ee){if(oe.isBuffer(Te))return Te.length;if(ArrayBuffer.isView(Te)||We(Te,ArrayBuffer))return Te.byteLength;if(typeof Te!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Te);var Pe=Te.length,je=arguments.length>2&&arguments[2]===!0;if(!je&&Pe===0)return 0;for(var Ke=!1;;)switch(Ee){case"ascii":case"latin1":case"binary":return Pe;case"utf8":case"utf-8":return Oe(Te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pe*2;case"hex":return Pe>>>1;case"base64":return Fe(Te).length;default:if(Ke)return je?-1:Oe(Te).length;Ee=(""+Ee).toLowerCase(),Ke=!0}}oe.byteLength=ge;function ve(Te,Ee,Pe){var je=!1;if((Ee===void 0||Ee<0)&&(Ee=0),Ee>this.length||((Pe===void 0||Pe>this.length)&&(Pe=this.length),Pe<=0)||(Pe>>>=0,Ee>>>=0,Pe<=Ee))return"";for(Te||(Te="utf8");;)switch(Te){case"hex":return Qe(this,Ee,Pe);case"utf8":case"utf-8":return ze(this,Ee,Pe);case"ascii":return ot(this,Ee,Pe);case"latin1":case"binary":return rt(this,Ee,Pe);case"base64":return De(this,Ee,Pe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Je(this,Ee,Pe);default:if(je)throw new TypeError("Unknown encoding: "+Te);Te=(Te+"").toLowerCase(),je=!0}}oe.prototype._isBuffer=!0;function fe(Te,Ee,Pe){var je=Te[Ee];Te[Ee]=Te[Pe],Te[Pe]=je}oe.prototype.swap16=function(){var Ee=this.length;if(Ee%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Pe=0;Pe<Ee;Pe+=2)fe(this,Pe,Pe+1);return this},oe.prototype.swap32=function(){var Ee=this.length;if(Ee%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Pe=0;Pe<Ee;Pe+=4)fe(this,Pe,Pe+3),fe(this,Pe+1,Pe+2);return this},oe.prototype.swap64=function(){var Ee=this.length;if(Ee%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Pe=0;Pe<Ee;Pe+=8)fe(this,Pe,Pe+7),fe(this,Pe+1,Pe+6),fe(this,Pe+2,Pe+5),fe(this,Pe+3,Pe+4);return this},oe.prototype.toString=function(){var Ee=this.length;return Ee===0?"":arguments.length===0?ze(this,0,Ee):ve.apply(this,arguments)},oe.prototype.toLocaleString=oe.prototype.toString,oe.prototype.equals=function(Ee){if(!oe.isBuffer(Ee))throw new TypeError("Argument must be a Buffer");return this===Ee?!0:oe.compare(this,Ee)===0},oe.prototype.inspect=function(){var Ee="",Pe=he.INSPECT_MAX_BYTES;return Ee=this.toString("hex",0,Pe).replace(/(.{2})/g,"$1 ").trim(),this.length>Pe&&(Ee+=" ... "),"<Buffer "+Ee+">"},oe.prototype.compare=function(Ee,Pe,je,Ke,at){if(We(Ee,Uint8Array)&&(Ee=oe.from(Ee,Ee.offset,Ee.byteLength)),!oe.isBuffer(Ee))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ee);if(Pe===void 0&&(Pe=0),je===void 0&&(je=Ee?Ee.length:0),Ke===void 0&&(Ke=0),at===void 0&&(at=this.length),Pe<0||je>Ee.length||Ke<0||at>this.length)throw new RangeError("out of range index");if(Ke>=at&&Pe>=je)return 0;if(Ke>=at)return-1;if(Pe>=je)return 1;if(Pe>>>=0,je>>>=0,Ke>>>=0,at>>>=0,this===Ee)return 0;for(var Ze=at-Ke,it=je-Pe,pt=Math.min(Ze,it),dt=this.slice(Ke,at),vt=Ee.slice(Pe,je),st=0;st<pt;++st)if(dt[st]!==vt[st]){Ze=dt[st],it=vt[st];break}return Ze<it?-1:it<Ze?1:0};function pe(Te,Ee,Pe,je,Ke){if(Te.length===0)return-1;if(typeof Pe=="string"?(je=Pe,Pe=0):Pe>2147483647?Pe=2147483647:Pe<-2147483648&&(Pe=-2147483648),Pe=+Pe,Ie(Pe)&&(Pe=Ke?0:Te.length-1),Pe<0&&(Pe=Te.length+Pe),Pe>=Te.length){if(Ke)return-1;Pe=Te.length-1}else if(Pe<0)if(Ke)Pe=0;else return-1;if(typeof Ee=="string"&&(Ee=oe.from(Ee,je)),oe.isBuffer(Ee))return Ee.length===0?-1:me(Te,Ee,Pe,je,Ke);if(typeof Ee=="number")return Ee=Ee&255,typeof Uint8Array.prototype.indexOf=="function"?Ke?Uint8Array.prototype.indexOf.call(Te,Ee,Pe):Uint8Array.prototype.lastIndexOf.call(Te,Ee,Pe):me(Te,[Ee],Pe,je,Ke);throw new TypeError("val must be string, number or Buffer")}function me(Te,Ee,Pe,je,Ke){var at=1,Ze=Te.length,it=Ee.length;if(je!==void 0&&(je=String(je).toLowerCase(),je==="ucs2"||je==="ucs-2"||je==="utf16le"||je==="utf-16le")){if(Te.length<2||Ee.length<2)return-1;at=2,Ze/=2,it/=2,Pe/=2}function pt($e,lt){return at===1?$e[lt]:$e.readUInt16BE(lt*at)}var dt;if(Ke){var vt=-1;for(dt=Pe;dt<Ze;dt++)if(pt(Te,dt)===pt(Ee,vt===-1?0:dt-vt)){if(vt===-1&&(vt=dt),dt-vt+1===it)return vt*at}else vt!==-1&&(dt-=dt-vt),vt=-1}else for(Pe+it>Ze&&(Pe=Ze-it),dt=Pe;dt>=0;dt--){for(var st=!0,ht=0;ht<it;ht++)if(pt(Te,dt+ht)!==pt(Ee,ht)){st=!1;break}if(st)return dt}return-1}oe.prototype.includes=function(Ee,Pe,je){return this.indexOf(Ee,Pe,je)!==-1},oe.prototype.indexOf=function(Ee,Pe,je){return pe(this,Ee,Pe,je,!0)},oe.prototype.lastIndexOf=function(Ee,Pe,je){return pe(this,Ee,Pe,je,!1)};function ye(Te,Ee,Pe,je){Pe=Number(Pe)||0;var Ke=Te.length-Pe;je?(je=Number(je),je>Ke&&(je=Ke)):je=Ke;var at=Ee.length;je>at/2&&(je=at/2);for(var Ze=0;Ze<je;++Ze){var it=parseInt(Ee.substr(Ze*2,2),16);if(Ie(it))return Ze;Te[Pe+Ze]=it}return Ze}function be(Te,Ee,Pe,je){return He(Oe(Ee,Te.length-Pe),Te,Pe,je)}function Le(Te,Ee,Pe,je){return He(Ue(Ee),Te,Pe,je)}function we(Te,Ee,Pe,je){return Le(Te,Ee,Pe,je)}function Ae(Te,Ee,Pe,je){return He(Fe(Ee),Te,Pe,je)}function Me(Te,Ee,Pe,je){return He(xe(Ee,Te.length-Pe),Te,Pe,je)}oe.prototype.write=function(Ee,Pe,je,Ke){if(Pe===void 0)Ke="utf8",je=this.length,Pe=0;else if(je===void 0&&typeof Pe=="string")Ke=Pe,je=this.length,Pe=0;else if(isFinite(Pe))Pe=Pe>>>0,isFinite(je)?(je=je>>>0,Ke===void 0&&(Ke="utf8")):(Ke=je,je=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var at=this.length-Pe;if((je===void 0||je>at)&&(je=at),Ee.length>0&&(je<0||Pe<0)||Pe>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ke||(Ke="utf8");for(var Ze=!1;;)switch(Ke){case"hex":return ye(this,Ee,Pe,je);case"utf8":case"utf-8":return be(this,Ee,Pe,je);case"ascii":return Le(this,Ee,Pe,je);case"latin1":case"binary":return we(this,Ee,Pe,je);case"base64":return Ae(this,Ee,Pe,je);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Me(this,Ee,Pe,je);default:if(Ze)throw new TypeError("Unknown encoding: "+Ke);Ke=(""+Ke).toLowerCase(),Ze=!0}},oe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function De(Te,Ee,Pe){return Ee===0&&Pe===Te.length?te.fromByteArray(Te):te.fromByteArray(Te.slice(Ee,Pe))}function ze(Te,Ee,Pe){Pe=Math.min(Te.length,Pe);for(var je=[],Ke=Ee;Ke<Pe;){var at=Te[Ke],Ze=null,it=at>239?4:at>223?3:at>191?2:1;if(Ke+it<=Pe){var pt,dt,vt,st;switch(it){case 1:at<128&&(Ze=at);break;case 2:pt=Te[Ke+1],(pt&192)===128&&(st=(at&31)<<6|pt&63,st>127&&(Ze=st));break;case 3:pt=Te[Ke+1],dt=Te[Ke+2],(pt&192)===128&&(dt&192)===128&&(st=(at&15)<<12|(pt&63)<<6|dt&63,st>2047&&(st<55296||st>57343)&&(Ze=st));break;case 4:pt=Te[Ke+1],dt=Te[Ke+2],vt=Te[Ke+3],(pt&192)===128&&(dt&192)===128&&(vt&192)===128&&(st=(at&15)<<18|(pt&63)<<12|(dt&63)<<6|vt&63,st>65535&&st<1114112&&(Ze=st))}}Ze===null?(Ze=65533,it=1):Ze>65535&&(Ze-=65536,je.push(Ze>>>10&1023|55296),Ze=56320|Ze&1023),je.push(Ze),Ke+=it}return Re(je)}var qe=4096;function Re(Te){var Ee=Te.length;if(Ee<=qe)return String.fromCharCode.apply(String,Te);for(var Pe="",je=0;je<Ee;)Pe+=String.fromCharCode.apply(String,Te.slice(je,je+=qe));return Pe}function ot(Te,Ee,Pe){var je="";Pe=Math.min(Te.length,Pe);for(var Ke=Ee;Ke<Pe;++Ke)je+=String.fromCharCode(Te[Ke]&127);return je}function rt(Te,Ee,Pe){var je="";Pe=Math.min(Te.length,Pe);for(var Ke=Ee;Ke<Pe;++Ke)je+=String.fromCharCode(Te[Ke]);return je}function Qe(Te,Ee,Pe){var je=Te.length;(!Ee||Ee<0)&&(Ee=0),(!Pe||Pe<0||Pe>je)&&(Pe=je);for(var Ke="",at=Ee;at<Pe;++at)Ke+=Ne(Te[at]);return Ke}function Je(Te,Ee,Pe){for(var je=Te.slice(Ee,Pe),Ke="",at=0;at<je.length;at+=2)Ke+=String.fromCharCode(je[at]+je[at+1]*256);return Ke}oe.prototype.slice=function(Ee,Pe){var je=this.length;Ee=~~Ee,Pe=Pe===void 0?je:~~Pe,Ee<0?(Ee+=je,Ee<0&&(Ee=0)):Ee>je&&(Ee=je),Pe<0?(Pe+=je,Pe<0&&(Pe=0)):Pe>je&&(Pe=je),Pe<Ee&&(Pe=Ee);var Ke=this.subarray(Ee,Pe);return Ke.__proto__=oe.prototype,Ke};function Ge(Te,Ee,Pe){if(Te%1!==0||Te<0)throw new RangeError("offset is not uint");if(Te+Ee>Pe)throw new RangeError("Trying to access beyond buffer length")}oe.prototype.readUIntLE=function(Ee,Pe,je){Ee=Ee>>>0,Pe=Pe>>>0,je||Ge(Ee,Pe,this.length);for(var Ke=this[Ee],at=1,Ze=0;++Ze<Pe&&(at*=256);)Ke+=this[Ee+Ze]*at;return Ke},oe.prototype.readUIntBE=function(Ee,Pe,je){Ee=Ee>>>0,Pe=Pe>>>0,je||Ge(Ee,Pe,this.length);for(var Ke=this[Ee+--Pe],at=1;Pe>0&&(at*=256);)Ke+=this[Ee+--Pe]*at;return Ke},oe.prototype.readUInt8=function(Ee,Pe){return Ee=Ee>>>0,Pe||Ge(Ee,1,this.length),this[Ee]},oe.prototype.readUInt16LE=function(Ee,Pe){return Ee=Ee>>>0,Pe||Ge(Ee,2,this.length),this[Ee]|this[Ee+1]<<8},oe.prototype.readUInt16BE=function(Ee,Pe){return Ee=Ee>>>0,Pe||Ge(Ee,2,this.length),this[Ee]<<8|this[Ee+1]},oe.prototype.readUInt32LE=function(Ee,Pe){return Ee=Ee>>>0,Pe||Ge(Ee,4,this.length),(this[Ee]|this[Ee+1]<<8|this[Ee+2]<<16)+this[Ee+3]*16777216},oe.prototype.readUInt32BE=function(Ee,Pe){return Ee=Ee>>>0,Pe||Ge(Ee,4,this.length),this[Ee]*16777216+(this[Ee+1]<<16|this[Ee+2]<<8|this[Ee+3])},oe.prototype.readIntLE=function(Ee,Pe,je){Ee=Ee>>>0,Pe=Pe>>>0,je||Ge(Ee,Pe,this.length);for(var Ke=this[Ee],at=1,Ze=0;++Ze<Pe&&(at*=256);)Ke+=this[Ee+Ze]*at;return at*=128,Ke>=at&&(Ke-=Math.pow(2,8*Pe)),Ke},oe.prototype.readIntBE=function(Ee,Pe,je){Ee=Ee>>>0,Pe=Pe>>>0,je||Ge(Ee,Pe,this.length);for(var Ke=Pe,at=1,Ze=this[Ee+--Ke];Ke>0&&(at*=256);)Ze+=this[Ee+--Ke]*at;return at*=128,Ze>=at&&(Ze-=Math.pow(2,8*Pe)),Ze},oe.prototype.readInt8=function(Ee,Pe){return Ee=Ee>>>0,Pe||Ge(Ee,1,this.length),this[Ee]&128?(255-this[Ee]+1)*-1:this[Ee]},oe.prototype.readInt16LE=function(Ee,Pe){Ee=Ee>>>0,Pe||Ge(Ee,2,this.length);var je=this[Ee]|this[Ee+1]<<8;return je&32768?je|4294901760:je},oe.prototype.readInt16BE=function(Ee,Pe){Ee=Ee>>>0,Pe||Ge(Ee,2,this.length);var je=this[Ee+1]|this[Ee]<<8;return je&32768?je|4294901760:je},oe.prototype.readInt32LE=function(Ee,Pe){return Ee=Ee>>>0,Pe||Ge(Ee,4,this.length),this[Ee]|this[Ee+1]<<8|this[Ee+2]<<16|this[Ee+3]<<24},oe.prototype.readInt32BE=function(Ee,Pe){return Ee=Ee>>>0,Pe||Ge(Ee,4,this.length),this[Ee]<<24|this[Ee+1]<<16|this[Ee+2]<<8|this[Ee+3]},oe.prototype.readFloatLE=function(Ee,Pe){return Ee=Ee>>>0,Pe||Ge(Ee,4,this.length),le.read(this,Ee,!0,23,4)},oe.prototype.readFloatBE=function(Ee,Pe){return Ee=Ee>>>0,Pe||Ge(Ee,4,this.length),le.read(this,Ee,!1,23,4)},oe.prototype.readDoubleLE=function(Ee,Pe){return Ee=Ee>>>0,Pe||Ge(Ee,8,this.length),le.read(this,Ee,!0,52,8)},oe.prototype.readDoubleBE=function(Ee,Pe){return Ee=Ee>>>0,Pe||Ge(Ee,8,this.length),le.read(this,Ee,!1,52,8)};function ke(Te,Ee,Pe,je,Ke,at){if(!oe.isBuffer(Te))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ee>Ke||Ee<at)throw new RangeError('"value" argument is out of bounds');if(Pe+je>Te.length)throw new RangeError("Index out of range")}oe.prototype.writeUIntLE=function(Ee,Pe,je,Ke){if(Ee=+Ee,Pe=Pe>>>0,je=je>>>0,!Ke){var at=Math.pow(2,8*je)-1;ke(this,Ee,Pe,je,at,0)}var Ze=1,it=0;for(this[Pe]=Ee&255;++it<je&&(Ze*=256);)this[Pe+it]=Ee/Ze&255;return Pe+je},oe.prototype.writeUIntBE=function(Ee,Pe,je,Ke){if(Ee=+Ee,Pe=Pe>>>0,je=je>>>0,!Ke){var at=Math.pow(2,8*je)-1;ke(this,Ee,Pe,je,at,0)}var Ze=je-1,it=1;for(this[Pe+Ze]=Ee&255;--Ze>=0&&(it*=256);)this[Pe+Ze]=Ee/it&255;return Pe+je},oe.prototype.writeUInt8=function(Ee,Pe,je){return Ee=+Ee,Pe=Pe>>>0,je||ke(this,Ee,Pe,1,255,0),this[Pe]=Ee&255,Pe+1},oe.prototype.writeUInt16LE=function(Ee,Pe,je){return Ee=+Ee,Pe=Pe>>>0,je||ke(this,Ee,Pe,2,65535,0),this[Pe]=Ee&255,this[Pe+1]=Ee>>>8,Pe+2},oe.prototype.writeUInt16BE=function(Ee,Pe,je){return Ee=+Ee,Pe=Pe>>>0,je||ke(this,Ee,Pe,2,65535,0),this[Pe]=Ee>>>8,this[Pe+1]=Ee&255,Pe+2},oe.prototype.writeUInt32LE=function(Ee,Pe,je){return Ee=+Ee,Pe=Pe>>>0,je||ke(this,Ee,Pe,4,4294967295,0),this[Pe+3]=Ee>>>24,this[Pe+2]=Ee>>>16,this[Pe+1]=Ee>>>8,this[Pe]=Ee&255,Pe+4},oe.prototype.writeUInt32BE=function(Ee,Pe,je){return Ee=+Ee,Pe=Pe>>>0,je||ke(this,Ee,Pe,4,4294967295,0),this[Pe]=Ee>>>24,this[Pe+1]=Ee>>>16,this[Pe+2]=Ee>>>8,this[Pe+3]=Ee&255,Pe+4},oe.prototype.writeIntLE=function(Ee,Pe,je,Ke){if(Ee=+Ee,Pe=Pe>>>0,!Ke){var at=Math.pow(2,8*je-1);ke(this,Ee,Pe,je,at-1,-at)}var Ze=0,it=1,pt=0;for(this[Pe]=Ee&255;++Ze<je&&(it*=256);)Ee<0&&pt===0&&this[Pe+Ze-1]!==0&&(pt=1),this[Pe+Ze]=(Ee/it>>0)-pt&255;return Pe+je},oe.prototype.writeIntBE=function(Ee,Pe,je,Ke){if(Ee=+Ee,Pe=Pe>>>0,!Ke){var at=Math.pow(2,8*je-1);ke(this,Ee,Pe,je,at-1,-at)}var Ze=je-1,it=1,pt=0;for(this[Pe+Ze]=Ee&255;--Ze>=0&&(it*=256);)Ee<0&&pt===0&&this[Pe+Ze+1]!==0&&(pt=1),this[Pe+Ze]=(Ee/it>>0)-pt&255;return Pe+je},oe.prototype.writeInt8=function(Ee,Pe,je){return Ee=+Ee,Pe=Pe>>>0,je||ke(this,Ee,Pe,1,127,-128),Ee<0&&(Ee=255+Ee+1),this[Pe]=Ee&255,Pe+1},oe.prototype.writeInt16LE=function(Ee,Pe,je){return Ee=+Ee,Pe=Pe>>>0,je||ke(this,Ee,Pe,2,32767,-32768),this[Pe]=Ee&255,this[Pe+1]=Ee>>>8,Pe+2},oe.prototype.writeInt16BE=function(Ee,Pe,je){return Ee=+Ee,Pe=Pe>>>0,je||ke(this,Ee,Pe,2,32767,-32768),this[Pe]=Ee>>>8,this[Pe+1]=Ee&255,Pe+2},oe.prototype.writeInt32LE=function(Ee,Pe,je){return Ee=+Ee,Pe=Pe>>>0,je||ke(this,Ee,Pe,4,2147483647,-2147483648),this[Pe]=Ee&255,this[Pe+1]=Ee>>>8,this[Pe+2]=Ee>>>16,this[Pe+3]=Ee>>>24,Pe+4},oe.prototype.writeInt32BE=function(Ee,Pe,je){return Ee=+Ee,Pe=Pe>>>0,je||ke(this,Ee,Pe,4,2147483647,-2147483648),Ee<0&&(Ee=4294967295+Ee+1),this[Pe]=Ee>>>24,this[Pe+1]=Ee>>>16,this[Pe+2]=Ee>>>8,this[Pe+3]=Ee&255,Pe+4};function _e(Te,Ee,Pe,je,Ke,at){if(Pe+je>Te.length)throw new RangeError("Index out of range");if(Pe<0)throw new RangeError("Index out of range")}function tt(Te,Ee,Pe,je,Ke){return Ee=+Ee,Pe=Pe>>>0,Ke||_e(Te,Ee,Pe,4,34028234663852886e22,-34028234663852886e22),le.write(Te,Ee,Pe,je,23,4),Pe+4}oe.prototype.writeFloatLE=function(Ee,Pe,je){return tt(this,Ee,Pe,!0,je)},oe.prototype.writeFloatBE=function(Ee,Pe,je){return tt(this,Ee,Pe,!1,je)};function Xe(Te,Ee,Pe,je,Ke){return Ee=+Ee,Pe=Pe>>>0,Ke||_e(Te,Ee,Pe,8,17976931348623157e292,-17976931348623157e292),le.write(Te,Ee,Pe,je,52,8),Pe+8}oe.prototype.writeDoubleLE=function(Ee,Pe,je){return Xe(this,Ee,Pe,!0,je)},oe.prototype.writeDoubleBE=function(Ee,Pe,je){return Xe(this,Ee,Pe,!1,je)},oe.prototype.copy=function(Ee,Pe,je,Ke){if(!oe.isBuffer(Ee))throw new TypeError("argument should be a Buffer");if(je||(je=0),!Ke&&Ke!==0&&(Ke=this.length),Pe>=Ee.length&&(Pe=Ee.length),Pe||(Pe=0),Ke>0&&Ke<je&&(Ke=je),Ke===je||Ee.length===0||this.length===0)return 0;if(Pe<0)throw new RangeError("targetStart out of bounds");if(je<0||je>=this.length)throw new RangeError("Index out of range");if(Ke<0)throw new RangeError("sourceEnd out of bounds");Ke>this.length&&(Ke=this.length),Ee.length-Pe<Ke-je&&(Ke=Ee.length-Pe+je);var at=Ke-je;if(this===Ee&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Pe,je,Ke);else if(this===Ee&&je<Pe&&Pe<Ke)for(var Ze=at-1;Ze>=0;--Ze)Ee[Ze+Pe]=this[Ze+je];else Uint8Array.prototype.set.call(Ee,this.subarray(je,Ke),Pe);return at},oe.prototype.fill=function(Ee,Pe,je,Ke){if(typeof Ee=="string"){if(typeof Pe=="string"?(Ke=Pe,Pe=0,je=this.length):typeof je=="string"&&(Ke=je,je=this.length),Ke!==void 0&&typeof Ke!="string")throw new TypeError("encoding must be a string");if(typeof Ke=="string"&&!oe.isEncoding(Ke))throw new TypeError("Unknown encoding: "+Ke);if(Ee.length===1){var at=Ee.charCodeAt(0);(Ke==="utf8"&&at<128||Ke==="latin1")&&(Ee=at)}}else typeof Ee=="number"&&(Ee=Ee&255);if(Pe<0||this.length<Pe||this.length<je)throw new RangeError("Out of range index");if(je<=Pe)return this;Pe=Pe>>>0,je=je===void 0?this.length:je>>>0,Ee||(Ee=0);var Ze;if(typeof Ee=="number")for(Ze=Pe;Ze<je;++Ze)this[Ze]=Ee;else{var it=oe.isBuffer(Ee)?Ee:oe.from(Ee,Ke),pt=it.length;if(pt===0)throw new TypeError('The value "'+Ee+'" is invalid for argument "value"');for(Ze=0;Ze<je-Pe;++Ze)this[Ze+Pe]=it[Ze%pt]}return this};var ct=/[^+/0-9A-Za-z-_]/g;function Ye(Te){if(Te=Te.split("=")[0],Te=Te.trim().replace(ct,""),Te.length<2)return"";for(;Te.length%4!==0;)Te=Te+"=";return Te}function Ne(Te){return Te<16?"0"+Te.toString(16):Te.toString(16)}function Oe(Te,Ee){Ee=Ee||1/0;for(var Pe,je=Te.length,Ke=null,at=[],Ze=0;Ze<je;++Ze){if(Pe=Te.charCodeAt(Ze),Pe>55295&&Pe<57344){if(!Ke){if(Pe>56319){(Ee-=3)>-1&&at.push(239,191,189);continue}else if(Ze+1===je){(Ee-=3)>-1&&at.push(239,191,189);continue}Ke=Pe;continue}if(Pe<56320){(Ee-=3)>-1&&at.push(239,191,189),Ke=Pe;continue}Pe=(Ke-55296<<10|Pe-56320)+65536}else Ke&&(Ee-=3)>-1&&at.push(239,191,189);if(Ke=null,Pe<128){if((Ee-=1)<0)break;at.push(Pe)}else if(Pe<2048){if((Ee-=2)<0)break;at.push(Pe>>6|192,Pe&63|128)}else if(Pe<65536){if((Ee-=3)<0)break;at.push(Pe>>12|224,Pe>>6&63|128,Pe&63|128)}else if(Pe<1114112){if((Ee-=4)<0)break;at.push(Pe>>18|240,Pe>>12&63|128,Pe>>6&63|128,Pe&63|128)}else throw new Error("Invalid code point")}return at}function Ue(Te){for(var Ee=[],Pe=0;Pe<Te.length;++Pe)Ee.push(Te.charCodeAt(Pe)&255);return Ee}function xe(Te,Ee){for(var Pe,je,Ke,at=[],Ze=0;Ze<Te.length&&!((Ee-=2)<0);++Ze)Pe=Te.charCodeAt(Ze),je=Pe>>8,Ke=Pe%256,at.push(Ke),at.push(je);return at}function Fe(Te){return te.toByteArray(Ye(Te))}function He(Te,Ee,Pe,je){for(var Ke=0;Ke<je&&!(Ke+Pe>=Ee.length||Ke>=Te.length);++Ke)Ee[Ke+Pe]=Te[Ke];return Ke}function We(Te,Ee){return Te instanceof Ee||Te!=null&&Te.constructor!=null&&Te.constructor.name!=null&&Te.constructor.name===Ee.name}function Ie(Te){return Te!==Te}}).call(this)}).call(this,x("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(x,Se,he){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,he){"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,he){"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,he){"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<se.length;ue++)oe=se[ue],de[oe]===void 0&&(de[oe]=this.src[oe]);return de}for(var ue=0;ue<se.length;ue++){var oe=se[ue];if(le(de,oe)){var ie=this.src.__lookupGetter__(oe),ne=this.src.__lookupSetter__(oe);ie&&de.__defineGetter__(oe,ie),ne&&de.__defineSetter__(oe,ne),!ie&&!ne&&(de[oe]=this.src[oe])}}return de},te.prototype.toCover=function(de){for(var se=this.keys||Object.keys(this.src),ue=0;ue<se.length;ue++){var oe=se[ue];delete de[oe];var ie=this.src.__lookupGetter__(oe),ne=this.src.__lookupSetter__(oe);ie&&de.__defineGetter__(oe,ie),ne&&de.__defineSetter__(oe,ne),!ie&&!ne&&(de[oe]=this.src[oe])}},te.prototype.override=te.prototype.toCover,te.prototype.and=function(de){var se={};return this.to(se),this.src=de,this.to(se),this.src=se,this};function le(de,se){return de[se]===void 0&&de.__lookupGetter__(se)===void 0&&de.__lookupSetter__(se)===void 0}},{}],95:[function(x,Se,he){var ae=x("../internals/global"),te=x("../internals/is-callable"),le=x("../internals/try-to-string"),de=ae.TypeError;Se.exports=function(se){if(te(se))return se;throw de(le(se)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(x,Se,he){var ae=x("../internals/global"),te=x("../internals/is-constructor"),le=x("../internals/try-to-string"),de=ae.TypeError;Se.exports=function(se){if(te(se))return se;throw de(le(se)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(x,Se,he){var ae=x("../internals/global"),te=x("../internals/is-callable"),le=ae.String,de=ae.TypeError;Se.exports=function(se){if(typeof se=="object"||te(se))return se;throw de("Can't set "+le(se)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(x,Se,he){var ae=x("../internals/well-known-symbol"),te=x("../internals/object-create"),le=x("../internals/object-define-property"),de=ae("unscopables"),se=Array.prototype;se[de]==null&&le.f(se,de,{configurable:!0,value:te(null)}),Se.exports=function(ue){se[de][ue]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(x,Se,he){"use strict";var ae=x("../internals/string-multibyte").charAt;Se.exports=function(te,le,de){return le+(de?ae(te,le).length:1)}},{"../internals/string-multibyte":239}],100:[function(x,Se,he){var ae=x("../internals/global"),te=x("../internals/object-is-prototype-of"),le=ae.TypeError;Se.exports=function(de,se){if(te(se,de))return de;throw le("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(x,Se,he){var ae=x("../internals/global"),te=x("../internals/is-object"),le=ae.String,de=ae.TypeError;Se.exports=function(se){if(te(se))return se;throw de(le(se)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(x,Se,he){Se.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(x,Se,he){"use strict";var ae=x("../internals/array-buffer-native"),te=x("../internals/descriptors"),le=x("../internals/global"),de=x("../internals/is-callable"),se=x("../internals/is-object"),ue=x("../internals/has-own-property"),oe=x("../internals/classof"),ie=x("../internals/try-to-string"),ne=x("../internals/create-non-enumerable-property"),a=x("../internals/redefine"),y=x("../internals/object-define-property").f,E=x("../internals/object-is-prototype-of"),b=x("../internals/object-get-prototype-of"),z=x("../internals/object-set-prototype-of"),ee=x("../internals/well-known-symbol"),re=x("../internals/uid"),ce=le.Int8Array,ge=ce&&ce.prototype,ve=le.Uint8ClampedArray,fe=ve&&ve.prototype,pe=ce&&b(ce),me=ge&&b(ge),ye=Object.prototype,be=le.TypeError,Le=ee("toStringTag"),we=re("TYPED_ARRAY_TAG"),Ae=re("TYPED_ARRAY_CONSTRUCTOR"),Me=ae&&!!z&&oe(le.opera)!=="Opera",De=!1,ze,qe,Re,ot={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},rt={BigInt64Array:8,BigUint64Array:8},Qe=function(ct){if(!se(ct))return!1;var Ye=oe(ct);return Ye==="DataView"||ue(ot,Ye)||ue(rt,Ye)},Je=function(Xe){if(!se(Xe))return!1;var ct=oe(Xe);return ue(ot,ct)||ue(rt,ct)},Ge=function(Xe){if(Je(Xe))return Xe;throw be("Target is not a typed array")},ke=function(Xe){if(de(Xe)&&(!z||E(pe,Xe)))return Xe;throw be(ie(Xe)+" is not a typed array constructor")},_e=function(Xe,ct,Ye,Ne){if(te){if(Ye)for(var Oe in ot){var Ue=le[Oe];if(Ue&&ue(Ue.prototype,Xe))try{delete Ue.prototype[Xe]}catch(xe){try{Ue.prototype[Xe]=ct}catch(Fe){}}}(!me[Xe]||Ye)&&a(me,Xe,Ye?ct:Me&&ge[Xe]||ct,Ne)}},tt=function(Xe,ct,Ye){var Ne,Oe;if(te){if(z){if(Ye){for(Ne in ot)if(Oe=le[Ne],Oe&&ue(Oe,Xe))try{delete Oe[Xe]}catch(Ue){}}if(!pe[Xe]||Ye)try{return a(pe,Xe,Ye?ct:Me&&pe[Xe]||ct)}catch(Ue){}else return}for(Ne in ot)Oe=le[Ne],Oe&&(!Oe[Xe]||Ye)&&a(Oe,Xe,ct)}};for(ze in ot)qe=le[ze],Re=qe&&qe.prototype,Re?ne(Re,Ae,qe):Me=!1;for(ze in rt)qe=le[ze],Re=qe&&qe.prototype,Re&&ne(Re,Ae,qe);if((!Me||!de(pe)||pe===Function.prototype)&&(pe=function(){throw be("Incorrect invocation")},Me))for(ze in ot)le[ze]&&z(le[ze],pe);if((!Me||!me||me===ye)&&(me=pe.prototype,Me))for(ze in ot)le[ze]&&z(le[ze].prototype,me);if(Me&&b(fe)!==me&&z(fe,me),te&&!ue(me,Le)){De=!0,y(me,Le,{get:function(){return se(this)?this[we]:void 0}});for(ze in ot)le[ze]&&ne(le[ze],we,ze)}Se.exports={NATIVE_ARRAY_BUFFER_VIEWS:Me,TYPED_ARRAY_CONSTRUCTOR:Ae,TYPED_ARRAY_TAG:De&&we,aTypedArray:Ge,aTypedArrayConstructor:ke,exportTypedArrayMethod:_e,exportTypedArrayStaticMethod:tt,isView:Qe,isTypedArray:Je,TypedArray:pe,TypedArrayPrototype:me}},{"../internals/array-buffer-native":102,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-define-property":198,"../internals/object-get-prototype-of":203,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/try-to-string":257,"../internals/uid":263,"../internals/well-known-symbol":268}],104:[function(x,Se,he){"use strict";var ae=x("../internals/global"),te=x("../internals/function-uncurry-this"),le=x("../internals/descriptors"),de=x("../internals/array-buffer-native"),se=x("../internals/function-name"),ue=x("../internals/create-non-enumerable-property"),oe=x("../internals/redefine-all"),ie=x("../internals/fails"),ne=x("../internals/an-instance"),a=x("../internals/to-integer-or-infinity"),y=x("../internals/to-length"),E=x("../internals/to-index"),b=x("../internals/ieee754"),z=x("../internals/object-get-prototype-of"),ee=x("../internals/object-set-prototype-of"),re=x("../internals/object-get-own-property-names").f,ce=x("../internals/object-define-property").f,ge=x("../internals/array-fill"),ve=x("../internals/array-slice-simple"),fe=x("../internals/set-to-string-tag"),pe=x("../internals/internal-state"),me=se.PROPER,ye=se.CONFIGURABLE,be=pe.get,Le=pe.set,we="ArrayBuffer",Ae="DataView",Me="prototype",De="Wrong length",ze="Wrong index",qe=ae[we],Re=qe,ot=Re&&Re[Me],rt=ae[Ae],Qe=rt&&rt[Me],Je=Object.prototype,Ge=ae.Array,ke=ae.RangeError,_e=te(ge),tt=te([].reverse),Xe=b.pack,ct=b.unpack,Ye=function(Ze){return[Ze&255]},Ne=function(Ze){return[Ze&255,Ze>>8&255]},Oe=function(Ze){return[Ze&255,Ze>>8&255,Ze>>16&255,Ze>>24&255]},Ue=function(Ze){return Ze[3]<<24|Ze[2]<<16|Ze[1]<<8|Ze[0]},xe=function(Ze){return Xe(Ze,23,4)},Fe=function(Ze){return Xe(Ze,52,8)},He=function(Ze,it){ce(Ze[Me],it,{get:function(){return be(this)[it]}})},We=function(Ze,it,pt,dt){var vt=E(pt),st=be(Ze);if(vt+it>st.byteLength)throw ke(ze);var ht=be(st.buffer).bytes,$e=vt+st.byteOffset,lt=ve(ht,$e,$e+it);return dt?lt:tt(lt)},Ie=function(Ze,it,pt,dt,vt,st){var ht=E(pt),$e=be(Ze);if(ht+it>$e.byteLength)throw ke(ze);for(var lt=be($e.buffer).bytes,ft=ht+$e.byteOffset,mt=dt(+vt),wt=0;wt<it;wt++)lt[ft+wt]=mt[st?wt:it-wt-1]};if(!de)Re=function(it){ne(this,ot);var pt=E(it);Le(this,{bytes:_e(Ge(pt),0),byteLength:pt}),le||(this.byteLength=pt)},ot=Re[Me],rt=function(it,pt,dt){ne(this,Qe),ne(it,ot);var vt=be(it).byteLength,st=a(pt);if(st<0||st>vt)throw ke("Wrong offset");if(dt=dt===void 0?vt-st:y(dt),st+dt>vt)throw ke(De);Le(this,{buffer:it,byteLength:dt,byteOffset:st}),le||(this.buffer=it,this.byteLength=dt,this.byteOffset=st)},Qe=rt[Me],le&&(He(Re,"byteLength"),He(rt,"buffer"),He(rt,"byteLength"),He(rt,"byteOffset")),oe(Qe,{getInt8:function(it){return We(this,1,it)[0]<<24>>24},getUint8:function(it){return We(this,1,it)[0]},getInt16:function(it){var pt=We(this,2,it,arguments.length>1?arguments[1]:void 0);return(pt[1]<<8|pt[0])<<16>>16},getUint16:function(it){var pt=We(this,2,it,arguments.length>1?arguments[1]:void 0);return pt[1]<<8|pt[0]},getInt32:function(it){return Ue(We(this,4,it,arguments.length>1?arguments[1]:void 0))},getUint32:function(it){return Ue(We(this,4,it,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(it){return ct(We(this,4,it,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(it){return ct(We(this,8,it,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(it,pt){Ie(this,1,it,Ye,pt)},setUint8:function(it,pt){Ie(this,1,it,Ye,pt)},setInt16:function(it,pt){Ie(this,2,it,Ne,pt,arguments.length>2?arguments[2]:void 0)},setUint16:function(it,pt){Ie(this,2,it,Ne,pt,arguments.length>2?arguments[2]:void 0)},setInt32:function(it,pt){Ie(this,4,it,Oe,pt,arguments.length>2?arguments[2]:void 0)},setUint32:function(it,pt){Ie(this,4,it,Oe,pt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(it,pt){Ie(this,4,it,xe,pt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(it,pt){Ie(this,8,it,Fe,pt,arguments.length>2?arguments[2]:void 0)}});else{var Te=me&&qe.name!==we;if(!ie(function(){qe(1)})||!ie(function(){new qe(-1)})||ie(function(){return new qe,new qe(1.5),new qe(NaN),Te&&!ye})){Re=function(it){return ne(this,ot),new qe(E(it))},Re[Me]=ot;for(var Ee=re(qe),Pe=0,je;Ee.length>Pe;)(je=Ee[Pe++])in Re||ue(Re,je,qe[je]);ot.constructor=Re}else Te&&ye&&ue(qe,"name",we);ee&&z(Qe)!==Je&&ee(Qe,Je);var Ke=new rt(new Re(2)),at=te(Qe.setInt8);Ke.setInt8(0,2147483648),Ke.setInt8(1,2147483649),(Ke.getInt8(0)||!Ke.getInt8(1))&&oe(Qe,{setInt8:function(it,pt){at(this,it,pt<<24>>24)},setUint8:function(it,pt){at(this,it,pt<<24>>24)}},{unsafe:!0})}fe(Re,we),fe(rt,Ae),Se.exports={ArrayBuffer:Re,DataView:rt}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(x,Se,he){"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(y<a&&a<y+b&&(z=-1,y+=b-1,a+=b-1);b-- >0;)y in ie?ie[a]=ie[y]:delete ie[a],a+=z,y+=z;return ie}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(x,Se,he){"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,he){"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,he){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,he){"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,ge=ce>1?arguments[1]:void 0,ve=ge!==void 0;ve&&(ge=te(ge,ce>2?arguments[2]:void 0));var fe=y(ee),pe=0,me,ye,be,Le,we,Ae;if(fe&&!(this==E&&ue(fe)))for(Le=a(ee,fe),we=Le.next,ye=re?new this:[];!(be=le(we,Le)).done;pe++)Ae=ve?se(Le,ge,[be.value,pe],!0):be.value,ne(ye,pe,Ae);else for(me=ie(ee),ye=re?new this(me):E(me);me>pe;pe++)Ae=ve?ge(ee[pe],pe):ee[pe],ne(ye,pe,Ae);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,he){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,he){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,ge,ve,fe){for(var pe=de(ce),me=le(pe),ye=ae(ge,ve),be=se(me),Le=0,we=fe||ue,Ae=a?we(ce,be):y||ee?we(ce,0):void 0,Me,De;be>Le;Le++)if((re||Le in me)&&(Me=me[Le],De=ye(Me,Le,pe),ne))if(a)Ae[Le]=De;else if(De)switch(ne){case 3:return!0;case 5:return Me;case 6:return Le;case 2:oe(Ae,Me)}else switch(ne){case 4:return!1;case 7:oe(Ae,Me)}return z?-1:E||b?b:Ae}};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,he){"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,he){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,he){"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,he){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,he){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;y<E;y++,z++)de(b,z,oe[y]);return b.length=z,b}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(x,Se,he){var ae=x("../internals/function-uncurry-this");Se.exports=ae([].slice)},{"../internals/function-uncurry-this":157}],118:[function(x,Se,he){var ae=x("../internals/array-slice-simple"),te=Math.floor,le=function(ue,oe){var ie=ue.length,ne=te(ie/2);return ie<8?de(ue,oe):se(ue,le(ae(ue,0,ne),oe),le(ae(ue,ne),oe),oe)},de=function(ue,oe){for(var ie=ue.length,ne=1,a,y;ne<ie;){for(y=ne,a=ue[ne];y&&oe(ue[y-1],a)>0;)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;E<a||b<y;)ue[E+b]=E<a&&b<y?ne(oe[E],ie[b])<=0?oe[E++]:ie[b++]:E<a?oe[E++]:ie[b++];return ue};Se.exports=le},{"../internals/array-slice-simple":116}],119:[function(x,Se,he){var ae=x("../internals/global"),te=x("../internals/is-array"),le=x("../internals/is-constructor"),de=x("../internals/is-object"),se=x("../internals/well-known-symbol"),ue=se("species"),oe=ae.Array;Se.exports=function(ie){var ne;return te(ie)&&(ne=ie.constructor,le(ne)&&(ne===oe||te(ne.prototype))?ne=void 0:de(ne)&&(ne=ne[ue],ne===null&&(ne=void 0))),ne===void 0?oe:ne}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(x,Se,he){var ae=x("../internals/array-species-constructor");Se.exports=function(te,le){return new(ae(te))(le===0?0:le)}},{"../internals/array-species-constructor":119}],121:[function(x,Se,he){var ae=x("../internals/an-object"),te=x("../internals/iterator-close");Se.exports=function(le,de,se,ue){try{return ue?de(ae(se)[0],se[1]):de(se)}catch(oe){te(le,"throw",oe)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(x,Se,he){var ae=x("../internals/well-known-symbol"),te=ae("iterator"),le=!1;try{var de=0,se={next:function(){return{done:!!de++}},return:function(){le=!0}};se[te]=function(){return this},Array.from(se,function(){throw 2})}catch(ue){}Se.exports=function(ue,oe){if(!oe&&!le)return!1;var ie=!1;try{var ne={};ne[te]=function(){return{next:function(){return{done:ie=!0}}}},ue(ne)}catch(a){}return ie}},{"../internals/well-known-symbol":268}],123:[function(x,Se,he){var ae=x("../internals/function-uncurry-this"),te=ae({}.toString),le=ae("".slice);Se.exports=function(de){return le(te(de),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(x,Se,he){var ae=x("../internals/global"),te=x("../internals/to-string-tag-support"),le=x("../internals/is-callable"),de=x("../internals/classof-raw"),se=x("../internals/well-known-symbol"),ue=se("toStringTag"),oe=ae.Object,ie=de(function(){return arguments}())=="Arguments",ne=function(a,y){try{return a[y]}catch(E){}};Se.exports=te?de:function(a){var y,E,b;return a===void 0?"Undefined":a===null?"Null":typeof(E=ne(y=oe(a),ue))=="string"?E:ie?de(y):(b=de(y))=="Object"&&le(y.callee)?"Arguments":b}},{"../internals/classof-raw":123,"../internals/global":163,"../internals/is-callable":176,"../internals/to-string-tag-support":255,"../internals/well-known-symbol":268}],125:[function(x,Se,he){var ae=x("../internals/has-own-property"),te=x("../internals/own-keys"),le=x("../internals/object-get-own-property-descriptor"),de=x("../internals/object-define-property");Se.exports=function(se,ue,oe){for(var ie=te(ue),ne=de.f,a=le.f,y=0;y<ie.length;y++){var E=ie[y];!ae(se,E)&&!(oe&&ae(oe,E))&&ne(se,E,a(ue,E))}}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/own-keys":212}],126:[function(x,Se,he){var ae=x("../internals/well-known-symbol"),te=ae("match");Se.exports=function(le){var de=/./;try{"/./"[le](de)}catch(se){try{return de[te]=!1,"/./"[le](de)}catch(ue){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(x,Se,he){var ae=x("../internals/fails");Se.exports=!ae(function(){function te(){}return te.prototype.constructor=null,Object.getPrototypeOf(new te)!==te.prototype})},{"../internals/fails":150}],128:[function(x,Se,he){"use strict";var ae=x("../internals/iterators-core").IteratorPrototype,te=x("../internals/object-create"),le=x("../internals/create-property-descriptor"),de=x("../internals/set-to-string-tag"),se=x("../internals/iterators"),ue=function(){return this};Se.exports=function(oe,ie,ne,a){var y=ie+" Iterator";return oe.prototype=te(ae,{next:le(+!a,ne)}),de(oe,y,!1,!0),se[y]=ue,oe}},{"../internals/create-property-descriptor":130,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-create":196,"../internals/set-to-string-tag":234}],129:[function(x,Se,he){var ae=x("../internals/descriptors"),te=x("../internals/object-define-property"),le=x("../internals/create-property-descriptor");Se.exports=ae?function(de,se,ue){return te.f(de,se,le(1,ue))}:function(de,se,ue){return de[se]=ue,de}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(x,Se,he){Se.exports=function(ae,te){return{enumerable:!(ae&1),configurable:!(ae&2),writable:!(ae&4),value:te}}},{}],131:[function(x,Se,he){"use strict";var ae=x("../internals/to-property-key"),te=x("../internals/object-define-property"),le=x("../internals/create-property-descriptor");Se.exports=function(de,se,ue){var oe=ae(se);oe in de?te.f(de,oe,le(0,ue)):de[oe]=ue}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(x,Se,he){"use strict";var ae=x("../internals/export"),te=x("../internals/function-call"),le=x("../internals/is-pure"),de=x("../internals/function-name"),se=x("../internals/is-callable"),ue=x("../internals/create-iterator-constructor"),oe=x("../internals/object-get-prototype-of"),ie=x("../internals/object-set-prototype-of"),ne=x("../internals/set-to-string-tag"),a=x("../internals/create-non-enumerable-property"),y=x("../internals/redefine"),E=x("../internals/well-known-symbol"),b=x("../internals/iterators"),z=x("../internals/iterators-core"),ee=de.PROPER,re=de.CONFIGURABLE,ce=z.IteratorPrototype,ge=z.BUGGY_SAFARI_ITERATORS,ve=E("iterator"),fe="keys",pe="values",me="entries",ye=function(){return this};Se.exports=function(be,Le,we,Ae,Me,De,ze){ue(we,Le,Ae);var qe=function(Xe){if(Xe===Me&&Je)return Je;if(!ge&&Xe in rt)return rt[Xe];switch(Xe){case fe:return function(){return new we(this,Xe)};case pe:return function(){return new we(this,Xe)};case me:return function(){return new we(this,Xe)}}return function(){return new we(this)}},Re=Le+" Iterator",ot=!1,rt=be.prototype,Qe=rt[ve]||rt["@@iterator"]||Me&&rt[Me],Je=!ge&&Qe||qe(Me),Ge=Le=="Array"&&rt.entries||Qe,ke,_e,tt;if(Ge&&(ke=oe(Ge.call(new be)),ke!==Object.prototype&&ke.next&&(!le&&oe(ke)!==ce&&(ie?ie(ke,ce):se(ke[ve])||y(ke,ve,ye)),ne(ke,Re,!0,!0),le&&(b[Re]=ye))),ee&&Me==pe&&Qe&&Qe.name!==pe&&(!le&&re?a(rt,"name",pe):(ot=!0,Je=function(){return te(Qe,this)})),Me)if(_e={values:qe(pe),keys:De?Je:qe(fe),entries:qe(me)},ze)for(tt in _e)(ge||ot||!(tt in rt))&&y(rt,tt,_e[tt]);else ae({target:Le,proto:!0,forced:ge||ot},_e);return(!le||ze)&&rt[ve]!==Je&&y(rt,ve,Je,{name:Me}),b[Le]=Je,_e}},{"../internals/create-iterator-constructor":128,"../internals/create-non-enumerable-property":129,"../internals/export":149,"../internals/function-call":155,"../internals/function-name":156,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/well-known-symbol":268}],133:[function(x,Se,he){var ae=x("../internals/path"),te=x("../internals/has-own-property"),le=x("../internals/well-known-symbol-wrapped"),de=x("../internals/object-define-property").f;Se.exports=function(se){var ue=ae.Symbol||(ae.Symbol={});te(ue,se)||de(ue,se,{value:le.f(se)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(x,Se,he){var ae=x("../internals/fails");Se.exports=!ae(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(x,Se,he){var ae=x("../internals/global"),te=x("../internals/is-object"),le=ae.document,de=te(le)&&te(le.createElement);Se.exports=function(se){return de?le.createElement(se):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(x,Se,he){Se.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],137:[function(x,Se,he){var ae=x("../internals/document-create-element"),te=ae("span").classList,le=te&&te.constructor&&te.constructor.prototype;Se.exports=le===Object.prototype?void 0:le},{"../internals/document-create-element":135}],138:[function(x,Se,he){var ae=x("../internals/engine-user-agent"),te=ae.match(/firefox\/(\d+)/i);Se.exports=!!te&&+te[1]},{"../internals/engine-user-agent":145}],139:[function(x,Se,he){Se.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(x,Se,he){var ae=x("../internals/engine-user-agent");Se.exports=/MSIE|Trident/.test(ae)},{"../internals/engine-user-agent":145}],141:[function(x,Se,he){var ae=x("../internals/engine-user-agent"),te=x("../internals/global");Se.exports=/ipad|iphone|ipod/i.test(ae)&&te.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(x,Se,he){var ae=x("../internals/engine-user-agent");Se.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(ae)},{"../internals/engine-user-agent":145}],143:[function(x,Se,he){var ae=x("../internals/classof-raw"),te=x("../internals/global");Se.exports=ae(te.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(x,Se,he){var ae=x("../internals/engine-user-agent");Se.exports=/web0s(?!.*chrome)/i.test(ae)},{"../internals/engine-user-agent":145}],145:[function(x,Se,he){var ae=x("../internals/get-built-in");Se.exports=ae("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(x,Se,he){var ae=x("../internals/global"),te=x("../internals/engine-user-agent"),le=ae.process,de=ae.Deno,se=le&&le.versions||de&&de.version,ue=se&&se.v8,oe,ie;ue&&(oe=ue.split("."),ie=oe[0]>0&&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,he){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,he){Se.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(x,Se,he){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,ge;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?(ge=te(z,ee),re=ge&&ge.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,he){Se.exports=function(ae){try{return!!ae()}catch(te){return!0}}},{}],151:[function(x,Se,he){"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 ge={};return ge[b]=function(){return 7},""[ne](ge)!=7}),ee=z&&!de(function(){var ge=!1,ve=/a/;return ne==="split"&&(ve={},ve.constructor={},ve.constructor[oe]=function(){return ve},ve.flags="",ve[b]=/./[b]),ve.exec=function(){return ge=!0,null},ve[b](""),!ge});if(!z||!ee||y){var re=ae(/./[b]),ce=a(b,""[ne],function(ge,ve,fe,pe,me){var ye=ae(ge),be=ve.exec;return be===le||be===ie.exec?z&&!me?{done:!0,value:re(ve,fe,pe)}:{done:!0,value:ye(fe,ve,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,he){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,he){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,he){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,he){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,he){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,he){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,he){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,he){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,he){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,he){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,he){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(ge,ve){var fe;switch(de(ve,0)){case"$":return"$";case"&":return ne;case"`":return ue(a,0,y);case"'":return ue(a,ee);case"<":fe=b[ue(ve,1,-1)];break;default:var pe=+ve;if(pe===0)return ge;if(pe>re){var me=le(pe/10);return me===0?ge:me<=re?E[me-1]===void 0?de(ve,1):E[me-1]+de(ve,1):ge}fe=E[pe-1]}return fe===void 0?"":fe})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(x,Se,he){(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 Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(x,Se,he){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,he){Se.exports={}},{}],166:[function(x,Se,he){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,he){var ae=x("../internals/get-built-in");Se.exports=ae("document","documentElement")},{"../internals/get-built-in":158}],168:[function(x,Se,he){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,he){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<<z)-1,re=ee>>1,ce=y===23?de(2,-24)-de(2,-77):0,ge=a<0||a===0&&1/a<0?1:0,ve=0,fe,pe,me;for(a=le(a),a!=a||a===1/0?(pe=a!=a?1:0,fe=ee):(fe=se(ue(a)/oe),me=de(2,-fe),a*me<1&&(fe--,me*=2),fe+re>=1?a+=ce/me:a+=ce*de(2,1-re),a*me>=2&&(fe++,me/=2),fe+re>=ee?(pe=0,fe=ee):fe+re>=1?(pe=(a*me-1)*de(2,y),fe=fe+re):(pe=a*de(2,re-1)*de(2,y),fe=0));y>=8;)b[ve++]=pe&255,pe/=256,y-=8;for(fe=fe<<y|pe,z+=y;z>0;)b[ve++]=fe&255,fe/=256,z-=8;return b[--ve]|=ge*128,b},ne=function(a,y){var E=a.length,b=E*8-y-1,z=(1<<b)-1,ee=z>>1,re=b-7,ce=E-1,ge=a[ce--],ve=ge&127,fe;for(ge>>=7;re>0;)ve=ve*256+a[ce--],re-=8;for(fe=ve&(1<<-re)-1,ve>>=-re,re+=y;re>0;)fe=fe*256+a[ce--],re-=8;if(ve===0)ve=1-ee;else{if(ve===z)return fe?NaN:ge?-1/0:1/0;fe=fe+de(2,y),ve=ve-ee}return(ge?-1:1)*fe*de(2,ve-y)};Se.exports={pack:ie,unpack:ne}},{"../internals/global":163}],170:[function(x,Se,he){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,he){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,he){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,he){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 Le;if(!de(be)||(Le=z(be)).type!==ye)throw y("Incompatible receiver, "+ye+" required");return Le}};if(ae||oe.state){var ge=oe.state||(oe.state=new E),ve=le(ge.get),fe=le(ge.has),pe=le(ge.set);b=function(ye,be){if(fe(ge,ye))throw new y(a);return be.facade=ye,pe(ge,ye,be),be},z=function(ye){return ve(ge,ye)||{}},ee=function(ye){return fe(ge,ye)}}else{var me=ie("state");ne[me]=!0,b=function(ye,be){if(ue(ye,me))throw new y(a);return be.facade=ye,se(ye,me,be),be},z=function(ye){return ue(ye,me)?ye[me]:{}},ee=function(ye){return ue(ye,me)}}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,he){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,he){var ae=x("../internals/classof-raw");Se.exports=Array.isArray||function(le){return ae(le)=="Array"}},{"../internals/classof-raw":123}],176:[function(x,Se,he){Se.exports=function(ae){return typeof ae=="function"}},{}],177:[function(x,Se,he){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,he){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,he){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,he){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,he){Se.exports=!1},{}],182:[function(x,Se,he){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,he){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,he){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 ge=ce&&ce.that,ve=!!(ce&&ce.AS_ENTRIES),fe=!!(ce&&ce.IS_ITERATOR),pe=!!(ce&&ce.INTERRUPTED),me=te(re,ge),ye,be,Le,we,Ae,Me,De,ze=function(Re){return ye&&y(ye,"normal",Re),new b(!0,Re)},qe=function(Re){return ve?(de(Re),pe?me(Re[0],Re[1],ze):me(Re[0],Re[1])):pe?me(Re,ze):me(Re)};if(fe)ye=ee;else{if(be=a(ee),!be)throw E(se(ee)+" is not iterable");if(ue(be)){for(Le=0,we=oe(ee);we>Le;Le++)if(Ae=qe(ee[Le]),Ae&&ie(z,Ae))return Ae;return new b(!1)}ye=ne(ee,be)}for(Me=ye.next;!(De=le(Me,ye)).done;){try{Ae=qe(De.value)}catch(Re){y(ye,"throw",Re)}if(typeof Ae=="object"&&Ae&&ie(z,Ae))return Ae}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,he){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,he){"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,he){arguments[4][165][0].apply(he,arguments)},{dup:165}],188:[function(x,Se,he){var ae=x("../internals/to-length");Se.exports=function(te){return ae(te.length)}},{"../internals/to-length":249}],189:[function(x,Se,he){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,ge,ve,fe,pe,me;z||(ee=function(){var ye,be;for(ie&&(ye=y.domain)&&ye.exit();re;){be=re.fn,re=re.next;try{be()}catch(Le){throw re?ge():ce=void 0,Le}}ce=void 0,ye&&ye.enter()},!se&&!ie&&!oe&&ne&&a?(ve=!0,fe=a.createTextNode(""),new ne(ee).observe(fe,{characterData:!0}),ge=function(){fe.data=ve=!ve}):!ue&&E&&E.resolve?(pe=E.resolve(void 0),pe.constructor=E,me=te(pe.then,pe),ge=function(){me(ee)}):ie?ge=function(){y.nextTick(ee)}:(de=te(de,ae),ge=function(){de(ee)})),Se.exports=z||function(ye){var be={fn:ye,next:void 0};ce&&(ce.next=be),re||(re=be,ge()),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,he){var ae=x("../internals/native-symbol");Se.exports=ae&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(x,Se,he){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,he){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,he){"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,he){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,he){"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,ge=1,ve=ue.f,fe=oe.f;ce>ge;)for(var pe=ne(arguments[ge++]),me=ve?E(se(pe),ve(pe)):se(pe),ye=me.length,be=0,Le;ye>be;)Le=me[be++],(!ae||le(fe,pe,Le))&&(re[Le]=pe[Le]);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,he){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(ve){return ne+y+ie+ve+ne+"/"+y+ie},ee=function(ve){ve.write(z("")),ve.close();var fe=ve.parentWindow.Object;return ve=null,fe},re=function(){var ve=ue("iframe"),fe="java"+y+":",pe;return ve.style.display="none",se.appendChild(ve),ve.src=String(fe),pe=ve.contentWindow.document,pe.open(),pe.write(z("document.F=Object")),pe.close(),pe.F},ce,ge=function(){try{ce=new ActiveXObject("htmlfile")}catch(fe){}ge=typeof document!="undefined"?document.domain&&ce?ee(ce):re():ee(ce);for(var ve=le.length;ve--;)delete ge[a][le[ve]];return ge()};de[E]=!0,Se.exports=Object.create||function(fe,pe){var me;return fe!==null?(b[a]=ae(fe),me=new b,b[a]=null,me[E]=fe):me=ge(),pe===void 0?me:te.f(me,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,he){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");he.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,he){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";he.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,he){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;he.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,he){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,he){var ae=x("../internals/object-keys-internal"),te=x("../internals/enum-bug-keys"),le=te.concat("length","prototype");he.f=Object.getOwnPropertyNames||function(se){return ae(se,le)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(x,Se,he){he.f=Object.getOwnPropertySymbols},{}],203:[function(x,Se,he){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,he){var ae=x("../internals/function-uncurry-this");Se.exports=ae({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(x,Se,he){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,he){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,he){"use strict";var ae={}.propertyIsEnumerable,te=Object.getOwnPropertyDescriptor,le=te&&!ae.call({1:2},1);he.f=le?function(se){var ue=te(this,se);return!!ue&&ue.enumerable}:ae},{}],208:[function(x,Se,he){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,he){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,he){"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,he){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,he){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,he){var ae=x("../internals/global");Se.exports=ae},{"../internals/global":163}],214:[function(x,Se,he){Se.exports=function(ae){try{return{error:!1,value:ae()}}catch(te){return{error:!0,value:te}}}},{}],215:[function(x,Se,he){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)}),ge=function(fe){fe(function(){},function(){})},ve=ce.constructor={};return ve[y]=ge,E=ce.then(function(){})instanceof ge,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,he){var ae=x("../internals/global");Se.exports=ae.Promise},{"../internals/global":163}],217:[function(x,Se,he){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,he){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,he){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,he){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,he){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,he){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,ge=ee?!!ee.noTargetGet:!1,ve=ee&&ee.name!==void 0?ee.name:b,fe;if(te(z)&&(String(ve).slice(0,7)==="Symbol("&&(ve="["+String(ve).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!le(z,"name")||ie&&z.name!==ve)&&de(z,"name",ve),fe=a(z),fe.source||(fe.source=y.join(typeof ve=="string"?ve:""))),E===ae){ce?E[b]=z:se(b,z);return}else re?!ge&&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,he){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,he){"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),ge=function(){var me=/a/,ye=/b*/g;return ae(E,me,"a"),ae(E,ye,"a"),me.lastIndex!==0||ye.lastIndex!==0}(),ve=se.BROKEN_CARET,fe=/()??/.exec("")[1]!==void 0,pe=ge||fe||ve||ne||a;pe&&(b=function(ye){var be=this,Le=ie(be),we=le(ye),Ae=Le.raw,Me,De,ze,qe,Re,ot,rt;if(Ae)return Ae.lastIndex=be.lastIndex,Me=ae(b,Ae,we),be.lastIndex=Ae.lastIndex,Me;var Qe=Le.groups,Je=ve&&be.sticky,Ge=ae(de,be),ke=be.source,_e=0,tt=we;if(Je&&(Ge=re(Ge,"y",""),ee(Ge,"g")===-1&&(Ge+="g"),tt=ce(we,be.lastIndex),be.lastIndex>0&&(!be.multiline||be.multiline&&z(we,be.lastIndex-1)!==`
|
|
`)&&(ke="(?: "+ke+")",tt=" "+tt,_e++),De=new RegExp("^(?:"+ke+")",Ge)),fe&&(De=new RegExp("^"+ke+"$(?!\\s)",Ge)),ge&&(ze=be.lastIndex),qe=ae(E,Je?De:be,tt),Je?qe?(qe.input=ce(qe.input,_e),qe[0]=ce(qe[0],_e),qe.index=be.lastIndex,be.lastIndex+=qe[0].length):be.lastIndex=0:ge&&qe&&(be.lastIndex=be.global?qe.index+qe[0].length:ze),fe&&qe&&qe.length>1&&ae(y,qe[0],De,function(){for(Re=1;Re<arguments.length-2;Re++)arguments[Re]===void 0&&(qe[Re]=void 0)}),qe&&Qe)for(qe.groups=ot=oe(null),Re=0;Re<Qe.length;Re++)rt=Qe[Re],ot[rt[0]]=qe[rt[1]];return qe}),Se.exports=b},{"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/internal-state":173,"../internals/object-create":196,"../internals/regexp-flags":225,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/shared":237,"../internals/to-string":256}],225:[function(x,Se,he){"use strict";var ae=x("../internals/an-object");Se.exports=function(){var te=ae(this),le="";return te.hasIndices&&(le+="d"),te.global&&(le+="g"),te.ignoreCase&&(le+="i"),te.multiline&&(le+="m"),te.dotAll&&(le+="s"),te.unicode&&(le+="u"),te.sticky&&(le+="y"),le}},{"../internals/an-object":101}],226:[function(x,Se,he){var ae=x("../internals/function-call"),te=x("../internals/has-own-property"),le=x("../internals/object-is-prototype-of"),de=x("../internals/regexp-flags"),se=RegExp.prototype;Se.exports=function(ue){var oe=ue.flags;return oe===void 0&&!("flags"in se)&&!te(ue,"flags")&&le(se,ue)?ae(de,ue):oe}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(x,Se,he){var ae=x("../internals/fails"),te=x("../internals/global"),le=te.RegExp,de=ae(function(){var oe=le("a","y");return oe.lastIndex=2,oe.exec("abcd")!=null}),se=de||ae(function(){return!le("a","y").sticky}),ue=de||ae(function(){var oe=le("^r","gy");return oe.lastIndex=2,oe.exec("str")!=null});Se.exports={BROKEN_CARET:ue,MISSED_STICKY:se,UNSUPPORTED_Y:de}},{"../internals/fails":150,"../internals/global":163}],228:[function(x,Se,he){var ae=x("../internals/fails"),te=x("../internals/global"),le=te.RegExp;Se.exports=ae(function(){var de=le(".","s");return!(de.dotAll&&de.exec(`
|
|
`)&&de.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(x,Se,he){var ae=x("../internals/fails"),te=x("../internals/global"),le=te.RegExp;Se.exports=ae(function(){var de=le("(?<a>b)","g");return de.exec("b").groups.a!=="b"||"b".replace(de,"$<a>c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(x,Se,he){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,he){Se.exports=Object.is||function(te,le){return te===le?te!==0||1/te===1/le:te!=te&&le!=le}},{}],232:[function(x,Se,he){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,he){"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,he){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,he){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,he){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,he){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,he){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,he){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,he){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,he){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,he){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,he){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,ge=ae.MessageChannel,ve=ae.String,fe=0,pe={},me="onreadystatechange",ye,be,Le,we;try{ye=ae.location}catch(qe){}var Ae=function(qe){if(se(pe,qe)){var Re=pe[qe];delete pe[qe],Re()}},Me=function(qe){return function(){Ae(qe)}},De=function(qe){Ae(qe.data)},ze=function(qe){ae.postMessage(ve(qe),ye.protocol+"//"+ye.host)};(!b||!z)&&(b=function(Re){a(arguments.length,1);var ot=de(Re)?Re:ce(Re),rt=ie(arguments,1);return pe[++fe]=function(){te(ot,void 0,rt)},be(fe),fe},z=function(Re){delete pe[Re]},E?be=function(qe){ee.nextTick(Me(qe))}:re&&re.now?be=function(qe){re.now(Me(qe))}:ge&&!y?(Le=new ge,we=Le.port2,Le.port1.onmessage=De,be=le(we.postMessage,we)):ae.addEventListener&&de(ae.postMessage)&&!ae.importScripts&&ye&&ye.protocol!=="file:"&&!ue(ze)?(be=ze,ae.addEventListener("message",De,!1)):me in ne("script")?be=function(qe){oe.appendChild(ne("script"))[me]=function(){oe.removeChild(this),Ae(qe)}}:be=function(qe){setTimeout(Me(qe),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,he){var ae=x("../internals/function-uncurry-this");Se.exports=ae(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(x,Se,he){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,he){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,he){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,he){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,he){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,he){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,he){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,he){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,he){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,he){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,he){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,he){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,he){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,he){"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"),ge=x("../internals/is-object"),ve=x("../internals/is-symbol"),fe=x("../internals/object-create"),pe=x("../internals/object-is-prototype-of"),me=x("../internals/object-set-prototype-of"),ye=x("../internals/object-get-own-property-names").f,be=x("../internals/typed-array-from"),Le=x("../internals/array-iteration").forEach,we=x("../internals/set-species"),Ae=x("../internals/object-define-property"),Me=x("../internals/object-get-own-property-descriptor"),De=x("../internals/internal-state"),ze=x("../internals/inherit-if-required"),qe=De.get,Re=De.set,ot=Ae.f,rt=Me.f,Qe=Math.round,Je=te.RangeError,Ge=oe.ArrayBuffer,ke=Ge.prototype,_e=oe.DataView,tt=ue.NATIVE_ARRAY_BUFFER_VIEWS,Xe=ue.TYPED_ARRAY_CONSTRUCTOR,ct=ue.TYPED_ARRAY_TAG,Ye=ue.TypedArray,Ne=ue.TypedArrayPrototype,Oe=ue.aTypedArrayConstructor,Ue=ue.isTypedArray,xe="BYTES_PER_ELEMENT",Fe="Wrong length",He=function(je,Ke){Oe(je);for(var at=0,Ze=Ke.length,it=new je(Ze);Ze>at;)it[at]=Ke[at++];return it},We=function(je,Ke){ot(je,Ke,{get:function(){return qe(this)[Ke]}})},Ie=function(je){var Ke;return pe(ke,je)||(Ke=ce(je))=="ArrayBuffer"||Ke=="SharedArrayBuffer"},Te=function(je,Ke){return Ue(je)&&!ve(Ke)&&Ke in je&&y(+Ke)&&Ke>=0},Ee=function(Ke,at){return at=ee(at),Te(Ke,at)?ne(2,Ke[at]):rt(Ke,at)},Pe=function(Ke,at,Ze){return at=ee(at),Te(Ke,at)&&ge(Ze)&&re(Ze,"value")&&!re(Ze,"get")&&!re(Ze,"set")&&!Ze.configurable&&(!re(Ze,"writable")||Ze.writable)&&(!re(Ze,"enumerable")||Ze.enumerable)?(Ke[at]=Ze.value,Ke):ot(Ke,at,Ze)};de?(tt||(Me.f=Ee,Ae.f=Pe,We(Ne,"buffer"),We(Ne,"byteOffset"),We(Ne,"byteLength"),We(Ne,"length")),ae({target:"Object",stat:!0,forced:!tt},{getOwnPropertyDescriptor:Ee,defineProperty:Pe}),Se.exports=function(je,Ke,at){var Ze=je.match(/\d+$/)[0]/8,it=je+(at?"Clamped":"")+"Array",pt="get"+je,dt="set"+je,vt=te[it],st=vt,ht=st&&st.prototype,$e={},lt=function(wt,jt){var It=qe(wt);return It.view[pt](jt*Ze+It.byteOffset,!0)},ft=function(wt,jt,It){var Mt=qe(wt);at&&(It=(It=Qe(It))<0?0:It>255?255:It&255),Mt.view[dt](jt*Ze+Mt.byteOffset,It,!0)},mt=function(wt,jt){ot(wt,jt,{get:function(){return lt(this,jt)},set:function(It){return ft(this,jt,It)},enumerable:!0})};tt?se&&(st=Ke(function(wt,jt,It,Mt){return ie(wt,ht),ze(function(){return ge(jt)?Ie(jt)?Mt!==void 0?new vt(jt,z(It,Ze),Mt):It!==void 0?new vt(jt,z(It,Ze)):new vt(jt):Ue(jt)?He(st,jt):le(be,st,jt):new vt(b(jt))}(),wt,st)}),me&&me(st,Ye),Le(ye(vt),function(wt){wt in st||a(st,wt,vt[wt])}),st.prototype=ht):(st=Ke(function(wt,jt,It,Mt){ie(wt,ht);var Kt=0,qt=0,en,on,wn;if(!ge(jt))wn=b(jt),on=wn*Ze,en=new Ge(on);else if(Ie(jt)){en=jt,qt=z(It,Ze);var Nn=jt.byteLength;if(Mt===void 0){if(Nn%Ze||(on=Nn-qt,on<0))throw Je(Fe)}else if(on=E(Mt)*Ze,on+qt>Nn)throw Je(Fe);wn=on/Ze}else return Ue(jt)?He(st,jt):le(be,st,jt);for(Re(wt,{buffer:en,byteOffset:qt,byteLength:on,length:wn,view:new _e(en)});Kt<wn;)mt(wt,Kt++)}),me&&me(st,Ye),ht=st.prototype=fe(Ne)),ht.constructor!==st&&a(ht,"constructor",st),a(ht,Xe,st),ct&&a(ht,ct,it),$e[it]=st,ae({global:!0,forced:st!=vt,sham:!tt},$e),xe in st||a(st,xe,Ze),xe in ht||a(ht,xe,Ze),we(it)}):Se.exports=function(){}},{"../internals/an-instance":100,"../internals/array-buffer":104,"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-integral-number":179,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/object-create":196,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/set-species":233,"../internals/to-index":246,"../internals/to-length":249,"../internals/to-offset":251,"../internals/to-property-key":254,"../internals/typed-array-constructors-require-wrappers":259,"../internals/typed-array-from":261}],259:[function(x,Se,he){var ae=x("../internals/global"),te=x("../internals/fails"),le=x("../internals/check-correctness-of-iteration"),de=x("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,se=ae.ArrayBuffer,ue=ae.Int8Array;Se.exports=!de||!te(function(){ue(1)})||!te(function(){new ue(-1)})||!le(function(oe){new ue,new ue(null),new ue(1.5),new ue(oe)},!0)||te(function(){return new ue(new se(2),1,void 0).length!==1})},{"../internals/array-buffer-view-core":103,"../internals/check-correctness-of-iteration":122,"../internals/fails":150,"../internals/global":163}],260:[function(x,Se,he){var ae=x("../internals/array-from-constructor-and-list"),te=x("../internals/typed-array-species-constructor");Se.exports=function(le,de){return ae(te(le),de)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(x,Se,he){var ae=x("../internals/function-bind-context"),te=x("../internals/function-call"),le=x("../internals/a-constructor"),de=x("../internals/to-object"),se=x("../internals/length-of-array-like"),ue=x("../internals/get-iterator"),oe=x("../internals/get-iterator-method"),ie=x("../internals/is-array-iterator-method"),ne=x("../internals/array-buffer-view-core").aTypedArrayConstructor;Se.exports=function(y){var E=le(this),b=de(y),z=arguments.length,ee=z>1?arguments[1]:void 0,re=ee!==void 0,ce=oe(b),ge,ve,fe,pe,me,ye;if(ce&&!ie(ce))for(me=ue(b,ce),ye=me.next,b=[];!(pe=te(ye,me)).done;)b.push(pe.value);for(re&&z>2&&(ee=ae(ee,arguments[2])),ve=se(b),fe=new(ne(E))(ve),ge=0;ve>ge;ge++)fe[ge]=re?ee(b[ge],ge):b[ge];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,he){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,he){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,he){var ae=x("../internals/native-symbol");Se.exports=ae&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(x,Se,he){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,he){var ae=x("../internals/global"),te=ae.TypeError;Se.exports=function(le,de){if(le<de)throw te("Not enough arguments");return le}},{"../internals/global":163}],267:[function(x,Se,he){var ae=x("../internals/well-known-symbol");he.f=ae},{"../internals/well-known-symbol":268}],268:[function(x,Se,he){var ae=x("../internals/global"),te=x("../internals/shared"),le=x("../internals/has-own-property"),de=x("../internals/uid"),se=x("../internals/native-symbol"),ue=x("../internals/use-symbol-as-uid"),oe=te("wks"),ie=ae.Symbol,ne=ie&&ie.for,a=ue?ie:ie&&ie.withoutSetter||de;Se.exports=function(y){if(!le(oe,y)||!(se||typeof oe[y]=="string")){var E="Symbol."+y;se&&le(ie,y)?oe[y]=ie[y]:ue&&ne?oe[y]=ne(E):oe[y]=a(E)}return oe[y]}},{"../internals/global":163,"../internals/has-own-property":164,"../internals/native-symbol":191,"../internals/shared":237,"../internals/uid":263,"../internals/use-symbol-as-uid":264}],269:[function(x,Se,he){Se.exports=`
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},{}],270:[function(x,Se,he){"use strict";var ae=x("../internals/export"),te=x("../internals/global"),le=x("../internals/array-buffer"),de=x("../internals/set-species"),se="ArrayBuffer",ue=le[se],oe=te[se];ae({global:!0,forced:oe!==ue},{ArrayBuffer:ue}),de(se)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(x,Se,he){"use strict";var ae=x("../internals/export"),te=x("../internals/function-uncurry-this"),le=x("../internals/fails"),de=x("../internals/array-buffer"),se=x("../internals/an-object"),ue=x("../internals/to-absolute-index"),oe=x("../internals/to-length"),ie=x("../internals/species-constructor"),ne=de.ArrayBuffer,a=de.DataView,y=a.prototype,E=te(ne.prototype.slice),b=te(y.getUint8),z=te(y.setUint8),ee=le(function(){return!new ne(2).slice(1,void 0).byteLength});ae({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:ee},{slice:function(ce,ge){if(E&&ge===void 0)return E(se(this),ce);for(var ve=se(this).byteLength,fe=ue(ce,ve),pe=ue(ge===void 0?ve:ge,ve),me=new(ie(this,ne))(oe(pe-fe)),ye=new a(this),be=new a(me),Le=0;fe<pe;)z(be,Le++,b(ye,fe++));return me}})},{"../internals/an-object":101,"../internals/array-buffer":104,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/species-constructor":238,"../internals/to-absolute-index":245,"../internals/to-length":249}],272:[function(x,Se,he){"use strict";var ae=x("../internals/export"),te=x("../internals/global"),le=x("../internals/fails"),de=x("../internals/is-array"),se=x("../internals/is-object"),ue=x("../internals/to-object"),oe=x("../internals/length-of-array-like"),ie=x("../internals/create-property"),ne=x("../internals/array-species-create"),a=x("../internals/array-method-has-species-support"),y=x("../internals/well-known-symbol"),E=x("../internals/engine-v8-version"),b=y("isConcatSpreadable"),z=9007199254740991,ee="Maximum allowed index exceeded",re=te.TypeError,ce=E>=51||!le(function(){var pe=[];return pe[b]=!1,pe.concat()[0]!==pe}),ge=a("concat"),ve=function(pe){if(!se(pe))return!1;var me=pe[b];return me!==void 0?!!me:de(pe)},fe=!ce||!ge;ae({target:"Array",proto:!0,forced:fe},{concat:function(me){var ye=ue(this),be=ne(ye,0),Le=0,we,Ae,Me,De,ze;for(we=-1,Me=arguments.length;we<Me;we++)if(ze=we===-1?ye:arguments[we],ve(ze)){if(De=oe(ze),Le+De>z)throw re(ee);for(Ae=0;Ae<De;Ae++,Le++)Ae in ze&&ie(be,Le,ze[Ae])}else{if(Le>=z)throw re(ee);ie(be,Le++,ze)}return be.length=Le,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,he){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,he){"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,he){"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,he){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,he){"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,he){"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,he){"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,he){"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,he){"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(ge,ve){var fe=ie(this),pe=oe(fe),me=ue(ge,pe),ye=ue(ve===void 0?pe:ve,pe),be,Le,we;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,me,ye);for(Le=new(be===void 0?ee:be)(re(ye-me,0)),we=0;me<ye;me++,we++)me in fe&&ne(Le,we,fe[me]);return Le.length=we,Le}})},{"../internals/array-method-has-species-support":113,"../internals/array-slice":117,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247,"../internals/well-known-symbol":268}],282:[function(x,Se,he){"use strict";var ae=x("../internals/export"),te=x("../internals/function-uncurry-this"),le=x("../internals/a-callable"),de=x("../internals/to-object"),se=x("../internals/length-of-array-like"),ue=x("../internals/to-string"),oe=x("../internals/fails"),ie=x("../internals/array-sort"),ne=x("../internals/array-method-is-strict"),a=x("../internals/engine-ff-version"),y=x("../internals/engine-is-ie-or-edge"),E=x("../internals/engine-v8-version"),b=x("../internals/engine-webkit-version"),z=[],ee=te(z.sort),re=te(z.push),ce=oe(function(){z.sort(void 0)}),ge=oe(function(){z.sort(null)}),ve=ne("sort"),fe=!oe(function(){if(E)return E<70;if(!(a&&a>3)){if(y)return!0;if(b)return b<603;var ye="",be,Le,we,Ae;for(be=65;be<76;be++){switch(Le=String.fromCharCode(be),be){case 66:case 69:case 70:case 72:we=3;break;case 68:case 71:we=4;break;default:we=2}for(Ae=0;Ae<47;Ae++)z.push({k:Le+Ae,v:we})}for(z.sort(function(Me,De){return De.v-Me.v}),Ae=0;Ae<z.length;Ae++)Le=z[Ae].k.charAt(0),ye.charAt(ye.length-1)!==Le&&(ye+=Le);return ye!=="DGBEFHACIJK"}}),pe=ce||!ge||!ve||!fe,me=function(ye){return function(be,Le){return Le===void 0?-1:be===void 0?1:ye!==void 0?+ye(be,Le)||0:ue(be)>ue(Le)?1:-1}};ae({target:"Array",proto:!0,forced:pe},{sort:function(be){be!==void 0&&le(be);var Le=de(this);if(fe)return be===void 0?ee(Le):ee(Le,be);var we=[],Ae=se(Le),Me,De;for(De=0;De<Ae;De++)De in Le&&re(we,Le[De]);for(ie(we,me(be)),Me=we.length,De=0;De<Me;)Le[De]=we[De++];for(;De<Ae;)delete Le[De++];return Le}})},{"../internals/a-callable":95,"../internals/array-method-is-strict":114,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-string":256}],283:[function(x,Se,he){"use strict";var ae=x("../internals/export"),te=x("../internals/global"),le=x("../internals/to-absolute-index"),de=x("../internals/to-integer-or-infinity"),se=x("../internals/length-of-array-like"),ue=x("../internals/to-object"),oe=x("../internals/array-species-create"),ie=x("../internals/create-property"),ne=x("../internals/array-method-has-species-support"),a=ne("splice"),y=te.TypeError,E=Math.max,b=Math.min,z=9007199254740991,ee="Maximum allowed length exceeded";ae({target:"Array",proto:!0,forced:!a},{splice:function(ce,ge){var ve=ue(this),fe=se(ve),pe=le(ce,fe),me=arguments.length,ye,be,Le,we,Ae,Me;if(me===0?ye=be=0:me===1?(ye=0,be=fe-pe):(ye=me-2,be=b(E(de(ge),0),fe-pe)),fe+ye-be>z)throw y(ee);for(Le=oe(ve,be),we=0;we<be;we++)Ae=pe+we,Ae in ve&&ie(Le,we,ve[Ae]);if(Le.length=be,ye<be){for(we=pe;we<fe-be;we++)Ae=we+be,Me=we+ye,Ae in ve?ve[Me]=ve[Ae]:delete ve[Me];for(we=fe;we>fe-be+ye;we--)delete ve[we-1]}else if(ye>be)for(we=fe-be;we>pe;we--)Ae=we+be-1,Me=we+ye-1,Ae in ve?ve[Me]=ve[Ae]:delete ve[Me];for(we=0;we<ye;we++)ve[we+pe]=arguments[we+2];return ve.length=fe-be+ye,Le}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-integer-or-infinity":248,"../internals/to-object":250}],284:[function(x,Se,he){var ae=x("../internals/descriptors"),te=x("../internals/function-name").EXISTS,le=x("../internals/function-uncurry-this"),de=x("../internals/object-define-property").f,se=Function.prototype,ue=le(se.toString),oe=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ie=le(oe.exec),ne="name";ae&&!te&&de(se,ne,{configurable:!0,get:function(){try{return ie(oe,ue(this))[1]}catch(a){return""}}})},{"../internals/descriptors":134,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/object-define-property":198}],285:[function(x,Se,he){var ae=x("../internals/export"),te=x("../internals/get-built-in"),le=x("../internals/function-apply"),de=x("../internals/function-call"),se=x("../internals/function-uncurry-this"),ue=x("../internals/fails"),oe=x("../internals/is-array"),ie=x("../internals/is-callable"),ne=x("../internals/is-object"),a=x("../internals/is-symbol"),y=x("../internals/array-slice"),E=x("../internals/native-symbol"),b=te("JSON","stringify"),z=se(/./.exec),ee=se("".charAt),re=se("".charCodeAt),ce=se("".replace),ge=se(1 .toString),ve=/[\uD800-\uDFFF]/g,fe=/^[\uD800-\uDBFF]$/,pe=/^[\uDC00-\uDFFF]$/,me=!E||ue(function(){var we=te("Symbol")();return b([we])!="[null]"||b({a:we})!="{}"||b(Object(we))!="{}"}),ye=ue(function(){return b("\uDF06\uD834")!=='"\\udf06\\ud834"'||b("\uDEAD")!=='"\\udead"'}),be=function(we,Ae){var Me=y(arguments),De=Ae;if(!(!ne(Ae)&&we===void 0||a(we)))return oe(Ae)||(Ae=function(ze,qe){if(ie(De)&&(qe=de(De,this,ze,qe)),!a(qe))return qe}),Me[1]=Ae,le(b,null,Me)},Le=function(we,Ae,Me){var De=ee(Me,Ae-1),ze=ee(Me,Ae+1);return z(fe,we)&&!z(pe,ze)||z(pe,we)&&!z(fe,De)?"\\u"+ge(re(we,0),16):we};b&&ae({target:"JSON",stat:!0,forced:me||ye},{stringify:function(Ae,Me,De){var ze=y(arguments),qe=le(me?be:b,null,ze);return ye&&typeof qe=="string"?ce(qe,ve,Le):qe}})},{"../internals/array-slice":117,"../internals/export":149,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/is-array":175,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/native-symbol":191}],286:[function(x,Se,he){"use strict";var ae=x("../internals/descriptors"),te=x("../internals/global"),le=x("../internals/function-uncurry-this"),de=x("../internals/is-forced"),se=x("../internals/redefine"),ue=x("../internals/has-own-property"),oe=x("../internals/inherit-if-required"),ie=x("../internals/object-is-prototype-of"),ne=x("../internals/is-symbol"),a=x("../internals/to-primitive"),y=x("../internals/fails"),E=x("../internals/object-get-own-property-names").f,b=x("../internals/object-get-own-property-descriptor").f,z=x("../internals/object-define-property").f,ee=x("../internals/this-number-value"),re=x("../internals/string-trim").trim,ce="Number",ge=te[ce],ve=ge.prototype,fe=te.TypeError,pe=le("".slice),me=le("".charCodeAt),ye=function(De){var ze=a(De,"number");return typeof ze=="bigint"?ze:be(ze)},be=function(De){var ze=a(De,"number"),qe,Re,ot,rt,Qe,Je,Ge,ke;if(ne(ze))throw fe("Cannot convert a Symbol value to a number");if(typeof ze=="string"&&ze.length>2){if(ze=re(ze),qe=me(ze,0),qe===43||qe===45){if(Re=me(ze,2),Re===88||Re===120)return NaN}else if(qe===48){switch(me(ze,1)){case 66:case 98:ot=2,rt=49;break;case 79:case 111:ot=8,rt=55;break;default:return+ze}for(Qe=pe(ze,2),Je=Qe.length,Ge=0;Ge<Je;Ge++)if(ke=me(Qe,Ge),ke<48||ke>rt)return NaN;return parseInt(Qe,ot)}}return+ze};if(de(ce,!ge(" 0o1")||!ge("0b1")||ge("+0x1"))){for(var Le=function(ze){var qe=arguments.length<1?0:ge(ye(ze)),Re=this;return ie(ve,Re)&&y(function(){ee(Re)})?oe(Object(qe),Re,Le):qe},we=ae?E(ge):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Ae=0,Me;we.length>Ae;Ae++)ue(ge,Me=we[Ae])&&!ue(Le,Me)&&z(Le,Me,b(ge,Me));Le.prototype=ve,ve.constructor=Le,se(te,ce,Le)}},{"../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,he){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,he){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,he){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,he){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,he){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,he){"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,ge=1;ue(ne,function(ve){var fe=ce++,pe=!1;ge++,te(ee,a,ve).then(function(me){pe||(pe=!0,re[fe]=me,--ge||E(re))},b)}),--ge||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,he){"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,he){"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"),ge=x("../internals/host-report-errors"),ve=x("../internals/perform"),fe=x("../internals/queue"),pe=x("../internals/internal-state"),me=x("../internals/promise-native-constructor"),ye=x("../internals/promise-constructor-detection"),be=x("../internals/new-promise-capability"),Le="Promise",we=ye.CONSTRUCTOR,Ae=ye.REJECTION_EVENT,Me=ye.SUBCLASSING,De=pe.getterFor(Le),ze=pe.set,qe=me&&me.prototype,Re=me,ot=qe,rt=de.TypeError,Qe=de.document,Je=de.process,Ge=be.f,ke=Ge,_e=!!(Qe&&Qe.createEvent&&de.dispatchEvent),tt="unhandledrejection",Xe="rejectionhandled",ct=0,Ye=1,Ne=2,Oe=1,Ue=2,xe,Fe,He,We,Ie=function(dt){var vt;return b(dt)&&E(vt=dt.then)?vt:!1},Te=function(dt,vt){var st=vt.value,ht=vt.state==Ye,$e=ht?dt.ok:dt.fail,lt=dt.resolve,ft=dt.reject,mt=dt.domain,wt,jt,It;try{$e?(ht||(vt.rejection===Ue&&at(vt),vt.rejection=Oe),$e===!0?wt=st:(mt&&mt.enter(),wt=$e(st),mt&&(mt.exit(),It=!0)),wt===dt.promise?ft(rt("Promise-chain cycle")):(jt=Ie(wt))?se(jt,wt,lt,ft):lt(wt)):ft(st)}catch(Mt){mt&&!It&&mt.exit(),ft(Mt)}},Ee=function(dt,vt){dt.notified||(dt.notified=!0,ce(function(){for(var st=dt.reactions,ht;ht=st.get();)Te(ht,dt);dt.notified=!1,vt&&!dt.rejection&&je(dt)}))},Pe=function(dt,vt,st){var ht,$e;_e?(ht=Qe.createEvent("Event"),ht.promise=vt,ht.reason=st,ht.initEvent(dt,!1,!0),de.dispatchEvent(ht)):ht={promise:vt,reason:st},!Ae&&($e=de["on"+dt])?$e(ht):dt===tt&&ge("Unhandled promise rejection",st)},je=function(dt){se(re,de,function(){var vt=dt.facade,st=dt.value,ht=Ke(dt),$e;if(ht&&($e=ve(function(){le?Je.emit("unhandledRejection",st,vt):Pe(tt,vt,st)}),dt.rejection=le||Ke(dt)?Ue:Oe,$e.error))throw $e.value})},Ke=function(dt){return dt.rejection!==Oe&&!dt.parent},at=function(dt){se(re,de,function(){var vt=dt.facade;le?Je.emit("rejectionHandled",vt):Pe(Xe,vt,dt.value)})},Ze=function(dt,vt,st){return function(ht){dt(vt,ht,st)}},it=function(dt,vt,st){dt.done||(dt.done=!0,st&&(dt=st),dt.value=vt,dt.state=Ne,Ee(dt,!0))},pt=function(dt,vt,st){if(!dt.done){dt.done=!0,st&&(dt=st);try{if(dt.facade===vt)throw rt("Promise can't be resolved itself");var ht=Ie(vt);ht?ce(function(){var $e={done:!1};try{se(ht,vt,Ze(pt,$e,dt),Ze(it,$e,dt))}catch(lt){it($e,lt,dt)}}):(dt.value=vt,dt.state=Ye,Ee(dt,!1))}catch($e){it({done:!1},$e,dt)}}};if(we&&(Re=function(vt){z(this,ot),y(vt),se(xe,this);var st=De(this);try{vt(Ze(pt,st),Ze(it,st))}catch(ht){it(st,ht)}},ot=Re.prototype,xe=function(vt){ze(this,{type:Le,done:!1,notified:!1,parent:!1,reactions:new fe,rejection:!1,state:ct,value:void 0})},xe.prototype=oe(ot,{then:function(vt,st){var ht=De(this),$e=Ge(ee(this,Re));return ht.parent=!0,$e.ok=E(vt)?vt:!0,$e.fail=E(st)&&st,$e.domain=le?Je.domain:void 0,ht.state==ct?ht.reactions.add($e):ce(function(){Te($e,ht)}),$e.promise}}),Fe=function(){var dt=new xe,vt=De(dt);this.promise=dt,this.resolve=Ze(pt,vt),this.reject=Ze(it,vt)},be.f=Ge=function(dt){return dt===Re||dt===He?new Fe(dt):ke(dt)},!te&&E(me)&&qe!==Object.prototype)){We=qe.then,Me||ue(qe,"then",function(vt,st){var ht=this;return new Re(function($e,lt){se(We,ht,$e,lt)}).then(vt,st)},{unsafe:!0});try{delete qe.constructor}catch(dt){}ie&&ie(qe,ot)}ae({global:!0,wrap:!0,forced:we},{Promise:Re}),ne(Re,Le,!1,!0),a(Le)},{"../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,he){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,he){"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,he){"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,he){"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,he){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,ge=x("../internals/set-species"),ve=x("../internals/well-known-symbol"),fe=x("../internals/regexp-unsupported-dot-all"),pe=x("../internals/regexp-unsupported-ncg"),me=ve("match"),ye=te.RegExp,be=ye.prototype,Le=te.SyntaxError,we=le(be.exec),Ae=le("".charAt),Me=le("".replace),De=le("".indexOf),ze=le("".slice),qe=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Re=/a/g,ot=/a/g,rt=new ye(Re)!==Re,Qe=E.MISSED_STICKY,Je=E.UNSUPPORTED_Y,Ge=ae&&(!rt||Qe||fe||pe||ee(function(){return ot[me]=!1,ye(Re)!=Re||ye(ot)==ot||ye(Re,"i")!="/a/i"})),ke=function(Ye){for(var Ne=Ye.length,Oe=0,Ue="",xe=!1,Fe;Oe<=Ne;Oe++){if(Fe=Ae(Ye,Oe),Fe==="\\"){Ue+=Fe+Ae(Ye,++Oe);continue}!xe&&Fe==="."?Ue+="[\\s\\S]":(Fe==="["?xe=!0:Fe==="]"&&(xe=!1),Ue+=Fe)}return Ue},_e=function(Ye){for(var Ne=Ye.length,Oe=0,Ue="",xe=[],Fe={},He=!1,We=!1,Ie=0,Te="",Ee;Oe<=Ne;Oe++){if(Ee=Ae(Ye,Oe),Ee==="\\")Ee=Ee+Ae(Ye,++Oe);else if(Ee==="]")He=!1;else if(!He)switch(!0){case Ee==="[":He=!0;break;case Ee==="(":we(qe,ze(Ye,Oe+1))&&(Oe+=2,We=!0),Ue+=Ee,Ie++;continue;case(Ee===">"&&We):if(Te===""||re(Fe,Te))throw new Le("Invalid capture group name");Fe[Te]=!0,xe[xe.length]=[Te,Ie],We=!1,Te="";continue}We?Te+=Ee:Ue+=Ee}return[Ue,xe]};if(de("RegExp",Ge)){for(var tt=function(Ne,Oe){var Ue=ie(be,this),xe=ne(Ne),Fe=Oe===void 0,He=[],We=Ne,Ie,Te,Ee,Pe,je,Ke;if(!Ue&&xe&&Fe&&Ne.constructor===tt)return Ne;if((xe||ie(be,Ne))&&(Ne=Ne.source,Fe&&(Oe=y(We))),Ne=Ne===void 0?"":a(Ne),Oe=Oe===void 0?"":a(Oe),We=Ne,fe&&"dotAll"in Re&&(Te=!!Oe&&De(Oe,"s")>-1,Te&&(Oe=Me(Oe,/s/g,""))),Ie=Oe,Qe&&"sticky"in Re&&(Ee=!!Oe&&De(Oe,"y")>-1,Ee&&Je&&(Oe=Me(Oe,/y/g,""))),pe&&(Pe=_e(Ne),Ne=Pe[0],He=Pe[1]),je=se(ye(Ne,Oe),Ue?this:be,tt),(Te||Ee||He.length)&&(Ke=ce(je),Te&&(Ke.dotAll=!0,Ke.raw=tt(ke(Ne),Ie)),Ee&&(Ke.sticky=!0),He.length&&(Ke.groups=He)),Ne!==We)try{ue(je,"source",We===""?"(?:)":We)}catch(at){}return je},Xe=oe(ye),ct=0;Xe.length>ct;)b(tt,ye,Xe[ct++]);be.constructor=tt,tt.prototype=be,z(te,"RegExp",tt)}ge("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(x,Se,he){"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,he){"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,he){"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,he){"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,he){"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 ge=[],ve=0,fe;(fe=ne(z,ee))!==null;){var pe=se(fe[0]);ge[ve]=pe,pe===""&&(z.lastIndex=ie(ee,de(z.lastIndex),ce)),ve++}return ve===0?null:ge}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(x,Se,he){"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"),ge=Math.max,ve=Math.min,fe=le([].concat),pe=le([].push),me=le("".indexOf),ye=le("".slice),be=function(Me){return Me===void 0?Me:String(Me)},Le=function(){return"a".replace(/./,"$0")==="$0"}(),we=function(){return/./[ce]?/./[ce]("a","$0")==="":!1}(),Ae=!se(function(){var Me=/./;return Me.exec=function(){var De=[];return De.groups={a:"7"},De},"".replace(Me,"$<a>")!=="7"});de("replace",function(Me,De,ze){var qe=we?"$":"$0";return[function(ot,rt){var Qe=y(this),Je=ot==null?void 0:b(ot,ce);return Je?te(Je,ot,Qe,rt):te(De,a(Qe),ot,rt)},function(Re,ot){var rt=ue(this),Qe=a(Re);if(typeof ot=="string"&&me(ot,qe)===-1&&me(ot,"$<")===-1){var Je=ze(De,rt,Qe,ot);if(Je.done)return Je.value}var Ge=oe(ot);Ge||(ot=a(ot));var ke=rt.global;if(ke){var _e=rt.unicode;rt.lastIndex=0}for(var tt=[];;){var Xe=ee(rt,Qe);if(Xe===null||(pe(tt,Xe),!ke))break;var ct=a(Xe[0]);ct===""&&(rt.lastIndex=E(Qe,ne(rt.lastIndex),_e))}for(var Ye="",Ne=0,Oe=0;Oe<tt.length;Oe++){Xe=tt[Oe];for(var Ue=a(Xe[0]),xe=ge(ve(ie(Xe.index),Qe.length),0),Fe=[],He=1;He<Xe.length;He++)pe(Fe,be(Xe[He]));var We=Xe.groups;if(Ge){var Ie=fe([Ue],Fe,xe,Qe);We!==void 0&&pe(Ie,We);var Te=a(ae(ot,void 0,Ie))}else Te=z(Ue,Qe,xe,Fe,We,ot);xe>=Ne&&(Ye+=ye(Qe,Ne,xe)+Te,Ne=xe+Ue.length)}return Ye+ye(Qe,Ne)}]},!Ae||!Le||we)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(x,Se,he){"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,he){"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"),ge=re.UNSUPPORTED_Y,ve=4294967295,fe=Math.min,pe=[].push,me=le(/./.exec),ye=le(pe),be=le("".slice),Le=!ce(function(){var we=/(?:)/,Ae=we.exec;we.exec=function(){return Ae.apply(this,arguments)};var Me="ab".split(we);return Me.length!==2||Me[0]!=="a"||Me[1]!=="b"});de("split",function(we,Ae,Me){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,qe){var Re=y(oe(this)),ot=qe===void 0?ve:qe>>>0;if(ot===0)return[];if(ze===void 0)return[Re];if(!se(ze))return te(Ae,Re,ze,ot);for(var rt=[],Qe=(ze.ignoreCase?"i":"")+(ze.multiline?"m":"")+(ze.unicode?"u":"")+(ze.sticky?"y":""),Je=0,Ge=new RegExp(ze.source,Qe+"g"),ke,_e,tt;(ke=te(ee,Ge,Re))&&(_e=Ge.lastIndex,!(_e>Je&&(ye(rt,be(Re,Je,ke.index)),ke.length>1&&ke.index<Re.length&&ae(pe,rt,b(ke,1)),tt=ke[0].length,Je=_e,rt.length>=ot)));)Ge.lastIndex===ke.index&&Ge.lastIndex++;return Je===Re.length?(tt||!me(Ge,""))&&ye(rt,""):ye(rt,be(Re,Je)),rt.length>ot?b(rt,0,ot):rt}:"0".split(void 0,0).length?De=function(ze,qe){return ze===void 0&&qe===0?[]:te(Ae,this,ze,qe)}:De=Ae,[function(qe,Re){var ot=oe(this),rt=qe==null?void 0:E(qe,we);return rt?te(rt,qe,ot,Re):te(De,y(ot),qe,Re)},function(ze,qe){var Re=ue(this),ot=y(ze),rt=Me(De,Re,ot,qe,De!==Ae);if(rt.done)return rt.value;var Qe=ie(Re,RegExp),Je=Re.unicode,Ge=(Re.ignoreCase?"i":"")+(Re.multiline?"m":"")+(Re.unicode?"u":"")+(ge?"g":"y"),ke=new Qe(ge?"^(?:"+Re.source+")":Re,Ge),_e=qe===void 0?ve:qe>>>0;if(_e===0)return[];if(ot.length===0)return z(ke,ot)===null?[ot]:[];for(var tt=0,Xe=0,ct=[];Xe<ot.length;){ke.lastIndex=ge?0:Xe;var Ye=z(ke,ge?be(ot,Xe):ot),Ne;if(Ye===null||(Ne=fe(a(ke.lastIndex+(ge?Xe:0)),ot.length))===tt)Xe=ne(ot,Xe,Je);else{if(ye(ct,be(ot,tt,Xe)),ct.length===_e)return ct;for(var Oe=1;Oe<=Ye.length-1;Oe++)if(ye(ct,Ye[Oe]),ct.length===_e)return ct;Xe=tt=Ne}}return ye(ct,be(ot,tt)),ct}]},!Le,ge)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/array-slice-simple":116,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/is-regexp":182,"../internals/regexp-exec":224,"../internals/regexp-exec-abstract":223,"../internals/regexp-sticky-helpers":227,"../internals/require-object-coercible":230,"../internals/species-constructor":238,"../internals/to-length":249,"../internals/to-string":256}],308:[function(x,Se,he){"use strict";var ae=x("../internals/export"),te=x("../internals/string-trim").trim,le=x("../internals/string-trim-forced");ae({target:"String",proto:!0,forced:le("trim")},{trim:function(){return te(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(x,Se,he){"use strict";var ae=x("../internals/export"),te=x("../internals/global"),le=x("../internals/function-call"),de=x("../internals/function-uncurry-this"),se=x("../internals/is-pure"),ue=x("../internals/descriptors"),oe=x("../internals/native-symbol"),ie=x("../internals/fails"),ne=x("../internals/has-own-property"),a=x("../internals/object-is-prototype-of"),y=x("../internals/an-object"),E=x("../internals/to-indexed-object"),b=x("../internals/to-property-key"),z=x("../internals/to-string"),ee=x("../internals/create-property-descriptor"),re=x("../internals/object-create"),ce=x("../internals/object-keys"),ge=x("../internals/object-get-own-property-names"),ve=x("../internals/object-get-own-property-names-external"),fe=x("../internals/object-get-own-property-symbols"),pe=x("../internals/object-get-own-property-descriptor"),me=x("../internals/object-define-property"),ye=x("../internals/object-define-properties"),be=x("../internals/object-property-is-enumerable"),Le=x("../internals/redefine"),we=x("../internals/shared"),Ae=x("../internals/shared-key"),Me=x("../internals/hidden-keys"),De=x("../internals/uid"),ze=x("../internals/well-known-symbol"),qe=x("../internals/well-known-symbol-wrapped"),Re=x("../internals/define-well-known-symbol"),ot=x("../internals/symbol-define-to-primitive"),rt=x("../internals/set-to-string-tag"),Qe=x("../internals/internal-state"),Je=x("../internals/array-iteration").forEach,Ge=Ae("hidden"),ke="Symbol",_e="prototype",tt=Qe.set,Xe=Qe.getterFor(ke),ct=Object[_e],Ye=te.Symbol,Ne=Ye&&Ye[_e],Oe=te.TypeError,Ue=te.QObject,xe=pe.f,Fe=me.f,He=ve.f,We=be.f,Ie=de([].push),Te=we("symbols"),Ee=we("op-symbols"),Pe=we("wks"),je=!Ue||!Ue[_e]||!Ue[_e].findChild,Ke=ue&&ie(function(){return re(Fe({},"a",{get:function(){return Fe(this,"a",{value:7}).a}})).a!=7})?function($e,lt,ft){var mt=xe(ct,lt);mt&&delete ct[lt],Fe($e,lt,ft),mt&&$e!==ct&&Fe(ct,lt,mt)}:Fe,at=function($e,lt){var ft=Te[$e]=re(Ne);return tt(ft,{type:ke,tag:$e,description:lt}),ue||(ft.description=lt),ft},Ze=function(lt,ft,mt){lt===ct&&Ze(Ee,ft,mt),y(lt);var wt=b(ft);return y(mt),ne(Te,wt)?(mt.enumerable?(ne(lt,Ge)&<[Ge][wt]&&(lt[Ge][wt]=!1),mt=re(mt,{enumerable:ee(0,!1)})):(ne(lt,Ge)||Fe(lt,Ge,ee(1,{})),lt[Ge][wt]=!0),Ke(lt,wt,mt)):Fe(lt,wt,mt)},it=function(lt,ft){y(lt);var mt=E(ft),wt=ce(mt).concat(ht(mt));return Je(wt,function(jt){(!ue||le(dt,mt,jt))&&Ze(lt,jt,mt[jt])}),lt},pt=function(lt,ft){return ft===void 0?re(lt):it(re(lt),ft)},dt=function(lt){var ft=b(lt),mt=le(We,this,ft);return this===ct&&ne(Te,ft)&&!ne(Ee,ft)?!1:mt||!ne(this,ft)||!ne(Te,ft)||ne(this,Ge)&&this[Ge][ft]?mt:!0},vt=function(lt,ft){var mt=E(lt),wt=b(ft);if(!(mt===ct&&ne(Te,wt)&&!ne(Ee,wt))){var jt=xe(mt,wt);return jt&&ne(Te,wt)&&!(ne(mt,Ge)&&mt[Ge][wt])&&(jt.enumerable=!0),jt}},st=function(lt){var ft=He(E(lt)),mt=[];return Je(ft,function(wt){!ne(Te,wt)&&!ne(Me,wt)&&Ie(mt,wt)}),mt},ht=function($e){var lt=$e===ct,ft=He(lt?Ee:E($e)),mt=[];return Je(ft,function(wt){ne(Te,wt)&&(!lt||ne(ct,wt))&&Ie(mt,Te[wt])}),mt};oe||(Ye=function(){if(a(Ne,this))throw Oe("Symbol is not a constructor");var lt=!arguments.length||arguments[0]===void 0?void 0:z(arguments[0]),ft=De(lt),mt=function(wt){this===ct&&le(mt,Ee,wt),ne(this,Ge)&&ne(this[Ge],ft)&&(this[Ge][ft]=!1),Ke(this,ft,ee(1,wt))};return ue&&je&&Ke(ct,ft,{configurable:!0,set:mt}),at(ft,lt)},Ne=Ye[_e],Le(Ne,"toString",function(){return Xe(this).tag}),Le(Ye,"withoutSetter",function($e){return at(De($e),$e)}),be.f=dt,me.f=Ze,ye.f=it,pe.f=vt,ge.f=ve.f=st,fe.f=ht,qe.f=function($e){return at(ze($e),$e)},ue&&(Fe(Ne,"description",{configurable:!0,get:function(){return Xe(this).description}}),se||Le(ct,"propertyIsEnumerable",dt,{unsafe:!0}))),ae({global:!0,wrap:!0,forced:!oe,sham:!oe},{Symbol:Ye}),Je(ce(Pe),function($e){Re($e)}),ae({target:ke,stat:!0,forced:!oe},{useSetter:function(){je=!0},useSimple:function(){je=!1}}),ae({target:"Object",stat:!0,forced:!oe,sham:!ue},{create:pt,defineProperty:Ze,defineProperties:it,getOwnPropertyDescriptor:vt}),ae({target:"Object",stat:!0,forced:!oe},{getOwnPropertyNames:st}),ot(),rt(Ye,ke),Me[Ge]=!0},{"../internals/an-object":101,"../internals/array-iteration":111,"../internals/create-property-descriptor":130,"../internals/define-well-known-symbol":133,"../internals/descriptors":134,"../internals/export":149,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/native-symbol":191,"../internals/object-create":196,"../internals/object-define-properties":197,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-names-external":200,"../internals/object-get-own-property-symbols":202,"../internals/object-is-prototype-of":204,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/shared":237,"../internals/shared-key":235,"../internals/symbol-define-to-primitive":242,"../internals/to-indexed-object":247,"../internals/to-property-key":254,"../internals/to-string":256,"../internals/uid":263,"../internals/well-known-symbol":268,"../internals/well-known-symbol-wrapped":267}],310:[function(x,Se,he){"use strict";var ae=x("../internals/export"),te=x("../internals/descriptors"),le=x("../internals/global"),de=x("../internals/function-uncurry-this"),se=x("../internals/has-own-property"),ue=x("../internals/is-callable"),oe=x("../internals/object-is-prototype-of"),ie=x("../internals/to-string"),ne=x("../internals/object-define-property").f,a=x("../internals/copy-constructor-properties"),y=le.Symbol,E=y&&y.prototype;if(te&&ue(y)&&(!("description"in E)||y().description!==void 0)){var b={},z=function(){var me=arguments.length<1||arguments[0]===void 0?void 0:ie(arguments[0]),ye=oe(E,this)?new y(me):me===void 0?y():y(me);return me===""&&(b[ye]=!0),ye};a(z,y),z.prototype=E,E.constructor=z;var ee=String(y("test"))=="Symbol(test)",re=de(E.toString),ce=de(E.valueOf),ge=/^Symbol\((.*)\)[^)]+$/,ve=de("".replace),fe=de("".slice);ne(E,"description",{configurable:!0,get:function(){var me=ce(this),ye=re(me);if(se(b,me))return"";var be=ee?fe(ye,7,-1):ve(ye,ge,"$1");return be===""?void 0:be}}),ae({global:!0,forced:!0},{Symbol:z})}},{"../internals/copy-constructor-properties":125,"../internals/descriptors":134,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/object-define-property":198,"../internals/object-is-prototype-of":204,"../internals/to-string":256}],311:[function(x,Se,he){var ae=x("../internals/export"),te=x("../internals/get-built-in"),le=x("../internals/has-own-property"),de=x("../internals/to-string"),se=x("../internals/shared"),ue=x("../internals/native-symbol-registry"),oe=se("string-to-symbol-registry"),ie=se("symbol-to-string-registry");ae({target:"Symbol",stat:!0,forced:!ue},{for:function(ne){var a=de(ne);if(le(oe,a))return oe[a];var y=te("Symbol")(a);return oe[a]=y,ie[y]=a,y}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/has-own-property":164,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/to-string":256}],312:[function(x,Se,he){var ae=x("../internals/define-well-known-symbol");ae("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(x,Se,he){x("../modules/es.symbol.constructor"),x("../modules/es.symbol.for"),x("../modules/es.symbol.key-for"),x("../modules/es.json.stringify"),x("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":285,"../modules/es.object.get-own-property-symbols":289,"../modules/es.symbol.constructor":309,"../modules/es.symbol.for":311,"../modules/es.symbol.key-for":314}],314:[function(x,Se,he){var ae=x("../internals/export"),te=x("../internals/has-own-property"),le=x("../internals/is-symbol"),de=x("../internals/try-to-string"),se=x("../internals/shared"),ue=x("../internals/native-symbol-registry"),oe=se("symbol-to-string-registry");ae({target:"Symbol",stat:!0,forced:!ue},{keyFor:function(ne){if(!le(ne))throw TypeError(de(ne)+" is not a symbol");if(te(oe,ne))return oe[ne]}})},{"../internals/export":149,"../internals/has-own-property":164,"../internals/is-symbol":183,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/try-to-string":257}],315:[function(x,Se,he){"use strict";var ae=x("../internals/function-uncurry-this"),te=x("../internals/array-buffer-view-core"),le=x("../internals/array-copy-within"),de=ae(le),se=te.aTypedArray,ue=te.exportTypedArrayMethod;ue("copyWithin",function(ie,ne){return de(se(this),ie,ne,arguments.length>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(x,Se,he){"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,he){"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,he){"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,he){"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,he){"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,he){"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,he){"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,he){"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,he){"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,he){"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,he){"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,he){"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,he){"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,he){"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,he){"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;ne<ie;)a=ue[ne],ue[ne++]=ue[--oe],ue[oe]=a;return ue})},{"../internals/array-buffer-view-core":103}],331:[function(x,Se,he){"use strict";var ae=x("../internals/global"),te=x("../internals/function-call"),le=x("../internals/array-buffer-view-core"),de=x("../internals/length-of-array-like"),se=x("../internals/to-offset"),ue=x("../internals/to-object"),oe=x("../internals/fails"),ie=ae.RangeError,ne=ae.Int8Array,a=ne&&ne.prototype,y=a&&a.set,E=le.aTypedArray,b=le.exportTypedArrayMethod,z=!oe(function(){var re=new Uint8ClampedArray(2);return te(y,re,{length:1,0:3},1),re[1]!==3}),ee=z&&le.NATIVE_ARRAY_BUFFER_VIEWS&&oe(function(){var re=new ne(2);return re.set(1),re.set("2",1),re[0]!==0||re[1]!==2});b("set",function(ce){E(this);var ge=se(arguments.length>1?arguments[1]:void 0,1),ve=ue(ce);if(z)return te(y,this,ve,ge);var fe=this.length,pe=de(ve),me=0;if(pe+ge>fe)throw ie("Wrong length");for(;me<pe;)this[ge+me]=ve[me++]},!z||ee)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-call":155,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-offset":251}],332:[function(x,Se,he){"use strict";var ae=x("../internals/array-buffer-view-core"),te=x("../internals/typed-array-species-constructor"),le=x("../internals/fails"),de=x("../internals/array-slice"),se=ae.aTypedArray,ue=ae.exportTypedArrayMethod,oe=le(function(){new Int8Array(1).slice()});ue("slice",function(ne,a){for(var y=de(se(this),ne,a),E=te(this),b=0,z=y.length,ee=new E(z);z>b;)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,he){"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,he){"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 ge=new b(516),ve=Array(516),fe,pe;for(fe=0;fe<516;fe++)pe=fe%4,ge[fe]=515-fe,ve[fe]=fe-2*pe+3;for(z(ge,function(me,ye){return(me/4|0)-(ye/4|0)}),fe=0;fe<516;fe++)if(ge[fe]!==ve[fe])return!0}),ce=function(ge){return function(ve,fe){return ge!==void 0?+ge(ve,fe)||0:fe!==fe?-1:ve!==ve?1:ve===0&&fe===0?1/ve>0&&1/fe<0?1:-1:ve>fe}};E("sort",function(ve){return ve!==void 0&&de(ve),re?z(this,ve):se(y(this),ce(ve))},!re||ee)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(x,Se,he){"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,he){"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,he){"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,he){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,he){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,he){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,he){function ae(re){return Array.isArray?Array.isArray(re):ee(re)==="[object Array]"}he.isArray=ae;function te(re){return typeof re=="boolean"}he.isBoolean=te;function le(re){return re===null}he.isNull=le;function de(re){return re==null}he.isNullOrUndefined=de;function se(re){return typeof re=="number"}he.isNumber=se;function ue(re){return typeof re=="string"}he.isString=ue;function oe(re){return typeof re=="symbol"}he.isSymbol=oe;function ie(re){return re===void 0}he.isUndefined=ie;function ne(re){return ee(re)==="[object RegExp]"}he.isRegExp=ne;function a(re){return typeof re=="object"&&re!==null}he.isObject=a;function y(re){return ee(re)==="[object Date]"}he.isDate=y;function E(re){return ee(re)==="[object Error]"||re instanceof Error}he.isError=E;function b(re){return typeof re=="function"}he.isFunction=b;function z(re){return re===null||typeof re=="boolean"||typeof re=="number"||typeof re=="string"||typeof re=="symbol"||typeof re=="undefined"}he.isPrimitive=z,he.isBuffer=x("buffer").Buffer.isBuffer;function ee(re){return Object.prototype.toString.call(re)}},{buffer:90}],342:[function(x,Se,he){(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"](),ge=a[ee+"Month"](),ve=a[ee+"FullYear"](),fe=a[ee+"Hours"](),pe=a[ee+"Minutes"](),me=a[ee+"Seconds"](),ye=a[ee+"Milliseconds"](),be=E?0:a.getTimezoneOffset(),Le=de(a),we=se(a),Ae={d:re,dd:le(re),ddd:te.i18n.dayNames[ce],dddd:te.i18n.dayNames[ce+7],m:ge+1,mm:le(ge+1),mmm:te.i18n.monthNames[ge],mmmm:te.i18n.monthNames[ge+12],yy:String(ve).slice(2),yyyy:ve,h:fe%12||12,hh:le(fe%12||12),H:fe,HH:le(fe),M:pe,MM:le(pe),s:me,ss:le(me),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:Le,N:we};return y.replace(oe,function(Me){return Me in Ae?Ae[Me]:Me.slice(1,Me.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<ie;)oe="0"+oe;return oe}function de(oe){var ie=new Date(oe.getFullYear(),oe.getMonth(),oe.getDate());ie.setDate(ie.getDate()-(ie.getDay()+6)%7+3);var ne=new Date(ie.getFullYear(),0,4);ne.setDate(ne.getDate()-(ne.getDay()+6)%7+3);var a=ie.getTimezoneOffset()-ne.getTimezoneOffset();ie.setHours(ie.getHours()-a);var y=(ie-ne)/(864e5*7);return 1+Math.floor(y)}function se(oe){var ie=oe.getDay();return ie===0&&(ie=7),ie}function ue(oe){return oe===null?"null":oe===void 0?"undefined":typeof oe!="object"?typeof oe:Array.isArray(oe)?"array":{}.toString.call(oe).slice(8,-1).toLowerCase()}typeof Ce=="function"&&Ce.amd?Ce(function(){return te}):typeof he=="object"?Se.exports=te:ae.dateFormat=te})(this)},{}],343:[function(x,Se,he){"use strict";var ae=/["'&<>]/;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;ie<de.length;ie++){switch(de.charCodeAt(ie)){case 34:ue=""";break;case 38:ue="&";break;case 39:ue="'";break;case 60:ue="<";break;case 62:ue=">";break;default:continue}ne!==ie&&(oe+=de.substring(ne,ie)),ne=ie+1,oe+=ue}return ne!==ie?oe+de.substring(ne,ie):oe}},{}],344:[function(x,Se,he){"use strict";var ae=typeof Reflect=="object"?Reflect:null,te=ae&&typeof ae.apply=="function"?ae.apply:function(me,ye,be){return Function.prototype.apply.call(me,ye,be)},le;ae&&typeof ae.ownKeys=="function"?le=ae.ownKeys:Object.getOwnPropertySymbols?le=function(me){return Object.getOwnPropertyNames(me).concat(Object.getOwnPropertySymbols(me))}:le=function(me){return Object.getOwnPropertyNames(me)};function de(pe){console&&console.warn&&console.warn(pe)}var se=Number.isNaN||function(me){return me!==me};function ue(){ue.init.call(this)}Se.exports=ue,Se.exports.once=ge,ue.EventEmitter=ue,ue.prototype._events=void 0,ue.prototype._eventsCount=0,ue.prototype._maxListeners=void 0;var oe=10;function ie(pe){if(typeof pe!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof pe)}Object.defineProperty(ue,"defaultMaxListeners",{enumerable:!0,get:function(){return oe},set:function(pe){if(typeof pe!="number"||pe<0||se(pe))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+pe+".");oe=pe}}),ue.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},ue.prototype.setMaxListeners=function(me){if(typeof me!="number"||me<0||se(me))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+me+".");return this._maxListeners=me,this};function ne(pe){return pe._maxListeners===void 0?ue.defaultMaxListeners:pe._maxListeners}ue.prototype.getMaxListeners=function(){return ne(this)},ue.prototype.emit=function(me){for(var ye=[],be=1;be<arguments.length;be++)ye.push(arguments[be]);var Le=me==="error",we=this._events;if(we!==void 0)Le=Le&&we.error===void 0;else if(!Le)return!1;if(Le){var Ae;if(ye.length>0&&(Ae=ye[0]),Ae instanceof Error)throw Ae;var Me=new Error("Unhandled error."+(Ae?" ("+Ae.message+")":""));throw Me.context=Ae,Me}var De=we[me];if(De===void 0)return!1;if(typeof De=="function")te(De,this,ye);else for(var ze=De.length,qe=ee(De,ze),be=0;be<ze;++be)te(qe[be],this,ye);return!0};function a(pe,me,ye,be){var Le,we,Ae;if(ie(ye),we=pe._events,we===void 0?(we=pe._events=Object.create(null),pe._eventsCount=0):(we.newListener!==void 0&&(pe.emit("newListener",me,ye.listener?ye.listener:ye),we=pe._events),Ae=we[me]),Ae===void 0)Ae=we[me]=ye,++pe._eventsCount;else if(typeof Ae=="function"?Ae=we[me]=be?[ye,Ae]:[Ae,ye]:be?Ae.unshift(ye):Ae.push(ye),Le=ne(pe),Le>0&&Ae.length>Le&&!Ae.warned){Ae.warned=!0;var Me=new Error("Possible EventEmitter memory leak detected. "+Ae.length+" "+String(me)+" listeners added. Use emitter.setMaxListeners() to increase limit");Me.name="MaxListenersExceededWarning",Me.emitter=pe,Me.type=me,Me.count=Ae.length,de(Me)}return pe}ue.prototype.addListener=function(me,ye){return a(this,me,ye,!1)},ue.prototype.on=ue.prototype.addListener,ue.prototype.prependListener=function(me,ye){return a(this,me,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,me,ye){var be={fired:!1,wrapFn:void 0,target:pe,type:me,listener:ye},Le=y.bind(be);return Le.listener=ye,be.wrapFn=Le,Le}ue.prototype.once=function(me,ye){return ie(ye),this.on(me,E(this,me,ye)),this},ue.prototype.prependOnceListener=function(me,ye){return ie(ye),this.prependListener(me,E(this,me,ye)),this},ue.prototype.removeListener=function(me,ye){var be,Le,we,Ae,Me;if(ie(ye),Le=this._events,Le===void 0)return this;if(be=Le[me],be===void 0)return this;if(be===ye||be.listener===ye)--this._eventsCount===0?this._events=Object.create(null):(delete Le[me],Le.removeListener&&this.emit("removeListener",me,be.listener||ye));else if(typeof be!="function"){for(we=-1,Ae=be.length-1;Ae>=0;Ae--)if(be[Ae]===ye||be[Ae].listener===ye){Me=be[Ae].listener,we=Ae;break}if(we<0)return this;we===0?be.shift():re(be,we),be.length===1&&(Le[me]=be[0]),Le.removeListener!==void 0&&this.emit("removeListener",me,Me||ye)}return this},ue.prototype.off=ue.prototype.removeListener,ue.prototype.removeAllListeners=function(me){var ye,be,Le;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[me]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete be[me]),this;if(arguments.length===0){var we=Object.keys(be),Ae;for(Le=0;Le<we.length;++Le)Ae=we[Le],Ae!=="removeListener"&&this.removeAllListeners(Ae);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(ye=be[me],typeof ye=="function")this.removeListener(me,ye);else if(ye!==void 0)for(Le=ye.length-1;Le>=0;Le--)this.removeListener(me,ye[Le]);return this};function b(pe,me,ye){var be=pe._events;if(be===void 0)return[];var Le=be[me];return Le===void 0?[]:typeof Le=="function"?ye?[Le.listener||Le]:[Le]:ye?ce(Le):ee(Le,Le.length)}ue.prototype.listeners=function(me){return b(this,me,!0)},ue.prototype.rawListeners=function(me){return b(this,me,!1)},ue.listenerCount=function(pe,me){return typeof pe.listenerCount=="function"?pe.listenerCount(me):z.call(pe,me)},ue.prototype.listenerCount=z;function z(pe){var me=this._events;if(me!==void 0){var ye=me[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,me){for(var ye=new Array(me),be=0;be<me;++be)ye[be]=pe[be];return ye}function re(pe,me){for(;me+1<pe.length;me++)pe[me]=pe[me+1];pe.pop()}function ce(pe){for(var me=new Array(pe.length),ye=0;ye<me.length;++ye)me[ye]=pe[ye].listener||pe[ye];return me}function ge(pe,me){return new Promise(function(ye,be){function Le(Ae){pe.removeListener(me,we),be(Ae)}function we(){typeof pe.removeListener=="function"&&pe.removeListener("error",Le),ye([].slice.call(arguments))}fe(pe,me,we,{once:!0}),me!=="error"&&ve(pe,Le,{once:!0})})}function ve(pe,me,ye){typeof pe.on=="function"&&fe(pe,"error",me,ye)}function fe(pe,me,ye,be){if(typeof pe.on=="function")be.once?pe.once(me,ye):pe.on(me,ye);else if(typeof pe.addEventListener=="function")pe.addEventListener(me,function Le(we){be.once&&pe.removeEventListener(me,Le),ye(we)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof pe)}},{}],345:[function(x,Se,he){"use strict";var ae=x("is-callable"),te=Object.prototype.toString,le=Object.prototype.hasOwnProperty,de=function(ne,a,y){for(var E=0,b=ne.length;E<b;E++)le.call(ne,E)&&(y==null?a(ne[E],E,ne):a.call(y,ne[E],E,ne))},se=function(ne,a,y){for(var E=0,b=ne.length;E<b;E++)y==null?a(ne.charAt(E),E,ne):a.call(y,ne.charAt(E),E,ne)},ue=function(ne,a,y){for(var E in ne)le.call(ne,E)&&(y==null?a(ne[E],E,ne):a.call(y,ne[E],E,ne))},oe=function(ne,a,y){if(!ae(a))throw new TypeError("iterator must be a function");var E;arguments.length>=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,he){"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;b<y;b++)E.push("$"+b);if(ne=Function("binder","return function ("+E.join(",")+"){ return binder.apply(this,arguments); }")(a),oe.prototype){var z=function(){};z.prototype=oe.prototype,ne.prototype=new z,z.prototype=null}return ne}},{}],347:[function(x,Se,he){"use strict";var ae=x("./implementation");Se.exports=Function.prototype.bind||ae},{"./implementation":346}],348:[function(x,Se,he){"use strict";var ae,te=SyntaxError,le=Function,de=TypeError,se=function(De){try{return le('"use strict"; return ('+De+").constructor;")()}catch(ze){}},ue=Object.getOwnPropertyDescriptor;if(ue)try{ue({},"")}catch(De){ue=null}var oe=function(){throw new de},ie=ue?function(){try{return arguments.callee,oe}catch(De){try{return ue(arguments,"callee").get}catch(ze){return oe}}}():oe,ne=x("has-symbols")(),a=x("has-proto")(),y=Object.getPrototypeOf||(a?function(De){return De.__proto__}:null),E={},b=typeof Uint8Array=="undefined"||!y?ae:y(Uint8Array),z={"%AggregateError%":typeof AggregateError=="undefined"?ae:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?ae:ArrayBuffer,"%ArrayIteratorPrototype%":ne&&y?y([][Symbol.iterator]()):ae,"%AsyncFromSyncIteratorPrototype%":ae,"%AsyncFunction%":E,"%AsyncGenerator%":E,"%AsyncGeneratorFunction%":E,"%AsyncIteratorPrototype%":E,"%Atomics%":typeof Atomics=="undefined"?ae:Atomics,"%BigInt%":typeof BigInt=="undefined"?ae:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?ae:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?ae:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?ae:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?ae:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?ae:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?ae:FinalizationRegistry,"%Function%":le,"%GeneratorFunction%":E,"%Int8Array%":typeof Int8Array=="undefined"?ae:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?ae:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?ae:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ne&&y?y(y([][Symbol.iterator]())):ae,"%JSON%":typeof JSON=="object"?JSON:ae,"%Map%":typeof Map=="undefined"?ae:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!ne||!y?ae:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?ae:Promise,"%Proxy%":typeof Proxy=="undefined"?ae:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?ae:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?ae:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!ne||!y?ae:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?ae:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ne&&y?y(""[Symbol.iterator]()):ae,"%Symbol%":ne?Symbol:ae,"%SyntaxError%":te,"%ThrowTypeError%":ie,"%TypedArray%":b,"%TypeError%":de,"%Uint8Array%":typeof Uint8Array=="undefined"?ae:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?ae:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?ae:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?ae:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?ae:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?ae:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?ae:WeakSet};if(y)try{null.error}catch(De){var ee=y(y(De));z["%Error.prototype%"]=ee}var re=function De(ze){var qe;if(ze==="%AsyncFunction%")qe=se("async function () {}");else if(ze==="%GeneratorFunction%")qe=se("function* () {}");else if(ze==="%AsyncGeneratorFunction%")qe=se("async function* () {}");else if(ze==="%AsyncGenerator%"){var Re=De("%AsyncGeneratorFunction%");Re&&(qe=Re.prototype)}else if(ze==="%AsyncIteratorPrototype%"){var ot=De("%AsyncGenerator%");ot&&y&&(qe=y(ot.prototype))}return z[ze]=qe,qe},ce={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ge=x("function-bind"),ve=x("has"),fe=ge.call(Function.call,Array.prototype.concat),pe=ge.call(Function.apply,Array.prototype.splice),me=ge.call(Function.call,String.prototype.replace),ye=ge.call(Function.call,String.prototype.slice),be=ge.call(Function.call,RegExp.prototype.exec),Le=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,we=/\\(\\)?/g,Ae=function(ze){var qe=ye(ze,0,1),Re=ye(ze,-1);if(qe==="%"&&Re!=="%")throw new te("invalid intrinsic syntax, expected closing `%`");if(Re==="%"&&qe!=="%")throw new te("invalid intrinsic syntax, expected opening `%`");var ot=[];return me(ze,Le,function(rt,Qe,Je,Ge){ot[ot.length]=Je?me(Ge,we,"$1"):Qe||rt}),ot},Me=function(ze,qe){var Re=ze,ot;if(ve(ce,Re)&&(ot=ce[Re],Re="%"+ot[0]+"%"),ve(z,Re)){var rt=z[Re];if(rt===E&&(rt=re(Re)),typeof rt=="undefined"&&!qe)throw new de("intrinsic "+ze+" exists, but is not available. Please file an issue!");return{alias:ot,name:Re,value:rt}}throw new te("intrinsic "+ze+" does not exist!")};Se.exports=function(ze,qe){if(typeof ze!="string"||ze.length===0)throw new de("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof qe!="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 Re=Ae(ze),ot=Re.length>0?Re[0]:"",rt=Me("%"+ot+"%",qe),Qe=rt.name,Je=rt.value,Ge=!1,ke=rt.alias;ke&&(ot=ke[0],pe(Re,fe([0,1],ke)));for(var _e=1,tt=!0;_e<Re.length;_e+=1){var Xe=Re[_e],ct=ye(Xe,0,1),Ye=ye(Xe,-1);if((ct==='"'||ct==="'"||ct==="`"||Ye==='"'||Ye==="'"||Ye==="`")&&ct!==Ye)throw new te("property names with quotes must have matching quotes");if((Xe==="constructor"||!tt)&&(Ge=!0),ot+="."+Xe,Qe="%"+ot+"%",ve(z,Qe))Je=z[Qe];else if(Je!=null){if(!(Xe in Je)){if(!qe)throw new de("base intrinsic for "+ze+" exists, but the property is not available.");return}if(ue&&_e+1>=Re.length){var Ne=ue(Je,Xe);tt=!!Ne,tt&&"get"in Ne&&!("originalValue"in Ne.get)?Je=Ne.get:Je=Je[Xe]}else tt=ve(Je,Xe),Je=Je[Xe];tt&&!Ge&&(z[Qe]=Je)}}return Je}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(x,Se,he){"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,he){"use strict";var ae={foo:{}},te=Object;Se.exports=function(){return{__proto__:ae}.foo===ae.foo&&!({__proto__:null}instanceof te)}},{}],351:[function(x,Se,he){"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,he){"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,he){"use strict";var ae=x("has-symbols/shams");Se.exports=function(){return ae()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(x,Se,he){"use strict";var ae=x("function-bind");Se.exports=ae.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(x,Se,he){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,he){"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,he){he.read=function(ae,te,le,de,se){var ue,oe,ie=se*8-de-1,ne=(1<<ie)-1,a=ne>>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)},he.write=function(ae,te,le,de,se,ue){var oe,ie,ne,a=ue*8-se-1,y=(1<<a)-1,E=y>>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<<se|ie,a+=se;a>0;ae[le+z]=oe&255,z+=ee,oe/=256,a-=8);ae[le+z-ee]|=re*128}},{}],358:[function(x,Se,he){"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&&++de<z;)le[de].run();de=-1,z=se.length}le=null,de=-1,te=!1,clearTimeout(ee)}}for(var ne,a=-1,y=ae.length;++a<y;)if(ae[a]&&ae[a].test&&ae[a].test()){ne=ae[a].install(ie);break}function E(z,ee){this.fun=z,this.array=ee}E.prototype.run=function(){var z=this.fun,ee=this.array;switch(ee.length){case 0:return z();case 1:return z(ee[0]);case 2:return z(ee[0],ee[1]);case 3:return z(ee[0],ee[1],ee[2]);default:return z.apply(null,ee)}},Se.exports=b;function b(z){var ee=new Array(arguments.length-1);if(arguments.length>1)for(var re=1;re<arguments.length;re++)ee[re-1]=arguments[re];se.push(new E(z,ee)),!ue&&!te&&(ue=!0,ne())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(x,Se,he){(function(ae){(function(){"use strict";he.test=function(){return ae.setImmediate?!1:typeof ae.MessageChannel!="undefined"},he.install=function(te){var le=new ae.MessageChannel;return le.port1.onmessage=te,function(){le.port2.postMessage(0)}}}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(x,Se,he){(function(ae){(function(){"use strict";var te=ae.MutationObserver||ae.WebKitMutationObserver;he.test=function(){return te},he.install=function(le){var de=0,se=new te(le),ue=ae.document.createTextNode("");return se.observe(ue,{characterData:!0}),function(){ue.data=de=++de%2}}}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(x,Se,he){(function(ae){(function(){"use strict";he.test=function(){return typeof ae.queueMicrotask=="function"},he.install=function(te){return function(){ae.queueMicrotask(te)}}}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(x,Se,he){(function(ae){(function(){"use strict";he.test=function(){return"document"in ae&&"onreadystatechange"in ae.document.createElement("script")},he.install=function(te){return function(){var le=ae.document.createElement("script");return le.onreadystatechange=function(){te(),le.onreadystatechange=null,le.parentNode.removeChild(le),le=null},ae.document.documentElement.appendChild(le),te}}}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(x,Se,he){"use strict";he.test=function(){return!0},he.install=function(ae){return function(){setTimeout(ae,0)}}},{}],364:[function(x,Se,he){typeof Object.create=="function"?Se.exports=function(te,le){le&&(te.super_=le,te.prototype=Object.create(le.prototype,{constructor:{value:te,enumerable:!1,writable:!0,configurable:!0}}))}:Se.exports=function(te,le){if(le){te.super_=le;var de=function(){};de.prototype=le.prototype,te.prototype=new de,te.prototype.constructor=te}}},{}],365:[function(x,Se,he){"use strict";var ae=x("has-tostringtag/shams")(),te=x("call-bind/callBound"),le=te("Object.prototype.toString"),de=function(ie){return ae&&ie&&typeof ie=="object"&&Symbol.toStringTag in ie?!1:le(ie)==="[object Arguments]"},se=function(ie){return de(ie)?!0:ie!==null&&typeof ie=="object"&&typeof ie.length=="number"&&ie.length>=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,he){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,he){"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(ve){ve!==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(me){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 ge=document.all;ie.call(ge)===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(me){}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,he){"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,he){"use strict";var ae=x("which-typed-array");Se.exports=function(le){return!!ae(le)}},{"which-typed-array":420}],370:[function(x,Se,he){var ae={}.toString;Se.exports=Array.isArray||function(te){return ae.call(te)=="[object Array]"}},{}],371:[function(x,Se,he){(function(ae){(function(){(function(te,le){typeof he=="object"&&typeof Se!="undefined"?Se.exports=le(te):typeof Ce=="function"&&Ce.amd?Ce(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 qe={},Re=0,ot=ze.length;Re<ot;Re++)qe[ze.charAt(Re)]=Re;return qe}(se),oe=String.fromCharCode,ie=function(ze){if(ze.length<2){var qe=ze.charCodeAt(0);return qe<128?ze:qe<2048?oe(192|qe>>>6)+oe(128|qe&63):oe(224|qe>>>12&15)+oe(128|qe>>>6&63)+oe(128|qe&63)}else{var qe=65536+(ze.charCodeAt(0)-55296)*1024+(ze.charCodeAt(1)-56320);return oe(240|qe>>>18&7)+oe(128|qe>>>12&63)+oe(128|qe>>>6&63)+oe(128|qe&63)}},ne=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(ze){return ze.replace(ne,ie)},y=function(ze){var qe=[0,2,1][ze.length%3],Re=ze.charCodeAt(0)<<16|(ze.length>1?ze.charCodeAt(1):0)<<8|(ze.length>2?ze.charCodeAt(2):0),ot=[se.charAt(Re>>>18),se.charAt(Re>>>12&63),qe>=2?"=":se.charAt(Re>>>6&63),qe>=1?"=":se.charAt(Re&63)];return ot.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(qe){return qe=="+"?"-":"_"}).replace(/=/g,"")},ee=function(ze,qe){return qe?z(b(ze)):b(ze)},re=function(ze){return ee(ze,!0)},ce;te.Uint8Array&&(ce=function(ze,qe){for(var Re="",ot=0,rt=ze.length;ot<rt;ot+=3){var Qe=ze[ot],Je=ze[ot+1],Ge=ze[ot+2],ke=Qe<<16|Je<<8|Ge;Re+=se.charAt(ke>>>18)+se.charAt(ke>>>12&63)+(typeof Je!="undefined"?se.charAt(ke>>>6&63):"=")+(typeof Ge!="undefined"?se.charAt(ke&63):"=")}return qe?z(Re):Re});var ge=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ve=function(ze){switch(ze.length){case 4:var qe=(7&ze.charCodeAt(0))<<18|(63&ze.charCodeAt(1))<<12|(63&ze.charCodeAt(2))<<6|63&ze.charCodeAt(3),Re=qe-65536;return oe((Re>>>10)+55296)+oe((Re&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(ge,ve)},pe=function(ze){var qe=ze.length,Re=qe%4,ot=(qe>0?ue[ze.charAt(0)]<<18:0)|(qe>1?ue[ze.charAt(1)]<<12:0)|(qe>2?ue[ze.charAt(2)]<<6:0)|(qe>3?ue[ze.charAt(3)]:0),rt=[oe(ot>>>16),oe(ot>>>8&255),oe(ot&255)];return rt.length-=[0,0,2,1][Re],rt.join("")},me=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 me(String(ze).replace(/[^A-Za-z0-9\+\/]/g,""))},be=function(ze){return fe(me(ze))},Le=function(ze){return String(ze).replace(/[-_]/g,function(qe){return qe=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},we=function(ze){return be(Le(ze))},Ae;te.Uint8Array&&(Ae=function(ze){return Uint8Array.from(ye(Le(ze)),function(qe){return qe.charCodeAt(0)})});var Me=function(){var ze=te.Base64;return te.Base64=le,ze};if(te.Base64={VERSION:de,atob:ye,btoa:E,fromBase64:we,toBase64:ee,utob:a,encode:ee,encodeURI:re,btou:fe,decode:we,noConflict:Me,fromUint8Array:ce,toUint8Array:Ae},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 we(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 Ce=="function"&&Ce.amd&&Ce([],function(){return te.Base64}),{Base64:te.Base64}})}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(x,Se,he){"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,he){"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;te<arguments.length;te++)this.define(arguments[te]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}ae.prototype.define=function(te,le){for(var de in te){var se=te[de].map(function(ne){return ne.toLowerCase()});de=de.toLowerCase();for(var ue=0;ue<se.length;ue++){var oe=se[ue];if(oe[0]!=="*"){if(!le&&oe in this._types)throw new Error('Attempt to change mapping for "'+oe+'" extension from "'+this._types[oe]+'" to "'+de+'". Pass `force=true` to allow this, otherwise remove "'+oe+'" from the list of extensions for "'+de+'".');this._types[oe]=de}}if(le||!this._extensions[de]){var ie=se[0];this._extensions[de]=ie[0]!=="*"?ie:ie.substr(1)}}},ae.prototype.getType=function(te){te=String(te);var le=te.replace(/^.*[/\\]/,"").toLowerCase(),de=le.replace(/^.*\./,"").toLowerCase(),se=le.length<te.length,ue=de.length<le.length-1;return(ue||!se)&&this._types[de]||null},ae.prototype.getExtension=function(te){return te=/^\s*([^;\s]*)/.test(te)&&RegExp.$1,te&&this._extensions[te.toLowerCase()]||null},Se.exports=ae},{"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.constructor.js":299,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305}],374:[function(x,Se,he){"use strict";var ae=x("./Mime");Se.exports=new ae(x("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(x,Se,he){"use strict";Se.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],376:[function(x,Se,he){var ae=1e3,te=ae*60,le=te*60,de=le*24,se=de*7,ue=de*365.25;Se.exports=function(y,E){E=E||{};var b=typeof y;if(b==="string"&&y.length>0)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,he){"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;y<arguments.length;y++){ie=Object(arguments[y]);for(var E in ie)te.call(ie,E)&&(ne[E]=ie[E]);if(ae){a=ae(ie);for(var b=0;b<a.length;b++)le.call(ie,a[b])&&(ne[a[b]]=ie[a[b]])}}return ne}},{}],378:[function(x,Se,he){(function(ae){(function(){"use strict";function te(ue){if(typeof ue!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(ue))}function le(ue,oe){for(var ie="",ne=0,a=-1,y=0,E,b=0;b<=ue.length;++b){if(b<ue.length)E=ue.charCodeAt(b);else{if(E===47)break;E=47}if(E===47){if(!(a===b-1||y===1))if(a!==b-1&&y===2){if(ie.length<2||ne!==2||ie.charCodeAt(ie.length-1)!==46||ie.charCodeAt(ie.length-2)!==46){if(ie.length>2){var z=ie.lastIndexOf("/");if(z!==ie.length-1){z===-1?(ie="",ne=0):(ie=ie.slice(0,z),ne=ie.length-1-ie.lastIndexOf("/")),a=b,y=0;continue}}else if(ie.length===2||ie.length===1){ie="",ne=0,a=b,y=0;continue}}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;ie<arguments.length;++ie){var ne=arguments[ie];te(ne),ne.length>0&&(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;ne<oe.length&&oe.charCodeAt(ne)===47;++ne);for(var a=oe.length,y=a-ne,E=1;E<ie.length&&ie.charCodeAt(E)===47;++E);for(var b=ie.length,z=b-E,ee=y<z?y:z,re=-1,ce=0;ce<=ee;++ce){if(ce===ee){if(z>ee){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 ge=oe.charCodeAt(ne+ce),ve=ie.charCodeAt(E+ce);if(ge!==ve)break;ge===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,he){(function(ae){(function(){(function(){"use strict";var te={function:!0,object:!0},le=te[typeof window]&&window||this,de=le,se=te[typeof he]&&he,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(we){return we=String(we),we.charAt(0).toUpperCase()+we.slice(1)}function ee(we,Ae,Me){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 Ae&&Me&&/^Win/i.test(we)&&!/^Windows Phone /i.test(we)&&(De=De[/[\d.]+$/.exec(we)])&&(we="Windows "+De),we=String(we),Ae&&Me&&(we=we.replace(RegExp(Ae,"i"),Me)),we=ce(we.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),we}function re(we,Ae){var Me=-1,De=we?we.length:0;if(typeof De=="number"&&De>-1&&De<=ie)for(;++Me<De;)Ae(we[Me],Me,we);else ge(we,Ae)}function ce(we){return we=ye(we),/^(?:webOS|i(?:OS|P))/.test(we)?we:z(we)}function ge(we,Ae){for(var Me in we)E.call(we,Me)&&Ae(we[Me],Me,we)}function ve(we){return we==null?z(we):b.call(we).slice(8,-1)}function fe(we,Ae){var Me=we!=null?typeof we[Ae]:"number";return!/^(?:boolean|number|string|undefined)$/.test(Me)&&(Me=="object"?!!we[Ae]:!0)}function pe(we){return String(we).replace(/([ -])(?!$)/g,"$1?")}function me(we,Ae){var Me=null;return re(we,function(De,ze){Me=Ae(Me,De,ze,we)}),Me}function ye(we){return String(we).replace(/^ +| +$/g,"")}function be(we){var Ae=le,Me=we&&typeof we=="object"&&ve(we)!="String";Me&&(Ae=we,we=null);var De=Ae.navigator||{},ze=De.userAgent||"";we||(we=ze);var qe=Me||a==de,Re=Me?!!De.likeChrome:/\bChrome\b/.test(we)&&!/internal|\n/i.test(b.toString()),ot="Object",rt=Me?ot:"ScriptBridgingProxyObject",Qe=Me?ot:"Environment",Je=Me&&Ae.java?"JavaPackage":ve(Ae.java),Ge=Me?ot:"RuntimeObject",ke=/\bJava/.test(Je)&&Ae.java,_e=ke&&ve(Ae.environment)==Qe,tt=ke?"a":"\u03B1",Xe=ke?"b":"\u03B2",ct=Ae.document||{},Ye=Ae.operamini||Ae.opera,Ne=ne.test(Ne=Me&&Ye?Ye["[[Class]]"]:ve(Ye))?Ne:Ye=null,Oe,Ue=we,xe=[],Fe=null,He=we==ze,We=He&&Ye&&typeof Ye.version=="function"&&Ye.version(),Ie,Te=at([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Ee=it(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),Pe=dt([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),je=Ze({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}}),Ke=pt(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function at($e){return me($e,function(lt,ft){return lt||RegExp("\\b"+(ft.pattern||pe(ft))+"\\b","i").exec(we)&&(ft.label||ft)})}function Ze($e){return me($e,function(lt,ft,mt){return lt||(ft[Pe]||ft[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Pe)]||RegExp("\\b"+pe(mt)+"(?:\\b|\\w*\\d)","i").exec(we))&&mt})}function it($e){return me($e,function(lt,ft){return lt||RegExp("\\b"+(ft.pattern||pe(ft))+"\\b","i").exec(we)&&(ft.label||ft)})}function pt($e){return me($e,function(lt,ft){var mt=ft.pattern||pe(ft);return!lt&&(lt=RegExp("\\b"+mt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(we))&&(lt=ee(lt,mt,ft.label||ft)),lt})}function dt($e){return me($e,function(lt,ft){var mt=ft.pattern||pe(ft);return!lt&&(lt=RegExp("\\b"+mt+" *\\d+[.\\w_]*","i").exec(we)||RegExp("\\b"+mt+" *\\w+-[\\w]*","i").exec(we)||RegExp("\\b"+mt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(we))&&((lt=String(ft.label&&!RegExp(mt,"i").test(ft.label)?ft.label:lt).split("/"))[1]&&!/[\d.]+/.test(lt[0])&&(lt[0]+=" "+lt[1]),ft=ft.label||ft,lt=ce(lt[0].replace(RegExp(mt,"i"),ft).replace(RegExp("; *(?:"+ft+"[_-])?","i")," ").replace(RegExp("("+ft+")[-_.]?(\\w)","i"),"$1 $2"))),lt})}function vt($e){return me($e,function(lt,ft){return lt||(RegExp(ft+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(we)||0)[1]||null})}function st(){return this.description||""}if(Te&&(Te=[Te]),/\bAndroid\b/.test(Ke)&&!Pe&&(Oe=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(we))&&(Pe=ye(Oe[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),je&&!Pe?Pe=dt([je]):je&&Pe&&(Pe=Pe.replace(RegExp("^("+pe(je)+")[-_.\\s]","i"),je+" ").replace(RegExp("^("+pe(je)+")[-_.]?(\\w)","i"),je+" $2")),(Oe=/\bGoogle TV\b/.exec(Pe))&&(Pe=Oe[0]),/\bSimulator\b/i.test(we)&&(Pe=(Pe?Pe+" ":"")+"Simulator"),Ee=="Opera Mini"&&/\bOPiOS\b/.test(we)&&xe.push("running in Turbo/Uncompressed mode"),Ee=="IE"&&/\blike iPhone OS\b/.test(we)?(Oe=be(we.replace(/like iPhone OS/,"")),je=Oe.manufacturer,Pe=Oe.product):/^iP/.test(Pe)?(Ee||(Ee="Safari"),Ke="iOS"+((Oe=/ OS ([\d_]+)/i.exec(we))?" "+Oe[1].replace(/_/g,"."):"")):Ee=="Konqueror"&&/^Linux\b/i.test(Ke)?Ke="Kubuntu":je&&je!="Google"&&(/Chrome/.test(Ee)&&!/\bMobile Safari\b/i.test(we)||/\bVita\b/.test(Pe))||/\bAndroid\b/.test(Ke)&&/^Chrome/.test(Ee)&&/\bVersion\//i.test(we)?(Ee="Android Browser",Ke=/\bAndroid\b/.test(Ke)?Ke:"Android"):Ee=="Silk"?(/\bMobi/i.test(we)||(Ke="Android",xe.unshift("desktop mode")),/Accelerated *= *true/i.test(we)&&xe.unshift("accelerated")):Ee=="UC Browser"&&/\bUCWEB\b/.test(we)?xe.push("speed mode"):Ee=="PaleMoon"&&(Oe=/\bFirefox\/([\d.]+)\b/.exec(we))?xe.push("identifying as Firefox "+Oe[1]):Ee=="Firefox"&&(Oe=/\b(Mobile|Tablet|TV)\b/i.exec(we))?(Ke||(Ke="Firefox OS"),Pe||(Pe=Oe[1])):!Ee||(Oe=!/\bMinefield\b/i.test(we)&&/\b(?:Firefox|Safari)\b/.exec(Ee))?(Ee&&!Pe&&/[\/,]|^[^(]+?\)/.test(we.slice(we.indexOf(Oe+"/")+8))&&(Ee=null),(Oe=Pe||je||Ke)&&(Pe||je||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Ke))&&(Ee=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Ke)?Ke:Oe)+" Browser")):Ee=="Electron"&&(Oe=(/\bChrome\/([\d.]+)\b/.exec(we)||0)[1])&&xe.push("Chromium "+Oe),We||(We=vt(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",pe(Ee),"(?:Firefox|Minefield|NetFront)"])),(Oe=Te=="iCab"&&parseFloat(We)>3&&"WebKit"||/\bOpera\b/.test(Ee)&&(/\bOPR\b/.test(we)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(we)&&!/^(?:Trident|EdgeHTML)$/.test(Te)&&"WebKit"||!Te&&/\bMSIE\b/i.test(we)&&(Ke=="Mac OS"?"Tasman":"Trident")||Te=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Ee)&&"NetFront")&&(Te=[Oe]),Ee=="IE"&&(Oe=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(we)||0)[1])?(Ee+=" Mobile",Ke="Windows Phone "+(/\+$/.test(Oe)?Oe:Oe+".x"),xe.unshift("desktop mode")):/\bWPDesktop\b/i.test(we)?(Ee="IE Mobile",Ke="Windows Phone 8.x",xe.unshift("desktop mode"),We||(We=(/\brv:([\d.]+)/.exec(we)||0)[1])):Ee!="IE"&&Te=="Trident"&&(Oe=/\brv:([\d.]+)/.exec(we))&&(Ee&&xe.push("identifying as "+Ee+(We?" "+We:"")),Ee="IE",We=Oe[1]),He){if(fe(Ae,"global"))if(ke&&(Oe=ke.lang.System,Ue=Oe.getProperty("os.arch"),Ke=Ke||Oe.getProperty("os.name")+" "+Oe.getProperty("os.version")),_e){try{We=Ae.require("ringo/engine").version.join("."),Ee="RingoJS"}catch($e){(Oe=Ae.system)&&Oe.global.system==Ae.system&&(Ee="Narwhal",Ke||(Ke=Oe[0].os||null))}Ee||(Ee="Rhino")}else typeof Ae.process=="object"&&!Ae.process.browser&&(Oe=Ae.process)&&(typeof Oe.versions=="object"&&(typeof Oe.versions.electron=="string"?(xe.push("Node "+Oe.versions.node),Ee="Electron",We=Oe.versions.electron):typeof Oe.versions.nw=="string"&&(xe.push("Chromium "+We,"Node "+Oe.versions.node),Ee="NW.js",We=Oe.versions.nw)),Ee||(Ee="Node.js",Ue=Oe.arch,Ke=Oe.platform,We=/[\d.]+/.exec(Oe.version),We=We?We[0]:null));else ve(Oe=Ae.runtime)==rt?(Ee="Adobe AIR",Ke=Oe.flash.system.Capabilities.os):ve(Oe=Ae.phantom)==Ge?(Ee="PhantomJS",We=(Oe=Oe.version||null)&&Oe.major+"."+Oe.minor+"."+Oe.patch):typeof ct.documentMode=="number"&&(Oe=/\bTrident\/(\d+)/i.exec(we))?(We=[We,ct.documentMode],(Oe=+Oe[1]+4)!=We[1]&&(xe.push("IE "+We[1]+" mode"),Te&&(Te[1]=""),We[1]=Oe),We=Ee=="IE"?String(We[1].toFixed(1)):We[0]):typeof ct.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Ee)&&(xe.push("masking as "+Ee+" "+We),Ee="IE",We="11.0",Te=["Trident"],Ke="Windows");Ke=Ke&&ce(Ke)}if(We&&(Oe=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(We)||/(?:alpha|beta)(?: ?\d)?/i.exec(we+";"+(He&&De.appMinorVersion))||/\bMinefield\b/i.test(we)&&"a")&&(Fe=/b/i.test(Oe)?"beta":"alpha",We=We.replace(RegExp(Oe+"\\+?$"),"")+(Fe=="beta"?Xe:tt)+(/\d+\+?/.exec(Oe)||"")),Ee=="Fennec"||Ee=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(Ke))Ee="Firefox Mobile";else if(Ee=="Maxthon"&&We)We=We.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Pe))Pe=="Xbox 360"&&(Ke=null),Pe=="Xbox 360"&&/\bIEMobile\b/.test(we)&&xe.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Ee)||Ee&&!Pe&&!/Browser|Mobi/.test(Ee))&&(Ke=="Windows CE"||/Mobi/i.test(we)))Ee+=" Mobile";else if(Ee=="IE"&&He)try{Ae.external===null&&xe.unshift("platform preview")}catch($e){xe.unshift("embedded")}else(/\bBlackBerry\b/.test(Pe)||/\bBB10\b/.test(we))&&(Oe=(RegExp(Pe.replace(/ +/g," *")+"/([.\\d]+)","i").exec(we)||0)[1]||We)?(Oe=[Oe,/BB10/.test(we)],Ke=(Oe[1]?(Pe=null,je="BlackBerry"):"Device Software")+" "+Oe[0],We=null):this!=ge&&Pe!="Wii"&&(He&&Ye||/Opera/.test(Ee)&&/\b(?:MSIE|Firefox)\b/i.test(we)||Ee=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Ke)||Ee=="IE"&&(Ke&&!/^Win/.test(Ke)&&We>5.5||/\bWindows XP\b/.test(Ke)&&We>8||We==8&&!/\bTrident\b/.test(we)))&&!ne.test(Oe=be.call(ge,we.replace(ne,"")+";"))&&Oe.name&&(Oe="ing as "+Oe.name+((Oe=Oe.version)?" "+Oe:""),ne.test(Ee)?(/\bIE\b/.test(Oe)&&Ke=="Mac OS"&&(Ke=null),Oe="identify"+Oe):(Oe="mask"+Oe,Ne?Ee=ce(Ne.replace(/([a-z])([A-Z])/g,"$1 $2")):Ee="Opera",/\bIE\b/.test(Oe)&&(Ke=null),He||(We=null)),Te=["Presto"],xe.push(Oe));(Oe=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(we)||0)[1])&&(Oe=[parseFloat(Oe.replace(/\.(\d)$/,".0$1")),Oe],Ee=="Safari"&&Oe[1].slice(-1)=="+"?(Ee="WebKit Nightly",Fe="alpha",We=Oe[1].slice(0,-1)):(We==Oe[1]||We==(Oe[2]=(/\bSafari\/([\d.]+\+?)/i.exec(we)||0)[1]))&&(We=null),Oe[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(we)||0)[1],Oe[0]==537.36&&Oe[2]==537.36&&parseFloat(Oe[1])>=28&&Te=="WebKit"&&(Te=["Blink"]),!He||!Re&&!Oe[1]?(Te&&(Te[1]="like Safari"),Oe=(Oe=Oe[0],Oe<400?1:Oe<500?2:Oe<526?3:Oe<533?4:Oe<534?"4+":Oe<535?5:Oe<537?6:Oe<538?7:Oe<601?8:Oe<602?9:Oe<604?10:Oe<606?11:Oe<608?12:"12")):(Te&&(Te[1]="like Chrome"),Oe=Oe[1]||(Oe=Oe[0],Oe<530?1:Oe<532?2:Oe<532.05?3:Oe<533?4:Oe<534.03?5:Oe<534.07?6:Oe<534.1?7:Oe<534.13?8:Oe<534.16?9:Oe<534.24?10:Oe<534.3?11:Oe<535.01?12:Oe<535.02?"13+":Oe<535.07?15:Oe<535.11?16:Oe<535.19?17:Oe<536.05?18:Oe<536.1?19:Oe<537.01?20:Oe<537.11?"21+":Oe<537.13?23:Oe<537.18?24:Oe<537.24?25:Oe<537.36?26:Te!="Blink"?"27":"28")),Te&&(Te[1]+=" "+(Oe+=typeof Oe=="number"?".x":/[.+]/.test(Oe)?"":"+")),Ee=="Safari"&&(!We||parseInt(We)>45)?We=Oe:Ee=="Chrome"&&/\bHeadlessChrome/i.test(we)&&xe.unshift("headless")),Ee=="Opera"&&(Oe=/\bzbov|zvav$/.exec(Ke))?(Ee+=" ",xe.unshift("desktop mode"),Oe=="zvav"?(Ee+="Mini",We=null):Ee+="Mobile",Ke=Ke.replace(RegExp(" *"+Oe+"$"),"")):Ee=="Safari"&&/\bChrome\b/.exec(Te&&Te[1])?(xe.unshift("desktop mode"),Ee="Chrome Mobile",We=null,/\bOS X\b/.test(Ke)?(je="Apple",Ke="iOS 4.3+"):Ke=null):/\bSRWare Iron\b/.test(Ee)&&!We&&(We=vt("Chrome")),We&&We.indexOf(Oe=/[\d.]+$/.exec(Ke))==0&&we.indexOf("/"+Oe+"-")>-1&&(Ke=ye(Ke.replace(Oe,""))),Ke&&Ke.indexOf(Ee)!=-1&&!RegExp(Ee+" OS").test(Ke)&&(Ke=Ke.replace(RegExp(" *"+pe(Ee)+" *"),"")),Te&&!/\b(?:Avant|Nook)\b/.test(Ee)&&(/Browser|Lunascape|Maxthon/.test(Ee)||Ee!="Safari"&&/^iOS/.test(Ke)&&/\bSafari\b/.test(Te[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Ee)&&Te[1])&&(Oe=Te[Te.length-1])&&xe.push(Oe),xe.length&&(xe=["("+xe.join("; ")+")"]),je&&Pe&&Pe.indexOf(je)<0&&xe.push("on "+je),Pe&&xe.push((/^on /.test(xe[xe.length-1])?"":"on ")+Pe),Ke&&(Oe=/ ([\d.+]+)$/.exec(Ke),Ie=Oe&&Ke.charAt(Ke.length-Oe[0].length-1)=="/",Ke={architecture:32,family:Oe&&!Ie?Ke.replace(Oe[0],""):Ke,version:Oe?Oe[1]:null,toString:function(){var $e=this.version;return this.family+($e&&!Ie?" "+$e:"")+(this.architecture==64?" 64-bit":"")}}),(Oe=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ue))&&!/\bi686\b/i.test(Ue)?(Ke&&(Ke.architecture=64,Ke.family=Ke.family.replace(RegExp(" *"+Oe),"")),Ee&&(/\bWOW64\b/i.test(we)||He&&/\w(?:86|32)$/.test(De.cpuClass||De.platform)&&!/\bWin64; x64\b/i.test(we))&&xe.unshift("32-bit")):Ke&&/^OS X/.test(Ke.family)&&Ee=="Chrome"&&parseFloat(We)>=39&&(Ke.architecture=64),we||(we=null);var ht={};return ht.description=we,ht.layout=Te&&Te[0],ht.manufacturer=je,ht.name=Ee,ht.prerelease=Fe,ht.product=Pe,ht.ua=we,ht.version=Ee&&We,ht.os=Ke||{architecture:null,family:null,version:null,toString:function(){return"null"}},ht.parse=be,ht.toString=st,ht.version&&xe.unshift(We),ht.name&&xe.unshift(Ee),Ke&&Ee&&!(Ke==String(Ke).split(" ")[0]&&(Ke==Ee.split(" ")[0]||Pe))&&xe.push(Pe?"("+Ke+")":"on "+Ke),xe.length&&(ht.description=xe.join(" ")),ht}var Le=be();typeof Ce=="function"&&typeof Ce.amd=="object"&&Ce.amd?(le.platform=Le,Ce(function(){return Le})):se&&ue?ge(Le,function(we,Ae){se[Ae]=we}):le.platform=Le}).call(this)}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(x,Se,he){(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;ne<ie.length;)ie[ne++]=arguments[ne];return ae.nextTick(function(){le.apply(null,ie)})}}}).call(this)}).call(this,x("_process"))},{_process:467}],381:[function(x,Se,he){var ae=Se.exports={},te,le;function de(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?te=setTimeout:te=de}catch(re){te=de}try{typeof clearTimeout=="function"?le=clearTimeout:le=se}catch(re){le=se}})();function ue(re){if(te===setTimeout)return setTimeout(re,0);if((te===de||!te)&&setTimeout)return te=setTimeout,setTimeout(re,0);try{return te(re,0)}catch(ce){try{return te.call(null,re,0)}catch(ge){return te.call(this,re,0)}}}function oe(re){if(le===clearTimeout)return clearTimeout(re);if((le===se||!le)&&clearTimeout)return le=clearTimeout,clearTimeout(re);try{return le(re)}catch(ce){try{return le.call(null,re)}catch(ge){return le.call(this,re)}}}var ie=[],ne=!1,a,y=-1;function E(){!ne||!a||(ne=!1,a.length?ie=a.concat(ie):y=-1,ie.length&&b())}function b(){if(!ne){var re=ue(E);ne=!0;for(var ce=ie.length;ce;){for(a=ie,ie=[];++y<ce;)a&&a[y].run();y=-1,ce=ie.length}a=null,ne=!1,oe(re)}}ae.nextTick=function(re){var ce=new Array(arguments.length-1);if(arguments.length>1)for(var ge=1;ge<arguments.length;ge++)ce[ge-1]=arguments[ge];ie.push(new z(re,ce)),ie.length===1&&!ne&&ue(b)};function z(re,ce){this.fun=re,this.array=ce}z.prototype.run=function(){this.fun.apply(null,this.array)},ae.title="browser",ae.browser=!0,ae.env={},ae.argv=[],ae.version="",ae.versions={};function ee(){}ae.on=ee,ae.addListener=ee,ae.once=ee,ae.off=ee,ae.removeListener=ee,ae.removeAllListeners=ee,ae.emit=ee,ae.prependListener=ee,ae.prependOnceListener=ee,ae.listeners=function(re){return[]},ae.binding=function(re){throw new Error("process.binding is not supported")},ae.cwd=function(){return"/"},ae.chdir=function(re){throw new Error("process.chdir is not supported")},ae.umask=function(){return 0}},{}],382:[function(x,Se,he){(function(ae){(function(){(function(te){var le=typeof he=="object"&&he&&!he.nodeType&&he,de=typeof Se=="object"&&Se&&!Se.nodeType&&Se,se=typeof ae=="object"&&ae;(se.global===se||se.window===se||se.self===se)&&(te=se);var ue,oe=2147483647,ie=36,ne=1,a=26,y=38,E=700,b=72,z=128,ee="-",re=/^xn--/,ce=/[^\x20-\x7E]/,ge=/[\x2E\u3002\uFF0E\uFF61]/g,ve={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},fe=ie-ne,pe=Math.floor,me=String.fromCharCode,ye;function be(Je){throw new RangeError(ve[Je])}function Le(Je,Ge){for(var ke=Je.length,_e=[];ke--;)_e[ke]=Ge(Je[ke]);return _e}function we(Je,Ge){var ke=Je.split("@"),_e="";ke.length>1&&(_e=ke[0]+"@",Je=ke[1]),Je=Je.replace(ge,".");var tt=Je.split("."),Xe=Le(tt,Ge).join(".");return _e+Xe}function Ae(Je){for(var Ge=[],ke=0,_e=Je.length,tt,Xe;ke<_e;)tt=Je.charCodeAt(ke++),tt>=55296&&tt<=56319&&ke<_e?(Xe=Je.charCodeAt(ke++),(Xe&64512)==56320?Ge.push(((tt&1023)<<10)+(Xe&1023)+65536):(Ge.push(tt),ke--)):Ge.push(tt);return Ge}function Me(Je){return Le(Je,function(Ge){var ke="";return Ge>65535&&(Ge-=65536,ke+=me(Ge>>>10&1023|55296),Ge=56320|Ge&1023),ke+=me(Ge),ke}).join("")}function De(Je){return Je-48<10?Je-22:Je-65<26?Je-65:Je-97<26?Je-97:ie}function ze(Je,Ge){return Je+22+75*(Je<26)-((Ge!=0)<<5)}function qe(Je,Ge,ke){var _e=0;for(Je=ke?pe(Je/E):Je>>1,Je+=pe(Je/Ge);Je>fe*a>>1;_e+=ie)Je=pe(Je/fe);return pe(_e+(fe+1)*Je/(Je+y))}function Re(Je){var Ge=[],ke=Je.length,_e,tt=0,Xe=z,ct=b,Ye,Ne,Oe,Ue,xe,Fe,He,We,Ie;for(Ye=Je.lastIndexOf(ee),Ye<0&&(Ye=0),Ne=0;Ne<Ye;++Ne)Je.charCodeAt(Ne)>=128&&be("not-basic"),Ge.push(Je.charCodeAt(Ne));for(Oe=Ye>0?Ye+1:0;Oe<ke;){for(Ue=tt,xe=1,Fe=ie;Oe>=ke&&be("invalid-input"),He=De(Je.charCodeAt(Oe++)),(He>=ie||He>pe((oe-tt)/xe))&&be("overflow"),tt+=He*xe,We=Fe<=ct?ne:Fe>=ct+a?a:Fe-ct,!(He<We);Fe+=ie)Ie=ie-We,xe>pe(oe/Ie)&&be("overflow"),xe*=Ie;_e=Ge.length+1,ct=qe(tt-Ue,_e,Ue==0),pe(tt/_e)>oe-Xe&&be("overflow"),Xe+=pe(tt/_e),tt%=_e,Ge.splice(tt++,0,Xe)}return Me(Ge)}function ot(Je){var Ge,ke,_e,tt,Xe,ct,Ye,Ne,Oe,Ue,xe,Fe=[],He,We,Ie,Te;for(Je=Ae(Je),He=Je.length,Ge=z,ke=0,Xe=b,ct=0;ct<He;++ct)xe=Je[ct],xe<128&&Fe.push(me(xe));for(_e=tt=Fe.length,tt&&Fe.push(ee);_e<He;){for(Ye=oe,ct=0;ct<He;++ct)xe=Je[ct],xe>=Ge&&xe<Ye&&(Ye=xe);for(We=_e+1,Ye-Ge>pe((oe-ke)/We)&&be("overflow"),ke+=(Ye-Ge)*We,Ge=Ye,ct=0;ct<He;++ct)if(xe=Je[ct],xe<Ge&&++ke>oe&&be("overflow"),xe==Ge){for(Ne=ke,Oe=ie;Ue=Oe<=Xe?ne:Oe>=Xe+a?a:Oe-Xe,!(Ne<Ue);Oe+=ie)Te=Ne-Ue,Ie=ie-Ue,Fe.push(me(ze(Ue+Te%Ie,0))),Ne=pe(Te/Ie);Fe.push(me(ze(Ne,0))),Xe=qe(ke,We,_e==tt),ke=0,++_e}++ke,++Ge}return Fe.join("")}function rt(Je){return we(Je,function(Ge){return re.test(Ge)?Re(Ge.slice(4).toLowerCase()):Ge})}function Qe(Je){return we(Je,function(Ge){return ce.test(Ge)?"xn--"+ot(Ge):Ge})}if(ue={version:"1.4.1",ucs2:{decode:Ae,encode:Me},decode:Re,encode:ot,toASCII:Qe,toUnicode:rt},typeof Ce=="function"&&typeof Ce.amd=="object"&&Ce.amd)Ce("punycode",function(){return ue});else if(le&&de)if(Se.exports==le)de.exports=ue;else for(ye in ue)ue.hasOwnProperty(ye)&&(le[ye]=ue[ye]);else te.punycode=ue})(this)}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(x,Se,he){"use strict";function ae(le,de){return Object.prototype.hasOwnProperty.call(le,de)}Se.exports=function(le,de,se,ue){de=de||"&",se=se||"=";var oe={};if(typeof le!="string"||le.length===0)return oe;var ie=/\+/g;le=le.split(de);var ne=1e3;ue&&typeof ue.maxKeys=="number"&&(ne=ue.maxKeys);var a=le.length;ne>0&&a>ne&&(a=ne);for(var y=0;y<a;++y){var E=le[y].replace(ie,"%20"),b=E.indexOf(se),z,ee,re,ce;b>=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,he){"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;ie<se.length;ie++)oe.push(ue(se[ie],ie));return oe}var de=Object.keys||function(se){var ue=[];for(var oe in se)Object.prototype.hasOwnProperty.call(se,oe)&&ue.push(oe);return ue}},{}],385:[function(x,Se,he){"use strict";he.decode=he.parse=x("./decode"),he.encode=he.stringify=x("./encode")},{"./decode":383,"./encode":384}],386:[function(x,Se,he){"use strict";var ae=x("process-nextick-args"),te=Object.keys||function(E){var b=[];for(var z in E)b.push(z);return b};Se.exports=ne;var le=Object.create(x("core-util-is"));le.inherits=x("inherits");var de=x("./_stream_readable"),se=x("./_stream_writable");le.inherits(ne,de);for(var ue=te(se.prototype),oe=0;oe<ue.length;oe++){var ie=ue[oe];ne.prototype[ie]||(ne.prototype[ie]=se.prototype[ie])}function ne(E){if(!(this instanceof ne))return new ne(E);de.call(this,E),se.call(this,E),E&&E.readable===!1&&(this.readable=!1),E&&E.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,E&&E.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",a)}Object.defineProperty(ne.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function a(){this.allowHalfOpen||this._writableState.ended||ae.nextTick(y,this)}function y(E){E.end()}Object.defineProperty(ne.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(E){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=E,this._writableState.destroyed=E)}}),ne.prototype._destroy=function(E,b){this.push(null),this.end(),ae.nextTick(b,E)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(x,Se,he){"use strict";Se.exports=le;var ae=x("./_stream_transform"),te=Object.create(x("core-util-is"));te.inherits=x("inherits"),te.inherits(le,ae);function le(de){if(!(this instanceof le))return new le(de);ae.call(this,de)}le.prototype._transform=function(de,se,ue){ue(null,de)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(x,Se,he){(function(ae,te){(function(){"use strict";var le=x("process-nextick-args");Se.exports=me;var de=x("isarray"),se;me.ReadableState=pe;var ue=x("events").EventEmitter,oe=function(xe,Fe){return xe.listeners(Fe).length},ie=x("./internal/streams/stream"),ne=x("safe-buffer").Buffer,a=te.Uint8Array||function(){};function y(xe){return ne.from(xe)}function E(xe){return ne.isBuffer(xe)||xe instanceof a}var b=Object.create(x("core-util-is"));b.inherits=x("inherits");var z=x("util"),ee=void 0;z&&z.debuglog?ee=z.debuglog("stream"):ee=function(){};var re=x("./internal/streams/BufferList"),ce=x("./internal/streams/destroy"),ge;b.inherits(me,ie);var ve=["error","close","destroy","pause","resume"];function fe(xe,Fe,He){if(typeof xe.prependListener=="function")return xe.prependListener(Fe,He);!xe._events||!xe._events[Fe]?xe.on(Fe,He):de(xe._events[Fe])?xe._events[Fe].unshift(He):xe._events[Fe]=[He,xe._events[Fe]]}function pe(xe,Fe){se=se||x("./_stream_duplex"),xe=xe||{};var He=Fe instanceof se;this.objectMode=!!xe.objectMode,He&&(this.objectMode=this.objectMode||!!xe.readableObjectMode);var We=xe.highWaterMark,Ie=xe.readableHighWaterMark,Te=this.objectMode?16:16*1024;We||We===0?this.highWaterMark=We:He&&(Ie||Ie===0)?this.highWaterMark=Ie:this.highWaterMark=Te,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new re,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=xe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,xe.encoding&&(ge||(ge=x("string_decoder/").StringDecoder),this.decoder=new ge(xe.encoding),this.encoding=xe.encoding)}function me(xe){if(se=se||x("./_stream_duplex"),!(this instanceof me))return new me(xe);this._readableState=new pe(xe,this),this.readable=!0,xe&&(typeof xe.read=="function"&&(this._read=xe.read),typeof xe.destroy=="function"&&(this._destroy=xe.destroy)),ie.call(this)}Object.defineProperty(me.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(xe){this._readableState&&(this._readableState.destroyed=xe)}}),me.prototype.destroy=ce.destroy,me.prototype._undestroy=ce.undestroy,me.prototype._destroy=function(xe,Fe){this.push(null),Fe(xe)},me.prototype.push=function(xe,Fe){var He=this._readableState,We;return He.objectMode?We=!0:typeof xe=="string"&&(Fe=Fe||He.defaultEncoding,Fe!==He.encoding&&(xe=ne.from(xe,Fe),Fe=""),We=!0),ye(this,xe,Fe,!1,We)},me.prototype.unshift=function(xe){return ye(this,xe,null,!0,!1)};function ye(xe,Fe,He,We,Ie){var Te=xe._readableState;if(Fe===null)Te.reading=!1,ze(xe,Te);else{var Ee;Ie||(Ee=Le(Te,Fe)),Ee?xe.emit("error",Ee):Te.objectMode||Fe&&Fe.length>0?(typeof Fe!="string"&&!Te.objectMode&&Object.getPrototypeOf(Fe)!==ne.prototype&&(Fe=y(Fe)),We?Te.endEmitted?xe.emit("error",new Error("stream.unshift() after end event")):be(xe,Te,Fe,!0):Te.ended?xe.emit("error",new Error("stream.push() after EOF")):(Te.reading=!1,Te.decoder&&!He?(Fe=Te.decoder.write(Fe),Te.objectMode||Fe.length!==0?be(xe,Te,Fe,!1):ot(xe,Te)):be(xe,Te,Fe,!1))):We||(Te.reading=!1)}return we(Te)}function be(xe,Fe,He,We){Fe.flowing&&Fe.length===0&&!Fe.sync?(xe.emit("data",He),xe.read(0)):(Fe.length+=Fe.objectMode?1:He.length,We?Fe.buffer.unshift(He):Fe.buffer.push(He),Fe.needReadable&&qe(xe)),ot(xe,Fe)}function Le(xe,Fe){var He;return!E(Fe)&&typeof Fe!="string"&&Fe!==void 0&&!xe.objectMode&&(He=new TypeError("Invalid non-string/buffer chunk")),He}function we(xe){return!xe.ended&&(xe.needReadable||xe.length<xe.highWaterMark||xe.length===0)}me.prototype.isPaused=function(){return this._readableState.flowing===!1},me.prototype.setEncoding=function(xe){return ge||(ge=x("string_decoder/").StringDecoder),this._readableState.decoder=new ge(xe),this._readableState.encoding=xe,this};var Ae=8388608;function Me(xe){return xe>=Ae?xe=Ae:(xe--,xe|=xe>>>1,xe|=xe>>>2,xe|=xe>>>4,xe|=xe>>>8,xe|=xe>>>16,xe++),xe}function De(xe,Fe){return xe<=0||Fe.length===0&&Fe.ended?0:Fe.objectMode?1:xe!==xe?Fe.flowing&&Fe.length?Fe.buffer.head.data.length:Fe.length:(xe>Fe.highWaterMark&&(Fe.highWaterMark=Me(xe)),xe<=Fe.length?xe:Fe.ended?Fe.length:(Fe.needReadable=!0,0))}me.prototype.read=function(xe){ee("read",xe),xe=parseInt(xe,10);var Fe=this._readableState,He=xe;if(xe!==0&&(Fe.emittedReadable=!1),xe===0&&Fe.needReadable&&(Fe.length>=Fe.highWaterMark||Fe.ended))return ee("read: emitReadable",Fe.length,Fe.ended),Fe.length===0&&Fe.ended?Ne(this):qe(this),null;if(xe=De(xe,Fe),xe===0&&Fe.ended)return Fe.length===0&&Ne(this),null;var We=Fe.needReadable;ee("need readable",We),(Fe.length===0||Fe.length-xe<Fe.highWaterMark)&&(We=!0,ee("length less than watermark",We)),Fe.ended||Fe.reading?(We=!1,ee("reading or ended",We)):We&&(ee("do read"),Fe.reading=!0,Fe.sync=!0,Fe.length===0&&(Fe.needReadable=!0),this._read(Fe.highWaterMark),Fe.sync=!1,Fe.reading||(xe=De(He,Fe)));var Ie;return xe>0?Ie=tt(xe,Fe):Ie=null,Ie===null?(Fe.needReadable=!0,xe=0):Fe.length-=xe,Fe.length===0&&(Fe.ended||(Fe.needReadable=!0),He!==xe&&Fe.ended&&Ne(this)),Ie!==null&&this.emit("data",Ie),Ie};function ze(xe,Fe){if(!Fe.ended){if(Fe.decoder){var He=Fe.decoder.end();He&&He.length&&(Fe.buffer.push(He),Fe.length+=Fe.objectMode?1:He.length)}Fe.ended=!0,qe(xe)}}function qe(xe){var Fe=xe._readableState;Fe.needReadable=!1,Fe.emittedReadable||(ee("emitReadable",Fe.flowing),Fe.emittedReadable=!0,Fe.sync?le.nextTick(Re,xe):Re(xe))}function Re(xe){ee("emit readable"),xe.emit("readable"),_e(xe)}function ot(xe,Fe){Fe.readingMore||(Fe.readingMore=!0,le.nextTick(rt,xe,Fe))}function rt(xe,Fe){for(var He=Fe.length;!Fe.reading&&!Fe.flowing&&!Fe.ended&&Fe.length<Fe.highWaterMark&&(ee("maybeReadMore read 0"),xe.read(0),He!==Fe.length);)He=Fe.length;Fe.readingMore=!1}me.prototype._read=function(xe){this.emit("error",new Error("_read() is not implemented"))},me.prototype.pipe=function(xe,Fe){var He=this,We=this._readableState;switch(We.pipesCount){case 0:We.pipes=xe;break;case 1:We.pipes=[We.pipes,xe];break;default:We.pipes.push(xe);break}We.pipesCount+=1,ee("pipe count=%d opts=%j",We.pipesCount,Fe);var Ie=(!Fe||Fe.end!==!1)&&xe!==ae.stdout&&xe!==ae.stderr,Te=Ie?Pe:st;We.endEmitted?le.nextTick(Te):He.once("end",Te),xe.on("unpipe",Ee);function Ee(ht,$e){ee("onunpipe"),ht===He&&$e&&$e.hasUnpiped===!1&&($e.hasUnpiped=!0,at())}function Pe(){ee("onend"),xe.end()}var je=Qe(He);xe.on("drain",je);var Ke=!1;function at(){ee("cleanup"),xe.removeListener("close",dt),xe.removeListener("finish",vt),xe.removeListener("drain",je),xe.removeListener("error",pt),xe.removeListener("unpipe",Ee),He.removeListener("end",Pe),He.removeListener("end",st),He.removeListener("data",it),Ke=!0,We.awaitDrain&&(!xe._writableState||xe._writableState.needDrain)&&je()}var Ze=!1;He.on("data",it);function it(ht){ee("ondata"),Ze=!1;var $e=xe.write(ht);$e===!1&&!Ze&&((We.pipesCount===1&&We.pipes===xe||We.pipesCount>1&&Ue(We.pipes,xe)!==-1)&&!Ke&&(ee("false write response, pause",He._readableState.awaitDrain),He._readableState.awaitDrain++,Ze=!0),He.pause())}function pt(ht){ee("onerror",ht),st(),xe.removeListener("error",pt),oe(xe,"error")===0&&xe.emit("error",ht)}fe(xe,"error",pt);function dt(){xe.removeListener("finish",vt),st()}xe.once("close",dt);function vt(){ee("onfinish"),xe.removeListener("close",dt),st()}xe.once("finish",vt);function st(){ee("unpipe"),He.unpipe(xe)}return xe.emit("pipe",He),We.flowing||(ee("pipe resume"),He.resume()),xe};function Qe(xe){return function(){var Fe=xe._readableState;ee("pipeOnDrain",Fe.awaitDrain),Fe.awaitDrain&&Fe.awaitDrain--,Fe.awaitDrain===0&&oe(xe,"data")&&(Fe.flowing=!0,_e(xe))}}me.prototype.unpipe=function(xe){var Fe=this._readableState,He={hasUnpiped:!1};if(Fe.pipesCount===0)return this;if(Fe.pipesCount===1)return xe&&xe!==Fe.pipes?this:(xe||(xe=Fe.pipes),Fe.pipes=null,Fe.pipesCount=0,Fe.flowing=!1,xe&&xe.emit("unpipe",this,He),this);if(!xe){var We=Fe.pipes,Ie=Fe.pipesCount;Fe.pipes=null,Fe.pipesCount=0,Fe.flowing=!1;for(var Te=0;Te<Ie;Te++)We[Te].emit("unpipe",this,He);return this}var Ee=Ue(Fe.pipes,xe);return Ee===-1?this:(Fe.pipes.splice(Ee,1),Fe.pipesCount-=1,Fe.pipesCount===1&&(Fe.pipes=Fe.pipes[0]),xe.emit("unpipe",this,He),this)},me.prototype.on=function(xe,Fe){var He=ie.prototype.on.call(this,xe,Fe);if(xe==="data")this._readableState.flowing!==!1&&this.resume();else if(xe==="readable"){var We=this._readableState;!We.endEmitted&&!We.readableListening&&(We.readableListening=We.needReadable=!0,We.emittedReadable=!1,We.reading?We.length&&qe(this):le.nextTick(Je,this))}return He},me.prototype.addListener=me.prototype.on;function Je(xe){ee("readable nexttick read 0"),xe.read(0)}me.prototype.resume=function(){var xe=this._readableState;return xe.flowing||(ee("resume"),xe.flowing=!0,Ge(this,xe)),this};function Ge(xe,Fe){Fe.resumeScheduled||(Fe.resumeScheduled=!0,le.nextTick(ke,xe,Fe))}function ke(xe,Fe){Fe.reading||(ee("resume read 0"),xe.read(0)),Fe.resumeScheduled=!1,Fe.awaitDrain=0,xe.emit("resume"),_e(xe),Fe.flowing&&!Fe.reading&&xe.read(0)}me.prototype.pause=function(){return ee("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(ee("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function _e(xe){var Fe=xe._readableState;for(ee("flow",Fe.flowing);Fe.flowing&&xe.read()!==null;);}me.prototype.wrap=function(xe){var Fe=this,He=this._readableState,We=!1;xe.on("end",function(){if(ee("wrapped end"),He.decoder&&!He.ended){var Ee=He.decoder.end();Ee&&Ee.length&&Fe.push(Ee)}Fe.push(null)}),xe.on("data",function(Ee){if(ee("wrapped data"),He.decoder&&(Ee=He.decoder.write(Ee)),!(He.objectMode&&Ee==null)&&!(!He.objectMode&&(!Ee||!Ee.length))){var Pe=Fe.push(Ee);Pe||(We=!0,xe.pause())}});for(var Ie in xe)this[Ie]===void 0&&typeof xe[Ie]=="function"&&(this[Ie]=function(Ee){return function(){return xe[Ee].apply(xe,arguments)}}(Ie));for(var Te=0;Te<ve.length;Te++)xe.on(ve[Te],this.emit.bind(this,ve[Te]));return this._read=function(Ee){ee("wrapped _read",Ee),We&&(We=!1,xe.resume())},this},Object.defineProperty(me.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),me._fromList=tt;function tt(xe,Fe){if(Fe.length===0)return null;var He;return Fe.objectMode?He=Fe.buffer.shift():!xe||xe>=Fe.length?(Fe.decoder?He=Fe.buffer.join(""):Fe.buffer.length===1?He=Fe.buffer.head.data:He=Fe.buffer.concat(Fe.length),Fe.buffer.clear()):He=Xe(xe,Fe.buffer,Fe.decoder),He}function Xe(xe,Fe,He){var We;return xe<Fe.head.data.length?(We=Fe.head.data.slice(0,xe),Fe.head.data=Fe.head.data.slice(xe)):xe===Fe.head.data.length?We=Fe.shift():We=He?ct(xe,Fe):Ye(xe,Fe),We}function ct(xe,Fe){var He=Fe.head,We=1,Ie=He.data;for(xe-=Ie.length;He=He.next;){var Te=He.data,Ee=xe>Te.length?Te.length:xe;if(Ee===Te.length?Ie+=Te:Ie+=Te.slice(0,xe),xe-=Ee,xe===0){Ee===Te.length?(++We,He.next?Fe.head=He.next:Fe.head=Fe.tail=null):(Fe.head=He,He.data=Te.slice(Ee));break}++We}return Fe.length-=We,Ie}function Ye(xe,Fe){var He=ne.allocUnsafe(xe),We=Fe.head,Ie=1;for(We.data.copy(He),xe-=We.data.length;We=We.next;){var Te=We.data,Ee=xe>Te.length?Te.length:xe;if(Te.copy(He,He.length-xe,0,Ee),xe-=Ee,xe===0){Ee===Te.length?(++Ie,We.next?Fe.head=We.next:Fe.head=Fe.tail=null):(Fe.head=We,We.data=Te.slice(Ee));break}++Ie}return Fe.length-=Ie,He}function Ne(xe){var Fe=xe._readableState;if(Fe.length>0)throw new Error('"endReadable()" called on non-empty stream');Fe.endEmitted||(Fe.ended=!0,le.nextTick(Oe,Fe,xe))}function Oe(xe,Fe){!xe.endEmitted&&xe.length===0&&(xe.endEmitted=!0,Fe.readable=!1,Fe.emit("end"))}function Ue(xe,Fe){for(var He=0,We=xe.length;He<We;He++)if(xe[He]===Fe)return He;return-1}}).call(this)}).call(this,x("_process"),typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":386,"./internal/streams/BufferList":391,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,events:344,inherits:364,isarray:370,"process-nextick-args":380,"safe-buffer":396,"string_decoder/":413,util:89}],389:[function(x,Se,he){"use strict";Se.exports=de;var ae=x("./_stream_duplex"),te=Object.create(x("core-util-is"));te.inherits=x("inherits"),te.inherits(de,ae);function le(oe,ie){var ne=this._transformState;ne.transforming=!1;var a=ne.writecb;if(!a)return this.emit("error",new Error("write callback called multiple times"));ne.writechunk=null,ne.writecb=null,ie!=null&&this.push(ie),a(oe);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function de(oe){if(!(this instanceof de))return new de(oe);ae.call(this,oe),this._transformState={afterTransform:le.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,oe&&(typeof oe.transform=="function"&&(this._transform=oe.transform),typeof oe.flush=="function"&&(this._flush=oe.flush)),this.on("prefinish",se)}function se(){var oe=this;typeof this._flush=="function"?this._flush(function(ie,ne){ue(oe,ie,ne)}):ue(this,null,null)}de.prototype.push=function(oe,ie){return this._transformState.needTransform=!1,ae.prototype.push.call(this,oe,ie)},de.prototype._transform=function(oe,ie,ne){throw new Error("_transform() is not implemented")},de.prototype._write=function(oe,ie,ne){var a=this._transformState;if(a.writecb=ne,a.writechunk=oe,a.writeencoding=ie,!a.transforming){var y=this._readableState;(a.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},de.prototype._read=function(oe){var ie=this._transformState;ie.writechunk!==null&&ie.writecb&&!ie.transforming?(ie.transforming=!0,this._transform(ie.writechunk,ie.writeencoding,ie.afterTransform)):ie.needTransform=!0},de.prototype._destroy=function(oe,ie){var ne=this;ae.prototype._destroy.call(this,oe,function(a){ie(a),ne.emit("close")})};function ue(oe,ie,ne){if(ie)return oe.emit("error",ie);if(ne!=null&&oe.push(ne),oe._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(oe._transformState.transforming)throw new Error("Calling transform done when still transforming");return oe.push(null)}},{"./_stream_duplex":386,"core-util-is":341,inherits:364}],390:[function(x,Se,he){(function(ae,te,le){(function(){"use strict";var de=x("process-nextick-args");Se.exports=fe;function se(ke,_e,tt){this.chunk=ke,this.encoding=_e,this.callback=tt,this.next=null}function ue(ke){var _e=this;this.next=null,this.entry=null,this.finish=function(){Ge(_e,ke)}}var oe=!ae.browser&&["v0.10","v0.9."].indexOf(ae.version.slice(0,5))>-1?le:de.nextTick,ie;fe.WritableState=ge;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(ke){return E.from(ke)}function ee(ke){return E.isBuffer(ke)||ke instanceof b}var re=x("./internal/streams/destroy");ne.inherits(fe,y);function ce(){}function ge(ke,_e){ie=ie||x("./_stream_duplex"),ke=ke||{};var tt=_e instanceof ie;this.objectMode=!!ke.objectMode,tt&&(this.objectMode=this.objectMode||!!ke.writableObjectMode);var Xe=ke.highWaterMark,ct=ke.writableHighWaterMark,Ye=this.objectMode?16:16*1024;Xe||Xe===0?this.highWaterMark=Xe:tt&&(ct||ct===0)?this.highWaterMark=ct:this.highWaterMark=Ye,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 Ne=ke.decodeStrings===!1;this.decodeStrings=!Ne,this.defaultEncoding=ke.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Oe){Me(_e,Oe)},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)}ge.prototype.getBuffer=function(){for(var _e=this.bufferedRequest,tt=[];_e;)tt.push(_e),_e=_e.next;return tt},function(){try{Object.defineProperty(ge.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(ke){}}();var ve;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ve=Function.prototype[Symbol.hasInstance],Object.defineProperty(fe,Symbol.hasInstance,{value:function(ke){return ve.call(this,ke)?!0:this!==fe?!1:ke&&ke._writableState instanceof ge}})):ve=function(ke){return ke instanceof this};function fe(ke){if(ie=ie||x("./_stream_duplex"),!ve.call(fe,this)&&!(this instanceof ie))return new fe(ke);this._writableState=new ge(ke,this),this.writable=!0,ke&&(typeof ke.write=="function"&&(this._write=ke.write),typeof ke.writev=="function"&&(this._writev=ke.writev),typeof ke.destroy=="function"&&(this._destroy=ke.destroy),typeof ke.final=="function"&&(this._final=ke.final)),y.call(this)}fe.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function pe(ke,_e){var tt=new Error("write after end");ke.emit("error",tt),de.nextTick(_e,tt)}function me(ke,_e,tt,Xe){var ct=!0,Ye=!1;return tt===null?Ye=new TypeError("May not write null values to stream"):typeof tt!="string"&&tt!==void 0&&!_e.objectMode&&(Ye=new TypeError("Invalid non-string/buffer chunk")),Ye&&(ke.emit("error",Ye),de.nextTick(Xe,Ye),ct=!1),ct}fe.prototype.write=function(ke,_e,tt){var Xe=this._writableState,ct=!1,Ye=!Xe.objectMode&&ee(ke);return Ye&&!E.isBuffer(ke)&&(ke=z(ke)),typeof _e=="function"&&(tt=_e,_e=null),Ye?_e="buffer":_e||(_e=Xe.defaultEncoding),typeof tt!="function"&&(tt=ce),Xe.ended?pe(this,tt):(Ye||me(this,Xe,ke,tt))&&(Xe.pendingcb++,ct=be(this,Xe,Ye,ke,_e,tt)),ct},fe.prototype.cork=function(){var ke=this._writableState;ke.corked++},fe.prototype.uncork=function(){var ke=this._writableState;ke.corked&&(ke.corked--,!ke.writing&&!ke.corked&&!ke.finished&&!ke.bufferProcessing&&ke.bufferedRequest&&qe(this,ke))},fe.prototype.setDefaultEncoding=function(_e){if(typeof _e=="string"&&(_e=_e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((_e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+_e);return this._writableState.defaultEncoding=_e,this};function ye(ke,_e,tt){return!ke.objectMode&&ke.decodeStrings!==!1&&typeof _e=="string"&&(_e=E.from(_e,tt)),_e}Object.defineProperty(fe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function be(ke,_e,tt,Xe,ct,Ye){if(!tt){var Ne=ye(_e,Xe,ct);Xe!==Ne&&(tt=!0,ct="buffer",Xe=Ne)}var Oe=_e.objectMode?1:Xe.length;_e.length+=Oe;var Ue=_e.length<_e.highWaterMark;if(Ue||(_e.needDrain=!0),_e.writing||_e.corked){var xe=_e.lastBufferedRequest;_e.lastBufferedRequest={chunk:Xe,encoding:ct,isBuf:tt,callback:Ye,next:null},xe?xe.next=_e.lastBufferedRequest:_e.bufferedRequest=_e.lastBufferedRequest,_e.bufferedRequestCount+=1}else Le(ke,_e,!1,Oe,Xe,ct,Ye);return Ue}function Le(ke,_e,tt,Xe,ct,Ye,Ne){_e.writelen=Xe,_e.writecb=Ne,_e.writing=!0,_e.sync=!0,tt?ke._writev(ct,_e.onwrite):ke._write(ct,Ye,_e.onwrite),_e.sync=!1}function we(ke,_e,tt,Xe,ct){--_e.pendingcb,tt?(de.nextTick(ct,Xe),de.nextTick(Qe,ke,_e),ke._writableState.errorEmitted=!0,ke.emit("error",Xe)):(ct(Xe),ke._writableState.errorEmitted=!0,ke.emit("error",Xe),Qe(ke,_e))}function Ae(ke){ke.writing=!1,ke.writecb=null,ke.length-=ke.writelen,ke.writelen=0}function Me(ke,_e){var tt=ke._writableState,Xe=tt.sync,ct=tt.writecb;if(Ae(tt),_e)we(ke,tt,Xe,_e,ct);else{var Ye=Re(tt);!Ye&&!tt.corked&&!tt.bufferProcessing&&tt.bufferedRequest&&qe(ke,tt),Xe?oe(De,ke,tt,Ye,ct):De(ke,tt,Ye,ct)}}function De(ke,_e,tt,Xe){tt||ze(ke,_e),_e.pendingcb--,Xe(),Qe(ke,_e)}function ze(ke,_e){_e.length===0&&_e.needDrain&&(_e.needDrain=!1,ke.emit("drain"))}function qe(ke,_e){_e.bufferProcessing=!0;var tt=_e.bufferedRequest;if(ke._writev&&tt&&tt.next){var Xe=_e.bufferedRequestCount,ct=new Array(Xe),Ye=_e.corkedRequestsFree;Ye.entry=tt;for(var Ne=0,Oe=!0;tt;)ct[Ne]=tt,tt.isBuf||(Oe=!1),tt=tt.next,Ne+=1;ct.allBuffers=Oe,Le(ke,_e,!0,_e.length,ct,"",Ye.finish),_e.pendingcb++,_e.lastBufferedRequest=null,Ye.next?(_e.corkedRequestsFree=Ye.next,Ye.next=null):_e.corkedRequestsFree=new ue(_e),_e.bufferedRequestCount=0}else{for(;tt;){var Ue=tt.chunk,xe=tt.encoding,Fe=tt.callback,He=_e.objectMode?1:Ue.length;if(Le(ke,_e,!1,He,Ue,xe,Fe),tt=tt.next,_e.bufferedRequestCount--,_e.writing)break}tt===null&&(_e.lastBufferedRequest=null)}_e.bufferedRequest=tt,_e.bufferProcessing=!1}fe.prototype._write=function(ke,_e,tt){tt(new Error("_write() is not implemented"))},fe.prototype._writev=null,fe.prototype.end=function(ke,_e,tt){var Xe=this._writableState;typeof ke=="function"?(tt=ke,ke=null,_e=null):typeof _e=="function"&&(tt=_e,_e=null),ke!=null&&this.write(ke,_e),Xe.corked&&(Xe.corked=1,this.uncork()),!Xe.ending&&!Xe.finished&&Je(this,Xe,tt)};function Re(ke){return ke.ending&&ke.length===0&&ke.bufferedRequest===null&&!ke.finished&&!ke.writing}function ot(ke,_e){ke._final(function(tt){_e.pendingcb--,tt&&ke.emit("error",tt),_e.prefinished=!0,ke.emit("prefinish"),Qe(ke,_e)})}function rt(ke,_e){!_e.prefinished&&!_e.finalCalled&&(typeof ke._final=="function"?(_e.pendingcb++,_e.finalCalled=!0,de.nextTick(ot,ke,_e)):(_e.prefinished=!0,ke.emit("prefinish")))}function Qe(ke,_e){var tt=Re(_e);return tt&&(rt(ke,_e),_e.pendingcb===0&&(_e.finished=!0,ke.emit("finish"))),tt}function Je(ke,_e,tt){_e.ending=!0,Qe(ke,_e),tt&&(_e.finished?de.nextTick(tt):ke.once("finish",tt)),_e.ended=!0,ke.writable=!1}function Ge(ke,_e,tt){var Xe=ke.entry;for(ke.entry=null;Xe;){var ct=Xe.callback;_e.pendingcb--,ct(tt),Xe=Xe.next}_e.corkedRequestsFree?_e.corkedRequestsFree.next=ke:_e.corkedRequestsFree=ke}Object.defineProperty(fe.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(ke){this._writableState&&(this._writableState.destroyed=ke)}}),fe.prototype.destroy=re.destroy,fe.prototype._undestroy=re.undestroy,fe.prototype._destroy=function(ke,_e){this.end(),_e(ke)}}).call(this)}).call(this,x("_process"),typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},x("timers").setImmediate)},{"./_stream_duplex":386,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,inherits:364,"process-nextick-args":380,"safe-buffer":396,timers:414,"util-deprecate":416}],391:[function(x,Se,he){"use strict";function ae(se,ue){if(!(se instanceof ue))throw new TypeError("Cannot call a class as a function")}var te=x("safe-buffer").Buffer,le=x("util");function de(se,ue,oe){se.copy(ue,oe)}Se.exports=function(){function se(){ae(this,se),this.head=null,this.tail=null,this.length=0}return se.prototype.push=function(oe){var ie={data:oe,next:null};this.length>0?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,he){"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,he){Se.exports=x("events").EventEmitter},{events:344}],394:[function(x,Se,he){he=Se.exports=x("./lib/_stream_readable.js"),he.Stream=he,he.Readable=he,he.Writable=x("./lib/_stream_writable.js"),he.Duplex=x("./lib/_stream_duplex.js"),he.Transform=x("./lib/_stream_transform.js"),he.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,he){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(rt,Qe,Je){return Object.defineProperty(rt,Qe,{value:Je,enumerable:!0,configurable:!0,writable:!0}),rt[Qe]}try{a({},"")}catch(rt){a=function(Qe,Je,Ge){return Qe[Je]=Ge}}function y(rt,Qe,Je,Ge){var ke=Qe&&Qe.prototype instanceof ge?Qe:ge,_e=Object.create(ke.prototype),tt=new qe(Ge||[]);return _e._invoke=Ae(rt,Je,tt),_e}te.wrap=y;function E(rt,Qe,Je){try{return{type:"normal",arg:rt.call(Qe,Je)}}catch(Ge){return{type:"throw",arg:Ge}}}var b="suspendedStart",z="suspendedYield",ee="executing",re="completed",ce={};function ge(){}function ve(){}function fe(){}var pe={};a(pe,oe,function(){return this});var me=Object.getPrototypeOf,ye=me&&me(me(Re([])));ye&&ye!==le&&de.call(ye,oe)&&(pe=ye);var be=fe.prototype=ge.prototype=Object.create(pe);ve.prototype=fe,a(be,"constructor",fe),a(fe,"constructor",ve),ve.displayName=a(fe,ne,"GeneratorFunction");function Le(rt){["next","throw","return"].forEach(function(Qe){a(rt,Qe,function(Je){return this._invoke(Qe,Je)})})}te.isGeneratorFunction=function(rt){var Qe=typeof rt=="function"&&rt.constructor;return Qe?Qe===ve||(Qe.displayName||Qe.name)==="GeneratorFunction":!1},te.mark=function(rt){return Object.setPrototypeOf?Object.setPrototypeOf(rt,fe):(rt.__proto__=fe,a(rt,ne,"GeneratorFunction")),rt.prototype=Object.create(be),rt},te.awrap=function(rt){return{__await:rt}};function we(rt,Qe){function Je(_e,tt,Xe,ct){var Ye=E(rt[_e],rt,tt);if(Ye.type==="throw")ct(Ye.arg);else{var Ne=Ye.arg,Oe=Ne.value;return Oe&&typeof Oe=="object"&&de.call(Oe,"__await")?Qe.resolve(Oe.__await).then(function(Ue){Je("next",Ue,Xe,ct)},function(Ue){Je("throw",Ue,Xe,ct)}):Qe.resolve(Oe).then(function(Ue){Ne.value=Ue,Xe(Ne)},function(Ue){return Je("throw",Ue,Xe,ct)})}}var Ge;function ke(_e,tt){function Xe(){return new Qe(function(ct,Ye){Je(_e,tt,ct,Ye)})}return Ge=Ge?Ge.then(Xe,Xe):Xe()}this._invoke=ke}Le(we.prototype),a(we.prototype,ie,function(){return this}),te.AsyncIterator=we,te.async=function(rt,Qe,Je,Ge,ke){ke===void 0&&(ke=Promise);var _e=new we(y(rt,Qe,Je,Ge),ke);return te.isGeneratorFunction(Qe)?_e:_e.next().then(function(tt){return tt.done?tt.value:_e.next()})};function Ae(rt,Qe,Je){var Ge=b;return function(_e,tt){if(Ge===ee)throw new Error("Generator is already running");if(Ge===re){if(_e==="throw")throw tt;return ot()}for(Je.method=_e,Je.arg=tt;;){var Xe=Je.delegate;if(Xe){var ct=Me(Xe,Je);if(ct){if(ct===ce)continue;return ct}}if(Je.method==="next")Je.sent=Je._sent=Je.arg;else if(Je.method==="throw"){if(Ge===b)throw Ge=re,Je.arg;Je.dispatchException(Je.arg)}else Je.method==="return"&&Je.abrupt("return",Je.arg);Ge=ee;var Ye=E(rt,Qe,Je);if(Ye.type==="normal"){if(Ge=Je.done?re:z,Ye.arg===ce)continue;return{value:Ye.arg,done:Je.done}}else Ye.type==="throw"&&(Ge=re,Je.method="throw",Je.arg=Ye.arg)}}}function Me(rt,Qe){var Je=rt.iterator[Qe.method];if(Je===se){if(Qe.delegate=null,Qe.method==="throw"){if(rt.iterator.return&&(Qe.method="return",Qe.arg=se,Me(rt,Qe),Qe.method==="throw"))return ce;Qe.method="throw",Qe.arg=new TypeError("The iterator does not provide a 'throw' method")}return ce}var Ge=E(Je,rt.iterator,Qe.arg);if(Ge.type==="throw")return Qe.method="throw",Qe.arg=Ge.arg,Qe.delegate=null,ce;var ke=Ge.arg;if(!ke)return Qe.method="throw",Qe.arg=new TypeError("iterator result is not an object"),Qe.delegate=null,ce;if(ke.done)Qe[rt.resultName]=ke.value,Qe.next=rt.nextLoc,Qe.method!=="return"&&(Qe.method="next",Qe.arg=se);else return ke;return Qe.delegate=null,ce}Le(be),a(be,ne,"Generator"),a(be,oe,function(){return this}),a(be,"toString",function(){return"[object Generator]"});function De(rt){var Qe={tryLoc:rt[0]};1 in rt&&(Qe.catchLoc=rt[1]),2 in rt&&(Qe.finallyLoc=rt[2],Qe.afterLoc=rt[3]),this.tryEntries.push(Qe)}function ze(rt){var Qe=rt.completion||{};Qe.type="normal",delete Qe.arg,rt.completion=Qe}function qe(rt){this.tryEntries=[{tryLoc:"root"}],rt.forEach(De,this),this.reset(!0)}te.keys=function(rt){var Qe=[];for(var Je in rt)Qe.push(Je);return Qe.reverse(),function Ge(){for(;Qe.length;){var ke=Qe.pop();if(ke in rt)return Ge.value=ke,Ge.done=!1,Ge}return Ge.done=!0,Ge}};function Re(rt){if(rt){var Qe=rt[oe];if(Qe)return Qe.call(rt);if(typeof rt.next=="function")return rt;if(!isNaN(rt.length)){var Je=-1,Ge=function ke(){for(;++Je<rt.length;)if(de.call(rt,Je))return ke.value=rt[Je],ke.done=!1,ke;return ke.value=se,ke.done=!0,ke};return Ge.next=Ge}}return{next:ot}}te.values=Re;function ot(){return{value:se,done:!0}}return qe.prototype={constructor:qe,reset:function(rt){if(this.prev=0,this.next=0,this.sent=this._sent=se,this.done=!1,this.delegate=null,this.method="next",this.arg=se,this.tryEntries.forEach(ze),!rt)for(var Qe in this)Qe.charAt(0)==="t"&&de.call(this,Qe)&&!isNaN(+Qe.slice(1))&&(this[Qe]=se)},stop:function(){this.done=!0;var rt=this.tryEntries[0],Qe=rt.completion;if(Qe.type==="throw")throw Qe.arg;return this.rval},dispatchException:function(rt){if(this.done)throw rt;var Qe=this;function Je(ct,Ye){return _e.type="throw",_e.arg=rt,Qe.next=ct,Ye&&(Qe.method="next",Qe.arg=se),!!Ye}for(var Ge=this.tryEntries.length-1;Ge>=0;--Ge){var ke=this.tryEntries[Ge],_e=ke.completion;if(ke.tryLoc==="root")return Je("end");if(ke.tryLoc<=this.prev){var tt=de.call(ke,"catchLoc"),Xe=de.call(ke,"finallyLoc");if(tt&&Xe){if(this.prev<ke.catchLoc)return Je(ke.catchLoc,!0);if(this.prev<ke.finallyLoc)return Je(ke.finallyLoc)}else if(tt){if(this.prev<ke.catchLoc)return Je(ke.catchLoc,!0)}else if(Xe){if(this.prev<ke.finallyLoc)return Je(ke.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(rt,Qe){for(var Je=this.tryEntries.length-1;Je>=0;--Je){var Ge=this.tryEntries[Je];if(Ge.tryLoc<=this.prev&&de.call(Ge,"finallyLoc")&&this.prev<Ge.finallyLoc){var ke=Ge;break}}ke&&(rt==="break"||rt==="continue")&&ke.tryLoc<=Qe&&Qe<=ke.finallyLoc&&(ke=null);var _e=ke?ke.completion:{};return _e.type=rt,_e.arg=Qe,ke?(this.method="next",this.next=ke.finallyLoc,ce):this.complete(_e)},complete:function(rt,Qe){if(rt.type==="throw")throw rt.arg;return rt.type==="break"||rt.type==="continue"?this.next=rt.arg:rt.type==="return"?(this.rval=this.arg=rt.arg,this.method="return",this.next="end"):rt.type==="normal"&&Qe&&(this.next=Qe),ce},finish:function(rt){for(var Qe=this.tryEntries.length-1;Qe>=0;--Qe){var Je=this.tryEntries[Qe];if(Je.finallyLoc===rt)return this.complete(Je.completion,Je.afterLoc),ze(Je),ce}},catch:function(rt){for(var Qe=this.tryEntries.length-1;Qe>=0;--Qe){var Je=this.tryEntries[Qe];if(Je.tryLoc===rt){var Ge=Je.completion;if(Ge.type==="throw"){var ke=Ge.arg;ze(Je)}return ke}}throw new Error("illegal catch attempt")},delegateYield:function(rt,Qe,Je){return this.delegate={iterator:Re(rt),resultName:Qe,nextLoc:Je},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,he){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,he),he.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,he){(function(ae){(function(){(function(te){te.parser=function(Ne,Oe){return new de(Ne,Oe)},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(Ne,Oe){if(!(this instanceof de))return new de(Ne,Oe);var Ue=this;ue(Ue),Ue.q=Ue.c="",Ue.bufferCheckPosition=te.MAX_BUFFER_LENGTH,Ue.opt=Oe||{},Ue.opt.lowercase=Ue.opt.lowercase||Ue.opt.lowercasetags,Ue.looseCase=Ue.opt.lowercase?"toLowerCase":"toUpperCase",Ue.tags=[],Ue.closed=Ue.closedRoot=Ue.sawRoot=!1,Ue.tag=Ue.error=null,Ue.strict=!!Ne,Ue.noscript=!!(Ne||Ue.opt.noscript),Ue.state=we.BEGIN,Ue.strictEntities=Ue.opt.strictEntities,Ue.ENTITIES=Ue.strictEntities?Object.create(te.XML_ENTITIES):Object.create(te.ENTITIES),Ue.attribList=[],Ue.opt.xmlns&&(Ue.ns=Object.create(re)),Ue.trackPosition=Ue.opt.position!==!1,Ue.trackPosition&&(Ue.position=Ue.line=Ue.column=0),Me(Ue,"onready")}Object.create||(Object.create=function(Ne){function Oe(){}Oe.prototype=Ne;var Ue=new Oe;return Ue}),Object.keys||(Object.keys=function(Ne){var Oe=[];for(var Ue in Ne)Ne.hasOwnProperty(Ue)&&Oe.push(Ue);return Oe});function se(Ne){for(var Oe=Math.max(te.MAX_BUFFER_LENGTH,10),Ue=0,xe=0,Fe=le.length;xe<Fe;xe++){var He=Ne[le[xe]].length;if(He>Oe)switch(le[xe]){case"textNode":ze(Ne);break;case"cdata":De(Ne,"oncdata",Ne.cdata),Ne.cdata="";break;case"script":De(Ne,"onscript",Ne.script),Ne.script="";break;default:Re(Ne,"Max buffer length exceeded: "+le[xe])}Ue=Math.max(Ue,He)}var We=te.MAX_BUFFER_LENGTH-Ue;Ne.bufferCheckPosition=We+Ne.position}function ue(Ne){for(var Oe=0,Ue=le.length;Oe<Ue;Oe++)Ne[le[Oe]]=""}function oe(Ne){ze(Ne),Ne.cdata!==""&&(De(Ne,"oncdata",Ne.cdata),Ne.cdata=""),Ne.script!==""&&(De(Ne,"onscript",Ne.script),Ne.script="")}de.prototype={end:function(){ot(this)},write:Ye,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){oe(this)}};var ie;try{ie=x("stream").Stream}catch(Ne){ie=function(){}}var ne=te.EVENTS.filter(function(Ne){return Ne!=="error"&&Ne!=="end"});function a(Ne,Oe){return new y(Ne,Oe)}function y(Ne,Oe){if(!(this instanceof y))return new y(Ne,Oe);ie.apply(this),this._parser=new de(Ne,Oe),this.writable=!0,this.readable=!0;var Ue=this;this._parser.onend=function(){Ue.emit("end")},this._parser.onerror=function(xe){Ue.emit("error",xe),Ue._parser.error=null},this._decoder=null,ne.forEach(function(xe){Object.defineProperty(Ue,"on"+xe,{get:function(){return Ue._parser["on"+xe]},set:function(Fe){if(!Fe)return Ue.removeAllListeners(xe),Ue._parser["on"+xe]=Fe,Fe;Ue.on(xe,Fe)},enumerable:!0,configurable:!1})})}y.prototype=Object.create(ie.prototype,{constructor:{value:y}}),y.prototype.write=function(Ne){if(typeof ae=="function"&&typeof ae.isBuffer=="function"&&ae.isBuffer(Ne)){if(!this._decoder){var Oe=x("string_decoder").StringDecoder;this._decoder=new Oe("utf8")}Ne=this._decoder.write(Ne)}return this._parser.write(Ne.toString()),this.emit("data",Ne),!0},y.prototype.end=function(Ne){return Ne&&Ne.length&&this.write(Ne),this._parser.end(),!0},y.prototype.on=function(Ne,Oe){var Ue=this;return!Ue._parser["on"+Ne]&&ne.indexOf(Ne)!==-1&&(Ue._parser["on"+Ne]=function(){var xe=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);xe.splice(0,0,Ne),Ue.emit.apply(Ue,xe)}),ie.prototype.on.call(Ue,Ne,Oe)};var E="[CDATA[",b="DOCTYPE",z="http://www.w3.org/XML/1998/namespace",ee="http://www.w3.org/2000/xmlns/",re={xml:z,xmlns:ee},ce=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,ge=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,ve=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,fe=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function pe(Ne){return Ne===" "||Ne===`
|
|
`||Ne==="\r"||Ne===" "}function me(Ne){return Ne==='"'||Ne==="'"}function ye(Ne){return Ne===">"||pe(Ne)}function be(Ne,Oe){return Ne.test(Oe)}function Le(Ne,Oe){return!be(Ne,Oe)}var we=0;te.STATE={BEGIN:we++,BEGIN_WHITESPACE:we++,TEXT:we++,TEXT_ENTITY:we++,OPEN_WAKA:we++,SGML_DECL:we++,SGML_DECL_QUOTED:we++,DOCTYPE:we++,DOCTYPE_QUOTED:we++,DOCTYPE_DTD:we++,DOCTYPE_DTD_QUOTED:we++,COMMENT_STARTING:we++,COMMENT:we++,COMMENT_ENDING:we++,COMMENT_ENDED:we++,CDATA:we++,CDATA_ENDING:we++,CDATA_ENDING_2:we++,PROC_INST:we++,PROC_INST_BODY:we++,PROC_INST_ENDING:we++,OPEN_TAG:we++,OPEN_TAG_SLASH:we++,ATTRIB:we++,ATTRIB_NAME:we++,ATTRIB_NAME_SAW_WHITE:we++,ATTRIB_VALUE:we++,ATTRIB_VALUE_QUOTED:we++,ATTRIB_VALUE_CLOSED:we++,ATTRIB_VALUE_UNQUOTED:we++,ATTRIB_VALUE_ENTITY_Q:we++,ATTRIB_VALUE_ENTITY_U:we++,CLOSE_TAG:we++,CLOSE_TAG_SAW_WHITE:we++,SCRIPT:we++,SCRIPT_ENDING:we++},te.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},te.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(te.ENTITIES).forEach(function(Ne){var Oe=te.ENTITIES[Ne],Ue=typeof Oe=="number"?String.fromCharCode(Oe):Oe;te.ENTITIES[Ne]=Ue});for(var Ae in te.STATE)te.STATE[te.STATE[Ae]]=Ae;we=te.STATE;function Me(Ne,Oe,Ue){Ne[Oe]&&Ne[Oe](Ue)}function De(Ne,Oe,Ue){Ne.textNode&&ze(Ne),Me(Ne,Oe,Ue)}function ze(Ne){Ne.textNode=qe(Ne.opt,Ne.textNode),Ne.textNode&&Me(Ne,"ontext",Ne.textNode),Ne.textNode=""}function qe(Ne,Oe){return Ne.trim&&(Oe=Oe.trim()),Ne.normalize&&(Oe=Oe.replace(/\s+/g," ")),Oe}function Re(Ne,Oe){return ze(Ne),Ne.trackPosition&&(Oe+=`
|
|
Line: `+Ne.line+`
|
|
Column: `+Ne.column+`
|
|
Char: `+Ne.c),Oe=new Error(Oe),Ne.error=Oe,Me(Ne,"onerror",Oe),Ne}function ot(Ne){return Ne.sawRoot&&!Ne.closedRoot&&rt(Ne,"Unclosed root tag"),Ne.state!==we.BEGIN&&Ne.state!==we.BEGIN_WHITESPACE&&Ne.state!==we.TEXT&&Re(Ne,"Unexpected end"),ze(Ne),Ne.c="",Ne.closed=!0,Me(Ne,"onend"),de.call(Ne,Ne.strict,Ne.opt),Ne}function rt(Ne,Oe){if(typeof Ne!="object"||!(Ne instanceof de))throw new Error("bad call to strictFail");Ne.strict&&Re(Ne,Oe)}function Qe(Ne){Ne.strict||(Ne.tagName=Ne.tagName[Ne.looseCase]());var Oe=Ne.tags[Ne.tags.length-1]||Ne,Ue=Ne.tag={name:Ne.tagName,attributes:{}};Ne.opt.xmlns&&(Ue.ns=Oe.ns),Ne.attribList.length=0,De(Ne,"onopentagstart",Ue)}function Je(Ne,Oe){var Ue=Ne.indexOf(":"),xe=Ue<0?["",Ne]:Ne.split(":"),Fe=xe[0],He=xe[1];return Oe&&Ne==="xmlns"&&(Fe="xmlns",He=""),{prefix:Fe,local:He}}function Ge(Ne){if(Ne.strict||(Ne.attribName=Ne.attribName[Ne.looseCase]()),Ne.attribList.indexOf(Ne.attribName)!==-1||Ne.tag.attributes.hasOwnProperty(Ne.attribName)){Ne.attribName=Ne.attribValue="";return}if(Ne.opt.xmlns){var Oe=Je(Ne.attribName,!0),Ue=Oe.prefix,xe=Oe.local;if(Ue==="xmlns")if(xe==="xml"&&Ne.attribValue!==z)rt(Ne,"xml: prefix must be bound to "+z+`
|
|
Actual: `+Ne.attribValue);else if(xe==="xmlns"&&Ne.attribValue!==ee)rt(Ne,"xmlns: prefix must be bound to "+ee+`
|
|
Actual: `+Ne.attribValue);else{var Fe=Ne.tag,He=Ne.tags[Ne.tags.length-1]||Ne;Fe.ns===He.ns&&(Fe.ns=Object.create(He.ns)),Fe.ns[xe]=Ne.attribValue}Ne.attribList.push([Ne.attribName,Ne.attribValue])}else Ne.tag.attributes[Ne.attribName]=Ne.attribValue,De(Ne,"onattribute",{name:Ne.attribName,value:Ne.attribValue});Ne.attribName=Ne.attribValue=""}function ke(Ne,Oe){if(Ne.opt.xmlns){var Ue=Ne.tag,xe=Je(Ne.tagName);Ue.prefix=xe.prefix,Ue.local=xe.local,Ue.uri=Ue.ns[xe.prefix]||"",Ue.prefix&&!Ue.uri&&(rt(Ne,"Unbound namespace prefix: "+JSON.stringify(Ne.tagName)),Ue.uri=xe.prefix);var Fe=Ne.tags[Ne.tags.length-1]||Ne;Ue.ns&&Fe.ns!==Ue.ns&&Object.keys(Ue.ns).forEach(function(it){De(Ne,"onopennamespace",{prefix:it,uri:Ue.ns[it]})});for(var He=0,We=Ne.attribList.length;He<We;He++){var Ie=Ne.attribList[He],Te=Ie[0],Ee=Ie[1],Pe=Je(Te,!0),je=Pe.prefix,Ke=Pe.local,at=je===""?"":Ue.ns[je]||"",Ze={name:Te,value:Ee,prefix:je,local:Ke,uri:at};je&&je!=="xmlns"&&!at&&(rt(Ne,"Unbound namespace prefix: "+JSON.stringify(je)),Ze.uri=je),Ne.tag.attributes[Te]=Ze,De(Ne,"onattribute",Ze)}Ne.attribList.length=0}Ne.tag.isSelfClosing=!!Oe,Ne.sawRoot=!0,Ne.tags.push(Ne.tag),De(Ne,"onopentag",Ne.tag),Oe||(!Ne.noscript&&Ne.tagName.toLowerCase()==="script"?Ne.state=we.SCRIPT:Ne.state=we.TEXT,Ne.tag=null,Ne.tagName=""),Ne.attribName=Ne.attribValue="",Ne.attribList.length=0}function _e(Ne){if(!Ne.tagName){rt(Ne,"Weird empty close tag."),Ne.textNode+="</>",Ne.state=we.TEXT;return}if(Ne.script){if(Ne.tagName!=="script"){Ne.script+="</"+Ne.tagName+">",Ne.tagName="",Ne.state=we.SCRIPT;return}De(Ne,"onscript",Ne.script),Ne.script=""}var Oe=Ne.tags.length,Ue=Ne.tagName;Ne.strict||(Ue=Ue[Ne.looseCase]());for(var xe=Ue;Oe--;){var Fe=Ne.tags[Oe];if(Fe.name!==xe)rt(Ne,"Unexpected close tag");else break}if(Oe<0){rt(Ne,"Unmatched closing tag: "+Ne.tagName),Ne.textNode+="</"+Ne.tagName+">",Ne.state=we.TEXT;return}Ne.tagName=Ue;for(var He=Ne.tags.length;He-- >Oe;){var We=Ne.tag=Ne.tags.pop();Ne.tagName=Ne.tag.name,De(Ne,"onclosetag",Ne.tagName);var Ie={};for(var Te in We.ns)Ie[Te]=We.ns[Te];var Ee=Ne.tags[Ne.tags.length-1]||Ne;Ne.opt.xmlns&&We.ns!==Ee.ns&&Object.keys(We.ns).forEach(function(Pe){var je=We.ns[Pe];De(Ne,"onclosenamespace",{prefix:Pe,uri:je})})}Oe===0&&(Ne.closedRoot=!0),Ne.tagName=Ne.attribValue=Ne.attribName="",Ne.attribList.length=0,Ne.state=we.TEXT}function tt(Ne){var Oe=Ne.entity,Ue=Oe.toLowerCase(),xe,Fe="";return Ne.ENTITIES[Oe]?Ne.ENTITIES[Oe]:Ne.ENTITIES[Ue]?Ne.ENTITIES[Ue]:(Oe=Ue,Oe.charAt(0)==="#"&&(Oe.charAt(1)==="x"?(Oe=Oe.slice(2),xe=parseInt(Oe,16),Fe=xe.toString(16)):(Oe=Oe.slice(1),xe=parseInt(Oe,10),Fe=xe.toString(10))),Oe=Oe.replace(/^0+/,""),isNaN(xe)||Fe.toLowerCase()!==Oe?(rt(Ne,"Invalid character entity"),"&"+Ne.entity+";"):String.fromCodePoint(xe))}function Xe(Ne,Oe){Oe==="<"?(Ne.state=we.OPEN_WAKA,Ne.startTagPosition=Ne.position):pe(Oe)||(rt(Ne,"Non-whitespace before first tag."),Ne.textNode=Oe,Ne.state=we.TEXT)}function ct(Ne,Oe){var Ue="";return Oe<Ne.length&&(Ue=Ne.charAt(Oe)),Ue}function Ye(Ne){var Oe=this;if(this.error)throw this.error;if(Oe.closed)return Re(Oe,"Cannot write after close. Assign an onready handler.");if(Ne===null)return ot(Oe);typeof Ne=="object"&&(Ne=Ne.toString());for(var Ue=0,xe="";xe=ct(Ne,Ue++),Oe.c=xe,!!xe;)switch(Oe.trackPosition&&(Oe.position++,xe===`
|
|
`?(Oe.line++,Oe.column=0):Oe.column++),Oe.state){case we.BEGIN:if(Oe.state=we.BEGIN_WHITESPACE,xe==="\uFEFF")continue;Xe(Oe,xe);continue;case we.BEGIN_WHITESPACE:Xe(Oe,xe);continue;case we.TEXT:if(Oe.sawRoot&&!Oe.closedRoot){for(var Fe=Ue-1;xe&&xe!=="<"&&xe!=="&";)xe=ct(Ne,Ue++),xe&&Oe.trackPosition&&(Oe.position++,xe===`
|
|
`?(Oe.line++,Oe.column=0):Oe.column++);Oe.textNode+=Ne.substring(Fe,Ue-1)}xe==="<"&&!(Oe.sawRoot&&Oe.closedRoot&&!Oe.strict)?(Oe.state=we.OPEN_WAKA,Oe.startTagPosition=Oe.position):(!pe(xe)&&(!Oe.sawRoot||Oe.closedRoot)&&rt(Oe,"Text data outside of root node."),xe==="&"?Oe.state=we.TEXT_ENTITY:Oe.textNode+=xe);continue;case we.SCRIPT:xe==="<"?Oe.state=we.SCRIPT_ENDING:Oe.script+=xe;continue;case we.SCRIPT_ENDING:xe==="/"?Oe.state=we.CLOSE_TAG:(Oe.script+="<"+xe,Oe.state=we.SCRIPT);continue;case we.OPEN_WAKA:if(xe==="!")Oe.state=we.SGML_DECL,Oe.sgmlDecl="";else if(!pe(xe))if(be(ce,xe))Oe.state=we.OPEN_TAG,Oe.tagName=xe;else if(xe==="/")Oe.state=we.CLOSE_TAG,Oe.tagName="";else if(xe==="?")Oe.state=we.PROC_INST,Oe.procInstName=Oe.procInstBody="";else{if(rt(Oe,"Unencoded <"),Oe.startTagPosition+1<Oe.position){var He=Oe.position-Oe.startTagPosition;xe=new Array(He).join(" ")+xe}Oe.textNode+="<"+xe,Oe.state=we.TEXT}continue;case we.SGML_DECL:(Oe.sgmlDecl+xe).toUpperCase()===E?(De(Oe,"onopencdata"),Oe.state=we.CDATA,Oe.sgmlDecl="",Oe.cdata=""):Oe.sgmlDecl+xe==="--"?(Oe.state=we.COMMENT,Oe.comment="",Oe.sgmlDecl=""):(Oe.sgmlDecl+xe).toUpperCase()===b?(Oe.state=we.DOCTYPE,(Oe.doctype||Oe.sawRoot)&&rt(Oe,"Inappropriately located doctype declaration"),Oe.doctype="",Oe.sgmlDecl=""):xe===">"?(De(Oe,"onsgmldeclaration",Oe.sgmlDecl),Oe.sgmlDecl="",Oe.state=we.TEXT):(me(xe)&&(Oe.state=we.SGML_DECL_QUOTED),Oe.sgmlDecl+=xe);continue;case we.SGML_DECL_QUOTED:xe===Oe.q&&(Oe.state=we.SGML_DECL,Oe.q=""),Oe.sgmlDecl+=xe;continue;case we.DOCTYPE:xe===">"?(Oe.state=we.TEXT,De(Oe,"ondoctype",Oe.doctype),Oe.doctype=!0):(Oe.doctype+=xe,xe==="["?Oe.state=we.DOCTYPE_DTD:me(xe)&&(Oe.state=we.DOCTYPE_QUOTED,Oe.q=xe));continue;case we.DOCTYPE_QUOTED:Oe.doctype+=xe,xe===Oe.q&&(Oe.q="",Oe.state=we.DOCTYPE);continue;case we.DOCTYPE_DTD:Oe.doctype+=xe,xe==="]"?Oe.state=we.DOCTYPE:me(xe)&&(Oe.state=we.DOCTYPE_DTD_QUOTED,Oe.q=xe);continue;case we.DOCTYPE_DTD_QUOTED:Oe.doctype+=xe,xe===Oe.q&&(Oe.state=we.DOCTYPE_DTD,Oe.q="");continue;case we.COMMENT:xe==="-"?Oe.state=we.COMMENT_ENDING:Oe.comment+=xe;continue;case we.COMMENT_ENDING:xe==="-"?(Oe.state=we.COMMENT_ENDED,Oe.comment=qe(Oe.opt,Oe.comment),Oe.comment&&De(Oe,"oncomment",Oe.comment),Oe.comment=""):(Oe.comment+="-"+xe,Oe.state=we.COMMENT);continue;case we.COMMENT_ENDED:xe!==">"?(rt(Oe,"Malformed comment"),Oe.comment+="--"+xe,Oe.state=we.COMMENT):Oe.state=we.TEXT;continue;case we.CDATA:xe==="]"?Oe.state=we.CDATA_ENDING:Oe.cdata+=xe;continue;case we.CDATA_ENDING:xe==="]"?Oe.state=we.CDATA_ENDING_2:(Oe.cdata+="]"+xe,Oe.state=we.CDATA);continue;case we.CDATA_ENDING_2:xe===">"?(Oe.cdata&&De(Oe,"oncdata",Oe.cdata),De(Oe,"onclosecdata"),Oe.cdata="",Oe.state=we.TEXT):xe==="]"?Oe.cdata+="]":(Oe.cdata+="]]"+xe,Oe.state=we.CDATA);continue;case we.PROC_INST:xe==="?"?Oe.state=we.PROC_INST_ENDING:pe(xe)?Oe.state=we.PROC_INST_BODY:Oe.procInstName+=xe;continue;case we.PROC_INST_BODY:if(!Oe.procInstBody&&pe(xe))continue;xe==="?"?Oe.state=we.PROC_INST_ENDING:Oe.procInstBody+=xe;continue;case we.PROC_INST_ENDING:xe===">"?(De(Oe,"onprocessinginstruction",{name:Oe.procInstName,body:Oe.procInstBody}),Oe.procInstName=Oe.procInstBody="",Oe.state=we.TEXT):(Oe.procInstBody+="?"+xe,Oe.state=we.PROC_INST_BODY);continue;case we.OPEN_TAG:be(ge,xe)?Oe.tagName+=xe:(Qe(Oe),xe===">"?ke(Oe):xe==="/"?Oe.state=we.OPEN_TAG_SLASH:(pe(xe)||rt(Oe,"Invalid character in tag name"),Oe.state=we.ATTRIB));continue;case we.OPEN_TAG_SLASH:xe===">"?(ke(Oe,!0),_e(Oe)):(rt(Oe,"Forward-slash in opening tag not followed by >"),Oe.state=we.ATTRIB);continue;case we.ATTRIB:if(pe(xe))continue;xe===">"?ke(Oe):xe==="/"?Oe.state=we.OPEN_TAG_SLASH:be(ce,xe)?(Oe.attribName=xe,Oe.attribValue="",Oe.state=we.ATTRIB_NAME):rt(Oe,"Invalid attribute name");continue;case we.ATTRIB_NAME:xe==="="?Oe.state=we.ATTRIB_VALUE:xe===">"?(rt(Oe,"Attribute without value"),Oe.attribValue=Oe.attribName,Ge(Oe),ke(Oe)):pe(xe)?Oe.state=we.ATTRIB_NAME_SAW_WHITE:be(ge,xe)?Oe.attribName+=xe:rt(Oe,"Invalid attribute name");continue;case we.ATTRIB_NAME_SAW_WHITE:if(xe==="=")Oe.state=we.ATTRIB_VALUE;else{if(pe(xe))continue;rt(Oe,"Attribute without value"),Oe.tag.attributes[Oe.attribName]="",Oe.attribValue="",De(Oe,"onattribute",{name:Oe.attribName,value:""}),Oe.attribName="",xe===">"?ke(Oe):be(ce,xe)?(Oe.attribName=xe,Oe.state=we.ATTRIB_NAME):(rt(Oe,"Invalid attribute name"),Oe.state=we.ATTRIB)}continue;case we.ATTRIB_VALUE:if(pe(xe))continue;me(xe)?(Oe.q=xe,Oe.state=we.ATTRIB_VALUE_QUOTED):(rt(Oe,"Unquoted attribute value"),Oe.state=we.ATTRIB_VALUE_UNQUOTED,Oe.attribValue=xe);continue;case we.ATTRIB_VALUE_QUOTED:if(xe!==Oe.q){xe==="&"?Oe.state=we.ATTRIB_VALUE_ENTITY_Q:Oe.attribValue+=xe;continue}Ge(Oe),Oe.q="",Oe.state=we.ATTRIB_VALUE_CLOSED;continue;case we.ATTRIB_VALUE_CLOSED:pe(xe)?Oe.state=we.ATTRIB:xe===">"?ke(Oe):xe==="/"?Oe.state=we.OPEN_TAG_SLASH:be(ce,xe)?(rt(Oe,"No whitespace between attributes"),Oe.attribName=xe,Oe.attribValue="",Oe.state=we.ATTRIB_NAME):rt(Oe,"Invalid attribute name");continue;case we.ATTRIB_VALUE_UNQUOTED:if(!ye(xe)){xe==="&"?Oe.state=we.ATTRIB_VALUE_ENTITY_U:Oe.attribValue+=xe;continue}Ge(Oe),xe===">"?ke(Oe):Oe.state=we.ATTRIB;continue;case we.CLOSE_TAG:if(Oe.tagName)xe===">"?_e(Oe):be(ge,xe)?Oe.tagName+=xe:Oe.script?(Oe.script+="</"+Oe.tagName,Oe.tagName="",Oe.state=we.SCRIPT):(pe(xe)||rt(Oe,"Invalid tagname in closing tag"),Oe.state=we.CLOSE_TAG_SAW_WHITE);else{if(pe(xe))continue;Le(ce,xe)?Oe.script?(Oe.script+="</"+xe,Oe.state=we.SCRIPT):rt(Oe,"Invalid tagname in closing tag."):Oe.tagName=xe}continue;case we.CLOSE_TAG_SAW_WHITE:if(pe(xe))continue;xe===">"?_e(Oe):rt(Oe,"Invalid characters in closing tag");continue;case we.TEXT_ENTITY:case we.ATTRIB_VALUE_ENTITY_Q:case we.ATTRIB_VALUE_ENTITY_U:var We,Ie;switch(Oe.state){case we.TEXT_ENTITY:We=we.TEXT,Ie="textNode";break;case we.ATTRIB_VALUE_ENTITY_Q:We=we.ATTRIB_VALUE_QUOTED,Ie="attribValue";break;case we.ATTRIB_VALUE_ENTITY_U:We=we.ATTRIB_VALUE_UNQUOTED,Ie="attribValue";break}xe===";"?(Oe[Ie]+=tt(Oe),Oe.entity="",Oe.state=We):be(Oe.entity.length?fe:ve,xe)?Oe.entity+=xe:(rt(Oe,"Invalid character in entity name"),Oe[Ie]+="&"+Oe.entity+xe,Oe.entity="",Oe.state=We);continue;default:throw new Error(Oe,"Unknown state: "+Oe.state)}return Oe.position>=Oe.bufferCheckPosition&&se(Oe),Oe}String.fromCodePoint||function(){var Ne=String.fromCharCode,Oe=Math.floor,Ue=function(){var xe=16384,Fe=[],He,We,Ie=-1,Te=arguments.length;if(!Te)return"";for(var Ee="";++Ie<Te;){var Pe=Number(arguments[Ie]);if(!isFinite(Pe)||Pe<0||Pe>1114111||Oe(Pe)!==Pe)throw RangeError("Invalid code point: "+Pe);Pe<=65535?Fe.push(Pe):(Pe-=65536,He=(Pe>>10)+55296,We=Pe%1024+56320,Fe.push(He,We)),(Ie+1===Te||Fe.length>xe)&&(Ee+=Ne.apply(null,Fe),Fe.length=0)}return Ee};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ue,configurable:!0,writable:!0}):String.fromCodePoint=Ue}()})(typeof he=="undefined"?this.sax={}:he)}).call(this)}).call(this,x("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(x,Se,he){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,he){"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,he){(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;ue<se.length;ue++){var oe=se[ue];ie.prototype[oe]||(ie.prototype[oe]=de.prototype[oe])}function ie(y){if(!(this instanceof ie))return new ie(y);le.call(this,y),de.call(this,y),this.allowHalfOpen=!0,y&&(y.readable===!1&&(this.readable=!1),y.writable===!1&&(this.writable=!1),y.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",ne)))}Object.defineProperty(ie.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(ie.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(ie.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ne(){this._writableState.ended||ae.nextTick(a,this)}function a(y){y.end()}Object.defineProperty(ie.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(E){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=E,this._writableState.destroyed=E)}})}).call(this)}).call(this,x("_process"))},{"./_stream_readable":402,"./_stream_writable":404,_process:467,inherits:364}],401:[function(x,Se,he){"use strict";Se.exports=te;var ae=x("./_stream_transform");x("inherits")(te,ae);function te(le){if(!(this instanceof te))return new te(le);ae.call(this,le)}te.prototype._transform=function(le,de,se){se(null,le)}},{"./_stream_transform":403,inherits:364}],402:[function(x,Se,he){(function(ae,te){(function(){"use strict";Se.exports=De;var le;De.ReadableState=Me;var de=x("events").EventEmitter,se=function(Te,Ee){return Te.listeners(Ee).length},ue=x("./internal/streams/stream"),oe=x("buffer").Buffer,ie=(typeof te!="undefined"?te:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function ne(Ie){return oe.from(Ie)}function a(Ie){return oe.isBuffer(Ie)||Ie instanceof ie}var y=x("util"),E;y&&y.debuglog?E=y.debuglog("stream"):E=function(){};var b=x("./internal/streams/buffer_list"),z=x("./internal/streams/destroy"),ee=x("./internal/streams/state"),re=ee.getHighWaterMark,ce=x("../errors").codes,ge=ce.ERR_INVALID_ARG_TYPE,ve=ce.ERR_STREAM_PUSH_AFTER_EOF,fe=ce.ERR_METHOD_NOT_IMPLEMENTED,pe=ce.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,me,ye,be;x("inherits")(De,ue);var Le=z.errorOrDestroy,we=["error","close","destroy","pause","resume"];function Ae(Ie,Te,Ee){if(typeof Ie.prependListener=="function")return Ie.prependListener(Te,Ee);!Ie._events||!Ie._events[Te]?Ie.on(Te,Ee):Array.isArray(Ie._events[Te])?Ie._events[Te].unshift(Ee):Ie._events[Te]=[Ee,Ie._events[Te]]}function Me(Ie,Te,Ee){le=le||x("./_stream_duplex"),Ie=Ie||{},typeof Ee!="boolean"&&(Ee=Te instanceof le),this.objectMode=!!Ie.objectMode,Ee&&(this.objectMode=this.objectMode||!!Ie.readableObjectMode),this.highWaterMark=re(this,Ie,"readableHighWaterMark",Ee),this.buffer=new b,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=Ie.emitClose!==!1,this.autoDestroy=!!Ie.autoDestroy,this.destroyed=!1,this.defaultEncoding=Ie.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Ie.encoding&&(me||(me=x("string_decoder/").StringDecoder),this.decoder=new me(Ie.encoding),this.encoding=Ie.encoding)}function De(Ie){if(le=le||x("./_stream_duplex"),!(this instanceof De))return new De(Ie);var Te=this instanceof le;this._readableState=new Me(Ie,this,Te),this.readable=!0,Ie&&(typeof Ie.read=="function"&&(this._read=Ie.read),typeof Ie.destroy=="function"&&(this._destroy=Ie.destroy)),ue.call(this)}Object.defineProperty(De.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Te){this._readableState&&(this._readableState.destroyed=Te)}}),De.prototype.destroy=z.destroy,De.prototype._undestroy=z.undestroy,De.prototype._destroy=function(Ie,Te){Te(Ie)},De.prototype.push=function(Ie,Te){var Ee=this._readableState,Pe;return Ee.objectMode?Pe=!0:typeof Ie=="string"&&(Te=Te||Ee.defaultEncoding,Te!==Ee.encoding&&(Ie=oe.from(Ie,Te),Te=""),Pe=!0),ze(this,Ie,Te,!1,Pe)},De.prototype.unshift=function(Ie){return ze(this,Ie,null,!0,!1)};function ze(Ie,Te,Ee,Pe,je){E("readableAddChunk",Te);var Ke=Ie._readableState;if(Te===null)Ke.reading=!1,Je(Ie,Ke);else{var at;if(je||(at=Re(Ke,Te)),at)Le(Ie,at);else if(Ke.objectMode||Te&&Te.length>0)if(typeof Te!="string"&&!Ke.objectMode&&Object.getPrototypeOf(Te)!==oe.prototype&&(Te=ne(Te)),Pe)Ke.endEmitted?Le(Ie,new pe):qe(Ie,Ke,Te,!0);else if(Ke.ended)Le(Ie,new ve);else{if(Ke.destroyed)return!1;Ke.reading=!1,Ke.decoder&&!Ee?(Te=Ke.decoder.write(Te),Ke.objectMode||Te.length!==0?qe(Ie,Ke,Te,!1):_e(Ie,Ke)):qe(Ie,Ke,Te,!1)}else Pe||(Ke.reading=!1,_e(Ie,Ke))}return!Ke.ended&&(Ke.length<Ke.highWaterMark||Ke.length===0)}function qe(Ie,Te,Ee,Pe){Te.flowing&&Te.length===0&&!Te.sync?(Te.awaitDrain=0,Ie.emit("data",Ee)):(Te.length+=Te.objectMode?1:Ee.length,Pe?Te.buffer.unshift(Ee):Te.buffer.push(Ee),Te.needReadable&&Ge(Ie)),_e(Ie,Te)}function Re(Ie,Te){var Ee;return!a(Te)&&typeof Te!="string"&&Te!==void 0&&!Ie.objectMode&&(Ee=new ge("chunk",["string","Buffer","Uint8Array"],Te)),Ee}De.prototype.isPaused=function(){return this._readableState.flowing===!1},De.prototype.setEncoding=function(Ie){me||(me=x("string_decoder/").StringDecoder);var Te=new me(Ie);this._readableState.decoder=Te,this._readableState.encoding=this._readableState.decoder.encoding;for(var Ee=this._readableState.buffer.head,Pe="";Ee!==null;)Pe+=Te.write(Ee.data),Ee=Ee.next;return this._readableState.buffer.clear(),Pe!==""&&this._readableState.buffer.push(Pe),this._readableState.length=Pe.length,this};var ot=1073741824;function rt(Ie){return Ie>=ot?Ie=ot:(Ie--,Ie|=Ie>>>1,Ie|=Ie>>>2,Ie|=Ie>>>4,Ie|=Ie>>>8,Ie|=Ie>>>16,Ie++),Ie}function Qe(Ie,Te){return Ie<=0||Te.length===0&&Te.ended?0:Te.objectMode?1:Ie!==Ie?Te.flowing&&Te.length?Te.buffer.head.data.length:Te.length:(Ie>Te.highWaterMark&&(Te.highWaterMark=rt(Ie)),Ie<=Te.length?Ie:Te.ended?Te.length:(Te.needReadable=!0,0))}De.prototype.read=function(Ie){E("read",Ie),Ie=parseInt(Ie,10);var Te=this._readableState,Ee=Ie;if(Ie!==0&&(Te.emittedReadable=!1),Ie===0&&Te.needReadable&&((Te.highWaterMark!==0?Te.length>=Te.highWaterMark:Te.length>0)||Te.ended))return E("read: emitReadable",Te.length,Te.ended),Te.length===0&&Te.ended?Fe(this):Ge(this),null;if(Ie=Qe(Ie,Te),Ie===0&&Te.ended)return Te.length===0&&Fe(this),null;var Pe=Te.needReadable;E("need readable",Pe),(Te.length===0||Te.length-Ie<Te.highWaterMark)&&(Pe=!0,E("length less than watermark",Pe)),Te.ended||Te.reading?(Pe=!1,E("reading or ended",Pe)):Pe&&(E("do read"),Te.reading=!0,Te.sync=!0,Te.length===0&&(Te.needReadable=!0),this._read(Te.highWaterMark),Te.sync=!1,Te.reading||(Ie=Qe(Ee,Te)));var je;return Ie>0?je=xe(Ie,Te):je=null,je===null?(Te.needReadable=Te.length<=Te.highWaterMark,Ie=0):(Te.length-=Ie,Te.awaitDrain=0),Te.length===0&&(Te.ended||(Te.needReadable=!0),Ee!==Ie&&Te.ended&&Fe(this)),je!==null&&this.emit("data",je),je};function Je(Ie,Te){if(E("onEofChunk"),!Te.ended){if(Te.decoder){var Ee=Te.decoder.end();Ee&&Ee.length&&(Te.buffer.push(Ee),Te.length+=Te.objectMode?1:Ee.length)}Te.ended=!0,Te.sync?Ge(Ie):(Te.needReadable=!1,Te.emittedReadable||(Te.emittedReadable=!0,ke(Ie)))}}function Ge(Ie){var Te=Ie._readableState;E("emitReadable",Te.needReadable,Te.emittedReadable),Te.needReadable=!1,Te.emittedReadable||(E("emitReadable",Te.flowing),Te.emittedReadable=!0,ae.nextTick(ke,Ie))}function ke(Ie){var Te=Ie._readableState;E("emitReadable_",Te.destroyed,Te.length,Te.ended),!Te.destroyed&&(Te.length||Te.ended)&&(Ie.emit("readable"),Te.emittedReadable=!1),Te.needReadable=!Te.flowing&&!Te.ended&&Te.length<=Te.highWaterMark,Ue(Ie)}function _e(Ie,Te){Te.readingMore||(Te.readingMore=!0,ae.nextTick(tt,Ie,Te))}function tt(Ie,Te){for(;!Te.reading&&!Te.ended&&(Te.length<Te.highWaterMark||Te.flowing&&Te.length===0);){var Ee=Te.length;if(E("maybeReadMore read 0"),Ie.read(0),Ee===Te.length)break}Te.readingMore=!1}De.prototype._read=function(Ie){Le(this,new fe("_read()"))},De.prototype.pipe=function(Ie,Te){var Ee=this,Pe=this._readableState;switch(Pe.pipesCount){case 0:Pe.pipes=Ie;break;case 1:Pe.pipes=[Pe.pipes,Ie];break;default:Pe.pipes.push(Ie);break}Pe.pipesCount+=1,E("pipe count=%d opts=%j",Pe.pipesCount,Te);var je=(!Te||Te.end!==!1)&&Ie!==ae.stdout&&Ie!==ae.stderr,Ke=je?Ze:lt;Pe.endEmitted?ae.nextTick(Ke):Ee.once("end",Ke),Ie.on("unpipe",at);function at(ft,mt){E("onunpipe"),ft===Ee&&mt&&mt.hasUnpiped===!1&&(mt.hasUnpiped=!0,dt())}function Ze(){E("onend"),Ie.end()}var it=Xe(Ee);Ie.on("drain",it);var pt=!1;function dt(){E("cleanup"),Ie.removeListener("close",ht),Ie.removeListener("finish",$e),Ie.removeListener("drain",it),Ie.removeListener("error",st),Ie.removeListener("unpipe",at),Ee.removeListener("end",Ze),Ee.removeListener("end",lt),Ee.removeListener("data",vt),pt=!0,Pe.awaitDrain&&(!Ie._writableState||Ie._writableState.needDrain)&&it()}Ee.on("data",vt);function vt(ft){E("ondata");var mt=Ie.write(ft);E("dest.write",mt),mt===!1&&((Pe.pipesCount===1&&Pe.pipes===Ie||Pe.pipesCount>1&&We(Pe.pipes,Ie)!==-1)&&!pt&&(E("false write response, pause",Pe.awaitDrain),Pe.awaitDrain++),Ee.pause())}function st(ft){E("onerror",ft),lt(),Ie.removeListener("error",st),se(Ie,"error")===0&&Le(Ie,ft)}Ae(Ie,"error",st);function ht(){Ie.removeListener("finish",$e),lt()}Ie.once("close",ht);function $e(){E("onfinish"),Ie.removeListener("close",ht),lt()}Ie.once("finish",$e);function lt(){E("unpipe"),Ee.unpipe(Ie)}return Ie.emit("pipe",Ee),Pe.flowing||(E("pipe resume"),Ee.resume()),Ie};function Xe(Ie){return function(){var Ee=Ie._readableState;E("pipeOnDrain",Ee.awaitDrain),Ee.awaitDrain&&Ee.awaitDrain--,Ee.awaitDrain===0&&se(Ie,"data")&&(Ee.flowing=!0,Ue(Ie))}}De.prototype.unpipe=function(Ie){var Te=this._readableState,Ee={hasUnpiped:!1};if(Te.pipesCount===0)return this;if(Te.pipesCount===1)return Ie&&Ie!==Te.pipes?this:(Ie||(Ie=Te.pipes),Te.pipes=null,Te.pipesCount=0,Te.flowing=!1,Ie&&Ie.emit("unpipe",this,Ee),this);if(!Ie){var Pe=Te.pipes,je=Te.pipesCount;Te.pipes=null,Te.pipesCount=0,Te.flowing=!1;for(var Ke=0;Ke<je;Ke++)Pe[Ke].emit("unpipe",this,{hasUnpiped:!1});return this}var at=We(Te.pipes,Ie);return at===-1?this:(Te.pipes.splice(at,1),Te.pipesCount-=1,Te.pipesCount===1&&(Te.pipes=Te.pipes[0]),Ie.emit("unpipe",this,Ee),this)},De.prototype.on=function(Ie,Te){var Ee=ue.prototype.on.call(this,Ie,Te),Pe=this._readableState;return Ie==="data"?(Pe.readableListening=this.listenerCount("readable")>0,Pe.flowing!==!1&&this.resume()):Ie==="readable"&&!Pe.endEmitted&&!Pe.readableListening&&(Pe.readableListening=Pe.needReadable=!0,Pe.flowing=!1,Pe.emittedReadable=!1,E("on readable",Pe.length,Pe.reading),Pe.length?Ge(this):Pe.reading||ae.nextTick(Ye,this)),Ee},De.prototype.addListener=De.prototype.on,De.prototype.removeListener=function(Ie,Te){var Ee=ue.prototype.removeListener.call(this,Ie,Te);return Ie==="readable"&&ae.nextTick(ct,this),Ee},De.prototype.removeAllListeners=function(Ie){var Te=ue.prototype.removeAllListeners.apply(this,arguments);return(Ie==="readable"||Ie===void 0)&&ae.nextTick(ct,this),Te};function ct(Ie){var Te=Ie._readableState;Te.readableListening=Ie.listenerCount("readable")>0,Te.resumeScheduled&&!Te.paused?Te.flowing=!0:Ie.listenerCount("data")>0&&Ie.resume()}function Ye(Ie){E("readable nexttick read 0"),Ie.read(0)}De.prototype.resume=function(){var Ie=this._readableState;return Ie.flowing||(E("resume"),Ie.flowing=!Ie.readableListening,Ne(this,Ie)),Ie.paused=!1,this};function Ne(Ie,Te){Te.resumeScheduled||(Te.resumeScheduled=!0,ae.nextTick(Oe,Ie,Te))}function Oe(Ie,Te){E("resume",Te.reading),Te.reading||Ie.read(0),Te.resumeScheduled=!1,Ie.emit("resume"),Ue(Ie),Te.flowing&&!Te.reading&&Ie.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 Ue(Ie){var Te=Ie._readableState;for(E("flow",Te.flowing);Te.flowing&&Ie.read()!==null;);}De.prototype.wrap=function(Ie){var Te=this,Ee=this._readableState,Pe=!1;Ie.on("end",function(){if(E("wrapped end"),Ee.decoder&&!Ee.ended){var at=Ee.decoder.end();at&&at.length&&Te.push(at)}Te.push(null)}),Ie.on("data",function(at){if(E("wrapped data"),Ee.decoder&&(at=Ee.decoder.write(at)),!(Ee.objectMode&&at==null)&&!(!Ee.objectMode&&(!at||!at.length))){var Ze=Te.push(at);Ze||(Pe=!0,Ie.pause())}});for(var je in Ie)this[je]===void 0&&typeof Ie[je]=="function"&&(this[je]=function(Ze){return function(){return Ie[Ze].apply(Ie,arguments)}}(je));for(var Ke=0;Ke<we.length;Ke++)Ie.on(we[Ke],this.emit.bind(this,we[Ke]));return this._read=function(at){E("wrapped _read",at),Pe&&(Pe=!1,Ie.resume())},this},typeof Symbol=="function"&&(De.prototype[Symbol.asyncIterator]=function(){return ye===void 0&&(ye=x("./internal/streams/async_iterator")),ye(this)}),Object.defineProperty(De.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(De.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(De.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Te){this._readableState&&(this._readableState.flowing=Te)}}),De._fromList=xe,Object.defineProperty(De.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function xe(Ie,Te){if(Te.length===0)return null;var Ee;return Te.objectMode?Ee=Te.buffer.shift():!Ie||Ie>=Te.length?(Te.decoder?Ee=Te.buffer.join(""):Te.buffer.length===1?Ee=Te.buffer.first():Ee=Te.buffer.concat(Te.length),Te.buffer.clear()):Ee=Te.buffer.consume(Ie,Te.decoder),Ee}function Fe(Ie){var Te=Ie._readableState;E("endReadable",Te.endEmitted),Te.endEmitted||(Te.ended=!0,ae.nextTick(He,Te,Ie))}function He(Ie,Te){if(E("endReadableNT",Ie.endEmitted,Ie.length),!Ie.endEmitted&&Ie.length===0&&(Ie.endEmitted=!0,Te.readable=!1,Te.emit("end"),Ie.autoDestroy)){var Ee=Te._writableState;(!Ee||Ee.autoDestroy&&Ee.finished)&&Te.destroy()}}typeof Symbol=="function"&&(De.from=function(Ie,Te){return be===void 0&&(be=x("./internal/streams/from")),be(De,Ie,Te)});function We(Ie,Te){for(var Ee=0,Pe=Ie.length;Ee<Pe;Ee++)if(Ie[Ee]===Te)return Ee;return-1}}).call(this)}).call(this,x("_process"),typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/async_iterator":405,"./internal/streams/buffer_list":406,"./internal/streams/destroy":407,"./internal/streams/from":409,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,events:344,inherits:364,"string_decoder/":413,util:89}],403:[function(x,Se,he){"use strict";Se.exports=ie;var ae=x("../errors").codes,te=ae.ERR_METHOD_NOT_IMPLEMENTED,le=ae.ERR_MULTIPLE_CALLBACK,de=ae.ERR_TRANSFORM_ALREADY_TRANSFORMING,se=ae.ERR_TRANSFORM_WITH_LENGTH_0,ue=x("./_stream_duplex");x("inherits")(ie,ue);function oe(y,E){var b=this._transformState;b.transforming=!1;var z=b.writecb;if(z===null)return this.emit("error",new le);b.writechunk=null,b.writecb=null,E!=null&&this.push(E),z(y);var ee=this._readableState;ee.reading=!1,(ee.needReadable||ee.length<ee.highWaterMark)&&this._read(ee.highWaterMark)}function ie(y){if(!(this instanceof ie))return new ie(y);ue.call(this,y),this._transformState={afterTransform:oe.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,y&&(typeof y.transform=="function"&&(this._transform=y.transform),typeof y.flush=="function"&&(this._flush=y.flush)),this.on("prefinish",ne)}function ne(){var y=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(E,b){a(y,E,b)}):a(this,null,null)}ie.prototype.push=function(y,E){return this._transformState.needTransform=!1,ue.prototype.push.call(this,y,E)},ie.prototype._transform=function(y,E,b){b(new te("_transform()"))},ie.prototype._write=function(y,E,b){var z=this._transformState;if(z.writecb=b,z.writechunk=y,z.writeencoding=E,!z.transforming){var ee=this._readableState;(z.needTransform||ee.needReadable||ee.length<ee.highWaterMark)&&this._read(ee.highWaterMark)}},ie.prototype._read=function(y){var E=this._transformState;E.writechunk!==null&&!E.transforming?(E.transforming=!0,this._transform(E.writechunk,E.writeencoding,E.afterTransform)):E.needTransform=!0},ie.prototype._destroy=function(y,E){ue.prototype._destroy.call(this,y,function(b){E(b)})};function a(y,E,b){if(E)return y.emit("error",E);if(b!=null&&y.push(b),y._writableState.length)throw new se;if(y._transformState.transforming)throw new de;return y.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(x,Se,he){(function(ae,te){(function(){"use strict";Se.exports=Me;function le(Ue,xe,Fe){this.chunk=Ue,this.encoding=xe,this.callback=Fe,this.next=null}function de(Ue){var xe=this;this.next=null,this.entry=null,this.finish=function(){Oe(xe,Ue)}}var se;Me.WritableState=we;var ue={deprecate:x("util-deprecate")},oe=x("./internal/streams/stream"),ie=x("buffer").Buffer,ne=(typeof te!="undefined"?te:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function a(Ue){return ie.from(Ue)}function y(Ue){return ie.isBuffer(Ue)||Ue instanceof ne}var E=x("./internal/streams/destroy"),b=x("./internal/streams/state"),z=b.getHighWaterMark,ee=x("../errors").codes,re=ee.ERR_INVALID_ARG_TYPE,ce=ee.ERR_METHOD_NOT_IMPLEMENTED,ge=ee.ERR_MULTIPLE_CALLBACK,ve=ee.ERR_STREAM_CANNOT_PIPE,fe=ee.ERR_STREAM_DESTROYED,pe=ee.ERR_STREAM_NULL_VALUES,me=ee.ERR_STREAM_WRITE_AFTER_END,ye=ee.ERR_UNKNOWN_ENCODING,be=E.errorOrDestroy;x("inherits")(Me,oe);function Le(){}function we(Ue,xe,Fe){se=se||x("./_stream_duplex"),Ue=Ue||{},typeof Fe!="boolean"&&(Fe=xe instanceof se),this.objectMode=!!Ue.objectMode,Fe&&(this.objectMode=this.objectMode||!!Ue.writableObjectMode),this.highWaterMark=z(this,Ue,"writableHighWaterMark",Fe),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var He=Ue.decodeStrings===!1;this.decodeStrings=!He,this.defaultEncoding=Ue.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(We){Je(xe,We)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Ue.emitClose!==!1,this.autoDestroy=!!Ue.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new de(this)}we.prototype.getBuffer=function(){for(var xe=this.bufferedRequest,Fe=[];xe;)Fe.push(xe),xe=xe.next;return Fe},function(){try{Object.defineProperty(we.prototype,"buffer",{get:ue.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ue){}}();var Ae;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Ae=Function.prototype[Symbol.hasInstance],Object.defineProperty(Me,Symbol.hasInstance,{value:function(xe){return Ae.call(this,xe)?!0:this!==Me?!1:xe&&xe._writableState instanceof we}})):Ae=function(xe){return xe instanceof this};function Me(Ue){se=se||x("./_stream_duplex");var xe=this instanceof se;if(!xe&&!Ae.call(Me,this))return new Me(Ue);this._writableState=new we(Ue,this,xe),this.writable=!0,Ue&&(typeof Ue.write=="function"&&(this._write=Ue.write),typeof Ue.writev=="function"&&(this._writev=Ue.writev),typeof Ue.destroy=="function"&&(this._destroy=Ue.destroy),typeof Ue.final=="function"&&(this._final=Ue.final)),oe.call(this)}Me.prototype.pipe=function(){be(this,new ve)};function De(Ue,xe){var Fe=new me;be(Ue,Fe),ae.nextTick(xe,Fe)}function ze(Ue,xe,Fe,He){var We;return Fe===null?We=new pe:typeof Fe!="string"&&!xe.objectMode&&(We=new re("chunk",["string","Buffer"],Fe)),We?(be(Ue,We),ae.nextTick(He,We),!1):!0}Me.prototype.write=function(Ue,xe,Fe){var He=this._writableState,We=!1,Ie=!He.objectMode&&y(Ue);return Ie&&!ie.isBuffer(Ue)&&(Ue=a(Ue)),typeof xe=="function"&&(Fe=xe,xe=null),Ie?xe="buffer":xe||(xe=He.defaultEncoding),typeof Fe!="function"&&(Fe=Le),He.ending?De(this,Fe):(Ie||ze(this,He,Ue,Fe))&&(He.pendingcb++,We=Re(this,He,Ie,Ue,xe,Fe)),We},Me.prototype.cork=function(){this._writableState.corked++},Me.prototype.uncork=function(){var Ue=this._writableState;Ue.corked&&(Ue.corked--,!Ue.writing&&!Ue.corked&&!Ue.bufferProcessing&&Ue.bufferedRequest&&_e(this,Ue))},Me.prototype.setDefaultEncoding=function(xe){if(typeof xe=="string"&&(xe=xe.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((xe+"").toLowerCase())>-1))throw new ye(xe);return this._writableState.defaultEncoding=xe,this},Object.defineProperty(Me.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function qe(Ue,xe,Fe){return!Ue.objectMode&&Ue.decodeStrings!==!1&&typeof xe=="string"&&(xe=ie.from(xe,Fe)),xe}Object.defineProperty(Me.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Re(Ue,xe,Fe,He,We,Ie){if(!Fe){var Te=qe(xe,He,We);He!==Te&&(Fe=!0,We="buffer",He=Te)}var Ee=xe.objectMode?1:He.length;xe.length+=Ee;var Pe=xe.length<xe.highWaterMark;if(Pe||(xe.needDrain=!0),xe.writing||xe.corked){var je=xe.lastBufferedRequest;xe.lastBufferedRequest={chunk:He,encoding:We,isBuf:Fe,callback:Ie,next:null},je?je.next=xe.lastBufferedRequest:xe.bufferedRequest=xe.lastBufferedRequest,xe.bufferedRequestCount+=1}else ot(Ue,xe,!1,Ee,He,We,Ie);return Pe}function ot(Ue,xe,Fe,He,We,Ie,Te){xe.writelen=He,xe.writecb=Te,xe.writing=!0,xe.sync=!0,xe.destroyed?xe.onwrite(new fe("write")):Fe?Ue._writev(We,xe.onwrite):Ue._write(We,Ie,xe.onwrite),xe.sync=!1}function rt(Ue,xe,Fe,He,We){--xe.pendingcb,Fe?(ae.nextTick(We,He),ae.nextTick(Ye,Ue,xe),Ue._writableState.errorEmitted=!0,be(Ue,He)):(We(He),Ue._writableState.errorEmitted=!0,be(Ue,He),Ye(Ue,xe))}function Qe(Ue){Ue.writing=!1,Ue.writecb=null,Ue.length-=Ue.writelen,Ue.writelen=0}function Je(Ue,xe){var Fe=Ue._writableState,He=Fe.sync,We=Fe.writecb;if(typeof We!="function")throw new ge;if(Qe(Fe),xe)rt(Ue,Fe,He,xe,We);else{var Ie=tt(Fe)||Ue.destroyed;!Ie&&!Fe.corked&&!Fe.bufferProcessing&&Fe.bufferedRequest&&_e(Ue,Fe),He?ae.nextTick(Ge,Ue,Fe,Ie,We):Ge(Ue,Fe,Ie,We)}}function Ge(Ue,xe,Fe,He){Fe||ke(Ue,xe),xe.pendingcb--,He(),Ye(Ue,xe)}function ke(Ue,xe){xe.length===0&&xe.needDrain&&(xe.needDrain=!1,Ue.emit("drain"))}function _e(Ue,xe){xe.bufferProcessing=!0;var Fe=xe.bufferedRequest;if(Ue._writev&&Fe&&Fe.next){var He=xe.bufferedRequestCount,We=new Array(He),Ie=xe.corkedRequestsFree;Ie.entry=Fe;for(var Te=0,Ee=!0;Fe;)We[Te]=Fe,Fe.isBuf||(Ee=!1),Fe=Fe.next,Te+=1;We.allBuffers=Ee,ot(Ue,xe,!0,xe.length,We,"",Ie.finish),xe.pendingcb++,xe.lastBufferedRequest=null,Ie.next?(xe.corkedRequestsFree=Ie.next,Ie.next=null):xe.corkedRequestsFree=new de(xe),xe.bufferedRequestCount=0}else{for(;Fe;){var Pe=Fe.chunk,je=Fe.encoding,Ke=Fe.callback,at=xe.objectMode?1:Pe.length;if(ot(Ue,xe,!1,at,Pe,je,Ke),Fe=Fe.next,xe.bufferedRequestCount--,xe.writing)break}Fe===null&&(xe.lastBufferedRequest=null)}xe.bufferedRequest=Fe,xe.bufferProcessing=!1}Me.prototype._write=function(Ue,xe,Fe){Fe(new ce("_write()"))},Me.prototype._writev=null,Me.prototype.end=function(Ue,xe,Fe){var He=this._writableState;return typeof Ue=="function"?(Fe=Ue,Ue=null,xe=null):typeof xe=="function"&&(Fe=xe,xe=null),Ue!=null&&this.write(Ue,xe),He.corked&&(He.corked=1,this.uncork()),He.ending||Ne(this,He,Fe),this},Object.defineProperty(Me.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function tt(Ue){return Ue.ending&&Ue.length===0&&Ue.bufferedRequest===null&&!Ue.finished&&!Ue.writing}function Xe(Ue,xe){Ue._final(function(Fe){xe.pendingcb--,Fe&&be(Ue,Fe),xe.prefinished=!0,Ue.emit("prefinish"),Ye(Ue,xe)})}function ct(Ue,xe){!xe.prefinished&&!xe.finalCalled&&(typeof Ue._final=="function"&&!xe.destroyed?(xe.pendingcb++,xe.finalCalled=!0,ae.nextTick(Xe,Ue,xe)):(xe.prefinished=!0,Ue.emit("prefinish")))}function Ye(Ue,xe){var Fe=tt(xe);if(Fe&&(ct(Ue,xe),xe.pendingcb===0&&(xe.finished=!0,Ue.emit("finish"),xe.autoDestroy))){var He=Ue._readableState;(!He||He.autoDestroy&&He.endEmitted)&&Ue.destroy()}return Fe}function Ne(Ue,xe,Fe){xe.ending=!0,Ye(Ue,xe),Fe&&(xe.finished?ae.nextTick(Fe):Ue.once("finish",Fe)),xe.ended=!0,Ue.writable=!1}function Oe(Ue,xe,Fe){var He=Ue.entry;for(Ue.entry=null;He;){var We=He.callback;xe.pendingcb--,We(Fe),He=He.next}xe.corkedRequestsFree.next=Ue}Object.defineProperty(Me.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(xe){this._writableState&&(this._writableState.destroyed=xe)}}),Me.prototype.destroy=E.destroy,Me.prototype._undestroy=E.undestroy,Me.prototype._destroy=function(Ue,xe){xe(Ue)}}).call(this)}).call(this,x("_process"),typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/destroy":407,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,inherits:364,"util-deprecate":416}],405:[function(x,Se,he){(function(ae){(function(){"use strict";var te;function le(pe,me,ye){return me=de(me),me in pe?Object.defineProperty(pe,me,{value:ye,enumerable:!0,configurable:!0,writable:!0}):pe[me]=ye,pe}function de(pe){var me=se(pe,"string");return typeof me=="symbol"?me:String(me)}function se(pe,me){if(typeof pe!="object"||pe===null)return pe;var ye=pe[Symbol.toPrimitive];if(ye!==void 0){var be=ye.call(pe,me||"default");if(typeof be!="object")return be;throw new TypeError("@@toPrimitive must return a primitive value.")}return(me==="string"?String:Number)(pe)}var ue=x("./end-of-stream"),oe=Symbol("lastResolve"),ie=Symbol("lastReject"),ne=Symbol("error"),a=Symbol("ended"),y=Symbol("lastPromise"),E=Symbol("handlePromise"),b=Symbol("stream");function z(pe,me){return{value:pe,done:me}}function ee(pe){var me=pe[oe];if(me!==null){var ye=pe[b].read();ye!==null&&(pe[y]=null,pe[oe]=null,pe[ie]=null,me(z(ye,!1)))}}function re(pe){ae.nextTick(ee,pe)}function ce(pe,me){return function(ye,be){pe.then(function(){if(me[a]){ye(z(void 0,!0));return}me[E](ye,be)},be)}}var ge=Object.getPrototypeOf(function(){}),ve=Object.setPrototypeOf((te={get stream(){return this[b]},next:function(){var me=this,ye=this[ne];if(ye!==null)return Promise.reject(ye);if(this[a])return Promise.resolve(z(void 0,!0));if(this[b].destroyed)return new Promise(function(Ae,Me){ae.nextTick(function(){me[ne]?Me(me[ne]):Ae(z(void 0,!0))})});var be=this[y],Le;if(be)Le=new Promise(ce(be,this));else{var we=this[b].read();if(we!==null)return Promise.resolve(z(we,!1));Le=new Promise(this[E])}return this[y]=Le,Le}},le(te,Symbol.asyncIterator,function(){return this}),le(te,"return",function(){var me=this;return new Promise(function(ye,be){me[b].destroy(null,function(Le){if(Le){be(Le);return}ye(z(void 0,!0))})})}),te),ge),fe=function(me){var ye,be=Object.create(ve,(ye={},le(ye,b,{value:me,writable:!0}),le(ye,oe,{value:null,writable:!0}),le(ye,ie,{value:null,writable:!0}),le(ye,ne,{value:null,writable:!0}),le(ye,a,{value:me._readableState.endEmitted,writable:!0}),le(ye,E,{value:function(we,Ae){var Me=be[b].read();Me?(be[y]=null,be[oe]=null,be[ie]=null,we(z(Me,!1))):(be[oe]=we,be[ie]=Ae)},writable:!0}),ye));return be[y]=null,ue(me,function(Le){if(Le&&Le.code!=="ERR_STREAM_PREMATURE_CLOSE"){var we=be[ie];we!==null&&(be[y]=null,be[oe]=null,be[ie]=null,we(Le)),be[ne]=Le;return}var Ae=be[oe];Ae!==null&&(be[y]=null,be[oe]=null,be[ie]=null,Ae(z(void 0,!0))),be[a]=!0}),me.on("readable",re.bind(null,be)),be};Se.exports=fe}).call(this)}).call(this,x("_process"))},{"./end-of-stream":408,_process:467}],406:[function(x,Se,he){"use strict";function ae(ee,re){var ce=Object.keys(ee);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(ee);re&&(ge=ge.filter(function(ve){return Object.getOwnPropertyDescriptor(ee,ve).enumerable})),ce.push.apply(ce,ge)}return ce}function te(ee){for(var re=1;re<arguments.length;re++){var ce=arguments[re]!=null?arguments[re]:{};re%2?ae(Object(ce),!0).forEach(function(ge){le(ee,ge,ce[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ee,Object.getOwnPropertyDescriptors(ce)):ae(Object(ce)).forEach(function(ge){Object.defineProperty(ee,ge,Object.getOwnPropertyDescriptor(ce,ge))})}return ee}function le(ee,re,ce){return re=oe(re),re in ee?Object.defineProperty(ee,re,{value:ce,enumerable:!0,configurable:!0,writable:!0}):ee[re]=ce,ee}function de(ee,re){if(!(ee instanceof re))throw new TypeError("Cannot call a class as a function")}function se(ee,re){for(var ce=0;ce<re.length;ce++){var ge=re[ce];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(ee,oe(ge.key),ge)}}function ue(ee,re,ce){return re&&se(ee.prototype,re),ce&&se(ee,ce),Object.defineProperty(ee,"prototype",{writable:!1}),ee}function oe(ee){var re=ie(ee,"string");return typeof re=="symbol"?re:String(re)}function ie(ee,re){if(typeof ee!="object"||ee===null)return ee;var ce=ee[Symbol.toPrimitive];if(ce!==void 0){var ge=ce.call(ee,re||"default");if(typeof ge!="object")return ge;throw new TypeError("@@toPrimitive must return a primitive value.")}return(re==="string"?String:Number)(ee)}var ne=x("buffer"),a=ne.Buffer,y=x("util"),E=y.inspect,b=E&&E.custom||"inspect";function z(ee,re,ce){a.prototype.copy.call(ee,re,ce)}Se.exports=function(){function ee(){de(this,ee),this.head=null,this.tail=null,this.length=0}return ue(ee,[{key:"push",value:function(ce){var ge={data:ce,next:null};this.length>0?this.tail.next=ge:this.head=ge,this.tail=ge,++this.length}},{key:"unshift",value:function(ce){var ge={data:ce,next:this.head};this.length===0&&(this.tail=ge),this.head=ge,++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 ge=this.head,ve=""+ge.data;ge=ge.next;)ve+=ce+ge.data;return ve}},{key:"concat",value:function(ce){if(this.length===0)return a.alloc(0);for(var ge=a.allocUnsafe(ce>>>0),ve=this.head,fe=0;ve;)z(ve.data,ge,fe),fe+=ve.data.length,ve=ve.next;return ge}},{key:"consume",value:function(ce,ge){var ve;return ce<this.head.data.length?(ve=this.head.data.slice(0,ce),this.head.data=this.head.data.slice(ce)):ce===this.head.data.length?ve=this.shift():ve=ge?this._getString(ce):this._getBuffer(ce),ve}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(ce){var ge=this.head,ve=1,fe=ge.data;for(ce-=fe.length;ge=ge.next;){var pe=ge.data,me=ce>pe.length?pe.length:ce;if(me===pe.length?fe+=pe:fe+=pe.slice(0,ce),ce-=me,ce===0){me===pe.length?(++ve,ge.next?this.head=ge.next:this.head=this.tail=null):(this.head=ge,ge.data=pe.slice(me));break}++ve}return this.length-=ve,fe}},{key:"_getBuffer",value:function(ce){var ge=a.allocUnsafe(ce),ve=this.head,fe=1;for(ve.data.copy(ge),ce-=ve.data.length;ve=ve.next;){var pe=ve.data,me=ce>pe.length?pe.length:ce;if(pe.copy(ge,ge.length-ce,0,me),ce-=me,ce===0){me===pe.length?(++fe,ve.next?this.head=ve.next:this.head=this.tail=null):(this.head=ve,ve.data=pe.slice(me));break}++fe}return this.length-=fe,ge}},{key:b,value:function(ce,ge){return E(this,te(te({},ge),{},{depth:0,customInspect:!1}))}}]),ee}()},{buffer:90,util:89}],407:[function(x,Se,he){(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,he){"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;a<ie;a++)ne[a]=arguments[a];ue.apply(this,ne)}}}function le(){}function de(ue){return ue.setHeader&&typeof ue.abort=="function"}function se(ue,oe,ie){if(typeof oe=="function")return se(ue,null,oe);oe||(oe={}),ie=te(ie||le);var ne=oe.readable||oe.readable!==!1&&ue.readable,a=oe.writable||oe.writable!==!1&&ue.writable,y=function(){ue.writable||b()},E=ue._writableState&&ue._writableState.finished,b=function(){a=!1,E=!0,ne||ie.call(ue)},z=ue._readableState&&ue._readableState.endEmitted,ee=function(){ne=!1,z=!0,a||ie.call(ue)},re=function(fe){ie.call(ue,fe)},ce=function(){var fe;if(ne&&!z)return(!ue._readableState||!ue._readableState.ended)&&(fe=new ae),ie.call(ue,fe);if(a&&!E)return(!ue._writableState||!ue._writableState.ended)&&(fe=new ae),ie.call(ue,fe)},ge=function(){ue.req.on("finish",b)};return de(ue)?(ue.on("complete",b),ue.on("abort",ce),ue.req?ge():ue.on("request",ge)):a&&!ue._writableState&&(ue.on("end",y),ue.on("close",y)),ue.on("end",ee),ue.on("finish",b),oe.error!==!1&&ue.on("error",re),ue.on("close",ce),function(){ue.removeListener("complete",b),ue.removeListener("abort",ce),ue.removeListener("request",ge),ue.req&&ue.req.removeListener("finish",b),ue.removeListener("end",y),ue.removeListener("close",y),ue.removeListener("finish",b),ue.removeListener("end",ee),ue.removeListener("error",re),ue.removeListener("close",ce)}}Se.exports=se},{"../../../errors":399}],409:[function(x,Se,he){Se.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(x,Se,he){"use strict";var ae;function te(b){var z=!1;return function(){z||(z=!0,b.apply(void 0,arguments))}}var le=x("../../../errors").codes,de=le.ERR_MISSING_ARGS,se=le.ERR_STREAM_DESTROYED;function ue(b){if(b)throw b}function oe(b){return b.setHeader&&typeof b.abort=="function"}function ie(b,z,ee,re){re=te(re);var ce=!1;b.on("close",function(){ce=!0}),ae===void 0&&(ae=x("./end-of-stream")),ae(b,{readable:z,writable:ee},function(ve){if(ve)return re(ve);ce=!0,re()});var ge=!1;return function(ve){if(!ce&&!ge){if(ge=!0,oe(b))return b.abort();if(typeof b.destroy=="function")return b.destroy();re(ve||new se("pipe"))}}}function ne(b){b()}function a(b,z){return b.pipe(z)}function y(b){return!b.length||typeof b[b.length-1]!="function"?ue:b.pop()}function E(){for(var b=arguments.length,z=new Array(b),ee=0;ee<b;ee++)z[ee]=arguments[ee];var re=y(z);if(Array.isArray(z[0])&&(z=z[0]),z.length<2)throw new de("streams");var ce,ge=z.map(function(ve,fe){var pe=fe<z.length-1,me=fe>0;return ie(ve,pe,me,function(ye){ce||(ce=ye),ye&&ge.forEach(ne),!pe&&(ge.forEach(ne),re(ce))})});return z.reduce(a)}Se.exports=E},{"../../../errors":399,"./end-of-stream":408}],411:[function(x,Se,he){"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,he){arguments[4][393][0].apply(he,arguments)},{dup:393,events:344}],413:[function(x,Se,he){"use strict";var ae=x("safe-buffer").Buffer,te=ae.isEncoding||function(ge){switch(ge=""+ge,ge&&ge.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function le(ge){if(!ge)return"utf8";for(var ve;;)switch(ge){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return ge;default:if(ve)return;ge=(""+ge).toLowerCase(),ve=!0}}function de(ge){var ve=le(ge);if(typeof ve!="string"&&(ae.isEncoding===te||!te(ge)))throw new Error("Unknown encoding: "+ge);return ve||ge}he.StringDecoder=se;function se(ge){this.encoding=de(ge);var ve;switch(this.encoding){case"utf16le":this.text=E,this.end=b,ve=4;break;case"utf8":this.fillLast=ne,ve=4;break;case"base64":this.text=z,this.end=ee,ve=3;break;default:this.write=re,this.end=ce;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=ae.allocUnsafe(ve)}se.prototype.write=function(ge){if(ge.length===0)return"";var ve,fe;if(this.lastNeed){if(ve=this.fillLast(ge),ve===void 0)return"";fe=this.lastNeed,this.lastNeed=0}else fe=0;return fe<ge.length?ve?ve+this.text(ge,fe):this.text(ge,fe):ve||""},se.prototype.end=y,se.prototype.text=a,se.prototype.fillLast=function(ge){if(this.lastNeed<=ge.length)return ge.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ge.copy(this.lastChar,this.lastTotal-this.lastNeed,0,ge.length),this.lastNeed-=ge.length};function ue(ge){return ge<=127?0:ge>>5===6?2:ge>>4===14?3:ge>>3===30?4:ge>>6===2?-1:-2}function oe(ge,ve,fe){var pe=ve.length-1;if(pe<fe)return 0;var me=ue(ve[pe]);return me>=0?(me>0&&(ge.lastNeed=me-1),me):--pe<fe||me===-2?0:(me=ue(ve[pe]),me>=0?(me>0&&(ge.lastNeed=me-2),me):--pe<fe||me===-2?0:(me=ue(ve[pe]),me>=0?(me>0&&(me===2?me=0:ge.lastNeed=me-3),me):0))}function ie(ge,ve,fe){if((ve[0]&192)!==128)return ge.lastNeed=0,"\uFFFD";if(ge.lastNeed>1&&ve.length>1){if((ve[1]&192)!==128)return ge.lastNeed=1,"\uFFFD";if(ge.lastNeed>2&&ve.length>2&&(ve[2]&192)!==128)return ge.lastNeed=2,"\uFFFD"}}function ne(ge){var ve=this.lastTotal-this.lastNeed,fe=ie(this,ge,ve);if(fe!==void 0)return fe;if(this.lastNeed<=ge.length)return ge.copy(this.lastChar,ve,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ge.copy(this.lastChar,ve,0,ge.length),this.lastNeed-=ge.length}function a(ge,ve){var fe=oe(this,ge,ve);if(!this.lastNeed)return ge.toString("utf8",ve);this.lastTotal=fe;var pe=ge.length-(fe-this.lastNeed);return ge.copy(this.lastChar,0,pe),ge.toString("utf8",ve,pe)}function y(ge){var ve=ge&&ge.length?this.write(ge):"";return this.lastNeed?ve+"\uFFFD":ve}function E(ge,ve){if((ge.length-ve)%2===0){var fe=ge.toString("utf16le",ve);if(fe){var pe=fe.charCodeAt(fe.length-1);if(pe>=55296&&pe<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ge[ge.length-2],this.lastChar[1]=ge[ge.length-1],fe.slice(0,-1)}return fe}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ge[ge.length-1],ge.toString("utf16le",ve,ge.length-1)}function b(ge){var ve=ge&&ge.length?this.write(ge):"";if(this.lastNeed){var fe=this.lastTotal-this.lastNeed;return ve+this.lastChar.toString("utf16le",0,fe)}return ve}function z(ge,ve){var fe=(ge.length-ve)%3;return fe===0?ge.toString("base64",ve):(this.lastNeed=3-fe,this.lastTotal=3,fe===1?this.lastChar[0]=ge[ge.length-1]:(this.lastChar[0]=ge[ge.length-2],this.lastChar[1]=ge[ge.length-1]),ge.toString("base64",ve,ge.length-fe))}function ee(ge){var ve=ge&&ge.length?this.write(ge):"";return this.lastNeed?ve+this.lastChar.toString("base64",0,3-this.lastNeed):ve}function re(ge){return ge.toString(this.encoding)}function ce(ge){return ge&&ge.length?this.write(ge):""}},{"safe-buffer":396}],414:[function(x,Se,he){(function(ae,te){(function(){var le=x("process/browser.js").nextTick,de=Function.prototype.apply,se=Array.prototype.slice,ue={},oe=0;he.setTimeout=function(){return new ie(de.call(setTimeout,window,arguments),clearTimeout)},he.setInterval=function(){return new ie(de.call(setInterval,window,arguments),clearInterval)},he.clearTimeout=he.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)},he.enroll=function(ne,a){clearTimeout(ne._idleTimeoutId),ne._idleTimeout=a},he.unenroll=function(ne){clearTimeout(ne._idleTimeoutId),ne._idleTimeout=-1},he._unrefActive=he.active=function(ne){clearTimeout(ne._idleTimeoutId);var a=ne._idleTimeout;a>=0&&(ne._idleTimeoutId=setTimeout(function(){ne._onTimeout&&ne._onTimeout()},a))},he.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),he.clearImmediate(a))}),a},he.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,he){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<de;se++)le[se]=te[se];return le.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(x,Se,he){(function(ae){(function(){Se.exports=te;function te(de,se){if(le("noDeprecation"))return de;var ue=!1;function oe(){if(!ue){if(le("throwDeprecation"))throw new Error(se);le("traceDeprecation")?console.trace(se):console.warn(se),ue=!0}return de.apply(this,arguments)}return oe}function le(de){try{if(!ae.localStorage)return!1}catch(ue){return!1}var se=ae.localStorage[de];return se==null?!1:String(se).toLowerCase()==="true"}}).call(this)}).call(this,typeof Pt!="undefined"?Pt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(x,Se,he){arguments[4][84][0].apply(he,arguments)},{dup:84}],418:[function(x,Se,he){"use strict";var ae=x("is-arguments"),te=x("is-generator-function"),le=x("which-typed-array"),de=x("is-typed-array");function se(je){return je.call.bind(je)}var ue=typeof BigInt!="undefined",oe=typeof Symbol!="undefined",ie=se(Object.prototype.toString),ne=se(Number.prototype.valueOf),a=se(String.prototype.valueOf),y=se(Boolean.prototype.valueOf);if(ue)var E=se(BigInt.prototype.valueOf);if(oe)var b=se(Symbol.prototype.valueOf);function z(je,Ke){if(typeof je!="object")return!1;try{return Ke(je),!0}catch(at){return!1}}he.isArgumentsObject=ae,he.isGeneratorFunction=te,he.isTypedArray=de;function ee(je){return typeof Promise!="undefined"&&je instanceof Promise||je!==null&&typeof je=="object"&&typeof je.then=="function"&&typeof je.catch=="function"}he.isPromise=ee;function re(je){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(je):de(je)||_e(je)}he.isArrayBufferView=re;function ce(je){return le(je)==="Uint8Array"}he.isUint8Array=ce;function ge(je){return le(je)==="Uint8ClampedArray"}he.isUint8ClampedArray=ge;function ve(je){return le(je)==="Uint16Array"}he.isUint16Array=ve;function fe(je){return le(je)==="Uint32Array"}he.isUint32Array=fe;function pe(je){return le(je)==="Int8Array"}he.isInt8Array=pe;function me(je){return le(je)==="Int16Array"}he.isInt16Array=me;function ye(je){return le(je)==="Int32Array"}he.isInt32Array=ye;function be(je){return le(je)==="Float32Array"}he.isFloat32Array=be;function Le(je){return le(je)==="Float64Array"}he.isFloat64Array=Le;function we(je){return le(je)==="BigInt64Array"}he.isBigInt64Array=we;function Ae(je){return le(je)==="BigUint64Array"}he.isBigUint64Array=Ae;function Me(je){return ie(je)==="[object Map]"}Me.working=typeof Map!="undefined"&&Me(new Map);function De(je){return typeof Map=="undefined"?!1:Me.working?Me(je):je instanceof Map}he.isMap=De;function ze(je){return ie(je)==="[object Set]"}ze.working=typeof Set!="undefined"&&ze(new Set);function qe(je){return typeof Set=="undefined"?!1:ze.working?ze(je):je instanceof Set}he.isSet=qe;function Re(je){return ie(je)==="[object WeakMap]"}Re.working=typeof WeakMap!="undefined"&&Re(new WeakMap);function ot(je){return typeof WeakMap=="undefined"?!1:Re.working?Re(je):je instanceof WeakMap}he.isWeakMap=ot;function rt(je){return ie(je)==="[object WeakSet]"}rt.working=typeof WeakSet!="undefined"&&rt(new WeakSet);function Qe(je){return rt(je)}he.isWeakSet=Qe;function Je(je){return ie(je)==="[object ArrayBuffer]"}Je.working=typeof ArrayBuffer!="undefined"&&Je(new ArrayBuffer);function Ge(je){return typeof ArrayBuffer=="undefined"?!1:Je.working?Je(je):je instanceof ArrayBuffer}he.isArrayBuffer=Ge;function ke(je){return ie(je)==="[object DataView]"}ke.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&ke(new DataView(new ArrayBuffer(1),0,1));function _e(je){return typeof DataView=="undefined"?!1:ke.working?ke(je):je instanceof DataView}he.isDataView=_e;var tt=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function Xe(je){return ie(je)==="[object SharedArrayBuffer]"}function ct(je){return typeof tt=="undefined"?!1:(typeof Xe.working=="undefined"&&(Xe.working=Xe(new tt)),Xe.working?Xe(je):je instanceof tt)}he.isSharedArrayBuffer=ct;function Ye(je){return ie(je)==="[object AsyncFunction]"}he.isAsyncFunction=Ye;function Ne(je){return ie(je)==="[object Map Iterator]"}he.isMapIterator=Ne;function Oe(je){return ie(je)==="[object Set Iterator]"}he.isSetIterator=Oe;function Ue(je){return ie(je)==="[object Generator]"}he.isGeneratorObject=Ue;function xe(je){return ie(je)==="[object WebAssembly.Module]"}he.isWebAssemblyCompiledModule=xe;function Fe(je){return z(je,ne)}he.isNumberObject=Fe;function He(je){return z(je,a)}he.isStringObject=He;function We(je){return z(je,y)}he.isBooleanObject=We;function Ie(je){return ue&&z(je,E)}he.isBigIntObject=Ie;function Te(je){return oe&&z(je,b)}he.isSymbolObject=Te;function Ee(je){return Fe(je)||He(je)||We(je)||Ie(je)||Te(je)}he.isBoxedPrimitive=Ee;function Pe(je){return typeof Uint8Array!="undefined"&&(Ge(je)||ct(je))}he.isAnyArrayBuffer=Pe,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(je){Object.defineProperty(he,je,{enumerable:!1,value:function(){throw new Error(je+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(x,Se,he){(function(ae){(function(){var te=Object.getOwnPropertyDescriptors||function(tt){for(var Xe=Object.keys(tt),ct={},Ye=0;Ye<Xe.length;Ye++)ct[Xe[Ye]]=Object.getOwnPropertyDescriptor(tt,Xe[Ye]);return ct},le=/%[sdj%]/g;he.format=function(_e){if(!me(_e)){for(var tt=[],Xe=0;Xe<arguments.length;Xe++)tt.push(oe(arguments[Xe]));return tt.join(" ")}for(var Xe=1,ct=arguments,Ye=ct.length,Ne=String(_e).replace(le,function(Ue){if(Ue==="%%")return"%";if(Xe>=Ye)return Ue;switch(Ue){case"%s":return String(ct[Xe++]);case"%d":return Number(ct[Xe++]);case"%j":try{return JSON.stringify(ct[Xe++])}catch(xe){return"[Circular]"}default:return Ue}}),Oe=ct[Xe];Xe<Ye;Oe=ct[++Xe])ve(Oe)||!we(Oe)?Ne+=" "+Oe:Ne+=" "+oe(Oe);return Ne},he.deprecate=function(_e,tt){if(typeof ae!="undefined"&&ae.noDeprecation===!0)return _e;if(typeof ae=="undefined")return function(){return he.deprecate(_e,tt).apply(this,arguments)};var Xe=!1;function ct(){if(!Xe){if(ae.throwDeprecation)throw new Error(tt);ae.traceDeprecation?console.trace(tt):console.error(tt),Xe=!0}return _e.apply(this,arguments)}return ct};var de={},se=/^$/;if(ae.env.NODE_DEBUG){var ue=ae.env.NODE_DEBUG;ue=ue.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),se=new RegExp("^"+ue+"$","i")}he.debuglog=function(_e){if(_e=_e.toUpperCase(),!de[_e])if(se.test(_e)){var tt=ae.pid;de[_e]=function(){var Xe=he.format.apply(he,arguments);console.error("%s %d: %s",_e,tt,Xe)}}else de[_e]=function(){};return de[_e]};function oe(_e,tt){var Xe={seen:[],stylize:ne};return arguments.length>=3&&(Xe.depth=arguments[2]),arguments.length>=4&&(Xe.colors=arguments[3]),ge(tt)?Xe.showHidden=tt:tt&&he._extend(Xe,tt),be(Xe.showHidden)&&(Xe.showHidden=!1),be(Xe.depth)&&(Xe.depth=2),be(Xe.colors)&&(Xe.colors=!1),be(Xe.customInspect)&&(Xe.customInspect=!0),Xe.colors&&(Xe.stylize=ie),y(Xe,_e,Xe.depth)}he.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(_e,tt){var Xe=oe.styles[tt];return Xe?"\x1B["+oe.colors[Xe][0]+"m"+_e+"\x1B["+oe.colors[Xe][1]+"m":_e}function ne(_e,tt){return _e}function a(_e){var tt={};return _e.forEach(function(Xe,ct){tt[Xe]=!0}),tt}function y(_e,tt,Xe){if(_e.customInspect&&tt&&De(tt.inspect)&&tt.inspect!==he.inspect&&!(tt.constructor&&tt.constructor.prototype===tt)){var ct=tt.inspect(Xe,_e);return me(ct)||(ct=y(_e,ct,Xe)),ct}var Ye=E(_e,tt);if(Ye)return Ye;var Ne=Object.keys(tt),Oe=a(Ne);if(_e.showHidden&&(Ne=Object.getOwnPropertyNames(tt)),Me(tt)&&(Ne.indexOf("message")>=0||Ne.indexOf("description")>=0))return b(tt);if(Ne.length===0){if(De(tt)){var Ue=tt.name?": "+tt.name:"";return _e.stylize("[Function"+Ue+"]","special")}if(Le(tt))return _e.stylize(RegExp.prototype.toString.call(tt),"regexp");if(Ae(tt))return _e.stylize(Date.prototype.toString.call(tt),"date");if(Me(tt))return b(tt)}var xe="",Fe=!1,He=["{","}"];if(ce(tt)&&(Fe=!0,He=["[","]"]),De(tt)){var We=tt.name?": "+tt.name:"";xe=" [Function"+We+"]"}if(Le(tt)&&(xe=" "+RegExp.prototype.toString.call(tt)),Ae(tt)&&(xe=" "+Date.prototype.toUTCString.call(tt)),Me(tt)&&(xe=" "+b(tt)),Ne.length===0&&(!Fe||tt.length==0))return He[0]+xe+He[1];if(Xe<0)return Le(tt)?_e.stylize(RegExp.prototype.toString.call(tt),"regexp"):_e.stylize("[Object]","special");_e.seen.push(tt);var Ie;return Fe?Ie=z(_e,tt,Xe,Oe,Ne):Ie=Ne.map(function(Te){return ee(_e,tt,Xe,Oe,Te,Fe)}),_e.seen.pop(),re(Ie,xe,He)}function E(_e,tt){if(be(tt))return _e.stylize("undefined","undefined");if(me(tt)){var Xe="'"+JSON.stringify(tt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return _e.stylize(Xe,"string")}if(pe(tt))return _e.stylize(""+tt,"number");if(ge(tt))return _e.stylize(""+tt,"boolean");if(ve(tt))return _e.stylize("null","null")}function b(_e){return"["+Error.prototype.toString.call(_e)+"]"}function z(_e,tt,Xe,ct,Ye){for(var Ne=[],Oe=0,Ue=tt.length;Oe<Ue;++Oe)Qe(tt,String(Oe))?Ne.push(ee(_e,tt,Xe,ct,String(Oe),!0)):Ne.push("");return Ye.forEach(function(xe){xe.match(/^\d+$/)||Ne.push(ee(_e,tt,Xe,ct,xe,!0))}),Ne}function ee(_e,tt,Xe,ct,Ye,Ne){var Oe,Ue,xe;if(xe=Object.getOwnPropertyDescriptor(tt,Ye)||{value:tt[Ye]},xe.get?xe.set?Ue=_e.stylize("[Getter/Setter]","special"):Ue=_e.stylize("[Getter]","special"):xe.set&&(Ue=_e.stylize("[Setter]","special")),Qe(ct,Ye)||(Oe="["+Ye+"]"),Ue||(_e.seen.indexOf(xe.value)<0?(ve(Xe)?Ue=y(_e,xe.value,null):Ue=y(_e,xe.value,Xe-1),Ue.indexOf(`
|
|
`)>-1&&(Ne?Ue=Ue.split(`
|
|
`).map(function(Fe){return" "+Fe}).join(`
|
|
`).slice(2):Ue=`
|
|
`+Ue.split(`
|
|
`).map(function(Fe){return" "+Fe}).join(`
|
|
`))):Ue=_e.stylize("[Circular]","special")),be(Oe)){if(Ne&&Ye.match(/^\d+$/))return Ue;Oe=JSON.stringify(""+Ye),Oe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Oe=Oe.slice(1,-1),Oe=_e.stylize(Oe,"name")):(Oe=Oe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Oe=_e.stylize(Oe,"string"))}return Oe+": "+Ue}function re(_e,tt,Xe){var ct=0,Ye=_e.reduce(function(Ne,Oe){return ct++,Oe.indexOf(`
|
|
`)>=0&&ct++,Ne+Oe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ye>60?Xe[0]+(tt===""?"":tt+`
|
|
`)+" "+_e.join(`,
|
|
`)+" "+Xe[1]:Xe[0]+tt+" "+_e.join(", ")+" "+Xe[1]}he.types=x("./support/types");function ce(_e){return Array.isArray(_e)}he.isArray=ce;function ge(_e){return typeof _e=="boolean"}he.isBoolean=ge;function ve(_e){return _e===null}he.isNull=ve;function fe(_e){return _e==null}he.isNullOrUndefined=fe;function pe(_e){return typeof _e=="number"}he.isNumber=pe;function me(_e){return typeof _e=="string"}he.isString=me;function ye(_e){return typeof _e=="symbol"}he.isSymbol=ye;function be(_e){return _e===void 0}he.isUndefined=be;function Le(_e){return we(_e)&&qe(_e)==="[object RegExp]"}he.isRegExp=Le,he.types.isRegExp=Le;function we(_e){return typeof _e=="object"&&_e!==null}he.isObject=we;function Ae(_e){return we(_e)&&qe(_e)==="[object Date]"}he.isDate=Ae,he.types.isDate=Ae;function Me(_e){return we(_e)&&(qe(_e)==="[object Error]"||_e instanceof Error)}he.isError=Me,he.types.isNativeError=Me;function De(_e){return typeof _e=="function"}he.isFunction=De;function ze(_e){return _e===null||typeof _e=="boolean"||typeof _e=="number"||typeof _e=="string"||typeof _e=="symbol"||typeof _e=="undefined"}he.isPrimitive=ze,he.isBuffer=x("./support/isBuffer");function qe(_e){return Object.prototype.toString.call(_e)}function Re(_e){return _e<10?"0"+_e.toString(10):_e.toString(10)}var ot=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function rt(){var _e=new Date,tt=[Re(_e.getHours()),Re(_e.getMinutes()),Re(_e.getSeconds())].join(":");return[_e.getDate(),ot[_e.getMonth()],tt].join(" ")}he.log=function(){console.log("%s - %s",rt(),he.format.apply(he,arguments))},he.inherits=x("inherits"),he._extend=function(_e,tt){if(!tt||!we(tt))return _e;for(var Xe=Object.keys(tt),ct=Xe.length;ct--;)_e[Xe[ct]]=tt[Xe[ct]];return _e};function Qe(_e,tt){return Object.prototype.hasOwnProperty.call(_e,tt)}var Je=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;he.promisify=function(tt){if(typeof tt!="function")throw new TypeError('The "original" argument must be of type Function');if(Je&&tt[Je]){var Xe=tt[Je];if(typeof Xe!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Xe,Je,{value:Xe,enumerable:!1,writable:!1,configurable:!0}),Xe}function Xe(){for(var ct,Ye,Ne=new Promise(function(xe,Fe){ct=xe,Ye=Fe}),Oe=[],Ue=0;Ue<arguments.length;Ue++)Oe.push(arguments[Ue]);Oe.push(function(xe,Fe){xe?Ye(xe):ct(Fe)});try{tt.apply(this,Oe)}catch(xe){Ye(xe)}return Ne}return Object.setPrototypeOf(Xe,Object.getPrototypeOf(tt)),Je&&Object.defineProperty(Xe,Je,{value:Xe,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Xe,te(tt))},he.promisify.custom=Je;function Ge(_e,tt){if(!_e){var Xe=new Error("Promise was rejected with a falsy value");Xe.reason=_e,_e=Xe}return tt(_e)}function ke(_e){if(typeof _e!="function")throw new TypeError('The "original" argument must be of type Function');function tt(){for(var Xe=[],ct=0;ct<arguments.length;ct++)Xe.push(arguments[ct]);var Ye=Xe.pop();if(typeof Ye!="function")throw new TypeError("The last argument must be of type Function");var Ne=this,Oe=function(){return Ye.apply(Ne,arguments)};_e.apply(this,Xe).then(function(Ue){ae.nextTick(Oe.bind(null,null,Ue))},function(Ue){ae.nextTick(Ge.bind(null,Ue,Oe))})}return Object.setPrototypeOf(tt,Object.getPrototypeOf(_e)),Object.defineProperties(tt,te(_e)),tt}he.callbackify=ke}).call(this)}).call(this,x("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(x,Se,he){(function(ae){(function(){"use strict";var te=x("for-each"),le=x("available-typed-arrays"),de=x("call-bind"),se=x("call-bind/callBound"),ue=x("gopd"),oe=se("Object.prototype.toString"),ie=x("has-tostringtag/shams")(),ne=typeof globalThis=="undefined"?ae:globalThis,a=le(),y=se("String.prototype.slice"),E=Object.getPrototypeOf,b=se("Array.prototype.indexOf",!0)||function(ge,ve){for(var fe=0;fe<ge.length;fe+=1)if(ge[fe]===ve)return fe;return-1},z={__proto__:null};ie&&ue&&E?te(a,function(ce){var ge=new ne[ce];if(Symbol.toStringTag in ge){var ve=E(ge),fe=ue(ve,Symbol.toStringTag);if(!fe){var pe=E(ve);fe=ue(pe,Symbol.toStringTag)}z["$"+ce]=de(fe.get)}}):te(a,function(ce){var ge=new ne[ce];z["$"+ce]=de(ge.slice)});var ee=function(ge){var ve=!1;return te(z,function(fe,pe){if(!ve)try{"$"+fe(ge)===pe&&(ve=y(pe,1))}catch(me){}}),ve},re=function(ge){var ve=!1;return te(z,function(fe,pe){if(!ve)try{fe(ge),ve=y(pe,1)}catch(me){}}),ve};Se.exports=function(ge){if(!ge||typeof ge!="object")return!1;if(!ie){var ve=y(oe(ge),8,-1);return b(a,ve)>-1?ve:ve!=="Object"?!1:re(ge)}return ue?ee(ge):null}}).call(this)}).call(this,typeof Pt!="undefined"?Pt: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,he){(function(){"use strict";he.stripBOM=function(ae){return ae[0]==="\uFEFF"?ae.substring(1):ae}}).call(this)},{}],422:[function(x,Se,he){(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"<![CDATA["+le(oe)+"]]>"},le=function(oe){return oe.replace("]]>","]]]]><![CDATA[>")},he.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,ge,ve,fe,pe,me;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)){ge=re[fe];for(pe in ge)ve=ge[pe],ee=y(ee.ele(pe),ve).up()}}else for(pe in re)if(ue.call(re,pe))if(ge=re[pe],pe===ne){if(typeof ge=="object")for(ce in ge)me=ge[ce],ee=ee.att(ce,me)}else if(pe===a)z.options.cdata&&de(ge)?ee=ee.raw(se(ge)):ee=ee.txt(ge);else if(Array.isArray(ge))for(fe in ge)ue.call(ge,fe)&&(ve=ge[fe],typeof ve=="string"?z.options.cdata&&de(ve)?ee=ee.ele(pe).raw(se(ve)).up():ee=ee.ele(pe,ve).up():ee=y(ee.ele(pe),ve).up());else typeof ge=="object"?ee=y(ee.ele(pe),ge).up():typeof ge=="string"&&z.options.cdata&&de(ge)?ee=ee.ele(pe).raw(se(ge)).up():(ge==null&&(ge=""),ee=ee.ele(pe,ge.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,he){(function(){he.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,he){(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,ge;for(re=0,ce=b.length;re<ce;re++)ge=b[re],z=ge(z,ee);return z},le=function(b,z,ee){var re;return re=Object.create(null),re.value=ee,re.writable=!0,re.enumerable=!0,re.configurable=!0,Object.defineProperty(b,z,re)},he.Parser=function(b){y(z,b);function z(ee){this.parseStringPromise=a(this.parseStringPromise,this),this.parseString=a(this.parseString,this),this.reset=a(this.reset,this),this.assignOrPush=a(this.assignOrPush,this),this.processAsync=a(this.processAsync,this);var re,ce,ge;if(!(this instanceof he.Parser))return new he.Parser(ee);this.options={},ce=te["0.2"];for(re in ce)E.call(ce,re)&&(ge=ce[re],this.options[re]=ge);for(re in ee)E.call(ee,re)&&(ge=ee[re],this.options[re]=ge);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(oe.normalize)),this.reset()}return z.prototype.processAsync=function(){var ee,re;try{return this.remaining.length<=this.options.chunkSize?(ee=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(ee),this.saxParser.close()):(ee=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(ee),ne(this.processAsync))}catch(ce){if(re=ce,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(re)}},z.prototype.assignOrPush=function(ee,re,ce){return re in ee?(ee[re]instanceof Array||le(ee,re,[ee[re]]),ee[re].push(ce)):this.options.explicitArray?le(ee,re,[ce]):le(ee,re,ce)},z.prototype.reset=function(){var ee,re,ce,ge;return this.removeAllListeners(),this.saxParser=ie.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(ve){return function(fe){if(ve.saxParser.resume(),!ve.saxParser.errThrown)return ve.saxParser.errThrown=!0,ve.emit("error",fe)}}(this),this.saxParser.onend=function(ve){return function(){if(!ve.saxParser.ended)return ve.saxParser.ended=!0,ve.emit("end",ve.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,ge=[],ee=this.options.attrkey,re=this.options.charkey,this.saxParser.onopentag=function(ve){return function(fe){var pe,me,ye,be,Le;if(ye={},ye[re]="",!ve.options.ignoreAttrs){Le=fe.attributes;for(pe in Le)E.call(Le,pe)&&(!(ee in ye)&&!ve.options.mergeAttrs&&(ye[ee]={}),me=ve.options.attrValueProcessors?ue(ve.options.attrValueProcessors,fe.attributes[pe],pe):fe.attributes[pe],be=ve.options.attrNameProcessors?ue(ve.options.attrNameProcessors,pe):pe,ve.options.mergeAttrs?ve.assignOrPush(ye,be,me):le(ye[ee],be,me))}return ye["#name"]=ve.options.tagNameProcessors?ue(ve.options.tagNameProcessors,fe.name):fe.name,ve.options.xmlns&&(ye[ve.options.xmlnskey]={uri:fe.uri,local:fe.local}),ge.push(ye)}}(this),this.saxParser.onclosetag=function(ve){return function(){var fe,pe,me,ye,be,Le,we,Ae,Me,De;if(Le=ge.pop(),be=Le["#name"],(!ve.options.explicitChildren||!ve.options.preserveChildrenOrder)&&delete Le["#name"],Le.cdata===!0&&(fe=Le.cdata,delete Le.cdata),Me=ge[ge.length-1],Le[re].match(/^\s*$/)&&!fe?(pe=Le[re],delete Le[re]):(ve.options.trim&&(Le[re]=Le[re].trim()),ve.options.normalize&&(Le[re]=Le[re].replace(/\s{2,}/g," ").trim()),Le[re]=ve.options.valueProcessors?ue(ve.options.valueProcessors,Le[re],be):Le[re],Object.keys(Le).length===1&&re in Le&&!ve.EXPLICIT_CHARKEY&&(Le=Le[re])),se(Le)&&(typeof ve.options.emptyTag=="function"?Le=ve.options.emptyTag():Le=ve.options.emptyTag!==""?ve.options.emptyTag:pe),ve.options.validator!=null&&(De="/"+function(){var ze,qe,Re;for(Re=[],ze=0,qe=ge.length;ze<qe;ze++)ye=ge[ze],Re.push(ye["#name"]);return Re}().concat(be).join("/"),function(){var ze;try{return Le=ve.options.validator(De,Me&&Me[be],Le)}catch(qe){return ze=qe,ve.emit("error",ze)}}()),ve.options.explicitChildren&&!ve.options.mergeAttrs&&typeof Le=="object"){if(!ve.options.preserveChildrenOrder)ye={},ve.options.attrkey in Le&&(ye[ve.options.attrkey]=Le[ve.options.attrkey],delete Le[ve.options.attrkey]),!ve.options.charsAsChildren&&ve.options.charkey in Le&&(ye[ve.options.charkey]=Le[ve.options.charkey],delete Le[ve.options.charkey]),Object.getOwnPropertyNames(Le).length>0&&(ye[ve.options.childkey]=Le),Le=ye;else if(Me){Me[ve.options.childkey]=Me[ve.options.childkey]||[],we={};for(me in Le)E.call(Le,me)&&le(we,me,Le[me]);Me[ve.options.childkey].push(we),delete Le["#name"],Object.keys(Le).length===1&&re in Le&&!ve.EXPLICIT_CHARKEY&&(Le=Le[re])}}return ge.length>0?ve.assignOrPush(Me,be,Le):(ve.options.explicitRoot&&(Ae=Le,Le={},le(Le,be,Ae)),ve.resultObject=Le,ve.saxParser.ended=!0,ve.emit("end",ve.resultObject))}}(this),ce=function(ve){return function(fe){var pe,me;if(me=ge[ge.length-1],me)return me[re]+=fe,ve.options.explicitChildren&&ve.options.preserveChildrenOrder&&ve.options.charsAsChildren&&(ve.options.includeWhiteChars||fe.replace(/\\n/g,"").trim()!=="")&&(me[ve.options.childkey]=me[ve.options.childkey]||[],pe={"#name":"__text__"},pe[re]=fe,ve.options.normalize&&(pe[re]=pe[re].replace(/\s{2,}/g," ").trim()),me[ve.options.childkey].push(pe)),me}}(this),this.saxParser.ontext=ce,this.saxParser.oncdata=function(ve){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(ge){return this.reset(),re(null,ge)}),this.on("error",function(ge){return this.reset(),re(ge)}));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(ge){if(ce=ge,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,ge){return re.parseString(ee,function(ve,fe){return ve?ge(ve):ce(fe)})}}(this))},z}(de),he.parseString=function(b,z,ee){var re,ce,ge;return ee!=null?(typeof ee=="function"&&(re=ee),typeof z=="object"&&(ce=z)):(typeof z=="function"&&(re=z),ce={}),ge=new he.Parser(ce),ge.parseString(b,re)},he.parseStringPromise=function(b,z){var ee,re;return typeof z=="object"&&(ee=z),re=new he.Parser(ee),re.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(x,Se,he){(function(){"use strict";var ae;ae=new RegExp(/(?!xmlns)^.*:/),he.normalize=function(te){return te.toLowerCase()},he.firstCharLowerCase=function(te){return te.charAt(0).toLowerCase()+te.slice(1)},he.stripPrefix=function(te){return te.replace(ae,"")},he.parseNumbers=function(te){return isNaN(te)||(te=te%1===0?parseInt(te,10):parseFloat(te)),te},he.parseBooleans=function(te){return/^(?:true|false)$/i.test(te)&&(te=te.toLowerCase()==="true"),te}}).call(this)},{}],426:[function(x,Se,he){(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"),he.defaults=te.defaults,he.processors=de,he.ValidationError=function(oe){se(ie,oe);function ie(ne){this.message=ne}return ie}(Error),he.Builder=ae.Builder,he.Parser=le.Parser,he.parseString=le.parseString,he.parseStringPromise=le.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(x,Se,he){(function(){Se.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(x,Se,he){(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,he){(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<E;a++)if(b=z[a],b!=null)for(y in b)ne.call(b,y)&&(ee[y]=b[y]);return ee},se=function(a){return!!a&&Object.prototype.toString.call(a)==="[object Function]"},ue=function(a){var y;return!!a&&((y=typeof a)=="function"||y==="object")},le=function(a){return se(Array.isArray)?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"},de=function(a){var y;if(le(a))return!a.length;for(y in a)if(ne.call(a,y))return!1;return!0},oe=function(a){var y,E;return ue(a)&&(E=Object.getPrototypeOf(a))&&(y=E.constructor)&&typeof y=="function"&&y instanceof y&&Function.prototype.toString.call(y)===Function.prototype.toString.call(Object)},te=function(a){return se(a.valueOf)?a.valueOf():a},Se.exports.assign=ae,Se.exports.isFunction=se,Se.exports.isObject=ue,Se.exports.isArray=le,Se.exports.isEmpty=de,Se.exports.isPlainObject=oe,Se.exports.getValue=te}).call(this)},{}],430:[function(x,Se,he){(function(){Se.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(x,Se,he){(function(){var ae,te,le;ae=x("./NodeType"),le=x("./XMLNode"),Se.exports=te=function(){function de(se,ue,oe){if(this.parent=se,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),ue==null)throw new Error("Missing attribute name. "+this.debugInfo(ue));this.name=this.stringify.name(ue),this.value=this.stringify.attValue(oe),this.type=ae.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(de.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(de.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(de.prototype,"textContent",{get:function(){return this.value},set:function(se){return this.value=se||""}}),Object.defineProperty(de.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(de.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(de.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(de.prototype,"specified",{get:function(){return!0}}),de.prototype.clone=function(){return Object.create(this)},de.prototype.toString=function(se){return this.options.writer.attribute(this,this.options.writer.filterOptions(se))},de.prototype.debugInfo=function(se){return se=se||this.name,se==null?"parent: <"+this.parent.name+">":"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,he){(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,he){(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,he){(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,he){(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,he){(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,he){(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,he){(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,he){(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,he){(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,he){(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,he){(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,he){(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,he){(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,ge,ve,fe,pe,me;if(b.__super__.constructor.call(this,z),this.type=ae.DocType,z.children){for(fe=z.children,ge=0,ve=fe.length;ge<ve;ge++)if(ce=fe[ge],ce.type===ae.Element){this.name=ce.name;break}}this.documentObject=z,ne(ee)&&(pe=ee,ee=pe.pubID,re=pe.sysID),re==null&&(me=[ee,re],re=me[0],ee=me[1]),ee!=null&&(this.pubID=this.stringify.dtdPubID(ee)),re!=null&&(this.sysID=this.stringify.dtdSysID(re))}return Object.defineProperty(b.prototype,"entities",{get:function(){var z,ee,re,ce,ge;for(ce={},ge=this.children,ee=0,re=ge.length;ee<re;ee++)z=ge[ee],z.type===ae.EntityDeclaration&&!z.pe&&(ce[z.name]=z);return new oe(ce)}}),Object.defineProperty(b.prototype,"notations",{get:function(){var z,ee,re,ce,ge;for(ce={},ge=this.children,ee=0,re=ge.length;ee<re;ee++)z=ge[ee],z.type===ae.NotationDeclaration&&(ce[z.name]=z);return new oe(ce)}}),Object.defineProperty(b.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(b.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(b.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),b.prototype.element=function(z,ee){var re;return re=new le(this,z,ee),this.children.push(re),this},b.prototype.attList=function(z,ee,re,ce,ge){var ve;return ve=new te(this,z,ee,re,ce,ge),this.children.push(ve),this},b.prototype.entity=function(z,ee){var re;return re=new de(this,!1,z,ee),this.children.push(re),this},b.prototype.pEntity=function(z,ee){var re;return re=new de(this,!0,z,ee),this.children.push(re),this},b.prototype.notation=function(z,ee){var re;return re=new se(this,z,ee),this.children.push(re),this},b.prototype.toString=function(z){return this.options.writer.docType(this,this.options.writer.filterOptions(z))},b.prototype.ele=function(z,ee){return this.element(z,ee)},b.prototype.att=function(z,ee,re,ce,ge){return this.attList(z,ee,re,ce,ge)},b.prototype.ent=function(z,ee){return this.entity(z,ee)},b.prototype.pent=function(z,ee){return this.pEntity(z,ee)},b.prototype.not=function(z,ee){return this.notation(z,ee)},b.prototype.up=function(){return this.root()||this.documentObject},b.prototype.isEqualNode=function(z){return!(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(z)||z.name!==this.name||z.publicId!==this.publicId||z.systemId!==this.systemId)},b}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(x,Se,he){(function(){var ae,te,le,de,se,ue,oe,ie,ne=function(y,E){for(var b in E)a.call(E,b)&&(y[b]=E[b]);function z(){this.constructor=y}return z.prototype=E.prototype,y.prototype=new z,y.__super__=E.prototype,y},a={}.hasOwnProperty;ie=x("./Utility").isPlainObject,le=x("./XMLDOMImplementation"),te=x("./XMLDOMConfiguration"),se=x("./XMLNode"),ae=x("./NodeType"),oe=x("./XMLStringifier"),ue=x("./XMLStringWriter"),Se.exports=de=function(y){ne(E,y);function E(b){E.__super__.constructor.call(this,null),this.name="#document",this.type=ae.Document,this.documentURI=null,this.domConfig=new te,b||(b={}),b.writer||(b.writer=new ue),this.options=b,this.stringify=new oe(b)}return Object.defineProperty(E.prototype,"implementation",{value:new le}),Object.defineProperty(E.prototype,"doctype",{get:function(){var b,z,ee,re;for(re=this.children,z=0,ee=re.length;z<ee;z++)if(b=re[z],b.type===ae.DocType)return b;return null}}),Object.defineProperty(E.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(E.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(E.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(E.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===ae.Declaration?this.children[0].encoding:null}}),Object.defineProperty(E.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===ae.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(E.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===ae.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(E.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(E.prototype,"origin",{get:function(){return null}}),Object.defineProperty(E.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(E.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(E.prototype,"contentType",{get:function(){return null}}),E.prototype.end=function(b){var z;return z={},b?ie(b)&&(z=b,b=this.options.writer):b=this.options.writer,b.document(this,b.filterOptions(z))},E.prototype.toString=function(b){return this.options.writer.document(this,this.options.writer.filterOptions(b))},E.prototype.createElement=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.createTextNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.createComment=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.createCDATASection=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.createProcessingInstruction=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.createAttribute=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.createEntityReference=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.getElementsByTagName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.importNode=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.createElementNS=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.createAttributeNS=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.getElementsByTagNameNS=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.getElementById=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.adoptNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.renameNode=function(b,z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.getElementsByClassName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.createEvent=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.createNodeIterator=function(b,z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.createTreeWalker=function(b,z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},E}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(x,Se,he){(function(){var ae,te,le,de,se,ue,oe,ie,ne,a,y,E,b,z,ee,re,ce,ge,ve,fe,pe,me,ye,be,Le={}.hasOwnProperty;be=x("./Utility"),me=be.isObject,pe=be.isFunction,ye=be.isPlainObject,fe=be.getValue,ae=x("./NodeType"),E=x("./XMLDocument"),z=x("./XMLElement"),de=x("./XMLCData"),se=x("./XMLComment"),re=x("./XMLRaw"),ve=x("./XMLText"),ee=x("./XMLProcessingInstruction"),a=x("./XMLDeclaration"),y=x("./XMLDocType"),ue=x("./XMLDTDAttList"),ie=x("./XMLDTDEntity"),oe=x("./XMLDTDElement"),ne=x("./XMLDTDNotation"),le=x("./XMLAttribute"),ge=x("./XMLStringifier"),ce=x("./XMLStringWriter"),te=x("./WriterState"),Se.exports=b=function(){function we(Ae,Me,De){var ze;this.name="?xml",this.type=ae.Document,Ae||(Ae={}),ze={},Ae.writer?ye(Ae.writer)&&(ze=Ae.writer,Ae.writer=new ce):Ae.writer=new ce,this.options=Ae,this.writer=Ae.writer,this.writerOptions=this.writer.filterOptions(ze),this.stringify=new ge(Ae),this.onDataCallback=Me||function(){},this.onEndCallback=De||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return we.prototype.createChildNode=function(Ae){var Me,De,ze,qe,Re,ot,rt,Qe;switch(Ae.type){case ae.CData:this.cdata(Ae.value);break;case ae.Comment:this.comment(Ae.value);break;case ae.Element:ze={},rt=Ae.attribs;for(De in rt)Le.call(rt,De)&&(Me=rt[De],ze[De]=Me.value);this.node(Ae.name,ze);break;case ae.Dummy:this.dummy();break;case ae.Raw:this.raw(Ae.value);break;case ae.Text:this.text(Ae.value);break;case ae.ProcessingInstruction:this.instruction(Ae.target,Ae.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+Ae.constructor.name)}for(Qe=Ae.children,Re=0,ot=Qe.length;Re<ot;Re++)qe=Qe[Re],this.createChildNode(qe),qe.type===ae.Element&&this.up();return this},we.prototype.dummy=function(){return this},we.prototype.node=function(Ae,Me,De){var ze;if(Ae==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(Ae));return this.openCurrent(),Ae=fe(Ae),Me==null&&(Me={}),Me=fe(Me),me(Me)||(ze=[Me,De],De=ze[0],Me=ze[1]),this.currentNode=new z(this,Ae,Me),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,De!=null&&this.text(De),this},we.prototype.element=function(Ae,Me,De){var ze,qe,Re,ot,rt,Qe;if(this.currentNode&&this.currentNode.type===ae.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(Ae)||me(Ae)||pe(Ae))for(ot=this.options.noValidation,this.options.noValidation=!0,Qe=new E(this.options).element("TEMP_ROOT"),Qe.element(Ae),this.options.noValidation=ot,rt=Qe.children,qe=0,Re=rt.length;qe<Re;qe++)ze=rt[qe],this.createChildNode(ze),ze.type===ae.Element&&this.up();else this.node(Ae,Me,De);return this},we.prototype.attribute=function(Ae,Me){var De,ze;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(Ae));if(Ae!=null&&(Ae=fe(Ae)),me(Ae))for(De in Ae)Le.call(Ae,De)&&(ze=Ae[De],this.attribute(De,ze));else pe(Me)&&(Me=Me.apply()),this.options.keepNullAttributes&&Me==null?this.currentNode.attribs[Ae]=new le(this,Ae,""):Me!=null&&(this.currentNode.attribs[Ae]=new le(this,Ae,Me));return this},we.prototype.text=function(Ae){var Me;return this.openCurrent(),Me=new ve(this,Ae),this.onData(this.writer.text(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.cdata=function(Ae){var Me;return this.openCurrent(),Me=new de(this,Ae),this.onData(this.writer.cdata(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.comment=function(Ae){var Me;return this.openCurrent(),Me=new se(this,Ae),this.onData(this.writer.comment(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.raw=function(Ae){var Me;return this.openCurrent(),Me=new re(this,Ae),this.onData(this.writer.raw(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.instruction=function(Ae,Me){var De,ze,qe,Re,ot;if(this.openCurrent(),Ae!=null&&(Ae=fe(Ae)),Me!=null&&(Me=fe(Me)),Array.isArray(Ae))for(De=0,Re=Ae.length;De<Re;De++)ze=Ae[De],this.instruction(ze);else if(me(Ae))for(ze in Ae)Le.call(Ae,ze)&&(qe=Ae[ze],this.instruction(ze,qe));else pe(Me)&&(Me=Me.apply()),ot=new ee(this,Ae,Me),this.onData(this.writer.processingInstruction(ot,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},we.prototype.declaration=function(Ae,Me,De){var ze;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return ze=new a(this,Ae,Me,De),this.onData(this.writer.declaration(ze,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.doctype=function(Ae,Me,De){if(this.openCurrent(),Ae==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new y(this,Me,De),this.currentNode.rootNodeName=Ae,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},we.prototype.dtdElement=function(Ae,Me){var De;return this.openCurrent(),De=new oe(this,Ae,Me),this.onData(this.writer.dtdElement(De,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.attList=function(Ae,Me,De,ze,qe){var Re;return this.openCurrent(),Re=new ue(this,Ae,Me,De,ze,qe),this.onData(this.writer.dtdAttList(Re,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.entity=function(Ae,Me){var De;return this.openCurrent(),De=new ie(this,!1,Ae,Me),this.onData(this.writer.dtdEntity(De,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.pEntity=function(Ae,Me){var De;return this.openCurrent(),De=new ie(this,!0,Ae,Me),this.onData(this.writer.dtdEntity(De,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.notation=function(Ae,Me){var De;return this.openCurrent(),De=new ne(this,Ae,Me),this.onData(this.writer.dtdNotation(De,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},we.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},we.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},we.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},we.prototype.openNode=function(Ae){var Me,De,ze,qe;if(!Ae.isOpen){if(!this.root&&this.currentLevel===0&&Ae.type===ae.Element&&(this.root=Ae),De="",Ae.type===ae.Element){this.writerOptions.state=te.OpenTag,De=this.writer.indent(Ae,this.writerOptions,this.currentLevel)+"<"+Ae.name,qe=Ae.attribs;for(ze in qe)Le.call(qe,ze)&&(Me=qe[ze],De+=this.writer.attribute(Me,this.writerOptions,this.currentLevel));De+=(Ae.children?">":"/>")+this.writer.endline(Ae,this.writerOptions,this.currentLevel),this.writerOptions.state=te.InsideTag}else this.writerOptions.state=te.OpenTag,De=this.writer.indent(Ae,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+Ae.rootNodeName,Ae.pubID&&Ae.sysID?De+=' PUBLIC "'+Ae.pubID+'" "'+Ae.sysID+'"':Ae.sysID&&(De+=' SYSTEM "'+Ae.sysID+'"'),Ae.children?(De+=" [",this.writerOptions.state=te.InsideTag):(this.writerOptions.state=te.CloseTag,De+=">"),De+=this.writer.endline(Ae,this.writerOptions,this.currentLevel);return this.onData(De,this.currentLevel),Ae.isOpen=!0}},we.prototype.closeNode=function(Ae){var Me;if(!Ae.isClosed)return Me="",this.writerOptions.state=te.CloseTag,Ae.type===ae.Element?Me=this.writer.indent(Ae,this.writerOptions,this.currentLevel)+"</"+Ae.name+">"+this.writer.endline(Ae,this.writerOptions,this.currentLevel):Me=this.writer.indent(Ae,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Ae,this.writerOptions,this.currentLevel),this.writerOptions.state=te.None,this.onData(Me,this.currentLevel),Ae.isClosed=!0},we.prototype.onData=function(Ae,Me){return this.documentStarted=!0,this.onDataCallback(Ae,Me+1)},we.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},we.prototype.debugInfo=function(Ae){return Ae==null?"":"node: <"+Ae+">"},we.prototype.ele=function(){return this.element.apply(this,arguments)},we.prototype.nod=function(Ae,Me,De){return this.node(Ae,Me,De)},we.prototype.txt=function(Ae){return this.text(Ae)},we.prototype.dat=function(Ae){return this.cdata(Ae)},we.prototype.com=function(Ae){return this.comment(Ae)},we.prototype.ins=function(Ae,Me){return this.instruction(Ae,Me)},we.prototype.dec=function(Ae,Me,De){return this.declaration(Ae,Me,De)},we.prototype.dtd=function(Ae,Me,De){return this.doctype(Ae,Me,De)},we.prototype.e=function(Ae,Me,De){return this.element(Ae,Me,De)},we.prototype.n=function(Ae,Me,De){return this.node(Ae,Me,De)},we.prototype.t=function(Ae){return this.text(Ae)},we.prototype.d=function(Ae){return this.cdata(Ae)},we.prototype.c=function(Ae){return this.comment(Ae)},we.prototype.r=function(Ae){return this.raw(Ae)},we.prototype.i=function(Ae,Me){return this.instruction(Ae,Me)},we.prototype.att=function(){return this.currentNode&&this.currentNode.type===ae.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},we.prototype.a=function(){return this.currentNode&&this.currentNode.type===ae.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},we.prototype.ent=function(Ae,Me){return this.entity(Ae,Me)},we.prototype.pent=function(Ae,Me){return this.pEntity(Ae,Me)},we.prototype.not=function(Ae,Me){return this.notation(Ae,Me)},we}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(x,Se,he){(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,he){(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,ge,ve,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,ge=0,ve=fe.length;ge<ve;ge++)if(ce=fe[ge],ce.type===ae.DocType){ce.name=this.name;break}}}return Object.defineProperty(b.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(b.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(b.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(b.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(b.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new de(this.attribs)),this.attributeMap}}),b.prototype.clone=function(){var z,ee,re,ce;re=Object.create(this),re.isRoot&&(re.documentObject=null),re.attribs={},ce=this.attribs;for(ee in ce)y.call(ce,ee)&&(z=ce[ee],re.attribs[ee]=z.clone());return re.children=[],this.children.forEach(function(ge){var ve;return ve=ge.clone(),ve.parent=re,re.children.push(ve)}),re},b.prototype.attribute=function(z,ee){var re,ce;if(z!=null&&(z=ue(z)),ie(z))for(re in z)y.call(z,re)&&(ce=z[re],this.attribute(re,ce));else oe(ee)&&(ee=ee.apply()),this.options.keepNullAttributes&&ee==null?this.attribs[z]=new te(this,z,""):ee!=null&&(this.attribs[z]=new te(this,z,ee));return this},b.prototype.removeAttribute=function(z){var ee,re,ce;if(z==null)throw new Error("Missing attribute name. "+this.debugInfo());if(z=ue(z),Array.isArray(z))for(re=0,ce=z.length;re<ce;re++)ee=z[re],delete this.attribs[ee];else delete this.attribs[z];return this},b.prototype.toString=function(z){return this.options.writer.element(this,this.options.writer.filterOptions(z))},b.prototype.att=function(z,ee){return this.attribute(z,ee)},b.prototype.a=function(z,ee){return this.attribute(z,ee)},b.prototype.getAttribute=function(z){return this.attribs.hasOwnProperty(z)?this.attribs[z].value:null},b.prototype.setAttribute=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNode=function(z){return this.attribs.hasOwnProperty(z)?this.attribs[z]:null},b.prototype.setAttributeNode=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNode=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNS=function(z,ee,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNodeNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNodeNS=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.hasAttribute=function(z){return this.attribs.hasOwnProperty(z)},b.prototype.hasAttributeNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttribute=function(z,ee){return this.attribs.hasOwnProperty(z)?this.attribs[z].isId:ee},b.prototype.setIdAttributeNS=function(z,ee,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttributeNode=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(z,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByClassName=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(z){var ee,re,ce;if(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(z)||z.namespaceURI!==this.namespaceURI||z.prefix!==this.prefix||z.localName!==this.localName||z.attribs.length!==this.attribs.length)return!1;for(ee=re=0,ce=this.attribs.length-1;0<=ce?re<=ce:re>=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,he){(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,he){(function(){var ae,te,le,de,se,ue,oe,ie,ne,a,y,E,b,z,ee,re,ce,ge,ve,fe={}.hasOwnProperty;ve=x("./Utility"),ge=ve.isObject,ce=ve.isFunction,re=ve.isEmpty,ee=ve.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(me){this.parent=me,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 me;return me=this.parent.children.indexOf(this),this.parent.children[me-1]||null}}),Object.defineProperty(pe.prototype,"nextSibling",{get:function(){var me;return me=this.parent.children.indexOf(this),this.parent.children[me+1]||null}}),Object.defineProperty(pe.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(pe.prototype,"textContent",{get:function(){var me,ye,be,Le,we;if(this.nodeType===te.Element||this.nodeType===te.DocumentFragment){for(we="",Le=this.children,ye=0,be=Le.length;ye<be;ye++)me=Le[ye],me.textContent&&(we+=me.textContent);return we}else return null},set:function(me){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),pe.prototype.setParent=function(me){var ye,be,Le,we,Ae;for(this.parent=me,me&&(this.options=me.options,this.stringify=me.stringify),we=this.children,Ae=[],be=0,Le=we.length;be<Le;be++)ye=we[be],Ae.push(ye.setParent(this));return Ae},pe.prototype.element=function(me,ye,be){var Le,we,Ae,Me,De,ze,qe,Re,ot,rt,Qe;if(ze=null,ye===null&&be==null&&(ot=[{},null],ye=ot[0],be=ot[1]),ye==null&&(ye={}),ye=ee(ye),ge(ye)||(rt=[ye,be],be=rt[0],ye=rt[1]),me!=null&&(me=ee(me)),Array.isArray(me))for(Ae=0,qe=me.length;Ae<qe;Ae++)we=me[Ae],ze=this.element(we);else if(ce(me))ze=this.element(me.apply());else if(ge(me)){for(De in me)if(fe.call(me,De))if(Qe=me[De],ce(Qe)&&(Qe=Qe.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&De.indexOf(this.stringify.convertAttKey)===0)ze=this.attribute(De.substr(this.stringify.convertAttKey.length),Qe);else if(!this.options.separateArrayItems&&Array.isArray(Qe)&&re(Qe))ze=this.dummy();else if(ge(Qe)&&re(Qe))ze=this.element(De);else if(!this.options.keepNullNodes&&Qe==null)ze=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(Qe))for(Me=0,Re=Qe.length;Me<Re;Me++)we=Qe[Me],Le={},Le[De]=we,ze=this.element(Le);else ge(Qe)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&De.indexOf(this.stringify.convertTextKey)===0?ze=this.element(Qe):(ze=this.element(De),ze.element(Qe)):ze=this.element(De,Qe)}else!this.options.keepNullNodes&&be===null?ze=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&me.indexOf(this.stringify.convertTextKey)===0?ze=this.text(be):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&me.indexOf(this.stringify.convertCDataKey)===0?ze=this.cdata(be):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&me.indexOf(this.stringify.convertCommentKey)===0?ze=this.comment(be):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&me.indexOf(this.stringify.convertRawKey)===0?ze=this.raw(be):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&me.indexOf(this.stringify.convertPIKey)===0?ze=this.instruction(me.substr(this.stringify.convertPIKey.length),be):ze=this.node(me,ye,be);if(ze==null)throw new Error("Could not create any elements with: "+me+". "+this.debugInfo());return ze},pe.prototype.insertBefore=function(me,ye,be){var Le,we,Ae,Me,De;if(me!=null&&me.type)return Ae=me,Me=ye,Ae.setParent(this),Me?(we=children.indexOf(Me),De=children.splice(we),children.push(Ae),Array.prototype.push.apply(children,De)):children.push(Ae),Ae;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(me));return we=this.parent.children.indexOf(this),De=this.parent.children.splice(we),Le=this.parent.element(me,ye,be),Array.prototype.push.apply(this.parent.children,De),Le},pe.prototype.insertAfter=function(me,ye,be){var Le,we,Ae;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(me));return we=this.parent.children.indexOf(this),Ae=this.parent.children.splice(we+1),Le=this.parent.element(me,ye,be),Array.prototype.push.apply(this.parent.children,Ae),Le},pe.prototype.remove=function(){var me,ye;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return me=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[me,me-me+1].concat(ye=[])),this.parent},pe.prototype.node=function(me,ye,be){var Le,we;return me!=null&&(me=ee(me)),ye||(ye={}),ye=ee(ye),ge(ye)||(we=[ye,be],be=we[0],ye=we[1]),Le=new ie(this,me,ye),be!=null&&Le.text(be),this.children.push(Le),Le},pe.prototype.text=function(me){var ye;return ge(me)&&this.element(me),ye=new z(this,me),this.children.push(ye),this},pe.prototype.cdata=function(me){var ye;return ye=new le(this,me),this.children.push(ye),this},pe.prototype.comment=function(me){var ye;return ye=new de(this,me),this.children.push(ye),this},pe.prototype.commentBefore=function(me){var ye,be,Le;return be=this.parent.children.indexOf(this),Le=this.parent.children.splice(be),ye=this.parent.comment(me),Array.prototype.push.apply(this.parent.children,Le),this},pe.prototype.commentAfter=function(me){var ye,be,Le;return be=this.parent.children.indexOf(this),Le=this.parent.children.splice(be+1),ye=this.parent.comment(me),Array.prototype.push.apply(this.parent.children,Le),this},pe.prototype.raw=function(me){var ye;return ye=new b(this,me),this.children.push(ye),this},pe.prototype.dummy=function(){var me;return me=new oe(this),me},pe.prototype.instruction=function(me,ye){var be,Le,we,Ae,Me;if(me!=null&&(me=ee(me)),ye!=null&&(ye=ee(ye)),Array.isArray(me))for(Ae=0,Me=me.length;Ae<Me;Ae++)be=me[Ae],this.instruction(be);else if(ge(me))for(be in me)fe.call(me,be)&&(Le=me[be],this.instruction(be,Le));else ce(ye)&&(ye=ye.apply()),we=new E(this,me,ye),this.children.push(we);return this},pe.prototype.instructionBefore=function(me,ye){var be,Le,we;return Le=this.parent.children.indexOf(this),we=this.parent.children.splice(Le),be=this.parent.instruction(me,ye),Array.prototype.push.apply(this.parent.children,we),this},pe.prototype.instructionAfter=function(me,ye){var be,Le,we;return Le=this.parent.children.indexOf(this),we=this.parent.children.splice(Le+1),be=this.parent.instruction(me,ye),Array.prototype.push.apply(this.parent.children,we),this},pe.prototype.declaration=function(me,ye,be){var Le,we;return Le=this.document(),we=new se(Le,me,ye,be),Le.children.length===0?Le.children.unshift(we):Le.children[0].type===te.Declaration?Le.children[0]=we:Le.children.unshift(we),Le.root()||Le},pe.prototype.dtd=function(me,ye){var be,Le,we,Ae,Me,De,ze,qe,Re,ot;for(Le=this.document(),we=new ue(Le,me,ye),Re=Le.children,Ae=Me=0,ze=Re.length;Me<ze;Ae=++Me)if(be=Re[Ae],be.type===te.DocType)return Le.children[Ae]=we,we;for(ot=Le.children,Ae=De=0,qe=ot.length;De<qe;Ae=++De)if(be=ot[Ae],be.isRoot)return Le.children.splice(Ae,0,we),we;return Le.children.push(we),we},pe.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},pe.prototype.root=function(){var me;for(me=this;me;){if(me.type===te.Document)return me.rootObject;if(me.isRoot)return me;me=me.parent}},pe.prototype.document=function(){var me;for(me=this;me;){if(me.type===te.Document)return me;me=me.parent}},pe.prototype.end=function(me){return this.document().end(me)},pe.prototype.prev=function(){var me;if(me=this.parent.children.indexOf(this),me<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[me-1]},pe.prototype.next=function(){var me;if(me=this.parent.children.indexOf(this),me===-1||me===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[me+1]},pe.prototype.importDocument=function(me){var ye;return ye=me.root().clone(),ye.parent=this,ye.isRoot=!1,this.children.push(ye),this},pe.prototype.debugInfo=function(me){var ye,be;return me=me||this.name,me==null&&!((ye=this.parent)!=null&&ye.name)?"":me==null?"parent: <"+this.parent.name+">":(be=this.parent)!=null&&be.name?"node: <"+me+">, parent: <"+this.parent.name+">":"node: <"+me+">"},pe.prototype.ele=function(me,ye,be){return this.element(me,ye,be)},pe.prototype.nod=function(me,ye,be){return this.node(me,ye,be)},pe.prototype.txt=function(me){return this.text(me)},pe.prototype.dat=function(me){return this.cdata(me)},pe.prototype.com=function(me){return this.comment(me)},pe.prototype.ins=function(me,ye){return this.instruction(me,ye)},pe.prototype.doc=function(){return this.document()},pe.prototype.dec=function(me,ye,be){return this.declaration(me,ye,be)},pe.prototype.e=function(me,ye,be){return this.element(me,ye,be)},pe.prototype.n=function(me,ye,be){return this.node(me,ye,be)},pe.prototype.t=function(me){return this.text(me)},pe.prototype.d=function(me){return this.cdata(me)},pe.prototype.c=function(me){return this.comment(me)},pe.prototype.r=function(me){return this.raw(me)},pe.prototype.i=function(me,ye){return this.instruction(me,ye)},pe.prototype.u=function(){return this.up()},pe.prototype.importXMLBuilder=function(me){return this.importDocument(me)},pe.prototype.replaceChild=function(me,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.removeChild=function(me){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.appendChild=function(me){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.hasChildNodes=function(){return this.children.length!==0},pe.prototype.cloneNode=function(me){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(me,ye){return!0},pe.prototype.hasAttributes=function(){return this.attribs.length!==0},pe.prototype.compareDocumentPosition=function(me){var ye,be;return ye=this,ye===me?0:this.document()!==me.document()?(be=ae.Disconnected|ae.ImplementationSpecific,Math.random()<.5?be|=ae.Preceding:be|=ae.Following,be):ye.isAncestor(me)?ae.Contains|ae.Preceding:ye.isDescendant(me)?ae.Contains|ae.Following:ye.isPreceding(me)?ae.Preceding:ae.Following},pe.prototype.isSameNode=function(me){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.lookupPrefix=function(me){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.isDefaultNamespace=function(me){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.lookupNamespaceURI=function(me){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.isEqualNode=function(me){var ye,be,Le;if(me.nodeType!==this.nodeType||me.children.length!==this.children.length)return!1;for(ye=be=0,Le=this.children.length-1;0<=Le?be<=Le:be>=Le;ye=0<=Le?++be:--be)if(!this.children[ye].isEqualNode(me.children[ye]))return!1;return!0},pe.prototype.getFeature=function(me,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.setUserData=function(me,ye,be){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.getUserData=function(me){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.contains=function(me){return me?me===this||this.isDescendant(me):!1},pe.prototype.isDescendant=function(me){var ye,be,Le,we,Ae;for(Ae=this.children,Le=0,we=Ae.length;Le<we;Le++)if(ye=Ae[Le],me===ye||(be=ye.isDescendant(me),be))return!0;return!1},pe.prototype.isAncestor=function(me){return me.isDescendant(this)},pe.prototype.isPreceding=function(me){var ye,be;return ye=this.treePosition(me),be=this.treePosition(this),ye===-1||be===-1?!1:ye<be},pe.prototype.isFollowing=function(me){var ye,be;return ye=this.treePosition(me),be=this.treePosition(this),ye===-1||be===-1?!1:ye>be},pe.prototype.treePosition=function(me){var ye,be;return be=0,ye=!1,this.foreachTreeNode(this.document(),function(Le){if(be++,!ye&&Le===me)return ye=!0}),ye?be:-1},pe.prototype.foreachTreeNode=function(me,ye){var be,Le,we,Ae,Me;for(me||(me=this.document()),Ae=me.children,Le=0,we=Ae.length;Le<we;Le++){if(be=Ae[Le],Me=ye(be))return Me;if(Me=this.foreachTreeNode(be,ye),Me)return Me}},pe}()}).call(this)},{"./DocumentPosition":427,"./NodeType":428,"./Utility":429,"./XMLCData":432,"./XMLComment":434,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLNamedNodeMap":449,"./XMLNodeList":451,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],451:[function(x,Se,he){(function(){var ae;Se.exports=ae=function(){function te(le){this.nodes=le}return Object.defineProperty(te.prototype,"length",{get:function(){return this.nodes.length||0}}),te.prototype.clone=function(){return this.nodes=null},te.prototype.item=function(le){return this.nodes[le]||null},te}()}).call(this)},{}],452:[function(x,Se,he){(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,a){if(oe.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=ae.ProcessingInstruction,this.target=this.stringify.insTarget(ne),this.name=this.target,a&&(this.value=this.stringify.insValue(a))}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ie){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(ie))},oe.prototype.isEqualNode=function(ie){return!(!oe.__super__.isEqualNode.apply(this,arguments).isEqualNode(ie)||ie.target!==this.target)},oe}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(x,Se,he){(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("./XMLNode"),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 raw text. "+this.debugInfo());this.type=ae.Raw,this.value=this.stringify.raw(ne)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ie){return this.options.writer.raw(this,this.options.writer.filterOptions(ie))},oe}(te)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(x,Se,he){(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;ae=x("./NodeType"),de=x("./XMLWriterBase"),te=x("./WriterState"),Se.exports=le=function(oe){se(ie,oe);function ie(ne,a){this.stream=ne,ie.__super__.constructor.call(this,a)}return ie.prototype.endline=function(ne,a,y){return ne.isLastRootNode&&a.state===te.CloseTag?"":ie.__super__.endline.call(this,ne,a,y)},ie.prototype.document=function(ne,a){var y,E,b,z,ee,re,ce,ge,ve;for(ce=ne.children,E=b=0,ee=ce.length;b<ee;E=++b)y=ce[E],y.isLastRootNode=E===ne.children.length-1;for(a=this.filterOptions(a),ge=ne.children,ve=[],z=0,re=ge.length;z<re;z++)y=ge[z],ve.push(this.writeChildNode(y,a,0));return ve},ie.prototype.attribute=function(ne,a,y){return this.stream.write(ie.__super__.attribute.call(this,ne,a,y))},ie.prototype.cdata=function(ne,a,y){return this.stream.write(ie.__super__.cdata.call(this,ne,a,y))},ie.prototype.comment=function(ne,a,y){return this.stream.write(ie.__super__.comment.call(this,ne,a,y))},ie.prototype.declaration=function(ne,a,y){return this.stream.write(ie.__super__.declaration.call(this,ne,a,y))},ie.prototype.docType=function(ne,a,y){var E,b,z,ee;if(y||(y=0),this.openNode(ne,a,y),a.state=te.OpenTag,this.stream.write(this.indent(ne,a,y)),this.stream.write("<!DOCTYPE "+ne.root().name),ne.pubID&&ne.sysID?this.stream.write(' PUBLIC "'+ne.pubID+'" "'+ne.sysID+'"'):ne.sysID&&this.stream.write(' SYSTEM "'+ne.sysID+'"'),ne.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(ne,a,y)),a.state=te.InsideTag,ee=ne.children,b=0,z=ee.length;b<z;b++)E=ee[b],this.writeChildNode(E,a,y+1);a.state=te.CloseTag,this.stream.write("]")}return a.state=te.CloseTag,this.stream.write(a.spaceBeforeSlash+">"),this.stream.write(this.endline(ne,a,y)),a.state=te.None,this.closeNode(ne,a,y)},ie.prototype.element=function(ne,a,y){var E,b,z,ee,re,ce,ge,ve,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(ge in fe)ue.call(fe,ge)&&(E=fe[ge],this.attribute(E,a,y));if(z=ne.children.length,ee=z===0?null:ne.children[0],z===0||ne.children.every(function(me){return(me.type===ae.Text||me.type===ae.Raw)&&me.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=te.CloseTag,this.stream.write("</"+ne.name+">")):(a.state=te.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&z===1&&(ee.type===ae.Text||ee.type===ae.Raw)&&ee.value!=null)this.stream.write(">"),a.state=te.InsideTag,a.suppressPrettyCount++,ve=!0,this.writeChildNode(ee,a,y+1),a.suppressPrettyCount--,ve=!1,a.state=te.CloseTag,this.stream.write("</"+ne.name+">");else{for(this.stream.write(">"+this.endline(ne,a,y)),a.state=te.InsideTag,pe=ne.children,re=0,ce=pe.length;re<ce;re++)b=pe[re],this.writeChildNode(b,a,y+1);a.state=te.CloseTag,this.stream.write(this.indent(ne,a,y)+"</"+ne.name+">")}return this.stream.write(this.endline(ne,a,y)),a.state=te.None,this.closeNode(ne,a,y)},ie.prototype.processingInstruction=function(ne,a,y){return this.stream.write(ie.__super__.processingInstruction.call(this,ne,a,y))},ie.prototype.raw=function(ne,a,y){return this.stream.write(ie.__super__.raw.call(this,ne,a,y))},ie.prototype.text=function(ne,a,y){return this.stream.write(ie.__super__.text.call(this,ne,a,y))},ie.prototype.dtdAttList=function(ne,a,y){return this.stream.write(ie.__super__.dtdAttList.call(this,ne,a,y))},ie.prototype.dtdElement=function(ne,a,y){return this.stream.write(ie.__super__.dtdElement.call(this,ne,a,y))},ie.prototype.dtdEntity=function(ne,a,y){return this.stream.write(ie.__super__.dtdEntity.call(this,ne,a,y))},ie.prototype.dtdNotation=function(ne,a,y){return this.stream.write(ie.__super__.dtdNotation.call(this,ne,a,y))},ie}(de)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(x,Se,he){(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<y;a++)ne=b[a],E+=this.writeChildNode(ne,ie,0);return ie.pretty&&E.slice(-ie.newline.length)===ie.newline&&(E=E.slice(0,-ie.newline.length)),E},ue}(te)}).call(this)},{"./XMLWriterBase":458}],456:[function(x,Se,he){(function(){var ae,te=function(de,se){return function(){return de.apply(se,arguments)}},le={}.hasOwnProperty;Se.exports=ae=function(){function de(se){this.assertLegalName=te(this.assertLegalName,this),this.assertLegalChar=te(this.assertLegalChar,this);var ue,oe,ie;se||(se={}),this.options=se,this.options.version||(this.options.version="1.0"),oe=se.stringify||{};for(ue in oe)le.call(oe,ue)&&(ie=oe[ue],this[ue]=ie)}return de.prototype.name=function(se){return this.options.noValidation?se:this.assertLegalName(""+se||"")},de.prototype.text=function(se){return this.options.noValidation?se:this.assertLegalChar(this.textEscape(""+se||""))},de.prototype.cdata=function(se){return this.options.noValidation?se:(se=""+se||"",se=se.replace("]]>","]]]]><![CDATA[>"),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(/>/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(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},de}()}).call(this)},{}],457:[function(x,Se,he){(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 element text. "+this.debugInfo());this.name="#text",this.type=ae.Text,this.value=this.stringify.text(ne)}return Object.defineProperty(oe.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(oe.prototype,"wholeText",{get:function(){var ie,ne,a;for(a="",ne=this.previousSibling;ne;)a=ne.data+a,ne=ne.previousSibling;for(a+=this.data,ie=this.nextSibling;ie;)a=a+ie.data,ie=ie.nextSibling;return a}}),oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ie){return this.options.writer.text(this,this.options.writer.filterOptions(ie))},oe.prototype.splitText=function(ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe.prototype.replaceWholeText=function(ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(x,Se,he){(function(){var ae,te,le,de,se,ue,oe,ie,ne,a,y,E,b,z,ee,re,ce,ge={}.hasOwnProperty;ce=x("./Utility").assign,ae=x("./NodeType"),ne=x("./XMLDeclaration"),a=x("./XMLDocType"),le=x("./XMLCData"),de=x("./XMLComment"),E=x("./XMLElement"),z=x("./XMLRaw"),ee=x("./XMLText"),b=x("./XMLProcessingInstruction"),y=x("./XMLDummy"),se=x("./XMLDTDAttList"),ue=x("./XMLDTDElement"),oe=x("./XMLDTDEntity"),ie=x("./XMLDTDNotation"),te=x("./WriterState"),Se.exports=re=function(){function ve(fe){var pe,me,ye;fe||(fe={}),this.options=fe,me=fe.writer||{};for(pe in me)ge.call(me,pe)&&(ye=me[pe],this["_"+pe]=this[pe],this[pe]=ye)}return ve.prototype.filterOptions=function(fe){var pe,me,ye,be,Le,we,Ae,Me;return fe||(fe={}),fe=ce({},this.options,fe),pe={writer:this},pe.pretty=fe.pretty||!1,pe.allowEmpty=fe.allowEmpty||!1,pe.indent=(me=fe.indent)!=null?me:" ",pe.newline=(ye=fe.newline)!=null?ye:`
|
|
`,pe.offset=(be=fe.offset)!=null?be:0,pe.dontPrettyTextNodes=(Le=(we=fe.dontPrettyTextNodes)!=null?we:fe.dontprettytextnodes)!=null?Le:0,pe.spaceBeforeSlash=(Ae=(Me=fe.spaceBeforeSlash)!=null?Me:fe.spacebeforeslash)!=null?Ae:"",pe.spaceBeforeSlash===!0&&(pe.spaceBeforeSlash=" "),pe.suppressPrettyCount=0,pe.user={},pe.state=te.None,pe},ve.prototype.indent=function(fe,pe,me){var ye;return!pe.pretty||pe.suppressPrettyCount?"":pe.pretty&&(ye=(me||0)+pe.offset+1,ye>0)?new Array(ye).join(pe.indent):""},ve.prototype.endline=function(fe,pe,me){return!pe.pretty||pe.suppressPrettyCount?"":pe.newline},ve.prototype.attribute=function(fe,pe,me){var ye;return this.openAttribute(fe,pe,me),ye=" "+fe.name+'="'+fe.value+'"',this.closeAttribute(fe,pe,me),ye},ve.prototype.cdata=function(fe,pe,me){var ye;return this.openNode(fe,pe,me),pe.state=te.OpenTag,ye=this.indent(fe,pe,me)+"<![CDATA[",pe.state=te.InsideTag,ye+=fe.value,pe.state=te.CloseTag,ye+="]]>"+this.endline(fe,pe,me),pe.state=te.None,this.closeNode(fe,pe,me),ye},ve.prototype.comment=function(fe,pe,me){var ye;return this.openNode(fe,pe,me),pe.state=te.OpenTag,ye=this.indent(fe,pe,me)+"<!-- ",pe.state=te.InsideTag,ye+=fe.value,pe.state=te.CloseTag,ye+=" -->"+this.endline(fe,pe,me),pe.state=te.None,this.closeNode(fe,pe,me),ye},ve.prototype.declaration=function(fe,pe,me){var ye;return this.openNode(fe,pe,me),pe.state=te.OpenTag,ye=this.indent(fe,pe,me)+"<?xml",pe.state=te.InsideTag,ye+=' version="'+fe.version+'"',fe.encoding!=null&&(ye+=' encoding="'+fe.encoding+'"'),fe.standalone!=null&&(ye+=' standalone="'+fe.standalone+'"'),pe.state=te.CloseTag,ye+=pe.spaceBeforeSlash+"?>",ye+=this.endline(fe,pe,me),pe.state=te.None,this.closeNode(fe,pe,me),ye},ve.prototype.docType=function(fe,pe,me){var ye,be,Le,we,Ae;if(me||(me=0),this.openNode(fe,pe,me),pe.state=te.OpenTag,we=this.indent(fe,pe,me),we+="<!DOCTYPE "+fe.root().name,fe.pubID&&fe.sysID?we+=' PUBLIC "'+fe.pubID+'" "'+fe.sysID+'"':fe.sysID&&(we+=' SYSTEM "'+fe.sysID+'"'),fe.children.length>0){for(we+=" [",we+=this.endline(fe,pe,me),pe.state=te.InsideTag,Ae=fe.children,be=0,Le=Ae.length;be<Le;be++)ye=Ae[be],we+=this.writeChildNode(ye,pe,me+1);pe.state=te.CloseTag,we+="]"}return pe.state=te.CloseTag,we+=pe.spaceBeforeSlash+">",we+=this.endline(fe,pe,me),pe.state=te.None,this.closeNode(fe,pe,me),we},ve.prototype.element=function(fe,pe,me){var ye,be,Le,we,Ae,Me,De,ze,qe,Re,ot,rt,Qe,Je;me||(me=0),Re=!1,ot="",this.openNode(fe,pe,me),pe.state=te.OpenTag,ot+=this.indent(fe,pe,me)+"<"+fe.name,rt=fe.attribs;for(qe in rt)ge.call(rt,qe)&&(ye=rt[qe],ot+=this.attribute(ye,pe,me));if(Le=fe.children.length,we=Le===0?null:fe.children[0],Le===0||fe.children.every(function(Ge){return(Ge.type===ae.Text||Ge.type===ae.Raw)&&Ge.value===""}))pe.allowEmpty?(ot+=">",pe.state=te.CloseTag,ot+="</"+fe.name+">"+this.endline(fe,pe,me)):(pe.state=te.CloseTag,ot+=pe.spaceBeforeSlash+"/>"+this.endline(fe,pe,me));else if(pe.pretty&&Le===1&&(we.type===ae.Text||we.type===ae.Raw)&&we.value!=null)ot+=">",pe.state=te.InsideTag,pe.suppressPrettyCount++,Re=!0,ot+=this.writeChildNode(we,pe,me+1),pe.suppressPrettyCount--,Re=!1,pe.state=te.CloseTag,ot+="</"+fe.name+">"+this.endline(fe,pe,me);else{if(pe.dontPrettyTextNodes){for(Qe=fe.children,Ae=0,De=Qe.length;Ae<De;Ae++)if(be=Qe[Ae],(be.type===ae.Text||be.type===ae.Raw)&&be.value!=null){pe.suppressPrettyCount++,Re=!0;break}}for(ot+=">"+this.endline(fe,pe,me),pe.state=te.InsideTag,Je=fe.children,Me=0,ze=Je.length;Me<ze;Me++)be=Je[Me],ot+=this.writeChildNode(be,pe,me+1);pe.state=te.CloseTag,ot+=this.indent(fe,pe,me)+"</"+fe.name+">",Re&&pe.suppressPrettyCount--,ot+=this.endline(fe,pe,me),pe.state=te.None}return this.closeNode(fe,pe,me),ot},ve.prototype.writeChildNode=function(fe,pe,me){switch(fe.type){case ae.CData:return this.cdata(fe,pe,me);case ae.Comment:return this.comment(fe,pe,me);case ae.Element:return this.element(fe,pe,me);case ae.Raw:return this.raw(fe,pe,me);case ae.Text:return this.text(fe,pe,me);case ae.ProcessingInstruction:return this.processingInstruction(fe,pe,me);case ae.Dummy:return"";case ae.Declaration:return this.declaration(fe,pe,me);case ae.DocType:return this.docType(fe,pe,me);case ae.AttributeDeclaration:return this.dtdAttList(fe,pe,me);case ae.ElementDeclaration:return this.dtdElement(fe,pe,me);case ae.EntityDeclaration:return this.dtdEntity(fe,pe,me);case ae.NotationDeclaration:return this.dtdNotation(fe,pe,me);default:throw new Error("Unknown XML node type: "+fe.constructor.name)}},ve.prototype.processingInstruction=function(fe,pe,me){var ye;return this.openNode(fe,pe,me),pe.state=te.OpenTag,ye=this.indent(fe,pe,me)+"<?",pe.state=te.InsideTag,ye+=fe.target,fe.value&&(ye+=" "+fe.value),pe.state=te.CloseTag,ye+=pe.spaceBeforeSlash+"?>",ye+=this.endline(fe,pe,me),pe.state=te.None,this.closeNode(fe,pe,me),ye},ve.prototype.raw=function(fe,pe,me){var ye;return this.openNode(fe,pe,me),pe.state=te.OpenTag,ye=this.indent(fe,pe,me),pe.state=te.InsideTag,ye+=fe.value,pe.state=te.CloseTag,ye+=this.endline(fe,pe,me),pe.state=te.None,this.closeNode(fe,pe,me),ye},ve.prototype.text=function(fe,pe,me){var ye;return this.openNode(fe,pe,me),pe.state=te.OpenTag,ye=this.indent(fe,pe,me),pe.state=te.InsideTag,ye+=fe.value,pe.state=te.CloseTag,ye+=this.endline(fe,pe,me),pe.state=te.None,this.closeNode(fe,pe,me),ye},ve.prototype.dtdAttList=function(fe,pe,me){var ye;return this.openNode(fe,pe,me),pe.state=te.OpenTag,ye=this.indent(fe,pe,me)+"<!ATTLIST",pe.state=te.InsideTag,ye+=" "+fe.elementName+" "+fe.attributeName+" "+fe.attributeType,fe.defaultValueType!=="#DEFAULT"&&(ye+=" "+fe.defaultValueType),fe.defaultValue&&(ye+=' "'+fe.defaultValue+'"'),pe.state=te.CloseTag,ye+=pe.spaceBeforeSlash+">"+this.endline(fe,pe,me),pe.state=te.None,this.closeNode(fe,pe,me),ye},ve.prototype.dtdElement=function(fe,pe,me){var ye;return this.openNode(fe,pe,me),pe.state=te.OpenTag,ye=this.indent(fe,pe,me)+"<!ELEMENT",pe.state=te.InsideTag,ye+=" "+fe.name+" "+fe.value,pe.state=te.CloseTag,ye+=pe.spaceBeforeSlash+">"+this.endline(fe,pe,me),pe.state=te.None,this.closeNode(fe,pe,me),ye},ve.prototype.dtdEntity=function(fe,pe,me){var ye;return this.openNode(fe,pe,me),pe.state=te.OpenTag,ye=this.indent(fe,pe,me)+"<!ENTITY",pe.state=te.InsideTag,fe.pe&&(ye+=" %"),ye+=" "+fe.name,fe.value?ye+=' "'+fe.value+'"':(fe.pubID&&fe.sysID?ye+=' PUBLIC "'+fe.pubID+'" "'+fe.sysID+'"':fe.sysID&&(ye+=' SYSTEM "'+fe.sysID+'"'),fe.nData&&(ye+=" NDATA "+fe.nData)),pe.state=te.CloseTag,ye+=pe.spaceBeforeSlash+">"+this.endline(fe,pe,me),pe.state=te.None,this.closeNode(fe,pe,me),ye},ve.prototype.dtdNotation=function(fe,pe,me){var ye;return this.openNode(fe,pe,me),pe.state=te.OpenTag,ye=this.indent(fe,pe,me)+"<!NOTATION",pe.state=te.InsideTag,ye+=" "+fe.name,fe.pubID&&fe.sysID?ye+=' PUBLIC "'+fe.pubID+'" "'+fe.sysID+'"':fe.pubID?ye+=' PUBLIC "'+fe.pubID+'"':fe.sysID&&(ye+=' SYSTEM "'+fe.sysID+'"'),pe.state=te.CloseTag,ye+=pe.spaceBeforeSlash+">"+this.endline(fe,pe,me),pe.state=te.None,this.closeNode(fe,pe,me),ye},ve.prototype.openNode=function(fe,pe,me){},ve.prototype.closeNode=function(fe,pe,me){},ve.prototype.openAttribute=function(fe,pe,me){},ve.prototype.closeAttribute=function(fe,pe,me){},ve}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(x,Se,he){(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,he){Se.exports=te;var ae=Object.prototype.hasOwnProperty;function te(){for(var le={},de=0;de<arguments.length;de++){var se=arguments[de];for(var ue in se)ae.call(se,ue)&&(le[ue]=se[ue])}return le}},{}],461:[function(x,Se,he){"use strict";x("core-js/modules/es.array.fill.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.regexp.to-string.js"),x("core-js/modules/es.array.join.js"),x("core-js/modules/es.array.slice.js");var ae=x("buffer").Buffer,te=x("./sha"),le=x("./md5"),de={sha1:te,md5:le},se=64,ue=ae.alloc(se);ue.fill(0);function oe(a,y,E){ae.isBuffer(y)||(y=ae.from(y)),ae.isBuffer(E)||(E=ae.from(E)),y.length>se?y=a(y):y.length<se&&(y=ae.concat([y,ue],se));for(var b=ae.alloc(se),z=ae.alloc(se),ee=0;ee<se;ee++)b[ee]=y[ee]^54,z[ee]=y[ee]^92;var re=a(ae.concat([b,E]));return a(ae.concat([z,re]))}function ie(a,y){a=a||"sha1";var E=de[a],b=[],z=0;return E||ne("algorithm:",a,"is not yet supported"),{update:function(re){return ae.isBuffer(re)||(re=ae.from(re)),b.push(re),z+=re.length,this},digest:function(re){var ce=ae.concat(b),ge=y?oe(E,y,ce):E(ce);return b=null,re?ge.toString(re):ge}}}function ne(){var a=[].slice.call(arguments).join(" ");throw new Error([a,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
`))}he.createHash=function(a){return ie(a)},he.createHmac=function(a,y){return ie(a,y)},he.createCredentials=function(){ne("sorry,createCredentials is not implemented yet")},he.createCipher=function(){ne("sorry,createCipher is not implemented yet")},he.createCipheriv=function(){ne("sorry,createCipheriv is not implemented yet")},he.createDecipher=function(){ne("sorry,createDecipher is not implemented yet")},he.createDecipheriv=function(){ne("sorry,createDecipheriv is not implemented yet")},he.createSign=function(){ne("sorry,createSign is not implemented yet")},he.createVerify=function(){ne("sorry,createVerify is not implemented yet")},he.createDiffieHellman=function(){ne("sorry,createDiffieHellman is not implemented yet")},he.pbkdf2=function(){ne("sorry,pbkdf2 is not implemented yet")}},{"./md5":463,"./sha":464,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],462:[function(x,Se,he){"use strict";x("core-js/modules/es.array.fill.js"),x("core-js/modules/es.array.concat.js");var ae=x("buffer").Buffer,te=4,le=ae.alloc(te);le.fill(0);var de=8;function se(ie,ne){if(ie.length%te!==0){var a=ie.length+(te-ie.length%te);ie=ae.concat([ie,le],a)}for(var y=[],E=ne?ie.readInt32BE:ie.readInt32LE,b=0;b<ie.length;b+=te)y.push(E.call(ie,b));return y}function ue(ie,ne,a){for(var y=ae.alloc(ne),E=a?y.writeInt32BE:y.writeInt32LE,b=0;b<ie.length;b++)E.call(y,ie[b],b*4,!0);return y}function oe(ie,ne,a,y){ae.isBuffer(ie)||(ie=ae.from(ie));var E=ne(se(ie,y),ie.length*de);return ue(E,a,y)}Se.exports={hash:oe}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(x,Se,he){"use strict";var ae=x("./helpers");function te(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function le(y,E){y[E>>5]|=128<<E%32,y[(E+64>>>9<<4)+14]=E;for(var b=1732584193,z=-271733879,ee=-1732584194,re=271733878,ce=0;ce<y.length;ce+=16){var ge=b,ve=z,fe=ee,pe=re;b=se(b,z,ee,re,y[ce+0],7,-680876936),re=se(re,b,z,ee,y[ce+1],12,-389564586),ee=se(ee,re,b,z,y[ce+2],17,606105819),z=se(z,ee,re,b,y[ce+3],22,-1044525330),b=se(b,z,ee,re,y[ce+4],7,-176418897),re=se(re,b,z,ee,y[ce+5],12,1200080426),ee=se(ee,re,b,z,y[ce+6],17,-1473231341),z=se(z,ee,re,b,y[ce+7],22,-45705983),b=se(b,z,ee,re,y[ce+8],7,1770035416),re=se(re,b,z,ee,y[ce+9],12,-1958414417),ee=se(ee,re,b,z,y[ce+10],17,-42063),z=se(z,ee,re,b,y[ce+11],22,-1990404162),b=se(b,z,ee,re,y[ce+12],7,1804603682),re=se(re,b,z,ee,y[ce+13],12,-40341101),ee=se(ee,re,b,z,y[ce+14],17,-1502002290),z=se(z,ee,re,b,y[ce+15],22,1236535329),b=ue(b,z,ee,re,y[ce+1],5,-165796510),re=ue(re,b,z,ee,y[ce+6],9,-1069501632),ee=ue(ee,re,b,z,y[ce+11],14,643717713),z=ue(z,ee,re,b,y[ce+0],20,-373897302),b=ue(b,z,ee,re,y[ce+5],5,-701558691),re=ue(re,b,z,ee,y[ce+10],9,38016083),ee=ue(ee,re,b,z,y[ce+15],14,-660478335),z=ue(z,ee,re,b,y[ce+4],20,-405537848),b=ue(b,z,ee,re,y[ce+9],5,568446438),re=ue(re,b,z,ee,y[ce+14],9,-1019803690),ee=ue(ee,re,b,z,y[ce+3],14,-187363961),z=ue(z,ee,re,b,y[ce+8],20,1163531501),b=ue(b,z,ee,re,y[ce+13],5,-1444681467),re=ue(re,b,z,ee,y[ce+2],9,-51403784),ee=ue(ee,re,b,z,y[ce+7],14,1735328473),z=ue(z,ee,re,b,y[ce+12],20,-1926607734),b=oe(b,z,ee,re,y[ce+5],4,-378558),re=oe(re,b,z,ee,y[ce+8],11,-2022574463),ee=oe(ee,re,b,z,y[ce+11],16,1839030562),z=oe(z,ee,re,b,y[ce+14],23,-35309556),b=oe(b,z,ee,re,y[ce+1],4,-1530992060),re=oe(re,b,z,ee,y[ce+4],11,1272893353),ee=oe(ee,re,b,z,y[ce+7],16,-155497632),z=oe(z,ee,re,b,y[ce+10],23,-1094730640),b=oe(b,z,ee,re,y[ce+13],4,681279174),re=oe(re,b,z,ee,y[ce+0],11,-358537222),ee=oe(ee,re,b,z,y[ce+3],16,-722521979),z=oe(z,ee,re,b,y[ce+6],23,76029189),b=oe(b,z,ee,re,y[ce+9],4,-640364487),re=oe(re,b,z,ee,y[ce+12],11,-421815835),ee=oe(ee,re,b,z,y[ce+15],16,530742520),z=oe(z,ee,re,b,y[ce+2],23,-995338651),b=ie(b,z,ee,re,y[ce+0],6,-198630844),re=ie(re,b,z,ee,y[ce+7],10,1126891415),ee=ie(ee,re,b,z,y[ce+14],15,-1416354905),z=ie(z,ee,re,b,y[ce+5],21,-57434055),b=ie(b,z,ee,re,y[ce+12],6,1700485571),re=ie(re,b,z,ee,y[ce+3],10,-1894986606),ee=ie(ee,re,b,z,y[ce+10],15,-1051523),z=ie(z,ee,re,b,y[ce+1],21,-2054922799),b=ie(b,z,ee,re,y[ce+8],6,1873313359),re=ie(re,b,z,ee,y[ce+15],10,-30611744),ee=ie(ee,re,b,z,y[ce+6],15,-1560198380),z=ie(z,ee,re,b,y[ce+13],21,1309151649),b=ie(b,z,ee,re,y[ce+4],6,-145523070),re=ie(re,b,z,ee,y[ce+11],10,-1120210379),ee=ie(ee,re,b,z,y[ce+2],15,718787259),z=ie(z,ee,re,b,y[ce+9],21,-343485551),b=ne(b,ge),z=ne(z,ve),ee=ne(ee,fe),re=ne(re,pe)}return Array(b,z,ee,re)}function de(y,E,b,z,ee,re){return ne(a(ne(ne(E,y),ne(z,re)),ee),b)}function se(y,E,b,z,ee,re,ce){return de(E&b|~E&z,y,E,ee,re,ce)}function ue(y,E,b,z,ee,re,ce){return de(E&z|b&~z,y,E,ee,re,ce)}function oe(y,E,b,z,ee,re,ce){return de(E^b^z,y,E,ee,re,ce)}function ie(y,E,b,z,ee,re,ce){return de(b^(E|~z),y,E,ee,re,ce)}function ne(y,E){var b=(y&65535)+(E&65535),z=(y>>16)+(E>>16)+(b>>16);return z<<16|b&65535}function a(y,E){return y<<E|y>>>32-E}Se.exports=function(E){return ae.hash(E,le,16)}},{"./helpers":462}],464:[function(x,Se,he){"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<oe.length;ee+=16){for(var re=a,ce=y,ge=E,ve=b,fe=z,pe=0;pe<80;pe++){pe<16?ne[pe]=oe[ee+pe]:ne[pe]=ue(ne[pe-3]^ne[pe-8]^ne[pe-14]^ne[pe-16],1);var me=se(se(ue(a,5),le(pe,y,E,b)),se(se(z,ne[pe]),de(pe)));z=b,b=E,E=ue(y,30),y=a,a=me}a=se(a,re),y=se(y,ce),E=se(E,ge),b=se(b,ve),z=se(z,fe)}return Array(a,y,E,b,z)}function le(oe,ie,ne,a){return oe<20?ie&ne|~ie&a:oe<40?ie^ne^a:oe<60?ie&ne|ie&a|ne&a:ie^ne^a}function de(oe){return oe<20?1518500249:oe<40?1859775393:oe<60?-1894007588:-899497514}function se(oe,ie){var ne=(oe&65535)+(ie&65535),a=(oe>>16)+(ie>>16)+(ne>>16);return a<<16|ne&65535}function ue(oe,ie){return oe<<ie|oe>>>32-ie}Se.exports=function(ie){return ae.hash(ie,te,20,!0)}},{"./helpers":462}],465:[function(x,Se,he){"use strict";Se.exports=function(){return function(){}}},{}],466:[function(x,Se,he){(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,he){"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,he){(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=he;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 Pt!="undefined"?Pt: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,he){(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"),he.fetch=oe(ae.fetch)&&oe(ae.ReadableStream),he.writableStream=oe(ae.WritableStream),he.abortController=oe(ae.AbortController),he.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),he.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);he.arraybuffer=he.fetch||se&&de("arraybuffer"),he.msstream=!he.fetch&&ue&&de("ms-stream"),he.mozchunkedarraybuffer=!he.fetch&&se&&de("moz-chunked-arraybuffer"),he.overrideMimeType=he.fetch||(le()?oe(le().overrideMimeType):!1),he.vbArray=oe(ae.VBArray);function oe(ie){return typeof ie=="function"}te=null}).call(this)}).call(this,typeof Pt!="undefined"?Pt: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,he){(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(ve){re.setHeader(ve,ee.headers[ve])});var ce,ge=!0;if(ee.mode==="disable-fetch"||"requestTimeout"in ee&&!de.abortController)ge=!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,ge),re._fetchTimer=null,re.on("finish",function(){re._onFinish()})};se(E,oe.Writable),E.prototype.setHeader=function(ee,re){var ce=this,ge=ee.toLowerCase();z.indexOf(ge)===-1&&(ce._headers[ge]={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,ge=null;re.method!=="GET"&&re.method!=="HEAD"&&(de.arraybuffer?ge=ie(le.concat(ee._body)):de.blobConstructor?ge=new te.Blob(ee._body.map(function(be){return ie(be)}),{type:(ce["content-type"]||{}).value||""}):ge=le.concat(ee._body).toString());var ve=[];if(Object.keys(ce).forEach(function(be){var Le=ce[be].name,we=ce[be].value;Array.isArray(we)?we.forEach(function(Ae){ve.push([Le,Ae])}):ve.push([Le,we])}),ee._mode==="fetch"){var fe=null,pe=null;if(de.abortController){var me=new AbortController;fe=me.signal,ee._fetchAbortController=me,"requestTimeout"in re&&re.requestTimeout!==0&&(ee._fetchTimer=te.setTimeout(function(){ee.emit("requestTimeout"),ee._fetchAbortController&&ee._fetchAbortController.abort()},re.requestTimeout))}te.fetch(ee._opts.url,{method:ee._opts.method,headers:ve,body:ge||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")}),ve.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(ge)}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 ge=this;ge._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 ge=this;typeof ee=="function"&&(ce=ee,ee=void 0),oe.Writable.prototype.end.call(ge,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 Pt!="undefined"?Pt: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,he){(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=he.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ie=he.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(me,ye){b._destroyed?ye():b.push(new le(pe))?me():b._resumeFetch=me})},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 me=pe[1].toLowerCase();me==="set-cookie"?(b.headers[me]===void 0&&(b.headers[me]=[]),b.headers[me].push(pe[2])):b.headers[me]!==void 0?b.headers[me]+=", "+pe[2]:b.headers[me]=pe[2],b.rawHeaders.push(pe[1],pe[2])}}),b._charset="x-user-defined",!de.overrideMimeType){var ge=b.rawHeaders["mime-type"];if(ge){var ve=ge.match(/;\s*charset=([^;])(;|$)/);ve&&(b._charset=ve[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};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;z<E.length;z++)b[z]=E.charCodeAt(z)&255;ne.push(b)}else ne.push(E,ne._charset);ne._pos=y.length}break;case"arraybuffer":if(a.readyState!==oe.DONE||!a.response)break;y=a.response,ne.push(new le(new Uint8Array(y)));break;case"moz-chunked-arraybuffer":if(y=a.response,a.readyState!==oe.LOADING||!y)break;ne.push(new le(new Uint8Array(y)));break;case"ms-stream":if(y=a.response,a.readyState!==oe.LOADING)break;var ee=new te.MSStreamReader;ee.onprogress=function(){ee.result.byteLength>ne._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 Pt!="undefined"?Pt: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,he){"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");he.parse=pe,he.resolve=ye,he.resolveObject=be,he.format=me,he.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},ge={javascript:!0,"javascript:":!0},ve={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},fe=x("querystring");function pe(Le,we,Ae){if(Le&&de.isObject(Le)&&Le instanceof se)return Le;var Me=new se;return Me.parse(Le,we,Ae),Me}se.prototype.parse=function(Le,we,Ae){if(!de.isString(Le))throw new TypeError("Parameter 'url' must be a string, not "+(0,te.default)(Le));var Me=Le.indexOf("?"),De=Me!==-1&&Me<Le.indexOf("#")?"?":"#",ze=Le.split(De),qe=/\\/g;ze[0]=ze[0].replace(qe,"/"),Le=ze.join(De);var Re=Le;if(Re=Re.trim(),!Ae&&Le.split("#").length===1){var ot=ie.exec(Re);if(ot)return this.path=Re,this.href=Re,this.pathname=ot[1],ot[2]?(this.search=ot[2],we?this.query=fe.parse(this.search.substr(1)):this.query=this.search.substr(1)):we&&(this.search="",this.query={}),this}var rt=ue.exec(Re);if(rt){rt=rt[0];var Qe=rt.toLowerCase();this.protocol=Qe,Re=Re.substr(rt.length)}if(Ae||rt||Re.match(/^\/\/[^@\/]+@[^@\/]+/)){var Je=Re.substr(0,2)==="//";Je&&!(rt&&ge[rt])&&(Re=Re.substr(2),this.slashes=!0)}if(!ge[rt]&&(Je||rt&&!ve[rt])){for(var Ge=-1,ke=0;ke<b.length;ke++){var _e=Re.indexOf(b[ke]);_e!==-1&&(Ge===-1||_e<Ge)&&(Ge=_e)}var tt,Xe;Ge===-1?Xe=Re.lastIndexOf("@"):Xe=Re.lastIndexOf("@",Ge),Xe!==-1&&(tt=Re.slice(0,Xe),Re=Re.slice(Xe+1),this.auth=decodeURIComponent(tt)),Ge=-1;for(var ke=0;ke<E.length;ke++){var _e=Re.indexOf(E[ke]);_e!==-1&&(Ge===-1||_e<Ge)&&(Ge=_e)}Ge===-1&&(Ge=Re.length),this.host=Re.slice(0,Ge),Re=Re.slice(Ge),this.parseHost(),this.hostname=this.hostname||"";var ct=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!ct)for(var Ye=this.hostname.split("."),ke=0,Ne=Ye.length;ke<Ne;ke++){var Oe=Ye[ke];if(Oe&&!Oe.match(ee)){for(var Ue="",xe=0,Fe=Oe.length;xe<Fe;xe++)Oe.charCodeAt(xe)>127?Ue+="x":Ue+=Oe[xe];if(!Ue.match(ee)){var He=Ye.slice(0,ke),We=Ye.slice(ke+1),Ie=Oe.match(re);Ie&&(He.push(Ie[1]),We.unshift(Ie[2])),We.length&&(Re="/"+We.join(".")+Re),this.hostname=He.join(".");break}}}this.hostname.length>z?this.hostname="":this.hostname=this.hostname.toLowerCase(),ct||(this.hostname=le.toASCII(this.hostname));var Te=this.port?":"+this.port:"",Ee=this.hostname||"";this.host=Ee+Te,this.href+=this.host,ct&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Re[0]!=="/"&&(Re="/"+Re))}if(!ce[Qe])for(var ke=0,Ne=y.length;ke<Ne;ke++){var Pe=y[ke];if(Re.indexOf(Pe)!==-1){var je=encodeURIComponent(Pe);je===Pe&&(je=escape(Pe)),Re=Re.split(Pe).join(je)}}var Ke=Re.indexOf("#");Ke!==-1&&(this.hash=Re.substr(Ke),Re=Re.slice(0,Ke));var at=Re.indexOf("?");if(at!==-1?(this.search=Re.substr(at),this.query=Re.substr(at+1),we&&(this.query=fe.parse(this.query)),Re=Re.slice(0,at)):we&&(this.search="",this.query={}),Re&&(this.pathname=Re),ve[Qe]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Te=this.pathname||"",Ze=this.search||"";this.path=Te+Ze}return this.href=this.format(),this};function me(Le){return de.isString(Le)&&(Le=pe(Le)),Le instanceof se?Le.format():se.prototype.format.call(Le)}se.prototype.format=function(){var Le=this.auth||"";Le&&(Le=encodeURIComponent(Le),Le=Le.replace(/%3A/i,":"),Le+="@");var we=this.protocol||"",Ae=this.pathname||"",Me=this.hash||"",De=!1,ze="";this.host?De=Le+this.host:this.hostname&&(De=Le+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(De+=":"+this.port)),this.query&&de.isObject(this.query)&&Object.keys(this.query).length&&(ze=fe.stringify(this.query));var qe=this.search||ze&&"?"+ze||"";return we&&we.substr(-1)!==":"&&(we+=":"),this.slashes||(!we||ve[we])&&De!==!1?(De="//"+(De||""),Ae&&Ae.charAt(0)!=="/"&&(Ae="/"+Ae)):De||(De=""),Me&&Me.charAt(0)!=="#"&&(Me="#"+Me),qe&&qe.charAt(0)!=="?"&&(qe="?"+qe),Ae=Ae.replace(/[?#]/g,function(Re){return encodeURIComponent(Re)}),qe=qe.replace("#","%23"),we+De+Ae+qe+Me};function ye(Le,we){return pe(Le,!1,!0).resolve(we)}se.prototype.resolve=function(Le){return this.resolveObject(pe(Le,!1,!0)).format()};function be(Le,we){return Le?pe(Le,!1,!0).resolveObject(we):we}se.prototype.resolveObject=function(Le){if(de.isString(Le)){var we=new se;we.parse(Le,!1,!0),Le=we}for(var Ae=new se,Me=Object.keys(this),De=0;De<Me.length;De++){var ze=Me[De];Ae[ze]=this[ze]}if(Ae.hash=Le.hash,Le.href==="")return Ae.href=Ae.format(),Ae;if(Le.slashes&&!Le.protocol){for(var qe=Object.keys(Le),Re=0;Re<qe.length;Re++){var ot=qe[Re];ot!=="protocol"&&(Ae[ot]=Le[ot])}return ve[Ae.protocol]&&Ae.hostname&&!Ae.pathname&&(Ae.path=Ae.pathname="/"),Ae.href=Ae.format(),Ae}if(Le.protocol&&Le.protocol!==Ae.protocol){if(!ve[Le.protocol]){for(var rt=Object.keys(Le),Qe=0;Qe<rt.length;Qe++){var Je=rt[Qe];Ae[Je]=Le[Je]}return Ae.href=Ae.format(),Ae}if(Ae.protocol=Le.protocol,!Le.host&&!ge[Le.protocol]){for(var Ne=(Le.pathname||"").split("/");Ne.length&&!(Le.host=Ne.shift()););Le.host||(Le.host=""),Le.hostname||(Le.hostname=""),Ne[0]!==""&&Ne.unshift(""),Ne.length<2&&Ne.unshift(""),Ae.pathname=Ne.join("/")}else Ae.pathname=Le.pathname;if(Ae.search=Le.search,Ae.query=Le.query,Ae.host=Le.host||"",Ae.auth=Le.auth,Ae.hostname=Le.hostname||Le.host,Ae.port=Le.port,Ae.pathname||Ae.search){var Ge=Ae.pathname||"",ke=Ae.search||"";Ae.path=Ge+ke}return Ae.slashes=Ae.slashes||Le.slashes,Ae.href=Ae.format(),Ae}var _e=Ae.pathname&&Ae.pathname.charAt(0)==="/",tt=Le.host||Le.pathname&&Le.pathname.charAt(0)==="/",Xe=tt||_e||Ae.host&&Le.pathname,ct=Xe,Ye=Ae.pathname&&Ae.pathname.split("/")||[],Ne=Le.pathname&&Le.pathname.split("/")||[],Oe=Ae.protocol&&!ve[Ae.protocol];if(Oe&&(Ae.hostname="",Ae.port=null,Ae.host&&(Ye[0]===""?Ye[0]=Ae.host:Ye.unshift(Ae.host)),Ae.host="",Le.protocol&&(Le.hostname=null,Le.port=null,Le.host&&(Ne[0]===""?Ne[0]=Le.host:Ne.unshift(Le.host)),Le.host=null),Xe=Xe&&(Ne[0]===""||Ye[0]==="")),tt)Ae.host=Le.host||Le.host===""?Le.host:Ae.host,Ae.hostname=Le.hostname||Le.hostname===""?Le.hostname:Ae.hostname,Ae.search=Le.search,Ae.query=Le.query,Ye=Ne;else if(Ne.length)Ye||(Ye=[]),Ye.pop(),Ye=Ye.concat(Ne),Ae.search=Le.search,Ae.query=Le.query;else if(!de.isNullOrUndefined(Le.search)){if(Oe){Ae.hostname=Ae.host=Ye.shift();var Ue=Ae.host&&Ae.host.indexOf("@")>0?Ae.host.split("@"):!1;Ue&&(Ae.auth=Ue.shift(),Ae.host=Ae.hostname=Ue.shift())}return Ae.search=Le.search,Ae.query=Le.query,(!de.isNull(Ae.pathname)||!de.isNull(Ae.search))&&(Ae.path=(Ae.pathname?Ae.pathname:"")+(Ae.search?Ae.search:"")),Ae.href=Ae.format(),Ae}if(!Ye.length)return Ae.pathname=null,Ae.search?Ae.path="/"+Ae.search:Ae.path=null,Ae.href=Ae.format(),Ae;for(var xe=Ye.slice(-1)[0],Fe=(Ae.host||Le.host||Ye.length>1)&&(xe==="."||xe==="..")||xe==="",He=0,We=Ye.length;We>=0;We--)xe=Ye[We],xe==="."?Ye.splice(We,1):xe===".."?(Ye.splice(We,1),He++):He&&(Ye.splice(We,1),He--);if(!Xe&&!ct)for(;He--;He)Ye.unshift("..");Xe&&Ye[0]!==""&&(!Ye[0]||Ye[0].charAt(0)!=="/")&&Ye.unshift(""),Fe&&Ye.join("/").substr(-1)!=="/"&&Ye.push("");var Ie=Ye[0]===""||Ye[0]&&Ye[0].charAt(0)==="/";if(Oe){Ae.hostname=Ae.host=Ie?"":Ye.length?Ye.shift():"";var Ue=Ae.host&&Ae.host.indexOf("@")>0?Ae.host.split("@"):!1;Ue&&(Ae.auth=Ue.shift(),Ae.host=Ae.hostname=Ue.shift())}return Xe=Xe||Ae.host&&Ye.length,Xe&&!Ie&&Ye.unshift(""),Ye.length?Ae.pathname=Ye.join("/"):(Ae.pathname=null,Ae.path=null),(!de.isNull(Ae.pathname)||!de.isNull(Ae.search))&&(Ae.path=(Ae.pathname?Ae.pathname:"")+(Ae.search?Ae.search:"")),Ae.auth=Le.auth||Ae.auth,Ae.slashes=Ae.slashes||Le.slashes,Ae.href=Ae.format(),Ae},se.prototype.parseHost=function(){var Le=this.host,we=oe.exec(Le);we&&(we=we[0],we!==":"&&(this.port=we.substr(1)),Le=Le.substr(0,Le.length-we.length)),Le&&(this.hostname=Le)}},{"./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,he){"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,he){"use strict";x("core-js/modules/es.number.constructor.js"),he.encodeURIComponent=function(ae){try{return encodeURIComponent(ae)}catch(te){return ae}},he.escape=x("escape-html"),he.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,he){(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(ge,ve){return ge===void 0?ve:ge}function ee(ge){return ge?ge.split(";")[0].trim().toLowerCase():""}function re(ge,ve){return function(fe,pe,me){if(fe)return ve(fe);ge({data:pe,status:me.statusCode,headers:me.headers,res:me})}}he.TIMEOUTS=[a("300s"),a("300s")];var ce=["json","text"];he.request=function(ve,fe,pe){return arguments.length===2&&typeof fe=="function"&&(pe=fe,fe=null),typeof pe=="function"?he.requestWithCallback(ve,fe,pe):new Promise(function(me,ye){he.requestWithCallback(ve,fe,re(me,ye))})},he.requestWithCallback=function(ve,fe,pe){if(!ve||typeof ve!="string"&&(0,de.default)(ve)!=="object"){var me=se.format("expect request url to be a string or a http request options, but got %j",ve);throw new Error(me)}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:ve,args:fe,ctx:fe.ctx};fe.emitter&&fe.emitter.emit("request",be),fe.timeout=fe.timeout||he.TIMEOUTS,fe.maxRedirects=fe.maxRedirects||10,fe.streaming=fe.streaming||fe.customResponse;var Le=Date.now(),we;typeof ve=="string"?(b.test(ve)||(ve="https://"+ve),we=ue.parse(ve)):we=ve;var Ae=(fe.type||fe.method||we.method||"GET").toUpperCase(),Me=we.port||80,De=oe,ze=z(fe.agent,he.agent),qe=fe.fixJSONCtlChars;we.protocol==="https:"&&(De=ie,ze=z(fe.httpsAgent,he.httpsAgent),we.port||(Me=443));var Re={host:we.hostname||we.host||"localhost",path:we.path||"/",method:Ae,port:Me,agent:ze,headers:fe.headers||{},lookup:fe.lookup};Array.isArray(fe.timeout)?Re.requestTimeout=fe.timeout[fe.timeout.length-1]:typeof fe.timeout!="undefined"&&(Re.requestTimeout=fe.timeout);var ot=fe.auth||we.auth;ot&&(Re.auth=ot);var rt=fe.content||fe.data,Qe=Ae==="GET"||Ae==="HEAD"||fe.dataAsQueryString;if(!fe.content&&rt&&!(typeof rt=="string"||te.isBuffer(rt)))if(Qe)rt=fe.nestedQuerystring?qs.stringify(rt):querystring.stringify(rt);else{var Je=Re.headers["Content-Type"]||Re.headers["content-type"];Je||(fe.contentType==="json"?Je="application/json":Je="application/x-www-form-urlencoded",Re.headers["Content-Type"]=Je),ee(Je)==="application/json"?rt=JSON.stringify(rt):rt=fe.nestedQuerystring?qs.stringify(rt):querystring.stringify(rt)}Qe&&rt&&(Re.path+=(we.query?"&":"?")+rt,rt=null);var Ge=0;if(rt){var ke=rt.length;te.isBuffer(rt)||(ke=te.byteLength(rt)),Ge=Re.headers["Content-Length"]=ke}fe.dataType==="json"&&(Re.headers.Accept="application/json"),typeof fe.beforeRequest=="function"&&fe.beforeRequest(Re);var _e=null,tt=null,Xe=null,ct=!1,Ye=!1,Ne=0,Oe=-1,Ue=!1,xe="",Fe="",He=null;fe.timing&&(He={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function We(){_e&&(clearTimeout(_e),_e=null)}function Ie(){tt&&(clearTimeout(tt),tt=null)}function Te(st,ht,$e){if(Ie(),!pe){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),ye,ae.pid,Re.method,ve),st&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
stack: %s`,Date(),ye,ae.pid,st.name,st.message,st.stack);return}var lt=pe;pe=null;var ft={};$e&&(Oe=$e.statusCode,ft=$e.headers);var mt=Date.now()-Le;He&&(He.contentDownload=mt),ne("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",mt,Ne,Oe,Re.method,Re.host,Re.path,Ye,He);var wt={status:Oe,statusCode:Oe,headers:ft,size:Ne,aborted:Ue,rt:mt,keepAliveSocket:Ye,data:ht,requestUrls:fe.requestUrls,timing:He,remoteAddress:xe,remotePort:Fe};if(st){var jt="";ze&&typeof ze.getCurrentStatus=="function"&&(jt=", agent status: "+JSON.stringify(ze.getCurrentStatus())),st.message+=", "+Re.method+" "+ve+" "+Oe+" (connected: "+ct+", keepalive socket: "+Ye+jt+`)
|
|
headers: `+JSON.stringify(ft),st.data=ht,st.path=Re.path,st.status=Oe,st.headers=ft,st.res=wt}lt(st,ht,fe.streaming?$e:wt),fe.emitter&&(be.url=ve,be.socket=dt&&dt.connection,be.options=Re,be.size=Ge,fe.emitter.emit("response",{requestId:ye,error:st,ctx:fe.ctx,req:be,res:wt}))}function Ee(st){var ht=null;if(fe.followRedirect&&statuses.redirect[st.statusCode]){fe._followRedirectCount=(fe._followRedirectCount||0)+1;var $e=st.headers.location;if(!$e)ht=new Error("Got statusCode "+st.statusCode+" but cannot resolve next location from headers"),ht.name="FollowRedirectError";else if(fe._followRedirectCount>fe.maxRedirects)ht=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ve),ht.name="MaxRedirectError";else{var lt=fe.formatRedirectUrl?fe.formatRedirectUrl(ve,$e):ue.resolve(ve,$e);ne("Request#%d %s: `redirected` from %s to %s",ye,Re.path,ve,lt),Ie(),fe.headers&&fe.headers.Host&&b.test($e)&&(fe.headers.Host=null);var ft=pe;return pe=null,he.requestWithCallback(lt,fe,ft),{redirect:!0,error:null}}}return{redirect:!1,error:ht}}fe.gzip&&!Re.headers["Accept-Encoding"]&&!Re.headers["accept-encoding"]&&(Re.headers["Accept-Encoding"]="gzip");function Pe(st,ht,$e){var lt=st.headers["content-encoding"];return $e(null,ht,lt)}var je=fe.writeStream;ne("Request#%d %s %s with headers %j, options.path: %s",ye,Ae,ve,Re.headers,Re.path),fe.requestUrls.push(ve);function Ke(st){if(He&&(He.waiting=Date.now()-Le),ne("Request#%d %s `req response` event emit: status %d, headers: %j",ye,ve,st.statusCode,st.headers),fe.streaming){var ht=Ee(st);if(ht.redirect){st.resume();return}return ht.error?(st.resume(),Te(ht.error,null,st)):Te(null,null,st)}if(st.on("close",function(){ne("Request#%d %s: `res close` event emit, total size %d",ye,ve,Ne)}),st.on("error",function(){ne("Request#%d %s: `res error` event emit, total size %d",ye,ve,Ne)}),st.on("aborted",function(){Ue=!0,ne("Request#%d %s: `res aborted` event emit, total size %d",ye,ve,Ne)}),je){var $e=Ee(st);if($e.redirect){st.resume();return}return $e.error?(st.resume(),je.end(),Te($e.error,null,st)):(fe.consumeWriteStream===!1?st.on("end",Te.bind(null,null,null,st)):je.on("close",function(){ne("Request#%d %s: writeStream close event emitted",ye,ve),Te(Xe||null,null,st)}),st.pipe(je))}var lt=[];st.on("data",function(ft){ne("Request#%d %s: `res data` event emit, size %d",ye,ve,ft.length),Ne+=ft.length,lt.push(ft)}),st.on("end",function(){var ft=te.concat(lt,Ne);if(ne("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",ye,ve,Ne,st._dumped),Xe)return Te(Xe,ft,st);var mt=Ee(st);if(mt.error)return Te(mt.error,ft,st);mt.redirect||Pe(st,ft,function(wt,jt,It){if(wt)return Te(wt,ft,st);if(!It&&ce.indexOf(fe.dataType)>=0){try{jt=decodeBodyByCharset(jt,st)}catch(Kt){return ne("decodeBodyByCharset error: %s",Kt),Te(null,jt,st)}if(fe.dataType==="json")if(Ne===0)jt=null;else{var Mt=parseJSON(jt,qe);Mt.error?wt=Mt.error:jt=Mt.data}}Ue&&ne("Request#%d %s: Remote socket was terminated before `response.end()` was called",ye,ve),Te(wt,jt,st)})})}var at,Ze;Array.isArray(fe.timeout)?(at=a(fe.timeout[0]),Ze=a(fe.timeout[1])):at=Ze=a(fe.timeout),ne("ConnectTimeout: %d, ResponseTimeout: %d",at,Ze);function it(){ne("Connect timer ticking, timeout: %d",at),_e=setTimeout(function(){_e=null,Oe===-1&&(Oe=-2);var st="Connect timeout for "+at+"ms",ht="ConnectionTimeoutError";dt.socket||(ht="SocketAssignTimeoutError",st+=", working sockets is full"),Xe=new Error(st),Xe.name=ht,Xe.requestId=ye,ne("ConnectTimeout: Request#%d %s %s: %s, connected: %s",ye,ve,Xe.name,st,ct),vt()},at)}function pt(){ne("Response timer ticking, timeout: %d",Ze),tt=setTimeout(function(){tt=null;var st="Response timeout for "+Ze+"ms",ht="ResponseTimeoutError";Xe=new Error(st),Xe.name=ht,Xe.requestId=ye,ne("ResponseTimeout: Request#%d %s %s: %s, connected: %s",ye,ve,Xe.name,st,ct),vt()},Ze)}var dt;Re.mode=fe.mode?fe.mode:"";try{dt=De.request(Re,Ke)}catch(st){return Te(st)}typeof window=="undefined"?it():dt.on("requestTimeout",function(){Oe===-1&&(Oe=-2);var st="Connect timeout for "+at+"ms",ht="ConnectionTimeoutError";Xe=new Error(st),Xe.name=ht,Xe.requestId=ye,vt()});function vt(){ne("Request#%d %s abort, connected: %s",ye,ve,ct),dt.socket||(Xe.noSocket=!0,Te(Xe)),dt.abort()}return He&&dt.on("finish",function(){He.requestSent=Date.now()-Le}),dt.once("socket",function(st){He&&(He.queuing=Date.now()-Le);var ht=st.readyState;if(ht==="opening"){st.once("lookup",function($e,lt,ft){ne("Request#%d %s lookup: %s, %s, %s",ye,ve,$e,lt,ft),He&&(He.dnslookup=Date.now()-Le),lt&&(xe=lt)}),st.once("connect",function(){He&&(He.connected=Date.now()-Le),We(),pt(),ne("Request#%d %s new socket connected",ye,ve),ct=!0,xe||(xe=st.remoteAddress),Fe=st.remotePort});return}ne("Request#%d %s reuse socket connected, readyState: %s",ye,ve,ht),ct=!0,Ye=!0,xe||(xe=st.remoteAddress),Fe=st.remotePort,We(),pt()}),dt.on("error",function(st){(st.name==="Error"||st.name==="TypeError")&&(st.name=ct?"ResponseError":"RequestError"),st.message+=' (req "error")',ne("Request#%d %s `req error` event emit, %s: %s",ye,ve,st.name,st.message),Te(Xe||st)}),je&&je.once("error",function(st){st.message+=' (writeStream "error")',Xe=st,ne("Request#%d %s `writeStream error` event emit, %s: %s",ye,ve,st.name,st.message),vt()}),fe.stream?(fe.stream.pipe(dt),fe.stream.once("error",function(st){st.message+=' (stream "error")',Xe=st,ne("Request#%d %s `readStream error` event emit, %s: %s",ye,ve,st.name,st.message),vt()})):dt.end(rt),dt.requestId=ye,dt}}).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,Pt){"use strict";function Ce(){const Be=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let nt=1;nt<arguments.length;nt++){const x=nt<0||arguments.length<=nt?void 0:arguments[nt];x&&Object.keys(x).forEach(Se=>{const he=x[Se];he!==void 0&&(Be[Se]=he)})}return Be}Pt.Z=Ce},77578:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return Be}});const Be=nt=>nt?typeof nt=="function"?nt():nt:null},13845:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{F:function(){return Be},Z:function(){return nt}});function Be(x){return x!=null&&x===x.window}function nt(x,Se){var he,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=((he=x.ownerDocument)!==null&&he!==void 0?he:x).documentElement)===null||ae===void 0?void 0:ae[te]),le}},56762:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return nt}});var Be=Ce(59301);function nt(){const[,x]=Be.useReducer(Se=>Se+1,0);return x}},68031:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return Se}});var Be=Ce(16089);function nt(he,ae,te,le){const de=te-ae;return he/=le/2,he<1?de/2*he*he*he+ae:de/2*((he-=2)*he*he+2)+ae}var x=Ce(13845);function Se(he){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,he,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<de?(0,Be.Z)(ie):typeof le=="function"&&le()};(0,Be.Z)(ie)}},24905:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{default:function(){return ve}});var Be=Ce(92310),nt=Ce.n(Be),x=Ce(5630),Se=Ce(59301),he=Ce(36355),ae=Ce(1684),te=Ce(32441),de=Se.createContext(null),se=Ce(98447),ue=Ce(14088),oe=Ce(4572),ie=function(fe,pe){var me={};for(var ye in fe)Object.prototype.hasOwnProperty.call(fe,ye)&&pe.indexOf(ye)<0&&(me[ye]=fe[ye]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,ye=Object.getOwnPropertySymbols(fe);be<ye.length;be++)pe.indexOf(ye[be])<0&&Object.prototype.propertyIsEnumerable.call(fe,ye[be])&&(me[ye[be]]=fe[ye[be]]);return me};const ne=(fe,pe)=>{var me;const{prefixCls:ye,className:be,rootClassName:Le,children:we,indeterminate:Ae=!1,style:Me,onMouseEnter:De,onMouseLeave:ze,skipGroup:qe=!1,disabled:Re}=fe,ot=ie(fe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:rt,direction:Qe,checkbox:Je}=Se.useContext(he.E_),Ge=Se.useContext(de),{isFormItemInput:ke}=Se.useContext(te.aM),_e=Se.useContext(ae.Z),tt=(me=(Ge==null?void 0:Ge.disabled)||Re)!==null&&me!==void 0?me:_e,Xe=Se.useRef(ot.value);Se.useEffect(()=>{Ge==null||Ge.registerValue(ot.value)},[]),Se.useEffect(()=>{if(!qe)return ot.value!==Xe.current&&(Ge==null||Ge.cancelValue(Xe.current),Ge==null||Ge.registerValue(ot.value),Xe.current=ot.value),()=>Ge==null?void 0:Ge.cancelValue(ot.value)},[ot.value]);const ct=rt("checkbox",ye),[Ye,Ne]=(0,se.ZP)(ct),Oe=Object.assign({},ot);Ge&&!qe&&(Oe.onChange=function(){ot.onChange&&ot.onChange.apply(ot,arguments),Ge.toggleOption&&Ge.toggleOption({label:we,value:ot.value})},Oe.name=Ge.name,Oe.checked=Ge.value.includes(ot.value));const Ue=nt()(`${ct}-wrapper`,{[`${ct}-rtl`]:Qe==="rtl",[`${ct}-wrapper-checked`]:Oe.checked,[`${ct}-wrapper-disabled`]:tt,[`${ct}-wrapper-in-form-item`]:ke},Je==null?void 0:Je.className,be,Le,Ne),xe=nt()({[`${ct}-indeterminate`]:Ae},oe.A,Ne),Fe=Ae?"mixed":void 0;return Ye(Se.createElement(ue.Z,{component:"Checkbox",disabled:tt},Se.createElement("label",{className:Ue,style:Object.assign(Object.assign({},Je==null?void 0:Je.style),Me),onMouseEnter:De,onMouseLeave:ze},Se.createElement(x.Z,Object.assign({"aria-checked":Fe},Oe,{prefixCls:ct,className:xe,disabled:tt,ref:pe})),we!==void 0&&Se.createElement("span",null,we))))};var y=Se.forwardRef(ne),E=Ce(94480),b=Ce(2738),z=function(fe,pe){var me={};for(var ye in fe)Object.prototype.hasOwnProperty.call(fe,ye)&&pe.indexOf(ye)<0&&(me[ye]=fe[ye]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,ye=Object.getOwnPropertySymbols(fe);be<ye.length;be++)pe.indexOf(ye[be])<0&&Object.prototype.propertyIsEnumerable.call(fe,ye[be])&&(me[ye[be]]=fe[ye[be]]);return me};const ee=(fe,pe)=>{const{defaultValue:me,children:ye,options:be=[],prefixCls:Le,className:we,rootClassName:Ae,style:Me,onChange:De}=fe,ze=z(fe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:qe,direction:Re}=Se.useContext(he.E_),[ot,rt]=Se.useState(ze.value||me||[]),[Qe,Je]=Se.useState([]);Se.useEffect(()=>{"value"in ze&&rt(ze.value||[])},[ze.value]);const Ge=Se.useMemo(()=>be.map(He=>typeof He=="string"||typeof He=="number"?{label:He,value:He}:He),[be]),ke=He=>{Je(We=>We.filter(Ie=>Ie!==He))},_e=He=>{Je(We=>[].concat((0,E.Z)(We),[He]))},tt=He=>{const We=ot.indexOf(He.value),Ie=(0,E.Z)(ot);We===-1?Ie.push(He.value):Ie.splice(We,1),"value"in ze||rt(Ie),De==null||De(Ie.filter(Te=>Qe.includes(Te)).sort((Te,Ee)=>{const Pe=Ge.findIndex(Ke=>Ke.value===Te),je=Ge.findIndex(Ke=>Ke.value===Ee);return Pe-je}))},Xe=qe("checkbox",Le),ct=`${Xe}-group`,[Ye,Ne]=(0,se.ZP)(Xe),Oe=(0,b.Z)(ze,["value","disabled"]),Ue=be.length?Ge.map(He=>Se.createElement(y,{prefixCls:Xe,key:He.value.toString(),disabled:"disabled"in He?He.disabled:ze.disabled,value:He.value,checked:ot.includes(He.value),onChange:He.onChange,className:`${ct}-item`,style:He.style,title:He.title},He.label)):ye,xe={toggleOption:tt,value:ot,disabled:ze.disabled,name:ze.name,registerValue:_e,cancelValue:ke},Fe=nt()(ct,{[`${ct}-rtl`]:Re==="rtl"},we,Ae,Ne);return Ye(Se.createElement("div",Object.assign({className:Fe,style:Me},Oe,{ref:pe}),Se.createElement(de.Provider,{value:xe},Ue)))},re=Se.forwardRef(ee);var ce=Se.memo(re);const ge=y;ge.Group=ce,ge.__ANT_CHECKBOX=!0;var ve=ge},98447:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{C2:function(){return he}});var Be=Ce(17313),nt=Ce(37613),x=Ce(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 he(ae,te){const le=(0,nt.TS)(te,{checkboxCls:`.${ae}`,checkboxSize:te.controlInteractiveSize});return[Se(le)]}Pt.ZP=(0,x.Z)("Checkbox",(ae,te)=>{let{prefixCls:le}=te;return[he(le,ae)]})},36381:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{default:function(){return Oe}});var Be=Ce(38819),nt=Ce(92310),x=Ce.n(nt),Se=Ce(54476),he=Ce(94480),ae=Ce(42978),te=Ce(76190),le=Ce(18929),de=Ce(48736),se=Ce(59301),ue=Ce(75931),oe=Ce(11592),ie=Ce(20068),ne=Ce(77900),a=Ce(10228),y=se.forwardRef(function(Ue,xe){var Fe=Ue.prefixCls,He=Ue.forceRender,We=Ue.className,Ie=Ue.style,Te=Ue.children,Ee=Ue.isActive,Pe=Ue.role,je=se.useState(Ee||He),Ke=(0,ae.Z)(je,2),at=Ke[0],Ze=Ke[1];return se.useEffect(function(){(He||Ee)&&Ze(!0)},[He,Ee]),at?se.createElement("div",{ref:xe,className:x()("".concat(Fe,"-content"),(0,ie.Z)((0,ie.Z)({},"".concat(Fe,"-content-active"),Ee),"".concat(Fe,"-content-inactive"),!Ee),We),style:Ie,role:Pe},se.createElement("div",{className:"".concat(Fe,"-content-box")},Te)):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(Ue,xe){var Fe=Ue.showArrow,He=Fe===void 0?!0:Fe,We=Ue.headerClass,Ie=Ue.isActive,Te=Ue.onItemClick,Ee=Ue.forceRender,Pe=Ue.className,je=Ue.prefixCls,Ke=Ue.collapsible,at=Ue.accordion,Ze=Ue.panelKey,it=Ue.extra,pt=Ue.header,dt=Ue.expandIcon,vt=Ue.openMotion,st=Ue.destroyInactivePanel,ht=Ue.children,$e=(0,ue.Z)(Ue,b),lt=Ke==="disabled",ft=Ke==="header",mt=Ke==="icon",wt=it!=null&&typeof it!="boolean",jt=function(){Te==null||Te(Ze)},It=function(wn){(wn.key==="Enter"||wn.keyCode===a.Z.ENTER||wn.which===a.Z.ENTER)&&jt()},Mt=typeof dt=="function"?dt(Ue):se.createElement("i",{className:"arrow"});Mt&&(Mt=se.createElement("div",{className:"".concat(je,"-expand-icon"),onClick:["header","icon"].includes(Ke)?jt:void 0},Mt));var Kt=x()((0,ie.Z)((0,ie.Z)((0,ie.Z)({},"".concat(je,"-item"),!0),"".concat(je,"-item-active"),Ie),"".concat(je,"-item-disabled"),lt),Pe),qt=x()(We,(0,ie.Z)((0,ie.Z)((0,ie.Z)({},"".concat(je,"-header"),!0),"".concat(je,"-header-collapsible-only"),ft),"".concat(je,"-icon-collapsible-only"),mt)),en={className:qt,"aria-expanded":Ie,"aria-disabled":lt,onKeyDown:It};return!ft&&!mt&&(en.onClick=jt,en.role=at?"tab":"button",en.tabIndex=lt?-1:0),se.createElement("div",(0,Se.Z)({},$e,{ref:xe,className:Kt}),se.createElement("div",en,He&&Mt,se.createElement("span",{className:"".concat(je,"-header-text"),onClick:Ke==="header"?jt:void 0},pt),wt&&se.createElement("div",{className:"".concat(je,"-extra")},it)),se.createElement(ne.default,(0,Se.Z)({visible:Ie,leavedClassName:"".concat(je,"-content-hidden")},vt,{forceRender:Ee,removeOnLeave:st}),function(on,wn){var Nn=on.className,an=on.style;return se.createElement(E,{ref:wn,prefixCls:je,className:Nn,style:an,isActive:Ie,forceRender:Ee,role:at?"tabpanel":void 0},ht)}))}),ee=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ce=function(xe,Fe){var He=Fe.prefixCls,We=Fe.accordion,Ie=Fe.collapsible,Te=Fe.destroyInactivePanel,Ee=Fe.onItemClick,Pe=Fe.activeKey,je=Fe.openMotion,Ke=Fe.expandIcon;return xe.map(function(at,Ze){var it=at.children,pt=at.label,dt=at.key,vt=at.collapsible,st=at.onItemClick,ht=at.destroyInactivePanel,$e=(0,ue.Z)(at,re),lt=String(dt!=null?dt:Ze),ft=vt!=null?vt:Ie,mt=ht!=null?ht:Te,wt=function(Mt){ft!=="disabled"&&(Ee(Mt),st==null||st(Mt))},jt=!1;return We?jt=Pe[0]===lt:jt=Pe.indexOf(lt)>-1,se.createElement(ee,(0,Se.Z)({},$e,{prefixCls:He,key:lt,panelKey:lt,isActive:jt,accordion:We,openMotion:je,expandIcon:Ke,header:pt,collapsible:ft,onItemClick:wt,destroyInactivePanel:mt}),it)})},ge=function(xe,Fe,He){if(!xe)return null;var We=He.prefixCls,Ie=He.accordion,Te=He.collapsible,Ee=He.destroyInactivePanel,Pe=He.onItemClick,je=He.activeKey,Ke=He.openMotion,at=He.expandIcon,Ze=xe.key||String(Fe),it=xe.props,pt=it.header,dt=it.headerClass,vt=it.destroyInactivePanel,st=it.collapsible,ht=it.onItemClick,$e=!1;Ie?$e=je[0]===Ze:$e=je.indexOf(Ze)>-1;var lt=st!=null?st:Te,ft=function(jt){lt!=="disabled"&&(Pe(jt),ht==null||ht(jt))},mt={key:Ze,panelKey:Ze,header:pt,headerClass:dt,isActive:$e,prefixCls:We,destroyInactivePanel:vt!=null?vt:Ee,openMotion:Ke,accordion:Ie,children:xe.props.children,onItemClick:ft,expandIcon:at,collapsible:lt};return typeof xe.type=="string"?xe:(Object.keys(mt).forEach(function(wt){typeof mt[wt]=="undefined"&&delete mt[wt]}),se.cloneElement(xe,mt))};function ve(Ue,xe,Fe){return Array.isArray(Ue)?ce(Ue,Fe):(0,oe.Z)(xe).map(function(He,We){return ge(He,We,Fe)})}var fe=ve,pe=Ce(26112);function me(Ue){var xe=Ue;if(!Array.isArray(xe)){var Fe=(0,te.Z)(xe);xe=Fe==="number"||Fe==="string"?[xe]:[]}return xe.map(function(He){return String(He)})}var ye=se.forwardRef(function(Ue,xe){var Fe=Ue.prefixCls,He=Fe===void 0?"rc-collapse":Fe,We=Ue.destroyInactivePanel,Ie=We===void 0?!1:We,Te=Ue.style,Ee=Ue.accordion,Pe=Ue.className,je=Ue.children,Ke=Ue.collapsible,at=Ue.openMotion,Ze=Ue.expandIcon,it=Ue.activeKey,pt=Ue.defaultActiveKey,dt=Ue.onChange,vt=Ue.items,st=x()(He,Pe),ht=(0,le.Z)([],{value:it,onChange:function(It){return dt==null?void 0:dt(It)},defaultValue:pt,postState:me}),$e=(0,ae.Z)(ht,2),lt=$e[0],ft=$e[1],mt=function(It){return ft(function(){if(Ee)return lt[0]===It?[]:[It];var Mt=lt.indexOf(It),Kt=Mt>-1;return Kt?lt.filter(function(qt){return qt!==It}):[].concat((0,he.Z)(lt),[It])})};(0,de.ZP)(!je,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var wt=fe(vt,je,{prefixCls:He,accordion:Ee,openMotion:at,expandIcon:Ze,collapsible:Ke,destroyInactivePanel:Ie,onItemClick:mt,activeKey:lt});return se.createElement("div",(0,Se.Z)({ref:xe,className:st,style:Te,role:Ee?"tablist":void 0},(0,pe.Z)(Ue,{aria:!0,data:!0})),wt)}),be=Object.assign(ye,{Panel:ee}),Le=be,we=be.Panel,Ae=Ce(2738),Me=Ce(62892),De=Ce(92343),ze=Ce(36355),qe=Ce(19716),ot=se.forwardRef((Ue,xe)=>{const{getPrefixCls:Fe}=se.useContext(ze.E_),{prefixCls:He,className:We,showArrow:Ie=!0}=Ue,Te=Fe("collapse",He),Ee=x()({[`${Te}-no-arrow`]:!Ie},We);return se.createElement(Le.Panel,Object.assign({ref:xe},Ue,{prefixCls:Te,className:Ee}))}),rt=Ce(17313),Qe=Ce(8378),Je=Ce(83116),Ge=Ce(37613);const ke=Ue=>{const{componentCls:xe,contentBg:Fe,padding:He,headerBg:We,headerPadding:Ie,collapseHeaderPaddingSM:Te,collapseHeaderPaddingLG:Ee,collapsePanelBorderRadius:Pe,lineWidth:je,lineType:Ke,colorBorder:at,colorText:Ze,colorTextHeading:it,colorTextDisabled:pt,fontSize:dt,fontSizeLG:vt,lineHeight:st,marginSM:ht,paddingSM:$e,paddingLG:lt,paddingXS:ft,motionDurationSlow:mt,fontSizeIcon:wt,contentPadding:jt}=Ue,It=`${je}px ${Ke} ${at}`;return{[xe]:Object.assign(Object.assign({},(0,rt.Wf)(Ue)),{backgroundColor:We,border:It,borderBottom:0,borderRadius:`${Pe}px`,"&-rtl":{direction:"rtl"},[`& > ${xe}-item`]:{borderBottom:It,"&:last-child":{[`
|
|
&,
|
|
& > ${xe}-header`]:{borderRadius:`0 0 ${Pe}px ${Pe}px`}},[`> ${xe}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Ie,color:it,lineHeight:st,cursor:"pointer",transition:`all ${mt}, visibility 0s`,[`> ${xe}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${xe}-expand-icon`]:{height:dt*st,display:"flex",alignItems:"center",paddingInlineEnd:ht},[`${xe}-arrow`]:Object.assign(Object.assign({},(0,rt.Ro)()),{fontSize:wt,svg:{transition:`transform ${mt}`}}),[`${xe}-header-text`]:{marginInlineEnd:"auto"}},[`${xe}-header-collapsible-only`]:{cursor:"default",[`${xe}-header-text`]:{flex:"none",cursor:"pointer"}},[`${xe}-icon-collapsible-only`]:{cursor:"default",[`${xe}-expand-icon`]:{cursor:"pointer"}}},[`${xe}-content`]:{color:Ze,backgroundColor:Fe,borderTop:It,[`& > ${xe}-content-box`]:{padding:jt},"&-hidden":{display:"none"}},"&-small":{[`> ${xe}-item`]:{[`> ${xe}-header`]:{padding:Te,paddingInlineStart:ft,[`> ${xe}-expand-icon`]:{marginInlineStart:$e-ft}},[`> ${xe}-content > ${xe}-content-box`]:{padding:$e}}},"&-large":{[`> ${xe}-item`]:{fontSize:vt,[`> ${xe}-header`]:{padding:Ee,paddingInlineStart:He,[`> ${xe}-expand-icon`]:{height:vt*st,marginInlineStart:lt-He}},[`> ${xe}-content > ${xe}-content-box`]:{padding:lt}}},[`${xe}-item:last-child`]:{[`> ${xe}-content`]:{borderRadius:`0 0 ${Pe}px ${Pe}px`}},[`& ${xe}-item-disabled > ${xe}-header`]:{"\n &,\n & > .arrow\n ":{color:pt,cursor:"not-allowed"}},[`&${xe}-icon-position-end`]:{[`& > ${xe}-item`]:{[`> ${xe}-header`]:{[`${xe}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:ht}}}}})}},_e=Ue=>{const{componentCls:xe}=Ue,Fe=`> ${xe}-item > ${xe}-header ${xe}-arrow svg`;return{[`${xe}-rtl`]:{[Fe]:{transform:"rotate(180deg)"}}}},tt=Ue=>{const{componentCls:xe,headerBg:Fe,paddingXXS:He,colorBorder:We}=Ue;return{[`${xe}-borderless`]:{backgroundColor:Fe,border:0,[`> ${xe}-item`]:{borderBottom:`1px solid ${We}`},[`
|
|
> ${xe}-item:last-child,
|
|
> ${xe}-item:last-child ${xe}-header
|
|
`]:{borderRadius:0},[`> ${xe}-item:last-child`]:{borderBottom:0},[`> ${xe}-item > ${xe}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${xe}-item > ${xe}-content > ${xe}-content-box`]:{paddingTop:He}}}},Xe=Ue=>{const{componentCls:xe,paddingSM:Fe}=Ue;return{[`${xe}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${xe}-item`]:{borderBottom:0,[`> ${xe}-content`]:{backgroundColor:"transparent",border:0,[`> ${xe}-content-box`]:{paddingBlock:Fe}}}}}};var ct=(0,Je.Z)("Collapse",Ue=>{const xe=(0,Ge.TS)(Ue,{collapseHeaderPaddingSM:`${Ue.paddingXS}px ${Ue.paddingSM}px`,collapseHeaderPaddingLG:`${Ue.padding}px ${Ue.paddingLG}px`,collapsePanelBorderRadius:Ue.borderRadiusLG});return[ke(xe),tt(xe),Xe(xe),_e(xe),(0,Qe.Z)(xe)]},Ue=>({headerPadding:`${Ue.paddingSM}px ${Ue.padding}px`,headerBg:Ue.colorFillAlter,contentPadding:`${Ue.padding}px 16px`,contentBg:Ue.colorBgContainer})),Ne=Object.assign(se.forwardRef((Ue,xe)=>{const{getPrefixCls:Fe,direction:He,collapse:We}=se.useContext(ze.E_),{prefixCls:Ie,className:Te,rootClassName:Ee,style:Pe,bordered:je=!0,ghost:Ke,size:at,expandIconPosition:Ze="start",children:it,expandIcon:pt}=Ue,dt=(0,qe.Z)(It=>{var Mt;return(Mt=at!=null?at:It)!==null&&Mt!==void 0?Mt:"middle"}),vt=Fe("collapse",Ie),st=Fe(),[ht,$e]=ct(vt),lt=se.useMemo(()=>Ze==="left"?"start":Ze==="right"?"end":Ze,[Ze]),ft=function(){let It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Mt=pt?pt(It):se.createElement(Be.Z,{rotate:It.isActive?90:void 0});return(0,De.Tm)(Mt,()=>({className:x()(Mt.props.className,`${vt}-arrow`)}))},mt=x()(`${vt}-icon-position-${lt}`,{[`${vt}-borderless`]:!je,[`${vt}-rtl`]:He==="rtl",[`${vt}-ghost`]:!!Ke,[`${vt}-${dt}`]:dt!=="middle"},We==null?void 0:We.className,Te,Ee,$e),wt=Object.assign(Object.assign({},(0,Me.Z)(st)),{motionAppear:!1,leavedClassName:`${vt}-content-hidden`}),jt=se.useMemo(()=>it?(0,oe.Z)(it).map((It,Mt)=>{var Kt,qt;if(!((Kt=It.props)===null||Kt===void 0)&&Kt.disabled){const en=(qt=It.key)!==null&&qt!==void 0?qt:String(Mt),{disabled:on,collapsible:wn}=It.props,Nn=Object.assign(Object.assign({},(0,Ae.Z)(It.props,["disabled"])),{key:en,collapsible:wn!=null?wn:on?"disabled":void 0});return(0,De.Tm)(It,Nn)}return It}):null,[it]);return ht(se.createElement(Le,Object.assign({ref:xe,openMotion:wt},(0,Ae.Z)(Ue,["rootClassName"]),{expandIcon:ft,prefixCls:vt,className:mt,style:Object.assign(Object.assign({},We==null?void 0:We.style),Pe)}),jt))}),{Panel:ot}),Oe=Ne},43428:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return Ye}});var Be=Ce(92310),nt=Ce.n(Be),x=Ce(33885),Se=Ce(42978),he=Ce(43403),ae=Ce(34280),te=Ce(59301),le=te.createContext(null),de=te.createContext({}),se=le,ue=Ce(20068),oe=Ce(54476),ie=Ce(77900),ne=Ce(10228),a=Ce(26112),y=Ce(70425),E=function(Oe){var Ue=Oe.prefixCls,xe=Oe.className,Fe=Oe.style,He=Oe.children,We=Oe.containerRef,Ie=Oe.id,Te=Oe.onMouseEnter,Ee=Oe.onMouseOver,Pe=Oe.onMouseLeave,je=Oe.onClick,Ke=Oe.onKeyDown,at=Oe.onKeyUp,Ze={onMouseEnter:Te,onMouseOver:Ee,onMouseLeave:Pe,onClick:je,onKeyDown:Ke,onKeyUp:at},it=te.useContext(de),pt=it.panel,dt=(0,y.useComposeRef)(pt,We);return te.createElement(te.Fragment,null,te.createElement("div",(0,oe.Z)({id:Ie,className:nt()("".concat(Ue,"-content"),xe),style:(0,x.Z)({},Fe),"aria-modal":"true",role:"dialog",ref:dt},Ze),He))},b=E,z=Ce(48736);function ee(Ne){return typeof Ne=="string"&&String(Number(Ne))===Ne?((0,z.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Ne)):Ne}function re(Ne){warning(!("wrapperClassName"in Ne),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Ne.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 ge(Ne,Oe){var Ue,xe,Fe,He,We=Ne.prefixCls,Ie=Ne.open,Te=Ne.placement,Ee=Ne.inline,Pe=Ne.push,je=Ne.forceRender,Ke=Ne.autoFocus,at=Ne.keyboard,Ze=Ne.rootClassName,it=Ne.rootStyle,pt=Ne.zIndex,dt=Ne.className,vt=Ne.id,st=Ne.style,ht=Ne.motion,$e=Ne.width,lt=Ne.height,ft=Ne.children,mt=Ne.contentWrapperStyle,wt=Ne.mask,jt=Ne.maskClosable,It=Ne.maskMotion,Mt=Ne.maskClassName,Kt=Ne.maskStyle,qt=Ne.afterOpenChange,en=Ne.onClose,on=Ne.onMouseEnter,wn=Ne.onMouseOver,Nn=Ne.onMouseLeave,an=Ne.onClick,Zn=Ne.onKeyDown,Rn=Ne.onKeyUp,An=te.useRef(),Vn=te.useRef(),dr=te.useRef();te.useImperativeHandle(Oe,function(){return An.current});var zt=function(rr){var hr=rr.keyCode,Yt=rr.shiftKey;switch(hr){case ne.Z.TAB:{if(hr===ne.Z.TAB){if(!Yt&&document.activeElement===dr.current){var In;(In=Vn.current)===null||In===void 0||In.focus({preventScroll:!0})}else if(Yt&&document.activeElement===Vn.current){var Yn;(Yn=dr.current)===null||Yn===void 0||Yn.focus({preventScroll:!0})}}break}case ne.Z.ESC:{en&&at&&(rr.stopPropagation(),en(rr));break}}};te.useEffect(function(){if(Ie&&Ke){var mn;(mn=An.current)===null||mn===void 0||mn.focus({preventScroll:!0})}},[Ie]);var Qt=te.useState(!1),gn=(0,Se.Z)(Qt,2),jn=gn[0],Hn=gn[1],vn=te.useContext(se),bt;Pe===!1?bt={distance:0}:Pe===!0?bt={}:bt=Pe||{};var Tt=(Ue=(xe=(Fe=bt)===null||Fe===void 0?void 0:Fe.distance)!==null&&xe!==void 0?xe:vn==null?void 0:vn.pushDistance)!==null&&Ue!==void 0?Ue:180,Et=te.useMemo(function(){return{pushDistance:Tt,push:function(){Hn(!0)},pull:function(){Hn(!1)}}},[Tt]);te.useEffect(function(){if(Ie){var mn;vn==null||(mn=vn.push)===null||mn===void 0||mn.call(vn)}else{var rr;vn==null||(rr=vn.pull)===null||rr===void 0||rr.call(vn)}},[Ie]),te.useEffect(function(){return function(){var mn;vn==null||(mn=vn.pull)===null||mn===void 0||mn.call(vn)}},[]);var Wt=wt&&te.createElement(ie.default,(0,oe.Z)({key:"mask"},It,{visible:Ie}),function(mn,rr){var hr=mn.className,Yt=mn.style;return te.createElement("div",{className:nt()("".concat(We,"-mask"),hr,Mt),style:(0,x.Z)((0,x.Z)({},Yt),Kt),onClick:jt&&Ie?en:void 0,ref:rr})}),tn=typeof ht=="function"?ht(Te):ht,sn={};if(jn&&Tt)switch(Te){case"top":sn.transform="translateY(".concat(Tt,"px)");break;case"bottom":sn.transform="translateY(".concat(-Tt,"px)");break;case"left":sn.transform="translateX(".concat(Tt,"px)");break;default:sn.transform="translateX(".concat(-Tt,"px)");break}Te==="left"||Te==="right"?sn.width=ee($e):sn.height=ee(lt);var Un={onMouseEnter:on,onMouseOver:wn,onMouseLeave:Nn,onClick:an,onKeyDown:Zn,onKeyUp:Rn},Qn=te.createElement(ie.default,(0,oe.Z)({key:"panel"},tn,{visible:Ie,forceRender:je,onVisibleChanged:function(rr){qt==null||qt(rr)},removeOnLeave:!1,leavedClassName:"".concat(We,"-content-wrapper-hidden")}),function(mn,rr){var hr=mn.className,Yt=mn.style;return te.createElement("div",(0,oe.Z)({className:nt()("".concat(We,"-content-wrapper"),hr),style:(0,x.Z)((0,x.Z)((0,x.Z)({},sn),Yt),mt)},(0,a.Z)(Ne,{data:!0})),te.createElement(b,(0,oe.Z)({id:vt,containerRef:rr,prefixCls:We,className:dt,style:st},Un),ft))}),yn=(0,x.Z)({},it);return pt&&(yn.zIndex=pt),te.createElement(se.Provider,{value:Et},te.createElement("div",{className:nt()(We,"".concat(We,"-").concat(Te),Ze,(He={},(0,ue.Z)(He,"".concat(We,"-open"),Ie),(0,ue.Z)(He,"".concat(We,"-inline"),Ee),He)),style:yn,tabIndex:-1,ref:An,onKeyDown:zt},Wt,te.createElement("div",{tabIndex:0,ref:Vn,style:ce,"aria-hidden":"true","data-sentinel":"start"}),Qn,te.createElement("div",{tabIndex:0,ref:dr,style:ce,"aria-hidden":"true","data-sentinel":"end"})))}var ve=te.forwardRef(ge),fe=ve,pe=function(Oe){var Ue=Oe.open,xe=Ue===void 0?!1:Ue,Fe=Oe.prefixCls,He=Fe===void 0?"rc-drawer":Fe,We=Oe.placement,Ie=We===void 0?"right":We,Te=Oe.autoFocus,Ee=Te===void 0?!0:Te,Pe=Oe.keyboard,je=Pe===void 0?!0:Pe,Ke=Oe.width,at=Ke===void 0?378:Ke,Ze=Oe.mask,it=Ze===void 0?!0:Ze,pt=Oe.maskClosable,dt=pt===void 0?!0:pt,vt=Oe.getContainer,st=Oe.forceRender,ht=Oe.afterOpenChange,$e=Oe.destroyOnClose,lt=Oe.onMouseEnter,ft=Oe.onMouseOver,mt=Oe.onMouseLeave,wt=Oe.onClick,jt=Oe.onKeyDown,It=Oe.onKeyUp,Mt=Oe.panelRef,Kt=te.useState(!1),qt=(0,Se.Z)(Kt,2),en=qt[0],on=qt[1],wn=te.useState(!1),Nn=(0,Se.Z)(wn,2),an=Nn[0],Zn=Nn[1];(0,ae.Z)(function(){Zn(!0)},[]);var Rn=an?xe:!1,An=te.useRef(),Vn=te.useRef();(0,ae.Z)(function(){Rn&&(Vn.current=document.activeElement)},[Rn]);var dr=function(Hn){var vn;if(on(Hn),ht==null||ht(Hn),!Hn&&Vn.current&&!((vn=An.current)!==null&&vn!==void 0&&vn.contains(Vn.current))){var bt;(bt=Vn.current)===null||bt===void 0||bt.focus({preventScroll:!0})}},zt=te.useMemo(function(){return{panel:Mt}},[Mt]);if(!st&&!en&&!Rn&&$e)return null;var Qt={onMouseEnter:lt,onMouseOver:ft,onMouseLeave:mt,onClick:wt,onKeyDown:jt,onKeyUp:It},gn=(0,x.Z)((0,x.Z)({},Oe),{},{open:Rn,prefixCls:He,placement:Ie,autoFocus:Ee,keyboard:je,width:at,mask:it,maskClosable:dt,inline:vt===!1,afterOpenChange:dr,ref:An},Qt);return te.createElement(de.Provider,{value:zt},te.createElement(he.Z,{open:Rn||st||en,autoDestroy:!1,getContainer:vt,autoLock:it&&(Rn||en)},te.createElement(fe,gn)))},me=pe,ye=me,be=Ce(62892),Le=Ce(36355),we=Ce(32441),Ae=Ce(47729),De=Ne=>{const{prefixCls:Oe,title:Ue,footer:xe,extra:Fe,closeIcon:He,closable:We,onClose:Ie,headerStyle:Te,drawerStyle:Ee,bodyStyle:Pe,footerStyle:je,children:Ke}=Ne,at=te.useCallback(vt=>te.createElement("button",{type:"button",onClick:Ie,"aria-label":"Close",className:`${Oe}-close`},vt),[Ie]),[Ze,it]=(0,Ae.Z)(We,He,at,void 0,!0),pt=te.useMemo(()=>!Ue&&!Ze?null:te.createElement("div",{style:Te,className:nt()(`${Oe}-header`,{[`${Oe}-header-close-only`]:Ze&&!Ue&&!Fe})},te.createElement("div",{className:`${Oe}-header-title`},it,Ue&&te.createElement("div",{className:`${Oe}-title`},Ue)),Fe&&te.createElement("div",{className:`${Oe}-extra`},Fe)),[Ze,it,Fe,Te,Oe,Ue]),dt=te.useMemo(()=>{if(!xe)return null;const vt=`${Oe}-footer`;return te.createElement("div",{className:vt,style:je},xe)},[xe,je,Oe]);return te.createElement("div",{className:`${Oe}-wrapper-body`,style:Ee},pt,te.createElement("div",{className:`${Oe}-body`,style:Pe},Ke),dt)},ze=Ce(33234),qe=Ce(83116),Re=Ce(37613),rt=Ne=>{const{componentCls:Oe,motionDurationSlow:Ue}=Ne,xe={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Ue}`}}};return{[Oe]:{[`${Oe}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Ue}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Oe}-panel-motion`]:{"&-left":[xe,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[xe,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[xe,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[xe,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Qe=Ne=>{const{componentCls:Oe,zIndexPopup:Ue,colorBgMask:xe,colorBgElevated:Fe,motionDurationSlow:He,motionDurationMid:We,padding:Ie,paddingLG:Te,fontSizeLG:Ee,lineHeightLG:Pe,lineWidth:je,lineType:Ke,colorSplit:at,marginSM:Ze,colorIcon:it,colorIconHover:pt,colorText:dt,fontWeightStrong:vt,footerPaddingBlock:st,footerPaddingInline:ht}=Ne,$e=`${Oe}-content-wrapper`;return{[Oe]:{position:"fixed",inset:0,zIndex:Ue,pointerEvents:"none","&-pure":{position:"relative",background:Fe,[`&${Oe}-left`]:{boxShadow:Ne.boxShadowDrawerLeft},[`&${Oe}-right`]:{boxShadow:Ne.boxShadowDrawerRight},[`&${Oe}-top`]:{boxShadow:Ne.boxShadowDrawerUp},[`&${Oe}-bottom`]:{boxShadow:Ne.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Oe}-mask`]:{position:"absolute",inset:0,zIndex:Ue,background:xe,pointerEvents:"auto"},[$e]:{position:"absolute",zIndex:Ue,maxWidth:"100vw",transition:`all ${He}`,"&-hidden":{display:"none"}},[`&-left > ${$e}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Ne.boxShadowDrawerLeft},[`&-right > ${$e}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Ne.boxShadowDrawerRight},[`&-top > ${$e}`]:{top:0,insetInline:0,boxShadow:Ne.boxShadowDrawerUp},[`&-bottom > ${$e}`]:{bottom:0,insetInline:0,boxShadow:Ne.boxShadowDrawerDown},[`${Oe}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Fe,pointerEvents:"auto"},[`${Oe}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Oe}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Ie}px ${Te}px`,fontSize:Ee,lineHeight:Pe,borderBottom:`${je}px ${Ke} ${at}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Oe}-extra`]:{flex:"none"},[`${Oe}-close`]:{display:"inline-block",marginInlineEnd:Ze,color:it,fontWeight:vt,fontSize:Ee,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${We}`,textRendering:"auto","&:focus, &:hover":{color:pt,textDecoration:"none"}},[`${Oe}-title`]:{flex:1,margin:0,color:dt,fontWeight:Ne.fontWeightStrong,fontSize:Ee,lineHeight:Pe},[`${Oe}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Te,overflow:"auto"},[`${Oe}-footer`]:{flexShrink:0,padding:`${st}px ${ht}px`,borderTop:`${je}px ${Ke} ${at}`},"&-rtl":{direction:"rtl"}}}};var Je=(0,qe.Z)("Drawer",Ne=>{const Oe=(0,Re.TS)(Ne,{});return[Qe(Oe),rt(Oe)]},Ne=>({zIndexPopup:Ne.zIndexPopupBase,footerPaddingBlock:Ne.paddingXS,footerPaddingInline:Ne.padding})),Ge=Ce(11575),ke=function(Ne,Oe){var Ue={};for(var xe in Ne)Object.prototype.hasOwnProperty.call(Ne,xe)&&Oe.indexOf(xe)<0&&(Ue[xe]=Ne[xe]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,xe=Object.getOwnPropertySymbols(Ne);Fe<xe.length;Fe++)Oe.indexOf(xe[Fe])<0&&Object.prototype.propertyIsEnumerable.call(Ne,xe[Fe])&&(Ue[xe[Fe]]=Ne[xe[Fe]]);return Ue};const _e=null,tt={distance:180},Xe=Ne=>{var Oe;const{rootClassName:Ue,width:xe,height:Fe,size:He="default",mask:We=!0,push:Ie=tt,open:Te,afterOpenChange:Ee,onClose:Pe,prefixCls:je,getContainer:Ke,style:at,className:Ze,visible:it,afterVisibleChange:pt}=Ne,dt=ke(Ne,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:vt,getPrefixCls:st,direction:ht,drawer:$e}=te.useContext(Le.E_),lt=st("drawer",je),[ft,mt]=Je(lt),wt=Ke===void 0&&vt?()=>vt(document.body):Ke,jt=nt()({"no-mask":!We,[`${lt}-rtl`]:ht==="rtl"},Ue,mt),It=te.useMemo(()=>xe!=null?xe:He==="large"?736:378,[xe,He]),Mt=te.useMemo(()=>Fe!=null?Fe:He==="large"?736:378,[Fe,He]),Kt={motionName:(0,be.m)(lt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},qt=on=>({motionName:(0,be.m)(lt,`panel-motion-${on}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),en=(0,Ge.H)();return ft(te.createElement(ze.BR,null,te.createElement(we.Ux,{status:!0,override:!0},te.createElement(ye,Object.assign({prefixCls:lt,onClose:Pe,maskMotion:Kt,motion:qt},dt,{open:Te!=null?Te:it,mask:We,push:Ie,width:It,height:Mt,style:Object.assign(Object.assign({},$e==null?void 0:$e.style),at),className:nt()($e==null?void 0:$e.className,Ze),rootClassName:jt,getContainer:wt,afterOpenChange:Ee!=null?Ee:pt,panelRef:en}),te.createElement(De,Object.assign({prefixCls:lt},dt,{onClose:Pe}))))))},ct=Ne=>{const{prefixCls:Oe,style:Ue,className:xe,placement:Fe="right"}=Ne,He=ke(Ne,["prefixCls","style","className","placement"]),{getPrefixCls:We}=te.useContext(Le.E_),Ie=We("drawer",Oe),[Te,Ee]=Je(Ie),Pe=nt()(Ie,`${Ie}-pure`,`${Ie}-${Fe}`,Ee,xe);return Te(te.createElement("div",{className:Pe,style:Ue},te.createElement(De,Object.assign({prefixCls:Ie},He))))};Xe._InternalPanelDoNotUseOrYouWillBeFired=ct;var Ye=Xe},91857:function(Ct,Pt,Ce){"use strict";var Be=Ce(59301),nt=Ce(38819),x=Ce(92310),Se=Ce.n(x),he=Ce(31561),ae=Ce(70425),te=Ce(18929),le=Ce(2738),de=Ce(79676),se=Ce(53487),ue=Ce(92343),oe=Ce(36355),ie=Ce(20834),ne=Ce(40875),a=Ce(88088),y=Ce(47211);const E=null,b=ce=>{const{menu:ge,arrow:ve,prefixCls:fe,children:pe,trigger:me,disabled:ye,dropdownRender:be,getPopupContainer:Le,overlayClassName:we,rootClassName:Ae,open:Me,onOpenChange:De,visible:ze,onVisibleChange:qe,mouseEnterDelay:Re=.15,mouseLeaveDelay:ot=.1,autoAdjustOverflow:rt=!0,placement:Qe="",overlay:Je,transitionName:Ge}=ce,{getPopupContainer:ke,getPrefixCls:_e,direction:tt}=Be.useContext(oe.E_),Xe=Be.useMemo(()=>{const Ze=_e();return Ge!==void 0?Ge:Qe.includes("top")?`${Ze}-slide-down`:`${Ze}-slide-up`},[_e,Qe,Ge]),ct=Be.useMemo(()=>Qe?Qe.includes("Center")?Qe.slice(0,Qe.indexOf("Center")):Qe:tt==="rtl"?"bottomRight":"bottomLeft",[Qe,tt]),Ye=_e("dropdown",fe),[Ne,Oe]=(0,y.Z)(Ye),[,Ue]=(0,a.Z)(),xe=Be.Children.only(pe),Fe=(0,ue.Tm)(xe,{className:Se()(`${Ye}-trigger`,{[`${Ye}-rtl`]:tt==="rtl"},xe.props.className),disabled:ye}),He=ye?[]:me;let We;He&&He.includes("contextMenu")&&(We=!0);const[Ie,Te]=(0,te.Z)(!1,{value:Me!=null?Me:ze}),Ee=(0,ae.useEvent)(Ze=>{De==null||De(Ze),qe==null||qe(Ze),Te(Ze)}),Pe=Se()(we,Ae,Oe,{[`${Ye}-rtl`]:tt==="rtl"}),je=(0,de.Z)({arrowPointAtCenter:typeof ve=="object"&&ve.pointAtCenter,autoAdjustOverflow:rt,offset:Ue.marginXXS,arrowWidth:ve?Ue.sizePopupArrow:0,borderRadius:Ue.borderRadius}),Ke=Be.useCallback(()=>{Te(!1)},[]),at=()=>{let Ze;return ge!=null&&ge.items?Ze=Be.createElement(ie.default,Object.assign({},ge)):typeof Je=="function"?Ze=Je():Ze=Je,be&&(Ze=be(Ze)),Ze=Be.Children.only(typeof Ze=="string"?Be.createElement("span",null,Ze):Ze),Be.createElement(ne.J,{prefixCls:`${Ye}-menu`,expandIcon:Be.createElement("span",{className:`${Ye}-menu-submenu-arrow`},Be.createElement(nt.Z,{className:`${Ye}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ke,validator:it=>{let{mode:pt}=it}},Ze)};return Ne(Be.createElement(he.Z,Object.assign({alignPoint:We},(0,le.Z)(ce,["rootClassName"]),{mouseEnterDelay:Re,mouseLeaveDelay:ot,visible:Ie,builtinPlacements:je,arrow:!!ve,overlayClassName:Pe,prefixCls:Ye,getPopupContainer:Le||ke,transitionName:Xe,trigger:He,overlay:at,placement:ct,onVisibleChange:Ee}),Fe))};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,Pt.Z=b},38854:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return a}});var Be=Ce(91857),nt=Ce(92310),x=Ce.n(nt),Se=Ce(59301),he=Ce(18785),ae=Ce(3113),te=Ce(36355),le=Ce(81327),de=Ce(33234),se=Ce(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<z.length;ee++)E.indexOf(z[ee])<0&&Object.prototype.propertyIsEnumerable.call(y,z[ee])&&(b[z[ee]]=y[z[ee]]);return b};const oe=y=>{const{getPopupContainer:E,getPrefixCls:b,direction:z}=Se.useContext(te.E_),{prefixCls:ee,type:re="default",danger:ce,disabled:ge,loading:ve,onClick:fe,htmlType:pe,children:me,className:ye,menu:be,arrow:Le,autoFocus:we,overlay:Ae,trigger:Me,align:De,open:ze,onOpenChange:qe,placement:Re,getPopupContainer:ot,href:rt,icon:Qe=Se.createElement(he.Z,null),title:Je,buttonsRender:Ge=at=>at,mouseEnterDelay:ke,mouseLeaveDelay:_e,overlayClassName:tt,overlayStyle:Xe,destroyPopupOnHide:ct,dropdownRender:Ye}=y,Ne=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"]),Oe=b("dropdown",ee),Ue=`${Oe}-button`,[xe,Fe]=(0,se.Z)(Oe),He={menu:be,arrow:Le,autoFocus:we,align:De,disabled:ge,trigger:ge?[]:Me,onOpenChange:qe,getPopupContainer:ot||E,mouseEnterDelay:ke,mouseLeaveDelay:_e,overlayClassName:tt,overlayStyle:Xe,destroyPopupOnHide:ct,dropdownRender:Ye},{compactSize:We,compactItemClassnames:Ie}=(0,de.ri)(Oe,z),Te=x()(Ue,Ie,ye,Fe);"overlay"in y&&(He.overlay=Ae),"open"in y&&(He.open=ze),"placement"in y?He.placement=Re:He.placement=z==="rtl"?"bottomLeft":"bottomRight";const Ee=Se.createElement(ae.ZP,{type:re,danger:ce,disabled:ge,loading:ve,onClick:fe,htmlType:pe,href:rt,title:Je},me),Pe=Se.createElement(ae.ZP,{type:re,danger:ce,icon:Qe}),[je,Ke]=Ge([Ee,Pe]);return xe(Se.createElement(le.Z.Compact,Object.assign({className:Te,size:We,block:!0},Ne),je,Se.createElement(Be.Z,Object.assign({},He),Ke)))};oe.__ANT_BUTTON=!0;var ie=oe;const ne=Be.Z;ne.Button=ie;var a=ne},47211:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return ue}});var Be=Ce(17313),nt=Ce(13826),x=Ce(92899),Se=Ce(29878),he=Ce(19447),ae=Ce(83116),te=Ce(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:ge,colorTextDisabled:ve,fontSizeIcon:fe,controlPaddingHorizontal:pe,colorBgElevated:me}=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,he.ZP)(oe,{colorBg:me,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:ge,listStyleType:"none",backgroundColor:me,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:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:me,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:ve,backgroundColor:me,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,ge=(E-b*z)/2,{dropdownArrowOffset:ve}=(0,he.fS)({contentRadius:ce}),fe=(0,te.TS)(oe,{menuCls:`${re}-menu`,rootPrefixCls:ne,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ve,dropdownPaddingVertical:ge,dropdownEdgeChildPadding:ee});return[se(fe),de(fe)]},oe=>({zIndexPopup:oe.zIndexPopupBase+50}))},8628:function(Ct,Pt,Ce){"use strict";var Be=Ce(59301),nt=Ce(34280),x=Ce(56762),Se=Ce(69507);function he(){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}Pt.Z=he},45818:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{D:function(){return ee},Z:function(){return ge}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(fe,pe){return nt.createElement(he.Z,(0,Be.Z)({},fe,{ref:pe,icon:Se}))},te=nt.forwardRef(ae),le=te,de=Ce(33853),se=Ce(38819),ue=Ce(92310),oe=Ce.n(ue),ie=Ce(2738),a=ve=>!isNaN(parseFloat(ve))&&isFinite(ve),y=Ce(36355),E=Ce(84966),b=function(ve,fe){var pe={};for(var me in ve)Object.prototype.hasOwnProperty.call(ve,me)&&fe.indexOf(me)<0&&(pe[me]=ve[me]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,me=Object.getOwnPropertySymbols(ve);ye<me.length;ye++)fe.indexOf(me[ye])<0&&Object.prototype.propertyIsEnumerable.call(ve,me[ye])&&(pe[me[ye]]=ve[me[ye]]);return pe};const z={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ee=nt.createContext({}),re=(()=>{let ve=0;return function(){let fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ve+=1,`${fe}${ve}`}})();var ge=nt.forwardRef((ve,fe)=>{const{prefixCls:pe,className:me,trigger:ye,children:be,defaultCollapsed:Le=!1,theme:we="dark",style:Ae={},collapsible:Me=!1,reverseArrow:De=!1,width:ze=200,collapsedWidth:qe=80,zeroWidthTriggerStyle:Re,breakpoint:ot,onCollapse:rt,onBreakpoint:Qe}=ve,Je=b(ve,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ge}=(0,nt.useContext)(E.Gs),[ke,_e]=(0,nt.useState)("collapsed"in ve?ve.collapsed:Le),[tt,Xe]=(0,nt.useState)(!1);(0,nt.useEffect)(()=>{"collapsed"in ve&&_e(ve.collapsed)},[ve.collapsed]);const ct=(Fe,He)=>{"collapsed"in ve||_e(Fe),rt==null||rt(Fe,He)},Ye=(0,nt.useRef)();Ye.current=Fe=>{Xe(Fe.matches),Qe==null||Qe(Fe.matches),ke!==Fe.matches&&ct(Fe.matches,"responsive")},(0,nt.useEffect)(()=>{function Fe(We){return Ye.current(We)}let He;if(typeof window!="undefined"){const{matchMedia:We}=window;if(We&&ot&&ot in z){He=We(`(max-width: ${z[ot]})`);try{He.addEventListener("change",Fe)}catch(Ie){He.addListener(Fe)}Fe(He)}}return()=>{try{He==null||He.removeEventListener("change",Fe)}catch(We){He==null||He.removeListener(Fe)}}},[ot]),(0,nt.useEffect)(()=>{const Fe=re("ant-sider-");return Ge.addSider(Fe),()=>Ge.removeSider(Fe)},[]);const Ne=()=>{ct(!ke,"clickTrigger")},{getPrefixCls:Oe}=(0,nt.useContext)(y.E_),Ue=()=>{const Fe=Oe("layout-sider",pe),He=(0,ie.Z)(Je,["collapsed"]),We=ke?qe:ze,Ie=a(We)?`${We}px`:String(We),Te=parseFloat(String(qe||0))===0?nt.createElement("span",{onClick:Ne,className:oe()(`${Fe}-zero-width-trigger`,`${Fe}-zero-width-trigger-${De?"right":"left"}`),style:Re},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)}[ke?"collapsed":"expanded"],Ke=ye!==null?Te||nt.createElement("div",{className:`${Fe}-trigger`,onClick:Ne,style:{width:Ie}},ye||je):null,at=Object.assign(Object.assign({},Ae),{flex:`0 0 ${Ie}`,maxWidth:Ie,minWidth:Ie,width:Ie}),Ze=oe()(Fe,`${Fe}-${we}`,{[`${Fe}-collapsed`]:!!ke,[`${Fe}-has-trigger`]:Me&&ye!==null&&!Te,[`${Fe}-below`]:!!tt,[`${Fe}-zero-width`]:parseFloat(Ie)===0},me);return nt.createElement("aside",Object.assign({className:Ze},He,{style:at,ref:fe}),nt.createElement("div",{className:`${Fe}-children`},be),Me||tt&&Te?Ke:null)},xe=nt.useMemo(()=>({siderCollapsed:ke}),[ke]);return nt.createElement(ee.Provider,{value:xe},Ue())})},84966:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{VY:function(){return ee},$_:function(){return z},h4:function(){return b},Gs:function(){return ie},ZP:function(){return re}});var Be=Ce(94480),nt=Ce(92310),x=Ce.n(nt),Se=Ce(2738),he=Ce(59301),ae=Ce(36355),te=Ce(83116),de=ce=>{const{componentCls:ge,bodyBg:ve,lightSiderBg:fe,lightTriggerBg:pe,lightTriggerColor:me}=ce;return{[`${ge}-sider-light`]:{background:fe,[`${ge}-sider-trigger`]:{color:me,background:pe},[`${ge}-sider-zero-width-trigger`]:{color:me,background:pe,border:`1px solid ${ve}`,borderInlineStart:0}}}};const se=ce=>{const{antCls:ge,componentCls:ve,colorText:fe,triggerColor:pe,footerBg:me,triggerBg:ye,headerHeight:be,headerPadding:Le,headerColor:we,footerPadding:Ae,triggerHeight:Me,zeroTriggerHeight:De,zeroTriggerWidth:ze,motionDurationMid:qe,motionDurationSlow:Re,fontSize:ot,borderRadius:rt,bodyBg:Qe,headerBg:Je,siderBg:Ge}=ce;return{[ve]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Qe,"&, *":{boxSizing:"border-box"},[`&${ve}-has-sider`]:{flexDirection:"row",[`> ${ve}, > ${ve}-content`]:{width:0}},[`${ve}-header, &${ve}-footer`]:{flex:"0 0 auto"},[`${ve}-sider`]:{position:"relative",minWidth:0,background:Ge,transition:`all ${qe}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ge}-menu${ge}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Me},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Me,color:pe,lineHeight:`${Me}px`,textAlign:"center",background:ye,cursor:"pointer",transition:`all ${qe}`},"&-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:rt,borderEndEndRadius:rt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Re} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Re}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-ze,borderStartStartRadius:rt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:rt}}}}},de(ce)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:be,padding:Le,color:we,lineHeight:`${be}px`,background:Je,[`${ge}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:Ae,color:fe,fontSize:ot,background:me},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var ue=(0,te.Z)("Layout",ce=>[se(ce)],ce=>{const{colorBgLayout:ge,controlHeight:ve,controlHeightLG:fe,colorText:pe,controlHeightSM:me,marginXXS:ye,colorTextLightSolid:be,colorBgContainer:Le}=ce,we=fe*1.25;return{colorBgHeader:"#001529",colorBgBody:ge,colorBgTrigger:"#002140",bodyBg:ge,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${we}px`,headerColor:pe,footerPadding:`${me}px ${we}px`,footerBg:ge,siderBg:"#001529",triggerHeight:fe+ye*2,triggerBg:"#002140",triggerColor:be,zeroTriggerWidth:fe,zeroTriggerHeight:fe,lightSiderBg:Le,lightTriggerBg:Le,lightTriggerColor:pe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),oe=function(ce,ge){var ve={};for(var fe in ce)Object.prototype.hasOwnProperty.call(ce,fe)&&ge.indexOf(fe)<0&&(ve[fe]=ce[fe]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,fe=Object.getOwnPropertySymbols(ce);pe<fe.length;pe++)ge.indexOf(fe[pe])<0&&Object.prototype.propertyIsEnumerable.call(ce,fe[pe])&&(ve[fe[pe]]=ce[fe[pe]]);return ve};const ie=he.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ne(ce){let{suffixCls:ge,tagName:ve,displayName:fe}=ce;return pe=>he.forwardRef((ye,be)=>he.createElement(pe,Object.assign({ref:be,suffixCls:ge,tagName:ve},ye)))}const a=he.forwardRef((ce,ge)=>{const{prefixCls:ve,suffixCls:fe,className:pe,tagName:me}=ce,ye=oe(ce,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:be}=he.useContext(ae.E_),Le=be("layout",ve),[we,Ae]=ue(Le),Me=fe?`${Le}-${fe}`:Le;return we(he.createElement(me,Object.assign({className:x()(ve||Me,pe,Ae),ref:ge},ye)))}),y=he.forwardRef((ce,ge)=>{const{direction:ve}=he.useContext(ae.E_),[fe,pe]=he.useState([]),{prefixCls:me,className:ye,rootClassName:be,children:Le,hasSider:we,tagName:Ae,style:Me}=ce,De=oe(ce,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ze=(0,Se.Z)(De,["suffixCls"]),{getPrefixCls:qe,layout:Re}=he.useContext(ae.E_),ot=qe("layout",me),[rt,Qe]=ue(ot),Je=x()(ot,{[`${ot}-has-sider`]:typeof we=="boolean"?we:fe.length>0,[`${ot}-rtl`]:ve==="rtl"},Re==null?void 0:Re.className,ye,be,Qe),Ge=he.useMemo(()=>({siderHook:{addSider:ke=>{pe(_e=>[].concat((0,Be.Z)(_e),[ke]))},removeSider:ke=>{pe(_e=>_e.filter(tt=>tt!==ke))}}}),[]);return rt(he.createElement(ie.Provider,{value:Ge},he.createElement(Ae,Object.assign({ref:ge,className:Je,style:Object.assign(Object.assign({},Re==null?void 0:Re.style),Me)},ze),Le)))}),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,Pt,Ce){"use strict";Ce.d(Pt,{J:function(){return ae}});var Be=Ce(59301),nt=Ce(33234),x=Ce(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<se.length;ue++)le.indexOf(se[ue])<0&&Object.prototype.propertyIsEnumerable.call(te,se[ue])&&(de[se[ue]]=te[se[ue]]);return de};const he=Be.createContext(null),ae=Be.forwardRef((te,le)=>{const{children:de}=te,se=Se(te,["children"]),ue=Be.useContext(he),oe=Be.useMemo(()=>Object.assign(Object.assign({},ue),se),[ue,se.prefixCls,se.mode,se.selectable]);return Be.createElement(he.Provider,{value:oe},Be.createElement(nt.BR,null,(0,x.supportNodeRef)(de)?Be.cloneElement(de,{ref:le}):de))});Pt.Z=he},20834:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{default:function(){return xe}});var Be=Ce(15285),nt=Ce(59301),x=Ce(45818),Se=Ce(92310),he=Ce.n(Se),ae=Ce(36355),te=function(Fe,He){var We={};for(var Ie in Fe)Object.prototype.hasOwnProperty.call(Fe,Ie)&&He.indexOf(Ie)<0&&(We[Ie]=Fe[Ie]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Ie=Object.getOwnPropertySymbols(Fe);Te<Ie.length;Te++)He.indexOf(Ie[Te])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Ie[Te])&&(We[Ie[Te]]=Fe[Ie[Te]]);return We},de=Fe=>{const{prefixCls:He,className:We,dashed:Ie}=Fe,Te=te(Fe,["prefixCls","className","dashed"]),{getPrefixCls:Ee}=nt.useContext(ae.E_),Pe=Ee("menu",He),je=he()({[`${Pe}-item-divider-dashed`]:!!Ie},We);return nt.createElement(Be.iz,Object.assign({className:je},Te))},se=Ce(11592),ue=Ce(2738),oe=Ce(6848),ie=Ce(92343),a=(0,nt.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),E=Fe=>{var He;const{className:We,children:Ie,icon:Te,title:Ee,danger:Pe}=Fe,{prefixCls:je,firstLevel:Ke,direction:at,disableMenuItemTitleTooltip:Ze,inlineCollapsed:it}=nt.useContext(a),pt=lt=>{const ft=nt.createElement("span",{className:`${je}-title-content`},Ie);return(!Te||(0,ie.l$)(Ie)&&Ie.type==="span")&&Ie&<&&Ke&&typeof Ie=="string"?nt.createElement("div",{className:`${je}-inline-collapsed-noicon`},Ie.charAt(0)):ft},{siderCollapsed:dt}=nt.useContext(x.D);let vt=Ee;typeof Ee=="undefined"?vt=Ke?Ie:"":Ee===!1&&(vt="");const st={title:vt};!dt&&!it&&(st.title=null,st.open=!1);const ht=(0,se.Z)(Ie).length;let $e=nt.createElement(Be.ck,Object.assign({},(0,ue.Z)(Fe,["title","icon","danger"]),{className:he()({[`${je}-item-danger`]:Pe,[`${je}-item-only-child`]:(Te?ht+1:ht)===1},We),title:typeof Ee=="string"?Ee:void 0}),(0,ie.Tm)(Te,{className:he()((0,ie.l$)(Te)?(He=Te.props)===null||He===void 0?void 0:He.className:"",`${je}-item-icon`)}),pt(it));return Ze||($e=nt.createElement(oe.Z,Object.assign({},st,{placement:at==="rtl"?"left":"right",overlayClassName:`${je}-inline-collapsed-tooltip`}),$e)),$e},z=Fe=>{var He;const{popupClassName:We,icon:Ie,title:Te,theme:Ee}=Fe,Pe=nt.useContext(a),{prefixCls:je,inlineCollapsed:Ke,theme:at}=Pe,Ze=(0,Be.Xl)();let it;if(!Ie)it=Ke&&!Ze.length&&Te&&typeof Te=="string"?nt.createElement("div",{className:`${je}-inline-collapsed-noicon`},Te.charAt(0)):nt.createElement("span",{className:`${je}-title-content`},Te);else{const dt=(0,ie.l$)(Te)&&Te.type==="span";it=nt.createElement(nt.Fragment,null,(0,ie.Tm)(Ie,{className:he()((0,ie.l$)(Ie)?(He=Ie.props)===null||He===void 0?void 0:He.className:"",`${je}-item-icon`)}),dt?Te:nt.createElement("span",{className:`${je}-title-content`},Te))}const pt=nt.useMemo(()=>Object.assign(Object.assign({},Pe),{firstLevel:!1}),[Pe]);return nt.createElement(a.Provider,{value:pt},nt.createElement(Be.Wd,Object.assign({},(0,ue.Z)(Fe,["icon"]),{title:it,popupClassName:he()(je,We,`${je}-${Ee||at}`)})))},ee=Ce(18785),re=Ce(70425),ce=Ce(62892),ge=Ce(40875),ve=function(Fe,He){var We={};for(var Ie in Fe)Object.prototype.hasOwnProperty.call(Fe,Ie)&&He.indexOf(Ie)<0&&(We[Ie]=Fe[Ie]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Ie=Object.getOwnPropertySymbols(Fe);Te<Ie.length;Te++)He.indexOf(Ie[Te])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Ie[Te])&&(We[Ie[Te]]=Fe[Ie[Te]]);return We};function fe(Fe){return(Fe||[]).map((He,We)=>{if(He&&typeof He=="object"){const Ie=He,{label:Te,children:Ee,key:Pe,type:je}=Ie,Ke=ve(Ie,["label","children","key","type"]),at=Pe!=null?Pe:`tmp-${We}`;return Ee||je==="group"?je==="group"?nt.createElement(Be.BW,Object.assign({key:at},Ke,{title:Te}),fe(Ee)):nt.createElement(z,Object.assign({key:at},Ke,{title:Te}),fe(Ee)):je==="divider"?nt.createElement(de,Object.assign({key:at},Ke)):nt.createElement(E,Object.assign({key:at},Ke),Te)}return null}).filter(He=>He)}function pe(Fe){return nt.useMemo(()=>Fe&&fe(Fe),[Fe])}var me=Ce(64993),ye=Ce(17313),be=Ce(8378),Le=Ce(13826),we=Ce(29878),Ae=Ce(83116),Me=Ce(37613),ze=Fe=>{const{componentCls:He,motionDurationSlow:We,horizontalLineHeight:Ie,colorSplit:Te,lineWidth:Ee,lineType:Pe,itemPaddingInline:je}=Fe;return{[`${He}-horizontal`]:{lineHeight:Ie,border:0,borderBottom:`${Ee}px ${Pe} ${Te}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${He}-item, ${He}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:je},[`> ${He}-item:hover,
|
|
> ${He}-item-active,
|
|
> ${He}-submenu ${He}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${He}-item, ${He}-submenu-title`]:{transition:[`border-color ${We}`,`background ${We}`].join(",")},[`${He}-submenu-arrow`]:{display:"none"}}}},Re=Fe=>{let{componentCls:He,menuArrowOffset:We}=Fe;return{[`${He}-rtl`]:{direction:"rtl"},[`${He}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${He}-rtl${He}-vertical,
|
|
${He}-submenu-rtl ${He}-vertical`]:{[`${He}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${We})`},"&::after":{transform:`rotate(45deg) translateY(${We})`}}}}};const ot=Fe=>Object.assign({},(0,ye.oN)(Fe));var Qe=(Fe,He)=>{const{componentCls:We,itemColor:Ie,itemSelectedColor:Te,groupTitleColor:Ee,itemBg:Pe,subMenuItemBg:je,itemSelectedBg:Ke,activeBarHeight:at,activeBarWidth:Ze,activeBarBorderWidth:it,motionDurationSlow:pt,motionEaseInOut:dt,motionEaseOut:vt,itemPaddingInline:st,motionDurationMid:ht,itemHoverColor:$e,lineType:lt,colorSplit:ft,itemDisabledColor:mt,dangerItemColor:wt,dangerItemHoverColor:jt,dangerItemSelectedColor:It,dangerItemActiveBg:Mt,dangerItemSelectedBg:Kt,itemHoverBg:qt,itemActiveBg:en,menuSubMenuBg:on,horizontalItemSelectedColor:wn,horizontalItemSelectedBg:Nn,horizontalItemBorderRadius:an,horizontalItemHoverBg:Zn,popupBg:Rn}=Fe;return{[`${We}-${He}, ${We}-${He} > ${We}`]:{color:Ie,background:Pe,[`&${We}-root:focus-visible`]:Object.assign({},ot(Fe)),[`${We}-item-group-title`]:{color:Ee},[`${We}-submenu-selected`]:{[`> ${We}-submenu-title`]:{color:Te}},[`${We}-item-disabled, ${We}-submenu-disabled`]:{color:`${mt} !important`},[`${We}-item:not(${We}-item-selected):not(${We}-submenu-selected)`]:{[`&:hover, > ${We}-submenu-title:hover`]:{color:$e}},[`&:not(${We}-horizontal)`]:{[`${We}-item:not(${We}-item-selected)`]:{"&:hover":{backgroundColor:qt},"&:active":{backgroundColor:en}},[`${We}-submenu-title`]:{"&:hover":{backgroundColor:qt},"&:active":{backgroundColor:en}}},[`${We}-item-danger`]:{color:wt,[`&${We}-item:hover`]:{[`&:not(${We}-item-selected):not(${We}-submenu-selected)`]:{color:jt}},[`&${We}-item:active`]:{background:Mt}},[`${We}-item a`]:{"&, &:hover":{color:"inherit"}},[`${We}-item-selected`]:{color:Te,[`&${We}-item-danger`]:{color:It},"a, a:hover":{color:"inherit"}},[`& ${We}-item-selected`]:{backgroundColor:Ke,[`&${We}-item-danger`]:{backgroundColor:Kt}},[`${We}-item, ${We}-submenu-title`]:{[`&:not(${We}-item-disabled):focus-visible`]:Object.assign({},ot(Fe))},[`&${We}-submenu > ${We}`]:{backgroundColor:on},[`&${We}-popup > ${We}`]:{backgroundColor:Rn},[`&${We}-horizontal`]:Object.assign(Object.assign({},He==="dark"?{borderBottom:0}:{}),{[`> ${We}-item, > ${We}-submenu`]:{top:it,marginTop:-it,marginBottom:0,borderRadius:an,"&::after":{position:"absolute",insetInline:st,bottom:0,borderBottom:`${at}px solid transparent`,transition:`border-color ${pt} ${dt}`,content:'""'},"&:hover, &-active, &-open":{background:Zn,"&::after":{borderBottomWidth:at,borderBottomColor:wn}},"&-selected":{color:wn,backgroundColor:Nn,"&:hover":{backgroundColor:Nn},"&::after":{borderBottomWidth:at,borderBottomColor:wn}}}}),[`&${We}-root`]:{[`&${We}-inline, &${We}-vertical`]:{borderInlineEnd:`${it}px ${lt} ${ft}`}},[`&${We}-inline`]:{[`${We}-sub${We}-inline`]:{background:je},[`${We}-item, ${We}-submenu-title`]:it&&Ze?{width:`calc(100% + ${it}px)`}:{},[`${We}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ze}px solid ${Te}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${ht} ${vt}`,`opacity ${ht} ${vt}`].join(","),content:'""'},[`&${We}-item-danger`]:{"&::after":{borderInlineEndColor:It}}},[`${We}-selected, ${We}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${ht} ${dt}`,`opacity ${ht} ${dt}`].join(",")}}}}}};const Je=Fe=>{const{componentCls:He,itemHeight:We,itemMarginInline:Ie,padding:Te,menuArrowSize:Ee,marginXS:Pe,itemMarginBlock:je}=Fe,Ke=Te+Ee+Pe;return{[`${He}-item`]:{position:"relative",overflow:"hidden"},[`${He}-item, ${He}-submenu-title`]:{height:We,lineHeight:`${We}px`,paddingInline:Te,overflow:"hidden",textOverflow:"ellipsis",marginInline:Ie,marginBlock:je,width:`calc(100% - ${Ie*2}px)`},[`> ${He}-item,
|
|
> ${He}-submenu > ${He}-submenu-title`]:{height:We,lineHeight:`${We}px`},[`${He}-item-group-list ${He}-submenu-title,
|
|
${He}-submenu-title`]:{paddingInlineEnd:Ke}}};var ke=Fe=>{const{componentCls:He,iconCls:We,itemHeight:Ie,colorTextLightSolid:Te,dropdownWidth:Ee,controlHeightLG:Pe,motionDurationMid:je,motionEaseOut:Ke,paddingXL:at,itemMarginInline:Ze,fontSizeLG:it,motionDurationSlow:pt,paddingXS:dt,boxShadowSecondary:vt,collapsedWidth:st,collapsedIconSize:ht}=Fe,$e={height:Ie,lineHeight:`${Ie}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[He]:{"&-inline, &-vertical":Object.assign({[`&${He}-root`]:{boxShadow:"none"}},Je(Fe))},[`${He}-submenu-popup`]:{[`${He}-vertical`]:Object.assign(Object.assign({},Je(Fe)),{boxShadow:vt})}},{[`${He}-submenu-popup ${He}-vertical${He}-sub`]:{minWidth:Ee,maxHeight:`calc(100vh - ${Pe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${He}-inline`]:{width:"100%",[`&${He}-root`]:{[`${He}-item, ${He}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${pt}`,`background ${pt}`,`padding ${je} ${Ke}`].join(","),[`> ${He}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${He}-sub${He}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${He}-submenu > ${He}-submenu-title`]:$e,[`& ${He}-item-group-title`]:{paddingInlineStart:at}},[`${He}-item`]:$e}},{[`${He}-inline-collapsed`]:{width:st,[`&${He}-root`]:{[`${He}-item, ${He}-submenu ${He}-submenu-title`]:{[`> ${He}-inline-collapsed-noicon`]:{fontSize:it,textAlign:"center"}}},[`> ${He}-item,
|
|
> ${He}-item-group > ${He}-item-group-list > ${He}-item,
|
|
> ${He}-item-group > ${He}-item-group-list > ${He}-submenu > ${He}-submenu-title,
|
|
> ${He}-submenu > ${He}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${it/2}px - ${Ze}px)`,textOverflow:"clip",[`
|
|
${He}-submenu-arrow,
|
|
${He}-submenu-expand-icon
|
|
`]:{opacity:0},[`${He}-item-icon, ${We}`]:{margin:0,fontSize:ht,lineHeight:`${Ie}px`,"+ span":{display:"inline-block",opacity:0}}},[`${He}-item-icon, ${We}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${He}-item-icon, ${We}`]:{display:"none"},"a, a:hover":{color:Te}},[`${He}-item-group-title`]:Object.assign(Object.assign({},ye.vS),{paddingInline:dt})}}]};const _e=Fe=>{const{componentCls:He,motionDurationSlow:We,motionDurationMid:Ie,motionEaseInOut:Te,motionEaseOut:Ee,iconCls:Pe,iconSize:je,iconMarginInlineEnd:Ke}=Fe;return{[`${He}-item, ${He}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${We}`,`background ${We}`,`padding ${We} ${Te}`].join(","),[`${He}-item-icon, ${Pe}`]:{minWidth:je,fontSize:je,transition:[`font-size ${Ie} ${Ee}`,`margin ${We} ${Te}`,`color ${We}`].join(","),"+ span":{marginInlineStart:Ke,opacity:1,transition:[`opacity ${We} ${Te}`,`margin ${We}`,`color ${We}`].join(",")}},[`${He}-item-icon`]:Object.assign({},(0,ye.Ro)()),[`&${He}-item-only-child`]:{[`> ${Pe}, > ${He}-item-icon`]:{marginInlineEnd:0}}},[`${He}-item-disabled, ${He}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${He}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},tt=Fe=>{const{componentCls:He,motionDurationSlow:We,motionEaseInOut:Ie,borderRadius:Te,menuArrowSize:Ee,menuArrowOffset:Pe}=Fe;return{[`${He}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Fe.margin,width:Ee,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${We} ${Ie}, opacity ${We}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ee*.6,height:Ee*.15,backgroundColor:"currentcolor",borderRadius:Te,transition:[`background ${We} ${Ie}`,`transform ${We} ${Ie}`,`top ${We} ${Ie}`,`color ${We} ${Ie}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Pe})`},"&::after":{transform:`rotate(-45deg) translateY(${Pe})`}}}}},Xe=Fe=>{const{antCls:He,componentCls:We,fontSize:Ie,motionDurationSlow:Te,motionDurationMid:Ee,motionEaseInOut:Pe,paddingXS:je,padding:Ke,colorSplit:at,lineWidth:Ze,zIndexPopup:it,borderRadiusLG:pt,subMenuItemBorderRadius:dt,menuArrowSize:vt,menuArrowOffset:st,lineType:ht,menuPanelMaskInset:$e,groupTitleLineHeight:lt,groupTitleFontSize:ft}=Fe;return[{"":{[`${We}`]:Object.assign(Object.assign({},(0,ye.dF)()),{"&-hidden":{display:"none"}})},[`${We}-submenu-hidden`]:{display:"none"}},{[We]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ye.Wf)(Fe)),(0,ye.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Ie,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Te} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${We}-item`]:{flex:"none"}},[`${We}-item, ${We}-submenu, ${We}-submenu-title`]:{borderRadius:Fe.itemBorderRadius},[`${We}-item-group-title`]:{padding:`${je}px ${Ke}px`,fontSize:ft,lineHeight:lt,transition:`all ${Te}`},[`&-horizontal ${We}-submenu`]:{transition:[`border-color ${Te} ${Pe}`,`background ${Te} ${Pe}`].join(",")},[`${We}-submenu, ${We}-submenu-inline`]:{transition:[`border-color ${Te} ${Pe}`,`background ${Te} ${Pe}`,`padding ${Ee} ${Pe}`].join(",")},[`${We}-submenu ${We}-sub`]:{cursor:"initial",transition:[`background ${Te} ${Pe}`,`padding ${Te} ${Pe}`].join(",")},[`${We}-title-content`]:{transition:`color ${Te}`},[`${We}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${We}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:at,borderStyle:ht,borderWidth:0,borderTopWidth:Ze,marginBlock:Ze,padding:0,"&-dashed":{borderStyle:"dashed"}}}),_e(Fe)),{[`${We}-item-group`]:{[`${We}-item-group-list`]:{margin:0,padding:0,[`${We}-item, ${We}-submenu-title`]:{paddingInline:`${Ie*2}px ${Ke}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:it,borderRadius:pt,boxShadow:"none",transformOrigin:"0 0",[`&${We}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${$e}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:$e},"\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:Fe.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Fe.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Fe.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Fe.paddingXS},[`> ${We}`]:Object.assign(Object.assign(Object.assign({borderRadius:pt},_e(Fe)),tt(Fe)),{[`${We}-item, ${We}-submenu > ${We}-submenu-title`]:{borderRadius:dt},[`${We}-submenu-title::after`]:{transition:`transform ${Te} ${Pe}`}})}}),tt(Fe)),{[`&-inline-collapsed ${We}-submenu-arrow,
|
|
&-inline ${We}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${st})`},"&::after":{transform:`rotate(45deg) translateX(-${st})`}},[`${We}-submenu-open${We}-submenu-inline > ${We}-submenu-title > ${We}-submenu-arrow`]:{transform:`translateY(-${vt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${st})`},"&::before":{transform:`rotate(45deg) translateX(${st})`}}})},{[`${He}-layout-header`]:{[We]:{lineHeight:"inherit"}}}]};var ct=(Fe,He)=>(0,Ae.Z)("Menu",Ie=>{if(He===!1)return[];const{colorBgElevated:Te,colorPrimary:Ee,colorTextLightSolid:Pe,controlHeightLG:je,fontSize:Ke,darkItemColor:at,darkDangerItemColor:Ze,darkItemBg:it,darkSubMenuItemBg:pt,darkItemSelectedColor:dt,darkItemSelectedBg:vt,darkDangerItemSelectedBg:st,darkItemHoverBg:ht,darkGroupTitleColor:$e,darkItemHoverColor:lt,darkItemDisabledColor:ft,darkDangerItemHoverColor:mt,darkDangerItemSelectedColor:wt,darkDangerItemActiveBg:jt}=Ie,It=Ke/7*5,Mt=(0,Me.TS)(Ie,{menuArrowSize:It,menuHorizontalHeight:je*1.15,menuArrowOffset:`${It*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Te}),Kt=(0,Me.TS)(Mt,{itemColor:at,itemHoverColor:lt,groupTitleColor:$e,itemSelectedColor:dt,itemBg:it,popupBg:it,subMenuItemBg:pt,itemActiveBg:"transparent",itemSelectedBg:vt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:ht,itemDisabledColor:ft,dangerItemColor:Ze,dangerItemHoverColor:mt,dangerItemSelectedColor:wt,dangerItemActiveBg:jt,dangerItemSelectedBg:st,menuSubMenuBg:pt,horizontalItemSelectedColor:Pe,horizontalItemSelectedBg:Ee});return[Xe(Mt),ze(Mt),ke(Mt),Qe(Mt,"light"),Qe(Kt,"dark"),Re(Mt),(0,be.Z)(Mt),(0,Le.oN)(Mt,"slide-up"),(0,Le.oN)(Mt,"slide-down"),(0,we._y)(Mt,"zoom-big")]},Ie=>{const{colorPrimary:Te,colorError:Ee,colorTextDisabled:Pe,colorErrorBg:je,colorText:Ke,colorTextDescription:at,colorBgContainer:Ze,colorFillAlter:it,colorFillContent:pt,lineWidth:dt,lineWidthBold:vt,controlItemBgActive:st,colorBgTextHover:ht,controlHeightLG:$e,lineHeight:lt,colorBgElevated:ft,marginXXS:mt,padding:wt,fontSize:jt,controlHeightSM:It,fontSizeLG:Mt,colorTextLightSolid:Kt,colorErrorHover:qt}=Ie,en=new me.C(Kt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Ie.zIndexPopupBase+50,radiusItem:Ie.borderRadiusLG,itemBorderRadius:Ie.borderRadiusLG,radiusSubMenuItem:Ie.borderRadiusSM,subMenuItemBorderRadius:Ie.borderRadiusSM,colorItemText:Ke,itemColor:Ke,colorItemTextHover:Ke,itemHoverColor:Ke,colorItemTextHoverHorizontal:Te,horizontalItemHoverColor:Te,colorGroupTitle:at,groupTitleColor:at,colorItemTextSelected:Te,itemSelectedColor:Te,colorItemTextSelectedHorizontal:Te,horizontalItemSelectedColor:Te,colorItemBg:Ze,itemBg:Ze,colorItemBgHover:ht,itemHoverBg:ht,colorItemBgActive:pt,itemActiveBg:st,colorSubItemBg:it,subMenuItemBg:it,colorItemBgSelected:st,itemSelectedBg:st,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:vt,activeBarHeight:vt,colorActiveBarBorderSize:dt,activeBarBorderWidth:dt,colorItemTextDisabled:Pe,itemDisabledColor:Pe,colorDangerItemText:Ee,dangerItemColor:Ee,colorDangerItemTextHover:Ee,dangerItemHoverColor:Ee,colorDangerItemTextSelected:Ee,dangerItemSelectedColor:Ee,colorDangerItemBgActive:je,dangerItemActiveBg:je,colorDangerItemBgSelected:je,dangerItemSelectedBg:je,itemMarginInline:Ie.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:$e,groupTitleLineHeight:lt,collapsedWidth:$e*2,popupBg:ft,itemMarginBlock:mt,itemPaddingInline:wt,horizontalLineHeight:`${$e*1.15}px`,iconSize:jt,iconMarginInlineEnd:It-jt,collapsedIconSize:Mt,groupTitleFontSize:jt,darkItemDisabledColor:new me.C(Kt).setAlpha(.25).toRgbString(),darkItemColor:en,darkDangerItemColor:Ee,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Kt,darkItemSelectedBg:Te,darkDangerItemSelectedBg:Ee,darkItemHoverBg:"transparent",darkGroupTitleColor:en,darkItemHoverColor:Kt,darkDangerItemHoverColor:qt,darkDangerItemSelectedColor:Kt,darkDangerItemActiveBg:Ee}},{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"]]})(Fe),Ye=function(Fe,He){var We={};for(var Ie in Fe)Object.prototype.hasOwnProperty.call(Fe,Ie)&&He.indexOf(Ie)<0&&(We[Ie]=Fe[Ie]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Ie=Object.getOwnPropertySymbols(Fe);Te<Ie.length;Te++)He.indexOf(Ie[Te])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Ie[Te])&&(We[Ie[Te]]=Fe[Ie[Te]]);return We},Oe=(0,nt.forwardRef)((Fe,He)=>{var We,Ie;const Te=nt.useContext(ge.Z),Ee=Te||{},{getPrefixCls:Pe,getPopupContainer:je,direction:Ke,menu:at}=nt.useContext(ae.E_),Ze=Pe(),{prefixCls:it,className:pt,style:dt,theme:vt="light",expandIcon:st,_internalDisableMenuItemTitleTooltip:ht,inlineCollapsed:$e,siderCollapsed:lt,items:ft,children:mt,rootClassName:wt,mode:jt,selectable:It,onClick:Mt,overflowedIndicatorPopupClassName:Kt}=Fe,qt=Ye(Fe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),en=(0,ue.Z)(qt,["collapsedWidth"]),on=pe(ft)||mt;(We=Ee.validator)===null||We===void 0||We.call(Ee,{mode:jt});const wn=(0,re.useEvent)(function(){var jn;Mt==null||Mt.apply(void 0,arguments),(jn=Ee.onClick)===null||jn===void 0||jn.call(Ee)}),Nn=Ee.mode||jt,an=It!=null?It:Ee.selectable,Zn=nt.useMemo(()=>lt!==void 0?lt:$e,[$e,lt]),Rn={horizontal:{motionName:`${Ze}-slide-up`},inline:(0,ce.Z)(Ze),other:{motionName:`${Ze}-zoom-big`}},An=Pe("menu",it||Ee.prefixCls),[Vn,dr]=ct(An,!Te),zt=he()(`${An}-${vt}`,at==null?void 0:at.className,pt);let Qt;if(typeof st=="function")Qt=st;else if(st===null||st===!1)Qt=null;else if(Ee.expandIcon===null||Ee.expandIcon===!1)Qt=null;else{const jn=st!=null?st:Ee.expandIcon;Qt=(0,ie.Tm)(jn,{className:he()(`${An}-submenu-expand-icon`,(0,ie.l$)(jn)?(Ie=jn.props)===null||Ie===void 0?void 0:Ie.className:"")})}const gn=nt.useMemo(()=>({prefixCls:An,inlineCollapsed:Zn||!1,direction:Ke,firstLevel:!0,theme:vt,mode:Nn,disableMenuItemTitleTooltip:ht}),[An,Zn,Ke,ht,vt]);return Vn(nt.createElement(ge.Z.Provider,{value:null},nt.createElement(a.Provider,{value:gn},nt.createElement(Be.ZP,Object.assign({getPopupContainer:je,overflowedIndicator:nt.createElement(ee.Z,null),overflowedIndicatorPopupClassName:he()(An,`${An}-${vt}`,Kt),mode:Nn,selectable:an,onClick:wn},en,{inlineCollapsed:Zn,style:Object.assign(Object.assign({},at==null?void 0:at.style),dt),className:zt,prefixCls:An,direction:Ke,defaultMotions:Rn,expandIcon:Qt,ref:He,rootClassName:he()(wt,dr)}),on))))});const Ue=(0,nt.forwardRef)((Fe,He)=>{const We=(0,nt.useRef)(null),Ie=nt.useContext(x.D);return(0,nt.useImperativeHandle)(He,()=>({menu:We.current,focus:Te=>{var Ee;(Ee=We.current)===null||Ee===void 0||Ee.focus(Te)}})),nt.createElement(Oe,Object.assign({ref:We},Fe,Ie))});Ue.Item=E,Ue.SubMenu=z,Ue.Divider=de,Ue.ItemGroup=Be.BW;var xe=Ue},58421:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return Ee}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(je,Ke){return nt.createElement(he.Z,(0,Be.Z)({},je,{ref:Ke,icon:Se}))},te=nt.forwardRef(ae),le=te,de=Ce(49198),se=Ce(33853),ue=Ce(38819),oe=Ce(92310),ie=Ce.n(oe),ne=Ce(20068),a=Ce(33885),y=Ce(67732),E=Ce(83652),b=Ce(42403),z=Ce(158),ee=Ce(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,ge=Ce(91735),ve=function(Pe){(0,b.Z)(Ke,Pe);var je=(0,z.Z)(Ke);function Ke(){var at;(0,y.Z)(this,Ke);for(var Ze=arguments.length,it=new Array(Ze),pt=0;pt<Ze;pt++)it[pt]=arguments[pt];return at=je.call.apply(je,[this].concat(it)),at.state={goInputText:""},at.getValidValue=function(){var dt=at.state.goInputText;return!dt||Number.isNaN(dt)?void 0:Number(dt)},at.buildOptionText=function(dt){return"".concat(dt," ").concat(at.props.locale.items_per_page)},at.changeSize=function(dt){at.props.changeSize(Number(dt))},at.handleChange=function(dt){at.setState({goInputText:dt.target.value})},at.handleBlur=function(dt){var vt=at.props,st=vt.goButton,ht=vt.quickGo,$e=vt.rootPrefixCls,lt=at.state.goInputText;st||lt===""||(at.setState({goInputText:""}),!(dt.relatedTarget&&(dt.relatedTarget.className.indexOf("".concat($e,"-item-link"))>=0||dt.relatedTarget.className.indexOf("".concat($e,"-item"))>=0))&&ht(at.getValidValue()))},at.go=function(dt){var vt=at.state.goInputText;vt!==""&&(dt.keyCode===ce.ENTER||dt.type==="click")&&(at.setState({goInputText:""}),at.props.quickGo(at.getValidValue()))},at}return(0,E.Z)(Ke,[{key:"getPageSizeOptions",value:function(){var Ze=this.props,it=Ze.pageSize,pt=Ze.pageSizeOptions;return pt.some(function(dt){return dt.toString()===it.toString()})?pt:pt.concat([it.toString()]).sort(function(dt,vt){var st=Number.isNaN(Number(dt))?0:Number(dt),ht=Number.isNaN(Number(vt))?0:Number(vt);return st-ht})}},{key:"render",value:function(){var Ze=this,it=this.props,pt=it.pageSize,dt=it.locale,vt=it.rootPrefixCls,st=it.changeSize,ht=it.quickGo,$e=it.goButton,lt=it.selectComponentClass,ft=it.buildOptionText,mt=it.selectPrefixCls,wt=it.disabled,jt=this.state.goInputText,It="".concat(vt,"-options"),Mt=lt,Kt=null,qt=null,en=null;if(!st&&!ht)return null;var on=this.getPageSizeOptions();if(st&&Mt){var wn=on.map(function(Nn,an){return nt.createElement(Mt.Option,{key:an,value:Nn.toString()},(ft||Ze.buildOptionText)(Nn))});Kt=nt.createElement(Mt,{disabled:wt,prefixCls:mt,showSearch:!1,className:"".concat(It,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(pt||on[0]).toString(),onChange:this.changeSize,getPopupContainer:function(an){return an.parentNode},"aria-label":dt.page_size,defaultOpen:!1},wn)}return ht&&($e&&(en=typeof $e=="boolean"?nt.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:wt,className:"".concat(It,"-quick-jumper-button")},dt.jump_to_confirm):nt.createElement("span",{onClick:this.go,onKeyUp:this.go},$e)),qt=nt.createElement("div",{className:"".concat(It,"-quick-jumper")},dt.jump_to,nt.createElement("input",{disabled:wt,type:"text",value:jt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":dt.page}),dt.page,en)),nt.createElement("li",{className:"".concat(It)},Kt,qt)}}]),Ke}(nt.Component);ve.defaultProps={pageSizeOptions:["10","20","50","100"]};var fe=ve,pe=function(je){var Ke,at=je.rootPrefixCls,Ze=je.page,it=je.active,pt=je.className,dt=je.showTitle,vt=je.onClick,st=je.onKeyPress,ht=je.itemRender,$e="".concat(at,"-item"),lt=ie()($e,"".concat($e,"-").concat(Ze),(Ke={},(0,ne.Z)(Ke,"".concat($e,"-active"),it),(0,ne.Z)(Ke,"".concat($e,"-disabled"),!Ze),(0,ne.Z)(Ke,je.className,pt),Ke)),ft=function(){vt(Ze)},mt=function(It){st(It,vt,Ze)},wt=ht(Ze,"page",nt.createElement("a",{rel:"nofollow"},Ze));return wt?nt.createElement("li",{title:dt?Ze.toString():null,className:lt,onClick:ft,onKeyPress:mt,tabIndex:0},wt):null},me=pe;function ye(){}function be(Pe){var je=Number(Pe);return typeof je=="number"&&!Number.isNaN(je)&&isFinite(je)&&Math.floor(je)===je}var Le=function(je,Ke,at){return at};function we(Pe,je,Ke){var at=typeof Pe=="undefined"?je.pageSize:Pe;return Math.floor((Ke.total-1)/at)+1}var Ae=function(Pe){(0,b.Z)(Ke,Pe);var je=(0,z.Z)(Ke);function Ke(at){var Ze;(0,y.Z)(this,Ke),Ze=je.call(this,at),Ze.paginationNode=nt.createRef(),Ze.getJumpPrevPage=function(){return Math.max(1,Ze.state.current-(Ze.props.showLessItems?3:5))},Ze.getJumpNextPage=function(){return Math.min(we(void 0,Ze.state,Ze.props),Ze.state.current+(Ze.props.showLessItems?3:5))},Ze.getItemIcon=function(st,ht){var $e=Ze.props.prefixCls,lt=st||nt.createElement("button",{type:"button","aria-label":ht,className:"".concat($e,"-item-link")});return typeof st=="function"&&(lt=nt.createElement(st,(0,a.Z)({},Ze.props))),lt},Ze.isValid=function(st){var ht=Ze.props.total;return be(st)&&st!==Ze.state.current&&be(ht)&&ht>0},Ze.shouldDisplayQuickJumper=function(){var st=Ze.props,ht=st.showQuickJumper,$e=st.total,lt=Ze.state.pageSize;return $e<=lt?!1:ht},Ze.handleKeyDown=function(st){(st.keyCode===ce.ARROW_UP||st.keyCode===ce.ARROW_DOWN)&&st.preventDefault()},Ze.handleKeyUp=function(st){var ht=Ze.getValidValue(st),$e=Ze.state.currentInputValue;ht!==$e&&Ze.setState({currentInputValue:ht}),st.keyCode===ce.ENTER?Ze.handleChange(ht):st.keyCode===ce.ARROW_UP?Ze.handleChange(ht-1):st.keyCode===ce.ARROW_DOWN&&Ze.handleChange(ht+1)},Ze.handleBlur=function(st){var ht=Ze.getValidValue(st);Ze.handleChange(ht)},Ze.changePageSize=function(st){var ht=Ze.state.current,$e=we(st,Ze.state,Ze.props);ht=ht>$e?$e:ht,$e===0&&(ht=Ze.state.current),typeof st=="number"&&("pageSize"in Ze.props||Ze.setState({pageSize:st}),"current"in Ze.props||Ze.setState({current:ht,currentInputValue:ht})),Ze.props.onShowSizeChange(ht,st),"onChange"in Ze.props&&Ze.props.onChange&&Ze.props.onChange(ht,st)},Ze.handleChange=function(st){var ht=Ze.props,$e=ht.disabled,lt=ht.onChange,ft=Ze.state,mt=ft.pageSize,wt=ft.current,jt=ft.currentInputValue;if(Ze.isValid(st)&&!$e){var It=we(void 0,Ze.state,Ze.props),Mt=st;return st>It?Mt=It:st<1&&(Mt=1),"current"in Ze.props||Ze.setState({current:Mt}),Mt!==jt&&Ze.setState({currentInputValue:Mt}),lt(Mt,mt),Mt}return wt},Ze.prev=function(){Ze.hasPrev()&&Ze.handleChange(Ze.state.current-1)},Ze.next=function(){Ze.hasNext()&&Ze.handleChange(Ze.state.current+1)},Ze.jumpPrev=function(){Ze.handleChange(Ze.getJumpPrevPage())},Ze.jumpNext=function(){Ze.handleChange(Ze.getJumpNextPage())},Ze.hasPrev=function(){return Ze.state.current>1},Ze.hasNext=function(){return Ze.state.current<we(void 0,Ze.state,Ze.props)},Ze.runIfEnter=function(st,ht){if(st.key==="Enter"||st.charCode===13){for(var $e=arguments.length,lt=new Array($e>2?$e-2:0),ft=2;ft<$e;ft++)lt[ft-2]=arguments[ft];ht.apply(void 0,lt)}},Ze.runIfEnterPrev=function(st){Ze.runIfEnter(st,Ze.prev)},Ze.runIfEnterNext=function(st){Ze.runIfEnter(st,Ze.next)},Ze.runIfEnterJumpPrev=function(st){Ze.runIfEnter(st,Ze.jumpPrev)},Ze.runIfEnterJumpNext=function(st){Ze.runIfEnter(st,Ze.jumpNext)},Ze.handleGoTO=function(st){(st.keyCode===ce.ENTER||st.type==="click")&&Ze.handleChange(Ze.state.currentInputValue)},Ze.renderPrev=function(st){var ht=Ze.props,$e=ht.prevIcon,lt=ht.itemRender,ft=lt(st,"prev",Ze.getItemIcon($e,"prev page")),mt=!Ze.hasPrev();return(0,nt.isValidElement)(ft)?(0,nt.cloneElement)(ft,{disabled:mt}):ft},Ze.renderNext=function(st){var ht=Ze.props,$e=ht.nextIcon,lt=ht.itemRender,ft=lt(st,"next",Ze.getItemIcon($e,"next page")),mt=!Ze.hasNext();return(0,nt.isValidElement)(ft)?(0,nt.cloneElement)(ft,{disabled:mt}):ft};var it=at.onChange!==ye,pt="current"in at;pt&&!it&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var dt=at.defaultCurrent;"current"in at&&(dt=at.current);var vt=at.defaultPageSize;return"pageSize"in at&&(vt=at.pageSize),dt=Math.min(dt,we(vt,void 0,at)),Ze.state={current:dt,currentInputValue:dt,pageSize:vt},Ze}return(0,E.Z)(Ke,[{key:"componentDidUpdate",value:function(Ze,it){var pt=this.props.prefixCls;if(it.current!==this.state.current&&this.paginationNode.current){var dt=this.paginationNode.current.querySelector(".".concat(pt,"-item-").concat(it.current));if(dt&&document.activeElement===dt){var vt;dt==null||(vt=dt.blur)===null||vt===void 0||vt.call(dt)}}}},{key:"getValidValue",value:function(Ze){var it=Ze.target.value,pt=we(void 0,this.state,this.props),dt=this.state.currentInputValue,vt;return it===""?vt=it:Number.isNaN(Number(it))?vt=dt:it>=pt?vt=pt:vt=Number(it),vt}},{key:"getShowSizeChanger",value:function(){var Ze=this.props,it=Ze.showSizeChanger,pt=Ze.total,dt=Ze.totalBoundaryShowSizeChanger;return typeof it!="undefined"?it:pt>dt}},{key:"render",value:function(){var Ze=this.props,it=Ze.prefixCls,pt=Ze.className,dt=Ze.style,vt=Ze.disabled,st=Ze.hideOnSinglePage,ht=Ze.total,$e=Ze.locale,lt=Ze.showQuickJumper,ft=Ze.showLessItems,mt=Ze.showTitle,wt=Ze.showTotal,jt=Ze.simple,It=Ze.itemRender,Mt=Ze.showPrevNextJumpers,Kt=Ze.jumpPrevIcon,qt=Ze.jumpNextIcon,en=Ze.selectComponentClass,on=Ze.selectPrefixCls,wn=Ze.pageSizeOptions,Nn=this.state,an=Nn.current,Zn=Nn.pageSize,Rn=Nn.currentInputValue;if(st===!0&&ht<=Zn)return null;var An=we(void 0,this.state,this.props),Vn=[],dr=null,zt=null,Qt=null,gn=null,jn=null,Hn=lt&<.goButton,vn=ft?1:2,bt=an-1>0?an-1:0,Tt=an+1<An?an+1:An,Et=(0,ee.Z)(this.props,{aria:!0,data:!0}),Wt=wt&&nt.createElement("li",{className:"".concat(it,"-total-text")},wt(ht,[ht===0?0:(an-1)*Zn+1,an*Zn>ht?ht:an*Zn]));if(jt){Hn&&(typeof Hn=="boolean"?jn=nt.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},$e.jump_to_confirm):jn=nt.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Hn),jn=nt.createElement("li",{title:mt?"".concat($e.jump_to).concat(an,"/").concat(An):null,className:"".concat(it,"-simple-pager")},jn));var tn=this.renderPrev(bt);return nt.createElement("ul",(0,Be.Z)({className:ie()(it,"".concat(it,"-simple"),(0,ne.Z)({},"".concat(it,"-disabled"),vt),pt),style:dt,ref:this.paginationNode},Et),Wt,tn?nt.createElement("li",{title:mt?$e.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ie()("".concat(it,"-prev"),(0,ne.Z)({},"".concat(it,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},tn):null,nt.createElement("li",{title:mt?"".concat(an,"/").concat(An):null,className:"".concat(it,"-simple-pager")},nt.createElement("input",{type:"text",value:Rn,disabled:vt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),nt.createElement("span",{className:"".concat(it,"-slash")},"/"),An),nt.createElement("li",{title:mt?$e.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ie()("".concat(it,"-next"),(0,ne.Z)({},"".concat(it,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Tt)),jn)}if(An<=3+vn*2){var sn={locale:$e,rootPrefixCls:it,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:mt,itemRender:It};An||Vn.push(nt.createElement(me,(0,Be.Z)({},sn,{key:"noPager",page:1,className:"".concat(it,"-item-disabled")})));for(var Un=1;Un<=An;Un+=1){var Qn=an===Un;Vn.push(nt.createElement(me,(0,Be.Z)({},sn,{key:Un,page:Un,active:Qn})))}}else{var yn=ft?$e.prev_3:$e.prev_5,mn=ft?$e.next_3:$e.next_5,rr=It(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Kt,"prev page")),hr=It(this.getJumpNextPage(),"jump-next",this.getItemIcon(qt,"next page"));Mt&&(dr=rr?nt.createElement("li",{title:mt?yn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ie()("".concat(it,"-jump-prev"),(0,ne.Z)({},"".concat(it,"-jump-prev-custom-icon"),!!Kt))},rr):null,zt=hr?nt.createElement("li",{title:mt?mn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ie()("".concat(it,"-jump-next"),(0,ne.Z)({},"".concat(it,"-jump-next-custom-icon"),!!qt))},hr):null),gn=nt.createElement(me,{locale:$e,last:!0,rootPrefixCls:it,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:An,page:An,active:!1,showTitle:mt,itemRender:It}),Qt=nt.createElement(me,{locale:$e,rootPrefixCls:it,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:mt,itemRender:It});var Yt=Math.max(1,an-vn),In=Math.min(an+vn,An);an-1<=vn&&(In=1+vn*2),An-an<=vn&&(Yt=An-vn*2);for(var Yn=Yt;Yn<=In;Yn+=1){var _n=an===Yn;Vn.push(nt.createElement(me,{locale:$e,rootPrefixCls:it,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Yn,page:Yn,active:_n,showTitle:mt,itemRender:It}))}an-1>=vn*2&&an!==3&&(Vn[0]=(0,nt.cloneElement)(Vn[0],{className:"".concat(it,"-item-after-jump-prev")}),Vn.unshift(dr)),An-an>=vn*2&&an!==An-2&&(Vn[Vn.length-1]=(0,nt.cloneElement)(Vn[Vn.length-1],{className:"".concat(it,"-item-before-jump-next")}),Vn.push(zt)),Yt!==1&&Vn.unshift(Qt),In!==An&&Vn.push(gn)}var cr=!this.hasPrev()||!An,xt=!this.hasNext()||!An,Bt=this.renderPrev(bt),Rt=this.renderNext(Tt);return nt.createElement("ul",(0,Be.Z)({className:ie()(it,pt,(0,ne.Z)({},"".concat(it,"-disabled"),vt)),style:dt,ref:this.paginationNode},Et),Wt,Bt?nt.createElement("li",{title:mt?$e.prev_page:null,onClick:this.prev,tabIndex:cr?null:0,onKeyPress:this.runIfEnterPrev,className:ie()("".concat(it,"-prev"),(0,ne.Z)({},"".concat(it,"-disabled"),cr)),"aria-disabled":cr},Bt):null,Vn,Rt?nt.createElement("li",{title:mt?$e.next_page:null,onClick:this.next,tabIndex:xt?null:0,onKeyPress:this.runIfEnterNext,className:ie()("".concat(it,"-next"),(0,ne.Z)({},"".concat(it,"-disabled"),xt)),"aria-disabled":xt},Rt):null,nt.createElement(fe,{disabled:vt,locale:$e,rootPrefixCls:it,selectComponentClass:en,selectPrefixCls:on,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:an,pageSize:Zn,pageSizeOptions:wn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Hn}))}}],[{key:"getDerivedStateFromProps",value:function(Ze,it){var pt={};if("current"in Ze&&(pt.current=Ze.current,Ze.current!==it.current&&(pt.currentInputValue=pt.current)),"pageSize"in Ze&&Ze.pageSize!==it.pageSize){var dt=it.current,vt=we(Ze.pageSize,it,Ze);dt=dt>vt?vt:dt,"current"in Ze||(pt.current=dt,pt.currentInputValue=dt),pt.pageSize=Ze.pageSize}return pt}}]),Ke}(nt.Component);Ae.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:ge.Z,style:{},itemRender:Le,totalBoundaryShowSizeChanger:50};var Me=Ae,De=Ce(22075),ze=Ce(36355),qe=Ce(19716),Re=Ce(8628),ot=Ce(9763),rt=Ce(57809);const Qe=Pe=>nt.createElement(rt.default,Object.assign({},Pe,{showSearch:!0,size:"small"})),Je=Pe=>nt.createElement(rt.default,Object.assign({},Pe,{showSearch:!0,size:"middle"}));Qe.Option=rt.default.Option,Je.Option=rt.default.Option;var Ge=Ce(9937),ke=Ce(17313),_e=Ce(83116),tt=Ce(37613);const Xe=Pe=>{const{componentCls:je}=Pe;return{[`${je}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${je}-item-link`]:{color:Pe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${je}-item-link`]:{color:Pe.colorTextDisabled,cursor:"not-allowed"}}},[`&${je}-disabled`]:{cursor:"not-allowed",[`${je}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Pe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Pe.colorBorder,backgroundColor:Pe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Pe.itemActiveBgDisabled},a:{color:Pe.itemActiveColorDisabled}}},[`${je}-item-link`]:{color:Pe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${je}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${je}-simple-pager`]:{color:Pe.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"}}}}}},ct=Pe=>{const{componentCls:je}=Pe;return{[`&${je}-mini ${je}-total-text, &${je}-mini ${je}-simple-pager`]:{height:Pe.itemSizeSM,lineHeight:`${Pe.itemSizeSM}px`},[`&${je}-mini ${je}-item`]:{minWidth:Pe.itemSizeSM,height:Pe.itemSizeSM,margin:0,lineHeight:`${Pe.itemSizeSM-2}px`},[`&${je}-mini:not(${je}-disabled) ${je}-item:not(${je}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Pe.colorBgTextHover},"&:active":{backgroundColor:Pe.colorBgTextActive}},[`&${je}-mini ${je}-prev, &${je}-mini ${je}-next`]:{minWidth:Pe.itemSizeSM,height:Pe.itemSizeSM,margin:0,lineHeight:`${Pe.itemSizeSM}px`},[`&${je}-mini:not(${je}-disabled)`]:{[`${je}-prev, ${je}-next`]:{[`&:hover ${je}-item-link`]:{backgroundColor:Pe.colorBgTextHover},[`&:active ${je}-item-link`]:{backgroundColor:Pe.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:Pe.itemSizeSM,lineHeight:`${Pe.itemSizeSM}px`}},[`&${je}-mini ${je}-jump-prev, &${je}-mini ${je}-jump-next`]:{height:Pe.itemSizeSM,marginInlineEnd:0,lineHeight:`${Pe.itemSizeSM}px`},[`&${je}-mini ${je}-options`]:{marginInlineStart:Pe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Pe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Pe.itemSizeSM,lineHeight:`${Pe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ge.x0)(Pe)),{width:Pe.paginationMiniQuickJumperInputWidth,height:Pe.controlHeightSM})}}}},Ye=Pe=>{const{componentCls:je}=Pe;return{[`
|
|
&${je}-simple ${je}-prev,
|
|
&${je}-simple ${je}-next
|
|
`]:{height:Pe.itemSizeSM,lineHeight:`${Pe.itemSizeSM}px`,verticalAlign:"top",[`${je}-item-link`]:{height:Pe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Pe.colorBgTextHover},"&:active":{backgroundColor:Pe.colorBgTextActive},"&::after":{height:Pe.itemSizeSM,lineHeight:`${Pe.itemSizeSM}px`}}},[`&${je}-simple ${je}-simple-pager`]:{display:"inline-block",height:Pe.itemSizeSM,marginInlineEnd:Pe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Pe.marginXS,padding:`0 ${Pe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Pe.itemInputBg,border:`${Pe.lineWidth}px ${Pe.lineType} ${Pe.colorBorder}`,borderRadius:Pe.borderRadius,outline:"none",transition:`border-color ${Pe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Pe.colorPrimary},"&:focus":{borderColor:Pe.colorPrimaryHover,boxShadow:`${Pe.inputOutlineOffset}px 0 ${Pe.controlOutlineWidth}px ${Pe.controlOutline}`},"&[disabled]":{color:Pe.colorTextDisabled,backgroundColor:Pe.colorBgContainerDisabled,borderColor:Pe.colorBorder,cursor:"not-allowed"}}}}},Ne=Pe=>{const{componentCls:je}=Pe;return{[`${je}-jump-prev, ${je}-jump-next`]:{outline:0,[`${je}-item-container`]:{position:"relative",[`${je}-item-link-icon`]:{color:Pe.colorPrimary,fontSize:Pe.fontSizeSM,opacity:0,transition:`all ${Pe.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:Pe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Pe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Pe.paginationEllipsisTextIndent,opacity:1,transition:`all ${Pe.motionDurationMid}`}},"&:hover":{[`${je}-item-link-icon`]:{opacity:1},[`${je}-item-ellipsis`]:{opacity:0}}},[`
|
|
${je}-prev,
|
|
${je}-jump-prev,
|
|
${je}-jump-next
|
|
`]:{marginInlineEnd:Pe.marginXS},[`
|
|
${je}-prev,
|
|
${je}-next,
|
|
${je}-jump-prev,
|
|
${je}-jump-next
|
|
`]:{display:"inline-block",minWidth:Pe.itemSize,height:Pe.itemSize,color:Pe.colorText,fontFamily:Pe.fontFamily,lineHeight:`${Pe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Pe.borderRadius,cursor:"pointer",transition:`all ${Pe.motionDurationMid}`},[`${je}-prev, ${je}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Pe.colorText,cursor:"pointer",userSelect:"none"},[`${je}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Pe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Pe.lineWidth}px ${Pe.lineType} transparent`,borderRadius:Pe.borderRadius,outline:"none",transition:`all ${Pe.motionDurationMid}`},[`&:hover ${je}-item-link`]:{backgroundColor:Pe.colorBgTextHover},[`&:active ${je}-item-link`]:{backgroundColor:Pe.colorBgTextActive},[`&${je}-disabled:hover`]:{[`${je}-item-link`]:{backgroundColor:"transparent"}}},[`${je}-slash`]:{marginInlineEnd:Pe.paginationSlashMarginInlineEnd,marginInlineStart:Pe.paginationSlashMarginInlineStart},[`${je}-options`]:{display:"inline-block",marginInlineStart:Pe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Pe.controlHeight,marginInlineStart:Pe.marginXS,lineHeight:`${Pe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ge.ik)(Pe)),{width:Pe.controlHeightLG*1.25,height:Pe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Pe.marginXS,marginInlineEnd:Pe.marginXS})}}}},Oe=Pe=>{const{componentCls:je}=Pe;return{[`${je}-item`]:{display:"inline-block",minWidth:Pe.itemSize,height:Pe.itemSize,marginInlineEnd:Pe.marginXS,fontFamily:Pe.fontFamily,lineHeight:`${Pe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Pe.lineWidth}px ${Pe.lineType} transparent`,borderRadius:Pe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Pe.paginationItemPaddingInline}px`,color:Pe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${je}-item-active)`]:{"&:hover":{transition:`all ${Pe.motionDurationMid}`,backgroundColor:Pe.colorBgTextHover},"&:active":{backgroundColor:Pe.colorBgTextActive}},"&-active":{fontWeight:Pe.fontWeightStrong,backgroundColor:Pe.itemActiveBg,borderColor:Pe.colorPrimary,a:{color:Pe.colorPrimary},"&:hover":{borderColor:Pe.colorPrimaryHover},"&:hover a":{color:Pe.colorPrimaryHover}}}}},Ue=Pe=>{const{componentCls:je}=Pe;return{[je]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ke.Wf)(Pe)),{"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:Pe.itemSize,marginInlineEnd:Pe.marginXS,lineHeight:`${Pe.itemSize-2}px`,verticalAlign:"middle"}}),Oe(Pe)),Ne(Pe)),Ye(Pe)),ct(Pe)),Xe(Pe)),{[`@media only screen and (max-width: ${Pe.screenLG}px)`]:{[`${je}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Pe.screenSM}px)`]:{[`${je}-options`]:{display:"none"}}}),[`&${Pe.componentCls}-rtl`]:{direction:"rtl"}}},xe=Pe=>{const{componentCls:je}=Pe;return{[`${je}${je}-disabled:not(${je}-mini)`]:{"&, &:hover":{[`${je}-item-link`]:{borderColor:Pe.colorBorder}},"&:focus-visible":{[`${je}-item-link`]:{borderColor:Pe.colorBorder}},[`${je}-item, ${je}-item-link`]:{backgroundColor:Pe.colorBgContainerDisabled,borderColor:Pe.colorBorder,[`&:hover:not(${je}-item-active)`]:{backgroundColor:Pe.colorBgContainerDisabled,borderColor:Pe.colorBorder,a:{color:Pe.colorTextDisabled}},[`&${je}-item-active`]:{backgroundColor:Pe.itemActiveBgDisabled}},[`${je}-prev, ${je}-next`]:{"&:hover button":{backgroundColor:Pe.colorBgContainerDisabled,borderColor:Pe.colorBorder,color:Pe.colorTextDisabled},[`${je}-item-link`]:{backgroundColor:Pe.colorBgContainerDisabled,borderColor:Pe.colorBorder}}},[`${je}:not(${je}-mini)`]:{[`${je}-prev, ${je}-next`]:{"&:hover button":{borderColor:Pe.colorPrimaryHover,backgroundColor:Pe.itemBg},[`${je}-item-link`]:{backgroundColor:Pe.itemLinkBg,borderColor:Pe.colorBorder},[`&:hover ${je}-item-link`]:{borderColor:Pe.colorPrimary,backgroundColor:Pe.itemBg,color:Pe.colorPrimary},[`&${je}-disabled`]:{[`${je}-item-link`]:{borderColor:Pe.colorBorder,color:Pe.colorTextDisabled}}},[`${je}-item`]:{backgroundColor:Pe.itemBg,border:`${Pe.lineWidth}px ${Pe.lineType} ${Pe.colorBorder}`,[`&:hover:not(${je}-item-active)`]:{borderColor:Pe.colorPrimary,backgroundColor:Pe.itemBg,a:{color:Pe.colorPrimary}},"&-active":{borderColor:Pe.colorPrimary}}}}},Fe=Pe=>{const{componentCls:je}=Pe;return{[`${je}:not(${je}-disabled)`]:{[`${je}-item`]:Object.assign({},(0,ke.Qy)(Pe)),[`${je}-jump-prev, ${je}-jump-next`]:{"&:focus-visible":Object.assign({[`${je}-item-link-icon`]:{opacity:1},[`${je}-item-ellipsis`]:{opacity:0}},(0,ke.oN)(Pe))},[`${je}-prev, ${je}-next`]:{[`&:focus-visible ${je}-item-link`]:Object.assign({},(0,ke.oN)(Pe))}}}};var He=(0,_e.Z)("Pagination",Pe=>{const je=(0,tt.TS)(Pe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Pe.marginXXS/2,paginationMiniQuickJumperInputWidth:Pe.controlHeightLG*1.1,paginationItemPaddingInline:Pe.marginXXS*1.5,paginationEllipsisLetterSpacing:Pe.marginXXS/2,paginationSlashMarginInlineStart:Pe.marginXXS,paginationSlashMarginInlineEnd:Pe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ge.e5)(Pe),(0,Ge.TM)(Pe));return[Ue(je),Fe(je),Pe.wireframe&&xe(je)]},Pe=>({itemBg:Pe.colorBgContainer,itemSize:Pe.controlHeight,itemSizeSM:Pe.controlHeightSM,itemActiveBg:Pe.colorBgContainer,itemLinkBg:Pe.colorBgContainer,itemActiveColorDisabled:Pe.colorTextDisabled,itemActiveBgDisabled:Pe.controlItemBgActiveDisabled,itemInputBg:Pe.colorBgContainer,miniOptionsSizeChangerTop:0})),We=function(Pe,je){var Ke={};for(var at in Pe)Object.prototype.hasOwnProperty.call(Pe,at)&&je.indexOf(at)<0&&(Ke[at]=Pe[at]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,at=Object.getOwnPropertySymbols(Pe);Ze<at.length;Ze++)je.indexOf(at[Ze])<0&&Object.prototype.propertyIsEnumerable.call(Pe,at[Ze])&&(Ke[at[Ze]]=Pe[at[Ze]]);return Ke},Te=Pe=>{const{prefixCls:je,selectPrefixCls:Ke,className:at,rootClassName:Ze,style:it,size:pt,locale:dt,selectComponentClass:vt,responsive:st,showSizeChanger:ht}=Pe,$e=We(Pe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:lt}=(0,Re.Z)(st),{getPrefixCls:ft,direction:mt,pagination:wt={}}=nt.useContext(ze.E_),jt=ft("pagination",je),[It,Mt]=He(jt),Kt=ht!=null?ht:wt.showSizeChanger,qt=nt.useMemo(()=>{const An=nt.createElement("span",{className:`${jt}-item-ellipsis`},"\u2022\u2022\u2022"),Vn=nt.createElement("button",{className:`${jt}-item-link`,type:"button",tabIndex:-1},mt==="rtl"?nt.createElement(ue.Z,null):nt.createElement(se.Z,null)),dr=nt.createElement("button",{className:`${jt}-item-link`,type:"button",tabIndex:-1},mt==="rtl"?nt.createElement(se.Z,null):nt.createElement(ue.Z,null)),zt=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`}),An)),Qt=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`}),An));return{prevIcon:Vn,nextIcon:dr,jumpPrevIcon:zt,jumpNextIcon:Qt}},[mt,jt]),[en]=(0,ot.Z)("Pagination",De.Z),on=Object.assign(Object.assign({},en),dt),wn=(0,qe.Z)(pt),Nn=wn==="small"||!!(lt&&!wn&&st),an=ft("select",Ke),Zn=ie()({[`${jt}-mini`]:Nn,[`${jt}-rtl`]:mt==="rtl"},wt==null?void 0:wt.className,at,Ze,Mt),Rn=Object.assign(Object.assign({},wt==null?void 0:wt.style),it);return It(nt.createElement(Me,Object.assign({},qt,$e,{style:Rn,prefixCls:jt,selectPrefixCls:an,className:Zn,selectComponentClass:vt||(Nn?Qe:Je),locale:on,showSizeChanger:Kt})))},Ee=Te},14478:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return me}});var Be=Ce(96512),nt=Ce(92310),x=Ce.n(nt),Se=Ce(10228),he=Ce(18929),ae=Ce(2738),te=Ce(59301),le=Ce(92343),de=Ce(36355),se=Ce(60324),ue=Ce(92806),oe=Ce(77578),ie=Ce(3113),ne=Ce(67797),a=Ce(9763),y=Ce(31724),E=Ce(39722),b=Ce(83116);const z=ye=>{const{componentCls:be,iconCls:Le,antCls:we,zIndexPopup:Ae,colorText:Me,colorWarning:De,marginXXS:ze,marginXS:qe,fontSize:Re,fontWeightStrong:ot,colorTextHeading:rt}=ye;return{[be]:{zIndex:Ae,[`&${we}-popover`]:{fontSize:Re},[`${be}-message`]:{marginBottom:qe,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${be}-message-icon ${Le}`]:{color:De,fontSize:Re,lineHeight:1,marginInlineEnd:qe},[`${be}-title`]:{fontWeight:ot,color:rt,"&:only-child":{fontWeight:"normal"}},[`${be}-description`]:{marginTop:ze,color:Me}},[`${be}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:qe}}}}};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 Le={};for(var we in ye)Object.prototype.hasOwnProperty.call(ye,we)&&be.indexOf(we)<0&&(Le[we]=ye[we]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,we=Object.getOwnPropertySymbols(ye);Ae<we.length;Ae++)be.indexOf(we[Ae])<0&&Object.prototype.propertyIsEnumerable.call(ye,we[Ae])&&(Le[we[Ae]]=ye[we[Ae]]);return Le};const ce=ye=>{const{prefixCls:be,okButtonProps:Le,cancelButtonProps:we,title:Ae,description:Me,cancelText:De,okText:ze,okType:qe="primary",icon:Re=te.createElement(Be.Z,null),showCancel:ot=!0,close:rt,onConfirm:Qe,onCancel:Je,onPopupClick:Ge}=ye,{getPrefixCls:ke}=te.useContext(de.E_),[_e]=(0,a.Z)("Popconfirm",y.Z.Popconfirm),tt=(0,oe.Z)(Ae),Xe=(0,oe.Z)(Me);return te.createElement("div",{className:`${be}-inner-content`,onClick:Ge},te.createElement("div",{className:`${be}-message`},Re&&te.createElement("span",{className:`${be}-message-icon`},Re),te.createElement("div",{className:`${be}-message-text`},tt&&te.createElement("div",{className:x()(`${be}-title`)},tt),Xe&&te.createElement("div",{className:`${be}-description`},Xe))),te.createElement("div",{className:`${be}-buttons`},ot&&te.createElement(ie.ZP,Object.assign({onClick:Je,size:"small"},we),De!=null?De:_e==null?void 0:_e.cancelText),te.createElement(ue.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,ne.n)(qe)),Le),actionFn:Qe,close:rt,prefixCls:ke("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},ze!=null?ze:_e==null?void 0:_e.okText)))};var ve=ye=>{const{prefixCls:be,placement:Le,className:we,style:Ae}=ye,Me=re(ye,["prefixCls","placement","className","style"]),{getPrefixCls:De}=te.useContext(de.E_),ze=De("popconfirm",be),[qe]=ee(ze);return qe(te.createElement(E.ZP,{placement:Le,className:x()(ze,we),style:Ae,content:te.createElement(ce,Object.assign({prefixCls:ze},Me))}))},fe=function(ye,be){var Le={};for(var we in ye)Object.prototype.hasOwnProperty.call(ye,we)&&be.indexOf(we)<0&&(Le[we]=ye[we]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,we=Object.getOwnPropertySymbols(ye);Ae<we.length;Ae++)be.indexOf(we[Ae])<0&&Object.prototype.propertyIsEnumerable.call(ye,we[Ae])&&(Le[we[Ae]]=ye[we[Ae]]);return Le};const pe=te.forwardRef((ye,be)=>{const{prefixCls:Le,placement:we="top",trigger:Ae="click",okType:Me="primary",icon:De=te.createElement(Be.Z,null),children:ze,overlayClassName:qe,onOpenChange:Re,onVisibleChange:ot}=ye,rt=fe(ye,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:Qe}=te.useContext(de.E_),[Je,Ge]=(0,he.Z)(!1,{value:ye.open,defaultValue:ye.defaultOpen}),ke=(xe,Fe)=>{Ge(xe,!0),ot==null||ot(xe),Re==null||Re(xe,Fe)},_e=xe=>{ke(!1,xe)},tt=xe=>{var Fe;return(Fe=ye.onConfirm)===null||Fe===void 0?void 0:Fe.call(void 0,xe)},Xe=xe=>{var Fe;ke(!1,xe),(Fe=ye.onCancel)===null||Fe===void 0||Fe.call(void 0,xe)},ct=xe=>{xe.keyCode===Se.Z.ESC&&Je&&ke(!1,xe)},Ye=xe=>{const{disabled:Fe=!1}=ye;Fe||ke(xe)},Ne=Qe("popconfirm",Le),Oe=x()(Ne,qe),[Ue]=ee(Ne);return Ue(te.createElement(se.Z,Object.assign({},(0,ae.Z)(rt,["title"]),{trigger:Ae,placement:we,onOpenChange:Ye,open:Je,ref:be,overlayClassName:Oe,content:te.createElement(ce,Object.assign({okType:Me,icon:De},ye,{prefixCls:Ne,close:_e,onConfirm:tt,onCancel:Xe})),"data-popover-inject":!0}),(0,le.Tm)(ze,{onKeyDown:xe=>{var Fe,He;te.isValidElement(ze)&&((He=ze==null?void 0:(Fe=ze.props).onKeyDown)===null||He===void 0||He.call(Fe,xe)),ct(xe)}})))});pe._InternalPanelDoNotUseOrYouWillBeFired=ve;var me=pe},39722:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{t5:function(){return se}});var Be=Ce(92310),nt=Ce.n(Be),x=Ce(55477),Se=Ce(59301),he=Ce(36355),ae=Ce(77578),te=Ce(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<a.length;y++)ie.indexOf(a[y])<0&&Object.prototype.propertyIsEnumerable.call(oe,a[y])&&(ne[a[y]]=oe[a[y]]);return ne};const de=(oe,ie,ne)=>{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(he.E_),y=a("popover",ie),[E,b]=(0,te.Z)(y);return E(Se.createElement(se,Object.assign({},ne,{prefixCls:y,hashId:b})))};Pt.ZP=ue},60324:function(Ct,Pt,Ce){"use strict";var Be=Ce(92310),nt=Ce.n(Be),x=Ce(59301),Se=Ce(77578),he=Ce(62892),ae=Ce(36355),te=Ce(6848),le=Ce(39722),de=Ce(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<y.length;E++)ne.indexOf(y[E])<0&&Object.prototype.propertyIsEnumerable.call(ie,y[E])&&(a[y[E]]=ie[y[E]]);return a};const ue=ie=>{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:ge={}}=ie,ve=se(ie,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:fe}=x.useContext(ae.E_),pe=fe("popover",a),[me,ye]=(0,de.Z)(pe),be=fe(),Le=nt()(b,ye);return me(x.createElement(te.Z,Object.assign({placement:z,trigger:ee,mouseEnterDelay:re,mouseLeaveDelay:ce,overlayStyle:ge},ve,{prefixCls:pe,overlayClassName:Le,ref:ne,overlay:y||E?x.createElement(ue,{prefixCls:pe,title:y,content:E}):null,transitionName:(0,he.m)(be,"zoom-big",ve.transitionName),"data-popover-inject":!0})))});oe._InternalPanelDoNotUseOrYouWillBeFired=le.ZP,Pt.Z=oe},17356:function(Ct,Pt,Ce){"use strict";var Be=Ce(17313),nt=Ce(29878),x=Ce(19447),Se=Ce(33166),he=Ce(83116),ae=Ce(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,ge=z;return{[ue]:{[`${ue}-inner`]:{padding:0},[`${ue}-title`]:{margin:0,padding:`${re}px ${ge}px ${ce}px`,borderBottom:`${oe}px ${ie} ${ne}`},[`${ue}-inner-content`]:{padding:`${a}px ${ge}px`}}}};Pt.Z=(0,he.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,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return ht}});var Be=Ce(59301),nt=Ce(29679),x=Ce(40001),Se=Ce(19248),he=Ce(99267),ae=Ce(92310),te=Ce.n(ae),le=Ce(2738),de=Ce(36355),se=Ce(54476),ue=Ce(33885),oe=Ce(75931),ie={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ne=function(){var lt=(0,Be.useRef)([]),ft=(0,Be.useRef)(null);return(0,Be.useEffect)(function(){var mt=Date.now(),wt=!1;lt.current.forEach(function(jt){if(jt){wt=!0;var It=jt.style;It.transitionDuration=".3s, .3s, .3s, .06s",ft.current&&mt-ft.current<100&&(It.transitionDuration="0s, 0s")}}),wt&&(ft.current=Date.now())}),lt.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(lt){var ft=(0,ue.Z)((0,ue.Z)({},ie),lt),mt=ft.className,wt=ft.percent,jt=ft.prefixCls,It=ft.strokeColor,Mt=ft.strokeLinecap,Kt=ft.strokeWidth,qt=ft.style,en=ft.trailColor,on=ft.trailWidth,wn=ft.transition,Nn=(0,oe.Z)(ft,a);delete Nn.gapPosition;var an=Array.isArray(wt)?wt:[wt],Zn=Array.isArray(It)?It:[It],Rn=ne(),An=Kt/2,Vn=100-Kt/2,dr="M ".concat(Mt==="round"?An:0,",").concat(An,`
|
|
L `).concat(Mt==="round"?Vn:100,",").concat(An),zt="0 0 100 ".concat(Kt),Qt=0;return Be.createElement("svg",(0,se.Z)({className:te()("".concat(jt,"-line"),mt),viewBox:zt,preserveAspectRatio:"none",style:qt},Nn),Be.createElement("path",{className:"".concat(jt,"-line-trail"),d:dr,strokeLinecap:Mt,stroke:en,strokeWidth:on||Kt,fillOpacity:"0"}),an.map(function(gn,jn){var Hn=1;switch(Mt){case"round":Hn=1-Kt/100;break;case"square":Hn=1-Kt/2/100;break;default:Hn=1;break}var vn={strokeDasharray:"".concat(gn*Hn,"px, 100px"),strokeDashoffset:"-".concat(Qt,"px"),transition:wn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},bt=Zn[jn]||Zn[Zn.length-1];return Qt+=gn,Be.createElement("path",{key:jn,className:"".concat(jt,"-line-path"),d:dr,strokeLinecap:Mt,stroke:bt,strokeWidth:Kt,fillOpacity:"0",ref:function(Et){Rn[jn]=Et},style:vn})}))},E=y,b=Ce(76190),z=Ce(42978),ee=Ce(47273),re=0,ce=(0,ee.Z)();function ge(){var $e;return ce?($e=re,re+=1):$e="TEST_OR_SSR",$e}var ve=function($e){var lt=Be.useState(),ft=(0,z.Z)(lt,2),mt=ft[0],wt=ft[1];return Be.useEffect(function(){wt("rc_progress_".concat(ge()))},[]),$e||mt},fe=function(lt){var ft=lt.bg,mt=lt.children;return Be.createElement("div",{style:{width:"100%",height:"100%",background:ft}},mt)};function pe($e,lt){return Object.keys($e).map(function(ft){var mt=parseFloat(ft),wt="".concat(Math.floor(mt*lt),"%");return"".concat($e[ft]," ").concat(wt)})}var me=Be.forwardRef(function($e,lt){var ft=$e.prefixCls,mt=$e.color,wt=$e.gradientId,jt=$e.radius,It=$e.style,Mt=$e.ptg,Kt=$e.strokeLinecap,qt=$e.strokeWidth,en=$e.size,on=$e.gapDegree,wn=mt&&(0,b.Z)(mt)==="object",Nn=wn?"#FFF":void 0,an=en/2,Zn=Be.createElement("circle",{className:"".concat(ft,"-circle-path"),r:jt,cx:an,cy:an,stroke:Nn,strokeLinecap:Kt,strokeWidth:qt,opacity:Mt===0?0:1,style:It,ref:lt});if(!wn)return Zn;var Rn="".concat(wt,"-conic"),An=on?"".concat(180+on/2,"deg"):"0deg",Vn=pe(mt,(360-on)/360),dr=pe(mt,1),zt="conic-gradient(from ".concat(An,", ").concat(Vn.join(", "),")"),Qt="linear-gradient(to ".concat(on?"bottom":"top",", ").concat(dr.join(", "),")");return Be.createElement(Be.Fragment,null,Be.createElement("mask",{id:Rn},Zn),Be.createElement("foreignObject",{x:0,y:0,width:en,height:en,mask:"url(#".concat(Rn,")")},Be.createElement(fe,{bg:Qt},Be.createElement(fe,{bg:zt}))))}),ye=me,be=100,Le=function(lt,ft,mt,wt,jt,It,Mt,Kt,qt,en){var on=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,wn=mt/100*360*((360-It)/360),Nn=It===0?0:{bottom:0,top:180,left:90,right:-90}[Mt],an=(100-wt)/100*ft;qt==="round"&&wt!==100&&(an+=en/2,an>=ft&&(an=ft-.01));var Zn=be/2;return{stroke:typeof Kt=="string"?Kt:void 0,strokeDasharray:"".concat(ft,"px ").concat(lt),strokeDashoffset:an+on,transform:"rotate(".concat(jt+wn+Nn,"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}},we=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ae($e){var lt=$e!=null?$e:[];return Array.isArray(lt)?lt:[lt]}var Me=function(lt){var ft=(0,ue.Z)((0,ue.Z)({},ie),lt),mt=ft.id,wt=ft.prefixCls,jt=ft.steps,It=ft.strokeWidth,Mt=ft.trailWidth,Kt=ft.gapDegree,qt=Kt===void 0?0:Kt,en=ft.gapPosition,on=ft.trailColor,wn=ft.strokeLinecap,Nn=ft.style,an=ft.className,Zn=ft.strokeColor,Rn=ft.percent,An=(0,oe.Z)(ft,we),Vn=be/2,dr=ve(mt),zt="".concat(dr,"-gradient"),Qt=Vn-It/2,gn=Math.PI*2*Qt,jn=qt>0?90+qt/2:-90,Hn=gn*((360-qt)/360),vn=(0,b.Z)(jt)==="object"?jt:{count:jt,space:2},bt=vn.count,Tt=vn.space,Et=Ae(Rn),Wt=Ae(Zn),tn=Wt.find(function(hr){return hr&&(0,b.Z)(hr)==="object"}),sn=tn&&(0,b.Z)(tn)==="object",Un=sn?"butt":wn,Qn=Le(gn,Hn,0,100,jn,qt,en,on,Un,It),yn=ne(),mn=function(){var Yt=0;return Et.map(function(In,Yn){var _n=Wt[Yn]||Wt[Wt.length-1],cr=Le(gn,Hn,Yt,In,jn,qt,en,_n,Un,It);return Yt+=In,Be.createElement(ye,{key:Yn,color:_n,ptg:In,radius:Qt,prefixCls:wt,gradientId:zt,style:cr,strokeLinecap:Un,strokeWidth:It,gapDegree:qt,ref:function(Bt){yn[Yn]=Bt},size:be})}).reverse()},rr=function(){var Yt=Math.round(bt*(Et[0]/100)),In=100/bt,Yn=0;return new Array(bt).fill(null).map(function(_n,cr){var xt=cr<=Yt-1?Wt[0]:on,Bt=xt&&(0,b.Z)(xt)==="object"?"url(#".concat(zt,")"):void 0,Rt=Le(gn,Hn,Yn,In,jn,qt,en,xt,"butt",It,Tt);return Yn+=(Hn-Rt.strokeDashoffset+Tt)*100/Hn,Be.createElement("circle",{key:cr,className:"".concat(wt,"-circle-path"),r:Qt,cx:Vn,cy:Vn,stroke:Bt,strokeWidth:It,opacity:1,style:Rt,ref:function(Vt){yn[cr]=Vt}})})};return Be.createElement("svg",(0,se.Z)({className:te()("".concat(wt,"-circle"),an),viewBox:"0 0 ".concat(be," ").concat(be),style:Nn,id:mt,role:"presentation"},An),!bt&&Be.createElement("circle",{className:"".concat(wt,"-circle-trail"),r:Qt,cx:Vn,cy:Vn,stroke:on,strokeLinecap:Un,strokeWidth:Mt||It,style:Qn}),bt?rr():mn())},De=Me,ze={Line:E,Circle:De},qe=Ce(6848),Re=Ce(30071);function ot($e){return!$e||$e<0?0:$e>100?100:$e}function rt($e){let{success:lt,successPercent:ft}=$e,mt=ft;return lt&&"progress"in lt&&(mt=lt.progress),lt&&"percent"in lt&&(mt=lt.percent),mt}const Qe=$e=>{let{percent:lt,success:ft,successPercent:mt}=$e;const wt=ot(rt({success:ft,successPercent:mt}));return[wt,ot(ot(lt)-wt)]},Je=$e=>{let{success:lt={},strokeColor:ft}=$e;const{strokeColor:mt}=lt;return[mt||Re.presetPrimaryColors.green,ft||null]},Ge=($e,lt,ft)=>{var mt,wt,jt,It;let Mt=-1,Kt=-1;if(lt==="step"){const qt=ft.steps,en=ft.strokeWidth;typeof $e=="string"||typeof $e=="undefined"?(Mt=$e==="small"?2:14,Kt=en!=null?en:8):typeof $e=="number"?[Mt,Kt]=[$e,$e]:[Mt=14,Kt=8]=$e,Mt*=qt}else if(lt==="line"){const qt=ft==null?void 0:ft.strokeWidth;typeof $e=="string"||typeof $e=="undefined"?Kt=qt||($e==="small"?6:8):typeof $e=="number"?[Mt,Kt]=[$e,$e]:[Mt=-1,Kt=8]=$e}else(lt==="circle"||lt==="dashboard")&&(typeof $e=="string"||typeof $e=="undefined"?[Mt,Kt]=$e==="small"?[60,60]:[120,120]:typeof $e=="number"?[Mt,Kt]=[$e,$e]:(Mt=(wt=(mt=$e[0])!==null&&mt!==void 0?mt:$e[1])!==null&&wt!==void 0?wt:120,Kt=(It=(jt=$e[0])!==null&&jt!==void 0?jt:$e[1])!==null&&It!==void 0?It:120));return[Mt,Kt]},ke=3,_e=$e=>ke/$e*100;var Xe=$e=>{const{prefixCls:lt,trailColor:ft=null,strokeLinecap:mt="round",gapPosition:wt,gapDegree:jt,width:It=120,type:Mt,children:Kt,success:qt,size:en=It}=$e,[on,wn]=Ge(en,"circle");let{strokeWidth:Nn}=$e;Nn===void 0&&(Nn=Math.max(_e(on),6));const an={width:on,height:wn,fontSize:on*.15+6},Zn=Be.useMemo(()=>{if(jt||jt===0)return jt;if(Mt==="dashboard")return 75},[jt,Mt]),Rn=wt||Mt==="dashboard"&&"bottom"||void 0,An=Object.prototype.toString.call($e.strokeColor)==="[object Object]",Vn=Je({success:qt,strokeColor:$e.strokeColor}),dr=te()(`${lt}-inner`,{[`${lt}-circle-gradient`]:An}),zt=Be.createElement(De,{percent:Qe($e),strokeWidth:Nn,trailWidth:Nn,strokeColor:Vn,strokeLinecap:mt,trailColor:ft,prefixCls:lt,gapDegree:Zn,gapPosition:Rn});return Be.createElement("div",{className:dr,style:an},on<=20?Be.createElement(qe.Z,{title:Kt},Be.createElement("span",null,zt)):Be.createElement(Be.Fragment,null,zt,Kt))},ct=function($e,lt){var ft={};for(var mt in $e)Object.prototype.hasOwnProperty.call($e,mt)&<.indexOf(mt)<0&&(ft[mt]=$e[mt]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,mt=Object.getOwnPropertySymbols($e);wt<mt.length;wt++)lt.indexOf(mt[wt])<0&&Object.prototype.propertyIsEnumerable.call($e,mt[wt])&&(ft[mt[wt]]=$e[mt[wt]]);return ft};const Ye=$e=>{let lt=[];return Object.keys($e).forEach(ft=>{const mt=parseFloat(ft.replace(/%/g,""));isNaN(mt)||lt.push({key:mt,value:$e[ft]})}),lt=lt.sort((ft,mt)=>ft.key-mt.key),lt.map(ft=>{let{key:mt,value:wt}=ft;return`${wt} ${mt}%`}).join(", ")},Ne=($e,lt)=>{const{from:ft=Re.presetPrimaryColors.blue,to:mt=Re.presetPrimaryColors.blue,direction:wt=lt==="rtl"?"to left":"to right"}=$e,jt=ct($e,["from","to","direction"]);if(Object.keys(jt).length!==0){const It=Ye(jt);return{backgroundImage:`linear-gradient(${wt}, ${It})`}}return{backgroundImage:`linear-gradient(${wt}, ${ft}, ${mt})`}};var Ue=$e=>{const{prefixCls:lt,direction:ft,percent:mt,size:wt,strokeWidth:jt,strokeColor:It,strokeLinecap:Mt="round",children:Kt,trailColor:qt=null,success:en}=$e,on=It&&typeof It!="string"?Ne(It,ft):{backgroundColor:It},wn=Mt==="square"||Mt==="butt"?0:void 0,Nn={backgroundColor:qt||void 0,borderRadius:wn},an=wt!=null?wt:[-1,jt||(wt==="small"?6:8)],[Zn,Rn]=Ge(an,"line",{strokeWidth:jt}),An=Object.assign({width:`${ot(mt)}%`,height:Rn,borderRadius:wn},on),Vn=rt($e),dr={width:`${ot(Vn)}%`,height:Rn,borderRadius:wn,backgroundColor:en==null?void 0:en.strokeColor},zt={width:Zn<0?"100%":Zn,height:Rn};return Be.createElement(Be.Fragment,null,Be.createElement("div",{className:`${lt}-outer`,style:zt},Be.createElement("div",{className:`${lt}-inner`,style:Nn},Be.createElement("div",{className:`${lt}-bg`,style:An}),Vn!==void 0?Be.createElement("div",{className:`${lt}-success-bg`,style:dr}):null)),Kt)},Fe=$e=>{const{size:lt,steps:ft,percent:mt=0,strokeWidth:wt=8,strokeColor:jt,trailColor:It=null,prefixCls:Mt,children:Kt}=$e,qt=Math.round(ft*(mt/100)),en=lt==="small"?2:14,on=lt!=null?lt:[en,wt],[wn,Nn]=Ge(on,"step",{steps:ft,strokeWidth:wt}),an=wn/ft,Zn=new Array(ft);for(let Rn=0;Rn<ft;Rn++){const An=Array.isArray(jt)?jt[Rn]:jt;Zn[Rn]=Be.createElement("div",{key:Rn,className:te()(`${Mt}-steps-item`,{[`${Mt}-steps-item-active`]:Rn<=qt-1}),style:{backgroundColor:Rn<=qt-1?An:It,width:an,height:Nn}})}return Be.createElement("div",{className:`${Mt}-steps-outer`},Zn,Kt)},He=Ce(36237),We=Ce(17313),Ie=Ce(83116),Te=Ce(37613);const Ee=$e=>{const lt=$e?"100%":"-100%";return new He.Keyframes(`antProgress${$e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${lt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${lt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Pe=$e=>{const{componentCls:lt,iconCls:ft}=$e;return{[lt]:Object.assign(Object.assign({},(0,We.Wf)($e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:$e.fontSize,marginInlineEnd:$e.marginXS,marginBottom:$e.marginXS},[`${lt}-outer`]:{display:"inline-block",width:"100%"},[`&${lt}-show-info`]:{[`${lt}-outer`]:{marginInlineEnd:`calc(-2em - ${$e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${$e.paddingXS}px)`}},[`${lt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:$e.remainingColor,borderRadius:$e.lineBorderRadius},[`${lt}-inner:not(${lt}-circle-gradient)`]:{[`${lt}-circle-path`]:{stroke:$e.defaultColor}},[`${lt}-success-bg, ${lt}-bg`]:{position:"relative",backgroundColor:$e.defaultColor,borderRadius:$e.lineBorderRadius,transition:`all ${$e.motionDurationSlow} ${$e.motionEaseInOutCirc}`},[`${lt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:$e.colorSuccess},[`${lt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:$e.marginXS,color:$e.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[ft]:{fontSize:$e.fontSize}},[`&${lt}-status-active`]:{[`${lt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:$e.colorBgContainer,borderRadius:$e.lineBorderRadius,opacity:0,animationName:Ee(),animationDuration:$e.progressActiveMotionDuration,animationTimingFunction:$e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${lt}-rtl${lt}-status-active`]:{[`${lt}-bg::before`]:{animationName:Ee(!0)}},[`&${lt}-status-exception`]:{[`${lt}-bg`]:{backgroundColor:$e.colorError},[`${lt}-text`]:{color:$e.colorError}},[`&${lt}-status-exception ${lt}-inner:not(${lt}-circle-gradient)`]:{[`${lt}-circle-path`]:{stroke:$e.colorError}},[`&${lt}-status-success`]:{[`${lt}-bg`]:{backgroundColor:$e.colorSuccess},[`${lt}-text`]:{color:$e.colorSuccess}},[`&${lt}-status-success ${lt}-inner:not(${lt}-circle-gradient)`]:{[`${lt}-circle-path`]:{stroke:$e.colorSuccess}}})}},je=$e=>{const{componentCls:lt,iconCls:ft}=$e;return{[lt]:{[`${lt}-circle-trail`]:{stroke:$e.remainingColor},[`&${lt}-circle ${lt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${lt}-circle ${lt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:$e.circleTextColor,fontSize:$e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[ft]:{fontSize:`${$e.fontSize/$e.fontSizeSM}em`}},[`${lt}-circle&-status-exception`]:{[`${lt}-text`]:{color:$e.colorError}},[`${lt}-circle&-status-success`]:{[`${lt}-text`]:{color:$e.colorSuccess}}},[`${lt}-inline-circle`]:{lineHeight:1,[`${lt}-inner`]:{verticalAlign:"bottom"}}}},Ke=$e=>{const{componentCls:lt}=$e;return{[lt]:{[`${lt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:$e.progressStepMinWidth,marginInlineEnd:$e.progressStepMarginInlineEnd,backgroundColor:$e.remainingColor,transition:`all ${$e.motionDurationSlow}`,"&-active":{backgroundColor:$e.defaultColor}}}}}},at=$e=>{const{componentCls:lt,iconCls:ft}=$e;return{[lt]:{[`${lt}-small&-line, ${lt}-small&-line ${lt}-text ${ft}`]:{fontSize:$e.fontSizeSM}}}};var Ze=(0,Ie.Z)("Progress",$e=>{const lt=$e.marginXXS/2,ft=(0,Te.TS)($e,{progressStepMarginInlineEnd:lt,progressStepMinWidth:lt,progressActiveMotionDuration:"2.4s"});return[Pe(ft),je(ft),Ke(ft),at(ft)]},$e=>({circleTextColor:$e.colorText,defaultColor:$e.colorInfo,remainingColor:$e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),it=function($e,lt){var ft={};for(var mt in $e)Object.prototype.hasOwnProperty.call($e,mt)&<.indexOf(mt)<0&&(ft[mt]=$e[mt]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,mt=Object.getOwnPropertySymbols($e);wt<mt.length;wt++)lt.indexOf(mt[wt])<0&&Object.prototype.propertyIsEnumerable.call($e,mt[wt])&&(ft[mt[wt]]=$e[mt[wt]]);return ft};const pt=null,dt=["normal","exception","active","success"];var st=Be.forwardRef(($e,lt)=>{const{prefixCls:ft,className:mt,rootClassName:wt,steps:jt,strokeColor:It,percent:Mt=0,size:Kt="default",showInfo:qt=!0,type:en="line",status:on,format:wn,style:Nn}=$e,an=it($e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Zn=Be.useMemo(()=>{var Et,Wt;const tn=rt($e);return parseInt(tn!==void 0?(Et=tn!=null?tn:0)===null||Et===void 0?void 0:Et.toString():(Wt=Mt!=null?Mt:0)===null||Wt===void 0?void 0:Wt.toString(),10)},[Mt,$e.success,$e.successPercent]),Rn=Be.useMemo(()=>!dt.includes(on)&&Zn>=100?"success":on||"normal",[on,Zn]),{getPrefixCls:An,direction:Vn,progress:dr}=Be.useContext(de.E_),zt=An("progress",ft),[Qt,gn]=Ze(zt),jn=Be.useMemo(()=>{if(!qt)return null;const Et=rt($e);let Wt;const tn=wn||(Un=>`${Un}%`),sn=en==="line";return wn||Rn!=="exception"&&Rn!=="success"?Wt=tn(ot(Mt),ot(Et)):Rn==="exception"?Wt=sn?Be.createElement(Se.Z,null):Be.createElement(he.Z,null):Rn==="success"&&(Wt=sn?Be.createElement(nt.Z,null):Be.createElement(x.Z,null)),Be.createElement("span",{className:`${zt}-text`,title:typeof Wt=="string"?Wt:void 0},Wt)},[qt,Mt,Zn,Rn,en,zt,wn]),Hn=Array.isArray(It)?It[0]:It,vn=typeof It=="string"||Array.isArray(It)?It:void 0;let bt;en==="line"?bt=jt?Be.createElement(Fe,Object.assign({},$e,{strokeColor:vn,prefixCls:zt,steps:jt}),jn):Be.createElement(Ue,Object.assign({},$e,{strokeColor:Hn,prefixCls:zt,direction:Vn}),jn):(en==="circle"||en==="dashboard")&&(bt=Be.createElement(Xe,Object.assign({},$e,{strokeColor:Hn,prefixCls:zt,progressStatus:Rn}),jn));const Tt=te()(zt,`${zt}-status-${Rn}`,`${zt}-${en==="dashboard"&&"circle"||jt&&"steps"||en}`,{[`${zt}-inline-circle`]:en==="circle"&&Ge(Kt,"circle")[0]<=20,[`${zt}-show-info`]:qt,[`${zt}-${Kt}`]:typeof Kt=="string",[`${zt}-rtl`]:Vn==="rtl"},dr==null?void 0:dr.className,mt,wt,gn);return Qt(Be.createElement("div",Object.assign({ref:lt,style:Object.assign(Object.assign({},dr==null?void 0:dr.style),Nn),className:Tt,role:"progressbar","aria-valuenow":Zn},(0,le.Z)(an,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),bt))}),ht=st},15969:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{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,Pt,Ce){"use strict";Ce.d(Pt,{default:function(){return Ts}});var Be={},nt="rc-table-internal-hook",x=Ce(42978),Se=Ce(6089),he=Ce(34280),ae=Ce(13697),te=Ce(59301),le=Ce(4676);function de(Ve){var et=te.createContext(void 0),ut=function(yt){var St=yt.value,Lt=yt.children,At=te.useRef(St);At.current=St;var Ot=te.useState(function(){return{getValue:function(){return At.current},listeners:new Set}}),Ft=(0,x.Z)(Ot,1),$t=Ft[0];return(0,he.Z)(function(){(0,le.unstable_batchedUpdates)(function(){$t.listeners.forEach(function(Nt){Nt(St)})})},[St]),te.createElement(et.Provider,{value:$t},Lt)};return{Context:et,Provider:ut,defaultValue:Ve}}function se(Ve,et){var ut=(0,Se.Z)(typeof et=="function"?et:function(Nt){if(et===void 0)return Nt;if(!Array.isArray(et))return Nt[et];var Xt={};return et.forEach(function(Zt){Xt[Zt]=Nt[Zt]}),Xt}),gt=te.useContext(Ve==null?void 0:Ve.Context),yt=gt||{},St=yt.listeners,Lt=yt.getValue,At=te.useRef();At.current=ut(gt?Lt():Ve==null?void 0:Ve.defaultValue);var Ot=te.useState({}),Ft=(0,x.Z)(Ot,2),$t=Ft[1];return(0,he.Z)(function(){if(!gt)return;function Nt(Xt){var Zt=ut(Xt);(0,ae.Z)(At.current,Zt,!0)||$t({})}return St.add(Nt),function(){St.delete(Nt)}},[gt]),At.current}var ue=Ce(54476),oe=Ce(8654);function ie(){var Ve=te.createContext(null);function et(){return te.useContext(Ve)}function ut(yt,St){var Lt=(0,oe.Yr)(yt),At=function(Ft,$t){var Nt=Lt?{ref:$t}:{},Xt=te.useRef(0),Zt=te.useRef(Ft),Ht=et();return Ht!==null?te.createElement(yt,(0,ue.Z)({},Ft,Nt)):((!St||St(Zt.current,Ft))&&(Xt.current+=1),Zt.current=Ft,te.createElement(Ve.Provider,{value:Xt.current},te.createElement(yt,(0,ue.Z)({},Ft,Nt))))};return Lt?te.forwardRef(At):At}function gt(yt,St){var Lt=(0,oe.Yr)(yt),At=function(Ft,$t){var Nt=Lt?{ref:$t}:{};return et(),te.createElement(yt,(0,ue.Z)({},Ft,Nt))};return Lt?te.memo(te.forwardRef(At),St):te.memo(At,St)}return{makeImmutable:ut,responseImmutable:gt,useImmutableMark:et}}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(),ge=ce;function ve(Ve,et){var ut=te.useRef(0);ut.current+=1;var gt=te.useRef(Ve),yt=[];Object.keys(Ve||{}).map(function(Lt){var At;(Ve==null?void 0:Ve[Lt])!==((At=gt.current)===null||At===void 0?void 0:At[Lt])&&yt.push(Lt)}),gt.current=Ve;var St=te.useRef([]);return yt.length&&(St.current=yt),te.useDebugValue(ut.current),te.useDebugValue(St.current.join(", ")),et&&console.log("".concat(et,":"),ut.current,St.current),ut.current}var fe=null,pe=te.memo(function(){var Ve=ve();return te.createElement("h1",null,"Render Times: ",Ve)});pe.displayName="RenderBlock";var me=Ce(76190),ye=Ce(33885),be=Ce(20068),Le=Ce(92310),we=Ce.n(Le),Ae=Ce(80547),Me=Ce(97938),De=Ce(48736),ze=te.createContext({renderWithProps:!1}),qe=ze,Re="RC_TABLE_KEY";function ot(Ve){return Ve==null?[]:Array.isArray(Ve)?Ve:[Ve]}function rt(Ve){var et=[],ut={};return Ve.forEach(function(gt){for(var yt=gt||{},St=yt.key,Lt=yt.dataIndex,At=St||ot(Lt).join("-")||Re;ut[At];)At="".concat(At,"_next");ut[At]=!0,et.push(At)}),et}function Qe(Ve){return Ve!=null}function Je(Ve){return Ve&&(0,me.Z)(Ve)==="object"&&!Array.isArray(Ve)&&!te.isValidElement(Ve)}function Ge(Ve,et,ut,gt,yt,St){var Lt=te.useContext(qe),At=re(),Ot=(0,Ae.Z)(function(){if(Qe(gt))return[gt];var Ft=et==null||et===""?[]:Array.isArray(et)?et:[et],$t=(0,Me.Z)(Ve,Ft),Nt=$t,Xt=void 0;if(yt){var Zt=yt($t,Ve,ut);Je(Zt)?(Nt=Zt.children,Xt=Zt.props,Lt.renderWithProps=!0):Nt=Zt}return[Nt,Xt]},[At,Ve,gt,et,yt,ut],function(Ft,$t){if(St){var Nt=(0,x.Z)(Ft,2),Xt=Nt[1],Zt=(0,x.Z)($t,2),Ht=Zt[1];return St(Ht,Xt)}return Lt.renderWithProps?!0:!(0,ae.Z)(Ft,$t,!0)});return Ot}function ke(Ve,et,ut,gt){var yt=Ve+et-1;return Ve<=gt&&yt>=ut}function _e(Ve,et){return se(ge,function(ut){var gt=ke(Ve,et||1,ut.hoverStartRow,ut.hoverEndRow);return[gt,ut.onHover]})}var tt=function(et){var ut=et.ellipsis,gt=et.rowType,yt=et.children,St,Lt=ut===!0?{showTitle:!0}:ut;return Lt&&(Lt.showTitle||gt==="header")&&(typeof yt=="string"||typeof yt=="number"?St=yt.toString():te.isValidElement(yt)&&typeof yt.props.children=="string"&&(St=yt.props.children)),St};function Xe(Ve){var et,ut,gt,yt,St,Lt,At,Ot,Ft=Ve.component,$t=Ve.children,Nt=Ve.ellipsis,Xt=Ve.scope,Zt=Ve.prefixCls,Ht=Ve.className,ln=Ve.align,nn=Ve.record,un=Ve.render,rn=Ve.dataIndex,hn=Ve.renderIndex,kn=Ve.shouldCellUpdate,$n=Ve.index,On=Ve.rowType,er=Ve.colSpan,ir=Ve.rowSpan,Sn=Ve.fixLeft,Ln=Ve.fixRight,bn=Ve.firstFixLeft,fn=Ve.lastFixLeft,Cn=Ve.firstFixRight,qn=Ve.lastFixRight,gr=Ve.appendNode,or=Ve.additionalProps,Kn=or===void 0?{}:or,mr=Ve.isSticky,vr="".concat(Zt,"-cell"),Gr=se(ge,["supportSticky","allColumnsFixedLeft"]),jr=Gr.supportSticky,na=Gr.allColumnsFixedLeft,ra=Ge(nn,rn,hn,$t,un,kn),sr=(0,x.Z)(ra,2),ua=sr[0],Ar=sr[1],Xr={},Hr=typeof Sn=="number"&&jr,Fa=typeof Ln=="number"&&jr;Hr&&(Xr.position="sticky",Xr.left=Sn),Fa&&(Xr.position="sticky",Xr.right=Ln);var Jn=(et=(ut=(gt=Ar==null?void 0:Ar.colSpan)!==null&>!==void 0?gt:Kn.colSpan)!==null&&ut!==void 0?ut:er)!==null&&et!==void 0?et:1,Xn=(yt=(St=(Lt=Ar==null?void 0:Ar.rowSpan)!==null&&Lt!==void 0?Lt:Kn.rowSpan)!==null&&St!==void 0?St:ir)!==null&&yt!==void 0?yt:1,Wn=_e($n,Xn),Bn=(0,x.Z)(Wn,2),Ir=Bn[0],Dn=Bn[1],ar=function(da){var Ma;nn&&Dn($n,$n+Xn-1),Kn==null||(Ma=Kn.onMouseEnter)===null||Ma===void 0||Ma.call(Kn,da)},Cr=function(da){var Ma;nn&&Dn(-1,-1),Kn==null||(Ma=Kn.onMouseLeave)===null||Ma===void 0||Ma.call(Kn,da)};if(Jn===0||Xn===0)return null;var Pr=(At=Kn.title)!==null&&At!==void 0?At:tt({rowType:On,ellipsis:Nt,children:ua}),xa=we()(vr,Ht,(Ot={},(0,be.Z)(Ot,"".concat(vr,"-fix-left"),Hr&&jr),(0,be.Z)(Ot,"".concat(vr,"-fix-left-first"),bn&&jr),(0,be.Z)(Ot,"".concat(vr,"-fix-left-last"),fn&&jr),(0,be.Z)(Ot,"".concat(vr,"-fix-left-all"),fn&&na&&jr),(0,be.Z)(Ot,"".concat(vr,"-fix-right"),Fa&&jr),(0,be.Z)(Ot,"".concat(vr,"-fix-right-first"),Cn&&jr),(0,be.Z)(Ot,"".concat(vr,"-fix-right-last"),qn&&jr),(0,be.Z)(Ot,"".concat(vr,"-ellipsis"),Nt),(0,be.Z)(Ot,"".concat(vr,"-with-append"),gr),(0,be.Z)(Ot,"".concat(vr,"-fix-sticky"),(Hr||Fa)&&mr&&jr),(0,be.Z)(Ot,"".concat(vr,"-row-hover"),!Ar&&Ir),Ot),Kn.className,Ar==null?void 0:Ar.className),Sa={};ln&&(Sa.textAlign=ln);var Qa=(0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)({},Xr),Kn.style),Sa),Ar==null?void 0:Ar.style),ca=ua;return(0,me.Z)(ca)==="object"&&!Array.isArray(ca)&&!te.isValidElement(ca)&&(ca=null),Nt&&(fn||Cn)&&(ca=te.createElement("span",{className:"".concat(vr,"-content")},ca)),te.createElement(Ft,(0,ue.Z)({},Ar,Kn,{className:xa,style:Qa,title:Pr,scope:Xt,onMouseEnter:ar,onMouseLeave:Cr,colSpan:Jn!==1?Jn:null,rowSpan:Xn!==1?Xn:null}),gr,ca)}var ct=te.memo(Xe);function Ye(Ve,et,ut,gt,yt,St){var Lt=ut[Ve]||{},At=ut[et]||{},Ot,Ft;Lt.fixed==="left"?Ot=gt.left[yt==="rtl"?et:Ve]:At.fixed==="right"&&(Ft=gt.right[yt==="rtl"?Ve:et]);var $t=!1,Nt=!1,Xt=!1,Zt=!1,Ht=ut[et+1],ln=ut[Ve-1],nn=!(St!=null&&St.children);if(yt==="rtl"){if(Ot!==void 0){var un=ln&&ln.fixed==="left";Zt=!un&&nn}else if(Ft!==void 0){var rn=Ht&&Ht.fixed==="right";Xt=!rn&&nn}}else if(Ot!==void 0){var hn=Ht&&Ht.fixed==="left";$t=!hn&&nn}else if(Ft!==void 0){var kn=ln&&ln.fixed==="right";Nt=!kn&&nn}return{fixLeft:Ot,fixRight:Ft,lastFixLeft:$t,firstFixRight:Nt,lastFixRight:Xt,firstFixLeft:Zt,isSticky:gt.isSticky}}var Ne=te.createContext({}),Oe=Ne;function Ue(Ve){var et=Ve.className,ut=Ve.index,gt=Ve.children,yt=Ve.colSpan,St=yt===void 0?1:yt,Lt=Ve.rowSpan,At=Ve.align,Ot=se(ge,["prefixCls","direction"]),Ft=Ot.prefixCls,$t=Ot.direction,Nt=te.useContext(Oe),Xt=Nt.scrollColumnIndex,Zt=Nt.stickyOffsets,Ht=Nt.flattenColumns,ln=Nt.columns,nn=ut+St-1,un=nn+1===Xt?St+1:St,rn=Ye(ut,ut+un-1,Ht,Zt,$t,ln==null?void 0:ln[ut]);return te.createElement(ct,(0,ue.Z)({className:et,index:ut,component:"td",prefixCls:Ft,record:null,dataIndex:null,align:At,colSpan:un,rowSpan:Lt,render:function(){return gt}},rn))}var xe=Ce(75931),Fe=["children"];function He(Ve){var et=Ve.children,ut=(0,xe.Z)(Ve,Fe);return te.createElement("tr",ut,et)}function We(Ve){var et=Ve.children;return et}We.Row=He,We.Cell=Ue;var Ie=We;function Te(Ve){var et=Ve.children,ut=Ve.stickyOffsets,gt=Ve.flattenColumns,yt=Ve.columns,St=se(ge,"prefixCls"),Lt=gt.length-1,At=gt[Lt],Ot=te.useMemo(function(){return{stickyOffsets:ut,flattenColumns:gt,scrollColumnIndex:At!=null&&At.scrollbar?Lt:null,columns:yt}},[At,gt,Lt,ut,yt]);return te.createElement(Oe.Provider,{value:Ot},te.createElement("tfoot",{className:"".concat(St,"-summary")},et))}var Ee=ee(Te),Pe=Ie,je=Ce(70425),Ke=Ce(29301),at=Ce(29194),Ze=Ce(24514),it=Ce(75152),pt=Ce(26112);function dt(Ve,et,ut,gt,yt,St,Lt){Ve.push({record:et,indent:ut,index:Lt});var At=St(et),Ot=yt==null?void 0:yt.has(At);if(et&&Array.isArray(et[gt])&&Ot)for(var Ft=0;Ft<et[gt].length;Ft+=1)dt(Ve,et[gt][Ft],ut+1,gt,yt,St,Ft)}function vt(Ve,et,ut,gt){var yt=te.useMemo(function(){if(ut!=null&&ut.size){for(var St=[],Lt=0;Lt<(Ve==null?void 0:Ve.length);Lt+=1){var At=Ve[Lt];dt(St,At,0,et,ut,gt,Lt)}return St}return Ve==null?void 0:Ve.map(function(Ot,Ft){return{record:Ot,indent:0,index:Ft}})},[Ve,et,ut,gt]);return yt}function st(Ve){var et=Ve.prefixCls,ut=Ve.children,gt=Ve.component,yt=Ve.cellComponent,St=Ve.className,Lt=Ve.expanded,At=Ve.colSpan,Ot=Ve.isEmpty,Ft=se(ge,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),$t=Ft.scrollbarSize,Nt=Ft.fixHeader,Xt=Ft.fixColumn,Zt=Ft.componentWidth,Ht=Ft.horizonScroll,ln=ut;return(Ot?Ht&&Zt:Xt)&&(ln=te.createElement("div",{style:{width:Zt-(Nt?$t:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(et,"-expanded-row-fixed")},ln)),te.createElement(gt,{className:St,style:{display:Lt?null:"none"}},te.createElement(ct,{component:yt,prefixCls:et,colSpan:At},ln))}var ht=st;function $e(Ve,et,ut,gt){var yt=se(ge,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),St=yt.flattenColumns,Lt=yt.expandableType,At=yt.expandedKeys,Ot=yt.childrenColumnName,Ft=yt.onTriggerExpand,$t=yt.rowExpandable,Nt=yt.onRow,Xt=yt.expandRowByClick,Zt=yt.rowClassName,Ht=Lt==="nest",ln=Lt==="row"&&(!$t||$t(Ve)),nn=ln||Ht,un=At&&At.has(et),rn=Ot&&Ve&&Ve[Ot],hn=(0,je.useEvent)(Ft),kn=Nt==null?void 0:Nt(Ve,ut),$n=kn==null?void 0:kn.onClick,On=function(Ln){Xt&&nn&&Ft(Ve,Ln);for(var bn=arguments.length,fn=new Array(bn>1?bn-1:0),Cn=1;Cn<bn;Cn++)fn[Cn-1]=arguments[Cn];$n==null||$n.apply(void 0,[Ln].concat(fn))},er;typeof Zt=="string"?er=Zt:typeof Zt=="function"&&(er=Zt(Ve,ut,gt));var ir=rt(St);return(0,ye.Z)((0,ye.Z)({},yt),{},{columnsKey:ir,nestExpandable:Ht,expanded:un,hasNestChildren:rn,record:Ve,onTriggerExpand:hn,rowSupportExpand:ln,expandable:nn,rowProps:(0,ye.Z)((0,ye.Z)({},kn),{},{className:we()(er,kn==null?void 0:kn.className),onClick:On})})}function lt(Ve,et,ut,gt,yt){var St=Ve.record,Lt=Ve.prefixCls,At=Ve.columnsKey,Ot=Ve.fixedInfoList,Ft=Ve.expandIconColumnIndex,$t=Ve.nestExpandable,Nt=Ve.indentSize,Xt=Ve.expandIcon,Zt=Ve.expanded,Ht=Ve.hasNestChildren,ln=Ve.onTriggerExpand,nn=At[ut],un=Ot[ut],rn;ut===(Ft||0)&&$t&&(rn=te.createElement(te.Fragment,null,te.createElement("span",{style:{paddingLeft:"".concat(Nt*gt,"px")},className:"".concat(Lt,"-row-indent indent-level-").concat(gt)}),Xt({prefixCls:Lt,expanded:Zt,expandable:Ht,record:St,onExpand:ln})));var hn;return et.onCell&&(hn=et.onCell(St,yt)),{key:nn,fixedInfo:un,appendCellNode:rn,additionalCellProps:hn||{}}}function ft(Ve){var et=Ve.className,ut=Ve.style,gt=Ve.record,yt=Ve.index,St=Ve.renderIndex,Lt=Ve.rowKey,At=Ve.indent,Ot=At===void 0?0:At,Ft=Ve.rowComponent,$t=Ve.cellComponent,Nt=Ve.scopeCellComponent,Xt=$e(gt,Lt,yt,Ot),Zt=Xt.prefixCls,Ht=Xt.flattenColumns,ln=Xt.expandedRowClassName,nn=Xt.expandedRowRender,un=Xt.rowProps,rn=Xt.expanded,hn=Xt.rowSupportExpand,kn=te.useState(!1),$n=(0,x.Z)(kn,2),On=$n[0],er=$n[1];te.useEffect(function(){rn&&er(!0)},[rn]);var ir=te.createElement(Ft,(0,ue.Z)({},un,{"data-row-key":Lt,className:we()(et,"".concat(Zt,"-row"),"".concat(Zt,"-row-level-").concat(Ot),un==null?void 0:un.className),style:(0,ye.Z)((0,ye.Z)({},ut),un==null?void 0:un.style)}),Ht.map(function(fn,Cn){var qn=fn.render,gr=fn.dataIndex,or=fn.className,Kn=lt(Xt,fn,Cn,Ot,yt),mr=Kn.key,vr=Kn.fixedInfo,Gr=Kn.appendCellNode,jr=Kn.additionalCellProps;return te.createElement(ct,(0,ue.Z)({className:or,ellipsis:fn.ellipsis,align:fn.align,scope:fn.rowScope,component:fn.rowScope?Nt:$t,prefixCls:Zt,key:mr,record:gt,index:yt,renderIndex:St,dataIndex:gr,render:qn,shouldCellUpdate:fn.shouldCellUpdate},vr,{appendNode:Gr,additionalProps:jr}))})),Sn;if(hn&&(On||rn)){var Ln=nn(gt,yt,Ot+1,rn),bn=ln&&ln(gt,yt,Ot);Sn=te.createElement(ht,{expanded:rn,className:we()("".concat(Zt,"-expanded-row"),"".concat(Zt,"-expanded-row-level-").concat(Ot+1),bn),prefixCls:Zt,component:Ft,cellComponent:$t,colSpan:Ht.length,isEmpty:!1},Ln)}return te.createElement(te.Fragment,null,ir,Sn)}ft.displayName="BodyRow";var mt=ee(ft);function wt(Ve){var et=Ve.columnKey,ut=Ve.onColumnResize,gt=te.useRef();return te.useEffect(function(){gt.current&&ut(et,gt.current.offsetWidth)},[]),te.createElement(Ke.Z,{data:et},te.createElement("td",{ref:gt,style:{padding:0,border:0,height:0}},te.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function jt(Ve){var et=Ve.prefixCls,ut=Ve.columnsKey,gt=Ve.onColumnResize;return te.createElement("tr",{"aria-hidden":"true",className:"".concat(et,"-measure-row"),style:{height:0,fontSize:0}},te.createElement(Ke.Z.Collection,{onBatchResize:function(St){St.forEach(function(Lt){var At=Lt.data,Ot=Lt.size;gt(At,Ot.offsetWidth)})}},ut.map(function(yt){return te.createElement(wt,{key:yt,columnKey:yt,onColumnResize:gt})})))}function It(Ve){var et=Ve.data,ut=Ve.measureColumnWidth,gt=se(ge,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),yt=gt.prefixCls,St=gt.getComponent,Lt=gt.onColumnResize,At=gt.flattenColumns,Ot=gt.getRowKey,Ft=gt.expandedKeys,$t=gt.childrenColumnName,Nt=gt.emptyNode,Xt=vt(et,$t,Ft,Ot),Zt=te.useRef({renderWithProps:!1}),Ht=St(["body","wrapper"],"tbody"),ln=St(["body","row"],"tr"),nn=St(["body","cell"],"td"),un=St(["body","cell"],"th"),rn;et.length?rn=Xt.map(function(kn,$n){var On=kn.record,er=kn.indent,ir=kn.index,Sn=Ot(On,$n);return te.createElement(mt,{key:Sn,rowKey:Sn,record:On,index:$n,renderIndex:ir,rowComponent:ln,cellComponent:nn,scopeCellComponent:un,getRowKey:Ot,indent:er})}):rn=te.createElement(ht,{expanded:!0,className:"".concat(yt,"-placeholder"),prefixCls:yt,component:ln,cellComponent:nn,colSpan:At.length,isEmpty:!0},Nt);var hn=rt(At);return te.createElement(qe.Provider,{value:Zt.current},te.createElement(Ht,{className:"".concat(yt,"-tbody")},ut&&te.createElement(jt,{prefixCls:yt,columnsKey:hn,onColumnResize:Lt}),rn))}It.displayName="Body";var Mt=ee(It),Kt=["expandable"],qt="RC_TABLE_INTERNAL_COL_DEFINE";function en(Ve){var et=Ve.expandable,ut=(0,xe.Z)(Ve,Kt),gt;return"expandable"in Ve?gt=(0,ye.Z)((0,ye.Z)({},ut),et):gt=ut,gt.showExpandColumn===!1&&(gt.expandIconColumnIndex=-1),gt}var on=["columnType"];function wn(Ve){for(var et=Ve.colWidths,ut=Ve.columns,gt=Ve.columCount,yt=[],St=gt||ut.length,Lt=!1,At=St-1;At>=0;At-=1){var Ot=et[At],Ft=ut&&ut[At],$t=Ft&&Ft[qt];if(Ot||$t||Lt){var Nt=$t||{},Xt=Nt.columnType,Zt=(0,xe.Z)(Nt,on);yt.unshift(te.createElement("col",(0,ue.Z)({key:At,style:{width:Ot}},Zt))),Lt=!0}}return te.createElement("colgroup",null,yt)}var Nn=wn,an=Ce(94480),Zn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Rn(Ve,et){return(0,te.useMemo)(function(){for(var ut=[],gt=0;gt<et;gt+=1){var yt=Ve[gt];if(yt!==void 0)ut[gt]=yt;else return null}return ut},[Ve.join("_"),et])}var An=te.forwardRef(function(Ve,et){var ut=Ve.className,gt=Ve.noData,yt=Ve.columns,St=Ve.flattenColumns,Lt=Ve.colWidths,At=Ve.columCount,Ot=Ve.stickyOffsets,Ft=Ve.direction,$t=Ve.fixHeader,Nt=Ve.stickyTopOffset,Xt=Ve.stickyBottomOffset,Zt=Ve.stickyClassName,Ht=Ve.onScroll,ln=Ve.maxContentScroll,nn=Ve.children,un=(0,xe.Z)(Ve,Zn),rn=se(ge,["prefixCls","scrollbarSize","isSticky"]),hn=rn.prefixCls,kn=rn.scrollbarSize,$n=rn.isSticky,On=$n&&!$t?0:kn,er=te.useRef(null),ir=te.useCallback(function(or){(0,oe.mH)(et,or),(0,oe.mH)(er,or)},[]);te.useEffect(function(){var or;function Kn(mr){var vr=mr,Gr=vr.currentTarget,jr=vr.deltaX;jr&&(Ht({currentTarget:Gr,scrollLeft:Gr.scrollLeft+jr}),mr.preventDefault())}return(or=er.current)===null||or===void 0||or.addEventListener("wheel",Kn),function(){var mr;(mr=er.current)===null||mr===void 0||mr.removeEventListener("wheel",Kn)}},[]);var Sn=te.useMemo(function(){return St.every(function(or){return or.width})},[St]),Ln=St[St.length-1],bn={fixed:Ln?Ln.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(hn,"-cell-scrollbar")}}},fn=(0,te.useMemo)(function(){return On?[].concat((0,an.Z)(yt),[bn]):yt},[On,yt]),Cn=(0,te.useMemo)(function(){return On?[].concat((0,an.Z)(St),[bn]):St},[On,St]),qn=(0,te.useMemo)(function(){var or=Ot.right,Kn=Ot.left;return(0,ye.Z)((0,ye.Z)({},Ot),{},{left:Ft==="rtl"?[].concat((0,an.Z)(Kn.map(function(mr){return mr+On})),[0]):Kn,right:Ft==="rtl"?or:[].concat((0,an.Z)(or.map(function(mr){return mr+On})),[0]),isSticky:$n})},[On,Ot,$n]),gr=Rn(Lt,At);return te.createElement("div",{style:(0,ye.Z)({overflow:"hidden"},$n?{top:Nt,bottom:Xt}:{}),ref:ir,className:we()(ut,(0,be.Z)({},Zt,!!Zt))},te.createElement("table",{style:{tableLayout:"fixed",visibility:gt||gr?null:"hidden"}},(!gt||!ln||Sn)&&te.createElement(Nn,{colWidths:gr?[].concat((0,an.Z)(gr),[On]):[],columCount:At+1,columns:Cn}),nn((0,ye.Z)((0,ye.Z)({},un),{},{stickyOffsets:qn,columns:fn,flattenColumns:Cn}))))});An.displayName="FixedHolder";var Vn=te.memo(An);function dr(Ve){var et=Ve.cells,ut=Ve.stickyOffsets,gt=Ve.flattenColumns,yt=Ve.rowComponent,St=Ve.cellComponent,Lt=Ve.tdCellComponent,At=Ve.onHeaderRow,Ot=Ve.index,Ft=se(ge,["prefixCls","direction"]),$t=Ft.prefixCls,Nt=Ft.direction,Xt;At&&(Xt=At(et.map(function(Ht){return Ht.column}),Ot));var Zt=rt(et.map(function(Ht){return Ht.column}));return te.createElement(yt,Xt,et.map(function(Ht,ln){var nn=Ht.column,un=Ye(Ht.colStart,Ht.colEnd,gt,ut,Nt,nn),rn;return nn&&nn.onHeaderCell&&(rn=Ht.column.onHeaderCell(nn)),te.createElement(ct,(0,ue.Z)({},Ht,{scope:nn.title?Ht.colSpan>1?"colgroup":"col":null,ellipsis:nn.ellipsis,align:nn.align,component:nn.title?St:Lt,prefixCls:$t,key:Zt[ln]},un,{additionalProps:rn,rowType:"header"}))}))}dr.displayName="HeaderRow";var zt=dr;function Qt(Ve){var et=[];function ut(Lt,At){var Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;et[Ot]=et[Ot]||[];var Ft=At,$t=Lt.filter(Boolean).map(function(Nt){var Xt={key:Nt.key,className:Nt.className||"",children:Nt.title,column:Nt,colStart:Ft},Zt=1,Ht=Nt.children;return Ht&&Ht.length>0&&(Zt=ut(Ht,Ft,Ot+1).reduce(function(ln,nn){return ln+nn},0),Xt.hasSubColumns=!0),"colSpan"in Nt&&(Zt=Nt.colSpan),"rowSpan"in Nt&&(Xt.rowSpan=Nt.rowSpan),Xt.colSpan=Zt,Xt.colEnd=Xt.colStart+Zt-1,et[Ot].push(Xt),Ft+=Zt,Zt});return $t}ut(Ve,0);for(var gt=et.length,yt=function(At){et[At].forEach(function(Ot){!("rowSpan"in Ot)&&!Ot.hasSubColumns&&(Ot.rowSpan=gt-At)})},St=0;St<gt;St+=1)yt(St);return et}function gn(Ve){var et=Ve.stickyOffsets,ut=Ve.columns,gt=Ve.flattenColumns,yt=Ve.onHeaderRow,St=se(ge,["prefixCls","getComponent"]),Lt=St.prefixCls,At=St.getComponent,Ot=te.useMemo(function(){return Qt(ut)},[ut]),Ft=At(["header","wrapper"],"thead"),$t=At(["header","row"],"tr"),Nt=At(["header","cell"],"th"),Xt=At(["header","cell"],"td");return te.createElement(Ft,{className:"".concat(Lt,"-thead")},Ot.map(function(Zt,Ht){var ln=te.createElement(zt,{key:Ht,flattenColumns:gt,cells:Zt,stickyOffsets:et,rowComponent:$t,cellComponent:Nt,tdCellComponent:Xt,onHeaderRow:yt,index:Ht});return ln}))}var jn=ee(gn),Hn=Ce(11592);function vn(Ve){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof et=="number"?et:et.endsWith("%")?Ve*parseFloat(et)/100:null}function bt(Ve,et){return te.useMemo(function(){if(et&&et>0){var ut=0,gt=0;Ve.forEach(function(Ft){var $t=vn(et,Ft.width);$t?ut+=$t:gt+=1});var yt=et-ut,St=gt,Lt=yt/gt,At=0,Ot=Ve.map(function(Ft){var $t=(0,ye.Z)({},Ft),Nt=vn(et,$t.width);if(Nt)$t.width=Nt;else{var Xt=Math.floor(Lt);$t.width=St===1?yt:Xt,yt-=Xt,St-=1}return At+=$t.width,$t});return[Ot,At]}return[Ve,et]},[Ve,et])}var Tt=["children"],Et=["fixed"];function Wt(Ve){return(0,Hn.Z)(Ve).filter(function(et){return te.isValidElement(et)}).map(function(et){var ut=et.key,gt=et.props,yt=gt.children,St=(0,xe.Z)(gt,Tt),Lt=(0,ye.Z)({key:ut},St);return yt&&(Lt.children=Wt(yt)),Lt})}function tn(Ve){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ve.filter(function(ut){return ut&&(0,me.Z)(ut)==="object"}).reduce(function(ut,gt,yt){var St=gt.fixed,Lt=St===!0?"left":St,At="".concat(et,"-").concat(yt),Ot=gt.children;return Ot&&Ot.length>0?[].concat((0,an.Z)(ut),(0,an.Z)(tn(Ot,At).map(function(Ft){return(0,ye.Z)({fixed:Lt},Ft)}))):[].concat((0,an.Z)(ut),[(0,ye.Z)((0,ye.Z)({key:At},gt),{},{fixed:Lt})])},[])}function sn(Ve){for(var et=!0,ut=0;ut<Ve.length;ut+=1){var gt=Ve[ut];if(et&>.fixed!=="left")et=!1;else if(!et&>.fixed==="left"){warning(!1,"Index ".concat(ut-1," of `columns` missing `fixed='left'` prop."));break}}for(var yt=!0,St=Ve.length-1;St>=0;St-=1){var Lt=Ve[St];if(yt&&Lt.fixed!=="right")yt=!1;else if(!yt&&Lt.fixed==="right"){warning(!1,"Index ".concat(St+1," of `columns` missing `fixed='right'` prop."));break}}}function Un(Ve){return Ve.map(function(et){var ut=et.fixed,gt=(0,xe.Z)(et,Et),yt=ut;return ut==="left"?yt="right":ut==="right"&&(yt="left"),(0,ye.Z)({fixed:yt},gt)})}function Qn(Ve,et){var ut=Ve.prefixCls,gt=Ve.columns,yt=Ve.children,St=Ve.expandable,Lt=Ve.expandedKeys,At=Ve.columnTitle,Ot=Ve.getRowKey,Ft=Ve.onTriggerExpand,$t=Ve.expandIcon,Nt=Ve.rowExpandable,Xt=Ve.expandIconColumnIndex,Zt=Ve.direction,Ht=Ve.expandRowByClick,ln=Ve.columnWidth,nn=Ve.fixed,un=Ve.scrollWidth,rn=te.useMemo(function(){return gt||Wt(yt)},[gt,yt]),hn=te.useMemo(function(){if(St){var Ln,bn=rn.slice();if(!bn.includes(Be)){var fn=Xt||0;fn>=0&&bn.splice(fn,0,Be)}var Cn=bn.indexOf(Be);bn=bn.filter(function(Kn,mr){return Kn!==Be||mr===Cn});var qn=rn[Cn],gr;(nn==="left"||nn)&&!Xt?gr="left":(nn==="right"||nn)&&Xt===rn.length?gr="right":gr=qn?qn.fixed:null;var or=(Ln={},(0,be.Z)(Ln,qt,{className:"".concat(ut,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,be.Z)(Ln,"title",At),(0,be.Z)(Ln,"fixed",gr),(0,be.Z)(Ln,"className","".concat(ut,"-row-expand-icon-cell")),(0,be.Z)(Ln,"width",ln),(0,be.Z)(Ln,"render",function(mr,vr,Gr){var jr=Ot(vr,Gr),na=Lt.has(jr),ra=Nt?Nt(vr):!0,sr=$t({prefixCls:ut,expanded:na,expandable:ra,record:vr,onExpand:Ft});return Ht?te.createElement("span",{onClick:function(Ar){return Ar.stopPropagation()}},sr):sr}),Ln);return bn.map(function(Kn){return Kn===Be?or:Kn})}return rn.filter(function(Kn){return Kn!==Be})},[St,rn,Ot,Lt,$t,Zt]),kn=te.useMemo(function(){var Ln=hn;return et&&(Ln=et(Ln)),Ln.length||(Ln=[{render:function(){return null}}]),Ln},[et,hn,Zt]),$n=te.useMemo(function(){return Zt==="rtl"?Un(tn(kn)):tn(kn)},[kn,Zt,un]),On=bt($n,un),er=(0,x.Z)(On,2),ir=er[0],Sn=er[1];return[kn,ir,Sn]}var yn=Qn;function mn(Ve){var et,ut=Ve.prefixCls,gt=Ve.record,yt=Ve.onExpand,St=Ve.expanded,Lt=Ve.expandable,At="".concat(ut,"-row-expand-icon");if(!Lt)return te.createElement("span",{className:we()(At,"".concat(ut,"-row-spaced"))});var Ot=function($t){yt(gt,$t),$t.stopPropagation()};return te.createElement("span",{className:we()(At,(et={},(0,be.Z)(et,"".concat(ut,"-row-expanded"),St),(0,be.Z)(et,"".concat(ut,"-row-collapsed"),!St),et)),onClick:Ot})}function rr(Ve,et,ut){var gt=[];function yt(St){(St||[]).forEach(function(Lt,At){gt.push(et(Lt,At)),yt(Lt[ut])})}return yt(Ve),gt}function hr(Ve,et,ut){var gt=en(Ve),yt=gt.expandIcon,St=gt.expandedRowKeys,Lt=gt.defaultExpandedRowKeys,At=gt.defaultExpandAllRows,Ot=gt.expandedRowRender,Ft=gt.onExpand,$t=gt.onExpandedRowsChange,Nt=gt.childrenColumnName,Xt=yt||mn,Zt=Nt||"children",Ht=te.useMemo(function(){return Ot?"row":Ve.expandable&&Ve.internalHooks===nt&&Ve.expandable.__PARENT_RENDER_ICON__||et.some(function($n){return $n&&(0,me.Z)($n)==="object"&&$n[Zt]})?"nest":!1},[!!Ot,et]),ln=te.useState(function(){return Lt||(At?rr(et,ut,Zt):[])}),nn=(0,x.Z)(ln,2),un=nn[0],rn=nn[1],hn=te.useMemo(function(){return new Set(St||un||[])},[St,un]),kn=te.useCallback(function($n){var On=ut($n,et.indexOf($n)),er,ir=hn.has(On);ir?(hn.delete(On),er=(0,an.Z)(hn)):er=[].concat((0,an.Z)(hn),[On]),rn(er),Ft&&Ft(!ir,$n),$t&&$t(er)},[ut,hn,et,Ft,$t]);return[gt,Ht,hn,Xt,Zt,kn]}function Yt(Ve,et,ut,gt){var yt=Ve.map(function(St,Lt){return Ye(Lt,Lt,Ve,et,ut,gt==null?void 0:gt[Lt])});return(0,Ae.Z)(function(){return yt},[yt],function(St,Lt){return!(0,ae.Z)(St,Lt)})}function In(Ve){var et=(0,te.useRef)(Ve),ut=(0,te.useState)({}),gt=(0,x.Z)(ut,2),yt=gt[1],St=(0,te.useRef)(null),Lt=(0,te.useRef)([]);function At(Ot){Lt.current.push(Ot);var Ft=Promise.resolve();St.current=Ft,Ft.then(function(){if(St.current===Ft){var $t=Lt.current,Nt=et.current;Lt.current=[],$t.forEach(function(Xt){et.current=Xt(et.current)}),St.current=null,Nt!==et.current&&yt({})}})}return(0,te.useEffect)(function(){return function(){St.current=null}},[]),[et.current,At]}function Yn(Ve){var et=(0,te.useRef)(Ve||null),ut=(0,te.useRef)();function gt(){window.clearTimeout(ut.current)}function yt(Lt){et.current=Lt,gt(),ut.current=window.setTimeout(function(){et.current=null,ut.current=void 0},100)}function St(){return et.current}return(0,te.useEffect)(function(){return gt},[]),[yt,St]}function _n(){var Ve=te.useState(-1),et=(0,x.Z)(Ve,2),ut=et[0],gt=et[1],yt=te.useState(-1),St=(0,x.Z)(yt,2),Lt=St[0],At=St[1],Ot=te.useCallback(function(Ft,$t){gt(Ft),At($t)},[]);return[ut,Lt,Ot]}var cr=Ce(47273),xt=(0,cr.Z)()?window:null;function Bt(Ve,et){var ut=(0,me.Z)(Ve)==="object"?Ve:{},gt=ut.offsetHeader,yt=gt===void 0?0:gt,St=ut.offsetSummary,Lt=St===void 0?0:St,At=ut.offsetScroll,Ot=At===void 0?0:At,Ft=ut.getContainer,$t=Ft===void 0?function(){return xt}:Ft,Nt=$t()||xt;return te.useMemo(function(){var Xt=!!Ve;return{isSticky:Xt,stickyClassName:Xt?"".concat(et,"-sticky-holder"):"",offsetHeader:yt,offsetSummary:Lt,offsetScroll:Ot,container:Nt}},[Ot,yt,Lt,et,Nt])}function Rt(Ve,et,ut){var gt=(0,te.useMemo)(function(){for(var yt=[],St=[],Lt=0,At=0,Ot=0;Ot<et;Ot+=1)if(ut==="rtl"){St[Ot]=At,At+=Ve[Ot]||0;var Ft=et-Ot-1;yt[Ft]=Lt,Lt+=Ve[Ft]||0}else{yt[Ot]=Lt,Lt+=Ve[Ot]||0;var $t=et-Ot-1;St[$t]=At,At+=Ve[$t]||0}return{left:yt,right:St}},[Ve,et,ut]);return gt}var _t=Rt;function Vt(Ve){var et=Ve.className,ut=Ve.children;return te.createElement("div",{className:et},ut)}var Ut=Vt,kt=Ce(8224),Gt=Ce(55468),Gn=function(et,ut){var gt,yt,St=et.scrollBodyRef,Lt=et.onScroll,At=et.offsetScroll,Ot=et.container,Ft=se(ge,"prefixCls"),$t=((gt=St.current)===null||gt===void 0?void 0:gt.scrollWidth)||0,Nt=((yt=St.current)===null||yt===void 0?void 0:yt.clientWidth)||0,Xt=$t&&Nt*(Nt/$t),Zt=te.useRef(),Ht=In({scrollLeft:0,isHiddenScrollBar:!1}),ln=(0,x.Z)(Ht,2),nn=ln[0],un=ln[1],rn=te.useRef({delta:0,x:0}),hn=te.useState(!1),kn=(0,x.Z)(hn,2),$n=kn[0],On=kn[1],er=function(){On(!1)},ir=function(Cn){Cn.persist(),rn.current.delta=Cn.pageX-nn.scrollLeft,rn.current.x=0,On(!0),Cn.preventDefault()},Sn=function(Cn){var qn,gr=Cn||((qn=window)===null||qn===void 0?void 0:qn.event),or=gr.buttons;if(!$n||or===0){$n&&On(!1);return}var Kn=rn.current.x+Cn.pageX-rn.current.x-rn.current.delta;Kn<=0&&(Kn=0),Kn+Xt>=Nt&&(Kn=Nt-Xt),Lt({scrollLeft:Kn/Nt*($t+2)}),rn.current.x=Cn.pageX},Ln=function(){if(St.current){var Cn=(0,Gt.os)(St.current).top,qn=Cn+St.current.offsetHeight,gr=Ot===window?document.documentElement.scrollTop+window.innerHeight:(0,Gt.os)(Ot).top+Ot.clientHeight;qn-(0,it.Z)()<=gr||Cn>=gr-At?un(function(or){return(0,ye.Z)((0,ye.Z)({},or),{},{isHiddenScrollBar:!0})}):un(function(or){return(0,ye.Z)((0,ye.Z)({},or),{},{isHiddenScrollBar:!1})})}},bn=function(Cn){un(function(qn){return(0,ye.Z)((0,ye.Z)({},qn),{},{scrollLeft:Cn/$t*Nt||0})})};return te.useImperativeHandle(ut,function(){return{setScrollLeft:bn}}),te.useEffect(function(){var fn=(0,kt.Z)(document.body,"mouseup",er,!1),Cn=(0,kt.Z)(document.body,"mousemove",Sn,!1);return Ln(),function(){fn.remove(),Cn.remove()}},[Xt,$n]),te.useEffect(function(){var fn=(0,kt.Z)(Ot,"scroll",Ln,!1),Cn=(0,kt.Z)(window,"resize",Ln,!1);return function(){fn.remove(),Cn.remove()}},[Ot]),te.useEffect(function(){nn.isHiddenScrollBar||un(function(fn){var Cn=St.current;return Cn?(0,ye.Z)((0,ye.Z)({},fn),{},{scrollLeft:Cn.scrollLeft/Cn.scrollWidth*Cn.clientWidth}):fn})},[nn.isHiddenScrollBar]),$t<=Nt||!Xt||nn.isHiddenScrollBar?null:te.createElement("div",{style:{height:(0,it.Z)(),width:Nt,bottom:At},className:"".concat(Ft,"-sticky-scroll")},te.createElement("div",{onMouseDown:ir,ref:Zt,className:we()("".concat(Ft,"-sticky-scroll-bar"),(0,be.Z)({},"".concat(Ft,"-sticky-scroll-bar-active"),$n)),style:{width:"".concat(Xt,"px"),transform:"translate3d(".concat(nn.scrollLeft,"px, 0, 0)")}}))},Dt=te.forwardRef(Gn);function zn(Ve){return null}var pr=zn;function br(Ve){return null}var Lr=br,ea="rc-table",Jt=[],dn={};function Pn(){return"No Data"}function Tn(Ve){var et,ut=(0,ye.Z)({rowKey:"key",prefixCls:ea,emptyText:Pn},Ve),gt=ut.prefixCls,yt=ut.className,St=ut.rowClassName,Lt=ut.style,At=ut.data,Ot=ut.rowKey,Ft=ut.scroll,$t=ut.tableLayout,Nt=ut.direction,Xt=ut.title,Zt=ut.footer,Ht=ut.summary,ln=ut.caption,nn=ut.id,un=ut.showHeader,rn=ut.components,hn=ut.emptyText,kn=ut.onRow,$n=ut.onHeaderRow,On=ut.internalHooks,er=ut.transformColumns,ir=ut.internalRefs,Sn=ut.tailor,Ln=ut.sticky,bn=At||Jt,fn=!!bn.length,Cn=On===nt,qn=te.useCallback(function(kr,Vr){return(0,Me.Z)(rn,kr)||Vr},[rn]),gr=te.useMemo(function(){return typeof Ot=="function"?Ot:function(kr){var Vr=kr&&kr[Ot];return Vr}},[Ot]),or=qn(["body"]),Kn=_n(),mr=(0,x.Z)(Kn,3),vr=mr[0],Gr=mr[1],jr=mr[2],na=hr(ut,bn,gr),ra=(0,x.Z)(na,6),sr=ra[0],ua=ra[1],Ar=ra[2],Xr=ra[3],Hr=ra[4],Fa=ra[5],Jn=Ft==null?void 0:Ft.x,Xn=te.useState(0),Wn=(0,x.Z)(Xn,2),Bn=Wn[0],Ir=Wn[1],Dn=yn((0,ye.Z)((0,ye.Z)((0,ye.Z)({},ut),sr),{},{expandable:!!sr.expandedRowRender,columnTitle:sr.columnTitle,expandedKeys:Ar,getRowKey:gr,onTriggerExpand:Fa,expandIcon:Xr,expandIconColumnIndex:sr.expandIconColumnIndex,direction:Nt,scrollWidth:Cn&&Sn&&typeof Jn=="number"?Jn:null}),Cn?er:null),ar=(0,x.Z)(Dn,3),Cr=ar[0],Pr=ar[1],xa=ar[2],Sa=xa!=null?xa:Jn,Qa=te.useMemo(function(){return{columns:Cr,flattenColumns:Pr}},[Cr,Pr]),ca=te.useRef(),Ha=te.useRef(),da=te.useRef(),Ma=te.useRef(),fo=te.useRef(),Dr=te.useState(!1),Rr=(0,x.Z)(Dr,2),Jr=Rr[0],fa=Rr[1],ga=te.useState(!1),yr=(0,x.Z)(ga,2),ja=yr[0],Ea=yr[1],Ga=In(new Map),eo=(0,x.Z)(Ga,2),qa=eo[0],xo=eo[1],ao=rt(Pr),Xa=ao.map(function(kr){return qa.get(kr)}),Na=te.useMemo(function(){return Xa},[Xa.join("_")]),La=_t(Na,Pr.length,Nt),ma=Ft&&Qe(Ft.y),Qr=Ft&&Qe(Sa)||!!sr.fixed,to=Qr&&Pr.some(function(kr){var Vr=kr.fixed;return Vr}),mo=te.useRef(),lo=Bt(Ln,gt),no=lo.isSticky,Lo=lo.offsetHeader,zo=lo.offsetSummary,Tr=lo.offsetScroll,Kr=lo.stickyClassName,Pa=lo.container,qr=te.useMemo(function(){return Ht==null?void 0:Ht(bn)},[Ht,bn]),Ca=(ma||no)&&te.isValidElement(qr)&&qr.type===Ie&&qr.props.fixed,Ba,Da,oo;ma&&(Da={overflowY:"scroll",maxHeight:Ft.y}),Qr&&(Ba={overflowX:"auto"},ma||(Da={overflowY:"hidden"}),oo={width:Sa===!0?"auto":Sa,minWidth:"100%"});var gi=te.useCallback(function(kr,Vr){(0,at.Z)(ca.current)&&xo(function(Va){if(Va.get(kr)!==Vr){var uo=new Map(Va);return uo.set(kr,Vr),uo}return Va})},[]),Os=Yn(null),mi=(0,x.Z)(Os,2),js=mi[0],pi=mi[1];function Ao(kr,Vr){Vr&&(typeof Vr=="function"?Vr(kr):Vr.scrollLeft!==kr&&(Vr.scrollLeft=kr,Vr.scrollLeft!==kr&&setTimeout(function(){Vr.scrollLeft=kr},0)))}var vo=(0,Se.Z)(function(kr){var Vr=kr.currentTarget,Va=kr.scrollLeft,uo=Nt==="rtl",co=typeof Va=="number"?Va:Vr.scrollLeft,Ai=Vr||dn;if(!pi()||pi()===Ai){var Ho;js(Ai),Ao(co,Ha.current),Ao(co,da.current),Ao(co,fo.current),Ao(co,(Ho=mo.current)===null||Ho===void 0?void 0:Ho.setScrollLeft)}var Xo=Vr||Ha.current;if(Xo){var Vo=Xo.scrollWidth,Yo=Xo.clientWidth;if(Vo===Yo){fa(!1),Ea(!1);return}uo?(fa(-co<Vo-Yo),Ea(-co>0)):(fa(co>0),Ea(co<Vo-Yo))}}),hi=function(){Qr&&da.current?vo({currentTarget:da.current}):(fa(!1),Ea(!1))},Ls=function(Vr){var Va=Vr.width;Va!==Bn&&(hi(),Ir(ca.current?ca.current.offsetWidth:Va))},vi=te.useRef(!1);te.useEffect(function(){vi.current&&hi()},[Qr,At,Cr.length]),te.useEffect(function(){vi.current=!0},[]);var As=te.useState(0),yi=(0,x.Z)(As,2),Io=yi[0],Si=yi[1],Is=te.useState(!0),bi=(0,x.Z)(Is,2),Pi=bi[0],Fs=bi[1];te.useEffect(function(){(!Sn||!Cn)&&(da.current instanceof Element?Si((0,it.o)(da.current).width):Si((0,it.o)(Ma.current).width)),Fs((0,Ze.G)("position","sticky"))},[]),te.useEffect(function(){Cn&&ir&&(ir.body.current=da.current)});var Ms=te.useCallback(function(kr){return te.createElement(te.Fragment,null,te.createElement(jn,kr),Ca==="top"&&te.createElement(Ee,kr,qr))},[Ca,qr]),Ns=te.useCallback(function(kr){return te.createElement(Ee,kr,qr)},[qr]),wi=qn(["table"],"table"),Fo=te.useMemo(function(){return $t||(to?Sa==="max-content"?"auto":"fixed":ma||no||Pr.some(function(kr){var Vr=kr.ellipsis;return Vr})?"fixed":"auto")},[ma,to,Pr,$t,no]),Uo,Ko={colWidths:Na,columCount:Pr.length,stickyOffsets:La,onHeaderRow:$n,fixHeader:ma,scroll:Ft},xi=te.useMemo(function(){return fn?null:typeof hn=="function"?hn():hn},[fn,hn]),Ei=te.createElement(Mt,{data:bn,measureColumnWidth:ma||Qr||no}),Ci=te.createElement(Nn,{colWidths:Pr.map(function(kr){var Vr=kr.width;return Vr}),columns:Pr}),Ti=ln!=null?te.createElement("caption",{className:"".concat(gt,"-caption")},ln):void 0,Bs=(0,pt.Z)(ut,{data:!0}),Oi=(0,pt.Z)(ut,{aria:!0});if(ma||no){var Wo;typeof or=="function"?(Wo=or(bn,{scrollbarSize:Io,ref:da,onScroll:vo}),Ko.colWidths=Pr.map(function(kr,Vr){var Va=kr.width,uo=Vr===Pr.length-1?Va-Io:Va;return typeof uo=="number"&&!Number.isNaN(uo)?uo:0})):Wo=te.createElement("div",{style:(0,ye.Z)((0,ye.Z)({},Ba),Da),onScroll:vo,ref:da,className:we()("".concat(gt,"-body"))},te.createElement(wi,(0,ue.Z)({style:(0,ye.Z)((0,ye.Z)({},oo),{},{tableLayout:Fo})},Oi),Ti,Ci,Ei,!Ca&&qr&&te.createElement(Ee,{stickyOffsets:La,flattenColumns:Pr,columns:Cr},qr)));var ji=(0,ye.Z)((0,ye.Z)((0,ye.Z)({noData:!bn.length,maxContentScroll:Qr&&Sa==="max-content"},Ko),Qa),{},{direction:Nt,stickyClassName:Kr,onScroll:vo});Uo=te.createElement(te.Fragment,null,un!==!1&&te.createElement(Vn,(0,ue.Z)({},ji,{stickyTopOffset:Lo,className:"".concat(gt,"-header"),ref:Ha}),Ms),Wo,Ca&&Ca!=="top"&&te.createElement(Vn,(0,ue.Z)({},ji,{stickyBottomOffset:zo,className:"".concat(gt,"-summary"),ref:fo}),Ns),no&&te.createElement(Dt,{ref:mo,offsetScroll:Tr,scrollBodyRef:da,onScroll:vo,container:Pa}))}else Uo=te.createElement("div",{style:(0,ye.Z)((0,ye.Z)({},Ba),Da),className:we()("".concat(gt,"-content")),onScroll:vo,ref:da},te.createElement(wi,(0,ue.Z)({style:(0,ye.Z)((0,ye.Z)({},oo),{},{tableLayout:Fo})},Oi),Ti,Ci,un!==!1&&te.createElement(jn,(0,ue.Z)({},Ko,Qa)),Ei,qr&&te.createElement(Ee,{stickyOffsets:La,flattenColumns:Pr,columns:Cr},qr)));var Zo=te.createElement("div",(0,ue.Z)({className:we()(gt,yt,(et={},(0,be.Z)(et,"".concat(gt,"-rtl"),Nt==="rtl"),(0,be.Z)(et,"".concat(gt,"-ping-left"),Jr),(0,be.Z)(et,"".concat(gt,"-ping-right"),ja),(0,be.Z)(et,"".concat(gt,"-layout-fixed"),$t==="fixed"),(0,be.Z)(et,"".concat(gt,"-fixed-header"),ma),(0,be.Z)(et,"".concat(gt,"-fixed-column"),to),(0,be.Z)(et,"".concat(gt,"-scroll-horizontal"),Qr),(0,be.Z)(et,"".concat(gt,"-has-fix-left"),Pr[0]&&Pr[0].fixed),(0,be.Z)(et,"".concat(gt,"-has-fix-right"),Pr[Pr.length-1]&&Pr[Pr.length-1].fixed==="right"),et)),style:Lt,id:nn,ref:ca},Bs),Xt&&te.createElement(Ut,{className:"".concat(gt,"-title")},Xt(bn)),te.createElement("div",{ref:Ma,className:"".concat(gt,"-container")},Uo),Zt&&te.createElement(Ut,{className:"".concat(gt,"-footer")},Zt(bn)));Qr&&(Zo=te.createElement(Ke.Z,{onResize:Ls},Zo));var Li=Yt(Pr,La,Nt,Cr),Ds=te.useMemo(function(){return{scrollX:Sa,prefixCls:gt,getComponent:qn,scrollbarSize:Io,direction:Nt,fixedInfoList:Li,isSticky:no,supportSticky:Pi,componentWidth:Bn,fixHeader:ma,fixColumn:to,horizonScroll:Qr,tableLayout:Fo,rowClassName:St,expandedRowClassName:sr.expandedRowClassName,expandIcon:Xr,expandableType:ua,expandRowByClick:sr.expandRowByClick,expandedRowRender:sr.expandedRowRender,onTriggerExpand:Fa,expandIconColumnIndex:sr.expandIconColumnIndex,indentSize:sr.indentSize,allColumnsFixedLeft:Pr.every(function(kr){return kr.fixed==="left"}),emptyNode:xi,columns:Cr,flattenColumns:Pr,onColumnResize:gi,hoverStartRow:vr,hoverEndRow:Gr,onHover:jr,rowExpandable:sr.rowExpandable,onRow:kn,getRowKey:gr,expandedKeys:Ar,childrenColumnName:Hr}},[Sa,gt,qn,Io,Nt,Li,no,Pi,Bn,ma,to,Qr,Fo,St,sr.expandedRowClassName,Xr,ua,sr.expandRowByClick,sr.expandedRowRender,Fa,sr.expandIconColumnIndex,sr.indentSize,xi,Cr,Pr,gi,vr,Gr,jr,sr.rowExpandable,kn,gr,Ar,Hr]);return te.createElement(ge.Provider,{value:Ds},Zo)}function Sr(Ve){return z(Tn,Ve)}var fr=Sr();fr.EXPAND_COLUMN=Be,fr.INTERNAL_HOOKS=nt,fr.Column=pr,fr.ColumnGroup=Lr,fr.Summary=Pe;var tr=fr,Fr=Ce(48911),Mr=de(null),ha=de(null);function wa(Ve,et,ut){var gt=et||1;return ut[Ve+gt]-(ut[Ve]||0)}function ya(Ve){var et=Ve.rowInfo,ut=Ve.column,gt=Ve.colIndex,yt=Ve.indent,St=Ve.index,Lt=Ve.renderIndex,At=Ve.record,Ot=Ve.style,Ft=Ve.className,$t=Ve.inverse,Nt=Ve.getHeight,Xt=ut.render,Zt=ut.dataIndex,Ht=ut.className,ln=ut.width,nn=se(ha,["columnsOffset"]),un=nn.columnsOffset,rn=lt(et,ut,gt,yt,St),hn=rn.key,kn=rn.fixedInfo,$n=rn.appendCellNode,On=rn.additionalCellProps,er=On.style,ir=On.colSpan,Sn=ir===void 0?1:ir,Ln=On.rowSpan,bn=Ln===void 0?1:Ln,fn=gt-1,Cn=wa(fn,Sn,un),qn=Sn>1?ln-Cn:0,gr=(0,ye.Z)((0,ye.Z)((0,ye.Z)({},er),Ot),{},{flex:"0 0 ".concat(Cn,"px"),width:"".concat(Cn,"px"),marginRight:qn,pointerEvents:"auto"}),or=te.useMemo(function(){return $t?bn<=1:Sn===0||bn===0||bn>1},[bn,Sn,$t]);or?gr.visibility="hidden":$t&&(gr.height=Nt==null?void 0:Nt(bn));var Kn=or?function(){return null}:Xt,mr={};return(bn===0||Sn===0)&&(mr.rowSpan=1,mr.colSpan=1),te.createElement(ct,(0,ue.Z)({className:we()(Ht,Ft),ellipsis:ut.ellipsis,align:ut.align,scope:ut.rowScope,component:"div",prefixCls:et.prefixCls,key:hn,record:At,index:St,renderIndex:Lt,dataIndex:Zt,render:Kn,shouldCellUpdate:ut.shouldCellUpdate},kn,{appendNode:$n,additionalProps:(0,ye.Z)((0,ye.Z)({},On),{},{style:gr},mr)}))}var za=ya,Ka=["data","index","className","rowKey","style","extra","getHeight"],Wa=te.forwardRef(function(Ve,et){var ut=Ve.data,gt=Ve.index,yt=Ve.className,St=Ve.rowKey,Lt=Ve.style,At=Ve.extra,Ot=Ve.getHeight,Ft=(0,xe.Z)(Ve,Ka),$t=ut.record,Nt=ut.indent,Xt=ut.index,Zt=se(ge,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ht=Zt.scrollX,ln=Zt.flattenColumns,nn=Zt.prefixCls,un=Zt.fixColumn,rn=Zt.componentWidth,hn=$e($t,St,gt,Nt),kn=hn.rowSupportExpand,$n=hn.expanded,On=hn.rowProps,er=hn.expandedRowRender,ir=hn.expandedRowClassName,Sn;if(kn&&$n){var Ln=er($t,gt,Nt+1,$n),bn=ir==null?void 0:ir($t,gt,Nt),fn={};un&&(fn={style:(0,be.Z)({},"--virtual-width","".concat(rn,"px"))});var Cn="".concat(nn,"-expanded-row-cell");Sn=te.createElement("div",{className:we()("".concat(nn,"-expanded-row"),"".concat(nn,"-expanded-row-level-").concat(Nt+1),bn)},te.createElement(ct,{component:"div",prefixCls:nn,className:we()(Cn,(0,be.Z)({},"".concat(Cn,"-fixed"),un)),additionalProps:fn},Ln))}var qn=(0,ye.Z)((0,ye.Z)({},Lt),{},{width:Ht});At&&(qn.position="absolute",qn.pointerEvents="none");var gr=te.createElement("div",(0,ue.Z)({},On,Ft,{ref:kn?null:et,className:we()(yt,"".concat(nn,"-row"),On==null?void 0:On.className,(0,be.Z)({},"".concat(nn,"-row-extra"),At)),style:(0,ye.Z)((0,ye.Z)({},qn),On==null?void 0:On.style)}),ln.map(function(or,Kn){return te.createElement(za,{key:Kn,rowInfo:hn,column:or,colIndex:Kn,indent:Nt,index:gt,renderIndex:Xt,record:$t,inverse:At,getHeight:Ot})}));return kn?te.createElement("div",{ref:et},gr,Sn):gr}),Ra=ee(Wa),pa=Ra,_r=te.forwardRef(function(Ve,et){var ut=Ve.data,gt=Ve.onScroll,yt=se(ge,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),St=yt.flattenColumns,Lt=yt.onColumnResize,At=yt.getRowKey,Ot=yt.expandedKeys,Ft=yt.prefixCls,$t=yt.childrenColumnName,Nt=yt.emptyNode,Xt=yt.scrollX,Zt=se(Mr),Ht=Zt.scrollY,ln=Zt.listItemHeight,nn=te.useRef(),un=vt(ut,$t,Ot,At),rn=te.useMemo(function(){var Sn=0;return St.map(function(Ln){var bn=Ln.width,fn=Ln.key;return Sn+=bn,[fn,bn,Sn]})},[St]),hn=te.useMemo(function(){return rn.map(function(Sn){return Sn[2]})},[rn]);te.useEffect(function(){rn.forEach(function(Sn){var Ln=(0,x.Z)(Sn,2),bn=Ln[0],fn=Ln[1];Lt(bn,fn)})},[rn]),te.useImperativeHandle(et,function(){var Sn={};return Object.defineProperty(Sn,"scrollLeft",{get:function(){var bn;return((bn=nn.current)===null||bn===void 0?void 0:bn.getScrollInfo().x)||0},set:function(bn){var fn;(fn=nn.current)===null||fn===void 0||fn.scrollTo({left:bn})}}),Sn});var kn=function(Ln,bn){var fn,Cn=(fn=un[bn])===null||fn===void 0?void 0:fn.record,qn=Ln.onCell;if(qn){var gr,or=qn(Cn,bn);return(gr=or==null?void 0:or.rowSpan)!==null&&gr!==void 0?gr:1}return 1},$n=function(Ln){var bn=Ln.start,fn=Ln.end,Cn=Ln.getSize,qn=Ln.offsetY;if(fn<0)return null;for(var gr=St.filter(function(Jn){return kn(Jn,bn)===0}),or=bn,Kn=function(Xn){if(gr=gr.filter(function(Wn){return kn(Wn,Xn)===0}),!gr.length)return or=Xn,"break"},mr=bn;mr>=0;mr-=1){var vr=Kn(mr);if(vr==="break")break}for(var Gr=St.filter(function(Jn){return kn(Jn,fn)!==1}),jr=fn,na=function(Xn){if(Gr=Gr.filter(function(Wn){return kn(Wn,Xn)!==1}),!Gr.length)return jr=Math.max(Xn-1,fn),"break"},ra=fn;ra<un.length;ra+=1){var sr=na(ra);if(sr==="break")break}for(var ua=[],Ar=function(Xn){var Wn=un[Xn];if(!Wn)return"continue";St.some(function(Bn){return kn(Bn,Xn)>1})&&ua.push(Xn)},Xr=or;Xr<=jr;Xr+=1)var Hr=Ar(Xr);var Fa=ua.map(function(Jn){var Xn=un[Jn],Wn=At(Xn.record,Jn),Bn=function(ar){var Cr=Jn+ar-1,Pr=At(un[Cr].record,Cr),xa=Cn(Wn,Pr);return xa.bottom-xa.top},Ir=Cn(Wn);return te.createElement(pa,{key:Jn,data:Xn,rowKey:Wn,index:Jn,style:{top:-qn+Ir.top},extra:!0,getHeight:Bn})});return Fa},On=te.useMemo(function(){return{columnsOffset:hn}},[hn]),er="".concat(Ft,"-tbody"),ir;return un.length?ir=te.createElement(Fr.Z,{fullHeight:!1,ref:nn,className:we()(er,"".concat(er,"-virtual")),height:Ht,itemHeight:ln||24,data:un,itemKey:function(Ln){return At(Ln.record)},scrollWidth:Xt,onVirtualScroll:function(Ln){var bn=Ln.x;gt({scrollLeft:bn})},extraRender:$n},function(Sn,Ln,bn){var fn=At(Sn.record,Ln);return te.createElement(pa,(0,ue.Z)({data:Sn,rowKey:fn,index:Ln},bn))}):ir=te.createElement("div",{className:we()("".concat(Ft,"-placeholder"))},te.createElement(ct,{component:"div",prefixCls:Ft},Nt)),te.createElement(ha.Provider,{value:On},ir)}),Aa=ee(_r),Ta=Aa,Ia=function(et,ut){var gt=ut.ref,yt=ut.onScroll;return te.createElement(Ta,{ref:gt,data:et,onScroll:yt})},ka=100;function va(Ve){var et=Ve.columns,ut=Ve.scroll,gt=Ve.prefixCls,yt=gt===void 0?ea:gt,St=Ve.className,Lt=Ve.listItemHeight,At=ut||{},Ot=At.x,Ft=At.y;typeof Ot!="number"&&(Ot=((et||[]).length+1)*ka),typeof Ft!="number"&&(Ft=500);var $t=te.useMemo(function(){return{scrollY:Ft,listItemHeight:Lt}},[Ft,Lt]);return te.createElement(Mr.Provider,{value:$t},te.createElement(tr,(0,ue.Z)({},Ve,{className:we()(St,"".concat(yt,"-virtual")),scroll:(0,ye.Z)((0,ye.Z)({},ut),{},{x:Ot}),components:{body:Ia},columns:et,internalHooks:nt,tailor:!0})))}function Fn(Ve){return z(va,Ve)}var cn=Fn(),lr=null;function Or(Ve){return null}var ur=Or;function ta(Ve){return null}var la=ta,_a=Ce(2738),ba=Ce(68031),wr=Ce(36355),zr=Ce(93891),Nr=Ce(19716),Oa=Ce(8628),Ya=Ce(31724),io=Ce(58421),po=Ce(71418),Mn=Ce(88088);function pn(Ve){return function(ut){let{prefixCls:gt,onExpand:yt,record:St,expanded:Lt,expandable:At}=ut;const Ot=`${gt}-row-expand-icon`;return te.createElement("button",{type:"button",onClick:Ft=>{yt(St,Ft),Ft.stopPropagation()},className:we()(Ot,{[`${Ot}-spaced`]:!At,[`${Ot}-expanded`]:At&&Lt,[`${Ot}-collapsed`]:At&&!Lt}),"aria-label":Lt?Ve.collapse:Ve.expand,"aria-expanded":Lt})}}var xn=pn;function En(Ve,et){return"key"in Ve&&Ve.key!==void 0&&Ve.key!==null?Ve.key:Ve.dataIndex?Array.isArray(Ve.dataIndex)?Ve.dataIndex.join("."):Ve.dataIndex:et}function xr(Ve,et){return et?`${et}-${Ve}`:`${Ve}`}function $r(Ve,et){return typeof Ve=="function"?Ve(et):Ve}function aa(Ve,et){const ut=$r(Ve,et);return Object.prototype.toString.call(ut)==="[object Object]"?"":ut}var oa={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"},ia=oa,sa=Ce(7657),$a=function(et,ut){return te.createElement(sa.Z,(0,ue.Z)({},et,{ref:ut,icon:ia}))},nr=te.forwardRef($a),Br=nr,Wr=Ce(56762);function Er(Ve){const et=te.useRef(Ve),ut=(0,Wr.Z)();return[()=>et.current,gt=>{et.current=gt,ut()}]}var Ur=Ce(3113),Yr=Ce(24905),Ua=Ce(38854),Zr=Ce(64165),Ja=Ce(20834),Eo=Ce(40875),yo=Ce(5112),Mo=Ce(17574),So=Ce(47472),Za=Ce(92832);function Co(Ve){let{value:et,onChange:ut,filterSearch:gt,tablePrefixCls:yt,locale:St}=Ve;return gt?te.createElement("div",{className:`${yt}-filter-dropdown-search`},te.createElement(Za.default,{prefix:te.createElement(So.Z,null),placeholder:St.filterSearchPlaceholder,onChange:ut,value:et,htmlSize:1,className:`${yt}-filter-dropdown-search-input`})):null}var bo=Co,Po=Ce(10228);const Ii=Ve=>{const{keyCode:et}=Ve;et===Po.Z.ENTER&&Ve.stopPropagation()};var Fi=te.forwardRef((Ve,et)=>te.createElement("div",{className:Ve.className,onClick:ut=>ut.stopPropagation(),onKeyDown:Ii,ref:et},Ve.children));function ho(Ve){let et=[];return(Ve||[]).forEach(ut=>{let{value:gt,children:yt}=ut;et.push(gt),yt&&(et=[].concat((0,an.Z)(et),(0,an.Z)(ho(yt))))}),et}function Mi(Ve){return Ve.some(et=>{let{children:ut}=et;return ut})}function Jo(Ve,et){return typeof et=="string"||typeof et=="number"?et==null?void 0:et.toString().toLowerCase().includes(Ve.trim().toLowerCase()):!1}function Qo(Ve){let{filters:et,prefixCls:ut,filteredKeys:gt,filterMultiple:yt,searchValue:St,filterSearch:Lt}=Ve;return et.map((At,Ot)=>{const Ft=String(At.value);if(At.children)return{key:Ft||Ot,label:At.text,popupClassName:`${ut}-dropdown-submenu`,children:Qo({filters:At.children,prefixCls:ut,filteredKeys:gt,filterMultiple:yt,searchValue:St,filterSearch:Lt})};const $t=yt?Yr.default:yo.ZP,Nt={key:At.value!==void 0?Ft:Ot,label:te.createElement(te.Fragment,null,te.createElement($t,{checked:gt.includes(Ft)}),te.createElement("span",null,At.text))};return St.trim()?typeof Lt=="function"?Lt(St,At)?Nt:null:Jo(St,At.text)?Nt:null:Nt})}function Ni(Ve){var et,ut;const{tablePrefixCls:gt,prefixCls:yt,column:St,dropdownPrefixCls:Lt,columnKey:At,filterMultiple:Ot,filterMode:Ft="menu",filterSearch:$t=!1,filterState:Nt,triggerFilter:Xt,locale:Zt,children:Ht,getPopupContainer:ln}=Ve,{filterDropdownOpen:nn,onFilterDropdownOpenChange:un,filterResetToDefaultFilteredValue:rn,defaultFilteredValue:hn,filterDropdownVisible:kn,onFilterDropdownVisibleChange:$n}=St,[On,er]=te.useState(!1),ir=!!(Nt&&(!((et=Nt.filteredKeys)===null||et===void 0)&&et.length||Nt.forceFiltered)),Sn=Dn=>{er(Dn),un==null||un(Dn),$n==null||$n(Dn)},Ln=(ut=nn!=null?nn:kn)!==null&&ut!==void 0?ut:On,bn=Nt==null?void 0:Nt.filteredKeys,[fn,Cn]=Er(bn||[]),qn=Dn=>{let{selectedKeys:ar}=Dn;Cn(ar)},gr=(Dn,ar)=>{let{node:Cr,checked:Pr}=ar;qn(Ot?{selectedKeys:Dn}:{selectedKeys:Pr&&Cr.key?[Cr.key]:[]})};te.useEffect(()=>{On&&qn({selectedKeys:bn||[]})},[bn]);const[or,Kn]=te.useState([]),mr=Dn=>{Kn(Dn)},[vr,Gr]=te.useState(""),jr=Dn=>{const{value:ar}=Dn.target;Gr(ar)};te.useEffect(()=>{On||Gr("")},[On]);const na=Dn=>{const ar=Dn&&Dn.length?Dn:null;if(ar===null&&(!Nt||!Nt.filteredKeys)||(0,ae.Z)(ar,Nt==null?void 0:Nt.filteredKeys,!0))return null;Xt({column:St,key:At,filteredKeys:ar})},ra=()=>{Sn(!1),na(fn())},sr=function(){let{confirm:Dn,closeDropdown:ar}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Dn&&na([]),ar&&Sn(!1),Gr(""),Cn(rn?(hn||[]).map(Cr=>String(Cr)):[])},ua=function(){let{closeDropdown:Dn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Dn&&Sn(!1),na(fn())},Ar=Dn=>{Dn&&bn!==void 0&&Cn(bn||[]),Sn(Dn),!Dn&&!St.filterDropdown&&ra()},Xr=we()({[`${Lt}-menu-without-submenu`]:!Mi(St.filters||[])}),Hr=Dn=>{if(Dn.target.checked){const ar=ho(St==null?void 0:St.filters).map(Cr=>String(Cr));Cn(ar)}else Cn([])},Fa=Dn=>{let{filters:ar}=Dn;return(ar||[]).map((Cr,Pr)=>{const xa=String(Cr.value),Sa={title:Cr.text,key:Cr.value!==void 0?xa:Pr};return Cr.children&&(Sa.children=Fa({filters:Cr.children})),Sa})},Jn=Dn=>{var ar;return Object.assign(Object.assign({},Dn),{text:Dn.title,value:Dn.key,children:((ar=Dn.children)===null||ar===void 0?void 0:ar.map(Cr=>Jn(Cr)))||[]})};let Xn;if(typeof St.filterDropdown=="function")Xn=St.filterDropdown({prefixCls:`${Lt}-custom`,setSelectedKeys:Dn=>qn({selectedKeys:Dn}),selectedKeys:fn(),confirm:ua,clearFilters:sr,filters:St.filters,visible:Ln,close:()=>{Sn(!1)}});else if(St.filterDropdown)Xn=St.filterDropdown;else{const Dn=fn()||[],ar=()=>(St.filters||[]).length===0?te.createElement(Zr.Z,{image:Zr.Z.PRESENTED_IMAGE_SIMPLE,description:Zt.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Ft==="tree"?te.createElement(te.Fragment,null,te.createElement(bo,{filterSearch:$t,value:vr,onChange:jr,tablePrefixCls:gt,locale:Zt}),te.createElement("div",{className:`${gt}-filter-dropdown-tree`},Ot?te.createElement(Yr.default,{checked:Dn.length===ho(St.filters).length,indeterminate:Dn.length>0&&Dn.length<ho(St.filters).length,className:`${gt}-filter-dropdown-checkall`,onChange:Hr},Zt.filterCheckall):null,te.createElement(Mo.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Ot,checkStrictly:!Ot,className:`${Lt}-menu`,onCheck:gr,checkedKeys:Dn,selectedKeys:Dn,showIcon:!1,treeData:Fa({filters:St.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:vr.trim()?Pr=>typeof $t=="function"?$t(vr,Jn(Pr)):Jo(vr,Pr.title):void 0}))):te.createElement(te.Fragment,null,te.createElement(bo,{filterSearch:$t,value:vr,onChange:jr,tablePrefixCls:gt,locale:Zt}),te.createElement(Ja.default,{selectable:!0,multiple:Ot,prefixCls:`${Lt}-menu`,className:Xr,onSelect:qn,onDeselect:qn,selectedKeys:Dn,getPopupContainer:ln,openKeys:or,onOpenChange:mr,items:Qo({filters:St.filters||[],filterSearch:$t,prefixCls:yt,filteredKeys:fn(),filterMultiple:Ot,searchValue:vr})})),Cr=()=>rn?(0,ae.Z)((hn||[]).map(Pr=>String(Pr)),Dn,!0):Dn.length===0;Xn=te.createElement(te.Fragment,null,ar(),te.createElement("div",{className:`${yt}-dropdown-btns`},te.createElement(Ur.ZP,{type:"link",size:"small",disabled:Cr(),onClick:()=>sr()},Zt.filterReset),te.createElement(Ur.ZP,{type:"primary",size:"small",onClick:ra},Zt.filterConfirm)))}St.filterDropdown&&(Xn=te.createElement(Eo.J,{selectable:void 0},Xn));const Wn=()=>te.createElement(Fi,{className:`${yt}-dropdown`},Xn);let Bn;typeof St.filterIcon=="function"?Bn=St.filterIcon(ir):St.filterIcon?Bn=St.filterIcon:Bn=te.createElement(Br,null);const{direction:Ir}=te.useContext(wr.E_);return te.createElement("div",{className:`${yt}-column`},te.createElement("span",{className:`${gt}-column-title`},Ht),te.createElement(Ua.Z,{dropdownRender:Wn,trigger:["click"],open:Ln,onOpenChange:Ar,getPopupContainer:ln,placement:Ir==="rtl"?"bottomLeft":"bottomRight"},te.createElement("span",{role:"button",tabIndex:-1,className:we()(`${yt}-trigger`,{active:ir}),onClick:Dn=>{Dn.stopPropagation()}},Bn)))}var Bi=Ni;function No(Ve,et,ut){let gt=[];return(Ve||[]).forEach((yt,St)=>{var Lt;const At=xr(St,ut);if(yt.filters||"filterDropdown"in yt||"onFilter"in yt)if("filteredValue"in yt){let Ot=yt.filteredValue;"filterDropdown"in yt||(Ot=(Lt=Ot==null?void 0:Ot.map(String))!==null&&Lt!==void 0?Lt:Ot),gt.push({column:yt,key:En(yt,At),filteredKeys:Ot,forceFiltered:yt.filtered})}else gt.push({column:yt,key:En(yt,At),filteredKeys:et&&yt.defaultFilteredValue?yt.defaultFilteredValue:void 0,forceFiltered:yt.filtered});"children"in yt&&(gt=[].concat((0,an.Z)(gt),(0,an.Z)(No(yt.children,et,At))))}),gt}function qo(Ve,et,ut,gt,yt,St,Lt,At){return ut.map((Ot,Ft)=>{const $t=xr(Ft,At),{filterMultiple:Nt=!0,filterMode:Xt,filterSearch:Zt}=Ot;let Ht=Ot;if(Ht.filters||Ht.filterDropdown){const ln=En(Ht,$t),nn=gt.find(un=>{let{key:rn}=un;return ln===rn});Ht=Object.assign(Object.assign({},Ht),{title:un=>te.createElement(Bi,{tablePrefixCls:Ve,prefixCls:`${Ve}-filter`,dropdownPrefixCls:et,column:Ht,columnKey:ln,filterState:nn,filterMultiple:Nt,filterMode:Xt,filterSearch:Zt,triggerFilter:St,locale:yt,getPopupContainer:Lt},$r(Ot.title,un))})}return"children"in Ht&&(Ht=Object.assign(Object.assign({},Ht),{children:qo(Ve,et,Ht.children,gt,yt,St,Lt,$t)})),Ht})}function ei(Ve){const et={};return Ve.forEach(ut=>{let{key:gt,filteredKeys:yt,column:St}=ut;const{filters:Lt,filterDropdown:At}=St;if(At)et[gt]=yt||null;else if(Array.isArray(yt)){const Ot=ho(Lt);et[gt]=Ot.filter(Ft=>yt.includes(String(Ft)))}else et[gt]=null}),et}function ti(Ve,et){return et.reduce((ut,gt)=>{const{column:{onFilter:yt,filters:St},filteredKeys:Lt}=gt;return yt&&Lt&&Lt.length?ut.filter(At=>Lt.some(Ot=>{const Ft=ho(St),$t=Ft.findIndex(Xt=>String(Xt)===String(Ot)),Nt=$t!==-1?Ft[$t]:Ot;return yt(Nt,At)})):ut},Ve)}const ni=Ve=>Ve.flatMap(et=>"children"in et?[et].concat((0,an.Z)(ni(et.children||[]))):[et]);function Di(Ve){let{prefixCls:et,dropdownPrefixCls:ut,mergedColumns:gt,onFilterChange:yt,getPopupContainer:St,locale:Lt}=Ve;const At=te.useMemo(()=>ni(gt||[]),[gt]),[Ot,Ft]=te.useState(()=>No(At,!0)),$t=te.useMemo(()=>{const Ht=No(At,!1);if(Ht.length===0)return Ht;let ln=!0,nn=!0;if(Ht.forEach(un=>{let{filteredKeys:rn}=un;rn!==void 0?ln=!1:nn=!1}),ln){const un=(At||[]).map((rn,hn)=>En(rn,xr(hn)));return Ot.filter(rn=>{let{key:hn}=rn;return un.includes(hn)}).map(rn=>{const hn=At[un.findIndex(kn=>kn===rn.key)];return Object.assign(Object.assign({},rn),{column:Object.assign(Object.assign({},rn.column),hn),forceFiltered:hn.filtered})})}return Ht},[At,Ot]),Nt=te.useMemo(()=>ei($t),[$t]),Xt=Ht=>{const ln=$t.filter(nn=>{let{key:un}=nn;return un!==Ht.key});ln.push(Ht),Ft(ln),yt(ei(ln),ln)};return[Ht=>qo(et,ut,Ht,$t,Lt,Xt,St),$t,Nt]}var Ri=Di;function ki(Ve,et,ut){const gt=te.useRef({});function yt(St){if(!gt.current||gt.current.data!==Ve||gt.current.childrenColumnName!==et||gt.current.getRowKey!==ut){let At=function(Ot){Ot.forEach((Ft,$t)=>{const Nt=ut(Ft,$t);Lt.set(Nt,Ft),Ft&&typeof Ft=="object"&&et in Ft&&At(Ft[et]||[])})};const Lt=new Map;At(Ve),gt.current={data:Ve,childrenColumnName:et,kvMap:Lt,getRowKey:ut}}return gt.current.kvMap.get(St)}return[yt]}var _i=Ce(50371),$i=function(Ve,et){var ut={};for(var gt in Ve)Object.prototype.hasOwnProperty.call(Ve,gt)&&et.indexOf(gt)<0&&(ut[gt]=Ve[gt]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,gt=Object.getOwnPropertySymbols(Ve);yt<gt.length;yt++)et.indexOf(gt[yt])<0&&Object.prototype.propertyIsEnumerable.call(Ve,gt[yt])&&(ut[gt[yt]]=Ve[gt[yt]]);return ut};const ri=10;function Gi(Ve,et){const ut={current:Ve.current,pageSize:Ve.pageSize};return Object.keys(et&&typeof et=="object"?et:{}).forEach(yt=>{const St=Ve[yt];typeof St!="function"&&(ut[yt]=St)}),ut}function zi(Ve,et,ut){const gt=ut&&typeof ut=="object"?ut:{},{total:yt=0}=gt,St=$i(gt,["total"]),[Lt,At]=(0,te.useState)(()=>({current:"defaultCurrent"in St?St.defaultCurrent:1,pageSize:"defaultPageSize"in St?St.defaultPageSize:ri})),Ot=(0,_i.Z)(Lt,St,{total:yt>0?yt:Ve}),Ft=Math.ceil((yt||Ve)/Ot.pageSize);Ot.current>Ft&&(Ot.current=Ft||1);const $t=(Xt,Zt)=>{At({current:Xt!=null?Xt:1,pageSize:Zt||Ot.pageSize})},Nt=(Xt,Zt)=>{var Ht;ut&&((Ht=ut.onChange)===null||Ht===void 0||Ht.call(ut,Xt,Zt)),$t(Xt,Zt),et(Xt,Zt||(Ot==null?void 0:Ot.pageSize))};return ut===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ot),{onChange:Nt}),$t]}var Ui=zi,Ki=Ce(84105),ai=Ce(35654),Bo=Ce(90782),Wi=Ce(71430),Zi=Ce(18929);const so={},Do="SELECT_ALL",Ro="SELECT_INVERT",ko="SELECT_NONE",oi=[],ii=(Ve,et)=>{let ut=[];return(et||[]).forEach(gt=>{ut.push(gt),gt&&typeof gt=="object"&&Ve in gt&&(ut=[].concat((0,an.Z)(ut),(0,an.Z)(ii(Ve,gt[Ve]))))}),ut};var Hi=(Ve,et)=>{const{preserveSelectedRowKeys:ut,selectedRowKeys:gt,defaultSelectedRowKeys:yt,getCheckboxProps:St,onChange:Lt,onSelect:At,onSelectAll:Ot,onSelectInvert:Ft,onSelectNone:$t,onSelectMultiple:Nt,columnWidth:Xt,type:Zt,selections:Ht,fixed:ln,renderCell:nn,hideSelectAll:un,checkStrictly:rn=!0}=et||{},{prefixCls:hn,data:kn,pageData:$n,getRecordByKey:On,getRowKey:er,expandType:ir,childrenColumnName:Sn,locale:Ln,getPopupContainer:bn}=Ve,[fn,Cn]=(0,Zi.Z)(gt||yt||oi,{value:gt}),qn=te.useRef(new Map),gr=(0,te.useCallback)(Jn=>{if(ut){const Xn=new Map;Jn.forEach(Wn=>{let Bn=On(Wn);!Bn&&qn.current.has(Wn)&&(Bn=qn.current.get(Wn)),Xn.set(Wn,Bn)}),qn.current=Xn}},[On,ut]);te.useEffect(()=>{gr(fn)},[fn]);const{keyEntities:or}=(0,te.useMemo)(()=>{if(rn)return{keyEntities:null};let Jn=kn;if(ut){const Xn=new Set(kn.map((Bn,Ir)=>er(Bn,Ir))),Wn=Array.from(qn.current).reduce((Bn,Ir)=>{let[Dn,ar]=Ir;return Xn.has(Dn)?Bn:Bn.concat(ar)},[]);Jn=[].concat((0,an.Z)(Jn),(0,an.Z)(Wn))}return(0,Wi.I8)(Jn,{externalGetKey:er,childrenPropName:Sn})},[kn,er,rn,Sn,ut]),Kn=(0,te.useMemo)(()=>ii(Sn,$n),[Sn,$n]),mr=(0,te.useMemo)(()=>{const Jn=new Map;return Kn.forEach((Xn,Wn)=>{const Bn=er(Xn,Wn),Ir=(St?St(Xn):null)||{};Jn.set(Bn,Ir)}),Jn},[Kn,er,St]),vr=(0,te.useCallback)(Jn=>{var Xn;return!!(!((Xn=mr.get(er(Jn)))===null||Xn===void 0)&&Xn.disabled)},[mr,er]),[Gr,jr]=(0,te.useMemo)(()=>{if(rn)return[fn||[],[]];const{checkedKeys:Jn,halfCheckedKeys:Xn}=(0,Bo.S)(fn,!0,or,vr);return[Jn||[],Xn]},[fn,rn,or,vr]),na=(0,te.useMemo)(()=>{const Jn=Zt==="radio"?Gr.slice(0,1):Gr;return new Set(Jn)},[Gr,Zt]),ra=(0,te.useMemo)(()=>Zt==="radio"?new Set:new Set(jr),[jr,Zt]),[sr,ua]=(0,te.useState)(null);te.useEffect(()=>{et||Cn(oi)},[!!et]);const Ar=(0,te.useCallback)((Jn,Xn)=>{let Wn,Bn;gr(Jn),ut?(Wn=Jn,Bn=Jn.map(Ir=>qn.current.get(Ir))):(Wn=[],Bn=[],Jn.forEach(Ir=>{const Dn=On(Ir);Dn!==void 0&&(Wn.push(Ir),Bn.push(Dn))})),Cn(Wn),Lt==null||Lt(Wn,Bn,{type:Xn})},[Cn,On,Lt,ut]),Xr=(0,te.useCallback)((Jn,Xn,Wn,Bn)=>{if(At){const Ir=Wn.map(Dn=>On(Dn));At(On(Jn),Xn,Ir,Bn)}Ar(Wn,"single")},[At,On,Ar]),Hr=(0,te.useMemo)(()=>!Ht||un?null:(Ht===!0?[Do,Ro,ko]:Ht).map(Xn=>Xn===Do?{key:"all",text:Ln.selectionAll,onSelect(){Ar(kn.map((Wn,Bn)=>er(Wn,Bn)).filter(Wn=>{const Bn=mr.get(Wn);return!(Bn!=null&&Bn.disabled)||na.has(Wn)}),"all")}}:Xn===Ro?{key:"invert",text:Ln.selectInvert,onSelect(){const Wn=new Set(na);$n.forEach((Ir,Dn)=>{const ar=er(Ir,Dn),Cr=mr.get(ar);Cr!=null&&Cr.disabled||(Wn.has(ar)?Wn.delete(ar):Wn.add(ar))});const Bn=Array.from(Wn);Ft&&Ft(Bn),Ar(Bn,"invert")}}:Xn===ko?{key:"none",text:Ln.selectNone,onSelect(){$t==null||$t(),Ar(Array.from(na).filter(Wn=>{const Bn=mr.get(Wn);return Bn==null?void 0:Bn.disabled}),"none")}}:Xn).map(Xn=>Object.assign(Object.assign({},Xn),{onSelect:function(){for(var Wn,Bn,Ir=arguments.length,Dn=new Array(Ir),ar=0;ar<Ir;ar++)Dn[ar]=arguments[ar];(Bn=Xn.onSelect)===null||Bn===void 0||(Wn=Bn).call.apply(Wn,[Xn].concat(Dn)),ua(null)}})),[Ht,na,$n,er,Ft,Ar]);return[(0,te.useCallback)(Jn=>{var Xn;if(!et)return Jn.filter(Dr=>Dr!==so);let Wn=(0,an.Z)(Jn);const Bn=new Set(na),Ir=Kn.map(er).filter(Dr=>!mr.get(Dr).disabled),Dn=Ir.every(Dr=>Bn.has(Dr)),ar=Ir.some(Dr=>Bn.has(Dr)),Cr=()=>{const Dr=[];Dn?Ir.forEach(Jr=>{Bn.delete(Jr),Dr.push(Jr)}):Ir.forEach(Jr=>{Bn.has(Jr)||(Bn.add(Jr),Dr.push(Jr))});const Rr=Array.from(Bn);Ot==null||Ot(!Dn,Rr.map(Jr=>On(Jr)),Dr.map(Jr=>On(Jr))),Ar(Rr,"all"),ua(null)};let Pr;if(Zt!=="radio"){let Dr;if(Hr){const yr={getPopupContainer:bn,items:Hr.map((ja,Ea)=>{const{key:Ga,text:eo,onSelect:qa}=ja;return{key:Ga!=null?Ga:Ea,onClick:()=>{qa==null||qa(Ir)},label:eo}})};Dr=te.createElement("div",{className:`${hn}-selection-extra`},te.createElement(Ua.Z,{menu:yr,getPopupContainer:bn},te.createElement("span",null,te.createElement(Ki.Z,null))))}const Rr=Kn.map((yr,ja)=>{const Ea=er(yr,ja),Ga=mr.get(Ea)||{};return Object.assign({checked:Bn.has(Ea)},Ga)}).filter(yr=>{let{disabled:ja}=yr;return ja}),Jr=!!Rr.length&&Rr.length===Kn.length,fa=Jr&&Rr.every(yr=>{let{checked:ja}=yr;return ja}),ga=Jr&&Rr.some(yr=>{let{checked:ja}=yr;return ja});Pr=!un&&te.createElement("div",{className:`${hn}-selection`},te.createElement(Yr.default,{checked:Jr?fa:!!Kn.length&&Dn,indeterminate:Jr?!fa&&ga:!Dn&&ar,onChange:Cr,disabled:Kn.length===0||Jr,"aria-label":Dr?"Custom selection":"Select all",skipGroup:!0}),Dr)}let xa;Zt==="radio"?xa=(Dr,Rr,Jr)=>{const fa=er(Rr,Jr),ga=Bn.has(fa);return{node:te.createElement(yo.ZP,Object.assign({},mr.get(fa),{checked:ga,onClick:yr=>yr.stopPropagation(),onChange:yr=>{Bn.has(fa)||Xr(fa,!0,[fa],yr.nativeEvent)}})),checked:ga}}:xa=(Dr,Rr,Jr)=>{var fa;const ga=er(Rr,Jr),yr=Bn.has(ga),ja=ra.has(ga),Ea=mr.get(ga);let Ga;return ir==="nest"?Ga=ja:Ga=(fa=Ea==null?void 0:Ea.indeterminate)!==null&&fa!==void 0?fa:ja,{node:te.createElement(Yr.default,Object.assign({},Ea,{indeterminate:Ga,checked:yr,skipGroup:!0,onClick:eo=>eo.stopPropagation(),onChange:eo=>{let{nativeEvent:qa}=eo;const{shiftKey:xo}=qa;let ao=-1,Xa=-1;if(xo&&rn){const Na=new Set([sr,ga]);Ir.some((La,ma)=>{if(Na.has(La))if(ao===-1)ao=ma;else return Xa=ma,!0;return!1})}if(Xa!==-1&&ao!==Xa&&rn){const Na=Ir.slice(ao,Xa+1),La=[];yr?Na.forEach(Qr=>{Bn.has(Qr)&&(La.push(Qr),Bn.delete(Qr))}):Na.forEach(Qr=>{Bn.has(Qr)||(La.push(Qr),Bn.add(Qr))});const ma=Array.from(Bn);Nt==null||Nt(!yr,ma.map(Qr=>On(Qr)),La.map(Qr=>On(Qr))),Ar(ma,"multiple")}else{const Na=Gr;if(rn){const La=yr?(0,ai._5)(Na,ga):(0,ai.L0)(Na,ga);Xr(ga,!yr,La,qa)}else{const La=(0,Bo.S)([].concat((0,an.Z)(Na),[ga]),!0,or,vr),{checkedKeys:ma,halfCheckedKeys:Qr}=La;let to=ma;if(yr){const mo=new Set(ma);mo.delete(ga),to=(0,Bo.S)(Array.from(mo),{checked:!1,halfCheckedKeys:Qr},or,vr).checkedKeys}Xr(ga,!yr,to,qa)}}ua(yr?null:ga)}})),checked:yr}};const Sa=(Dr,Rr,Jr)=>{const{node:fa,checked:ga}=xa(Dr,Rr,Jr);return nn?nn(ga,Rr,Jr,fa):fa};if(!Wn.includes(so))if(Wn.findIndex(Dr=>{var Rr;return((Rr=Dr[qt])===null||Rr===void 0?void 0:Rr.columnType)==="EXPAND_COLUMN"})===0){const[Dr,...Rr]=Wn;Wn=[Dr,so].concat((0,an.Z)(Rr))}else Wn=[so].concat((0,an.Z)(Wn));const Qa=Wn.indexOf(so);Wn=Wn.filter((Dr,Rr)=>Dr!==so||Rr===Qa);const ca=Wn[Qa-1],Ha=Wn[Qa+1];let da=ln;da===void 0&&((Ha==null?void 0:Ha.fixed)!==void 0?da=Ha.fixed:(ca==null?void 0:ca.fixed)!==void 0&&(da=ca.fixed)),da&&ca&&((Xn=ca[qt])===null||Xn===void 0?void 0:Xn.columnType)==="EXPAND_COLUMN"&&ca.fixed===void 0&&(ca.fixed=da);const Ma=we()(`${hn}-selection-col`,{[`${hn}-selection-col-with-dropdown`]:Ht&&Zt==="checkbox"}),fo={fixed:da,width:Xt,className:`${hn}-selection-column`,title:et.columnTitle||Pr,render:Sa,onCell:et.onCell,[qt]:{className:Ma}};return Wn.map(Dr=>Dr===so?fo:Dr)},[er,Kn,et,Gr,na,ra,Xt,Hr,ir,sr,mr,Nt,Xr,vr]),na]},Xi=Ce(89489),Vi=Ce(59477),Yi=Ce(6848);const To="ascend",_o="descend";function Oo(Ve){return typeof Ve.sorter=="object"&&typeof Ve.sorter.multiple=="number"?Ve.sorter.multiple:!1}function si(Ve){return typeof Ve=="function"?Ve:Ve&&typeof Ve=="object"&&Ve.compare?Ve.compare:!1}function Ji(Ve,et){return et?Ve[Ve.indexOf(et)+1]:Ve[0]}function $o(Ve,et,ut){let gt=[];function yt(St,Lt){gt.push({column:St,key:En(St,Lt),multiplePriority:Oo(St),sortOrder:St.sortOrder})}return(Ve||[]).forEach((St,Lt)=>{const At=xr(Lt,ut);St.children?("sortOrder"in St&&yt(St,At),gt=[].concat((0,an.Z)(gt),(0,an.Z)($o(St.children,et,At)))):St.sorter&&("sortOrder"in St?yt(St,At):et&&St.defaultSortOrder&>.push({column:St,key:En(St,At),multiplePriority:Oo(St),sortOrder:St.defaultSortOrder}))}),gt}function li(Ve,et,ut,gt,yt,St,Lt,At){return(et||[]).map((Ot,Ft)=>{const $t=xr(Ft,At);let Nt=Ot;if(Nt.sorter){const Xt=Nt.sortDirections||yt,Zt=Nt.showSorterTooltip===void 0?Lt:Nt.showSorterTooltip,Ht=En(Nt,$t),ln=ut.find(ir=>{let{key:Sn}=ir;return Sn===Ht}),nn=ln?ln.sortOrder:null,un=Ji(Xt,nn);let rn;if(Ot.sortIcon)rn=Ot.sortIcon({sortOrder:nn});else{const ir=Xt.includes(To)&&te.createElement(Vi.Z,{className:we()(`${Ve}-column-sorter-up`,{active:nn===To})}),Sn=Xt.includes(_o)&&te.createElement(Xi.Z,{className:we()(`${Ve}-column-sorter-down`,{active:nn===_o})});rn=te.createElement("span",{className:we()(`${Ve}-column-sorter`,{[`${Ve}-column-sorter-full`]:!!(ir&&Sn)})},te.createElement("span",{className:`${Ve}-column-sorter-inner`,"aria-hidden":"true"},ir,Sn))}const{cancelSort:hn,triggerAsc:kn,triggerDesc:$n}=St||{};let On=hn;un===_o?On=$n:un===To&&(On=kn);const er=typeof Zt=="object"?Zt:{title:On};Nt=Object.assign(Object.assign({},Nt),{className:we()(Nt.className,{[`${Ve}-column-sort`]:nn}),title:ir=>{const Sn=te.createElement("div",{className:`${Ve}-column-sorters`},te.createElement("span",{className:`${Ve}-column-title`},$r(Ot.title,ir)),rn);return Zt?te.createElement(Yi.Z,Object.assign({},er),Sn):Sn},onHeaderCell:ir=>{const Sn=Ot.onHeaderCell&&Ot.onHeaderCell(ir)||{},Ln=Sn.onClick,bn=Sn.onKeyDown;Sn.onClick=qn=>{gt({column:Ot,key:Ht,sortOrder:un,multiplePriority:Oo(Ot)}),Ln==null||Ln(qn)},Sn.onKeyDown=qn=>{qn.keyCode===Po.Z.ENTER&&(gt({column:Ot,key:Ht,sortOrder:un,multiplePriority:Oo(Ot)}),bn==null||bn(qn))};const fn=aa(Ot.title,{}),Cn=fn==null?void 0:fn.toString();return nn?Sn["aria-sort"]=nn==="ascend"?"ascending":"descending":Sn["aria-label"]=Cn||"",Sn.className=we()(Sn.className,`${Ve}-column-has-sorters`),Sn.tabIndex=0,Ot.ellipsis&&(Sn.title=(fn!=null?fn:"").toString()),Sn}})}return"children"in Nt&&(Nt=Object.assign(Object.assign({},Nt),{children:li(Ve,Nt.children,ut,gt,yt,St,Lt,$t)})),Nt})}function ui(Ve){const{column:et,sortOrder:ut}=Ve;return{column:et,order:ut,field:et.dataIndex,columnKey:et.key}}function ci(Ve){const et=Ve.filter(ut=>{let{sortOrder:gt}=ut;return gt}).map(ui);return et.length===0&&Ve.length?Object.assign(Object.assign({},ui(Ve[Ve.length-1])),{column:void 0}):et.length<=1?et[0]||{}:et}function Go(Ve,et,ut){const gt=et.slice().sort((Lt,At)=>At.multiplePriority-Lt.multiplePriority),yt=Ve.slice(),St=gt.filter(Lt=>{let{column:{sorter:At},sortOrder:Ot}=Lt;return si(At)&&Ot});return St.length?yt.sort((Lt,At)=>{for(let Ot=0;Ot<St.length;Ot+=1){const Ft=St[Ot],{column:{sorter:$t},sortOrder:Nt}=Ft,Xt=si($t);if(Xt&&Nt){const Zt=Xt(Lt,At,Nt);if(Zt!==0)return Nt===To?Zt:-Zt}}return 0}).map(Lt=>{const At=Lt[ut];return At?Object.assign(Object.assign({},Lt),{[ut]:Go(At,et,ut)}):Lt}):yt}function Qi(Ve){let{prefixCls:et,mergedColumns:ut,onSorterChange:gt,sortDirections:yt,tableLocale:St,showSorterTooltip:Lt}=Ve;const[At,Ot]=te.useState($o(ut,!0)),Ft=te.useMemo(()=>{let Ht=!0;const ln=$o(ut,!1);if(!ln.length)return At;const nn=[];function un(hn){Ht?nn.push(hn):nn.push(Object.assign(Object.assign({},hn),{sortOrder:null}))}let rn=null;return ln.forEach(hn=>{rn===null?(un(hn),hn.sortOrder&&(hn.multiplePriority===!1?Ht=!1:rn=!0)):(rn&&hn.multiplePriority!==!1||(Ht=!1),un(hn))}),nn},[ut,At]),$t=te.useMemo(()=>{const Ht=Ft.map(ln=>{let{column:nn,sortOrder:un}=ln;return{column:nn,order:un}});return{sortColumns:Ht,sortColumn:Ht[0]&&Ht[0].column,sortOrder:Ht[0]&&Ht[0].order}},[Ft]);function Nt(Ht){let ln;Ht.multiplePriority===!1||!Ft.length||Ft[0].multiplePriority===!1?ln=[Ht]:ln=[].concat((0,an.Z)(Ft.filter(nn=>{let{key:un}=nn;return un!==Ht.key})),[Ht]),Ot(ln),gt(ci(ln),ln)}return[Ht=>li(et,Ht,Ft,Nt,yt,St,Lt),Ft,$t,()=>ci(Ft)]}function di(Ve,et){return Ve.map(ut=>{const gt=Object.assign({},ut);return gt.title=$r(ut.title,et),"children"in gt&&(gt.children=di(gt.children,et)),gt})}function qi(Ve){return[te.useCallback(ut=>di(ut,Ve),[Ve])]}var es=Sr((Ve,et)=>{const{_renderTimes:ut}=Ve,{_renderTimes:gt}=et;return ut!==gt}),ts=Fn((Ve,et)=>{const{_renderTimes:ut}=Ve,{_renderTimes:gt}=et;return ut!==gt}),wo=Ce(64993),jo=Ce(17313),ns=Ce(83116),rs=Ce(37613),as=Ve=>{const{componentCls:et}=Ve,ut=`${Ve.lineWidth}px ${Ve.lineType} ${Ve.tableBorderColor}`,gt=(yt,St,Lt)=>({[`&${et}-${yt}`]:{[`> ${et}-container`]:{[`> ${et}-content, > ${et}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${et}-expanded-row-fixed`]:{margin:`-${St}px -${Lt+Ve.lineWidth}px`}}}}}});return{[`${et}-wrapper`]:{[`${et}${et}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${et}-title`]:{border:ut,borderBottom:0},[`> ${et}-container`]:{borderInlineStart:ut,borderTop:ut,[`
|
|
> ${et}-content,
|
|
> ${et}-header,
|
|
> ${et}-body,
|
|
> ${et}-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:ut},"> thead":{"> tr:not(:last-child) > th":{borderBottom:ut},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${et}-cell-fix-right-first::after`]:{borderInlineEnd:ut}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${et}-expanded-row-fixed`]:{margin:`-${Ve.tablePaddingVertical}px -${Ve.tablePaddingHorizontal+Ve.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ve.lineWidth,bottom:0,borderInlineEnd:ut,content:'""'}}}}}},[`&${et}-scroll-horizontal`]:{[`> ${et}-container > ${et}-body`]:{"> table > tbody":{[`
|
|
> tr${et}-expanded-row,
|
|
> tr${et}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},gt("middle",Ve.tablePaddingVerticalMiddle,Ve.tablePaddingHorizontalMiddle)),gt("small",Ve.tablePaddingVerticalSmall,Ve.tablePaddingHorizontalSmall)),{[`> ${et}-footer`]:{border:ut,borderTop:0}}),[`${et}-cell`]:{[`${et}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ve.lineWidth}px 0 ${Ve.lineWidth}px ${Ve.tableHeaderBg}`}},[`${et}-bordered ${et}-cell-scrollbar`]:{borderInlineEnd:ut}}}},os=Ve=>{const{componentCls:et}=Ve;return{[`${et}-wrapper`]:{[`${et}-cell-ellipsis`]:Object.assign(Object.assign({},jo.vS),{wordBreak:"keep-all",[`
|
|
&${et}-cell-fix-left-last,
|
|
&${et}-cell-fix-right-first
|
|
`]:{overflow:"visible",[`${et}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${et}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},is=Ve=>{const{componentCls:et}=Ve;return{[`${et}-wrapper`]:{[`${et}-tbody > tr${et}-placeholder`]:{textAlign:"center",color:Ve.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ve.colorBgContainer}}}}},ss=Ce(15969),ls=Ve=>{const{componentCls:et,antCls:ut,controlInteractiveSize:gt,motionDurationSlow:yt,lineWidth:St,paddingXS:Lt,lineType:At,tableBorderColor:Ot,tableExpandIconBg:Ft,tableExpandColumnWidth:$t,borderRadius:Nt,fontSize:Xt,fontSizeSM:Zt,lineHeight:Ht,tablePaddingVertical:ln,tablePaddingHorizontal:nn,tableExpandedRowBg:un,paddingXXS:rn}=Ve,hn=gt/2-St,kn=hn*2+St*3,$n=`${St}px ${At} ${Ot}`,On=rn-St;return{[`${et}-wrapper`]:{[`${et}-expand-icon-col`]:{width:$t},[`${et}-row-expand-icon-cell`]:{textAlign:"center",[`${et}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${et}-row-indent`]:{height:1,float:"left"},[`${et}-row-expand-icon`]:Object.assign(Object.assign({},(0,ss.N)(Ve)),{position:"relative",float:"left",boxSizing:"border-box",width:kn,height:kn,padding:0,color:"inherit",lineHeight:`${kn}px`,background:Ft,border:$n,borderRadius:Nt,transform:`scale(${gt/kn})`,transition:`all ${yt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${yt} ease-out`,content:'""'},"&::before":{top:hn,insetInlineEnd:On,insetInlineStart:On,height:St},"&::after":{top:On,bottom:On,insetInlineStart:hn,width:St,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"}}),[`${et}-row-indent + ${et}-row-expand-icon`]:{marginTop:(Xt*Ht-St*3)/2-Math.ceil((Zt*1.4-St*3)/2),marginInlineEnd:Lt},[`tr${et}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:un}},[`${ut}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${et}-expanded-row-fixed`]:{position:"relative",margin:`-${ln}px -${nn}px`,padding:`${ln}px ${nn}px`}}}},us=Ve=>{const{componentCls:et,antCls:ut,iconCls:gt,tableFilterDropdownWidth:yt,tableFilterDropdownSearchWidth:St,paddingXXS:Lt,paddingXS:At,colorText:Ot,lineWidth:Ft,lineType:$t,tableBorderColor:Nt,tableHeaderIconColor:Xt,fontSizeSM:Zt,tablePaddingHorizontal:Ht,borderRadius:ln,motionDurationSlow:nn,colorTextDescription:un,colorPrimary:rn,tableHeaderFilterActiveBg:hn,colorTextDisabled:kn,tableFilterDropdownBg:$n,tableFilterDropdownHeight:On,controlItemBgHover:er,controlItemBgActive:ir,boxShadowSecondary:Sn,filterDropdownMenuBg:Ln}=Ve,bn=`${ut}-dropdown`,fn=`${et}-filter-dropdown`,Cn=`${ut}-tree`,qn=`${Ft}px ${$t} ${Nt}`;return[{[`${et}-wrapper`]:{[`${et}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${et}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Lt,marginInline:`${Lt}px ${-Ht/2}px`,padding:`0 ${Lt}px`,color:Xt,fontSize:Zt,borderRadius:ln,cursor:"pointer",transition:`all ${nn}`,"&:hover":{color:un,background:hn},"&.active":{color:rn}}}},{[`${ut}-dropdown`]:{[fn]:Object.assign(Object.assign({},(0,jo.Wf)(Ve)),{minWidth:yt,backgroundColor:$n,borderRadius:ln,boxShadow:Sn,overflow:"hidden",[`${bn}-menu`]:{maxHeight:On,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Ln,"&:empty::after":{display:"block",padding:`${At}px 0`,color:kn,fontSize:Zt,textAlign:"center",content:'"Not Found"'}},[`${fn}-tree`]:{paddingBlock:`${At}px 0`,paddingInline:At,[Cn]:{padding:0},[`${Cn}-treenode ${Cn}-node-content-wrapper:hover`]:{backgroundColor:er},[`${Cn}-treenode-checkbox-checked ${Cn}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:ir}}},[`${fn}-search`]:{padding:At,borderBottom:qn,"&-input":{input:{minWidth:St},[gt]:{color:kn}}},[`${fn}-checkall`]:{width:"100%",marginBottom:Lt,marginInlineStart:Lt},[`${fn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${At-Ft}px ${At}px`,overflow:"hidden",borderTop:qn}})}},{[`${ut}-dropdown ${fn}, ${fn}-submenu`]:{[`${ut}-checkbox-wrapper + span`]:{paddingInlineStart:At,color:Ot},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},cs=Ve=>{const{componentCls:et,lineWidth:ut,colorSplit:gt,motionDurationSlow:yt,zIndexTableFixed:St,tableBg:Lt,zIndexTableSticky:At}=Ve,Ot=gt;return{[`${et}-wrapper`]:{[`
|
|
${et}-cell-fix-left,
|
|
${et}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:St,background:Lt},[`
|
|
${et}-cell-fix-left-first::after,
|
|
${et}-cell-fix-left-last::after
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-ut,width:30,transform:"translateX(100%)",transition:`box-shadow ${yt}`,content:'""',pointerEvents:"none"},[`${et}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
${et}-cell-fix-right-first::after,
|
|
${et}-cell-fix-right-last::after
|
|
`]:{position:"absolute",top:0,bottom:-ut,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${yt}`,content:'""',pointerEvents:"none"},[`${et}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:At+1,width:30,transition:`box-shadow ${yt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${et}-ping-left`]:{[`&:not(${et}-has-fix-left) ${et}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Ot}`}},[`
|
|
${et}-cell-fix-left-first::after,
|
|
${et}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Ot}`},[`${et}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${et}-ping-right`]:{[`&:not(${et}-has-fix-right) ${et}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Ot}`}},[`
|
|
${et}-cell-fix-right-first::after,
|
|
${et}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Ot}`}}}}},ds=Ve=>{const{componentCls:et,antCls:ut}=Ve;return{[`${et}-wrapper`]:{[`${et}-pagination${ut}-pagination`]:{margin:`${Ve.margin}px 0`},[`${et}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ve.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},fs=Ve=>{const{componentCls:et,tableRadius:ut}=Ve;return{[`${et}-wrapper`]:{[et]:{[`${et}-title, ${et}-header`]:{borderRadius:`${ut}px ${ut}px 0 0`},[`${et}-title + ${et}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${et}-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:ut,borderStartEndRadius:ut,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ut},"> *:last-child":{borderStartEndRadius:ut}}},"&-footer":{borderRadius:`0 0 ${ut}px ${ut}px`}}}}},gs=Ve=>{const{componentCls:et}=Ve;return{[`${et}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${et}-pagination-left`]:{justifyContent:"flex-end"},[`${et}-pagination-right`]:{justifyContent:"flex-start"},[`${et}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${et}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${et}-row-indent`]:{float:"right"}}}}},ms=Ve=>{const{componentCls:et,antCls:ut,iconCls:gt,fontSizeIcon:yt,padding:St,paddingXS:Lt,tableHeaderIconColor:At,tableHeaderIconColorHover:Ot,tableSelectionColumnWidth:Ft}=Ve;return{[`${et}-wrapper`]:{[`${et}-selection-col`]:{width:Ft,[`&${et}-selection-col-with-dropdown`]:{width:Ft+yt+St/4}},[`${et}-bordered ${et}-selection-col`]:{width:Ft+Lt*2,[`&${et}-selection-col-with-dropdown`]:{width:Ft+yt+St/4+Lt*2}},[`
|
|
table tr th${et}-selection-column,
|
|
table tr td${et}-selection-column
|
|
`]:{paddingInlineEnd:Ve.paddingXS,paddingInlineStart:Ve.paddingXS,textAlign:"center",[`${ut}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${et}-selection-column${et}-cell-fix-left`]:{zIndex:Ve.zIndexTableFixed+1},[`table tr th${et}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${et}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${et}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ve.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ve.tablePaddingHorizontal/4}px`,[gt]:{color:At,fontSize:yt,verticalAlign:"baseline","&:hover":{color:Ot}}}}}},ps=Ve=>{const{componentCls:et}=Ve,ut=(gt,yt,St,Lt)=>({[`${et}${et}-${gt}`]:{fontSize:Lt,[`
|
|
${et}-title,
|
|
${et}-footer,
|
|
${et}-cell,
|
|
${et}-thead > tr > th,
|
|
${et}-tbody > tr > th,
|
|
${et}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{padding:`${yt}px ${St}px`},[`${et}-filter-trigger`]:{marginInlineEnd:`-${St/2}px`},[`${et}-expanded-row-fixed`]:{margin:`-${yt}px -${St}px`},[`${et}-tbody`]:{[`${et}-wrapper:only-child ${et}`]:{marginBlock:`-${yt}px`,marginInline:`${Ve.tableExpandColumnWidth-St}px -${St}px`}},[`${et}-selection-column`]:{paddingInlineStart:`${St/4}px`}}});return{[`${et}-wrapper`]:Object.assign(Object.assign({},ut("middle",Ve.tablePaddingVerticalMiddle,Ve.tablePaddingHorizontalMiddle,Ve.tableFontSizeMiddle)),ut("small",Ve.tablePaddingVerticalSmall,Ve.tablePaddingHorizontalSmall,Ve.tableFontSizeSmall))}},hs=Ve=>{const{componentCls:et,marginXXS:ut,fontSizeIcon:gt,tableHeaderIconColor:yt,tableHeaderIconColorHover:St}=Ve;return{[`${et}-wrapper`]:{[`${et}-thead th${et}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ve.motionDurationSlow}`,"&:hover":{background:Ve.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ve.colorPrimary},[`
|
|
&${et}-cell-fix-left:hover,
|
|
&${et}-cell-fix-right:hover
|
|
`]:{background:Ve.tableFixedHeaderSortActiveBg}},[`${et}-thead th${et}-column-sort`]:{background:Ve.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${et}-column-sort`]:{background:Ve.tableBodySortBg},[`${et}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${et}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${et}-column-sorter`]:{marginInlineStart:ut,color:yt,fontSize:0,transition:`color ${Ve.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:gt,"&.active":{color:Ve.colorPrimary}},[`${et}-column-sorter-up + ${et}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${et}-column-sorters:hover ${et}-column-sorter`]:{color:St}}}},vs=Ve=>{const{componentCls:et,opacityLoading:ut,tableScrollThumbBg:gt,tableScrollThumbBgHover:yt,tableScrollThumbSize:St,tableScrollBg:Lt,zIndexTableSticky:At,stickyScrollBarBorderRadius:Ot}=Ve,Ft=`${Ve.lineWidth}px ${Ve.lineType} ${Ve.tableBorderColor}`;return{[`${et}-wrapper`]:{[`${et}-sticky`]:{"&-holder":{position:"sticky",zIndex:At,background:Ve.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${St}px !important`,zIndex:At,display:"flex",alignItems:"center",background:Lt,borderTop:Ft,opacity:ut,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:St,backgroundColor:gt,borderRadius:Ot,transition:`all ${Ve.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:yt}}}}}}},fi=Ve=>{const{componentCls:et,lineWidth:ut,tableBorderColor:gt}=Ve,yt=`${ut}px ${Ve.lineType} ${gt}`;return{[`${et}-wrapper`]:{[`${et}-summary`]:{position:"relative",zIndex:Ve.zIndexTableFixed,background:Ve.tableBg,"> tr":{"> th, > td":{borderBottom:yt}}},[`div${et}-summary`]:{boxShadow:`0 -${ut}px 0 ${gt}`}}}},ys=Ve=>{const{componentCls:et}=Ve,ut=`${Ve.lineWidth}px ${Ve.lineType} ${Ve.tableBorderColor}`,gt=`${et}-expanded-row-cell`;return{[`${et}-wrapper`]:{[`${et}-tbody-virtual`]:{[`${et}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${et}-cell`]:{borderBottom:ut},[`${et}-expanded-row`]:{[`${gt}${gt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ve.lineWidth}px)`,borderInlineEnd:"none"}}},[`${et}-bordered`]:{[`${et}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ut,position:"absolute"},[`${et}-cell`]:{borderInlineEnd:ut,[`&${et}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ve.lineWidth,borderInlineStart:ut}}}}}}};const Ss=Ve=>{const{componentCls:et,fontWeightStrong:ut,tablePaddingVertical:gt,tablePaddingHorizontal:yt,lineWidth:St,lineType:Lt,tableBorderColor:At,tableFontSize:Ot,tableBg:Ft,tableRadius:$t,tableHeaderTextColor:Nt,motionDurationMid:Xt,tableHeaderBg:Zt,tableHeaderCellSplitColor:Ht,tableRowHoverBg:ln,tableSelectedRowBg:nn,tableSelectedRowHoverBg:un,tableFooterTextColor:rn,tableFooterBg:hn,paddingContentVerticalLG:kn}=Ve,$n=`${St}px ${Lt} ${At}`;return{[`${et}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,jo.dF)()),{[et]:Object.assign(Object.assign({},(0,jo.Wf)(Ve)),{fontSize:Ot,background:Ft,borderRadius:`${$t}px ${$t}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${$t}px ${$t}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
${et}-cell,
|
|
${et}-thead > tr > th,
|
|
${et}-tbody > tr > th,
|
|
${et}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{position:"relative",padding:`${kn}px ${yt}px`,overflowWrap:"break-word"},[`${et}-title`]:{padding:`${gt}px ${yt}px`},[`${et}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Nt,fontWeight:ut,textAlign:"start",background:Zt,borderBottom:$n,transition:`background ${Xt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${et}-selection-column):not(${et}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Ht,transform:"translateY(-50%)",transition:`background-color ${Xt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${et}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Xt}, border-color ${Xt}`,borderBottom:$n,[`
|
|
> ${et}-wrapper:only-child,
|
|
> ${et}-expanded-row-fixed > ${et}-wrapper:only-child
|
|
`]:{[et]:{marginBlock:`-${gt}px`,marginInline:`${Ve.tableExpandColumnWidth-yt}px -${yt}px`,[`${et}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Nt,fontWeight:ut,textAlign:"start",background:Zt,borderBottom:$n,transition:`background ${Xt} ease`},[`
|
|
&${et}-row:hover > th,
|
|
&${et}-row:hover > td,
|
|
> th${et}-cell-row-hover,
|
|
> td${et}-cell-row-hover
|
|
`]:{background:ln},[`&${et}-row-selected`]:{"> th, > td":{background:nn},"&:hover > th, &:hover > td":{background:un}}}},[`${et}-footer`]:{padding:`${gt}px ${yt}px`,color:rn,background:hn}})}};var bs=(0,ns.Z)("Table",Ve=>{const{colorTextHeading:et,colorSplit:ut,colorIcon:gt,colorIconHover:yt,opacityLoading:St,colorBgContainer:Lt,controlInteractiveSize:At,headerBg:Ot,headerColor:Ft,headerSortActiveBg:$t,headerSortHoverBg:Nt,bodySortBg:Xt,rowHoverBg:Zt,rowSelectedBg:Ht,rowSelectedHoverBg:ln,rowExpandedBg:nn,cellPaddingBlock:un,cellPaddingInline:rn,cellPaddingBlockMD:hn,cellPaddingInlineMD:kn,cellPaddingBlockSM:$n,cellPaddingInlineSM:On,borderColor:er,footerBg:ir,footerColor:Sn,headerBorderRadius:Ln,cellFontSize:bn,cellFontSizeMD:fn,cellFontSizeSM:Cn,headerSplitColor:qn,fixedHeaderSortActiveBg:gr,headerFilterHoverBg:or,filterDropdownBg:Kn,expandIconBg:mr,selectionColumnWidth:vr,stickyScrollBarBg:Gr}=Ve,jr=new wo.C(gt),na=new wo.C(yt),ra=2,sr=(0,rs.TS)(Ve,{tableFontSize:bn,tableBg:Lt,tableRadius:Ln,tablePaddingVertical:un,tablePaddingHorizontal:rn,tablePaddingVerticalMiddle:hn,tablePaddingHorizontalMiddle:kn,tablePaddingVerticalSmall:$n,tablePaddingHorizontalSmall:On,tableBorderColor:er,tableHeaderTextColor:Ft,tableHeaderBg:Ot,tableFooterTextColor:Sn,tableFooterBg:ir,tableHeaderCellSplitColor:qn,tableHeaderSortBg:$t,tableHeaderSortHoverBg:Nt,tableHeaderIconColor:jr.clone().setAlpha(jr.getAlpha()*St).toRgbString(),tableHeaderIconColorHover:na.clone().setAlpha(na.getAlpha()*St).toRgbString(),tableBodySortBg:Xt,tableFixedHeaderSortActiveBg:gr,tableHeaderFilterActiveBg:or,tableFilterDropdownBg:Kn,tableRowHoverBg:Zt,tableSelectedRowBg:Ht,tableSelectedRowHoverBg:ln,zIndexTableFixed:ra,zIndexTableSticky:ra+1,tableFontSizeMiddle:fn,tableFontSizeSmall:Cn,tableSelectionColumnWidth:vr,tableExpandIconBg:mr,tableExpandColumnWidth:At+2*Ve.padding,tableExpandedRowBg:nn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Gr,tableScrollThumbBgHover:et,tableScrollBg:ut});return[Ss(sr),ds(sr),fi(sr),hs(sr),us(sr),as(sr),fs(sr),ls(sr),fi(sr),is(sr),ms(sr),cs(sr),vs(sr),os(sr),ps(sr),gs(sr),ys(sr)]},Ve=>{const{colorFillAlter:et,colorBgContainer:ut,colorTextHeading:gt,colorFillSecondary:yt,colorFillContent:St,controlItemBgActive:Lt,controlItemBgActiveHover:At,padding:Ot,paddingSM:Ft,paddingXS:$t,colorBorderSecondary:Nt,borderRadiusLG:Xt,fontSize:Zt,controlHeight:Ht,colorTextPlaceholder:ln}=Ve,nn=new wo.C(yt).onBackground(ut).toHexShortString(),un=new wo.C(St).onBackground(ut).toHexShortString(),rn=new wo.C(et).onBackground(ut).toHexShortString();return{headerBg:rn,headerColor:gt,headerSortActiveBg:nn,headerSortHoverBg:un,bodySortBg:rn,rowHoverBg:rn,rowSelectedBg:Lt,rowSelectedHoverBg:At,rowExpandedBg:et,cellPaddingBlock:Ot,cellPaddingInline:Ot,cellPaddingBlockMD:Ft,cellPaddingInlineMD:$t,cellPaddingBlockSM:$t,cellPaddingInlineSM:$t,borderColor:Nt,headerBorderRadius:Xt,footerBg:rn,footerColor:gt,cellFontSize:Zt,cellFontSizeMD:Zt,cellFontSizeSM:Zt,headerSplitColor:Nt,fixedHeaderSortActiveBg:nn,headerFilterHoverBg:St,filterDropdownMenuBg:ut,filterDropdownBg:ut,expandIconBg:ut,selectionColumnWidth:Ht,stickyScrollBarBg:ln,stickyScrollBarBorderRadius:100}});const Ps=[],ws=(Ve,et)=>{const{prefixCls:ut,className:gt,rootClassName:yt,style:St,size:Lt,bordered:At,dropdownPrefixCls:Ot,dataSource:Ft,pagination:$t,rowSelection:Nt,rowKey:Xt="key",rowClassName:Zt,columns:Ht,children:ln,childrenColumnName:nn,onChange:un,getPopupContainer:rn,loading:hn,expandIcon:kn,expandable:$n,expandedRowRender:On,expandIconColumnIndex:er,indentSize:ir,scroll:Sn,sortDirections:Ln,locale:bn,showSorterTooltip:fn=!0,virtual:Cn}=Ve,qn=te.useMemo(()=>Ht||Wt(ln),[Ht,ln]),gr=te.useMemo(()=>qn.some(Tr=>Tr.responsive),[qn]),or=(0,Oa.Z)(gr),Kn=te.useMemo(()=>{const Tr=new Set(Object.keys(or).filter(Kr=>or[Kr]));return qn.filter(Kr=>!Kr.responsive||Kr.responsive.some(Pa=>Tr.has(Pa)))},[qn,or]),mr=(0,_a.Z)(Ve,["className","style","columns"]),{locale:vr=Ya.Z,direction:Gr,table:jr,renderEmpty:na,getPrefixCls:ra,getPopupContainer:sr}=te.useContext(wr.E_),ua=(0,Nr.Z)(Lt),Ar=Object.assign(Object.assign({},vr.Table),bn),Xr=Ft||Ps,Hr=ra("table",ut),Fa=ra("dropdown",Ot),Jn=Object.assign({childrenColumnName:nn,expandIconColumnIndex:er},$n),{childrenColumnName:Xn="children"}=Jn,Wn=te.useMemo(()=>Xr.some(Tr=>Tr==null?void 0:Tr[Xn])?"nest":On||$n&&$n.expandedRowRender?"row":null,[Xr]),Bn={body:te.useRef()},Ir=te.useMemo(()=>typeof Xt=="function"?Xt:Tr=>Tr==null?void 0:Tr[Xt],[Xt]),[Dn]=ki(Xr,Xn,Ir),ar={},Cr=function(Tr,Kr){let Pa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var qr,Ca,Ba;const Da=Object.assign(Object.assign({},ar),Tr);Pa&&((qr=ar.resetPagination)===null||qr===void 0||qr.call(ar),!((Ca=Da.pagination)===null||Ca===void 0)&&Ca.current&&(Da.pagination.current=1),$t&&$t.onChange&&$t.onChange(1,(Ba=Da.pagination)===null||Ba===void 0?void 0:Ba.pageSize)),Sn&&Sn.scrollToFirstRowOnChange!==!1&&Bn.body.current&&(0,ba.Z)(0,{getContainer:()=>Bn.body.current}),un==null||un(Da.pagination,Da.filters,Da.sorter,{currentDataSource:ti(Go(Xr,Da.sorterStates,Xn),Da.filterStates),action:Kr})},Pr=(Tr,Kr)=>{Cr({sorter:Tr,sorterStates:Kr},"sort",!1)},[xa,Sa,Qa,ca]=Qi({prefixCls:Hr,mergedColumns:Kn,onSorterChange:Pr,sortDirections:Ln||["ascend","descend"],tableLocale:Ar,showSorterTooltip:fn}),Ha=te.useMemo(()=>Go(Xr,Sa,Xn),[Xr,Sa]);ar.sorter=ca(),ar.sorterStates=Sa;const da=(Tr,Kr)=>{Cr({filters:Tr,filterStates:Kr},"filter",!0)},[Ma,fo,Dr]=Ri({prefixCls:Hr,locale:Ar,dropdownPrefixCls:Fa,mergedColumns:Kn,onFilterChange:da,getPopupContainer:rn||sr}),Rr=ti(Ha,fo);ar.filters=Dr,ar.filterStates=fo;const Jr=te.useMemo(()=>{const Tr={};return Object.keys(Dr).forEach(Kr=>{Dr[Kr]!==null&&(Tr[Kr]=Dr[Kr])}),Object.assign(Object.assign({},Qa),{filters:Tr})},[Qa,Dr]),[fa]=qi(Jr),ga=(Tr,Kr)=>{Cr({pagination:Object.assign(Object.assign({},ar.pagination),{current:Tr,pageSize:Kr})},"paginate")},[yr,ja]=Ui(Rr.length,ga,$t);ar.pagination=$t===!1?{}:Gi(yr,$t),ar.resetPagination=ja;const Ea=te.useMemo(()=>{if($t===!1||!yr.pageSize)return Rr;const{current:Tr=1,total:Kr,pageSize:Pa=ri}=yr;return Rr.length<Kr?Rr.length>Pa?Rr.slice((Tr-1)*Pa,Tr*Pa):Rr:Rr.slice((Tr-1)*Pa,Tr*Pa)},[!!$t,Rr,yr&&yr.current,yr&&yr.pageSize,yr&&yr.total]),[Ga,eo]=Hi({prefixCls:Hr,data:Rr,pageData:Ea,getRowKey:Ir,getRecordByKey:Dn,expandType:Wn,childrenColumnName:Xn,locale:Ar,getPopupContainer:rn||sr},Nt),qa=(Tr,Kr,Pa)=>{let qr;return typeof Zt=="function"?qr=we()(Zt(Tr,Kr,Pa)):qr=we()(Zt),we()({[`${Hr}-row-selected`]:eo.has(Ir(Tr,Kr))},qr)};Jn.__PARENT_RENDER_ICON__=Jn.expandIcon,Jn.expandIcon=Jn.expandIcon||kn||xn(Ar),Wn==="nest"&&Jn.expandIconColumnIndex===void 0?Jn.expandIconColumnIndex=Nt?1:0:Jn.expandIconColumnIndex>0&&Nt&&(Jn.expandIconColumnIndex-=1),typeof Jn.indentSize!="number"&&(Jn.indentSize=typeof ir=="number"?ir:15);const xo=te.useCallback(Tr=>fa(Ga(Ma(xa(Tr)))),[xa,Ma,Ga]);let ao,Xa;if($t!==!1&&(yr!=null&&yr.total)){let Tr;yr.size?Tr=yr.size:Tr=ua==="small"||ua==="middle"?"small":void 0;const Kr=Ca=>te.createElement(io.Z,Object.assign({},yr,{className:we()(`${Hr}-pagination ${Hr}-pagination-${Ca}`,yr.className),size:Tr})),Pa=Gr==="rtl"?"left":"right",{position:qr}=yr;if(qr!==null&&Array.isArray(qr)){const Ca=qr.find(oo=>oo.includes("top")),Ba=qr.find(oo=>oo.includes("bottom")),Da=qr.every(oo=>`${oo}`=="none");!Ca&&!Ba&&!Da&&(Xa=Kr(Pa)),Ca&&(ao=Kr(Ca.toLowerCase().replace("top",""))),Ba&&(Xa=Kr(Ba.toLowerCase().replace("bottom","")))}else Xa=Kr(Pa)}let Na;typeof hn=="boolean"?Na={spinning:hn}:typeof hn=="object"&&(Na=Object.assign({spinning:!0},hn));const[La,ma]=bs(Hr),[,Qr]=(0,Mn.Z)(),to=we()(`${Hr}-wrapper`,jr==null?void 0:jr.className,{[`${Hr}-wrapper-rtl`]:Gr==="rtl"},gt,yt,ma),mo=Object.assign(Object.assign({},jr==null?void 0:jr.style),St),lo=bn&&bn.emptyText||(na==null?void 0:na("Table"))||te.createElement(zr.Z,{componentName:"Table"}),no=Cn?ts:es,Lo={},zo=te.useMemo(()=>{const{fontSize:Tr,lineHeight:Kr,padding:Pa,paddingXS:qr,paddingSM:Ca}=Qr,Ba=Math.floor(Tr*Kr);switch(ua){case"large":return Pa*2+Ba;case"small":return qr*2+Ba;default:return Ca*2+Ba}},[Qr,ua]);return Cn&&(Lo.listItemHeight=zo),La(te.createElement("div",{ref:et,className:to,style:mo},te.createElement(po.Z,Object.assign({spinning:!1},Na),ao,te.createElement(no,Object.assign({},Lo,mr,{columns:Kn,direction:Gr,expandable:Jn,prefixCls:Hr,className:we()({[`${Hr}-middle`]:ua==="middle",[`${Hr}-small`]:ua==="small",[`${Hr}-bordered`]:At,[`${Hr}-empty`]:Xr.length===0}),data:Ea,rowKey:Ir,rowClassName:qa,emptyText:lo,internalHooks:nt,internalRefs:Bn,transformColumns:xo})),Xa)))};var xs=te.forwardRef(ws);const Es=(Ve,et)=>{const ut=te.useRef(0);return ut.current+=1,te.createElement(xs,Object.assign({},Ve,{ref:et,_renderTimes:ut.current}))},ro=te.forwardRef(Es);ro.SELECTION_COLUMN=so,ro.EXPAND_COLUMN=Be,ro.SELECTION_ALL=Do,ro.SELECTION_INVERT=Ro,ro.SELECTION_NONE=ko,ro.Column=ur,ro.ColumnGroup=la,ro.Summary=Pe;var Cs=ro,Ts=Cs},17574:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{default:function(){return Re}});var Be=Ce(60091),nt=Ce(94480),x=Ce(52671),Se=Ce(8657),he=Ce(54476),ae=Ce(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=Ce(7657),se=function(rt,Qe){return ae.createElement(de.Z,(0,he.Z)({},rt,{ref:Qe,icon:le}))},ue=ae.forwardRef(se),oe=ue,ie=Ce(92310),ne=Ce.n(ie),a=Ce(35654),y=Ce(71430),E=Ce(36355),b=Ce(56082),z=Ce(62892),ee=Ce(20648);const re=4;function ce(ot){const{dropPosition:rt,dropLevelOffset:Qe,prefixCls:Je,indent:Ge,direction:ke="ltr"}=ot,_e=ke==="ltr"?"left":"right",tt=ke==="ltr"?"right":"left",Xe={[_e]:-Qe*Ge+re,[tt]:0};switch(rt){case-1:Xe.top=-3;break;case 1:Xe.bottom=-3;break;default:Xe.bottom=-3,Xe[_e]=Ge+re;break}return ae.createElement("div",{style:Xe,className:`${Je}-drop-indicator`})}var ge=Ce(71997),fe=ae.forwardRef((ot,rt)=>{const{getPrefixCls:Qe,direction:Je,virtual:Ge,tree:ke}=ae.useContext(E.E_),{prefixCls:_e,className:tt,showIcon:Xe=!1,showLine:ct,switcherIcon:Ye,blockNode:Ne=!1,children:Oe,checkable:Ue=!1,selectable:xe=!0,draggable:Fe,motion:He,style:We}=ot,Ie=Qe("tree",_e),Te=Qe(),Ee=He!=null?He:Object.assign(Object.assign({},(0,z.Z)(Te)),{motionAppear:!1}),Pe=Object.assign(Object.assign({},ot),{checkable:Ue,selectable:xe,showIcon:Xe,motion:Ee,blockNode:Ne,showLine:!!ct,dropIndicatorRender:ce}),[je,Ke]=(0,ee.ZP)(Ie),at=ae.useMemo(()=>{if(!Fe)return!1;let it={};switch(typeof Fe){case"function":it.nodeDraggable=Fe;break;case"object":it=Object.assign({},Fe);break;default:break}return it.icon!==!1&&(it.icon=it.icon||ae.createElement(b.Z,null)),it},[Fe]),Ze=it=>ae.createElement(ge.Z,{prefixCls:Ie,switcherIcon:Ye,treeNodeProps:it,showLine:ct});return je(ae.createElement(Be.Z,Object.assign({itemHeight:20,ref:rt,virtual:Ge},Pe,{style:Object.assign(Object.assign({},ke==null?void 0:ke.style),We),prefixCls:Ie,className:ne()({[`${Ie}-icon-hide`]:!Xe,[`${Ie}-block-node`]:Ne,[`${Ie}-unselectable`]:!xe,[`${Ie}-rtl`]:Je==="rtl"},ke==null?void 0:ke.className,tt,Ke),direction:Je,checkable:Ue&&ae.createElement("span",{className:`${Ie}-checkbox-inner`}),selectable:xe,switcherIcon:Ze,draggable:at}),Oe))}),pe;(function(ot){ot[ot.None=0]="None",ot[ot.Start=1]="Start",ot[ot.End=2]="End"})(pe||(pe={}));function me(ot,rt){function Qe(Je){const{key:Ge,children:ke}=Je;rt(Ge,Je)!==!1&&me(ke||[],rt)}ot.forEach(Qe)}function ye(ot){let{treeData:rt,expandedKeys:Qe,startKey:Je,endKey:Ge}=ot;const ke=[];let _e=pe.None;if(Je&&Je===Ge)return[Je];if(!Je||!Ge)return[];function tt(Xe){return Xe===Je||Xe===Ge}return me(rt,Xe=>{if(_e===pe.End)return!1;if(tt(Xe)){if(ke.push(Xe),_e===pe.None)_e=pe.Start;else if(_e===pe.Start)return _e=pe.End,!1}else _e===pe.Start&&ke.push(Xe);return Qe.includes(Xe)}),ke}function be(ot,rt){const Qe=(0,nt.Z)(rt),Je=[];return me(ot,(Ge,ke)=>{const _e=Qe.indexOf(Ge);return _e!==-1&&(Je.push(ke),Qe.splice(_e,1)),!!Qe.length}),Je}var Le=function(ot,rt){var Qe={};for(var Je in ot)Object.prototype.hasOwnProperty.call(ot,Je)&&rt.indexOf(Je)<0&&(Qe[Je]=ot[Je]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Je=Object.getOwnPropertySymbols(ot);Ge<Je.length;Ge++)rt.indexOf(Je[Ge])<0&&Object.prototype.propertyIsEnumerable.call(ot,Je[Ge])&&(Qe[Je[Ge]]=ot[Je[Ge]]);return Qe};function we(ot){const{isLeaf:rt,expanded:Qe}=ot;return rt?ae.createElement(x.Z,null):Qe?ae.createElement(Se.Z,null):ae.createElement(oe,null)}function Ae(ot){let{treeData:rt,children:Qe}=ot;return rt||(0,y.zn)(Qe)}const Me=(ot,rt)=>{var{defaultExpandAll:Qe,defaultExpandParent:Je,defaultExpandedKeys:Ge}=ot,ke=Le(ot,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const _e=ae.useRef(),tt=ae.useRef(),Xe=()=>{const{keyEntities:at}=(0,y.I8)(Ae(ke));let Ze;return Qe?Ze=Object.keys(at):Je?Ze=(0,a.r7)(ke.expandedKeys||Ge||[],at):Ze=ke.expandedKeys||Ge,Ze},[ct,Ye]=ae.useState(ke.selectedKeys||ke.defaultSelectedKeys||[]),[Ne,Oe]=ae.useState(()=>Xe());ae.useEffect(()=>{"selectedKeys"in ke&&Ye(ke.selectedKeys)},[ke.selectedKeys]),ae.useEffect(()=>{"expandedKeys"in ke&&Oe(ke.expandedKeys)},[ke.expandedKeys]);const Ue=(at,Ze)=>{var it;return"expandedKeys"in ke||Oe(at),(it=ke.onExpand)===null||it===void 0?void 0:it.call(ke,at,Ze)},xe=(at,Ze)=>{var it;const{multiple:pt}=ke,{node:dt,nativeEvent:vt}=Ze,{key:st=""}=dt,ht=Ae(ke),$e=Object.assign(Object.assign({},Ze),{selected:!0}),lt=(vt==null?void 0:vt.ctrlKey)||(vt==null?void 0:vt.metaKey),ft=vt==null?void 0:vt.shiftKey;let mt;pt&<?(mt=at,_e.current=st,tt.current=mt,$e.selectedNodes=be(ht,mt)):pt&&ft?(mt=Array.from(new Set([].concat((0,nt.Z)(tt.current||[]),(0,nt.Z)(ye({treeData:ht,expandedKeys:Ne,startKey:st,endKey:_e.current}))))),$e.selectedNodes=be(ht,mt)):(mt=[st],_e.current=st,tt.current=mt,$e.selectedNodes=be(ht,mt)),(it=ke.onSelect)===null||it===void 0||it.call(ke,mt,$e),"selectedKeys"in ke||Ye(mt)},{getPrefixCls:Fe,direction:He}=ae.useContext(E.E_),{prefixCls:We,className:Ie,showIcon:Te=!0,expandAction:Ee="click"}=ke,Pe=Le(ke,["prefixCls","className","showIcon","expandAction"]),je=Fe("tree",We),Ke=ne()(`${je}-directory`,{[`${je}-directory-rtl`]:He==="rtl"},Ie);return ae.createElement(fe,Object.assign({icon:we,ref:rt,blockNode:!0},Pe,{showIcon:Te,expandAction:Ee,prefixCls:je,className:Ke,expandedKeys:Ne,selectedKeys:ct,onSelect:xe,onExpand:Ue}))};var ze=ae.forwardRef(Me);const qe=fe;qe.DirectoryTree=ze,qe.TreeNode=Be.O;var Re=qe},20648:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{TM:function(){return ie},Yk:function(){return oe}});var Be=Ce(36237),nt=Ce(98447),x=Ce(17313),Se=Ce(8378),he=Ce(37613),ae=Ce(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,he.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}};Pt.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,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return E}});var Be=Ce(54476),nt=Ce(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,he=Ce(7657),ae=function(z,ee){return nt.createElement(he.Z,(0,Be.Z)({},z,{ref:ee,icon:Se}))},te=nt.forwardRef(ae),le=te,de=Ce(52671),se=Ce(58617),ue=Ce(15075),oe=Ce(43531),ie=Ce(92310),ne=Ce.n(ie),a=Ce(92343),E=b=>{const{prefixCls:z,switcherIcon:ee,treeNodeProps:re,showLine:ce}=b,{isLeaf:ge,expanded:ve,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),ge){if(!ce)return null;if(typeof pe!="boolean"&&pe){const be=typeof pe=="function"?pe(re):pe,Le=`${z}-switcher-line-custom-icon`;return(0,a.l$)(be)?(0,a.Tm)(be,{className:ne()(be.props.className||"",Le)}):be}return pe?nt.createElement(de.Z,{className:`${z}-switcher-line-icon`}):nt.createElement("span",{className:`${z}-switcher-leaf-line`})}const me=`${z}-switcher-icon`,ye=typeof ee=="function"?ee(re):ee;return(0,a.l$)(ye)?(0,a.Tm)(ye,{className:ne()(ye.props.className||"",me)}):ye!==void 0?ye:ce?ve?nt.createElement(ue.Z,{className:`${z}-switcher-line-icon`}):nt.createElement(oe.Z,{className:`${z}-switcher-line-icon`}):nt.createElement(le,{className:me})}},54580:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{default:function(){return cr}});var Be=Ce(59301),nt=Ce(94480),x=Ce(92310),Se=Ce.n(x),he=Ce(54476),ae=Ce(67732),te=Ce(83652),le=Ce(42403),de=Ce(158),se=Ce(20068),ue=Ce(75931),oe=Ce(75044),ie=Ce(76190),ne=Ce(3202),a=Ce(26112);function y(xt,Bt){var Rt="cannot ".concat(xt.method," ").concat(xt.action," ").concat(Bt.status,"'"),_t=new Error(Rt);return _t.status=Bt.status,_t.method=xt.method,_t.url=xt.action,_t}function E(xt){var Bt=xt.responseText||xt.response;if(!Bt)return Bt;try{return JSON.parse(Bt)}catch(Rt){return Bt}}function b(xt){var Bt=new XMLHttpRequest;xt.onProgress&&Bt.upload&&(Bt.upload.onprogress=function(Ut){Ut.total>0&&(Ut.percent=Ut.loaded/Ut.total*100),xt.onProgress(Ut)});var Rt=new FormData;xt.data&&Object.keys(xt.data).forEach(function(Vt){var Ut=xt.data[Vt];if(Array.isArray(Ut)){Ut.forEach(function(kt){Rt.append("".concat(Vt,"[]"),kt)});return}Rt.append(Vt,Ut)}),xt.file instanceof Blob?Rt.append(xt.filename,xt.file,xt.file.name):Rt.append(xt.filename,xt.file),Bt.onerror=function(Ut){xt.onError(Ut)},Bt.onload=function(){return Bt.status<200||Bt.status>=300?xt.onError(y(xt,Bt),E(Bt)):xt.onSuccess(E(Bt),Bt)},Bt.open(xt.method,xt.action,!0),xt.withCredentials&&"withCredentials"in Bt&&(Bt.withCredentials=!0);var _t=xt.headers||{};return _t["X-Requested-With"]!==null&&Bt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(_t).forEach(function(Vt){_t[Vt]!==null&&Bt.setRequestHeader(Vt,_t[Vt])}),Bt.send(Rt),{abort:function(){Bt.abort()}}}var z=+new Date,ee=0;function re(){return"rc-upload-".concat(z,"-").concat(++ee)}var ce=Ce(48736),ge=function(xt,Bt){if(xt&&Bt){var Rt=Array.isArray(Bt)?Bt:Bt.split(","),_t=xt.name||"",Vt=xt.type||"",Ut=Vt.replace(/\/.*$/,"");return Rt.some(function(kt){var Gt=kt.trim();if(/^\*(\/\*)?$/.test(kt))return!0;if(Gt.charAt(0)==="."){var Gn=_t.toLowerCase(),Dt=Gt.toLowerCase(),zn=[Dt];return(Dt===".jpg"||Dt===".jpeg")&&(zn=[".jpg",".jpeg"]),zn.some(function(pr){return Gn.endsWith(pr)})}return/\/\*$/.test(Gt)?Ut===Gt.replace(/\/.*$/,""):Vt===Gt?!0:/^\w+$/.test(Gt)?((0,ce.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Gt,"'.Skip for check.")),!0):!1})}return!0};function ve(xt,Bt){var Rt=xt.createReader(),_t=[];function Vt(){Rt.readEntries(function(Ut){var kt=Array.prototype.slice.apply(Ut);_t=_t.concat(kt);var Gt=!kt.length;Gt?Bt(_t):Vt()})}Vt()}var fe=function(Bt,Rt,_t){var Vt=function Ut(kt,Gt){kt&&(kt.path=Gt||"",kt.isFile?kt.file(function(Gn){_t(Gn)&&(kt.fullPath&&!Gn.webkitRelativePath&&(Object.defineProperties(Gn,{webkitRelativePath:{writable:!0}}),Gn.webkitRelativePath=kt.fullPath.replace(/^\//,""),Object.defineProperties(Gn,{webkitRelativePath:{writable:!1}})),Rt([Gn]))}):kt.isDirectory&&ve(kt,function(Gn){Gn.forEach(function(Dt){Ut(Dt,"".concat(Gt).concat(kt.name,"/"))})}))};Bt.forEach(function(Ut){Vt(Ut.webkitGetAsEntry())})},pe=fe,me=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],ye=function(xt){(0,le.Z)(Rt,xt);var Bt=(0,de.Z)(Rt);function Rt(){var _t;(0,ae.Z)(this,Rt);for(var Vt=arguments.length,Ut=new Array(Vt),kt=0;kt<Vt;kt++)Ut[kt]=arguments[kt];return _t=Bt.call.apply(Bt,[this].concat(Ut)),_t.state={uid:re()},_t.reqs={},_t.fileInput=void 0,_t._isMounted=void 0,_t.onChange=function(Gt){var Gn=_t.props,Dt=Gn.accept,zn=Gn.directory,pr=Gt.target.files,br=(0,nt.Z)(pr).filter(function(Lr){return!zn||ge(Lr,Dt)});_t.uploadFiles(br),_t.reset()},_t.onClick=function(Gt){var Gn=_t.fileInput;if(Gn){var Dt=Gt.target,zn=_t.props.onClick;if(Dt&&Dt.tagName==="BUTTON"){var pr=Gn.parentNode;pr.focus(),Dt.blur()}Gn.click(),zn&&zn(Gt)}},_t.onKeyDown=function(Gt){Gt.key==="Enter"&&_t.onClick(Gt)},_t.onFileDrop=function(Gt){var Gn=_t.props.multiple;if(Gt.preventDefault(),Gt.type!=="dragover")if(_t.props.directory)pe(Array.prototype.slice.call(Gt.dataTransfer.items),_t.uploadFiles,function(zn){return ge(zn,_t.props.accept)});else{var Dt=(0,nt.Z)(Gt.dataTransfer.files).filter(function(zn){return ge(zn,_t.props.accept)});Gn===!1&&(Dt=Dt.slice(0,1)),_t.uploadFiles(Dt)}},_t.uploadFiles=function(Gt){var Gn=(0,nt.Z)(Gt),Dt=Gn.map(function(zn){return zn.uid=re(),_t.processFile(zn,Gn)});Promise.all(Dt).then(function(zn){var pr=_t.props.onBatchStart;pr==null||pr(zn.map(function(br){var Lr=br.origin,ea=br.parsedFile;return{file:Lr,parsedFile:ea}})),zn.filter(function(br){return br.parsedFile!==null}).forEach(function(br){_t.post(br)})})},_t.processFile=function(){var Gt=(0,ne.Z)((0,oe.Z)().mark(function Gn(Dt,zn){var pr,br,Lr,ea,Jt,dn,Pn,Tn,Sr;return(0,oe.Z)().wrap(function(tr){for(;;)switch(tr.prev=tr.next){case 0:if(pr=_t.props.beforeUpload,br=Dt,!pr){tr.next=14;break}return tr.prev=3,tr.next=6,pr(Dt,zn);case 6:br=tr.sent,tr.next=12;break;case 9:tr.prev=9,tr.t0=tr.catch(3),br=!1;case 12:if(br!==!1){tr.next=14;break}return tr.abrupt("return",{origin:Dt,parsedFile:null,action:null,data:null});case 14:if(Lr=_t.props.action,typeof Lr!="function"){tr.next=21;break}return tr.next=18,Lr(Dt);case 18:ea=tr.sent,tr.next=22;break;case 21:ea=Lr;case 22:if(Jt=_t.props.data,typeof Jt!="function"){tr.next=29;break}return tr.next=26,Jt(Dt);case 26:dn=tr.sent,tr.next=30;break;case 29:dn=Jt;case 30:return Pn=((0,ie.Z)(br)==="object"||typeof br=="string")&&br?br:Dt,Pn instanceof File?Tn=Pn:Tn=new File([Pn],Dt.name,{type:Dt.type}),Sr=Tn,Sr.uid=Dt.uid,tr.abrupt("return",{origin:Dt,data:dn,parsedFile:Sr,action:ea});case 35:case"end":return tr.stop()}},Gn,null,[[3,9]])}));return function(Gn,Dt){return Gt.apply(this,arguments)}}(),_t.saveFileInput=function(Gt){_t.fileInput=Gt},_t}return(0,te.Z)(Rt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Vt){var Ut=this,kt=Vt.data,Gt=Vt.origin,Gn=Vt.action,Dt=Vt.parsedFile;if(this._isMounted){var zn=this.props,pr=zn.onStart,br=zn.customRequest,Lr=zn.name,ea=zn.headers,Jt=zn.withCredentials,dn=zn.method,Pn=Gt.uid,Tn=br||b,Sr={action:Gn,filename:Lr,data:kt,file:Dt,headers:ea,withCredentials:Jt,method:dn||"post",onProgress:function(tr){var Fr=Ut.props.onProgress;Fr==null||Fr(tr,Dt)},onSuccess:function(tr,Fr){var Mr=Ut.props.onSuccess;Mr==null||Mr(tr,Dt,Fr),delete Ut.reqs[Pn]},onError:function(tr,Fr){var Mr=Ut.props.onError;Mr==null||Mr(tr,Fr,Dt),delete Ut.reqs[Pn]}};pr(Gt),this.reqs[Pn]=Tn(Sr)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function(Vt){var Ut=this.reqs;if(Vt){var kt=Vt.uid?Vt.uid:Vt;Ut[kt]&&Ut[kt].abort&&Ut[kt].abort(),delete Ut[kt]}else Object.keys(Ut).forEach(function(Gt){Ut[Gt]&&Ut[Gt].abort&&Ut[Gt].abort(),delete Ut[Gt]})}},{key:"render",value:function(){var Vt=this.props,Ut=Vt.component,kt=Vt.prefixCls,Gt=Vt.className,Gn=Vt.disabled,Dt=Vt.id,zn=Vt.style,pr=Vt.multiple,br=Vt.accept,Lr=Vt.capture,ea=Vt.children,Jt=Vt.directory,dn=Vt.openFileDialogOnClick,Pn=Vt.onMouseEnter,Tn=Vt.onMouseLeave,Sr=(0,ue.Z)(Vt,me),fr=Se()((0,se.Z)((0,se.Z)((0,se.Z)({},kt,!0),"".concat(kt,"-disabled"),Gn),Gt,Gt)),tr=Jt?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Fr=Gn?{}:{onClick:dn?this.onClick:function(){},onKeyDown:dn?this.onKeyDown:function(){},onMouseEnter:Pn,onMouseLeave:Tn,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return Be.createElement(Ut,(0,he.Z)({},Fr,{className:fr,role:"button",style:zn}),Be.createElement("input",(0,he.Z)({},(0,a.Z)(Sr,{aria:!0,data:!0}),{id:Dt,disabled:Gn,type:"file",ref:this.saveFileInput,onClick:function(ha){return ha.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:br},tr,{multiple:pr,onChange:this.onChange},Lr!=null?{capture:Lr}:{})),ea)}}]),Rt}(Be.Component),be=ye;function Le(){}var we=function(xt){(0,le.Z)(Rt,xt);var Bt=(0,de.Z)(Rt);function Rt(){var _t;(0,ae.Z)(this,Rt);for(var Vt=arguments.length,Ut=new Array(Vt),kt=0;kt<Vt;kt++)Ut[kt]=arguments[kt];return _t=Bt.call.apply(Bt,[this].concat(Ut)),_t.uploader=void 0,_t.saveUploader=function(Gt){_t.uploader=Gt},_t}return(0,te.Z)(Rt,[{key:"abort",value:function(Vt){this.uploader.abort(Vt)}},{key:"render",value:function(){return Be.createElement(be,(0,he.Z)({},this.props,{ref:this.saveUploader}))}}]),Rt}(Be.Component);we.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Le,onError:Le,onSuccess:Le,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Ae=we,Me=Ae,De=Ce(18929),ze=Ce(4676),qe=Ce(36355),Re=Ce(1684),ot=Ce(9763),rt=Ce(31724),Qe={icon:function(Bt,Rt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Rt}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:Bt}}]}},name:"file",theme:"twotone"},Je=Qe,Ge=Ce(7657),ke=function(Bt,Rt){return Be.createElement(Ge.Z,(0,he.Z)({},Bt,{ref:Rt,icon:Je}))},_e=Be.forwardRef(ke),tt=_e,Xe=Ce(58617),ct={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Ye=ct,Ne=function(Bt,Rt){return Be.createElement(Ge.Z,(0,he.Z)({},Bt,{ref:Rt,icon:Ye}))},Oe=Be.forwardRef(Ne),Ue=Oe,xe={icon:function(Bt,Rt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:Bt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Rt}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:Rt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Rt}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:Bt}}]}},name:"picture",theme:"twotone"},Fe=xe,He=function(Bt,Rt){return Be.createElement(Ge.Z,(0,he.Z)({},Bt,{ref:Rt,icon:Fe}))},We=Be.forwardRef(He),Ie=We,Te=Ce(77900),Ee=Ce(56762),Pe=Ce(62892),je=Ce(92343),Ke=Ce(3113);function at(xt){return Object.assign(Object.assign({},xt),{lastModified:xt.lastModified,lastModifiedDate:xt.lastModifiedDate,name:xt.name,size:xt.size,type:xt.type,uid:xt.uid,percent:0,originFileObj:xt})}function Ze(xt,Bt){const Rt=(0,nt.Z)(Bt),_t=Rt.findIndex(Vt=>{let{uid:Ut}=Vt;return Ut===xt.uid});return _t===-1?Rt.push(xt):Rt[_t]=xt,Rt}function it(xt,Bt){const Rt=xt.uid!==void 0?"uid":"name";return Bt.filter(_t=>_t[Rt]===xt[Rt])[0]}function pt(xt,Bt){const Rt=xt.uid!==void 0?"uid":"name",_t=Bt.filter(Vt=>Vt[Rt]!==xt[Rt]);return _t.length===Bt.length?null:_t}const dt=function(){const Bt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),_t=Bt[Bt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(_t)||[""])[0]},vt=xt=>xt.indexOf("image/")===0,st=xt=>{if(xt.type&&!xt.thumbUrl)return vt(xt.type);const Bt=xt.thumbUrl||xt.url||"",Rt=dt(Bt);return/^data:image\//.test(Bt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Rt)?!0:!(/^data:/.test(Bt)||Rt)},ht=200;function $e(xt){return new Promise(Bt=>{if(!xt.type||!vt(xt.type)){Bt("");return}const Rt=document.createElement("canvas");Rt.width=ht,Rt.height=ht,Rt.style.cssText=`position: fixed; left: 0; top: 0; width: ${ht}px; height: ${ht}px; z-index: 9999; display: none;`,document.body.appendChild(Rt);const _t=Rt.getContext("2d"),Vt=new Image;if(Vt.onload=()=>{const{width:Ut,height:kt}=Vt;let Gt=ht,Gn=ht,Dt=0,zn=0;Ut>kt?(Gn=kt*(ht/Ut),zn=-(Gn-Gt)/2):(Gt=Ut*(ht/kt),Dt=-(Gt-Gn)/2),_t.drawImage(Vt,Dt,zn,Gt,Gn);const pr=Rt.toDataURL();document.body.removeChild(Rt),window.URL.revokeObjectURL(Vt.src),Bt(pr)},Vt.crossOrigin="anonymous",xt.type.startsWith("image/svg+xml")){const Ut=new FileReader;Ut.onload=()=>{Ut.result&&(Vt.src=Ut.result)},Ut.readAsDataURL(xt)}else if(xt.type.startsWith("image/gif")){const Ut=new FileReader;Ut.onload=()=>{Ut.result&&Bt(Ut.result)},Ut.readAsDataURL(xt)}else Vt.src=window.URL.createObjectURL(xt)})}var lt=Ce(26227),ft=Ce(41464),mt=Ce(15277),wt=Ce(93948),jt=Ce(6848),Mt=Be.forwardRef((xt,Bt)=>{let{prefixCls:Rt,className:_t,style:Vt,locale:Ut,listType:kt,file:Gt,items:Gn,progress:Dt,iconRender:zn,actionIconRender:pr,itemRender:br,isImgUrl:Lr,showPreviewIcon:ea,showRemoveIcon:Jt,showDownloadIcon:dn,previewIcon:Pn,removeIcon:Tn,downloadIcon:Sr,onPreview:fr,onDownload:tr,onClose:Fr}=xt;var Mr,ha;const{status:wa}=Gt,[ya,za]=Be.useState(wa);Be.useEffect(()=>{wa!=="removed"&&za(wa)},[wa]);const[Ka,Wa]=Be.useState(!1);Be.useEffect(()=>{const wr=setTimeout(()=>{Wa(!0)},300);return()=>{clearTimeout(wr)}},[]);const Ra=zn(Gt);let pa=Be.createElement("div",{className:`${Rt}-icon`},Ra);if(kt==="picture"||kt==="picture-card"||kt==="picture-circle")if(ya==="uploading"||!Gt.thumbUrl&&!Gt.url){const wr=Se()(`${Rt}-list-item-thumbnail`,{[`${Rt}-list-item-file`]:ya!=="uploading"});pa=Be.createElement("div",{className:wr},Ra)}else{const wr=Lr!=null&&Lr(Gt)?Be.createElement("img",{src:Gt.thumbUrl||Gt.url,alt:Gt.name,className:`${Rt}-list-item-image`,crossOrigin:Gt.crossOrigin}):Ra,zr=Se()(`${Rt}-list-item-thumbnail`,{[`${Rt}-list-item-file`]:Lr&&!Lr(Gt)});pa=Be.createElement("a",{className:zr,onClick:Nr=>fr(Gt,Nr),href:Gt.url||Gt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},wr)}const _r=Se()(`${Rt}-list-item`,`${Rt}-list-item-${ya}`),Aa=typeof Gt.linkProps=="string"?JSON.parse(Gt.linkProps):Gt.linkProps,Ta=Jt?pr((typeof Tn=="function"?Tn(Gt):Tn)||Be.createElement(lt.Z,null),()=>Fr(Gt),Rt,Ut.removeFile):null,Ia=dn&&ya==="done"?pr((typeof Sr=="function"?Sr(Gt):Sr)||Be.createElement(ft.Z,null),()=>tr(Gt),Rt,Ut.downloadFile):null,ka=kt!=="picture-card"&&kt!=="picture-circle"&&Be.createElement("span",{key:"download-delete",className:Se()(`${Rt}-list-item-actions`,{picture:kt==="picture"})},Ia,Ta),va=Se()(`${Rt}-list-item-name`),Fn=Gt.url?[Be.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:va,title:Gt.name},Aa,{href:Gt.url,onClick:wr=>fr(Gt,wr)}),Gt.name),ka]:[Be.createElement("span",{key:"view",className:va,onClick:wr=>fr(Gt,wr),title:Gt.name},Gt.name),ka],cn={pointerEvents:"none",opacity:.5},lr=ea?Be.createElement("a",{href:Gt.url||Gt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Gt.url||Gt.thumbUrl?void 0:cn,onClick:wr=>fr(Gt,wr),title:Ut.previewFile},typeof Pn=="function"?Pn(Gt):Pn||Be.createElement(mt.Z,null)):null,Or=(kt==="picture-card"||kt==="picture-circle")&&ya!=="uploading"&&Be.createElement("span",{className:`${Rt}-list-item-actions`},lr,ya==="done"&&Ia,Ta),{getPrefixCls:ur}=Be.useContext(qe.E_),ta=ur(),la=Be.createElement("div",{className:_r},pa,Fn,Or,Ka&&Be.createElement(Te.default,{motionName:`${ta}-fade`,visible:ya==="uploading",motionDeadline:2e3},wr=>{let{className:zr}=wr;const Nr="percent"in Gt?Be.createElement(wt.Z,Object.assign({},Dt,{type:"line",percent:Gt.percent,"aria-label":Gt["aria-label"],"aria-labelledby":Gt["aria-labelledby"]})):null;return Be.createElement("div",{className:Se()(`${Rt}-list-item-progress`,zr)},Nr)})),_a=Gt.response&&typeof Gt.response=="string"?Gt.response:((Mr=Gt.error)===null||Mr===void 0?void 0:Mr.statusText)||((ha=Gt.error)===null||ha===void 0?void 0:ha.message)||Ut.uploadError,ba=ya==="error"?Be.createElement(jt.Z,{title:_a,getPopupContainer:wr=>wr.parentNode},la):la;return Be.createElement("div",{className:Se()(`${Rt}-list-item-container`,_t),style:Vt,ref:Bt},br?br(ba,Gt,Gn,{download:tr.bind(null,Gt),preview:fr.bind(null,Gt),remove:Fr.bind(null,Gt)}):ba)});const Kt=(xt,Bt)=>{const{listType:Rt="text",previewFile:_t=$e,onPreview:Vt,onDownload:Ut,onRemove:kt,locale:Gt,iconRender:Gn,isImageUrl:Dt=st,prefixCls:zn,items:pr=[],showPreviewIcon:br=!0,showRemoveIcon:Lr=!0,showDownloadIcon:ea=!1,removeIcon:Jt,previewIcon:dn,downloadIcon:Pn,progress:Tn={size:[-1,2],showInfo:!1},appendAction:Sr,appendActionVisible:fr=!0,itemRender:tr,disabled:Fr}=xt,Mr=(0,Ee.Z)(),[ha,wa]=Be.useState(!1);Be.useEffect(()=>{Rt!=="picture"&&Rt!=="picture-card"&&Rt!=="picture-circle"||(pr||[]).forEach(cn=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(cn.originFileObj instanceof File||cn.originFileObj instanceof Blob)||cn.thumbUrl!==void 0||(cn.thumbUrl="",_t&&_t(cn.originFileObj).then(lr=>{cn.thumbUrl=lr||"",Mr()}))})},[Rt,pr,_t]),Be.useEffect(()=>{wa(!0)},[]);const ya=(cn,lr)=>{if(Vt)return lr==null||lr.preventDefault(),Vt(cn)},za=cn=>{typeof Ut=="function"?Ut(cn):cn.url&&window.open(cn.url)},Ka=cn=>{kt==null||kt(cn)},Wa=cn=>{if(Gn)return Gn(cn,Rt);const lr=cn.status==="uploading",Or=Dt&&Dt(cn)?Be.createElement(Ie,null):Be.createElement(tt,null);let ur=lr?Be.createElement(Xe.Z,null):Be.createElement(Ue,null);return Rt==="picture"?ur=lr?Be.createElement(Xe.Z,null):Or:(Rt==="picture-card"||Rt==="picture-circle")&&(ur=lr?Gt.uploading:Or),ur},Ra=(cn,lr,Or,ur)=>{const ta={type:"text",size:"small",title:ur,onClick:la=>{lr(),(0,je.l$)(cn)&&cn.props.onClick&&cn.props.onClick(la)},className:`${Or}-list-item-action`,disabled:Fr};if((0,je.l$)(cn)){const la=(0,je.Tm)(cn,Object.assign(Object.assign({},cn.props),{onClick:()=>{}}));return Be.createElement(Ke.ZP,Object.assign({},ta,{icon:la}))}return Be.createElement(Ke.ZP,Object.assign({},ta),Be.createElement("span",null,cn))};Be.useImperativeHandle(Bt,()=>({handlePreview:ya,handleDownload:za}));const{getPrefixCls:pa}=Be.useContext(qe.E_),_r=pa("upload",zn),Aa=pa(),Ta=Se()(`${_r}-list`,`${_r}-list-${Rt}`),Ia=(0,nt.Z)(pr.map(cn=>({key:cn.uid,file:cn})));let va={motionDeadline:2e3,motionName:`${_r}-${Rt==="picture-card"||Rt==="picture-circle"?"animate-inline":"animate"}`,keys:Ia,motionAppear:ha};const Fn=Be.useMemo(()=>{const cn=Object.assign({},(0,Pe.Z)(Aa));return delete cn.onAppearEnd,delete cn.onEnterEnd,delete cn.onLeaveEnd,cn},[Aa]);return Rt!=="picture-card"&&Rt!=="picture-circle"&&(va=Object.assign(Object.assign({},Fn),va)),Be.createElement("div",{className:Ta},Be.createElement(Te.CSSMotionList,Object.assign({},va,{component:!1}),cn=>{let{key:lr,file:Or,className:ur,style:ta}=cn;return Be.createElement(Mt,{key:lr,locale:Gt,prefixCls:_r,className:ur,style:ta,file:Or,items:pr,progress:Tn,listType:Rt,isImgUrl:Dt,showPreviewIcon:br,showRemoveIcon:Lr,showDownloadIcon:ea,removeIcon:Jt,previewIcon:dn,downloadIcon:Pn,iconRender:Wa,actionIconRender:Ra,itemRender:tr,onPreview:ya,onDownload:za,onClose:Ka})}),Sr&&Be.createElement(Te.default,Object.assign({},va,{visible:fr,forceRender:!0}),cn=>{let{className:lr,style:Or}=cn;return(0,je.Tm)(Sr,ur=>({className:Se()(ur.className,lr),style:Object.assign(Object.assign(Object.assign({},Or),{pointerEvents:lr?"none":void 0}),ur.style)}))}))};var en=Be.forwardRef(Kt),on=Ce(17313),wn=Ce(8378),Nn=Ce(83116),an=Ce(37613),Rn=xt=>{const{componentCls:Bt,iconCls:Rt}=xt;return{[`${Bt}-wrapper`]:{[`${Bt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:xt.colorFillAlter,border:`${xt.lineWidth}px dashed ${xt.colorBorder}`,borderRadius:xt.borderRadiusLG,cursor:"pointer",transition:`border-color ${xt.motionDurationSlow}`,[Bt]:{padding:`${xt.padding}px 0`},[`${Bt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Bt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Bt}-disabled):hover`]:{borderColor:xt.colorPrimaryHover},[`p${Bt}-drag-icon`]:{marginBottom:xt.margin,[Rt]:{color:xt.colorPrimary,fontSize:xt.uploadThumbnailSize}},[`p${Bt}-text`]:{margin:`0 0 ${xt.marginXXS}px`,color:xt.colorTextHeading,fontSize:xt.fontSizeLG},[`p${Bt}-hint`]:{color:xt.colorTextDescription,fontSize:xt.fontSize},[`&${Bt}-disabled`]:{cursor:"not-allowed",[`p${Bt}-drag-icon ${Rt},
|
|
p${Bt}-text,
|
|
p${Bt}-hint
|
|
`]:{color:xt.colorTextDisabled}}}}}},Vn=xt=>{const{componentCls:Bt,antCls:Rt,iconCls:_t,fontSize:Vt,lineHeight:Ut}=xt,kt=`${Bt}-list-item`,Gt=`${kt}-actions`,Gn=`${kt}-action`,Dt=Math.round(Vt*Ut);return{[`${Bt}-wrapper`]:{[`${Bt}-list`]:Object.assign(Object.assign({},(0,on.dF)()),{lineHeight:xt.lineHeight,[kt]:{position:"relative",height:xt.lineHeight*Vt,marginTop:xt.marginXS,fontSize:Vt,display:"flex",alignItems:"center",transition:`background-color ${xt.motionDurationSlow}`,"&:hover":{backgroundColor:xt.controlItemBgHover},[`${kt}-name`]:Object.assign(Object.assign({},on.vS),{padding:`0 ${xt.paddingXS}px`,lineHeight:Ut,flex:"auto",transition:`all ${xt.motionDurationSlow}`}),[Gt]:{[Gn]:{opacity:0},[`${Gn}${Rt}-btn-sm`]:{height:Dt,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
${Gn}:focus-visible,
|
|
&.picture ${Gn}
|
|
`]:{opacity:1},[_t]:{color:xt.actionsColor,transition:`all ${xt.motionDurationSlow}`},[`&:hover ${_t}`]:{color:xt.colorText}},[`${Bt}-icon ${_t}`]:{color:xt.colorTextDescription,fontSize:Vt},[`${kt}-progress`]:{position:"absolute",bottom:-xt.uploadProgressOffset,width:"100%",paddingInlineStart:Vt+xt.paddingXS,fontSize:Vt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${kt}:hover ${Gn}`]:{opacity:1,color:xt.colorText},[`${kt}-error`]:{color:xt.colorError,[`${kt}-name, ${Bt}-icon ${_t}`]:{color:xt.colorError},[Gt]:{[`${_t}, ${_t}:hover`]:{color:xt.colorError},[Gn]:{opacity:1}}},[`${Bt}-list-item-container`]:{transition:`opacity ${xt.motionDurationSlow}, height ${xt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},dr=Ce(36237),zt=Ce(1950);const Qt=new dr.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),gn=new dr.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Hn=xt=>{const{componentCls:Bt}=xt,Rt=`${Bt}-animate-inline`;return[{[`${Bt}-wrapper`]:{[`${Rt}-appear, ${Rt}-enter, ${Rt}-leave`]:{animationDuration:xt.motionDurationSlow,animationTimingFunction:xt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Rt}-appear, ${Rt}-enter`]:{animationName:Qt},[`${Rt}-leave`]:{animationName:gn}}},{[`${Bt}-wrapper`]:(0,zt.J$)(xt)},Qt,gn]},vn=Ce(30071),bt=Ce(64993);const Tt=xt=>{const{componentCls:Bt,iconCls:Rt,uploadThumbnailSize:_t,uploadProgressOffset:Vt}=xt,Ut=`${Bt}-list`,kt=`${Ut}-item`;return{[`${Bt}-wrapper`]:{[`
|
|
${Ut}${Ut}-picture,
|
|
${Ut}${Ut}-picture-card,
|
|
${Ut}${Ut}-picture-circle
|
|
`]:{[kt]:{position:"relative",height:_t+xt.lineWidth*2+xt.paddingXS*2,padding:xt.paddingXS,border:`${xt.lineWidth}px ${xt.lineType} ${xt.colorBorder}`,borderRadius:xt.borderRadiusLG,"&:hover":{background:"transparent"},[`${kt}-thumbnail`]:Object.assign(Object.assign({},on.vS),{width:_t,height:_t,lineHeight:`${_t+xt.paddingSM}px`,textAlign:"center",flex:"none",[Rt]:{fontSize:xt.fontSizeHeading2,color:xt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${kt}-progress`]:{bottom:Vt,width:`calc(100% - ${xt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:_t+xt.paddingXS}},[`${kt}-error`]:{borderColor:xt.colorError,[`${kt}-thumbnail ${Rt}`]:{[`svg path[fill='${vn.blue[0]}']`]:{fill:xt.colorErrorBg},[`svg path[fill='${vn.blue.primary}']`]:{fill:xt.colorError}}},[`${kt}-uploading`]:{borderStyle:"dashed",[`${kt}-name`]:{marginBottom:Vt}}},[`${Ut}${Ut}-picture-circle ${kt}`]:{[`&, &::before, ${kt}-thumbnail`]:{borderRadius:"50%"}}}}},Et=xt=>{const{componentCls:Bt,iconCls:Rt,fontSizeLG:_t,colorTextLightSolid:Vt}=xt,Ut=`${Bt}-list`,kt=`${Ut}-item`,Gt=xt.uploadPicCardSize;return{[`
|
|
${Bt}-wrapper${Bt}-picture-card-wrapper,
|
|
${Bt}-wrapper${Bt}-picture-circle-wrapper
|
|
`]:Object.assign(Object.assign({},(0,on.dF)()),{display:"inline-block",width:"100%",[`${Bt}${Bt}-select`]:{width:Gt,height:Gt,marginInlineEnd:xt.marginXS,marginBottom:xt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:xt.colorFillAlter,border:`${xt.lineWidth}px dashed ${xt.colorBorder}`,borderRadius:xt.borderRadiusLG,cursor:"pointer",transition:`border-color ${xt.motionDurationSlow}`,[`> ${Bt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Bt}-disabled):hover`]:{borderColor:xt.colorPrimary}},[`${Ut}${Ut}-picture-card, ${Ut}${Ut}-picture-circle`]:{[`${Ut}-item-container`]:{display:"inline-block",width:Gt,height:Gt,marginBlock:`0 ${xt.marginXS}px`,marginInline:`0 ${xt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[kt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${xt.paddingXS*2}px)`,height:`calc(100% - ${xt.paddingXS*2}px)`,backgroundColor:xt.colorBgMask,opacity:0,transition:`all ${xt.motionDurationSlow}`,content:'" "'}},[`${kt}:hover`]:{[`&::before, ${kt}-actions`]:{opacity:1}},[`${kt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${xt.motionDurationSlow}`,[`${Rt}-eye, ${Rt}-download, ${Rt}-delete`]:{zIndex:10,width:_t,margin:`0 ${xt.marginXXS}px`,fontSize:_t,cursor:"pointer",transition:`all ${xt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${kt}-actions, ${kt}-actions:hover`]:{[`${Rt}-eye, ${Rt}-download, ${Rt}-delete`]:{color:new bt.C(Vt).setAlpha(.65).toRgbString(),"&:hover":{color:Vt}}},[`${kt}-thumbnail, ${kt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${kt}-name`]:{display:"none",textAlign:"center"},[`${kt}-file + ${kt}-name`]:{position:"absolute",bottom:xt.margin,display:"block",width:`calc(100% - ${xt.paddingXS*2}px)`},[`${kt}-uploading`]:{[`&${kt}`]:{backgroundColor:xt.colorFillAlter},[`&::before, ${Rt}-eye, ${Rt}-download, ${Rt}-delete`]:{display:"none"}},[`${kt}-progress`]:{bottom:xt.marginXL,width:`calc(100% - ${xt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Bt}-wrapper${Bt}-picture-circle-wrapper`]:{[`${Bt}${Bt}-select`]:{borderRadius:"50%"}}}};var tn=xt=>{const{componentCls:Bt}=xt;return{[`${Bt}-rtl`]:{direction:"rtl"}}};const sn=xt=>{const{componentCls:Bt,colorTextDisabled:Rt}=xt;return{[`${Bt}-wrapper`]:Object.assign(Object.assign({},(0,on.Wf)(xt)),{[Bt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Bt}-select`]:{display:"inline-block"},[`${Bt}-disabled`]:{color:Rt,cursor:"not-allowed"}})}};var Un=(0,Nn.Z)("Upload",xt=>{const{fontSizeHeading3:Bt,fontSize:Rt,lineHeight:_t,lineWidth:Vt,controlHeightLG:Ut}=xt,kt=Math.round(Rt*_t),Gt=(0,an.TS)(xt,{uploadThumbnailSize:Bt*2,uploadProgressOffset:kt/2+Vt,uploadPicCardSize:Ut*2.55});return[sn(Gt),Rn(Gt),Tt(Gt),Et(Gt),Vn(Gt),Hn(Gt),tn(Gt),(0,wn.Z)(Gt)]},xt=>({actionsColor:xt.colorTextDescription})),Qn=function(xt,Bt,Rt,_t){function Vt(Ut){return Ut instanceof Rt?Ut:new Rt(function(kt){kt(Ut)})}return new(Rt||(Rt=Promise))(function(Ut,kt){function Gt(zn){try{Dt(_t.next(zn))}catch(pr){kt(pr)}}function Gn(zn){try{Dt(_t.throw(zn))}catch(pr){kt(pr)}}function Dt(zn){zn.done?Ut(zn.value):Vt(zn.value).then(Gt,Gn)}Dt((_t=_t.apply(xt,Bt||[])).next())})};const yn=`__LIST_IGNORE_${Date.now()}__`,mn=(xt,Bt)=>{const{fileList:Rt,defaultFileList:_t,onRemove:Vt,showUploadList:Ut=!0,listType:kt="text",onPreview:Gt,onDownload:Gn,onChange:Dt,onDrop:zn,previewFile:pr,disabled:br,locale:Lr,iconRender:ea,isImageUrl:Jt,progress:dn,prefixCls:Pn,className:Tn,type:Sr="select",children:fr,style:tr,itemRender:Fr,maxCount:Mr,data:ha={},multiple:wa=!1,action:ya="",accept:za="",supportServerRender:Ka=!0,rootClassName:Wa}=xt,Ra=Be.useContext(Re.Z),pa=br!=null?br:Ra,[_r,Aa]=(0,De.Z)(_t||[],{value:Rt,postState:nr=>nr!=null?nr:[]}),[Ta,Ia]=Be.useState("drop"),ka=Be.useRef(null);Be.useMemo(()=>{const nr=Date.now();(Rt||[]).forEach((Br,Wr)=>{!Br.uid&&!Object.isFrozen(Br)&&(Br.uid=`__AUTO__${nr}_${Wr}__`)})},[Rt]);const va=(nr,Br,Wr)=>{let Er=(0,nt.Z)(Br),Ur=!1;Mr===1?Er=Er.slice(-1):Mr&&(Ur=Er.length>Mr,Er=Er.slice(0,Mr)),(0,ze.flushSync)(()=>{Aa(Er)});const Yr={file:nr,fileList:Er};Wr&&(Yr.event=Wr),(!Ur||Er.some(Ua=>Ua.uid===nr.uid))&&(0,ze.flushSync)(()=>{Dt==null||Dt(Yr)})},Fn=(nr,Br)=>Qn(void 0,void 0,void 0,function*(){const{beforeUpload:Wr,transformFile:Er}=xt;let Ur=nr;if(Wr){const Yr=yield Wr(nr,Br);if(Yr===!1)return!1;if(delete nr[yn],Yr===yn)return Object.defineProperty(nr,yn,{value:!0,configurable:!0}),!1;typeof Yr=="object"&&Yr&&(Ur=Yr)}return Er&&(Ur=yield Er(Ur)),Ur}),cn=nr=>{const Br=nr.filter(Ur=>!Ur.file[yn]);if(!Br.length)return;const Wr=Br.map(Ur=>at(Ur.file));let Er=(0,nt.Z)(_r);Wr.forEach(Ur=>{Er=Ze(Ur,Er)}),Wr.forEach((Ur,Yr)=>{let Ua=Ur;if(Br[Yr].parsedFile)Ur.status="uploading";else{const{originFileObj:Zr}=Ur;let Ja;try{Ja=new File([Zr],Zr.name,{type:Zr.type})}catch(Eo){Ja=new Blob([Zr],{type:Zr.type}),Ja.name=Zr.name,Ja.lastModifiedDate=new Date,Ja.lastModified=new Date().getTime()}Ja.uid=Ur.uid,Ua=Ja}va(Ua,Er)})},lr=(nr,Br,Wr)=>{try{typeof nr=="string"&&(nr=JSON.parse(nr))}catch(Yr){}if(!it(Br,_r))return;const Er=at(Br);Er.status="done",Er.percent=100,Er.response=nr,Er.xhr=Wr;const Ur=Ze(Er,_r);va(Er,Ur)},Or=(nr,Br)=>{if(!it(Br,_r))return;const Wr=at(Br);Wr.status="uploading",Wr.percent=nr.percent;const Er=Ze(Wr,_r);va(Wr,Er,nr)},ur=(nr,Br,Wr)=>{if(!it(Wr,_r))return;const Er=at(Wr);Er.error=nr,Er.response=Br,Er.status="error";const Ur=Ze(Er,_r);va(Er,Ur)},ta=nr=>{let Br;Promise.resolve(typeof Vt=="function"?Vt(nr):Vt).then(Wr=>{var Er;if(Wr===!1)return;const Ur=pt(nr,_r);Ur&&(Br=Object.assign(Object.assign({},nr),{status:"removed"}),_r==null||_r.forEach(Yr=>{const Ua=Br.uid!==void 0?"uid":"name";Yr[Ua]===Br[Ua]&&!Object.isFrozen(Yr)&&(Yr.status="removed")}),(Er=ka.current)===null||Er===void 0||Er.abort(Br),va(Br,Ur))})},la=nr=>{Ia(nr.type),nr.type==="drop"&&(zn==null||zn(nr))};Be.useImperativeHandle(Bt,()=>({onBatchStart:cn,onSuccess:lr,onProgress:Or,onError:ur,fileList:_r,upload:ka.current}));const{getPrefixCls:_a,direction:ba,upload:wr}=Be.useContext(qe.E_),zr=_a("upload",Pn),Nr=Object.assign(Object.assign({onBatchStart:cn,onError:ur,onProgress:Or,onSuccess:lr},xt),{data:ha,multiple:wa,action:ya,accept:za,supportServerRender:Ka,prefixCls:zr,disabled:pa,beforeUpload:Fn,onChange:void 0});delete Nr.className,delete Nr.style,(!fr||pa)&&delete Nr.id;const[Oa,Ya]=Un(zr),[io]=(0,ot.Z)("Upload",rt.Z.Upload),{showRemoveIcon:po,showPreviewIcon:Mn,showDownloadIcon:pn,removeIcon:xn,previewIcon:En,downloadIcon:xr}=typeof Ut=="boolean"?{}:Ut,$r=(nr,Br)=>Ut?Be.createElement(en,{prefixCls:zr,listType:kt,items:_r,previewFile:pr,onPreview:Gt,onDownload:Gn,onRemove:ta,showRemoveIcon:!pa&&po,showPreviewIcon:Mn,showDownloadIcon:pn,removeIcon:xn,previewIcon:En,downloadIcon:xr,iconRender:ea,locale:Object.assign(Object.assign({},io),Lr),isImageUrl:Jt,progress:dn,appendAction:nr,appendActionVisible:Br,itemRender:Fr,disabled:pa}):nr,aa=Se()(`${zr}-wrapper`,Tn,Wa,Ya,wr==null?void 0:wr.className,{[`${zr}-rtl`]:ba==="rtl",[`${zr}-picture-card-wrapper`]:kt==="picture-card",[`${zr}-picture-circle-wrapper`]:kt==="picture-circle"}),oa=Object.assign(Object.assign({},wr==null?void 0:wr.style),tr);if(Sr==="drag"){const nr=Se()(Ya,zr,`${zr}-drag`,{[`${zr}-drag-uploading`]:_r.some(Br=>Br.status==="uploading"),[`${zr}-drag-hover`]:Ta==="dragover",[`${zr}-disabled`]:pa,[`${zr}-rtl`]:ba==="rtl"});return Oa(Be.createElement("span",{className:aa},Be.createElement("div",{className:nr,style:oa,onDrop:la,onDragOver:la,onDragLeave:la},Be.createElement(Me,Object.assign({},Nr,{ref:ka,className:`${zr}-btn`}),Be.createElement("div",{className:`${zr}-drag-container`},fr))),$r()))}const ia=Se()(zr,`${zr}-select`,{[`${zr}-disabled`]:pa}),$a=(nr=>Be.createElement("div",{className:ia,style:nr},Be.createElement(Me,Object.assign({},Nr,{ref:ka}))))(fr?void 0:{display:"none"});return Oa(kt==="picture-card"||kt==="picture-circle"?Be.createElement("span",{className:aa},$r($a,!!fr)):Be.createElement("span",{className:aa},$a,$r()))};var hr=Be.forwardRef(mn),Yt=function(xt,Bt){var Rt={};for(var _t in xt)Object.prototype.hasOwnProperty.call(xt,_t)&&Bt.indexOf(_t)<0&&(Rt[_t]=xt[_t]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vt=0,_t=Object.getOwnPropertySymbols(xt);Vt<_t.length;Vt++)Bt.indexOf(_t[Vt])<0&&Object.prototype.propertyIsEnumerable.call(xt,_t[Vt])&&(Rt[_t[Vt]]=xt[_t[Vt]]);return Rt},Yn=Be.forwardRef((xt,Bt)=>{var{style:Rt,height:_t}=xt,Vt=Yt(xt,["style","height"]);return Be.createElement(hr,Object.assign({ref:Bt},Vt,{type:"drag",style:Object.assign(Object.assign({},Rt),{height:_t})}))});const _n=hr;_n.Dragger=Yn,_n.LIST_IGNORE=yn;var cr=_n},24334:function(Ct,Pt,Ce){var Be,nt;(function(x,Se){Ct.exports=Se(x)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof Ce.g!="undefined"?Ce.g:this,function(x){"use strict";x=x||{};var Se=x.Base64,he="2.6.4",ae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",te=function(we){for(var Ae={},Me=0,De=we.length;Me<De;Me++)Ae[we.charAt(Me)]=Me;return Ae}(ae),le=String.fromCharCode,de=function(we){if(we.length<2){var Ae=we.charCodeAt(0);return Ae<128?we:Ae<2048?le(192|Ae>>>6)+le(128|Ae&63):le(224|Ae>>>12&15)+le(128|Ae>>>6&63)+le(128|Ae&63)}else{var Ae=65536+(we.charCodeAt(0)-55296)*1024+(we.charCodeAt(1)-56320);return le(240|Ae>>>18&7)+le(128|Ae>>>12&63)+le(128|Ae>>>6&63)+le(128|Ae&63)}},se=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ue=function(we){return we.replace(se,de)},oe=function(we){var Ae=[0,2,1][we.length%3],Me=we.charCodeAt(0)<<16|(we.length>1?we.charCodeAt(1):0)<<8|(we.length>2?we.charCodeAt(2):0),De=[ae.charAt(Me>>>18),ae.charAt(Me>>>12&63),Ae>=2?"=":ae.charAt(Me>>>6&63),Ae>=1?"=":ae.charAt(Me&63)];return De.join("")},ie=x.btoa&&typeof x.btoa=="function"?function(we){return x.btoa(we)}:function(we){if(we.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return we.replace(/[\s\S]{1,3}/g,oe)},ne=function(we){return ie(ue(String(we)))},a=function(we){return we.replace(/[+\/]/g,function(Ae){return Ae=="+"?"-":"_"}).replace(/=/g,"")},y=function(we,Ae){return Ae?a(ne(we)):ne(we)},E=function(we){return y(we,!0)},b;x.Uint8Array&&(b=function(we,Ae){for(var Me="",De=0,ze=we.length;De<ze;De+=3){var qe=we[De],Re=we[De+1],ot=we[De+2],rt=qe<<16|Re<<8|ot;Me+=ae.charAt(rt>>>18)+ae.charAt(rt>>>12&63)+(typeof Re!="undefined"?ae.charAt(rt>>>6&63):"=")+(typeof ot!="undefined"?ae.charAt(rt&63):"=")}return Ae?a(Me):Me});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ee=function(we){switch(we.length){case 4:var Ae=(7&we.charCodeAt(0))<<18|(63&we.charCodeAt(1))<<12|(63&we.charCodeAt(2))<<6|63&we.charCodeAt(3),Me=Ae-65536;return le((Me>>>10)+55296)+le((Me&1023)+56320);case 3:return le((15&we.charCodeAt(0))<<12|(63&we.charCodeAt(1))<<6|63&we.charCodeAt(2));default:return le((31&we.charCodeAt(0))<<6|63&we.charCodeAt(1))}},re=function(we){return we.replace(z,ee)},ce=function(we){var Ae=we.length,Me=Ae%4,De=(Ae>0?te[we.charAt(0)]<<18:0)|(Ae>1?te[we.charAt(1)]<<12:0)|(Ae>2?te[we.charAt(2)]<<6:0)|(Ae>3?te[we.charAt(3)]:0),ze=[le(De>>>16),le(De>>>8&255),le(De&255)];return ze.length-=[0,0,2,1][Me],ze.join("")},ge=x.atob&&typeof x.atob=="function"?function(we){return x.atob(we)}:function(we){return we.replace(/\S{1,4}/g,ce)},ve=function(we){return ge(String(we).replace(/[^A-Za-z0-9\+\/]/g,""))},fe=function(we){return re(ge(we))},pe=function(we){return String(we).replace(/[-_]/g,function(Ae){return Ae=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},me=function(we){return fe(pe(we))},ye;x.Uint8Array&&(ye=function(we){return Uint8Array.from(ve(pe(we)),function(Ae){return Ae.charCodeAt(0)})});var be=function(){var we=x.Base64;return x.Base64=Se,we};if(x.Base64={VERSION:he,atob:ve,btoa:ie,fromBase64:me,toBase64:y,utob:ue,encode:y,encodeURI:E,btou:re,decode:me,noConflict:be,fromUint8Array:b,toUint8Array:ye},typeof Object.defineProperty=="function"){var Le=function(we){return{value:we,enumerable:!1,writable:!0,configurable:!0}};x.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Le(function(){return me(this)})),Object.defineProperty(String.prototype,"toBase64",Le(function(we){return y(this,we)})),Object.defineProperty(String.prototype,"toBase64URI",Le(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(Pt,Be),nt!==void 0&&(Ct.exports=nt)),{Base64:x.Base64}})},39417:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return fe}});var Be=Ce(54476),nt=Ce(20068),x=Ce(75931),Se=Ce(33885),he=Ce(67732),ae=Ce(83652),te=Ce(31226),le=Ce(42403),de=Ce(158),se=Ce(92310),ue=Ce.n(se),oe=Ce(26112),ie=Ce(59301),ne=Ce(39378),a=function(me){for(var ye=me.prefixCls,be=me.level,Le=me.isStart,we=me.isEnd,Ae="".concat(ye,"-indent-unit"),Me=[],De=0;De<be;De+=1){var ze;Me.push(ie.createElement("span",{key:De,className:ue()(Ae,(ze={},(0,nt.Z)(ze,"".concat(Ae,"-start"),Le[De]),(0,nt.Z)(ze,"".concat(Ae,"-end"),we[De]),ze))}))}return ie.createElement("span",{"aria-hidden":"true",className:"".concat(ye,"-indent")},Me)},y=ie.memo(a),E=Ce(67841),b=Ce(71430),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ee="open",re="close",ce="---",ge=function(pe){(0,le.Z)(ye,pe);var me=(0,de.Z)(ye);function ye(){var be;(0,he.Z)(this,ye);for(var Le=arguments.length,we=new Array(Le),Ae=0;Ae<Le;Ae++)we[Ae]=arguments[Ae];return be=me.call.apply(me,[this].concat(we)),be.state={dragNodeHighlight:!1},be.selectHandle=void 0,be.cacheIndent=void 0,be.onSelectorClick=function(Me){var De=be.props.context.onNodeClick;De(Me,(0,b.F)(be.props)),be.isSelectable()?be.onSelect(Me):be.onCheck(Me)},be.onSelectorDoubleClick=function(Me){var De=be.props.context.onNodeDoubleClick;De(Me,(0,b.F)(be.props))},be.onSelect=function(Me){if(!be.isDisabled()){var De=be.props.context.onNodeSelect;De(Me,(0,b.F)(be.props))}},be.onCheck=function(Me){if(!be.isDisabled()){var De=be.props,ze=De.disableCheckbox,qe=De.checked,Re=be.props.context.onNodeCheck;if(!(!be.isCheckable()||ze)){var ot=!qe;Re(Me,(0,b.F)(be.props),ot)}}},be.onMouseEnter=function(Me){var De=be.props.context.onNodeMouseEnter;De(Me,(0,b.F)(be.props))},be.onMouseLeave=function(Me){var De=be.props.context.onNodeMouseLeave;De(Me,(0,b.F)(be.props))},be.onContextMenu=function(Me){var De=be.props.context.onNodeContextMenu;De(Me,(0,b.F)(be.props))},be.onDragStart=function(Me){var De=be.props.context.onNodeDragStart;Me.stopPropagation(),be.setState({dragNodeHighlight:!0}),De(Me,(0,te.Z)(be));try{Me.dataTransfer.setData("text/plain","")}catch(ze){}},be.onDragEnter=function(Me){var De=be.props.context.onNodeDragEnter;Me.preventDefault(),Me.stopPropagation(),De(Me,(0,te.Z)(be))},be.onDragOver=function(Me){var De=be.props.context.onNodeDragOver;Me.preventDefault(),Me.stopPropagation(),De(Me,(0,te.Z)(be))},be.onDragLeave=function(Me){var De=be.props.context.onNodeDragLeave;Me.stopPropagation(),De(Me,(0,te.Z)(be))},be.onDragEnd=function(Me){var De=be.props.context.onNodeDragEnd;Me.stopPropagation(),be.setState({dragNodeHighlight:!1}),De(Me,(0,te.Z)(be))},be.onDrop=function(Me){var De=be.props.context.onNodeDrop;Me.preventDefault(),Me.stopPropagation(),be.setState({dragNodeHighlight:!1}),De(Me,(0,te.Z)(be))},be.onExpand=function(Me){var De=be.props,ze=De.loading,qe=De.context.onNodeExpand;ze||qe(Me,(0,b.F)(be.props))},be.setSelectHandle=function(Me){be.selectHandle=Me},be.getNodeState=function(){var Me=be.props.expanded;return be.isLeaf()?null:Me?ee:re},be.hasChildren=function(){var Me=be.props.eventKey,De=be.props.context.keyEntities,ze=(0,E.Z)(De,Me)||{},qe=ze.children;return!!(qe||[]).length},be.isLeaf=function(){var Me=be.props,De=Me.isLeaf,ze=Me.loaded,qe=be.props.context.loadData,Re=be.hasChildren();return De===!1?!1:De||!qe&&!Re||qe&&ze&&!Re},be.isDisabled=function(){var Me=be.props.disabled,De=be.props.context.disabled;return!!(De||Me)},be.isCheckable=function(){var Me=be.props.checkable,De=be.props.context.checkable;return!De||Me===!1?!1:De},be.syncLoadData=function(Me){var De=Me.expanded,ze=Me.loading,qe=Me.loaded,Re=be.props.context,ot=Re.loadData,rt=Re.onNodeLoad;ze||ot&&De&&!be.isLeaf()&&!be.hasChildren()&&!qe&&rt((0,b.F)(be.props))},be.isDraggable=function(){var Me=be.props,De=Me.data,ze=Me.context.draggable;return!!(ze&&(!ze.nodeDraggable||ze.nodeDraggable(De)))},be.renderDragHandler=function(){var Me=be.props.context,De=Me.draggable,ze=Me.prefixCls;return De!=null&&De.icon?ie.createElement("span",{className:"".concat(ze,"-draggable-icon")},De.icon):null},be.renderSwitcherIconDom=function(Me){var De=be.props.switcherIcon,ze=be.props.context.switcherIcon,qe=De||ze;return typeof qe=="function"?qe((0,Se.Z)((0,Se.Z)({},be.props),{},{isLeaf:Me})):qe},be.renderSwitcher=function(){var Me=be.props.expanded,De=be.props.context.prefixCls;if(be.isLeaf()){var ze=be.renderSwitcherIconDom(!0);return ze!==!1?ie.createElement("span",{className:ue()("".concat(De,"-switcher"),"".concat(De,"-switcher-noop"))},ze):null}var qe=ue()("".concat(De,"-switcher"),"".concat(De,"-switcher_").concat(Me?ee:re)),Re=be.renderSwitcherIconDom(!1);return Re!==!1?ie.createElement("span",{onClick:be.onExpand,className:qe},Re):null},be.renderCheckbox=function(){var Me=be.props,De=Me.checked,ze=Me.halfChecked,qe=Me.disableCheckbox,Re=be.props.context.prefixCls,ot=be.isDisabled(),rt=be.isCheckable();if(!rt)return null;var Qe=typeof rt!="boolean"?rt:null;return ie.createElement("span",{className:ue()("".concat(Re,"-checkbox"),De&&"".concat(Re,"-checkbox-checked"),!De&&ze&&"".concat(Re,"-checkbox-indeterminate"),(ot||qe)&&"".concat(Re,"-checkbox-disabled")),onClick:be.onCheck},Qe)},be.renderIcon=function(){var Me=be.props.loading,De=be.props.context.prefixCls;return ie.createElement("span",{className:ue()("".concat(De,"-iconEle"),"".concat(De,"-icon__").concat(be.getNodeState()||"docu"),Me&&"".concat(De,"-icon_loading"))})},be.renderSelector=function(){var Me=be.state.dragNodeHighlight,De=be.props,ze=De.title,qe=ze===void 0?ce:ze,Re=De.selected,ot=De.icon,rt=De.loading,Qe=De.data,Je=be.props.context,Ge=Je.prefixCls,ke=Je.showIcon,_e=Je.icon,tt=Je.loadData,Xe=Je.titleRender,ct=be.isDisabled(),Ye="".concat(Ge,"-node-content-wrapper"),Ne;if(ke){var Oe=ot||_e;Ne=Oe?ie.createElement("span",{className:ue()("".concat(Ge,"-iconEle"),"".concat(Ge,"-icon__customize"))},typeof Oe=="function"?Oe(be.props):Oe):be.renderIcon()}else tt&&rt&&(Ne=be.renderIcon());var Ue;typeof qe=="function"?Ue=qe(Qe):Xe?Ue=Xe(Qe):Ue=qe;var xe=ie.createElement("span",{className:"".concat(Ge,"-title")},Ue);return ie.createElement("span",{ref:be.setSelectHandle,title:typeof qe=="string"?qe:"",className:ue()("".concat(Ye),"".concat(Ye,"-").concat(be.getNodeState()||"normal"),!ct&&(Re||Me)&&"".concat(Ge,"-node-selected")),onMouseEnter:be.onMouseEnter,onMouseLeave:be.onMouseLeave,onContextMenu:be.onContextMenu,onClick:be.onSelectorClick,onDoubleClick:be.onSelectorDoubleClick},Ne,xe,be.renderDropIndicator())},be.renderDropIndicator=function(){var Me=be.props,De=Me.disabled,ze=Me.eventKey,qe=be.props.context,Re=qe.draggable,ot=qe.dropLevelOffset,rt=qe.dropPosition,Qe=qe.prefixCls,Je=qe.indent,Ge=qe.dropIndicatorRender,ke=qe.dragOverNodeKey,_e=qe.direction,tt=!!Re,Xe=!De&&tt&&ke===ze,ct=Je!=null?Je:be.cacheIndent;return be.cacheIndent=Je,Xe?Ge({dropPosition:rt,dropLevelOffset:ot,indent:ct,prefixCls:Qe,direction:_e}):null},be}return(0,ae.Z)(ye,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Le=this.props.selectable,we=this.props.context.selectable;return typeof Le=="boolean"?Le:we}},{key:"render",value:function(){var Le,we=this.props,Ae=we.eventKey,Me=we.className,De=we.style,ze=we.dragOver,qe=we.dragOverGapTop,Re=we.dragOverGapBottom,ot=we.isLeaf,rt=we.isStart,Qe=we.isEnd,Je=we.expanded,Ge=we.selected,ke=we.checked,_e=we.halfChecked,tt=we.loading,Xe=we.domRef,ct=we.active,Ye=we.data,Ne=we.onMouseMove,Oe=we.selectable,Ue=(0,x.Z)(we,z),xe=this.props.context,Fe=xe.prefixCls,He=xe.filterTreeNode,We=xe.keyEntities,Ie=xe.dropContainerKey,Te=xe.dropTargetKey,Ee=xe.draggingNodeKey,Pe=this.isDisabled(),je=(0,oe.Z)(Ue,{aria:!0,data:!0}),Ke=(0,E.Z)(We,Ae)||{},at=Ke.level,Ze=Qe[Qe.length-1],it=this.isDraggable(),pt=!Pe&&it,dt=Ee===Ae,vt=Oe!==void 0?{"aria-selected":!!Oe}:void 0;return ie.createElement("div",(0,Be.Z)({ref:Xe,className:ue()(Me,"".concat(Fe,"-treenode"),(Le={},(0,nt.Z)(Le,"".concat(Fe,"-treenode-disabled"),Pe),(0,nt.Z)(Le,"".concat(Fe,"-treenode-switcher-").concat(Je?"open":"close"),!ot),(0,nt.Z)(Le,"".concat(Fe,"-treenode-checkbox-checked"),ke),(0,nt.Z)(Le,"".concat(Fe,"-treenode-checkbox-indeterminate"),_e),(0,nt.Z)(Le,"".concat(Fe,"-treenode-selected"),Ge),(0,nt.Z)(Le,"".concat(Fe,"-treenode-loading"),tt),(0,nt.Z)(Le,"".concat(Fe,"-treenode-active"),ct),(0,nt.Z)(Le,"".concat(Fe,"-treenode-leaf-last"),Ze),(0,nt.Z)(Le,"".concat(Fe,"-treenode-draggable"),it),(0,nt.Z)(Le,"dragging",dt),(0,nt.Z)(Le,"drop-target",Te===Ae),(0,nt.Z)(Le,"drop-container",Ie===Ae),(0,nt.Z)(Le,"drag-over",!Pe&&ze),(0,nt.Z)(Le,"drag-over-gap-top",!Pe&&qe),(0,nt.Z)(Le,"drag-over-gap-bottom",!Pe&&Re),(0,nt.Z)(Le,"filter-node",He&&He((0,b.F)(this.props))),Le)),style:De,draggable:pt,"aria-grabbed":dt,onDragStart:pt?this.onDragStart:void 0,onDragEnter:it?this.onDragEnter:void 0,onDragOver:it?this.onDragOver:void 0,onDragLeave:it?this.onDragLeave:void 0,onDrop:it?this.onDrop:void 0,onDragEnd:it?this.onDragEnd:void 0,onMouseMove:Ne},vt,je),ie.createElement(y,{prefixCls:Fe,level:at,isStart:rt,isEnd:Qe}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),ye}(ie.Component),ve=function(me){return ie.createElement(ne.k.Consumer,null,function(ye){return ie.createElement(ge,(0,Be.Z)({},me,{context:ye}))})};ve.displayName="TreeNode",ve.isTreeNode=1;var fe=ve},39378:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{k:function(){return nt}});var Be=Ce(59301),nt=Be.createContext(null)},60091:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{O:function(){return fe.Z},Z:function(){return xe}});var Be=Ce(54476),nt=Ce(20068),x=Ce(76190),Se=Ce(33885),he=Ce(94480),ae=Ce(67732),te=Ce(83652),le=Ce(31226),de=Ce(42403),se=Ce(158),ue=Ce(92310),oe=Ce.n(ue),ie=Ce(10228),ne=Ce(26112),a=Ce(48736),y=Ce(59301),E=Ce(39378);function b(Fe){var He=Fe.dropPosition,We=Fe.dropLevelOffset,Ie=Fe.indent,Te={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(He){case-1:Te.top=0,Te.left=-We*Ie;break;case 1:Te.bottom=0,Te.left=-We*Ie;break;case 0:Te.bottom=0,Te.left=Ie;break}return y.createElement("div",{style:Te})}function z(Fe){if(Fe==null)throw new TypeError("Cannot destructure "+Fe)}var ee=Ce(42978),re=Ce(75931),ce=Ce(34280),ge=Ce(48911),ve=Ce(77900),fe=Ce(39417);function pe(Fe,He){var We=y.useState(!1),Ie=(0,ee.Z)(We,2),Te=Ie[0],Ee=Ie[1];y.useLayoutEffect(function(){if(Te)return Fe(),function(){He()}},[Te]),y.useLayoutEffect(function(){return Ee(!0),function(){Ee(!1)}},[])}var me=Ce(71430),ye=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],be=function(He,We){var Ie=He.className,Te=He.style,Ee=He.motion,Pe=He.motionNodes,je=He.motionType,Ke=He.onMotionStart,at=He.onMotionEnd,Ze=He.active,it=He.treeNodeRequiredProps,pt=(0,re.Z)(He,ye),dt=y.useState(!0),vt=(0,ee.Z)(dt,2),st=vt[0],ht=vt[1],$e=y.useContext(E.k),lt=$e.prefixCls,ft=Pe&&je!=="hide";(0,ce.Z)(function(){Pe&&ft!==st&&ht(ft)},[Pe]);var mt=function(){Pe&&Ke()},wt=y.useRef(!1),jt=function(){Pe&&!wt.current&&(wt.current=!0,at())};pe(mt,jt);var It=function(Kt){ft===Kt&&jt()};return Pe?y.createElement(ve.default,(0,Be.Z)({ref:We,visible:st},Ee,{motionAppear:je==="show",onVisibleChanged:It}),function(Mt,Kt){var qt=Mt.className,en=Mt.style;return y.createElement("div",{ref:Kt,className:oe()("".concat(lt,"-treenode-motion"),qt),style:en},Pe.map(function(on){var wn=(0,Be.Z)({},(z(on.data),on.data)),Nn=on.title,an=on.key,Zn=on.isStart,Rn=on.isEnd;delete wn.children;var An=(0,me.H8)(an,it);return y.createElement(fe.Z,(0,Be.Z)({},wn,An,{title:Nn,active:Ze,data:on.data,key:an,isStart:Zn,isEnd:Rn}))}))}):y.createElement(fe.Z,(0,Be.Z)({domRef:We,className:Ie,style:Te},pt,{active:Ze}))};be.displayName="MotionTreeNode";var Le=y.forwardRef(be),we=Le;function Ae(){var Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],We=Fe.length,Ie=He.length;if(Math.abs(We-Ie)!==1)return{add:!1,key:null};function Te(Ee,Pe){var je=new Map;Ee.forEach(function(at){je.set(at,!0)});var Ke=Pe.filter(function(at){return!je.has(at)});return Ke.length===1?Ke[0]:null}return We<Ie?{add:!0,key:Te(Fe,He)}:{add:!1,key:Te(He,Fe)}}function Me(Fe,He,We){var Ie=Fe.findIndex(function(je){return je.key===We}),Te=Fe[Ie+1],Ee=He.findIndex(function(je){return je.key===We});if(Te){var Pe=He.findIndex(function(je){return je.key===Te.key});return He.slice(Ee+1,Pe)}return He.slice(Ee+1)}var De=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],ze={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},qe=function(){},Re="RC_TREE_MOTION_".concat(Math.random()),ot={key:Re},rt={key:Re,level:0,index:0,pos:"0",node:ot,nodes:[ot]},Qe={parent:null,children:[],pos:rt.pos,data:ot,title:null,key:Re,isStart:[],isEnd:[]};function Je(Fe,He,We,Ie){return He===!1||!We?Fe:Fe.slice(0,Math.ceil(We/Ie)+1)}function Ge(Fe){var He=Fe.key,We=Fe.pos;return(0,me.km)(He,We)}function ke(Fe){for(var He=String(Fe.data.key),We=Fe;We.parent;)We=We.parent,He="".concat(We.data.key," > ").concat(He);return He}var _e=y.forwardRef(function(Fe,He){var We=Fe.prefixCls,Ie=Fe.data,Te=Fe.selectable,Ee=Fe.checkable,Pe=Fe.expandedKeys,je=Fe.selectedKeys,Ke=Fe.checkedKeys,at=Fe.loadedKeys,Ze=Fe.loadingKeys,it=Fe.halfCheckedKeys,pt=Fe.keyEntities,dt=Fe.disabled,vt=Fe.dragging,st=Fe.dragOverNodeKey,ht=Fe.dropPosition,$e=Fe.motion,lt=Fe.height,ft=Fe.itemHeight,mt=Fe.virtual,wt=Fe.focusable,jt=Fe.activeItem,It=Fe.focused,Mt=Fe.tabIndex,Kt=Fe.onKeyDown,qt=Fe.onFocus,en=Fe.onBlur,on=Fe.onActiveChange,wn=Fe.onListChangeStart,Nn=Fe.onListChangeEnd,an=(0,re.Z)(Fe,De),Zn=y.useRef(null),Rn=y.useRef(null);y.useImperativeHandle(He,function(){return{scrollTo:function(cr){Zn.current.scrollTo(cr)},getIndentWidth:function(){return Rn.current.offsetWidth}}});var An=y.useState(Pe),Vn=(0,ee.Z)(An,2),dr=Vn[0],zt=Vn[1],Qt=y.useState(Ie),gn=(0,ee.Z)(Qt,2),jn=gn[0],Hn=gn[1],vn=y.useState(Ie),bt=(0,ee.Z)(vn,2),Tt=bt[0],Et=bt[1],Wt=y.useState([]),tn=(0,ee.Z)(Wt,2),sn=tn[0],Un=tn[1],Qn=y.useState(null),yn=(0,ee.Z)(Qn,2),mn=yn[0],rr=yn[1],hr=y.useRef(Ie);hr.current=Ie;function Yt(){var _n=hr.current;Hn(_n),Et(_n),Un([]),rr(null),Nn()}(0,ce.Z)(function(){zt(Pe);var _n=Ae(dr,Pe);if(_n.key!==null)if(_n.add){var cr=jn.findIndex(function(Ut){var kt=Ut.key;return kt===_n.key}),xt=Je(Me(jn,Ie,_n.key),mt,lt,ft),Bt=jn.slice();Bt.splice(cr+1,0,Qe),Et(Bt),Un(xt),rr("show")}else{var Rt=Ie.findIndex(function(Ut){var kt=Ut.key;return kt===_n.key}),_t=Je(Me(Ie,jn,_n.key),mt,lt,ft),Vt=Ie.slice();Vt.splice(Rt+1,0,Qe),Et(Vt),Un(_t),rr("hide")}else jn!==Ie&&(Hn(Ie),Et(Ie))},[Pe,Ie]),y.useEffect(function(){vt||Yt()},[vt]);var In=$e?Tt:Ie,Yn={expandedKeys:Pe,selectedKeys:je,loadedKeys:at,loadingKeys:Ze,checkedKeys:Ke,halfCheckedKeys:it,dragOverNodeKey:st,dropPosition:ht,keyEntities:pt};return y.createElement(y.Fragment,null,It&&jt&&y.createElement("span",{style:ze,"aria-live":"assertive"},ke(jt)),y.createElement("div",null,y.createElement("input",{style:ze,disabled:wt===!1||dt,tabIndex:wt!==!1?Mt:null,onKeyDown:Kt,onFocus:qt,onBlur:en,value:"",onChange:qe,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(We,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(We,"-indent")},y.createElement("div",{ref:Rn,className:"".concat(We,"-indent-unit")}))),y.createElement(ge.Z,(0,Be.Z)({},an,{data:In,itemKey:Ge,height:lt,fullHeight:!1,virtual:mt,itemHeight:ft,prefixCls:"".concat(We,"-list"),ref:Zn,onVisibleChange:function(cr,xt){var Bt=new Set(cr),Rt=xt.filter(function(_t){return!Bt.has(_t)});Rt.some(function(_t){return Ge(_t)===Re})&&Yt()}}),function(_n){var cr=_n.pos,xt=(0,Be.Z)({},(z(_n.data),_n.data)),Bt=_n.title,Rt=_n.key,_t=_n.isStart,Vt=_n.isEnd,Ut=(0,me.km)(Rt,cr);delete xt.key,delete xt.children;var kt=(0,me.H8)(Ut,Yn);return y.createElement(we,(0,Be.Z)({},xt,kt,{title:Bt,active:!!jt&&Rt===jt.key,pos:cr,data:_n.data,isStart:_t,isEnd:Vt,motion:$e,motionNodes:Rt===Re?sn:null,motionType:mn,onMotionStart:wn,onMotionEnd:Yt,treeNodeRequiredProps:Yn,onMouseMove:function(){on(null)}}))}))});_e.displayName="NodeList";var tt=_e,Xe=Ce(35654),ct=Ce(90782),Ye=Ce(67841),Ne=10,Oe=function(Fe){(0,de.Z)(We,Fe);var He=(0,se.Z)(We);function We(){var Ie;(0,ae.Z)(this,We);for(var Te=arguments.length,Ee=new Array(Te),Pe=0;Pe<Te;Pe++)Ee[Pe]=arguments[Pe];return Ie=He.call.apply(He,[this].concat(Ee)),Ie.destroyed=!1,Ie.delayedDragEnterLogic=void 0,Ie.loadingRetryTimes={},Ie.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,me.w$)()},Ie.dragStartMousePosition=null,Ie.dragNode=void 0,Ie.currentMouseOverDroppableNodeKey=null,Ie.listRef=y.createRef(),Ie.onNodeDragStart=function(je,Ke){var at=Ie.state,Ze=at.expandedKeys,it=at.keyEntities,pt=Ie.props.onDragStart,dt=Ke.props.eventKey;Ie.dragNode=Ke,Ie.dragStartMousePosition={x:je.clientX,y:je.clientY};var vt=(0,Xe._5)(Ze,dt);Ie.setState({draggingNodeKey:dt,dragChildrenKeys:(0,Xe.wA)(dt,it),indent:Ie.listRef.current.getIndentWidth()}),Ie.setExpandedKeys(vt),window.addEventListener("dragend",Ie.onWindowDragEnd),pt==null||pt({event:je,node:(0,me.F)(Ke.props)})},Ie.onNodeDragEnter=function(je,Ke){var at=Ie.state,Ze=at.expandedKeys,it=at.keyEntities,pt=at.dragChildrenKeys,dt=at.flattenNodes,vt=at.indent,st=Ie.props,ht=st.onDragEnter,$e=st.onExpand,lt=st.allowDrop,ft=st.direction,mt=Ke.props,wt=mt.pos,jt=mt.eventKey,It=(0,le.Z)(Ie),Mt=It.dragNode;if(Ie.currentMouseOverDroppableNodeKey!==jt&&(Ie.currentMouseOverDroppableNodeKey=jt),!Mt){Ie.resetDragState();return}var Kt=(0,Xe.OM)(je,Mt,Ke,vt,Ie.dragStartMousePosition,lt,dt,it,Ze,ft),qt=Kt.dropPosition,en=Kt.dropLevelOffset,on=Kt.dropTargetKey,wn=Kt.dropContainerKey,Nn=Kt.dropTargetPos,an=Kt.dropAllowed,Zn=Kt.dragOverNodeKey;if(pt.indexOf(on)!==-1||!an){Ie.resetDragState();return}if(Ie.delayedDragEnterLogic||(Ie.delayedDragEnterLogic={}),Object.keys(Ie.delayedDragEnterLogic).forEach(function(Rn){clearTimeout(Ie.delayedDragEnterLogic[Rn])}),Mt.props.eventKey!==Ke.props.eventKey&&(je.persist(),Ie.delayedDragEnterLogic[wt]=window.setTimeout(function(){if(Ie.state.draggingNodeKey!==null){var Rn=(0,he.Z)(Ze),An=(0,Ye.Z)(it,Ke.props.eventKey);An&&(An.children||[]).length&&(Rn=(0,Xe.L0)(Ze,Ke.props.eventKey)),"expandedKeys"in Ie.props||Ie.setExpandedKeys(Rn),$e==null||$e(Rn,{node:(0,me.F)(Ke.props),expanded:!0,nativeEvent:je.nativeEvent})}},800)),Mt.props.eventKey===on&&en===0){Ie.resetDragState();return}Ie.setState({dragOverNodeKey:Zn,dropPosition:qt,dropLevelOffset:en,dropTargetKey:on,dropContainerKey:wn,dropTargetPos:Nn,dropAllowed:an}),ht==null||ht({event:je,node:(0,me.F)(Ke.props),expandedKeys:Ze})},Ie.onNodeDragOver=function(je,Ke){var at=Ie.state,Ze=at.dragChildrenKeys,it=at.flattenNodes,pt=at.keyEntities,dt=at.expandedKeys,vt=at.indent,st=Ie.props,ht=st.onDragOver,$e=st.allowDrop,lt=st.direction,ft=(0,le.Z)(Ie),mt=ft.dragNode;if(mt){var wt=(0,Xe.OM)(je,mt,Ke,vt,Ie.dragStartMousePosition,$e,it,pt,dt,lt),jt=wt.dropPosition,It=wt.dropLevelOffset,Mt=wt.dropTargetKey,Kt=wt.dropContainerKey,qt=wt.dropAllowed,en=wt.dropTargetPos,on=wt.dragOverNodeKey;Ze.indexOf(Mt)!==-1||!qt||(mt.props.eventKey===Mt&&It===0?Ie.state.dropPosition===null&&Ie.state.dropLevelOffset===null&&Ie.state.dropTargetKey===null&&Ie.state.dropContainerKey===null&&Ie.state.dropTargetPos===null&&Ie.state.dropAllowed===!1&&Ie.state.dragOverNodeKey===null||Ie.resetDragState():jt===Ie.state.dropPosition&&It===Ie.state.dropLevelOffset&&Mt===Ie.state.dropTargetKey&&Kt===Ie.state.dropContainerKey&&en===Ie.state.dropTargetPos&&qt===Ie.state.dropAllowed&&on===Ie.state.dragOverNodeKey||Ie.setState({dropPosition:jt,dropLevelOffset:It,dropTargetKey:Mt,dropContainerKey:Kt,dropTargetPos:en,dropAllowed:qt,dragOverNodeKey:on}),ht==null||ht({event:je,node:(0,me.F)(Ke.props)}))}},Ie.onNodeDragLeave=function(je,Ke){Ie.currentMouseOverDroppableNodeKey===Ke.props.eventKey&&!je.currentTarget.contains(je.relatedTarget)&&(Ie.resetDragState(),Ie.currentMouseOverDroppableNodeKey=null);var at=Ie.props.onDragLeave;at==null||at({event:je,node:(0,me.F)(Ke.props)})},Ie.onWindowDragEnd=function(je){Ie.onNodeDragEnd(je,null,!0),window.removeEventListener("dragend",Ie.onWindowDragEnd)},Ie.onNodeDragEnd=function(je,Ke){var at=Ie.props.onDragEnd;Ie.setState({dragOverNodeKey:null}),Ie.cleanDragState(),at==null||at({event:je,node:(0,me.F)(Ke.props)}),Ie.dragNode=null,window.removeEventListener("dragend",Ie.onWindowDragEnd)},Ie.onNodeDrop=function(je,Ke){var at,Ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,it=Ie.state,pt=it.dragChildrenKeys,dt=it.dropPosition,vt=it.dropTargetKey,st=it.dropTargetPos,ht=it.dropAllowed;if(ht){var $e=Ie.props.onDrop;if(Ie.setState({dragOverNodeKey:null}),Ie.cleanDragState(),vt!==null){var lt=(0,Se.Z)((0,Se.Z)({},(0,me.H8)(vt,Ie.getTreeNodeRequiredProps())),{},{active:((at=Ie.getActiveItem())===null||at===void 0?void 0:at.key)===vt,data:(0,Ye.Z)(Ie.state.keyEntities,vt).node}),ft=pt.indexOf(vt)!==-1;(0,a.ZP)(!ft,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var mt=(0,Xe.yx)(st),wt={event:je,node:(0,me.F)(lt),dragNode:Ie.dragNode?(0,me.F)(Ie.dragNode.props):null,dragNodesKeys:[Ie.dragNode.props.eventKey].concat(pt),dropToGap:dt!==0,dropPosition:dt+Number(mt[mt.length-1])};Ze||$e==null||$e(wt),Ie.dragNode=null}}},Ie.cleanDragState=function(){var je=Ie.state.draggingNodeKey;je!==null&&Ie.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Ie.dragStartMousePosition=null,Ie.currentMouseOverDroppableNodeKey=null},Ie.triggerExpandActionExpand=function(je,Ke){var at=Ie.state,Ze=at.expandedKeys,it=at.flattenNodes,pt=Ke.expanded,dt=Ke.key,vt=Ke.isLeaf;if(!(vt||je.shiftKey||je.metaKey||je.ctrlKey)){var st=it.filter(function($e){return $e.key===dt})[0],ht=(0,me.F)((0,Se.Z)((0,Se.Z)({},(0,me.H8)(dt,Ie.getTreeNodeRequiredProps())),{},{data:st.data}));Ie.setExpandedKeys(pt?(0,Xe._5)(Ze,dt):(0,Xe.L0)(Ze,dt)),Ie.onNodeExpand(je,ht)}},Ie.onNodeClick=function(je,Ke){var at=Ie.props,Ze=at.onClick,it=at.expandAction;it==="click"&&Ie.triggerExpandActionExpand(je,Ke),Ze==null||Ze(je,Ke)},Ie.onNodeDoubleClick=function(je,Ke){var at=Ie.props,Ze=at.onDoubleClick,it=at.expandAction;it==="doubleClick"&&Ie.triggerExpandActionExpand(je,Ke),Ze==null||Ze(je,Ke)},Ie.onNodeSelect=function(je,Ke){var at=Ie.state.selectedKeys,Ze=Ie.state,it=Ze.keyEntities,pt=Ze.fieldNames,dt=Ie.props,vt=dt.onSelect,st=dt.multiple,ht=Ke.selected,$e=Ke[pt.key],lt=!ht;lt?st?at=(0,Xe.L0)(at,$e):at=[$e]:at=(0,Xe._5)(at,$e);var ft=at.map(function(mt){var wt=(0,Ye.Z)(it,mt);return wt?wt.node:null}).filter(function(mt){return mt});Ie.setUncontrolledState({selectedKeys:at}),vt==null||vt(at,{event:"select",selected:lt,node:Ke,selectedNodes:ft,nativeEvent:je.nativeEvent})},Ie.onNodeCheck=function(je,Ke,at){var Ze=Ie.state,it=Ze.keyEntities,pt=Ze.checkedKeys,dt=Ze.halfCheckedKeys,vt=Ie.props,st=vt.checkStrictly,ht=vt.onCheck,$e=Ke.key,lt,ft={event:"check",node:Ke,checked:at,nativeEvent:je.nativeEvent};if(st){var mt=at?(0,Xe.L0)(pt,$e):(0,Xe._5)(pt,$e),wt=(0,Xe._5)(dt,$e);lt={checked:mt,halfChecked:wt},ft.checkedNodes=mt.map(function(en){return(0,Ye.Z)(it,en)}).filter(function(en){return en}).map(function(en){return en.node}),Ie.setUncontrolledState({checkedKeys:mt})}else{var jt=(0,ct.S)([].concat((0,he.Z)(pt),[$e]),!0,it),It=jt.checkedKeys,Mt=jt.halfCheckedKeys;if(!at){var Kt=new Set(It);Kt.delete($e);var qt=(0,ct.S)(Array.from(Kt),{checked:!1,halfCheckedKeys:Mt},it);It=qt.checkedKeys,Mt=qt.halfCheckedKeys}lt=It,ft.checkedNodes=[],ft.checkedNodesPositions=[],ft.halfCheckedKeys=Mt,It.forEach(function(en){var on=(0,Ye.Z)(it,en);if(on){var wn=on.node,Nn=on.pos;ft.checkedNodes.push(wn),ft.checkedNodesPositions.push({node:wn,pos:Nn})}}),Ie.setUncontrolledState({checkedKeys:It},!1,{halfCheckedKeys:Mt})}ht==null||ht(lt,ft)},Ie.onNodeLoad=function(je){var Ke=je.key,at=new Promise(function(Ze,it){Ie.setState(function(pt){var dt=pt.loadedKeys,vt=dt===void 0?[]:dt,st=pt.loadingKeys,ht=st===void 0?[]:st,$e=Ie.props,lt=$e.loadData,ft=$e.onLoad;if(!lt||vt.indexOf(Ke)!==-1||ht.indexOf(Ke)!==-1)return null;var mt=lt(je);return mt.then(function(){var wt=Ie.state.loadedKeys,jt=(0,Xe.L0)(wt,Ke);ft==null||ft(jt,{event:"load",node:je}),Ie.setUncontrolledState({loadedKeys:jt}),Ie.setState(function(It){return{loadingKeys:(0,Xe._5)(It.loadingKeys,Ke)}}),Ze()}).catch(function(wt){if(Ie.setState(function(It){return{loadingKeys:(0,Xe._5)(It.loadingKeys,Ke)}}),Ie.loadingRetryTimes[Ke]=(Ie.loadingRetryTimes[Ke]||0)+1,Ie.loadingRetryTimes[Ke]>=Ne){var jt=Ie.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Ie.setUncontrolledState({loadedKeys:(0,Xe.L0)(jt,Ke)}),Ze()}it(wt)}),{loadingKeys:(0,Xe.L0)(ht,Ke)}})});return at.catch(function(){}),at},Ie.onNodeMouseEnter=function(je,Ke){var at=Ie.props.onMouseEnter;at==null||at({event:je,node:Ke})},Ie.onNodeMouseLeave=function(je,Ke){var at=Ie.props.onMouseLeave;at==null||at({event:je,node:Ke})},Ie.onNodeContextMenu=function(je,Ke){var at=Ie.props.onRightClick;at&&(je.preventDefault(),at({event:je,node:Ke}))},Ie.onFocus=function(){var je=Ie.props.onFocus;Ie.setState({focused:!0});for(var Ke=arguments.length,at=new Array(Ke),Ze=0;Ze<Ke;Ze++)at[Ze]=arguments[Ze];je==null||je.apply(void 0,at)},Ie.onBlur=function(){var je=Ie.props.onBlur;Ie.setState({focused:!1}),Ie.onActiveChange(null);for(var Ke=arguments.length,at=new Array(Ke),Ze=0;Ze<Ke;Ze++)at[Ze]=arguments[Ze];je==null||je.apply(void 0,at)},Ie.getTreeNodeRequiredProps=function(){var je=Ie.state,Ke=je.expandedKeys,at=je.selectedKeys,Ze=je.loadedKeys,it=je.loadingKeys,pt=je.checkedKeys,dt=je.halfCheckedKeys,vt=je.dragOverNodeKey,st=je.dropPosition,ht=je.keyEntities;return{expandedKeys:Ke||[],selectedKeys:at||[],loadedKeys:Ze||[],loadingKeys:it||[],checkedKeys:pt||[],halfCheckedKeys:dt||[],dragOverNodeKey:vt,dropPosition:st,keyEntities:ht}},Ie.setExpandedKeys=function(je){var Ke=Ie.state,at=Ke.treeData,Ze=Ke.fieldNames,it=(0,me.oH)(at,je,Ze);Ie.setUncontrolledState({expandedKeys:je,flattenNodes:it},!0)},Ie.onNodeExpand=function(je,Ke){var at=Ie.state.expandedKeys,Ze=Ie.state,it=Ze.listChanging,pt=Ze.fieldNames,dt=Ie.props,vt=dt.onExpand,st=dt.loadData,ht=Ke.expanded,$e=Ke[pt.key];if(!it){var lt=at.indexOf($e),ft=!ht;if((0,a.ZP)(ht&<!==-1||!ht&<===-1,"Expand state not sync with index check"),ft?at=(0,Xe.L0)(at,$e):at=(0,Xe._5)(at,$e),Ie.setExpandedKeys(at),vt==null||vt(at,{node:Ke,expanded:ft,nativeEvent:je.nativeEvent}),ft&&st){var mt=Ie.onNodeLoad(Ke);mt&&mt.then(function(){var wt=(0,me.oH)(Ie.state.treeData,at,pt);Ie.setUncontrolledState({flattenNodes:wt})}).catch(function(){var wt=Ie.state.expandedKeys,jt=(0,Xe._5)(wt,$e);Ie.setExpandedKeys(jt)})}}},Ie.onListChangeStart=function(){Ie.setUncontrolledState({listChanging:!0})},Ie.onListChangeEnd=function(){setTimeout(function(){Ie.setUncontrolledState({listChanging:!1})})},Ie.onActiveChange=function(je){var Ke=Ie.state.activeKey,at=Ie.props.onActiveChange;Ke!==je&&(Ie.setState({activeKey:je}),je!==null&&Ie.scrollTo({key:je}),at==null||at(je))},Ie.getActiveItem=function(){var je=Ie.state,Ke=je.activeKey,at=je.flattenNodes;return Ke===null?null:at.find(function(Ze){var it=Ze.key;return it===Ke})||null},Ie.offsetActiveKey=function(je){var Ke=Ie.state,at=Ke.flattenNodes,Ze=Ke.activeKey,it=at.findIndex(function(vt){var st=vt.key;return st===Ze});it===-1&&je<0&&(it=at.length),it=(it+je+at.length)%at.length;var pt=at[it];if(pt){var dt=pt.key;Ie.onActiveChange(dt)}else Ie.onActiveChange(null)},Ie.onKeyDown=function(je){var Ke=Ie.state,at=Ke.activeKey,Ze=Ke.expandedKeys,it=Ke.checkedKeys,pt=Ke.fieldNames,dt=Ie.props,vt=dt.onKeyDown,st=dt.checkable,ht=dt.selectable;switch(je.which){case ie.Z.UP:{Ie.offsetActiveKey(-1),je.preventDefault();break}case ie.Z.DOWN:{Ie.offsetActiveKey(1),je.preventDefault();break}}var $e=Ie.getActiveItem();if($e&&$e.data){var lt=Ie.getTreeNodeRequiredProps(),ft=$e.data.isLeaf===!1||!!($e.data[pt.children]||[]).length,mt=(0,me.F)((0,Se.Z)((0,Se.Z)({},(0,me.H8)(at,lt)),{},{data:$e.data,active:!0}));switch(je.which){case ie.Z.LEFT:{ft&&Ze.includes(at)?Ie.onNodeExpand({},mt):$e.parent&&Ie.onActiveChange($e.parent.key),je.preventDefault();break}case ie.Z.RIGHT:{ft&&!Ze.includes(at)?Ie.onNodeExpand({},mt):$e.children&&$e.children.length&&Ie.onActiveChange($e.children[0].key),je.preventDefault();break}case ie.Z.ENTER:case ie.Z.SPACE:{st&&!mt.disabled&&mt.checkable!==!1&&!mt.disableCheckbox?Ie.onNodeCheck({},mt,!it.includes(at)):!st&&ht&&!mt.disabled&&mt.selectable!==!1&&Ie.onNodeSelect({},mt);break}}}vt==null||vt(je)},Ie.setUncontrolledState=function(je){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Ie.destroyed){var Ze=!1,it=!0,pt={};Object.keys(je).forEach(function(dt){if(dt in Ie.props){it=!1;return}Ze=!0,pt[dt]=je[dt]}),Ze&&(!Ke||it)&&Ie.setState((0,Se.Z)((0,Se.Z)({},pt),at))}},Ie.scrollTo=function(je){Ie.listRef.current.scrollTo(je)},Ie}return(0,te.Z)(We,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Te=this.props.activeKey;Te!==void 0&&Te!==this.state.activeKey&&(this.setState({activeKey:Te}),Te!==null&&this.scrollTo({key:Te}))}},{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 Te,Ee=this.state,Pe=Ee.focused,je=Ee.flattenNodes,Ke=Ee.keyEntities,at=Ee.draggingNodeKey,Ze=Ee.activeKey,it=Ee.dropLevelOffset,pt=Ee.dropContainerKey,dt=Ee.dropTargetKey,vt=Ee.dropPosition,st=Ee.dragOverNodeKey,ht=Ee.indent,$e=this.props,lt=$e.prefixCls,ft=$e.className,mt=$e.style,wt=$e.showLine,jt=$e.focusable,It=$e.tabIndex,Mt=It===void 0?0:It,Kt=$e.selectable,qt=$e.showIcon,en=$e.icon,on=$e.switcherIcon,wn=$e.draggable,Nn=$e.checkable,an=$e.checkStrictly,Zn=$e.disabled,Rn=$e.motion,An=$e.loadData,Vn=$e.filterTreeNode,dr=$e.height,zt=$e.itemHeight,Qt=$e.virtual,gn=$e.titleRender,jn=$e.dropIndicatorRender,Hn=$e.onContextMenu,vn=$e.onScroll,bt=$e.direction,Tt=$e.rootClassName,Et=$e.rootStyle,Wt=(0,ne.Z)(this.props,{aria:!0,data:!0}),tn;return wn&&((0,x.Z)(wn)==="object"?tn=wn:typeof wn=="function"?tn={nodeDraggable:wn}:tn={}),y.createElement(E.k.Provider,{value:{prefixCls:lt,selectable:Kt,showIcon:qt,icon:en,switcherIcon:on,draggable:tn,draggingNodeKey:at,checkable:Nn,checkStrictly:an,disabled:Zn,keyEntities:Ke,dropLevelOffset:it,dropContainerKey:pt,dropTargetKey:dt,dropPosition:vt,dragOverNodeKey:st,indent:ht,direction:bt,dropIndicatorRender:jn,loadData:An,filterTreeNode:Vn,titleRender:gn,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()(lt,ft,Tt,(Te={},(0,nt.Z)(Te,"".concat(lt,"-show-line"),wt),(0,nt.Z)(Te,"".concat(lt,"-focused"),Pe),(0,nt.Z)(Te,"".concat(lt,"-active-focused"),Ze!==null),Te)),style:Et},y.createElement(tt,(0,Be.Z)({ref:this.listRef,prefixCls:lt,style:mt,data:je,disabled:Zn,selectable:Kt,checkable:!!Nn,motion:Rn,dragging:at!==null,height:dr,itemHeight:zt,virtual:Qt,focusable:jt,focused:Pe,tabIndex:Mt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Hn,onScroll:vn},this.getTreeNodeRequiredProps(),Wt))))}}],[{key:"getDerivedStateFromProps",value:function(Te,Ee){var Pe=Ee.prevProps,je={prevProps:Te};function Ke(jt){return!Pe&&jt in Te||Pe&&Pe[jt]!==Te[jt]}var at,Ze=Ee.fieldNames;if(Ke("fieldNames")&&(Ze=(0,me.w$)(Te.fieldNames),je.fieldNames=Ze),Ke("treeData")?at=Te.treeData:Ke("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),at=(0,me.zn)(Te.children)),at){je.treeData=at;var it=(0,me.I8)(at,{fieldNames:Ze});je.keyEntities=(0,Se.Z)((0,nt.Z)({},Re,rt),it.keyEntities)}var pt=je.keyEntities||Ee.keyEntities;if(Ke("expandedKeys")||Pe&&Ke("autoExpandParent"))je.expandedKeys=Te.autoExpandParent||!Pe&&Te.defaultExpandParent?(0,Xe.r7)(Te.expandedKeys,pt):Te.expandedKeys;else if(!Pe&&Te.defaultExpandAll){var dt=(0,Se.Z)({},pt);delete dt[Re],je.expandedKeys=Object.keys(dt).map(function(jt){return dt[jt].key})}else!Pe&&Te.defaultExpandedKeys&&(je.expandedKeys=Te.autoExpandParent||Te.defaultExpandParent?(0,Xe.r7)(Te.defaultExpandedKeys,pt):Te.defaultExpandedKeys);if(je.expandedKeys||delete je.expandedKeys,at||je.expandedKeys){var vt=(0,me.oH)(at||Ee.treeData,je.expandedKeys||Ee.expandedKeys,Ze);je.flattenNodes=vt}if(Te.selectable&&(Ke("selectedKeys")?je.selectedKeys=(0,Xe.BT)(Te.selectedKeys,Te):!Pe&&Te.defaultSelectedKeys&&(je.selectedKeys=(0,Xe.BT)(Te.defaultSelectedKeys,Te))),Te.checkable){var st;if(Ke("checkedKeys")?st=(0,Xe.E6)(Te.checkedKeys)||{}:!Pe&&Te.defaultCheckedKeys?st=(0,Xe.E6)(Te.defaultCheckedKeys)||{}:at&&(st=(0,Xe.E6)(Te.checkedKeys)||{checkedKeys:Ee.checkedKeys,halfCheckedKeys:Ee.halfCheckedKeys}),st){var ht=st,$e=ht.checkedKeys,lt=$e===void 0?[]:$e,ft=ht.halfCheckedKeys,mt=ft===void 0?[]:ft;if(!Te.checkStrictly){var wt=(0,ct.S)(lt,!0,pt);lt=wt.checkedKeys,mt=wt.halfCheckedKeys}je.checkedKeys=lt,je.halfCheckedKeys=mt}}return Ke("loadedKeys")&&(je.loadedKeys=Te.loadedKeys),je}}]),We}(y.Component);Oe.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},Oe.TreeNode=fe.Z;var Ue=Oe,xe=Ue},35654:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{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=Ce(94480),nt=Ce(76190),x=Ce(48736),Se=Ce(59301),he=Ce(39417),ae=Ce(67841),te=Ce(71430),le=null;function de(re,ce){if(!re)return[];var ge=re.slice(),ve=ge.indexOf(ce);return ve>=0&&ge.splice(ve,1),ge}function se(re,ce){var ge=(re||[]).slice();return ge.indexOf(ce)===-1&&ge.push(ce),ge}function ue(re){return re.split("-")}function oe(re,ce){var ge=[],ve=(0,ae.Z)(ce,re);function fe(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];pe.forEach(function(me){var ye=me.key,be=me.children;ge.push(ye),fe(be)})}return fe(ve.children),ge}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,ge,ve,fe,pe,me,ye,be,Le){var we,Ae=re.clientX,Me=re.clientY,De=re.target.getBoundingClientRect(),ze=De.top,qe=De.height,Re=(Le==="rtl"?-1:1)*(((fe==null?void 0:fe.x)||0)-Ae),ot=(Re-12)/ve,rt=(0,ae.Z)(ye,ge.props.eventKey);if(Me<ze+qe/2){var Qe=me.findIndex(function(xe){return xe.key===rt.key}),Je=Qe<=0?0:Qe-1,Ge=me[Je].key;rt=(0,ae.Z)(ye,Ge)}var ke=rt.key,_e=rt,tt=rt.key,Xe=0,ct=0;if(!be.includes(ke))for(var Ye=0;Ye<ot&&ie(rt);Ye+=1)rt=rt.parent,ct+=1;var Ne=ce.props.data,Oe=rt.node,Ue=!0;return ne(rt)&&rt.level===0&&Me<ze+qe/2&&pe({dragNode:Ne,dropNode:Oe,dropPosition:-1})&&rt.key===ge.props.eventKey?Xe=-1:(_e.children||[]).length&&be.includes(tt)?pe({dragNode:Ne,dropNode:Oe,dropPosition:0})?Xe=0:Ue=!1:ct===0?ot>-1.5?pe({dragNode:Ne,dropNode:Oe,dropPosition:1})?Xe=1:Ue=!1:pe({dragNode:Ne,dropNode:Oe,dropPosition:0})?Xe=0:pe({dragNode:Ne,dropNode:Oe,dropPosition:1})?Xe=1:Ue=!1:pe({dragNode:Ne,dropNode:Oe,dropPosition:1})?Xe=1:Ue=!1,{dropPosition:Xe,dropLevelOffset:ct,dropTargetKey:rt.key,dropTargetPos:rt.pos,dragOverNodeKey:tt,dropContainerKey:Xe===0?null:((we=rt.parent)===null||we===void 0?void 0:we.key)||null,dropAllowed:Ue}}function y(re,ce){if(re){var ge=ce.multiple;return ge?re.slice():re.length?[re[0]]:re}}var E=function(ce){return ce};function b(re,ce){if(!re)return[];var ge=ce||{},ve=ge.processProps,fe=ve===void 0?E:ve,pe=Array.isArray(re)?re:[re];return pe.map(function(me){var ye=me.children,be=_objectWithoutProperties(me,le),Le=b(ye,ce);return React.createElement(TreeNode,_extends({key:be.key},fe(be)),Le)})}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 ge=new Set;function ve(fe){if(!ge.has(fe)){var pe=(0,ae.Z)(ce,fe);if(pe){ge.add(fe);var me=pe.parent,ye=pe.node;ye.disabled||me&&ve(me.key)}}}return(re||[]).forEach(function(fe){ve(fe)}),(0,Be.Z)(ge)}},90782:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{S:function(){return te}});var Be=Ce(48736),nt=Ce(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 he(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,ge=ce===void 0?[]:ce;oe.has(ee)&&!ue(re)&&ge.filter(function(ve){return!ue(ve.node)}).forEach(function(ve){oe.add(ve.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,ge=!1;(ee.children||[]).filter(function(ve){return!ue(ve.node)}).forEach(function(ve){var fe=ve.key,pe=oe.has(fe);ce&&!pe&&(ce=!1),!ge&&(pe||ie.has(fe))&&(ge=!0)}),ce&&oe.add(ee.key),ge&&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,ge=ee.children,ve=ge===void 0?[]:ge;!ie.has(re)&&!ne.has(re)&&!oe(ce)&&ve.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 ge=!0,ve=!1;(re.children||[]).filter(function(fe){return!oe(fe.node)}).forEach(function(fe){var pe=fe.key,me=ie.has(pe);ge&&!me&&(ge=!1),!ve&&(me||ne.has(pe))&&(ve=!0)}),ge||ie.delete(re.key),ve&&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=he(ne,a,y,ie):E=ae(ne,de.halfCheckedKeys,a,y,ie),E}},67841:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return Be}});function Be(nt,x){return nt[x]}},71430:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{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=Ce(76190),nt=Ce(94480),x=Ce(33885),Se=Ce(75931),he=Ce(11592),ae=Ce(2738),te=Ce(48736),le=Ce(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||{},ge=ce.title,ve=ce._title,fe=ce.key,pe=ce.children,me=ge||"title";return{title:me,_title:ve||[me],key:fe||"key",children:pe||"children"}}function ne(re,ce){var ge=new Map;function ve(fe){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(fe||[]).forEach(function(me){var ye=me[ce.key],be=me[ce.children];warning(ye!=null,"Tree node must have a certain key: [".concat(pe).concat(ye,"]"));var Le=String(ye);warning(!ge.has(Le)||ye===null||ye===void 0,"Same 'key' exist in the Tree: ".concat(Le)),ge.set(Le,!0),ve(be,"".concat(pe).concat(Le," > "))})}ve(re)}function a(re){function ce(ge){var ve=(0,he.Z)(ge);return ve.map(function(fe){if(!ue(fe))return(0,te.ZP)(!fe,"Tree/TreeNode can only accept TreeNode as children."),null;var pe=fe.key,me=fe.props,ye=me.children,be=(0,Se.Z)(me,de),Le=(0,x.Z)({key:pe},be),we=ce(ye);return we.length&&(Le.children=we),Le}).filter(function(fe){return fe})}return ce(re)}function y(re,ce,ge){var ve=ie(ge),fe=ve._title,pe=ve.key,me=ve.children,ye=new Set(ce===!0?[]:ce),be=[];function Le(we){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return we.map(function(Me,De){for(var ze=se(Ae?Ae.pos:"0",De),qe=oe(Me[pe],ze),Re,ot=0;ot<fe.length;ot+=1){var rt=fe[ot];if(Me[rt]!==void 0){Re=Me[rt];break}}var Qe=(0,x.Z)((0,x.Z)({},(0,ae.Z)(Me,[].concat((0,nt.Z)(fe),[pe,me]))),{},{title:Re,key:qe,parent:Ae,pos:ze,children:null,data:Me,isStart:[].concat((0,nt.Z)(Ae?Ae.isStart:[]),[De===0]),isEnd:[].concat((0,nt.Z)(Ae?Ae.isEnd:[]),[De===we.length-1])});return be.push(Qe),ce===!0||ye.has(qe)?Qe.children=Le(Me[me]||[],Qe):Qe.children=[],Qe})}return Le(re),be}function E(re,ce,ge){var ve={};(0,Be.Z)(ge)==="object"?ve=ge:ve={externalGetKey:ge},ve=ve||{};var fe=ve,pe=fe.childrenPropName,me=fe.externalGetKey,ye=fe.fieldNames,be=ie(ye),Le=be.key,we=be.children,Ae=pe||we,Me;me?typeof me=="string"?Me=function(qe){return qe[me]}:typeof me=="function"&&(Me=function(qe){return me(qe)}):Me=function(qe,Re){return oe(qe[Le],Re)};function De(ze,qe,Re,ot){var rt=ze?ze[Ae]:re,Qe=ze?se(Re.pos,qe):"0",Je=ze?[].concat((0,nt.Z)(ot),[ze]):[];if(ze){var Ge=Me(ze,Qe),ke={node:ze,index:qe,pos:Qe,key:Ge,parentPos:Re.node?Re.pos:null,level:Re.level+1,nodes:Je};ce(ke)}rt&&rt.forEach(function(_e,tt){De(_e,tt,{node:ze,pos:Qe,level:Re?Re.level+1:-1},Je)})}De(null)}function b(re){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ge=ce.initWrapper,ve=ce.processEntity,fe=ce.onProcessFinished,pe=ce.externalGetKey,me=ce.childrenPropName,ye=ce.fieldNames,be=arguments.length>2?arguments[2]:void 0,Le=pe||be,we={},Ae={},Me={posEntities:we,keyEntities:Ae};return ge&&(Me=ge(Me)||Me),E(re,function(De){var ze=De.node,qe=De.index,Re=De.pos,ot=De.key,rt=De.parentPos,Qe=De.level,Je=De.nodes,Ge={node:ze,nodes:Je,index:qe,key:ot,pos:Re,level:Qe},ke=oe(ot,Re);we[Re]=Ge,Ae[ke]=Ge,Ge.parent=we[rt],Ge.parent&&(Ge.parent.children=Ge.parent.children||[],Ge.parent.children.push(Ge)),ve&&ve(Ge,Me)},{externalGetKey:Le,childrenPropName:me,fieldNames:ye}),fe&&fe(Me),Me}function z(re,ce){var ge=ce.expandedKeys,ve=ce.selectedKeys,fe=ce.loadedKeys,pe=ce.loadingKeys,me=ce.checkedKeys,ye=ce.halfCheckedKeys,be=ce.dragOverNodeKey,Le=ce.dropPosition,we=ce.keyEntities,Ae=(0,le.Z)(we,re),Me={eventKey:re,expanded:ge.indexOf(re)!==-1,selected:ve.indexOf(re)!==-1,loaded:fe.indexOf(re)!==-1,loading:pe.indexOf(re)!==-1,checked:me.indexOf(re)!==-1,halfChecked:ye.indexOf(re)!==-1,pos:String(Ae?Ae.pos:""),dragOver:be===re&&Le===0,dragOverGapTop:be===re&&Le===-1,dragOverGapBottom:be===re&&Le===1};return Me}function ee(re){var ce=re.data,ge=re.expanded,ve=re.selected,fe=re.checked,pe=re.loaded,me=re.loading,ye=re.halfChecked,be=re.dragOver,Le=re.dragOverGapTop,we=re.dragOverGapBottom,Ae=re.pos,Me=re.active,De=re.eventKey,ze=(0,x.Z)((0,x.Z)({},ce),{},{expanded:ge,selected:ve,checked:fe,loaded:pe,loading:me,halfChecked:ye,dragOver:be,dragOverGapTop:Le,dragOverGapBottom:we,pos:Ae,active:Me,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,Pt,Ce){"use strict";Ce.d(Pt,{Z:function(){return nt}});var Be=Ce(4676);function nt(x,Se,he,ae){var te=Be.unstable_batchedUpdates?function(de){Be.unstable_batchedUpdates(he,de)}:he;return x!=null&&x.addEventListener&&x.addEventListener(Se,te,ae),{remove:function(){x!=null&&x.removeEventListener&&x.removeEventListener(Se,te,ae)}}}},55468:function(Ct,Pt,Ce){"use strict";Ce.d(Pt,{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 he(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:he(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,Pt,Ce){"use strict";Ce.d(Pt,{G:function(){return Se}});var Be=Ce(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(he,ae){return!Array.isArray(he)&&ae!==void 0?x(he,ae):nt(he)}},7062:function(Ct,Pt,Ce){var Be=Ce(19637),nt=Ce(97573),x=[Ce(96627)];Ct.exports=Be.createStore(nt,x)},96627:function(Ct,Pt,Ce){Ct.exports=Be;function Be(){return Ce(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(Pt){var Ce=meta[Pt];return typeof Ce=="string"?Ce:"\\u"+("0000"+Pt.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+Ct+'"'}function str(Ct,Pt){var Ce,Be,nt,x,Se=gap,he,ae=Pt[Ct];switch(ae&&typeof ae=="object"&&typeof ae.toJSON=="function"&&(ae=ae.toJSON(Ct)),typeof rep=="function"&&(ae=rep.call(Pt,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,he=[],Object.prototype.toString.apply(ae)==="[object Array]"){for(x=ae.length,Ce=0;Ce<x;Ce+=1)he[Ce]=str(Ce,ae)||"null";return nt=he.length===0?"[]":gap?`[
|
|
`+gap+he.join(`,
|
|
`+gap)+`
|
|
`+Se+"]":"["+he.join(",")+"]",gap=Se,nt}if(rep&&typeof rep=="object")for(x=rep.length,Ce=0;Ce<x;Ce+=1)typeof rep[Ce]=="string"&&(Be=rep[Ce],nt=str(Be,ae),nt&&he.push(quote(Be)+(gap?": ":":")+nt));else for(Be in ae)Object.prototype.hasOwnProperty.call(ae,Be)&&(nt=str(Be,ae),nt&&he.push(quote(Be)+(gap?": ":":")+nt));return nt=he.length===0?"{}":gap?`{
|
|
`+gap+he.join(`,
|
|
`+gap)+`
|
|
`+Se+"}":"{"+he.join(",")+"}",gap=Se,nt}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(Ct,Pt,Ce){var Be;if(gap="",indent="",typeof Ce=="number")for(Be=0;Be<Ce;Be+=1)indent+=" ";else typeof Ce=="string"&&(indent=Ce);if(rep=Pt,Pt&&typeof Pt!="function"&&(typeof Pt!="object"||typeof Pt.length!="number"))throw new Error("JSON.stringify");return str("",{"":Ct})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(Ct,Pt){var Ce,Be,nt=Ct[Pt];if(nt&&typeof nt=="object")for(Ce in nt)Object.prototype.hasOwnProperty.call(nt,Ce)&&(Be=walk(nt,Ce),Be!==void 0?nt[Ce]=Be:delete nt[Ce]);return reviver.call(Ct,Pt,nt)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(Ct){return"\\u"+("0000"+Ct.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},19637:function(Ct,Pt,Ce){var Be=Ce(67039),nt=Be.slice,x=Be.pluck,Se=Be.each,he=Be.bind,ae=Be.create,te=Be.isList,le=Be.isFunction,de=Be.isObject;Ct.exports={createStore:oe};var se={version:"2.0.12",enabled:!1,get:function(ie,ne){var a=this.storage.read(this._namespacePrefix+ie);return this._deserialize(a,ne)},set:function(ie,ne){return ne===void 0?this.remove(ie):(this.storage.write(this._namespacePrefix+ie,this._serialize(ne)),ne)},remove:function(ie){this.storage.remove(this._namespacePrefix+ie)},each:function(ie){var ne=this;this.storage.each(function(a,y){ie.call(ne,ne._deserialize(a),(y||"").replace(ne._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(ie){return this._namespacePrefix=="__storejs_"+ie+"_"},createStore:function(){return oe.apply(this,arguments)},addPlugin:function(ie){this._addPlugin(ie)},namespace:function(ie){return oe(this.storage,this.plugins,ie)}};function ue(){var ie=typeof console=="undefined"?null:console;if(ie){var ne=ie.warn?ie.warn:ie.log;ne.apply(ie,arguments)}}function oe(ie,ne,a){a||(a=""),ie&&!te(ie)&&(ie=[ie]),ne&&!te(ne)&&(ne=[ne]);var y=a?"__storejs_"+a+"_":"",E=a?new RegExp("^"+y):null,b=/^[a-zA-Z0-9_\-]*$/;if(!b.test(a))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var z={_namespacePrefix:y,_namespaceRegexp:E,_testStorage:function(re){try{var ce="__storejs__test__";re.write(ce,ce);var ge=re.read(ce)===ce;return re.remove(ce),ge}catch(ve){return!1}},_assignPluginFnProp:function(re,ce){var ge=this[ce];this[ce]=function(){var fe=nt(arguments,0),pe=this;function me(){if(ge)return Se(arguments,function(be,Le){fe[Le]=be}),ge.apply(pe,fe)}var ye=[me].concat(fe);return re.apply(pe,ye)}},_serialize:function(re){return JSON.stringify(re)},_deserialize:function(re,ce){if(!re)return ce;var ge="";try{ge=JSON.parse(re)}catch(ve){ge=re}return ge!==void 0?ge:ce},_addStorage:function(re){this.enabled||this._testStorage(re)&&(this.storage=re,this.enabled=!0)},_addPlugin:function(re){var ce=this;if(te(re)){Se(re,function(fe){ce._addPlugin(fe)});return}var ge=x(this.plugins,function(fe){return re===fe});if(!ge){if(this.plugins.push(re),!le(re))throw new Error("Plugins must be function values that return objects");var ve=re.call(this);if(!de(ve))throw new Error("Plugins must return an object of function properties");Se(ve,function(fe,pe){if(!le(fe))throw new Error("Bad plugin property: "+pe+" from plugin "+re.name+". Plugins should only return functions.");ce._assignPluginFnProp(fe,pe)})}},addStorage:function(re){ue("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(re)}},ee=ae(z,se,{plugins:[]});return ee.raw={},Se(ee,function(re,ce){le(re)&&(ee.raw[ce]=he(ee,re))}),Se(ie,function(re){ee._addStorage(re)}),Se(ne,function(re){ee._addPlugin(re)}),ee}},67039:function(Ct,Pt,Ce){var Be=he(),nt=ae(),x=te(),Se=typeof window!="undefined"?window:Ce.g;Ct.exports={assign:Be,create:nt,trim:x,bind:le,slice:de,each:se,map:ue,pluck:oe,isList:ie,isFunction:ne,isObject:a,Global:Se};function he(){return Object.assign?Object.assign:function(E,b,z,ee){for(var re=1;re<arguments.length;re++)se(Object(arguments[re]),function(ce,ge){E[ge]=ce});return E}}function ae(){if(Object.create)return function(b,z,ee,re){var ce=de(arguments,1);return Be.apply(this,[Object.create(b)].concat(ce))};{let E=function(){};var y=E;return function(z,ee,re,ce){var ge=de(arguments,1);return E.prototype=z,Be.apply(this,[new E].concat(ge))}}}function te(){return String.prototype.trim?function(E){return String.prototype.trim.call(E)}:function(E){return E.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function le(y,E){return function(){return E.apply(y,Array.prototype.slice.call(arguments,0))}}function de(y,E){return Array.prototype.slice.call(y,E||0)}function se(y,E){oe(y,function(b,z){return E(b,z),!1})}function ue(y,E){var b=ie(y)?[]:{};return oe(y,function(z,ee){return b[ee]=E(z,ee),!1}),b}function oe(y,E){if(ie(y)){for(var b=0;b<y.length;b++)if(E(y[b],b))return y[b]}else for(var z in y)if(y.hasOwnProperty(z)&&E(y[z],z))return y[z]}function ie(y){return y!=null&&typeof y!="function"&&typeof y.length=="number"}function ne(y){return y&&{}.toString.call(y)==="[object Function]"}function a(y){return y&&{}.toString.call(y)==="[object Object]"}},97573:function(Ct,Pt,Ce){Ct.exports=[Ce(52496),Ce(16436),Ce(76673),Ce(35701),Ce(65578),Ce(65300)]},35701:function(Ct,Pt,Ce){var Be=Ce(67039),nt=Be.Global,x=Be.trim;Ct.exports={name:"cookieStorage",read:he,write:te,each:ae,remove:le,clearAll:de};var Se=nt.document;function he(ue){if(!ue||!se(ue))return null;var oe="(?:^|.*;\\s*)"+escape(ue).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(Se.cookie.replace(new RegExp(oe),"$1"))}function ae(ue){for(var oe=Se.cookie.split(/; ?/g),ie=oe.length-1;ie>=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,Pt,Ce){var Be=Ce(67039),nt=Be.Global;Ct.exports={name:"localStorage",read:Se,write:he,each:ae,remove:te,clearAll:le};function x(){return nt.localStorage}function Se(de){return x().getItem(de)}function he(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:Ce,write:Be,each:nt,remove:x,clearAll:Se};var Pt={};function Ce(he){return Pt[he]}function Be(he,ae){Pt[he]=ae}function nt(he){for(var ae in Pt)Pt.hasOwnProperty(ae)&&he(Pt[ae],ae)}function x(he){delete Pt[he]}function Se(he){Pt={}}},16436:function(Ct,Pt,Ce){var Be=Ce(67039),nt=Be.Global;Ct.exports={name:"oldFF-globalStorage",read:Se,write:he,each:ae,remove:te,clearAll:le};var x=nt.globalStorage;function Se(de){return x[de]}function he(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,Pt,Ce){var Be=Ce(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,he=ne(),ae=(nt.navigator?nt.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function te(a,y){if(!ae){var E=ie(a);he(function(b){b.setAttribute(E,y),b.save(x)})}}function le(a){if(!ae){var y=ie(a),E=null;return he(function(b){E=b.getAttribute(y)}),E}}function de(a){he(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);he(function(E){E.removeAttribute(y),E.save(x)})}function ue(){he(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</"+a+'><iframe src="/favicon.ico"></iframe>'),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,Pt,Ce){var Be=Ce(67039),nt=Be.Global;Ct.exports={name:"sessionStorage",read:Se,write:he,each:ae,remove:te,clearAll:le};function x(){return nt.sessionStorage}function Se(de){return x().getItem(de)}function he(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()}}}]);
|